]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add ARM relocation constants to elf/elf.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
08cbd996
PM
12013-02-20 Petr Machata <pmachata@redhat.com>
2
3 * elf/elf.h (R_ARM_TARGET1): New macro.
4 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38 (R_ARM_THM_GOT_BREL12): Likewise.
39 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48
c7b275d6
TS
492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
50
51 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52 __attribute_used__ to __attribute__ ((unused)).
53
20cd7fb3
SP
542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
55
56 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57 powerpc mpa.c.
58 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59 comment formatting.
60 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61
92945b52
JM
622013-02-19 Joseph Myers <joseph@codesourcery.com>
63
64 [BZ #13550]
65 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66 Remove macro.
67 (ENTER): Remove both macro definitions.
68 (LEAVE): Likewise.
69 (CHECK_BOUNDS_LOW): Likewise.
70 (CHECK_BOUNDS_HIGH): Likewise.
71 (CHECK_BOUNDS_BOTH): Likewise.
72 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
73 (RETURN_BOUNDED_POINTER): Likewise.
74 (RETURN_NULL_BOUNDED_POINTER): Likewise.
75 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
76 (POP_ERRNO_LOCATION_RETURN): Likewise.
77 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
78 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
79 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
80 macros.
81 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
82 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
83 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
84 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
85 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
86 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
87 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
88 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
89 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
90 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
91 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
92 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
93 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
94 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
95 removed macros.
96 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
97 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
98 macros.
99 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
100 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
101 * sysdeps/i386/i586/memset.S (memset): Likewise.
102 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
104 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
105 macros.
106 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
107 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
108 Change uses of L(2) to L(out).
109 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
110 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
111 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
113 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
114 removed macros.
115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
116 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
117 macros.
118 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
119 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
120 (RETURN): Do not use macro LEAVE.
121 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
122 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
123 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
124 * sysdeps/i386/i686/memset.S (memset): Likewise.
125 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
126 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
128 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
129 Likewise.
130 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
131 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
132 L(1_2) and L(1_3) into L(1).
133 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
134 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
136 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
137 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
138 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
139 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
141 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
142 macros.
143 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
145 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
146 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
147 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
148 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
149 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
150 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
151 * sysdeps/i386/strcspn.S (strcspn): Likewise.
152 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
153 * sysdeps/i386/strrchr.S (strrchr): Likewise.
154 * sysdeps/i386/strspn.S (strspn): Likewise.
155 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
156 conditional code.
157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
158 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
159 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
160 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
161 L(1_3) into L(1_1).
162 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
164 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
165 macros.
166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
167
2389741a
JJ
1682013-02-19 Jakub Jelinek <jakub@redhat.com>
169
170 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
171 macro.
172
2016b3cd
SP
1732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
174
e4f22324
SP
175 * math/atest-exp.c (exp_mpn): Remove ROUND.
176 * math/atest-exp2.c (exp_mpn): Likewise.
177 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
178
2016b3cd
SP
179 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
180 * stdlib/tst-tls-atexit-lib.c: Likewise.
181 * stdlib/tst-tls-atexit.c: Likewise.
182
4be9b544
MF
1832013-02-18 Mike Frysinger <vapier@gentoo.org>
184
185 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
186 and __attribute_alloc_size__.
187
2f62b9ee
MF
1882013-02-18 Mike Frysinger <vapier@gentoo.org>
189
190 * include/programs/xmalloc.h: Change __attribute_alloc_size to
191 __attribute_alloc_size__.
192 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
193 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
194
6ff444c4
MF
1952013-02-18 Mike Frysinger <vapier@gentoo.org>
196
197 * include/programs/xmalloc.h: New file.
198 * catgets/gencat.c: Include it.
199 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
200 * elf/pldd.c: Likewise.
201 * iconv/iconv_charmap.c: Likewise.
202 * iconv/iconvconfig.c: Likewise.
203 * iconv/strtab.c: Likewise.
204 * locale/programs/locale.c: Likewise.
205 * locale/programs/localedef.h: Likewise.
206 * locale/programs/simple-hash.c: Likewise.
207 * nscd/nscd.h: Likewise.
208 * nss/makedb.c: Likewise.
209 * sysdeps/generic/ldconfig.h: Likewise.
210
be179c8a
SP
2112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
212
ba384f6e
SP
213 * Versions.def: Add GLIBC_2.18.
214 * include/link.h (struct link_map): New member l_tls_dtor_count.
215 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
216 (__call_tls_dtors): Likewise.
217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
218 __cxa_thread_atexit_impl.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
220 Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
222 Likewise.
223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
224 Likewise.
225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
226 Likewise.
227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
229 Likewise.
230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
231 Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
234 Likewise.
235 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
236 (tests): Add test case tst-tls-atexit.
237 (modules-names): Add shared library for tst-tls-atexit.
238 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
239 (GLIBC_PRIVATE): Add __call_tls_dtors.
240 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
241 for libstdc++.
242 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
243 * stdlib/tst-tls-atexit.c: New test case.
244 * stdlib/tst-tls-atexit-lib.c: New test case.
245
ffaa74cf 246 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 247
be179c8a
SP
248 * elf/Versions (ld): Add _dl_find_dso_for_object.
249 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
250 * elf/dl-open.c (_dl_find_dso_for_object): New function.
251 (dl_open_worker): Use _dl_find_dso_for_object.
252 * elf/dl-sym.c (do_sym): Likewise.
253 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
254
f78b5caa
AK
2552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
256
257 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
258 Syntactic changes only.
259 (_dl_runtime_profile): Do a tail-call to the resolved function.
260
29691210
JM
2612013-02-17 Joseph Myers <joseph@codesourcery.com>
262
263 [BZ #13550]
264 * sysdeps/x86_64/bp-asm.h: Remove file.
265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
266 <bp-sym.h> and <bp-asm.h>.
267 (__clone): Do not use BP_SYM.
268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
269 <bp-sym.h> and <bp-asm.h>.
270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
271 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
272 "bp-asm.h".
273 (_setjmp): Do not use BP_SYM.
274 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
275 "bp-asm.h".
276 (setjmp): Do not use BP_SYM.
277 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
278 libc_hidden_def.
279 (mempcpy): Do not use BP_SYM in weak_alias.
280 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
281 "bp-asm.h".
282 (strchr): Do not use BP_SYM.
283 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
284 "bp-asm.h".
285 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
286 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
287 (_start): Do not use BP_SYM.
288 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
289 "bp-asm.h".
290 (strcat): Do not use BP_SYM.
291 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
292 "bp-asm.h".
293 (STRCMP): Do not use BP_SYM.
294 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
295 "bp-asm.h".
296 (STRCPY): Do not use BP_SYM.
297 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
298 "bp-asm.h".
299 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
300 "bp-asm.h".
301 (FUNCTION): Do not use BP_SYM.
302 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
303 weak_alias.
304 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
305
f238fd19
AJ
3062013-02-17 Andreas Jaeger <aj@suse.de>
307
308 * time/Versions: Sort entries.
309 * string/Versions: Likewise.
310 * resolv/Versions: Likewise.
311 * posix/Versions: Likewise.
312 * iconv/Versions: Likewise.
313 * elf/Versions: Likewise.
314 * wcsmbs/Versions: Likewise.
315
bd07f23c 3162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 317
22af19f9
SP
318 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
319 loop termination condition.
320
4709fe76
SP
321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
322 variable to calculate EZ.
323 (__sqr): Likewise.
2d0e0f29
SP
324
325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
326 the lower precision input.
327
daaa7713
JM
3282013-02-15 Joseph Myers <joseph@codesourcery.com>
329
330 [BZ #13550]
331 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
332 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
333 (run-via-rtld-prefix): Do not handle %-bp tests.
334 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
335 (all-object-suffixes): Remove .ob.
336 (bppfx): Remove variable.
337 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
338 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
339 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
340 [$(build-bounded) = yes] (libtype.ob): Likewise.
341 * Makerules (elide-routines.ob): Remove variable.
342 (do-tests-clean): Do not handle *-bp.out.
343 (common-mostlyclean): Do not handle *-bp and *-bp.out.
344 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
345 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
346 (tests): Do not include $(tests-bp.out).
347 (xtests): Do not include $(xtests-bp.out).
348 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
349 [$(build-bounded) = yes] ($(addprefix
350 $(objpfx),$(binaries-bounded))): Remove rule.
351 ($(objpfx)%-bp.out): Remove rule.
352 * config.make.in (build-bounded): Remove variable.
353 * crypt/Makefile [$(build-bounded) = yes]
354 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
355 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
356 append to variable.
357 [$(build-bounded) = yes] (install-lib): Likewise.
358 [$(build-bounded) = yes] (generated): Likewise.
359 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
360 Remove rule.
361 * intl/Makefile [$(build-bounded) = yes]
362 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
363 * math/Makefile [$(build-bounded) = yes]
364 ($(tests:%=$(objpfx)%-bp): Likewise.
365 * misc/Makefile [$(build-bounded) = yes]
366 ($(objpfx)tst-tsearch-bp): Likewise.
367 * nptl/Makeconfig (bounded-thread-library): Remove variable.
368 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
369 Remove dependency.
370 * string/Makefile (o-objects.ob): Remove variable.
371 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
372 (CFLAGS-.ob): Remove variable.
373 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
375 both definitions of variable.
376 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
377 (ASFLAGS-.ob): Remove variable.
378
e97ed6dd
JM
3792013-02-14 Joseph Myers <joseph@codesourcery.com>
380
2bdd4ca6
JM
381 [BZ #13550]
382 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
383 Remove __BOUNDED_POINTERS__ from condition.
384 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
385 * string/bits/string2.h [!__NO_STRING_INLINES &&
386 !__BOUNDED_POINTERS__]: Likewise.
387 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
388 Likewise.
389 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
390 Remove conditional code.
391 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
392 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
393 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
394 condition.
395
e97ed6dd
JM
396 [BZ #13550]
397 * csu/libc-start.c: Do not include <bp-sym.h>.
398 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
399 * elf/dl-open.c: Do not include <bp-sym.h>.
400 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
401 * math/fegetenv.c: Do not include <bp-sym.h>.
402 (fegetenv): Do not use BP_SYM in versioned symbols.
403 * nptl/sysdeps/pthread/bits/libc-lockP.h
404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
405 <bp-sym.h>.
406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
407 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
409 (__pthread_mutex_destroy): Likewise.
410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
411 (__pthread_mutex_lock): Likewise.
412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
413 (__pthread_mutex_trylock): Likewise.
414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
415 (__pthread_mutex_unlock): Likewise.
416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
417 (__pthread_mutexattr_init): Likewise.
418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
419 (__pthread_mutexattr_destroy): Likewise.
420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
421 (__pthread_mutexattr_settype): Likewise.
422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
423 (__pthread_rwlock_init): Likewise.
424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
425 (__pthread_rwlock_destroy): Likewise.
426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
427 (__pthread_rwlock_rdlock): Likewise.
428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
429 (__pthread_rwlock_tryrdlock): Likewise.
430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
431 (__pthread_rwlock_wrlock): Likewise.
432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
433 (__pthread_rwlock_trywrlock): Likewise.
434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
435 (__pthread_rwlock_unlock): Likewise.
436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
437 (__pthread_key_create): Likewise.
438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
439 (__pthread_setspecific): Likewise.
440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
441 (__pthread_getspecific): Likewise.
442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
443 Likewise.
444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
445 (_pthread_cleanup_push_defer): Likewise.
446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
447 (_pthread_cleanup_pop_restore): Likewise.
448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
449 (pthread_setcancelstate): Likewise.
450 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
451 <bp-sym.h>.
452 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
453 (memchr): Do not use BP_SYM in weak_alias.
454 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
455 (fegetenv): Do not use BP_SYM in versioned symbols.
456 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
457 (fesetenv): Do not use BP_SYM in versioned symbols.
458 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
459 (feupdateenv): Do not use BP_SYM in versioned symbols.
460 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
461 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
462 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
463 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
464 (open64): Do not use BP_SYM in weak_alias.
465 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
466 (fegetenv): Do not use BP_SYM in versioned symbols.
467 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
468 (fesetenv): Do not use BP_SYM in versioned symbols.
469 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
470 (feupdateenv): Do not use BP_SYM in versioned symbols.
471 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
472 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
473 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
474 (feraiseexcept): Do not use BP_SYM in versioned symbols.
475 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
476 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
478 <bp-sym.h>.
479 (__libc_start_main): Do not use BP_SYM.
480
d6752ccd
SP
4812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
482
cb57ce60
SP
483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
484 redundant return line.
485 (norm): Likewise.
486 (denorm): Likewise.
487 (dbl_mp): Likewise.
488 (sub_magnitudes): Likewise.
489 (__add): Likewise.
490 (__sub): Likewise.
491 (__mul): Likewise.
492 (__inv): Likewise.
493 (__dvd): Likewise.
494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
495 (norm): Likewise.
496 (denorm): Likewise.
497 (dbl_mp): Likewise.
498 (sub_magnitudes): Likewise.
499 (__add): Likewise.
500 (__sub): Likewise.
501 (__mul): Likewise.
502 (__inv): Likewise.
503 (__dvd): Likewise.
504
f414520d
SP
505 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
506 instead of __mul.
507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
508 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
509 (cc32): Likewise.
510
d6752ccd
SP
511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
512 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
514 of __mul for squares.
515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
516 function
517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
518 Likewise.
519 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
521
70d9946a
JM
5222013-02-13 Joseph Myers <joseph@codesourcery.com>
523
524 [BZ #13550]
525 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
526 code.
527 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
528 prototype or function definition. Rename ubp_* variables and
529 parameters. Remove argv definitions conditional on
530 [__BOUNDED_POINTERS__].
531 * debug/backtrace.c (__backtrace): Do not use __unbounded.
532 * elf/dl-runtime.c (_dl_fixup): Likewise.
533 * include/set-hooks.h (RUN_HOOK): Likewise.
534 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
535 definition.
536 * string/strcpy.c (strcpy): Do not use __unbounded.
537 * sysdeps/generic/frame.h (struct layout): Likewise.
538 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
539 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
540 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
541 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
542 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
543 (__backtrace): Likewise.
544 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
545 use __ptrvalue.
546 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
547 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
548 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
549 Likewise.
550 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
551 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
552 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
553 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
554 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
555 Do not use __unbounded.
556 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
557 Rename __unboundedrlimits parameter to rlimits in prototype.
558 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
559 Do not use __unbounded.
560 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
561 not use __ptrvalue.
562 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
563 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
566 __ptrvalue or __unbounded.
567 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
569 use __unbounded.
570 (__new_msgctl): Do not use __ptrvalue.
571 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
572 __unbounded.
573 (__libc_msgrcv): Do not use __ptrvalue.
574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
575 startup_info): Do not use __unbounded.
576 (__libc_start_main): Likewise. Rename ubp_* variables and
577 parameters. Remove argv definitions conditional on
578 [__BOUNDED_POINTERS__].
579 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
580 __ptrvalue.
581 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
582 use __unbounded.
583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
584 or __ptrvalue.
585 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
586 use __unbounded.
587 (__new_shmctl): Do not use __ptrvalue.
588 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
589 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
590 Likewise.
591 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
593 (__libc_sigaction): Likewise.
594 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
596 Likewise.
597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
598
cc7834d6
OB
5992013-02-13 Ondřej Bílka <neleai@seznam.cz>
600
ffb1ec7b 601 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
602
603 * string/mempcpy.c: Implement by calling memcpy.
604
bdf02814
SP
6052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
606
c2af38aa
SP
607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
608
4e92d59e
SP
609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
610 evaluation.
611
909279a5
SP
612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
613 values in the mantissa.
614
bdf02814
SP
615 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
616 minimize writes to Z.
617 (sub_magnitudes): Simplify code a bit.
618
cd525923
RM
6192013-02-12 Roland McGrath <roland@hack.frob.com>
620
621 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
622 from the message. The linker prefixes all warnings with that already.
623
7e2f0d2d
AS
6242013-02-12 Andreas Schwab <schwab@suse.de>
625
a445af0b
AS
626 [BZ #15078]
627 * posix/regexec.c (extend_buffers): Add parameter min_len.
628 (check_matching): Pass minimum needed length.
629 (clean_state_log_if_needed): Likewise.
630 (get_subexp): Likewise.
631 * posix/Makefile (tests): Add bug-regex34.
632 (bug-regex34-ENV): Define.
633 * posix/bug-regex34.c: New file.
634
7e2f0d2d
AS
635 [BZ #11561]
636 * posix/regcomp.c (parse_bracket_exp): When looking up collating
637 elements compare against the byte sequence of it, not its name.
638 * posix/Makefile (tests): Add bug-regex35.
639 (bug-regex35-ENV): Define.
640 * posix/bug-regex35.c: New file.
641
a175b684
TV
6422013-02-11 Tom de Vries <tom@codesourcery.com>
643
644 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
645 comment.
646 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
647 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
648 (CHECK_EOL): Add undef.
649
310998fe 6502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
651
652 * bits/stdlib-bsearch.h: New file.
653 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 654 * stdlib/stdlib.h: Likewise.
41eda41d 655
8ded91fb
RM
6562013-02-11 Roland McGrath <roland@hack.frob.com>
657
658 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
659 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
660 declaration.
661 * manual/search.texi (Array Search Function): Add missing const in
662 lfind prototype.
663 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
664 declaration to use rlim_t.
665 (Basic Scheduling Functions): Remove erroneous const from
666 sched_getparam prototype. Remove erroneous * from
667 sched_get_priority_max and sched_get_priority_min prototypes.
668 (Resource Usage): Fix summary @comment on vtimes to refer to
669 sys/vtimes.h rather than vtimes.h.
670 Add missing *s in vtimes prototype.
671 (Limits on Resources): Fix ulimit prototype to return long int.
672 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
673 prototypes to use long int rather than double.
674 (BSD Random): Fix initstate and setstate to use char *, not void *.
675 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
676 prototype to make second argument 'struct aiocb64 *const[]'.
677 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
678 (Status of AIO Operations): Remove erroneous const in aio_return and
679 aio_return64 prototypes.
680 (Synchronizing I/O): Fix sync prototype to return void.
681 * manual/startup.texi (Suboptions): Remove an erroneous const in
682 getsubopt prototype.
683 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
684 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
685 use size_t rather than int.
686 (Scanning All Users): Likewise for getpwent_r.
687 (Setting Groups): Add missing const to setgroups prototype.
688 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
689 * manual/socket.texi (Host Names): Fix gethostbyaddr and
690 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
691 'const void *' rather than 'const char *'.
692 (Host Address Functions): Likewise for inet_ntop.
693 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
694 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
695 ssize_t for return value.
696 (Sending Data): Likewise for send, sendto, sendmsg.
697 (Socket Option Functions): Add a missing const in setsockopt prototype.
698 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
699 use wchar_t for the argument.
700 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
701 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
702 take no arguments.
703 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
704 double/float/long double for second argument.
705 Fix return types of significand, significandf, significandl.
706 * manual/filesys.texi (Setting Permissions): Use mode_t for second
707 argument in fchmod prototype.
708 (File Owner): Use uid_t and gid_t in fchown prototype.
709 (File Times): Add const to utimes, futimes, and lutimes prototypes.
710 (Making Special Files): Use mode_t and dev_t in mknod prototype.
711 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
712 use 'const struct dirent **' as argument types to CMP function pointer
713 argument.
714 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
715 (File Times): Fix summary magic @comment for struct utimbuf and utime
716 to refer to utime.h, not time.h.
717 * manual/string.texi (Argz Functions): Add missing const in
718 argz_extract and argz_next prototypes.
719 (Finding Tokens in a String): Likewise for basename.
720 (String/Array Comparison): Fix typo in wcscasecmp prototype.
721 (Copying and Concatenation): Fix typo in wmemmove prototype.
722 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
723 (Signal Stack): Remove erroneous const in sigstack prototype.
724 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
725 prototype.
726 (Simple Calendar Time): Likewise for stime.
727 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
728 prototype.
729 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
730 say sys/sysctl.h instead.
731 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
732 and vsyslog prototypes.
733
fe77fe6d
TV
7342013-02-11 Tom de Vries <tom@codesourcery.com>
735
736 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
737 Remove.
738
3a09b620
RM
7392013-02-11 Roland McGrath <roland@hack.frob.com>
740
741 * misc/sys/mman.h: Fix typo in mremap comment.
742
550a0b89
RM
7432013-02-08 Roland McGrath <roland@hack.frob.com>
744
745 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
746 the '\0' terminator.
747
a2da1673
JM
7482013-02-08 Joseph Myers <joseph@codesourcery.com>
749
750 [BZ #13550]
751 * debug/segfault.c: Don't include <bp-checks.h>.
752 * sysdeps/generic/bp-checks.h: Remove file.
753 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
754 (__GETDENTS): Don't use CHECK_N.
755 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
757 (__getgroups): Don't use CHECK_N.
758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
759 (setgroups): Don't use CHECK_N.
760 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
761 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
762 (__libc_msgrcv): Don't use CHECK_N.
763 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
764 (__libc_msgsnd): Don't use CHECK_N.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
766 <bp-checks.h>.
767 (__libc_pread): Don't use CHECK_N.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
769 include <bp-checks.h>.
770 (__libc_pread64): Don't use CHECK_N.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
772 include <bp-checks.h>.
773 (__libc_pwrite): Don't use CHECK_N.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
775 include <bp-checks.h>.
776 (__libc_pwrite64): Don't use CHECK_N.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
778 <bp-checks.h>.
779 (__libc_pread): Don't use CHECK_N.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
781 include <bp-checks.h>.
782 (__libc_pread64): Don't use CHECK_N.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
784 include <bp-checks.h>.
785 (__libc_pwrite): Don't use CHECK_N.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
787 include <bp-checks.h>.
788 (__libc_pwrite64): Don't use CHECK_N.
789 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
790 (do_pread): Don't use CHECK_N.
791 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
792 (do_pread64): Don't use CHECK_N.
793 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
794 (do_pwrite): Don't use CHECK_N.
795 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
796 (do_pwrite64): Don't use CHECK_N.
797 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
798 (__libc_readv): Don't use CHECK_N.
799 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
800 (semop): Don't use CHECK_N.
801 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
802 <bp-checks.h>.
803 (semtimedop): Don't use CHECK_N.
804 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
805 (__libc_pread): Don't use CHECK_N.
806 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
807 <bp-checks.h>.
808 (__libc_pread64): Don't use CHECK_N.
809 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
810 <bp-checks.h>.
811 (__libc_pwrite): Don't use CHECK_N.
812 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
813 <bp-checks.h>.
814 (__libc_pwrite64): Don't use CHECK_N.
815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
816 <bp-checks.h>.
817 (__libc_msgrcv): Don't use CHECK_N.
818 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
819 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
820 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
821 (__libc_writev): Don't use CHECK_N.
822
b84660a8
RM
8232013-02-08 Roland McGrath <roland@hack.frob.com>
824
7f3e75f8
RM
825 * string/strcpy.c: Removed unused variable.
826
b84660a8
RM
827 * Makeconfig (+sysdep-includes): Define with := rather than =.
828 Use an existing include/ subdir of each sysdeps dir before it.
829
471514d3
CD
8302013-02-08 Carlos O'Donell <carlos@redhat.com>
831
832 * nscd/connection.c (register_traced_file): Comment function.
833 [HAVE_INOTIFY] (union __inev): Define.
834 [HAVE_INOTIFY] (inotify_check_files): New function.
835 [HAVE_INOTIFY] (clear_db_cache): Likewise.
836 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
837 clear_db_cache.
838 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
839
b2d3c3be
CD
8402013-02-08 Carlos O'Donell <carlos@redhat.com>
841
842 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
843 loaded if not already and that a failure is permanent.
844
b39949d2
CD
8452013-02-08 Carlos O'Donell <carlos@redhat.com>
846
ddacd1db 847 [BZ #15006]
b39949d2
CD
848 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
849 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
850
b2c9eff4
JM
8512013-02-08 Joseph Myers <joseph@codesourcery.com>
852
f3aae3f3
JM
853 [BZ #13550]
854 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
855 (CHECK_1_NULL_OK): Likewise.
856 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
857 (__fxstat): Do not use CHECK_1.
858 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
859 <bp-checks.h>.
860 (___fxstat64): Do not use CHECK_1.
861 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
862 <bp-checks.h>.
863 (__fxstatat): Do not use CHECK_1.
864 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
865 <bp-checks.h>.
866 (__fxstatat64): Do not use CHECK_1.
867 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
868 <bp-checks.h>.
869 (__fxstat): Do not use CHECK_1.
870 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
871 <bp-checks.h>.
872 (__fxstatat): Do not use CHECK_1.
873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
874 <bp-checks.h>.
875 (__getresgid): Do not use CHECK_1.
876 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
877 <bp-checks.h>.
878 (__getresuid): Do not use CHECK_1.
879 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
880 <bp-checks.h>.
881 (__lxstat): Do not use CHECK_1.
882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
883 <bp-checks.h>.
884 (__old_msgctl): Do not use CHECK_1.
885 (__new_msgctl): Likewise.
886 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
887 <bp-checks.h>.
888 (__new_setrlimit): Do not use CHECK_1.
889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
890 <bp-checks.h>.
891 (__old_shmctl): Do not use CHECK_1.
892 (__new_shmctl): Likewise.
893 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
894 <bp-checks.h>.
895 (__xstat): Do not use CHECK_1.
896 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
897 (__lxstat): Do not use CHECK_1.
898 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
899 <bp-checks.h>.
900 (___lxstat64): Do not use CHECK_1.
901 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
902 (__old_msgctl): Do not use CHECK_1.
903 (__new_msgctl): Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
905 <bp-checks.h>.
906 (__gettimeofday): Do not use CHECK_1.
907 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
908 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
909 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
910 <bp-checks.h>.
911 (__gettimeofday): Do not use CHECK_1.
912 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
913 (__old_shmctl): Do not use CHECK_1_NULL_OK.
914 (__new_shmctl): Do not use CHECK_1.
915 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
916 <bp-checks.h>.
917 (do_sigtimedwait): Do not use CHECK_1.
918 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
919 <bp-checks.h>.
920 (do_sigwaitinfo): Do not use CHECK_1.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
922 <bp-checks.h>.
923 (msgctl): Do not use CHECK_1.
924 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
925 <bp-checks.h>.
926 (shmctl): Do not use CHECK_1.
927 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
928 (ustat): Do not use CHECK_1.
929 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
930 <bp-checks.h>.
931 (__fxstat): Do not use CHECK_1.
932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
933 <bp-checks.h>.
934 (__fxstatat): Do not use CHECK_1.
935 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
936 <bp-checks.h>.
937 (__lxstat): Do not use CHECK_1.
938 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
939 <bp-checks.h>.
940 (__xstat): Do not use CHECK_1.
941 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
942 (__xstat): Do not use CHECK_1.
943 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
944 (___xstat64): Do not use CHECK_1.
945
b2c9eff4
JM
946 [BZ #13550]
947 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
948 definitions.
949 (CHECK_BOUNDS_HIGH): Likewise.
950 * string/strcpy.c: Do not include <bp-checks.h>.
951 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
952
f1d70dad
RM
9532013-02-07 Roland McGrath <roland@hack.frob.com>
954
955 * nscd/nscd-client.h (__nscd_drop_map_ref):
956 Add __attribute__ ((unused)).
957 * nis/nss-nisplus.h (niserr2nss): Likewise.
958
959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
960 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
961
962 * csu/libc-tls.c (init_static_tls, init_slotinfo):
963 Remove inline keyword.
964 * include/rounding-mode.h (round_away): Likewise.
965 * libio/wfileops.c (adjust_wide_data): Likewise.
966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
967 (__m128i_strloadu_tolower): Likewise.
968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
969 (__m128i_strloadu_tolower): Likewise.
970 * time/mktime.c (ydhms_diff): Likewise.
971 * locale/elem-hash.h (elem_hash): Likewise.
972 * locale/setlocale.c (setdata): Likewise.
973 * posix/regex_internal.h (re_string_char_size_at): Likewise.
974 (re_string_wchar_at): Likewise.
975 (bitset_not, bitset_merge, bitset_mask): Likewise.
976 [!(__GNUC__ > 3)] (inline): Remove macro.
977 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
978 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
979 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
980 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
981 * string/memcmp.c (memcmp_bytes): Likewise.
982 * locale/programs/locarchive.c (compute_hashval): Likewise.
983 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
984 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
985 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
986 * nss/getent.c (print_rpc, print_protocols): Likewise.
987 (print_passwd, print_group, print_aliases): Likewise.
988 * nis/nss-nisplus.h (niserr2nss): Likewise.
989 * nscd/connections.c (restart_p): Likewise.
990 Change return type to bool.
991
eab55bfb
RM
9922013-02-05 Roland McGrath <roland@hack.frob.com>
993
7bd642f5
RM
994 * Makeconfig (all-Depend-files): Add existing
995 $(sorted-subdirs:=/Depend) files.
996 (all-subdirs): Remove nss.
997 * sysdeps/unix/inet/Subdirs: Add it here instead.
998 * hesiod/Depend: New file.
999
573c29b2
RM
1000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1001 instead of calling alloca.
1002
b2e25af0
RM
1003 * io/lseek.c (__lseek): Rename to __libc_lseek.
1004 Define __lseek as an alias.
1005
eab55bfb
RM
1006 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1007
9a0d1941
CD
10082013-02-04 Carlos O'Donell <carlos@redhat.com>
1009
1010 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1011 else clause and remove check for non-standard endianness.
1012
b83bbec4
DM
10132013-02-04 David S. Miller <davem@davemloft.net>
1014
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1016
6277fdab
JM
10172013-02-04 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #13550]
1020 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1021 (__ubp_memchr): Remove prototype.
1022 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1023 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1024 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1025 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1026 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1027 Remove alias.
1028 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1029 (__ubp_memchr): Likewise.
1030 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1031 (__ubp_memchr): Likewise.
1032 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1033 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1034 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1036 CHECK_STRING.
1037 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1038 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1039 (__getcwd): Do not use CHECK_STRING.
1040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1041 <bp-checks.h>.
1042 (__real_chown): Do not use CHECK_STRING.
1043 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1044 <bp-checks.h>.
1045 (fchownat): Do not use CHECK_STRING.
1046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1047 CHECK_STRING.
1048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1049 <bp-checks.h>.
1050 (__lchown): Do not use CHECK_STRING.
1051 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1052 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1053 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1054 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1056 include <bp-checks.h>.
1057 (truncate64): Do not use CHECK_STRING.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1059 <bp-checks.h>.
1060 (__real_chown): Do not use CHECK_STRING.
1061 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1062 <bp-checks.h>.
1063 (__lchown): Do not use CHECK_STRING.
1064 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1065 <bp-checks.h>.
1066 (__chown): Do not use CHECK_STRING.
1067 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1068 <bp-checks.h>.
1069 (truncate64): Do not use CHECK_STRING.
1070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1073 (__xmknod): Do not use CHECK_STRING.
1074 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1075 <bp-checks.h>.
1076 (__xmknodat): Do not use CHECK_STRING.
1077 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1078 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1079
903ae060
AS
10802013-02-04 Andreas Schwab <schwab@suse.de>
1081
1082 [BZ #14142]
1083 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1084 * include/netdb.h: Likewise for h_errno.
1085 * elf/tst-stackguard1.c: Include <tls.h>.
1086
542f9466
JK
10872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1088
1089 * elf/link.h (struct link_map): Extend the l_addr comment.
1090 * include/link.h (struct link_map): Likewise.
1091
e782a927
JM
10922013-02-01 Joseph Myers <joseph@codesourcery.com>
1093
1094 [BZ #13550]
1095 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1096 (BOUNDED_1): Remove macro.
1097 * debug/backtrace.c: Don't include <bp-checks.h>.
1098 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1099 (__backtrace): Likewise.
1100 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1101 <bp-checks.h>.
1102 (__backtrace): Don't use BOUNDED_1.
1103 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1104 <bp-checks.h>.
1105 (__backtrace): Don't use BOUNDED_1.
1106 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1107 (__backtrace): Don't use BOUNDED_1.
1108 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1109 (shmat): Don't use BOUNDED_N.
1110
8cf28c5e
JM
11112013-01-31 Joseph Myers <joseph@codesourcery.com>
1112
3a7ac8a0
JM
1113 [BZ #13550]
1114 * sysdeps/generic/bp-start.h: Remove file.
1115 * csu/libc-start.c: Don't include <bp-start.h>.
1116 (LIBC_START_MAIN): Set up __environ directly instead of using
1117 INIT_ARGV_and_ENVIRON.
1118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1119 <bp-start.h>.
1120
f3499f95
JM
1121 [BZ #13550]
1122 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1123 definitions.
1124 (CHECK_FCNTL): Likewise.
1125 (CHECK_N_PAGES): Likewise.
1126
32a45bea
JM
1127 [BZ #13550]
1128 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1129 definitions.
1130 (CHECK_SIGSET_NULL_OK): Likewise.
1131 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1132 <bp-checks.h>.
1133 (sigpending): Don't use CHECK_SIGSET.
1134 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1135 <bp-checks.h>.
1136 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1137 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1138 <bp-checks.h>.
1139 (do_sigsuspend): Don't use CHECK_SIGSET.
1140 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1141 use CHECK_SIGSET.
1142 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1143 (do_sigwait): Don't use CHECK_SIGSET.
1144 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1145 use CHECK_SIGSET.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1147 include <bp-checks.h>.
1148 (sigpending): Don't use CHECK_SIGSET.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1150 include <bp-checks.h>.
1151 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1152 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1153 <bp-checks.h>.
1154 (sigpending): Don't use CHECK_SIGSET.
1155 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1156 <bp-checks.h>.
1157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1158
2e8a5c8c
JM
1159 [BZ #13550]
1160 * sysdeps/generic/bp-semctl.h: Remove file.
1161 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1162 <bp-checks.h> and <bp-semctl.h>.
1163 (__old_semctl): Don't use CHECK_SEMCTL.
1164 (__new_semctl): Likewise.
1165 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1166 and <bp-semctl.h>.
1167 (__old_semctl): Don't use CHECK_SEMCTL.
1168 (__new_semctl): Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1170 <bp-checks.h> and <bp-semctl.h>.
1171 (__old_semctl): Don't use CHECK_SEMCTL.
1172 (__new_semctl): Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1174 <bp-checks.h> and <bp-semctl.h>.
1175 (semctl): Don't use CHECK_SEMCTL.
1176
c2d54929
JM
1177 [BZ #13550]
1178 * Makerules (elide-bp-thunks): Remove variable.
1179 (elide-routines.oS): Don't use $(elide-bp-thunks).
1180 (elide-routines.os): Likewise.
1181 (elide-routines.o): Likewise.
1182 (elide-routines.op): Likewise.
1183 (elide-routines.og): Likewise.
1184 (objects): Don't use $(bp-thunks).
1185 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1186 include.
1187 (common-generated): Do not add s-proto-bp.d.
1188 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1189 (int): Likewise.
1190 (typ): Likewise.
1191 Do not generate makefile rules for bounded-pointer thunks.
1192 * sysdeps/generic/bp-thunks.h: Remove file.
1193 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1194 * sysdeps/unix/s-proto-bp.S: Likewise.
1195
8cf28c5e
JM
1196 [BZ #15062]
1197 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1198 parts of result separately when argument is not close to line from
1199 -i to i and one part of argument is small.
1200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1202 * math/libm-test.inc (cacos_test): Add more tests.
1203 (casin_test): Likewise.
1204 (casinh_test): Likewise.
1205 * sysdeps/i386/fpu/libm-test-ulps: Update.
1206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1207
c4e33b8d
DM
12082013-01-31 David S. Miller <davem@davemloft.net>
1209
1210 * po/de.po: Update from translation team.
1211
3b60b421
MK
12122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1213
1214 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1215
bb931195
TS
12162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1217
b5a5da23
TS
1218 * configure.in (_AC_PROG_CC_C89): New definition.
1219 * configure: Regenerate.
1220
bb931195
TS
1221 * configure.in (AC_PROG_CPP): New definition.
1222 * configure: Regenerate.
1223
8c53a12c
JM
12242013-01-23 Joseph Myers <joseph@codesourcery.com>
1225
1226 * debug/tst-backtrace.h: New file.
1227 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1228 (ret): Remove variable.
1229 (x): Likewise.
1230 (FAIL): Remove macro.
1231 (NO_INLINE): Likewise.
1232 (fn1): Use match function instead of strstr.
1233 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1234 (ret): Remove variable.
1235 (x): Likewise.
1236 (FAIL): Remove macro.
1237 (NO_INLINE): Likewise.
1238 (fn): Use match function instead of strstr.
1239 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1240 (ret): Remove variable.
1241 (x): Likewise.
1242 (FAIL): Remove macro.
1243 (NO_INLINE): Likewise.
1244 (handle_signal): Use match function instead of strstr.
1245 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1246 (ret): Remove variable.
1247 (x): Likewise.
1248 (FAIL): Remove macro.
1249 (NO_INLINE): Likewise.
1250 (handle_signal): Use match function instead of strstr.
1251
4858fa2a
RM
12522013-01-23 Roland McGrath <roland@hack.frob.com>
1253
1254 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1255
bae8e7f5
DM
12562013-01-23 David S. Miller <davem@davemloft.net>
1257
1258 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1259 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1260 argument of CAS if possible.
1261 * sysdeps/sparc/sparc64/bits/atomic.h
1262 (__arch_compare_and_exchange_val_32_acq): Likewise.
1263 (__arch_compare_and_exchange_val_64_acq): Likewise.
1264
9cbbc4ae
PT
12652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1266
1267 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1268 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1269 Include <limits.h>.
67b3f58c 1270 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1271
5655a0b5
AC
12722013-01-23 Adam Conrad <adconrad@0c3.net>
1273
1274 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1275 (LDFLAGS-tst-array5): Likewise.
1276
052aff95
JM
12772013-01-23 Joseph Myers <joseph@codesourcery.com>
1278
1279 [BZ #15036]
1280 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1281 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1282 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1284
7c1e01aa
DM
12852013-01-21 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/backtrace.c: New file.
1288 * sysdeps/sparc/sparc32/backtrace.h: New file.
1289 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1290 * sysdeps/sparc/sparc64/backtrace.h: New file.
1291 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1292 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1293 -funwind-tables.
1294
ab087e0a
AS
12952013-01-21 Andreas Schwab <schwab@suse.de>
1296
1297 [BZ #15020]
1298 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1299 closed its stdout.
1300
ed689c2f
AS
13012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1302
1303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1304 "mpa2.h".
1305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1306
31d470ac
JM
13072013-01-18 Joseph Myers <joseph@codesourcery.com>
1308 Mark Mitchell <mark@codesourcery.com>
1309 Tom de Vries <tom@codesourcery.com>
1310 Paul Pluzhnikov <ppluzhnikov@google.com>
1311
1312 * debug/tst-backtrace2.c: New file.
1313 * debug/tst-backtrace3.c: Likewise.
1314 * debug/tst-backtrace4.c: Likewise.
1315 * debug/tst-backtrace5.c: Likewise.
1316 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1317 (CFLAGS-tst-backtrace3.c): Likewise.
1318 (CFLAGS-tst-backtrace4.c): Likewise.
1319 (CFLAGS-tst-backtrace5.c): Likewise.
1320 (LDFLAGS-tst-backtrace2): Likewise.
1321 (LDFLAGS-tst-backtrace3): Likewise.
1322 (LDFLAGS-tst-backtrace4): Likewise.
1323 (LDFLAGS-tst-backtrace5): Likewise.
1324 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1325 tst-backtrace4 and tst-backtrace5.
1326
90567f30 13272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1328 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1329
1330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1331 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1332 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1333 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1335 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1336 "+r" and remove output regs list as redundant. Add explicit inline
1337 asm to specify register of return val to work around compiler codegen
1338 bug. Remove (int) cast on return value. Add return type parameter to
1339 use in macro so that this macro does not truncate return value for
1340 64-bit values.
1341 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1342 pass to INTERNAL_VSYSCALL_NCS.
1343 (INLINE_VSYSCALL): Add 'long int' as return type to
1344 INTERNAL_VSYSCALL_NCS macro invocation.
1345 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1346 INTERNAL_VSYSCALL_NCS macro invocation.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1348
d3b9ea61
SP
13492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1350
0b57daeb
SP
1351 [BZ #14496]
1352 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1353 Fix application of SIMD FP exception mask.
1354
caa99d06
SP
1355 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1356 mp_no from a power of two.
1357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1358 __mpexp_twomm1. Use __pow_mp.
1359
d3b9ea61
SP
1360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1361 multiplication.
1362
1dbaee3c
DM
13632013-01-17 David S. Miller <davem@davemloft.net>
1364
1365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1366
728d7b43
JM
13672013-01-17 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #15023]
1370 * include/complex.h: Condition contents on [!_COMPLEX_H].
1371 (__kernel_casinhf): New prototype.
1372 (__kernel_casinh): Likewise.
1373 (__kernel_casinhl): Likewise.
1374 * math/Makefile (libm_calls): Add k_casinh.
1375 * math/k_casinh.c: New file.
1376 * math/k_casinhf.c: Likewise.
1377 * math/k_casinhl.c: Likewise.
1378 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1379 finite nonzero arguments.
1380 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1381 finite nonzero arguments.
1382 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1383 finite nonzero arguments.
1384 * math/s_casinh.c: Do not include <float.h>.
1385 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1386 * math/s_casinhf.c: Do not include <float.h>.
1387 (__casinhf): Move code for finite nonzero arguments to
1388 k_casinhf.c.
1389 * math/s_casinhl.c: Do not include <float.h>.
1390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1391 redefine.
1392 (__casinhl): Move code for finite nonzero arguments to
1393 k_casinhl.c.
1394 * math/libm-test.inc (cacos_test): Add more tests.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1397
2a26ef3a
PT
13982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1399
1400 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1401 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1402 [!HAVE_MREMAP]: Remove [defined linux] case.
1403 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1404
a897655d
SP
14052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1406
1407 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1408
881ebe89 14092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1410
1411 * elf/elf.h (R_386_SIZE32): New relocation.
1412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1413 R_386_SIZE32.
1414 (elf_machine_rela): Likewise.
1415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1416 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1417
59981e9b
JM
14182013-01-17 Joseph Myers <joseph@codesourcery.com>
1419
1420 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1421 (FP_FAST_FMA): Do not define.
1422 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1423 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1424 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1425 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1426 !_SOFT_FLOAT]: Likewise.
1427 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1429 value.
1430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1431 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1434 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1435 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1436 file.
1437
cfa8054f
AS
14382013-01-16 Andreas Schwab <schwab@suse.de>
1439
1440 [BZ #14327]
1441 * include/stdlib.h (__mktemp): Add declaration.
1442 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1443 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1444
dd930cc5
SP
14452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1446
881ebe89
SP
1447 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1448 definitions.
1449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1450 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1451 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1452 definitions here.
1453 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1454 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1455 definitions.
1456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1457 and ONE.
1458 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1459 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1461 definitions.
1462 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1463 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1464 definitions.
1465 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1466
dd930cc5
SP
1467 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1468
c19a9f89
DM
14692013-01-15 David S. Miller <davem@davemloft.net>
1470
1aa61767
DM
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1472 trunc{,f} to libm-sysdep_routes.
1473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1475 file.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1478 file.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1480 file.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1484 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1488 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1489
c42d5e98
DM
1490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1491 nearbyint{,f} to libm-sysdep_routes.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1494 New file.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1496 file.
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1498 New file.
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1500 file.
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1504 file.
1505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1507 file.
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1509 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1510 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1511
c19a9f89
DM
1512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1513 libc_feholdexcept and libc_fesetenv.
1514
357679d2
MF
15152013-01-15 Mike Frysinger <vapier@gentoo.org>
1516
1517 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1518
65a82e3d
DM
15192013-01-14 David S. Miller <davem@davemloft.net>
1520
8b954ab9
DM
1521 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1522 (SPARC_ASM_VIS2_IFUNC): Likewise.
1523 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1525 use of 'siam' instruction.
1526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1527 Likewise.
1528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1529 Likewise.
1530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1531 Likewise.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1537 file.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1539 file.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1541 file.
1542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1543 file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1549 new VIS2 routines.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1553 Likewise.
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1559 routines to libm-sysdep_routines.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1561
65a82e3d
DM
1562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1563 fdim/fdimf to libm-sysdep_routines.
1564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1565 file.
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1568 file.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1572 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1573 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1576
e34ab705
SP
15772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
2a91b573
SP
1579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1580 to optimize copies.
1581
1066a534
SP
1582 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1585
e34ab705
SP
1586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1587 local variable MPTWO.
1588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1589 Likewise.
1590
aba5e596
MF
15912013-01-13 Mike Frysinger <vapier@gentoo.org>
1592
1593 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1594 GLOB_NOESCAPE.
1595
e557e9e5
MF
15962013-01-13 Mike Frysinger <vapier@gentoo.org>
1597
1598 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1599
0428cec9
MF
16002013-01-13 Mike Frysinger <vapier@gentoo.org>
1601
1602 * manual/pattern.texi (glob_t): Document gl_flags.
1603 (glob64_t): Likewise.
1604
8794a964
DM
16052013-01-11 David S. Miller <davem@davemloft.net>
1606
66438c3f
RM
1607 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1608 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1609 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1610 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1611 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1612 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1613 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1614 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1616 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1618 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1620
4ae4244d
DM
1621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1622 sparc V9 rather than using V8 code.
1623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1625
8794a964
DM
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1627 Move to...
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1629 Here.
1630
6270516e
RM
16312013-01-11 Roland McGrath <roland@hack.frob.com>
1632
1633 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1634 not in the main loop.
1635 * configure: Regenerated.
1636
6a57d931
JM
16372013-01-11 Joseph Myers <joseph@codesourcery.com>
1638
1639 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1640 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1641 to just #else.
1642 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1643 [!__GLIBC_HAVE_LONG_LONG] case.
1644 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1645 condition to just #else.
1646 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1647 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1648 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1649 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1650 unconditional.
1651 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1652 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1653 #elif condition to just #else.
1654 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1655 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1656 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1657 #elif condition to just #else.
1658
0e8529e9
SE
16592013-01-11 Steve Ellcey <sellcey@mips.com>
1660
1661 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1662 (EF_MIPS_ARCH_64): Fix value.
1663 (EF_MIPS_ARCH_32R2): New.
1664 (EF_MIPS_ARCH_64R2): New.
1665
740b3dbe
L
16662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1667
1668 * Makeconfig (+link-pie-before-libc): New.
1669 (+link-pie-after-libc): Likewise.
1670 (+link-pie-tests): Likewise.
1671 (+link-pie): Rewritten.
1672 (link-before-libc): Remove $(config-LDFLAGS).
1673 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1674 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1675 (config-LDFLAGS): Renamed to ...
1676 (rtld-LDFLAGS): This.
1677 (rtld-tests-LDFLAGS): New macro.
1678 (link-libc-rpath-link): Likewise.
1679 (link-libc-tests-rpath-link): Likewise.
1680 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1681 (link-libc): Prepand $(link-libc-rpath-link).
1682 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1683 (test-program-prefix): New macro.
1684 (test-via-rtld-prefix): Likewise.
1685 (test-program-cmd): Likewise.
1686 (host-test-program-cmd): Likewise.
1687 * Makefile ($(common-objpfx)testrun.sh): Replace
1688 $(run-program-prefix) with $(test-program-prefix).
1689 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1690 $(rtld-LDFLAGS).
1691 ($(common-objpfx)shlib.lds): Likewise.
1692 (build-module-helper): Likewise.
1693 ($(common-objpfx)format.lds): Likewise.
1694 * Rules (binaries-pie-tests): New.
1695 (binaries-pie-notests): Likewise.
1696 (binaries-pie): Rewritten.
1697 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1698 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1699 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1700 (make-test-out): Replace $(host-built-program-cmd) with
1701 $(host-test-program-cmd).
1702 * config.make.in (build-hardcoded-path-in-tests): New variable.
1703 * configure.in (--enable-hardcoded-path-in-tests): New configure
1704 option.
1705 (hardcoded_path_in_tests): New AC_SUBST.
1706 * configure: Regenerated.
1707 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1708 $(built-program-cmd) with $(test-program-cmd).
1709 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1710 (test_program_cmd): This.
1711 * elf/Makefile ($(objpfx)order.out): Run test with
1712 $(test-program-prefix).
1713 ($(objpfx)order2.out): Likewise.
1714 ($(objpfx)tst-initorder.out): Likewise.
1715 ($(objpfx)tst-initorder2.out): Likewise.
1716 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1717 $(test-program-cmd).
1718 ($(objpfx)tst-array1-static.out): Likewise.
1719 ($(objpfx)tst-array2.out): Likewise.
1720 ($(objpfx)tst-array3.out): Likewise.
1721 ($(objpfx)tst-array4.out): Likewise.
1722 ($(objpfx)tst-array5.out): Likewise.
1723 ($(objpfx)tst-array5-static.out): Likewise.
1724 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1725 $(test-program-cmd).
1726 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1727 $(run-program-prefix) with $(test-program-prefix).
1728 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1729 (test_program_prefix): This.
1730 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1731 $(run-program-prefix) with $(test-program-prefix).
1732 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1733 (test_program_prefix): This.
1734 * iconvdata/tst-tables.sh: Likewise.
1735 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1736 $(run-program-prefix) with $(test-program-prefix).
1737 ($(objpfx)tst-translit.out): Likewise.
1738 ($(objpfx)tst-gettext2.out): Likewise.
1739 ($(objpfx)tst-gettext4.out): Likewise.
1740 ($(objpfx)tst-gettext6.out): Likewise.
1741 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1742 (test_program_prefix): This.
1743 * intl/tst-gettext2.sh: Likewise.
1744 * intl/tst-gettext4.sh Likewise.
1745 * intl/tst-gettext6.sh: Likewise.
1746 * intl/tst-translit.sh: Likewise.
1747 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1748 with $(test-program-cmd).
1749 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1750 $(run-program-prefix) with $(test-program-prefix).
1751 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1752 (test_program_prefix): This.
1753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1754 $(run-program-prefix) with $(test-program-prefix).
1755 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1756 (test_program_prefix): This.
1757 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1758 * posix/Makefile ($(objpfx)globtest.out): Replace
1759 $(run-via-rtld-prefix) and $(test-wrapper) with
1760 $(test-program-prefix) and $(test-via-rtld-prefix).
1761 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1762 $(test-program-prefix).
1763 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1764 $(host-test-program-cmd).
1765 (tst-spawn-ARGS): Likewise.
1766 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1767 $(test-program-prefix).
1768 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1769 (test_via_rtld_prefix): This.
1770 (test_wrapper): Renamed to ...
1771 (test_program_prefix): This.
1772 (run_program_prefix): Replaced by test_program_prefix.
1773 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1774 (test_program_prefix): This.
1775 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1776 with $(host-test-program-cmd).
1777 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1778 $(run-program-prefix) with $(test-program-prefix).
1779 ($(objpfx)tst-printf.out): Likewise.
1780 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1781 $(test-program-cmd).
1782 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1783 (test_program_prefix): This.
1784 * stdio-common/tst-unbputc.sh: Likewise.
1785 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1786 $(run-program-prefix) with $(test-program-prefix).
1787 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1788 (test_program_prefix): This.
1789 * string/Makefile ($(objpfx)tst-svc.out): Replace
1790 $(built-program-cmd) with $(test-program-cmd).
1791
c6fe55cf
AJ
17922013-01-11 Andreas Jaeger <aj@suse.de>
1793
1794 [BZ #15003]
1795 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1796 value. Sync with Linux 3.7.
1797
9e6919c8
DM
17982013-01-10 David S. Miller <davem@davemloft.net>
1799
1800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1801 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1802 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1803
1c9f1a02
RM
18042013-01-10 Roland McGrath <roland@hack.frob.com>
1805
1806 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1807 never set.
1808 * configure: Regenerated.
1809
b9de2dde
DM
18102013-01-10 David S. Miller <davem@davemloft.net>
1811
1812 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1813 sparc V9 rather than using V8 code.
1814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1816
e7f68ef4
RM
18172013-01-10 Roland McGrath <roland@hack.frob.com>
1818
1819 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1820 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1821 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1822 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1823 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1824 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1825 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1826 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1827 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1828 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1829 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1830 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1831 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1832 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1833 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1834 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1835 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1836 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1837 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1838 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1839 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1840 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1841 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1842 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1843 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1844 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1845 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1846
5a47cc9c
DM
18472013-01-10 David S. Miller <davem@davemloft.net>
1848
1849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1850
4cf8f209
L
18512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1852
1853 * posix/Makefile (tests-static): New variable.
1854 (tests): Add $(tests-static).
1855 (tst-exec-static-ARGS): New variable.
1856 (tst-spawn-static-ARGS): Likewise.
1857 * posix/tst-exec-static.c: New file.
1858 * posix/tst-spawn-static.c: Likewise.
1859 * posix/tst-exec.c: Support run directly.
1860 * posix/tst-spawn.c: Likewise.
1861
fed0faa1
JM
18622013-01-10 Joseph Myers <joseph@codesourcery.com>
1863
828beb13
JM
1864 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1865 long.
1866 * math/bits/mathcalls.h (llrint): Likewise.
1867 (llround): Likewise.
1868 * stdlib/stdlib.h (struct drand48_data): Likewise.
1869 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1870 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1872 Likewise.
1873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1874 Likewise.
1875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1876 (elf_greg_t): Likewise.
1877 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1878 (__jmp_buf): Likewise.
1879 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1880 definitions.
1881 (llrint): Likewise, for all definitions.
1882 (llrintl): Likewise.
1883
fed0faa1
JM
1884 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1885 Remove [__GNUC__] condition.
1886 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1887 condition to just [__USE_ISOC99].
1888 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1889
1a20cb20
L
18902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 [BZ #14200]
1893 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1894 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1895 defined.
1896 (_POSIX_V6_ILP32_OFF32): Likewise.
1897 (_XBS5_ILP32_OFF32): Likewise.
1898 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1899 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1900
751b85f7
SP
19012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1902
7490eb81
SP
1903 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1904
751b85f7
SP
1905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1906 doubles __mpexp_twomm1. Adjust usage.
1907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1908 Remove.
1909
988197f0
AS
19102013-01-10 Andreas Schwab <schwab@suse.de>
1911
1912 [BZ #14964]
1913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1914 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1915
e83d7298
DM
19162013-01-09 David S. Miller <davem@davemloft.net>
1917
034ed64b 1918 [BZ #15003]
e83d7298
DM
1919 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1920 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1921 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1922 TCP_FASTOPEN): Define.
1923 (tcp_repair_opt): New structure.
1924 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1925 enum values.
1926 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1927 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1928 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1929 (tcp_cookie_transactions): New structure.
1930
d5e0b9bd
AB
19312013-01-09 Anton Blanchard <anton@samba.org>
1932
1933 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1934 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1937
0c07e3ea
JM
19382013-01-09 Joseph Myers <joseph@codesourcery.com>
1939
1940 * include/features.h (__USE_ANSI): Remove.
1941
232f7002
RM
19422013-01-09 Roland McGrath <roland@hack.frob.com>
1943
ad98e30c
RM
1944 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1945
232f7002
RM
1946 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1947
950c99ca
SP
19482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1949
b5792741
SP
1950 * sysdeps/s390/fpu/libm-test-ulps: Update.
1951
47cf2278
SP
1952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1953
950c99ca
SP
1954 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1955 (__acr): Likewise.
1956 (__cpy): Likewise.
1957 (norm): Likewise.
1958 (denorm): Likewise.
1959 (__mp_dbl): Likewise.
1960 (__dbl_mp): Likewise.
1961 (add_magnitudes): Likewise.
1962 (sub_magnitudes): Likewise.
1963 (__add): Likewise.
1964 (__sub): Likewise.
1965 (__mul): Likewise.
1966 (__inv): Likewise.
1967 (__dvd): Likewise.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1969 (__acr): Likewise.
1970 (__cpy): Likewise.
1971 (norm): Likewise.
1972 (denorm): Likewise.
1973 (__mp_dbl): Likewise.
1974 (__dbl_mp): Likewise.
1975 (add_magnitudes): Likewise.
1976 (sub_magnitudes): Likewise.
1977 (__add): Likewise.
1978 (__sub): Likewise.
1979 (__mul): Likewise.
1980 (__inv): Likewise.
1981 (__dvd): Likewise.
1982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1983 (__acr): Likewise.
1984 (__cpy): Likewise.
1985 (norm): Likewise.
1986 (denorm): Likewise.
1987 (__mp_dbl): Likewise.
1988 (__dbl_mp): Likewise.
1989 (add_magnitudes): Likewise.
1990 (sub_magnitudes): Likewise.
1991 (__add): Likewise.
1992 (__sub): Likewise.
1993 (__mul): Likewise.
1994 (__inv): Likewise.
1995 (__dvd): Likewise.
1996
eede9df9
JM
19972013-01-08 Joseph Myers <joseph@codesourcery.com>
1998
1999 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2000 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2001 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2002 2 && __USE_EXTERN_INLINES]: Likewise.
2003
c40ea3d9
AJ
20042013-01-08 Andreas Jaeger <aj@suse.de>
2005
2006 [BZ# 14985]
2007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2008 Remove.
2009 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2010 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2011
2ccdea26
AB
20122013-01-07 Anton Blanchard <anton@samba.org>
2013
2014 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2016 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2017 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2018 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2019 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2020 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2021 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2030 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2038 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2039 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2040 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2046 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2057
a9708fed
JM
20582013-01-07 Joseph Myers <joseph@codesourcery.com>
2059
375607b9
JM
2060 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2061 (__MALLOC_PMT): Likewise.
2062 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2063 [__GNUC__], only on [_LIBC].
2064 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2065 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2066 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2067 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2068 forward declaration.
2069 (realloc_hook_ini): Likewise.
2070 (memalign_hook_ini): Likewise.
2071 (__libc_memalign): Do not use __MALLOC_PMT in variable
2072 declaration.
2073 (__libc_valloc): Likewise.
2074 (__libc_pvalloc): Likewise.
2075 (__libc_calloc): Likewise.
2076 (__posix_memalign): Likewise.
2077
a9708fed
JM
2078 [BZ #14996]
2079 * math/s_casinh.c: Include <float.h>.
2080 (__casinh): Do not do computation with squaring and square root
2081 for large arguments.
2082 * math/s_casinhf.c: Include <float.h>.
2083 (__casinhf): Do not do computation with squaring and square root
2084 for large arguments.
2085 * math/s_casinhl.c: Include <float.h>.
2086 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2087 (__casinhl): Do not do computation with squaring and square root
2088 for large arguments.
2089 * math/libm-test.inc (casin_test): Add more tests.
2090 (casinh_test): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2093
afec409a
L
20942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2097 (__x86_64_raw_data_cache_size): Likewise.
2098 (__x86_64_data_cache_size_half): Likewise.
2099 (__x86_64_raw_data_cache_size_half): Likewise.
2100 (__x86_64_shared_cache_size): Likewise.
2101 (__x86_64_raw_shared_cache_size): Likewise.
2102 (__x86_64_shared_cache_size_half): Likewise.
2103 (__x86_64_raw_shared_cache_size_half): Likewise.
2104 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2105 to ...
2106 (__x86_data_cache_size): This.
2107 (__x86_64_raw_data_cache_size): Renamed to ...
2108 (__x86_raw_data_cache_size): This.
2109 (__x86_64_data_cache_size_half): Renamed to ...
2110 (__x86_data_cache_size_half): This.
2111 (__x86_64_raw_data_cache_size_half): Renamed to ...
2112 (__x86_raw_data_cache_size_half): This.
2113 (__x86_64_shared_cache_size): Renamed to ...
2114 (__x86_shared_cache_size): This.
2115 (__x86_64_raw_shared_cache_size): Renamed to ...
2116 (__x86_raw_shared_cache_size): This.
2117 (__x86_64_shared_cache_size_half): Renamed to ...
2118 (__x86_shared_cache_size_half): This.
2119 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2120 (__x86_raw_shared_cache_size_half): This.
2121 * sysdeps/x86_64/memcpy.S: Updated.
2122 * sysdeps/x86_64/memset.S: Likewise.
2123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2126
0b3986d0
DM
21272013-01-04 David S. Miller <davem@davemloft.net>
2128
2129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2130
e47686e9
AS
21312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2132
d643bac1
AS
2133 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2134 1 to avoid redefinition warning.
2135 (__USE_GNU): Don't define.
2136 (init_signaling_nan): Protoize.
2137
e47686e9
AS
2138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2139
b18decba
SP
21402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2141
fffb407f
SP
2142 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2144 (__cpymn): Likewise.
2145 (norm): Remove commented code.
2146 (denorm): Likewise.
2147 (__mp_dbl): Likewise.
2148 (__inv): Likewise.
2149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2150 (__cpymn): Likewise.
2151 (norm): Remove commented code.
2152 (denorm): Likewise.
2153 (__mp_dbl): Likewise.
2154 (__inv): Likewise.
2155
b18decba
SP
2156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2157 mp_no value for 1.0 and 2.0.
2158 (norm): Use RADIXI instead of radixi.d.
2159 (denorm): Likewise.
2160 (__mul): Use 0.0 instead of zero.d.
2161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2162 mp_no value for 1.0 and 2.0.
2163 (norm): Use RADIXI instead of radixi.d.
2164 (denorm): Likewise.
2165 (__mul): Use 0.0 instead of zero.d.
2166
cdc1c96f
JM
21672013-01-04 Joseph Myers <joseph@codesourcery.com>
2168
2169 [BZ #14994]
2170 * math/s_casinh.c (__casinh): Reduce finite argument to first
2171 quadrant then set signs of results at the end.
2172 * math/s_casinhf.c (__casinhf): Likewise.
2173 * math/s_casinhl.c (__casinhl): Likewise.
2174 * math/libm-test.inc (casin_test): Add more tests.
2175 (casinh_test): Likewise.
2176 * sysdeps/i386/fpu/libm-test-ulps: Update.
2177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2178
302913e1
SP
21792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2180
6420d207
SP
2181 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2182
a9e48ab4
SP
2183 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2184
b7837264
SP
2185 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2186 declarations.
2187 (denorm): Likewise.
2188 (__mp_dbl): Likewise.
2189 (__inv): Likewise.
2190
f8af25d2
SP
2191 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2192 and adjust the header comment.
2193
302913e1
SP
2194 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2195 variable name from declaration.
2196
5d7dd1ca
L
21972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2200 Initialize COMMON_CPUID_INDEX_7 element.
2201 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2202 (CPUID_RTM): Likewise.
2203 (HAS_RTM): Likewise.
2204 (COMMON_CPUID_INDEX_7): New enum.
2205
2f5f40f4
AS
22062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 [BZ #14981]
2209 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2210 size is zero, record memory as freed.
2211
4056f4a0
AJ
22122013-01-03 Andreas Jaeger <aj@suse.de>
2213
2214 * po/ia.po: Add new Interlingua translation.
2215
ab15736f 22162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2217
2218 * locale/programs/localedef.c: Fix description of '--posix' flag.
2219
568035b7
JM
22202013-01-02 Joseph Myers <joseph@codesourcery.com>
2221
e6898b8d
JM
2222 * NEWS: Update dates in second copyright notice.
2223 * README: Update copyright dates in example.
2224 * manual/libc.texinfo: Update copyright dates.
2225 * scripts/test-installation.pl: Update copyright date in --version
2226 output.
2227
0e2f9562
JM
2228 * hurd/ctty-input.c: Fix copyright notice formatting.
2229 * hurd/ctty-output.c: Likewise.
2230 * hurd/dtable.c: Likewise.
2231 * hurd/hurd-raise.c: Likewise.
2232 * hurd/hurdprio.c: Likewise.
2233 * hurd/msgportdemux.c: Likewise.
2234 * misc/sys/file.h: Likewise.
2235 * misc/sys/ioctl.h: Likewise.
2236 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2237 * sysdeps/mach/hurd/chdir.c: Likewise.
2238 * sysdeps/mach/hurd/fchdir.c: Likewise.
2239 * sysdeps/mach/hurd/rename.c: Likewise.
2240 * sysdeps/mach/hurd/rmdir.c: Likewise.
2241 * sysdeps/mach/hurd/seekdir.c: Likewise.
2242 * sysdeps/mach/hurd/setsid.c: Likewise.
2243 * sysdeps/posix/wait3.c: Likewise.
2244
568035b7
JM
2245 * All files with FSF copyright notices: Update copyright dates
2246 using scripts/update-copyrights.
2247 * intl/plural.c: Regenerated.
2248 * locale/programs/charmap-kw.h: Likewise.
2249 * locale/programs/locfile-kw.h: Likewise.
2250
da08f647
SP
22512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2252
0f5477af
SP
2253 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2254 four values.
2255
44e0d4c2
SP
2256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2257 calculation loop and add branch prediction.
2258
4d55b4e5
SP
2259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2260 check access beyond bounds of m1np.
2261
da08f647
SP
2262 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2263 MPTWO.
2264 (__inv): Remove local variable MPTWO to use the global
2265 constant.
2266 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2268 variable MPTWO.
2269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2270 MP3HALFS static const.
2271
8e051029
DM
22722013-01-01 David S. Miller <davem@davemloft.net>
2273
2274 * po/ca.po: Update from translation team.
2275
f4cf5f2d
JM
22762013-01-01 Joseph Myers <joseph@codesourcery.com>
2277
2278 * scripts/update-copyrights: New file.
2279 * Makeconfig: Reformat copyright notice.
2280 * ctype/ctype.h: Likewise.
2281 * debug/swprintf_chk.c: Likewise.
2282 * elf/dl-cache.c: Likewise.
2283 * elf/dl-debug.c: Likewise.
2284 * elf/dl-object.c: Likewise.
2285 * grp/initgroups.c: Likewise.
2286 * hurd/Makefile: Likewise.
2287 * hurd/hurd/signal.h: Likewise.
2288 * hurd/hurdfault.c: Likewise.
2289 * hurd/hurdioctl.c: Likewise.
2290 * hurd/hurdlookup.c: Likewise.
2291 * hurd/intr-msg.c: Likewise.
2292 * iconv/gconv_open.c: Likewise.
2293 * libio/swprintf.c: Likewise.
2294 * locale/lc-ctype.c: Likewise.
2295 * locale/nl_langinfo.c: Likewise.
2296 * mach/Machrules: Likewise.
2297 * mach/Makefile: Likewise.
2298 * malloc/obstack.h: Likewise.
2299 * manual/Makefile: Likewise.
2300 * manual/tsort.awk: Likewise.
2301 * misc/bits/stab.def: Likewise.
2302 * nis/nis_print_group_entry.c: Likewise.
2303 * nis/nis_table.c: Likewise.
2304 * nis/nss_compat/compat-pwd.c: Likewise.
2305 * nis/nss_compat/compat-spwd.c: Likewise.
2306 * po/Makefile: Likewise.
2307 * posix/fnmatch.c: Likewise.
2308 * posix/regex.h: Likewise.
2309 * resolv/Makefile: Likewise.
2310 * resolv/nss_dns/dns-network.c: Likewise.
2311 * resolv/res_hconf.c: Likewise.
2312 * scripts/gen-sorted.awk: Likewise.
2313 * soft-fp/soft-fp.h: Likewise.
2314 * stdio-common/printf.h: Likewise.
2315 * stdlib/monetary.h: Likewise.
2316 * stdlib/random.c: Likewise.
2317 * stdlib/random_r.c: Likewise.
2318 * sysdeps/generic/Makefile: Likewise.
2319 * sysdeps/gnu/Makefile: Likewise.
2320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2348 * sysdeps/mach/hurd/errnos.awk: Likewise.
2349 * sysdeps/mach/hurd/fork.c: Likewise.
2350 * sysdeps/mach/hurd/getcwd.c: Likewise.
2351 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2352 * sysdeps/mach/hurd/mmap.c: Likewise.
2353 * sysdeps/mach/hurd/utimes.c: Likewise.
2354 * sysdeps/mach/hurd/xmknod.c: Likewise.
2355 * sysdeps/posix/profil.c: Likewise.
2356 * sysdeps/posix/readdir_r.c: Likewise.
2357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2358 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2368 * sysdeps/pthread/lio_listio.c: Likewise.
2369 * sysdeps/sparc/dl-procinfo.h: Likewise.
2370 * sysdeps/unix/i386/sysdep.S: Likewise.
2371 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2372 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2373 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2374 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2376 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2377 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2378 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2379 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2380 * sysdeps/wordsize-32/divdi3.c: Likewise.
2381 * time/sys/time.h: Likewise.
2382 * wcsmbs/Makefile: Likewise.
2383
0549fbba
DM
23842013-01-01 David S. Miller <davem@davemloft.net>
2385
a141f1a7
DM
2386 * po/fr.po: Update from translation team.
2387
0549fbba
DM
2388 * catgets/gencat.c: Update copyright year.
2389 * csu/version.c: Likewise.
2390 * debug/catchsegv.sh: Likewise.
2391 * debug/pcprofiledump.c: Likewise.
2392 * debug/xtrace.sh: Likewise.
2393 * elf/ldconfig.c: Likewise.
2394 * elf/ldd.bash.in: Likewise.
2395 * elf/pldd.c: Likewise.
2396 * elf/sotruss.ksh: Likewise.
2397 * elf/sprof.c: Likewise.
2398 * iconv/iconv_prog.c: Likewise.
2399 * iconv/iconvconfig.c: Likewise.
2400 * locale/programs/locale.c: Likewise.
2401 * locale/programs/localedef.c: Likewise.
2402 * login/programs/pt_chown.c: Likewise.
2403 * malloc/memusage.sh: Likewise.
2404 * malloc/memusagestat.c: Likewise.
2405 * malloc/mtrace.pl: Likewise.
2406 * nscd/nscd.c: Likewise.
2407 * nss/getent.c: Likewise.
2408 * nss/makedb.c: Likewise.
2409 * posix/getconf.c: Likewise.
2410
18ea052c
SP
24112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2412
2413 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2414 numbers.
2415
9c89fca6
MF
24162012-12-30 Mike Frysinger <vapier@gentoo.org>
2417
2418 * math/bits/mathcalls.h (modf): Use __nonnull.
2419
085ec079
SP
24202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2421
2422 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2423 (split): Use macro CN instead of the bare value.
2424 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2425 could be used.
2426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2427 instead of the bare value.
2428 (power1): Likewise.
2429
6d9f97e1
SP
24302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
d63f73be
SP
2432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2433 __ATAN_TWOM.
2434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2435
6d9f97e1
SP
2436 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2437 their values.
2438 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2440 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2441 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2442
4c4febf5
AJ
24432012-12-28 Andreas Jaeger <aj@suse.de>
2444
af5843ef
AJ
2445 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2446 values are from Linux 3.7.
2447
4c4febf5
AJ
2448 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2449 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2450
99136f82
SP
24512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2452
2f216c3c 2453 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2454 TRUE case.
2455
99136f82
SP
2456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2457 (norm): Likewise.
2458 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2459 variables with preprocessor constants.
2460 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2462 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2463
7fffbdff
BH
24642012-12-27 Bruno Haible <bruno@clisp.org>
2465
2466 [BZ #14317]
2467 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2468 only if needed.
2469
b76eb5f0
SP
24702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2471
31a7fe5c
SP
2472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2473 and use variable directly.
2474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2475
b76eb5f0
SP
2476 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2477 MPONE.
2478 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2480 variable MPONE.
2481 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2483 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2484 include directive. Remove local variable MPONE.
2485 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2488
2c8bfe7d
DM
24892012-12-25 David S. Miller <davem@davemloft.net>
2490
2491 * version.h (RELEASE): Set to "development".
2492 (VERSION): Set to "2.17.90".
2493 * NEWS: Add 2.18 section.
2494
147d03b0
DM
24952012-12-21 David S. Miller <davem@davemloft.net>
2496
2497 * po/hr.po: Update from translation team.
2498
a8ebb2b9
AK
24992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2500
2501 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2502
95b4f1b6
SE
25032012-12-19 Steve Ellcey <sellcey@mips.com>
2504
b2d94007 2505 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2506
cedb2a90
MS
25072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2508
2509 * manual/contrib.texi (Contributors): Spelling correction.
2510
bbf527d6
DM
25112012-12-15 David S. Miller <davem@davemloft.net>
2512
2513 * po/ru.po: Update from translation team.
2514
bc38c906
DM
25152012-12-13 David S. Miller <davem@davemloft.net>
2516
85429b1a
DM
2517 * NEWS: Mention IFUNC testsuite enhancements.
2518
d283e353
DM
2519 * po/pl.po: Update from translation team.
2520 * po/bg.po: Likewise.
2521
bc38c906
DM
2522 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2523 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2524
a181b0d7
DM
25252012-12-11 David S. Miller <davem@davemloft.net>
2526
4641d57e
DM
2527 * po/sv.po: Update from translation team.
2528
f7bc6495
DM
2529 * po/vi.po: Update from translation team.
2530
6fc9048f
DM
2531 * po/cs.po: Update from translation team.
2532
a181b0d7
DM
2533 * po/de.po: Update from translation team.
2534 * po/eo.po: Likewise.
2535 * po/nl.po: Likewise.
2536
f70bfe80
SP
25372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2538
3c8b4190
SP
2539 [BZ #14246]
2540 * manual/argp.texi (Argp Helper Functions): Move node to follow
2541 Argp Parsing State.
2542
f70bfe80
SP
2543 [BZ #14872]
2544 * manual/conf.texi (Limits on File System Capacity): Mention if
2545 terminating null is included in the max size.
2546
188f0adf
AJ
25472012-12-10 Andreas Jaeger <aj@suse.de>
2548
2549 * po/cs.po: Update from translation team.
2550
56e7d3ad
SP
25512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
2553 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2554 void pointer and cast to uintptr_t.
2555 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2556 path.
2557 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2558 * sysdeps/s390/s390-64/memset.S: Likewise.
2559
76f2d2ea 25602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2561
2562 [BZ #14833]
2563 * menual/message.texi (Message Translation): Fix typos.
2564 (Helper programs for gettext): Likewise.
2565
67cbf9a2
AS
25662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2567
2568 [BZ #14898]
2569 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2570 Change to -1.
2571
682d0e9a
DM
25722012-12-07 David S. Miller <davem@davemloft.net>
2573
2574 * po/libc.pot: Update.
2575
573cd484
RH
25762012-12-07 Richard Henderson <rth@redhat.com>
2577
7e9da188 2578 [BZ #10114]
573cd484
RH
2579 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2580 normal/normal case to before the switch.
2581 (_FP_DIV): Likewise.
2582
e933a943
MF
25832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2584 Mike Frysinger <vapier@gentoo.org>
2585
2586 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2587 check for __NR_fadvise64_64.
2588
82123268
CM
25892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2590
2591 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2592 0, not just to plain "0" as a statement.
2593 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2594 with cw.
2595
d9814526
JM
25962012-12-06 Joseph Myers <joseph@codesourcery.com>
2597
2598 * NEWS: Use sourceware.org in Bugzilla URL.
2599
7728c574
SP
26002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2601
f16946dd
SP
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2603 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2604
5704bbcb
SP
2605 * stdio-common/tst-put-error.c (do_test): Add newline to the
2606 padded test to ensure flush.
2607
17aa0516
JL
26082012-12-05 Jeff Law <law@redhat.com>
2609
2610 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2611
363313b5
JM
26122012-12-05 Joseph Myers <joseph@codesourcery.com>
2613
effbd42a
JM
2614 * README: Don't refer to ports add-on as distributed separately.
2615 Mention AArch64 in list of systems supported in the ports add-on.
2616
87600365
JM
2617 * LICENSES: Add more non-FSF copyright and license notices.
2618
a0d7066a
JM
2619 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2620 ((unused)).
2621
66ca5a5b
JM
2622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2623
363313b5
JM
2624 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2625 10000 as width of padded output.
2626
b37984ad
JM
26272012-12-04 Joseph Myers <joseph@codesourcery.com>
2628
9003570a
JM
2629 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2630
b37984ad
JM
2631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2632 variable LX with __attribute__ ((unused)).
2633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2634 Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2638 with __attribute__ ((unused)).
2639
c8df52ec
DM
26402012-12-04 David S. Miller <davem@abraco.davemloft.net>
2641
2642 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2643
b3b099af
JM
26442012-12-04 Joseph Myers <joseph@codesourcery.com>
2645
c33aa6e3
JM
2646 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2647 (CFLAGS-nldbl-acos.c): New variable.
2648 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2649 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2650 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2651 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2652 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2653 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2654 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2655 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2656 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2657 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2658 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2659 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2660 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2661 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2662 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2663 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2664 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2665 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2666 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2667 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2668 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2669 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2670 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2671 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2672 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2673 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2674 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2675 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2676 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2677 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2678 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2679 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2680 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2681 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2682 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2683 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2684 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2685 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2686 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2687 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2692 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2693 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2694 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2695 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2696 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2697 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2698 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2699 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2700 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2701 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2702 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2703 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2704 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2705 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2706 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2707 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2708 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2709 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2710 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2711 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2712 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2717 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2718 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2719 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2720 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2721 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2722 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2723 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2724 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2725 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2726 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2727 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2728 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2729 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2730 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2731 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2732 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2733 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2734 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2735 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2736 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2737 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2738 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2739 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2740 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2741 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2742 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2743 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2745
20f0018d
JM
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2747 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2748
b3b099af
JM
2749 [BZ #14914]
2750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2751 whole low double instead of just low 47 bits when splitting values
2752 into two parts.
2753
029264d1
AM
27542012-12-03 Allan McRae <allan@archlinux.org>
2755
2756 * manual/stdio.texi (Predefined Printf Handlers): Remove
2757 @hsep and @vsep usage.
2758
c9d6789e
MF
27592012-12-03 Mike Frysinger <vapier@gentoo.org>
2760
2761 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2762 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2763
4b7634a5
JL
27642012-12-03 Jeff Law <law@redhat.com>
2765
2766 * time/sys/time.h (settimeofday): Do not mark TV argument
2767 as __nonnull.
2768
eb6cbd24
MF
27692012-12-01 Mike Frysinger <vapier@gentoo.org>
2770
2771 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2772 when currently writing and seek to current position when not.
2773 * libio/Makefile (tests): Remove bug-fclose1.
2774 * libio/bug-fclose1.c: Delete.
2775
f638872a
JM
27762012-12-01 Joseph Myers <joseph@codesourcery.com>
2777
2778 * manual/arith.texi (feenableexcept): Fix typo.
2779 (fedisableexcept): Likewise.
2780
48085d14
RM
27812012-11-30 Roland McGrath <roland@hack.frob.com>
2782
2783 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2784 second, differently-typed declaration, rather than a cast.
2785
1a538b9f
SP
27862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2787
2788 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2789 * include/rpc/svc.h: ... here.
2790
d07f2ff1 27912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2792
2793 [BZ #13013]
2794 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2795 depending n and resplen2 to catch cases where answer
2796 equals answerp2.
2797
c93ec1f0
CD
27982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2799
2800 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2801 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2802
37db69de
MF
28032012-11-29 Mike Frysinger <vapier@gentoo.org>
2804
2805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2806
e10c4e4f
RM
28072012-11-29 Roland McGrath <roland@hack.frob.com>
2808
2809 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2810
2af1b328
JL
28112012-11-28 Jeff Law <law@redhat.com>
2812
2813 [BZ #13761]
2814 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2815 dataset_temporary. Track alloca usage into alloca_used.
2816 If dataset is large allocate and release it via malloc/free.
2817
111db5b1
FW
28182012-06-04 Florian Weimer <fweimer@redhat.com>
2819
f06cc227 2820 [BZ #14197]
111db5b1
FW
2821 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2822
dd694abd
DM
28232012-11-28 David S. Miller <davem@davemloft.net>
2824
2825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2826
9984dd01
JM
28272012-11-28 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #14803]
2830 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2831 of pi/2 rounded to nearest to 64 bits.
2832 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2833 nearest to 64 bits.
2834 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2835 bits.
2836
14bc93a9
JL
28372012-11-28 Jeff Law <law@redhat.com>
2838 Martin Osvald <mosvald@redhat.com>
2839
2840 [BZ #14889]
2841 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2842 * sunrpc/svc.c: Include time.h.
2843 (__svc_accept_failed): New function.
2844 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2845 any reason other than EINTR, call __svc_accept_failed.
2846 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2847 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2848
e3c6aa3a
AS
28492012-11-28 Andreas Schwab <schwab@suse.de>
2850
2851 * scripts/abilist.awk: Also handle indirect functions in .opd
2852 section.
2853
1bead169
JM
28542012-11-28 Joseph Myers <joseph@codesourcery.com>
2855
2856 [BZ #13881]
2857 * sysdeps/x86/fpu/powl_helper.c: New file.
2858 * sysdeps/x86/fpu/Makefile: Likewise.
2859 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2860 (p3): New object.
2861 (__ieee754_powl): Use __powl_helper for finite arguments except
2862 integer exponents below 8.
2863 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2864 (p3): New object.
2865 (__ieee754_powl): Use __powl_helper for finite arguments except
2866 integer exponents below 8.
2867 * math/libm-test.inc (pow_test): Add more tests and enable some
2868 previously disabled tests.
2869 * sysdeps/i386/fpu/libm-test-ulps: Update.
2870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2871
0817d63d
SP
28722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2873 Carlos O'Donell <carlos_odonell@mentor.com>
2874
2875 * nss/makedb.c (is_prime): Assert that input is odd and greater
2876 than 4. Note that fact in a comment too.
2877 (next_prime): Add 4 to input.
2878
de2fd463
SP
28792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 [BZ #11741]
2882 * libio/Makefile (tests): Add test case tst-fwrite-error.
2883 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2884 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2885 * libio/tst-fwrite-error.c: New test case.
2886
c515fb51
L
28872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2888
2889 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2890 before casting to void *.
2891 * include/libc-internal.h (__pointer_type): New macro.
2892 (__integer_if_pointer_type_sub): Likewise.
2893 (__integer_if_pointer_type): Likewise.
2894 (cast_to_integer): Likewise.
2895 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2896 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2897 before casting to atomic64_t.
2898 (atomic_exchange_acq): Likewise.
2899 (__arch_exchange_and_add_body): Likewise.
2900 (__arch_add_body): Likewise.
2901 (atomic_add_negative): Likewise.
2902 (atomic_add_zero): Likewise.
2903
4cf77aa9
JM
29042012-11-26 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2907 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2908 (add_fdes): Likewise.
2909 (linear_search_fdes): Likewise.
2910 (binary_search_unencoded_fdes): Likewise.
2911
d260b3b4
AS
29122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2915
67060746
AC
29162012-11-24 Adam Conrad <adconrad@0c3.net>
2917
2918 * configure.in: Autodetect C++ header directories.
2919 * configure: Regenerated.
2920
800938a1
MF
29212012-11-23 Mike Frysinger <vapier@gentoo.org>
2922
2923 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2924
4e6e34e6
AS
29252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2926
2927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928
7c7feb47
JM
29292012-11-22 Joseph Myers <joseph@codesourcery.com>
2930
7184dcdf
JM
2931 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2932 LDBL_MANT_DIG == 106]: Disable some tests.
2933 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2934 Likewise.
2935 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2936 Likewise.
2937
0a42601f
JM
2938 [BZ #14871]
2939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2940 input for small inputs. Return +/- pi/2 for large inputs.
2941 * math/libm-test.inc (atan_test): Add more tests.
2942
79c9b9fe
JM
2943 * sysdeps/generic/unwind-dw2-fde-glibc.c
2944 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2945 __attribute__ ((unused)).
2946
c60d3bf2
JM
2947 [BZ #14645]
2948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2949 x * y if x and y are nonzero and z is zero.
2950
ef1e0867
JM
2951 [BZ #14811]
2952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2953 nonzero exponents with absolute value below 0x1p-117 to +/-
2954 0x1p-117.
2955
1468ded3
JM
2956 [BZ #14869]
2957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2958 up arguments below 2**-450, not just those below 2**-500.
2959 * math/libm-test.inc (hypot_test): Add another test.
2960
8e27e3cc
JM
2961 [BZ #14868]
2962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2963 Return a+b for ratio over 2**120, not 2**60.
2964 * math/libm-test.inc (hypot_test): Add another test.
2965
c9c0279b
JM
2966 * math/libm-test.inc (clog_test): Use
2967 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2968 (clog10_test): Likewise.
2969
7c7feb47
JM
2970 [BZ #6778]
2971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2972
fff1530e
AS
29732012-11-22 Andreas Schwab <schwab@suse.de>
2974
2975 * sysdeps/i386/fpu/libm-test-ulps: Update.
2976
94558d30
PT
29772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2978
2979 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2980 printf output with newline.
2981
7e1be741
L
29822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2983
6bfea974
L
2984 [BZ #14865]
2985 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2986 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2987 -z nodlopen, -z initfirst and -z execstack support.
2988 * configure: Regenerated.
2989
7e1be741
L
2990 * elf/elf.h (DF_1_NODIRECT): New macro.
2991 (DF_1_IGNMULDEF): Likewise.
2992 (DF_1_NOKSYMS): Likewise.
2993 (DF_1_NOHDR): Likewise.
2994 (DF_1_EDITED): Likewise.
2995 (DF_1_NORELOC): Likewise.
2996 (DF_1_SYMINTPOSE): Likewise.
2997 (DF_1_GLOBAUDIT): Likewise.
2998 (DF_1_SINGLETON): Likewise.
2999 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3000 DT_1_SUPPORTED_MASK bits.
3001 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3002
105ce2ce
CD
30032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3004
3005 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3006
123be9de
TS
30072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3008
d072f3f7
TS
3009 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3010 macro.
3011
123be9de
TS
3012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3013 (sendmmsg): Move declarations...
3014 * socket/sys/socket.h: ... here.
3015 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3016 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3017 include it from...
3018 * socket/recvmmsg.c: ... this new file.
3019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3020 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3021 definition of __sendmmsg hidden.
3022 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3023 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3024 Move ENOSYS stub into and include it from...
3025 * socket/sendmmsg.c: ... this new file.
3026 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3027 (sysdep_routines): Move recvmmsg and sendmmsg...
3028 * socket/Makefile (routines): ... here.
3029 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3030 (GLIBC_PRIVATE): Add __sendmmsg.
3031 * include/sys/socket.h (__sendmmsg): Add declarations.
3032 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3033 sendmmsg.
3034
cf9a5d18
JM
30352012-11-20 Joseph Myers <joseph@codesourcery.com>
3036
3037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3038 variable I1 with __attribute__ ((unused)).
3039 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3040
ecd4caf9
JM
30412012-11-19 Joseph Myers <joseph@codesourcery.com>
3042
be14d48f
JM
3043 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3044 DUMMY variables with __attribute__ ((unused)).
3045
ecd4caf9
JM
3046 * bits/byteswap.h: Include <bits/types.h>.
3047 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3048
986cab95
PT
30492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3050
3051 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3052 string_t. Do not manually set errno.
3053 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3054 length with __strnlen. Make sure to both set errno and return it on
3055 failure.
3056
6d33cc9d
DM
30572012-11-19 David S. Miller <davem@davemloft.net>
3058
3059 With help from Joseph Myers.
3060 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3061 very large arguments properly.
3062 * math/libm-test.inc (atan_test): New tests.
3063 (atan2_test): New tests.
3064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3066
ee663277
JM
30672012-11-19 Joseph Myers <joseph@codesourcery.com>
3068
877f2d8e
JM
3069 [BZ #14856]
3070 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3071 Define to 3.
3072
116fc08a
JM
3073 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3074 [POSIX] (EADDRNOTAVAIL): Likewise.
3075 [POSIX] (EAFNOSUPPORT): Likewise.
3076 [POSIX] (EALREADY): Likewise.
3077 [POSIX] (ECONNABORTED): Likewise.
3078 [POSIX] (ECONNREFUSED): Likewise.
3079 [POSIX] (ECONNRESET): Likewise.
3080 [POSIX] (EDESTADDRREQ): Likewise.
3081 [POSIX] (EDQUOT): Likewise.
3082 [POSIX] (EHOSTUNREACH): Likewise.
3083 [POSIX] (EIDRM): Likewise.
3084 [POSIX] (EISCONN): Likewise.
3085 [POSIX] (ELOOP): Likewise.
3086 [POSIX] (EMULTIHOP): Likewise.
3087 [POSIX] (ENETDOWN): Likewise.
3088 [POSIX] (ENETUNREACH): Likewise.
3089 [POSIX] (ENOBUFS): Likewise.
3090 [POSIX] (ENODATA): Likewise.
3091 [POSIX] (ENOLINK): Likewise.
3092 [POSIX] (ENOMSG): Likewise.
3093 [POSIX] (ENOPROTOOPT): Likewise.
3094 [POSIX] (ENOSR): Likewise.
3095 [POSIX] (ENOSTR): Likewise.
3096 [POSIX] (ENOTCONN): Likewise.
3097 [POSIX] (ENOTSOCK): Likewise.
3098 [POSIX] (EOPNOTSUPP): Likewise.
3099 [POSIX] (EOVERFLOW): Likewise.
3100 [POSIX] (EPROTO): Likewise.
3101 [POSIX] (EPROTONOSUPPORT): Likewise.
3102 [POSIX] (EPROTOTYPE): Likewise.
3103 [POSIX] (ESTALE): Likewise.
3104 [POSIX] (ETIME): Likewise.
3105 [POSIX] (ETXTBSY): Likewise.
3106 [POSIX] (EWOULDBLOCK): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3108 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3109 [POSIX] (SEEK_CUR): Likewise.
3110 [POSIX] (SEEK_END): Likewise.
3111 [POSIX || UNIX98] (mode_t): Do not require.
3112 [POSIX] (off_t): Likewise.
3113 [POSIX] (pid_t): Likewise.
3114 [POSIX] (sys/stat.h): Do not allow header.
3115 [POSIX] (unistd.h): Likewise.
3116 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3117 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3118 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3119 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3120 require.
3121 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3122 sigevent): Specify elements.
3123 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3124 entry.
3125 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3126 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3127
a483863f
JM
3128 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3129 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3130 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3131 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3132 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3133 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3134 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3138 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3139 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3140 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3142 Likewise.
3143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3144 Likewise.
3145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3146 Likewise.
3147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3148 Likewise.
3149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3151 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3152 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3153 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3154 Specify lower bound on value.
3155 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3156 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3157 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3158 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3161 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3162 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3163 value.
3164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3165 as optional.
3166 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3182 entry.
3183 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3184 optional.
3185 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3191 Likewise.
3192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3197 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3199 as optional.
3200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3204 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3205 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3206 specify as optional.
3207 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3210 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3211 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3212 [XPG3] (NL_LANGMAX): Likewise.
3213 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3214 [POSIX || XPG3] (NL_NMAX): Likewise.
3215 [POSIX || XPG3] (NL_SETMAX): Likewise.
3216 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3217 [XPG3] (NZERO): Likewise.
3218 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3219 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3220 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3221 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3222 (REG_ERANGE): Expect.
3223 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3224 optional-constant.
3225 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3226 Use (void) in prototype.
3227 [POSIX] (*_t): Allow.
3228 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3229 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3230 (WRDE_BADVAL): Expect.
3231
5ba924e3
JM
3232 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3233 expect.
3234 [XPG3 || XPG4] (O_RSYNC): Likewise.
3235 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3236 Likewise.
3237 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3238 [XPG3 || XPG4] (sigqueue): Likewise.
3239 [XPG3 || XPG4] (sigtimedwait): Likewise.
3240 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3241 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3242 [XPG3 || XPG4] (vsnprintf): Likewise.
3243 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3244 Likewise.
3245 [XPG3 || XPG4] (blksize_t): Likewise.
3246 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3247 Likewise.
3248 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3249 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3250 [XPG3 || XPG4] (struct itimerspec): Likewise.
3251 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3252 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3253 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3254 [XPG3 || XPG4] (clockid_t): Likewise.
3255 [XPG3 || XPG4] (timer_t): Likewise.
3256 [XPG3 || XPG4] (clock_getres): Likewise.
3257 [XPG3 || XPG4] (clock_gettime): Likewise.
3258 [XPG3 || XPG4] (clock_settime): Likewise.
3259 [XPG3 || XPG4] (nanosleep): Likewise.
3260 [XPG3 || XPG4] (timer_create): Likewise.
3261 [XPG3 || XPG4] (timer_delete): Likewise.
3262 [XPG3 || XPG4] (timer_gettime): Likewise.
3263 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3264 [XPG3 || XPG4] (timer_settime): Likewise.
3265 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3266 [XPG3 || XPG4] (getlogin_r): Likewise.
3267 [XPG3 || XPG4] (pread): Likewise.
3268 [XPG3 || XPG4] (pthread_atfork): Likewise.
3269 [XPG3 || XPG4] (pwrite): Likewise.
3270
ee663277
JM
3271 [BZ #14835]
3272 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3273 <bits/siginfo.h>.
3274
942caa16
PT
32752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3276
e19af380
PT
3277 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3278 finalizing MALLSTREAM.
3279
942caa16
PT
3280 * sysdeps/mach/hurd/syncfs.c: New file.
3281
cfde9b46
SP
32822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
3284 [BZ #14719]
3285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3286 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3288 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3289 (_nss_dns_gethostbyname4_r): Likewise.
3290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3291 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3292
f6da27e5
PH
32932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3294
3295 [BZ #13763]
3296 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3297
6665d4a2
SM
32982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3299
1f51ee92
SM
3300 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3301 * elf/cache.c (print_entry): Print ",AArch64" for
3302 FLAG_AARCH64_LIB64
3303
6665d4a2
SM
3304 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3305 * elf/cache.c (print_entry): Print ",hard-float" for
3306 FLAG_ARM_LIBHF.
3307
05b227bd
DM
33082012-11-18 David S. Miller <davem@davemloft.net>
3309
3310 With help from Joseph Myers.
3311 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3312 cutoff to 2**-13.
3313 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3314 cutoff to 2**-25.
3315 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3316 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3317 small.
3318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3319 * math/libm-test.inc (y0_test): New tests.
3320 (y1_test): New tests.
3321 * sysdeps/i386/fpu/libm-test-ulps: Update.
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3324
786b0b67
AS
33252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3326
3327 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3328 64-bit targets.
3329 * configure: Regenerated.
3330
8e18b86d
DM
33312012-11-17 David S. Miller <davem@davemloft.net>
3332
3333 [BZ #14811]
3334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3335 nonzero exponents with absolute value below 0x1p-128 to +/-
3336 0x1p-128.
3337
531f1ae0
JM
33382012-11-17 Joseph Myers <joseph@codesourcery.com>
3339
12df29e2
JM
3340 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3341
150dc1a0
JM
3342 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3343
531f1ae0
JM
3344 * posix/getconf-speclist.c: New file.
3345 * posix/posix-envs.def: Likewise.
3346 * posix/confstr.c (START_ENV_GROUP): New macro.
3347 (END_ENV_GROUP): Likewise.
3348 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3349 (KNOWN_PRESENT_ENV_STRING): Likewise.
3350 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3351 (UNKNOWN_ENVIRONMENT): Likewise.
3352 (confstr): Include posix-envs.def instead of handling
3353 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3354 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3355 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3356 (END_ENV_GROUP): Likewise.
3357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3358 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3359 (UNKNOWN_ENVIRONMENT): Likewise.
3360 (__sysconf): Include posix-envs.def instead of handling associated
3361 cases directly here.
3362 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3363 preprocessing getconf-speclist.c rather than running getconf or
3364 generating empty file.
3365
a93f9cbc
PT
33662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3367
3368 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3369
d64d9f87
AL
33702012-11-16 Andrej Lajovic <natrij@gmail.com>
3371
3372 [BZ #14672]
3373 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3374
447885eb
DM
33752012-11-16 David S. Miller <davem@davemloft.net>
3376
3377 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3378 smaller than LDBL_EPSILON/2.0L, just return xm1.
3379
bcbf9830
L
33802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 * elf/tst-array1.c (init): Set constructor priority to 1000.
3383 (fini): Set destructor priority to 1000.
3384 * elf/tst-array2dep.c: Likewise.
3385
2b766585
SP
33862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3387
3388 [BZ #11741]
3389 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3390 (_IO_new_file_xsputn): Also return EOF if none of the input
3391 data was written when overflow failed.
3392 * libio/iopadn.c (_IO_padn): Likewise.
3393 * libio/iowpadn.c (_IO_wpadn): Likewise.
3394 * stdio-common/tst-put-error.c: Add copyright notice.
3395 (do_test): Add case for printing padded string.
3396 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3397 _IO_padn returned error.
3398 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3399 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3400 return EOF.
3401
b1848fde
SP
34022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3403
3404 * libio/libioP.h: Add comment note that the references to C++
3405 bits are now obsolete.
3406
2fd89785
MS
34072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3408
3409 * math/libm-test.inc (check_complex): Use asprintf.
3410
e3ea5409
JM
34112012-11-14 Joseph Myers <joseph@codesourcery.com>
3412
3413 * debug/pcprofiledump.c (print_version): Update copyright year.
3414 * malloc/memusagestat.c (print_version): Likewise.
3415
2e64d265
L
34162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3417
3418 [BZ #14831]
3419 * elf/Makefile (tests): Add tst-audit8.
3420 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3421 ($(objpfx)tst-audit8.out): New target.
3422 (tst-audit8-ENV): New variable.
3423 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3424 audit if l_reloc_result is NULL.
3425 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3426 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3427 * elf/tst-audit8.c: New file.
3428
c485e4d2
MS
34292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3430
3431 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3432 * misc/Makefile (CFLAGS-select.c): Define.
3433 * posix/Makefile (CFLAGS-pause.c): Define.
3434
3a0d900a
DM
34352012-11-13 David S. Miller <davem@davemloft.net>
3436
3437 * crypt/Makefile: Move test targets after toplevel Rules
3438 inclusion. Grab any necessary sysdep routines when linking.
3439 * crypt/md5.c (md5_process_block): Remove define, we will always
3440 name it __md5_process_block.
3441 (md5_finish_ctx): Update md5_process_block call.
3442 (md5_stream): Likewise.
3443 (md5_process_bytes): Likewise.
3444 (md5_process_block): Rename to __md5_process_block and move to ...
3445 * crypt/md5-block.c: ... here.
3446 * crypt/sha256.c (sha256_process_block): Move to ...
3447 * crypt/sha256-block.c: ... here.
3448 * crypt/sha512.c (sha512_process_block): Move to ...
3449 * crypt/sha512-block.c: ... here.
3450 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3451 path.
3452 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3453 * sysdeps/sparc/sparc64/multiarch/Makefile
3454 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3455 crypt subdir.
3456 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3458 multiarch changes.
3459 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3460 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3461 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3462 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3463 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3464 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3465 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3466 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3468 file.
3469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3471 file.
3472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3473
8ca89318
JM
34742012-11-13 Joseph Myers <joseph@codesourcery.com>
3475
e27d476a
JM
3476 * timezone/tzselect.ksh: Update from tzcode git revision
3477 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3478 * timezone/zdump.c: Likewise.
3479 * timezone/zic.c: Likewise.
3480 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3481 in TZVERSION setting, not $(PKGVERSION).
3482 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3483 REPORT_BUGS_TO settings.
3484
8ca89318
JM
3485 [BZ #14838]
3486 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3487 macro.
3488
47594329
MS
34892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3490
3491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3492 detection to immediately after _FP_ROUND().
3493 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3494 bits are 0.
3495
640ac3f1
DM
34962012-11-11 David S. Miller <davem@davemloft.net>
3497
3498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3499 inttypes.h
3500 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3501 __close rather than their public counterparts.
3502
3d2577bb
JM
35032012-11-10 Joseph Myers <joseph@codesourcery.com>
3504
3505 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3506 file.
3507 [UNIX98] (sem_timedwait): Do not expect.
3508 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3509 [XPG4 || UNIX98] (sockatmark): Do not expect.
3510 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3511 (clock_getcpuclockid): Do not expect.
3512 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3513 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3514 Do not expect.
3515 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3516 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3517 [UNIX98] (vwscanf): Likewise.
3518 [UNIX98] (vswscanf): Likewise.
3519
fb1ae1ee
JM
35202012-11-09 Joseph Myers <joseph@codesourcery.com>
3521
9ec6f8bd
JM
3522 * timezone/version.h: Remove file.
3523 * timezone/README: Do not refer to version.h.
3524 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3525 $(objpfx)version.h.
3526 ($(objpfx)zdump.o): Likewise.
c3f81911 3527 ($(objpfx)version.h): New target.
9ec6f8bd 3528
0aa8f8a1
JM
3529 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3530 2012i.
3531 * timezone/README: Don't mention modification to tzselect.ksh.
3532 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3533 work on unmodified tzselect.ksh. Substitute version numbers in
3534 tzselect.ksh.
3535
4e87147f
JM
3536 * Makefile (format-me): Remove.
3537 (INSTALL): Adjust indentation. Use commands directly instead of
3538 using $(format-me).
3539
8b748aed
JM
3540 * aclocal.m4 (ACX_PKGVERSION): New macro.
3541 (ACX_BUGURL): Likewise.
3542 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3543 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3544 (REPORT_BUGS_TO): Likewise.
3545 * configure: Regenerated.
3546 * config.h.in (PKGVERSION): New macro.
3547 (REPORT_BUGS_TO): Likewise.
3548 * config.make.in (PKGVERSION): New variable.
3549 (PKGVERSION_TEXI): Likewise.
3550 (REPORT_BUGS_TO): Likewise.
3551 (REPORT_BUGS_TEXI): Likewise.
3552 * Makefile (format-me): Use -I$(common-objpfx)manual.
3553 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3554 ($(common-objpfx)manual/%): New target.
3555 (manual/%): Remove target.
3556 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3557 (print_version): Use PKGVERSION.
3558 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3559 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3560 and REPORT_BUGS_TO.
3561 ($(objpfx)xtrace): Likewise.
3562 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3563 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3564 (print_version): Use PKGVERSION.
3565 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3566 (do_version): Use PKGVERSION.
3567 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3568 REPORT_BUGS_TO.
3569 (common-ldd-rewrite): Likewise.
3570 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3571 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3572 (print_version): Use PKGVERSION.
3573 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3574 * elf/pldd.c (argp_program_bug_address): Remove variable.
3575 (more_help): New function.
3576 (argp): Use more_help.
3577 (print_version): Use PKGVERSION.
3578 * elf/sln.c (main): Use PKGVERSION.
3579 (usage): Use REPORT_BUGS_TO.
3580 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3581 (top level): Use PKGVERSION.
3582 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3583 (print_version): Use PKGVERSION.
3584 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3585 (print_version): Use PKGVERSION.
3586 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3587 (print_version): Use PKGVERSION.
3588 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3589 (print_version): Use PKGVERSION.
3590 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3591 (print_version): Use PKGVERSION.
3592 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3593 (print_version): Use PKGVERSION.
3594 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3595 and BUGURL.
3596 ($(objpfx)memusage): Likewise.
3597 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3598 (do_version): Use PKGVERSION.
3599 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3600 (print_version): Use PKGVERSION.
3601 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3602 ($PKGVERSION): New variable.
3603 ($REPORT_BUGS_TO): Likewise.
3604 (usage): Use $REPORT_BUGS_TO.
3605 (top level): Use $PKGVERSION.
3606 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3607 ($(objpfx)pkgvers.texi): New rule.
3608 ($(objpfx)stamp-pkgvers): Likewise.
3609 * manual/install.texi: Include pkgvers.texi.
3610 (--with-pkgversion): Document new configure option.
3611 (--with-bugurl): Likewise.
3612 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3613 than necessarily for this particular distribution. Use
3614 REPORT_BUGS_TO for where to report bugs.
3615 * INSTALL: Regenerated.
3616 * manual/libc.texinfo: Include pkgvers.texi.
3617 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3618 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3619 (print_version): Use PKGVERSION.
3620 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3621 (print_version): Use PKGVERSION.
3622 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3623 (print_version): Use PKGVERSION.
3624 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3625 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3626 macro.
3627 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3628 (print_version): Use PKGVERSION.
3629 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3630 (print_version): Use PKGVERSION.
3631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3632 and PKGVERSION.
3633
92e4b6a9
JM
3634 * timezone/checktab.awk: Update from tzcode 2012i.
3635 * timezone/ialloc.c: Likewise.
3636 * timezone/private.h: Likewise.
3637 * timezone/scheck.c: Likewise.
3638 * timezone/tzfile.h: Likewise.
3639 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3640 (TZVERSION): Hardcode tzcode version number.
3641 * timezone/zdump.c: Update from tzcode 2012i.
3642 * timezone/zic.c: Likewise.
3643 * timezone/version.h: New file.
3644 * timezone/README: Describe version.h. Update upstream location.
3645
9bde902c
JM
3646 [BZ #14824]
3647 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3648 (mktemp): Enable declaration.
3649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3653 Likewise.
3654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3655 Likewise.
3656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3657 Likewise.
3658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3659 Likewise.
3660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3661 Likewise.
3662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3663 Likewise.
3664
fb1ae1ee
JM
3665 [BZ #14821]
3666 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3667 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3668 for copies of such integer values.
3669 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3670 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3671
2c1adbcb
AJ
36722012-11-09 Andreas Jaeger <aj@suse.de>
3673
3674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3675 definitions and declarations that are provided by
3676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3677
d0f8457e
AK
36782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3679
3a235abb 3680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3681 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3682 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3683 definition.
3684
57241e26
MS
36852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3686
3687 * elf/elf.h: Update comment before AArch64 relocations.
3688
60e8270d
DM
36892012-11-07 David S. Miller <davem@davemloft.net>
3690
3691 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3693 (__start_context): Declare.
3694 (__makecontext_ret): Delete.
3695 (__makecontext): Hook up __start_context instead of
3696 __makecontext_ret.
3697 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3698 (sysdep_routines): Add __start_context when in stdlib.
3699
0fbb0fbc
JM
37002012-11-07 Joseph Myers <joseph@codesourcery.com>
3701
3702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3703 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3704 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3705 hardcoded "nm".
3706 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3707 (READELF): New variable. Use it instead of hardcoded "readelf".
3708
eb48db7e
L
37092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3712 * sysdeps/x86/Makefile: Here.
3713 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3714 * sysdeps/x86/tst-xmmymm.sh: This.
3715
05bcf62a
JM
37162012-11-07 Joseph Myers <joseph@codesourcery.com>
3717
c4b6cf53
JM
3718 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3719 expectations.
3720 [UNIX98] (pthread_barrier_t): Do not expect.
3721 [UNIX98] (pthread_barrierattr_t): Likewise.
3722 [UNIX98] (pthread_spinlock_t): Likewise.
3723 [UNIX98] (pthread_barrier_destroy): Likewise.
3724 [UNIX98] (pthread_barrier_init): Likewise.
3725 [UNIX98] (pthread_barrier_wait): Likewise.
3726 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3727 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3728 [UNIX98] (pthread_barrierattr_init): Likewise.
3729 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3730 [UNIX98] (pthread_getcpuclockid): Likewise.
3731 [UNIX98] (pthread_mutex_timedlock): Likewise.
3732 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3733 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3734 [UNIX98] (pthread_sigmask): Likewise.
3735 [UNIX98] (pthread_spin_destroy): Likewise.
3736 [UNIX98] (pthread_spin_init): Likewise.
3737 [UNIX98] (pthread_spin_lock): Likewise.
3738 [UNIX98] (pthread_spin_trylock): Likewise.
3739 [UNIX98] (pthread_spin_unlock): Likewise.
3740 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3741 Do not expect.
3742 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3744 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3745 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3746 [XPG3 || XPG4] (pthread_key_t): Likewise.
3747 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3748 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3749 [XPG3 || XPG4] (pthread_once_t): Likewise.
3750 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3751 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3753 [XPG3 || XPG4] (pthread_t): Likewise.
3754
cbe6e120
JM
3755 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3756 not expect.
3757 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3758
1b126443
JM
3759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3760 Change function return type to int.
3761
b961a573
JM
3762 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3763 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3764 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3765 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3766 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3767 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3768 [!POSIX] (posix_madvise): Likewise.
3769 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3770 && !UNIX98].
3771 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3772 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3773 (mode_t): Likewise.
3774 (posix_mem_offset): Likewise.
3775 (posix_typed_mem_get_info): Likewise.
3776 (posix_typed_mem_open): Likewise.
3777
9e188909
JM
3778 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3779 Change condition to [XOPEN2K8].
3780
05bcf62a
JM
3781 * conform/conformtest.pl: Preprocess allow-header data with -x c
3782 instead of from stdin.
3783 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3784 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3785 [C99-based standards] (cerfc): Likewise.
3786 [C99-based standards] (cexp2): Likewise.
3787 [C99-based standards] (cexpm1): Likewise.
3788 [C99-based standards] (clog10): Likewise.
3789 [C99-based standards] (clog1p): Likewise.
3790 [C99-based standards] (clog2): Likewise.
3791 [C99-based standards] (clgamma): Likewise.
3792 [C99-based standards] (ctgamma): Likewise.
3793 [C99-based standards] (cerff): Likewise.
3794 [C99-based standards] (cerfcf): Likewise.
3795 [C99-based standards] (cexp2f): Likewise.
3796 [C99-based standards] (cexpm1f): Likewise.
3797 [C99-based standards] (clog10f): Likewise.
3798 [C99-based standards] (clog1pf): Likewise.
3799 [C99-based standards] (clog2f): Likewise.
3800 [C99-based standards] (clgammaf): Likewise.
3801 [C99-based standards] (ctgammaf): Likewise.
3802 [C99-based standards] (cerfl): Likewise.
3803 [C99-based standards] (cerfcl): Likewise.
3804 [C99-based standards] (cexp2l): Likewise.
3805 [C99-based standards] (cexpm1l): Likewise.
3806 [C99-based standards] (clog10l): Likewise.
3807 [C99-based standards] (clog1pl): Likewise.
3808 [C99-based standards] (clog2l): Likewise.
3809 [C99-based standards] (clgammal): Likewise.
3810 [C99-based standards] (ctgammal): Likewise.
3811 * conform/data/inttypes.h-data [C99-based standards]: Include
3812 stdint.h-data. Remove all expectations for stdint.h contents.
3813 [C99-based standards] (PRI*): Do not allow.
3814 [C99-based standards] (SCN*): Likewise.
3815 [C99-based standards] (*_t): Likewise.
3816 [C99-based-standards] (PRId8): Expect macro.
3817 [C99-based-standards] (PRIi8): Likewise.
3818 [C99-based-standards] (PRIo8): Likewise.
3819 [C99-based-standards] (PRIu8): Likewise.
3820 [C99-based-standards] (PRIx8): Likewise.
3821 [C99-based-standards] (PRIX8): Likewise.
3822 [C99-based-standards] (SCNd8): Likewise.
3823 [C99-based-standards] (SCNi8): Likewise.
3824 [C99-based-standards] (SCNo8): Likewise.
3825 [C99-based-standards] (SCNu8): Likewise.
3826 [C99-based-standards] (SCNx8): Likewise.
3827 [C99-based-standards] (PRIdLEAST8): Likewise.
3828 [C99-based-standards] (PRIiLEAST8): Likewise.
3829 [C99-based-standards] (PRIoLEAST8): Likewise.
3830 [C99-based-standards] (PRIuLEAST8): Likewise.
3831 [C99-based-standards] (PRIxLEAST8): Likewise.
3832 [C99-based-standards] (PRIXLEAST8): Likewise.
3833 [C99-based-standards] (SCNdLEAST8): Likewise.
3834 [C99-based-standards] (SCNiLEAST8): Likewise.
3835 [C99-based-standards] (SCNoLEAST8): Likewise.
3836 [C99-based-standards] (SCNuLEAST8): Likewise.
3837 [C99-based-standards] (SCNxLEAST8): Likewise.
3838 [C99-based-standards] (PRIdFAST8): Likewise.
3839 [C99-based-standards] (PRIiFAST8): Likewise.
3840 [C99-based-standards] (PRIoFAST8): Likewise.
3841 [C99-based-standards] (PRIuFAST8): Likewise.
3842 [C99-based-standards] (PRIxFAST8): Likewise.
3843 [C99-based-standards] (PRIXFAST8): Likewise.
3844 [C99-based-standards] (SCNdFAST8): Likewise.
3845 [C99-based-standards] (SCNiFAST8): Likewise.
3846 [C99-based-standards] (SCNoFAST8): Likewise.
3847 [C99-based-standards] (SCNuFAST8): Likewise.
3848 [C99-based-standards] (SCNxFAST8): Likewise.
3849 [C99-based-standards] (PRId16): Likewise.
3850 [C99-based-standards] (PRIi16): Likewise.
3851 [C99-based-standards] (PRIo16): Likewise.
3852 [C99-based-standards] (PRIu16): Likewise.
3853 [C99-based-standards] (PRIx16): Likewise.
3854 [C99-based-standards] (PRIX16): Likewise.
3855 [C99-based-standards] (SCNd16): Likewise.
3856 [C99-based-standards] (SCNi16): Likewise.
3857 [C99-based-standards] (SCNo16): Likewise.
3858 [C99-based-standards] (SCNu16): Likewise.
3859 [C99-based-standards] (SCNx16): Likewise.
3860 [C99-based-standards] (PRIdLEAST16): Likewise.
3861 [C99-based-standards] (PRIiLEAST16): Likewise.
3862 [C99-based-standards] (PRIoLEAST16): Likewise.
3863 [C99-based-standards] (PRIuLEAST16): Likewise.
3864 [C99-based-standards] (PRIxLEAST16): Likewise.
3865 [C99-based-standards] (PRIXLEAST16): Likewise.
3866 [C99-based-standards] (SCNdLEAST16): Likewise.
3867 [C99-based-standards] (SCNiLEAST16): Likewise.
3868 [C99-based-standards] (SCNoLEAST16): Likewise.
3869 [C99-based-standards] (SCNuLEAST16): Likewise.
3870 [C99-based-standards] (SCNxLEAST16): Likewise.
3871 [C99-based-standards] (PRIdFAST16): Likewise.
3872 [C99-based-standards] (PRIiFAST16): Likewise.
3873 [C99-based-standards] (PRIoFAST16): Likewise.
3874 [C99-based-standards] (PRIuFAST16): Likewise.
3875 [C99-based-standards] (PRIxFAST16): Likewise.
3876 [C99-based-standards] (PRIXFAST16): Likewise.
3877 [C99-based-standards] (SCNdFAST16): Likewise.
3878 [C99-based-standards] (SCNiFAST16): Likewise.
3879 [C99-based-standards] (SCNoFAST16): Likewise.
3880 [C99-based-standards] (SCNuFAST16): Likewise.
3881 [C99-based-standards] (SCNxFAST16): Likewise.
3882 [C99-based-standards] (PRId32): Likewise.
3883 [C99-based-standards] (PRIi32): Likewise.
3884 [C99-based-standards] (PRIo32): Likewise.
3885 [C99-based-standards] (PRIu32): Likewise.
3886 [C99-based-standards] (PRIx32): Likewise.
3887 [C99-based-standards] (PRIX32): Likewise.
3888 [C99-based-standards] (SCNd32): Likewise.
3889 [C99-based-standards] (SCNi32): Likewise.
3890 [C99-based-standards] (SCNo32): Likewise.
3891 [C99-based-standards] (SCNu32): Likewise.
3892 [C99-based-standards] (SCNx32): Likewise.
3893 [C99-based-standards] (PRIdLEAST32): Likewise.
3894 [C99-based-standards] (PRIiLEAST32): Likewise.
3895 [C99-based-standards] (PRIoLEAST32): Likewise.
3896 [C99-based-standards] (PRIuLEAST32): Likewise.
3897 [C99-based-standards] (PRIxLEAST32): Likewise.
3898 [C99-based-standards] (PRIXLEAST32): Likewise.
3899 [C99-based-standards] (SCNdLEAST32): Likewise.
3900 [C99-based-standards] (SCNiLEAST32): Likewise.
3901 [C99-based-standards] (SCNoLEAST32): Likewise.
3902 [C99-based-standards] (SCNuLEAST32): Likewise.
3903 [C99-based-standards] (SCNxLEAST32): Likewise.
3904 [C99-based-standards] (PRIdFAST32): Likewise.
3905 [C99-based-standards] (PRIiFAST32): Likewise.
3906 [C99-based-standards] (PRIoFAST32): Likewise.
3907 [C99-based-standards] (PRIuFAST32): Likewise.
3908 [C99-based-standards] (PRIxFAST32): Likewise.
3909 [C99-based-standards] (PRIXFAST32): Likewise.
3910 [C99-based-standards] (SCNdFAST32): Likewise.
3911 [C99-based-standards] (SCNiFAST32): Likewise.
3912 [C99-based-standards] (SCNoFAST32): Likewise.
3913 [C99-based-standards] (SCNuFAST32): Likewise.
3914 [C99-based-standards] (SCNxFAST32): Likewise.
3915 [C99-based-standards] (PRId64): Likewise.
3916 [C99-based-standards] (PRIi64): Likewise.
3917 [C99-based-standards] (PRIo64): Likewise.
3918 [C99-based-standards] (PRIu64): Likewise.
3919 [C99-based-standards] (PRIx64): Likewise.
3920 [C99-based-standards] (PRIX64): Likewise.
3921 [C99-based-standards] (SCNd64): Likewise.
3922 [C99-based-standards] (SCNi64): Likewise.
3923 [C99-based-standards] (SCNo64): Likewise.
3924 [C99-based-standards] (SCNu64): Likewise.
3925 [C99-based-standards] (SCNx64): Likewise.
3926 [C99-based-standards] (PRIdLEAST64): Likewise.
3927 [C99-based-standards] (PRIiLEAST64): Likewise.
3928 [C99-based-standards] (PRIoLEAST64): Likewise.
3929 [C99-based-standards] (PRIuLEAST64): Likewise.
3930 [C99-based-standards] (PRIxLEAST64): Likewise.
3931 [C99-based-standards] (PRIXLEAST64): Likewise.
3932 [C99-based-standards] (SCNdLEAST64): Likewise.
3933 [C99-based-standards] (SCNiLEAST64): Likewise.
3934 [C99-based-standards] (SCNoLEAST64): Likewise.
3935 [C99-based-standards] (SCNuLEAST64): Likewise.
3936 [C99-based-standards] (SCNxLEAST64): Likewise.
3937 [C99-based-standards] (PRIdFAST64): Likewise.
3938 [C99-based-standards] (PRIiFAST64): Likewise.
3939 [C99-based-standards] (PRIoFAST64): Likewise.
3940 [C99-based-standards] (PRIuFAST64): Likewise.
3941 [C99-based-standards] (PRIxFAST64): Likewise.
3942 [C99-based-standards] (PRIXFAST64): Likewise.
3943 [C99-based-standards] (SCNdFAST64): Likewise.
3944 [C99-based-standards] (SCNiFAST64): Likewise.
3945 [C99-based-standards] (SCNoFAST64): Likewise.
3946 [C99-based-standards] (SCNuFAST64): Likewise.
3947 [C99-based-standards] (SCNxFAST64): Likewise.
3948 [C99-based-standards] (PRIdMAX): Likewise.
3949 [C99-based-standards] (PRIiMAX): Likewise.
3950 [C99-based-standards] (PRIoMAX): Likewise.
3951 [C99-based-standards] (PRIuMAX): Likewise.
3952 [C99-based-standards] (PRIxMAX): Likewise.
3953 [C99-based-standards] (PRIXMAX): Likewise.
3954 [C99-based-standards] (SCNdMAX): Likewise.
3955 [C99-based-standards] (SCNiMAX): Likewise.
3956 [C99-based-standards] (SCNoMAX): Likewise.
3957 [C99-based-standards] (SCNuMAX): Likewise.
3958 [C99-based-standards] (SCNxMAX): Likewise.
3959 [C99-based-standards] (PRIdPTR): Likewise.
3960 [C99-based-standards] (PRIiPTR): Likewise.
3961 [C99-based-standards] (PRIoPTR): Likewise.
3962 [C99-based-standards] (PRIuPTR): Likewise.
3963 [C99-based-standards] (PRIxPTR): Likewise.
3964 [C99-based-standards] (PRIXPTR): Likewise.
3965 [C99-based-standards] (SCNdPTR): Likewise.
3966 [C99-based-standards] (SCNiPTR): Likewise.
3967 [C99-based-standards] (SCNoPTR): Likewise.
3968 [C99-based-standards] (SCNuPTR): Likewise.
3969 [C99-based-standards] (SCNxPTR): Likewise.
3970 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3971 allow.
3972 * conform/data/stdint.h-data: Update comments to clarify
3973 requirements.
3974 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3975 type.
3976 [C99-based standards] (INT8_MAX): Likewise.
3977 [C99-based standards] (INT16_MIN): Likewise.
3978 [C99-based standards] (INT16_MAX): Likewise.
3979 [C99-based standards] (INT32_MIN): Likewise.
3980 [C99-based standards] (INT32_MAX): Likewise.
3981 [C99-based standards] (INT64_MIN): Likewise.
3982 [C99-based standards] (INT64_MAX): Likewise.
3983 [C99-based standards] (UINT8_MAX): Likewise.
3984 [C99-based standards] (UINT16_MAX): Likewise.
3985 [C99-based standards] (UINT32_MAX): Likewise.
3986 [C99-based standards] (UINT64_MAX): Likewise.
3987 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3988 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3989 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3990 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3991 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3992 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3993 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3994 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3995 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3996 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3997 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3998 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3999 [C99-based standards] (INT_FAST8_MIN): Likewise.
4000 [C99-based standards] (INT_FAST8_MAX): Likewise.
4001 [C99-based standards] (INT_FAST16_MIN): Likewise.
4002 [C99-based standards] (INT_FAST16_MAX): Likewise.
4003 [C99-based standards] (INT_FAST32_MIN): Likewise.
4004 [C99-based standards] (INT_FAST32_MAX): Likewise.
4005 [C99-based standards] (INT_FAST64_MIN): Likewise.
4006 [C99-based standards] (INT_FAST64_MAX): Likewise.
4007 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4008 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4009 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4010 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4011 [C99-based standards] (INTPTR_MIN): Likewise.
4012 [C99-based standards] (INTPTR_MAX): Likewise.
4013 [C99-based standards] (UINTPTR_MAX): Likewise.
4014 [C99-based standards] (INTMAX_MIN): Likewise.
4015 [C99-based standards] (INTMAX_MAX): Likewise.
4016 [C99-based standards] (UINTMAX_MAX): Likewise.
4017 [C99-based standards] (PTRDIFF_MIN): Likewise.
4018 [C99-based standards] (PTRDIFF_MAX): Likewise.
4019 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4020 [C99-based standards] (SIZE_MAX): Likewise.
4021 [C99-based standards] (WCHAR_MAX): Likewise.
4022 [C99-based standards] (WINT_MAX): Likewise.
4023 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4024 constraint on value.
4025 [C99-based standards] (WCHAR_MIN): Likewise.
4026 [C99-based standards] (WINT_MIN): Likewise.
4027 [C99-based standards] (*_t): Allow.
4028 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4029 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4030 Include math.h-data and complex.h-data. Remove all expectations
4031 of math.h and complex.h contents.
4032 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4033 at end of line.
4034 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4035 (struct tm): Expect tag.
4036 [C99-based-standards] (wcstof): Expect function.
4037 [C99-based-standards] (wcstold): Likewise.
4038 [C99-based-standards] (wcstoll): Likewise.
4039 [C99-based-standards] (wcstoull): Likewise.
4040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4041 macro-int-constant. Specify type.
4042 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4043 constraint on value.
4044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4045 Specify type.
4046 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4047 Specify value.
4048 [ISO C standards]: Do not allow headers.
4049 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4050 wcs[abcdefghijklmnopqrstuvwxyz]*.
4051 [ISO C standards] (*_t): Do not allow.
4052 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4053 Expect function.
4054 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4056 Specify type.
4057 [ISO C standards]: Do not allow headers.
4058 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4059 is[abcdefghijklmnopqrstuvwxyz]*.
4060 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4061 to[abcdefghijklmnopqrstuvwxyz]*.
4062 [ISO C standards] (*_t): Do not allow.
4063 * conform/data/stdalign.h-data: New file.
4064 * conform/data/stdbool.h-data: Likewise.
4065 * conform/data/stdnoreturn.h-data: Likewise.
4066
7514feb8
RM
40672012-11-07 Roland McGrath <roland@hack.frob.com>
4068
4069 [BZ #14815]
4070 * manual/filesys.texi (Directory Entries): Typo fix.
4071 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4072
19b2ecfc
MS
40732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4074
4075 * elf/elf.h (EM_AARCH64): New macro.
4076 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4077 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4078 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4079 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4080 (R_AARCH64_TLSDESC): Likewise.
4081 (NT_ARM_TLS): Likewise.
4082 (NT_ARM_HW_BREAK): Likewise.
4083 (NT_ARM_HW_WATCH): Likewise.
4084
60e235ee
JM
40852012-11-07 Joseph Myers <joseph@codesourcery.com>
4086
4087 [BZ #14811]
4088 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4089 (__ieee754_powl): Saturate nonzero exponents with absolute value
4090 below 0x1p-79 to +/- 0x1p-79.
4091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4092 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4093 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4094 nonzero exponents with absolute value below 0x1p-32 to +/-
4095 0x1p-32.
4096 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4097 (__ieee754_powl): Saturate nonzero exponents with absolute value
4098 below 0x1p-79 to +/- 0x1p-79.
4099 * math/libm-test.inc (pow_test): Add more tests.
4100
0ab234b7
AK
41012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4102
4103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4104 _dl_s390_cap_flags with kernel. Increase string length.
4105 (_dl_s390_platforms): Add z196 and zEC12.
4106
45832f74
JM
41072012-11-07 Joseph Myers <joseph@codesourcery.com>
4108
4109 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4110 Change XOPEN21K to XOPEN2K.
4111
19218757
MK
41122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4113
4114 * string/memmove.c: Use memcpy when possible.
4115
c5f45721
AJ
41162012-11-06 Andreas Jaeger <aj@suse.de>
4117
4118 * po/eo.po: Update from translation team.
4119
82477c28
JM
41202012-11-06 Joseph Myers <joseph@codesourcery.com>
4121
4122 [BZ #14793]
4123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4124 exponent and small x and y exponents, scale x or y up. Increase
4125 by 2 the exponent used in scaling up.
4126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4128 * math/libm-test.inc (fma_test): Add more tests.
4129 (fma_test_towardzero): Likewise.
4130 (fma_test_downward): Likewise.
4131 (fma_test_upward): Likewise.
4132
99252c8c
JM
41332012-11-05 Joseph Myers <joseph@codesourcery.com>
4134
acfa885f
JM
4135 [BZ #14805]
4136 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4137 fenv_t *.
4138
99252c8c
JM
4139 [BZ #14801]
4140 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4141 namespace for names of struct fields.
4142 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4143 fenv_t fields.
4144 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4145 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4146
d6d98dea
ST
41472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4148
4149 [BZ #3665]
4150 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4151
e10bb107
TS
41522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4153
4154 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4155 PTR_DEMANGLE.
4156
4157 [BZ #5246]
4158 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4159 PTR_DEMANGLE.
4160
a0c2940d
JM
41612012-11-04 Joseph Myers <joseph@codesourcery.com>
4162
4163 [BZ #14797]
4164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4165 definitely overflow as x * y not x * y + z.
4166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4168 * math/libm-test.inc (fma_test): Add more tests.
4169 (fma_test_towardzero): Likewise.
4170 (fma_test_downward): Likewise.
4171 (fma_test_upward): Likewise.
4172
b830319d
TS
41732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4174
4175 [BZ #157]
4176
4177 * include/stub-tag.h: Remove file.
4178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4179 '#include' of it.
4180 * manual/maint.texi (Porting): Don't reference it.
4181 * Makerules ($(objpfx)stubs): Likewise.
4182 * dirent/closedir.c: Don't include <stub-tag.h>.
4183 * dirent/dirfd.c: Likewise.
4184 * dirent/fdopendir.c: Likewise.
4185 * dirent/getdents.c: Likewise.
4186 * dirent/getdents64.c: Likewise.
4187 * dirent/opendir.c: Likewise.
4188 * dirent/readdir.c: Likewise.
4189 * dirent/readdir64.c: Likewise.
4190 * dirent/readdir64_r.c: Likewise.
4191 * dirent/readdir_r.c: Likewise.
4192 * dirent/rewinddir.c: Likewise.
4193 * dirent/seekdir.c: Likewise.
4194 * dirent/telldir.c: Likewise.
4195 * gmon/profil.c: Likewise.
4196 * grp/setgroups.c: Likewise.
4197 * inet/if_index.c: Likewise.
4198 * io/access.c: Likewise.
4199 * io/chdir.c: Likewise.
4200 * io/chmod.c: Likewise.
4201 * io/chown.c: Likewise.
4202 * io/close.c: Likewise.
4203 * io/dup.c: Likewise.
4204 * io/dup2.c: Likewise.
4205 * io/dup3.c: Likewise.
4206 * io/euidaccess.c: Likewise.
4207 * io/faccessat.c: Likewise.
4208 * io/fchdir.c: Likewise.
4209 * io/fchmod.c: Likewise.
4210 * io/fchmodat.c: Likewise.
4211 * io/fchown.c: Likewise.
4212 * io/fchownat.c: Likewise.
4213 * io/fcntl.c: Likewise.
4214 * io/flock.c: Likewise.
4215 * io/fstatfs.c: Likewise.
4216 * io/fstatfs64.c: Likewise.
4217 * io/fstatvfs.c: Likewise.
4218 * io/fstatvfs64.c: Likewise.
4219 * io/futimens.c: Likewise.
4220 * io/fxstat.c: Likewise.
4221 * io/fxstat64.c: Likewise.
4222 * io/fxstatat.c: Likewise.
4223 * io/fxstatat64.c: Likewise.
4224 * io/getcwd.c: Likewise.
4225 * io/isatty.c: Likewise.
4226 * io/lchmod.c: Likewise.
4227 * io/lchown.c: Likewise.
4228 * io/link.c: Likewise.
4229 * io/linkat.c: Likewise.
4230 * io/lseek.c: Likewise.
4231 * io/lseek64.c: Likewise.
4232 * io/lxstat64.c: Likewise.
4233 * io/mkdir.c: Likewise.
4234 * io/mkdirat.c: Likewise.
4235 * io/mkfifo.c: Likewise.
4236 * io/mkfifoat.c: Likewise.
4237 * io/open.c: Likewise.
4238 * io/open64.c: Likewise.
4239 * io/openat.c: Likewise.
4240 * io/openat64.c: Likewise.
4241 * io/pipe.c: Likewise.
4242 * io/pipe2.c: Likewise.
4243 * io/poll.c: Likewise.
4244 * io/posix_fadvise.c: Likewise.
4245 * io/posix_fadvise64.c: Likewise.
4246 * io/posix_fallocate.c: Likewise.
4247 * io/posix_fallocate64.c: Likewise.
4248 * io/read.c: Likewise.
4249 * io/readlink.c: Likewise.
4250 * io/readlinkat.c: Likewise.
4251 * io/rmdir.c: Likewise.
4252 * io/sendfile.c: Likewise.
4253 * io/sendfile64.c: Likewise.
4254 * io/statfs.c: Likewise.
4255 * io/statfs64.c: Likewise.
4256 * io/statvfs.c: Likewise.
4257 * io/statvfs64.c: Likewise.
4258 * io/symlink.c: Likewise.
4259 * io/symlinkat.c: Likewise.
4260 * io/ttyname.c: Likewise.
4261 * io/ttyname_r.c: Likewise.
4262 * io/umask.c: Likewise.
4263 * io/unlink.c: Likewise.
4264 * io/unlinkat.c: Likewise.
4265 * io/utime.c: Likewise.
4266 * io/utimensat.c: Likewise.
4267 * io/write.c: Likewise.
4268 * io/xmknod.c: Likewise.
4269 * io/xmknodat.c: Likewise.
4270 * io/xstat.c: Likewise.
4271 * io/xstat64.c: Likewise.
4272 * login/getpt.c: Likewise.
4273 * login/grantpt.c: Likewise.
4274 * login/unlockpt.c: Likewise.
4275 * math/e_acoshl.c: Likewise.
4276 * math/e_acosl.c: Likewise.
4277 * math/e_asinl.c: Likewise.
4278 * math/e_atan2l.c: Likewise.
4279 * math/e_atanhl.c: Likewise.
4280 * math/e_coshl.c: Likewise.
4281 * math/e_expl.c: Likewise.
4282 * math/e_fmodl.c: Likewise.
4283 * math/e_gammal_r.c: Likewise.
4284 * math/e_hypotl.c: Likewise.
4285 * math/e_j0l.c: Likewise.
4286 * math/e_j1l.c: Likewise.
4287 * math/e_jnl.c: Likewise.
4288 * math/e_lgammal_r.c: Likewise.
4289 * math/e_log10l.c: Likewise.
4290 * math/e_log2l.c: Likewise.
4291 * math/e_logl.c: Likewise.
4292 * math/e_powl.c: Likewise.
4293 * math/e_rem_pio2l.c: Likewise.
4294 * math/e_sinhl.c: Likewise.
4295 * math/e_sqrtl.c: Likewise.
4296 * math/fclrexcpt.c: Likewise.
4297 * math/fedisblxcpt.c: Likewise.
4298 * math/feenablxcpt.c: Likewise.
4299 * math/fegetenv.c: Likewise.
4300 * math/fegetexcept.c: Likewise.
4301 * math/fegetround.c: Likewise.
4302 * math/feholdexcpt.c: Likewise.
4303 * math/fesetenv.c: Likewise.
4304 * math/fesetround.c: Likewise.
4305 * math/feupdateenv.c: Likewise.
4306 * math/fgetexcptflg.c: Likewise.
4307 * math/fraiseexcpt.c: Likewise.
4308 * math/fsetexcptflg.c: Likewise.
4309 * math/ftestexcept.c: Likewise.
4310 * math/k_cosl.c: Likewise.
4311 * math/k_rem_pio2l.c: Likewise.
4312 * math/k_sinl.c: Likewise.
4313 * math/k_tanl.c: Likewise.
4314 * math/s_asinhl.c: Likewise.
4315 * math/s_atanl.c: Likewise.
4316 * math/s_cbrtl.c: Likewise.
4317 * math/s_erfl.c: Likewise.
4318 * math/s_expm1l.c: Likewise.
4319 * math/s_log1pl.c: Likewise.
4320 * math/s_tanhl.c: Likewise.
4321 * misc/acct.c: Likewise.
4322 * misc/brk.c: Likewise.
4323 * misc/chflags.c: Likewise.
4324 * misc/chroot.c: Likewise.
4325 * misc/fchflags.c: Likewise.
4326 * misc/fgetxattr.c: Likewise.
4327 * misc/flistxattr.c: Likewise.
4328 * misc/fremovexattr.c: Likewise.
4329 * misc/fsetxattr.c: Likewise.
4330 * misc/fsync.c: Likewise.
4331 * misc/ftruncate.c: Likewise.
4332 * misc/futimes.c: Likewise.
4333 * misc/futimesat.c: Likewise.
4334 * misc/getdomain.c: Likewise.
4335 * misc/getdtsz.c: Likewise.
4336 * misc/gethostid.c: Likewise.
4337 * misc/gethostname.c: Likewise.
4338 * misc/getloadavg.c: Likewise.
4339 * misc/getpagesize.c: Likewise.
4340 * misc/getsysstats.c: Likewise.
4341 * misc/getxattr.c: Likewise.
4342 * misc/gtty.c: Likewise.
4343 * misc/ioctl.c: Likewise.
4344 * misc/lgetxattr.c: Likewise.
4345 * misc/listxattr.c: Likewise.
4346 * misc/llistxattr.c: Likewise.
4347 * misc/lremovexattr.c: Likewise.
4348 * misc/lsetxattr.c: Likewise.
4349 * misc/lutimes.c: Likewise.
4350 * misc/madvise.c: Likewise.
4351 * misc/mincore.c: Likewise.
4352 * misc/mlock.c: Likewise.
4353 * misc/mlockall.c: Likewise.
4354 * misc/mmap.c: Likewise.
4355 * misc/mprotect.c: Likewise.
4356 * misc/msync.c: Likewise.
4357 * misc/munlock.c: Likewise.
4358 * misc/munlockall.c: Likewise.
4359 * misc/munmap.c: Likewise.
4360 * misc/preadv.c: Likewise.
4361 * misc/preadv64.c: Likewise.
4362 * misc/ptrace.c: Likewise.
4363 * misc/pwritev.c: Likewise.
4364 * misc/pwritev64.c: Likewise.
4365 * misc/readv.c: Likewise.
4366 * misc/reboot.c: Likewise.
4367 * misc/remap_file_pages.c: Likewise.
4368 * misc/removexattr.c: Likewise.
4369 * misc/revoke.c: Likewise.
4370 * misc/select.c: Likewise.
4371 * misc/setdomain.c: Likewise.
4372 * misc/setegid.c: Likewise.
4373 * misc/seteuid.c: Likewise.
4374 * misc/sethostid.c: Likewise.
4375 * misc/sethostname.c: Likewise.
4376 * misc/setregid.c: Likewise.
4377 * misc/setreuid.c: Likewise.
4378 * misc/setxattr.c: Likewise.
4379 * misc/sstk.c: Likewise.
4380 * misc/stty.c: Likewise.
4381 * misc/swapoff.c: Likewise.
4382 * misc/swapon.c: Likewise.
4383 * misc/sync.c: Likewise.
4384 * misc/syncfs.c: Likewise.
4385 * misc/syscall.c: Likewise.
4386 * misc/truncate.c: Likewise.
4387 * misc/ualarm.c: Likewise.
4388 * misc/usleep.c: Likewise.
4389 * misc/ustat.c: Likewise.
4390 * misc/utimes.c: Likewise.
4391 * misc/vhangup.c: Likewise.
4392 * misc/writev.c: Likewise.
4393 * posix/_exit.c: Likewise.
4394 * posix/alarm.c: Likewise.
4395 * posix/execve.c: Likewise.
4396 * posix/fexecve.c: Likewise.
4397 * posix/fork.c: Likewise.
4398 * posix/fpathconf.c: Likewise.
4399 * posix/getaddrinfo.c: Likewise.
4400 * posix/getegid.c: Likewise.
4401 * posix/geteuid.c: Likewise.
4402 * posix/getgid.c: Likewise.
4403 * posix/getgroups.c: Likewise.
4404 * posix/getlogin.c: Likewise.
4405 * posix/getlogin_r.c: Likewise.
4406 * posix/getpgid.c: Likewise.
4407 * posix/getpid.c: Likewise.
4408 * posix/getppid.c: Likewise.
4409 * posix/getresgid.c: Likewise.
4410 * posix/getresuid.c: Likewise.
4411 * posix/getsid.c: Likewise.
4412 * posix/getuid.c: Likewise.
4413 * posix/glob64.c: Likewise.
4414 * posix/nanosleep.c: Likewise.
4415 * posix/pathconf.c: Likewise.
4416 * posix/pause.c: Likewise.
4417 * posix/posix_madvise.c: Likewise.
4418 * posix/pread.c: Likewise.
4419 * posix/pread64.c: Likewise.
4420 * posix/pwrite.c: Likewise.
4421 * posix/pwrite64.c: Likewise.
4422 * posix/sched_getaffinity.c: Likewise.
4423 * posix/sched_getp.c: Likewise.
4424 * posix/sched_gets.c: Likewise.
4425 * posix/sched_primax.c: Likewise.
4426 * posix/sched_primin.c: Likewise.
4427 * posix/sched_rr_gi.c: Likewise.
4428 * posix/sched_setaffinity.c: Likewise.
4429 * posix/sched_setp.c: Likewise.
4430 * posix/sched_sets.c: Likewise.
4431 * posix/sched_yield.c: Likewise.
4432 * posix/setgid.c: Likewise.
4433 * posix/setlogin.c: Likewise.
4434 * posix/setpgid.c: Likewise.
4435 * posix/setresgid.c: Likewise.
4436 * posix/setresuid.c: Likewise.
4437 * posix/setsid.c: Likewise.
4438 * posix/setuid.c: Likewise.
4439 * posix/sleep.c: Likewise.
4440 * posix/spawni.c: Likewise.
4441 * posix/sysconf.c: Likewise.
4442 * posix/times.c: Likewise.
4443 * posix/wait.c: Likewise.
4444 * posix/wait3.c: Likewise.
4445 * posix/wait4.c: Likewise.
4446 * posix/waitpid.c: Likewise.
4447 * resolv/gai_sigqueue.c: Likewise.
4448 * resource/getpriority.c: Likewise.
4449 * resource/getrlimit.c: Likewise.
4450 * resource/getrusage.c: Likewise.
4451 * resource/nice.c: Likewise.
4452 * resource/setpriority.c: Likewise.
4453 * resource/setrlimit.c: Likewise.
4454 * resource/ulimit.c: Likewise.
4455 * rt/aio_cancel.c: Likewise.
4456 * rt/aio_fsync.c: Likewise.
4457 * rt/aio_read.c: Likewise.
4458 * rt/aio_sigqueue.c: Likewise.
4459 * rt/aio_suspend.c: Likewise.
4460 * rt/aio_write.c: Likewise.
4461 * rt/clock_getres.c: Likewise.
4462 * rt/clock_gettime.c: Likewise.
4463 * rt/clock_nanosleep.c: Likewise.
4464 * rt/clock_settime.c: Likewise.
4465 * rt/lio_listio.c: Likewise.
4466 * rt/mq_close.c: Likewise.
4467 * rt/mq_getattr.c: Likewise.
4468 * rt/mq_notify.c: Likewise.
4469 * rt/mq_open.c: Likewise.
4470 * rt/mq_receive.c: Likewise.
4471 * rt/mq_send.c: Likewise.
4472 * rt/mq_setattr.c: Likewise.
4473 * rt/mq_timedreceive.c: Likewise.
4474 * rt/mq_timedsend.c: Likewise.
4475 * rt/mq_unlink.c: Likewise.
4476 * rt/shm_open.c: Likewise.
4477 * rt/shm_unlink.c: Likewise.
4478 * rt/timer_create.c: Likewise.
4479 * rt/timer_delete.c: Likewise.
4480 * rt/timer_getoverr.c: Likewise.
4481 * rt/timer_gettime.c: Likewise.
4482 * rt/timer_settime.c: Likewise.
4483 * setjmp/__longjmp.c: Likewise.
4484 * setjmp/setjmp.c: Likewise.
4485 * signal/kill.c: Likewise.
4486 * signal/killpg.c: Likewise.
4487 * signal/raise.c: Likewise.
4488 * signal/sigaction.c: Likewise.
4489 * signal/sigaltstack.c: Likewise.
4490 * signal/sigblock.c: Likewise.
4491 * signal/sigignore.c: Likewise.
4492 * signal/sigintr.c: Likewise.
4493 * signal/signal.c: Likewise.
4494 * signal/sigpause.c: Likewise.
4495 * signal/sigpending.c: Likewise.
4496 * signal/sigqueue.c: Likewise.
4497 * signal/sigreturn.c: Likewise.
4498 * signal/sigset.c: Likewise.
4499 * signal/sigsetmask.c: Likewise.
4500 * signal/sigstack.c: Likewise.
4501 * signal/sigsuspend.c: Likewise.
4502 * signal/sigtimedwait.c: Likewise.
4503 * signal/sigvec.c: Likewise.
4504 * signal/sigwait.c: Likewise.
4505 * signal/sigwaitinfo.c: Likewise.
4506 * signal/sysv_signal.c: Likewise.
4507 * socket/accept.c: Likewise.
4508 * socket/accept4.c: Likewise.
4509 * socket/bind.c: Likewise.
4510 * socket/connect.c: Likewise.
4511 * socket/getpeername.c: Likewise.
4512 * socket/getsockname.c: Likewise.
4513 * socket/getsockopt.c: Likewise.
4514 * socket/isfdtype.c: Likewise.
4515 * socket/listen.c: Likewise.
4516 * socket/recv.c: Likewise.
4517 * socket/recvfrom.c: Likewise.
4518 * socket/recvmsg.c: Likewise.
4519 * socket/send.c: Likewise.
4520 * socket/sendmsg.c: Likewise.
4521 * socket/sendto.c: Likewise.
4522 * socket/setsockopt.c: Likewise.
4523 * socket/shutdown.c: Likewise.
4524 * socket/sockatmark.c: Likewise.
4525 * socket/socket.c: Likewise.
4526 * socket/socketpair.c: Likewise.
4527 * stdio-common/ctermid.c: Likewise.
4528 * stdio-common/cuserid.c: Likewise.
4529 * stdio-common/remove.c: Likewise.
4530 * stdio-common/rename.c: Likewise.
4531 * stdio-common/renameat.c: Likewise.
4532 * stdio-common/tempname.c: Likewise.
4533 * stdlib/getcontext.c: Likewise.
4534 * stdlib/makecontext.c: Likewise.
4535 * stdlib/setcontext.c: Likewise.
4536 * stdlib/swapcontext.c: Likewise.
4537 * stdlib/system.c: Likewise.
4538 * streams/fattach.c: Likewise.
4539 * streams/fdetach.c: Likewise.
4540 * streams/getmsg.c: Likewise.
4541 * streams/getpmsg.c: Likewise.
4542 * streams/putmsg.c: Likewise.
4543 * streams/putpmsg.c: Likewise.
4544 * sysdeps/unix/bsd/getpt.c: Likewise.
4545 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4546 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4547 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4549 Likewise.
4550 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4551 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4552 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4553 * sysvipc/msgctl.c: Likewise.
4554 * sysvipc/msgget.c: Likewise.
4555 * sysvipc/msgrcv.c: Likewise.
4556 * sysvipc/msgsnd.c: Likewise.
4557 * sysvipc/semctl.c: Likewise.
4558 * sysvipc/semget.c: Likewise.
4559 * sysvipc/semop.c: Likewise.
4560 * sysvipc/semtimedop.c: Likewise.
4561 * sysvipc/shmat.c: Likewise.
4562 * sysvipc/shmctl.c: Likewise.
4563 * sysvipc/shmdt.c: Likewise.
4564 * sysvipc/shmget.c: Likewise.
4565 * termios/tcdrain.c: Likewise.
4566 * termios/tcflow.c: Likewise.
4567 * termios/tcflush.c: Likewise.
4568 * termios/tcgetattr.c: Likewise.
4569 * termios/tcgetpgrp.c: Likewise.
4570 * termios/tcsendbrk.c: Likewise.
4571 * termios/tcsetattr.c: Likewise.
4572 * termios/tcsetpgrp.c: Likewise.
4573 * time/adjtime.c: Likewise.
4574 * time/clock.c: Likewise.
4575 * time/getitimer.c: Likewise.
4576 * time/gettimeofday.c: Likewise.
4577 * time/setitimer.c: Likewise.
4578 * time/settimeofday.c: Likewise.
4579 * time/stime.c: Likewise.
4580 * time/time.c: Likewise.
4581
45822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4583
a20492cf
PT
4584 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4585 /usr/old/bin.
4586
72e182e3
PT
4587 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4588 instead of spaces.
4589 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4590
fbeafede
JM
45912012-11-03 Joseph Myers <joseph@codesourcery.com>
4592
5b5b04d6
JM
4593 [BZ #14796]
4594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4595 FE_TONEAREST before applying Dekker multiplication and Knuth
4596 addition. Clear inexact exceptions and check for exact zero
4597 results afterwards.
4598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4601 * math/libm-test.inc (fma_test): Add more tests.
4602 (fma_test_towardzero): Likewise.
4603 (fma_test_downward): Likewise.
4604 (fma_test_upward): Likewise.
4605 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4606 function.
4607 (libc_fesetround): New macro.
4608 (libc_fesetroundf): Likewise.
4609 (libc_fesetroundl): Likewise.
4610 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4611 function.
4612 (libc_fesetround_387): Likewise.
4613 (libc_fesetroundf): New macro.
4614 (libc_fesetround): Likewise.
4615 (libc_fesetroundl): Likewise.
4616 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4617 function.
4618 (libc_fesetroundf): New macro.
4619 (libc_fesetround): Likewise.
4620 (libc_fesetroundl): Likewise.
4621 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4622 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4623 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4624 libm_hidden_ver.
4625 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4626 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4627 libm_hidden_def.
4628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4629 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4630 libm_hidden_ver.
4631 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4632 libm_hidden_def.
4633
fbeafede
JM
4634 [BZ #3439]
4635 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4636 integer constant usable in #if and use that to give value to enum
4637 constant.
4638 (FE_DIVBYZERO): Likewise.
4639 (FE_UNDERFLOW): Likewise.
4640 (FE_OVERFLOW): Likewise.
4641 (FE_INVALID): Likewise.
4642 (FE_INVALID_SNAN): Likewise.
4643 (FE_INVALID_ISI): Likewise.
4644 (FE_INVALID_IDI): Likewise.
4645 (FE_INVALID_ZDZ): Likewise.
4646 (FE_INVALID_IMZ): Likewise.
4647 (FE_INVALID_COMPARE): Likewise.
4648 (FE_INVALID_SOFTWARE): Likewise.
4649 (FE_INVALID_SQRT): Likewise.
4650 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4651 (FE_TONEAREST): Likewise.
4652 (FE_TOWARDZERO): Likewise.
4653 (FE_UPWARD): Likewise.
4654 (FE_DOWNWARD): Likewise.
4655 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4656 (FE_DIVBYZERO): Likewise.
4657 (FE_OVERFLOW): Likewise.
4658 (FE_UNDERFLOW): Likewise.
4659 (FE_INEXACT): Likewise.
4660 (FE_TONEAREST): Likewise.
4661 (FE_DOWNWARD): Likewise.
4662 (FE_UPWARD): Likewise.
4663 (FE_TOWARDZERO): Likewise.
4664 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4665 (FE_UNDERFLOW): Likewise.
4666 (FE_OVERFLOW): Likewise.
4667 (FE_DIVBYZERO): Likewise.
4668 (FE_INVALID): Likewise.
4669 (FE_TONEAREST): Likewise.
4670 (FE_TOWARDZERO): Likewise.
4671 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4672 (FE_OVERFLOW): Likewise.
4673 (FE_UNDERFLOW): Likewise.
4674 (FE_DIVBYZERO): Likewise.
4675 (FE_INEXACT): Likewise.
4676 (FE_TONEAREST): Likewise.
4677 (FE_TOWARDZERO): Likewise.
4678 (FE_UPWARD): Likewise.
4679 (FE_DOWNWARD): Likewise.
4680 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4681 (FE_DIVBYZERO): Likewise.
4682 (FE_OVERFLOW): Likewise.
4683 (FE_UNDERFLOW): Likewise.
4684 (FE_INEXACT): Likewise.
4685 (FE_TONEAREST): Likewise.
4686 (FE_DOWNWARD): Likewise.
4687 (FE_UPWARD): Likewise.
4688 (FE_TOWARDZERO): Likewise.
4689
105ca950
CM
46902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4691
4692 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4693
a542b389
AS
46942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4695
4696 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4697 commands. Quote $PWD.
4698 (blacklist_exports): Don't use remove_newlines. Replace "declare
4699 -x" by "export".
4700 (remove_newlines): Remove.
4701
f62c8abc
L
47022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4705 * stdlib/stdlib.h (atof): Moved to ...
4706 * include/bits/stdlib-float.h: Here. New file.
4707 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4708 * stdlib/bits/stdlib-float.h: New file.
4709 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4710 -mno-sse -mno-mmx.
4711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4712 <xmmintrin.h>.
4713
0155d5b2
JM
47142012-11-02 Joseph Myers <joseph@codesourcery.com>
4715
a68d0680
JM
4716 * conform/conformtest.pl (@headers): Add fenv.h.
4717 * conform/data/fenv.h-data: New file.
4718 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4719 include of <math/fenv.h>.
4720
caf7f573
JM
4721 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4722 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4723 && !UNIX98]. Enables tests for XOPEN2K8.
4724 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4725 POSIX2008]: Likewise.
4726
6c073ad6
JM
4727 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4728 (struct rusage): Do not expect type or its members.
4729
0155d5b2
JM
4730 [BZ #3439]
4731 * math/math.h (FP_NAN): Define macro to integer constant usable in
4732 #if and use that to give value to enum constant.
4733 (FP_INFINITE): Likewise.
4734 (FP_ZERO): Likewise.
4735 (FP_SUBNORMAL): Likewise.
4736 (FP_NORMAL): Likewise.
4737
b5dcacb4
AS
47382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4739
4740 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4741 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4742 arguments.
4743
f7934be8
RM
47442012-11-02 Roland McGrath <roland@hack.frob.com>
4745
4746 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4747 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4748 autoconf-time if not.
4749 * configure.in: Remove AC_PREREQ.
4750
d7d08bde
TMQMF
47512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4752
4753 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4754 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4755 of the internal implementation.
4756
dcdae19a
JM
47572012-11-02 Joseph Myers <joseph@codesourcery.com>
4758
4759 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4760 except include of <misc/sys/syslog.h>.
4761
d6cffd3e
AS
47622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4763
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4765 function returns with a NULL context exit with zero.
4766
b3563932
TMQMF
47672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4768
4769 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4770
b288a93d
L
47712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4774 (run_program_cmd): This.
4775 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4776 (tst_langinfo): New variable. Use it.
4777
a2421a68
SAS
47782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4779
4780 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4781 floating point opcodes.
4782
6f796e1b
TS
47832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4784
7402596b
TS
4785 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4786 variable.
4787
d0d4f868
TS
4788 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4789
6f796e1b
TS
4790 * sysdeps/mach/hurd/powerpc: Remove directory.
4791 * sysdeps/mach/powerpc: Likewise.
4792
4da224a2
AS
47932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4794
4795 * scripts/check-local-headers.sh: Ignore c++ headers.
4796
341dd673
TS
47972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4798
4799 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4800 __libc_cleanup_region_start argument.
4801
473611b2
JM
48022012-11-01 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #14784]
4805 [BZ #14785]
4806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4807 x * y using scaling, not as x * y + z.
4808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4810 * math/libm-test.inc (fma_test): Add more tests.
4811 (fma_test_towardzero): Likewise.
4812 (fma_test_downward): Likewise.
4813 (fma_test_upward): Likewise.
4814
4078da3d
TS
48152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4816
4817 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4818
903252aa
JM
48192012-10-31 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4822 New variable.
4823
cbc818d0
TS
48242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4825
4826 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4827
5a03cb1e
AS
48282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4829
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4831 Fix sort order.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4833 Likewise.
4834
90aff2ff
TMQMF
48352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4836
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4838 Fix the order of the list for glibc 2.17.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4840 Likewise.
4841
1818fcb7
AS
48422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4843
4844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4845
ef82f4da
JM
48462012-10-31 Joseph Myers <joseph@codesourcery.com>
4847
16a0e2ec
JM
4848 [BZ #14610]
4849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4850 for low part of x being zero before using __atanl (y).
4851 * math/libm-test.inc (atan2_test): Add another test.
4852
0eb69512
JM
4853 * manual/install.texi (Configuring and compiling): Document
4854 general use of test-wrapper and test-wrapper-env.
4855 * INSTALL: Regenerated.
4856
ef82f4da
JM
4857 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4858 (__fma): Do not extract and scale down low bits on after-rounding
4859 systems when result rounded to normal precision would have normal
4860 exponent.
4861 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4862 (__fmal): Do not extract and scale down low bits on after-rounding
4863 systems when result rounded to normal precision would have normal
4864 exponent.
4865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4866 (__fmal): Do not extract and scale down low bits on after-rounding
4867 systems when result rounded to normal precision would have normal
4868 exponent.
4869 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4870 macro.
4871 (fma_test): Add more tests.
4872 (fma_test_towardzero): Likewise.
4873 (fma_test_downward): Likewise.
4874 (fma_test_upward): Likewise.
4875
954ef0d9
L
48762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4877
4878 * sysdeps/i386/tininess.h: Renamed to ...
4879 * sysdeps/x86/tininess.h: This.
4880 * sysdeps/x86_64/tininess.h: Removed.
4881
df61ffb2
JM
48822012-10-30 Joseph Myers <joseph@codesourcery.com>
4883
4884 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4885 input. Use $(build-program-cmd).
4886 ($(objpfx)tst-array1-static.out): Likewise.
4887 ($(objpfx)tst-array2.out): Likewise.
4888 ($(objpfx)tst-array3.out): Likewise.
4889 ($(objpfx)tst-array4.out): Likewise.
4890 ($(objpfx)tst-array5.out): Likewise.
4891 ($(objpfx)tst-array5-static.out): Likewise.
4892
01767843
CM
48932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4894
47cc1490
CM
4895 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4896 if defined.
4897
01767843
CM
4898 * nss/nsswitch.h (nss_interface_function): Provide new
4899 macro for use with NSS functions.
4900 * grp/initgroups.c: Use new macro.
4901 * nss/getXXbyYY.c: Likewise.
4902 * nss/getXXbyYY_r.c: Likewise.
4903 * nss/getXXent.c: Likewise.
4904 * nss/getXXent_r.c: Likewise.
4905 * sysdeps/posix/getaddrinfo.c: Likewise.
4906
8321aa97
AJ
49072012-10-30 Andreas Jaeger <aj@suse.de>
4908
4909 * po/ru.po: Update Russion translation from translation project.
4910
2a27fd6d
JM
49112012-10-30 Joseph Myers <joseph@codesourcery.com>
4912
8627a232
JM
4913 [BZ #14152]
4914 [BZ #14783]
4915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4916 result and shift together with sticky bit instead of replicating
4917 round-to-nearest rounding.
4918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4920 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4921 missing underflow exceptions.
4922 (fma_test_towardzero): Add more tests.
4923 (fma_test_downward): Likewise.
4924 (fma_test_upward): Likewise.
4925
2a27fd6d
JM
4926 [BZ #14047]
4927 * sysdeps/generic/tininess.h: New file.
4928 * sysdeps/i386/tininess.h: Likewise.
4929 * sysdeps/sh/tininess.h: Likewise.
4930 * sysdeps/x86_64/tininess.h: Likewise.
4931 * stdlib/tst-strtod-underflow.c: Likewise.
4932 * stdlib/tst-tininess.c: Likewise.
4933 * stdlib/strtod_l.c: Include <tininess.h>.
4934 (round_and_return): Do not set errno for exact underflow cases.
4935 Force an underflow exception when setting errno for underflow.
4936 Determine underflow based on rounding to normal precision if
4937 TININESS_AFTER_ROUNDING.
4938 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4939 ERANGE for exact underflow cases.
4940 * stdlib/Makefile (tests): Add tst-tininess and
4941 tst-strtod-underflow.
4942 ($(objpfx)tst-tininess): Use $(link-libm).
4943 ($(objpfx)tst-strtod-underflow): Likewise.
4944
e7170363
AJ
49452012-10-30 Andreas Jaeger <aj@suse.de>
4946
e5088dc6
AJ
4947 [BZ#14767]
4948 * elf/Makefile (tests): Remove conditional for have-initfini-array
4949 since this is now always required and the variable does not exist
4950 anymore.
4951 (tests-static): Likewise.
4952 (modules-names): Likewise.
4953
e7170363 4954 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4955
4956 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4957 merged with constructor/destructor.
4958 (init_array): Likewise.
4959 * elf/tst-array2dep.c (fini_array): Likewise.
4960 (init_array): Likewise.
4961
60457d8a
MF
49622012-10-29 Mike Frysinger <vapier@gentoo.org>
4963
4964 * manual/message.texi: Delete @cartouche tags.
4965
8bece752
PT
49662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4967
94ce799f
PT
4968 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4969 EOPNOTSUPP.
4970 * sysdeps/mach/hurd/fsync.c: Likewise.
4971
8bece752
PT
4972 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4973 [_POSIX_REALTIME_SIGNALS]: Change condition to
4974 [_POSIX_REALTIME_SIGNALS > 0].
4975
86ebe6b1
AJ
49762012-10-27 Andreas Jaeger <aj@suse.de>
4977
4978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4979 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4981 [__WORDSIZE != 64]: Likewise.
4982
54399c08
L
49832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4984
4985 * iconvdata/tst-table.sh: Remove ${SHELL}.
4986 * iconvdata/tst-tables.sh: Likewise.
4987
e2211bed
DM
49882012-10-25 David S. Miller <davem@davemloft.net>
4989
4990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4991 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4992 of strtoull.
4993
f303f97c
DM
4994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4995 ifunc-impl-list.c
4996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4997 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4998 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4999 file.
5000
1e9d84cd
RM
50012012-10-25 Roland McGrath <roland@hack.frob.com>
5002
5003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5004 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5005 __getdirentries.
5006
df381762
JM
50072012-10-25 Joseph Myers <joseph@codesourcery.com>
5008 Jim Blandy <jimb@codesourcery.com>
5009
5010 * scripts/cross-test-ssh.sh: New file.
5011 * manual/install.texi (Configuring and compiling): Document use of
5012 cross-test-ssh.sh.
5013 * INSTALL: Regenerated.
5014
bff64913
PT
50152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5016
5017 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5018 EOPNOTSUPP.
5019
25fe8932
JM
50202012-10-25 Joseph Myers <joseph@codesourcery.com>
5021
5022 * Makeconfig (run-program-prefix): Fix comment.
5023
cc1290d0
JM
50242012-10-24 Joseph Myers <joseph@codesourcery.com>
5025 Jim Blandy <jimb@codesourcery.com>
5026
5027 * Makeconfig (test-wrapper): New variable,
5028 (test-wrapper-env): Likewise.
5029 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5030 (run-built-tests): Define to yes.
5031 (run-program-prefix): Use $(test-wrapper).
5032 (built-program-cmd): Likewise.
5033 * Rules (make-test-out): Use $(test-wrapper-env) and
5034 $(host-built-program-cmd).
5035 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5036 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5037 tst-pathopt.sh.
5038 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5039 $(test-wrapper-env) to tst-rtld-load-self.sh.
5040 ($(objpfx)order2.out): Use $(test-wrapper).
5041 ($(objpfx)tst-initorder.out): Likewise.
5042 ($(objpfx)tst-initorder2.out): Likewise.
5043 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5044 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5045 (test_wrapper_env): New variable. Use it to run ld.so.
5046 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5047 Use it to run ld.so.
5048 (test_wrapper_env): Likewise.
5049 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5050 $(test-wrapper) to run-iconv-test.sh.
5051 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5052 (ICONV): Use $test_wrapper.
5053 * posix/Makefile ($(objpfx)globtest.out): Pass
5054 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5055 globtest.sh, not $(run-program-prefix).
5056 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5057 (test_wrapper): Likewise.
5058 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5059 set together with run_via_rtld_prefix.
5060 (run_program_prefix): Define in terms of test_wrapper and
5061 run_via_rtld_prefix.
5062
6e6249d0
RM
50632012-10-24 Roland McGrath <roland@hack.frob.com>
5064
5065 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5066 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5067 Targets removed.
5068
5069 [BZ #14743]
5070 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5071 Declare __clock_getres, __clock_gettime, __clock_settime,
5072 __clock_nanosleep, and __clock_getcpuclockid.
5073 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5074 Remove librt_hidden_def (clock_gettime).
5075 * sysdeps/unix/clock_gettime.c: Likewise.
5076 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5078 * rt/clock_getres.c: Define __clock_getres as an alias.
5079 * sysdeps/posix/clock_getres.c: Likewise.
5080 * rt/clock_settime.c: Define __clock_settime as an alias.
5081 * sysdeps/unix/clock_settime.c: Likewise.
5082 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5083 * sysdeps/unix/clock_nanosleep.c: Likewise.
5084 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5085 * rt/clock-compat.c: New file.
5086 * rt/Makefile (librt-routines): Add clock-compat and move
5087 $(clock-routines) to ...
5088 (routines): ... here, new variable.
5089 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5090 Don't add get_clockfreq here.
5091 * rt/Versions (libc: GLIBC_2.17): New version set.
5092 Add clock_* symbols here.
5093 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5095 (GLIBC_2.17): Add clock_* symbols.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5100 Likewise.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5107 * NEWS: Mention the move.
5108
5109 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5110 Use __open, __read, __close rather than their public counterparts.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5112 (__get_clockfreq_via_cpuinfo): Likewise.
5113 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5114 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5115
5116 * config.h.in (HAVE_IFUNC): New #undef.
5117 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5118 was successful.
5119 * configure: Regenerated.
5120
0cae3f4b
MF
51212012-10-24 Mike Frysinger <vapier@gentoo.org>
5122
5123 * configure.in: Move READELF check to start of file.
5124 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5125 libc_cv_asm_gnu_indirect_function in the process.
5126 * configure: Regenerated.
5127
8175a253
MF
51282012-10-24 Mike Frysinger <vapier@gentoo.org>
5129
5130 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5131 send the output to /dev/null.
5132 (libc_cv_cc_with_libunwind): Likewise.
5133 (libc_cv_as_noexecstack): Likewise.
5134 * configure: Regenerate.
5135
0708a7d1
JM
51362012-10-24 Joseph Myers <joseph@codesourcery.com>
5137
10b40d85
JM
5138 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5139
0708a7d1
JM
5140 * posix/globtest.sh (TMPDIR): Do not set.
5141 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5142 (testout): Likewise.
5143
9fddec1a
AJ
51442012-10-24 Andreas Jaeger <aj@suse.de>
5145
3a8db22f
AJ
5146 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5147 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5148 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5149 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5150 posix_fadvise64, posix_fallocate64.
5151
9fddec1a
AJ
5152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5153 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5154 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5155 Likewise.
5156 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5157 Likewise.
5158 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5159
5160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5161 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5162 <bits/fcntl-linux.h>.
5163 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5164
5165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5166 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5167 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5168 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5169 [__WORDSIZE != 64]: Likewise.
5170
ebfd1bbd
JM
51712012-10-23 Joseph Myers <joseph@codesourcery.com>
5172
03ac099f
JM
5173 * Makeconfig (run-built-tests): New variable.
5174 * Rules [$(cross-compiling) = yes]: Change condition to
5175 [$(run-built-tests) = no].
5176 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5177 to [$(run-built-tests) = yes].
5178 * elf/Makefile [$(cross-compiling) = no]: Likewise
5179 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5180 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5181 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5182 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5183 * io/Makefile [$(cross-compiling) = no]: Likewise.
5184 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5185 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5186 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5187 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5188 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5189 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5190 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5191 * string/Makefile [$(cross-compiling) = no]: Likewise.
5192
ebfd1bbd
JM
5193 * posix/Makefile ($(objpfx)globtest.out): Pass
5194 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5195 $(rtld-installed-name).
5196 * posix/globtest.sh (elf_objpfx): Remove variable.
5197 (rtld_installed_name): Likewise.
5198 (library_path): Likewise.
5199 (run_program_prefix): New variable. Use for running globtest
5200 binary.
5201
166bca24
JB
52022012-10-23 Jim Blandy <jimb@codesourcery.com>
5203 Joseph Myers <joseph@codesourcery.com>
5204
5205 * Makeconfig (host-built-program-cmd): New variable.
5206 * elf/Makefile (tst-stackguard1-ARGS): Use
5207 $(host-built-program-cmd).
5208 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5209 (tst-spawn-ARGS): Likewise.
5210 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5211
88866099
JM
52122012-10-23 Joseph Myers <joseph@codesourcery.com>
5213 Jim Blandy <jimb@codesourcery.com>
5214
5215 * Makeconfig (run-via-rtld-prefix): New variable.
5216 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5217 (built-program-cmd): Likewise.
5218
b4b4c296
AJ
52192012-10-22 Andreas Jaeger <aj@suse.de>
5220
5221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5222 __O_RSYNC if it exists, otherwise to O_SYNC.
5223
6fb54a22
JB
52242012-10-22 Jim Blandy <jimb@codesourcery.com>
5225 Joseph Myers <joseph@codesourcery.com>
5226
5227 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5228 /dev/null.
5229 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5230 from /dev/null
5231 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5232 /dev/null.
5233
481b90b9
AJ
52342012-10-22 Andreas Jaeger <aj@suse.de>
5235
2a0e2669
AJ
5236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5237 Define always.
5238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5239
76e38f9a
AJ
5240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5241 bits/fcntl-linux.h.
5242
7cd37b43
AJ
5243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5244 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5245
481b90b9
AJ
5246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5247 to __O_LARGEFILE.
5248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5249 to __O_LARGEFILE.
5250
aba75984
JB
52512012-10-21 Jim Blandy <jimb@codesourcery.com>
5252 Joseph Myers <joseph@codesourcery.com>
5253
5254 * config.make.in (NM): New variable.
5255
88d4247f
AJ
52562012-10-21 Andreas Jaeger <aj@suse.de>
5257
5258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5259 definitions and declarations that are provided by
5260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5261
f2eed205
L
52622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 [BZ #14683]
5265 * elf/Makefile (tests-static): Add tst-leaks1-static.
5266 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5267 ($(objpfx)tst-leaks1-static): New rule.
5268 ($(objpfx)tst-leaks1-static-mem): Likewise.
5269 (tst-leaks1-static-ENV): New macro.
5270 * elf/dl-open.c (dl_open_worker): Check the main application
5271 only if SHARED is defined.
5272 * elf/tst-leaks1-static.c: New file.
5273
335e6931
AJ
52742012-10-20 Andreas Jaeger <aj@suse.de>
5275
5276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5277 generic values for Linux.
5278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5279 and declarations that are provided by <bits/fcntl-linux.h> and
5280 include <bits/fcntl-linux.h>.
5281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5283
ac5c94d3
RM
52842012-10-20 Roland McGrath <roland@hack.frob.com>
5285
5286 * io/fcntl.h: Move include of <bits/types.h> to the top and
5287 include it unconditionally.
5288
de54b33a
L
52892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5290
228cfb01
L
5291 * wcsmbs/Makefile (tests-ifunc): New variable.
5292 (tests): Add $(tests-ifunc).
5293 * wcsmbs/test-wcschr-ifunc.c: New file.
5294 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5295 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5296 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5297 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5298 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5299
69f07e5f
L
5300 * string/Makefile (tests-ifunc): New variable.
5301 (tests): Add $(tests-ifunc).
5302 * string/test-memccpy.c (TEST_NAME): New macro.
5303 * string/test-memchr.c (TEST_NAME): Likewise.
5304 * string/test-memcmp.c (TEST_NAME): Likewise.
5305 * string/test-memcpy.c (TEST_NAME): Likewise.
5306 * string/test-memmem.c (TEST_NAME): Likewise.
5307 * string/test-memmove.c (TEST_NAME): Likewise.
5308 * string/test-memset.c (TEST_NAME): Likewise.
5309 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5310 * string/test-stpcpy.c (TEST_NAME): Likewise.
5311 * string/test-stpncpy.c (TEST_NAME): Likewise.
5312 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5313 * string/test-strcasestr.c (TEST_NAME): Likewise.
5314 * string/test-strcat.c (TEST_NAME): Likewise.
5315 * string/test-strchr.c (TEST_NAME): Likewise.
5316 * string/test-strcmp.c(TEST_NAME): Likewise.
5317 * string/test-strcpy.c (TEST_NAME): Likewise.
5318 * string/test-strcspn.c (TEST_NAME): Likewise.
5319 * string/test-strlen.c (TEST_NAME): Likewise.
5320 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5321 * string/test-strncmp.c (TEST_NAME): Likewise.
5322 * string/test-strncpy.c (TEST_NAME): Likewise.
5323 * string/test-strnlen.c (TEST_NAME): Likewise.
5324 * string/test-strpbrk.c (TEST_NAME): Likewise.
5325 * string/test-strrchr.c (TEST_NAME): Likewise.
5326 * string/test-strspn.c (TEST_NAME): Likewise.
5327 * string/test-strstr.c (TEST_NAME): Likewise.
5328 * string/test-bcopy-ifunc.c: New file.
5329 * string/test-bzero-ifunc.c: Likewise.
5330 * string/test-memccpy-ifunc.c: Likewise.
5331 * string/test-memchr-ifunc.c: Likewise.
5332 * string/test-memcmp-ifunc.c: Likewise.
5333 * string/test-memcpy-ifunc.c: Likewise.
5334 * string/test-memmem-ifunc.c: Likewise.
5335 * string/test-memmove-ifunc.c: Likewise.
5336 * string/test-mempcpy-ifunc.c: Likewise.
5337 * string/test-memset-ifunc.c: Likewise.
5338 * string/test-rawmemchr-ifunc.c: Likewise.
5339 * string/test-stpcpy-ifunc.c: Likewise.
5340 * string/test-stpncpy-ifunc.c: Likewise.
5341 * string/test-strcasecmp-ifunc.c: Likewise.
5342 * string/test-strcasestr-ifunc.c: Likewise.
5343 * string/test-strcat-ifunc.c: Likewise.
5344 * string/test-strchr-ifunc.c: Likewise.
5345 * string/test-strchrnul-ifunc.c: Likewise.
5346 * string/test-strcmp-ifunc.c: Likewise.
5347 * string/test-strcpy-ifunc.c: Likewise.
5348 * string/test-strcspn-ifunc.c: Likewise.
5349 * string/test-strlen-ifunc.c: Likewise.
5350 * string/test-strncasecmp-ifunc.c: Likewise.
5351 * string/test-strncat-ifunc.c: Likewise.
5352 * string/test-strncmp-ifunc.c: Likewise.
5353 * string/test-strncpy-ifunc.c: Likewise.
5354 * string/test-strnlen-ifunc.c: Likewise.
5355 * string/test-strpbrk-ifunc.c: Likewise.
5356 * string/test-strrchr-ifunc.c: Likewise.
5357 * string/test-strspn-ifunc.c: Likewise.
5358 * string/test-strstr-ifunc.c: Likewise.
5359
de54b33a
L
5360 * debug/Makefile (tests-ifunc): New variable.
5361 (tests): Add $(tests-ifunc).
5362 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5363 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5364 * debug/test-stpcpy_chk-ifunc.c: New file.
5365 * debug/test-strcpy_chk-ifunc.c: Likewise.
5366
88481c16
SP
53672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5368
5369 [BZ #13601]
5370 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5371 header is not read in.
5372
135948bd
JM
53732012-10-19 Joseph Myers <joseph@codesourcery.com>
5374
89f1c388
JM
5375 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5376 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5377 directly. Pass built executable to script as
5378 $(built-program-cmd).
5379 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5380 $testprogram without using LD_LIBRARY_PATH and $ldso.
5381
e40a0d21
JM
5382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5383 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5384 $(rtld-installed-name).
5385 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5386 (rtld_installed_name): Likewise.
5387 (library_path): Likewise.
5388 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5390 $(run-program-prefix) to tst-tables.sh.
5391 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5392 it to run tst-table-from and tst-table-to.
5393 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5394 Pass it to tst-table.sh.
5395 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5396 $(run-program-prefix) to tst-gettext.sh.
5397 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5398 tst-translit.sh.
5399 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5400 tst-gettext2.sh.
5401 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5402 to run tst-gettext.
5403 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5404 to run tst-gettext2.
5405 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5406 to run tst-translit.
5407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5408 $(run-program-prefix) to tst-mtrace.sh.
5409 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5410 to run tst-mtrace.
5411 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5412 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5413 $(rtld-installed-name).
5414 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5415 (rtld_installed_name): Likewise.
5416 (run_program_prefix): New variable. Use it to run wordexp-test.
5417
728e272a
JM
5418 * Makeconfig (ARCH): Remove all definitions.
5419 (machine): Likewise.
5420 [ARCH]: Remove conditional code.
5421 [!objdir]: Give error.
5422 [!objdir] (objpfx): Remove.
5423 [!objdir] (common-objpfx): Likewise.
5424 [!objdir] (common-objdir): Likewise.
5425 * configure.in (config_makefile): Remove. Hardcode Makefile in
5426 AC_CONFIG_FILES call.
5427 * configure: Regenerated.
5428
d528cdcf
JM
5429 [BZ #13888]
5430 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5431 or TMPDIR.
5432 (testout): Likewise.
5433
135948bd
JM
5434 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5435 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5436 $(rtld-installed-name).
5437 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5438 (rtld_installed_name): Likwise.
5439 (runit): Remove function.
5440 (run_getconf): New variable, Use it for running getconf binary.
5441
38c78296
L
54422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5443
5444 [BZ #14716]
5445 * string/test-memmem.c (check_result): New function.
5446 (do_one_test): Use it.
5447 (check1): New function.
5448 (test_main): Use it.
5449
d077f65f
MT
54502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5451
5452 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5453
ced52c71
JM
54542012-10-18 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5457 (_G_LSEEK64): Likewise.
5458 (_G_MMAP64): Likewise.
5459 (_G_FSTAT64): Likewise.
5460 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5461 (_G_LSEEK64): Likewise.
5462 (_G_MMAP64): Likewise.
5463 (_G_FSTAT64): Likewise.
5464 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5465 unconditional. Call __mmap64 directly.
5466 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5467 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5468 __lseek64 directly.
5469 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5470 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5471 __mmap64 directly.
5472 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5473 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5474 __lseek64 directly.
5475 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5476 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5477 __lseek64 directly.
5478 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5479 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5480 __lseek64 directly.
5481 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5482 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5483 __fxstat64 directly.
5484 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5485 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5486 unconditional.
5487 (freopen64) [!_G_OPEN64]: Remove conditional code.
5488 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5489 unconditional.
5490 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5491 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5492 unconditional.
5493 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5494 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5495 unconditional.
5496 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5497 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5498 unconditional.
5499 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5500 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5501 unconditional.
5502 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5503 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5504 unconditional.
5505 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5506 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5507 unconditional.
5508 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5509
b741de23
SP
55102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5511
5512 [BZ #12140]
5513 * manual/memory.texi (Malloc Tunable Parameters): Add note
5514 about free list pointers overwriting some perturb bytes.
5515 Wording suggested by Roland McGrath.
5516
f9b9d9c9
JM
55172012-10-17 Joseph Myers <joseph@codesourcery.com>
5518
5519 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5520 (lgamma_test): Likewise.
5521 (tgamma_test): Likewise.
5522
172a631a
FW
55232012-10-16 Florian Weimer <fweimer@redhat.com>
5524
5525 [BZ #14700]
5526 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5527 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5528
e9f37252
MK
55292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5530
5531 * NEWS: Mention BZ #14716.
5532 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5533 when removing AVAILABLE1_USES_J macro.
5534
d394eb74
L
55352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5536
5537 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5538 (__bswap_64): __uint64_t for unsigned 64-bit int.
5539
ca38dc17
AS
55402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5541
5542 * include/string.h (memmem): Declare libc hidden alias.
5543 * string/memmem.c (memmem): Define libc hidden alias.
5544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5545 __read, __close instead of open, read, close.
5546
9a387d1f
L
55472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5548
ac49ecaf
L
5549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5550 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5551 global and hidden.
5552 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5553 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5554 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5555 Likewise.
5556 (__rawmemchr_sse2): Likewise.
5557 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5558 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5559 (__strchr_sse2): Likewise.
5560 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5561 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5562 (__strcasecmp_sse2): Likewise.
5563 (__strncasecmp_sse2): Likewise.
5564 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5565 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5566 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5567 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5568 (__strrchr_sse2): Likewise.
5569 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5570 ifunc-impl-list.c.
5571 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5577 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5578 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5579 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5580 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5581 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5582 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5583 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5585 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5586 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5587 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5588 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5589 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5590 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5591 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5592 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5593 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5594 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5595 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5597 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5599 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5600 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5601
b090e8ea
L
5602 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5603 global and hidden.
5604 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5605 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5606 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5607 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5608 Likewise.
5609 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5610 Likewise.
5611 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5612 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5613 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5614 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5615 ifunc-impl-list.c.
5616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5626 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5627 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5628 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5629 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5630 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5632 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5633 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5639 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5641 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5642 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5643 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5644 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5645 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5649 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5657
11dd4af6
L
5658 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5659 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5660 * include/ifunc-impl-list.h: New file.
5661 * misc/ifunc-impl-list.c: Likewise.
5662 * misc/Makefile (routines): Add ifunc-impl-list.
5663 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5664 * string/test-string.h: Include <ifunc-impl-list.h>.
5665 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5666 impl_array): New variables.
5667 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5668 are defined.
5669 (test_init): Call __libc_ifunc_impl_list to initialize
5670 func_list if TEST_IFUNC and TEST_NAME are defined.
5671
9a387d1f
L
5672 * string/Makefile (strop-tests): Add bcopy and bzero.
5673 * string/test-bcopy.c: New file.
5674 * string/test-bzero.c: Likewise.
5675 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5676 defined.
5677 * string/test-memset.c: Support bzero test if TEST_BZERO is
5678 defined.
5679 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5680 __libc_memmove.
5681 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5682 __libc_memset.
5683 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5684 of memset.
5685
472371b9
JM
56862012-10-10 Joseph Myers <joseph@codesourcery.com>
5687
1e4a9536
JM
5688 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5689 * configure: Regenerated.
5690
d173d12e
JM
5691 * Makeconfig (+link-static-before-libc): Don't include
5692 $(link-static-libc).
5693
472371b9
JM
5694 * libio/libio.h (_IO_pos_t): Remove.
5695
89a3ad0b
AO
56962012-10-10 Alexandre Oliva <aoliva@redhat.com>
5697
5698 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5699 McGrath.
5700
e7451425
AO
57012012-10-10 Alexandre Oliva <aoliva@redhat.com>
5702
5703 * crypt/crypt-entry.c: Include fips-private.h.
5704 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5705 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5706 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5707 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5708
4ba74a35
AO
57092012-10-10 Alexandre Oliva <aoliva@redhat.com>
5710
5711 * crypt/crypt-private.h: Include stdbool.h.
5712 (_ufc_setup_salt_r): Return bool.
5713 * crypt/crypt-entry.c: Include errno.h.
5714 (__crypt_r): Return NULL with EINVAL for bad salt.
5715 * crypt/crypt_util.c (bad_for_salt): New.
5716 (_ufc_setup_salt_r): Check that salt is long enough and within
5717 the specified alphabet.
5718 * crypt/badsalttest.c: New file.
5719 * crypt/Makefile (tests): Add it.
5720 ($(objpfx)badsalttest): New.
5721
f96f1242
MK
57222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5723
5724 * NEWS: Add entry for BZ #14602.
5725
0e8e0c1c
JM
57262012-10-09 Joseph Myers <joseph@codesourcery.com>
5727
5728 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5729 type-generic.
5730 * math/libm-test.inc: Update comment listing what functions and
5731 macros are tested.
5732 (isgreater_test): New function.
5733 (isgreaterequal_test): Likewise.
5734 (isless_test): Likewise.
5735 (islessequal_test): Likewise.
5736 (islessgreater_test): Likewise.
5737 (isunordered_test): Likewise.
5738 (main): Call the new functions.
5739
273edc5e
RM
57402012-10-09 Roland McGrath <roland@hack.frob.com>
5741
b8493de0
RM
5742 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5743 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5744 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5745 * sysdeps/i386/configure: Regenerated.
5746 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5747 * sysdeps/mach/configure: Regenerated.
5748 * sysdeps/mach/hurd/configure: Regenerated.
5749 * sysdeps/powerpc/configure: Regenerated.
5750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5752 * sysdeps/s390/s390-32/configure: Regenerated.
5753 * sysdeps/s390/s390-64/configure: Regenerated.
5754 * sysdeps/sh/configure: Regenerated.
5755 * sysdeps/sparc/configure: Regenerated.
5756 * sysdeps/unix/sysv/linux/configure: Regenerated.
5757 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5758 * sysdeps/x86_64/configure: Regenerated.
5759
273edc5e
RM
5760 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5761 defined. Don't check if MAP is NULL.
5762
c8450f70
JM
57632012-10-09 Joseph Myers <joseph@codesourcery.com>
5764
5765 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5766 (_G_stat64): Likewise.
5767 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5768 (_G_stat64): Likewise.
5769 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5770 instead of struct _G_stat64.
5771 * libio/fileops.c (mmap_remap_check): Likewise.
5772 (decide_maybe_mmap): Likewise.
5773 (_IO_new_file_seekoff): Likewise.
5774 (_IO_file_stat): Likewise.
5775 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5776 _G_off64_t.
5777 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5778 instead of struct _G_stat64.
5779 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5780
57e605ba
MK
57812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5782
5783 [BZ #14602]
5784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5785 Replace with ...
5786 (CHECK_EOL): New macro.
5787 (two_way_short_needle): Check beginning of haystack for EOL. Use
5788 CHECK_EOL.
5789 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5790 Replace with CHECK_EOL.
5791 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5792 Replace with CHECK_EOL.
5793
ef1bb361
JM
57942012-10-08 Joseph Myers <joseph@codesourcery.com>
5795
5796 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5797 type-generic.
5798 * math/libm-test.inc: Update comment listing what functions and
5799 macros are tested.
5800 (finite_test): New function.
5801 (isinf_test): Likewise.
5802 (isnan_test): Likewise.
5803 (fpclassify_test): Test subnormal input.
5804 (isfinite_test): Likewise.
5805 (isnormal_test): Likewise.
5806 (main): Call the new functions.
5807
55f11534
JN
58082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5809
5810 [BZ #14660]
5811 * Makerules (%.dynsym): Force C locale when running
5812 $(OBJDUMP) --dynamic-syms.
5813
1ab29350
AS
58142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5817 <stdint.h>.
5818
f1ecb7ef
DM
58192012-10-06 David S. Miller <davem@davemloft.net>
5820
5821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5822 upper 32-bits of the length value in %o2 since we use branch-on-register
5823 tests which consider the entire 64-bit register.
5824
5d41d91a
L
58252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5826
5827 * string/test-strstr.c (check2): Add a test for page boundary.
5828
3baddb72
DM
58292012-10-05 David S. Miller <davem@davemloft.net>
5830
5831 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5833 file.
5834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5835 sysdep_routines.
5836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5837 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5838 and bzero when HWCAP_SPARC_CRYPTO is present.
5839
9cee5585
L
58402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5841
d7e0dab9
L
5842 [BZ #14602]
5843 * string/test-strstr.c (check2): New function.
5844 (test_main): Call check2.
5845
03759f47
L
5846 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5847 and bug-strchr1.
5848 * string/bug-strcasestr1.c (do_test): Moved to ...
5849 * string/test-strcasestr.c (check1): Here. New function.
5850 (do_one_test): Break out result checking code into ...
5851 (check_result): This. New function.
5852 (do_one_test): Call check_result.
5853 (test_main): Call check1.
5854 * string/bug-strchr1.c (do_test): Moved to ...
5855 * string/test-strchr.c (check1): Here. New function.
5856 (do_one_test): Break out result checking code into ...
5857 (check_result): This. New function.
5858 (do_one_test): Call check_result.
5859 (test_main): Call check1.
5860 * string/bug-strstr1.c (main): Moved to ...
046f153e 5861 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5862 (do_one_test): Break out result checking code into ...
5863 (check_result): This. New function.
5864 (do_one_test): Call check_result.
5865 (test_main): Call check1.
5866 * string/bug-strcasestr1.c: Removed.
5867 * string/bug-strchr1.c: Likewise.
5868 * string/bug-strstr1.c: Likewise.
5869
53cea63e
L
5870 * elf/Makefile (dl-routines): Add hwcaps.
5871 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5872 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5873 (_dl_important_hwcaps): Moved to ...
5874 * elf/dl-hwcaps.c: Here. New file.
5875 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5876
9cee5585 5877 [BZ #14557]
bb859b06
L
5878 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5879 if IS_IN_rtld isn't defined.
5880
9cee5585
L
5881 * elf/dl-support.c (_dl_sysinfo_map): New.
5882 Include "get-dynamic-info.h" and "setup-vdso.h".
5883 (_dl_non_dynamic_init): Call setup_vdso.
5884 * elf/dynamic-link.h: Don't include <assert.h>.
5885 (elf_get_dynamic_info): Moved to ...
5886 * elf/get-dynamic-info.h: Here. New file.
5887 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5888 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5889 * elf/setup-vdso.h: Here. New file.
5890 * elf/rtld.c: Include "setup-vdso.h".
5891 (dl_main): Call setup_vdso.
5892
23c31b76
JM
58932012-10-05 Joseph Myers <joseph@codesourcery.com>
5894
28234b07
JM
5895 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5896 creal in comment listing functions tested. List finite, isinf,
5897 isnan, isless, islessequal, isgreater, isgreaterequal,
5898 islessgreater, isunordered, lgamma_r and pow10 as functions and
5899 macros not tested. Mention which functions not tested are aliases
5900 for other functions. Fix typo. Note that signs of NaNs are not
5901 tested.
5902
23c31b76
JM
5903 * scripts/config.guess: Update from config.git.
5904 * scripts/config.sub: Likewise.
5905
9043e228
RM
59062012-10-04 Roland McGrath <roland@hack.frob.com>
5907
5908 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5909 * misc/madvise.c (madvise): Renamed to __madvise.
5910 Make madvise a weak alias.
5911 * include/sys/mman.h: Declare __madvise.
5912 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5913 * sysdeps/unix/syscalls.list
5914 (madvise): Make __madvise the strong name, and madvise a weak alias.
5915 * sysdeps/unix/sysv/linux/syscalls.list
5916 (madvise, mmap): Remove redundant entries.
5917 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5918 * malloc/malloc.c (mtrim): Likewise.
5919 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5920
f57f8055
RM
59212012-10-03 Roland McGrath <roland@hack.frob.com>
5922
5923 * sysdeps/mach/hurd/dl-cache.c: File removed.
5924 * config.h.in (USE_LDCONFIG): New #undef.
5925 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5926 * configure: Regenerated.
5927 * elf/Makefile (dl-routines): Add dl-cache only under
5928 [$(use-ldconfig) = yes].
5929 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5930 cache on [USE_LDCONFIG].
5931 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5932 [USE_LDCONFIG].
5933 * elf/rtld.c (dl_main): Likewise.
5934
5bb0c10a
PT
59352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5936
5937 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5938 _SC_LEVEL4_CACHE_LINESIZE.
5939
010188c6
RM
59402012-10-03 Roland McGrath <roland@hack.frob.com>
5941
5942 * sysdeps/unix/bsd/confstr.h: File removed.
5943
b6c5ec07
AO
59442012-10-02 Alexandre Oliva <aoliva@redhat.com>
5945
5946 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5947 sys/sdt-config.h.
5948
408223d4
RM
59492012-10-02 Roland McGrath <roland@hack.frob.com>
5950
5951 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5952 Make 'mapoff' field ElfW(Off) rather than off_t.
5953
bb9510dc
DL
59542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5955
fc997c6e
DL
5956 * nscd/Makefile: Remove nscd-cflags and all its users.
5957 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5958 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5959
bb9510dc
DL
5960 [BZ #10631]
5961 * malloc.c (malloc_printerr): Clarify error message.
5962
05699367
L
59632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 [BZ #14648]
5966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5967 Set bit_FMA_Usable if FMA is supported.
5968 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5969 macro.
5970 (bit_FMA4_Usable): Updated.
5971 (index_FMA_Usable): New macro.
5972 (CPUID_FMA): Likewise
5973 (HAS_FMA): Defined with bit_FMA_Usable.
5974
51367701
RM
59752012-10-01 Roland McGrath <roland@hack.frob.com>
5976
5977 * bits/types.h (__swblk_t): Type removed.
5978 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5979 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5981 (__SWBLK_T_TYPE): Likewise.
5982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5983 (__SWBLK_T_TYPE): Likewise.
5984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5985 (__SWBLK_T_TYPE): Likewise.
5986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5987 (__SWBLK_T_TYPE): Likewise.
5988
4d57bf63 59892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5990 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5991
5992 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5993 (xdr_mapname): Use YPMAXMAP as maxsize.
5994 (xdr_peername): Use YPMAXPEER as maxsize.
5995 (xdr_keydat): Use YPAXRECORD as maxsize.
5996 (xdr_valdat): Use YPMAXRECORD as maxsize.
5997
93c65d43
RM
59982012-10-01 Roland McGrath <roland@hack.frob.com>
5999
497a03d6
RM
6000 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6001
93c65d43
RM
6002 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6003 * csu/init-first.c: ... here.
6004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6005 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6006 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6008 * sysdeps/i386/init-first.c: File removed.
6009 * sysdeps/sh/init-first.c: File removed.
6010
bec749fd
JM
60112012-10-01 Joseph Myers <joseph@codesourcery.com>
6012
6013 [BZ #14645]
6014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6015 if x * y might underflow to zero and z is zero.
6016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6018 * math/libm-test.inc (min_subnorm_value): New variable.
6019 (fma_test): Add more tests.
6020 (fma_test_towardzero): Likewise.
6021 (fma_test_downward): Likewise
6022 (fma_test_upward): Likewise.
6023 (initialize): Set min_subnorm_value.
6024
8ec5b013
JM
60252012-09-29 Joseph Myers <joseph@codesourcery.com>
6026
6027 [BZ #14638]
6028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6029 0 + 0.
6030 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6031 mode for addition resulting in exact zero.
6032 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6034 exact 0 + 0.
6035 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6037 * math/libm-test.inc (fma_test): Add more tests.
6038 (fma_test_towardzero): New function.
6039 (fma_test_downward): Likewise.
6040 (fma_test_upward): Likewise.
6041 (main): Call the new functions.
6042
b1fa802e
DM
60432012-09-28 David S. Miller <davem@davemloft.net>
6044
6045 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6046
d3b9fd9e
RM
60472012-09-28 Roland McGrath <roland@hack.frob.com>
6048
ea4d37b3
RM
6049 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6050 instead of SIGALRM.
6051
ac51c949
RM
6052 * sysdeps/gnu/_G_config.h: Moved to ...
6053 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6054 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6055 * sysdeps/generic/_G_config.h: ... here.
6056
28c195f7
RM
6057 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6058
848917f9
RM
6059 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6060
6bacf05b
RM
6061 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6062 Conditionalize target on [libnss_test1.so-version].
6063
91363dbb
RM
6064 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6065
cc87f7d8
RM
6066 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6067 (elfobjdir): Move out of conditionals.
6068
b1c608fe
RM
6069 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6070 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6071 (__nss_lookup_function): Conditionalize label remove_from_tree on
6072 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6073
1d9a6d96
DM
60742012-09-28 David S. Miller <davem@davemloft.net>
6075
6076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6078 file.
6079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6080 sysdep_routines.
6081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6083 when HWCAP_SPARC_CRYPTO is present.
6084
72581615
PT
60852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6086
6087 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6088
715a900c
JL
60892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6090
6091 [BZ #6530]
6092 * stdio-common/vfprintf.c (process_string_arg): Revert
6093 2000-07-22 change.
6094
60952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6096
6097 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6098 for testcase.
6099 * stdio-common/tst-sprintf.c: Include <locale.h>
6100 (main): Test sprintf's handling of incomplete multibyte
6101 characters.
6102
9bac1d86
L
61032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6104
6105 * elf/dl-runtime.c (VERSYMIDX): Removed.
6106 * elf/dl-version.c (VERSYMIDX): Likewise.
6107 * elf/do-rel.h (VERSYMIDX): Likewise.
6108 (VALIDX): Likewise.
6109 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6110 * elf/rtld.c (VALIDX): Likewise.
6111 (ADDRIDX): Likewise.
9bac1d86
L
6112 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6113 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6114 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6115 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6116 (VALIDX): Likewise.
6117 (ADDRIDX): Likewise.
9bac1d86 6118
b31606c0
PT
61192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6120
6121 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6122
11541177
JL
61232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6124
6125 [BZ #11438]
6126 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6127 to global scope.
6128 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6129 addresses are in the same scope as 192.0.2/24.
6130 * posix/gai.conf: Document new scope table defaults.
6131
adb26fae
SP
61322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6133
6134 [BZ #5298]
6135 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6136 for ftell. Compute offsets from write pointers instead.
6137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6138
4573c6b0
SP
61392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
6141 [BZ #14543]
6142 * libio/Makefile (tests): New test case tst-fseek.
6143 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6144 combination works in wide mode.
6145 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6146 state when the external buffer state changes.
6147
aa9bbfe6
DM
61482012-09-27 David S. Miller <davem@davemloft.net>
6149
6150 [BZ #14376]
6151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6152 pass reloc->r_addend in as the 'high' argument to
6153 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6154
784421e7
DM
6155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6156
c39bc8b8
PT
61572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6158
6159 * rt/tst-aio2.c: Include <pthread.h>.
6160 * rt/tst-aio3.c: Likewise.
6161
1ccc2399
SE
61622012-09-27 Steve Ellcey <sellcey@mips.com>
6163
6164 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6165
31ed4153
L
61662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6167
25f5f885
L
6168 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6169 contents on [SHARED].
31ed4153 6170
b7bfe116
MP
61712012-09-26 Marek Polacek <polacek@redhat.com>
6172
6173 [BZ #14530]
6174 [BZ #13741]
6175 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6176 for C++ and GCC <4.3 as well as for non GCC compilers.
6177
43c4edba
MT
61782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6179
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6181
6a1bf82f
RM
61822012-09-25 Roland McGrath <roland@hack.frob.com>
6183
6184 * Makefile.in (all, install): Declare with .PHONY.
6185 Reported by Michael Hope <michael.hope@linaro.org>.
6186
8ad11b9a
TMQMF
61872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6188
6189 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6190 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6191 system header.
6192 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6193 Likewise.
6194 (sydep_routines): Add the new and the internal functions.
6195 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6196 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6198 (GLIBC_2.17): Add the new function.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6200 (GLIBC_2.17): Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6202 (GLIBC_2.17): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6204 (GLIBC_2.17): Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6206
7e2fca8d
AM
62072012-09-25 Alan Modra <amodra@gmail.com>
6208
6209 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6210 Add release barrier before setting once_control to say
6211 initialisation is done. Add hints on lwarx. Use macro in
6212 place of isync.
6213 (clear_once_control): Add release barrier.
6214
b87c4b24
JM
62152012-09-25 Joseph Myers <joseph@codesourcery.com>
6216
d032e0d2
JM
6217 [BZ #13629]
6218 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6219 specially.
6220 * math/s_clog10.c (__clog10): Likewise.
6221 * math/s_clog10f.c (__clog10f): Likewise.
6222 * math/s_clog10l.c (__clog10l): Likewise.
6223 * math/s_clogf.c (__clogf): Likewise.
6224 * math/s_clogl.c (__clogl): Likewise.
6225 * math/Makefile (libm-calls): Add x2y2m1.
6226 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6227 (__x2y2m1): Likewise.
6228 (__x2y2m1l): Likewise.
6229 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6230 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6233 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6234 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6235 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6236 * sysdeps/i386/fpu/libm-test-ulps: Update.
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238
b87c4b24
JM
6239 [BZ #14621]
6240 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6241 int as type of variable DEPTH.
6242 (glob): Use size_t instead of int as type of variables NEWCOUNT
6243 and OLD_PATHC.
6244
6d3bf199
LD
62452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6246
22bf5c17
LD
6247 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6248 Add s_sincosf-sse2.
6249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6250 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6251 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6252 macros for using routine as __sincosf_ia32.
6253 Use macro for function declaration and weak_alias.
6254 * sysdeps/i386/fpu/libm-test-ulps: Update.
6255
6256 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6258
6259 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6260 subnormal argument.
6261 * math/s_cexpf.c (__cexpf): Likewise.
6262 * math/s_csinf.c (__csinf): Likewise.
6263 * math/s_csinhf.c (__csinhf): Likewise.
6264 * math/s_ctanf.c (__ctanf): Likewise.
6265 * math/s_ctanhf.c (__ctanhf): Likewise.
6266 * math/s_ccosh.c (__ccoshf): Likewise.
6267 * math/s_cexp.c (__cexpl): Likewise.
6268 * math/s_csin.c (__csin): Likewise.
6269 * math/s_csinh.c (__csinh): Likewise.
6270 * math/s_ctan.c (__ctan): Likewise.
6271 * math/s_ctanh.c (ctanh): Likewise.
6272 * math/s_ccoshl.c (__ccoshl): Likewise.
6273 * math/s_cexpl.c (__cexpl): Likewise.
6274 * math/s_csinl.c (__csinl): Likewise.
6275 * math/s_csinhl.c (__csinhl): Likewise.
6276 * math/s_ctanl.c (__ctanl): Likewise.
6277 * math/s_ctanhl.c (__ctanhl): Likewise.
6278
203e5603
JM
62792012-09-25 Joseph Myers <joseph@codesourcery.com>
6280
6281 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6282 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6283 (_IO_off_t): Define to __off_t, not _G_off_t.
6284 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6285 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6286 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6287 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6288 type of __dummy and __dummy2 fields.
6289 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6290 (_G_ssize_t): Likewise.
6291 (_G_off_t): Likewise.
6292 (_G_pid_t): Likewise.
6293 (_G_uid_t): Likewise.
6294 (_G_wchar_t): Likewise.
6295 (_G_wint_t): Likewise.
6296 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6297 (_G_ssize_t): Likewise.
6298 (_G_off_t): Likewise.
6299 (_G_pid_t): Likewise.
6300 (_G_uid_t): Likewise.
6301 (_G_wchar_t): Likewise.
6302 (_G_wint_t): Likewise.
6303 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6304 (_G_ssize_t): Likewise.
6305 (_G_off_t): Likewise.
6306 (_G_pid_t): Likewise.
6307 (_G_uid_t): Likewise.
6308 (_G_wchar_t): Likewise.
6309 (_G_wint_t): Likewise.
6310
9fab36eb
SP
63112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6312
6313 * malloc/arena.c: Include malloc-sysdep.h.
6314 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6315 is sufficient to shrink the heap or an unmap is needed.
6316 * sysdeps/generic/malloc-sysdep.h: New file. Define
6317 new function check_may_shrink_heap.
6318 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6319 new function check_may_shrink_heap.
6320
2b4f00d1
SP
63212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6324 comments.
6325
9a9028b1
DL
63262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6327
57c69bef
DL
6328 * catgets/test-gencat.sh: Add "set -e".
6329 * elf/tst-pathopt.sh: Likewise.
6330 * grp/tst_fgetgrent.sh: Likewise.
6331 * iconvdata/run-iconv-test.sh: Likewise.
6332 * intl/tst-gettext.sh: Likewise.
6333 * intl/tst-gettext2.sh: Likewise.
6334 * intl/tst-gettext4.sh: Likewise.
6335 * intl/tst-gettext6.sh: Likewise.
6336 * intl/tst-translit.sh: Likewise.
6337 * io/ftwtest-sh: Likewise.
6338 * libio/test-freopen.sh: Likewise.
6339 * malloc/tst-mtrace.sh: Likewise.
6340 * posix/globtest.sh: Likewise.
6341 * posix/tst-getconf.sh: Likewise.
6342 * posix/wordexp-tst.sh: Likewise.
6343 * stdio-common/tst-printf.sh: Likewise.
6344 * stdio-common/tst-unbputc.sh: Likewise.
6345 * stdlib/tst-fmtmsg.sh: Likewise.
6346 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6347 * catgets/Makefile: Do not specify -e option when running
6348 testsuite shell scripts.
6349 * elf/Makefile: Likewise.
6350 * grp/Makefile: Likewise.
6351 * iconvdata/Makefile: Likewise.
6352 * intl/Makefile: Likewise.
6353 * io/Makefile: Likewise.
6354 * libio/Makefile: Likewise.
6355 * malloc/Makefile: Likewise.
6356 * posix/Makefile: Likewise.
6357 * stdio-common/Makefile: Likewise.
6358 * stdlib/Makefile: Likewise.
6359 * sysdeps/x86_64/Makefile: Likewise.
6360
9a9028b1
DL
6361 * io/ftwtest-sh: Add copyright header.
6362 * posix/globtest.sh: Likewise.
6363 * posix/tst-getconf.sh: Likewise.
6364 * posix/wordexp-tst.sh: Likewise.
6365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6366
ced6f16e
L
63672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6368
94b32c39
L
6369 [BZ #13679]
6370 * Makeconfig (+link): Defined as $(+link-static) if
6371 $(build-shared) isn't yes.
6372 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6373 isn't yes.
6374 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6375
189e935b
L
6376 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6377
ced6f16e
L
6378 [BZ #14562]
6379 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6380 new chunk size with MALLOC_ALIGN_MASK.
6381
a9f8e53a
JM
63822012-09-24 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #5044]
6385 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6386 <rounding-mode.h>.
6387 (__printf_fphex): Determine rounding using get_rounding_mode and
6388 round_away.
6389 * stdio-common/tst-printf-round.c (struct hex_test): New
6390 structure.
6391 (hex_tests): New variable.
6392 (test_hex_in_one_mode): New function.
6393 (do_test): Also run tests for hex float output.
6394
43153109
JM
63952012-09-21 Joseph Myers <joseph@codesourcery.com>
6396
6397 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6398 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6399 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6400 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6402 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6403 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6405
8a26625d
JM
64062012-09-20 Joseph Myers <joseph@codesourcery.com>
6407
6408 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6409 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6410 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6411 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6412
f3fd569c
DL
64132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6414
6415 [BZ #14579]
6416 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6417 mode only.
6418 * elf/tst-rtld-load-self.sh: New test.
6419 * elf/Makefile: Run it.
6420
63bbedd4
JM
64212012-09-18 Joseph Myers <joseph@codesourcery.com>
6422
6423 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6424 (tst-writev-ENV): Remove.
6425 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6426
626f8b6a
CM
64272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6428
6429 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6430
b7aaa4d6
JM
64312012-09-17 Joseph Myers <joseph@codesourcery.com>
6432
6433 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6434 unconditional.
6435 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6436 Likewise.
6437 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6438 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6440 Likewise.
6441
65513990
L
64422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6443
6444 [BZ #14587]
6445 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6446 * config.make.in (have-cpp-asm-debuginfo): Removed.
6447 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6448 * configure: Regenerated.
6449
784761be
JM
64502012-09-14 Joseph Myers <joseph@codesourcery.com>
6451
6452 [BZ #5044]
6453 * stdio-common/printf_fp.c: Include <stdbool.h> and
6454 <rounding-mode.h>.
6455 (___printf_fp): Determine rounding using get_rounding_mode and
6456 round_away.
6457 * stdio-common/tst-printf-round.c: New file.
6458 * stdio-common/Makefile (tests): Add tst-printf-round.
6459 (link-libm): New variable.
6460 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6461
9503345f
L
64622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6463
6464 [BZ #14576]
6465 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6466 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6467 Likewise.
6468 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6469 Likewise.
6470
ad35fc00
JM
64712012-09-13 Joseph Myers <joseph@codesourcery.com>
6472
6473 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6474 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6475 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6477
6c9b0f68
JM
64782012-09-12 Joseph Myers <joseph@codesourcery.com>
6479
6480 [BZ #14518]
6481 * include/rounding-mode.h: New file.
6482 * sysdeps/generic/get-rounding-mode.h: Likewise.
6483 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6484 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6485 (MAX_VALUE): New macro.
6486 (MIN_VALUE): Likewise.
6487 (overflow_value): New function.
6488 (underflow_value): Likewise.
6489 (round_and_return): Use overflow_value and underflow_value to
6490 determine return values in overflow and underflow cases. Use
6491 round_away to determine rounding depending on rounding mode.
6492 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6493 determine return values in overflow and underflow cases.
6494 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6495 (struct test_results): New structure.
6496 (struct test): Use struct test_results to store expected results
6497 for all rounding modes.
6498 (TEST): Include expected results for all rounding modes.
6499 (test_in_one_mode): New function.
6500 (do_test): Use test_in_one_mode to compute and check results.
6501 Check results for all rounding modes.
6502 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6503 $(link-libm).
6504
19fcedd5
AM
65052012-12-09 Allan McRae <allan@archlinux.org>
6506
1e9d84cd 6507 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6508
8bbfd2f1
JM
65092012-09-11 Joseph Myers <joseph@codesourcery.com>
6510
6511 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6512 (_G_int32_t): Likewise.
6513 (_G_uint16_t): Likewise.
6514 (_G_uint32_t): Likewise.
6515 (_G_HAVE_BOOL): Likewise.
6516 (_G_HAVE_ATEXIT): Likewise.
6517 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6518 (_G_HAVE_IO_FILE_OPEN): Likewise.
6519 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6520 (_G_int32_t): Likewise.
6521 (_G_uint16_t): Likewise.
6522 (_G_uint32_t): Likewise.
6523 (_G_HAVE_BOOL): Likewise.
6524 (_G_HAVE_ATEXIT): Likewise.
6525 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6526 (_G_HAVE_IO_FILE_OPEN): Likewise.
6527 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6528 (_G_int32_t): Likewise.
6529 (_G_uint16_t): Likewise.
6530 (_G_uint32_t): Likewise.
6531 (_G_HAVE_BOOL): Likewise.
6532 (_G_HAVE_ATEXIT): Likewise.
6533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6534 (_G_HAVE_IO_FILE_OPEN): Likewise.
6535
b1dc5912
L
65362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 * csu/libc-tls.c: Update copyright years.
6539
0e886ef9
JM
65402012-09-10 Joseph Myers <joseph@codesourcery.com>
6541
28361c5e
JM
6542 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6543 [!_G_USING_THUNKS]: Remove conditional code.
6544 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6545 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6546
0e886ef9
JM
6547 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6548 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6549 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6550 (_G_VTABLE_LABEL_PREFIX): Likewise.
6551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6552 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6553 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6554 (_G_VTABLE_LABEL_PREFIX): Likewise.
6555 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6556 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6558 (_G_VTABLE_LABEL_PREFIX): Likewise.
6559 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6560
bcba7aa2
L
65612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * libio/Makefile: Include ../Makeconfig before tests.
6564 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6565 only if $(build-shared) is yes.
6566
06585ee8
L
6567 * iconv/gconv_db.c: Update copyright years.
6568
80ccd52c
LD
65692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6570
6571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6572 unwind info if defined PIC. Fix special cases description.
6573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6574
6575 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6576 DP_HI_MASK entry.
6577 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6578
691bc9c1
L
65792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6580
3d9b46b3
L
6581 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6582
de2139a9
L
6583 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6584 is NULL.
6585
5ca78dd0
L
6586 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6587 (LDLIBS-tst-chk4): This.
6588 (LDFLAGS-tst-chk5): Renamed to ...
6589 (LDLIBS-tst-chk5): This.
6590 (LDFLAGS-tst-chk6): Renamed to ...
6591 (LDLIBS-tst-chk6): This.
6592 (LDFLAGS-tst-lfschk4): Renamed to ...
6593 (LDLIBS-tst-lfschk4): This.
6594 (LDFLAGS-tst-lfschk5): Renamed to ...
6595 (LDLIBS-tst-lfschk5): This.
6596 (LDFLAGS-tst-lfschk6): Renamed to ...
6597 (LDLIBS-tst-lfschk6): This.
6598
691bc9c1
L
6599 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6600 on $(common-objpfx)soversions.mk.
6601
65cafb1c
JM
66022012-09-07 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #10014]
6605 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6606 example host name.
6607
c78ab094
SP
66082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6609
6610 * malloc/arena.c (arena_get_retry): New function that gets
6611 another arena for the caller to try its request on.
6612 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6613 current arena cannot fulfill the request.
6614 (__libc_memalign): Likewise.
6615 (__libc_memalign): Likewise.
6616 (__libc_pvalloc): Likewise.
6617 (__libc_calloc): Likewise.
6618
01f49f59
JT
66192012-09-05 John Tobey <john.tobey@gmail.com>
6620
6621 [BZ #13542]
6622 * manual/arith.texi (Operations on Complex): Fix description
6623 of carg branch cut.
6624
4c23fed5
JM
66252012-09-06 Joseph Myers <joseph@codesourcery.com>
6626
1d3c8572
JM
6627 [BZ #10014]
6628 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6629 host name.
6630
4c23fed5
JM
6631 [BZ #10038]
6632 * manual/memory.texi (Memory): Make order of menu items match
6633 order of sections.
6634
04570aaa
L
66352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6638 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6639 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6640
b80af2f4
L
66412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6642
6643 * csu/libc-tls.c (static_dtv): Renamed to ...
6644 (_dl_static_dtv): This. Make it global.
6645 (_dl_initial_dtv): Removed.
6646 (__libc_setup_tls): Updated.
6647 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6648 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6649 DL_INITIAL_DTV.
6650
2abe9f15
PM
66512012-09-06 Petr Machata <pmachata@redhat.com>
6652
6653 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6654 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6655 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6656 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6657
0948c3af
L
66582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 [BZ #14545]
6661 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6662 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6663 freeing dtv[-1].
6664
a5055ad1
L
66652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6666
6667 [BZ #14544]
6668 * Makeconfig (link-static-before-libc): Replace $(+prector)
6669 with $(+prectorT).
6670 (link-static-after-libc): Replace $(+postctor) with
6671 $(+postctorT).
6672 (link-bounded): Replace $(+prector)/$(+postctor) with
6673 $(+prectorT)/$(+postctorT).
6674 (+prectorT): New macro.
6675 (+postctorT): Likewise.
6676
ed8c2ecd
JM
66772012-09-06 Joseph Myers <joseph@codesourcery.com>
6678
6679 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6680 (round_str): Handle values above the maximum for IBM long double
6681 as inexact.
6682 * stdlib/tst-strtod-round.c (tests): Regenerated.
6683
14c996c8
AK
66842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6685
6686 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6687 assembler flag.
6688 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6689 zarch_nohighgprs around the zarch optimized routines.
6690 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6691 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6693 for zarch.
6694
430d6ce6
DM
66952012-09-05 David S. Miller <davem@davemloft.net>
6696
6697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6698
ff04dda4
DM
6699 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6700 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6701 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6703 entries.
6704
24d4e01b
AO
67052012-09-05 Alexandre Oliva <aoliva@redhat.com>
6706
6707 * malloc/arena.c: Fold copyright years.
6708 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6709
61d58174
AO
67102012-09-05 Alexandre Oliva <aoliva@redhat.com>
6711
6712 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6713
20196a5e
AO
67142012-09-05 Alexandre Oliva <aoliva@redhat.com>
6715
6716 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6717
5c447383
AO
67182012-09-05 Alexandre Oliva <aoliva@redhat.com>
6719
6720 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6721 change internal state upon failure.
6722
fad64255
AO
67232012-09-05 Alexandre Oliva <aoliva@redhat.com>
6724
6725 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6726 * malloc/memusage.c (mmap): Likewise.
6727 (mmap64, mremap): Likewise. Adjust name in comment.
6728
1ffb8c90
SP
67292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6730
6731 * libio/fileops.c: Fix typos in comments.
6732 * libio/oldfileops.c: Likewise.
6733 * libio/wfileops.c: Likewise.
6734
6ef9cc37
SP
67352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
6737 [BZ #1349]
6738 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6739 (tst-malloc-usable-ENV): Set environment for test case.
6740 * malloc/hooks.c (malloc_check_get_size): New function to get
6741 requested size.
6742 * malloc/malloc.c (musable): Use malloc_check_get_size.
6743 * malloc/tst-malloc-usable.c: New test case.
6744
4d038ae3
AS
67452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6746
6747 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6748
c4e85184
AM
67492012-09-05 Allan McRae <allan@archlinux.org>
6750
b9dafc56 6751 [BZ #13966]
c4e85184
AM
6752 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6753 determine header location.
6754 * configure: Regenerated.
6755
e1343020
AS
67562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6757
6758 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6759 float format.
6760 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6761 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6762 format.
e1343020
AS
6763 (test): Regenerate.
6764
0a9f1987
DM
67652012-09-04 David S. Miller <davem@davemloft.net>
6766
6767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6770
29237804
FW
67712012-09-04 Florian Weimer <fweimer@redhat.com>
6772
6773 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6774 failures.
6775
edb3cb88
FW
6776 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6777
60160d83
JM
67782012-09-04 Joseph Myers <joseph@codesourcery.com>
6779
6780 [BZ #9914]
6781 * libio/iogetdelim.c: Include <limits.h>.
6782 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6783 + len + 1 would overflow.
6784
bcd6c8dc
AJ
67852012-09-03 Andreas Jaeger <aj@suse.de>
6786
6787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6788 * sysdeps/i386/fpu/libm-test-ulps: Update.
6789
4ffffbd2
LD
67902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6791
6792 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6793 Add s_sinf-sse2, s_conf-sse2.
6794
6795 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6797 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6798 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6799
6800 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6801 for using routine as __sinf_ia32.
6802 Use macro for function declaration and weak_alias.
6803 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6804 for using routine as __cosf_ia32.
6805 Use macro for function declaration and weak_alias.
6806
6807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6808 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6809
6810 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6811 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6813
6814 * math/libm-test.inc (cos_test): Add more test cases.
6815 (sin_test): Likewise.
6816 (sincos_test): Likewise.
6817
511fa286
AK
68182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6819
6820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6821 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6822 hidden.
6823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6824
5f30cfec
L
68252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 [BZ #14538]
6828 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6829 first element of the GOT.
6830 (elf_machine_load_address): Return the difference between
6831 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6832
0786794f
AM
68332012-09-01 Allan McRae <allan@archlinux.org>
6834
5f30cfec
L
6835 [BZ #13412]
6836 * configure.in (AWK): Require gawk version 3.0 or later.
6837 * configure: Regenerated.
0786794f 6838
26889eac
JM
68392012-09-01 Joseph Myers <joseph@codesourcery.com>
6840
6841 * sysdeps/unix/sysv/linux/kernel-features.h
6842 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6844 [__NR_clock_getres]: Make code unconditional.
6845 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6846 (clock_getcpuclockid): Remove code left unreachable by removal of
6847 conditionals.
6848 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6849 code unconditional.
6850 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6851 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6852 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6853 Make code unconditional.
6854 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6855 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6856 * sysdeps/unix/sysv/linux/clock_settime.c
6857 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6858 conditional code.
6859 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6861
d22e28b0
L
68622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6863
6864 [BZ #14476]
6865 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6866 scripts/test-installation.pl.
6867
6868 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6869 and $ld_so_version if it is set.
6870
050af9c4
SP
68712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6872
6873 [BZ #14516]
6874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6875 failure if reading from procfs failed.
6876 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6877
ad845c0b
JM
68782012-08-27 Joseph Myers <joseph@codesourcery.com>
6879
6880 * sysdeps/unix/sysv/linux/kernel-features.h
6881 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6882 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6883 Remove conditional code.
6884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6885 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6886 Remove conditional code.
6887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6888 * sysdeps/unix/sysv/linux/i386/fxstat.c
6889 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6891 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6894 * sysdeps/unix/sysv/linux/i386/lxstat.c
6895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6897 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6898 Remove conditional code.
6899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6900 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6901 Remove conditional code.
6902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6904 <kernel-features.h>.
6905 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6906 Remove.
6907 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6908 Remove conditional code.
6909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6910 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6911 Remove conditional.
6912
5dbf56af
MF
69132012-08-27 Mike Frysinger <vapier@gentoo.org>
6914
6915 [BZ #5400]
6916 * NEWS: Add fixed bug number.
6917
d6e70f43
JM
69182012-08-27 Joseph Myers <joseph@codesourcery.com>
6919
7efb4737
JM
6920 [BZ #14519]
6921 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6922 underflowing exponent in case of negative sign.
6923 * stdlib/tst-strtod-round-data: Add more tests.
6924 * stdlib/tst-strtod-round.c (tests): Regenerated.
6925
af92131a
JM
6926 [BZ #3479]
6927 * stdlib/strtod_l.c (NDIG): Remove.
6928 (HEXNDIG): Likewise.
6929 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6930 smallest representable value.
6931 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6932 lie within an exact representation of 1/2 ulp of the result.
6933 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6934 unconditionally.
6935 (TENS_P9_IDX): Define unconditionally.
6936 (TENS_P9_SIZE): Likewise.
6937 (TENS_P10_IDX): Likewise.
6938 (TENS_P10_SIZE): Likewise.
6939 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6940 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6942 entries for 10^2^13 and 10^2^14.
6943 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6944 (TENS_P13_IDX): Define.
6945 (TENS_P13_SIZE): Likewise.
6946 (TENS_P14_IDX): Likewise.
6947 (TENS_P14_SIZE): Likewise.
6948 (_fpioconst_pow10): Change array size to
6949 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6950 unconditional.
6951 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6952 1024]: Add entries for 10^2^13 and 10^2^14.
6953 [LAST_POW10 > _LAST_POW10]: Remove #error.
6954 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6955 (_fpioconst_pow10): Change array size to
6956 FPIOCONST_POW10_ARRAY_SIZE.
6957 * stdlib/gen-fpioconst.c: New file.
6958 * stdlib/gen-tst-strtod-round.c: Likewise.
6959 * stdlib/tst-strtod-round-data: Likewise.
6960 * stdlib/tst-strtod-round.c: Likewise.
6961 * stdlib/Makefile (tests): Add tst-strtod-round.
6962
d6e70f43
JM
6963 [BZ #14459]
6964 * stdlib/strtod_l.c: Include <stdint.h>.
6965 (NDEBUG): Do not define.
6966 (round_and_return): Change EXPONENT parameter to type intmax_t.
6967 Rearrange calculations to avoid internal overflow possibilities.
6968 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6969 Rearrange calculations to avoid internal overflow possibilities.
6970 Assert that number fits inside MPNSIZE limbs.
6971 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6972 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6973 calculations and add assertions to avoid internal overflow
6974 possibilities. Add casts to avoid signed/unsigned operations.
6975 * stdlib/tst-strtod-overflow.c: New file.
6976 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6977
1f529f7d
MP
69782012-08-25 Marek Polacek <polacek@redhat.com>
6979
6980 * time/time.h: Fix some typos in comments.
6981
59a629f1
RM
69822012-08-23 Roland McGrath <roland@hack.frob.com>
6983
6984 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6985 * posix/tst-rfc3484-2.c: Likewise.
6986 * posix/tst-rfc3484-3.c: Likewise.
6987
d3bafbc9
SM
69882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6989
6990 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6991 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6992
4efcc022
JM
69932012-08-23 Joseph Myers <joseph@codesourcery.com>
6994
6995 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6996 #include of fxstatat64.c.
6997
3cc3ef96
RM
69982012-08-22 Roland McGrath <roland@hack.frob.com>
6999
f04e2132
RM
7000 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7001 * shadow/getspent_r.c: Likewise.
7002 * shadow/getspnam.c: Likewise.
7003 * shadow/getspnam_r.c: Likewise.
7004 * gshadow/getsgent.c: Likewise.
7005 * gshadow/getsgent_r.c: Likewise.
7006 * gshadow/getsgnam.c: Likewise.
7007 * gshadow/getsgnam_r.c: Likewise.
7008 * inet/getnetbyad.c: Likewise.
7009 * inet/getnetbyad_r.c: Likewise.
7010 * inet/getnetbynm.c: Likewise.
7011 * inet/getnetbynm_r.c: Likewise.
7012 * inet/getnetent.c: Likewise.
7013 * inet/getnetent_r.c: Likewise.
7014 * inet/getproto.c: Likewise.
7015 * inet/getproto_r.c: Likewise.
7016 * inet/getprtent.c: Likewise.
7017 * inet/getprtent_r.c: Likewise.
7018 * inet/getprtname.c: Likewise.
7019 * inet/getprtname_r.c: Likewise.
7020 * inet/getrpcbyname.c: Likewise.
7021 * inet/getrpcbyname_r.c: Likewise.
7022 * inet/getrpcbynumber.c: Likewise.
7023 * inet/getrpcbynumber_r.c: Likewise.
7024 * inet/getrpcent.c: Likewise.
7025 * inet/getrpcent_r.c: Likewise.
7026 * inet/getaliasent.c: Likewise.
7027 * inet/getaliasent_r.c: Likewise.
7028 * inet/getaliasname.c: Likewise.
7029 * inet/getaliasname_r.c: Likewise.
7030 * nscd/getgrgid_r.c: Likewise.
7031 * nscd/getgrnam_r.c: Likewise.
7032 * nscd/gethstbyad_r.c: Likewise.
7033 * nscd/gethstbynm3_r.c: Likewise.
7034 * nscd/getpwnam_r.c: Likewise.
7035 * nscd/getpwuid_r.c: Likewise.
7036 * nscd/getsrvbynm_r.c: Likewise.
7037 * nscd/getsrvbypt_r.c: Likewise.
7038 * nscd/gai.c: Likewise.
7039
c53d909c
RM
7040 * configure.in (build_nscd): New substituted variable, set
7041 by --disable-build-nscd and defaults to $use_nscd.
7042 * configure: Regenerated.
7043 * config.make.in (build-nscd): New substituted variable.
7044 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7045 Change conditional to require [$(build-nscd) = yes] as well.
7046 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7047
3cc3ef96
RM
7048 [BZ# 13696]
7049 * configure.in (use_nscd): New substituted variable, set by
7050 --disable-nscd. If enabled, define USE_NSCD.
7051 * configure: Regenerated.
7052 * config.h.in: Add USE_NSCD.
7053 * config.make.in (use-nscd): New substituted variable.
7054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7055 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7056 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7057 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7058 (CFLAGS-getgrnam_r.c): Likewise.
7059 (CFLAGS-initgroups.c): Likewise.
7060 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7061 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7062 Variables removed.
7063 * inet/getnetgrent_r.c
7064 (nscd_setnetgrent): New function, broken out of ...
7065 (setnetgrent): ... here. Call it.
7066 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7067 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7068 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7069 * nscd/Makefile (routines, aux): Move definitions after include of
7070 Makeconfig. Conditionalize on [$(use-nscd) != no].
7071 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7072 Conditionalize on [USE_NSCD].
7073 (is_nscd, nscd_init_cb): Likewise.
7074 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7075 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7076 * nss/nss_db/db-init.c: Likewise.
7077 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7078 [USE_NSCD].
7079 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7080 (make_request): Use it.
7081 (cache_valid_p): New function.
7082 (__check_pf): Use it.
7083 * NEWS: Add item for --disable-nscd.
7084
07e51550
DL
70852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7086
7087 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7088 to support sed >= 4.2.1-20-ga9bf076.
7089 * configure: Regenerated.
7090
35a5b08b
RM
70912012-08-22 Roland McGrath <roland@hack.frob.com>
7092
7093 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7094 Conditionalize whole body on [IREL].
7095
8479f23a
JL
70962012-08-22 Jeff Law <law@redhat.com>
7097
7098 [BZ #14505]
7099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7100 if the family is PF_UNSPEC.
7101
48da0b21
MF
71022012-08-22 Mike Frysinger <vapier@gentoo.org>
7103
7104 * Makerules (lib-version): Rename from V.
7105 (install-lib-nosubdir): Change V to lib-version.
7106
15d0da8c
WS
71072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7108
7109 [BZ #14252]
7110 * powerpc32/power6/wcschr.c: New file.
7111 * powerpc32/power6/wcscpy.c: New file.
7112 * powerpc32/power6/wcsrchr.c: New file.
7113 * powerpc64/power6/wcschr.c: New file.
7114 * powerpc64/power6/wcscpy.c: New file.
7115 * powerpc64/power6/wcsrchr.c: New file.
7116
bcca0895
MK
71172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7118
7119 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7120 (two_way_short_needle): Use it.
5a4aaa33
RM
7121 * string/strstr.c (AVAILABLE1_USES_J): Define.
7122 * string/strcasestr.c: Likewise.
99677e57
MK
7123
7124 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7125 array references.
7126 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7127
400726de
MK
7128 [BZ #11607]
7129 * NEWS: Add an entry.
7130 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7131 define their defaults.
7132 (two_way_short_needle): Detect end-of-string on-the-fly.
7133 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7134 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7135 * string/bug-strcasestr1.c: New test.
7136 * string/Makefile: Run it.
7137
20a71f2c
MK
71382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7139
7140 [BZ #11607]
7141 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7142 the first character.
7143
21ad0558
RM
71442012-08-21 Roland McGrath <roland@hack.frob.com>
7145
7146 * csu/elf-init.c (__libc_csu_irel): Function removed.
7147 * csu/libc-start.c (apply_irel): New function.
7148 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7149
0e1d9911
JM
71502012-08-21 Joseph Myers <joseph@codesourcery.com>
7151
7152 * sysdeps/unix/sysv/linux/kernel-features.h
7153 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7155 <kernel-features.h>.
7156 [__NR_fadvise64_64]: Make code unconditional.
7157 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7158 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7159 !__NR_fadvise64_64)]: Likewise.
7160 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7161 !__NR_fadvise64_64))]: Likewise.
7162 [__NR_fadvise64]: Make code unconditional.
7163 [!__NR_fadvise64]: Remove conditional code.
7164 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7165 <kernel-features.h>.
7166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7167 unconditional.
7168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7169 conditional code.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7171 not include <kernel-features.h>.
7172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7173 unconditional.
7174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7175 conditional code.
7176 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7177 include <kernel-features.h>.
7178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7179 unconditional.
7180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7181 conditional code.
7182
14a50c9d
WS
71832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7184
7185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7186 slight instruction rearrangements per scrollpipe analysis.
7187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7188
c0f4faf0
RM
71892012-08-20 Roland McGrath <roland@hack.frob.com>
7190
696da859
RM
7191 * manual/syslog.texi (syslog; vsyslog, closelog):
7192 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7193 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7194
c0f4faf0
RM
7195 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7196 DSOCAPS to match condition on defining it.
7197
348363b2
JM
71982012-08-20 Joseph Myers <joseph@codesourcery.com>
7199
a35cbf28
JM
7200 * sysdeps/unix/sysv/linux/kernel-features.h
7201 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7203 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7204 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7211
445f7ecd
JM
7212 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7213 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7214
348363b2
JM
7215 * sysdeps/unix/sysv/linux/kernel-features.h
7216 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7217 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7218 unconditional.
7219 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7220 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7223 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7224 Make code unconditional.
7225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7226 (__mmap64) [!__NR_mmap2]: Likewise.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7228 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7229 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7231 [__NR_mmap2]: Make code unconditional.
7232 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7233 (__mmap64) [!__NR_mmap2]: Likewise.
7234
bc5bc0e5
AK
72352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7236
7237 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7238
88d506de
AJ
72392012-08-18 Andreas Jaeger <aj@suse.de>
7240
7241 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7242
493387d2
MF
72432012-08-18 Mike Frysinger <vapier@gentoo.org>
7244
7245 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7246 * include/unistd.h (__have_sock_cloexec): Likewise.
7247 (__have_pipe2): Likewise.
7248 (__have_dup3): Likewise.
7249
a277af22
MF
72502012-08-18 Mike Frysinger <vapier@gentoo.org>
7251
7252 [BZ #9685]
7253 * include/unistd.h (__have_pipe2): Change define into an extern int.
7254 (__have_dup3): Likewise.
7255 * socket/have_sock_cloexec.c: Include fcntl.h.
7256 (__have_pipe2): New variable.
7257 (__have_dup3): Likewise.
7258
fdab8fd3
MF
72592012-08-17 Mike Frysinger <vapier@gentoo.org>
7260
7261 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7262
31035e80
MP
72632012-08-17 Marek Polacek <polacek@redhat.com>
7264
7265 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7266 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7267
3bd9e993
RM
72682012-08-17 Roland McGrath <roland@hack.frob.com>
7269
c91c505f
RM
7270 * configure.in: Add AC_SUBST for sysheaders.
7271 * configure: Regenerated.
7272 * config.make.in (sysheaders): New substituted variable.
7273
7c6f9d53
RM
7274 * sysdeps/unix/mkfifo.c: Moved ...
7275 * sysdeps/posix/mkfifo.c: ... here.
7276 * sysdeps/unix/mkfifoat.c: Moved ...
7277 * sysdeps/posix/mkfifoat.c: ... here.
7278
7279 * sysdeps/unix/utime.c: Moved ...
7280 * sysdeps/posix/utime.c: ... here.
7281
7282 * sysdeps/unix/time.c: Moved ...
7283 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7284 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7285 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7286
7287 * sysdeps/unix/nice.c: Moved ...
7288 * sysdeps/posix/nice.c: ... here.
7289
7290 * sysdeps/unix/alarm.c: Moved ...
7291 * sysdeps/posix/alarm.c: ... here.
7292
3bd9e993
RM
7293 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7294
d1f09384
JL
72952012-08-17 Jeff Law <law@redhat.com>
7296
7297 * intl/Makefile (codeset_mo): New variable.
7298 ($(codeset_mo)): New target.
7299 (tst-codeset.out): Depend on that. Remove explicit rule.
7300 (tst-gettext3.out, tst-gettext5.out): Likewise.
7301 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7302 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7303 * intl/tst-codeset.sh: Remove.
7304 * intl/tst-gettext3.sh: Likewise.
7305 * intl/tst-gettext5.sh: Likewise.
7306
2ae1ae5c
RM
73072012-08-17 Roland McGrath <roland@hack.frob.com>
7308
c31fdb83
RM
7309 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7310 * sysdeps/unix/syscalls.list: ... here.
7311
a0844057
RM
7312 * sysdeps/posix/getaddrinfo.c
7313 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7314 (gaiconf_init, gaiconf_reload): Use them.
7315 [!_STATBUF_ST_NSEC]
7316 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7317 Define using time_t rather than struct timespec.
7318
750c1f2a
RM
7319 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7320 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7321 Macros removed.
7322 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7323 [!NO_THREADS].
7324 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7325 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7326 Likewise.
7327
2ae1ae5c
RM
7328 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7329 __libc_cleanup_push argument.
7330
e66a42f5
RM
7331 * bits/param.h: New file.
7332 * misc/sys/param.h: New file.
7333 * include/sys/param.h: New file.
7334 * misc/Makefile (headers): Add bits/param.h.
7335 * sysdeps/generic/sys/param.h: File removed.
7336 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7337 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7338 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7339 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7340
b7c08a66
RM
7341 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7342 last change.
7343
b2e1c562
RM
7344 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7345 [_IO_MTSAFE_IO].
7346 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7347 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7348 New macros.
7349
c75ccd4c
RM
7350 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7351 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7352 rather than -D_IO_MTSAFE_IO conditionally.
7353 * stdio-common/Makefile (CPPFLAGS): Likewise.
7354 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7355 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7356 Use $(libio-mtsafe).
7357 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7358 of -D_IO_MTSAFE_IO.
7359 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7360 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7361 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7362 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7363 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7364 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7365 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7366 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7367 (CFLAGS-fread_u_chk.c): Likewise.
7368 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7369 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7370 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7371 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7372 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7373 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7374 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7375 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7376 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7377
7378 * libio/Makefile: Test [$(libc-reentrant) = yes]
7379 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7380
7381 * Makeconfig
7382 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7383 * sysdeps/pthread/configure: File removed.
7384 * sysdeps/pthread/Makeconfig: New file.
7385 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7386 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7387
d9195db8
GB
73882012-08-16 Gary Benson <gbenson@redhat.com>
7389
7390 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7391 unmapping the first object in a namespace.
7392
86466cd9
RM
73932012-08-16 Roland McGrath <roland@hack.frob.com>
7394
7395 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7396 (__internal_setnetgrent): ... this. Add internal_function to
7397 definition. Add libc_hidden_def.
7398 (setnetgrent): Update caller.
7399 (internal_endnetgrent): Renamed to ...
7400 (__internal_endnetgrent): ... this. Add internal_function to
7401 definition. Add libc_hidden_def.
7402 (endnetgrent): Update caller.
7403 (internal_getnetgrent_r): Renamed to ...
7404 (__internal_getnetgrent_r): ... this. Add internal_function to
7405 definition. Add libc_hidden_def.
7406 (__getnetgrent_r): Update caller.
7407 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7408
c3c8283c
JM
74092012-08-16 Joseph Myers <joseph@codesourcery.com>
7410
7411 * stdlib/longlong.h: Update from GCC.
7412
db1ee0a8
RM
74132012-08-16 Roland McGrath <roland@hack.frob.com>
7414
7415 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7416 on _QL, which is set by umul_ppmm but never used.
7417 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7418 variables, which are set by GMP macros but never used.
7419 * stdio-common/_itowa.c (_itowa): Likewise.
7420 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7421 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7422
30f69637
CD
74232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7424
7425 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7426 struct La_sh_regs is not constant.
7427 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7428 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7429 and struct La_sparc64_regs are not constant.
7430
93a78ac4
JM
74312012-08-16 Joseph Myers <joseph@codesourcery.com>
7432
7433 * sysdeps/unix/sysv/linux/kernel-features.h
7434 (__ASSUME_POSIX_TIMERS): Remove.
7435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7437 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7438 Make code unconditional.
7439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7440 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7441 Make code unconditional.
7442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7443 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7444 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7446 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7447 Make code unconditional.
7448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7450 (__libc_missing_posix_timers): Remove.
7451
dd924cd7
RM
74522012-08-15 Roland McGrath <roland@hack.frob.com>
7453
4b4f2771
RM
7454 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7455 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7456
601c888b
RM
7457 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7458
176790a7
RM
7459 * elf/dl-sym.c: Include <stdlib.h>.
7460
329bc018
RM
7461 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7462 constants, which avoids warnings in 32-bit builds.
7463
e04e272d
RM
7464 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7465 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7466
952bf94a
RM
7467 * misc/lseek.c: File moved to ...
7468 * io/lseek.c: ... here.
7469
7c99b50a
RM
7470 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7471
dd924cd7
RM
7472 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7473 shifting LEN more than 31 bits at once.
7474
b3f479a8
LD
74752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7476
7477 [BZ #14195]
8c4ae0d4
RM
7478 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7479 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7480 * string/test-strncasecmp.c (check1): Renamed to...
7481 (bz12205): ...this.
7482 (bz14195): Add new testcase for two empty input strings and N > 0.
7483 (test_main): Call new testcase, adapt for renamed function.
7484
9c55864e
AJ
74852012-08-15 Andreas Jaeger <aj@suse.de>
7486
7487 [BZ #14090]
7488 * crypt/md5test2.c: New test, based on test supplied by Serge
7489 Belyshev <belyshev@depni.sinp.msu.ru>.
7490 * crypt/Makefile (xtests): Add md5test-giant..
7491 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7492
02dcb6c5
PE
74932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7494
7495 [BZ #14090]
7496 * crypt/md5.c (md5_process_block): Don't assume the buffer
7497 length is less than 2**32.
7498 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7499 length is less than 2**64.
7500
a3f95dcc
RM
75012012-08-15 Roland McGrath <roland@hack.frob.com>
7502
be75d758
RM
7503 * string/str-two-way.h: Include <sys/param.h>.
7504 (MAX): Macro removed.
7505
7312ca90
RM
7506 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7507 Move #define and #undef of memmove to just before and after
7508 including <string.h>.
7509
9a0a5486
RM
7510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7511 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7512 and after including <string.h>. Move declarations of
7513 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7514 to before #include "string/memmove.c".
7515
67cc348d
RM
7516 * include/dirent.h: Declare __getdirentries.
7517
a3f95dcc
RM
7518 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7519 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7520
ca98e171
MF
75212012-08-14 Mike Frysinger <vapier@gentoo.org>
7522
7523 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7524 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7525 * sysdeps/i386/configure: Regenerated.
7526 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7527 STABS_CURRENT_FILE, and STABS_FUN.
7528 (END): Remove call to STABS_FUN_END.
7529 (STABS_CURRENT_FILE1): Delete.
7530 (STABS_CURRENT_FILE): Likewise.
7531 (STABS_FUN): Likewise.
7532 (STABS_FUN_END): Likewise.
7533 (STABS_FUN2): Likewise.
7534 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7535 * sysdeps/x86_64/configure: Regenerated.
7536
5908bf46
RM
75372012-08-14 Roland McGrath <roland@hack.frob.com>
7538
7539 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7540 * elf/dl-lookup.c: Likewise.
5908bf46 7541
f2c05b9e
JM
75422012-08-14 Joseph Myers <joseph@codesourcery.com>
7543
7544 * sysdeps/unix/sysv/linux/kernel-features.h
7545 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7546 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7547 unconditionally.
7548 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7549 unconditionally.
7550 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7551 condition on __ASSUME_CLONE_THREAD_FLAGS.
7552
e11f5155
AJ
75532012-08-14 Andreas Jaeger <aj@suse.de>
7554
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7556
51a9ba86
MK
75572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7558
2fdd4f78
AJ
7559 * include/atomic.h (atomic_exchange_and_add): Split into ...
7560 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7561 New atomic macros.
51a9ba86 7562
ba6cba9e
MT
75632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7564
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7566
42443a47
JL
75672012-08-13 Jeff Law <law@redhat.com>
7568
7569 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7570 null byte in the output string.
7571
121dce05
JM
75722012-08-10 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/unix/sysv/linux/kernel-features.h
7575 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7576 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7577 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7578 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7579 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7580 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7581 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7582
bf51f568
JL
75832012-08-09 Jeff Law <law@redhat.com>
7584
7585 [BZ #13939]
7586 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7587 When avoid_arena is set, don't retry in the that arena. Pick the
7588 next one, whatever it might be.
7589 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7590 (arena_lock): Pass in new parameter to arena_get2.
7591 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7592 arena_get2.
7593 (__libc_malloc): Unify retrying after main arena failure with
7594 __libc_memalign version.
7595 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7596
f85fa270
L
75972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7598
7599 [BZ #14166]
7600 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7601 to __redirect_strstr.
7602 (__strstr_sse42): Use typeof __redirect_strstr.
7603 (__strstr_ia32): Likewise.
7604 (__libc_strstr): New prototype.
7605 (strstr): Renamed to ...
7606 (__libc_strstr): This.
7607 (strstr): New strong alias of __libc_strstr.
7608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7609 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7610 __redirect_time.
7611 Include <time.h>.
7612 (__libc_time): New prototype.
7613 (time_ifunc): Replace time with __libc_time.
7614 (time): New strong alias and hidden definition of __libc_time.
7615 (__GI_time): Remove strong alias.
7616 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7617 Include <stddef.h>.
7618 (memmove): Redefined to __redirect_memmove.
7619 (__memmove_sse2): Use typeof __redirect_memmove.
7620 (__memmove_ssse3): Likewise.
7621 (__memmove_ssse3_back): Likewise.
7622 (__libc_memmove): New prototype.
7623 (memmove): Renamed to ...
7624 (__libc_memmove): This.
7625 (memmove): New strong alias of __libc_memmove.
7626
33b4a91e
MS
76272012-08-08 Mark Salter <msalter@redhat.com>
7628
7629 * elf/elf.h
7630 (R_MN10300_TLS_GD): Define.
7631 (R_MN10300_TLS_LD): Likewise.
7632 (R_MN10300_TLS_LDO): Likewise.
7633 (R_MN10300_TLS_GOTIE): Likewise.
7634 (R_MN10300_TLS_IE): Likewise.
7635 (R_MN10300_TLS_LE): Likewise.
7636 (R_MN10300_TLS_DTPMOD): Likewise.
7637 (R_MN10300_TLS_DTPOFF): Likewise.
7638 (R_MN10300_TLS_TPOFF): Likewise.
7639 (R_MN10300_SYM_DIFF): Likewise.
7640 (R_MN10300_ALIGN): Likewise.
7641 (R_MN10300_NUM): Update.
7642
b36137f1
JM
76432012-08-08 Joseph Myers <joseph@codesourcery.com>
7644
7645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7646 Remove.
7647
cdd915fd
RM
76482012-08-08 Roland McGrath <roland@hack.frob.com>
7649
a2433aac
RM
7650 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7651
cdd915fd
RM
7652 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7653 sysdeps/unix -> sysdeps/posix move.
7654 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7655
bf9b740a
AM
76562012-08-07 Allan McRae <allan@archlinux.org>
7657
7658 [BZ #14303]
7659 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7660 (SUNOS_CPP): Likewise.
7661 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7662 not found.
7663 (open_input): Call CPP using execvp.
7664
93df14ee
JM
76652012-08-07 Joseph Myers <joseph@codesourcery.com>
7666
7667 * sysdeps/unix/sysv/linux/kernel-features.h
7668 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7669 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7670 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7671 (__ASSUME_WAITID_SYSCALL): Likewise.
7672 * sysdeps/unix/sysv/linux/dl-execstack.c
7673 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7674 code unconditional.
7675 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7676 conditional code.
7677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7678 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7679 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7680 code.
7681 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7682 unconditional.
7683 [__ASSUME_WAITID_SYSCALL]: Likewise.
7684 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7685
d34689de
RM
76862012-08-07 Roland McGrath <roland@hack.frob.com>
7687
a281decc
RM
7688 * sysdeps/unix/closedir.c: Renamed to ...
7689 * sysdeps/posix/closedir.c: ... here.
7690 * sysdeps/unix/dirfd.c: Renamed to ...
7691 * sysdeps/posix/dirfd.c: ... here.
7692 * sysdeps/unix/dirstream.h: Renamed to ...
7693 * sysdeps/posix/dirstream.h: ... here.
7694 * sysdeps/unix/fdopendir.c: Renamed to ...
7695 * sysdeps/posix/fdopendir.c: ... here.
7696 * sysdeps/unix/opendir.c: Renamed to ...
7697 * sysdeps/posix/opendir.c: ... here.
7698 * sysdeps/unix/readdir.c: Renamed to ...
7699 * sysdeps/posix/readdir.c: ... here.
7700 * sysdeps/unix/readdir_r.c: Renamed to ...
7701 * sysdeps/posix/readdir_r.c: ... here.
7702 * sysdeps/unix/rewinddir.c: Renamed to ...
7703 * sysdeps/posix/rewinddir.c: ... here.
7704 * sysdeps/unix/seekdir.c: Renamed to ...
7705 * sysdeps/posix/seekdir.c: ... here.
7706 * sysdeps/unix/telldir.c: Renamed to ...
7707 * sysdeps/posix/telldir.c: ... here.
7708 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7709 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7710 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7711 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7712
22895b47
RM
7713 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7714 * bits/fcntl.h: ... here.
7715
707a53b6
RM
7716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7717 not 0.
7718 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7719 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7720 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7721 (struct flock): Move l_start, l_len to the beginning.
7722 Use __pid_t for l_pid.
7723 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7724 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7725 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7726 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7727 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7728 [__USE_LARGEFILE64] (struct flock64): New type.
7729 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7730
f0bd3e25
RM
7731 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7732 * bits/dirent.h: ... here.
7733
d34689de
RM
7734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7735 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7736
6dad2c06
JM
77372012-08-07 Joseph Myers <joseph@codesourcery.com>
7738
7739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7740 Change from 2.6.0 to 2.6.16.
7741 * sysdeps/unix/sysv/linux/configure: Regenerated.
7742 * sysdeps/unix/sysv/linux/kernel-features.h
7743 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7744 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7745 version.
7746 (__ASSUME_UTIMES): Likewise.
7747 (__ASSUME_CLONE_STOPPED): Remove.
7748 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7749 architectures, not kernel version.
7750 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7751 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7752 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7753 (__ASSUME_WAITID_SYSCALL): Likewise.
7754 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7755 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7756 * README: State 2.6.16 as minimum Linux kernel version. Do not
7757 refer to older versions.
7758
03af9520
RM
77592012-08-06 Roland McGrath <roland@hack.frob.com>
7760
8e49df1d
RM
7761 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7762 Define alphasort64 as an alias.
7763 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7764 Define versionsort64 as an alias.
7765 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7766 Define scandir64 as an alias.
7767 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7768 Define scandirat64 as an alias.
7769 * dirent/alphasort64.c (alphasort64):
7770 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7771 * dirent/versionsort64.c: Likewise.
7772 * dirent/scandir64.c: Likewise.
7773 * dirent/scandirat64.c: Likewise.
7774 * sysdeps/wordsize-64/alphasort.c: File removed.
7775 * sysdeps/wordsize-64/alphasort64.c: File removed.
7776 * sysdeps/wordsize-64/scandir.c: File removed.
7777 * sysdeps/wordsize-64/scandir64.c: File removed.
7778 * sysdeps/wordsize-64/scandirat.c: File removed.
7779 * sysdeps/wordsize-64/scandirat64.c: File removed.
7780 * sysdeps/wordsize-64/versionsort.c: File removed.
7781 * sysdeps/wordsize-64/versionsort64.c: File removed.
7782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7785 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7787 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7790
7791 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7793 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7795 [defined __arch64__ || defined __sparcv9]
7796 (__INO_T_MATCHES_INO64_T): New macro.
7797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7798 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7799 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7800 * sysdeps/unix/sysv/linux/bits/dirent.h
7801 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7802 (_DIRENT_MATCHES_DIRENT64): New macro.
7803
03af9520
RM
7804 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7805 Define lockf64 as an alias.
7806 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7807 Define fseeko64 as an alias.
7808 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7809 Define ftello64 as an alias.
7810 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7811 Define _IO_fgetpos64 and fgetpos64 as aliases.
7812 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7813 Define _IO_fsetpos64 and fsetpos64 as aliases.
7814 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7815 Conditionalize body on this.
7816 * libio/fseeko64.c: Likewise.
7817 * libio/ftello64.c: Likewise.
7818 * libio/iofgetpos64.c: Likewise.
7819 * libio/iofsetpos64.c: Likewise.
7820 * sysdeps/wordsize-64/lockf.c: File removed.
7821 * sysdeps/wordsize-64/lockf64.c: File removed.
7822 * sysdeps/wordsize-64/fseeko.c: File removed.
7823 * sysdeps/wordsize-64/fseeko64.c: File removed.
7824 * sysdeps/wordsize-64/ftello.c: File removed.
7825 * sysdeps/wordsize-64/ftello64.c: File removed.
7826 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7827 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7828 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7829 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7840
7841 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7843 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7845 [defined __arch64__ || defined __sparcv9]
7846 (__OFF_T_MATCHES_OFF64_T): New macro.
7847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7848 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7850 (__OFF_T_MATCHES_OFF64_T): New macro.
7851
c5757acd
L
78522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7853
7854 * stdlib/secure-getenv.c (__secure_getenv): Replace
7855 GLIBC_2_16 with GLIBC_2_17.
7856
3a31811e
L
78572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7858
7859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7861
faa2bccb
DM
78622012-08-03 David S. Miller <davem@davemloft.net>
7863
7864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7865
85fe1997
JM
78662012-08-03 Joseph Myers <joseph@codesourcery.com>
7867
7868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7869 Remove.
7870 (__ASSUME_CORRECT_SI_PID): Likewise.
7871 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7872 (__ASSUME_TMPFS_NAME): Likewise.
7873 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7874 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7875 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7876 (HAVE_AUX_SECURE): Make definition unconditional.
7877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7878 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7879
4f75b7a0
RM
78802012-08-03 Roland McGrath <roland@hack.frob.com>
7881
7882 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7883 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7884 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7885 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7886 __eloop_threshold instead of SYMLOOP_MAX.
7887
7888 * sysdeps/generic/eloop-threshold.h: New file.
7889 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7890 of MAXSYMLINKS.
7891 * elf/chroot_canon.c (chroot_canon): Likewise.
7892
7aab07e4
JM
78932012-08-03 Joseph Myers <joseph@codesourcery.com>
7894
7895 [BZ #13717]
7896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7897 Change to 2.6.0 everywhere.
7898 * sysdeps/unix/sysv/linux/configure: Regenerated.
7899 * sysdeps/unix/sysv/linux/kernel-features.h
7900 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7901 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7902 kernel versions.
7903 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7904 (__ASSUME_FUTEX_REQUEUE): Remove.
7905 (__ASSUME_STATFS64): Define unconditionally.
7906 (__ASSUME_AT_SECURE): Likewise.
7907 (__ASSUME_CORRECT_SI_PID): Likewise.
7908 (__ASSUME_TGKILL): Define without depending on kernel version for
7909 i386.
7910 (__ASSUME_UTIMES): Likewise.
7911 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7912 kernel version.
7913 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7914 (__ASSUME_TMPFS_NAME): Likewise.
7915 * README: Update reference to Linux kernel versions.
7916
b67e9372
MP
79172012-08-02 Marek Polacek <polacek@redhat.com>
7918
1f529f7d 7919 [BZ# 14150]
b67e9372
MP
7920 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7921 libc_cv_asm_type_prefix with %.
7922 * configure: Regenerated.
d2441631
RM
7923 * include/libc-symbols.h: Remove comment about
7924 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7925 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7926 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7927 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7928 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7929 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7930 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7931 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7932 * elf/tst-unique2mod1.c: Likewise.
7933 * elf/tst-unique1mod2.c: Likewise.
7934 * elf/tst-unique1mod1.c: Likewise.
7935 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7936 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7937 Replace ASM_TYPE_DIRECTIVE with .type.
7938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7939 * sysdeps/i386/sysdep.h: Likewise.
7940 * sysdeps/x86_64/sysdep.h: Likewise.
7941 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7943 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7944 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7945 * sysdeps/powerpc/powerpc32/sysdep.h:
7946 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7949 * sysdeps/i386/fpu/e_powf.S: Likewise.
7950 * sysdeps/i386/fpu/e_expl.S: Likewise.
7951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7953 * sysdeps/i386/fpu/e_pow.S: Likewise.
7954 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7955 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7956 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7957 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7958 * sysdeps/i386/fpu/e_log2.S: Likewise.
7959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7961 * sysdeps/i386/fpu/e_powl.S: Likewise.
7962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7964 * sysdeps/i386/fpu/e_logl.S: Likewise.
7965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7970 * sysdeps/i386/fpu/e_log.S: Likewise.
7971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7972 * sysdeps/i386/fpu/e_logf.S: Likewise.
7973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7975 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7976 * sysdeps/i386/fpu/e_log10.S: Likewise.
7977 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7979 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7980 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7983 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7984 * sysdeps/i386/i686/strtok.S: Likewise.
7985 * sysdeps/i386/i386-mcount.S: Likewise.
7986 * sysdeps/i386/strtok.S: Likewise.
7987 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7993 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7994 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7995 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7996 * sysdeps/x86_64/_mcount.S: Likewise.
7997 * sysdeps/x86_64/strtok.S: Likewise.
7998 * sysdeps/sh/_mcount.S: Likewise.
7999
2747bf9a
RM
80002012-08-01 Roland McGrath <roland@hack.frob.com>
8001
8002 * libio/iofopen.c: Include <fcntl.h>.
8003 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8004 (_IO_fopen64, fopen64): Define as aliases.
8005 * libio/iofopen64.c: Include <fcntl.h>.
8006 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8007 Conditionalize body on this.
8008 * sysdeps/wordsize-64/iofopen.c: File removed.
8009 * sysdeps/wordsize-64/iofopen64.c: File removed.
8010
3fb791b8
MP
80112012-08-01 Marek Polacek <polacek@redhat.com>
8012
8013 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8014 Use dlfcn directly instead of a variable.
8015 (binfmt-subdir): Do not define.
8016 (dlfcn): Likewise.
8017
a9f1039f
JM
80182012-08-01 Joseph Myers <joseph@codesourcery.com>
8019
23bddc06
JM
8020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8021 Remove all definitions.
8022 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8023 <kernel-features.h>.
8024 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8025 (miss_F_GETOWN_EX): Remove all definitions.
8026 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8027 macro definition.
8028 [!__ASSUME_FCNTL64]: Remove conditional code.
8029 [__ASSUME_FCNTL64]: Make code unconditional.
8030 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8031 <kernel-features.h>.
8032 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8033 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8034 (lockf64) [__NR_fcntl64]: Make code unconditional.
8035 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8036
a9f1039f
JM
8037 * sysdeps/unix/sysv/linux/kernel-features.h
8038 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8039 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8040 Make code unconditional.
8041 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8042 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8044 [__NR_vfork]: Make code unconditional.
8045 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8046 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8048 [__NR_vfork]: Make code unconditional.
8049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8051
09c0ee5f
RM
80522012-08-01 Roland McGrath <roland@hack.frob.com>
8053
48aec5b9
RM
8054 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8055 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8056
cd97c966
RM
8057 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8058 Define mkstemp64 as an alias.
3f55550c
RM
8059 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8060 Define mkstemps64 as an alias.
cd97c966
RM
8061 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8062 Define mkostemp64 as an alias.
b8625cfc
RM
8063 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8064 Define mkostemps64 as an alias.
cd97c966
RM
8065 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8066 Conditionalize body on this.
8067 * misc/mkostemp64.c: Likewise.
b8625cfc 8068 * misc/mkostemps64.c: Likewise.
3f55550c 8069 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8070 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8071 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8072 * sysdeps/wordsize-64/mkostemp.c: File removed.
8073 * sysdeps/wordsize-64/mkstemp.c: File removed.
8074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8078
09c0ee5f
RM
8079 [BZ #14138]
8080 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8082 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8083 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8084
8085 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8086 compat_symbol macros from <shlib-compat.h> rather than the underlying
8087 default_symbol_version and symbol_version macros, so that DEFAULT
8088 lines in shlib-versions are respected.
8089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8090
7e66ee51
FW
80912012-08-01 Florian Weimer <fweimer@redhat.com>
8092
8093 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8094 Declare with warn_unused_result.
8095 (setgid, setregid, setegid, setresgid): Likewise.
8096 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8097 Likewise.
8098 * WUR-REPORT: Remove set*id functions.
8099
d2a54255
PT
81002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8101
8102 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8103
7ecdb005
RM
81042012-07-31 Roland McGrath <roland@hack.frob.com>
8105
789bd351
RM
8106 * include/sys/socket.h (__libc_accept, __libc_accept4):
8107 Add attribute_hidden.
8108 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8109
40ce302d
RM
8110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8111 use of PTR_MANGLE.
8112 * inet/getnetgrent_r.c (setup): Likewise.
8113
7ecdb005
RM
8114 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8115
e2eabb2c
DM
81162012-07-31 David S. Miller <davem@davemloft.net>
8117
8118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8119
d0419dbf
JM
81202012-07-31 Joseph Myers <joseph@codesourcery.com>
8121
8122 [BZ #13629]
8123 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8124 value between 1.0 and 2.0 and smaller part has absolute value less
8125 than 1.0.
8126 * math/s_clog10.c (__clog10): Likewise.
8127 * math/s_clog10f.c (__clog10f): Likewise.
8128 * math/s_clog10l.c (__clog10l): Likewise.
8129 * math/s_clogf.c (__clogf): Likewise.
8130 * math/s_clogl.c (__clogl): Likewise.
8131 * math/libm-test.inc (clog_test): Add more tests.
8132 (clog10_test): Likewise.
8133 * sysdeps/i386/fpu/libm-test-ulps: Update.
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135
2bc13872
FW
81362012-07-31 Florian Weimer <fweimer@redhat.com>
8137
8138 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8139 Exit with zero in case no suitable GID is found, and write a
8140 message to standard error.
8141
bea9b193
RM
81422012-07-30 Roland McGrath <roland@hack.frob.com>
8143
8144 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8145 rather than to 1.
8146 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8147 (MAXPATHLEN): Removed.
8148 (NOGROUP, NODEV): New macros.
8149 (setbit, clrbit, isset, isclr): New macros.
8150 (howmany, roundup, powerof2): New macros.
8151 (DEV_BSIZE): New macro.
8152
8153 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8154 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8155
8156 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8157 definition on [!__NO_LONG_DOUBLE_MATH].
8158
8159 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8160 PTR_MANGLE and PTR_DEMANGLE.
8161
8162 * socket/accept4.c (accept4): Rename to __libc_accept4.
8163 Define accept4 as a weak alias.
8164
8165 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8166 on [_DIRENT_HAVE_D_TYPE].
8167 * io/ftw.c (ftw_dir): Likewise.
8168
8169 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8170
8171 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8172
8173 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8174 Use the BSD numbers rather than the arbitrary ones we had.
8175 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8176 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8177 (SIGXCPU, SIGXFSZ): New macros.
8178 (_NSIG): Now 32.
8179
8180 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8181 initializer on [_LIBC_REENTRANT].
8182
8183 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8184 definitions inside [_POSIX_MAPPED_FILES].
8185
8186 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8187
8188 * dirent/opendir.c: Include <fcntl.h>.
8189
8190 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8191 (__libc_getspecific): Likewise.
8192 (__libc_key_create): Likewise.
8193
8194 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8195 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8196 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8197 (tmpfile64): Define as alias.
8198 * sysdeps/wordsize-64/tmpfile.c: File removed.
8199 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8202
8203 * stdio-common/vfscanf.c: Include <stdbool.h>.
8204 * nss/makedb.c: Likewise.
8205 * stdio-common/_i18n_number.h: Likewise.
8206 * argp/argp-help.c: Likewise.
8207 * posix/wordexp.c: Likewise.
8208 * sysdeps/posix/spawni.c: Likewise.
8209 * nss/nss_files/files-initgroups.c: Likewise.
8210 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8211 * nss/nss_files/files-initgroups.c: Likewise.
8212 * nss/nss_db/db-netgrp.c: Likewise.
8213 * nss/nss_db/db-initgroups.c: Likewise.
8214 * io/fchmodat.c: Include <sys/stat.h>.
8215
8216 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8217 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8218
8219 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8220 [HAVE_MMAP].
8221
8222 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8223 Add multiple inclusion protection.
8224
e5abc686
DM
82252012-07-27 David S. Miller <davem@davemloft.net>
8226
8227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8228
815e6fa3
GB
82292012-07-27 Gary Benson <gbenson@redhat.com>
8230
8231 [BZ #14298]
8232 * elf/rtld.c: Include <stap-probe.h>.
8233 (dl_main): Added static probes "init_start" and "init_complete".
8234 * elf/dl-load.c: Include <stap-probe.h>.
8235 (lose): Take new parameter "nsid".
8236 Added static probe "map_failed".
8237 (_dl_map_object_from_fd): Pass namespace id to lose.
8238 Added static probe "map_start".
8239 (open_verify): Pass namespace id to lose.
8240 * elf/dl-open.c: Include <stap-probe.h>.
8241 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8242 and "reloc_complete".
8243 * elf/dl-close.c: Include <stap-probe.h>.
8244 (_dl_close_worker): Added static probes "unmap_start" and
8245 "unmap_complete".
8246 * elf/rtld-debugger-interface.txt: New file documenting the above.
8247
9f98c16c
RM
82482012-07-26 Roland McGrath <roland@hack.frob.com>
8249
8250 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8251 rather than a string variable.
8252 * sunrpc/rpc_main.c (h_output): Likewise.
8253 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8254
f3c22df3
PT
82552012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8256
8257 * inet/check_native.c: New file.
8258
3129cfc6
JM
82592012-07-26 Joseph Myers <joseph@codesourcery.com>
8260
da865e95
JM
8261 [BZ #13629]
8262 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8263 if larger part has absolute value 1.0.
8264 * math/s_clog10.c (__clog10): Likewise.
8265 * math/s_clog10f.c (__clog10f): Likewise.
8266 * math/s_clog10l.c (__clog10l): Likewise.
8267 * math/s_clogf.c (__clogf): Likewise.
8268 * math/s_clogl.c (__clogl): Likewise.
8269 * math/libm-test.inc (clog_test): Add more tests.
8270 (clog10_test): Likewise.
8271 * sysdeps/i386/fpu/libm-test-ulps: Update.
8272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273
3129cfc6
JM
8274 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8275 (pltexit): Likewise.
8276 (La_regs): Likewise.
8277 (La_retval): Likewise.
8278 (int_retval): Likewise.
8279 Update #error for removed macros to refer only to definitions in
8280 tst-audit.h.
8281 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8282 macro.
8283 (pltexit): Likewise.
8284 (La_regs): Likewise.
8285 (La_retval): Likewise.
8286 (int_retval): Likewise.
8287 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8288 macro.
8289 (pltexit): Likewise.
8290 (La_regs): Likewise.
8291 (La_retval): Likewise.
8292 (int_retval): Likewise.
8293 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8294 macro.
8295 (pltexit): Likewise.
8296 (La_regs): Likewise.
8297 (La_retval): Likewise.
8298 (int_retval): Likewise.
8299 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8300 macro.
8301 (pltexit): Likewise.
8302 (La_regs): Likewise.
8303 (La_retval): Likewise.
8304 (int_retval): Likewise.
8305 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8306 macro.
8307 (pltexit): Likewise.
8308 (La_regs): Likewise.
8309 (La_retval): Likewise.
8310 (int_retval): Likewise.
8311 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8312 macro.
8313 (pltexit): Likewise.
8314 (La_regs): Likewise.
8315 (La_retval): Likewise.
8316 (int_retval): Likewise.
8317 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8318 macro definitions in tst-audit.h.
8319 * sysdeps/i386/tst-audit.h: New file.
8320 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8321 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8322 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8323 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8324 * sysdeps/sh/tst-audit.h: Likewise.
8325 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8326 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8327 * sysdeps/x86_64/tst-audit.h: Likewise.
8328
bfc07087
AJ
83292012-07-26 Andreas Jaeger <aj@suse.de>
8330
b1b2aaf8
AJ
8331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8332 ptrace.
8333
8334 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8335 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8336 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8337 PTRACE_O_MASK.
8338 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8340 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8341
bfc07087
AJ
8342 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8343 value.
8344
8345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8346 _sigsys.
8347 (si_call_addr, si_syscall, si_arch): Define new macro.
8348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8349 _sigsys.
8350 (si_call_addr, si_syscall, si_arch): Define new marcro.
8351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8352 _sigsys.
8353 (si_call_addr, si_syscall, si_arch): Define new macro.
8354 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8355 _sigsys.
8356 (si_call_addr, si_syscall, si_arch): Define new macro.
8357
89b4b02f
JM
83582012-07-25 Joseph Myers <joseph@codesourcery.com>
8359
8360 [BZ #13717]
8361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8362 Change to 2.4.21 where previously 2.4.1.
8363 * sysdeps/unix/sysv/linux/configure: Regenerated.
8364 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8365 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8366 Linux kernel version.
8367 (__ASSUME_STD_AUXV): Remove.
8368 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8369 kernel version.
8370 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8371 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8372 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8373 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8374 (__ASSUME_NETLINK_SUPPORT): Likewise.
8375 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8376 (__no_netlink_support): Remove conditional definition.
8377 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8378 Remove.
8379 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8380 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8382 (if_nameindex_ioctl): Remove.
8383 (if_nameindex_netlink): Do not handle __no_netlink_support.
8384 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8385 code.
8386 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8387 Remove conditional code.
8388 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8389 code.
8390 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8391 unconditional.
8392 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8393 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8394 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8395 Remove.
8396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8397 [!__ASSUME_STD_AUXV]: Remove conditional code.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8399 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8400 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8402 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8403 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8404 code.
8405 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8407 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8408 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8409 conditional code.
8410 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8412 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8413 code.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8415 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8416 conditional code.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8418 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8419 code unconditional.
8420 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8421 conditional code.
8422 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8423 unconditional.
8424 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8425 conditional code.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8427 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8428 unconditional.
8429 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8430 conditional code.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8432 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8433 code unconditional.
8434 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8435 conditional code.
8436 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8437 unconditional.
8438 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8439 conditional code.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8441 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8442 code unconditional.
8443 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8444 conditional code.
8445 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8446 unconditional.
8447 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8448 conditional code.
8449
842a39cd
AS
84502012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8451
8452 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8453 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8454 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8455 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8456 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8457 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8458 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8459 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8460 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8461 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8462 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8463 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8464 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8465 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8468 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8470 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8472 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8474 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8475
84b3fd84
FW
84762012-07-25 Florian Weimer <fweimer@redhat.com>
8477
8478 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8479 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8480 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8481 Introduce __libc_secure_getenv.
0c7936d5
FW
8482 * stdlib/Versions (2.17): Add secure_getenv
8483 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8484 * stdlib/secure-getenv.c: Rename __secure_getenv to
8485 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8486 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8487 * stdlib/tst-secure-getenv.c: New.
8488 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8489 * manual/startup.texi (Environment Access): Document
8490 secure_getenv.
84b3fd84
FW
8491 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8492 __libc_secure_getenv.
8493 * inet/ruserpass.c (ruserpass): Likewise.
8494 * malloc/mtrace.c (mtrace): Likewise.
8495 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8496 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8497 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8498 * sysdeps/posix/tempname.c: Likewise. Evaluate
8499 HAVE_SECURE_GETENV.
8500 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8501 __secure_getenv to __libc_secure_getenv.
84b3fd84 8502 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8504 Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8506 Likewise.
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8514
56e49b71
JM
85152012-07-25 Joseph Myers <joseph@codesourcery.com>
8516
8517 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8518 (struct La_i86_retval): Likewise.
8519 (struct La_x86_64_regs): Likewise.
8520 (struct La_x86_64_retval): Likewise.
8521 (struct La_x32_regs): Likewise.
8522 (struct La_x32_retval): Likewise.
8523 (struct La_ppc32_regs): Likewise.
8524 (struct La_ppc32_retval): Likewise.
8525 (struct La_ppc64_regs): Likewise.
8526 (struct La_ppc64_retval): Likewise.
8527 (struct La_sh_regs): Likewise.
8528 (struct La_sh_retval): Likewise.
8529 (struct La_s390_32_regs): Likewise.
8530 (struct La_s390_32_retval): Likewise.
8531 (struct La_s390_64_regs): Likewise.
8532 (struct La_s390_64_retval): Likewise.
8533 (struct La_sparc32_regs): Likewise.
8534 (struct La_sparc32_retval): Likewise.
8535 (struct La_sparc64_regs): Likewise.
8536 (struct La_sparc64_retval): Likewise.
8537 (struct audit_ifaces): Remove architecture-specific pltenter and
8538 pltexit members.
8539 * sysdeps/i386/ldsodefs.h: New file.
8540 * sysdeps/powerpc/ldsodefs.h: Likewise.
8541 * sysdeps/s390/ldsodefs.h: Likewise.
8542 * sysdeps/sh/ldsodefs.h: Likewise.
8543 * sysdeps/sparc/ldsodefs.h: Likewise.
8544 * sysdeps/x86_64/ldsodefs.h: Likewise.
8545
354691b7
MP
85462012-07-25 Marek Polacek <polacek@redhat.com>
8547
8548 [BZ #6808]
8549 * math/libm-test.inc (yn_test): Add another test.
8550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8551 to ERANGE when the result is +-Inf.
8552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8553 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8555 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8556
bf9e2071
JM
85572012-07-24 Joseph Myers <joseph@codesourcery.com>
8558
8559 * conform/data/time.h-data (NULL): Use macro-constant. Require
8560 equal to 0.
8561 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8562 clock_t.
8563 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8564
57633811
TS
85652012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8566
8567 * configure.in <sysdeps resolving>: Correct printing
8568 Implies_before.
8569 * configure: Regenerate.
8570
c23c33b0
TS
85712012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8572
8573 * math/w_ilogb.c: Include <limits.h>.
8574 * math/w_ilogbl.c: Likewise.
8575
b5982523
JM
85762012-07-20 Joseph Myers <joseph@codesourcery.com>
8577
8578 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8579 va_copy. Document allowing for unavailable va_copy only as
8580 pre-C99 compatibility.
8581 * manual/string.texi (Copying and Concatenation): Use va_copy
8582 instead of __va_copy in concat example.
8583
ac4ea442
PT
85842012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8585
8586 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8587 (__sendto): Use create_address_port. Initialize APORT and deallocate
8588 it if not null.
8589
f98eafbd
PT
8590 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8591 with O_NOLINK passed to __file_name_lookup.
8592
898c7aab
PT
8593 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8594 with O_NOLINK passed to __file_name_lookup.
8595
0ced335a
PT
8596 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8597 negative N or less than NGIDS.
8598
b3404dbd
PT
8599 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8600 type to string_t. Set ERANGE as errno and return it if NAME is not big
8601 enough. Use memcpy instead of strncpy.
8602
0f48659e
JM
86032012-07-20 Joseph Myers <joseph@codesourcery.com>
8604
8605 * elf/Makefile (check-data): Remove.
8606 (localplt.data): New vpath directive.
8607 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8608 instead of $(check-data).
8609 * scripts/data/localplt-generic.data: Move to ...
8610 * sysdeps/generic/localplt.data: ... here.
8611 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8612 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8613 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8615 ... here.
8616 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8618 ... here.
8619 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8621 ... here.
8622 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8624 ... here.
8625 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8627 ... here.
8628 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8630 ... here.
8631
d37cbdaa
AZ
86322012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633
8634 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8635 PPC32 and PPC64 files.
8636 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8637 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8638
46f85fc2
AK
86392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8640
8641 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8642 __makecontext_ret to ...
8643 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8644 ... here and call exit if uc_link is NULL. New file.
8645 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8646 __makecontext_ret.S.
8647 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8648 __makecontext_ret to ...
8649 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8650 ... here and call exit if uc_link is NULL. New file.
8651 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8652 __makecontext_ret.S.
8653
08f43f9b
AK
86542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8655
8656 * elf/elf.h (R_390_IRELATIVE): New definition.
8657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8658 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8659 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8661 (elf_machine_lazy_rel): Likewise.
8662 * sysdeps/s390/dl-irel.h: New file.
8663 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8664 * sysdeps/s390/s390-64/memset.S: New asm code.
8665 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8666 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8667 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8668 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8669 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8670 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8672 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8673 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8674 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8675 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8676 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8677 * sysdeps/s390/s390-32/memset.S: New asm code.
8678 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8679
3b05db33
MP
86802012-07-17 Marek Polacek <polacek@redhat.com>
8681
8682 [BZ #14349]
8683 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8684 * sysdeps/s390/s390-64/configure.in: Likewise.
8685 * sysdeps/sparc/configure.in: Likewise.
8686 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8687 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8688 * sysdeps/i386/configure.in: Likewise.
8689 * sysdeps/x86_64/configure.in: Likewise.
8690 * sysdeps/sh/configure.in: Likewise.
8691 * sysdeps/s390/s390-32/configure: Regenerated.
8692 * sysdeps/s390/s390-64/configure: Likewise.
8693 * sysdeps/x86_64/configure: Likewise.
8694 * sysdeps/sh/configure: Likewise.
8695 * sysdeps/powerpc/powerpc64/configure: Likewise.
8696 * sysdeps/powerpc/powerpc32/configure: Likewise.
8697 * sysdeps/sparc/configure: Likwise.
8698 * sysdeps/i386/configure: Likewise.
8699
a66877c6
MP
8700 * elf/dl-open.c: Comment fixes.
8701
cfc82fd8
JM
87022012-07-17 Joseph Myers <joseph@codesourcery.com>
8703
bd29910a
JM
8704 * Makefile [CXX] (check-data): Remove.
8705 [CXX] (c++-types.data): New vpath directive.
8706 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8707 vpath. Do not allow for C++ type data being missing.
8708 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8709 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8710 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8711 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8712 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8713 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8714 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8716 ... here.
8717 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8719 ... here.
8720 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8722 ... here.
8723 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8725 ... here.
8726 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8728 ... here.
8729 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8731 ... here.
8732 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8734 ... here.
8735 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8737
cfc82fd8
JM
8738 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8739 definitions to architecture-specific files.
8740 (TLS_IE): Likewise.
8741 (TLS_LD): Likewise.
8742 (TLS_GD): Likewise.
8743 * sysdeps/i386/tls-macros.h: New file.
8744 * sysdeps/powerpc/tls-macros.h: Likewise.
8745 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8746 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8747 * sysdeps/sh/tls-macros.h: Likewise.
8748 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8749 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8750 * sysdeps/x86_64/tls-macros.h: Likewise.
8751
f7db3170
TS
87522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8753
07cbfc23
TS
8754 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8755 zero value for regular exit case.
8756
f7db3170
TS
8757 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8758 (__start_context): Preserve zero value for regular exit case.
8759
dc97c227
TS
87602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8761 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8762
8763 * manual/setjmp.texi (setcontext): Clarify normal process
8764 termination when uc_link is the null pointer.
8765 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8766 exit call.
8767
d0cd7d02
AS
87682012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8769
8770 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8771 preprocessor. Test for each exception mask separately.
8772
dd318934
AJ
87732012-07-16 Andreas Jaeger <aj@suse.de>
8774
8775 * po/ru.po: Update from translation team.
8776
8048311a
JM
87772012-07-15 Joseph Myers <joseph@codesourcery.com>
8778
8779 * conform/data/string.h-data (NULL): Use macro-constant. Require
8780 equal to 0.
8781 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8782 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8783 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8784 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8786
b637d46e
AJ
87872012-07-13 Andreas Jaeger <aj@suse.de>
8788
8789 * po/fr.po: Update from translation team.
8790
541428fe
MP
87912012-07-12 Marek Polacek <polacek@redhat.com>
8792
8793 [BZ #14173]
8794 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8796 loop condition.
8797
ec332e94
JM
87982012-07-12 Joseph Myers <joseph@codesourcery.com>
8799
8800 [BZ #13717]
8801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8802 Change to 2.4.1 where previously 2.4.0.
8803 * sysdeps/unix/sysv/linux/configure: Regenerated.
8804 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8805 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8806 version.
8807 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8808 (__ASSUME_AT_CLKTCK): Remove.
8809 (__ASSUME_AT_PAGESIZE): Likewise.
8810 (__ASSUME_AT_XID): Likewise.
8811 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8812 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8813 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8814 unconditionally.
8815 (HAVE_AUX_PAGESIZE): Likewise.
8816 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8817 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8818 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8819
7b6e99be
JB
88202012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8821
8822 [BZ #14307]
8823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8824 the temporary buffer used to invoke __gethostbyname2_r,
8825 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8826 host_data / struct gaih_addrtuple.
8827 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8828 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8829 header file nss/nsswitch.h.
8830 * nss/nsswitch.h (global scope): Add definition of implementation
8831 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8832 resolv/nss_dns/dns-host.c).
8833
608404eb
AJ
88342012-07-11 Andreas Jaeger <aj@suse.de>
8835
8836 * po/fr.po: Update from translation team.
8837
71220aca
AJ
8838 * po/sv.po: Update from translation team
8839 * po/fr.po: Another update from translation team.
8840
28cfe843
AZ
88412012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8842
8843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8844 for subnormals or multiply small sinh result by itself.
8845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8847
6b90f981
DM
88482012-07-11 David S. Miller <davem@davemloft.net>
8849
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8851
c6825772
AS
88522012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8853
8854 [BZ #14347]
8855 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8856 (INTERNAL_MARK): Shift it here.
8857
7b8e0d49
MP
88582012-07-10 Marek Polacek <polacek@redhat.com>
8859
8860 [BZ #14151]
8861 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8862 libc_cv_asm_global_directive with .globl.
8863 * configure: Regenerated.
8864 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8865 with .globl.
8866 * sysdeps/i386/configure: Regenerated.
8867 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8868 with .globl.
8869 * sysdeps/x86_64/configure: Regenerated.
8870 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8871 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8872 * elf/tst-unique2mod2.c: Likewise.
8873 * elf/tst-unique2mod1.c: Likewise.
8874 * elf/tst-unique1mod2.c: Likewise.
8875 * elf/tst-unique1mod1.c: Likewise.
8876 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8877 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8879 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8880 * sysdeps/mach/sysdep.h: Likewise.
8881 * sysdeps/i386/sysdep.h: Likewise.
8882 * sysdeps/i386/i386-mcount.S: Likewise.
8883 * sysdeps/x86_64/_mcount.S: Likewise.
8884 * sysdeps/x86_64/sysdep.h: Likewise.
8885 * sysdeps/sh/_mcount.S: Likewise.
8886 * sysdeps/sh/sysdep.h: Likewise.
8887 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8889 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8891 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8893 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8894 * locale/localeinfo.h: Likewise.
8895 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8896 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8897
6c55cda3
RM
88982012-07-09 Roland McGrath <roland@hack.frob.com>
8899
8900 [BZ #14336]
8901 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8902 system".
8903 * manual/message.texi (The Uniforum approach): Likewise.
8904 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8905 (glibc iconv Implementation): Likewise.
8906
638a572e
JM
89072012-07-09 Joseph Myers <joseph@codesourcery.com>
8908
8909 [BZ #14337]
8910 * math/s_clog.c (__clog): Avoid scaling a value down where that
8911 could result in underflow.
8912 * math/s_clog10.c (__clog10): Likewise.
8913 * math/s_clog10f.c (__clog10f): Likewise.
8914 * math/s_clog10l.c (__clog10l): Likewise.
8915 * math/s_clogf.c (__clogf): Likewise.
8916 * math/s_clogl.c (__clogl): Likewise.
8917 * math/libm-test.inc (clog_test): Add more tests.
8918 (clog10_test): Likewise.
8919 * sysdeps/i386/fpu/libm-test-ulps: Update.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8921
261f4859
AS
89222012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8923
0abaf3e4
AS
8924 [BZ #14283]
8925 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8926 by 7 not 8 to examine high bit of fractional part.
8927
261f4859
AS
8928 [BZ #14042]
8929 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8930 for call to __mcount_internal.
8931 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8932 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8933 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8934
f17ac40d
JM
89352012-07-06 Joseph Myers <joseph@codesourcery.com>
8936
9ad63c23
JM
8937 [BZ #14154]
8938 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8939 approximation for values within 0x1p-13f of an odd multiple of
8940 pi/4.
8941 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8942 exception. Add more tests.
8943 * sysdeps/i386/fpu/libm-test-ulps: Update.
8944
f17ac40d
JM
8945 [BZ #6778]
8946 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8947 inputs and return -1 for them. Do not check for +Inf in case not
8948 reachable for +Inf.
8949 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8950 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8952 and return -1 for them. Do not check for +Inf in case not
8953 reachable for +Inf.
8954 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8955 define.
8956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8957 and return -1 for them. Do not check for +Inf in case not
8958 reachable for +Inf.
8959 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8960 spurious underflow.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8963
fb21f89b
MF
89642012-07-06 Mike Frysinger <vapier@gentoo.org>
8965
8966 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8967
cdfe2c5e
JM
89682012-07-05 Joseph Myers <joseph@codesourcery.com>
8969
8970 [BZ #14157]
8971 [BZ #14331]
8972 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8973 could result in spurious underflow. Scale down values above
8974 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8975 * math/s_csqrtf.c (__csqrtf): Likewise.
8976 * math/s_csqrtl.c (__csqrtl): Likewise.
8977 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8978 spurious underflow.
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8981
70d35b67
AS
89822012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8983
704bc459
AS
8984 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8985 xopen-msg.sed.
8986 * catgets/xopen-msg.awk: New file.
8987 * catgets/xopen-msg.sed: Removed.
8988
70d35b67
AS
8989 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8990 po2text.sed.
8991 * intl/po2test.awk: New file.
8992 * intl/po2test.sed: Removed.
8993
ca61cf32
JM
89942012-07-04 Joseph Myers <joseph@codesourcery.com>
8995
8996 [BZ #14328]
8997 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8998 or multiply small sinh result by itself.
8999 * math/s_ctanf.c (__ctanf): Likewise.
9000 * math/s_ctanh.c (__ctanh): Likewise.
9001 * math/s_ctanhf.c (__ctanhf): Likewise.
9002 * math/s_ctanhl.c (__ctanhl): Likewise.
9003 * math/s_ctanl.c (__ctanl): Likewise.
9004 * math/libm-test.inc (ctan_test_tonearest): New function.
9005 (ctan_test_towardzero): Likewise.
9006 (ctan_test_downward): Likewise.
9007 (ctan_test_upward): Likewise.
9008 (ctanh_test_tonearest): Likewise.
9009 (ctanh_test_towardzero): Likewise.
9010 (ctanh_test_downward): Likewise.
9011 (ctanh_test_upward): Likewise.
9012 (main): Call these new functions.
9013 * sysdeps/i386/fpu/libm-test-ulps: Update.
9014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9015
ca48a46a
MF
90162012-07-03 Mike Frysinger <vapier@gentoo.org>
9017
9018 * .gitignore: Delete /ports entry.
9019
9d63d37d
AJ
90202012-07-03 Andreas Jaeger <aj@suse.de>
9021
9022 * po/bg.po: Update from translation team.
9023 * po/cs.po: Likewise.
9024 * po/de.po: Likewise.
9025 * po/hr.po: Likewise.
9026 * po/nl.pl: Likewise.
9027 * po/pl.po: Likewise.
9028 * po/vi.po: Likewise.
9029
370ca3d2
JM
90302012-07-03 Joseph Myers <joseph@codesourcery.com>
9031
95f5a9a8
JM
9032 * Makeconfig [!+link] (+link-before-libc): New variable.
9033 [!+link] (+link-after-libc): Likewise.
9034 [!+link] (+link-tests): Likewise.
9035 [!+link] (+link): Define in terms of $(+link-before-libc) and
9036 $(+link-after-libc).
9037 [!+link-static] (+link-static-before-libc): New variable.
9038 [!+link-static] (+link-static-after-libc): Likewise.
9039 [!+link-static] (+link-static-tests): Likewise.
9040 [!+link-static] (+link-static): Define in terms of
9041 $(+link-static-before-libc) and $(+link-static-after-libc).
9042 [build-shared] (link-libc-before-gnulib): New variable.
9043 [build-shared] (link-libc-tests): Likewise.
9044 [build-shared] (link-libc): Define in terms of
9045 $(link-libc-before-gnulib).
9046 [!build-shared] (link-libc-tests): New variable.
9047 (link-libc-static-tests): New variable.
9048 [!gnulib] (gnulib-arch): New variable.
9049 [!gnulib] (gnulib-tests): Likewise.
9050 [!gnulib] (static-gnulib-arch): Likewise.
9051 [!gnulib] (static-gnulib-tests): Likewise.
9052 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9053 Define with "=" instead of ":=".
9054 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9055 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9056 * Rules (binaries-all-notests): New variable.
9057 (binaries-all-tests): Likewise.
9058 (binaries-static-notests): Likewise.
9059 (binaries-static-tests): Likewise.
9060 (binaries-all): Define using $(binaries-all-notests) and
9061 $(binaries-all-tests).
9062 (binaries-static): Define using $(binaries-static-notests) and
9063 $(binaries-static-tests).
9064 (binaries-shared-tests): New variable.
9065 (binaries-shared-notests): Likewise.
9066 (binaries-shared): Remove variable.
9067 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9068 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9069 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9070 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9071 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9072 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9073 * elf/Makefile (sln-modules): New variable.
9074 (extra-objs): Add $(sln-modules:=.o).
9075 (ldconfig-modules): Add static-stubs.
9076 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9077 * elf/static-stubs.c: New file.
9078
7a845b2c
JM
9079 [BZ #14283]
9080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9081 by 7 not 8 to examine high bit of fractional part. Use volatile
9082 variables when splitting into final array of floats if
9083 __FLT_EVAL_METHOD__ != 0.
9084 * math/libm-test.inc (cos_test): Add another test.
9085 (sin_test): Likewise.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087
e2283f38
JM
9088 [BZ #14273]
9089 * math/libm-test.inc (cosh_test): Add more tests.
9090
370ca3d2
JM
9091 * version.h (RELEASE): Set to "development".
9092 (VERSION): Set to "2.16.90".
9093
ee9247c3
CD
90942012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9095
9096 * NEWS: Update copyright. Remove last-updated date.
9097 Mention math library bug fixes and timezone data changes.
9098 * README: Mention GNU/Hurd, x32, and HPPA support status.
9099
4648c381
TS
91002012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9101
9102 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9103
aac78a43
AJ
91042012-06-27 Andreas Jaeger <aj@suse.de>
9105
9106 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9107
ed3dbfad
AJ
91082012-06-25 Andreas Jaeger <aj@suse.de>
9109
9110 * sysdeps/s390/fpu/libm-test-ulps: Update.
9111
4d0ee855
AS
91122012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9113 Thomas Schwinge <thomas@codesourcery.com>
9114
9115 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9116 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9118 fanotify_mark.
9119
af1bce34
TS
91202012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9121
a9fa33ba
TS
9122 * sysdeps/mach/start.c: Remove file.
9123 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9124 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9125 * sysdeps/sh/init-first.c: Likewise.
9126
58f902b8
TS
9127 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9128 registers for frame unwinding purposes, add CFI directives.
9129 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9131 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9132 Likewise.
9133
1518f58b
TS
9134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9135 __fortify_fail returning.
9136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9137
db9b5059
TS
9138 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9139 sysdeps/sh/____longjmp_chk.S.
9140 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9141 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9142 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9143 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9144
967705fe
TS
9145 * sysdeps/sh/abort-instr.h: New file.
9146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9147 process in case exit returns.
9148
a9def8c4
TS
9149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9150 initialize the GOT register before use.
9151
2a649725
TS
9152 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9153 calculation of ARGC > 4.
9154
af1bce34
TS
9155 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9156 meaningful names to some local labels.
9157
d230f50a
KK
91582012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9159 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9160
9161 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9162 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9163 (__arch_compare_and_exchange_val_16_acq): Likewise.
9164 (__arch_compare_and_exchange_val_32_acq): Likewise.
9165 (atomic_exchange_and_add): Fix gUSA sequence.
9166 (atomic_add): Likewise.
9167 (atomic_add_negative): Likewise.
9168 (atomic_add_zero): Likewise.
9169 (atomic_bit_test_set): Likewise.
9170
0479b305
AS
91712012-06-22 Andreas Schwab <schwab@redhat.com>
9172
9173 [BZ #13579]
9174 * include/link.h (struct link_map): Add l_free_initfini.
9175 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9176 l_initfini.
9177 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9178 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9179 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9180 set.
9181
0e3933b9
CD
91822012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9183
9184 * configure.in: Use AC_LANG_SOURCE.
9185 * configure: Regenerate.
9186
4248b1b1
RM
91872012-06-22 Roland McGrath <roland@hack.frob.com>
9188
9189 * configure.in (libc_cv_localstatedir): New substituted variable.
9190 * configure: Regenerated.
9191 * config.make.in (localstatedir): New variable, substituted from
9192 libc_cv_localstatedir.
9193 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9194 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9195 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9196 * sysdeps/gnu/configure: Regenerated.
9197
006dd861
JL
91982012-06-21 Jeff Law <law@redhat.com>
9199
9200 [BZ #14277]
9201 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9202 free. Simplify list management for _LIBC case.
9203
79662d42
JM
92042012-06-21 Joseph Myers <joseph@codesourcery.com>
9205
b7abb4bf
JM
9206 [BZ #14273]
9207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9208 Clear sign bit of 64-bit integer value before comparing against
9209 overflow value.
9210
79662d42
JM
9211 * sysdeps/mach/configure: Regenerated.
9212
1f150908
L
92132012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 [BZ #14278]
9216 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9217
28363bbf
JL
92182012-06-21 Jeff Law <law@redhat.com>
9219
9220 [BZ #13882]
9221 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9222 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9224 * elf/dl-open.c (dl_open_worker): Likewise.
9225
09615db4
CD
92262012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9227
9228 * scripts/list-sources.sh: Scan PORTS for translations.
9229 * po/libc.pot: Regenerated.
9230
2174c6dd
AJ
92312012-06-21 Andreas Jaeger <aj@suse.de>
9232
9233 [BZ #12194]
9234 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9235 warning.
9236 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9237 * bits/byteswap-16.h (__bswap_16): Likewise.
9238 * bits/byteswap.h (__bswap_constant_16): Likewise.
9239
3ee947b1
L
92402012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9241
9242 [BZ #14117]
a2f34833
L
9243 * sysdeps/i386/fpu_control.h: Removed.
9244 * sysdeps/x86_64/fpu_control.h: Moved to ...
9245 * sysdeps/x86/fpu_control.h: Here.
9246
3ee947b1
L
9247 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9248 (_FPU_SETCW): Likewise.
9249
ed1825f8
L
92502012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9251
25f1282a
L
9252 [BZ #14117]
9253 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9254 * sysdeps/x86/fpu/bits/mathinline.h: This.
9255 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9256
ed1825f8
L
9257 [BZ #14050]
9258 [BZ #14117]
9259 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9260 functions if __x86_64__ is defined.
9261
36d54b74
CLT
92622012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9263
9264 * string/endian.h: Add !__ASSEMBLER__ condition for including
9265 conversion interfaces.
9266
10285c21
JM
92672012-06-15 Joseph Myers <joseph@codesourcery.com>
9268
9269 [BZ #14241]
9270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9271 of ABS(x) in calculating zero to negative powers other than odd
9272 integers.
9273 * math/libm-test.inc (pow_test): Add more tests.
9274
06c5abbd
AJ
92752012-06-15 Andreas Jaeger <aj@suse.de>
9276
9277 * manual/contrib.texi (Contributors): Update entry of Liubov
9278 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9279 Machado Filho.
9280
a3aeac40
CH
92812012-06-15 Cyril Hrubis <metan@ucw.cz>
9282
9283 * string/string.h: Add __wur to GNU version of strerror_r.
9284
49bdf4c1
L
92852012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 [BZ #14229]
9288 * string/Makefile (tests): Add tst-strtok_r.
9289 * string/tst-strtok_r.c: New file.
9290 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9291 RAX_LP/RDX_LP on SAVE_PTR.
9292
834f9b8d
RM
92932012-06-14 Roland McGrath <roland@hack.frob.com>
9294
9295 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9296
75fa1921
JM
92972012-06-14 Joseph Myers <joseph@codesourcery.com>
9298
9299 * libm_test.inc (csqrt_test): Allow more spurious underflow
9300 exceptions.
9301 (j0_test): Likewise.
9302 (j1_test): Likewise.
9303 (y0_test): Likewise.
9304 (y1_test): Likewise.
9305
771766df
CD
93062012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9307
9308 * po/Makefile (libc.pot): Use UTF-8 charset.
9309
ceb9e56b
PP
93102012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9311
9312 [BZ #14210]
9313 Suppress sign-conversion warning from FD_SET.
9314 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9315 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9316 not unsigned long int.
9317 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9318
ddb28975
L
93192012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #14050]
9322 [BZ #14117]
9323 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9324 __extern_always_inline instead of __extern_inline.
9325 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9326 (__signbit): Likewise.
9327 (__signbitl): Support C++ namespace.
9328 (lrintf): New inline function.
9329 (lrint): Likewise.
9330 (llrintf): Likewise.
9331 (llrint): Likewise.
9332 (fmaxf): Likewise.
9333 (fmax): Likewise.
9334 (fminf): Likewise.
9335 (fmin): Likewise.
9336 (rint): Likewise.
9337 (rintf): Likewise.
9338 (ceil): Likewise.
9339 (ceilf): Likewise.
9340 (floor): Likewise.
9341 (floorf): Likewise.
9342 (nearbyint): Likewise.
9343 (nearbyintf): Likewise.
9344
d7b4fb26
TS
93452012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9346
9347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9348 non-default versions.
9349
eb55f5c2
RM
93502012-06-11 Roland McGrath <roland@hack.frob.com>
9351
9352 [BZ #14218]
9353 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9354
366af02c
TS
93552012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9356
99ff6e5c
TS
9357 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9358 (FE_UPWARD, FE_DOWNWARD): Don't define.
9359 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9361
366af02c
TS
9362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9363 reading it.
9364 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9365 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9366
793ea851
KK
93672012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9368
9369 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9372 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9373
a728a38f
L
93742012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 [BZ #14117]
c08010c7
L
9377 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9378 * sysdeps/i386/fpu/Implies: New file.
9379 * sysdeps/x86_64/fpu/Implies: Likewise.
9380 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9381 * sysdeps/x86/fpu/bits/fenv.h: This.
9382
a728a38f
L
9383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9384 __SSE_MATH__.
9385
6e230d11
SP
93862012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9387
9388 [BZ #14134]
9389 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9390 character 0xffff that matches the last element of the
9391 conversion table.
9392
1b671feb
AZ
93932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9394
9395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9396 fmodl commit.
9397
6043738b
AZ
93982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9399
9400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9401 values higher than 25.6283.
9402
34ae0b32
AZ
94032012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9404
9405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9406 subnormal exponent extraction and add some __builtin_expect.
9407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9408 Fix for subnormal mantissa calculation.
9409
1214ec8f
MF
94102012-06-04 Mike Frysinger <vapier@gentoo.org>
9411
9412 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9413 cpu2 is -1 and errno is not ENOSYS.
9414
f3d1f93c
L
94152012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 [BZ #14117]
0e4a3cd7
L
9418 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9419 * sysdeps/x86/bits/string.h: This.
9420 * sysdeps/x86_64/bits/string.h: Removed.
9421
6704c645
L
9422 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9423 if not compiling for x86-64, but compiling for >= i486.
9424
48495318
L
9425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9426 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9427
14adcbfc
L
9428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9429 New macro from Linux kernel 3.4.0.
9430 (FP_XSTATE_MAGIC2): Likewise.
9431 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9432 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9433 (struct _fpx_sw_bytes): New struct.
9434 (struct _xsave_hdr): Likewise.
9435 (struct _ymmh_state): Likewise.
9436 (struct _xstate): Likewise.
9437
68e408ab
L
9438 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9439 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9441 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9442 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9443 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9444
f3d1f93c
L
9445 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9446 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9447 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9448 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9449 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9450 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9451
d9dc34cd
TMQMF
94522012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9453
9454 [BZ #13743]
9455 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9456 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9457 (sysdep_headers): Include sys/platform/ppc.h.
9458 * sysdeps/powerpc/test-gettimebase.c: Test for
9459 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9460 * manual/Makefile (appendices): Include platform.texi.
9461 * manual/contrib.texi (Contributors): Update @node pointers.
9462 * manual/maint.texi (Maintenance): Likewise.
9463 (Platform): New node.
9464 * manual/platform.texi: New file. Document the new features.
9465
4af3879c
SP
94662012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9467 Jakub Jelinek <jakub@redhat.com>
9468
9469 [BZ #14188]
9470 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9471 where __builtin_expect is unavailable.
9472
2fd6ff13
DM
94732012-06-03 David S. Miller <davem@davemloft.net>
9474
9475 * stdlib/longlong.h: Updated from GCC.
9476
173f7220
AS
94772012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9478
9479 [BZ #14042]
9480 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9481 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9482 __mcount_internal.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9484 (GLIBC_2.16): Likewise.
9485
f34a1c6f
L
94862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9487
9488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9489
88a4576f
JM
94902012-06-01 Joseph Myers <joseph@codesourcery.com>
9491
ea32bcdd
JM
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9493 (default-abi): New variable.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9496 variable.
9497 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9498 Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9500 Likewise.
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9502 Likewise.
9503
88a4576f
JM
9504 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9505 definition. Document in comment.
9506
402fe938
DM
95072012-06-01 David S. Miller <davem@davemloft.net>
9508
9509 * stdlib/longlong.h: Updated from GCC.
9510
3553723f
L
95112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 [BZ #14117]
3bd872c4
L
9514 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9515 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9516 sys/debugreg.h sys/io.h here.
9517 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9518 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9519 sys/io.h.
9520 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9521 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9522 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9523 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9524 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9525 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9526
3553723f
L
9527 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9528 Define only if __x86_64__ is defined.
9529
4842e4fe
JM
95302012-06-01 Joseph Myers <joseph@codesourcery.com>
9531
c5bfe3d5
JM
9532 [BZ #14048]
9533 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9534 Use int64_t for variable i.
9535 * math/libm-test.inc (fmod_test): Add more tests.
9536
4842e4fe
JM
9537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9538 z computation is not scheduled after fetestexcept.
9539 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9540 Use math_force_eval instead of asm to ensure calculation scheduled
9541 before exception test.
9542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9543 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9544
efb73488
AJ
95452012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9546
9547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9548 computation is not scheduled after fetestexcept.
9549
29bcce7c
L
95502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 [BZ #14117]
9553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9554 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9555
73a68f94
AZ
95562012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9557
9558 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9559 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9560
67b6df78
L
95612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9562
edf2933a 9563 [BZ #14117]
ebc64a18
L
9564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9565 <bits/wordsize.h>.
9566 (__WCHAR_MIN): Support __WORDSIZE == 64.
9567 (__WCHAR_MAX): Likewise.
9568
edf2933a
L
9569 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9570 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9571
57c6cf40
L
9572 [BZ #14183]
9573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9574 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9575
67b6df78 9576 [BZ #14117]
8eb6281e
L
9577 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9578 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9579
aac639f4
L
9580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9581 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9582
67b6df78
L
9583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9584 Defined to 1 if __x86_64__ isn't defined.
9585 (_STAT_VER_LINUX_OLD): New.
9586 (st_atime): Remove duplicate.
9587 (st_mtime): Likewise.
9588 (st_ctime): Likewise.
9589
1c2cfe81
DM
95902012-05-31 David S. Miller <davem@davemloft.net>
9591
9592 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9593 entries.
9594
5be8418c
AS
95952012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9596
e7725326
AS
9597 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9598 gen-libm-test.pl.
9599
5be8418c
AS
9600 [BZ #14132]
9601 * elf/dl-reloc.c: Include <_itoa.h>.
9602 (_dl_reloc_bad_type): Remove use of INTUSE.
9603 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9604 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9605 * stdio-common/psiginfo.c (psiginfo): Likewise.
9606 * stdio-common/psignal.c (psignal): Likewise.
9607 * string/strsignal.c (strsignal): Likewise.
9608 * include/signal.h (_sys_siglist): Declare hidden proto.
9609 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9610 INTVARDEF with libc_hidden_data_def.
9611 * stdio-common/itoa-udigits.c: Likewise.
9612 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9613 (_itoa_lower_digits_internal): Remove declaration.
9614 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9615 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9616 (_sys_sigabbrev_internal): Remove aliases.
9617 (_sys_siglist): Define hidden alias.
9618
507352f1
MT
96192012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9620
9621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9622 bits/sysctl.h.
9623
42bbb1c3
L
96242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 [BZ #14117]
6bd784b6
L
9627 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9628 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9629
8bca20f0
L
9630 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9631 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9632 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9633 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9635 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9636
f9e890a9
L
9637 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9640
471101a1
L
9641 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9642 with __addr.
9643 (insw): Likewise.
9644 (insl): Likewise.
9645 (outsb): Likewise.
9646 (outsw): Likewise.
9647 (outsl): Likewise.
9648
6451c862
L
9649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9652
a254b8c9
L
9653 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9654 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9656 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9657 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9658 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9659
b8dfdd92
L
9660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9661 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9662
578cd270
L
9663 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9664 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9665
de662f5f
L
9666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9669
25653439
L
9670 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9671 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9672 to ...
9673 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9674
6bad24a0
L
9675 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9676 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9677 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9678
42bbb1c3
L
9679 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9680 for x86-64.
9681 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9682
2d10d547
JM
96832012-05-31 Joseph Myers <joseph@codesourcery.com>
9684
9685 * math/math.h (M_El): Use two more decimal places.
9686 (M_LOG2El): Likewise.
9687 (M_LOG10El): Likewise.
9688 (M_LN2l): Likewise.
9689 (M_LN10l): Likewise.
9690 (M_PIl): Likewise.
9691 (M_PI_2l): Likewise.
9692 (M_PI_4l): Likewise.
9693 (M_1_PIl): Likewise.
9694 (M_2_PIl): Likewise.
9695 (M_2_SQRTPIl): Likewise.
9696 (M_SQRT2l): Likewise.
9697 (M_SQRT1_2l): Likewise.
9698
f230c29b
DM
96992012-05-31 David S. Miller <davem@davemloft.net>
9700
9701 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9702 values between float registers.
9703 * sysdeps/sparc/sparc64/memset.S: Likewise.
9704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9705
fed806c3
MF
97062012-05-31 Mike Frysinger <vapier@gentoo.org>
9707
9708 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9709 -D_FORTIFY_SOURCE=1.
9710 (CPPFLAGS-tst-longjmp_chk.c): Define.
9711 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9712 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9713 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9714 CFLAGS-tst-wchar-h.c.
9715
30917259
MP
97162012-05-31 Marek Polacek <polacek@redhat.com>
9717
9718 [BZ #14132]
9719 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9720 __endmntent_internal): Remove declaration.
9721 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9722 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9723 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9724
1c58d5dc
DM
97252012-05-30 David S. Miller <davem@davemloft.net>
9726
9727 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9728 (___Q_simulate_exceptions): Use real FP ops rather than writing
9729 into the %fsr.
9730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9731 Likewise.
9732
7dc00e0d
L
97332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9734
9735 [BZ #14117]
0bd53985
L
9736 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9737 * sysdeps/x86/bits/xtitypes.h: This.
9738
3a257e66
L
9739 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9740 * sysdeps/x86/bits/wordsize.h: This.
9741
62f62904
L
9742 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9743 * sysdeps/x86/bits/huge_vall.h: This.
9744
404fe9d9
L
9745 * sysdeps/i386/bits/select.h: Removed.
9746 * sysdeps/x86_64/bits/select.h: Renamed to ...
9747 * sysdeps/x86/bits/select.h: This.
9748
d48d0446
L
9749 * sysdeps/i386/bits/setjmp.h: Removed.
9750 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9751 * sysdeps/x86/bits/setjmp.h: This.
9752
7dc00e0d
L
9753 * sysdeps/i386/bits/mathdef.h: Removed.
9754 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9755 * sysdeps/x86/bits/mathdef.h: This.
9756
03277f8f
AS
97572012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9758
9759 [BZ #14132]
9760 * include/sys/socket.h (__connect_internal)
9761 (__libc_sa_len_internal): Remove declaration.
9762 (__connect, __libc_sa_len): Declare hidden_proto.
9763 (SA_LEN): Remove use of INTUSE.
9764 * socket/connect.c: Add libc_hidden_def.
9765 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9766 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9767 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9768 alias.
9769 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9771 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9772 of adding _internal alias.
9773
13764867
L
97742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9775
9776 [BZ #14117]
6bd97696
L
9777 * sysdeps/i386/bits/link.h: Removed.
9778 * sysdeps/i386/bits/linkmap.h: Likewise.
9779 * sysdeps/x86_64/bits/link.h: Renamed to ...
9780 * sysdeps/x86/bits/link.h: This.
9781 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9782 * sysdeps/x86/bits/linkmap.h: This.
9783
f726f0bb
L
9784 * sysdeps/i386/bits/endian.h: Removed.
9785 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9786 * sysdeps/x86/bits/endian.h: This.
9787
13764867
L
9788 * sysdeps/i386/bits/byteswap.h: Removed.
9789 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9790 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9791 * sysdeps/x86/bits/byteswap.h: This.
9792 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9793 * sysdeps/x86/bits/byteswap-16.h: This.
9794 * sysdeps/i386/Implies: Add x86.
9795 * sysdeps/x86_64/Implies: Likewise.
9796
ae251b0b
DM
97972012-05-30 David S. Miller <davem@davemloft.net>
9798
9799 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9800 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9802 (FP_TRAPPING_EXCEPTIONS): Define.
9803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9804 (FP_TRAPPING_EXCEPTIONS): Define.
9805 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9806 subnormals only when inexact has been signalled or underflow
9807 exceptions are enabled.
9808 (_FP_PACK_CANONICAL): Likewise.
9809
d5c90867
L
98102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 [BZ #14183]
9813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9814 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9815
63f1549e
RH
98162012-05-30 Richard Henderson <rth@twiddle.net>
9817
8d8f2279
RH
9818 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9819 with #ifndef NOT_IN_libc.
9820
63f1549e
RH
9821 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9822 marked to avoid plt entry.
9823
0ab0291b
L
98242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9825
9826 [BZ #14112]
9827 * Makeconfig (default-abi): New macro.
9828 (abi-includes): Likewise.
9829 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9830 $(abi-$(default-abi)-lib-soname) for soname if defined.
9831 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9832 abi-variants.
9833 * Makefile (installed-stubs): Likewise.
9834 * include/stubs-biarch.h: Removed.
9835 * scripts/lib-names.awk: Only handle one library at a time.
9836 * scripts/soversions.awk: Remove WORDSIZE support.
9837 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9838 entries.
9839 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9840 Removed.
9841 (syscall-list-default-condition): Likewise.
9842 (syscall-list-default-condition): Likewise.
9843 (syscall-list-includes): Likewise.
9844 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9845 syscall-list-* with abi-*. Handle undefined abi-variants.
9846 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9847 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9848 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9849 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9850 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9851 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9852 Removed.
9853 (syscall-list-32-options): Likewise.
9854 (syscall-list-32-condition): Likewise.
9855 (syscall-list-64-options): Likewise.
9856 (syscall-list-64-condition): Likewise.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9858 macro.
9859 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9860 Renamed to ...
9861 (abi-*): This.
9862 (abi-64-ld-soname): New macro.
9863 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9864 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9865 Renamed to ...
9866 (abi-*): This.
9867 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9868 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9869
4da0431d
JM
98702012-05-30 Joseph Myers <joseph@codesourcery.com>
9871
3a85279c
JM
9872 * sysdeps/unix/sysv/linux/kernel-features.h
9873 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9874 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9875 include <kernel-features.h>.
9876 [!__NR_ftruncate64]: Remove conditional code.
9877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9878 [__NR_ftruncate64]: Make code unconditional.
9879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9880 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9881 include <kernel-features.h>.
9882 [!__NR_ftruncate64]: Remove conditional code.
9883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9884 [__NR_ftruncate64]: Make code unconditional.
9885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9887 include <kernel-features.h>.
9888 [!__NR_ftruncate64]: Remove conditional code.
9889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9890 [__NR_ftruncate64]: Make code unconditional.
9891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9893 include <kernel-features.h>.
9894 [!__NR_ftruncate64]: Remove conditional code.
9895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9896 [__NR_ftruncate64]: Make code unconditional.
9897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9898
4da0431d
JM
9899 * configure.in (libc_cv_fpie): Weaken to a compile test using
9900 LIBC_TRY_CC_OPTION.
9901 * configure: Regenerated.
9902
11ef492c
AK
99032012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9904
9905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9909 Refreshed.
9910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9916 Refreshed.
9917
d66ef399
DM
99182012-05-27 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9921 (___Q_zero): New.
9922 (__Q_simulate_exceptions): Return void. Change to simulate
9923 exceptions by writing into the %fsr.
9924 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9925 (__Qp_handle_exceptions): Likewise.
9926 (numbers): Delete.
9927 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9928 __Qp_handle_exceptions.
9929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9930 __Qp_handle_exceptions.
9931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9932 as unused and give dummy FP_RND_NEAREST initializer.
9933 (FP_INHIBIT_RESULTS): Define.
9934 (___Q_simulate_exceptions): Update declaration.
9935 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9936 formatting.
9937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9938 as unused and give dummy FP_RND_NEAREST initializer.
9939 (__Qp_handle_exceptions): Update declaration.
9940 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9941 formatting.
9942
04fb54b5
TS
99432012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9944
9945 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9946 the temporary FPU control word.
9947 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9948 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9949 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9950 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9952 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9953 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9955 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9956 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9958
3f99608f
KK
99592012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9960
9961 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9962 fields.
9963
65a4de4e
CLT
99642012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9965
9966 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9967 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9968 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9969 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9970 Likewise.
9971 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9972 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9973 Likewise.
9974
15749d40
UD
99752012-05-27 Ulrich Drepper <drepper@gmail.com>
9976
9977 * po/h.po: Update from translation team.
9978
25dbcb27
AS
99792012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9980
3d3f8e55
AS
9981 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9982
25dbcb27
AS
9983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9984 handling of denormals.
9985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9986 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9992 Likewise.
9993
7ad47a80 99942012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9995
9996 [BZ #14152]
9997 * math/libm-test.inc (fma_test): Don't always expect underflow
9998 exception.
9999
9c6ea9fa
SP
100002012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10001
10002 [BZ #12416]
10003 * elf/tst-execstack.c: Include stackinfo.h.
10004 (do_test): Adjust test case to ensure that pthread_getattr_np
10005 behaviour remains the same after marking stack executable.
10006
a8239222
JM
100072012-05-25 Joseph Myers <joseph@codesourcery.com>
10008
10009 * sysdeps/unix/sysv/linux/kernel-features.h
10010 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10011 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10012 kernel-features.h.
10013 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10014 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10015 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10016 kernel-features.h.
10017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10019
918b5606
L
100202012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 * configure.in: Define the default includes to being none.
10023 * configure: Regenerated.
10024
3a097cc7
RM
100252012-05-25 Roland McGrath <roland@hack.frob.com>
10026
8422c9a5
RM
10027 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10028 * sysdeps/x86_64/setjmp.S: Likewise.
10029 * sysdeps/i386/bsd-setjmp.S: Likewise.
10030 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10031 * sysdeps/i386/setjmp.S: Likewise.
10032 * sysdeps/i386/__longjmp.S: Likewise.
10033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10035
3a097cc7
RM
10036 * include/stap-probe.h: New file.
10037 * configure.in: Handle --enable-systemtap.
10038 * configure: Regenerated.
10039 * config.h.in (USE_STAP_PROBE): New #undef.
10040 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10041 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10042 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10043
21708942
JM
100442012-05-25 Joseph Myers <joseph@codesourcery.com>
10045
10046 [BZ #13717]
10047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10048 to 2.4.0 where earlier.
10049 * sysdeps/unix/sysv/linux/configure: Regenerated.
10050 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10051 <kernel-features.h>.
10052 [__ASSUME_32BITUIDS]: Make code unconditional.
10053 [!__ASSUME_32BITUIDS]: Remove conditional code.
10054 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10055 <kernel-features.h>.
10056 [__ASSUME_32BITUIDS]: Make code unconditional.
10057 [!__ASSUME_32BITUIDS]: Remove conditional code.
10058 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10059 [__ASSUME_32BITUIDS]: Make code unconditional.
10060 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10061 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10062 <kernel-features.h>.
10063 [__ASSUME_32BITUIDS]: Make code unconditional.
10064 [!__ASSUME_32BITUIDS]: Remove conditional code.
10065 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10066 <kernel-features.h>.
10067 [__ASSUME_32BITUIDS]: Make code unconditional.
10068 [!__ASSUME_32BITUIDS]: Remove conditional code.
10069 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10070 <kernel-features.h>.
10071 [__ASSUME_32BITUIDS]: Make code unconditional.
10072 [!__ASSUME_32BITUIDS]: Remove conditional code.
10073 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10074 <kernel-features.h>.
10075 [__ASSUME_32BITUIDS]: Make code unconditional.
10076 [!__ASSUME_32BITUIDS]: Remove conditional code.
10077 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10078 <kernel-features.h>.
10079 [__ASSUME_32BITUIDS]: Make code unconditional.
10080 [!__ASSUME_32BITUIDS]: Remove conditional code.
10081 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10082 <kernel-features.h>.
10083 [__ASSUME_32BITUIDS]: Make code unconditional.
10084 [!__ASSUME_32BITUIDS]: Remove conditional code.
10085 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10086 <kernel-features.h>.
10087 [__ASSUME_32BITUIDS]: Make code unconditional.
10088 [!__ASSUME_32BITUIDS]: Remove conditional code.
10089 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10090 <kernel-features.h>.
10091 [__ASSUME_32BITUIDS]: Make code unconditional.
10092 [!__ASSUME_32BITUIDS]: Remove conditional code.
10093 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10094 <kernel-features.h>.
10095 [__ASSUME_32BITUIDS]: Make code unconditional.
10096 [!__ASSUME_32BITUIDS]: Remove conditional code.
10097 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10098 <kernel-features.h>.
10099 [__ASSUME_32BITUIDS]: Make code unconditional.
10100 [!__ASSUME_32BITUIDS]: Remove conditional code.
10101 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10102 <kernel-features.h>.
10103 [__NR_setresgid] (__setresgid): Do not declare.
10104 [__ASSUME_32BITUIDS]: Make code unconditional.
10105 [!__ASSUME_32BITUIDS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10107 <kernel-features.h>.
10108 [__NR_setresuid] (__setresuid): Do not declare.
10109 [__ASSUME_32BITUIDS]: Make code unconditional.
10110 [!__ASSUME_32BITUIDS]: Remove conditional code.
10111 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10112 <kernel-features.h>.
10113 [__ASSUME_32BITUIDS]: Make code unconditional.
10114 [!__ASSUME_32BITUIDS]: Remove conditional code.
10115 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10116 <kernel-features.h>.
10117 [__ASSUME_32BITUIDS]: Make code unconditional.
10118 [!__ASSUME_32BITUIDS]: Remove conditional code.
10119 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10120 <kernel-features.h>.
10121 [__ASSUME_32BITUIDS]: Make code unconditional.
10122 [!__ASSUME_32BITUIDS]: Remove conditional code.
10123 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10124 <kernel-features.h>.
10125 [__ASSUME_32BITUIDS]: Make code unconditional.
10126 [!__ASSUME_32BITUIDS]: Remove conditional code.
10127 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10128 <kernel-features.h>.
10129 [__ASSUME_32BITUIDS]: Make code unconditional.
10130 [!__ASSUME_32BITUIDS]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10132 <kernel-features.h>.
10133 [__ASSUME_32BITUIDS]: Make code unconditional.
10134 [!__ASSUME_32BITUIDS]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10136 <kernel-features.h>.
10137 [__ASSUME_32BITUIDS]: Make code unconditional.
10138 [!__ASSUME_32BITUIDS]: Remove conditional code.
10139 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10140 <kernel-features.h>.
10141 [__ASSUME_32BITUIDS]: Make code unconditional.
10142 [!__ASSUME_32BITUIDS]: Remove conditional code.
10143 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10144 <kernel-features.h>.
10145 [__ASSUME_32BITUIDS]: Make code unconditional.
10146 [!__ASSUME_32BITUIDS]: Remove conditional code.
10147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10148 <kernel-features.h>.
10149 [__ASSUME_32BITUIDS]: Make code unconditional.
10150 [!__ASSUME_32BITUIDS]: Remove conditional code.
10151 * sysdeps/unix/sysv/linux/kernel-features.h
10152 (__ASSUME_SETRESUID_SYSCALL): Remove.
10153 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10154 (__ASSUME_32BITUIDS): Likewise.
10155 (__ASSUME_LDT_WORKS): Likewise.
10156 (__ASSUME_O_DIRECTORY): Likewise.
10157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10158 architecture but not kernel version.
10159 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10160 (__ASSUME_MMAP2_SYSCALL): Likewise.
10161 (__ASSUME_STAT64_SYSCALL): Likewise.
10162 (__ASSUME_IPC64): Likewise.
10163 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10164 <kernel-features.h>.
10165 [__ASSUME_32BITUIDS]: Make code unconditional.
10166 [!__ASSUME_32BITUIDS]: Remove conditional code.
10167 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10168 <kernel-features.h>.
10169 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10170 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10171 132096]: Remove conditional code.
10172 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10174 <kernel-features.h>.
10175 [__ASSUME_32BITUIDS]: Make code unconditional.
10176 [!__ASSUME_32BITUIDS]: Remove conditional code.
10177 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10178 <kernel-features.h>.
10179 [__ASSUME_32BITUIDS]: Make code unconditional.
10180 [!__ASSUME_32BITUIDS]: Remove conditional code.
10181 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10182 <kernel-features.h>.
10183 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10184 unconditional.
10185 (__setresgid): Do not declare.
10186 [__ASSUME_32BITUIDS]: Make code unconditional.
10187 [!__ASSUME_32BITUIDS]: Remove conditional code.
10188 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10189 <kernel-features.h>.
10190 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10191 unconditional.
10192 (__setresuid): Do not declare.
10193 [__ASSUME_32BITUIDS]: Make code unconditional.
10194 [!__ASSUME_32BITUIDS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10196 <kernel-features.h>.
10197 [__ASSUME_32BITUIDS]: Make code unconditional.
10198 [!__ASSUME_32BITUIDS]: Remove conditional code.
10199 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10200 <kernel-features.h>.
10201 [__ASSUME_32BITUIDS]: Make code unconditional.
10202 [!__ASSUME_32BITUIDS]: Remove conditional code.
10203
a386f1cc
RH
102042012-05-25 Richard Henderson <rth@twiddle.net>
10205
10206 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10207 dl_hwcap to ifunc resolver.
10208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10209 elf_ifunc_invoke.
10210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10211 dl_hwcap to ifunc resolver.
10212 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10213
b6550497
JM
102142012-05-24 Joseph Myers <joseph@codesourcery.com>
10215
10216 [BZ #14153]
10217 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10218 for |x| <= 2**-26, not 2**-57.
10219 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10220 exception.
10221
b0bc23a1
JL
102222012-05-24 Jeff Law <law@redhat.com>
10223
10224 * stdio-common/Makefile (tests): Add bug25.
10225 * stdio-common/bug25.c: New test.
10226
347c92e9
L
102272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 [BZ #13576]
10230 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10231 multiple of MALLOC_ALIGNMENT in size.
10232 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10233
6bcc8b3f
JM
102342012-05-24 Joseph Myers <joseph@codesourcery.com>
10235
10236 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10237 Require >= 256.
10238 (FILENAME_MAX): Use macro-int-constant.
10239 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10240 (_IOFBF): Use macro-int-constant.
10241 (_IOLBF): Likewise.
10242 (_IONBF): Likewise.
10243 (SEEK_CUR): Likewise.
10244 (SEEK_END): Likewise.
10245 (SEEK_SET): Likewise.
10246 (TMP_MAX): Likewise.
10247 (EOF): Use macro-int-constant. Require < 0.
10248 (NULL): Use macro-constant. Require == 0.
10249 (stdin): Require type to be FILE *.
10250 (stdout): Likewise.
10251 (stderr): Likewise.
10252 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10253 macro-int-constant.
10254 (EXIT_SUCCESS): Likewise.
10255 (NULL): Use macro-constant. Require == 0.
10256 (RAND_MAX): Use macro-int-constant.
10257 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10258 [C99-based standards] (strtof): Require function.
10259 [C99-based standards] (strtold): Likewise.
10260 [C99-based standards] (strtoll): Likewise.
10261 [C99-based standards] (strtoull): Likewise.
10262 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10263 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10264 [ISO || ISO99 || ISO11] (math.h): Likewise.
10265 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10266 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10268
d18ea0c5
AS
102692012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10270
10271 [BZ #14132]
56d25bb8
AS
10272 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10273 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10274 * intl/dgettext.c (DCGETTEXT): Likewise.
10275 * intl/gettext.c (DCGETTEXT): Likewise.
10276 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10277 * posix/regex_internal.h (gettext): Likewise.
10278 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10279 Remove declaration.
10280 * include/argz.h (__argz_count_internal)
10281 (__argz_stringify_internal): Remove declaration.
10282 (__argz_count, __argz_stringify): Declare hidden proto.
10283 * intl/dcgettext.c: Remove use of INTDEF.
10284 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10285 * string/argz-stringify.c: Likewise.
10286 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10287 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10288 Declare hidden proto.
d18ea0c5
AS
10289 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10290 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10291 Declare hidden proto.
10292 * include/stdio.h (__asprintf_internal): Don't declare.
10293 (__asprintf): Don't define as macro. Declare hidden proto.
10294 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10295 (__fsetlocking): Declare hidden proto.
10296 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10297 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10298 hidden proto.
10299 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10300 (_IO_setlinebuf): Remove use of INTUSE.
10301 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10302 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10303 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10304 Remove declaration.
10305 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10306 (_IO_do_flush): Remove use of INTUSE.
10307 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10308 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10309 (_IO_adjust_column, _IO_least_wmarker)
10310 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10311 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10312 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10313 (_IO_default_doallocate, _IO_wdefault_doallocate)
10314 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10315 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10316 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10317 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10318 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10319 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10320 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10321 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10322 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10323 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10324 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10325 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10326 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10327 proto.
10328 (_IO_flush_all_internal, _IO_adjust_column_internal)
10329 (_IO_default_uflow_internal, _IO_default_finish_internal)
10330 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10331 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10332 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10333 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10334 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10335 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10336 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10337 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10338 (_IO_file_close_internal, _IO_file_close_it_internal)
10339 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10340 (_IO_file_init_internal, _IO_file_attach_internal)
10341 (_IO_file_fopen_internal, _IO_file_read_internal)
10342 (_IO_file_sync_internal, _IO_file_seek_internal)
10343 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10344 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10345 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10346 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10347 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10348 (_IO_list_all_internal, _IO_link_in_internal)
10349 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10350 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10351 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10352 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10353 (_IO_do_write_internal, _IO_padn_internal)
10354 (_IO_getline_info_internal, _IO_getline_internal)
10355 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10356 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10357 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10358 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10359 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10360 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10361 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10362 with libc_hidden_ver, remove use of INTUSE.
10363 * libio/genops.c: Likewise.
10364 * libio/freopen.c: Likewise.
10365 * libio/freopen64.c: Likewise.
10366 * libio/iofclose.c: Likewise.
10367 * libio/iofdopen.c: Likewise.
10368 * libio/iofflush.c: Likewise.
10369 * libio/iofflush_u.c: Likewise.
10370 * libio/iofgets.c: Likewise.
10371 * libio/iofgets_u.c: Likewise.
10372 * libio/iofopen.c: Likewise.
10373 * libio/iofopncook.c: Likewise.
10374 * libio/iofread.c: Likewise.
10375 * libio/iofread_u.c: Likewise.
10376 * libio/ioftell.c: Likewise.
10377 * libio/iofwrite.c: Likewise.
10378 * libio/iogetline.c: Likewise.
10379 * libio/iogets.c: Likewise.
10380 * libio/iogetwline.c: Likewise.
10381 * libio/iopadn.c: Likewise.
10382 * libio/iopopen.c: Likewise.
10383 * libio/ioseekoff.c: Likewise.
10384 * libio/ioseekpos.c: Likewise.
10385 * libio/iosetbuffer.c: Likewise.
10386 * libio/iosetvbuf.c: Likewise.
10387 * libio/ioungetc.c: Likewise.
10388 * libio/ioungetwc.c: Likewise.
10389 * libio/iovdprintf.c: Likewise.
10390 * libio/iovsprintf.c: Likewise.
10391 * libio/iovsscanf.c: Likewise.
10392 * libio/memstream.c: Likewise.
10393 * libio/obprintf.c: Likewise.
10394 * libio/oldfileops.c: Likewise.
10395 * libio/oldiofclose.c: Likewise.
10396 * libio/oldiofdopen.c: Likewise.
10397 * libio/oldiofopen.c: Likewise.
10398 * libio/oldiopopen.c: Likewise.
10399 * libio/oldstdfiles.c: Likewise.
10400 * libio/putc.c: Likewise.
10401 * libio/setbuf.c: Likewise.
10402 * libio/setlinebuf.c: Likewise.
10403 * libio/stdfiles.c: Likewise.
10404 * libio/strops.c: Likewise.
10405 * libio/vasprintf.c: Likewise.
10406 * libio/vscanf.c: Likewise.
10407 * libio/vsnprintf.c: Likewise.
10408 * libio/vswprintf.c: Likewise.
10409 * libio/wfiledoalloc.c: Likewise.
10410 * libio/wfileops.c: Likewise.
10411 * libio/wgenops.c: Likewise.
10412 * libio/wmemstream.c: Likewise.
10413 * libio/wstrops.c: Likewise.
10414 * libio/__fpurge.c: Likewise.
10415 * libio/__fsetlocking.c: Likewise.
10416 * assert/assert.c: Likewise.
10417 * debug/fgets_chk.c: Likewise.
10418 * debug/fgets_u_chk.c: Likewise.
10419 * debug/fread_chk.c: Likewise.
10420 * debug/fread_u_chk.c: Likewise.
10421 * debug/gets_chk.c: Likewise.
10422 * debug/obprintf_chk.c: Likewise.
10423 * debug/vasprintf_chk.c: Likewise.
10424 * debug/vdprintf_chk.c: Likewise.
10425 * debug/vsnprintf_chk.c: Likewise.
10426 * debug/vsprintf_chk.c: Likewise.
10427 * malloc/mtrace.c: Likewise.
10428 * misc/error.c: Likewise.
10429 * misc/syslog.c: Likewise.
10430 * stdio-common/asprintf.c: Likewise.
10431 * stdio-common/fxprintf.c: Likewise.
10432 * stdio-common/getw.c: Likewise.
10433 * stdio-common/isoc99_fscanf.c: Likewise.
10434 * stdio-common/isoc99_scanf.c: Likewise.
10435 * stdio-common/isoc99_vfscanf.c: Likewise.
10436 * stdio-common/isoc99_vscanf.c: Likewise.
10437 * stdio-common/isoc99_vsscanf.c: Likewise.
10438 * stdio-common/printf-prs.c: Likewise.
10439 * stdio-common/printf_fp.c: Likewise.
10440 * stdio-common/printf_fphex.c: Likewise.
10441 * stdio-common/printf_size.c: Likewise.
10442 * stdio-common/putw.c: Likewise.
10443 * stdio-common/scanf.c: Likewise.
10444 * stdio-common/sprintf.c: Likewise.
10445 * stdio-common/tmpfile.c: Likewise.
10446 * stdio-common/vfprintf.c: Likewise.
10447 * stdio-common/vfscanf.c: Likewise.
10448 * stdlib/strfmon_l.c: Likewise.
10449 * sunrpc/openchild.c: Likewise.
10450 * sunrpc/xdr_stdio.c: Likewise.
10451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10452 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10453
d6c33fda
RM
104542012-05-24 Roland McGrath <roland@hack.frob.com>
10455
c1487492
RM
10456 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10457
10458 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10459 in the third column, to generate for the shared library an IFUNC
10460 that uses _dl_vdso_vsym.
10461 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10462 * Makeconfig (object-suffixes-noshared): New variable.
10463
10464 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10465 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10466 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10467 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10468
d6c33fda
RM
10469 [BZ #14132]
10470 * include/sys/time.h (__gettimeofday): Remove macro.
10471 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10472 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10473 Remove INTDEF.
10474 (__gettimeofday): Add libc_hidden_def.
10475 (gettimeofday): Add libc_hidden_weak.
10476 * sysdeps/mach/gettimeofday.c: Likewise.
10477 * sysdeps/posix/gettimeofday.c: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10481 (__gettimeofday_internal): Remove strong_alias.
10482 (__gettimeofday): Add libc_hidden_def.
10483 (gettimeofday): Add libc_hidden_weak.
10484 * sysdeps/unix/syscalls.list (gettimeofday):
10485 Remove __gettimeofday_internal alias.
10486
b5a2bbe6
L
104872012-05-24 Daniel Jacobowitz <drow@false.org>
10488 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 [BZ #12495]
10491 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10492 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10493 (largebin_index_32_big): New.
10494 (largebin_index): Use it for 16-byte alignment.
10495 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10496 correction with front_misalign.
10497
cfba4fda
L
104982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10499
7f907421
L
10500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10502 Likewise.
10503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10504 Likewise.
10505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10506 Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10508 Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10510 Likewise.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10512 Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10514 Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10516 Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10518 Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10520 Likewise.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10522 Likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10524 Likewise.
10525
cfba4fda
L
10526 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10527 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10528
80bad0cc
JM
105292012-05-24 Joseph Myers <joseph@codesourcery.com>
10530
7a25eb06
JM
10531 [BZ #10846]
10532 [BZ #14036]
10533 * math/libm-test.inc (exp_test): Add test from bug 14036.
10534 (pow_test): Add test from bug 10846.
10535
795405f9
JM
10536 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10537 and other flags.
10538 (special_function): Do not include flags in test name.
10539 (parse_args): Likewise.
10540 * sysdeps/i386/fpu/libm-test-ulps: Update.
10541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10542 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10545
80bad0cc
JM
10546 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10547 exceptions.
10548 * math/libm-test.inc ("Philosophy"): Update comment about
10549 exception testing.
10550 (UNDERFLOW_EXCEPTION): New macro.
10551 (UNDERFLOW_EXCEPTION_OK): Likewise.
10552 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10553 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10554 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10555 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10556 (INVALID_EXCEPTION_OK): Update value.
10557 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10558 (OVERFLOW_EXCEPTION_OK): Likewise.
10559 (IGNORE_ZERO_INF_SIGN): Likewise.
10560 (test_exceptions): Handle underflow exceptions.
10561 (acos_test): Update for underflow exception expectations.
10562 (cexp_test): Likewise.
10563 (clog_test): Likewise.
10564 (clog10_test): Likewise.
10565 (csqrt_test): Likewise.
10566 (ctan_test): Likewise.
10567 (ctanh_test): Likewise.
10568 (exp_test): Likewise.
10569 (exp10_test): Likewise.
10570 (exp2_test): Likewise.
10571 (expm1_test): Likewise.
10572 (fma_test): Likewise.
10573 (j0_test): Likewise.
10574 (jn_test): Likewise.
10575 (nexttoward_test): Likewise.
10576 (pow_test): Likewise.
10577 (scalbn_test): Likewise.
10578 (scalbln_test): Likewise.
10579 (tan_test): Likewise.
10580 (y1_test): Likewise.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583
9e0e3d0b
DM
105842012-05-23 David S. Miller <davem@davemloft.net>
10585
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10587 (__libc_sigaction): Remove unused local variables.
10588
ccd0a08f
L
105892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10590
10591 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10592
62bdf9a6
PE
105932012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10594
f8591f80
PE
10595 mktime: avoid signed integer overflow
10596 * time/mktime.c (__mktime_internal): Do not mishandle the case
10597 where diff == INT_MIN.
10598
94c7d826
PE
10599 mktime: simplify computation of average
10600 * time/mktime.c (ranged_convert): Use new time_t_avg function
10601 instead of rolling our own (probably-slower) code.
10602
ce73d683
PE
10603 mktime: do not assume signed right shift propagates sign bit
10604 * time/mktime.c (isdst_differ): New static function.
10605 (__mktime_internal): No need to normalize tm_isdst now.
10606 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10607 tm_isdst values.
10608
72a22e59
PE
10609 mktime: merge another wrapv change from gnulib
10610 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10611 from some compilers.
10612
68605433
PE
10613 mktime: remove incorrect attempt at unusual arithmetics
10614 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10615 The code didn't really work on such machines anyway.
10616 (TYPE_MINIMUM): Assume two's complement.
10617 (twos_complement_arithmetic): Verify that long_int and time_t
10618 are two's complement (or unsigned, in the latter case).
10619
03cf7fe3
PE
10620 mktime: check signed shifts on long_int and time_t, too
10621 * time/mktime.c (SHR): Check that shifts work as desired
10622 on the types long_int and time_t too, as SHR is used on
10623 such types.
10624
f04dfbc2
PE
10625 mktime: do not assume 'long' is wide enough
10626 * time/mktime.c (verify): Move decl up.
10627 (long_int): New type.
10628 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10629 to remove assumption in the code that 'long' is wide enough to
10630 store year values. This assumption is not true on x32 and on
10631 some non-glibc platforms.
10632
62bdf9a6
PE
10633 mktime: merge wrapv change from gnulib
10634 * time/mktime.c (WRAPV): New macro.
10635 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10636 (guess_time_tm, __mktime_internal): Do not assume that signed
10637 integer overflow wraps around; modern compilers generate code
10638 where this assumption is no longer valid.
10639
5e292e4f
L
106402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10641
10642 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10643 Replace "jmp L(pseudo_end)" with "ret".
10644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10645 Likewise.
10646
8caf8c87
AJ
106472012-05-23 Andreas Jaeger <aj@suse.de>
10648
10649 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10650 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10651
1a09dc56
AJ
106522012-05-23 Andreas Jaeger <aj@suse.de>
10653 Maximilian Attems <max@stro.at>
10654
10655 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10656 New macros.
10657
1c87aba0
L
106582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10661 code so that pseudo_end is just ret and the stack pointer is
10662 correct also for static library in error case.
10663
40e45bd5
JM
106642012-05-23 Joseph Myers <joseph@codesourcery.com>
10665
c2670533
JM
10666 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10667 move to syscalls.list.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10672
40e45bd5
JM
10673 * manual/install.texi (Running make install): Do not mention Linux
10674 kernel version for which pt_chown is not needed.
10675 (Linux): Do not mention problems with nscd with 2.0 kernels.
10676 * INSTALL: Regenerated.
10677
be08eda5
AJ
106782012-05-23 Andreas Jaeger <aj@suse.de>
10679
10680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10681 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10682 macro.
10683 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10685 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10687 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10693 * sysdeps/unix/sysv/linux/bits/in.h
10694 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10695
a6a056bb
RM
106962012-05-22 Roland McGrath <roland@hack.frob.com>
10697
10698 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10699 (PREPARE_VERSION): Just use assert instead, it will be elided
10700 under [NDEBUG] anyway.
10701
c9009328
L
107022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * sysdeps/unix/sysv/linux/Makefile: Include
10705 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10706 (sysdep_routines): Remove sysctl.
c9009328
L
10707 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10708 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10709 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10711 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10712
73338355
AJ
107132012-05-22 Andreas Jaeger <aj@suse.de>
10714
10715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10716 that pseudo_end is just ret and the stack pointer is correct also
10717 for static library in error case.
10718
d44638b0
PP
107192012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10720
10721 [BZ #14122]
10722 * nss/nsswitch.c (defconfig_entries): New variable.
10723 (__nss_database_lookup): Don't leak defconfig entries.
10724 (nss_parse_service_list): Don't leak on error paths.
10725 (free_database_entries): New function.
10726 (free_defconfig): New function.
10727 (free_mem): Move common code to free_database_entries.
10728
31a39bd8
L
107292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10730
da0331a8
L
10731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10732 Add arch_prctl.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10734
31a39bd8
L
10735 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10736 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10738 New macro.
10739 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10740 (INTERNAL_SYSCALL_TYPES): Likewise.
10741 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10742 (LOAD_REGS_TYPES_[1-6]): Likewise.
10743 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10744 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10745
45470df3
AZ
107462012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10747
10748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10749 copysignl for GLIBC_2_0.
10750 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10751 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10753 logbl for GLIBC_2_0.
10754 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10755 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10756
98a61bcb
L
107572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10758
a4f6e481
L
10759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10761
f63d5db6
L
10762 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10763 Use "neg %eax".
10764
98a61bcb
L
10765 * time/mktime.c: Update copyright years.
10766
95770f14
PE
107672012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10768
6226efbd
PE
10769 mktime: merge comment-quoting-style change from gnulib
10770 * time/mktime.c: Quote 'like this' in comments.
10771 The GNU coding standards suggest that we no longer quote `like this',
10772 as "`" and "'" are typically rendered asymmetrically nowadays.
10773 The typical gnulib style is to quote 'like this' when quoting
10774 code, and "like this" when quoting English.
10775
b99e4f78
PE
10776 * time/mktime.c (compile-command): Add "-I.".
10777
643e01e6
PE
10778 mktime: merge mktime-internal.h change from gnulib
10779 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10780
2554247d
PE
10781 mktime: merge time_r change from gnulib
10782 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10783
826dd0ab
PE
10784 mktime: merge DEBUG change from gnulib
10785 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10786 case system <time.h> has a #define.
10787
bd83aabe
PE
10788 mktime: merge <sys/types.h> change from gnulib
10789 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10790 since <time.t> is now guaranteed to define time_t.
10791
95770f14
PE
10792 mktime: merge HAVE_CONFIG_H change from gnulib
10793 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10794
5e1a27a9
L
107952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10796
0e44a77e
L
10797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10798 Use "neg %eax".
10799
5e1a27a9
L
10800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10801 __rlim_t cast.
10802 (struct rusage): Use anonymous union to pad each field to
10803 __syscall_slong_t.
10804
46259bec
DM
108052012-05-21 David S. Miller <davem@davemloft.net>
10806
10807 * Makefules (o-iterator): Remove .s cases.
10808 (compile-command.s): Delete.
10809 (COMPILE.s): Delete.
10810 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10811
59f0c22e
JM
108122012-05-21 Joseph Myers <joseph@codesourcery.com>
10813
10814 * configure.in (libc_cv_predef_stack_protector): Only consider
10815 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10816 * configure: Regenerated.
10817
20c07380
L
108182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10819
bbb3154b
L
10820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10821 New macro. Use R*LP on int and pointer.
10822 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10823 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10824 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10825 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10826
20c07380
L
10827 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10828 [__WORDSIZE_TIME64_COMPAT32] instead of
10829 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10830 (struct utmp): Likewise.
10831 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10832 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10833 Renamed to ...
10834 (__WORDSIZE_TIME64_COMPAT32): This.
10835 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10836 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10837 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10839 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10840 (__WORDSIZE_TIME64_COMPAT32): New macro.
10841
d8d1017e
AJ
108422012-05-21 Andreas Jaeger <aj@suse.de>
10843
10844 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10845 only if [SHARED]. Add prototype for __wcschr_ia32.
10846
6c7fb145
RM
108472012-05-21 Roland McGrath <roland@hack.frob.com>
10848
10849 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10850 of %rbp unmolested in the jmp_buf while mangling the low bits.
10851 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10852 unmolested high bits of %rbp while demangling the low bits.
10853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10854
66274218
AJ
108552012-05-21 Andreas Jaeger <aj@suse.de>
10856
07c58f8f
AJ
10857 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10858 * sunrpc/svc_simple.c: Use it for registerrpc.
10859 * sunrpc/xcrypt.c: Use it for passwd2des.
10860
66274218
AJ
10861 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10862
61f65140
L
108632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10866 Don't define if [__SYSCALL_WORDSIZE != 32].
10867 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10868 New macro.
10869
5fefb436
AJ
108702012-05-21 Bruno Haible <bruno@clisp.org>
10871 Andreas Jaeger <aj@suse.de>
10872
10873 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10874 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10875 inptr and inend for must_buffer_ch.
10876 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10877 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10878 * stdio-common/Makefile (tests): Remove bug15.
10879 (bug15-ENV): Remove macro.
10880 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10881 anymore.
10882
d8e272ab
AJ
108832012-05-19 Andreas Jaeger <aj@suse.de>
10884 Roland McGrath <roland@hack.frob.com>
10885
10886 * manual/contrib.texi: Completely rewritten. It contains now an
10887 alphabetical list of contributors and their contributions.
10888
4a56a162
RH
108892012-05-21 Richard Henderson <rth@twiddle.net>
10890
10891 * misc/getauxval.c (__getauxval): Use unsigned long int.
10892 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10893 (getauxval): Use unsigned long int.
10894
d024d23c
L
108952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10898
cbc00a03
RM
108992012-05-21 Roland McGrath <roland@hack.frob.com>
10900
10901 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10902 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10903 __alignof__ (long double).
10904
478143fa
AZ
109052012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906
10907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10908
c7683a6d
RH
109092012-05-20 Richard Henderson <rth@twiddle.net>
10910
10911 * misc/getauxval.c: New file.
10912 * misc/sys/auxv.h: New file.
10913 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10914 (routines): Add getauxval.
10915 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10916 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10917 * elf/dl-sysdep.c (_dl_auxv): Remove.
10918 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10919 * elf/dl-support.c (_dl_auxv): New variable.
10920 (_dl_aux_init): Initialize it.
10921 * manual/startup.texi (Auxiliary Vector): New node.
10922 * sysdeps/generic/bits/hwcap.h: New file.
10923 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10924 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10925 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10926 * sysdeps/sparc/sysdep.h: ... here. Include it.
10927 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10930 Update.
c7683a6d
RH
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10939
a6f1845d
AZ
109402012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10941
10942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10943
cbcbe830
DM
109442012-05-19 David S. Miller <davem@davemloft.net>
10945
10946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10947
e0b16cc2
JM
109482012-05-19 Joseph Myers <joseph@codesourcery.com>
10949
10950 [BZ #14123]
10951 * math/s_ccosh.c: Include <float.h>
10952 (__ccosh): Avoid internal overflow calculating sinh and cosh
10953 values before multiplying by sin and cos values.
10954 * math/s_ccoshf.c: Likewise.
10955 * math/s_ccoshl.c: Likewise.
10956 * math/s_csin.c: Likewise.
10957 * math/s_csinf.c: Likewise.
10958 * math/s_csinl.c: Likewise.
10959 * math/s_csinh.c: Likewise.
10960 * math/s_csinhf.c: Likewise.
10961 * math/s_csinhl.c: Likewise.
10962 * math/libm-test.inc (ccos_test): Add more tests.
10963 (ccosh_test): Likewise.
10964 (csin_test): Likewise.
10965 (csinh_test): Likewise.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968
6ad13e08
L
109692012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10970
f66f0ce8
L
10971 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10972 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10973
6ad13e08
L
10974 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10975
b1d072a7
JM
109762012-05-19 Joseph Myers <joseph@codesourcery.com>
10977
10978 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10979 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10980 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10981 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10982 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10983 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10984 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10985 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10986 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10987 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10988 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10989 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10990 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10991 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10992 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10993 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10994 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10995 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10996 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10997 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10998 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10999 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11000 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11001 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11002 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11003 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11004 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11005 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11006 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11007 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11008 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11009
9eae47cb
AJ
110102012-05-18 Andreas Jaeger <aj@suse.de>
11011
11012 * csu/.gitignore: Delete.
11013
bb07f69f
L
110142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11015
11016 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11017 (timex): Use __syscall_slong_t.
11018
e6bdb741
AJ
110192012-05-18 Andreas Jaeger <aj@suse.de>
11020 Carlos O'Donell <carlos_odonell@mentor.com>
11021
11022 * manual/install.texi (Configuring and compiling): Update
11023 description about files modified in the source directory.
d6c33fda 11024 * INSTALL: Regenerated.
e6bdb741 11025
1b74487e
L
110262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11029 value. Use "or" to set return value to -1.
11030 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11031 negate return value.
11032
a88b64b9
TMQMF
110332012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11034
11035 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11036 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11037 failure if the compiler has Graphite support disabled.
11038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11039 Likewise.
11040 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11041 CFLAGS-memmove.c): Likewise.
11042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11043 Likewise.
11044
3707636e
L
110452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11046
610b8622
L
11047 * sysdeps/x86_64/x32/_itoa.h: New file.
11048
7cd195df
L
11049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11050 getdents system call only if kernel and user dirents have the
11051 same d_ino and d_off.
11052
94b07d20
L
11053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11054 LLONG_MAX != LONG_MAX.
11055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11056 (_fitoa_word): Likewise.
11057
18298070
L
11058 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11059 years.
11060 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11062 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11063
553c7ea4
L
11064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11065 include <bits/wordsize.h>. Check __x86_64__ instead of
11066 __WORDSIZE.
11067 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11068 if __x86_64__ is defined. Use anonymous union on fpstate.
11069
3707636e
L
11070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11071 anonymous union.
11072
b53ef01a
AS
110732012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11074
37fb1dc0
AS
11075 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11076 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11077 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11078 Refer to _rtld_local_ro instead of _rtld_global_ro.
11079 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11080 Likewise.
11081 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11082 Likewise.
11083 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11084 Likewise.
11085 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11086 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11087 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11088
b53ef01a
AS
11089 * sysdeps/powerpc/powerpc32/dl-machine.c
11090 (__elf_machine_runtime_setup) [PROF]: Don't reference
11091 _dl_prof_resolve.
11092
7a185db2
AJ
110932012-05-18 Andreas Jaeger <aj@suse.de>
11094
11095 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11096 function only available for GCCs before 3.4 since GCC 3.4
11097 introduced a builtin.
11098 (lrint): Likewise.
11099 (llrintf): Likewise.
11100 (llrint): Likewise.
11101 (fmaxf): Likewise.
11102 (fmax): Likewise.
11103 (fminf): Likewise.
11104 (fmin): Likewise.
11105 (rint): Likewise.
11106 (rintf): Likewise.
11107 (nearbyint): Likewise.
11108 (nearbyintf): Likewise.
11109 (ceil): Likewise.
11110 (ceilf): Likewise.
11111 (floor): Likewise.
11112 (floorf): Likewise.
11113
3e5aef87
L
111142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11115
428bd707
L
11116 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11117 on both fields and cast pointer to __syscall_ulong_t.
11118
3e5aef87
L
11119 * bits/types.h (__fsword_t): New type.
11120 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11121 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11123 (__FSWORD_T_TYPE): Likewise.
11124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11125 (__FSWORD_T_TYPE): Likewise.
11126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11127 (__FSWORD_T_TYPE): Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11129 (__FSWORD_T_TYPE): Likewise.
11130 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11131 __SWORD_TYPE with __fsword_t.
11132 (statfs64): Likewise.
11133
1ba7c3dc
DM
111342012-05-17 David S. Miller <davem@davemloft.net>
11135
11136 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11137
59910343
AJ
111382012-05-17 Andreas Jaeger <aj@suse.de>
11139
11140 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11141 warning.
11142
2e4c1e9e
L
111432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11146
de7f5ce7
AJ
111472012-05-17 Andreas Jaeger <aj@suse.de>
11148
11149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11150 when it is used.
11151
286abc3d
CM
111522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11153
11154 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11155
477cc68e
L
111562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11159 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11160
1a0994f5
CD
111612012-05-17 Andreas Jaeger <aj@suse.de>
11162 Carlos O'Donell <carlos_odonell@mentor.com>
11163
11164 [BZ #14059]
11165 * sysdeps/x86_64/multiarch/init-arch.h
11166 (bit_YMM_Usable): Rename to...
11167 (bit_AVX_Usable): ... this.
11168 (bit_FMA4_Usable): New macro.
11169 (bit_XMM_state): New macro.
11170 (bit_YMM_state): New macro.
11171 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11172 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11173 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11174 (CPUID_OSXSAVE): New macro.
11175 (CPUID_AVX): New macro.
11176 (CPUID_FMA4): New macro.
11177 (index_YMM_Usable): Rename to...
11178 (index_AVX_Usable): ... this.
11179 (HAS_AVX): Use HAS_ARCH_FEATURE.
11180 (HAS_FMA4): Likewise.
11181 (HAS_YMM_USABLE): Remove.
11182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11183 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11184 are present.
11185 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11186 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11187 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11188 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11189 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11190
0af797de
CM
111912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11192
11193 * math/libm-test.c: Support platforms without multiple rounding modes.
11194 * math/bug-nextafter.c: Support platforms without FP exceptions.
11195 * math/bug-nexttoward.c: Likewise.
11196 * math/test-fenv.c: Likewise.
11197 * math/test-misc.c: Likewise.
11198 * stdlib/bug-getcontext.c: Likewise.
11199
e39745ff
AJ
112002012-05-17 Andreas Jaeger <aj@suse.de>
11201
11202 * manual/examples/search.c (critter_cmp): Change signature to
11203 avoid warnings.
11204 * manual/string.texi (Collation Functions): Likewise.
11205
48970aba
L
112062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 * bits/types.h: Fold copyright years.
11209 * bits/typesizes.h: Likewise.
11210 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11214 * time/time.h: Likewise.
11215
bedee953
PP
112162012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11217
11218 [BZ #208]
11219 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11220 in instead of returning them. Return void.
11221 (__libc_mallinfo): Accumulate over all arenas.
11222 (__malloc_stats): Adjust for change in int_mallinfo interface.
11223
61653dfb
RM
112242012-05-16 Roland McGrath <roland@hack.frob.com>
11225
30b99d79
RM
11226 [BZ #10375]
11227 * configure.in (NM): Add AC_CHECK_TOOL for it.
11228 (libc_extra_cflags): New substituted variable.
11229 Check for -fstack-protector being used implicitly.
11230 * configure: Regenerated.
11231 * config.make.in (config-extra-cflags): New variable,
11232 gets @libc_extra_cflags@.
11233 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11234
61653dfb
RM
11235 [BZ #10375]
11236 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11237 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11238 * configure: Regenerated.
11239 * config.make.in (CPPUNDEFS): New substituted variable.
11240 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11241 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11242 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11243
661768bb
L
112442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11247 (mq_attr): Use __syscall_slong_t.
11248
d4261567
L
112492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11250
11251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11252 Check __x86_64__ instead of __WORDSIZE.
11253 (_STAT_VER_LINUX): Likewise.
11254 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11255 __syscall_ulong_t and __syscall_slong_t.
11256 (stat64): Likewise.
11257
cf3ff365
L
112582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11261
76cf3e4d
L
112622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11265
a637753a
L
112662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11269 __syscall_ulong_t.
11270
d5e05119
L
11271 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11272 include <bits/wordsize.h>. Check __x86_64__ instead of
11273 __WORDSIZE.
11274 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11275 defined.
11276 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11277
f62ee380
L
11278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11279 include <bits/wordsize.h>. Check __x86_64__ instead of
11280 __WORDSIZE.
11281 (user_regs_struct): Use "__extension__ unsigned long long"
11282 instead of "unsigned long" if __x86_64__ is defined.
11283 (user): Likewise. Pad after pointer field if __ILP32__ is
11284 defined.
11285
4e124ced
JM
112862012-05-16 Joseph Myers <joseph@codesourcery.com>
11287
6a3951a0
JM
11288 * configure.in (makeinfo): Require version 4.5 or later. Allow
11289 versions 5 to 9.
11290 * configure: Regenerated.
11291 * manual/install.texi (texinfo): Increase version requirement to
11292 4.5 or later.
11293 * INSTALL: Regenerated.
11294
4e124ced
JM
11295 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11296
953ca31a
L
112972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11298
11299 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11300
617aca05
L
11301 * sysdeps/x86_64/x32/ffs.c: New file.
11302
5762f7ae
L
11303 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11304 __syscall_ulong_t.
11305 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11306 defined. Use __syscall_ulong_t.
11307 (shminfo): Use __syscall_ulong_t.
11308 (shm_info): Likewise.
11309
a26b6856
L
11310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11311 __syscall_ulong_t.
11312
cb2b9ef7
L
11313 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11314 <bits/wordsize.h>.
11315 (msgqnum_t): Use __syscall_ulong_t.
11316 (msglen_t): Likewise.
11317 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11318 __syscall_ulong_t.
11319
34683bb0
L
11320 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11322
84a68786
L
11323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11324
48baa5f1
L
11325 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11326 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11327
180be88b
L
11328 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11329 __syscall_slong_t.
11330
5e90c8ad
L
11331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11332 include <bits/wordsize.h>. Check __x86_64__ instead of
11333 __WORDSIZE.
11334
23dfb58b
L
11335 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11336 "unsigned long long int" if __x86_64__ is defined.
11337 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11338
ce5d54b0
L
11339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11341 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11342
13dc9eac
L
11343 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11344 <stdint.h>.
11345 (GET_PC): Cast to uintptr_t first.
11346 (GET_FRAME): Likewise.
11347 (GET_STACK): Likewise.
11348
a7895d15
L
11349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11357 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11378
656416c9
AS
113792012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11380
5bd66283
AS
11381 * Makerules (+depfiles): Also collect depfiles from .oS in
11382 $(extra-objs).
11383 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11384 .oS, $(libnldbl-routines)).
11385
656416c9
AS
11386 * Makerules (native-compile-mkdep-flags): Define.
11387 * sunrpc/Makefile (extra-objs): Add $(addprefix
11388 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11389 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11390 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11391 calling $(make-target-directory).
11392
a46f2169
L
113932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11394
11395 * bits/types.h (__snseconds_t): Removed.
11396 * time/time.h (struct timespec): Replace __snseconds_t with
11397 __syscall_slong_t.
11398 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11399 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11400 Likewise.
11401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11402 (__SNSECONDS_T_TYPE): Likewise.
11403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11404 (__SNSECONDS_T_TYPE): Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11406 (__SNSECONDS_T_TYPE): Likewise.
11407
6af6528b
L
114082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11409
11410 * sysdeps/mach/hurd/bits/typesizes.h
11411 (__SYSCALL_SLONG_TYPE): New macro.
11412 (__SYSCALL_ULONG_TYPE): Likewise.
11413
de986b56
L
114142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11415
11416 * bits/types.h (__syscall_slong_t): New type.
11417 (__syscall_ulong_t): Likewise.
11418
11419 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11420 (__SYSCALL_ULONG_TYPE): Likewise.
11421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11422 (__SYSCALL_SLONG_TYPE): Likewise.
11423 (__SYSCALL_ULONG_TYPE): Likewise.
11424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11425 (__SYSCALL_SLONG_TYPE): Likewise.
11426 (__SYSCALL_ULONG_TYPE): Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11428 (__SYSCALL_SLONG_TYPE): Likewise.
11429 (__SYSCALL_ULONG_TYPE): Likewise.
11430
85736dc7
L
114312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11432
11433 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11434 Add sigaltstack-offsets.sym.
11435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11436 <sigaltstack-offsets.h>.
11437 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11438 longjmp_msg pointer.
11439 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11440 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11441 signal stack.
11442 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11443
cc03b296
JM
114442012-05-15 Joseph Myers <joseph@codesourcery.com>
11445
a9538892
JM
11446 * elf/stackguard-macros.h: Remove file.
11447 * sysdeps/generic/stackguard-macros.h: New file.
11448 * sysdeps/i386/stackguard-macros.h: Likewise.
11449 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11450 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11451 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11452 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11453 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11454 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11455 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11456 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11457 <elf/stackguard-macros.h>.
11458
cc03b296
JM
11459 [BZ #14109]
11460 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11461 __aligned__ in attribute.
11462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11463 (gregset_t): Likewise.
11464
93171016
L
114652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11466
11467 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11468 * sysdeps/x86_64/64/Implies-after: Here. New file.
11469 * sysdeps/x86_64/x32/Implies-after: New file.
11470
d86813a0
L
114712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11474 and access return value for _dl_profile_fixup. Use R10_LP to
11475 load frame size.
11476
2953ec75
L
114772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11478
11479 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11480
3b550e9e
L
114812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11484 * sysdeps/x86_64/x32/sysdep.h: New file.
11485
eda41706
L
114862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11489 * sysdeps/x86_64/setjmp.S: Likewise.
11490
9ea01d93
AZ
114912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492
11493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11495 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11497 remove unused global constant.
11498
02a91938
CM
114992012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11500
11501 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11502 include of <not-cancel.h>.
11503
6540185f
RM
115042012-05-15 Roland McGrath <roland@hack.frob.com>
11505
11506 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11507
509072a0
AJ
115082012-05-15 Jeff Law <law@redhat.com>
11509 Andreas Jaeger <aj@suse.de>
11510
11511 [BZ #13594]
11512 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11513 out from...
11514 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11515 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11517 code changing __hst_map_handle.map.
11518
ba75122d
RM
115192012-05-15 Roland McGrath <roland@hack.frob.com>
11520
11521 * configure.in (sysnames): Look for Implies-before and Implies-after
11522 files.
11523 * configure: Regenerated.
11524
890d8bd8
L
115252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11528 8-byte data alignment with LP_SIZE alignment.
11529
f6ee6623
L
115302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11533 into R10_LP.
11534
ea2626f6
L
115352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11536
11537 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11538
085f715e
L
115392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11540
11541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11542 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11544 Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11546
be8498fc
L
115472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11548
11549 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11550 (stackinfo_sub_sp): Likewise.
11551
70bc83b9
L
115522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11555 RAX_LP.
11556
9bc0b730
L
115572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11560 into R*_LP.
11561
6d2850e7
L
115622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11565 sizes into R*_LP.
11566
3cb84561
L
115672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11570
54e2ed81
L
115712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11572
11573 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11574 into R11_LP and load __x86_64_shared_cache_size_half into
11575 R8_LP.
11576
8a17f349
L
115772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11580 R8_LP.
11581
777b1eea
AZ
115822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11583
11584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11585 logb for POWER7.
11586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11587 logbf for POWER7.
11588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11589 logbl for POWER7.
11590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11591 powerpc32/power7/fpu/s_logb.c via #include.
11592 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11593 powerpc32/power7/fpu/s_logbf.c via #include.
11594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11595 powerpc32/power7/fpu/s_logbl.c via #include.
11596
d20d4ac2
JM
115972012-05-15 Joseph Myers <joseph@codesourcery.com>
11598
11599 * README.libm: Remove file.
11600
6cdef1ab
L
116012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11602
11603 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11604 count for x32. Use R*_LP and omit operand-size suffix.
11605
0b254d8f
L
116062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11609 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11610 * sysdeps/x86_64/x32/shlib-versions: New file.
11611
ceb809dc
RM
116122012-05-14 Roland McGrath <roland@hack.frob.com>
11613
11614 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11615 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11616 Use _dl_fatal_printf instead.
11617
37f1abd4
JM
116182012-05-14 Joseph Myers <joseph@codesourcery.com>
11619
11620 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11621 set if not set by the user. Do not allow for being unset.
11622 * sysdeps/unix/sysv/linux/configure: Regenerated.
11623
11de3a33
L
116242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11627 the `q' suffix from lea and replace .quad with ASM_ADDR.
11628
e02f153a
L
116292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11630
11631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11632 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11633 instead of $17.
11634 (PTR_DEMANGLE): Likewise.
11635
520ae0fd
L
116362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11639 (LP_OP): Likewise.
11640 (ASM_ADDR): Likewise.
11641 (RAX_LP): Likewise.
11642 (RBP_LP): Likewise.
11643 (RBX_LP): Likewise.
11644 (RCX_LP): Likewise.
11645 (RDI_LP): Likewise.
11646 (RSI_LP): Likewise.
11647 (RSP_LP): Likewise.
11648 (R8_LP): Likewise.
11649 (R9_LP): Likewise.
11650 (R10_LP): Likewise.
11651 (R10_LP): Likewise.
11652 (R11_LP): Likewise.
11653 (R12_LP): Likewise.
11654 (R13_LP): Likewise.
11655 (R14_LP): Likewise.
11656 (R15_LP): Likewise.
11657
b985be81
L
116582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 * sysdeps/x86_64/x32/dl-machine.h: New file.
11661
6a4888ff
AJ
116622012-05-14 Andreas Jaeger <aj@suse.de>
11663
11664 * manual/Makefile (subdir): Remove export of subdir.
11665 (all): Remove target.
11666 (.PHONY): Remove all from list.
11667 (mkinstalldirs): Remove.
11668 (.PHONY): Remove installdirs from list.
11669 ($(inst_infodir)/libc.info): Use make-target-directory.
11670 (installdirs): Remove.
11671 (subdir_%): Remove.
11672 (glibc-targets): Remove.
11673 (lib): Remove.
11674 (stubs): Remove.
11675 ($(objpfx)stubs ../po/manual.pot): Remove.
11676 ($(objpfx)stamp%): Remove.
11677 (make-target-directory): Remove.
11678 (subdir_install): Remove.
11679 (routines): Remove.
11680 (aux): Remove.
11681 (sources): Remove.
11682 (objects): Remove.
11683 (headers): Remove.
11684
11685 [BZ #13750]
11686 * manual/.gitignore: Remove, it's not needed anymore.
11687 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11688 all files in it.
11689 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11690 directory.
11691 (texis): Renamed to $(objpfx)texis.
11692 (texis-path): New, contains path to generated files.
11693 (chapters.%): Use texis-path for complete path, add extra argument
11694 libc-texinfo.sh.
11695 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11696 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11697 (summary,texi, stamp-summary): Use complete path of
11698 files. Generate files in build dir.
11699 (dir-add.texi): Build in build dir.
11700 (libm-err.texi,stamp-libm-err): Likewise.
11701 (version.texi, stamp-version): Likewise.
11702 (.%c.texi): Likewise.
11703 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11704 (mostlyclean): Remove target.
11705 (realclean): Remove target.
11706 (generated): Add new variable with contents from mostlyclean and
11707 realclean, remove entries duplicated in common-mostlyclean, add
11708 stamp-libm-err and stamp-version.
11709 (generated-dirs): Add libc directory.
11710 ($(inst_infodir)/libc.info): Install files from build dir.
11711
11712 * manual/install.texi (Configuring and compiling): Adjust since
11713 the info files are not part of the tar ball anymore.
11714
7ac77294
AJ
117152012-05-14 Andreas Jaeger <aj@suse.de>
11716
11717 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11718 variable.
11719
ffb7875d
JM
117202012-05-14 Joseph Myers <joseph@codesourcery.com>
11721
11722 [BZ #13717]
11723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11724 to 2.2.0 where earlier.
11725 * sysdeps/unix/sysv/linux/configure: Regenerated.
11726 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11727 Remove conditional code.
11728 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11729 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11730 Remove conditional code.
11731 [!__NR_lchown]: Likewise.
11732 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11733 [__NR_lchown]: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11735 comment referencing __ASSUME_LCHOWN_SYSCALL.
11736 * sysdeps/unix/sysv/linux/i386/sigaction.c
11737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11739 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11740 Remove conditional code.
11741 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11742 (__protocol_available): Remove #if 0 code.
11743 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11744 conditional code.
11745 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11746 * sysdeps/unix/sysv/linux/kernel-features.h
11747 (__ASSUME_GETCWD_SYSCALL): Don't define.
11748 (__ASSUME_REALTIME_SIGNALS): Likewise.
11749 (__ASSUME_PREAD_SYSCALL): Likewise.
11750 (__ASSUME_PWRITE_SYSCALL): Likewise.
11751 (__ASSUME_POLL_SYSCALL): Likewise.
11752 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11753 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11754 non-SPARC.
11755 (__ASSUME_SIOCGIFNAME): Don't define.
11756 (__ASSUME_MSG_NOSIGNAL): Likewise.
11757 (__ASSUME_SENDFILE): Define unconditionally.
11758 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11759 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11760 conditional code.
11761 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11762 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11763 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11764 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11765 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11766 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11767 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11781 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11792 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11793 Remove conditional code.
11794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11795 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11796 Remove conditional code.
11797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11798 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11799 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11800 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11801 Remove conditional code.
11802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11803 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11804 Remove conditional code.
11805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11806 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11807 Remove conditional code.
11808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11809 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11810 Remove conditional code.
11811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11812 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11813 Remove conditional code.
11814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11815 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11818 * sysdeps/unix/sysv/linux/sigaction.c
11819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11821 * sysdeps/unix/sysv/linux/sigpending.c
11822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11824 * sysdeps/unix/sysv/linux/sigprocmask.c
11825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11827 * sysdeps/unix/sysv/linux/sigsuspend.c
11828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11831 (__libc_missing_rt_sigs): Remove.
11832 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11833 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11834 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11835 Remove conditional code.
11836 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11837 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11838 return 1.
11839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11840 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11842 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11843
1bfb7291
AJ
118442012-05-14 Andreas Jaeger <aj@suse.de>
11845
caae5a81
AJ
11846 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11847 it's not used in glibc.
11848 (__coshm1): Likewise.
11849 (__acosh1p): Likewise.
11850 (__sgn): Likewise.
11851
1bfb7291
AJ
11852 * manual/string.texi (Copying and Concatenation): Add missing
11853 variable in concat example.
11854 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11855
c044d724
L
118562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11857
144c5467 11858 [BZ #14103]
c044d724
L
11859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11860 __builtin_clzl with __builtin_clzll.
11861
2523c62b
L
118622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11863
11864 [BZ #14104]
11865 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11866 libc_freeres_ptr.
11867
d7bb4c42
LD
118682012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11869
11870 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11871 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11872 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11874
9dc4e1fb
MF
118752012-05-14 Mike Frysinger <vapier@gentoo.org>
11876
11877 * NEWS: Update ia64 info.
11878
c7df0112
AS
118792012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11880
11881 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11882 used as bcopy.
11883
dc70356c
TS
118842012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11885
11886 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11887 * sysdeps/unix/syscalls.list (dup3): Likewise.
11888 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11889 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11890
9fb1a21f
L
118912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11894 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11895
4822a2a5
L
118962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11897
11898 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11899 thread pointer.
11900 (TLS_IE): Use mov/add instead of movq/addq to load thread
11901 pointer.
11902 (TLS_GD_PREFIX): New.
11903 (TLS_GD): Use it.
11904
842b81d6
DM
119052012-05-11 David S. Miller <davem@davemloft.net>
11906
11907 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11908 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11909 (_FPU_SETCW): Likewise.
11910
1cf463cd
L
119112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11912
11913 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11914 is 32-byte aligned.
11915
60cc4a18
AS
119162012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11917
11918 [BZ #11837]
11919 * iconvdata/gb18030.c: Update tables.
11920 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11921 characters specially.
11922 (BODY for TO_LOOP): Add encoding of missing ranges.
11923
febb44a4
TS
119242012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11925
11926 [BZ #13673]
11927 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11928 * sysdeps/mach/hurd/dup3.c: Likewise.
11929 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11930 * sysdeps/powerpc/memmove.c:: Likewise.
11931
0a10fb9e
L
119322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11933
11934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11935 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11936
df8a552f
L
119372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * elf/elf.h (R_X86_64_RELATIVE64): New.
11940 (R_X86_64_NUM): Updated.
11941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11942 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11943 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11944 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11945 tst-quad1pie tst-quad2pie
11946 (modules-names): Add tst-quadmod1 tst-quadmod2.
11947 ($(objpfx)tst-quad1): New dependency.
11948 ($(objpfx)tst-quad2): Likewise.
11949 ($(objpfx)tst-quad1pie): Likewise.
11950 ($(objpfx)tst-quad2pie): Likewise.
11951 * sysdeps/x86_64/tst-quad1.c: New file.
11952 * sysdeps/x86_64/tst-quad1pie.c: New file.
11953 * sysdeps/x86_64/tst-quad2.c: Likewise.
11954 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11955 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11956 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11957 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11958 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11959
f34d6f84
ST
119602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11961
f42d41d1
ST
11962 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11963 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11964 * streams/stropts.h (t_scalar_t): Define type.
11965
3c3571fc
ST
11966 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11967 (_PATH_PRESERVE): Set to "/var/lib".
11968 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11969
61f06bd3
ST
11970 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11971 instead of int.
11972
918d4d71
ST
11973 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11974 if __dir_mkfile succeeded.
11975
f34d6f84
ST
11976 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11977 checking for _hurd_dtablesize. Unlock it right after having
11978 finished _hurd_dtable allocation.
11979
10589b4a
TS
119802012-05-10 Thomas Schwinge <thomas@schwinge.name>
11981
674cdbc7
TS
11982 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11983 * sysdeps/mach/hurd/configure: Regenerated.
11984 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11985 special-casing to...
11986 * sysdeps/gnu/configure.in: ... this new file.
11987 * sysdeps/unix/sysv/linux/configure: Regenerated.
11988 * sysdeps/gnu/configure: New generated file.
11989
8e41b99f
TS
11990 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11991 for Linux: use nsec instead of usec, as well as:
11992 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11993 members of type struct timespec.
11994 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11995 New macros.
11996 (struct stat64): Likewise.
11997 (_STATBUF_ST_NSEC): New macro.
11998 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11999
10589b4a
TS
12000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12001 __strtoul_internal rather than strtoul.
12002
63643c85
PT
120032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12004
12005 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12006 and reject them.
12007
3faebe6a
ST
120082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12009
12010 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12011 which preserves existing values.
12012 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12013
c6474b07
PT
120142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12015
12016 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12017 TIMEOUT values. Return EINVAL for NFDS values either negative or
12018 greater than FD_SETSIZE.
12019
1043890b
ST
120202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12021
12022 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12023 allocated, call __vm_protect to finish enabling the existing space, and
12024 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12025 allocate the remainder.
12026
37ed8b9b
PT
120272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12028
12029 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12030 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12031
db653660
ST
120322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12033
37ed8b9b
PT
12034 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12035 sysdeps/mach/hurd/readlink.c.
b29d4053 12036
db653660
ST
12037 * posix/tst-sysconf.c (posix_options): Only use
12038 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12039 _POSIX_SYNCHRONIZED_IO when they are defined
12040 * sysdeps/mach/hurd/bits/posix_opt.h:
12041 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12042 (_XOPEN_REALTIME): Undefine macro.
12043 (_XOPEN_REALTIME_THREADS): Undefine macro.
12044 (_XOPEN_SHM): Undefine macro.
12045 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12046 macro to -1.
12047 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12048 macro to -1.
12049 (_POSIX_ASYNC_IO): Undefine macro.
12050 (_POSIX_PRIORITIZED_IO): Undefine macro.
12051 (_POSIX_SPIN_LOCKS): Define macro to -1.
12052
ee16e894
ST
12053 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12054 SA_NODEFER, SA_RESETHAND.
12055 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12056 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12057 F_DUPFD_CLOEXEC.
12058
6103ae3b
TS
120592012-05-10 Thomas Schwinge <thomas@schwinge.name>
12060
12061 * elf/Makefile (pldd-modules): Define unconditionally.
12062
80b4e5f3
TS
120632012-05-10 Thomas Schwinge <thomas@schwinge.name>
12064
12065 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12066
edadcbd6
ST
120672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12068
12069 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12070 Return ENOENT when name is empty.
12071 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12072
80694780
TS
120732012-05-10 Thomas Schwinge <thomas@schwinge.name>
12074
1792c087
TS
12075 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12076
80694780
TS
12077 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12078
6b645f0d
ST
120792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12080
80694780
TS
12081 Fix mlock in all cases except non-readable pages.
12082 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12083 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12084
6b645f0d
ST
12085 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12086 (__mkdir): When path is `/', just fail with EEXIST.
12087 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12088
e468f8a3
TS
120892012-05-10 Thomas Schwinge <thomas@schwinge.name>
12090
12091 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12092 <sys/uio.h> (for writev).
12093 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12094 and <sys/param.h> (for MIN).
12095
a4186cff
PT
120962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12097
12098 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12099 REQUESTED_TIME. Properly set the remaining time and return EINTR
12100 if interrupted.
12101
510bbf14
TS
121022012-05-10 Thomas Schwinge <thomas@schwinge.name>
12103
12104 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12105 Depend on against $(link-rpcuserlibs).
12106
5d5722e8
ST
121072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12108
a4186cff
PT
12109 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12110 (__libc_stack_end): Do not use attribute_relro.
12111 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12112 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12113 to libthread-provided value.
a4186cff
PT
12114 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12115 attribute_relro.
5d5722e8 12116
37233df9
TS
121172012-05-10 Thomas Schwinge <thomas@schwinge.name>
12118
be971a2b
TS
12119 [BZ #3748]
12120 * bits/libc-lock.h (__libc_once_get): New macro.
12121 * sysdeps/mach/bits/libc-lock.h: Likewise.
12122 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12124 instead of using implementation details.
12125
37233df9
TS
12126 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12127 * libio/freopen.c: Likewise.
12128 * libio/freopen64.c: Likewise.
12129 * misc/syslog.c: Likewise.
12130 * nscd/connections.c: Likewise.
12131 * nscd/netgroupcache.c: Likewise.
12132 * sysdeps/posix/getcwd.c: Likewise.
12133
38de94a5
RM
121342012-05-10 Roland McGrath <roland@hack.frob.com>
12135
12136 * math/w_ilogbf.c: Add #include <limits.h>.
12137
67530489
ST
121382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12139
a4186cff 12140 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12141 path instead of returning without unlocking.
12142
67530489
ST
12143 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12144 immediate-write ioctls.
12145 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12146
5aa3a74a
TS
121472012-05-10 Thomas Schwinge <thomas@schwinge.name>
12148
18bad2ae
TS
12149 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12150 __builtin_frame_address instead of making assumptions about the
12151 location of the return address relative to DATA. Force early load of
12152 the return address.
12153 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12154 __builtin_frame_address.
12155
5aa3a74a
TS
12156 dup3 for GNU Hurd.
12157 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12158 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12159 implement dup3 and do some further code clean-ups.
12160 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12161 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12162
ecd0de9a
ST
121632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12164
cd9fa985
ST
12165 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12166
a4186cff
PT
12167 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12168 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12169 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12170 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12171 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12172 d->port.lock.
802ca5a5 12173
a4186cff
PT
12174 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12175 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12176 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12177
bcf55240
TS
121782012-05-10 Thomas Schwinge <thomas@schwinge.name>
12179
6960eb42
TS
12180 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12181 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12182 definitions.
12183
eb43375f
TS
12184 accept4 for GNU Hurd.
12185 * include/sys/socket.h (__libc_accept4): New prototype.
12186 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12187 to implement __libc_accept4.
12188 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12189 __libc_accept4.
12190 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12191
bcf55240
TS
12192 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12193 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12194 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12195 signal-defines.sym.
12196
6178c55b
ST
121972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12198
a4186cff 12199 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12200
6f080c2f
TS
122012012-05-10 Thomas Schwinge <thomas@schwinge.name>
12202
12203 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12204 assertion on O_CLOEXEC flag.
12205 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12206 * hurd/intern-fd.c: Likewise.
12207 * hurd/port2fd.c: Likewise.
12208
bcfe3a54
ST
122092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12210
12211 [BZ #3906]
12212 * bits/in.h (IPV6_PKTINFO): Define new macro.
12213 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12214
89c9aa49
AZ
122152012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 [BZ #13954]
12218 [BZ #13955]
12219 [BZ #13956]
12220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12222 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12226 * math/libm-test.inc (logb_test) : Additional logb tests.
12227
021db4be
AJ
122282012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12229 Andreas Jaeger <aj@suse.de>
12230
12231 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12232 * configure: Regenerated.
12233 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12234 * config.make.in (link-obsolete-rpc): New substituted variable.
12235 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12236 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12237 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12238 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12239 so that libc.a contains the symbols.
12240 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12241 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12242 * sunrpc/auth_none.c: Likewise.
12243 * sunrpc/auth_unix.c: Likewise.
12244 * sunrpc/authdes_prot.c: Likewise.
12245 * sunrpc/authuxprot.c: Likewise.
12246 * sunrpc/clnt_gen.c: Likewise.
12247 * sunrpc/clnt_perr.c: Likewise.
12248 * sunrpc/clnt_raw.c: Likewise.
12249 * sunrpc/clnt_simp.c: Likewise.
12250 * sunrpc/clnt_tcp.c: Likewise.
12251 * sunrpc/clnt_udp.c: Likewise.
12252 * sunrpc/clnt_unix.c: Likewise.
12253 * sunrpc/des_crypt.c: Likewise.
12254 * sunrpc/des_soft.c: Likewise.
12255 * sunrpc/get_myaddr.c: Likewise.
12256 * sunrpc/key_call.c: Likewise.
12257 * sunrpc/key_prot.c: Likewise.
12258 * sunrpc/netname.c: Likewise.
12259 * sunrpc/pm_getmaps.c: Likewise.
12260 * sunrpc/pm_getport.c: Likewise.
12261 * sunrpc/pmap_clnt.c: Likewise.
12262 * sunrpc/pmap_prot.c: Likewise.
12263 * sunrpc/pmap_prot2.c: Likewise.
12264 * sunrpc/pmap_rmt.c: Likewise.
12265 * sunrpc/publickey.c: Likewise.
12266 * sunrpc/rpc_cmsg.c: Likewise.
12267 * sunrpc/rpc_common.c: Likewise.
12268 * sunrpc/rpc_dtable.c: Likewise.
12269 * sunrpc/rpc_prot.c: Likewise.
12270 * sunrpc/rpc_thread.c: Likewise.
12271 * sunrpc/rtime.c: Likewise.
12272 * sunrpc/svc.c: Likewise.
12273 * sunrpc/svc_auth.c: Likewise.
12274 * sunrpc/svc_raw.c: Likewise.
12275 * sunrpc/svc_run.c: Likewise.
12276 * sunrpc/svc_tcp.c: Likewise.
12277 * sunrpc/svc_udp.c: Likewise.
12278 * sunrpc/svc_unix.c: Likewise.
12279 * sunrpc/svcauth_des.c: Likewise.
12280 * sunrpc/xcrypt.c: Likewise.
12281 * sunrpc/xdr.c: Likewise.
12282 * sunrpc/xdr_array.c: Likewise.
12283 * sunrpc/xdr_float.c: Likewise.
12284 * sunrpc/xdr_intXX_t.c: Likewise.
12285 * sunrpc/xdr_mem.c: Likewise.
12286 * sunrpc/xdr_rec.c: Likewise.
12287 * sunrpc/xdr_ref.c: Likewise.
12288 * sunrpc/xdr_sizeof.c: Likewise.
12289 * sunrpc/xdr_stdio.c: Likewise.
12290
b5c086a2
RM
122912012-05-10 Roland McGrath <roland@hack.frob.com>
12292
12293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12294 change. Update copyright years.
12295
6d74dd09
JM
122962012-05-10 Joseph Myers <joseph@codesourcery.com>
12297
12298 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12299
28e72501
MK
123002012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12301 Joseph Myers <joseph@codesourcery.com>
12302 Paul Pluzhnikov <ppluzhnikov@google.com>
12303
12304 [BZ #14012]
12305 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12306 requiring rpcgen.
12307 [cross-compiling] (extra-libs): Likewise.
12308 [cross-compiling] (extra-libs-others): Likewise.
12309 [cross-compiling] (librpcsvc-routines): Likewise.
12310 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12311 [cross-compiling] (omit-deps): Likewise.
12312 (sunrpc-CPPFLAGS): New variable.
12313 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12314 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12315 (cross-rpcgen-objs): New variable.
12316 (extra-objs): Append $(cross-rpcgen-objs).
12317 ($(cross-rpcgen-objs)): New rule.
12318 ($(objpfx)cross-rpcgen): Likewise.
12319 (rpcgen-cmd): Define to use $(built-program-file). Expand
12320 comment.
12321 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12322 ($(objpfx)x%.stmp): Likewise.
12323 * sunrpc/proto.h [IS_IN_build] (_): Define.
12324 [IS_IN_build] (_libc_intl_domainname): Likewise.
12325
c8c59454
L
123262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12327
12328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12329 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12330 and R_X86_64_TPOFF64.
12331
6f27cd16
JM
123322012-05-10 Joseph Myers <joseph@codesourcery.com>
12333
12334 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12335 sysdeps/unix/sysv/syscalls.list.
12336 (stime): Likewise.
12337 (utime): Likewise.
12338 * sysdeps/unix/sysv/syscalls.list: Remove file.
12339
02467e1c
PE
123402012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12341
12342 [BZ #3440]
12343 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12344 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12345 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12346 (__LC_IDENTIFICATION): Make these macros useful in #if
12347 expressions, as required by C99.
12348
da392631
AS
123492012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12350
12351 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12352 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12353 after this.
12354
8115f29b
L
123552012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * stdlib/longlong.h: Updated from GCC.
12358
bdd74070
AJ
123592012-05-09 Andreas Jaeger <aj@suse.de>
12360
edfe0dbe
AJ
12361 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12362 default is first entry.
12363 (run_mode): Set type.
12364 (main): Remove informal message about syslog.
12365 (options): Fix typo.
12366
bcfe3a54
ST
12367 [BZ #14053]
12368 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12369 to asm.
bcfe3a54
ST
12370 (lrint): Likewise.
12371 (llrintf): Likewise.
12372 (llrint): Likewise.
12373 (rint): Likewise.
12374 (rintf): Likewise.
12375 (nearbyint): Likewise.
12376 (nearbyintf): Likewise.
bdd74070 12377
91d8d69e
AJ
123782012-05-09 Andreas Jaeger <aj@suse.de>
12379 Pedro Alves <palves@redhat.com>
12380
12381 * nscd/nscd.c (run_mode): Use enum.
12382 (main): Cleanup coding style issue.
12383
bb90b80b
AJ
123842012-05-09 Alexandre Oliva <aoliva@redhat.com>
12385 Andreas Jaeger <aj@suse.de>
12386
bcfe3a54
ST
12387 * nscd/nscd.c (go_background): Replaced with...
12388 (run_mode): ... this.
bb90b80b 12389 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12390 (options): Add -F --foreground.
12391 (main): Implement it.
12392 (parse_opt): Parse it.
bb90b80b 12393
1a4b75a1
AJ
123942012-05-09 Andreas Jaeger <aj@suse.de>
12395
12396 [BZ #14083]
12397 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12398 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12399 -Wconversion warning.
12400 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12401 Likewise.
12402
b1cc2472
JM
124032012-05-09 Joseph Myers <joseph@codesourcery.com>
12404
12405 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12406 == 0.
12407 (LC_ALL): Use macro-int-constant.
12408 (LC_COLLATE): Likewise.
12409 (LC_CTYPE): Likewise.
12410 (LC_MESSAGES): Likewise.
12411 (LC_MONETARY): Likewise.
12412 (LC_NUMERIC): Likewise.
12413 (LC_TIME): Likewise.
12414 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12415 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12417 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12418 Specify type.
12419 [C99-based standards] (float_t): Expect type.
12420 [C99-based standards] (double_t): Expect type.
12421 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12422 type.
12423 [C99-based standards] (HUGE_VALL): Likewise.
12424 [C99-based standards] (INFINITY): Likewise.
12425 [C99-based standards] (NAN): Likewise.
12426 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12427 [C99-based standards] (FP_NAN): Likewise.
12428 [C99-based standards] (FP_NORMAL): Likewise.
12429 [C99-based standards] (FP_SUBNORMAL): Likewise.
12430 [C99-based standards] (FP_ZERO): Likewise.
12431 [C99-based standards] (FP_FAST_FMA): Use
12432 optional-macro-int-constant. Specify type. Require == 1.
12433 [C99-based standards] (FP_FAST_FMAF): Likewise.
12434 [C99-based standards] (FP_FAST_FMAL): Likewise.
12435 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12436 [C99-based standards] (FP_ILOGBNAN): Likewise.
12437 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12438 Specify type.
12439 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12440 [C99-based standards] (math_errhandling): Specify type.
12441 [ISO99 || ISO11] (signgam): Do not allow.
12442 [non-C99-based standards] (copysignf): Do not allow.
12443 [non-C99-based standards] (exp2f): Likewise.
12444 [non-C99-based standards] (log2f): Likewise.
12445 [non-C99-based standards] (modff): Allow.
12446 [non-C99-based standards] (erff): Do not allow.
12447 [non-C99-based standards] (erfcf): Likewise.
12448 [non-C99-based standards] (gammaf): Likewise.
12449 [non-C99-based standards] (hypotf): Likewise.
12450 [non-C99-based standards] (j0f): Likewise.
12451 [non-C99-based standards] (j1f): Likewise.
12452 [non-C99-based standards] (jnf): Likewise.
12453 [non-C99-based standards] (lgammaf): Likewise.
12454 [non-C99-based standards] (tgammaf): Likewise.
12455 [non-C99-based standards] (y0f): Likewise.
12456 [non-C99-based standards] (y1f): Likewise.
12457 [non-C99-based standards] (ynf): Likewise.
12458 [non-C99-based standards] (isnanf): Likewise.
12459 [non-C99-based standards] (acoshf): Likewise.
12460 [non-C99-based standards] (asinhf): Likewise.
12461 [non-C99-based standards] (atanhf): Likewise.
12462 [non-C99-based standards] (cbrtf): Likewise.
12463 [non-C99-based standards] (expm1f): Likewise.
12464 [non-C99-based standards] (ilogbf): Likewise.
12465 [non-C99-based standards] (log1pf): Likewise.
12466 [non-C99-based standards] (logbf): Likewise.
12467 [non-C99-based standards] (nextafterf): Likewise.
12468 [non-C99-based standards] (remainderf): Likewise.
12469 [non-C99-based standards] (rintf): Likewise.
12470 [non-C99-based standards] (scalbf): Likewise.
12471 [non-C99-based standards] (copysignl): Likewise.
12472 [non-C99-based standards] (exp2l): Likewise.
12473 [non-C99-based standards] (log2l): Likewise.
12474 [non-C99-based standards] (modfl): Allow.
12475 [non-C99-based standards] (erfl): Do not allow.
12476 [non-C99-based standards] (erfcl): Likewise.
12477 [non-C99-based standards] (gammal): Likewise.
12478 [non-C99-based standards] (hypotl): Likewise.
12479 [non-C99-based standards] (j0l): Likewise.
12480 [non-C99-based standards] (j1l): Likewise.
12481 [non-C99-based standards] (jnl): Likewise.
12482 [non-C99-based standards] (lgammal): Likewise.
12483 [non-C99-based standards] (tgammal): Likewise.
12484 [non-C99-based standards] (y0l): Likewise.
12485 [non-C99-based standards] (y1l): Likewise.
12486 [non-C99-based standards] (ynl): Likewise.
12487 [non-C99-based standards] (isnanl): Likewise.
12488 [non-C99-based standards] (acoshl): Likewise.
12489 [non-C99-based standards] (asinhl): Likewise.
12490 [non-C99-based standards] (atanhl): Likewise.
12491 [non-C99-based standards] (cbrtl): Likewise.
12492 [non-C99-based standards] (expm1l): Likewise.
12493 [non-C99-based standards] (ilogbl): Likewise.
12494 [non-C99-based standards] (log1pl): Likewise.
12495 [non-C99-based standards] (logbl): Likewise.
12496 [non-C99-based standards] (nextafterl): Likewise.
12497 [non-C99-based standards] (remainderl): Likewise.
12498 [non-C99-based standards] (rintl): Likewise.
12499 [non-C99-based standards] (scalbl): Likewise.
12500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12501 [non-C99-based standards] (FP_*): Do not allow.
12502 [C99-based standards] (FP_*): Change to
12503 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12504 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12505 allow.
12506 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12507 (SIG_ERR): Likewise.
12508 [X/Open-based standards] (SIG_HOLD): Likewise.
12509 (SIG_IGN): Likewise.
12510 (SIGABRT): Use macro-int-constant. Specify type. Require
12511 positive value.
12512 (SIGFPE): Likewise.
12513 (SIGILL): Likewise.
12514 (SIGINT): Likewise.
12515 (SIGSEGV): Likewise.
12516 (SIGTER): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12523 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12524 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12525 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12531 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12532 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12535 [X/Open-based standards] (SIGTRAP): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12538 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12539 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12540 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12541 allow.
12542
b9f1922d
IW
125432012-05-08 Ian Wienand <ianw@vmware.com>
12544
12545 [BZ #14080]
12546 * time/tzset.c (__tzset_parse_tz): Update default rules for
12547 daylight time changes in the Energy Policy Act of 2005.
12548
1db86e88
AJ
125492012-05-09 Andreas Jaeger <aj@suse.de>
12550
12551 [BZ #13983]
12552 * elf/ldconfig.c (parse_conf): Change string to make clear that
12553 ldconfig only issued a warning if ld.so.conf does not exist.
12554
dee4a4e3
DM
125552012-05-08 David S. Miller <davem@davemloft.net>
12556
ee0db190
DM
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12558 movxtod instead of popping the value on the stack.
12559
dee4a4e3
DM
12560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12561
6a43ec98
CD
125622012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12563
12564 * config.h.in: Add HAVE_ARM_PCS_VFP.
12565
05c2c961
RMG
125662012-05-08 Roland Mc Grath <roland@hack.frob.com>
12567
bcfe3a54
ST
12568 [BZ #13979]
12569 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12570 checking but the checks are disabled for any reason.
05c2c961 12571
4b30f61a
L
125722012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12573
12574 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12575 and ELF64_R_TYPE with ELFW(R_TYPE).
12576
eee2bc67
JM
125772012-05-08 Joseph Myers <joseph@codesourcery.com>
12578
7ea5391a
JM
12579 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12580 (ulimit): Likewise.
12581
eee2bc67
JM
12582 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12583 (settimeofday): Likewise.
12584
abb66a67
MF
125852012-05-08 Mike Frysinger <vapier@gentoo.org>
12586
12587 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12588 a struct th_u2 inside the union, and move tu_block/tu_code into
12589 a new th_u3 union of tu_block/tu_code inside of that. Move
12590 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12591 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12592 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12593 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12594 (th_stuff): Change to th_u1.tu_stuff.
12595 (th_data): Define.
12596 (th_msg): Change to th_u1.th_u2.tu_data.
12597
7f18b530
DM
125982012-05-07 David S. Miller <davem@davemloft.net>
12599
05760585
DM
12600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12601
7f18b530
DM
12602 [BZ #14074]
12603 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12604 (SETUP_PIC_REG): Use it.
12605 (SETUP_PIC_REG_LEAF): Use it.
12606
495fd99f
JM
126072012-05-07 Joseph Myers <joseph@codesourcery.com>
12608
12609 [BZ #13885]
12610 [BZ #13923]
12611 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12612 USE_AS_EXPM1L.
12613 (EXPL_FINITE): Likewise.
12614 (FLDLOG): Likewise.
12615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12616 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12617 e_expl.S.
12618 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12619 USE_AS_EXPM1L.
12620 (EXPL_FINITE): Likewise.
12621 (FLDLOG): Likewise.
12622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12623 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12624 e_expl.S.
12625 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12626 test of -max_value argument for long double.
12627 * sysdeps/i386/fpu/libm-test-ulps: Update.
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629
6693d694
DM
126302012-05-06 David S. Miller <davem@davemloft.net>
12631
12632 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12633 quad soft-float symbols whose references which are compiler
12634 generated.
12635 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12636
6c23e11c
JM
126372012-05-06 Joseph Myers <joseph@codesourcery.com>
12638
d8b82cad
JM
12639 [BZ #13884]
12640 [BZ #13914]
12641 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12642 USE_AS_EXP10L.
12643 (EXPL_FINITE): Likewise.
12644 (FLDLOG): Likewise.
12645 (c0): Likewise.
12646 (c1): Likewise.
12647 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12648 Adjust comments for base varying.
12649 (__expl_finite): Change alias to EXPL_FINITE.
12650 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12651 e_expl.S.
12652 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12653 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12655 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12657 USE_AS_EXP10L.
12658 (EXPL_FINITE): Likewise.
12659 (FLDLOG): Likewise.
12660 (c0): Likewise.
12661 (c1): Likewise.
12662 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12663 Adjust comments for base varying.
12664 (__expl_finite): Change alias to EXPL_FINITE.
12665 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12666 tests for bugs.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12668
6c23e11c
JM
12669 [BZ #14064]
12670 * math/libm-test.inc (check_float_internal): Correct ulp
12671 calculation for subnormal expected results.
12672
29ba805c
AJ
126732012-05-06 Andreas Jaeger <aj@suse.de>
12674
12675 * Makeconfig (+math-flags): New, set to -frounding-math.
12676 (+cflags): Add +math-flags so that all of glibc gets compiled with
12677 it.
12678
12679 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12680
7b17aeda
JM
126812012-05-05 Joseph Myers <joseph@codesourcery.com>
12682
5779f134
JM
12683 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12684 Disable one test.
12685
41498f4d
JM
12686 [BZ #13787]
12687 [BZ #13922]
12688 [BZ #14036]
12689 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12690 (__ieee754_expl): Allow for and saturate large arguments.
12691 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12692 (u_threshold): Likewise.
12693 (__exp): Call __ieee754_exp before checking for overflow and
12694 underflow.
12695 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12696 (u_threshold): Likewise.
12697 (__expf): Call __ieee754_expf before checking for overflow and
12698 underflow.
12699 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12700 (u_threshold): Likewise.
12701 (__expl): Call __ieee754_expl before checking for overflow and
12702 underflow.
12703 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12704 (__ieee754_expl): Allow for and saturate large arguments.
12705 * math/libm-test.inc (exp_test): Add another test. Do not allow
12706 missing overflow exception on overflow.
12707 (expm1_test): Do not allow missing overflow exception on overflow.
12708
6698b8bf
JM
12709 * sysdeps/i386/fpu/e_expl.c: Move to ...
12710 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12711 rather than using inline asm.
12712 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12713 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12714 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12715
7b17aeda
JM
12716 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12717 (nice): Likewise.
12718 (poll): Likewise.
12719 (signal): Likewise.
12720 (time): Likewise.
12721 (times): Likewise.
12722
f7c85819
JM
127232012-05-04 Joseph Myers <joseph@codesourcery.com>
12724
12725 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12726 sysdeps/unix/common/syscalls.list.
12727 (fchmod): Likewise.
12728 (fchown): Likewise.
12729 (ftruncate): Likewise.
12730 (getrusage): Likewise.
12731 (gettimeofday): Likewise.
12732 (setpgid): Likewise.
12733 (setregid): Likewise.
12734 (setreuid): Likewise.
12735 (sigaction): Likewise.
12736 (truncate): Likewise.
12737 (vhangup): Likewise.
12738 * sysdeps/unix/common/syscalls.list: Remove file.
12739 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12740 * sysdeps/unix/sysv/linux/Implies: Likewise.
12741
336270d0
L
127422012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12746 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12747 Moved to ...
12748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12749 Here.
12750 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12751 to ...
12752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12753 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12754 to ...
12755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12757 to ...
12758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12759 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12760 to ...
12761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12762 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12763 to ...
12764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12765 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12766 to ...
12767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12768 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12769 to ...
12770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12771 Here.
12772 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12773 to ...
12774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12775 Here.
12776 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12777 to ...
12778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12779 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12780 Moved to ...
12781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12782 Here.
12783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12784 to ...
12785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12786
d128e450
JM
127872012-05-04 Joseph Myers <joseph@codesourcery.com>
12788
fa8ee516
JM
12789 * sysdeps/unix/common/bits/dirent.h: Remove file.
12790 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12791
d128e450
JM
12792 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12793 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12794 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12795 * sysdeps/unix/bsd/isatty.c: Likewise.
12796 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12797 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12798 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12799
ff8faaf0 128002012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12801
62881be4 12802 [BZ #13563]
31dc8730
AZ
12803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12804 long double comparison inaccuracies.
12805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12807
6fef930c
AS
128082012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12809
12810 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12812
8f203e6c
JM
128132012-05-04 Joseph Myers <joseph@codesourcery.com>
12814
12815 [BZ #14049]
12816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12817 nonzero digits before rounding a hex value.
12818 * stdlib/tst-strtod.c (tests): Add another test.
12819
5197d9c2
AK
128202012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12821
12822 * sysdeps/s390/fpu/libm-test-ulps: Update.
12823
f0c1dedf
AJ
128242012-05-03 Andreas Jaeger <aj@suse.de>
12825
12826 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12827 does not get optimized out.
12828 (malloc_opt_barrier): New.
12829
a65ef2ae 128302012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12831 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12832
2b942cb7 12833 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12834 intermediate file deletion.
2b942cb7 12835 (generated): Add .symlist files.
a65ef2ae 12836
54b71e02
JM
128372012-05-03 Joseph Myers <joseph@codesourcery.com>
12838
12839 [BZ #13775]
12840 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12841 Redirect under this condition.
12842 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12843 [__USE_GNU] (__dprintf_chk): Not under this condition.
12844 [__USE_GNU] (__vdprintf_chk): Likewise.
12845 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12846 under this condition.
12847 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12848 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12849 [__USE_XOPEN2K8] (vdprintf): Likewise.
12850 [__USE_GNU] (__dprintf_chk): Not under this condition.
12851 [__USE_GNU] (__vdprintf_chk): Likewise.
12852 [__USE_GNU] (dprintf): Likewise.
12853 [__USE_GNU] (vdprintf): Likewise.
12854
d3dfcc41
RM
128552012-05-03 Roland McGrath <roland@hack.frob.com>
12856
12857 * elf/Makefile (common-generated): Set this instead of generated for
12858 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12859 $(all-built-dso)-derived lists.
12860
7ac30cc5
AJ
128612012-05-03 Andreas Jaeger <aj@suse.de>
12862
0c51e550
AJ
12863 * sysdeps/i386/fpu/libm-test-ulps: Update.
12864
7ac30cc5
AJ
12865 * FAQ: Removed.
12866 * FAQ.in: Likewise.
12867 * scripts/gen-FAQ.pl: Likewise.
12868 * manual/install.texi (Installation): Point to online location of
12869 FAQ.
12870 * Makefile (files-for-dist): Remove FAQ.
12871 (FAQ): Remove.
12872
d4c2917f
AM
128732012-05-02 Allan McRae <allan@archlinux.org>
12874
12875 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12876 (LDFLAGS-reldepmod5.so): Likewise.
12877 (LDFLAGS-reldep6mod1.so): Likewise.
12878 (LDFLAGS-reldep6mod4.so): Likewise.
12879 (LDFLAGS-reldep8mod3.so): Likewise.
12880 (LDFLAGS-unload4mod1.so): Likewise.
12881 (LDFLAGS-unload4mod2.so): Likewise.
12882 (LDFLAGS-tst-initorder): Likewise.
12883 (LDFLAGS-tst-initordera2.so): Likewise.
12884 (LDFLAGS-tst-initordera3.so): Likewise.
12885 (LDFLAGS-tst-initordera4.so): Likewise.
12886 (LDFLAGS-tst-initorderb2.so): Likewise.
12887 (LDFLAGS-noload): Likewise.
12888 (LDFLAGS-next): Likewise.
12889 (LDFLAGS-order2mod1.so): Likewise.
12890 (LDFLAGS-order2mod2.so): Likewise.
12891 (LDFLAGS-tst-initorder2): Likewise.
12892 (LDFLAGS-tst-initorder2a.so): Likewise.
12893 (LDFLAGS-tst-initorder2b.so): Likewise.
12894 (LDFLAGS-tst-initorder2c.so): Likewise.
12895 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12896
d77f993f
DM
128972012-05-02 David S. Miller <davem@davemloft.net>
12898
12899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12900
171a70b4
PP
129012012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12902
12903 [BZ #14055]
12904 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12905
0be196ad
AJ
129062012-05-02 Andreas Jaeger <aj@suse.de>
12907
12908 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12909 since we manipulate rounding mode.
12910 (CPPFLAGS-test-idouble.c): Likewise.
12911 (CPPFLAGS-test-ifloat.c): Likewise.
12912 (CFLAGS-test-ldouble.c): Likewise.
12913 (CFLAGS-test-double.c): Likewise.
12914 (CFLAGS-test-float.c): Likewise.
12915 (CFLAGS-test-misc.c): Likewise.
12916 (CFLAGS-test-test-fenv.c): Likewise.
12917
4f9d04aa
AZ
129182012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12919
2b942cb7
RM
12920 [BZ #2550]
12921 [BZ #2570]
12922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12923 comparisons to determine direction to adjust input.
4f9d04aa 12924
82a79e7d
RM
129252012-05-01 Roland McGrath <roland@hack.frob.com>
12926
f5a01ca9
RM
12927 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12928 output to the target.
12929
90fe4186
RM
12930 * scripts/localplt.awk: New file.
12931 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12932 (check-localplt-CFLAGS): Variable removed.
12933 ($(all-built-dso:=.jmprel)): New static pattern rule.
12934 (generated): Add those targets.
12935 (localplt-built-dso): New variable.
12936 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12937
12938 * elf/check-localplt.c: File removed.
12939
82397ed6
RM
12940 * scripts/check-execstack.awk: New file.
12941 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12942 (check-execstack-CFLAGS): Variable removed.
12943 ($(objpfx)check-execstack.h): Target removed.
12944 ($(objpfx)execstack-default): New target.
12945 (generated): Add that instead of check-execstack.h.
12946 ($(all-built-dso:=.phdr)): New static pattern rule.
12947 (generated): Add those targets.
12948 * elf/check-execstack.c: File removed.
12949
82a79e7d
RM
12950 * scripts/check-textrel.awk: New file.
12951 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12952 (check-textrel-CFLAGS): Variable removed.
12953 (all-built-dso): Use := to define.o
12954 ($(all-built-dso:=.dyn)): New static pattern rule.
12955 (generated): Add those targets.
12956 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12957 * config.make.in (READELF): New substituted variable.
12958 * elf/check-textrel.c: File removed.
12959
62fde54f 129602012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12961
615605c9
JM
12962 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12963 allow.
12964 * conform/data/ctype.h-data [C99-based standards] (isblank):
12965 Expect function.
12966 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12967 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12969 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12970 Specify type. Require positive value.
12971 (EILSEQ): Likewise.
12972 (ERANGE): Likewise.
12973 [ISO || POSIX] (EILSEQ): Do not expect.
12974 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12975 Specify type. Require positive value.
12976 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13027 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13032 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13033 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13034 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13035 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13036 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13037 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13038 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13040 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13042 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13043 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13044 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13045 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13046 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13047 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13048 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13049 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13050 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13051 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13052 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13053 Require >= 2.
13054 (FLT_ROUNDS): Expect as macro, not constant.
13055 (FLT_MANT_DIG): Use macro-int-constant.
13056 (DBL_MANT_DIG): Likewise.
13057 (LDBL_MANT_DIG): Likewise.
13058 (FLT_DIG): Likewise.
13059 (DBL_DIG): Likewise.
13060 (LDBL_DIG): Likewise.
13061 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13062 (DBL_MIN_EXP): Likewise.
13063 (LDBL_MIN_EXP): Likewise.
13064 (FLT_MAX_EXP): Use macro-int-constant.
13065 (DBL_MAX_EXP): Likewise.
13066 (LDBL_MAX_EXP): Likewise.
13067 (FLT_MAX_10_EXP): Likewise.
13068 (DBL_MAX_10_EXP): Likewise.
13069 (LDBL_MAX_10_EXP): Likewise.
13070 (FLT_MAX): Use macro-constant.
13071 (DBL_MAX): Likewise.
13072 (LDBL_MAX): Likewise.
13073 (FLT_EPSILON): Use macro-constant. Give upper bound.
13074 (DBL_EPSILON): Likewise.
13075 (LDBL_EPSILON): Likewise.
13076 (FLT_MIN): Likewise.
13077 (DBL_MIN): Likewise.
13078 (LDBL_MIN): Likewise.
13079 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13080 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13081 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13082 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13083 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13084 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13085 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13086 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13087 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13088 [ISO11] (FLT_TRUE_MIN): Likewise.
13089 [ISO11] (LDBL_TRUE_MIN): Likewise.
13090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13091 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13092 (SCHAR_MIN): Use macro-int-constant. Specify type.
13093 (SCHAR_MAX): Likewise.
13094 (UCHAR_MAX): Likewise.
13095 (CHAR_MIN): Likewise.
13096 (CHAR_MAX): Likewise.
13097 (MB_LEN_MAX): Use macro-int-constant.
13098 (SHRT_MIN): Use macro-int-constant. Specify type.
13099 (SHRT_MAX): Likewise.
13100 (USHRT_MAX): Likewise.
13101 (INT_MAX): Likewise.
13102 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13103 bound negative.
13104 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13105 bound with "U".
13106 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13107 bound with "L".
13108 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13109 bound negative. Suffix upper bound with "L".
13110 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13111 bound with "UL".
13112 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13113 Specify type.
13114 [C99-based standards] (LLONG_MAX): Likewise.
13115 [C99-based standards] (ULLONG_MAX): Likewise.
13116 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13117 == 0.
13118 [ISO11] (max_align_t): Require type.
13119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13120
c9140a62
JM
13121 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13122 from $CFLAGS, without defining away __attribute__ calls.
13123 (checknamespace): Use $CFLAGS_namespace.
13124
9af0bf29
JM
13125 * conform/conformtest.pl (@keywords): Only include C99 keywords
13126 for standards based on C99 or C11.
13127
343222a2
JM
13128 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13129 Disable tests.
13130 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13131 UNIX98]: Likewise.
13132
661f8cf0
JM
13133 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13134 usability of symbols in #if.
13135
ee74b9cb
JM
13136 * conform/conformtest.pl: If macro or constant types start
13137 "promoted:", expect the symbol to be of the following type
13138 promoted by the integer promotions.
62fde54f 13139
aafc49b3
JM
13140 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13141 in one place. Also handle "macro-constant".
13142
fefdf574
JM
13143 * conform/conformtest.pl: Only accept expected macro values with
13144 "==". Parse all "macro" lines in one place.
13145 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13146
f2d922fe
JM
13147 * conform/conformtest.pl: Handle braced types on "constant" lines
13148 instead of handling "typed-constant".
13149 * conform/data/signal.h-data: Use "constant" instead of
13150 "typed-constant".
13151
d22956c9
JM
13152 * conform/conformtest.pl: Handle "optional-" at start of lines in
13153 one place rather than duplicating several cases. Handle each
13154 format of "macro" line with initial "optional-".
13155
028e2e38
JM
13156 * conform/conformtest.pl: Only accept expected constant or
13157 optional-constant values with "==". Parse all "constant" lines in
13158 one place. Parse all "optional-constant" lines in one place.
13159 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13160 * conform/data/fmtmsg.h-data: Likewise.
13161 * conform/data/netinet/in.h-data: Likewise.
13162 * conform/data/tar.h-data: Likewise.
13163 * conform/data/limits.h-data: Use "==" form on "constant" and
13164 "optional-constant" lines.
13165
1b8f2850
JM
13166 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13167 Use -std=c99 for XOPEN2K.
13168 (@knownproblems): Remove.
13169 (newtoken): Don't check %isknown.
13170
a05a144b
JM
13171 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13172 Do not expect macro.
13173 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13179 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13180 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13181 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13182 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13183 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13185 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13186 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13189 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13190 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13191 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13192 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13193 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13197 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13198 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13199 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13200 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13201 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13202 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13203 [XPG3] (acosh): Likewise.
13204 [XPG3] (asinh): Likewise.
13205 [XPG3] (atanh): Likewise.
13206 [XPG3] (cbrt): Likewise.
13207 [XPG3] (expm1): Likewise.
13208 [XPG3] (ilogb): Likewise.
13209 [XPG3] (log1p): Likewise.
13210 [XPG3] (logb): Likewise.
13211 [XPG3] (nextafter): Likewise.
13212 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13213 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13214 [XPG3] (remainder): Likewise.
13215 [XPG3] (rint): Likewise.
13216 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13217 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13218 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13219 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13220 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13221 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13223 [UNIX98 || XOPEN2K] (scalb): Expect.
13224 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13225 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13232 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13233 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13234 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13235 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13236 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13237 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13238 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13239 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13242 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13243 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13244 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13245 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13246 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13247 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13248 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13250 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13252 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13253 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13254 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13262 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13263 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13264 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13308 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13309 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13311 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13312 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13313 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13314 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13315 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13316 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13317 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13318 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13319 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13320 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13321 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13322 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13323 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13324 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13325 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13326 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13327 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13328 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13329 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13330 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13331 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13332 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13333 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13334 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13335 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13336 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13337 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13338 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13339 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13340 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13341 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13342 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13343 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13344 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13345 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13346 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13347 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13348 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13349 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13350 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13351 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13353 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13354 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13355 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13356 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13357 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13358 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13359 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13360 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13361
73c5ebe3
JM
13362 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13363 _XOPEN_SOURCE_EXTENDED for XPG4.
13364
39c33b6c
JM
13365 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13366
62fde54f
JM
13367 * Makeconfig (localtime): Remove variable.
13368 (inst_localtime-file): Likewise.
13369
0741d64c
AS
133702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13371
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13373 Update.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13375 Update.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13377 Update.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13379 Update.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13381 Update.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13383 Update.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13385 Update.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13387 Update.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13389 Update.
13390
7cb029ee
JM
133912012-05-01 Joseph Myers <joseph@codesourcery.com>
13392
13393 [BZ #2550]
13394 [BZ #2570]
13395 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13396 comparisons to determine direction to adjust input.
13397 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13398 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13400 Likewise.
13401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13402 Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13404 Likewise.
13405 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13407 Likewise.
13408 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13409 Likewise.
13410 * math/libm-test.inc (nexttoward_test): Add more tests.
13411
412bd966
AS
134122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13413
13414 [BZ #14040]
13415 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13416 in version GLIBC_2.1, not GLIBC_2.0.
13417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13418 Likewise.
13419
9568c0c2
JM
134202012-04-30 Joseph Myers <joseph@codesourcery.com>
13421
adfbc8ac
JM
13422 [BZ #13942]
13423 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13424 (1 - x) * (1 + x).
13425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13426 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13427 * math/libm-test.inc (acos_test): Add more tests.
13428 (asin_test): Likewise.
13429 * sysdeps/i386/fpu/libm-test-ulps: Update.
13430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13431
5ba3cc69
JM
13432 [BZ #14034]
13433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13434 of square root.
13435 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13437 * math/libm-test.inc (acos_test_tonearest): New function.
13438 (acos_test_towardzero): Likewise.
13439 (acos_test_downward): Likewise.
13440 (acos_test_upward): Likewise.
13441 (asin_test_tonearest): Likewise.
13442 (asin_test_towardzero): Likewise.
13443 (asin_test_downward): Likewise.
13444 (asin_test_upward): Likewise.
13445 (main): Call the new functions.
13446 * sysdeps/i386/fpu/libm-test-ulps: Update.
13447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13448
9568c0c2
JM
13449 [BZ #13884]
13450 [BZ #13924]
13451 * math/e_exp10.c: Include <float.h>.
13452 (__ieee754_exp10): Handle underflow here rather than multiplying
13453 large negative argument by M_LN10.
13454 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13455 of __ieee754_expf.
13456 * math/e_exp10l.c: Include <float.h>.
13457 (__ieee754_exp10l): Handle underflow here rather than multiplying
13458 large negative argument by M_LN10l.
13459 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13460 spurious overflow exception on underflow.
13461
5ac3ea17
MP
134622012-04-29 Marek Polacek <polacek@redhat.com>
13463
13464 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13465 (__fortify_function): New macro.
13466 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13467 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13468 __extern_always_inline.
13469 * libio/bits/stdio2.h: Likewise.
13470 * libio/bits/stdio.h: Likewise.
13471 * string/string.h: Likewise.
13472 * string/bits/string3.h: Likewise.
13473 * include/stdio.h: Likewise.
13474 * stdlib/bits/stdlib.h: Likewise.
13475 * stdlib/stdlib.h: Likewise.
13476 * rt/bits/mqueue2.h: Likewise.
13477 * rt/mqueue.h: Likewise.
13478 * posix/bits/unistd.h: Likewise.
13479 * posix/unistd.h: Likewise.
13480 * io/bits/poll2.h: Likewise.
13481 * io/bits/fcntl2.h: Likewise.
13482 * io/fcntl.h: Likewise.
13483 * io/sys/poll.h: Likewise.
13484 * misc/bits/syslog.h: Likewise.
13485 * misc/bits/syslog-ldbl.h: Likewise.
13486 * misc/sys/syslog.h: Likewise.
13487 * socket/bits/socket2.h: Likewise.
13488 * socket/sys/socket.h: Likewise.
13489 * debug/tst-chk1.c: Likewise.
13490 * wcsmbs/bits/wchar2.h: Likewise.
13491 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13492 * wcsmbs/wchar.h: Likewise.
13493
ecf0ebfb
AJ
134942012-04-29 Andreas Jaeger <aj@suse.de>
13495
13496 * Makerules (tests): Remove enable-check-abi protection.
13497 (check-abi-warn): Remove.
13498 (check-abi-%): Remove check-abi-warn usage.
13499
13500 * configure.in: Remove check-abi configure option.
13501 * configure: Regenerated.
13502 * config.make.in (enable-check-abi): Remove.
13503
6d5c57fa
AS
135042012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13505
24c5d07e 13506 [BZ #14033]
ded5180a
AS
13507 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13508 double functions to double *_finite functions.
13509
7e0d315d
AS
13510 [BZ #13941]
13511 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13512 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13513 LDBL_MIN_EXP.
13514 * stdio-common/Makefile (tests): Add tst-sprintf3.
13515 * stdio-common/tst-sprintf3.c: New file.
13516
6d5c57fa
AS
13517 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13518 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13519
0749ff8b
JM
135202012-04-28 Joseph Myers <joseph@codesourcery.com>
13521
13522 * conform/conformtest.pl: Remove duplicate typed-constant
13523 handling.
13524
8dbd5d7b
DM
135252012-04-28 David S. Miller <davem@davemloft.net>
13526
13527 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13528 (check-abi-%): Remove AWK script prerequisite and explicit
13529 abilist directory.
13530 (check-abi): Rewrite to just diff the symlist with the abilist.
13531 (config-tls, config-abi-config): Delete, no longer used.
13532 (update-abi-%): Remove AWK script and explicit abilist directory.
13533 (update-abi): Rewrite to simply compare and conditionally copy the
13534 symlist and the sysdep abilist file. Remove update-abi-config
13535 checks.
13536 * abilist/ld.abilist: Remove.
13537 * abilist/libBrokenLocale.abilist: Remove.
13538 * abilist/libanl.abilist: Remove.
13539 * abilist/libcrypt.abilist: Remove.
13540 * abilist/libdl.abilist: Remove.
13541 * abilist/librt.abilist: Remove.
13542 * abilist/libthread_db.abilist: Remove.
13543 * abilist/libutil.abilist: Remove.
13544 * scripts/extract-abilist.awk: Remove.
13545 * scripts/merge-abilist.awk: Remove.
13546 * sysdeps/generic/libcidn.abilist: New file.
13547 * sysdeps/generic/libnss_compat.abilist: New file.
13548 * sysdeps/generic/libnss_db.abilist: New file.
13549 * sysdeps/generic/libnss_dns.abilist: New file.
13550 * sysdeps/generic/libnss_files.abilist: New file.
13551 * sysdeps/generic/libnss_hesiod.abilist: New file.
13552 * sysdeps/generic/libnss_nis.abilist: New file.
13553 * sysdeps/generic/libnss_nisplus.abilist: New file.
13554 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13555 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13556 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13557 file.
13558 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13559 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13560 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13561 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13562 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13564 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13566 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13567 file.
13568 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13569 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13570 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13571 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13572 file.
13573 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13575 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13576 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13579 file.
13580 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13581 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13582 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13583 file.
13584 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13586 New file.
13587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13588 New file.
13589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13590 New file.
13591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13592 New file.
13593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13594 New file.
13595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13596 New file.
13597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13598 New file.
13599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13600 New file.
13601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13602 New file.
13603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13604 New file.
13605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13606 New file.
13607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13608 New file.
13609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13610 New file.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13612 file.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13614 New file.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13616 New file.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13618 file.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13620 New file.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13622 New file.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13624 file.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13626 New file.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13628 New file.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13630 New file.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13632 New file.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13634 New file.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13636 New file.
13637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13639 file.
13640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13641 New file.
13642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13643 file.
13644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13645 file.
13646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13647 file.
13648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13649 file.
13650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13651 file.
13652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13653 New file.
13654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13655 file.
13656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13657 file.
13658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13659 New file.
13660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13661 file.
13662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13664 file.
13665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13666 New file.
13667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13668 file.
13669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13670 file.
13671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13672 file.
13673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13674 file.
13675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13676 file.
13677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13678 New file.
13679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13680 file.
13681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13682 file.
13683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13684 New file.
13685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13686 file.
13687 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13688 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13689 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13690 file.
13691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13692 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13693 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13695 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13696 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13697 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13698 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13699 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13700 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13703 file.
13704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13705 New file.
13706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13707 file.
13708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13709 file.
13710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13711 file.
13712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13713 file.
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13715 file.
13716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13717 New file.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13719 New file.
13720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13721 file.
13722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13723 New file.
13724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13725 file.
13726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13728 file.
13729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13730 New file.
13731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13732 file.
13733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13734 file.
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13736 file.
13737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13738 file.
13739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13740 file.
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13742 New file.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13744 New file.
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13746 file.
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13748 New file.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13750 file.
13751
41d73a1b
JM
137522012-04-28 Joseph Myers <joseph@codesourcery.com>
13753
13754 * conform/conformtest.pl: Fix typo in handling typed-constant from
13755 allow-header.
13756
28aeeda4
JM
137572012-04-27 Joseph Myers <joseph@codesourcery.com>
13758
adae8f5e
JM
13759 * README: Cut down references to pre-2.6 Linux kernels and
13760 Linuxthreads. Update lists of configurations in libc and ports
13761 and sort alphabetically. Say "or newer" with Linux kernel version
13762 requirements.
13763
28aeeda4
JM
13764 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13765
a462cb63
RA
137662012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13767
13768 [BZ #887]
13769 * math/libm-test.inc (logb_test_downward): New test to expose
13770 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13771 rounding mode.
13772
6ad3493e
JM
137732012-04-27 Joseph Myers <joseph@codesourcery.com>
13774
13775 [BZ #14027]
13776 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13777 to be done.
13778 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13779 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13780
2ce4f015
JM
137812012-04-26 Joseph Myers <joseph@codesourcery.com>
13782
5aeb141a
JM
13783 * sysdeps/unix/i386/brk.S: Remove file.
13784 * sysdeps/unix/i386/dl-brk.S: Likewise.
13785 * sysdeps/unix/i386/pipe.S: Likewise.
13786 * sysdeps/unix/i386/sigreturn.S: Likewise.
13787 * sysdeps/unix/i386/syscall.S: Likewise.
13788 * sysdeps/unix/i386/vfork.S: Likewise.
13789 * sysdeps/unix/i386/wait.S: Likewise.
13790
7143acae
JM
13791 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13792 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13793
2ce4f015
JM
13794 * configure.in (arm*-none*): Do not allow without
13795 --enable-hacker-mode.
13796 (netbsd*): Remove case setting base_os.
13797 (386bsd*): Likewise.
13798 (freebsd*): Likewise.
13799 (bsdi*): Likewise.
13800 (osf*): Likewise.
13801 (sunos*): Likewise.
13802 (ultrix*): Likewise.
13803 (newsos*): Likewise.
13804 (dynix*): Likewise.
13805 (*bsd*): Likewise.
13806 (sysv*): Likewise.
13807 (isc*): Likewise.
13808 (esix*): Likewise.
13809 (sco*): Likewise.
13810 (minix*): Likewise.
13811 (irix4*): Likewise.
13812 (irix6*): Likewise.
13813 (solaris[2-9]*): Likewise.
13814 (none): Likewise.
13815 * configure: Regenerated.
13816
0ac229c8
AZ
138172012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13818
13819 [BZ #11521]
13820 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13821 overflow or cancellation in calculating denominator.
13822 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13824 down expression to avoid unexpected rounding in newer GCCs.
13825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13826
33f244f4
DM
138272012-04-26 David S. Miller <davem@davemloft.net>
13828
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13830 long-double compat symbols.
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13844
cfa1f3e8
DM
138452012-04-25 David S. Miller <davem@davemloft.net>
13846
13847 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13848 HWCAP_* values only after the memory barriers have been defined.
13849 (atomic_full_barrier): Define.
13850 (atomic_read_barrier): Define.
13851 (atomic_write_barrier): Define.
13852
6e236b92
SP
138532012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13854
13855 * shlib-versions: Add libgcc_s version information.
13856 * sysdeps/generic/libgcc_s.h: Remove.
13857 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13858 libgcc_s.h.
13859 * sysdeps/gnu/unwind-resume.c: Likewise.
13860 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13861
aab39a09
DM
138622012-04-25 David S. Miller <davem@davemloft.net>
13863
13864 * sysdeps/unix/sparc/brk.S: Delete.
13865 * sysdeps/unix/sparc/dl-brk.S: Delete.
13866 * sysdeps/unix/sparc/pipe.S: Delete.
13867 * sysdeps/unix/sparc/sysdep.S: Delete.
13868 * sysdeps/unix/sparc/sysdep.h: Delete.
13869 * sysdeps/unix/sparc/vfork.S: Delete.
13870 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13871 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13873 ret_ERRVAL, r0, r1, MOVE): Define.
13874 (JUMPTARGET): Remove.
13875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13876 sysdeps/unix/sparc/sysdep.h
13877 (ENTRY, END): Remove.
13878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13879
a3cc4f48
JM
138802012-04-25 Joseph Myers <joseph@codesourcery.com>
13881
2ed8cda2
JM
13882 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13883 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13884 -DIS_IN_build.
13885
35d76d59
JM
13886 * timezone/README: Update upstream location and email address for
13887 tzcode and tzdata.
13888 * timezone/zdump.c: Update from tzcode 2012b.
13889 * timezone/zic.c: Likewise.
13890
a3cc4f48
JM
13891 * configure.in (libc_cv_as_needed): Remove test.
13892 * configure: Regenerated.
13893 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13894 conditional definition.
13895 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13896 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13897 * config.make.in (have-as-needed): Remove variable.
13898
ceab42c3
SP
138992012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13900 Paul Pluzhnikov <ppluzhnikov@google.com>
13901
13902 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13903 strings correctly.
13904
3ce2865f
CLT
139052012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13906
13907 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13908 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13909 * sysdeps/sh/strlen.S: Likewise.
13910
f37e0d68
JM
139112012-04-24 Joseph Myers <joseph@codesourcery.com>
13912
ae186e9a
JM
13913 * sysdeps/unix/fork.S: Remove file.
13914 * sysdeps/unix/i386/fork.S: Likewise.
13915 * sysdeps/unix/sparc/fork.S: Likewise.
13916
b96914af
JM
13917 * sysdeps/unix/system.c: Remove file.
13918 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13919
f37e0d68
JM
13920 * sysdeps/unix/getegid.S: Remove file.
13921 * sysdeps/unix/geteuid.S: Likewise.
13922
87ef29ca
RM
139232012-04-24 Roland McGrath <roland@hack.frob.com>
13924
83bcd236
RM
13925 * scripts/check-localplt.awk: New file.
13926 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13927 of diff.
13928 * scripts/data/localplt-generic.data: Add a comment.
13929
87ef29ca
RM
13930 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13931 NODE when __dir_mkfile failed.
13932 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13933 Reported by Ludovic Courtès <ludo@gnu.org>.
13934
e5a6e567
AJ
139352012-04-24 Andreas Jaeger <aj@suse.de>
13936
13937 * Makerules (common-clean): Also remove gen-as-const-headers
13938 files.
13939
c1820385
JM
139402012-04-24 Joseph Myers <joseph@codesourcery.com>
13941
13942 * Makerules (native-compile): Do not change working directory for
13943 build. Use $(OUTPUT_OPTION) in command.
13944 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13945
94e02fc4
AZ
139462012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13947
13948 [BZ #13886]
13949 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13950 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13951 * math/libm-test.inc (floor_test): Add more tests.
13952 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13953
3a533ca3
JM
139542012-04-24 Joseph Myers <joseph@codesourcery.com>
13955
940ab4b3
JM
13956 * sysdeps/unix/getdents.c: Remove file.
13957 * sysdeps/unix/sysv/getdents.c: Likewise.
13958 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13959
90e037bd
JM
13960 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13961 sysdeps/unix/mman/syscalls.list.
13962 (mmap): Likewise.
13963 (mprotect): Likewise.
13964 (msync): Likewise.
13965 (munmap): Likewise.
13966 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13967 * sysdeps/unix/mman/syscalls.list: Remove.
13968 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13969
3a533ca3
JM
13970 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13971 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13972 * configure: Regenerated.
13973 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13974 $(libgcc_s_suffix).
13975 * config.make.in (libgcc_s_suffix): Remove variable.
13976
1ad743de
JM
139772012-04-23 Joseph Myers <joseph@codesourcery.com>
13978
4ad451e2
JM
13979 * sysdeps/unix/sysv/gethostname.c: Move to ...
13980 * sysdeps/posix/gethostname.c: ... here.
13981
5e37ce39
JM
13982 * sysdeps/unix/execve.S: Remove file.
13983
1ad743de
JM
13984 * sysdeps/unix/_exit.S: Remove file.
13985
4e681b5b
AJ
139862012-04-23 Andreas Jaeger <aj@suse.de>
13987
13988 [BZ #13739]
13989 * manual/Makefile: Remove make dist support, there's no
13990 need for a stand-alone documentation tar ball.
13991 (TEXI2DVI): Define always, it's not in Makeconfig.
13992 (dist): Removed.
13993 (tar-it): Removed.
13994 (edition): Removed.
13995 (glibc-doc-$(edition).tar): Removed
13996 (%.Z): Removed.
13997 (%.gz): Removed.
13998 (%.uu): Removed.
13999 (ETAGS): Remove, it's in Makeconfig.
14000 (move-if-change): Remove, it's in Makeconfig.
14001
38686a03 140022012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14003
14004 [BZ #13970]
14005 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14006 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14007 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14008 (strtod_l, strtof_l, strtold_l): Remove __wur.
14009 It is not necessarily an error to ignore strtol's return value.
14010 One can reliably look at the stored endptr to decide whether
14011 the number had valid syntax.
14012
7c0616fa
AJ
140132012-04-21 Andreas Jaeger <aj@suse.de>
14014
803cb6b7 14015 [BZ #13739]
7c0616fa
AJ
14016 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14017
b0fe253f
JM
140182012-04-21 Joseph Myers <joseph@codesourcery.com>
14019
14020 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14021 * sysdeps/unix/sysv/Versions: Remove file.
14022
8280f22d
MT
140232012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14024
14025 [BZ #13927]
14026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14027
75ce411f 140282012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14029
14030 [BZ #7064]
14031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14032 version from __vm86.
14033
097d59fa
JM
140342012-04-20 Joseph Myers <joseph@codesourcery.com>
14035
a90f3bcb
JM
14036 * sysdeps/unix/common/lxstat.c: Remove file.
14037 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14038
edc7ea78
JM
14039 * sysdeps/unix/sysv/Makefile: Remove file.
14040
cb78c221
JM
14041 * sysdeps/unix/sysv/direct.h: Remove file.
14042
efa6a45f
JM
14043 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14044 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14045 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14046 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14047 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14048 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14049 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14050
9c9f2d0c
JM
14051 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14052
4541c83b
JM
14053 * sysdeps/unix/xmknod.c: Remove file.
14054 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14055
f5d153a0
JM
14056 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14057
aa746595
JM
14058 * sysdeps/unix/sysv/i386/time.S: Remove file.
14059
cce5905e
JM
14060 * sysdeps/unix/fxstat.c: Remove file.
14061 * sysdeps/unix/xstat.c: Likewise.
14062 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14063
37fa3841
JM
14064 * sysdeps/unix/sysv/sigaction.c: Remove file.
14065
ff1962a3
JM
14066 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14067 (sysdep_headers): Remove variable.
14068 [termio.h not in sysdep_headers] (generated): Likewise.
14069 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14070 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14071 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14072 * sysdeps/unix/sysv/tcflow.c: Likewise.
14073 * sysdeps/unix/sysv/tcflush.c: Likewise.
14074 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14075 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14076 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14077 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14078 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14079
e7740d31
JM
14080 * sysdeps/unix/siglist.c: Remove file.
14081
ee06f18b
JM
14082 * sysdeps/unix/getppid.S: Remove file.
14083
097d59fa
JM
14084 * sysdeps/unix/mkdir.c: Remove file.
14085 * sysdeps/unix/rmdir.c: Likewise.
14086
ff3d51ec
AS
140872012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14088
14089 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14090 ERR_MAX value.
14091 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14092 errlist-compat value.
14093
50f81fd7
DM
140942012-04-18 David S. Miller <davem@davemloft.net>
14095
14096 * sysdeps/generic/memcopy.h (reg_char): Delete.
14097 * debug/strcat_chk.c: Use char, not reg_char.
14098 * debug/strcpy_chk.c: Likewise.
14099 * debug/strncat_chk.c: Likewise.
14100 * debug/strncpy_chk.c: Likewise.
14101 * string/memchr.c: Likewise.
14102 * string/memrchr.c: Likewise.
14103 * string/rawmemchr.c: Likewise.
14104 * string/strcat.c: Likewise.
14105 * string/strchr.c: Likewise.
14106 * string/strchrnul.c: Likewise.
14107 * string/strcmp.c: Likewise.
14108 * string/strcpy.c: Likewise.
14109 * string/strncat.c: Likewise.
14110 * string/strncmp.c: Likewise.
14111 * string/strncpy.c: Likewise.
14112
8ff41c46
WS
141132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14114
14115 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14116 __builtin_memcopy is called when src and dest ranges are known to not
14117 overlap.
14118
6b652f46
WS
141192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14120
14121 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14122 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14123 fwd_align_merge macro call.
14124 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14125 bwd_align_merge macro call.
14126 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14127
b282631e
WS
141282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14129
14130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14131 bwd_align_merge macros.
14132 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14133 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14135
95aa737c
DM
141362012-04-18 David S. Miller <davem@davemloft.net>
14137
14138 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14139
7a99a614
AJ
141402012-04-18 Andreas Jaeger <aj@suse.de>
14141
14142 [BZ# 6794]
14143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14144 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14145 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14146
14147 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14148 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14150
14151 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14152 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14153 Adjust for changed ldbl-128 files.
14154
14155 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14156 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14158
e5270c23
DM
141592012-04-17 David S. Miller <davem@davemloft.net>
14160
14161 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14162
fb5e92c9
AS
141632012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14164
14165 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14166 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14167 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14168 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14170 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14171
76da7265
AZ
141722012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14173
14174 [BZ #6794]
14175 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14176 * math/libm-test.inc: Add ilogb errno and exception tests.
14177 * math/w_ilogb.c: New file: ilogb wrapper.
14178 * math/w_ilogbf.c: New file: ilogbf wrapper.
14179 * math/w_ilogbl.c: New file: ilogbl wrapper.
14180 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14181 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14182 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14183 exception being thrown with 0.0 as argument.
14184 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14185 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14186 exception being thrown with 0.0 as argument.
14187 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14188 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14189 exception being thrown with 0.0 as argument.
14190 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14191 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14192 exception being thrown with 0.0 as argument.
14193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14194 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14196 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14199 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14200 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14201 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14202
0396e69d
PB
142032012-04-17 Petr Baudis <pasky@ucw.cz>
14204
14205 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14206 with altivec.
14207
750b5926
MP
142082012-04-16 Marek Polacek <polacek@redhat.com>
14209
14210 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14211
751728a1
MP
142122012-04-16 Marek Polacek <polacek@redhat.com>
14213
14214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14215 operands of fdivp instruction.
14216
34a27407
L
142172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14218
14219 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14220 * elf/tst-auditmod3b.c: Likewise.
14221 * elf/tst-auditmod4b.c: Likewise.
14222 * elf/tst-auditmod5b.c: Likewise.
14223 * elf/tst-auditmod6b.c: Likewise.
14224 * elf/tst-auditmod6c.c: Likewise.
14225 * elf/tst-auditmod7b.c: Likewise.
14226 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14227 * sysdeps/x86_64/preconfigure.in: Likewise.
14228 * sysdeps/x86_64/preconfigure: Regenerated.
14229
7e73e17d
L
142302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14233 __ILP32__.
14234
c7a6ab72
AB
142352012-04-13 Antoine Balestrat <merkil33@gmail.com>
14236
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14238 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14239
a9e8e0e0
CL
142402012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14241
14242 [BZ #13973]
14243 * locale/iso-639.def: Fix gl language name. Spotted by
14244 Yaron Shahrabani.
14245
ec98af7d
RM
142462012-04-12 Roland McGrath <roland@hack.frob.com>
14247
14248 [BZ #2074]
14249 * libio/libio.h (__io_write_fn): Update comment.
14250
247c3ede
PB
142512012-04-12 Petr Baudis <pasky@ucw.cz>
14252
14253 [BZ #2074]
14254 * stdio.texi (Hook Functions): The user provided writer function
14255 is not allowed to return -1.
14256
55939d6d
DM
142572012-04-11 David S. Miller <davem@davemloft.net>
14258
14259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14260
90020f5a
MF
142612012-04-11 Mike Frysinger <vapier@gentoo.org>
14262
14263 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14264 Add a leading slash to rtkaio.
14265
288f9098
JM
142662012-04-11 Jim Meyering <meyering@redhat.com>
14267
90020f5a
MF
14268 [BZ #11959]
14269 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14270 It is not necessarily an error to ignore fwrite's return
14271 value. One can reliably use ferror to test for errors after
14272 the fact.
288f9098 14273
4be2b570
L
142742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * bits/types.h (__snseconds_t): New type.
14277 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14278
14279 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14281 (__SNSECONDS_T_TYPE): Likewise.
14282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14283 (__SNSECONDS_T_TYPE): Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14285 (__SNSECONDS_T_TYPE): Likewise.
14286
288f9098 142872012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14288
14289 [BZ #2636]
14290 * manual/time.texi (Processor Time): Return type of times is
14291 elapsed real time since an arbitrary point in the past.
14292 (CPU Time): Move CLK_TCK from here...
14293 (Processor Time): ...to here. Correct description.
14294 * manual/conf.texi (Constants for Sysconf): Correct description of
14295 _SC_CLK_TCK.
14296
d7dd4413
DM
142972012-04-10 David S. Miller <davem@davemloft.net>
14298
14299 [BZ #13967]
14300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14301 where the is a gap between DT_REL(A) and DT_JMPREL.
14302
b46068fc
L
143032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14304
14305 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14308
73d65cc3
SP
143092012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14310
14311 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14312 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14313 (dl_main): Handle --inhibit-cache.
14314 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14315 _dl_inhibit_cache.
14316 * elf/dl-load.c (_dl_map_object): Use it.
14317 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14318
bcc8d661
JM
143192012-04-09 Joseph Myers <joseph@codesourcery.com>
14320
8f9a2fae
JM
14321 [BZ #13872]
14322 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14323 (__ieee754_powl): Saturate large exponents rather than testing for
14324 overflow of y*log2(x).
14325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14326 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14327 exceptions.
14328
bcc8d661
JM
14329 [BZ #11521]
14330 * math/s_ctan.c: Include <float.h>.
14331 (__ctan): Avoid internal overflow or cancellation in calculating
14332 denominator.
14333 * math/s_ctanf.c: Likewise.
14334 * math/s_ctanl.c: Likewise.
14335 * math/s_ctanh.c: Likewise.
14336 * math/s_ctanhf.c: Likewise.
14337 * math/s_ctanhl.c: Likewise.
14338 * math/libm-test.inc (ctan_test): Add more tests.
14339 (ctanh_test): Likewise.
14340 * sysdeps/i386/fpu/libm-test-ulps: Update.
14341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14342
823fbbb4
AJ
143432012-04-09 Andreas Jaeger <aj@suse.de>
14344
03879793
AJ
14345 [BZ #6894]
14346 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14347 is an optional BSD extension.
14348
823fbbb4
AJ
14349 [BZ #10254]
14350 * manual/stdio.texi (Opening Streams): Document additional fopen
14351 parameters.
14352
8de131cb
RM
143532012-04-09 Roland McGrath <roland@hack.frob.com>
14354
14355 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14356 %eax without telling the compiler.
14357
c0ed9d7d
CD
143582012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14359
14360 [BZ # 13963]
14361 * manual/install.texi: Use sourceware.org.
14362
c483f6b4
JM
143632012-04-09 Joseph Myers <joseph@codesourcery.com>
14364
d7dd9453
JM
14365 [BZ #13873]
14366 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14367 (__ieee754_pow): Generate overflow and underflow using huge*huge
14368 and tiny*tiny rather than just returning constant infinity or zero
14369 for large exponents.
14370 * math/libm-test.inc (pow_test): Require overflow exceptions for
14371 applicable cases of large exponents.
14372
c483f6b4
JM
14373 [BZ #706]
14374 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14375 (__ieee754_pow): Use iterative multiplication algorithm only for
14376 integer exponents with absolute value below 1024. Check for odd
14377 integer exponents when using algorithm for real exponents.
14378 * math/libm-test.inc (pow_test): Add more tests.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14380
d2de7579
JM
143812012-04-08 Joseph Myers <joseph@codesourcery.com>
14382
14383 [BZ #13705]
14384 * math/libm-test.inc (exp_test): Do not allow overflow exception
14385 on underflow test.
14386
f77f1232
AJ
143872012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14388
14389 [BZ #13705]
14390 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14391 instead of __kernel_standard_f.
14392
3884932b
MF
143932012-04-08 Mike Frysinger <vapier@gentoo.org>
14394
14395 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14396 * sysdeps/x86_64/memset_chk.S: Likewise.
14397
54472e9c
AJ
143982012-04-08 Andreas Jaeger <aj@suse.de>
14399
6ab0fbfc
AJ
14400 [BZ #10153]
14401 * manual/startup.texi (Environment Access): Describe return value
14402 for putenv and setenv.
14403
61efba8c
AJ
14404 [BZ #6895]
14405 * manual/filesys.texi (Directory Entries): Add description for
14406 DT_LNK.
14407
95c3f29a
AJ
14408 [BZ #6890]
14409 * manual/filesys.texi (Directory Entries): Clarify that it's file
14410 system not operating system in the description of DT_UNKNOWN.
14411
54472e9c
AJ
14412 [BZ #6578]
14413 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14414
624254b1
SC
144152012-04-08 Stephen Compall <s11@member.fsf.org>
14416
14417 [BZ #6649]
14418 * manual/llio.texi (Opening and Closing Files): Add cross
14419 reference to explain mode argument.
14420
1e4920e0
MF
144212012-04-07 Mike Frysinger <vapier@gentoo.org>
14422
14423 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14424 * sysdeps/x86_64/memset_chk.S: Likewise.
14425
5ed848f3
DM
144262012-04-07 David S. Miller <davem@davemloft.net>
14427
14428 * elf/elf.h (R_SPARC_WDISP10): Define.
14429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14430 R_SPARC_SIZE32.
14431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14432 R_SPARC_SIZE64 and R_SPARC_H34.
14433
96154cd8
CD
144342012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14435
14436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14437 conditions and remove no longer applicable assertion.
14438
9904dc47
L
144392012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14440
14441 * bits/byteswap.h: Include <features.h>.
14442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14444
f8887d0a
L
144452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14446
14447 * bits/byteswap.h (__bswap_16): Removed.
14448 Include <bits/byteswap-16.h> to get __bswap_16.
14449 * sysdeps/i386/bits/byteswap.h: Likewise.
14450 * sysdeps/s390/bits/byteswap.h: Likewise.
14451 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14452 * bits/byteswap-16.h: New file.
14453 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14454 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14455 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14456 * string/Makefile (headers): Add bits/byteswap-16.h.
14457
62470f60
PP
144582012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14459
14460 [BZ #13895]
14461 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14462 extra indirection.
14463 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14464 * nss/tst-nss-static.c: New.
14465
4dad7bab
RM
144662012-04-06 Robert Millan <rmh@gnu.org>
14467
14468 [BZ #6486]
14469 * manual/llio.texi (File Position Primitive): lseek
14470 refers to WHENCE when it really means OFFSET.
14471
e9142a17
AJ
144722012-04-06 Andreas Jaeger <aj@suse.de>
14473
2c040eff
AJ
14474 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14475 strncmp declarations.
14476
e9142a17
AJ
14477 * abilist/libc.abilist: Add __poll and __ppoll.
14478
ff9f1c5f
DM
144792012-04-05 David S. Miller <davem@davemloft.net>
14480
dcd2ae90
DM
14481 * scripts/check-local-headers.sh: Accept a host triplet in the
14482 path matched by the exclude regexp.
14483
993eb054
DM
14484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14485 definition.
14486 * sysdeps/powerpc/powerpc32/dl-machine.h
14487 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14488 * sysdeps/s390/s390-32/dl-machine.h
14489 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14490 * sysdeps/sparc/sparc32/dl-machine.h
14491 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14492 * sysdeps/sparc/sparc64/dl-machine.h
14493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14494
ff9f1c5f
DM
14495 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14496 lazy binding.
48e2e132 14497 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14498 undefined symbol errors.
14499
48e2e132 14500 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14501 DT_NEEDED entries.
14502
e80d6f94
MM
145032012-04-05 Michael Matz <matz@suse.de>
14504
14505 [BZ #13592]
14506 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14507
349fa79f
AJ
145082012-04-05 Andreas Jaeger <aj@suse.de>
14509
14510 [BZ #13908]
14511 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14512 comment.
14513
f402708f
KK
145142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14515
14516 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14517 which ROUND is no valid rounding mode.
14518
2ecccfc9
KK
145192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14520
14521 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14522 read again.
14523 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14524
8a53f50f
KK
145252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14526
14527 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14528 an exception using FPU order intentionally.
14529
145302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14531
14532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14533 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14534 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14535 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14536
d653abb7
SJ
145372012-04-05 Simon Josefsson <simon@josefsson.org>
14538
14539 [BZ #12340]
14540 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14541 EINVAL when BUFLEN is too smal.
14542
c3b1bf7d
TS
145432012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14544
14545 [BZ #13553]
14546 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14547 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14548
b1aa60f3
AJ
145492012-04-03 Andreas Jaeger <aj@suse.de>
14550
c3b1bf7d 14551 [BZ #13938]
67f60a26
AJ
14552 * manual/setjmp.texi (System V contexts): Fix sentence.
14553
b1aa60f3
AJ
14554 [BZ #13926]
14555 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14556 New macro for this case.
14557 [!__GNUC__] (__bswap_64): New inline function for this case.
14558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14559 * bits/byteswap.h: Likewise.
14560 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14561 ull, guard with __GLIBC_HAVE_LONG_LONG.
14562
14563 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14564 __GLIBC_HAVE_LONG_LONG.
14565
14566 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14567 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14568
39c59c35
TMQMF
145692012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14570
14571 [BZ #13691]
14572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14573 inptr and inend, rather than using last_ch.
14574
135ffda8
DM
145752012-04-02 David S. Miller <davem@davemloft.net>
14576
14577 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14578 * stdio-common/printf-parse.h (read_int): Change return type to
14579 'int', return -1 on INT_MAX overflow.
14580 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14581 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14582 overflows INT_MAX. Check for overflow of in-format-string precision
14583 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14584 SIZE_MAX not INT_MAX for integer overflow test.
14585 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14586 skip the construct in the format string but do not record anything.
14587 * stdio-common/bug22.c: Adjust to test both width/prevision
14588 INT_MAX overflow as well as total length INT_MAX overflow. Check
14589 explicitly for proper errno values.
14590
228c019e
TS
145912012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14592
302cadd3
TS
14593 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14594 CHAR_MAX.
14595 * string/test-strcmp.c [! WIDE]: Likewise.
14596 * time/tst-mktime2.c: Likewise for INT_MAX.
14597 * string/test-string.h: #include <sys/param.h> for MIN.
14598
228c019e
TS
14599 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14600 * sysdeps/i386/init-first.c (init): Likewise.
14601 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14602 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14603 * sysdeps/sh/init-first.c (init): Likewise.
14604
cfa633f5
UD
146052012-04-01 Ulrich Drepper <drepper@gmail.com>
14606
14607 * po/ru.po: Update from translation team.
d1635ef8 14608 * po/vi.po: Likewise.
cfa633f5 14609
6cd0a5ea
SP
146102012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14611
14612 * resolv/nss_dns/dns-host.c: Merge copyright years.
14613
4b43400f
LD
146142012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14615
14616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14617 Optimize memcpy with prefetch if
14618 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14619 src, dst pointers have unequal 16 byte alignments.
14620
48c41d04
SP
146212012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14622
14623 [BZ #13928]
14624 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14625 from a CNAME entry and return the minimum ttl for the query.
14626 (gaih_getanswer_slice): Likewise.
14627
b8dc394d
JL
146282012-03-30 Jeff Law <law@redhat.com>
14629
14630 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14631 due to long keys.
14632 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14633 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14634
2f5a5ed0
JL
14635 * resolv/nss_dns/dns-host.c: Update copyright year.
14636
1d39e359
UD
146372012-03-30 Ulrich Drepper <drepper@gmail.com>
14638
c030f70c 14639 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14640 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14641
1d39e359
UD
14642 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14643 comments for sendmmsg.
14644
146452012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14646
14647 [BZ #13691]
14648 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14649 with only 1 character between 0x0041 and 0x01b0.
14650 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14651 * wcsmbs/tst-mbsnrtowcs.c: New file.
14652
20fde227
DM
146532012-03-29 David S. Miller <davem@davemloft.net>
14654
14655 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14656 small copies by hand.
14657
984a4237
JL
146582012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14659
14660 [BZ #13761]
14661 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14662 _nss_compat_initgroups_dyn): Fall back to malloc/free
14663 for large group memberships.
14664
18c9d62b
DM
146652012-03-28 David S. Miller <davem@davemloft.net>
14666
88d85d4f
DM
14667 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14668 that branches into memcpy.
14669 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14672 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14674 bits.
14675 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14676 implementation too.
14677 * sysdeps/sparc/mempcpy.S: New file.
14678
e5aa83e1
DM
14679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14680 the IFUNC routine in the libc case.
14681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14682
88570753
DM
14683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14685 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14686 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14687 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14688 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14689 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14690 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14691
249d7567
DM
14692 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14693 loop to 256 bytes instead of 64 bytes and fix test signedness.
14694
18c9d62b
DM
14695 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14696 * sysdeps/sparc/sparc32/Makefile: rather than here...
14697 * sysdeps/sparc/sparc64/Makefile: and here.
14698
05f3d1f6
UD
146992012-03-28 Ulrich Drepper <drepper@gmail.com>
14700
14701 * malloc/mallocbug.c: Avoid warnings about unused variables.
14702
86ae07a8
JL
147032012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14704
14705 [BZ #13760]
14706 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14707 in the right place. Discard and retry query if response is
14708 larger than input buffer size.
14709
41bf21a1
JM
147102012-03-28 Joseph Myers <joseph@codesourcery.com>
14711
d6270972
JM
14712 [BZ #369]
14713 [BZ #2678]
14714 [BZ #3866]
14715 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14716 x for large integer exponent.
14717 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14718 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14719 sign of result as needed afterwards.
14720 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14722 result for underflowing pow the same as for overflow.
14723 (__kernel_standard_l): Handle powl overflow and underflow here
14724 rather than calling __kernel_standard.
14725 * math/libm-test.inc (pow_test): Add more tests.
14726
414fca03 14727 [BZ #3868]
41bf21a1
JM
14728 [BZ #13879]
14729 [BZ #13910]
14730 [BZ #13911]
14731 [BZ #13912]
14732 [BZ #13913]
14733 [BZ #13915]
14734 [BZ #13916]
14735 [BZ #13917]
14736 [BZ #13918]
14737 [BZ #13919]
14738 [BZ #13920]
14739 [BZ #13921]
14740 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14741 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14742 (__kernel_standard_l): New function.
14743 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14744 __kernel_standard.
14745 * math/w_acosl.c (__acosl): Likewise.
14746 * math/w_asinl.c (__asinl): Likewise.
14747 * math/w_atan2l.c (__atan2l): Likewise.
14748 * math/w_atanhl.c (__atanhl): Likewise.
14749 * math/w_coshl.c (__coshl): Likewise.
14750 * math/w_exp10l.c (__exp10l): Likewise.
14751 * math/w_exp2l.c (__exp2l): Likewise.
14752 * math/w_fmodl.c (__fmodl): Likewise.
14753 * math/w_hypotl.c (__hypotl): Likewise.
14754 * math/w_j0l.c (__j0l, __y0l): Likewise.
14755 * math/w_j1l.c (__j1l, __y1l): Likewise.
14756 * math/w_jnl.c (__jnl, __ynl): Likewise.
14757 * math/w_lgammal.c (__lgammal): Likewise.
14758 * math/w_log10l.c (__log10l): Likewise.
14759 * math/w_log2l.c (__log2l): Likewise.
14760 * math/w_logl.c (__logl): Likewise.
14761 * math/w_powl.c (__powl): Likewise.
14762 * math/w_remainderl.c (__remainderl): Likewise.
14763 * math/w_scalbl.c (sysv_scalbl): Likewise.
14764 * math/w_sinhl.c (__sinhl): Likewise.
14765 * math/w_sqrtl.c (__sqrtl): Likewise.
14766 * math/w_tgammal.c (__tgammal): Likewise.
14767 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14768 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14769 * math/libm-test.inc (acos_test): Add more tests.
14770 (acosh_test): Likewise.
14771 (asin_test): Likewise.
14772 (atanh_test): Likewise.
14773 (exp_test): Likewise.
14774 (exp10_test): Likewise.
14775 (exp2_test): Likewise.
14776 (expm1_test): Likewise.
14777 (lgamma_test): Likewise.
14778 (log_test): Likewise.
14779 (log10_test): Likewise.
14780 (log1p_test): Likewise.
14781 (log2_test): Likewise.
14782 (pow_test): Do not allow some spurious overflow exceptions.
14783 (sqrt_test): Add more tests.
14784 (tgamma_test): Likewise.
14785 (y0_test): Likewise.
14786 (y1_test): Likewise.
14787 (yn_test): Likewise.
14788
dd62fda6
AB
147892012-03-27 Anton Blanchard <anton@samba.org>
14790
14791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14792 MAP_HUGETLB.
14793 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14796
1e3cdfda
AJ
147972012-03-27 David S. Miller <davem@davemloft.net>
14798
b855ab85
DM
14799 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14800
1e3cdfda
AJ
14801 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14802 have-as-vis3 check.
14803
148042012-03-27 Andreas Jaeger <aj@suse.de>
14805
14806 * sysdeps/x86_64/elf/configure.in: Moved to ...
14807 * sysdeps/x86_64/configure.in: ... here.
14808 * sysdeps/x86_64/elf/start.S: Moved to ...
14809 * sysdeps/x86_64/start.S: ... here.
14810 * sysdeps/x86_64/elf/configure: Delete.
14811
14812 * sysdeps/x86_64/configure.in: Merge contents from
14813 sysdeps/i386/configure.in (without i686 check).
14814
14815 * sysdeps/i386/elf/Versions: Merge into ...
14816 * sysdeps/i386/Versions: ... this.
14817 * sysdeps/i386/elf/Versions: Delete file.
14818 * sysdeps/i386/elf/start.S: Moved to ...
14819 * sysdeps/i386/start.S: ...here.
14820 * sysdeps/i386/elf/configure.in: Merge into...
14821 * sysdeps/i386/configure.in: ...here.
14822 * sysdeps/i386/elf/configure.in: Delete file.
14823 * sysdeps/i386/elf/configure: Delete file.
14824
14825 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14826 * debug/backtracesyms.c: ... here.
14827 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14828 * debug/backtracesymsfd.c: ... here.
14829 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14830 * sysdeps/generic/ifunc-sel.h: ... here.
14831
14832 * sysdeps/unix/i386/start.c: Delete file.
14833 * sysdeps/unix/sparc/start.c: Delete file.
14834 * sysdeps/unix/start.c: Delete file.
14835
14836 * sysdeps/sh/elf/configure.in: Moved to ...
14837 * sysdeps/sh/configure.in: ... here.
14838 * sysdeps/sh/elf/start.S: Moved to ...
14839 * sysdeps/sh/start.S: ... here.
14840 * sysdeps/sh/elf/configure: Delete file.
14841
14842 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14843 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14844 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14845 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14846 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14847 * sysdeps/powerpc/powerpc64/start.S: here.
14848 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14849 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14850 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14851 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14852 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14853
14854 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14855 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14856 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14857 * sysdeps/powerpc/powerpc32/start.S: ... here.
14858 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14859 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14860 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14861
14862 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14863 * sysdeps/powerpc/ifunc-sel.h: ... here.
14864 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14865 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14866
14867 * sysdeps/sparc/elf/configure.in: Moved to ...
14868 * sysdeps/sparc/configure.in: ... here.
14869 * sysdeps/sparc/elf/configure: Delete file.
14870 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14871 * sysdeps/sparc/sparc32/start.S: ... here.
14872 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14873 * sysdeps/sparc/sparc64/start.S: ... here.
14874 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14875 * sysdeps/sparc/sparc32/Makefile: ... this.
14876 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14877 * sysdeps/sparc/sparc64/Makefile: ... this.
14878
14879 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14880 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14881 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14882 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14883 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14884 * sysdeps/s390/s390-32/setjmp.S: ... here.
14885 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14886 * sysdeps/s390/s390-32/configure.in: ... here.
14887 * sysdeps/s390/s390-32/elf/configure: Delete file.
14888 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14889 * sysdeps/s390/s390-32/start.S: ... here.
14890
14891 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14892 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14893 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14894 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14895 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14896 * sysdeps/s390/s390-64/setjmp.S: ... here.
14897 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14898 * sysdeps/s390/s390-64/configure.in: ... here
14899 * sysdeps/s390/s390-64/elf/configure: Delete file.
14900 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14901 * sysdeps/s390/s390-64/start.S: ... here.
14902 * sysdeps/s390/s390-64/elf/configure: Delete.
14903
14904 * configure.in: Remove support for elf directories in sysdeps.
14905
14906 * configure: Regenerated.
14907 * sysdeps/i386/configure: Regenerated.
14908 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14909 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14910 * sysdeps/s390/s390-32/configure: Regenerated.
14911 * sysdeps/s390/s390-64/configure: Regenerated.
14912 * sysdeps/sh/configure: Regenerated.
14913 * sysdeps/sparc/configure: Regenerated.
14914 * sysdeps/x86_64/configure: Regenerated.
14915
a3f61311
AS
149162012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14917
c876e002
AS
14918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14919
a3f61311
AS
14920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14921 denormal result into account.
14922
ac4c54f0
RM
149232012-03-25 Roland McGrath <roland@hack.frob.com>
14924
14925 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14926 Reported by Allan McRae <allan@archlinux.org>.
14927
6a9b9c02
JL
149282012-03-23 Jeff Law <law@redhat.com>
14929
14930 * nss/getnssent.c (__nss_getent): Fix typo.
14931
4c42a0c1
DM
149322012-03-23 David S. Miller <davem@davemloft.net>
14933
14934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14935
1532c7ac
L
149362012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14937
14938 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14939 to pad to uint64_t for each field.
14940 (dl_tls_index): Replace unsigned long with uint64_t.
14941
3ff42526
PP
149422012-03-23 Daniel Jacobowitz <dmj@google.com>
14943 Paul Pluzhnikov <ppluzhnikov@google.com>
14944
14945 [BZ #6528]
14946 * grp/Makefile (otherlibs): Don't set it.
14947 * inet/Makefile (otherlibs): Likewise.
14948 * login/Makefile (otherlibs): Likewise.
14949 * nscd/Makefile (otherlibs): Likewise.
14950 * posix/Makefile (otherlibs): Likewise.
14951 * pwd/Makefile (otherlibs): Likewise.
14952 * rt/Makefile (otherlibs): Likewise.
14953 * sunrpc/Makefile (otherlibs): Likewise.
14954 * nss/Makefile (otherlibs): Likewise.
14955 Add libnss_files to routines and static-only-routines.
14956 ($(objpfx)getent): Remove rule.
14957 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14958 static-only-routines.
14959
7c69cd14
JM
149602012-03-22 Joseph Myers <joseph@codesourcery.com>
14961
14962 [BZ #13892]
14963 * math/s_cexp.c: Include <float.h>.
14964 (__cexp): Handle exp result overflowing not necessarily
14965 overflowing both real and imaginary parts of result.
14966 * math/s_cexpf.c: Likewise.
14967 * math/s_cexpl.c: Likewise.
14968 * math/libm-test.inc (cexp_test): Add more tests.
14969 * sysdeps/i386/fpu/libm-test-ulps: Update.
14970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14971
81b035fe
L
149722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14973
14974 * include/link.h (ELFW): New macro.
14975 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14976 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14977
1da7940c
L
149782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14979
14980 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14981 with uint64_t.
14982
b749dbb9
L
149832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14986 declaration.
14987 (struct La_x32_retval): Likewise.
14988
2ff87f3f
L
149892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14990
14991 * sysdeps/x86_64/preconfigure.in: New file.
14992 * sysdeps/x86_64/preconfigure: New generated file.
14993
c0df8e69
JM
149942012-03-22 Joseph Myers <joseph@codesourcery.com>
14995
48e44791
JM
14996 [BZ #13824]
14997 * math/e_exp2l.c: Include <float.h>.
14998 (__ieee754_exp2l): Handle overflow and underflow cases
14999 separately. Only pass fractional part of argument to
15000 __ieee754_expl.
15001 * math/libm-test.inc (exp2_test): Add more tests.
15002
c0df8e69
JM
15003 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15004 negating x to take absolute value.
15005 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15006 Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15009 Likewise.
15010 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15011 computing low part if x was negated.
15012 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15013
c8e43ba7
L
150142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15015
15016 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15017 la_x32_gnu_pltexit.
15018 (pltexit): Cast int_retval to ptrdiff_t.
15019 * elf/tst-auditmod3b.c: Likewise.
15020 * elf/tst-auditmod4b.c: Likewise.
15021 * elf/tst-auditmod5b.c: Likewise.
15022 * elf/tst-auditmod6b.c: Likewise.
15023 * elf/tst-auditmod6c.c: Likewise.
15024 * elf/tst-auditmod7b.c: Likewise.
15025
15026 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15027 and x32_gnu_pltexit.
15028
15029 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15030 __ELF_NATIVE_CLASS.
15031 (La_x32_regs): New macro.
15032 (La_x32_retval): Likewise.
15033 (la_x32_gnu_pltenter): New function prototype.
15034 (la_x32_gnu_pltexit): Likewise.
15035
7998fa78
AS
150362012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15037
dcb33988
AS
15038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15039 exponent.
15040
233fc563
AS
15041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15042
7998fa78
AS
15043 * configure.in (libc_cv_cc_nofma): Check for option to disable
15044 generation of FMA instructions.
15045 * configure: Regenerate.
15046 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15047 * sysdeps/ieee754/dbl-64/Makefile: New file.
15048 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15049 Remove brandred-fma4.
15050 (CFLAGS-brandred-fma4.c): Remove.
15051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15053 define.
15054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15055 define.
15056
8e95c99a
L
150572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15058
15059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15060 LLONG_MAX != LONG_MAX.
15061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15062 (_fitoa_word): Likewise.
15063 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15064 LLONG_MAX != LONG_MAX.
15065 * stdio-common/_itowa.h: Include <_itoa.h>.
15066 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15067 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15068 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15069 only if not defined.
15070 (_ITOA_WORD_TYPE): Likewise.
15071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15072 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15073
6f4db457
DM
150742012-03-21 David S. Miller <davem@davemloft.net>
15075
15076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15077
7785fe5a
L
150782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15079
15080 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15081 of x86_64 when setting libc_cv_slibdir, libdir and
15082 libc_cv_localedir.
15083 * sysdeps/unix/sysv/linux/configure: Regenerated.
15084
4535cd55
JM
150852012-03-21 Joseph Myers <joseph@codesourcery.com>
15086
15087 * manual/lang.texi (Old Varargs): Remove section.
15088 (How Variadic): Update menu.
15089 (va_start): Do not mention varargs.h.
15090
17228132
TS
150912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15092 Joseph Myers <joseph@codesourcery.com>
15093
15094 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15095 link test.
15096 * configure: Regenerated.
15097
8149f976
TS
150982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15099
05f3d1f6
UD
15100 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15101 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15102 conformtest.pl
8149f976 15103
1a4ac776
JM
151042012-03-21 Joseph Myers <joseph@codesourcery.com>
15105
be22ce65
JM
15106 * NOTES: Remove.
15107 * Makefile (files-for-dist): Remove NOTES.
15108 (NOTES): Remove rule.
15109 * README: Don't refer to NOTES.
15110 * manual/creature.texi: Don't include macros.texi.
15111 * manual/intro.texi (creature.texi): Remove comment referring to
15112 NOTES.
15113
40b601fb
JM
15114 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15115 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15116 * configure: Regenerated.
15117 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15118 LIBC_TRY_CC_OPTION.
15119 (libc_cv_as_i686): Likewise.
15120 (libc_cv_cc_avx): Likewise.
15121 (libc_cv_cc_sse2avx): Likewise.
15122 (libc_cv_cc_fma4): Likewise.
15123 (libc_cv_cc_novzeroupper): Likewise.
15124 * sysdeps/i386/configure: Regenerated.
15125
1a4ac776
JM
15126 [BZ #13883]
15127 * sysdeps/i386/fpu/s_cexp.S: Remove.
15128 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15129 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15130 * math/libm-test.inc (cexp_test): Add more tests.
15131 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15133
a458e7fe
AM
151342012-03-21 Allan McRae <allan@archlinux.org>
15135
15136 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15137
0cb7efc5
JM
151382012-03-21 Joseph Myers <joseph@codesourcery.com>
15139
15140 [BZ #13871]
15141 * math/w_exp2.c: Do not include <float.h>.
15142 (o_threshold, u_threshold): Remove.
15143 (__exp2): Calculate result before checking finiteness and calling
15144 __kernel_standard.
15145 * math/w_exp2f.c: Likewise.
15146 * math/w_exp2l.c: Likewise.
15147 * math/libm-test.inc (exp2_test): Require overflow exception for
15148 1e6 input.
2460d3aa
JM
15149
15150 [BZ #3866]
15151 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15152 range of signed 64-bit integers before using fistpll. Remove
15153 checks for whether integers fit in mantissa bits.
15154 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15155 the range of signed 32-bit integers before using fistpl. Remove
15156 checks for whether integers fit in mantissa bits.
15157 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15158 (__ieee754_powl): Test for y outside the range of signed 64-bit
15159 integers before using fistpll. Reduce 64-bit values to 63-bit
15160 ones as needed.
15161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15162 divide-by-zero is raised for zero to large negative powers.
15163 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15164 (__ieee754_powl): Test for y outside the range of signed 64-bit
15165 integers before using fistpll. Reduce 64-bit values to 63-bit
15166 ones as needed.
15167 * math/libm-test.inc (pow_test): Add more tests.
15168
eb96ffb0
L
151692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15170
15171 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15172 <stdio-common/_itoa.h>.
15173 * debug/segfault.c: Likewise.
15174 * elf/dl-cache.c: Likewise.
15175 * elf/dl-minimal.c: Likewise.
15176 * elf/dl-misc.c: Likewise.
15177 * elf/dl-sysdep.c: Likewise.
15178 * elf/dl-version.c: Likewise.
15179 * elf/rtld.c: Likewise.
15180 * hurd/hurdsock.c: Likewise.
15181 * hurd/lookup-retry.c: Likewise.
15182 * malloc/malloc.c: Likewise.
15183 * malloc/mtrace.c: Likewise.
15184 * nscd/nscd_getgr_r.c: Likewise.
15185 * nscd/nscd_getpw_r.c: Likewise.
15186 * nscd/nscd_getserv_r.c: Likewise.
15187 * posix/getopt_init.c: Likewise.
15188 * posix/wordexp.c: Likewise.
15189 * stdio-common/_itoa.c: Likewise.
15190 * stdio-common/printf_fphex.c: Likewise.
15191 * stdio-common/vfprintf.c: Likewise.
15192 * string/_strerror.c: Likewise.
15193 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15194 * sysdeps/i386/i686/hp-timing.h: Likewise.
15195 * sysdeps/mach/_strerror.c: Likewise.
15196 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15197 * sysdeps/mach/hurd/sethostid.c: Likewise.
15198 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15199 * sysdeps/mach/xpg-strerror.c: Likewise.
15200 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15202 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15203 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15205 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15207 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15208 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15209 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15210 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15212 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15214 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15215 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15218 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15219 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15221
15222 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15223
15224 * stdio-common/_itoa.h: Moved to ...
15225 * sysdeps/generic/_itoa.h: Here.
15226
15227 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15228
15229 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15230 instead of "_itoa.h" and "_itowa.h".
15231 * stdio-common/vfprintf.: Likewise.
15232
d1af992d
L
152332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15234
15235 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15236 <bits/wordsize.h>.
15237 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15238 (__signbit): Likwise.
15239 (llrintf): Likwise.
15240 (llrint): Likwise.
15241
114883e0
L
152422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15243
15244 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15245 __WORDSIZE != 64.
15246
c135cc1b
JM
152472012-03-20 Joseph Myers <joseph@codesourcery.com>
15248
15249 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15250 OVERFLOW_EXCEPTION_OK.
15251 * math/libm-test.inc ("Philosophy"): Update comment about
15252 exception testing.
15253 (OVERFLOW_EXCEPTION): Define.
15254 (OVERFLOW_EXCEPTION_OK): Likewise.
15255 (INVALID_EXCEPTION_OK): Renumber.
15256 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15257 (IGNORE_ZERO_INF_SIGN): Likewise.
15258 (test_exceptions): Handle FE_OVERFLOW.
15259 (exp10_test): Expect overflow exceptions.
15260 (exp2_test): Likewise.
15261 (expm1_test): Likewise.
15262 (nextafter_test): Likewise.
15263 (pow_test): Likewise.
15264 (scalbn_test): Likewise.
15265 (scalbln_test): Likewise.
15266
95443d88
L
152672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 * sysdeps/x86_64/bits/atomic.h
15270 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15271 64bit integer.
15272 (atomic_exchange_acq): Likewise.
15273 (__arch_exchange_and_add_body): Likewise.
15274 (__arch_add_body): Likewise.
15275 (atomic_add_negative): Likewise.
15276 (atomic_add_zero): Likewise.
15277
490df6c4
L
152782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15279
c2722551 15280 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15281 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15282
5e52b189
L
152832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15284
15285 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15286 Check __x86_64__ instead of __WORDSIZE.
15287
a9879d4c
L
152882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15289
15290 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15291
5df98260
DM
152922012-03-19 David S. Miller <davem@davemloft.net>
15293
e1497744
DM
15294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15295
5df98260
DM
15296 * sysdeps/sparc/fpu/fenv_private.h: New file.
15297 * sysdeps/sparc/fpu/math_private.h: Use it.
15298 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15299 Remove.
15300 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15301 (libc_feholdexcept_setroundl): Remove.
15302 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15303 Remove.
15304 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15305 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15306
b4c35121
L
153072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15308
15309 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15310 int64_t instead of long int.
15311 (INSERT_WORDS64): Likwise.
15312
56965fd7
L
153132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15314
15315 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15316 _Unwind_GetCFA return to _Unwind_Ptr first.
15317
83d1aec8
JM
153182012-03-19 Joseph Myers <joseph@codesourcery.com>
15319
1897ad44
JM
15320 [BZ #13629]
15321 * math/s_clog.c: Include <float.h>.
15322 (__clog): Scale large or subnormal inputs.
15323 * math/s_clogf.c: Likewise.
15324 * math/s_clogl.c: Likewise.
15325 * math/s_clog10.c: Include <float.h>.
15326 (M_LOG10_2): Define.
15327 (__clog10): Scale large or subnormal inputs.
15328 * math/s_clog10f.c: Likewise.
15329 * math/s_clog10l.c: Likewise.
15330 * math/libm-test.inc (clog_test): Add more tests.
15331 (clog10_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334
7726d6a9
JM
15335 [BZ #11451]
15336 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15337 x and y.
15338 * math/libm-test.inc (atan2_test): Add another test.
15339
83d1aec8
JM
15340 * Makerules (common-objdir-compile): Remove.
15341 * sysdeps/unix/Makefile (config-generated): Do not add
15342 $(unix-generated) to variable.
15343 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15344 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15345 Remove rule.
15346 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15347 Likewise.
15348 [generic bits/local_lim.h] (before-compile): Do not append to
15349 variable.
15350 [generic bits/local_lim.h] (common-generated): Likewise.
15351 [generic sys/param.h] (before-compile): Do not append to variable.
15352 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15353 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15356 include.
15357 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15358 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15359 [generic sys/param.h] ($(addprefix
15360 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15361 [generic sys/param.h] (common-generated): Do not append to
15362 variable.
15363 [generic sys/param.h] (sysdep_headers): Likewise.
15364 [generic bits/errno.h] (before-compile): Do not append to
15365 variable.
15366 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15367 rule.
15368 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15369 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15370 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15371 [generic bits/errno.h] (common-generated): Do not append to
15372 variable.
15373 [generic bits/ioctls.h] (before-compile): Do not append to
15374 variable.
15375 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15376 rule.
15377 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15378 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15379 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15380 rule.
15381 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15382 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15383 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15384 [generic bits/ioctls.h] (common-generated): Do not append to
15385 variable.
15386 [generic sys/syscall.h] (syscall.h): Remove variable.
15387 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15388 rule.
15389 [generic sys/syscall.h] (before-compile): Do not append to
15390 variable.
15391 [generic sys/syscall.h] (common-generated): Likewise.
15392 * sysdeps/unix/errnos-tmpl.c: Remove file.
15393 * sysdeps/unix/errnos.awk: Likewise.
15394 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15395 * sysdeps/unix/ioctls.awk: Likewise.
15396 * sysdeps/unix/mk-local_lim.c: Likewise.
15397 * sysdeps/unix/snarf-ioctls: Likewise.
15398
4851a949
RH
153992012-03-19 Richard Henderson <rth@twiddle.net>
15400
bd37f2ee
RH
15401 * sysdeps/i386/fpu/fenv_private.h: New file.
15402 * sysdeps/i386/fpu/math_private.h: Use it.
15403 (math_opt_barrier, math_force_eval): Remove.
15404 (libc_feholdexcept_setround_53bit): Remove.
15405 (libc_feupdateenv_53bit): Remove.
15406 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15407 (math_opt_barrier, math_force_eval): Remove.
15408 (libc_feholdexcept): Remove.
15409 (libc_feholdexcept_setround): Remove.
15410 (libc_fetestexcept, libc_fesetenv): Remove.
15411 (libc_feupdateenv_test): Remove.
15412 (libc_feupdateenv, libc_feholdsetround): Remove.
15413 (libc_feresetround): Remove.
15414
d0adc922
RH
15415 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15416 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15417
0fe0f1f8
RH
15418 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15419 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15420 (libc_feupdateenv_testl): New.
15421 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15422 (libc_feupdateenv_testf): New.
15423 (libc_feupdateenv): Use libc_feupdateenv_test.
15424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15426
eb92c487
RH
15427 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15428 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15429 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15430 (libc_feresetround_noex): New.
15431 (libc_feresetround_noexf): New.
15432 (libc_feresetround_noexl): New.
15433 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15434 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15435 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15437 SET_RESTORE_ROUND.
15438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15440 (__cos): Likewise.
15441 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15442 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15443 SET_RESTORE_ROUND_NOEX.
15444 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15445 SET_RESTORE_ROUND_NOEXF.
15446 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15447 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15448 (libc_feholdsetroundf): New.
15449 (libc_feresetround, libc_feresetroundf): New.
15450
7d2e8012
RH
15451 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15452 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15453 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15454
b4dabbb4
RH
15455 * sysdeps/generic/math_private.h: Include <fenv.h>.
15456 (default_libc_feholdexcept): New.
15457 (default_libc_feholdexcept_setround): New.
15458 (default_libc_fesetenv, default_libc_feupdateenv): New.
15459 (libc_feholdexcept): Only define if undefined.
15460 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15461 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15462 (libc_feholdexcept_setroundl): Likewise.
15463 (libc_feholdexcept_setround_53bit): Likewise.
15464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15465 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15466 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15467 (libc_feupdateenv_53bit): Likewise.
15468 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15469 (libc_feholdexcept): Convert from macro to inline function.
15470 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15471 (libc_fesetenv, libc_feupdateenv): Likewise.
15472
4851a949
RH
15473 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15474 not previously defined.
15475 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15476 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15477 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15478 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15479 * sysdeps/ieee754/flt-32/math_private.h: New file.
15480 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15481 math_private.h below SET_FLOAT_WORD.
15482 (__isnan, __isinf_ns, __finite): Remove.
15483 (__isnanf, __isinf_nsf, __finitef): Remove.
15484
e79d442e
AS
154852012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15486
15487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15488
90b80344
DM
154892012-03-17 David S. Miller <davem@davemloft.net>
15490
15491 [BZ #6471]
15492 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15493 for 2.16.
15494
edc21804
DM
154952012-03-16 David S. Miller <davem@davemloft.net>
15496
77e927af
DM
15497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15498 warnings.
15499
374976dd
DM
15500 [BZ #6471]
15501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15502 properly.
15503 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15504 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15505 sysdep_routines when subdir is sysvipc.
15506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15507 __getshmlba helper.
15508
edc21804
DM
15509 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15510
473c3ef3
L
155112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15512
15513 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15514 [__LP64__].
15515
eb0f39b6
L
155162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15517
15518 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15519 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15520 (__lround): Renamed to ...
15521 (__llround): This. Replace long int with long long int.
15522 Define lround functions as aliases of llround functions.
15523 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15524
6b6cd74b
L
155252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15526
15527 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15528 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15529 adresses to uintptr_t. Replace "long int" and "unsigned long
15530 int" with "greg_t" on va_arg.
15531
f1a77b01
L
155322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15533
15534 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15535 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15536
15537 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15538 Move e_machine check before EI_CLASS check. Handle x32
15539 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15540 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15541 SKIP_EM_IA_64 and include
15542 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15543
15544 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15545 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15546 (add_system_dir): New macro.
15547
15548 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15549 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15550
11b90b9f
JM
155512012-03-16 Joseph Myers <joseph@codesourcery.com>
15552
c36e1d23
JM
15553 [BZ #2551]
15554 [BZ #2552]
15555 [BZ #2553]
15556 [BZ #2554]
15557 [BZ #2562]
15558 [BZ #2563]
15559 [BZ #2565]
15560 [BZ #2566]
15561 [BZ #2576]
15562 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15563 (y0): Likewise.
15564 * math/w_j0f.c (j0f): Likewise.
15565 (y0f): Likewise.
15566 * math/w_j0l.c (__j0l): Likewise.
15567 (__y0l): Likewise.
15568 * math/w_j1.c (j1): Likewise.
15569 (y1): Likewise.
15570 * math/w_j1f.c (j1f): Likewise.
15571 (y1f): Likewise.
15572 * math/w_j1l.c (__j1l): Likewise.
15573 (__y1l): Likewise.
15574 * math/w_jn.c (jn): Likewise.
15575 (yn): Likewise.
15576 * math/w_jnf.c (jnf): Likewise.
15577 (ynf): Likewise.
15578 * math/w_jnl.c (__jnl): Likewise.
15579 (__ynl): Likewise.
15580 * math/libm-test.inc (j0_test): Add more tests.
15581 (j1_test): Likewise.
15582 (jn_test): Likewise. Add trailing semicolon to existing test.
15583 (y0_test): Likewise.
15584 (y1_test): Likewise.
15585 * sysdeps/i386/fpu/libm-test-ulps: Update.
15586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15587
11b90b9f
JM
15588 [BZ #13851]
15589 [BZ #13854]
15590 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15591 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15592 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15594 (__tanl): Set errno for infinite argument.
15595 * sysdeps/i386/fpu/mptan.c: Remove.
15596 * sysdeps/i386/fpu/s_tan.S: Likewise.
15597 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15598 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15599 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15600 * math/libm-test.inc (tan_test): Add more tests and enable more
15601 tests for double and long double.
15602 * sysdeps/i386/fpu/libm-test-ulps: Update.
15603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15604
6a1bd2a1
JK
156052012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15606
15607 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15608 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15609
10a803e0
RM
156102012-03-16 Roland McGrath <roland@hack.frob.com>
15611
15612 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15613 * configure.in: Use it for both main tree and add-ons.
15614 * configure: Regenerated.
15615
f196c7f7
L
156162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15619
8848d99d
JM
156202012-03-16 Joseph Myers <joseph@codesourcery.com>
15621
96cbe7f4
JM
15622 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15623 in comment.
15624
8848d99d
JM
15625 [BZ #13851]
15626 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15627 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15631 infinite argument.
15632 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15634 != 0 for prec == 2.
15635 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15636 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15637 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15638 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15639 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15640 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15641 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15642 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15643 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15644 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15645 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15646 * math/libm-test.inc (cos_test): Add more tests and enable more
15647 tests for long double.
15648 (sin_test): Likewise.
15649 (sincos_test): Likewise.
15650 * sysdeps/i386/fpu/libm-test-ulps: Update.
15651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15652
dd7f4703
DM
156532012-03-16 David S. Miller <davem@davemloft.net>
15654
15655 * sysdeps/sparc/fpu/math_private.h: New file.
15656
006f1daa
DM
156572012-03-15 David S. Miller <davem@davemloft.net>
15658
c0c83bc8
DM
15659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15660 file.
e6a62e18 15661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15663 file.
e6a62e18
DM
15664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15670 sysdep routines.
15671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15672
88cb87d9
DM
15673 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15674 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15675
006f1daa 15676 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15678 sparc-ifunc.h
006f1daa 15679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15681 Likewise.
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15683 Likewise.
006f1daa
DM
15684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15688 Likewise.
006f1daa
DM
15689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15694 Likewise.
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15696 Likewise.
006f1daa
DM
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15721
11e0098e
AS
157222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15723
15724 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15725 scaling.
15726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15727
e85b09d0
AJ
157282012-03-15 Andreas Jaeger <aj@suse.de>
15729
15730 [BZ #13852]
15731 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15732 ieee754/flt-32 implementation for sin, cos and sincos.
15733 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15734 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15735 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15736 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15737 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15738 ieee754/flt-32 implementation for tan.
15739
15740 * math/libm-test.inc (cos_test): Enable some large input tests for
15741 float as well
15742 (sin_test): Likewise.
15743 (sincos_test): Likewise.
15744 (tan_test): Add tests for large input.
15745
15746 * sysdeps/i386/fpu/libm-test-ulps: Update.
15747
81c64153
AJ
157482012-03-15 Andreas Jaeger <aj@suse.de>
15749
15750 [BZ #13658]
15751 * math/libm-test.inc (cos_test): Add more test cases.
15752 (sin_test): Likewise.
15753 (sincos_test): Likewise.
15754
7bbfa5c6
AJ
157552012-03-15 Andreas Jaeger <aj@suse.de>
15756
15757 [BZ #13837]
15758 * math/libm-test.inc (cos_test): Add a test case for large input
15759 value.
15760 (sin_test): Likewise.
15761 (sincos_test): Likewise.
15762
157632012-03-15 Andreas Jaeger <aj@suse.de>,
15764 Joseph Myers <joseph@codesourcery.com>
15765
15766 [BZ #13658]
0671f479 15767 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15768 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15769 * sysdeps/i386/fpu/branred.c: Likewise.
15770 * sysdeps/i386/fpu/dosincos.c: Likewise.
15771 * sysdeps/i386/fpu/mpa.c: Likewise.
15772 * sysdeps/i386/fpu/s_cos.S: Likewise.
15773 * sysdeps/i386/fpu/s_sin.S: Likewise.
15774 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15775 * sysdeps/i386/fpu/sincos32.c: Likewise.
15776
15777 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15778 Define.
15779 (libc_feupdateenv_53bit): Define.
15780 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15781 Define.
15782 (libc_feupdateenv_53bit): Define.
15783
15784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15785 53 bit (without extend i386 double precision).
15786
15787 * math/libm-test.inc (sincos_test): Add tests for large input.
15788 (sin): Likewise.
15789 (cos): Likewise.
15790
15791 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15792
9cad04ea
AS
157932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15794
15795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15796
f7062b9a
DM
157972012-03-15 David S. Miller <davem@davemloft.net>
15798
15799 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15800 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15801 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15802 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15815 file.
f7062b9a 15816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15818 file.
f7062b9a 15819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15821 file.
f7062b9a 15822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15824 file.
f7062b9a
DM
15825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15827 fmin/fmax sysdep routines.
15828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15829
7bd951ff
DM
158302012-03-14 David S. Miller <davem@davemloft.net>
15831
559398ab
DM
15832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15860 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15861 routines.
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15863 file.
559398ab 15864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15866 file.
559398ab 15867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15869 file.
559398ab 15870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15872 file.
559398ab 15873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15875 file.
559398ab 15876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15878 file.
15879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15880 file.
15881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15882 file.
15883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15884 file.
15885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15886 New file.
15887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15888 file.
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15890 file.
559398ab 15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15893 file.
559398ab 15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15896 file.
559398ab 15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15899 file.
559398ab 15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15902 VIS3 routines.
559398ab
DM
15903
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15905 New file.
15906
5a1c1e32
DM
15907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15908
eae47a36
DM
15909 * sysdeps/sparc/configure.in: New file.
15910 * sysdeps/sparc/configure: Generate.
15911 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15912 * configure: Regenerate.
15913 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15914 * config.make.in (have-as-vis3): New.
15915 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15916 available use -Av9d instead of -Av9a.
15917 * sysdeps/sparc/sparc64/Makefile: Likewise.
15918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15920 New file.
15921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15922 file.
15923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15924 New file.
15925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15926 file.
eae47a36
DM
15927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15932
c0c83bc8
DM
15933 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15934 fzeros/fnegs to load 0x80000000 into a float register instead of
15935 using the stack.
7bd951ff
DM
15936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15937
bd951ccb
JM
159382012-03-14 Joseph Myers <joseph@codesourcery.com>
15939
15940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15941 bits/syscall.h.
15942 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15943 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15944 ($(inst_includedir)/bits/syscall.h): Remove rule.
15945 ($(objpfx)bits/syscall.d): Include instead of
15946 $(objpfx)syscall-list.d.
15947 (generated): Change syscall-list.h and syscall-list.d to
15948 bits/syscall.h and bits/syscall.d.
15949
bb4e6db2
RM
159502012-03-14 Roland McGrath <roland@hack.frob.com>
15951
15952 [BZ #13846]
15953 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15954
aa4a2ae1
JM
159552012-03-14 Joseph Myers <joseph@codesourcery.com>
15956
e456826d
JM
15957 [BZ #13841]
15958 * math/s_csqrt.c: Include <float.h>.
15959 (__csqrt): Scale large or subnormal inputs.
15960 * math/s_csqrtf.c: Likewise.
15961 * math/s_csqrtl.c: Likewise.
15962 * math/libm-test.inc (csqrt_test): Add more tests.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15965
aa4a2ae1
JM
15966 [BZ #13840]
15967 * math/libm-test.inc (hypot_test): Add more tests.
15968
7c10fd35
DM
159692012-03-13 David S. Miller <davem@davemloft.net>
15970
15971 [BZ #13840]
15972 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15973 double-precision for the calculation instead of scaling.
15974
f453b98b
JM
159752012-03-13 Joseph Myers <joseph@codesourcery.com>
15976
15977 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15978 manipulate bits before adding and subtracting TWO52[sx].
15979 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15981 Likewise.
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15983
09a3453f
DM
159842012-03-13 David S. Miller <davem@davemloft.net>
15985
8e59da90
DM
15986 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15987 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15989 rtld-global-offsets.h
15990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15991
2a8ab7f2
DM
15992 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15993 large parameters.
15994
10f62770
DM
15995 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15996
5f0bdb18
DM
15997 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15998 'err' in the ifdef scope in which it is actually used.
15999
09a3453f
DM
16000 * nss/nss_db/db-init.c: Include string.h
16001
b4b2eb5e
DM
160022012-03-12 David S. Miller <davem@davemloft.net>
16003
98bb2f1c
DM
16004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16005 masking out of the most significant byte of random value used.
16006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16007 Fix coding style in previous change.
16008
b4b2eb5e
DM
16009 * sysdeps/unix/sysv/linux/kernel-features.h
16010 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16011 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16012 expression.
16013 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16014 later.
16015
6e226b09
DM
160162012-03-11 David S. Miller <davem@davemloft.net>
16017
a1bcbd40
DM
16018 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16019 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16021 for 'resultvar' otherwise things get truncated on 64-bit.
16022
cb9d6174
DM
16023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16024 Fix masking out of the most significant byte of random value used.
16025
6e226b09
DM
16026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16027
058c132d
AS
160282012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16031
2d2cd515
DM
160322012-03-09 David S. Miller <davem@davemloft.net>
16033
16034 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16035 variables with appropriate CPP guards.
16036 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16037 frame pointer, not the stack pointer. Correct layout comments. Fix test
16038 on resulting framesize and the management of the outregs buffer for pltexit.
16039 Preserve floating point return values across _dl_call_pltexit call.
16040 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16041 framesize and the management of the outregs buffer for pltexit.
16042 Preserve floating point return values across _dl_call_pltexit
16043 call.
16044 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16045 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16046 (print_exit): Fix format string for return register value.
16047
9a07f9d0
JM
160482012-03-10 Joseph Myers <joseph@codesourcery.com>
16049
16050 * sunrpc/Makefile (others): Add rpcgen.
16051 ($(objpfx)rpcgen): Remove special build rule and dependency on
16052 libc.
16053 * sunrpc/rpcgen.c: New file.
16054
547b5e30
PE
160552012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16056
c524201a
PE
16057 [BZ #13673]
16058 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16059 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16060 * sysdeps/i386/crti.S: Likewise.
16061 * sysdeps/i386/crtn.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16066 * sysdeps/sh/crti.S: Likewise.
16067 * sysdeps/sh/crtn.S: Likewise.
16068 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16069
7b6235f2
PE
16070 [BZ #13673]
16071 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16072 with URL.
16073 * locale/programs/locfile-kw.gperf: Likewise.
16074 * locale/programs/charmap-kw.h: Regenerated.
16075 * locale/programs/locfile-kw.h: Likewise.
16076
547b5e30
PE
16077 [BZ #13673]
16078 * intl/plural.y: Replace FSF snail mail address with URL.
16079 * intl/plural.c: Regenerated.
16080
5f0a5dae
RH
160812012-03-09 Richard Henderson <rth@twiddle.net>
16082
16083 * include/math_private.h: Remove file.
16084 * math/math_private.h: Move file ...
16085 * sysdeps/generic/math_private.h: ... here.
16086
b8c03620
RH
16087 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16088 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16089 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16090
4e234f5d 16091 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16092 and <math_private.h>.
16093 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16094 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16095 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16096 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16097 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16167 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16181 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16182 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16183 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16184 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16186 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16187 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16188 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16189 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16190 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16193 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16194 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16195 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16196 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16198 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16199 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16200 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16201 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16203 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16204 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16205 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16206 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16207 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16209 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16210 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16211 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16212 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16214 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16215 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16216 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16219 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16220 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16221 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16222 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16223 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16224 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16226 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16231 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16232 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16234 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16241 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16242 * sysdeps/ieee754/k_standard.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16267 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16370 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16375 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16403 * sysdeps/ieee754/s_lib_version.c: Likewise.
16404 * sysdeps/ieee754/s_matherr.c: Likewise.
16405 * sysdeps/ieee754/s_signgam.c: Likewise.
16406 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16407 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16408 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16409 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16410 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16411 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16412 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16413 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16414 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16415 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16416 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16417 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16418 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16419 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16420 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16422 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16427
1991fa03
JM
164282012-03-09 Joseph Myers <joseph@codesourcery.com>
16429
16430 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16431 * sunrpc/rpc_main.c: Likewise.
16432 * sunrpc/rpc_svcout.c: Likewise.
16433
60d6f5a6
DM
164342012-03-09 David S. Miller <davem@davemloft.net>
16435
16436 * include/math_private.h: New file.
16437
4962050e
JM
164382012-03-09 Joseph Myers <joseph@codesourcery.com>
16439
02a6f887
JM
16440 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16441 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16442 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16443 from <bits/socket_type.h>.
16444 (enum __socket_type): Don't define here.
16445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16447 bits/socket_type.h.
16448
c6e013c1
JM
16449 [BZ #13566]
16450 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16451 checking __USE_GNU.
16452
4962050e
JM
16453 * Makerules ($(inst_includedir)/%.h): New rule.
16454 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16455 (install-others): Remove variable setting.
16456 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16457
38842f45
RH
164582012-03-08 Richard Henderson <rth@twiddle.net>
16459
67bb6da6
RH
16460 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16461 from macro to inline function; merge with the
16462 !__LIBC_INTERNAL_MATH_INLINES version.
16463 (__ieee754_sqrtf): Likewise.
16464
15194b4b
RH
16465 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16466 to inline function.
16467 (__rintf, __floor, __floorf): Likewise.
16468
64e21ede
RH
16469 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16470 macro to inline function.
16471 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16472
38842f45
RH
16473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16474 not <math/math_private.h>.
16475
c64bf5fe
DM
164762012-03-08 David S. Miller <davem@davemloft.net>
16477
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16479 copyright year.
16480 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16481
82d86f28
TS
164822012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16483
16484 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16485 normalization.
16486 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16487 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16488
aea5d727
UD
164892012-03-08 Ulrich Drepper <drepper@gmail.com>
16490
16491 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16492 be defined individually, they must be defined as a block. Define
16493 S for printing a string instead of hidint the different by using a
16494 macro for adding the 'l'.
16495 * stdio-common/tst-fphex-wide.c: Adjust.
16496
70bca0a3
MP
164972012-03-07 Marek Polacek <polacek@redhat.com>
16498
16499 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16500
65b81130
MP
165012012-03-08 Marek Polacek <polacek@redhat.com>
16502
16503 [BZ #13806]
16504 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16505 * stdio-common/tst-fphex.c: Define a few macros to make the
16506 test reusable. Use them.
16507 * stdio-common/tst-fphex-wide.c: New file.
16508
07037eeb
JM
165092012-03-08 Joseph Myers <joseph@codesourcery.com>
16510
a7a93d50
JM
16511 [BZ #6911]
16512 * manual/macros.texi (gnusystems): New macro.
16513 (nongnusystems): Likewise.
16514 (gnulinuxhurdsystems): Likewise.
16515 (gnuhurdsystems): Likewise..
16516 (gnulinuxsystems): Likewise.
16517 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16518 variants of the GNU system, not "GNU system".
16519 * manual/conf.texi: Likewise.
16520 * manual/errno.texi: Likewise. Update example of errno macro
16521 expansion.
16522 * manual/filesys.texi: Likewise.
16523 (getumask): Document as specific to GNU/Hurd.
16524 * manual/install.texi: Likewise. Reword some references to
16525 GNU/Linux.
16526 * manual/intro.texi: Likewise.
16527 * manual/io.texi: Likewise.
16528 (File Name Portability): Detail which constraints are inapplicable
16529 to all GNU systems and which are only inapplicable to GNU/Hurd.
16530 * manual/job.texi: Likewise.
16531 * manual/llio.texi: Likewise.
16532 (O_NOCTTY): Document as present on GNU/Linux.
16533 * manual/maint.texi: Likewise.
16534 * manual/memory.texi: Likewise.
16535 * manual/pattern.texi: Likewise.
16536 * manual/pipe.texi: Likewise.
16537 * manual/process.texi: Likewise.
16538 * manual/resource.texi: Likewise.
16539 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16540 child on GNU/Hurd.
16541 * manual/setjmp.texi: Likewise.
16542 * manual/signal.texi: Likewise.
16543 * manual/startup.texi: Likewise.
16544 * manual/stdio.texi: Likewise.
16545 * manual/terminal.texi: Likewise.
16546 (ONLCR): Document as POSIX.
16547 (OXTABS): Document availability on GNU/Linux as XTABS.
16548 (ONOEOT): Document availability separately from other bits.
16549 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16550 * manual/time.texi: Likewise.
16551 * manual/users.texi: Likewise.
16552 * INSTALL: Regenerated.
16553 * sysdeps/gnu/errlist.c: Regenerated.
16554
07037eeb
JM
16555 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16556 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16557 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16558 puts.
16559 * configure: Regenerated.
16560
d1d3431a
JM
165612012-03-07 Joseph Myers <joseph@codesourcery.com>
16562
af6a1e37
JM
16563 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16564 default includes instead of AC_HEADER_CHECK.
16565 * sysdeps/i386/configure: Regenerated.
16566
d1d3431a
JM
16567 [BZ #10716]
16568 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16569 * math/s_cacoshf.c (__cacoshf): Likewise.
16570 * math/s_cacoshl.c (__cacoshl): Likewise.
16571 * math/s_casinh.c (__casinh): Set signs of result from argument.
16572 * math/s_casinhf.c (__casinhf): Likewise.
16573 * math/s_casinhl.c (__casinhl): Likewise.
16574 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16575 (casinh_test): Add more tests.
16576 * sysdeps/i386/fpu/libm-test-ulps: Update.
16577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16578
482ff4da
UD
165792012-03-07 Ulrich Drepper <drepper@gmail.com>
16580
872fda05
UD
16581 * po/zh_TW.po: Update from translation team.
16582
a4300c7a
UD
16583 * login/Makefile (distribute): Remove variable.
16584 * catgets/Makefile: Likewise.
16585 * mach/Makefile: Likewise.
16586 * malloc/Makefile: Likewise.
16587 * misc/Makefile: Likewise.
16588 * iconv/Makefile: Likewise.
16589 * nscd/Makefile: Likewise.
16590 * hurd/Makefile: Likewise.
16591 * manual/Makefile: Likewise.
16592 * locale/Makefile: Likewise.
16593 * intl/Makefile: Likewise.
16594 * conform/Makefile: Likewise.
16595 * nss/Makefile: Likewise.
16596 * time/Makefile: Likewise.
16597 * soft-fp/Makefile: Likewise.
16598 * dirent/Makefile: Likewise.
16599 * gmon/Makefile: Likewise.
16600 * po/Makefile: Likewise.
16601 * rt/Makefile: Likewise.
16602 * socket/Makefile: Likewise.
16603 * math/Makefile: Likewise.
16604 * signal/Makefile: Likewise.
16605 * debug/Makefile: Likewise.
16606 * elf/Makefile: Likewise.
16607 * timezone/Makefile: Likewise.
16608 * stdlib/Makefile: Likewise.
16609 * iconvdata/Makefile: Likewise.
16610 * sunrpc/Makefile: Likewise.
16611 * io/Makefile: Likewise.
16612 * argp/Makefile: Likewise.
16613 * inet/Makefile: Likewise.
16614 * hesiod/Makefile: Likewise.
16615 * grp/Makefile: Likewise.
16616 * csu/Makefile: Likewise.
16617 * wctype/Makefile: Likewise.
16618 * crypt/Makefile: Likewise.
16619 * libio/Makefile: Likewise.
16620 * string/Makefile: Likewise.
16621 * nis/Makefile: Likewise.
16622 * resolv/Makefile: Likewise.
16623 * stdio-common/Makefile: Likewise.
16624 * wcsmbs/Makefile: Likewise.
16625 * dlfcn/Makefile: Likewise.
16626 * posix/Makefile: Likewise.
16627
3b7c4e74 16628 [BZ #6959]
482ff4da
UD
16629 * timezone/Makefile: Don't install timezone files, just the programs
16630 and scripts.
16631
f72ed77d
UD
166322012-03-06 Ulrich Drepper <drepper@gmail.com>
16633
a000466f
UD
16634 * nss/databases.def: Add missing gshadow entry.
16635
f72ed77d
UD
16636 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16637
a53b7a4e
MP
166382012-03-06 Marek Polacek <polacek@redhat.com>
16639
16640 [BZ #13726]
16641 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16642 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16643 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16644 * stdio-common/tst-long-dbl-fphex.c: New file.
16645
e9258400
DM
166462012-03-06 David S. Miller <davem@davemloft.net>
16647
16648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16649 (set_obp_int): New function.
16650 (get_obp_int): New function.
16651 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16652 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16653 Avoid unused variable warnings on 'val' and use builtin_expect.
16654 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16655 __builtin_expect.
e9258400
DM
16656 (INLINE_CLONE_SYSCALL): Likewise.
16657
3bd2c723
DM
166582012-03-05 David S. Miller <davem@davemloft.net>
16659
16660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16661
bbb78d03
AS
166622012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16663
884c5db4
AS
16664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16665
bbb78d03
AS
16666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16667 only for |x| >= 40.
16668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16669
1c9f702a 166702012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16671
16672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16673 Replace gettimeofday with __vdso_gettimeofday.
16674
7be16f82
RM
16675 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16676 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16677 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16678
16679 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16680 time with __vdso_time.
16681
ed58a00f
JM
166822012-03-05 Joseph Myers <joseph@codesourcery.com>
16683
16684 * manual/lang.texi (size_t): Note types to which size_t may be
16685 equivalent with the GNU C Library, but do not describe when
16686 differences between them are significant.
16687
30ee4ced
AJ
166882012-03-05 Andreas Jaeger <aj@suse.de>
16689
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16691
b7cd39e8
JM
166922012-03-05 Joseph Myers <joseph@codesourcery.com>
16693
16694 [BZ #3976]
16695 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16696 (__ieee754_pow): Save and restore rounding mode and use
16697 round-to-nearest for main computations.
16698 * math/libm-test.inc (pow_test_tonearest): New function.
16699 (pow_test_towardzero): Likewise.
16700 (pow_test_downward): Likewise.
16701 (pow_test_upward): Likewise.
16702 (main): Call the new functions.
16703 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16705
16706 [BZ #3976]
16707 * math/libm-test.inc (cosh_test_tonearest): New function.
16708 (cosh_test_towardzero): Likewise.
16709 (cosh_test_downward): Likewise.
16710 (cosh_test_upward): Likewise.
16711 (sinh_test_tonearest): Likewise.
16712 (sinh_test_towardzero): Likewise.
16713 (sinh_test_downward): Likewise.
16714 (sinh_test_upward): Likewise.
16715 (main): Call the new functions.
16716 * sysdeps/i386/fpu/libm-test-ulps: Update.
16717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16718
6c6a98c9
TV
167192012-03-05 Tom de Vries <tom@codesourcery.com>
16720
16721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16722 default stack guard is set in last bytes.
16723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16724
21bb2d2e 167252012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16726
21bb2d2e 16727 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16728
21bb2d2e
AJ
16729 [BZ #13656]
16730 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16731 possibly allocate from heap instead of stack.
16732 * stdio-common/bug-vfprintf-nargs.c: New file.
16733 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16734
c6922934
AS
167352012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16736
16737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16738
bc957d53
MP
167392012-03-03 Marek Polacek <polacek@redhat.com>
16740
16741 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16742 * math/math_private.h: Likewise.
16743 * stdlib/tst-strtod.c: Likewise.
16744 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16745 * sysdeps/x86_64/bits/atomic.h: Likewise.
16746
6358490d
DM
167472012-03-02 David S. Miller <davem@davemloft.net>
16748
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16753 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16754 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16755 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16756 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16757
01ae168d
RM
167582012-03-02 Roland McGrath <roland@hack.frob.com>
16759
d9a17c07
RM
16760 [BZ #13792]
16761 * manual/examples/README: New file, says the example source files
16762 can be used under GPL>=2.
16763 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16764 line containing just "*/".
16765 * manual/examples/add.c: Add copyright header (GPL>=2).
16766 * manual/examples/argp-ex1.c: Likewise.
16767 * manual/examples/argp-ex2.c: Likewise.
16768 * manual/examples/argp-ex3.c: Likewise.
16769 * manual/examples/argp-ex4.c: Likewise.
16770 * manual/examples/atexit.c: Likewise.
16771 * manual/examples/db.c: Likewise.
16772 * manual/examples/dir.c: Likewise.
16773 * manual/examples/dir2.c: Likewise.
16774 * manual/examples/execinfo.c: Likewise.
16775 * manual/examples/filecli.c: Likewise.
16776 * manual/examples/filesrv.c: Likewise.
16777 * manual/examples/fmtmsgexpl.c: Likewise.
16778 * manual/examples/genpass.c: Likewise.
16779 * manual/examples/inetcli.c: Likewise.
16780 * manual/examples/inetsrv.c: Likewise.
16781 * manual/examples/isockad.c: Likewise.
16782 * manual/examples/longopt.c: Likewise.
16783 * manual/examples/memopen.c: Likewise.
16784 * manual/examples/memstrm.c: Likewise.
16785 * manual/examples/mkfsock.c: Likewise.
16786 * manual/examples/mkisock.c: Likewise.
16787 * manual/examples/mygetpass.c: Likewise.
16788 * manual/examples/pipe.c: Likewise.
16789 * manual/examples/popen.c: Likewise.
16790 * manual/examples/rprintf.c: Likewise.
16791 * manual/examples/search.c: Likewise.
16792 * manual/examples/select.c: Likewise.
16793 * manual/examples/setjmp.c: Likewise.
16794 * manual/examples/sigh1.c: Likewise.
16795 * manual/examples/sigusr.c: Likewise.
16796 * manual/examples/stpcpy.c: Likewise.
16797 * manual/examples/strdupa.c: Likewise.
16798 * manual/examples/strftim.c: Likewise.
16799 * manual/examples/strncat.c: Likewise.
16800 * manual/examples/subopt.c: Likewise.
16801 * manual/examples/swapcontext.c: Likewise.
16802 * manual/examples/termios.c: Likewise.
16803 * manual/examples/testopt.c: Likewise.
16804 * manual/examples/testpass.c: Likewise.
16805 * manual/examples/timeval_subtract.c: Likewise.
16806
01ae168d
RM
16807 [BZ #13792]
16808 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16809 function to ...
16810 * manual/timeval_subtract.c.texi: ... here, new file.
16811
49efa33d
DM
168122012-03-02 David S. Miller <davem@davemloft.net>
16813
16814 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16815
28afd92d
JM
168162012-03-02 Joseph Myers <joseph@codesourcery.com>
16817
804360ed
JM
16818 [BZ #3976]
16819 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16820 (__sin): Save and restore rounding mode and use round-to-nearest
16821 for all computations.
16822 (__cos): Save and restore rounding mode and use round-to-nearest
16823 for all computations.
16824 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16825 <fenv.h>.
16826 (tan): Save and restore rounding mode and use round-to-nearest for
16827 all computations.
16828 * math/libm-test.inc (cos_test_tonearest): New function.
16829 (cos_test_towardzero): Likewise.
16830 (cos_test_downward): Likewise.
16831 (cos_test_upward): Likewise.
16832 (sin_test_tonearest): Likewise.
16833 (sin_test_towardzero): Likewise.
16834 (sin_test_downward): Likewise.
16835 (sin_test_upward): Likewise.
16836 (tan_test_tonearest): Likewise.
16837 (tan_test_towardzero): Likewise.
16838 (tan_test_downward): Likewise.
16839 (tan_test_upward): Likewise.
16840 (main): Call the new functions.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
a6d06d7b
JM
16844 [BZ #10135]
16845 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16846 small n, then large n, before computing and testing k+n.
16847 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16849 Likewise.
16850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16851 Likewise.
16852 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16853 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16860 * math/libm-test.inc (scalbn_test): Add more tests.
16861 (scalbln_test): Likewise.
16862
07e12bb3
JM
16863 * manual/filesys.texi (mode_t): Describe constraints on size and
16864 signedness, not exact equivalence to a particular type.
16865 (ino_t): Likewise.
16866 (ino64_t): Likewise.
16867 (dev_t): Likewise.
16868 (nlink_t): Likewise.
16869 (blkcnt_t): Likewise.
16870 (blkcnt64_t): Likewise.
16871 * manual/llio.texi (off_t): Likewise.
16872
28afd92d
JM
16873 [BZ #3976]
16874 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16875 (__ieee754_exp): Save and restore rounding mode and use
16876 round-to-nearest for all computations.
16877 * math/libm-test.inc (exp_test_tonearest): New function.
16878 (exp_test_towardzero): Likewise.
16879 (exp_test_downward): Likewise.
16880 (exp_test_upward): Likewise.
16881 (main): Call the new functions.
16882 * sysdeps/i386/fpu/libm-test-ulps: Update.
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16884
b1eeb65d
CD
168852012-03-01 Chris Demetriou <cgd@google.com>
16886
16887 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16888 have predictable order.
16889
53362a4b
DM
168902012-03-01 David S. Miller <davem@davemloft.net>
16891
3c969083
DM
16892 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16893
759707de
DM
16894 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16895 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16896 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16897 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16898
dfdb8ff2
DM
16899 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16900 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16901 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16903 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16904 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16905 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16906 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16907 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16908
ead89f96
DM
16909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16910
7f66bd07
DM
16911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16912 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16913 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16914
53362a4b
DM
16915 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16916 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16917 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16918 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16919 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16920 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16922 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16923 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16924 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16925 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16931 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16932 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16933 * sysdeps/sparc/elf/configure: Regenerated.
16934
7b1902cb
JM
169352012-03-01 Joseph Myers <joseph@codesourcery.com>
16936
bec039bc
JM
16937 * configure.in (AS, LD): Require binutils 2.20 or later.
16938 * configure: Regenerated.
16939 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16940 as required minimum version.
16941 * INSTALL: Regenerated.
16942
7b1902cb
JM
16943 [BZ #2541]
16944 [BZ #4108]
16945 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16946 before squaring exponent.
16947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16948 bottom long double and 27 bits of top long double before squaring
16949 exponent.
16950 * math/libm-test.inc (erfc_test): Add more tests.
16951 * sysdeps/i386/fpu/libm-test-ulps: Update.
16952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16954
f775c276
KT
169552012-03-01 Kai Tietz <ktietz@redhat.com>
16956
16957 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16958 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16959 containing bit-fields.
16960 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16961 * soft-fp/single.h (_FP_UNION_S): Likewise.
16962 * soft-fp/double.h (_FP_UNION_D): Likewise.
16963
5b8a4d4a
JM
169642012-02-29 Joseph Myers <joseph@codesourcery.com>
16965
0bab47b6
JM
16966 [BZ #13786]
16967 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16968 not include ../strcmp.S.
16969 [USE_AS_STRNCASECMP_L]: Likewise.
16970 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16971 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16972 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16973 (__strncasecmp_l_ia32): Define as alias to
16974 __strncasecmp_l_nonascii.
16975
0fcad3e2
JM
16976 [BZ #5794]
16977 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16978 * sysdeps/i386/fpu/libm-test-ulps: Update.
16979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16980
5b8a4d4a
JM
16981 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16983
8fdceb2e
JL
169842012-02-29 Jeff Law <law@redhat.com>
16985
16986 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16987 out of bounds read.
16988
1f393a11
MP
169892012-02-29 Marek Polacek <polacek@redhat.com>
16990
16991 [BZ #13706]
16992 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16993 * elf/Makefile: Add rules to run tst-unused-dep.out.
16994
8847f037
DM
169952012-02-28 David S. Miller <davem@davemloft.net>
16996
16997 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16998 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17001 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17002 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17003
169d7f11
JM
170042012-02-29 Joseph Myers <joseph@codesourcery.com>
17005
17006 * math/libm-test.inc (llround_test): Move one test from
17007 lround_test. Use TEST_f_L in moved test.
17008 (lround_test): Move misplaced test to llround_test. Add testcase
17009 from bug 2561.
17010
39adf059
UD
170112012-02-28 Ulrich Drepper <drepper@gmail.com>
17012
17013 * sysdeps/x86_64/fpu/e_expf.S: New file.
17014 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17015
71b5d1c5
SB
170162012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17017
17018 [BZ #13637]
17019 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17020 of remain_len that may cause incomplete multi-byte character and
17021 false match.
17022 * posix/bug-regex33.c: New file.
17023 * posix/Makefile (tests): Add bug-regex33.
17024
1f77f049
JM
170252012-02-28 Joseph Myers <joseph@codesourcery.com>
17026
17027 * manual/macros.texi: New file.
17028 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17029 * manual/libc.texinfo: Include macros.texi.
17030 * manual/creatute.texi: Likewise.
17031 * manual/install.texi: Likewise.
17032 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17033 @glibcadj{} in references to the GNU C Library.
17034 * manual/charset.texi: Likewise.
17035 * manual/conf.texi: Likewise.
17036 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17037 when not using those macros.
17038 * manual/creature.texi: Likewise.
17039 * manual/crypt.texi: Likewise.
17040 * manual/errno.texi: Likewise.
17041 * manual/filesys.texi: Likewise.
17042 * manual/header.texi: Likewise.
17043 * manual/install.texi: Likewise.
17044 * manual/intro.texi: Likewise.
17045 * manual/io.texi: Likewise.
17046 * manual/job.texi: Likewise.
17047 * manual/lang.texi: Likewise.
17048 * manual/libc.texiinfo: Likewise.
17049 * manual/llio.texi: Likewise.
17050 * manual/locale.texi: Likewise.
17051 * manual/maint.texi: Likewise.
17052 * manual/math.texi: Likewise.
17053 * manual/memory.texi: Likewise.
17054 * manual/message.texi: Likewise.
17055 * manual/nss.texi: Likewise.
17056 * manual/pattern.texi: Likewise.
17057 * manual/process.texi: Likewise.
17058 * manual/resource.texi: Likewise.
17059 * manual/search.texi: Likewise.
17060 * manual/setjmp.texi: Likewise.
17061 * manual/signal.texi: Likewise.
17062 * manual/socket.texi: Likewise.
17063 * manual/startup.texi: Likewise.
17064 * manual/stdio.texi: Likewise.
17065 * manual/string.texi: Likewise.
17066 * manual/sysinfo.texi: Likewise.
17067 * manual/syslog.texi: Likewise.
17068 * manual/terminal.texi: Likewise.
17069 * manual/time.texi: Likewise.
17070 * manual/users.texi: Likewise.
17071 * INSTALL: Regenerated.
17072 * NOTES: Regenerated.
d40c5d54 17073 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17074
450bf206
AS
170752012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17076
17077 * include/dirent.h: Include <dirstream.h> before
17078 <dirent/dirent.h>.
17079
741a235b
DM
170802012-02-28 David S. Miller <davem@davemloft.net>
17081
17082 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17083 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17086
d6b5aa58
DM
170872012-02-27 David S. Miller <davem@davemloft.net>
17088
1aff59a3
DM
17089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17091 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17092 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17093
d6b5aa58
DM
17094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17095 frame pointer instead of stack pointer relative arg slot.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17097 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17098 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17099
433f48bf
CD
171002012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17101
17102 [BZ #3992]
17103 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17104
d674b76d
DM
171052012-02-27 David S. Miller <davem@davemloft.net>
17106
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17111 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17112 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17113 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17114 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17115
0e7727f7
JM
171162012-02-27 Joseph Myers <joseph@codesourcery.com>
17117
17118 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17119 later. Allow versions 5-9.
43be4ca2 17120 * configure: Regenerated.
0e7727f7
JM
17121 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17122 required minimum version and 4.6 as recommended version. Do not
17123 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17124 * INSTALL: Regenerated.
0e7727f7 17125
a78bc654
DM
171262012-02-27 David S. Miller <davem@davemloft.net>
17127
428d5830
DM
17128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17134 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17135 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17136
a78bc654
DM
17137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17138 manipulate bits before adding and subtracting TWO112[sx].
17139 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17140
4579f81c
RM
171412012-02-27 Roland McGrath <roland@hack.frob.com>
17142
36c8acb4
RM
17143 [BZ #13775]
17144 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17145 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17146 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17147 being in POSIX, because they are in 1003.1-2008.
17148
84ad622b
RM
17149 * rt/tst-aio.c: Include <fcntl.h>.
17150 * rt/tst-aio7.c: Likewise.
17151 * rt/tst-aio64.c: Likewise.
17152
4579f81c
RM
17153 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17154
abd923db
JM
171552012-02-27 Joseph Myers <joseph@codesourcery.com>
17156
17157 * manual/install.texi (--with-headers): Describe headers as
17158 interface headers, not private headers.
17159 (Specific advice for GNU/Linux systems): Describe use of headers
17160 from "make headers_install", not private headers from older
17161 kernels.
43be4ca2 17162 * INSTALL: Regenerated.
abd923db
JM
17163 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17164 Change to 2.6.19.
17165 * sysdeps/unix/sysv/linux/configure: Regenerated.
17166
6664049b
JM
17167 * manual/llio.texi (fclean): Remove documentation.
17168
bb8b6697
JM
17169 * manual/Makefile (libc-texi-generated): New variable. Include
17170 version.texi.
17171 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17172 $(libc-texi-generated), not duplicated list of files.
17173 (version.texi, stamp-version): New rules.
17174 (realclean): Remove $(libc-texi-generated), not individual files
17175 from that list. Do not remove dir-add.texinfo.
17176 * manual/libc.texinfo: Comment out uses of edition numbers and
17177 references to printed manual. Remove last-updated dates.
17178 (EDITION): Comment out.
17179 (ISBN): Likewise.
17180 (VERSION, UPDATED): Remove.
17181 (version.texi): Include.
17182
12e5c3b9
AS
171832012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17184
17185 * sysdeps/posix/spawni.c: Include <signal.h>.
17186 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17187 * sysdeps/pthread/aio_fsync.c: Likewise.
17188
4efeffc1 171892012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17190
ba63ba08
UD
17191 * conform/Makefile (tests): Run only when not cross-compiling and
17192 when fast-check is not defined.
17193
d94a4670
UD
17194 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17195 * conform/data/limits.h-data: Fixes for POSIX2008.
17196 * conform/run-conformtest.sh: Run all tests.
17197 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17198 headers.
17199 * include/bits/dlfcn.h: Likewise.
17200 * include/langinfo.h: Likewise.
17201 * include/monetary.h: Likewise.
17202 * include/sys/poll.h: Likewise.
17203
17204 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17205 for __USE_GNU.
17206 * posix/spawn.h: Define __need_sigset_t.
17207 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17208 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17209 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17210 to get sigevent_t only.
17211 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17212 only for __USE_GNU.
17213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17214 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17215 process_vm_writev only for __USE_GNU.
17216 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17217
17218 * conform/Makefile: For now ignore errors from run-conformtest.
17219 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17220 POSIX to avoid namespace pollution. Don't prepend headers.
17221 * conform/data/aio.h-data: Fixes for POSIX testing.
17222 * conform/data/fcntl.h-data: Likewise.
17223 * conform/data/glob.h-data: Likewise.
17224 * conform/data/grp.h-data: Likewise.
17225 * conform/data/pthread.h-data: Likewise.
17226 * conform/data/pwd.h-data: Likewise.
17227 * conform/data/signal.h-data: Likewise.
17228 * conform/data/spawn.h-data: Likewise.
17229 * conform/data/stdio.h-data: Likewise.
17230 * conform/data/stdlib.h-data: Likewise.
17231 * conform/data/stropts.h-data: Likewise.
17232 * conform/data/sys/mman.h-data: Likewise.
17233 * conform/data/sys/stat.h-data: Likewise.
17234 * conform/data/sys/types.h-data: Likewise.
17235 * conform/data/sys/wait.h-data: Likewise.
17236 * conform/data/time.h-data: Likewise.
17237 * conform/data/unistd.h-data: Likewise.
17238 * conform/data/utime.h-data: Likewise.
17239
17240 * io/sys/stat.h: fchmod was always in POSIX.
17241 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17242 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17243 * rt/aio.h: Define __need_timespec before including <time.h>.
17244 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17245 struct. Add forward declaration of pthread_attr_t and use it in
17246 sigevent.
17247 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17249 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17250 always remove CLK_TCK definition.
17251
c20105c3
AS
172522012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17253
17254 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17255
7a270350
UD
172562012-02-25 Ulrich Drepper <drepper@gmail.com>
17257
31341567
UD
17258 * conform/run-conformtest.sh: New file.
17259 * conform/Makefile: Run run-conformtest for tests.
17260 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17261 support.
17262
17263 * conform/data/uchar.h-data: New file.
17264 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17265 * conform/data/arpa/inet.h-data: Likewise.
17266 * conform/data/assert.h-data: Likewise.
17267 * conform/data/complex.h-data: Likewise.
17268 * conform/data/cpio.h-data: Likewise.
17269 * conform/data/ctype.h-data: Likewise.
17270 * conform/data/dirent.h-data: Likewise.
17271 * conform/data/dlfcn.h-data: Likewise.
17272 * conform/data/errno.h-data: Likewise.
17273 * conform/data/fcntl.h-data: Likewise.
17274 * conform/data/float.h-data: Likewise.
17275 * conform/data/fmtmsg.h-data: Likewise.
17276 * conform/data/fnmatch.h-data: Likewise.
17277 * conform/data/ftw.h-data: Likewise.
17278 * conform/data/glob.h-data: Likewise.
17279 * conform/data/grp.h-data: Likewise.
17280 * conform/data/iconv.h-data: Likewise.
17281 * conform/data/inttypes.h-data: Likewise.
17282 * conform/data/langinfo.h-data: Likewise.
17283 * conform/data/libgen.h-data: Likewise.
17284 * conform/data/limits.h-data: Likewise.
17285 * conform/data/locale.h-data: Likewise.
17286 * conform/data/math.h-data: Likewise.
17287 * conform/data/monetary.h-data: Likewise.
17288 * conform/data/mqueue.h-data: Likewise.
17289 * conform/data/ndbm.h-data: Likewise.
17290 * conform/data/net/if.h-data: Likewise.
17291 * conform/data/netdb.h-data: Likewise.
17292 * conform/data/netinet/in.h-data: Likewise.
17293 * conform/data/nl_types.h-data: Likewise.
17294 * conform/data/poll.h-data: Likewise.
17295 * conform/data/pthread.h-data: Likewise.
17296 * conform/data/pwd.h-data: Likewise.
17297 * conform/data/regex.h-data: Likewise.
17298 * conform/data/sched.h-data: Likewise.
17299 * conform/data/search.h-data: Likewise.
17300 * conform/data/semaphore.h-data: Likewise.
17301 * conform/data/setjmp.h-data: Likewise.
17302 * conform/data/signal.h-data: Likewise.
17303 * conform/data/spawn.h-data: Likewise.
17304 * conform/data/stdarg.h-data: Likewise.
17305 * conform/data/stdio.h-data: Likewise.
17306 * conform/data/stdlib.h-data: Likewise.
17307 * conform/data/string.h-data: Likewise.
17308 * conform/data/strings.h-data: Likewise.
17309 * conform/data/stropts.h-data: Likewise.
17310 * conform/data/sys/ipc.h-data: Likewise.
17311 * conform/data/sys/mman.h-data: Likewise.
17312 * conform/data/sys/msg.h-data: Likewise.
17313 * conform/data/sys/resource.h-data: Likewise.
17314 * conform/data/sys/select.h-data: Likewise.
17315 * conform/data/sys/sem.h-data: Likewise.
17316 * conform/data/sys/shm.h-data: Likewise.
17317 * conform/data/sys/socket.h-data: Likewise.
17318 * conform/data/sys/stat.h-data: Likewise.
17319 * conform/data/sys/statvfs.h-data: Likewise.
17320 * conform/data/sys/time.h-data: Likewise.
17321 * conform/data/sys/timeb.h-data: Likewise.
17322 * conform/data/sys/times.h-data: Likewise.
17323 * conform/data/sys/types.h-data: Likewise.
17324 * conform/data/sys/uio.h-data: Likewise.
17325 * conform/data/sys/un.h-data: Likewise.
17326 * conform/data/sys/utsname.h-data: Likewise.
17327 * conform/data/sys/wait.h-data: Likewise.
17328 * conform/data/syslog.h-data: Likewise.
17329 * conform/data/tar.h-data: Likewise.
17330 * conform/data/termios.h-data: Likewise.
17331 * conform/data/utime.h-data: Likewise.
17332 * conform/data/utmpx.h-data: Likewise.
17333 * conform/data/varargs.h-data: Likewise.
17334 * conform/data/wchar.h-data: Likewise.
17335 * conform/data/wctype.h-data: Likewise.
17336 * conform/data/wordexp.h-data: Likewise.
17337
17338 * include/stropts.h: New file.
17339 * include/uchar.h: New file.
17340 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17341 * include/assert.h: Likewise.
17342 * include/ctype.h: Likewise.
17343 * include/dirent.h: Likewise.
17344 * include/dlfcn.h: Likewise.
17345 * include/fcntl.h: Likewise.
17346 * include/fnmatch.h: Likewise.
17347 * include/glob.h: Likewise.
17348 * include/grp.h: Likewise.
17349 * include/libio.h: Likewise.
17350 * include/locale.h: Likewise.
17351 * include/math.h: Likewise.
17352 * include/net/if.h: Likewise.
17353 * include/netdb.h: Likewise.
17354 * include/netinet/in.h: Likewise.
17355 * include/pthread.h: Likewise.
17356 * include/pwd.h: Likewise.
17357 * include/regex.h: Likewise.
17358 * include/sched.h: Likewise.
17359 * include/search.h: Likewise.
17360 * include/setjmp.h: Likewise.
17361 * include/signal.h: Likewise.
17362 * include/stdio.h: Likewise.
17363 * include/stdlib.h: Likewise.
17364 * include/string.h: Likewise.
17365 * include/sys/cdefs.h: Likewise.
17366 * include/sys/mman.h: Likewise.
17367 * include/sys/msg.h: Likewise.
17368 * include/sys/resource.h: Likewise.
17369 * include/sys/select.h: Likewise.
17370 * include/sys/socket.h: Likewise.
17371 * include/sys/stat.h: Likewise.
17372 * include/sys/statvfs.h: Likewise.
17373 * include/sys/time.h: Likewise.
17374 * include/sys/times.h: Likewise.
17375 * include/sys/uio.h: Likewise.
17376 * include/sys/utsname.h: Likewise.
17377 * include/sys/wait.h: Likewise.
17378 * include/termios.h: Likewise.
17379 * include/time.h: Likewise.
17380 * include/ulimit.h: Likewise.
17381 * include/unistd.h: Likewise.
17382 * include/utime.h: Likewise.
17383 * include/wchar.h: Likewise.
17384 * include/wctype.h: Likewise.
17385 * include/wordexp.h: Likewise.
17386
17387 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17388
7a270350
UD
17389 * time/time.h: TIME_UTC must be a macro.
17390 Make timespec_get available for ISO C11 only as well.
17391
7724defc
UD
173922012-02-24 Ulrich Drepper <drepper@gmail.com>
17393
17394 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17395 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17396
6b1d1d46
JM
173972012-02-24 Joseph Myers <joseph@codesourcery.com>
17398
17399 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17400
0f8bbd69
JM
174012012-02-24 Joseph Myers <joseph@codesourcery.com>
17402
17403 * manual/texinfo.tex: Update to version 2012-01-19.16.
17404
66ab80bc
JM
174052012-02-24 Joseph Myers <joseph@codesourcery.com>
17406
17407 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17408
74981cc5
RM
174092012-02-24 Roland McGrath <roland@hack.frob.com>
17410
ee968201
RM
17411 [BZ #13738]
17412 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17413 * manual/fdl-1.3.texi: New file.
17414 * manual/fdl-1.1.texi: File removed.
17415
74981cc5
RM
17416 [BZ #13738]
17417 * manual/libc.texinfo (FDL_VERSION): New @set.
17418 Use it for mention of FDL in cover text.
17419 (Documentation License): Use it in @include file name.
17420
7bb764bc
JM
174212012-02-22 Joseph Myers <joseph@codesourcery.com>
17422 Roland McGrath <roland@hack.frob.com>
17423
17424 [BZ #5461]
17425 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17426 not LONG_LONG_MAX and LONG_LONG_MIN.
17427 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17428 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17429 name.
17430 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17431
6cbeae47
JM
174322012-02-22 Joseph Myers <joseph@codesourcery.com>
17433
17434 [BZ #2547]
17435 [BZ #11365]
17436 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17437 manipulate bits before adding and subtracting TWO23[sx].
17438 * math/libm-test.inc (nearbyint_test): Add more tests.
17439
fe45ce09
JM
174402012-02-22 Joseph Myers <joseph@codesourcery.com>
17441
17442 [BZ #2548]
17443 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17444 bits before adding and subtracting TWO23[sx].
17445 * math/libm-test.inc (rint_test): Add more tests.
17446 (rint_test_tonearest): Likewise.
17447 (rint_test_towardzero): Likewise.
17448 (rint_test_downward): Likewise.
17449 (rint_test_upward: Likewise.
17450
ff3b3d82
JM
174512012-02-22 Joseph Myers <joseph@codesourcery.com>
17452
17453 [BZ #10110]
17454 * include/stdc-predef.h: New file. Extracted from features.h.
17455 * include/features.h: Include stdc-predef.h.
17456 * Makefile (headers): Add stdc-predef.h.
17457 * CONFORMANCE (Compiler limitations): Update.
17458
ef0aab35
JM
174592012-02-22 Joseph Myers <joseph@codesourcery.com>
17460
17461 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17462
58639409
DM
174632012-02-21 David S. Miller <davem@davemloft.net>
17464
17465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17467
c0e70b25
DM
174682012-02-20 David S. Miller <davem@davemloft.net>
17469
17470 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17471 using a normal save/restore sequence, rather than allocating a
17472 dummy stack frame just to store a frame pointer and restore.
17473 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17474
fb06851d
JM
174752012-02-21 Joseph Myers <joseph@codesourcery.com>
17476
17477 * manual/install.texi: Fix stray word in line-wrapped comment.
17478
7a8b71c3
DM
174792012-02-20 David S. Miller <davem@davemloft.net>
17480
d510c123
DM
17481 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17482 both binutils and gcc support GOTDATA.
17483
0722d7c2
DM
17484 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17485 "rd %pc" in the PIC register setup sequences.
17486
3d2b3019
DM
17487 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17488 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17489 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17490 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17491 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17496 (SYSCALL_ERROR_HANDLER): Likewise.
17497 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17498 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17500 (SYSCALL_ERROR_HANDLER): Likewise.
17501
c80098a9
DM
17502 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17503 (HAVE_GCC_GOTDATA): New.
17504 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17505 relocation support in both binutils and gcc.
17506 * sysdeps/sparc/elf/configure: Regenerate.
17507
3a2545a0
DM
17508 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17509 * sysdeps/sparc/sparc32/elf/configure: Delete.
17510 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17511 * sysdeps/sparc/sparc64/elf/configure: Delete.
17512 * sysdeps/sparc/elf/configure.in: New file.
17513 * sysdeps/sparc/elf/configure: Generate.
17514
7a8b71c3
DM
17515 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17516 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17517 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17518 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17519 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17520
f1e86fca
JM
175212012-02-21 Joseph Myers <joseph@codesourcery.com>
17522
17523 * manual/install.texi: Do not mention specific glibc version
17524 numbers.
17525 * manual/libc.texinfo (VERSION, UPDATED): Update.
17526 (@copying): Use @copyright{} and range of years.
17527
0e7dfaef
JM
175282012-02-21 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #13695]
17531 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17532 [crti.S not in sysdirs] (generated): Do not append.
17533 [crti.S not in sysdirs] (omit-deps): Likewise.
17534 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17535 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17536 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17537 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17538 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17539 Likewise.
17540 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17541 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17542 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17543 * csu/defs.awk: Remove file.
17544 * sysdeps/generic/initfini.c: Likewise.
17545 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17546 variable.
17547 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17548 Likewise.
17549
599af3ca
JM
175502012-02-20 Joseph Myers <joseph@codesourcery.com>
17551
17552 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17553 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17554 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17557 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17558 <bits/epoll.h>.
17559 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17560 (__EPOLL_PACKED): Define to empty if not defined by
17561 <bits/epoll.h>.
17562 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17564 bits/epoll.h.
17565
0e499750
JM
175662012-02-20 Joseph Myers <joseph@codesourcery.com>
17567
17568 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17569 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17570 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17571 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17572 <bits/timerfd.h>.
17573 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17575 bits/timerfd.h.
17576
5ad91f6e
JM
175772012-02-20 Joseph Myers <joseph@codesourcery.com>
17578
17579 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17580 in C locale.
17581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17582 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17583 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585
06b99b02
AJ
175862012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17587
17588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17590
7638c0fd
AS
175912012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17592
17593 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17594 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17595 defined.
17596 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17597 Likewise.
17598 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17599 entry for 2.16.
17600
92221550
AJ
176012012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17602
17603 * math/w_acos.c: Use non-signaling floating-point comparisons.
17604 * math/w_acosf.c: Likewise.
17605 * math/w_acosh.c: Likewise.
17606 * math/w_acoshf.c: Likewise.
17607 * math/w_acoshl.c: Likewise.
17608 * math/w_acosl.c: Likewise.
17609 * math/w_asin.c: Likewise.
17610 * math/w_asinf.c: Likewise.
17611 * math/w_asinl.c: Likewise.
17612 * math/w_atanh.c: Likewise.
17613 * math/w_atanhf.c: Likewise.
17614 * math/w_atanhl.c: Likewise.
17615 * math/w_exp2.c: Likewise.
17616 * math/w_exp2f.c: Likewise.
17617 * math/w_exp2l.c: Likewise.
17618 * math/w_j0.c: Likewise.
17619 * math/w_j0f.c: Likewise.
17620 * math/w_j0l.c: Likewise.
17621 * math/w_j1.c: Likewise.
17622 * math/w_j1f.c: Likewise.
17623 * math/w_j1l.c: Likewise.
17624 * math/w_jn.c: Likewise.
17625 * math/w_jnf.c: Likewise.
17626 * math/w_log.c: Likewise.
17627 * math/w_log10.c: Likewise.
17628 * math/w_log10f.c: Likewise.
17629 * math/w_log10l.c: Likewise.
17630 * math/w_log2.c: Likewise.
17631 * math/w_log2f.c: Likewise.
17632 * math/w_log2l.c: Likewise.
17633 * math/w_logf.c: Likewise.
17634 * math/w_logl.c: Likewise.
17635 * math/w_sqrt.c: Likewise.
17636 * math/w_sqrtf.c: Likewise.
17637 * math/w_sqrtl.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17641 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17643
ebaf36eb
JM
176442012-02-19 Joseph Myers <joseph@codesourcery.com>
17645
17646 [BZ #9739]
17647 * manual/string.texi (strnlen): Use correct parameter name in
17648 equivalent expression.
17649
71c254a6
JM
176502012-02-19 Joseph Myers <joseph@codesourcery.com>
17651
17652 [BZ #11174]
17653 * manual/users.texi (seteuid): Consistently use neweuid for
17654 argument name.
17655
16d2c631
JM
176562012-02-19 Joseph Myers <joseph@codesourcery.com>
17657
17658 [BZ #13704]
17659 * manual/nss.texi (Services in the NSS configuration): Correct
17660 list of services in example configuration file.
17661
cd837b09
NB
176622012-02-19 Nick Bowler <nbowler@draconx.ca>
17663
17664 [BZ #11322]
17665 * manual/arith.texi: Remove statements about negative zero
17666 behaving identically to zero.
17667
02c4bbad
JM
176682012-02-18 Joseph Myers <joseph@codesourcery.com>
17669
17670 [BZ #5993]
17671 * manual/install.texi: Do not document upgrading from libc5.
17672
366842e7
JM
176732012-02-18 Joseph Myers <joseph@codesourcery.com>
17674
17675 [BZ #4596]
17676 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17677
dd54084d
DM
176782012-02-18 David S. Miller <davem@davemloft.net>
17679
17680 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17681 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17682 %o7 across the call.
17683 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17684 instead.
17685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17686 SETUP_PIC_REG_LEAF.
17687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17688 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17689 * sysdeps/sparc/crtn.S: Likewise.
17690
2bcc53a3
UD
176912012-02-17 Ulrich Drepper <drepper@gmail.com>
17692
17693 * aout/Makefile: Remove.
17694
09c093b5
RK
176952012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17696
17697 [BZ #13058]
17698 * manual/examples/argp-ex1.c (main): Format definition in GNU
17699 style.
17700 * manual/examples/argp-ex2.c (main): Likewise.
17701 * manual/examples/argp-ex3.c (main): Likewise.
17702 * manual/examples/argp-ex4.c (main): Likewise.
17703 * manual/examples/longopt.c (main): Use new-style prototype
17704 definition.
17705 * manual/examples/strncat.c (main): Specify return type and use
17706 (void) for arguments.
17707 * manual/examples/subopt.c (main): Use char **argv argument.
17708
2ee633a2
JM
177092012-02-17 Joseph Myers <joseph@codesourcery.com>
17710
17711 [BZ #5077]
17712 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17713 rounding modes.
17714
0520adde
FB
177152012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17716
17717 [BZ #6907]
17718 * manual/string.texi (strchr): Change when strchrnul is
17719 recommended.
17720
3f4081cd
DGM
177212012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17722
17723 [BZ #174]
17724 * manual/locale.texi (setlocale): Document LOCPATH.
17725
d1b10e78
JM
177262012-02-17 Joseph Myers <joseph@codesourcery.com>
17727
17728 [BZ #10210]
17729 * manual/process.texi (execle): Move @dots{} before last argument.
17730
79c6869c
PB
177312012-02-17 Paul Bolle <pebolle@tiscali.nl>
17732
17733 [BZ #12047]
17734 * manual/charset.texi (Generic Charset Conversion): Fix typo
17735 (LC_TYPE -> LC_CTYPE).
17736
cc6e48bc
NB
177372012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17738
17739 [BZ #5805]
17740 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17741 (scalbnf): Likewise.
17742 (scalbnl): Likewise.
17743 (scalbln): Likewise.
17744 (scalblnf): Likewise.
17745 (scalblnl): Likewise.
17746 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17747 (vwarnx): Likewise.
17748 (verr): Likewise.
17749 (verrx): Likewise.
17750 * manual/filesys.texi (telldir): Use braces around return type.
17751 * manual/llio.texi (mmap): Add space after comma.
17752 (mmap64): Likewise.
17753 * manual/math.texi (jn): Use @var{} on parameter names.
17754 (jnf): Likewise.
17755 (jnl): Likewise.
17756 (yn): Likewise.
17757 (ynf): Likewise.
17758 (ynl): Likewise.
17759 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17760 line.
17761 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17762 "...".
17763 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17764 (sched_get_priority_max): Likewise.
17765 * manual/signal.texi (sigvec): Add space after comma.
17766 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17767 names.
17768 (if_indextoname): Likewise.
17769 (if_freenameindex): Likewise.
17770 (sendto): Use ',' instead of '.' in prototype.
17771 * manual/startup.texi (syscall): Use @dots{} instead of literal
17772 "...".
17773 * manual/stdio.texi (__fpending): Separate initial words of
17774 paragraph from @deftypefun line.
17775 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17776 "...".
17777 (vsyslog): Use @var{} on parameter names.
17778 * manual/terminal.texi (stty): Use @var{} on parameter names.
17779 * manual/users.texi (getutmp): Use @var{} on parameter names.
17780 (getutmpx): Likewise.
17781
5b23062f
JM
177822012-02-17 Joseph Myers <joseph@codesourcery.com>
17783
17784 [BZ #6884]
17785 * manual/stdio.texi (fopen): Fix typos in description of
17786 ",ccs=STRING".
17787
8dee4833
AJ
177882012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17789
17790 [BZ #4026]
17791 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17792 get clock_id definition.
17793
9078ce93
TS
177942012-02-17 Thomas Schwinge <thomas@schwinge.name>
17795
17796 [BZ #4822]
17797 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17798 (madvise): Cast every argument to void on its own.
17799
3835c55f
JM
178002012-02-17 Joseph Myers <joseph@codesourcery.com>
17801
17802 [BZ #9902]
17803 * manual/startup.texi (Exit Status): Fix typo.
17804
35c47e37
JM
178052012-02-17 Joseph Myers <joseph@codesourcery.com>
17806
17807 [BZ #10140]
17808 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17809 * manual/examples/argp-ex2.c: Likewise.
17810 * manual/examples/argp-ex3.c: Likewise.
17811
e3b69ca7
RH
178122012-02-16 Richard Henderson <rth@redhat.com>
17813
17814 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17815 * sysdeps/s390/s390-32/initfini.c: Remove.
17816 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17817 * sysdeps/s390/s390-64/initfini.c: Remove.
17818
df83af67
KK
178192012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17820
17821 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17822 compiler output for sysdeps/generic/initfini.c.
17823 * sysdeps/sh/elf/initfini.c: Remove file.
17824
f63f3380
DM
178252012-02-16 David S. Miller <davem@davemloft.net>
17826
fb59b3a4
DM
17827 [BZ #11494]
17828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17829
f63f3380
DM
17830 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17831 * sysdeps/sparc/crti.S: New file.
17832 * sysdeps/sparc/crtn.S: New file.
17833 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17834 * sysdeps/sparc/sparc64/Makefile: Likewise.
17835
df6a4a4a
MF
178362012-02-15 Mike Frysinger <vapier@gentoo.org>
17837
6dd8f3dc 17838 [BZ #3335]
df6a4a4a
MF
17839 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17840
1cac7236
RM
178412012-02-15 Roland McGrath <roland@hack.frob.com>
17842
d2c736f8
RM
17843 [BZ #4822]
17844 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17845
1cac7236
RM
17846 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17847 (write, read, close): Likewise.
17848 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17849
8e475601
JM
178502012-02-15 Joseph Myers <joseph@codesourcery.com>
17851
17852 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17853 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17854 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17855 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17856 <bits/signalfd.h>.
17857 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17859 bits/signalfd.h.
17860
ed656b40
MP
178612012-02-14 Marek Polacek <polacek@redhat.com>
17862
17863 * sysdeps/x86_64/crti.S: New file.
17864 * sysdeps/x86_64/crtn.S: New file.
17865 * sysdeps/x86_64/elf/initfini.c: Remove file.
17866
2a979d3a
JM
178672012-02-13 Joseph Myers <joseph@codesourcery.com>
17868
17869 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17870 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17871 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17872 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17873 <bits/inotify.h>.
17874 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17876 bits/inotify.h.
17877
2a418ac3
JM
178782012-02-13 Joseph Myers <joseph@codesourcery.com>
17879
17880 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17881 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17883 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17884 <bits/eventfd.h>.
17885 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17887 bits/eventfd.h.
17888
fb779be7
TS
178892012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17890
e19e83c5
RM
17891 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17892 __feraiseexcept instead of feraiseexcept.
7c35ffed 17893
fb779be7
TS
17894 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17895 nanosleep invocations.
17896 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17897 strings, and add error checking for a nanosleep invocations.
17898
59ba27a6
PE
178992012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17900
17901 Replace FSF snail mail address with URLs, as per GNU coding standards.
17902 Most of the snail mail addresses were wrong anyway, and omitting
17903 them makes the source code easier to maintain. Almost all of the
17904 changes are to license notices and to locale LC_IDENTIFICATION
17905 addresses, except for this one:
17906 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17907 not its snail mail address.
17908
57b957eb
RH
179092012-02-09 Richard Henderson <rth@twiddle.net>
17910
af850b1c
RH
17911 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17912 of kernel-features.h.
17913
57b957eb
RH
17914 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17915
6b73181a
MP
179162012-02-08 Marek Polacek <polacek@redhat.com>
17917
17918 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17919 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17920 * sysdeps/gnu/_G_config.h: Likewise.
17921 * sysdeps/generic/_G_config.h: Likewise.
17922
26ecc33a
AS
179232012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17924
6c6dbc63
AS
17925 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17926 tests.
17927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928
e216c012
AS
17929 * sysdeps/powerpc/powerpc32/crti.S: New file.
17930 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17931 * sysdeps/powerpc/powerpc64/crti.S: New file.
17932 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17933
26ecc33a
AS
17934 * Makeconfig (have-initfini): Don't set.
17935 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17936 * configure.in (nopic_initfini): Don't substitute.
17937 * config.h.in (HAVE_INITFINI): Don't #undef.
17938 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17939 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17940
3add8e13
JM
179412012-02-08 Joseph Myers <joseph@codesourcery.com>
17942
17943 Support crti.S and crtn.S provided directly by architectures.
17944 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17945 [crti.S in sysdirs] (omit-deps): Likewise.
17946 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17947 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17948 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17949 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17950 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17951 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17952 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17953 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17954 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17955 compiler output for sysdeps/generic/initfini.c.
17956 * sysdeps/i386/elf/Makefile: Remove file.
17957 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17958
a22f12b4
MP
179592012-02-07 Marek Polacek <polacek@redhat.com>
17960
17961 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17962 * sysdeps/gnu/_G_config.h: Likewise.
17963 * sysdeps/mach/hurd/_G_config.h: Likewise.
17964
148cf100
MP
179652012-02-07 Marek Polacek <polacek@redhat.com>
17966
17967 * math/Makefile (tests): Add tst-CMPLX2.
17968 * math/tst-CMPLX2.c: New file.
17969
cfdc0dd7
AS
179702012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17971
84ba42c4
AS
17972 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17973
cfdc0dd7
AS
17974 * math/libm-test.inc (jn_test): Add missing L suffix.
17975
622c86f4
MP
179762012-02-06 Marek Polacek <polacek@redhat.com>
17977
17978 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17979 * sysdeps/i386/fpu/e_powf.S: Likewise.
17980 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17983 * sysdeps/i386/fpu/e_pow.S: Likewise.
17984 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17986 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17987 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17988 * sysdeps/i386/fpu/e_log2.S: Likewise.
17989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17991 * sysdeps/i386/fpu/e_powl.S: Likewise.
17992 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17993 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17994 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17995 * sysdeps/i386/fpu/e_logl.S: Likewise.
17996 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17997 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17998 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17999 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18002 * sysdeps/i386/fpu/e_log.S: Likewise.
18003 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18004 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18005 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18006 * sysdeps/i386/fpu/e_logf.S: Likewise.
18007 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18008 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18009 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18010 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18011 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18012 * sysdeps/i386/fpu/e_log10.S: Likewise.
18013 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18014 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18015 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18016 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18017 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18018 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18019 * sysdeps/i386/asm-syntax.h: Likewise.
18020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18022 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18023 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18024 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18025 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18026 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18027 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18028 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18029 * sysdeps/powerpc/sysdep.h: Likewise.
18030 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18031 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18032
d4a54ac6
JM
180332012-02-06 Joseph Myers <joseph@codesourcery.com>
18034
18035 [BZ #411]
18036 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18037
314054ea
JM
180382012-02-06 Joseph Myers <joseph@codesourcery.com>
18039
18040 * sysdeps/i386/sysdep.h: Include <features.h>.
18041 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18042 version.
18043
d8e0ca50
JM
180442012-02-05 Joseph Myers <joseph@codesourcery.com>
18045
18046 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18047 Define.
18048 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18049 LOAD_PIC_REG_STR.
18050
b1da7dd9
JM
180512012-02-03 Joseph Myers <joseph@codesourcery.com>
18052
18053 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18054 (SETUP_PIC_REG): Use GET_PC_THUNK.
18055 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18056 macro.
18057
9a1d9254
JM
180582012-02-03 Joseph Myers <joseph@codesourcery.com>
18059
18060 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18061 for non-PIC compilation.
18062 (SETUP_PIC_REG): Add .p2align directive.
18063 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18064 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18104
65dc3b75
JM
181052012-02-03 Joseph Myers <joseph@codesourcery.com>
18106
18107 * math/tst-CMPLX.c: Include <stdio.h>.
18108
d55bf177
JM
181092012-01-31 Joseph Myers <joseph@codesourcery.com>
18110
18111 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18112 float.
18113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18114 * sysdeps/sparc/bits/mathdef.h: Likewise.
18115
69db4f8f
MP
181162012-01-31 Marek Polacek <polacek@redhat.com>
18117
18118 * libio/libio.h: Don't define _PARAMS.
18119 * locale/programs/config.h: Don't define PARAMS.
18120 * stdlib/strtol_l.c: Likewise.
18121 (__strtol_l): Remove PARAMS from the prototype.
18122
41b81892
UD
181232012-01-31 Ulrich Drepper <drepper@gmail.com>
18124
3b49edc0
UD
18125 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18126 names. Just use the correct names. Remove unnecessary wrapper
18127 functions.
18128 * malloc/arena.c: Likewise.
18129 * malloc/hooks.c: Likewise.
18130
41b81892
UD
18131 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18132 ARENA_TEST says not to. Simplify test for creation of a new arena.
18133 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18134
27a25b6e
UD
181352012-01-30 Ulrich Drepper <drepper@gmail.com>
18136
18137 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18138 into tail calls.
18139 (update_get_addr): New function.
18140 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18141 GET_ADDR_MODULE parameter.
18142
c8a89e7d
JM
181432012-01-30 Joseph Myers <joseph@codesourcery.com>
18144
18145 * crypt/cert.c: Remove __STDC__ conditionals.
18146 * crypt/crypt-entry.c: Likewise.
18147 * crypt/crypt_util.c: Likewise.
18148 * libio/filedoalloc.c: Likewise.
18149 * libio/fileops.c: Likewise.
18150 * libio/genops.c: Likewise.
18151 * libio/iofclose.c: Likewise.
18152 * libio/iofdopen.c: Likewise.
18153 * libio/iofopen.c: Likewise.
18154 * libio/iofopen64.c: Likewise.
18155 * libio/iogetdelim.c: Likewise.
18156 * libio/iopopen.c: Likewise.
18157 * libio/obprintf.c: Likewise.
18158 * libio/oldfileops.c: Likewise.
18159 * libio/oldiofclose.c: Likewise.
18160 * libio/oldiofdopen.c: Likewise.
18161 * libio/oldiofopen.c: Likewise.
18162 * libio/oldiopopen.c: Likewise.
18163 * libio/wfiledoalloc.c: Likewise.
18164 * libio/wgenops.c: Likewise.
18165 * locale/programs/xmalloc.c: Likewise.
18166 * misc/syslog.c: Likewise.
18167 * stdio-common/xbug.c: Likewise.
18168 * string/memchr.c: Likewise.
18169 * string/memcmp.c: Likewise.
18170 * string/memrchr.c: Likewise.
18171 * string/rawmemchr.c: Likewise.
18172 * sysdeps/posix/getcwd.c: Likewise.
18173 * time/strftime_l.c: Likewise.
18174
3b100462
JM
181752012-01-30 Joseph Myers <joseph@codesourcery.com>
18176
18177 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18178 * config.make.in (config-cflags-sse2avx): Define.
18179 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18180 Fix typo.
18181
607998af
CM
181822012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18183
18184 * scripts/config.guess: Update from upstream config git repository.
18185 * scripts/config.sub: Likewise.
18186
3601428f
CM
181872012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18188
3ac8b282
CM
18189 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18190 (EM_NUM): Update.
18191 (R_TILEPRO_*, R_TILEGX_*): New macros.
18192
e034841e
CM
18193 * scripts/firstversions.awk: Fix bug in version range handling.
18194
540d7568
CM
18195 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18196
3601428f
CM
18197 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18198
463de862
CM
18199 * include/sys/epoll.h: New file.
18200 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18201 libc_hidden_def.
18202
73139a76
UD
182032012-01-28 Ulrich Drepper <drepper@gmail.com>
18204
96bc5b45
UD
18205 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18206 Avoid unnecessary __WORDSIZE == 64 test.
18207 (fmaxf): Use VEX format if possible.
18208 (fmax): Likewise.
18209 (fminf): Likewise.
18210 (fmin): Likewise.
18211
56f6f6a2
UD
18212 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18213 * math/math_private.h: Remove libc_fegetround* and
18214 libc_fesetround*.
18215 * sysdeps/i386/configure.in: Check for -msse2avx.
18216 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18217 also if SSE2AVX is defined.
18218 Remove libc_fegetround* and libc_fesetround*.
18219 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18220 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18222 of HAS_YMM_USABLE.
18223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18228
73139a76
UD
18229 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18230
d73f93a4
AZ
182312012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18232
18233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18234 size is not set.
18235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18236
6ee65ed6
UD
182372012-01-27 Ulrich Drepper <drepper@gmail.com>
18238
18239 [BZ #13618]
18240 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18241 relocation.
18242 * Makeconfig (libm): Define.
18243 * elf/Makefile: Add rules to build and run tst-relsort1.
18244 * elf/tst-relsort1.c: New file.
18245 * elf/tst-relsort1mod1.c: New file.
18246 * elf/tst-relsort1mod2.c: New file.
18247
8db21882
JM
182482012-01-27 Joseph Myers <joseph@codesourcery.com>
18249
18250 * math/s_ldexp.c: Remove __STDC__ conditionals.
18251 * math/s_ldexpf.c: Likewise.
18252 * math/s_ldexpl.c: Likewise.
18253 * math/s_nextafter.c: Likewise.
18254 * math/s_nexttowardf.c: Likewise.
18255 * math/s_significand.c: Likewise.
18256 * math/s_significandf.c: Likewise.
18257 * math/s_significandl.c: Likewise.
18258 * math/w_jnl.c: Likewise.
18259 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18260 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18261 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18262 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18263 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18278 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18281 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18283 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18284 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18285 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18286 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18293 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18295 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18297 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18298 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18299 * sysdeps/ieee754/k_standard.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18361 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18366 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18375 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18379 * sysdeps/ieee754/s_matherr.c: Likewise.
18380 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18381 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18384
965a54a4
JM
183852012-01-26 Joseph Myers <joseph@codesourcery.com>
18386
18387 * crypt/md5.h: Remove __STDC__ conditionals.
18388 * libio/libioP.h: Likewise.
18389 * locale/programs/config.h: Likewise.
18390 * sysdeps/generic/sysdep.h: Likewise.
18391 * sysdeps/i386/asm-syntax.h: Likewise.
18392 * sysdeps/s390/asm-syntax.h: Likewise.
18393 * sysdeps/unix/sysdep.h: Likewise.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18396
7071ad79
JM
183972012-01-26 Joseph Myers <joseph@codesourcery.com>
18398
18399 * libio/libio.h: Remove __STDC__ conditionals.
18400 * malloc/obstack.h: Likewise.
18401 * math/complex.h: Likewise.
18402 * math/math.h: Likewise.
18403 * sysdeps/generic/_G_config.h: Likewise.
18404 * sysdeps/gnu/_G_config.h: Likewise.
18405 * sysdeps/mach/hurd/_G_config.h: Likewise.
18406 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18407 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18408 * sysdeps/sparc/bits/mathdef.h: Likewise.
18409
afc5ed09
UD
184102012-01-26 Ulrich Drepper <drepper@gmail.com>
18411
18412 [BZ #13583]
18413 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18414 Clean up HAS_* macros.
afc5ed09 18415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18416 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18417 possible.
18418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18419 HAS_AVX.
18420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18421 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18425
bdb6de1d
JM
184262012-01-25 Joseph Myers <joseph@codesourcery.com>
18427
18428 * elf/tst-unique3.cc (gets): Remove declaration.
18429 * elf/tst-unique3lib.cc (gets): Likewise.
18430 * elf/tst-unique3lib2.cc (gets): Likewise.
18431 * elf/tst-unique4.cc (gets): Likewise.
18432
b15549e6
UD
184332012-01-24 Ulrich Drepper <drepper@gmail.com>
18434
18435 * include/stdio.h: Add C++ protection. Add gets declarations and
18436 definitions.
18437 * debug/tst-chk1.c: Don't declare gets here.
18438 * stdio-common/tst-gets.c: Likewise.
18439
a037381f
JM
184402012-01-24 Joseph Myers <joseph@codesourcery.com>
18441
18442 * posix/glob: Remove directory.
18443
f1d4aa75
JM
184442012-01-24 Joseph Myers <joseph@codesourcery.com>
18445
18446 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18447
81c0c964
PT
184482012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18449
18450 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18451 of the non-standard EPFNOSUPPORT.
18452
0ea698ae
ST
184532011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18454
18455 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18456 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18457 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18458
d220b117
UD
184592012-01-21 Ulrich Drepper <drepper@gmail.com>
18460
18461 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18462
3e1aa84e
UD
184632012-01-20 Ulrich Drepper <drepper@gmail.com>
18464
18465 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18466 transient errors.
18467 * nscd/grpcache.c (cache_addgr): Likewise.
18468 * nscd/hstcache.c (cache_addhst): Likewise.
18469 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18470 * nscd/pwdcache.c (cache_addpw): Likewise.
18471 * nscd/servicescache.c (cache_addserv): Likewise.
18472
400aa020
UD
184732012-01-16 Ulrich Drepper <drepper@gmail.com>
18474
d77e7869
UD
18475 * malloc/malloc.c: Various cleanups.
18476 * malloc/hooks.c: Likewise.
18477
400aa020
UD
18478 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18479 * stdlib/bug-fmtmsg1.c: New file.
18480
18481 * stdlib/fmtmsg.c (init): Add missing unlock.
18482 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18483
e0a309cf
MP
184842012-01-12 Marek Polacek <polacek@redhat.com>
18485
18486 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18487 and _GNU_SOURCE.
18488
929d11c7
WS
184892012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18490
18491 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18493 macro to ensure uniqueness of label name.
18494 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18495 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18496
41d0e869
UD
184972012-01-11 Ulrich Drepper <drepper@gmail.com>
18498
0cc5ed3b
UD
18499 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18500
41d0e869
UD
18501 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18502 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18505
a47a831a
UD
185062012-01-10 Ulrich Drepper <drepper@gmail.com>
18507
daa891c0
UD
18508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18509
18510 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18511 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18512 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18513
e58ef0f2
UD
18514 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18515
a47a831a 18516 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18517 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18520
18521 * math/bits/math-finite.h: Add ldexp support.
18522
a0bfc9c7
MP
185232012-01-10 Marek Polacek <polacek@redhat.com>
18524
18525 * locale/programs/localedef.h (show_archive_content): Add noreturn
18526 attribute.
18527
d6e97a1d
UD
185282012-01-09 Ulrich Drepper <drepper@gmail.com>
18529
18530 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18531
d5835c26
UD
185322012-01-08 Ulrich Drepper <drepper@gmail.com>
18533
e5f484c6
UD
18534 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18535
d5835c26
UD
18536 * io/Makefile (headers): Add bits/poll2.h.
18537
d1f741e9
WS
185382011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18539
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18541 typo #include statement.
18542
ec09c1c4
UD
185432012-01-08 Ulrich Drepper <drepper@gmail.com>
18544
18545 * include/sys/cdefs.h: Define __attribute_alloc_size.
18546 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18547 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18548 * elf/pldd.c: Likewise.
18549 * iconv/iconv_charmap.c: Likewise.
18550 * iconv/iconvconfig.c: Likewise.
18551 * iconv/strtab.c: Likewise.
18552 * locale/programs/locale.c: Likewise.
18553 * locale/programs/localedef.h: Likewise.
18554 * locale/programs/simple-hash.c: Likewise.
18555 * nscd/nscd.h: Likewise.
18556 * nss/makedb.c: Likewise.
18557 * sysdeps/generic/ldconfig.h: Likewise.
18558 * locale/programs/localedef.c: Remove xmalloc prototype.
18559 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18560
20b38e03
PP
185612012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18562
18563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18564 appropriate.
18565
a0da5fe1
UD
185662012-01-08 Ulrich Drepper <drepper@gmail.com>
18567
1d5a644a 18568 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18569 * math/tst-CMPLX.c: New file.
1d5a644a 18570
8784a6db
UD
18571 * math/complex.h (CMPLXL): Fix typo.
18572
d9a216c0
UD
18573 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18574 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18575 GLIBC_2.16.
18576 * debug/tst-chk1.c: Add poll and ppoll tests.
18577 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18578 * include/sys/poll.h: Add hidden proto for ppoll.
18579 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18580 * sysdeps/mach/hurd/ppoll.c: Likewise.
18581 * io/ppoll.c: Likewise.
18582 * debug/poll_chk.c: New file.
18583 * debug/ppoll_chk.c: New file.
18584 * include/bits/poll2.h: New file.
18585 * io/bits/poll2.h: New file.
18586
ac097f5c
UD
18587 [BZ #1350]
18588 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18589
2119dcfa
UD
18590 * configure.in: static is always set to yes. Remove.
18591 * config.make.in: Don't set build-static.
18592 * Makeconfig: Remove use of build-static.
18593 * dlfcn/Makefile: Likewise.
18594 * elf/Makefile: Likewise.
18595 * math/Makefile: Likewise.
18596 * misc/Makefile: Likewise.
18597 * nptl/Makefile: Likewise.
18598 * sysdeps/mach/hurd/Makefile: Likewise.
18599
121766a9
UD
18600 * configure.in: PWD_P is not used anymore.
18601 * config.make.in: Remove PWD_P entry.
18602
51a1d39c 18603 * configure.in: Remove last remnants of RANLIB.
8720d066 18604 No need to check for signed size_t anymore.
215f4bdc
UD
18605 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18606 and IA-64.
3857022a 18607 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18608 * aclocal.m4: Likewise.
18609
d3ed7225
UD
18610 * wcsmbs/mbrtoc16.c: Implement using towc function.
18611 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18612 * wcsmbs/wcsmbsload.c: Likewise.
18613 * iconv/gconv_simple.c: Likewise.
18614 * iconv/gconv_int.h: Likewise.
18615 * iconv/gconv_builtin.h: Likewise.
18616 * iconv/iconv_prog.c: Remove CHAR16 handling.
18617
18618 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18619
18620 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18621
a0da5fe1
UD
18622 * configure.in: Remove --with-elf and --enable-bounded options.
18623 Dont set base_machine for ia64. More non-ELF conditions removed.
18624 Remove testing and setting of leading underscore information.
18625 * config.make.in (build-bounded): Set to no.
18626 * config.h.in: Remove NO_UNDERSCORES entry.
18627 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18628 them.
18629 * csu/start.c: Remove !NO_UNDERSCORE code.
18630 * locale/localeinfo.h: Likewise.
18631 * sysdeps/generic/machine-gmon.h: Likewise.
18632 * sysdeps/generic/sysdep.h: Likewise.
18633 * sysdeps/i386/sysdep.h: Likewise.
18634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18635 * sysdeps/mach/sysdep.h: Likewise.
18636 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18638 * sysdeps/sh/sysdep.h: Likewise.
18639 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18640 * sysdeps/unix/i386/sysdep.S: Likewise.
18641 * sysdeps/unix/sparc/start.c: Likewise.
18642 * sysdeps/unix/sparc/sysdep.S: Likewise.
18643 * sysdeps/unix/sparc/sysdep.h: Likewise.
18644 * sysdeps/unix/start.c: Likewise.
18645 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18646 * sysdeps/x86_64/sysdep.h: Likewise.
18647
df78418a
UD
186482012-01-07 Ulrich Drepper <drepper@gmail.com>
18649
a784e502
UD
18650 [BZ #13553]
18651 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18652 for non-gcc.
18653 * argp/argp-fmtstream.h: Use const instead __const.
18654 * argp/argp.h: Likewise.
18655 * assert/assert.h: Likewise.
18656 * bits/fenv.h: Likewise.
18657 * bits/sched.h: Likewise.
18658 * bits/sigset.h: Likewise.
18659 * bits/sigthread.h: Likewise.
18660 * catgets/nl_types.h: Likewise.
18661 * conform/data/pthread.h-data: Likewise.
18662 * crypt/crypt-private.h: Likewise.
18663 * crypt/crypt.h: Likewise.
18664 * crypt/crypt_util.c: Likewise.
18665 * ctype/ctype.h: Likewise.
18666 * debug/execinfo.h: Likewise.
18667 * debug/mbsnrtowcs_chk.c: Likewise.
18668 * debug/mbsrtowcs_chk.c: Likewise.
18669 * debug/wcsnrtombs_chk.c: Likewise.
18670 * debug/wcsrtombs_chk.c: Likewise.
18671 * debug/wcstombs_chk.c: Likewise.
18672 * dirent/dirent.h: Likewise.
18673 * dlfcn/dlfcn.h: Likewise.
18674 * elf/neededtest4.c: Likewise.
18675 * grp/grp.h: Likewise.
18676 * gshadow/gshadow.h: Likewise.
18677 * iconv/gconv.h: Likewise.
18678 * iconv/gconv_int.h: Likewise.
18679 * iconv/gconv_simple.c: Likewise.
18680 * iconv/iconv.h: Likewise.
18681 * iconv/loop.c: Likewise.
18682 * iconv/skeleton.c: Likewise.
18683 * include/aio.h: Likewise.
18684 * include/aliases.h: Likewise.
18685 * include/argz.h: Likewise.
18686 * include/arpa/inet.h: Likewise.
18687 * include/assert.h: Likewise.
18688 * include/dirent.h: Likewise.
18689 * include/dlfcn.h: Likewise.
18690 * include/execinfo.h: Likewise.
18691 * include/fcntl.h: Likewise.
18692 * include/fenv.h: Likewise.
18693 * include/glob.h: Likewise.
18694 * include/grp.h: Likewise.
18695 * include/libintl.h: Likewise.
18696 * include/mntent.h: Likewise.
18697 * include/netdb.h: Likewise.
18698 * include/pwd.h: Likewise.
18699 * include/rpc/netdb.h: Likewise.
18700 * include/sched.h: Likewise.
18701 * include/search.h: Likewise.
18702 * include/shadow.h: Likewise.
18703 * include/signal.h: Likewise.
18704 * include/stdio.h: Likewise.
18705 * include/stdlib.h: Likewise.
18706 * include/string.h: Likewise.
18707 * include/sys/socket.h: Likewise.
18708 * include/sys/stat.h: Likewise.
18709 * include/sys/statfs.h: Likewise.
18710 * include/sys/statvfs.h: Likewise.
18711 * include/sys/syslog.h: Likewise.
18712 * include/sys/time.h: Likewise.
18713 * include/sys/uio.h: Likewise.
18714 * include/time.h: Likewise.
18715 * include/unistd.h: Likewise.
18716 * include/utmp.h: Likewise.
18717 * include/wchar.h: Likewise.
18718 * include/wctype.h: Likewise.
18719 * inet/aliases.h: Likewise.
18720 * inet/arpa/inet.h: Likewise.
18721 * inet/netinet/ether.h: Likewise.
18722 * inet/netinet/in.h: Likewise.
18723 * intl/libintl.h: Likewise.
18724 * io/bits/fcntl2.h: Likewise.
18725 * io/fcntl.h: Likewise.
18726 * io/ftw.h: Likewise.
18727 * io/sys/poll.h: Likewise.
18728 * io/sys/stat.h: Likewise.
18729 * io/sys/statfs.h: Likewise.
18730 * io/sys/statvfs.h: Likewise.
18731 * io/utime.h: Likewise.
18732 * libio/bits/stdio.h: Likewise.
18733 * libio/bits/stdio2.h: Likewise.
18734 * libio/libio.h: Likewise.
18735 * libio/libioP.h: Likewise.
18736 * libio/stdio.h: Likewise.
18737 * locale/lc-ctype.c: Likewise.
18738 * locale/locale.h: Likewise.
18739 * login/utmp.h: Likewise.
18740 * malloc/arena.c: Likewise.
18741 * malloc/malloc.c: Likewise.
18742 * malloc/malloc.h: Likewise.
18743 * malloc/mcheck.c: Likewise.
18744 * malloc/mtrace.c: Likewise.
18745 * math/bits/mathcalls.h: Likewise.
18746 * math/fenv.h: Likewise.
18747 * math/math_private.h: Likewise.
18748 * misc/bits/error.h: Likewise.
18749 * misc/bits/syslog.h: Likewise.
18750 * misc/err.h: Likewise.
18751 * misc/error.h: Likewise.
18752 * misc/fstab.h: Likewise.
18753 * misc/mntent.h: Likewise.
18754 * misc/regexp.h: Likewise.
18755 * misc/search.h: Likewise.
18756 * misc/sgtty.h: Likewise.
18757 * misc/sys/mman.h: Likewise.
18758 * misc/sys/syslog.h: Likewise.
18759 * misc/sys/uio.h: Likewise.
18760 * misc/sys/xattr.h: Likewise.
18761 * misc/ttyent.h: Likewise.
18762 * nis/rpcsvc/ypclnt.h: Likewise.
18763 * nss/nss.h: Likewise.
18764 * posix/bits/unistd.h: Likewise.
18765 * posix/fnmatch.h: Likewise.
18766 * posix/glob.h: Likewise.
18767 * posix/sched.h: Likewise.
18768 * posix/spawn.h: Likewise.
18769 * posix/sys/wait.h: Likewise.
18770 * posix/unistd.h: Likewise.
18771 * posix/wordexp.h: Likewise.
18772 * pwd/pwd.h: Likewise.
18773 * resolv/netdb.h: Likewise.
18774 * resource/sys/resource.h: Likewise.
18775 * rt/aio.h: Likewise.
18776 * rt/bits/mqueue2.h: Likewise.
18777 * rt/mqueue.h: Likewise.
18778 * shadow/shadow.h: Likewise.
18779 * signal/signal.h: Likewise.
18780 * socket/send.c: Likewise.
18781 * socket/sendto.c: Likewise.
18782 * socket/sys/socket.h: Likewise.
18783 * stdio-common/printf.h: Likewise.
18784 * stdlib/bits/stdlib.h: Likewise.
18785 * stdlib/fmtmsg.h: Likewise.
18786 * stdlib/monetary.h: Likewise.
18787 * stdlib/stdlib.h: Likewise.
18788 * stdlib/ucontext.h: Likewise.
18789 * streams/stropts.h: Likewise.
18790 * string/argz.h: Likewise.
18791 * string/bits/string2.h: Likewise.
18792 * string/string.h: Likewise.
18793 * string/strings.h: Likewise.
18794 * sunrpc/rpc/auth.h: Likewise.
18795 * sunrpc/rpc/auth_des.h: Likewise.
18796 * sunrpc/rpc/clnt.h: Likewise.
18797 * sunrpc/rpc/netdb.h: Likewise.
18798 * sunrpc/rpc/pmap_clnt.h: Likewise.
18799 * sunrpc/rpc/xdr.h: Likewise.
18800 * sysdeps/generic/inttypes.h: Likewise.
18801 * sysdeps/generic/net/if.h: Likewise.
18802 * sysdeps/generic/sys/swap.h: Likewise.
18803 * sysdeps/gnu/net/if.h: Likewise.
18804 * sysdeps/gnu/utmpx.h: Likewise.
18805 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18806 * sysdeps/i386/i486/bits/string.h: Likewise.
18807 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18808 * sysdeps/s390/bits/string.h: Likewise.
18809 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18810 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18811 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18812 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18813 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18814 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18815 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18816 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18817 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18818 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18819 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18821 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18822 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18823 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18824 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18825 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18830 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18831 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18832 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18833 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18834 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18835 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18837 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18839 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18840 * sysvipc/sys/ipc.h: Likewise.
18841 * sysvipc/sys/msg.h: Likewise.
18842 * sysvipc/sys/sem.h: Likewise.
18843 * sysvipc/sys/shm.h: Likewise.
18844 * termios/termios.h: Likewise.
18845 * time/sys/time.h: Likewise.
18846 * time/time.h: Likewise.
18847 * wcsmbs/bits/wchar2.h: Likewise.
18848 * wcsmbs/uchar.h: Likewise.
18849 * wcsmbs/wchar.h: Likewise.
18850 * wctype/wctype.h: Likewise.
18851
0269750c
UD
18852 [BZ #13551]
18853 * Makeconfig: Remove all but ELF support including AIX support.
18854 * Makerules: Likewise.
18855 * config.h.in: Likewise.
18856 * config.make.in: Likewise.
18857 * configure: Likewise.
18858 * configure.in: Likewise.
18859 * csu/Makefile: Likewise.
18860 * csu/version.c: Likewise.
18861 * debug/Makefile: Likewise.
18862 * dlfcn/Makefile: Likewise.
18863 * elf/Makefile: Likewise.
18864 * extra-lib.mk: Likewise.
18865 * iconv/Makefile: Likewise.
18866 * include/libc-symbols.h: Likewise.
18867 * include/shlib-compat.h: Likewise.
18868 * resolv/Makefile: Likewise.
18869 * resolv/res_libc.c: Likewise.
18870 * rt/Makefile: Likewise.
18871 * sysdeps/i386/asm-syntax.h: Likewise.
18872 * sysdeps/i386/sysdep.h: Likewise.
18873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18874 * sysdeps/mach/sysdep.h: Likewise.
18875 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18876 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18877 * sysdeps/s390/asm-syntax.h: Likewise.
18878 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18880 * sysdeps/sh/sysdep.h: Likewise.
18881 * sysdeps/unix/sparc/sysdep.h: Likewise.
18882 * sysdeps/wordsize-32/divdi3.c: Likewise.
18883 * sysdeps/x86_64/sysdep.h: Likewise.
18884
00bbd29b
UD
18885 * argp/Versions: Remove _argp_unlock_xxx.
18886
18887 [BZ #13559]
18888 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18889 * abilist/libBrokenLocale.abilist: Likewise.
18890 * abilist/libanl.abilist: Likewise.
18891 * abilist/libc.abilist: Likewise.
18892 * abilist/libcrypt.abilist: Likewise.
18893 * abilist/libdl.abilist: Likewise.
18894 * abilist/libm.abilist: Likewise.
18895 * abilist/libnsl.abilist: Likewise.
18896 * abilist/libpthread.abilist: Likewise.
18897 * abilist/libresolv.abilist: Likewise.
18898 * abilist/librt.abilist: Likewise.
18899 * abilist/libthread_db.abilist: Likewise.
18900 * abilist/libutil.abilist: Likewise.
18901 * abilist/libnss_db.abilist: New file.
18902
18903 * scripts/abilist.awk: Add support for indirect functions.
18904
a2693a0e
UD
18905 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18906
3f05895f
UD
18907 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18908
ecb6fb48
UD
18909 * shlib-versions: Remove entries for ports architectures.
18910
664f8cb9
UD
18911 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18912 files in ports.
18913 * elf/stackguard-macros.h: Remove support for IA-64.
18914 * elf/tst-auditmod1.c: Likewise.
18915 * sysdeps/generic/ldsodefs.h: Likewise.
18916
7ae81d88
UD
18917 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18918 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18919 configure files.
18920
bdeba135
UD
18921 [BZ #13552]
18922 * configure.in: Remove --enable-omitfp support.
18923 * FAQ.in: Adjust.
18924 * config.make.in: Likewise.
18925 * Makeconfig: Likewise.
18926 * manual/install.texi: Likewise.
18927
d75a0a62
UD
18928 In case anyone cares, the IA-64 architecture could move to ports.
18929 * sysdeps/ia64/*: Removed.
18930 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18931 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18932
dcc9756b
UD
18933 [BZ #13555]
18934 * configure.in: Remove entries for unsupported architectures.
18935
d3761ebc 18936 [BZ #13533]
9954432e
UD
18937 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18938 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18939 routines.
18940 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18941 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18942 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18943 fall back to using wcrtomb.
18944 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18945 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18946 renaming.
18947 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18948 * wcsmbs/tst-c16c32-1.c: New file.
18949
18950 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18951 local variable.
18952
c3a87236
UD
18953 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18954
28926a1b
UD
18955 * elf/tst-unique3.cc: Add explicit declaration of gets.
18956 * elf/tst-unique3lib.cc: Likewise.
18957 * elf/tst-unique3lib2.cc: Likewise.
18958 * elf/tst-unique4.cc: Likewise.
18959
df78418a
UD
18960 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18961
8ecd6b2a
JM
189622012-01-06 Joseph Myers <joseph@codesourcery.com>
18963
18964 [BZ #13566]
18965 * assert/assert.h (static_assert): Don't define for C++.
18966 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18967 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18968
9f115170
UD
189692012-01-03 Ulrich Drepper <drepper@gmail.com>
18970
5e0d0300
UD
18971 * iconv/loop.c (single loop): Fix assertion in storing of
18972 remaining bytes.
18973
9f115170
UD
18974 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18975
81fb02b0
UD
189762012-01-01 Ulrich Drepper <drepper@gmail.com>
18977
18978 * posix/getconf.c: Update copyright year.
18979 * nss/getent.c: Likewise.
a316c1f6 18980 * nss/makedb.c: Likewise.
81fb02b0
UD
18981 * iconv/iconvconfig.c: Likewise.
18982 * iconv/iconv_prog.c: Likewise.
18983 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18984 * elf/pldd.c: Likewise.
18985 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18986 * catgets/gencat.c: Likewise.
18987 * csu/version.c: Likewise.
18988 * elf/ldd.bash.in: Likewise.
18989 * elf/sprof.c (print_version): Likewise.
18990 * locale/programs/locale.c: Likewise.
18991 * locale/programs/localedef.c: Likewise.
a316c1f6 18992 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18993 * nscd/nscd.c (print_version): Likewise.
18994 * debug/xtrace.sh: Likewise.
18995 * malloc/memusage.sh: Likewise.
18996 * malloc/mtrace.pl: Likewise.
18997 * debug/catchsegv.sh: Likewise.
18998
2ba92745
JJ
189992011-12-30 Jakub Jelinek <jakub@redhat.com>
19000
19001 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19002 pure attribute.
19003
dadebdae
UD
190042011-12-24 Ulrich Drepper <drepper@gmail.com>
19005
d3761ebc 19006 [BZ #13533]
db6af3eb
UD
19007 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19008 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19009 transformations.
19010 * iconv/gconv_int.h: Likewise.
19011 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19012 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19013 from libc for GLIBC_2.16.
19014 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19015 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19016 * wcsmbs/uchar.h: Really define mbstate_t.
19017 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19018 * wcsmbs/c16rtomb.c: New file.
19019 * wcsmbs/mbrtoc16.c: New file.
19020 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19021 for C/POSIX locale.
19022 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19023 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19024
dadebdae
UD
19025 * wcsmbs/wchar.h: Add missing __restrict.
19026
67371b56
UD
190272011-12-23 Ulrich Drepper <drepper@gmail.com>
19028
74033a25
UD
19029 [BZ #13532]
19030 * time/Makefile (routines): Add timespec_get.
19031 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19032 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19033 timespec for ISO C11.
19034 * time/timespec_get.c: New file.
19035 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19036 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19037
380d7e87
UD
19038 [BZ #13531]
19039 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19040 * stdlib/stdlib.h: Declare aligned_alloc.
19041 * Versions.def: Add GLIBC_2.16 for libc.
19042 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19043
4e9e7a35
UD
19044 [BZ 13527]
19045 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19046 ISO C11.
19047
380d7e87 19048 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19049 code.
19050
03a71829
UD
19051 [BZ #13528]
19052 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19053
839e283e
UD
19054 [BZ #13529]
19055 * assert/assert.h (static_assert): Define.
19056
ce5294e2 19057 * version.h: Update for 2.16 development version.
90fa7312 19058
8d44e150 19059 [BZ #13526]
d7809905
UD
19060 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19061 _ISOC11_SOURCE.
19062
c0da14cd
UD
19063 * version.h (RELEASE): Bump for 2.15 release.
19064 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19065
530a3249
MP
19066 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19067 Patch by Marek Polacek <mpolacek@redhat.com>.
19068
67371b56
UD
19069 * bits/byteswap.h: Protect long long constants with __extension__.
19070 * sysdeps/i386/bits/byteswap.h: Likewise.
19071 * sysdeps/ia64/bits/byteswap.h: Likewise.
19072 * sysdeps/s390/bits/byteswap.h: Likewise.
19073 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19074
15db4de1
LD
190752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19076
19077 [BZ #13540]
bbe315ea
LD
19078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19079 destination buffer.
15db4de1
LD
19080 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19081
2b2596b1
MP
190822011-12-23 Marek Polacek <polacek@redhat.com>
19083
19084 * elf/dl-addr.c (determine_info): Add inline keyword.
19085 * elf/tst-auditmod4b.c (check_avx): Likewise.
19086 * elf/tst-auditmod6b.c (check_avx): Likewise.
19087 * elf/tst-auditmod6c.c (check_avx): Likewise.
19088 * elf/tst-auditmod7b.c (check_avx): Likewise.
19089
70c6c246
UD
190902011-12-23 Ulrich Drepper <drepper@gmail.com>
19091
19092 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19093 !__SSE_MATH__.
19094
c044cf14
LD
190952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19096
15db4de1 19097 [BZ #13540]
c044cf14
LD
19098 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19099 processing for last bytes.
19100
6b13d9d9
BH
191012011-08-06 Bruno Haible <bruno@clisp.org>
19102
d455f537
BH
19103 [BZ #13061]
19104 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19105 U+0385, not to U+1FEE.
19106
6b13d9d9
BH
19107 [BZ #13062]
19108 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19109 entry for U+00A5 U+0301.
19110
db910efd
UD
191112011-12-22 Ulrich Drepper <drepper@gmail.com>
19112
27deeafc
UD
19113 [BZ #13166]
19114 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19115 buffer for the output is too small.
19116
aed9d171
UD
19117 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19118 optimization.
19119
db910efd
UD
19120 [BZ #13185]
19121 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19122 SSE flags if possible.
19123
2bd779ae
LD
191242011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19125
e7f9dac3 19126 [BZ #13540]
2bd779ae
LD
19127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19128 processing for last bytes.
19129
154bfc16
JM
191302011-12-22 Joseph Myers <joseph@codesourcery.com>
19131
19132 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19133 (syscall-list-default-options, syscall-list-default-condition)
19134 (syscall-list-includes): Define.
19135 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19136 list of ABIs and options and #if conditions for each ABI. Do not
19137 handle common syscalls between ABIs specially.
19138 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19139 Remove.
19140 (syscall-list-variants, syscall-list-32bit-options)
19141 (syscall-list-32bit-condition, syscall-list-64bit-options)
19142 (syscall-list-64bit-condition): Define.
19143 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19144 (syscall-list-variants, syscall-list-32bit-options)
19145 (syscall-list-32bit-condition, syscall-list-64bit-options)
19146 (syscall-list-64bit-condition): Define.
19147 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19148 Remove.
19149 (syscall-list-variants, syscall-list-32bit-options)
19150 (syscall-list-32bit-condition, syscall-list-64bit-options)
19151 (syscall-list-64bit-condition): Define.
19152 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19153 Remove.
19154 (syscall-list-variants, syscall-list-32bit-options)
19155 (syscall-list-32bit-condition, syscall-list-64bit-options)
19156 (syscall-list-64bit-condition): Define.
19157
21eaf3a5
UD
191582011-12-22 Ulrich Drepper <drepper@gmail.com>
19159
16c6f992
UD
19160 * locale/iso-639.def: Add brx entry.
19161
41043168
UD
19162 [BZ #13328]
19163 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19164 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19165
21eaf3a5
UD
19166 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19167 __feraiseexcept_renamed.
19168
e3a851a2
UD
191692011-12-21 Ulrich Drepper <drepper@gmail.com>
19170
4920765e
UD
19171 [BZ #13538]
19172 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19173 EPOLLET with unsigned values.
19174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19176
e3a851a2
UD
19177 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19178 to large cancellation.
19179 * math/s_cacoshf.c: Likewise.
19180 * math/s_cacoshl.c: Likewise.
19181
b27e24b8
RK
191822011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19183
19184 [BZ #13305]
aebefeee 19185 [BZ #12786]
b27e24b8
RK
19186 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19187 * math/s_cacoshf.c: Likewise.
19188 * math/s_cacoshl.c: Likewise.
19189
ee190f67
UD
191902011-12-21 Ulrich Drepper <drepper@gmail.com>
19191
19192 [BZ #13439]
19193 * iconv/gconv.h: Define __GCONV_SWAP.
19194 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19195 * iconvdata/utf-16.c: Likewise.
19196 * iconvdata/utf-32.c: Likewise.
19197
707f25df
AS
191982011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19199
19200 [BZ #13524]
19201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19202 numerator after shifting it by one limb.
19203
d2daaa1e
RÁE
192042011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19205
19206 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19207 under [__USE_EXTERN_INLINES].
19208
a4647e72
UD
192092011-12-17 Ulrich Drepper <drepper@gmail.com>
19210
19211 [BZ #13446]
19212 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19213
f0b264f1
AZ
192142011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19215
19216 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19217 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19218 optimized code.
19219 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19220 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19221 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19222 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19223 for strncasecmp/strncasecmp_l compilation.
19224 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19225 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19226
8ef4f244
MP
192272011-12-08 Marek Polacek <mpolacek@redhat.com>
19228
19229 [BZ #13484]
19230 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19231 of __asm__.
19232
97ac2654
UD
192332011-12-17 Ulrich Drepper <drepper@gmail.com>
19234
19235 [BZ #13506]
19236 * time/tzfile.c (__tzfile_read): Check values from file header.
19237
91d2a845
WS
192382011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19239
19240 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19241 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19242 * powerpc/powerpc32/dl-start.S: Likewise.
19243 * powerpc/powerpc32/elf/start.S: Likewise.
19244 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19245 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19246 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19247 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19248 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19249 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19250 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19251 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19252 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19253 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19254 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19255 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19256 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19257 * powerpc/powerpc32/memset.S: Likewise.
19258 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19259 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19260 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19261 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19262 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19263 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19264 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19265 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19266 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19267 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19268 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19269 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19270 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19271
a1267ba1
AZ
192722011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19273
19274 * math/libm-test.inc: Added more nearbyint tests.
19275 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19279
ad8ac1bd
RL
192802011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19281
19282 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19283 FD_CLOEXEC.
19284
1d3e4b61
UD
192852011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19286
19287 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19288 Add wcscpy-ssse3 wcscpy-c.
19289 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19290 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19291 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19292 * sysdeps/x86_64/wcschr.S: New file.
19293 * sysdeps/x86_64/wcsrchr.S: New file.
19294 * string/test-strcmp.c: Remove checking of wcscmp function for
19295 wrong alignments.
19296 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19297 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19298 wcsrchr-sse2 wcsrchr-c.
19299 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19300 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19301 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19302 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19303 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19304 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19305 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19306 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19307 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19308 * wcsmbc/wcschr.c (WCSCHR): New macro.
19309
5b330a2d
UD
193102011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19311
19312 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19313 * wcsmbs/test-wcsrchr.c: New file.
19314 * string/test-strrchr.c: Add wcsrchr support.
19315 (WIDE): New macro.
19316 * wcsmbs/test-wcscpy.c: New file.
19317 * string/test-strcpy.c: Add wcscpy support.
19318 (WIDE): New macro.
26428b7c 19319
f039c043
UD
193202011-12-10 Ulrich Drepper <drepper@gmail.com>
19321
19322 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19323 the inner loop.
19324
850fb039
AS
193252011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19326
19327 [BZ #13472]
19328 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19329
4efbd5cb
UD
193302011-12-04 Ulrich Drepper <drepper@gmail.com>
19331
52ff5dd0 19332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19333 Minor optimizations.
52ff5dd0 19334
4efbd5cb
UD
19335 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19336 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19337 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19338
8a426e12
UD
193392011-12-03 Ulrich Drepper <drepper@gmail.com>
19340
aff2453d
UD
19341 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19342 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19343 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19344 for gcc to avoid warnings.
19345 * inet/Makefile (tests): Add tst-checks.
19346 * inet/tst-checks.c: New file.
19347
19348 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19349 warning.
19350
19351 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19352 __wmemcmp_sse2.
19353
19354 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19355 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19356
8a426e12
UD
19357 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19358
9bea3473
UD
193592011-12-02 Ulrich Drepper <drepper@gmail.com>
19360
3a965496
UD
19361 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19362 problem.
19363
9bea3473
UD
19364 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19365
f101631b
UD
193662011-11-29 Joseph Myers <joseph@codesourcery.com>
19367
19368 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19369 conditional on GCC version.
19370 (__arch_compare_and_exchange_val_8_acq)
19371 (__arch_compare_and_exchange_val_16_acq)
19372 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19373 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19374 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19375
a98275aa
UD
193762011-12-02 Joseph Myers <joseph@codesourcery.com>
19377
19378 * sysdeps/sh/backtrace.c: New file.
19379
d4cc29a2
AS
193802011-12-02 Andreas Schwab <schwab@redhat.com>
19381
19382 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19383 parenthesis.
19384
6257af2d
AS
193852011-12-01 Andreas Schwab <schwab@redhat.com>
19386
19387 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19388 falling back to utime.
19389
b5f44c1a
AS
193902011-11-30 Andreas Schwab <schwab@redhat.com>
19391
19392 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19393 expectations for float.
19394
f3a6cc0a
AS
193952011-11-29 Andreas Schwab <schwab@redhat.com>
19396
19397 * locale/weight.h (findidx): Add parameter len.
19398 * locale/weightwc.h (findidx): Likewise.
19399 * posix/fnmatch_loop.c (FCT): Adjust caller.
19400 * posix/regcomp.c (build_equiv_class): Likewise.
19401 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19402 * posix/regexec.c (check_node_accept_bytes): Likewise.
19403 * string/strcoll_l.c (STRCOLL): Likewise.
19404 * string/strxfrm_l.c (STRXFRM): Likewise.
19405
9d65ea3a
UD
194062011-11-17 Ulrich Drepper <drepper@gmail.com>
19407
19408 * Makefile.in: Remove CVSOPT handling.
19409 * configure.in: Remove use of AC_REVISION.
19410 * iconvdata/Makefile (distribute): No need to filter out CVS.
19411 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19412 handling.
19413
5583a086
AS
194142011-11-16 Andreas Schwab <schwab@redhat.com>
19415
19416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19417 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19418 [USE_AS_STRNCASECMP_L]: Likewise.
19419 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19420 NO_TLS_DIRECT_SEG_REFS.
19421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19422 Fix argument offsets for non-PIC.
19423 [USE_AS_STRNCASECMP_L]: Likewise.
19424 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19425 NO_TLS_DIRECT_SEG_REFS.
19426
d62a8200
UD
194272011-11-15 Ulrich Drepper <drepper@gmail.com>
19428
9d65ea3a 19429 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19430 O_CLOEXEC.
19431 * locale/loadlocale.c (_nl_load_locale): Likewise.
19432
09f93bd3
AS
194332011-11-15 Andreas Schwab <schwab@redhat.com>
19434
446514f9
AS
19435 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19436 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19438 (SYSCALL_GETTIME): Set errno on error.
19439
09f93bd3
AS
19440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19441 count references to noai6ai_cached.
19442
312be3f9
UD
194432011-11-15 Ulrich Drepper <drepper@gmail.com>
19444
19445 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19446
19447 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19448 FD_CLOEXEC for /proc/self/maps.
19449
19450 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19451 FD_CLOEXEC for /proc/meminfo.
19452
19453 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19454 gai.conf.
19455
19456 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19457 FD_CLOEXEC for given file.
19458
19459 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19460
19461 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19462 FD_CLOEXEC for /etc/hosts.
19463 (_gethtent): Likewise.
19464
19465 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19466
19467 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19468 cancellation and set FD_CLOEXEC for /etc/netgroup.
19469
19470 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19471 reading /etc/publickey.
19472
19473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19474 allow cancellation when reading /etc/group.
19475
19476 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19477 cancellation.
19478 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19479
19480 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19481 when using data file.
19482
19483 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19484
19485 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19486 (write_nis_obj): Use "c" and "e" in fopen.
19487
19488 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19489
19490 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19491
19492 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19493
19494 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19495
19496 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19497 locale.alias.
19498
19499 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19500
19501 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19502
19503 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19504
19505 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19506 file parsing and set FD_CLOEXEC.
19507
82af0fa8
UD
195082011-11-14 Ulrich Drepper <drepper@gmail.com>
19509
19510 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19511
a5fb313c
AS
195122011-11-14 Andreas Schwab <schwab@redhat.com>
19513
19514 * malloc/arena.c (arena_get2): Don't call reused_arena when
19515 _int_new_arena failed.
19516
6abf3465
UD
195172011-11-14 Ulrich Drepper <drepper@gmail.com>
19518
19519 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19520 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19521 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19524 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19525 to compile strcasecmp and strncasecmp.
19526 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19527 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19528
19529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19530
76e3966e
UD
195312011-11-13 Ulrich Drepper <drepper@gmail.com>
19532
19533 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19534 locale-defines.sym to gen-as-const-headers.
19535 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19536 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19538 to compile strcasecmp and strncasecmp.
19539 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19540 strcasecmp_l and strncasecmp_l.
19541 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19542 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19543 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19544 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19545 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19547 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19548 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19549 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19550 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19551 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19552
ab26144e
UD
195532011-11-12 Ulrich Drepper <drepper@gmail.com>
19554
7edb22ef
UD
19555 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19556 result of SYSDEP_GETTIME_CPU to retval.
19557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19558 parameter list to macro. Remove trailing semicolon. Adjust users.
19559
9694fc44
UD
19560 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19561 variable.
19562
8ad89ef8
UD
19563 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19564 mantissa words.
19565 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19566
0c822ef9
UD
19567 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19568 from unused variable.
19569
874e0564
UD
19570 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19571 DWARF definitions.
19572 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19573 for assembling.
19574
3a2edc79
UD
19575 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19576 over namespaces.
19577
f3c2577f
UD
19578 * sunrpc/rpc_prot.c (rejected): Fix case value.
19579
294ce126
UD
19580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19581 unsigned long long int to avoid warnings in shift.
19582
5e2b63c6
UD
19583 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19584 of use of trans.
19585 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19586 variable tmp.
19587
e7f4b08e
UD
19588 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19589 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19590 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19591
ab26144e
UD
19592 * nis/nis_table.c (nis_list): Use variable of correct type for
19593 result of __follow_path call.
19594
8a6d5255
AZ
195952011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19596
19597 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19598 of math functions ceil, trunc, floor, round, and sqrt, when
19599 avaliable on the platform.
19600 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19601 name clash.
19602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19604 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19605
aaddc98c
MP
196062011-10-30 Marek Polacek <mpolacek@redhat.com>
19607
19608 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19610
95b7042b
RM
196112011-11-11 Roland McGrath <roland@hack.frob.com>
19612
19613 * include/unistd.h: Fix __readlink return type.
19614 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19615
57769839
UD
196162011-11-11 Ulrich Drepper <drepper@gmail.com>
19617
19618 * stdlib/ucontext.h: Undo last change for makecontext.
19619
edc5984d
AS
196202011-11-11 Andreas Schwab <schwab@redhat.com>
19621
98591e58
AS
19622 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19623
edc5984d
AS
19624 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19625 * setjmp/setjmp.h: Mark functions as non-leaf.
19626 * setjmp/bits/setjmp2.h: Likewise.
19627 * stdlib/ucontext.h: Likewise.
19628
77cdc054
AS
196292011-11-10 Andreas Schwab <schwab@redhat.com>
19630
19631 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19632 (reused_arena): Don't check arena limit.
19633 (arena_get2): Atomically check arena limit.
19634
fe72eebd
UD
196352011-11-08 Ulrich Drepper <drepper@gmail.com>
19636
5f078c32
UD
19637 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19638 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19639
fe72eebd
UD
19640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19641 instructions.
19642
ae1bc2fa
AS
196432011-11-07 Andreas Schwab <schwab@redhat.com>
19644
7583a88d
AS
19645 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19646 handler when locking.
19647
ae1bc2fa
AS
19648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19649 Fix size of allocated buffer.
19650
10fb0bfa
AS
196512011-11-04 Andreas Schwab <schwab@redhat.com>
19652
998832a4
AS
19653 [BZ #10103]
19654 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19655 declarations for long double functions.
19656 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19657
10fb0bfa
AS
19658 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19659
3d7ba52b
AS
196602011-11-03 Andreas Schwab <schwab@redhat.com>
19661
a9ae54a1
AS
19662 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19663 installed.
19664
3d7ba52b
AS
19665 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19666 is disabled.
19667
bc8db248
ST
196682011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19669
19670 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19671
45b96dd6
AS
196722011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19673
647776f6
AS
19674 * include/alloca.h (stackinfo_alloca_round): Define.
19675 (extend_alloca): Use it.
19676 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19677 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19678 here.
19679
d91a8b93
AS
19680 * scripts/check-local-headers.sh: Ignore libaudit.h.
19681
45b96dd6
AS
19682 * nscd/Makefile (extra-objs): Make recursively expanded.
19683
432d41ce
UD
196842011-11-01 Ulrich Drepper <drepper@gmail.com>
19685
34372fc6
UD
19686 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19688
fadb59f8
UD
19689 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19690 * posix/tst-rfc3484-2.c: Likewise.
19691 * posix/tst-rfc3484-3.c: Likewise.
19692
78239589
UD
19693 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19694 process_vm_writev.
19695 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19696 process_vm_writev.
19697 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19698 process_vm_writev from libc using GLIBC_2.15 version.
19699
432d41ce
UD
19700 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19701
02f9c6cf
PP
197022011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19703
19704 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19705 stack usage.
19706
3a2c0242
UD
197072011-10-31 Ulrich Drepper <drepper@gmail.com>
19708
f4ec4833
UD
19709 [BZ #13367]
19710 * nss/getent.c (initgroups_keys): Show error message in case no group
19711 names are given.
19712
3a2c0242
UD
19713 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19714 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19715 __bump_nl_timestamp.
19716 * nscd/connections (nscd_init): When host database is served open
19717 netlink socket and request notification about configuration changes.
19718 (main_loop_poll): Track netlink file descriptor and bump timestamp
19719 in case data becomes available.
19720 (main_loop_epoll): Likewise.
19721 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19722 (database_pers_head): Add extra_data fileds.
19723 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19725 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19726 Adjust caller.
19727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19728 in6ai data, call __free_in6ai.
19729 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19730 Add -DHAVE_NETLINK.
19731 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19732 interface information. Reuse previous data if netlink timestamp
19733 is not changed.
19734 (__bump_nl_timestamp): New function.
19735 (__free_in6ai): New function.
19736
636064eb
UD
197372011-10-30 Ulrich Drepper <drepper@gmail.com>
19738
19739 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19740 close_not_cancel_no_status here.
19741 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19742
9beb2334
UD
197432011-10-29 Ulrich Drepper <drepper@gmail.com>
19744
6ef76f3b
UD
19745 [BZ #13276]
19746 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19747 return value.
19748
0ffc4f3e 19749 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19750 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19751 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19752
cb95113e
UD
197532011-07-03 Andreas Jaeger <aj@suse.de>
19754
19755 [BZ #10709]
19756 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19757 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19758 * math/libm-test.inc (sin_test): Add test case.
19759
a1b560ff
UD
197602011-10-29 Ulrich Drepper <drepper@gmail.com>
19761
c9aaface
UD
19762 [BZ #13337]
19763 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19764 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19765
d272e7f1
UD
19766 * elf/chroot_canon.c (chroot_canon): Cleanups.
19767
1bc33071
UD
19768 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19769
1760874d
TJ
19770 [BZ #13335]
19771 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19772 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19773
51d91b18
UD
19774 * string/test-strchr.c: Make usable for strchrnul testing.
19775 * string/test-strchrnul.c: New file.
19776 * string/Makefile (strop-tests): Add strchrnul.
19777
a1b560ff 19778 * po/it.po: Update from translation team.
b611fb81 19779 * po/es.po: Likewise.
a1b560ff 19780
a5b81e1f
UD
197812011-10-28 Ulrich Drepper <drepper@gmail.com>
19782
fd52bc6d
UD
19783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19784 the three constants needed as parameters. Drop the others.
19785 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19786 __m128i_strloadu_tolower.
52e4b9eb
UD
19787 Create and initialize variable zero and use it in all the places
19788 where _mm_setzero_si128 was used.
fd52bc6d 19789
a5b81e1f
UD
19790 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19791 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19792 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19794 anymore.
19795 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19796 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19797 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19798 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19799 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19800 __mpranred, __mptan.
19801 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19802 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19803 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19804 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19805 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19806 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19808 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19809 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19810
b4343346
AS
198112011-10-28 Andreas Schwab <schwab@redhat.com>
19812
0c92d8a8
AS
19813 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19814 redefine if SHARED.
19815 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19816
b4343346
AS
19817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19818 wide char related routines to wcsmbs subdir.
19819
3871f58f
AS
198202011-10-27 Andreas Schwab <schwab@redhat.com>
19821
19822 [BZ #13344]
19823 * misc/sys/cdefs.h (__THROWNL): Define.
19824 * posix/unistd.h: Use __THREADNL instead of __THREAD
19825 for memory synchronization functions.
19826
94d44d9f
RM
198272011-10-26 Roland McGrath <roland@hack.frob.com>
19828
21b64b15 19829 [BZ #13349]
94d44d9f
RM
19830 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19831 doesn't exist.
19832 * manual/stdio.texi (Obstack Streams): Node removed.
19833
f6ce9294
AS
198342011-10-26 Andreas Schwab <schwab@redhat.com>
19835
80479147
AS
19836 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19839
f6ce9294
AS
19840 * math/math_private.h (math_force_eval): Allow non-addressable
19841 arguments.
19842 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19843
618280a1
UD
198442011-10-25 Ulrich Drepper <drepper@gmail.com>
19845
e0016b11
UD
19846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19847 file is not needed.
19848
19849 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19856 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19857 Add AVX variants.
19858 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19859 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19860 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19861 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19862 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19863 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19864 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19865 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19866 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19867 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19868 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19869 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19872 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19873 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19874 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19875 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19876 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19877
19878 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19879 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19880
618280a1
UD
19881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19882 place. Use VEX encoding when compiling for AVX.
19883
37822576
AS
198842011-10-25 Andreas Schwab <schwab@redhat.com>
19885
1f1e1947
AS
19886 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19887 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19888
37822576
AS
19889 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19890
31ea014d
UD
198912011-10-25 Ulrich Drepper <drepper@gmail.com>
19892
d7826aa1 19893 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19894 useless if() expression.
d7826aa1
UD
19895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19901 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19904 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19906 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19908 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19909 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19911 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19914
31ea014d
UD
19915 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19916
16437fec
AS
199172011-10-25 Andreas Schwab <schwab@redhat.com>
19918
19919 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19920 condition.
19921 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19922
31d3cc00
UD
199232011-10-25 Ulrich Drepper <drepper@gmail.com>
19924
19925 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19926 .text section. Avoid duplicate constants.
19927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19937 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19939 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19942 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19944 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19950 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19951 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19952 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19953 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19954 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19956 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19957 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19959 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19962 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19963 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19964 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19965 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19969 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19970 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19971 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19972
58985aa9
UD
199732011-10-24 Ulrich Drepper <drepper@gmail.com>
19974
202c9deb
UD
19975 * sysdeps/x86_64/dla.h: Move to ...
19976 * sysdeps/x86_64/fpu/dla.h: ...here.
19977 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19978 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19979
af968f62
UD
19980 * config.make.in: Add have-mfma4 entry.
19981 * configure.in: Substitute libc_cv_cc_fma4.
19982 * math/Makefile (dbl-only-routines): Add sincostab.
19983 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19984 Use __sincostab not sincos.
19985 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19986 name is a macro.
19987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19991 using __copysign.
19992 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19993 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19994 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19995 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19996 and __inv.
19997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19998 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19999 __copysign.
20000 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20001 define aliases when function name is a macro.
20002 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20003 sysdeps/ieee754/dbl-64/sincos.tbl.
20004 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20005 fma4-enabled routines.
20006 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20007 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20008 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20009 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20014 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20015 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20016 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20017 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20018 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20019 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20021 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20022 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20024 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20026 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20027 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20029 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20033 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20035 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20036
58985aa9
UD
20037 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20038 rename.
20039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20045 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20047
a201fbcf
AS
200482011-10-24 Andreas Schwab <schwab@redhat.com>
20049
20050 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20051
fc2ee42a
LD
200522011-10-23 Ulrich Drepper <drepper@gmail.com>
20053
bb3129bd
UD
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20055
0275fff8
UD
20056 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20057 prediction.
20058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20059
2fa2ae85
UD
20060 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20061 Remove unused variable magic_bits.
20062 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20063
fc2ee42a
LD
20064 * string/strnlen.c: Define and use STRNLEN macro.
20065 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20066 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20068 * wcsmbs/wcslen.c: Define and use WCSLEN.
20069 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20070 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20071 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20072 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20073 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20074 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20075 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20076
ce7dd29f
LD
200772011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20078
20079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20080 strnlen-sse2-no-bsf.
20081 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20083 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20084 Add strnlen support.
20085 (USE_AS_STRNLEN): New macro.
20086 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20088 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20089 * sysdeps/x86_64/wcslen.S: New file.
20090
979c70a3
MZ
200912011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20092
20093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20094 XMM-moves are used for copying on small sizes.
20095
2d09f82f
LD
200962011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20097
20098 * wcsmbs/Makefile (strop-tests): Add wcschr.
20099 * wcsmbs/test-wcschr.c: New file.
20100 * string/test-strchr.c: Update.
20101 Add wcschr support.
20102 (WIDE): New macro.
20103
619fccca
LD
201042011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20105
2d09f82f 20106 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20107 * wcsmbs/test-wcslen.c: New file.
20108 * string/test-strlen.c: Update.
20109 Add wcslen support.
20110 (WIDE): New macro.
20111
09f699ea
UD
201122011-10-23 Ulrich Drepper <drepper@gmail.com>
20113
20114 * po/it.po: Update from translation team.
20115
95584d3b
LD
201162011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20117
20118 * sysdeps/x86_64/wcscmp.S: Update.
20119 Fix wrong comparison semantics.
20120 wcscmp shall use signed comparison not unsigned.
20121 Don't use substraction to avoid overflow bug.
20122 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20123 * wcsmbc/wcscmp.c: Likewise.
20124 * string/test-strcmp.c: Likewise.
20125 Add new tests to check cases with negative values.
20126
c8b3296b
UD
201272011-10-23 Ulrich Drepper <drepper@gmail.com>
20128
20129 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20130 * sysdeps/x86_64/dla.h: ...here. New file.
20131 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20140
246ad57a
AS
201412011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20142
20143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20144 __ynl_finite aliases.
20145
a1a87169
UD
201462011-10-22 Ulrich Drepper <drepper@gmail.com>
20147
0d355eb7
UD
20148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20149
a1a87169
UD
20150 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20151 define DLA_FMA.
20152 [DLA_FMA] (EMULV): Use DLA_FMA.
20153 [DLA_FMA] (MUL12): Use EMULV.
20154 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20155 that are not needed.
20156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20163
ee2aafe0
AS
201642011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20165
20166 * math/s_nan.c: Undef __nan.
20167 * math/s_nanf.c: Undef __nanf.
20168 * math/s_nanl.c: Undef __nanl.
20169 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20170 "math_private.h".
20171
bc62c2fb
UD
201722011-10-22 Ulrich Drepper <drepper@gmail.com>
20173
77425c63
UD
20174 * math/s_catan.c: Add branch predictions.
20175 * math/s_catanf.c: Likewise.
20176 * math/s_catanh.c: Likewise.
20177 * math/s_catanhf.c: Likewise.
20178 * math/s_catanhl.c: Likewise.
20179 * math/s_catanl.c: Likewise.
20180 * math/s_cexp.c: Likewise.
20181 * math/s_cexpf.c: Likewise.
20182 * math/s_cexpl.c: Likewise.
20183 * math/s_clog.c: Likewise.
20184 * math/s_clog10.c: Likewise.
20185 * math/s_clog10f.c: Likewise.
20186 * math/s_clog10l.c: Likewise.
20187 * math/s_clogf.c: Likewise.
20188 * math/s_clogl.c: Likewise.
20189 * math/s_csqrt.c: Likewise.
20190 * math/s_csqrtf.c: Likewise.
20191 * math/s_csqrtl.c: Likewise.
20192 * math/s_ctanf.c: Likewise.
20193 * math/s_ctanh.c: Likewise.
20194 * math/s_ctanhf.c: Likewise.
20195 * math/s_ctanhl.c: Likewise.
20196 * math/s_ctanl.c: Likewise.
20197
bc62c2fb
UD
20198 * math/math_private.h: Define __nan, __nanf, __nanl.
20199 * math/s_cacosh.c: Include <math_private.h>.
20200 * math/s_cacoshl.c: Likewise.
20201 * math/s_casinh.c: Likewise.
20202 * math/s_casinhf.c: Likewise.
20203 * math/s_casinhl.c: Likewise.
20204 * math/s_ccos.c: Rely entire on ccosh.
20205 * math/s_ccosf.c: Rely entire on ccoshf.
20206 * math/s_ccosl.c: Rely entirely on ccoshl.
20207 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20208 Remove tests for FE_INVALID.
20209 * math/s_ccoshf.c: Likewise.
20210 * math/s_ccoshl.c: Likewise.
20211 * math/s_csin.c: Likewise.
20212 * math/s_csinf.c: Likewise.
20213 * math/s_csinh.c Likewise.
20214 * math/s_csinhf.c: Likewise.
20215 * math/s_csinhl.c: Likewise.
20216 * math/s_csinl.c: Likewise.
20217 * math/s_ctan.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20219 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20220 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20221
8ec250a4
UD
202222011-10-21 Ulrich Drepper <drepper@gmail.com>
20223
c196fed8
UD
20224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20225 compilation problems.
20226
8ec250a4
UD
20227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20228 __builtin_expect.
20229
8d4f46c6
UD
202302011-10-20 Ulrich Drepper <drepper@gmail.com>
20231
ed72b654
UD
20232 * sysdeps/i386/configure.in: Test for -mfma4 option.
20233 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20234 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20235 COMMON_CPUID_INDEX_80000001.
20236 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20237 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20238 use it if FMA3 is not supported.
20239 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20240
8d4f46c6
UD
20241 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20242 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20243
d45c60c2
AS
202442011-10-20 Andreas Schwab <schwab@redhat.com>
20245
20246 [BZ #12892]
20247 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20248 it would create a cycle with a link time dependency.
20249
d9a4d2ab
UD
202502011-10-19 Ulrich Drepper <drepper@gmail.com>
20251
855d1560
UD
20252 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20253 instruction.
20254 * string/Makefile (strop-tests): Add rawmemchr.
20255 * string/test-rawmemchr.c: New file.
20256
d9a4d2ab
UD
20257 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20259 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20260 when compiling str{,n}casecmp and when AVX is available. Hook up
20261 new optimized code in initializers.
20262
8f3b1ffe
AS
202632011-10-19 Andreas Schwab <schwab@redhat.com>
20264
20265 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20266 __feraiseexcept instead of feraiseexcept.
20267
d38f1dba
UD
202682011-10-18 Ulrich Drepper <drepper@gmail.com>
20269
d9a8d0ab
UD
20270 * math/math_private.h: Define defaults for libc_fetestexcept and
20271 libc_feupdateenv.
20272 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20273 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20274 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20275 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20276 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20277 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20278 libc_fetestexcept and libc_feupdateenv.
20279
4855e3dd
UD
20280 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20281 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20282 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20283 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20284 libc_feholdexcept_setround.
20285
581d30e3
UD
20286 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20287 Add s_nearbyint-c and s_nearbyintf-c.
20288 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20289 nearbyintf inlines.
20290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20292 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20294
d38f1dba
UD
20295 * math/math_private.h: Define defaults for libc_fegetround,
20296 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20297 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20298 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20299 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20300 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20301 standard functions.
20302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20303 Remove comments and hacks for old compiler versions.
20304 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20305 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20306 libc_feholdexceptl.
20307
caa6c9d8
AS
203082011-10-18 Andreas Schwab <schwab@redhat.com>
20309
20310 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20311 (__feraiseexcept_renamed): Add __NTH.
20312 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20313 namespace violations.
20314
97c066e6
UD
203152011-10-17 Ulrich Drepper <drepper@gmail.com>
20316
99ce7b04
UD
20317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20318
1004d182
UD
20319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20320
228a984d
UD
20321 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20322 recently added interfaces.
20323 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20324
c8553a6a
UD
20325 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20326 about macro parameter expansion.
20327
ed22dcf6
UD
20328 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20329 __NO_MATH_INLINES is defined. Cleanups.
20330
20331 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20332 and __floorf is target has SSE4.1.
20333 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20334 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20335 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20336 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20337
b171c137
UD
20338 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20339 name.
20340 (floorf): Likewise.
20341
97c066e6
UD
20342 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20343
629f62ef
AS
203442011-10-17 Andreas Schwab <schwab@redhat.com>
20345
49a43d80
AS
20346 * misc/sys/cdefs.h: Fix last change.
20347
629f62ef
AS
20348 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20349 database lookup.
20350
e453f6cd
UD
203512011-10-16 Ulrich Drepper <drepper@gmail.com>
20352
aa78043a
UD
20353 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20354
ad0f5cad
UD
20355 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20365 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20366 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20367 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20368 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20369 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20370 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20371 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20372 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20373 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20374 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20375 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20376 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20377
20378 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20379 ceil, ceilf, floor, floorf.
20380
20381 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20382 Perform IRELATIVE relocations last.
20383
e453f6cd
UD
20384 * elf/do-rel.h: Add another parameter nrelative, replacing the
20385 local variable with the same name. Change name of the function
20386 to end in Rel or Rela (uppercase).
20387 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20388 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20389 elf_dynamic_do_##reloc function.
20390
fd5bdc09
UD
203912011-10-15 Ulrich Drepper <drepper@gmail.com>
20392
79b195b5
UD
20393 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20394 is sufficient, at least on modern CPUs.
20395
d4a28569
UD
20396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20397
b61099b5
UD
20398 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20399 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20400
bcf01e6d
UD
20401 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20402 __expl_finite.
20403 * math/bits/math-finite.h: Add entries for exp.
20404 * math/e_expl.c: Add __*_finite alias.
20405 * sysdeps/i386/fpu/e_exp.S: Likewise.
20406 * sysdeps/i386/fpu/e_expf.S: Likewise.
20407 * sysdeps/i386/fpu/e_expl.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20409 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20413 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20414 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20415
ba1a0d59
UD
20416 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20417 is sufficient, at least on modern CPUs.
20418
fd5bdc09
UD
20419 * ctype/ctype-info.c (__ctype_init): Define.
20420 * include/ctype.h (__ctype_init): Declare.
20421 (__ctype_b_loc): The variable is always initialized.
20422 (__ctype_toupper_loc): Likewise.
20423 (__ctype_tolower_loc): Likewise.
20424 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20425 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20426
7872cfb0
AS
204272011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20428
b468825a
AS
20429 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20430
7872cfb0
AS
20431 * configure.in: Also look in $cxxmachine/include for C++ system
20432 headers.
20433
be13f7bf
LD
204342011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20435
20436 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20437 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20438 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20439 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20441 (USE_AS_WMEMCMP): New macro.
20442 Fixing indents.
20443 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20444 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20445 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20446 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20448 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20449 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20451 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20452 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20454 (USE_AS_WMEMCMP): New macro.
20455 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20456 * sysdeps/string/test-memcmp.c: Update.
20457 Fix simple_wmemcmp.
20458 Add new tests.
20459 * wcsmbs/wmemcmp.c: Update.
20460 (WMEMCMP): New macro.
20461 Fix overflow bug.
20462
556a2007
AJ
204632011-10-12 Andreas Jaeger <aj@suse.de>
20464
20465 [BZ #13268]
20466 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20467
538faaa7
UD
204682011-10-15 Ulrich Drepper <drepper@gmail.com>
20469
ab6737ff
UD
20470 * libio/iofwide.c (do_length): Avoid warning.
20471
538faaa7
UD
20472 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20473
396a21b1
UD
204742011-10-14 Ulrich Drepper <drepper@gmail.com>
20475
cdf2901f
UD
20476 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20477
38ad40ce
UD
20478 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20479 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20480 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20481 * sysdeps/i386/i686/fpu/e_log.S: New file.
20482 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20483 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20484
396a21b1
UD
20485 * ctype/ctype.h: Add support for inlined isXXX functions when
20486 compiling C++ code.
20487
6b1f68c9
AS
204882011-10-14 Andreas Schwab <schwab@redhat.com>
20489
349290c0
AS
20490 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20491
6b1f68c9
AS
20492 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20493
f2282d42
RM
204942011-10-13 Roland McGrath <roland@hack.frob.com>
20495
20496 [BZ #13291]
20497 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20498
5298ffa8
AS
204992011-10-13 Andreas Schwab <schwab@redhat.com>
20500
714fad23
AS
20501 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20502 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20503 feraiseexcept.
20504
81dcc7fb
AS
20505 * sysdeps/x86_64/memrchr.S: Check for zero size.
20506
5298ffa8
AS
20507 * string/stratcliff.c: Add memrchr tests.
20508
951fbcec
LD
205092011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20510
20511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20512 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20513 rawmemchr-sse2 rawmemchr-sse2-bsf.
20514 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20515 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20516 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20517 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20518 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20519 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20520 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20521 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20522 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20524 * string/memrchr.c (MEMRCHR): New macro.
20525
0ac5ae23
UD
205262011-10-12 Ulrich Drepper <drepper@gmail.com>
20527
20528 Add integration with gcc's -ffinite-math-only and optimize wrapper
20529 functions in libm.
20530 * Versions.def: Define GLIBC_2.15 version for libm.
20531 * math/Makefile (headers): Add bits/math-finite.h.
20532 * math/bits/math-finite.h: New file.
20533 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20534 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20535 * math/e_acoshl.c: Add __*_finite alias.
20536 * math/e_acosl.c: Likewise.
20537 * math/e_asinl.c: Likewise.
20538 * math/e_atan2l.c: Likewise.
20539 * math/e_atanhl.c: Likewise.
20540 * math/e_coshl.c: Likewise.
20541 * math/e_exp10.c: Likewise.
20542 * math/e_exp10f.c: Likewise.
20543 * math/e_exp10l.c: Likewise.
20544 * math/e_exp2l.c: Likewise.
20545 * math/e_fmodl.c: Likewise.
20546 * math/e_gammal_r.c: Likewise.
20547 * math/e_hypotl.c: Likewise.
20548 * math/e_j0l.c: Likewise.
20549 * math/e_j1l.c: Likewise.
20550 * math/e_jnl.c: Likewise.
20551 * math/e_lgammal_r.c: Likewise.
20552 * math/e_log10l.c: Likewise.
20553 * math/e_log2l.c: Likewise.
20554 * math/e_logl.c: Likewise.
20555 * math/e_powl.c: Likewise.
20556 * math/e_sinhl.c: Likewise.
20557 * math/e_sqrtl.c: Likewise.
20558 * math/e_scalb.c: Completely rewritten and optimized.
20559 * math/e_scalbf.c: Likewise.
20560 * math/e_scalbl.c: Likewise.
20561 * math/w_acos.c: Likewise.
20562 * math/w_acosf.c: Likewise.
20563 * math/w_acosl.c: Likewise.
20564 * math/w_acosh.c: Likewise.
20565 * math/w_acoshf.c: Likewise.
20566 * math/w_acoshl.c: Likewise.
20567 * math/w_asin.c: Likewise.
20568 * math/w_asinf.c: Likewise.
20569 * math/w_asinl.c: Likewise.
20570 * math/w_atan2.c: Likewise.
20571 * math/w_atan2f.c: Likewise.
20572 * math/w_atan2l.c: Likewise.
20573 * math/w_atanh.c: Likewise.
20574 * math/w_atanhf.c: Likewise.
20575 * math/w_atanhl.c: Likewise.
20576 * math/w_exp10.c: Likewise.
20577 * math/w_exp10f.c: Likewise.
20578 * math/w_exp10l.c: Likewise.
20579 * math/w_fmod.c: Likewise.
20580 * math/w_fmodf.c: Likewise.
20581 * math/w_fmodl.c: Likewise.
20582 * math/w_j0.c: Likewise.
20583 * math/w_j0f.c: Likewise.
20584 * math/w_j0l.c: Likewise.
20585 * math/w_j1.c: Likewise.
20586 * math/w_j1f.c: Likewise.
20587 * math/w_j1l.c: Likewise.
20588 * math/w_jn.c: Likewise.
20589 * math/w_jnf.c: Likewise.
20590 * math/w_log.c: Likewise.
20591 * math/w_logf.c: Likewise.
20592 * math/w_logl.c: Likewise.
20593 * math/w_log10.c: Likewise.
20594 * math/w_log10f.c: Likewise.
20595 * math/w_log10l.c: Likewise.
20596 * math/w_log2.c: Likewise.
20597 * math/w_log2f.c: Likewise.
20598 * math/w_log2l.c: Likewise.
20599 * math/w_pow.c: Likewise.
20600 * math/w_powf.c: Likewise.
20601 * math/w_powl.c: Likewise.
20602 * math/w_remainder.c: Likewise.
20603 * math/w_remainderf.c: Likewise.
20604 * math/w_remainderl.c: Likewise.
20605 * math/w_scalb.c: Likewise.
20606 * math/w_scalbf.c: Likewise.
20607 * math/w_scalbl.c: Likewise.
20608 * math/w_sqrt.c: Likewise.
20609 * math/w_sqrtf.c: Likewise.
20610 * math/w_sqrtl.c: Likewise.
20611 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20612 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20613 used.
20614 * math/math_private.h: Declare __kernel_standard_f.
20615 * math/w_cosh.c: Remove cruft and optimize a bit.
20616 * math/w_coshf.c: Likewise.
20617 * math/w_coshl.c: Likewise.
20618 * math/w_exp2.c: Likewise.
20619 * math/w_exp2f.c: Likewise.
20620 * math/w_exp2l.c: Likewise.
20621 * math/w_hypot.c: Likewise.
20622 * math/w_hypotf.c: Likewise.
20623 * math/w_hypotl.c: Likewise.
20624 * math/w_lgamma.c: Likewise.
20625 * math/w_lgamma_r.c: Likewise.
20626 * math/w_lgammaf.c: Likewise.
20627 * math/w_lgammaf_r.c: Likewise.
20628 * math/w_lgammal.c: Likewise.
20629 * math/w_lgammal_r.c: Likewise.
20630 * math/w_sinh.c: Likewise.
20631 * math/w_sinhf.c: Likewise.
20632 * math/w_sinhl.c: Likewise.
20633 * math/w_tgamma.c: Likewise.
20634 * math/w_tgammaf.c: Likewise.
20635 * math/w_tgammal.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20637 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20638 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20639 Minor optimizations. Pretty printing. Remove cruft.
20640 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20641 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20643 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20644 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20645 * sysdeps/i386/fpu/e_asin.S: Likewise.
20646 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20647 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20648 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20649 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20652 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20653 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20654 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20655 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20656 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20657 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20658 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20659 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20660 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20661 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20662 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20663 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20664 * sysdeps/i386/fpu/e_log.S: Likewise.
20665 * sysdeps/i386/fpu/e_log10.S: Likewise.
20666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20667 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20668 * sysdeps/i386/fpu/e_log2.S: Likewise.
20669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20670 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20671 * sysdeps/i386/fpu/e_logf.S: Likewise.
20672 * sysdeps/i386/fpu/e_logl.S: Likewise.
20673 * sysdeps/i386/fpu/e_pow.S: Likewise.
20674 * sysdeps/i386/fpu/e_powf.S: Likewise.
20675 * sysdeps/i386/fpu/e_powl.S: Likewise.
20676 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20677 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20678 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20679 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20680 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20682 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20683 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20684 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20685 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20689 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20690 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20704 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20706 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20709 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20711 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20712 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20713 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20723 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20724 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20726 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20727 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20731 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20732 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20743 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20764 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20766 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20767 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20770 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20773 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20776 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20777 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20778 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20779 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20780 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20781 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20782 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20783 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20784 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20785 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20786 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20787 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20788 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20789 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20790 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20791 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20793 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20795 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20796 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20797 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20798 (__isnanf): Likewise.
20799 (__isinf_ns): Likewise.
20800 (__isinf_nsf): Likewise.
20801 (__finite): Likewise.
20802 (__finitef): Likewise.
20803 (__ieee754_sqrt): Define as macro.
20804 (__ieee754_sqrtf): Define as macro.
20805 (__ieee754_sqrtl): Define as macro.
20806 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20807 inlined copy.
20808 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20809 __FINITE_MATH_ONLY__ consistent.
20810 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20811
12cc2fcd
AS
208122011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20813
a843a204
AS
20814 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20815 of rawmemchr.
20816
12cc2fcd
AS
20817 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20818
c853acd5
UD
208192011-10-09 Ulrich Drepper <drepper@gmail.com>
20820
20821 * po/ja.po: Update from translation team.
20822
c658d255
RM
208232011-10-08 Roland McGrath <roland@hack.frob.com>
20824
110946e4
RM
20825 * locale/programs/locarchive.c (prepare_address_space): New function.
20826 (create_archive, enlarge_archive, open_archive): Use it.
20827
50604220
RM
20828 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20829 inside [SHARED], where it is used.
20830
c658d255
RM
20831 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20832
20833 * nss/getent.c (netgroup_keys): Remove unused variable.
20834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20835
6a621eb7
UD
208362011-10-08 Ulrich Drepper <drepper@gmail.com>
20837
7edb55ce
UD
20838 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20839 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20842 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20843 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20844 * math/Makefile (libm-calls): Add s_isinf_ns.
20845 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20846 * math/multc3.c: Likewise.
20847 * math/s_casin.c: Likewise.
20848 * math/s_casinf.c: Likewise.
20849 * math/s_casinl.c: Likewise.
20850 * math/s_ccos.c: Likewise.
20851 * math/s_ccosf.c: Likewise.
20852 * math/s_ccosl.c: Likewise.
20853 * math/s_ctan.c: Likewise.
20854 * math/s_ctanf.c: Likewise.
20855 * math/s_ctanh.c: Likewise.
20856 * math/s_ctanhf.c: Likewise.
20857 * math/s_ctanhl.c: Likewise.
20858 * math/s_ctanl.c: Likewise.
20859 * math/w_fmod.c: Likewise.
20860 * math/w_fmodf.c: Likewise.
20861 * math/w_fmodl.c: Likewise.
20862 * math/w_remainder.c: Likewise.
20863 * math/w_remainderf.c: Likewise.
20864 * math/w_remainderl.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20866 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20869 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20870 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20871 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20872 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20873
187da0ae
UD
20874 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20875 of the number.
20876 * stdio-common/printf_fphex.c: Likewise.
20877 * stdio-common/printf_size.c: Likewise.
20878
9277c064
UD
20879 * math/e_exp10.c: Include math_private.h using <...> not "...".
20880 * math/e_exp10f.c: Likewise.
20881 * math/e_exp10l.c: Likewise.
20882 * math/e_exp2l.c: Likewise.
20883 * math/e_j0l.c: Likewise.
20884 * math/e_j1l.c: Likewise.
20885 * math/e_jnl.c: Likewise.
20886 * math/e_lgammal_r.c: Likewise.
20887 * math/e_rem_pio2l.c: Likewise.
20888 * math/e_scalb.c: Likewise.
20889 * math/e_scalbf.c: Likewise.
20890 * math/e_scalbl.c: Likewise.
20891 * math/k_cosl.c: Likewise.
20892 * math/k_sinl.c: Likewise.
20893 * math/k_tanl.c: Likewise.
20894 * math/s_cacoshf.c: Likewise.
20895 * math/s_catan.c: Likewise.
20896 * math/s_catanf.c: Likewise.
20897 * math/s_catanh.c: Likewise.
20898 * math/s_catanhf.c: Likewise.
20899 * math/s_catanhl.c: Likewise.
20900 * math/s_catanl.c: Likewise.
20901 * math/s_ccosh.c: Likewise.
20902 * math/s_ccoshf.c: Likewise.
20903 * math/s_ccoshl.c: Likewise.
20904 * math/s_cexp.c: Likewise.
20905 * math/s_cexpf.c: Likewise.
20906 * math/s_cexpl.c: Likewise.
20907 * math/s_clog.c: Likewise.
20908 * math/s_clog10.c: Likewise.
20909 * math/s_clog10f.c: Likewise.
20910 * math/s_clog10l.c: Likewise.
20911 * math/s_clogf.c: Likewise.
20912 * math/s_clogl.c: Likewise.
20913 * math/s_csin.c: Likewise.
20914 * math/s_csinf.c: Likewise.
20915 * math/s_csinh.c: Likewise.
20916 * math/s_csinhf.c: Likewise.
20917 * math/s_csinhl.c: Likewise.
20918 * math/s_csinl.c: Likewise.
20919 * math/s_csqrt.c: Likewise.
20920 * math/s_csqrtf.c: Likewise.
20921 * math/s_csqrtl.c: Likewise.
20922 * math/s_ctan.c: Likewise.
20923 * math/s_ctanf.c: Likewise.
20924 * math/s_ctanh.c: Likewise.
20925 * math/s_ctanhf.c: Likewise.
20926 * math/s_ctanhl.c: Likewise.
20927 * math/s_ctanl.c: Likewise.
20928 * math/s_ldexp.c: Likewise.
20929 * math/s_ldexpf.c: Likewise.
20930 * math/s_ldexpl.c: Likewise.
20931 * math/s_significand.c: Likewise.
20932 * math/s_significandf.c: Likewise.
20933 * math/s_significandl.c: Likewise.
20934 * math/w_acos.c: Likewise.
20935 * math/w_acosf.c: Likewise.
20936 * math/w_acosh.c: Likewise.
20937 * math/w_acoshf.c: Likewise.
20938 * math/w_acoshl.c: Likewise.
20939 * math/w_acosl.c: Likewise.
20940 * math/w_asin.c: Likewise.
20941 * math/w_asinf.c: Likewise.
20942 * math/w_asinl.c: Likewise.
20943 * math/w_atan2.c: Likewise.
20944 * math/w_atan2f.c: Likewise.
20945 * math/w_atan2l.c: Likewise.
20946 * math/w_atanh.c: Likewise.
20947 * math/w_atanhf.c: Likewise.
20948 * math/w_atanhl.c: Likewise.
20949 * math/w_cosh.c: Likewise.
20950 * math/w_coshf.c: Likewise.
20951 * math/w_coshl.c: Likewise.
20952 * math/w_dremf.c: Likewise.
20953 * math/w_exp10.c: Likewise.
20954 * math/w_exp10f.c: Likewise.
20955 * math/w_exp10l.c: Likewise.
20956 * math/w_exp2.c: Likewise.
20957 * math/w_exp2f.c: Likewise.
20958 * math/w_fmod.c: Likewise.
20959 * math/w_fmodf.c: Likewise.
20960 * math/w_fmodl.c: Likewise.
20961 * math/w_hypot.c: Likewise.
20962 * math/w_hypotf.c: Likewise.
20963 * math/w_hypotl.c: Likewise.
20964 * math/w_j0.c: Likewise.
20965 * math/w_j0f.c: Likewise.
20966 * math/w_j0l.c: Likewise.
20967 * math/w_j1.c: Likewise.
20968 * math/w_j1f.c: Likewise.
20969 * math/w_j1l.c: Likewise.
20970 * math/w_jn.c: Likewise.
20971 * math/w_jnf.c: Likewise.
20972 * math/w_jnl.c: Likewise.
20973 * math/w_lgamma.c: Likewise.
20974 * math/w_lgamma_r.c: Likewise.
20975 * math/w_lgammaf.c: Likewise.
20976 * math/w_lgammaf_r.c: Likewise.
20977 * math/w_lgammal.c: Likewise.
20978 * math/w_lgammal_r.c: Likewise.
20979 * math/w_log.c: Likewise.
20980 * math/w_log10.c: Likewise.
20981 * math/w_log10f.c: Likewise.
20982 * math/w_log10l.c: Likewise.
20983 * math/w_log2.c: Likewise.
20984 * math/w_log2f.c: Likewise.
20985 * math/w_log2l.c: Likewise.
20986 * math/w_logf.c: Likewise.
20987 * math/w_logl.c: Likewise.
20988 * math/w_pow.c: Likewise.
20989 * math/w_powf.c: Likewise.
20990 * math/w_powl.c: Likewise.
20991 * math/w_remainder.c: Likewise.
20992 * math/w_remainderf.c: Likewise.
20993 * math/w_remainderl.c: Likewise.
20994 * math/w_scalb.c: Likewise.
20995 * math/w_scalbf.c: Likewise.
20996 * math/w_scalbl.c: Likewise.
20997 * math/w_sinh.c: Likewise.
20998 * math/w_sinhf.c: Likewise.
20999 * math/w_sinhl.c: Likewise.
21000 * math/w_sqrt.c: Likewise.
21001 * math/w_sqrtf.c: Likewise.
21002 * math/w_sqrtl.c: Likewise.
21003 * math/w_tgamma.c: Likewise.
21004 * math/w_tgammaf.c: Likewise.
21005 * math/w_tgammal.c: Likewise.
21006
6a621eb7
UD
21007 * po/ja.po: Update from translation team.
21008
bf582445
AJ
210092011-09-29 Andreas Jaeger <aj@suse.de>
21010
f9efbf3a
AJ
21011 [BZ #13179]
21012 * sunrpc/netname.c (netname2host): Fix logic.
21013
bf582445
AJ
21014 [BZ #6779]
21015 [BZ #6783]
21016 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21017 correctly.
21018 * math/w_remainder.c (__remainder): Likewise.
21019 * math/w_remainderf.c (__remainderf): Likewise.
21020 * math/libm-test.inc (remainder_test): Add test cases.
21021
48693bea
AK
210222011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21023
21024 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21025 sdiv_qrnnd.
21026
42622229
LD
210272011-10-07 Ulrich Drepper <drepper@gmail.com>
21028
21029 * string/test-memcmp.c: Avoid unncessary #defines.
21030 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21031
093ecf92
LD
210322011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21033
21034 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21035 Use new sse2 version for core i3 - i7 as it's faster
21036 than sse42 version.
21037 (bit_Prefer_PMINUB_for_stringop): New.
21038 * sysdeps/x86_64/rawmemchr.S: Update.
21039 Replace with faster SSE2 version.
21040 * sysdeps/x86_64/memrchr.S: New file.
21041 * sysdeps/x86_64/memchr.S: Update.
21042 Replace with faster SSE2 version.
21043
fde56e5c
MP
210442011-09-12 Marek Polacek <mpolacek@redhat.com>
21045
21046 * elf/dl-load.c (lose): Add cast to avoid warning.
21047
21fd49a9
UD
210482011-10-07 Ulrich Drepper <drepper@gmail.com>
21049
5a06e643
UD
21050 * po/ca.po: Update from translation team.
21051
684ae515
UD
21052 * inet/getnetgrent_r.c: Hook up nscd.
21053 * nscd/Makefile (routines): Add nscd_netgroup.
21054 (nscd-modules): Add netgroupcache.
21055 (CFLAGS-netgroupcache.c): Define.
21056 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21057 (cache_search): Add const to second parameter.
21058 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21059 INNETGR.
21060 (dbs): Add netgrdb entry.
21061 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21062 (verify_persistent_db): Handle netgrdb.
21063 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21064 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21065 GETFDNETGR.
21066 (netgroup_response_header): Define.
21067 (innetgroup_response_header): Define.
21068 (datahead): Add netgroup_response_header and innetgroup_response_header
21069 elements.
21070 * nscd/nscd.conf: Add entries for netgroup cache.
21071 * nscd/nscd.h (dbtype): Add netgrdb.
21072 (_PATH_NSCD_NETGROUP_DB): Define.
21073 (netgroup_iov_disabled): Declare.
21074 (xmalloc, xcalloc, xrealloc): Move declarations here.
21075 (cache_search): Adjust prototype.
21076 Add netgroup-related prototypes.
21077 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21078 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21079 (__nscd_innetgr): Declare.
21080 * nscd/selinux.c (perms): Use access_vector_t as element type and
21081 add netgroup-related initializers.
21082 * nscd/netgroupcache.c: New file.
21083 * nscd/nscd_netgroup.c: New file.
21084 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21085 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21086 For four parameters use innetgr.
21087 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21088 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21089 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21090 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21091
21fd49a9
UD
21092 * nscd/connections.c (register_traced_file): Don't register file
21093 for disabled databases.
21094
054c0457
UD
210952011-10-06 Ulrich Drepper <drepper@gmail.com>
21096
32b63198
UD
21097 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21098
054c0457
UD
21099 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21100 from tree and freeing node.
21101
64031225
JO
211022011-09-25 Jiri Olsa <jolsa@redhat.com>
21103
21104 * nss/nsswitch.c (__nss_database_lookup): Handle
21105 nss_parse_service_list out of memory case.
21106
0490345c
JO
211072011-09-15 Jiri Olsa <jolsa@redhat.com>
21108
21109 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21110 out of memory case.
21111
3a62d00d
AS
211122011-10-04 Andreas Schwab <schwab@redhat.com>
21113
21114 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21115 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21116 pass it down.
21117 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21118 elf_machine_rela, elf_machine_lazy_rel.
21119 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21120 (ELF_DYNAMIC_DO_REL): Likewise.
21121 (ELF_DYNAMIC_DO_RELA): Likewise.
21122 (ELF_DYNAMIC_RELOCATE): Likewise.
21123 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21124 to ELF_DYNAMIC_DO_REL.
21125 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21126 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21127 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21128 elf_machine_rela.
21129 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21130 skip_ifunc, don't call ifunc function if non-zero.
21131 (elf_machine_rela): Likewise.
21132 (elf_machine_lazy_rel): Likewise.
21133 (elf_machine_lazy_rela): Likewise.
21134 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21135 (elf_machine_lazy_rel): Likewise.
21136 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21137 Likewise.
21138 (elf_machine_lazy_rel): Likewise.
21139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21140 Likewise.
21141 (elf_machine_lazy_rel): Likewise.
21142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21143 (elf_machine_lazy_rel): Likewise.
21144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21145 (elf_machine_lazy_rel): Likewise.
21146 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21147 (elf_machine_lazy_rel): Likewise.
21148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21149 (elf_machine_lazy_rel): Likewise.
21150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21151 (elf_machine_lazy_rel): Likewise.
21152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21153 (elf_machine_lazy_rel): Likewise.
21154
68577918
UD
211552011-09-28 Ulrich Drepper <drepper@gmail.com>
21156
21157 * nss/nss_files/files-init.c (_nss_files_init): Use static
21158 initialization for all the *_traced_file variables.
21159
68822d74
AS
211602011-09-28 Andreas Schwab <schwab@redhat.com>
21161
21162 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21163
2056100b
RM
211642011-09-27 Roland McGrath <roland@hack.frob.com>
21165
21166 [BZ #13226]
21167 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21168
32c76b63
AS
211692011-09-27 Andreas Schwab <schwab@redhat.com>
21170
21171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21172 Reread the line before reparsing it.
21173
bf972c9d
AS
211742011-09-26 Andreas Schwab <schwab@redhat.com>
21175
21176 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21177
e057a1b5
JM
211782011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21179 Maxim Kuvyrkov <maxim@codesourcery.com>
21180 Joseph Myers <joseph@codesourcery.com>
21181
21182 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21183 if needed for __stack_chk_guard.
21184
bc7e1c36
RM
211852011-09-19 Roland McGrath <roland@hack.frob.com>
21186
ecb1482f
RM
21187 * sysdeps/posix/spawni.c (script_execute): Always define it.
21188 It will be optimized away if unused.
21189 (maybe_script_execute): New function.
21190 (__spawni): Call it.
21191
bc7e1c36
RM
21192 * Makerules: Don't include tls.make.
21193 (config-tls): Always set to thread.
21194 * tls.make.c: File removed.
21195
1c3b002b
MF
211962011-09-19 Mike Frysinger <vapier@gentoo.org>
21197
21198 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21199 * config.make.in (CPPFLAGS-config): New substituted variable.
21200
2840865d
UD
212012011-09-15 Ulrich Drepper <drepper@gmail.com>
21202
88738eb6
UD
21203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21204
cbf645a6 21205 [BZ #13192]
2840865d
UD
21206 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21207 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21208
b402e91a
RM
212092011-09-15 Roland McGrath <roland@hack.frob.com>
21210
21211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21212 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21214 (CALL_FAIL): Likewise.
21215 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21216 (CALL_FAIL): Macro removed.
21217 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21218
4c1a1f71
UD
212192011-09-15 Ulrich Drepper <drepper@gmail.com>
21220
21221 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21222 for __FINITE_MATH_ONLY__ == 1.
21223
edc121be
AS
212242011-09-15 Andreas Schwab <schwab@redhat.com>
21225
21226 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21227 __ieee754_sqrt instead of sqrt.
21228 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21229 __ieee754_sqrtf instead of sqrtf.
21230 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21231 __floorf instead of floorf.
21232 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21233 __floorf, __truncf instead of floorf, truncf.
21234
cd205654
UD
212352011-09-14 Ulrich Drepper <drepper@gmail.com>
21236
ee4d0315
UD
21237 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21238
cd205654
UD
21239 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21240 __extern_always_inline.
21241 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21242 32-bit.
21243
48b67d71
AS
212442011-09-14 Andreas Schwab <schwab@redhat.com>
21245
21246 * elf/rtld.c (dl_main): Also relocate in dependency order when
21247 doing symbol dependency testing.
21248
1ae12c75
AS
212492011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21250
21251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21252 Always define `refsym'.
21253
995a80df
AS
212542011-09-13 Andreas Schwab <schwab@redhat.com>
21255
e529793b
AS
21256 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21257 (__FD_ELT): Renamed from __FDELT.
21258 * misc/bits/select2.h (__FD_ELT): Likewise.
21259 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21260 __FD_MASK instead of __FDELT, __FDMASK.
21261 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21262 Likewise.
21263 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21264 Likewise.
21265
52d4fef8
AS
21266 * elf/Makefile (gen-ldd): Fix pattern.
21267
995a80df
AS
21268 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21269 (init_tls): Likewise.
21270
8682f8b0
UD
212712011-09-12 Ulrich Drepper <drepper@gmail.com>
21272
21273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21274
de82006d
AS
212752011-09-12 Andreas Schwab <schwab@redhat.com>
21276
a7c8e6a1
AS
21277 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21278 `struct cmsghdr *' instead of `void *'.
21279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21280 Likewise.
21281
0f31fe77
AS
212822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21283
21284 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21285 if non-absolute.
21286 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21287 ldd_rewrite_script.
0f31fe77 21288
32b4c839
UD
212892011-09-11 Ulrich Drepper <drepper@gmail.com>
21290
83cd1420
UD
21291 * configure.in: Remove --with-tls option.
21292 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21293 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21294 out in case it is missing.
21295 * sysdeps/ia64/elf/configure.in: Likewise.
21296 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21297 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21298 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21299 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21300 * sysdeps/sh/elf/configure.in: Likewise.
21301 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21302 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21303 * sysdeps/x86_64/elf/configure.in: Likewise.
21304 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21305 * sysdeps/mach/hurd/tls.h: Likewise.
21306
633f745d
UD
21307 [BZ #13067]
21308 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21309
f318beb8
UD
21310 [BZ #13090]
21311 * configure.in: Fix use of AC_INIT.
21312
32b4c839
UD
21313 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21314
3ce1f295
UD
213152011-09-10 Ulrich Drepper <drepper@gmail.com>
21316
bb016596
UD
21317 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21318 __set_errno.
8e58439c
UD
21319 * malloc/hooks.c: Likewise.
21320
aebae053 21321 [BZ #11929]
02d46fc4
UD
21322 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21323 variables statically.
21324 (narenas): Initialize.
21325 (list_lock): Initialize.
bb016596
UD
21326 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21327 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21328 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21329 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21330 Add initializers to main_arena and mp_.
21331 (malloc_state): Remove pagesize member. Change all users to use
21332 GLRO(dl_pagesize).
21333
21334 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21335 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21336 is always initialized.
21337
22a89187
UD
21338 * malloc/malloc.c: Removed unused configurations and dead code.
21339 * malloc/arena.c: Likewise.
21340 * malloc/hooks.c: Likewise.
02d46fc4 21341 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21342
d063d164
UD
21343 * include/tls.h: Removed. USE___THREAD must always be defined.
21344 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21345 * elf/dl-libc.c: Likewise.
21346 * elf/dl-tsd.c: Likewise.
21347 * include/errno.h: Likewise.
21348 * include/netdb.h: Likewise.
21349 * include/resolv.h: Likewise.
21350 * inet/herrno-loc.c: Likewise.
21351 * inet/herrno.c: Likewise.
21352 * malloc/arena.c: Likewise.
21353 * malloc/hooks.c: Likewise.
21354 * malloc/malloc.c: Likewise.
21355 * resolv/res-state.c: Likewise.
21356 * resolv/res_libc.c: Likewise.
21357 * sysdeps/i386/dl-machine.h: Likewise.
21358 * sysdeps/ia64/dl-machine.h: Likewise.
21359 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21360 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21361 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21362 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21363 * sysdeps/sh/dl-machine.h: Likewise.
21364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21365 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21366 * sysdeps/unix/i386/sysdep.S: Likewise.
21367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21368 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21373 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21378 * sysdeps/x86_64/dl-machine.h: Likewise.
21379 * tls.make.c: Likewise.
21380
3ce1f295
UD
21381 * configure.in: Remove --with-__thread option. Make tests for
21382 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21383 tls_model attribute fail if no support is available. Remove
21384 USE_IN_LIBIO.
21385 * Makeconfig: Adjust for dropped configure option. All features are
21386 now mandatory.
21387 * Makerules: Likewise.
21388 * Versions.def: Likewise.
21389 * argp/argp-fmtstream.c: Likewise.
21390 * argp/argp-fmtstream.h: Likewise.
21391 * argp/argp-help.c: Likewise.
21392 * assert/assert.c: Likewise.
21393 * config.h.in: Likewise.
21394 * config.make.in: Likewise.
21395 * configure: Likewise.
21396 * configure.in: Likewise.
21397 * csu/Versions: Likewise.
21398 * csu/init.c: Likewise.
21399 * elf/tst-audit2.c: Likewise.
21400 * elf/tst-tls10.c: Likewise.
21401 * elf/tst-tls10.h: Likewise.
21402 * elf/tst-tls11.c: Likewise.
21403 * elf/tst-tls12.c: Likewise.
21404 * elf/tst-tls14.c: Likewise.
21405 * elf/tst-tlsmod11.c: Likewise.
21406 * elf/tst-tlsmod12.c: Likewise.
21407 * elf/tst-tlsmod13.c: Likewise.
21408 * elf/tst-tlsmod13a.c: Likewise.
21409 * elf/tst-tlsmod14a.c: Likewise.
21410 * elf/tst-tlsmod15b.c: Likewise.
21411 * elf/tst-tlsmod16a.c: Likewise.
21412 * elf/tst-tlsmod16b.c: Likewise.
21413 * elf/tst-tlsmod7.c: Likewise.
21414 * elf/tst-tlsmod8.c: Likewise.
21415 * elf/tst-tlsmod9.c: Likewise.
21416 * gmon/gmon.c: Likewise.
21417 * grp/fgetgrent_r.c: Likewise.
21418 * grp/putgrent.c: Likewise.
21419 * hurd/fopenport.c: Likewise.
21420 * include/libc-symbols.h: Likewise.
21421 * include/tls.h: Likewise.
21422 * intl/gettextP.h: Likewise.
21423 * intl/loadinfo.h: Likewise.
21424 * locale/global-locale.c: Likewise.
21425 * locale/localeinfo.h: Likewise.
21426 * mach/devstream.c: Likewise.
21427 * malloc/arena.c: Likewise.
21428 * malloc/set-freeres.c: Likewise.
21429 * misc/err.c: Likewise.
21430 * misc/getttyent.c: Likewise.
21431 * misc/mntent_r.c: Likewise.
21432 * posix/getopt.c: Likewise.
21433 * posix/wordexp.c: Likewise.
21434 * pwd/fgetpwent_r.c: Likewise.
21435 * resolv/Versions: Likewise.
21436 * resolv/res_hconf.c: Likewise.
21437 * shadow/fgetspent_r.c: Likewise.
21438 * shadow/putspent.c: Likewise.
21439 * stdio-common/printf_fphex.c: Likewise.
21440 * stdio-common/tmpfile.c: Likewise.
21441 * stdlib/abort.c: Likewise.
21442 * stdlib/fmtmsg.c: Likewise.
21443 * sunrpc/auth_unix.c: Likewise.
21444 * sunrpc/clnt_perr.c: Likewise.
21445 * sunrpc/clnt_tcp.c: Likewise.
21446 * sunrpc/clnt_udp.c: Likewise.
21447 * sunrpc/clnt_unix.c: Likewise.
21448 * sunrpc/openchild.c: Likewise.
21449 * sunrpc/svc_simple.c: Likewise.
21450 * sunrpc/svc_tcp.c: Likewise.
21451 * sunrpc/svc_udp.c: Likewise.
21452 * sunrpc/svc_unix.c: Likewise.
21453 * sunrpc/xdr.c: Likewise.
21454 * sunrpc/xdr_array.c: Likewise.
21455 * sunrpc/xdr_rec.c: Likewise.
21456 * sunrpc/xdr_ref.c: Likewise.
21457 * sunrpc/xdr_stdio.c: Likewise.
21458
1248c1c4
PB
214592011-09-09 Ulrich Drepper <drepper@gmail.com>
21460
21461 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21462
214632011-07-03 Andreas Jaeger <aj@suse.de>
21464
21465 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21466 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21467 regenerate with gen-libm-tests.pl.
21468
214692010-05-12 Petr Baudis <pasky@suse.cz>
21470
21471 [BZ #11589]
21472 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21473 around j0() zero points by switching to j1().
21474 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21478
f22e1074
UD
214792011-09-09 Ulrich Drepper <drepper@gmail.com>
21480
f19009c1
UD
21481 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21482 instead of 0.
21483 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21484 instead of 0.
f19009c1
UD
21485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21486 Patch in part by Pavel Roskin <proski@gnu.org>.
21487
3f8cc204
UD
21488 [BZ #13138]
21489 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21490 realloc.
21491 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21492 Free memory block if necessary.
21493
f22e1074
UD
21494 [BZ #12847]
21495 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21496 be NULL. Don't lock in this case.
21497
0a2349f9
RM
214982011-09-09 Roland McGrath <roland@hack.frob.com>
21499
21500 * elf/elf.h (ELFOSABI_GNU): New macro.
21501 (ELFOSABI_LINUX): Define to that.
21502
f3cdd467
DZ
215032011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21504
21505 * string/strncat.c (strncat): Undef the symbol in case it has been
21506 defined in bits/string.h.
21507
74718d13
UD
215082011-09-09 Ulrich Drepper <drepper@gmail.com>
21509
633e9e0f
UD
21510 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21511
0a2349f9 21512 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21513 link map.
21514
f9924780
AJ
215152011-08-17 Andreas Jaeger <aj@suse.de>
21516
21517 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21518
7f5517aa
PP
215192011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21520 Ian Lance Taylor <iant@google.com>
21521
21522 * math/libm-test.inc (lround_test): New testcase.
21523 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21524
762011fe
UD
215252011-09-08 Ulrich Drepper <drepper@gmail.com>
21526
92963737
UD
21527 * Makefile: Remove support for automatic cvs check-ins.
21528 * Makerules: Likewise.
21529 * config.make.in: Likewise.
21530 * configure.in: Likewise.
21531 * intl/Makefile: Likewise.
21532 * locale/Makefile: Likewise.
21533 * po/Makefile: Likewise.
21534 * posix/Makefile: Likewise.
21535 * sysdeps/gnu/Makefile: Likewise.
21536 * sysdeps/mach/hurd/Makefile: Likewise.
21537 * sysdeps/sparc/sparc32/Makefile: Likewise.
21538
b0727fd8
JS
21539 [BZ #13118]
21540 * posix/Makefile (bug-regex32-ENV): Define.
21541 Patch by John Stanley <jpsinthemix@verizon.net>.
21542
a0f33f99
UD
21543 * misc/Makefile (headers): Add bits/select2.h.
21544 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21545 * misc/bits/select2.h: New file.
21546 * include/bits/select2.h: New file.
21547 * debug/Makefile (routines): Add fdelt_chk.
21548 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21549 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21550 FD_ISSET.
21551 * debug/fdelt_chk.c: New file.
21552
762011fe
UD
21553 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21554 * wcsmbs/test-wmemcmp.c: Likewise.
21555 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21556 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21557
215582011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21559
21560 * string/Makefile (strop-tests): Add memcmp.
21561 * string/test-wmemcmp.c: New file.
21562 * string/test-memcmp.c: Add wmemcmp support.
21563
7f513ec8
RM
215642011-09-08 Roland McGrath <roland@hack.frob.com>
21565
0442afb4
RM
21566 [BZ #13153]
21567 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21568 2011-07-19 change.
21569
7f513ec8
RM
21570 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21571 garbage value in a __mach_port_mod_refs call in the cases of the
21572 task-self and thread-self ports.
21573
a12b2239
ST
215742011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21575
21576 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21577
610f9ab4
AS
215782011-09-08 Andreas Schwab <schwab@redhat.com>
21579
7f513ec8 21580 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21581
48882a1a
LD
215822011-09-07 Ulrich Drepper <drepper@gmail.com>
21583
b49865be
UD
21584 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21585
fdc86bc9
UD
21586 * elf/dl-libc.c (dlerror_run): Pass back error code from
21587 dl_catch_error.
21588
c966526a
UD
21589 [BZ #13123]
21590 * elf/dl-load.c (lose): Free l_origin if it is valid.
21591
48882a1a
LD
21592 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21593 names.
21594 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21597 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21598 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21599 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21600
77a2a8b4
AZ
216012011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21602
21603 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21604 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21605 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21606 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21607 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21608 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21609 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21610 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21611 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21612 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21613
24f579d8
AM
216142011-08-15 Alan Modra <amodra@gmail.com>
21615
21616 [BZ #13092]
21617 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21618 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21619 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21620 ppc_mcount to static-only-routines.
21621 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21622 __mcount_internal.
21623 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21624 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21625
3d4837df
UD
216262011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21627
21628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21629 for finite and infinity parameters.
21630
22700377
WS
216312011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21632
21633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21634 and add nop instructions for throughput optimization.
21635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21636
5025581e
WS
216372011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21638
21639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21640 aligned copy for power7 with vector-scalar instructions.
21641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21642
08a300c9
L
216432011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21644
21645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21646 AVX check.
21647
59178ef9
AS
216482011-09-07 Andreas Schwab <schwab@redhat.com>
21649
21650 [BZ #13144]
21651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21652 last change.
21653
e38ba7ab
UD
216542011-09-07 Ulrich Drepper <drepper@gmail.com>
21655
21656 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21657 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21658 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21659 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21660 clock_gettime.
21661
d53a73ac
UD
216622011-09-06 Ulrich Drepper <drepper@gmail.com>
21663
fc8bffcc
UD
21664 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21665 Forgot to demangle the pointer.
21666
ceaa0c5d
UD
21667 * sysdeps/i386/sysdep.h: Define atom_text_section.
21668 * sysdeps/x86_64/sysdep.h: Likewise.
21669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21670 section with atom_text_section.
21671 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21673 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21675 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21676
a77d3c17
UD
21677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21679 already be defined. Change to take two parameters and don't assign
21680 result to variable. Adjust all users.
21681 Define INTERNAL_GETTIME if not already defined.
21682 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21683 call.
21684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21685 HAVE_CLOCK_GETTIME_VSYSCALL.
21686 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21687
d53a73ac
UD
21688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21689 gettimeofday vsyscall, just use time.
21690
a8f84144
AS
216912011-09-06 Andreas Schwab <schwab@redhat.com>
21692
21693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21694 <errno.h>.
21695
ef606249
UD
216962011-09-06 Ulrich Drepper <drepper@gmail.com>
21697
21698 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21699 syscall on x86-64.
21700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21701 syscall.
21702 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21703 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21704 syscall if possible.
21705
6585cb60
UD
217062011-09-05 Ulrich Drepper <drepper@gmail.com>
21707
21708 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21709 e_ident. Don't pass to find_mapsXX.
21710 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21711
a5f524e4
LD
217122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21713
21714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21715 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21716 * sysdeps/x86_64/multiarch/strchr.S: Update.
21717 Check bit_slow_BSF bit.
21718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21720 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21721
554881ef
UD
217222011-09-05 Ulrich Drepper <drepper@gmail.com>
21723
d96de963
UD
21724 [BZ #13134]
21725 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21726 before glibc 2.15.
21727 (tryshell): Define.
21728 (__spawni): Change last parameter to be flag. Test
21729 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21730 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21731 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21732 * posix/spawni.c: Likewise.
21733 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21734 * posix/spawnp.c: Likewise. Change normal version to use
21735 SPAWN_XFLAGS_USE_PATH.
21736 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21737 SPAWN_XFLAGS_TRY_SHELL.
21738
d48e5868
UD
21739 [BZ #13150]
21740 * posix/glob.h: Remove gcc 1.x support.
21741
554881ef
UD
21742 [BZ #13068]
21743 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21744
693fb948
LD
217452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21746
21747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21748 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21749 strrchr-sse2-bsf
21750 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21751 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21752 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21754 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21755 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21756
1b48c537
UD
217572011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21758
49d42c37
UD
21759 * sysdeps/x86_64/wcscmp.S: New file.
21760
1b48c537
UD
21761 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21762 wcscmp-c wcscmp-sse2
21763 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21764 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21765 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21766 * wcsmbs/wcscmp.c: Allow renaming.
21767
15c95c5d
DM
217682011-09-05 David S. Miller <davem@davemloft.net>
21769
21770 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21771 stack slot, rather than the struct return pointer slot.
21772 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21773 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21775 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21776
2f0ad8f3
UD
217772011-09-05 Ulrich Drepper <drepper@gmail.com>
21778
d88ae418
UD
21779 * po/ja.po: Update from translation team.
21780
2f0ad8f3
UD
21781 [BZ #13144]
21782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21783 kernel in 64-bit binaries.
21784
5f4318d1
DM
217852011-09-01 David S. Miller <davem@davemloft.net>
21786
21787 * elf/elf.h (HWCAP_SPARC_*): Move to..
21788 * sysdeps/sparc/sysdep.h: this new file and add new values.
21789 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21790 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21791 _DL_HWCAP_COUNT to 24.
21792 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21793 entries.
21794 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21795 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21796 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21798 instead of magic constants.
21799 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21800
3ba57516
DM
218012011-08-31 David S. Miller <davem@davemloft.net>
21802
21803 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21805 Reimplement to do errno handling inline.
21806 (SYSCALL_ERROR_HANDLER): New macro.
21807 (__SYSCALL_STRING): Do not do errno handling in asm.
21808 (__CLONE_SYSCALL_STRING): Delete.
21809 (__INTERNAL_SYSCALL_STRING): Delete.
21810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21811 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21812 (PSEUDO): Reimplement to do errno handling inline.
21813 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21814 (SYSCALL_ERROR_HANDLER): New macro.
21815 (__SYSCALL_STRING): Do not do errno handling in asm.
21816 (__CLONE_SYSCALL_STRING): Delete.
21817 (__INTERNAL_SYSCALL_STRING): Delete.
21818 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21819 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21820 i386.
21821 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21822 (inline_syscall*): Add 'err' argument.
21823 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21824 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21825 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21826 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21827
21828 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21829 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21830
2bc17433
AS
218312011-08-30 Andreas Schwab <schwab@redhat.com>
21832
21833 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21834
fbeb5f4d
JO
218352011-08-29 Jiri Olsa <jolsa@redhat.com>
21836
21837 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21838 directive.
21839
ad69cc26
DM
218402011-08-24 David S. Miller <davem@davemloft.net>
21841
21842 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21843
39dd69df
AS
218442011-08-24 Andreas Schwab <schwab@redhat.com>
21845
21846 * elf/Makefile: Add rules to build and run unload8 test.
21847 * elf/unload8.c: New file.
21848 * elf/unload8mod1.c: New file.
21849 * elf/unload8mod1x.c: New file.
21850 * elf/unload8mod2.c: New file.
21851 * elf/unload8mod3.c: New file.
21852
21853 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21854 it wasn't used.
21855
2c0b250a
DM
218562011-08-23 David S. Miller <davem@davemloft.net>
21857
21858 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21859 subtract stack bias.
21860 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21861 %sp not %fp in calculations.
21862 (_JMPBUF_UNWINDS_ADJ): Likewise.
21863
22044b48
DM
21864 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21865 (aio_suspend): Call it to force an exception region around the
21866 AIO_MISC_WAIT() invocation.
21867
2cae4995
AS
218682011-08-23 Andreas Schwab <schwab@redhat.com>
21869
21870 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21871 backslash.
21872
873a772e
AJ
218732011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21874
21875 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21876 protection macro.
21877 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21878 and <dl-machine.h>.
21879 (Elf64_FuncDesc): Remove.
21880
25ad0df1
DM
218812011-08-22 David S. Miller <davem@davemloft.net>
21882
21883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21884 sigaltstack check, add missing cfi directives.
21885 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21886 missing cfi directives, and sigaltstack handling.
21887
e888bcbe
AS
218882011-08-16 Andreas Schwab <schwab@redhat.com>
21889
21890 [BZ #11724]
21891 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21892 object is seen twice.
21893 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21894
21895 * elf/Makefile (distribute): Add tst-initorder2.c.
21896 (tests): Add tst-initorder2.
21897 (modules-names): Add tst-initorder2a tst-initorder2b
21898 tst-initorder2c tst-initorder2d. Add rules to build them.
21899 ($(objpfx)tst-initorder2.out): New rule.
21900 * elf/tst-initorder2.c: New file.
21901 * elf/tst-initorder2.exp: New file.
21902
87162f46
AS
219032011-08-22 Andreas Schwab <schwab@redhat.com>
21904
70538b7f
AS
21905 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21906
f55ffe58
AS
21907 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21908 dependencies back to end of function.
21909
87162f46
AS
21910 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21911 $(elfobjdir)/ld.so.
21912
91b392a4
UD
219132011-08-21 Ulrich Drepper <drepper@gmail.com>
21914
21915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21916 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21918 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21919 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21920 of __vdso_gettimeofday.
21921 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21922 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21923 attribute_hidden.
21924 (_libc_vdso_platform_setup): Remove initialization of
21925 __vdso_gettimeofday and __vdso_time.
21926
5c43483f
UD
219272011-08-20 Ulrich Drepper <drepper@gmail.com>
21928
775a77e7
UD
21929 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21930 and fgetc_unlocked.
21931 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21932 getc_unlocked.
89f447ed 21933
49c74ba9
UD
21934 * elf/dl-open.c (add_to_global): Report additions to the global scope
21935 for LD_DEBUG=scopes.
21936 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21937 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21938
5c43483f
UD
21939 [BZ #13114]
21940 * stdio-common/Makefile (tests): Add bug24.
21941 * stdio-common/bug24.c: New file.
21942
a101b025
AJ
219432011-08-19 Andreas Jaeger <aj@suse.de>
21944
21945 [BZ #13114]
21946 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21947 non-existant file when using close-on-exec mode.
21948
c88f1766
UD
219492011-08-20 Ulrich Drepper <drepper@gmail.com>
21950
0276a718
UD
21951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21952 the very first instruction.
21953
c88f1766
UD
21954 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21955 the CFI state in the end.
21956 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21957 inclusion of dl-trampoline.h.
21958 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21959
51ccffa0
AS
219602011-08-19 Andreas Schwab <schwab@redhat.com>
21961
94d7165f
AS
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21963 expectations for long double.
21964
51ccffa0
AS
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21966 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21967
fd708658 219682011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21969
21970 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21971 artificual limit depends upon the system page size.
21972
44f0a71e
UD
219732011-08-17 Ulrich Drepper <drepper@gmail.com>
21974
21975 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21976 * resolv/Makefile: Define CFLAGS-libresolv.
21977
8de79a24
AS
219782011-08-17 Andreas Schwab <schwab@redhat.com>
21979
21980 * nss/makedb.c (compute_tables): Make variables used in nested
21981 function static.
21982
27724598
UD
219832011-08-17 Ulrich Drepper <drepper@gmail.com>
21984
c5305d88
UD
21985 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21986 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21987 if buffer was too small.
21988
27724598
UD
21989 * elf/pldd.c (main): Attach to all threads in the process.
21990 Rewrite /proc handling to use *at functions.
21991
076fe015
UD
219922011-08-16 Ulrich Drepper <drepper@gmail.com>
21993
174baab3
UD
21994 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21995 specifies first scope to show.
21996 (dl_open_worker): Update callers. Move printing scope of new
21997 object to before the relocation.
44f0a71e 21998 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21999 * sysdeps/generic/ldsodefs.h: Update declaration.
22000
076fe015
UD
22001 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22002 string for the scope number.
22003
a60df2c3
UD
220042011-08-14 Ulrich Drepper <drepper@gmail.com>
22005
22006 * nscd/servicescache.c (cache_addserv): Make sure written is always
22007 initialized.
22008
5e4287d1
RM
220092011-08-14 Roland McGrath <roland@hack.frob.com>
22010
85ae0589
RM
22011 * sysdeps/i386/i486/bits/atomic.h
22012 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22013 statement expression, so as to suppress "set but not used" warning.
22014 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22015
69f63097
RM
22016 * string/strncat.c (STRNCAT): Use prototype definition.
22017
675456ef
RM
22018 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22019 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22020 -Iprograms here.
22021 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22022 (localedef-modules): Add localedef.
22023 (locale-modules): Add locale.
22024
5e4287d1
RM
22025 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22026 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22027 to avoid a warning.
22028
9c96ff23
DM
220292011-08-14 David S. Miller <davem@davemloft.net>
22030
22031 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22032 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22033
f9ddf089
UD
220342011-08-13 Ulrich Drepper <drepper@gmail.com>
22035
44f0a71e 22036 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22037 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22038 * elf/rtld.c (dl_main): Set l_name of vDSO.
22039 Call _dl_show_scope when DL_DEBUG_SCOPES.
22040 (process_dl_debug): Recognize scopes flag and also set it for all.
22041 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22042 Declare _dl_show_scope.
22043
1dc27704
UD
22044 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22045 (do_dlopen): Pass caller_dlopen to dl_open.
22046 (__libc_dlopen_mode): Initialize caller_dlopen.
22047
f9ddf089
UD
22048 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22049 of libc. Make tolower call locale-independent. Optimize a bit by
22050 using isdigit instead of isalnum.
22051 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22052
9ac533d3
UD
220532011-08-12 Ulrich Drepper <drepper@gmail.com>
22054
22055 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22056 was a dependency or dynamically loaded.
22057
89edf2e9
UD
220582011-08-11 Ulrich Drepper <drepper@gmail.com>
22059
8e999d29
UD
22060 * intl/l10nflist.c: Allow architecture-specific pop function.
22061 * sysdeps/x86_64/l10nflist.c: New file.
22062
89edf2e9
UD
22063 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22064 classification.
22065
14d96785
AS
220662011-08-10 Andreas Schwab <schwab@redhat.com>
22067
22068 * include/dirent.h: Add libc_hidden_proto for scandirat and
22069 scandirat64. Don't declare __scandirat64.
22070 * dirent/scandirat.c: Add libc_hidden_def.
22071 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22072 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22073
6761ac04
DM
220742011-08-10 David S. Miller <davem@davemloft.net>
22075
22076 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22077 enum.
22078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22081
c55fbd1e
UD
220822011-08-09 Ulrich Drepper <drepper@gmail.com>
22083
22084 * Versions.def [libc]: Add GLIBC_2.15.
22085 * dirent/Makefile (routines): Add scandirat and scandirat64.
22086 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22087 GLIBC_2.15.
22088 * dirent/dirent.h: Declare scandirat and scandirat64.
22089 * dirent/scandirat.c: New file.
22090 * dirent/scandirat64.c: New file.
22091 * sysdeps/wordsize-64/scandirat.c: New file.
22092 * sysdeps/wordsize-64/scandirat64.c: New file.
22093 * dirent/opendir.c: Define opendirat.
22094 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22095 using scandirat.
22096 * dirent/scandir64.c: Adjust for scandir.c change.
22097 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22098 __scandirat64, and __scandir_cancel_handler.
22099 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22100 additional parameter and use openat instead of open (outside of ld.so).
22101 Add new __opendir as wrapper around __opendirat.
22102 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22103 here without requiring old scandirat implementation.
22104
879165f2
UD
221052011-08-08 Ulrich Drepper <drepper@gmail.com>
22106
22107 * dirent/scandir.c (cancel_handler): Renamed to
22108 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22109 defined. Adjust users.
22110 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22111 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22112
cb7e923b
UD
221132011-08-04 Ulrich Drepper <drepper@gmail.com>
22114
16292edd
UD
22115 * string/test-string.h (IMPL): Use __STRING to expand name and then
22116 stringify it.
22117
cb7e923b
UD
22118 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22119 of cleanups.
22120
cff82933
LD
221212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22122
22123 * string/Makefile: Update.
22124 (strop-tests): Append strncat.
22125 * string/test-wcscmp.c: New file.
22126 New comprehensive test for wcscmp.
22127 * string/test-strcmp.c: Update.
22128 (WIDE): New define.
22129
9be9bfcc
AS
221302011-07-22 Andreas Schwab <schwab@redhat.com>
22131
22132 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22133 line.
22134
2e96f1c7
AS
221352011-07-26 Andreas Schwab <schwab@redhat.com>
22136
22137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22138 encoding to ACE if AI_IDN.
22139
85188888
JJ
221402011-08-01 Jakub Jelinek <jakub@redhat.com>
22141
22142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22143 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22144
5fa16e9b
LD
221452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22146
22147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22148 Fix overflow bug in strncat.
22149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22150
22151 * string/test-strncat.c: Update.
22152 Add new tests for checking overflow bugs.
22153
221542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22155
22156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22157 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22158 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22159 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22161 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22162 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22163 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22164 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22165
22166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22167 (USE_AS_STRCAT): Define.
22168 Add strcat and strncat support.
22169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22170
8c1a459f
AS
221712011-07-25 Andreas Schwab <schwab@redhat.com>
22172
22173 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22174 __n bigger than INT_MAX+1.
22175 (__strncmp_g): Likewise.
22176
bba33c28
UD
221772011-07-23 Ulrich Drepper <drepper@gmail.com>
22178
798be72d
UD
22179 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22180 * libio/stido.h: Likewise.
22181
8accd4dc
UD
22182 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22183 (AF_NFC): Define.
22184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22185 (AF_NFC): Define.
22186
cbff0d96
UD
22187 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22190 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22192
9191c04a
UD
22193 [BZ #13021]
22194 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22195 installed.
22196
bba33c28
UD
22197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22198 typo.
22199 (_dl_x86_64_save_sse): Likewise.
22200
90f139dd
UD
222012011-07-22 Ulrich Drepper <drepper@gmail.com>
22202
1aae088a
UD
22203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22204 OSXSAVE.
22205 (_dl_x86_64_save_sse): Likewise.
22206
8e2045f5
UD
22207 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22208
90f139dd
UD
22209 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22210
1d002f25
AS
222112011-07-21 Andreas Schwab <schwab@redhat.com>
22212
22213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22214 change.
22215 (_dl_x86_64_save_sse): Use correct AVX check.
22216
21137f89
UD
222172011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22218
22219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22220 bug in strncpy/strncat.
22221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22222
a65c0b7a
UD
222232011-07-21 Ulrich Drepper <drepper@gmail.com>
22224
22225 * string/tester.c (test_strcat): Add tests for different alignments
22226 of source and destination.
22227 (test_strncat): Likewise.
22228
6986b98a
UD
222292011-07-20 Ulrich Drepper <drepper@gmail.com>
22230
90bb2039
UD
22231 [BZ #12852]
22232 * posix/glob.c (glob): Check passed in values before using them in
22233 expressions to avoid some overflows.
22234 (glob_in_dir): Likewise.
22235
5644ef54
UD
22236 [BZ #13007]
22237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22238 check for AVX enablement so that we don't crash with old kernels and
22239 new hardware.
22240 * elf/tst-audit4.c: Add same checks here.
22241 * elf/tst-audit6.c: Likewise.
22242
22243 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22244
bfc9dc9b
AS
222452011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22246
22247 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22248
702e64bb
UD
222492011-07-20 Ulrich Drepper <drepper@gmail.com>
22250
22251 * po/cs.po: Update from translation team.
22252 * po/bg.po: Likewise.
22253
295e904f
MP
222542011-07-12 Marek Polacek <mpolacek@redhat.com>
22255
22256 * misc/sys/cdefs.h: Add support for const attribute.
22257 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22258 to gnu_dev_{major,minor,makedev} functions.
22259
3ff94596
MP
222602011-07-20 Marek Polacek <mpolacek@redhat.com>
22261
22262 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22263
28b59fca
AS
222642011-07-20 Andreas Schwab <schwab@redhat.com>
22265
22266 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22267 strlen results.
22268
19df733e
AK
222692011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22270
22271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22272 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22273 register in order to avoid conflicts with the soft frame pointer
22274 being held in r11 when necessary.
22275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22276 (INTERNAL_VSYSCALL_NCS): Likewise.
22277
c8835729
MP
222782011-07-14 Marek Polacek <mpolacek@redhat.com>
22279
22280 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22281 * elf/dl-fini.c (_dl_fini): Adjust caller.
22282 * elf/dl-close.c (_dl_close_worker): Likewise.
22283 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22284
b902330c
MP
222852011-07-15 Marek Polacek <mpolacek@redhat.com>
22286
8991e135
MP
22287 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22288 "aux_cache->nlibs < 0".
22289
b902330c
MP
22290 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22291 in the reload-count case.
22292
99710781
LD
222932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22294
22295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22296 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22297 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22298 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22299 * sysdeps/x86_64/multiarch/strcat.S: New file.
22300 * sysdeps/x86_64/multiarch/strncat.S: New file.
22301 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22303 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22304 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22306 (USE_AS_STRCAT): Define.
22307 Add strcat and strncat support.
22308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22309 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22310 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22311 * string/strncat.c: Update.
22312 (USE_AS_STRNCAT): Define.
22313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22314 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22315 and i7.
22316 * sysdeps/x86_64/multiarch/init-arch.h
22317 (bit_Prefer_PMINUB_for_stringop): New.
22318 (index_Prefer_PMINUB_for_stringop): Likewise.
22319 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22320 bit_Prefer_PMINUB_for_stringop.
22321
7dc6bd90
UD
223222011-07-19 Ulrich Drepper <drepper@gmail.com>
22323
22324 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22325 buffer64.
22326 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22327 of casting of buffer.
22328 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22329 buffer32 and buffer64.
22330 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22331 writes instead of casting of buffer.
22332 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22333 buffer32.
22334 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22335 casting of buffer.
22336
e0e72284
AS
223372011-07-19 Andreas Schwab <schwab@redhat.com>
22338
22339 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22340
feb1eb0b
UD
223412011-07-19 Ulrich Drepper <drepper@gmail.com>
22342
22343 * nscd/nscd.c (termination_handler): Don't do anything for a database
22344 if it has not yet been initialized.
22345
298711ff
UD
223462011-07-18 Ulrich Drepper <drepper@gmail.com>
22347
22348 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22349
223502011-07-15 Marek Polacek <mpolacek@redhat.com>
22351
22352 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22353
f9d68389
UD
223542011-07-18 Ulrich Drepper <drepper@gmail.com>
22355
22356 * po/nl.po: Update from translation team.
22357 * po/sv.po: Likewise.
22358
db290cf5
RM
223592011-07-16 Roland McGrath <roland@hack.frob.com>
22360
22361 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22362 now disallowed by GCC.
5c550700 22363
fd5e21c7
RM
22364 * configure.in (use-default-link): Default to yes if a test -shared
22365 link meets our qualifications.
22366 * configure: Regenerated.
22367
5c550700
RM
22368 * config.make.in (output-format): New variable.
22369 * configure.in: Check for ld --print-output-format support.
22370 * configure: Regenerated.
22371 * Makerules ($(common-objpfx)format.lds)
22372 [$(output-format) != unknown]: Just use $(output-format),
22373 instead of the linker-script munging.
22374
9fa2c032
RM
223752011-07-14 Roland McGrath <roland@hack.frob.com>
22376
a6928d51
RM
22377 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22378 of $(common-objpfx)shlib.lds.
22379 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22380
661607b3
RM
22381 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22382 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22383
9fa2c032
RM
22384 * configure.in (-z relro check): Adjust test code to add a large
22385 writable data section after it.
22386 * configure: Regenerated.
22387
defe9061
RM
223882011-07-11 Roland McGrath <roland@hack.frob.com>
22389
22390 * configure.in (-z relro check): Fix test code to make the variable
22391 truly const.
22392 * configure: Regenerated.
22393
319b9ad4
UD
223942011-07-11 Ulrich Drepper <drepper@gmail.com>
22395
22396 * nscd/nscd.h (struct traced_file): Define.
22397 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22398 elements. Add traced_files.
22399 (inotify_fd): Declare.
22400 (register_traced_file): Declare.
22401 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22402 (inotify_fd): Export.
22403 (resolv_conf_descr): Remove.
22404 (nscd_init): Move inotify descriptor creation to main.
22405 Don't register files for notification here.
22406 (register_traced_file): New function.
22407 (invalidate_cache): Don't use reset_res to determine whether to call
22408 res_init, go through the list of registered files.
22409 (main_loop_poll): The inotify descriptors are now stored in the
22410 structures for the traced files.
22411 (main_loop_epoll): Likewise
22412 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22413 to __nss_disable_nscd.
22414 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22415 for a database anymore. Check the records for all the registered
22416 files instead.
22417 * nss/Makefile (libnss_files-routines): Add files-init.
22418 (libnss_db-routines): Add db-init.
22419 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22420 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22421 * nss/nss_db/db-init.c: New file.
22422 * nss/nss_files/files-init.c: New file.
22423 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22424 __nss_lookup_function.
22425 (__nss_lookup_function): Call nss_load_library.
22426 (nss_load_all_libraries): New function.
22427 (__nss_disable_nscd): Take parameter with callback function for files
22428 to register. Set is_nscd. Load all the DSOs for the NSS modules
22429 used for the cached services.
22430 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22431 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22432 options for features to all the files in nscd.
22433
22434 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22435
23bee3e8
RM
224362011-07-10 Roland McGrath <roland@hack.frob.com>
22437
22438 * csu/elf-init.c (__libc_csu_init): Comment typo.
22439
46a5b7f0
UD
224402011-07-09 Ulrich Drepper <drepper@gmail.com>
22441
22442 * po/pl.po: Update from translation team.
22443 * po/ja.po: Likewise.
22444 * po/ru.po: Likewise.
22445 * po/ko.po: Likewise.
22446 * po/fr.po: Likewise.
22447
d30cf5bb
RM
224482011-07-09 Roland McGrath <roland@hack.frob.com>
22449
113ddea4
RM
22450 * configure.in (.ctors/.dtors header and trailer check):
22451 Use an empirical test on a built program.
22452 * configure: Regenerated.
22453
574920b4
RM
22454 * configure.in (-z relro check): Use an empirical test on a built DSO.
22455 Detect, but do not require, on ia64.
22456 * configure: Regenerated.
22457
d30cf5bb
RM
22458 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22459 Update tests that use readelf to use $READELF instead.
22460 * configure: Regenerated.
22461
8538fdb3
UD
224622011-07-08 Ulrich Drepper <drepper@gmail.com>
22463
22464 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22465 if the result is not used.
22466
04d08991
AJ
224672011-07-05 Andreas Jaeger <aj@suse.de>
22468
22469 [BZ#9696]
22470 * stdlib/tst-strtod.c: Add testcase.
22471
de283087
AD
224722011-07-07 Ulrich Drepper <drepper@gmail.com>
22473
4e5f31c8 22474 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22475 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22476 The latter has a higher limit. Take additional parameter to pass to
22477 the new function.
22478 (__pathconf): Pass file to __statfs_link_max.
22479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22480 __statfs_link_max.
22481 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22482 __statfs_link_max.
22483
de283087
AD
22484 [BZ #12868]
22485 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22487 Handle Lustre.
22488 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22489 (__statfs_filesize_max): Likewise.
22490 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22491
c75fa153
AJ
224922011-07-05 Andreas Jaeger <aj@suse.de>
22493
22494 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22495
1a544854
UD
224962011-07-06 Marek Polacek <mpolacek@redhat.com>
22497
22498 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22499 `status' variable.
22500 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22501 Likewise.
22502
6f0eec67
UD
225032011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22504
22505 * Makefile (strop-tests): Add strncat.
22506 * string/test-strncat.c: New file.
22507
aae30307
UD
225082011-06-30 Marek Polacek <mpolacek@redhat.com>
22509
22510 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22511
c0cfb5eb
UD
225122011-06-21 Andreas Jaeger <aj@suse.de>
22513
22514 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22515 Copy rule from iconvdata/Makefile.
22516
01636b21
UD
225172011-07-06 Ulrich Drepper <drepper@gmail.com>
22518
22519 [BZ #12922]
22520 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22521 but no long options are defined, just return 'W'.
22522
9895c8bc
UD
225232011-06-22 Marek Polacek <mpolacek@redhat.com>
22524
22525 [BZ #9696]
22526 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22527
5d4cf042
UD
225282011-07-06 Ulrich Drepper <drepper@gmail.com>
22529
22530 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22531 netgroups to read.
960e5535 22532 (innetgr): Likewise.
5d4cf042 22533
751eb97e
RM
225342011-07-05 Roland McGrath <roland@hack.frob.com>
22535
22536 * config.make.in (install_root): Default to $(DESTDIR).
22537
f15f1e45
UD
225382011-07-05 Ulrich Drepper <drepper@gmail.com>
22539
22540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22541
4e34ac6a
RM
225422011-07-02 Roland McGrath <roland@hack.frob.com>
22543
5e9b6af4
RM
22544 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22545
84f9ea0f
RM
22546 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22547 containing directory rather than embedding absolute directory names.
22548
ea5ee9f7
RM
22549 * scripts/check-local-headers.sh: Rewritten using awk.
22550 Match by word, not by line. Print error messages for matches.
22551 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22552
1b74661a
RM
22553 * Makerules [shlib-lds-flags empty]:
22554 ($(common-objpfx)libc_pic.opts): New target.
22555 ($(common-objpfx)libc_pic.os.clean): New target.
22556 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22557
22558 * config.make.in (OBJCOPY): New variable.
22559 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22560 * configure: Regenerated.
22561
f781ef40
RM
22562 * config.make.in (use-default-link): New variable.
22563 * configure.in (use_default_link): Grok --with-default-link to set it.
22564 * configure: Regenerated.
22565 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22566 (shlib-lds, shlib-lds-flags): Define to empty.
22567
2d4fa81e
RM
22568 * Makerules (shlib-lds): New variable.
22569 (shlib-lds-flags): New variable.
22570 (build-shlib, build-moduile, build-module-asneeded): Use it.
22571 ($(common-objpfx)libc.so): Use $(shlib-lds).
22572 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22573 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22574
31fffa6b
RM
22575 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22576 DT_FLAGS/DT_FLAGS_1 with zero flags.
22577
4e34ac6a
RM
22578 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22579 linker script munging.
22580
fcfc776b
UD
225812011-07-02 Ulrich Drepper <drepper@gmail.com>
22582
22583 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22584 as 128-bit value.
22585 * crypt/sha512.c (sha512_process_block): Perform total addition using
22586 128-bit if possible.
22587 (__sha512_finish_ctx): Likewise.
22588 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22589 as 64-bit value.
22590 * crypt/sha256.c (SWAP64): Define.
22591 (sha256_process_block): Perform total addition using 64-bit if
22592 possible.
22593 (__sha256_finish_ctx): Likewise.
22594
99231d9a
UD
225952011-07-01 Ulrich Drepper <drepper@gmail.com>
22596
22597 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22599 * nscd/hstcache.c (cache_addhst): Likewise.
22600 * nscd/grpcache.c (cache_addgr): Likewise.
22601 * nscd/aicache.c (addhstaiX): Likewise
22602 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22603
445b4a53
TK
226042011-07-01 Thorsten Kukuk <kukuk@suse.de>
22605
22606 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22608 * nscd/hstcache.c (cache_addhst): Likewise.
22609 * nscd/grpcache.c (cache_addgr): Likewise.
22610 * nscd/aicache.c (addhstaiX): Likewise
22611
6d4d8e8e
AS
226122011-07-01 Andreas Schwab <schwab@redhat.com>
22613
22614 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22615 domain only when needed.
22616
89f654c5
AS
226172011-06-30 Andreas Schwab <schwab@redhat.com>
22618
22619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22620 is always restored.
22621
cf3b23ff
UD
226222011-06-29 Ulrich Drepper <drepper@gmail.com>
22623
22624 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22625 are re-adding the entry.
22626 * nscd/servicescache.c (cache_addserv): Likewise.
22627
751626f9
AJ
226282011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22629
22630 * sysdeps/generic/dl-irel.h: fix protection against multiple
22631 inclusions.
22632 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22633
9113ea1f
UD
226342011-06-28 Ulrich Drepper <drepper@gmail.com>
22635
5c0b8d90
UD
22636 [BZ #12935]
22637 * malloc/memusage.sh: Fix quoting in message.
22638 * debug/xtrace.sh: Likewise.
22639
9113ea1f
UD
22640 * configure.in: Remove support for --experimental-malloc option, make
22641 it the default.
22642 * config.make.in: Likewise.
22643 * malloc/Makefile: Likewise.
22644
a4172181
AS
226452011-06-27 Andreas Schwab <schwab@redhat.com>
22646
22647 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22648 two-byte characters.
22649
78a7eee7
RM
226502011-06-27 Roland McGrath <roland@hack.frob.com>
22651
62bede13
RM
22652 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22653 AC_CACHE_CHECK invocation.
22654 * configure: Regenerated.
22655
78a7eee7
RM
22656 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22657
5ce33a62
UD
226582011-06-27 Ulrich Drepper <drepper@gmail.com>
22659
034807a9
UD
22660 [BZ #12350]
22661 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22662 bit from old_res_options.
22663
4902da17
UD
22664 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22665
5ce33a62
UD
22666 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22667 value type for setfct.
22668
c2344f56
L
226692011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22672 __gettimeofday instead of gettimeofday.
22673
68468076
UD
226742011-06-26 Ulrich Drepper <drepper@gmail.com>
22675
22676 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22677
acb0d739
L
226782011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22679
22680 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22681
22682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22683 info.
22684
8912479f
L
226852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22686
22687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22688 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22689 strcpy-sse2-unaligned strncpy-sse2-unaligned
22690 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22691 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22692 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22693 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22694 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22696 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22697 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22698 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22699 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22700 (STRCPY): Support SSE2 and SSSE3 versions.
22701
d5495a11
UD
227022011-06-24 Ulrich Drepper <drepper@gmail.com>
22703
22704 [BZ #12874]
22705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22706 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22707 kernels which artificially limit size of requests.
22708
0b1cbaae
L
227092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22710
22711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22712 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22713 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22714 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22715 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22716 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22717 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22718 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22721 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22722 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22723 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22724 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22725 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22727 Enable unaligned load optimization for Intel Core i3, i5 and i7
22728 processors.
22729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22730 Define.
22731 (index_Fast_Unaligned_Load): Define.
22732 (HAS_FAST_UNALIGNED_LOAD): Define.
22733
07f494a0
MP
227342011-06-23 Marek Polacek <mpolacek@redhat.com>
22735
22736 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22737
fa3fc0fe
UD
227382011-06-22 Ulrich Drepper <drepper@gmail.com>
22739
22740 [BZ #12907]
22741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22742 until it is clear that the information is realy needed.
22743 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22744
e12df166
AS
227452011-06-22 Andreas Schwab <schwab@redhat.com>
22746
22747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22748
852eb34d
UD
227492011-06-22 Ulrich Drepper <drepper@gmail.com>
22750
84e2a551
UD
22751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22752 /sys/devices/system/cpu/online if it is usable.
22753
852eb34d
UD
22754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22755 reading the information from the /proc filesystem to once a second.
22756
6e502e19
UD
227572011-06-21 Andreas Jaeger <aj@suse.de>
22758
22759 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22760 NULL after inclusion of kernel headers.
22761
75d39ff2
UD
227622011-06-21 Ulrich Drepper <drepper@gmail.com>
22763
51f9aa6a
UD
22764 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22765 calls to internal_setent.
22766
c0244a9d
UD
22767 [BZ #12885]
22768 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22769 addresses using gethostbyname4_r ignore IPv4 addresses.
22770
c5e3c2ae
UD
22771 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22772 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22773
75d39ff2
UD
22774 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22775
42675c6f
DM
227762011-06-20 David S. Miller <davem@davemloft.net>
22777
22778 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22779 inclusions.
22780 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22781
22782 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22783 (elf_irel): Use it.
22784 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22785 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22786 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22787 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22788 * sysdeps/x86_64/dl-irel.h: Likewise.
22789
22790 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22791 * elf/dl-sym.c: Likewise.
22792
57912a71
UD
227932011-06-15 Ulrich Drepper <drepper@gmail.com>
22794
22795 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22796 need to dereference resplen2.
22797
ee22793d
AS
227982011-06-14 Andreas Schwab <schwab@redhat.com>
22799
22800 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22801
a9e836b0
UD
228022011-06-15 Ulrich Drepper <drepper@gmail.com>
22803
77fb9117
UD
22804 * Makeconfig: Define vardbdir and inst_vardbdir.
22805 * nss/Makefile: Add rules to install db-Makefile.
22806
40c1b22c
UD
22807 * nss/nss_db/db-XXX.c: Cleanup.
22808
9f2da732
UD
22809 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22810 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22811 GLIBC_PRIVATE.
22812 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22813 * nss/makedb.c: Implement -g option to specify that value strings
22814 are generated and should not be added to table iterated over for
22815 get*ent calls.
22816 * nss/nss_db/db-initgroups.c: New file.
22817
82e9a1f7
UD
22818 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22819 interface.
22820
c41af17e
UD
22821 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22822 (internal_getgrouplist): Adjust to name change.
22823 Update use_initgroups_entry if this is not the first call.
22824 * nss/databases.def: Add initgroups entry.
22825
a9e836b0
UD
22826 * nss/makedb.c (compute_tables): Check result of multiple hash table
22827 sizes to minimize maximum chain length.
22828
2666d441
UD
228292011-06-14 Ulrich Drepper <drepper@gmail.com>
22830
22831 * Versions.def: Add entry for libnss_db.
22832 * shlib-versions: Likewise.
22833 * nss/Makefile: Add rules to build libnss_db.
22834 * nss/Versions: Add libnss_db information. Organize libnss_files
22835 entries better.
22836 * nss/db-Makefile: Add gshadow support. Change rules for the new
22837 makedb progra. Some minor improvements to generate smaller files.
22838 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22839 here from...
22840 * nss/makedb.c: ...here.
22841 Improve database format to be smaller and require less memory at
22842 runtime.
22843 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22844 db anymore.
22845 * nss/nss_db/db-netgrp.c: Likewise.
22846 * nss/nss_db/db-open.c: Likewise.
22847 * nss/nss_files/flies-XXX.x: Adjust comments.
22848 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22849 * nss/nss_files/files-grp.c: Likewise.
22850 * nss/nss_files/files-hosts.c: Likewise.
22851 * nss/nss_files/files-network.c: Likewise.
22852 * nss/nss_files/files-proto.c: Likewise.
22853 * nss/nss_files/files-pwd.c: Likewise.
22854 * nss/nss_files/files-rpc.c: Likewise.
22855 * nss/nss_files/files-service.c: Likewise.
22856 * nss/nss_files/files-sgrp.c: Likewise.
22857 * nss/nss_files/files-spwd.c: Likewise.
22858 * nss/nss_db/db-alias.c: Removed.
22859 * nss/nss_db/dummy-db.h: Removed.
22860
9ee76b5a
UD
228612011-06-02 Ulrich Drepper <drepper@gmail.com>
22862
22863 * nss/makedb.c: Rewritten to not use database library.
22864 * nss/Makefile: Update to build new makedb program.
22865
c71ca1f8
AJ
228662011-06-14 Andreas Jaeger <aj@suse.de>
22867
22868 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22869 memset declaration.
22870
3154bfb8
UD
228712011-06-10 Andreas Schwab <schwab@redhat.com>
22872
22873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22874 tmpbuf.
22875
b350afab
RM
228762011-06-10 Roland McGrath <roland@hack.frob.com>
22877
decd4e50
RM
22878 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22879 * elf/Makefile ($(objpfx)ld.so): Likewise.
22880
5615eaf2
RM
22881 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22882 Don't list ld.so twice in dependencies.
22883
22884 * posix/bug-regex31.c: Include <stdlib.h>.
22885
22886 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22887
22888 * nis/nss_compat/compat-spwd.c
22889 (getspent_next_nss_netgr): Remove unused variable.
22890 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22891
22892 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22893 nonmembers" output to use the right array.
22894
22895 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22896
22897 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22898
22899 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22900 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22901 * catgets/gencat.c (read_input_file): Likewise.
22902 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22903
22904 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22905 variable definition inside #if's controlling its use.
22906
22907 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22908
22909 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22910
22911 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22912
22913 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22914 unreachable code.
22915
22916 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22917
b68e08db
RM
22918 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22919 * configure: Regenerated.
22920
b350afab
RM
22921 * Makerules: Revert last change.
22922 * elf/Makefile: Likewise.
22923
28368601
RM
229242011-06-09 Roland McGrath <roland@hack.frob.com>
22925
22926 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22927 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22928 (reloc-link): Likewise.
22929
11988f8f
UD
229302011-06-09 Ulrich Drepper <drepper@gmail.com>
22931
22932 * elf/Makefile: Add rules to build pldd.
22933 * elf/pldd.c: New file.
22934 * elf/pldd-xx.c: New file.
22935
e80fab37
UD
229362011-06-07 Ulrich Drepper <drepper@gmail.com>
22937
22938 * version.h: Update for 2.15 development version.
22939
9b849836
DM
229402011-06-07 David S. Miller <davem@davemloft.net>
22941
22942 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22943 ifuncs.
22944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22945 elf_machine_lazy_rel): Likewise.
22946 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22948 elf_machine_lazy_rel): Likewise.
22949 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22950 dl_hwcap via passed in argument.
22951 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22952 Likewise.
22953
5a31b283
AK
229542011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22955
22956 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22957
069e52f8
RM
229582011-06-06 Roland McGrath <roland@hack.frob.com>
22959
22960 [BZ #12849]
22961 * manual/fdl-1.1.texi: New file, verbatim from:
22962 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22963 * manual/lgpl-2.1.texi: New file, verbatim from:
22964 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22965 * manual/Makefile (licenses): New variable, list those new file names.
22966 (texis): Use it.
22967 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22968
22969 * manual/fdl.texi: File removed.
22970 * manual/lesser.texi: File removed.
22971 * manual/libc.texinfo (Copying, Documentation License):
22972 Use new @include file names, put @appendix directive before @include.
22973
f16846a5
JJ
229742011-06-04 Jakub Jelinek <jakub@redhat.com>
22975
22976 [BZ #12841]
22977 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22978 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22979 (mq_open): Add __NTH.
22980
3d29045b
L
229812011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22982
22983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22984 Assume Intel Core i3/i5/i7 processor if AVX is available.
22985
8c297311
UD
229862011-05-31 Ulrich Drepper <drepper@gmail.com>
22987
22988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22989 typo.
22990
c8fc0c91
UD
229912011-05-31 Andreas Schwab <schwab@redhat.com>
22992
22993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22994 memory. Use alloca_account. Fix memory leak when retrying.
22995
5b27a807
UD
229962011-05-31 Ulrich Drepper <drepper@gmail.com>
22997
356f8bc6
UD
22998 * version.h (RELEASE): Bump for 2.14 release.
22999 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23000
5b27a807
UD
23001 * config.make.in (RANLIB): Remove entry.
23002
01f16ab0
UD
230032011-05-30 Ulrich Drepper <drepper@gmail.com>
23004
41fce8bd
UD
23005 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23006 (libc.pot): Work around missing support for .ksh extension in xgettext.
23007
4769ae77
UD
23008 [BZ #12684]
23009 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23010 if both request failed.
23011 (send_dg): In case of server errors clear resplen or *resplen2.
23012
6b1e7d19
UD
23013 [BZ #12454]
23014 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23015 when there are multiple maps.
23016 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23017 (_dl_fini): Remove test here.
23018
01f16ab0
UD
23019 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23020
b1ebd700
UD
230212011-05-29 Ulrich Drepper <drepper@gmail.com>
23022
7ae22829
UD
23023 [BZ #12350]
23024 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23025 bit from old_res_options.
23026 (gaih_inet): Likewise.
23027
553149f6 23028 [BZ #11099]
18a84741 23029 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23030 as signed.
23031
652ffab1
UD
23032 * resolv/res_init.c (res_setoptions): Make the code more compact.
23033
16985fd0
UD
23034 [BZ #11558]
23035 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23036 set RES_USEVC.
23037
0464f746
UD
23038 [BZ #11634]
23039 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23040
7d17596c
UD
23041 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23042
cf6bbbd7
UD
23043 [BZ #11781]
23044 * malloc/malloc.h: Declare malloc hook variables as volatile.
23045
13f1ab36
UD
23046 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23047 in last patch.
23048
b1ebd700
UD
23049 [BZ #11799]
23050 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23051 raise in the comment.
80e2212d
UD
23052 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23054 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23055
ce67228d
UD
230562011-05-28 Ulrich Drepper <drepper@gmail.com>
23057
8887a920
UD
23058 [BZ #12811]
23059 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23060 grow the buffers more if it already has to be sufficient.
23061 (build_wcs_upper_buffer): Likewise.
23062 * posix/regexec.c (check_matching): Likewise.
23063 (clean_state_log_if_needed): Likewise.
23064 (extend_buffers): Don't enlarge buffers beyond size of the input
23065 buffer.
23066 Patches mostly by Emil Wojak <emil@wojak.eu>.
23067 * posix/bug-regex32.c: New file.
23068 * posix/Makefile (tests): Add bug-regex32.
23069
4f031072
UD
23070 * locale/findlocale.c (_nl_find_locale): Return right away if
23071 _nl_explode_name failed.
23072 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23073
d0478f0c
UD
23074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23075
de81b246
UD
23076 * debug/xtrace.sh: Unify messages.
23077 * malloc/memusage.sh: Likewise.
23078
c738465a
UD
23079 [BZ #12813]
23080 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23081 time symbol from vDSO. Substitute with vsyscall if not available.
23082 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23083 __vdso_time.
23084
f1f929d7
UD
23085 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23086 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23087 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23088 Add sendmmsg and internal_sendmmsg.
23089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23090 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23091 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23092
ce67228d
UD
23093 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23094 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23096
e57420c6
UD
230972011-05-27 Ulrich Drepper <drepper@gmail.com>
23098
a8509ca5
UD
23099 [BZ #12813]
23100 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23101 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23102 available.
23103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23104 __vdso_getcpu.
23105
e57420c6
UD
23106 [BZ #12814]
23107 * iconvdata/Makefile (tests): Add bug-iconv9.
23108 * iconvdata/bug-iconv9.c: New file.
23109
4d07db15
AS
231102011-05-27 Andreas Schwab <schwab@redhat.com>
23111
23112 [BZ #12814]
23113 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23114
ea486f69
JJ
231152011-05-25 Jakub Jelinek <jakub@redhat.com>
23116
23117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23118 (struct user_regs_struct): Change intcs field back to cs.
23119
6f038433
UD
231202011-05-25 Ulrich Drepper <drepper@gmail.com>
23121
23122 * po/ja.po: Update from translation team.
23123
67f86a25
UD
231242011-05-23 Ulrich Drepper <drepper@gmail.com>
23125
23126 [BZ #12795]
23127 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23128 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23129
def7fbd6
AS
231302011-05-20 Andreas Schwab <schwab@redhat.com>
23131
23132 * stdlib/longlong.h: Update from GCC.
23133
f50ef8f1
AS
231342011-05-23 Andreas Schwab <schwab@redhat.com>
23135
23136 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23137 parameter name.
23138 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23139 Add parameter name.
23140 (__sysconf): Pass it down.
23141
de7ce8f1
UD
231422011-05-22 Ulrich Drepper <drepper@gmail.com>
23143
f2962a71
UD
23144 [BZ #12671]
23145 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23146 some situations.
23147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23148 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23149 add in in __libc_use_alloca calls. Adjust callers.
23150 (glob): Use malloc in some situations.
23151
de7ce8f1
UD
23152 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23153 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23154 pltexit.
23155
aec84f53
UD
231562011-05-21 Ulrich Drepper <drepper@gmail.com>
23157
05bb4a68
UD
23158 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23159 and CLOCK_BOOTTIME_ALARM.
23160
7ea72f99
UD
23161 [BZ #12782]
23162 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23163 is returned.
23164
7e4afad5
UD
23165 * string/_strerror.c (__strerror_r): Print negative errors as signed
23166 numbers.
23167
8e211fec
UD
23168 [BZ #12777]
23169 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23170 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23171 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23172
f7d82dc9
UD
23173 * configure.in: Fix typo in redirection and correct removal of test
23174 files in two cases.
23175
cc9e536d
UD
23176 [BZ #12788]
23177 * locale/setlocale.c (new_composite_name): Fix test to check for
23178 identical name of all categories.
23179
aec84f53
UD
23180 [BZ #12792]
23181 * libio/filedoalloc.c (local_isatty): New function.
23182 (_IO_file_doallocate): Use local_isatty.
23183 * stdio-common/perror.c (perror): In case a new stream is used
23184 forward the stream error.
23185 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23186 error flag.
23187
78e64fdc
RT
231882011-05-20 Ulrich Drepper <drepper@gmail.com>
23189
34a9094f
UD
23190 [BZ #11869]
23191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23192 alloca.
23193 * include/alloca.h (extend_alloca_account): Define.
23194
78e64fdc
RT
23195 [BZ #11857]
23196 * posix/regex.h: Fix comments with documentation of user-accessible
23197 fields after compilation and describe correct free'ing of pattern
23198 after re_compile_pattern.
23199 Patch by Reuben Thomas <rrt@sc3d.org>.
23200
457bddfc
RA
232012011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23202
23203 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23204 and -mno-altivec to prevent the compiler from using Altivec and/or
23205 VSX instructions when the corresponding registers are not available.
23206
a4527b51
AS
232072011-05-19 Andreas Schwab <schwab@redhat.com>
23208
23209 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23210
ed690b2f
UD
232112011-05-19 Ulrich Drepper <drepper@gmail.com>
23212
23213 * libio/freopen.c (freopen): Use __dup2, not dup2.
23214 * libio/freopen64.c (freopen64): Likewise.
23215
8db73634
L
232162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 [BZ #12775]
23219 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23220 * math/Makefile (tests): Add test-powl.
23221 (CFLAGS-test-powl.c): Define.
23222 * math/test-powl.c: New file.
23223
0a197a9d
L
232242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23225
23226 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23227
ee30c380
UD
232282011-05-17 Ulrich Drepper <drepper@gmail.com>
23229
23230 [BZ #11837]
23231 * iconvdata/gb18030.c: Update to GB18020-2005.
23232
6ce75379
UD
232332011-05-16 Ulrich Drepper <drepper@gmail.com>
23234
a4b89fd8
AR
23235 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23236 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23237 Patch by Aharon Robbins <arnold@skeeve.com>.
23238
ea389b12
UD
23239 [BZ #11892]
23240 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23241 on the stack.
23242
68a3f91f
UD
23243 [BZ #11895]
23244 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23245 through underflows.
23246
15cc7dd1
UD
23247 [BZ #12766]
23248 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23249 point to strings before performing equality test for error_one_per_line
23250 mode.
23251
f3799213
UD
23252 [BZ #11697]
23253 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23254
d79a9c94
UD
23255 [BZ #11820]
23256 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23257 (struct user_fpregs_struct): Avoid __uint*_t types.
23258
56e5eb46
UD
23259 [BZ #6420]
23260 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23261 symbol info. Use it instead of calling _dl_addr locally.
23262 (lock_and_info): New function.
23263 (tr_freehook): Call lock_and_info and pass symbol info as additional
23264 parameter to tr_where.
23265 (tr_mallochook): Likewise.
23266 (tr_reallochook): Likewise.
23267 (tr_memalignhook): Likewise.
23268
6ce75379
UD
23269 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23270 used and couldn't be at all thread-safe.
23271
f8a3b5bf
UD
232722011-05-15 Ulrich Drepper <drepper@gmail.com>
23273
94b7cc37
UD
23274 * libio/freopen.c (freopen): Don't close old file descriptor
23275 before the new one is opened. Instead dup the new file descriptor
23276 to the old one after the new stream is created.
23277 * libio/freopen64.c (freopen64): Likewise.
23278 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23279 * libio/fileops.c (_IO_new_file_close_it): Handle new
23280 _IO_FLAGS2_NOCLOSE flag.
23281 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23282 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23283 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23284 _IO_FLAGS2_NOCLOSE flag.
23285 * include/unistd.h: Add hidden_proto for dup3.
23286 Define __have_dup3.
23287 * io/dup3.c: Define hidden symbol.
23288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23289
bd25564e
UD
23290 [BZ #7101]
23291 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23292 when an incomplete long option is used.
23293 * posix/tst-getopt_long1.c: New file.
23294 * posix/Makefile (tests): Add tst-getopt_long1.
23295
c84cfef4
UD
23296 [BZ #10138]
23297 * scripts/config.guess: Update from autoconf-2.68.
23298 * scripts/config.sub: Likewise.
23299
3b85df27
UD
23300 [BZ #10157]
23301 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23302 tests into ...
23303 (has_cpuclock): ...this. New function.
23304 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23305 macro here based on has_cpuclock code.
23306
15a856b1
UD
23307 [BZ #10149]
23308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23309 First byte (not low byte) is now always NUL.
23310 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23311
05f399e6
UD
23312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23313 Use non-cancelable interfaces.
23314
10a52685 23315 [BZ #9809]
94ecc67d
UD
23316 * locale/iso-639.def: Add entry for Sorani.
23317
f8a3b5bf
UD
23318 [BZ #11901]
23319 * include/stdlib.h: Move include protection to the right place.
23320 Define abort_msg_s. Declare __abort_msg with it.
23321 * stdlib/abort.c (__abort_msg): Adjust type.
23322 * assert/assert.c (__assert_fail_base): New function. Majority
23323 of code from __assert_fail. Allocate memory for __abort_msg with
23324 mmap.
23325 (__assert_fail): Now call __assert_fail_base.
23326 * assert/assert-perr.c: Remove bulk of implementation. Use
23327 __assert_fail_base.
23328 * include/assert.hL Declare __assert_fail_base.
23329 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23330 mmap.
23331 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23332
1af4e298
UD
233332011-05-14 Ulrich Drepper <drepper@gmail.com>
23334
f8a3b5bf 23335 [BZ #11952]
d26dfc60
MG
23336 [BZ #12453]
23337 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23338 until all modules are registered in the DTV.
23339 * elf/Makefile: Add rules to build and run tst-tls19.
23340 * elf/tst-tls19.c: New file.
23341 * elf/tst-tls19mod1.c: New file.
23342 * elf/tst-tls19mod2.c: New file.
23343 * elf/tst-tls19mod3.c: New file.
23344 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23345
2fc54d6f
UD
23346 [BZ #12083]
23347 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23348 correctly.
23349
98d76b46
UD
23350 [BZ #12601]
23351 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23352 two-byte sequence errors.
23353 * iconvdata/Makefile (tests): Add bug-iconv8.
23354 * iconvdata/bug-iconv8.c: New file.
23355
da3c19ef
UD
23356 [BZ #12626]
23357 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23358 buf2 definition.
23359
ca408c15
UD
23360 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23361
d6f67f7d
UD
23362 [BZ #12432]
23363 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23364 (dummy_getcfa): New function.
23365 (init): Get _Unwind_GetCFA address, use dummy if not found.
23366 (backtrace_helper): In recursion check, also check whether CFA changes.
23367 (__backtrace): Completely initialize arg.
23368
1af4e298 23369 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23370 storing incomplete byte sequence in state object. Avoid testing for
23371 guaranteed too small input if we know there is enough data available.
1af4e298 23372
da62f81b
AS
233732011-05-11 Andreas Schwab <schwab@redhat.com>
23374
23375 * Makeconfig (+link-pie): Indent.
23376 * Rules (binaries-pie): Define if $(have-fpie) and
23377 $(build-shared).
23378 (binaries-shared): Also filter out $(binaries-pie).
23379 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23380 * nscd/Makefile (others-pie): Add nscd.
23381 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23382 ($(objpfx)nscd): Remove command override.
23383 * login/Makefile (others-pie): Add pt_chown.
23384 ($(objpfx)pt_chown): Remove command override.
23385 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23386 remove command overrides.
23387
fcabc0f8
UD
233882011-05-13 Ulrich Drepper <drepper@gmail.com>
23389
20030ae6
UD
23390 * libio/tst_putwc.c: Fix error messages.
23391
fcabc0f8
UD
23392 [BZ #12724]
23393 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23394 currently writing and seek to current position when not.
23395 * libio/Makefile (tests): Add bug-fclose1.
23396 * libio/bug-fclose1.c: New file.
23397
320a5dc0
PB
233982011-05-12 Ulrich Drepper <drepper@gmail.com>
23399
23400 [BZ #12511]
23401 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23402 don't set DF_1_NODELETE here.
23403 (do_lookup_x): When entering new entry test for copy relocation
23404 and if necessary set DF_1_NODELETE flag.
23405 * elf/tst-unique4.cc: New file.
23406 * elf/tst-unique4.h: New file.
23407 * elf/tst-unique4lib.cc: New file.
23408 * elf/Makefile: Add rules to build and run tst-unique4.
23409 Patch by Piotr Bury <pbury@goahead.com>.
23410
22836f52
UD
234112011-05-11 Ulrich Drepper <drepper@gmail.com>
23412
f574184a
UD
23413 [BZ #12052]
23414 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23415
e1fb097f
UD
23416 [BZ #12625]
23417 * misc/mntent_r.c (addmntent): Flush the stream after the output
23418
22836f52
UD
23419 [BZ #12393]
23420 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23421 (is_trusted_path_normalize): Skip initial colon. Append slash
23422 to empty buffer. Duplicate is_trusted_path code but allow
23423 constructed patch to be prefix.
23424 (is_dst): Allow $ORIGIN followed by /.
23425 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23426 Correct testing of result of is_trusted_path_normalize
23427 (decompose_rpath): Fix warning.
23428
7b3b0b2a
UD
234292011-05-10 Ulrich Drepper <drepper@gmail.com>
23430
23431 [BZ #11257]
23432 * grp/initgroups.c (internal_getgrouplist): When we found the service
23433 list through the initgroups entry in nsswitch.conf do not always
23434 continue on a successful lookup. Don't always use the
eac80ce2 23435 __nss_group_database value if it is set.
7b3b0b2a
UD
23436 * nss/nsswitch.conf (initgroups): Change action for successful db
23437 lookup to continue for compatibility.
23438
2a81eaa5
UD
234392011-05-09 Ulrich Drepper <drepper@gmail.com>
23440
be97a69e
UD
23441 [BZ #11532]
23442 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23443 and CP774 modules.
23444 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23445 and CP774 modules.
23446 * iconvdata/tst-tables.sh: Likewise.
23447 * iconvdata/cp770.c: New file.
23448 * iconvdata/cp771.c: New file.
23449 * iconvdata/cp772.c: New file.
23450 * iconvdata/cp773.c: New file.
23451 * iconvdata/cp774.c: New file.
23452 * iconvdata/testdata/CP770: New file.
23453 * iconvdata/testdata/CP770..UTF8: New file.
23454 * iconvdata/testdata/CP771: New file.
23455 * iconvdata/testdata/CP771..UTF8: New file.
23456 * iconvdata/testdata/CP772: New file.
23457 * iconvdata/testdata/CP772..UTF8: New file.
23458 * iconvdata/testdata/CP773: New file.
23459 * iconvdata/testdata/CP773..UTF8: New file.
23460 * iconvdata/testdata/CP774: New file.
23461 * iconvdata/testdata/CP774..UTF8: New file.
23462
23463 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23464 END CHARMAP line.
23465 * iconvdata/gen-8bit-gap.sh: Likewise.
23466 * iconvdata/gen-8bit.sh: Likewise.
23467
c1e9e399
UD
23468 * locale/iso-639.def: Add ary entry.
23469
24c55fb3 23470 [BZ #11258]
96b4b1b0
UD
23471 * locale/C-translit.h.in: Add U20A1 transliteration.
23472
bdc2f971
KB
23473 [BZ #12178]
23474 * locale/iso-639.def: Add wae entry.
23475 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23476
2952b117
UD
23477 [BZ #12545]
23478 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23479 for n.
23480
2a81eaa5
UD
23481 [BZ #12711]
23482 * locale/C-translit.h.in: Add entry for U20B9.
23483 Patch by pravin.d.s@gmail.com.
23484
28377d1b
UD
234852011-05-08 Ulrich Drepper <drepper@gmail.com>
23486
7fb90fb8
UD
23487 [BZ #12713]
23488 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23489 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23490 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23491 in rtld. Use *stat64.
7fb90fb8 23492 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23493 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23494 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23495 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23496 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23497 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23498 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23499 __fstatat64 macros.
7fb90fb8
UD
23500 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23501 * dirent/rewinddir.c: Add libc_hidden_def.
23502 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23503 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23504
28377d1b
UD
23505 * include/dirent.h (__alloc_dir): Add flags parameter.
23506 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23507 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23508 __alloc_dir.
23509 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23510 from fdopendir if O_CLOEXEC is already set.
23511
66bdbaa4
AM
235122011-03-15 Alan Modra <amodra@gmail.com>
23513
23514 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23515 l_tls_firstbyte_offset non-zero. Save padding offset in
23516 l_tls_firstbyte_offset for later use.
23517 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23518 freeing static tls block.
23519
95721191
JN
235202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23521
23522 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23523 where #ifdef was intended. The intent is to prevent ARG_MAX from
23524 being defined by the kernel headers.
23525
f87dfb1f
UD
235262011-05-07 Ulrich Drepper <drepper@gmail.com>
23527
23528 [BZ #12734]
23529 * resolv/resolv.h: Define RES_NOTLDQUERY.
23530 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23531 no-tld-query and set RES_NOTLDQUERY.
23532 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23533 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23534 modern BIND to search name as TLD unless forbidden.
23535
47c3cd7a
UD
235362011-05-07 Petr Baudis <pasky@suse.cz>
23537 Ulrich Drepper <drepper@gmail.com>
23538
23539 [BZ #12393]
23540 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23541 (is_trusted_path): ...to here.
c1e9ea35 23542 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23543 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23544 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23545
8a35c912
PP
235462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23547
23548 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23549 __BEGIN/__END_DECLS.
23550
acd41f47
UD
235512011-05-06 Ulrich Drepper <drepper@gmail.com>
23552
23553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23554 NSS_STATUS_NOTFOUND if no record was found.
23555
597df647
AS
235562011-05-05 Andreas Schwab <schwab@redhat.com>
23557
23558 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23559 (headers-not-in-tirpc): Remove rpc/netdb.h
23560 * resolv/netdb.h: Revert last change.
23561
b9af1301
PP
235622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23563
23564 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23565 circular dependency between libgcc.a and libc.a.
23566
4e34d5f5
AS
235672011-05-05 Andreas Schwab <schwab@redhat.com>
23568
23569 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23570 * nis/Makefile: Don't install rpcsvc/*.
23571 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23572 instead of <rpc/types.h>.
23573 (MAXHOSTNAMELEN): Define.
23574
00ee369c
AS
235752011-05-03 Andreas Schwab <schwab@redhat.com>
23576
23577 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23578
0b592a30
MB
235792011-04-28 Maciej Babinski <mbabinski@google.com>
23580
23581 [BZ #12714]
23582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23583 gethostbyname4_r when IPv6 results are possible.
23584
6e04cbbe
UD
235852011-05-02 Ulrich Drepper <drepper@gmail.com>
23586
23587 [BZ #12723]
23588 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23589 _PC_PIPE_BUF handling.
23590
e4ecafe0
BH
235912011-04-30 Bruno Haible <bruno@clisp.org>
23592
23593 [BZ #12717]
23594 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23595 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23596 to 'int'.
23597 * inet/getnameinfo.c (getnameinfo): Likewise.
23598
125ee683
UD
235992011-04-29 Ulrich Drepper <drepper@gmail.com>
23600
23601 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23602 to groups setting in database lookup.
23603 * nss/nsswitch.conf: Add initgroups entry.
23604
b722481a
EB
236052011-04-22 Ulrich Drepper <drepper@gmail.com>
23606
23607 [BZ #12685]
23608 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23609 mode string.
23610 Patch by Eric Blake <eblake@redhat.com>.
23611
4df46dbd
L
236122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 * sunrpc/Makefile (need-export-routines): Add svc_run.
23615 (routines): Remove svc_run.
23616 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23617 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23618 * sunrpc/svc_run.c (svc_run): Likewise.
23619 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23620
e84142d2
UD
236212011-04-21 Ulrich Drepper <drepper@gmail.com>
23622
23623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23624 problem in reallocation in last patch.
23625
877175d8
UD
236262011-04-20 Ulrich Drepper <drepper@gmail.com>
23627
23628 * sunrpc/Makefile: Move inclusion of Rules.
23629
ab8eed78
UD
236302011-04-19 Ulrich Drepper <drepper@gmail.com>
23631
23632 * nss/nss_files/files-initgroups.c: New file.
23633 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23634 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23635 _nss_files_initgroups_dyn.
23636
e3d8f584
RS
236372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23638
23639 * elf/elf.h (R_ARM_IRELATIVE): Define.
23640
af190f45
UD
236412011-04-19 Ulrich Drepper <drepper@gmail.com>
23642
23643 * po/ru.po: Update from translation team.
23644
53cf59ef
UD
236452011-04-17 Ulrich Drepper <drepper@gmail.com>
23646
23647 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23648 dependencies.
23649
4c559bcd
MF
236502011-02-06 Mike Frysinger <vapier@gentoo.org>
23651
23652 [BZ #12653]
23653 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23654 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23658
4420675c
AS
236592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23660
23661 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23662 differing bytes.
23663 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23666
75ea32ab
UD
236672011-04-17 Ulrich Drepper <drepper@gmail.com>
23668
23669 [BZ #12420]
23670 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23671 storing it.
23672 * stdlib/bug-getcontext.c: New file.
23673 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23674
27390476
AK
236752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23676
23677 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23678 instructions into .machine "z9-109".
23679 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23680 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23681
10442705
AK
236822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23683
23684 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23685 between environment variables and auxiliary vector.
23686
7b57bfe5
UD
236872011-04-16 Ulrich Drepper <drepper@gmail.com>
23688
23689 * Makefile: Add rules to build linkobj/libc.so.
23690 * include/libc-symbols.h: Define libc_hidden_nolink.
23691 * include/rpc/auth.h: Mark functions which are to be hidden.
23692 * include/rpc/auth_des.h: Likewise.
23693 * include/rpc/auth_unix.h: Likewise.
23694 * include/rpc/clnt.h: Likewise.
23695 * include/rpc/des_crypt.h: Likewise.
23696 * include/rpc/key_prot.h: Likewise.
23697 * include/rpc/pmap_clnt.h: Likewise.
23698 * include/rpc/pmap_prot.h: Likewise.
23699 * include/rpc/pmap_rmt.h: Likewise.
23700 * include/rpc/rpc_msg.h: Likewise.
23701 * include/rpc/svc.h: Likewise.
23702 * include/rpc/svc_auth.h: Likewise.
23703 * include/rpc/xdr.h: Likewise.
23704 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23705 * nss/Makefile: Likewise.
23706 * sunrpc/Makefile: Don't install headers. Build library with normal
23707 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23708 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23709 for the compat linking library. Remove use of INTDEF/INTUSE.
23710 * sunrpc/auth_none.c: Likewise.
23711 * sunrpc/auth_unix.c: Likewise.
23712 * sunrpc/authdes_prot.c: Likewise.
23713 * sunrpc/authuxprot.c: Likewise.
23714 * sunrpc/clnt_gen.c: Likewise.
23715 * sunrpc/clnt_perr.c: Likewise.
23716 * sunrpc/clnt_raw.c: Likewise.
23717 * sunrpc/clnt_simp.c: Likewise.
23718 * sunrpc/clnt_tcp.c: Likewise.
23719 * sunrpc/clnt_udp.c: Likewise.
23720 * sunrpc/clnt_unix.c: Likewise.
23721 * sunrpc/des_crypt.c: Likewise.
23722 * sunrpc/des_soft.c: Likewise.
23723 * sunrpc/get_myaddr.c: Likewise.
23724 * sunrpc/key_call.c: Likewise.
23725 * sunrpc/key_prot.c: Likewise.
23726 * sunrpc/netname.c: Likewise.
23727 * sunrpc/pm_getmaps.c: Likewise.
23728 * sunrpc/pm_getport.c: Likewise.
23729 * sunrpc/pmap_clnt.c: Likewise.
23730 * sunrpc/pmap_prot.c: Likewise.
23731 * sunrpc/pmap_prot2.c: Likewise.
23732 * sunrpc/pmap_rmt.c: Likewise.
23733 * sunrpc/publickey.c: Likewise.
23734 * sunrpc/rpc_cmsg.c: Likewise.
23735 * sunrpc/rpc_common.c: Likewise.
23736 * sunrpc/rpc_dtable.c: Likewise.
23737 * sunrpc/rpc_prot.c: Likewise.
23738 * sunrpc/rpc_thread.c: Likewise.
23739 * sunrpc/rtime.c: Likewise.
23740 * sunrpc/svc.c: Likewise.
23741 * sunrpc/svc_auth.c: Likewise.
23742 * sunrpc/svc_authux.c: Likewise.
23743 * sunrpc/svc_raw.c: Likewise.
23744 * sunrpc/svc_run.c: Likewise.
23745 * sunrpc/svc_simple.c: Likewise.
23746 * sunrpc/svc_tcp.c: Likewise.
23747 * sunrpc/svc_udp.c: Likewise.
23748 * sunrpc/svc_unix.c: Likewise.
23749 * sunrpc/svcauth_des.c: Likewise.
23750 * sunrpc/xcrypt.c: Likewise.
23751 * sunrpc/xdr.c: Likewise.
23752 * sunrpc/xdr_array.c: Likewise.
23753 * sunrpc/xdr_float.c: Likewise.
23754 * sunrpc/xdr_intXX_t.c: Likewise.
23755 * sunrpc/xdr_mem.c: Likewise.
23756 * sunrpc/xdr_rec.c: Likewise.
23757 * sunrpc/xdr_ref.c: Likewise.
23758 * sunrpc/xdr_sizeof.c: Likewise.
23759 * sunrpc/xdr_stdio.c: Likewise.
23760
e6c61494
UD
237612011-04-10 Ulrich Drepper <drepper@gmail.com>
23762
23763 [BZ #12650]
23764 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23765 * sysdeps/ia64/dl-tls.h: Likewise.
23766 * sysdeps/powerpc/dl-tls.h: Likewise.
23767 * sysdeps/s390/dl-tls.h: Likewise.
23768 * sysdeps/sh/dl-tls.h: Likewise.
23769 * sysdeps/sparc/dl-tls.h: Likewise.
23770 * sysdeps/x86_64/dl-tls.h: Likewise.
23771 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23772
34fe483e
AS
237732011-03-14 Andreas Schwab <schwab@redhat.com>
23774
23775 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23776 rpath element also skip the following colon.
23777 (expand_dynamic_string_token): Add is_path parameter and pass
23778 down to DL_DST_REQUIRED and _dl_dst_substitute.
23779 (decompose_rpath): Call expand_dynamic_string_token with
23780 non-zero is_path. Ignore empty rpaths.
23781 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23782 with zero is_path.
23783
f12a32e6
AS
237842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23785
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23787 Make cancelable.
23788
38a7d692
UD
237892011-04-09 Ulrich Drepper <drepper@gmail.com>
23790
23791 [BZ #12655]
23792 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23793 Patch by Filipe David Manana <fdmanana@apache.org>.
23794
e451d22b
AS
237952011-04-07 Andreas Schwab <schwab@redhat.com>
23796
23797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23798 Maintain aligned stack.
23799 (CHECK_RSP): Remove unused macro.
23800
dedc7c7b
UD
238012011-04-03 Ulrich Drepper <drepper@gmail.com>
23802
23803 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23805
94521213
UD
238062011-04-02 Ulrich Drepper <drepper@gmail.com>
23807
23808 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23809
8cb700c0 23810 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23811
0354e355
L
238122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23813
23814 [BZ #12518]
23815 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23816 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23817 * sysdeps/x86_64/memmove.c: New file.
23818 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23819 (memcpy): Renamed to ...
23820 (__new_memcpy): This.
23821 (memcpy): Provide GLIBC_2_14 memcpy.
23822 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23823 (memcpy): Provide GLIBC_2_2_5 memcpy.
23824
8593482f
UD
238252011-04-01 Ulrich Drepper <drepper@gmail.com>
23826
23827 [BZ #12631]
23828 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23829
81a5726b
AS
238302011-03-30 Andreas Schwab <schwab@redhat.com>
23831
23832 * misc/syncfs.c: New file.
23833 * misc/Makefile (routines): Add syncfs.
23834 * posix/unistd.h: Declare syncfs.
23835 * sysdeps/unix/syscalls.list: Add syncfs.
23836
00e5419f
AS
238372011-04-01 Andreas Schwab <schwab@redhat.com>
23838
23839 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23840 open_by_handle_at.
23841 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23846 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23848
748876bf
UD
238492011-04-01 Ulrich Drepper <drepper@gmail.com>
23850
658e451d
UD
23851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23853 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23858
748876bf
UD
23859 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23860 sync_file_range.c with -fexceptions.
23861 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23862 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23863 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23864 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23865 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23866 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23868 sync_file_range as cancellation point
23869 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23870 now a wrapper around __call_sync_file_range with cancellation handling.
23871 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23873 function name to __call_sync_file_range.
23874 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23875 Add call_sync_file_range.
748876bf 23876
6e63d5e1
AS
238772011-04-01 Andreas Schwab <schwab@redhat.com>
23878
23879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23880 bits/timex.h.
6e63d5e1 23881
46998f74
UD
238822011-04-01 Ulrich Drepper <drepper@gmail.com>
23883
4c1423ed
UD
23884 * iconv/iconv.h: Fix typo in comment.
23885 * io/fcntl.h: Likewise.
23886 * libio/stdio.h: Likewise.
23887 * posix/spawn.h: Likewise.
23888 * posix/unistd.h: Likewise.
23889 * stdlib/stdlib.h: Likewise.
23890 * time/time.h: Likewise.
23891 * wcsmbs/wchar.h: Likewise.
23892
158648c0
UD
23893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23894 open_by_handle): Add.
23895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23896 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23897 Augment a few comments.
23898 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23900 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23902 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23903 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23904 open_by_handle.
23905
46998f74
UD
23906 * io/fcntl.h (AT_EMPTY_PATH): Define.
23907
83fe108b
UD
239082011-03-30 Ulrich Drepper <drepper@gmail.com>
23909
23910 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23911 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23912 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23913 to...
23914 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23915 * Versions.def: Add GLIBC_2.14.
23916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23917 Export.
83fe108b 23918
bb242059
UD
239192011-03-22 Ulrich Drepper <drepper@gmail.com>
23920
23921 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23922 round counter.
23923 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23924
c97a1282
L
239252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 [BZ #12597]
23928 * string/test-strncmp.c (do_page_test): New function.
23929 (check2): Likewise.
23930 (test_main): Call check2.
23931 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23932
2a115601
UD
239332011-03-20 Ulrich Drepper <drepper@gmail.com>
23934
23935 [BZ #12587]
23936 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23937 Handle cache information in CPU leaf 4.
23938 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23939
8126d904
UD
239402011-03-18 Ulrich Drepper <drepper@gmail.com>
23941
042c49c6 23942 [BZ #12583]
8126d904
UD
23943 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23944 character representation.
23945 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23946
ccfe366e
RA
239472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23948
23949 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23950 END(__isnan) to END(__isnanf) to match function entry point/label
23951 EALIGN(__isnanf,...).
23952
c6e13027
JJ
239532011-03-10 Jakub Jelinek <jakub@redhat.com>
23954
23955 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23956
33f85a3f
UD
239572011-03-10 Ulrich Drepper <drepper@gmail.com>
23958
028478fa
UD
23959 [BZ #12510]
23960 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23961 copy from the symbol referenced in the relocation to initialize the
23962 used variable.
23963 Patch by Piotr Bury <pbury@goahead.com>.
23964 * elf/Makefile: Add rules to build and tst-unique3.
23965 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23966 * elf/tst-unique3.cc: New file.
23967 * elf/tst-unique3.h: New file.
23968 * elf/tst-unique3lib.cc: New file.
23969 * elf/tst-unique3lib2.cc: New file.
23970
33f85a3f
UD
23971 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23972
03592fc7
MF
239732011-03-10 Mike Frysinger <vapier@gentoo.org>
23974
23975 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23976 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23977 to _start.
03592fc7 23978
6a5ee102
UD
239792011-03-06 Ulrich Drepper <drepper@gmail.com>
23980
23981 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23982 to-be-loaded object along a path to loader is ld.so.
23983
7e4ba49c
HJ
239842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23985 Ulrich Drepper <drepper@gmail.com>
23986
23987 * sysdeps/x86_64/memset.S: After aligning destination, code
23988 branches to different locations depending on the value of
23989 misalignment, when multiarch is enabled. Fix this.
23990
239912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23992
23993 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23994 Set _x86_64_preferred_memory_instruction for AMD processsors.
23995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23996 Set bit_Prefer_SSE_for_memop for AMD processors.
23997
13a804de
UD
239982011-03-04 Ulrich Drepper <drepper@gmail.com>
23999
24000 * libio/fmemopen.c (fmemopen): Optimize a bit.
24001
9d25c392
AS
240022011-03-03 Andreas Schwab <schwab@redhat.com>
24003
24004 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24005
a5543c6a
RM
240062011-03-03 Roland McGrath <roland@redhat.com>
24007
24008 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24009
012d35f7
DM
240102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24011
7e4ba49c 24012 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24013 __bzero_ultra1 instead of __memset_ultra1.
24014
4bff6e01
AS
240152011-02-23 Andreas Schwab <schwab@redhat.com>
24016 Ulrich Drepper <drepper@gmail.com>
24017
24018 [BZ #12509]
24019 * include/link.h (struct link_map): Add l_orig_initfini.
24020 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24021 returning unsuccessfully.
24022 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24023 close of a file loaded at startup, restore the original l_initfini
24024 list.
24025 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24026 list, store the pointer.
24027 * elf/Makefile ($(objpfx)noload-mem): New rule.
24028 (noload-ENV): Define.
24029 (tests): Add $(objpfx)noload-mem.
24030 * elf/noload.c: Include <memcheck.h>.
24031 (main): Call mtrace. Close all opened handles.
24032
f2092faf
AS
240332011-02-17 Andreas Schwab <schwab@redhat.com>
24034
24035 [BZ #12454]
24036 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24037 dependencies are missing.
24038
6c8a2e88
ST
240392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24040
f2092faf 24041 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24042 Hurd needs munmap.
24043 * sysdeps/mach/hurd/ifreq.h: New file.
24044
84a42118
PB
240452011-01-27 Petr Baudis <pasky@suse.cz>
24046 Ulrich Drepper <drepper@gmail.com>
24047
071f805e 24048 [BZ 12445]#
84a42118
PB
24049 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24050 to extend_alloca().
24051 * stdio-common/bug23.c: New file.
24052 * stdio-common/Makefile (tests): Add bug23.
24053
e23fe25b
AS
240542010-09-28 Andreas Schwab <schwab@redhat.com>
24055 Ulrich Drepper <drepper@gmail.com>
24056
24057 [BZ #12489]
24058 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24059 before performing relro protection. At old place add assertion
24060 to make sure nothing changed.
24061
d3f02e10
NS
240622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24063 Glauber de Oliveira Costa <glommer@gmail.com>
24064
24065 * elf/elf.h: Add new ARM TLS relocs.
24066
d55fd7a5
RA
240672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24068
24069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24070 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24071 cast from r3.
24072 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24073 'tests' variable.
24074 * sysdeps/wordsize-64/tst-writev.c: New file.
24075
2206397e
RA
240762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24077
24078 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24079 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24080 insns in _dl_start to prevent a TOC reference before relocs are
24081 resolved.
24082
e9433893
UD
240832011-02-15 Ulrich Drepper <drepper@gmail.com>
24084
24085 [BZ #12469]
24086 * Makeconfig: Remove RANLIB definition.
24087 * Makerules: Don't use RANLIB.
24088 * aclocal.m4: Remove ranlib test.
24089 * configure.in: No need to check for ranlib.
24090 * elf/rtld-Rules: Don't use RANLIB.
24091
f75286c6
ST
240922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24093
8e31c82d
ST
24094 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24095 protection macro.
24096 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24097 inclusion protection macro.
24098
f75286c6
ST
24099 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24100 SIGRTMIN and SIGRTMAX and print information in that case only when
24101 SIGRTMIN is defined.
24102
c1d0e639
JJ
241032011-02-11 Jakub Jelinek <jakub@redhat.com>
24104
24105 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24106 arginfo fn returning -1.
24107
24108 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24109 and thousands string is zero terminated.
24110
edf9294e
AS
241112011-02-03 Andreas Schwab <schwab@redhat.com>
24112
24113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24114 sysdeps/unix/sysv/linux/bits/socket.h.
24115
2b7e92df
ST
241162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24117
edf9294e
AS
24118 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24119 (__CPU_COUNT): Remove old macros.
24120 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24121 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24122 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24123 (__sched_cpualloc, __sched_cpufree): Add declarations.
24124
a4c7ea7b
UD
241252011-02-05 Ulrich Drepper <drepper@gmail.com>
24126
24127 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24128 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24129 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24130 (readdhstai): Return value of addhstaiX call.
24131 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24132 (addgrbyX): Return value returned by cache_addgr.
24133 (readdgrbyname): Return value returned by addgrbyX.
24134 (readdgrbygid): Likewise.
24135 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24136 (addpwbyX): Return value returned by cache_addpw.
24137 (readdpwbyname): Return value returned by addhstbyX.
24138 (readdpwbyuid): Likewise.
24139 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24140 (addservbyX): Return value returned by cache_addserv.
24141 (readdservbyname): Return value returned by addservbyX:
24142 (readdservbyport): Likewise.
24143 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24144 (addhstbyX): Return value returned by cache_addhst.
24145 (readdhstbyname): Return value returned by addhstbyX.
24146 (readdhstbyaddr): Likewise.
24147 (readdhstbynamev6): Likewise.
24148 (readdhstbyaddrv6): Likewise.
24149 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24150 (readdinitgroups): Return value returned by addinitgroupsX.
24151 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24152 (prune_cache): Keep track of timeout value of re-added entries.
24153 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24154 * nscd/nscd.h: Adjust prototypes of readd* functions.
24155
a0bf67cc
RM
241562011-02-04 Roland McGrath <roland@redhat.com>
24157
24158 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24159 (nis_stats): Likewise.
24160 * nis/nis_modify.c (nis_modify): Likewise.
24161 * nis/nis_remove.c (nis_remove): Likewise.
24162 * nis/nis_add.c (nis_add): Likewise.
24163
24164 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24165
24166 * posix/fnmatch_loop.c: Add some consts.
24167
24168 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24169
435b95eb
L
241702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24171
24172 [BZ #12460]
24173 * config.make.in (config-cflags-novzeroupper): Define.
24174 * configure.in: Substitute libc_cv_cc_novzeroupper.
24175 * elf/Makefile (AVX-CFLAGS): Define.
24176 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24177 (CFLAGS-tst-auditmod4a.c): Likewise.
24178 (CFLAGS-tst-auditmod4b.c): Likewise.
24179 (CFLAGS-tst-auditmod6b.c): Likewise.
24180 (CFLAGS-tst-auditmod6c.c): Likewise.
24181 (CFLAGS-tst-auditmod7b.c): Likewise.
24182 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24183
8517b15e
UD
241842011-02-02 Ulrich Drepper <drepper@gmail.com>
24185
24186 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24187 function to the callback.
24188 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24189
10a656fe
AS
241902011-02-02 Andreas Schwab <schwab@redhat.com>
24191
24192 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24193 of errno.
24194
968dad0a
UD
241952011-01-19 Ulrich Drepper <drepper@gmail.com>
24196
9f94d2ea 24197 [BZ #11724]
968dad0a
UD
24198 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24199 of constructors.
24200 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24201 of destructors.
24202 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24203
24204 [BZ #11724]
24205 * elf/Makefile: Add rules to build and run new test.
24206 * elf/tst-initorder.c: New file.
24207 * elf/tst-initorder.exp: New file.
24208 * elf/tst-initordera1.c: New file.
24209 * elf/tst-initordera2.c: New file.
24210 * elf/tst-initordera3.c: New file.
24211 * elf/tst-initordera4.c: New file.
24212 * elf/tst-initorderb1.c: New file.
24213 * elf/tst-initorderb2.c: New file.
24214 * elf/tst-order-a1.c: New file.
24215 * elf/tst-order-a2.c: New file.
24216 * elf/tst-order-a3.c: New file.
24217 * elf/tst-order-a4.c: New file.
24218 * elf/tst-order-b1.c: New file.
24219 * elf/tst-order-b2.c: New file.
24220 * elf/tst-order-main.c: New file.
24221 New test case by George Gensure <werkt0@gmail.com>.
24222
86e92359
UD
242232010-10-01 Andreas Schwab <schwab@redhat.com>
24224
24225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24226 decoding ACE if AI_CANONIDN.
24227
5d5732b0
UD
242282011-01-18 Ulrich Drepper <drepper@gmail.com>
24229
24230 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24231
a77e8cbc
UD
242322011-01-17 Ulrich Drepper <drepper@gmail.com>
24233
6392473f
UD
24234 * version.h (RELEASE): Bump for 2.13 release.
24235 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24236
620a0529
UD
24237 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24238
18ba70a5
UD
24239 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24240 MADV_NOHUGEPAGE.
32465c3e
UD
24241 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24247
c0dafcf1
UD
24248 * posix/getconf.c: Update copyright year.
24249 * catgets/gencat.c: Likewise.
24250 * csu/version.c: Likewise.
24251 * debug/catchsegv.sh: Likewise.
24252 * debug/xtrace.sh: Likewise.
24253 * elf/ldconfig.c: Likewise.
24254 * elf/ldd.bash.in: Likewise.
24255 * elf/sprof.c (print_version): Likewise.
24256 * iconv/iconv_prog.c: Likewise.
24257 * iconv/iconvconfig.c: Likewise.
24258 * locale/programs/locale.c: Likewise.
24259 * locale/programs/localedef.c: Likewise.
24260 * malloc/memusage.sh: Likewise.
24261 * malloc/mtrace.pl: Likewise.
24262 * nscd/nscd.c (print_version): Likewise.
24263 * nss/getent.c: Likewise.
24264
a77e8cbc
UD
24265 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24266 PF_CAIF, and PF_ALG.
24267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24268
77e8bddf
AS
242692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24270
1f20b93a
AS
24271 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24272 (modules-names): Use them.
24273 (ifunc-test-modules, ifunc-pie-tests): Define.
24274 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24275 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24276 (test-extras): Likewise.
24277 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24278 $(compile-command.c).
24279 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24280 (all-built-dso): Define.
24281 (check-textrel.out, check-execstack.out): Depend on it.
24282
77e8bddf
AS
24283 * configure.in: Don't override --enable-multi-arch.
24284
bc425b33
UD
242852011-01-15 Ulrich Drepper <drepper@gmail.com>
24286
24287 [BZ #6812]
24288 * nscd/hstcache.c (tryagain): Define.
24289 (cache_addhst): Return tryagain not notfound for temporary errors.
24290 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24291 failed.
24292
794c3ad3
UD
242932011-01-14 Ulrich Drepper <drepper@gmail.com>
24294
70181fdd
UD
24295 [BZ #10563]
24296 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24297 to make the syscall.
24298 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24299
794c3ad3
UD
24300 [BZ #12378]
24301 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24302 and fall back to matching as normal character if the string ends before
24303 the matching ']' is found. This is what POSIX requires.
24304 * posix/testfnm.c: Adjust test result.
24305 * posix/globtest.sh: Adjust test result. Add new test.
24306 * posix/tst-fnmatch.input: Likewise.
24307 * posix/tst-fnmatch2.c: Add new test.
24308
68dc9497
AS
243092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24310
24311 * elf/Makefile (check-execstack): Revert last change. Depend on
24312 check-execstack.h.
24313 (check-execstack.h): New target.
24314 (generated): Add check-execstack.h.
24315 * elf/check-execstack.c: Include "check-execstack.h".
24316 (main): Revert last change.
24317 (handle_file): Return zero if GNU_STACK is absent and
24318 DEFAULT_STACK_PERMS doesn't include PF_X.
24319
451f001b
UD
243202011-01-13 Ulrich Drepper <drepper@gmail.com>
24321
cfa28e56
UD
24322 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24323 in child fails because the descriptor is already closed.
8cf8ce17
UD
24324 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24325 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24326 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24327
1086d70d
UD
24328 [BZ #12397]
24329 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24330 syscall.
24331
451f001b
UD
24332 [BZ #10484]
24333 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24334 temporary buffer used to handle multi lookups locally.
a85b5cb4 24335 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24336
08769175
UD
243372011-01-12 Ulrich Drepper <drepper@gmail.com>
24338
24339 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24340 loader is ld.so.
24341
5e49c52e
UD
243422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24343
24344 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24345 alignment for SSE2.
24346
60522a5f
UD
243472011-01-12 Ulrich Drepper <drepper@gmail.com>
24348
24349 [BZ #12394]
24350 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24351 characters. When rounding increased number of integer digits recompute
24352 number of groups.
24353 * stdio-common/tst-grouping.c: New file.
24354 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24355
f257bbd7
UD
243562011-01-09 Ulrich Drepper <drepper@gmail.com>
24357
24358 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24359 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24360
24361 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24362 void.
24363 * bits/select.h: Likewise.
24364
fa9c15cb
UD
243652011-01-08 Ulrich Drepper <drepper@gmail.com>
24366
24367 * po/ja.po: Update from translation team.
24368
16c2895f
DM
243692011-01-04 David S. Miller <davem@sunset.davemloft.net>
24370
24371 [BZ #11155]
24372 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24373 implementation just like for lxstat, fxstatat, et al.
24374
2543fef2
JM
243752010-12-27 Jim Meyering <meyering@redhat.com>
24376
24377 [BZ #12348]
24378 * posix/regexec.c (build_trtable): Return failure indication upon
24379 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24380
98727dbe
UD
243812010-12-25 Ulrich Drepper <drepper@gmail.com>
24382
5bd6dc5c
UD
24383 [BZ #12201]
24384 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24385 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24386 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24387 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24388
97983464
UD
24389 [BZ #12207]
24390 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24391
98727dbe
UD
24392 [BZ #12204]
24393 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24394 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24395
4a531bb0
L
243962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24399 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24400 script has SORT_BY_INIT_PRIORITY.
24401 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24402 NO_CTORS_DTORS_SECTIONS is defined.
24403 * elf/soinit.c: Likewise.
24404 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24405 NO_CTORS_DTORS_SECTIONS is defined.
24406 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24407 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24408 * sysdeps/sh/init-first.c: Likewise.
24409 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24410
07eb4b71
UD
244112010-12-24 Ulrich Drepper <drepper@gmail.com>
24412
24413 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24414 always use the slow path.
24415
30950a5f
RA
244162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24417
24418 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24419 similar rule which adds the sysdep directories to the header search in
24420 order to pick up the correct platform stackinfo.h.
24421 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24422 perform test if it is, otherwise return successfully without testing.
24423 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24424 DEFAULT_STACK_PERMS define in stackinfo.h.
24425 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24426 defined in stackinfo.h.
24427 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24428 DEFAULT_STACK_PERMS defined in stackinfo.h.
24429 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24430 * sysdeps/ia64/stackinfo.h: Likewise.
24431 * sysdeps/s390/stackinfo.h: Likewise.
24432 * sysdeps/sh/stackinfo.h: Likewise.
24433 * sysdeps/sparc/stackinfo.h: Likewise.
24434 * sysdeps/x86_64/stackinfo.h: Likewise.
24435 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24436 PF_X for powerpc64. Retain PF_X for powerpc32.
24437
db753e2c
UD
244382010-12-19 Ulrich Drepper <drepper@gmail.com>
24439
14b697f7
UD
24440 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24441 accurately.
db753e2c
UD
24442 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24443 GETDENTS_64BIT_ALIGNED.
24444
28300719
UD
244452010-12-14 Ulrich Drepper <dreper@gmail.com>
24446
14b697f7 24447 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24448
4f197237
AS
244492010-12-10 Andreas Schwab <schwab@redhat.com>
24450
dbb0472f
AS
24451 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24452 _GNU_SOURCE.
24453
4f197237
AS
24454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24455 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24456 Remove __restrict.
24457 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24458 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24459
fb88ac72
UD
244602010-12-09 Ulrich Drepper <drepper@gmail.com>
24461
24462 [BZ #11655]
24463 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24464 are initialized.
24465
42acbb92
JJ
244662010-12-09 Jakub Jelinek <jakub@redhat.com>
24467
24468 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24469
c038d98d
UD
244702010-12-03 Ulrich Drepper <drepper@gmail.com>
24471
24472 * po/it.po: Update from translation team.
24473
3a4a2499
L
244742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24477 unused codes.
24478
1e24cf6e
UD
244792010-11-30 Ulrich Drepper <drepper@gmail.com>
24480
24481 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24482
a7690819
AS
244832010-11-24 Andreas Schwab <schwab@redhat.com>
24484
24485 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24486 specially.
24487 (gaih_getanswer_slice): Likewise.
24488
3bf8d1b1
JJ
244892010-10-20 Jakub Jelinek <jakub@redhat.com>
24490
24491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24492
6db52fbb
PB
244932010-05-31 Petr Baudis <pasky@suse.cz>
24494
24495 [BZ #11149]
24496 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24497 silently even in the chroot mode.
24498
eaca7569
UD
244992010-11-22 Ulrich Drepper <drepper@gmail.com>
24500
24501 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24502 last patch a bit. Pretty printing
24503
3056dcdb
UD
245042010-05-31 Petr Baudis <pasky@suse.cz>
24505
24506 [BZ #10085]
24507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24508 initialization of skip_initgroups_dyn.
24509
cf7c9078
UD
245102010-11-19 Ulrich Drepper <drepper@gmail.com>
24511
24512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24514
a1fb5e3e
UD
245152010-11-16 Ulrich Drepper <drepper@gmail.com>
24516
24517 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24518
3540d66b
AS
245192010-11-11 Andreas Schwab <schwab@redhat.com>
24520
24521 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24522 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24523 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24524 ($(objpfx)tst-fnmatch-mem): New rule.
24525 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24526 * posix/tst-fnmatch.c (main): Call mtrace.
24527
13b69574
L
245282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24529
24530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24531 Support Intel processor model 6 and model 0x2c.
24532
da93d214
LM
245332010-11-10 Luis Machado <luisgpm@br.ibm.com>
24534
24535 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24536 signed comparison.
24537
8ca52c6e
L
245382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 [BZ #12205]
24541 * string/test-strncasecmp.c (check_result): New function.
24542 (do_one_test): Use it.
24543 (check1): New function.
24544 (test_main): Use it.
24545 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24546 Support strcasecmp and strncasecmp.
24547
69da074d
UD
245482010-11-08 Ulrich Drepper <drepper@gmail.com>
24549
24550 [BZ #12194]
24551 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24553
ff02d528
L
245542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24557 IFUNC support.
24558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24559 memset-x86-64.
24560 * sysdeps/x86_64/multiarch/bzero.S: New file.
24561 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24562 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24563 * sysdeps/x86_64/multiarch/memset.S: New file.
24564 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24566 Set bit_Prefer_SSE_for_memop for Intel processors.
24567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24568 Define.
24569 (index_Prefer_SSE_for_memop): Define.
24570 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24571
344d0b54
LM
245722010-11-04 Luis Machado <luisgpm@br.ibm.com>
24573
24574 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24575 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24576
c0dde15b
UD
245772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24578
24579 [BZ #12191]
24580 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24581 (__x86_64_raw_data_cache_size_half): Likewise.
24582 (__x86_64_raw_shared_cache_size): Likewise.
24583 (__x86_64_raw_shared_cache_size_half): Likewise.
24584
24585 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24586 (__x86_64_raw_data_cache_size_half): Likewise.
24587 (__x86_64_raw_shared_cache_size): Likewise.
24588 (__x86_64_raw_shared_cache_size_half): Likewise.
24589 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24590 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24591 and __x86_64_raw_shared_cache_size_half. Round
24592 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24593 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24594 to multiple of 256 bytes.
24595
0e516e0e
MS
245962010-11-03 Ulrich Drepper <drepper@gmail.com>
24597
24598 [BZ #12167]
24599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24600 of inacessible symlinks. Verify result of symlink before returning it.
24601 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24602 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24603
0e012e87
ER
246042010-10-28 Erich Ritz <erichritz@gmail.com>
24605
24606 * math/math.h (isinf): Fix typo in comment.
24607
de0ff7bc
UD
246082010-11-01 Ulrich Drepper <drepper@gmail.com>
24609
24610 * po/da.po: Update from translation team.
24611
fa41c84d
UD
246122010-10-26 Ulrich Drepper <drepper@gmail.com>
24613
24614 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24615 is added to the list.
24616
f0967738
AK
246172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24618 Ulrich Drepper <drepper@gmail.com>
24619
24620 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24621 the global list here. Move code to...
24622 (_dl_add_to_namespace_list): ...here. New function.
24623 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24624 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24625 * elf/dl-load.c (lose): Don't remove the element from the list.
24626 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24627 (_dl_map_object): Likewise.
24628
246292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24630
24631 [BZ #12159]
24632 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24633 into all bytes of SSE register.
24634 Patch by Richard Li <richardpku@gmail.com>.
24635
f0967738 246362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24637
24638 [BZ #12140]
24639 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24640 perturbing.
24641
d0b9e94f
MB
246422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24643
24644 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24645 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24646 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24649 submachine.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24651
8e9f92e9
AS
246522010-10-22 Andreas Schwab <schwab@redhat.com>
24653
24654 * include/dlfcn.h (__RTLD_SECURE): Define.
24655 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24656 mode & __RTLD_SECURE instead.
24657 (open_path): Rename preloaded parameter to secure.
24658 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24659 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24660 * elf/dl-deps.c (openaux): Likewise.
24661 * elf/rtld.c (struct map_args): Remove is_preloaded.
24662 (map_doit): Don't use it.
24663 (dl_main): Likewise.
24664 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24665 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24666
bc96fbda
AS
246672010-09-09 Andreas Schwab <schwab@redhat.com>
24668
24669 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24670 (sysd-rules-targets): Remove duplicates.
24671 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24672 rtld-%.$o dependency.
24673
22cd1c9b
AS
246742010-10-18 Andreas Schwab <schwab@redhat.com>
24675
24676 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24677 _dl_map_object do it.
24678
18edac48
UD
246792010-10-19 Ulrich Drepper <drepper@gmail.com>
24680
24681 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24682 fast fma builtins, define the macros in the C99 standard.
24683 (FP_FAST_FMAF): Likewise.
24684 (FP_FAST_FMAL): Likewise.
24685 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24686
24687 * bits/mathdef.h: Update copyright year.
24688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24689
d2050124
MM
246902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24691
24692 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24693 builtins, define the macros in the C99 standard.
24694 (FP_FAST_FMAF): Likewise.
24695 (FP_FAST_FMAL): Likewise.
24696 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24697 multiply/add.
24698 (FP_FAST_FMAF): Likewise.
24699
475facd1
JJ
247002010-10-15 Jakub Jelinek <jakub@redhat.com>
24701
24702 [BZ #3268]
24703 * math/libm-test.inc (fma_test): Some new testcases.
24704 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24706 y and infinite z. Do multiplication by C already in long double.
24707 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24709 y and infinite z. Do bitwise or of inexact bit into u.d.
24710 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24711 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24712 * sysdeps/i386/fpu/s_fma.S: Removed.
24713 * sysdeps/i386/fpu/s_fmal.S: Removed.
24714
7c08a05c
JJ
247152010-10-16 Jakub Jelinek <jakub@redhat.com>
24716
24717 [BZ #3268]
24718 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24720 computation is not scheduled after fetestexcept. Fix value
24721 of minimum denormal long double.
24722
f3f7372d
JJ
247232010-10-14 Jakub Jelinek <jakub@redhat.com>
24724
24725 [BZ #3268]
24726 * math/libm-test.inc (fma_test): Add some more tests.
24727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24728 correctly.
24729
14d43591
AS
247302010-10-15 Andreas Schwab <schwab@redhat.com>
24731
24732 * scripts/data/localplt-s390-linux-gnu.data: New file.
24733 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24734
5e908464
JJ
247352010-10-13 Jakub Jelinek <jakub@redhat.com>
24736
24737 [BZ #3268]
24738 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24739 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24740 instead of dbl-64.
24741 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24742 inlines.
24743 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24745 if one of x and y is very large and the other is subnormal.
24746 * sysdeps/s390/fpu/s_fmaf.c: New file.
24747 * sysdeps/s390/fpu/s_fma.c: New file.
24748 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24749 * sysdeps/powerpc/fpu/s_fma.S: New file.
24750 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24751 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24752 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24753
247542010-10-12 Jakub Jelinek <jakub@redhat.com>
24755
24756 [BZ #3268]
24757 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24758 fma tests.
24759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24760 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24761 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24762 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24763 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24764 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24766
b833d51f
UD
247672010-10-12 Ulrich Drepper <drepper@redhat.com>
24768
24769 [BZ #12078]
24770 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24771 * posix/bug-regex31.input: Add test case.
24772
1751705d
UD
247732010-10-11 Ulrich Drepper <drepper@gmail.com>
24774
e9b9cbf5
UD
24775 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24776 * posix/bug-regex31.input: New file.
24777
24778 [BZ #12078]
24779 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24780 (parse_sub_exp): Fix last change, use postorder.
24781
ef06edbe
UD
24782 * posix/bug-regex31.c: New file.
24783 * posix/Makefile: Add rules to build and run bug-regex31.
24784
a129c80d
UD
24785 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24786
24787 [BZ #12078]
24788 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24789
b76b818e
UD
24790 [BZ #12108]
24791 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24792 to have entries in sys_siglist.
24793
1751705d
UD
24794 [BZ #12093]
24795 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24796 be NULL.
24797
9ff8d36f
JJ
247982010-10-07 Jakub Jelinek <jakub@redhat.com>
24799
24800 [BZ #3268]
24801 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24802 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24803 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24804 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24805 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24806 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24807 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24808 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24809 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24810 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24811 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24812 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24813 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24814 * math/ftestexcept.c (fetestexcept): Likewise.
24815 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24816 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24817 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24818 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24819 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24820 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24822
af325969
UD
248232010-10-11 Ulrich Drepper <drepper@gmail.com>
24824
c579b202 24825 [BZ #12107]
af325969
UD
24826 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24827 newline.
24828
67a67b95
UD
248292010-10-06 Ulrich Drepper <drepper@gmail.com>
24830
24831 * string/bug-strstr1.c: New file.
24832 * string/Makefile: Add rules to build and run bug-strstr1.
24833
5fb308bc
EB
248342010-10-05 Eric Blake <eblake@redhat.com>
24835
24836 [BZ #12092]
24837 * string/str-two-way.h (two_way_long_needle): Always clear memory
24838 when skipping input due to the shift table.
24839
45db99c7
UD
248402010-10-03 Ulrich Drepper <drepper@gmail.com>
24841
3b111893
UD
24842 [BZ #12005]
24843 * malloc/mcheck.c: Handle large requests.
24844
45db99c7
UD
24845 [BZ #12077]
24846 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24847 for strncmp and strncasecmp.
24848 * string/stratcliff.c: Add tests for strcmp and strncmp.
24849 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24850
cf7a1eb8
NI
248512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24852
24853 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24854 __set_fpscr.
24855
6484ba5e
AJ
248562010-09-30 Andreas Jaeger <aj@suse.de>
24857
24858 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24859 (CGROUP_SUPER_MAGIC): Define.
24860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24861 Handle btrfs and cgroup file systems.
24862 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24863 Likewise.
24864
91c42559
LM
248652010-09-27 Luis Machado <luisgpm@br.ibm.com>
24866
24867 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24868 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24869
87a97932
AK
248702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24871
24872 [BZ #12067]
24873 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24874 trying to locate the ELF header.
24875
c21cc9bc
AS
248762010-09-27 Andreas Schwab <schwab@redhat.com>
24877
24878 [BZ #11611]
24879 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24880 Mask out sign-bit copies when constructing f_fsid.
24881
315970f6
PB
248822010-09-24 Petr Baudis <pasky@suse.cz>
24883
24884 * debug/stack_chk_fail_local.c: Add missing licence exception.
24885 * debug/warning-nop.c: Likewise.
24886
1ac7a2c7
JM
248872010-09-15 Joseph Myers <joseph@codesourcery.com>
24888
24889 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24890 implementing getdents64 using getdents syscall, set d_type if
24891 __ASSUME_GETDENTS32_D_TYPE.
24892
56801c50
AS
248932010-09-16 Andreas Schwab <schwab@redhat.com>
24894
24895 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24896 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24897
dda51327
UD
248982010-09-21 Ulrich Drepper <drepper@redhat.com>
24899
24900 [BZ #12037]
24901 * posix/unistd.h: Undo change of feature selection for ftruncate from
24902 2010-01-11.
24903
8ffcee4a
UD
249042010-09-20 Ulrich Drepper <drepper@redhat.com>
24905
a545ecd9 24906 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24907 detection.
24908
e24f0a8b
AS
249092010-09-20 Andreas Schwab <schwab@redhat.com>
24910
24911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24912 fanotify_mark.
24913 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24914
7291c56f
AS
249152010-09-14 Andreas Schwab <schwab@redhat.com>
24916
24917 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24918 variables after CHECK_SP call.
24919 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24920
bc5fb037
AS
249212010-09-13 Andreas Schwab <schwab@redhat.com>
24922 Ulrich Drepper <drepper@redhat.com>
24923
24924 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24925 re-relocationg ld.so.
24926 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24927 _dl_init_paths call.
24928 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24929 here anymore.
24930
e66e7419
UD
249312010-09-14 Ulrich Drepper <drepper@redhat.com>
24932
24933 * resolv/res_init.c (__res_vinit): Count the default server we added.
24934
c044aa75
CLT
249352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24936 Ulrich Drepper <drepper@redhat.com>
24937
24938 [BZ #11968]
24939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24940 (____longjmp_chk): Use %ebx for saving value across system call.
24941 Add unwind info.
24942
32cf4069
AS
249432010-09-06 Andreas Schwab <schwab@redhat.com>
24944
24945 * manual/Makefile: Don't mix pattern rules with normal rules.
24946
817328ee
AS
249472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24948
24949 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24950 operation.
24951 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24952 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24953 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24954 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24956 Likewise.
24957
29fddf61
UD
249582010-09-04 Ulrich Drepper <drepper@redhat.com>
24959
24960 [BZ #11979]
24961 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24962 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24963
0959ffc9
UD
249642010-09-02 Ulrich Drepper <drepper@redhat.com>
24965
24966 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24967 * sysdeps/x86_64/addmul_1.S: Likewise.
24968 * sysdeps/x86_64/lshift.S: Likewise.
24969 * sysdeps/x86_64/mul_1.S: Likewise.
24970 * sysdeps/x86_64/rshift.S: Likewise.
24971 * sysdeps/x86_64/sub_n.S: Likewise.
24972 * sysdeps/x86_64/submul_1.S: Likewise.
24973
ece29840
ST
249742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24975
0959ffc9
UD
24976 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24977 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24978 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24979 * bits/sched.h [__need_schedparam]
ece29840 24980 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24981 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24982 (__defined_schedparam): Define to 1.
ece29840
ST
24983 (__sched_param): New structure, identical to sched_param.
24984 (__need_schedparam): Undefine.
24985
e53a31fe
MF
249862010-08-31 Mike Frysinger <vapier@gentoo.org>
24987
fdc0c10d
MF
24988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24989 (epoll_create1): Declare.
24990
e53a31fe
MF
24991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24992
a726d796
AS
249932010-08-31 Andreas Schwab <schwab@redhat.com>
24994
24995 [BZ #7066]
24996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24997 shifting retval into place.
24998
2f3e3dc7
UD
249992010-09-01 Ulrich Drepper <drepper@redhat.com>
25000
f2933da9
UD
25001 * nis/rpcsvc/nis.h: Update copyright notice.
25002 * nis/rpcsvc/nis.x: Likewise.
25003 * nis/rpcsvc/nis_callback.h: Likewise.
25004 * nis/rpcsvc/nis_callback.x: Likewise.
25005 * nis/rpcsvc/nis_object.x: Likewise.
25006 * nis/rpcsvc/nis_tags.h: Likewise.
25007 * nis/rpcsvc/yp.h: Likewise.
25008 * nis/rpcsvc/yp.x: Likewise.
25009 * nis/rpcsvc/ypupd.h: Likewise.
25010 * nis/yp_xdr.c: Likewise.
25011 * nis/ypupdate_xdr.c: Likewise.
25012
2f3e3dc7
UD
25013 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25014 mainly the body of pmap_getport. Add parameters to specify timeouts.
25015 (pmap_getport): Use __libc_rpc_getport.
25016 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25017 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25018 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25019
f3dcc2f9
AS
250202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25021
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25023 fanotify_mark.
25024
6d34eb5b
RM
250252010-08-27 Roland McGrath <roland@redhat.com>
25026
25027 * sysdeps/i386/i686/multiarch/Makefile
25028 (CFLAGS-varshift.c): New variable.
25029
9ea3de11
UD
250302010-08-27 Ulrich Drepper <drepper@redhat.com>
25031
c96d23fc
UD
25032 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25033 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25034
9ea3de11
UD
25035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25036
25037 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25038
623aac7f
L
250392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25040
25041 * sysdeps/x86_64/strlen.S: Unroll the loop.
25042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25043 strlen-sse2 strlen-sse2-bsf.
25044 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25045 __strlen_no_bsf if bit_Slow_BSF is set.
25046 (__strlen_sse42): Removed.
25047 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25048 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25049
8b2b7715
RM
250502010-08-25 Roland McGrath <roland@redhat.com>
25051
25052 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25053 * sysdeps/x86_64/multiarch/varshift.c: New file.
25054 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25055 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25056 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25057 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25058
e73015f2
L
250592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25060
25061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25062 strlen-sse2 strlen-sse2-bsf.
25063 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25064 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25065 (__strlen_sse2): Removed.
25066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25069 bit_Slow_BSF for Atom.
25070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25071 (index_Slow_BSF): Define.
25072 (HAS_SLOW_BSF): Define.
25073
df24a73e
UD
250742010-08-25 Ulrich Drepper <drepper@redhat.com>
25075
25076 [BZ #10851]
25077 * resolv/res_init.c (__res_vinit): When no server address at all
25078 is given default to loopback.
25079
f2ac4868
RM
250802010-08-24 Roland McGrath <roland@redhat.com>
25081
09055553
RM
25082 * configure.in: Remove config-name.h generation.
25083 * configure: Regenerated.
25084 * config-name.in: File removed.
25085 * scripts/config-uname.sh: New file.
25086 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25087 ($(objdir)config-name.h): New target.
25088
f2ac4868
RM
25089 * sunrpc/rpc_parse.h: Avoid nested comment.
25090
73f27d5e
RH
250912010-08-24 Richard Henderson <rth@redhat.com>
25092 Ulrich Drepper <drepper@redhat.com>
25093 H.J. Lu <hongjiu.lu@intel.com>
25094
25095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25097 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25098 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25099 _mm_alignr_epi8 with _mm_loadu_si128.
25100 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25101 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25102 (__m128i_shift_right): Removed.
25103 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25104 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25105 * sysdeps/x86_64/multiarch/varshift.h: New file.
25106 * sysdeps/x86_64/multiarch/varshift.S: New file.
25107
84b9230c
MF
251082010-08-21 Mike Frysinger <vapier@gentoo.org>
25109
25110 * configure.in: Move assembler checks to before sysdep dir checking.
25111
9bbd0ddc
PB
251122010-08-20 Petr Baudis <pasky@suse.cz>
25113
25114 * LICENSES: Sync the sunrpc license.
25115
9da4bb31
UD
251162010-08-19 Ulrich Drepper <drepper@redhat.com>
25117
a7ab6ec8
UD
25118 * sunrpc/auth_des.c: Update copyright notice once again.
25119 * sunrpc/auth_none.c: Likewise.
25120 * sunrpc/auth_unix.c: Likewise.
25121 * sunrpc/authdes_prot.c: Likewise.
25122 * sunrpc/authuxprot.c: Likewise.
25123 * sunrpc/bindrsvprt.c: Likewise.
25124 * sunrpc/clnt_gen.c: Likewise.
25125 * sunrpc/clnt_perr.c: Likewise.
25126 * sunrpc/clnt_raw.c: Likewise.
25127 * sunrpc/clnt_simp.c: Likewise.
25128 * sunrpc/clnt_tcp.c: Likewise.
25129 * sunrpc/clnt_udp.c: Likewise.
25130 * sunrpc/clnt_unix.c: Likewise.
25131 * sunrpc/des_crypt.c: Likewise.
25132 * sunrpc/des_soft.c: Likewise.
25133 * sunrpc/get_myaddr.c: Likewise.
25134 * sunrpc/getrpcport.c: Likewise.
25135 * sunrpc/key_call.c: Likewise.
25136 * sunrpc/key_prot.c: Likewise.
25137 * sunrpc/openchild.c: Likewise.
25138 * sunrpc/pm_getmaps.c: Likewise.
25139 * sunrpc/pm_getport.c: Likewise.
25140 * sunrpc/pmap_clnt.c: Likewise.
25141 * sunrpc/pmap_prot.c: Likewise.
25142 * sunrpc/pmap_prot2.c: Likewise.
25143 * sunrpc/pmap_rmt.c: Likewise.
25144 * sunrpc/rpc/auth.h: Likewise.
25145 * sunrpc/rpc/auth_unix.h: Likewise.
25146 * sunrpc/rpc/clnt.h: Likewise.
25147 * sunrpc/rpc/des_crypt.h: Likewise.
25148 * sunrpc/rpc/key_prot.h: Likewise.
25149 * sunrpc/rpc/netdb.h: Likewise.
25150 * sunrpc/rpc/pmap_clnt.h: Likewise.
25151 * sunrpc/rpc/pmap_prot.h: Likewise.
25152 * sunrpc/rpc/pmap_rmt.h: Likewise.
25153 * sunrpc/rpc/rpc.h: Likewise.
25154 * sunrpc/rpc/rpc_des.h: Likewise.
25155 * sunrpc/rpc/rpc_msg.h: Likewise.
25156 * sunrpc/rpc/svc.h: Likewise.
25157 * sunrpc/rpc/svc_auth.h: Likewise.
25158 * sunrpc/rpc/types.h: Likewise.
25159 * sunrpc/rpc/xdr.h: Likewise.
25160 * sunrpc/rpc_clntout.c: Likewise.
25161 * sunrpc/rpc_cmsg.c: Likewise.
25162 * sunrpc/rpc_common.c: Likewise.
25163 * sunrpc/rpc_cout.c: Likewise.
25164 * sunrpc/rpc_dtable.c: Likewise.
25165 * sunrpc/rpc_hout.c: Likewise.
25166 * sunrpc/rpc_main.c: Likewise.
25167 * sunrpc/rpc_parse.c: Likewise.
25168 * sunrpc/rpc_parse.h: Likewise.
25169 * sunrpc/rpc_prot.c: Likewise.
25170 * sunrpc/rpc_sample.c: Likewise.
25171 * sunrpc/rpc_scan.c: Likewise.
25172 * sunrpc/rpc_scan.h: Likewise.
25173 * sunrpc/rpc_svcout.c: Likewise.
25174 * sunrpc/rpc_tblout.c: Likewise.
25175 * sunrpc/rpc_util.c: Likewise.
25176 * sunrpc/rpc_util.h: Likewise.
25177 * sunrpc/rpcinfo.c: Likewise.
25178 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25179 * sunrpc/rpcsvc/key_prot.x: Likewise.
25180 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25181 * sunrpc/rpcsvc/mount.x: Likewise.
25182 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25183 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25184 * sunrpc/rpcsvc/rex.x: Likewise.
25185 * sunrpc/rpcsvc/rstat.x: Likewise.
25186 * sunrpc/rpcsvc/rusers.x: Likewise.
25187 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25188 * sunrpc/rpcsvc/spray.x: Likewise.
25189 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25190 * sunrpc/rtime.c: Likewise.
25191 * sunrpc/svc.c: Likewise.
25192 * sunrpc/svc_auth.c: Likewise.
25193 * sunrpc/svc_authux.c: Likewise.
25194 * sunrpc/svc_raw.c: Likewise.
25195 * sunrpc/svc_run.c: Likewise.
25196 * sunrpc/svc_simple.c: Likewise.
25197 * sunrpc/svc_tcp.c: Likewise.
25198 * sunrpc/svc_udp.c: Likewise.
25199 * sunrpc/svc_unix.c: Likewise.
25200 * sunrpc/svcauth_des.c: Likewise.
25201 * sunrpc/xcrypt.c: Likewise.
25202 * sunrpc/xdr.c: Likewise.
25203 * sunrpc/xdr_array.c: Likewise.
25204 * sunrpc/xdr_float.c: Likewise.
25205 * sunrpc/xdr_mem.c: Likewise.
25206 * sunrpc/xdr_rec.c: Likewise.
25207 * sunrpc/xdr_ref.c: Likewise.
25208 * sunrpc/xdr_sizeof.c: Likewise.
25209 * sunrpc/xdr_stdio.c: Likewise.
25210
9da4bb31
UD
25211 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25212 handling.
25213
bdaa77bc
AS
252142010-08-19 Andreas Schwab <schwab@redhat.com>
25215
25216 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25217
fe2f79db
LM
252182010-08-19 Luis Machado <luisgpm@br.ibm.com>
25219
25220 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25221 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25222 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25223 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25225 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25226 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25227 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25229 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25230 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25231 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25232 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25233 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25234
b9b42ee0
AB
252352010-07-26 Anton Blanchard <anton@samba.org>
25236
25237 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25238 * malloc/arena.c (heap_trim): Likewise.
25239
1c06ba31
UD
252402010-08-16 Ulrich Drepper <drepper@redhat.com>
25241
25242 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25243 here. Not...
25244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25245 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25246
f8392f40
L
252472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25248
25249 * sysdeps/i386/elf/Makefile: New file.
25250
3162f12e
AS
252512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25252
25253 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25254 from fanotify_init.
25255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25257
28c90b2c
UD
252582010-08-15 Ulrich Drepper <drepper@redhat.com>
25259
25260 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25261 of strncasecmp_l.
1feccb6c 25262 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25263
ca6bb004
UD
252642010-08-14 Ulrich Drepper <drepper@redhat.com>
25265
e9f82e0d
UD
25266 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25267 strncase_l-nonascii.
25268 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25269 Add strncase_l-ssse3.
25270 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25271 * sysdeps/x86_64/strcmp.S: Likewise.
25272 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25273 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25274 * sysdeps/x86_64/strncase.S: New file.
25275 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25276 * sysdeps/x86_64/strncase_l.S: New file.
25277 * string/Makefile (strop-tests): Add strncasecmp.
25278 * string/test-strncasecmp.c: New file.
25279
25280 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25281 warning.
25282
ca6bb004
UD
25283 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25284 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25285
052fa7b3
AS
252862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25287
25288 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25289
962dba78
UD
252902010-08-12 Ulrich Drepper <drepper@redhat.com>
25291
25292 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25293 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25295
bebff237
AM
252962010-05-01 Alan Modra <amodra@gmail.com>
25297
25298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25299 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25300 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25301 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25302 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25303 tidying. Don't tail-call __sigjmp_save for static lib.
25304 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25305 save location.
25306 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25307 (CALL_MCOUNT): Add eh info, and nop after bl.
25308 (TAIL_CALL_SYSCALL_ERROR): New macro.
25309 (PSEUDO_RET): Use it.
25310 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25311 Correct save location of integer regs and cr.
25312 (_dl_profile_resolve): Correct cr save location. Delete nops
25313 after bl when SHARED. Reduce cfi size a little by better
25314 placement of cfi directives.
25315 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25316 make a stack frame. Instead use parm save area as a temp.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25318 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25320 Don't make a stack frame for parent, use parm save area.
25321 Increase child stack frame to 112 bytes. Don't save unused reg,
25322 and adjust reg usage. Set up cfi on error recovery and
25323 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25325 (__makecontext): Add dummy nop after jump to exit.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25327 Use correct parm save area and cr save, reduce stack frame.
25328 Correct cfi for possible PSEUDO_RET frame setup.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25330 Branch to local label emitted by PSEUDO_RET rather than
25331 __syscall_error.
25332
02637374
AS
253332010-08-12 Andreas Schwab <schwab@redhat.com>
25334
25335 [BZ #11904]
25336 * locale/programs/locale.c (print_assignment): New function.
25337 (show_locale_vars): Use it.
25338
c3e2f19b
UD
253392010-08-11 Ulrich Drepper <drepper@redhat.com>
25340
3cdaa6ad
UD
25341 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25342 field.
25343 (struct statfs64): Likewise.
25344 (_STATFS_F_FLAGS): Define.
25345 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25347 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25348 (ST_VALID): Define locally.
25349 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25350 __statvfs_getflags, use the provided value.
25351 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25352 __ASSUME_STATFS_F_FLAGS.
25353
754f7da3
UD
25354 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25355
10b3bedc
UD
25356 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25357 Add sys/fanotify.h.
25358 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25359 fanotify_mask for GLIBC_2.13.
25360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25361 fanotify_init and fanotify_mark.
25362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25363 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25364
c08fb0d7
UD
25365 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25366 Add prlimit.
25367 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25368 prlimit64 for GLIBC_2.13.
25369 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25370 prlimit64.
25371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25372 syscall.
25373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25375 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25376 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25378 add prlimit alias.
25379 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25380
15bac72b
UD
25381 [BZ #11903]
25382 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25383 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25384
c3e2f19b
UD
25385 * nss/Makefile: Add rules to build and run tst-nss-test1.
25386 * shlib-versions: Add entry for libnss_test1.
25387 * nss/nss_test1.c: New file.
25388 * nss/tst-nss-test1.c: New file.
25389
25390 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25391 (__nss_configure_lookup): Set appropriate entry in
25392 __nss_configure_lookup to true.
25393 * nss/nsswitch.h: Define enum with indeces of databases in
25394 databases and __nss_database_custom arrays. Declare
25395 __nss_database_custom.
25396 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25397 to avoid using nscd when custom rules are installed.
25398 * nss/getXXbyYY_r.c: Likewise.
25399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25400
25401 * nss/nss_files/files-parse.c: Whitespace fixes.
25402
f15ce4d8
UD
254032010-08-09 Ulrich Drepper <drepper@redhat.com>
25404
25405 [BZ #11883]
25406 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25407 * posix/fnmatch_loop.c: Likewise.
25408
d22e4cc9
AK
254092010-07-17 Andi Kleen <ak@linux.intel.com>
25410
25411 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25412 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25413 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25414 * Versions.def [GLIBC_2.13]: Add.
25415
805bc17d
UD
254162010-08-06 Ulrich Drepper <drepper@redhat.com>
25417
25418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25419 Also fail if tpwd after pwuid call is NULL.
25420
5a42321d
ST
254212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25422
25423 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25424 when converting to ms.
25425
fd3ebeda
ST
254262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25427
25428 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25429 EOPNOTSUPP errors with ENOTTY.
25430 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25431 EOPNOTSUPP errors with ENOTTY.
25432
73507d3a
UD
254332010-07-31 Ulrich Drepper <drepper@redhat.com>
25434
25435 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25436 Add strcasecmp_l-ssse3.
25437 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25438 strcasecmp.
25439 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25440 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25441 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25442
fe36dd02
UD
254432010-07-30 Ulrich Drepper <drepper@redhat.com>
25444
66f6765a
UD
25445 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25446
42e08a54
UD
25447 * string/Makefile (strop-tests): Add strcasecmp.
25448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25449 strcasecmp_l-nonascii.
25450 (gen-as-const-headers): Add locale-defines.sym.
25451 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25452 * sysdeps/x86_64/strcasecmp.S: New file.
25453 * sysdeps/x86_64/strcasecmp_l.S: New file.
25454 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25455 * sysdeps/x86_64/locale-defines.sym: New file.
25456 * string/test-strcasecmp.c: New file.
25457
fe36dd02
UD
25458 * string/test-strcasestr.c: Test both ends of the range of characters.
25459 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25460
48cbc0d6
RM
254612010-07-29 Roland McGrath <roland@redhat.com>
25462
76e6d6bc 25463 [BZ #11856]
48cbc0d6
RM
25464 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25465
880113d9
UD
254662010-07-27 Ulrich Drepper <drepper@redhat.com>
25467
25468 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25469 for ld.so.
25470
deb9cabb
AS
254712010-07-27 Andreas Schwab <schwab@redhat.com>
25472
25473 * manual/memory.texi (Malloc Tunable Parameters): Document
25474 M_PERTURB.
25475
1c7570ff
RM
254762010-07-26 Roland McGrath <roland@redhat.com>
25477
25478 [BZ #11840]
25479 * configure.in (-fgnu89-inline check): Set and substitute
25480 gnu89_inline, not libc_cv_gnu89_inline.
25481 * configure: Regenerated.
25482 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25483
24fb0f88
UD
254842010-07-26 Ulrich Drepper <drepper@redhat.com>
25485
25486 * string/test-strnlen.c: New file.
25487 * string/Makefile (strop-tests): Add strnlen.
25488 * string/tester.c (test_strnlen): Add a few more test cases.
25489 * string/tst-strlen.c: Better error reporting.
25490
25491 * sysdeps/x86_64/strnlen.S: New file.
25492
8e96b93a
UD
254932010-07-24 Ulrich Drepper <drepper@redhat.com>
25494
25495 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25496 lower-latency instructions.
25497
dbc676d4
UD
254982010-07-23 Ulrich Drepper <drepper@redhat.com>
25499
25500 * string/test-strcasestr.c: New file.
25501 * string/test-strstr.c: New file.
25502 * string/Makefile (strop-tests): Add strstr and strcasestr.
25503 * string/str-two-way.h: Don't undefine MAX.
25504 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25505
f6a31e0e
AS
255062010-07-21 Andreas Schwab <schwab@redhat.com>
25507
25508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25509 strcasestr-nonascii.
25510 (CFLAGS-strcasestr-nonascii.c): Define.
25511 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25513 Remove unused attribute.
25514
5dbc3b6c
RM
255152010-07-20 Roland McGrath <roland@redhat.com>
25516
25517 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25518 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25519 ld.so.cache was broken. With it, there is no way to disable dsocaps
25520 like LD_HWCAP_MASK can disable hwcaps.
25521
23d101d8
EPM
255222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25523
25524 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25525
cc9f2e47
UD
255262010-07-16 Ulrich Drepper <drepper@redhat.com>
25527
25528 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25529 call in strcasestr.
25530 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25531 __strcasestr_sse42_nonascii.
25532 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25533 strcasestr-nonascii.c.
25534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25535
77c1b069
LM
255362010-06-15 Luis Machado <luisgpm@br.ibm.com>
25537
25538 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25542
440566c3
UD
255432010-07-09 Ulrich Drepper <drepper@redhat.com>
25544
25545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25546 fcntl.
25547
5be9d05d
AS
255482010-07-06 Andreas Schwab <schwab@redhat.com>
25549
c30b7ee2 25550 [BZ #11577]
5be9d05d
AS
25551 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25552 dl_signal_cerror.
25553
8a492a67
UD
255542010-07-06 Ulrich Drepper <drepper@redhat.com>
25555
25556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25557 _PC_PIPE_BUF using F_GETPIPE_SZ.
25558
713df3d5
RM
255592010-07-05 Roland McGrath <roland@redhat.com>
25560
25561 * manual/arith.texi (Rounding Functions): Fix rint description
25562 implicit in round description.
25563
702e8f14
UD
255642010-07-02 Ulrich Drepper <drepper@redhat.com>
25565
25566 * elf/Makefile: Fix linking for a few tests to make recent linker
25567 happy.
25568
52ed8be9
AS
255692010-06-30 Andreas Schwab <schwab@redhat.com>
25570
25571 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25572 $(common-objpfx)libc_nonshared.a.
25573
f47c9a11
LM
255742010-06-21 Luis Machado <luisgpm@br.ibm.com>
25575
25576 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25577 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25578 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25579 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25580 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25581 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25582 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25583 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25598 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25599 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25600 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25601 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25602 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25603 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25604 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25605 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25606 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25607 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25608 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25609 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25624
6fb8cbcb
L
256252010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25628 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25629 * string/memmove.c (memmove): Renamed to ...
25630 (MEMMOVE): ...this. Default to memmove.
25631 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25632 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25633 (END_CHK): Define.
25634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25635 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25636 mempcpy-ssse3-back memmove-ssse3-back.
25637 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25638 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25640 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25641 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25642 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25643 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25644 * sysdeps/x86_64/multiarch/memmove.c: New file.
25645 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25646 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25647 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25648 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25649 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25650 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25651 Define.
25652 (index_Fast_Copy_Backward): Define.
25653 (HAS_ARCH_FEATURE): Define.
25654 (HAS_FAST_REP_STRING): Define.
25655 (HAS_FAST_COPY_BACKWARD): Define.
25656
4e733bac 256572010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25658
25659 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25660 Restore proper fallback handling.
25661
63c4ed22
UD
256622010-06-19 Ulrich Drepper <drepper@redhat.com>
25663
ac2b484c
UD
25664 [BZ #11701]
25665 * posix/group_member.c (__group_member): Correct checking loop.
25666
63c4ed22
UD
25667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25668 OOM in getpwuid_r correctly. Return error number when the caller
25669 should return, otherwise -1.
25670 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25671 call returning > 0 value.
25672 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25673
765ade4b
AS
256742010-06-07 Andreas Schwab <schwab@redhat.com>
25675
25676 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25677 libc_nonshared.a from targets in modules-names.
25678
80da2e09
KS
256792010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25680
25681 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25682 requires it.
25683
158db122
LM
256842010-06-10 Luis Machado <luisgpm@br.ibm.com>
25685
25686 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25687 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25688 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25689 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25690
caa78cf8
AS
256912010-06-02 Andreas Schwab <schwab@redhat.com>
25692
25693 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25694
b2ef2c01
UD
256952010-06-14 Ulrich Drepper <drepper@redhat.com>
25696
25697 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25698 and F_GETPIPE_SZ.
25699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25704 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25705
fbd643b6
RM
257062010-06-14 Roland McGrath <roland@redhat.com>
25707
25708 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25709
f32f2869
JJ
257102010-06-07 Jakub Jelinek <jakub@redhat.com>
25711
25712 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25713 __REDIRECT followed by __THROW.
25714 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25715 * posix/getopt.h (getopt): Likewise.
25716
2a50c078
EPM
257172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25718
25719 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25720 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25721 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25722 in AT_FLAGS.
25723 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25724 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25725
eb5ad2eb
LM
257262010-05-28 Luis Machado <luisgpm@br.ibm.com>
25727
25728 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25729
3c88fe1e
L
257302010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 [BZ #11640]
25733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25734 Properly check family and model.
25735
d2f73151
TY
257362010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25737
25738 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25739
ebd2e13d
LM
257402010-05-24 Luis Machado <luisgpm@br.ibm.com>
25741
25742 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25743
b32b8b45
UD
257442010-05-21 Ulrich Drepper <drepper@redhat.com>
25745
25746 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25747 symbol reference.
25748
9acbe24d
AS
257492010-05-19 Andreas Schwab <schwab@redhat.com>
25750
25751 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25752 symbol reference.
25753
f0ccf6ea
AS
257542010-05-21 Andreas Schwab <schwab@redhat.com>
25755
3d04ff3a
AS
25756 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25757 and internal_recvmmsg.
25758 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25759 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25760 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25761 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25762
f0ccf6ea
AS
25763 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25764 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25765 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25766
5b08ac57
AS
257672010-05-20 Andreas Schwab <schwab@redhat.com>
25768
25769 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25770
4828935d
LM
257712010-05-17 Luis Machado <luisgpm@br.ibm.com>
25772
25773 POWER7 optimizations.
25774 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25775 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25776
373d545e
UD
257772010-05-19 Ulrich Drepper <drepper@redhat.com>
25778
25779 * version.h: Update for 2.13 development version.
25780
21a2b1ae
AS
257812010-05-12 Andrew Stubbs <ams@codesourcery.com>
25782
25783 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25784 exceptions. Return 0.
25785
3f7dcb2b
RM
257862010-05-07 Roland McGrath <roland@redhat.com>
25787
25788 * elf/ldconfig.c (main): Add a const.
25789
5f24d53a 257902010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25791
a160f8d8
UD
25792 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25793 (args_options): Add no-idn option.
25794 (ahosts_keys_int): Add idn_flags to ai_flags.
25795 (parse_option): Handle 'i' option to clear idn_flags.
25796
5f24d53a
UD
25797 * malloc/malloc.c (_int_free): Possible race in the most recently
25798 added check. Only act on the data if no current modification
25799 happened.
265bb1ce
UD
25800
25801See ChangeLog.17 for earlier changes.