]> sourceware.org Git - glibc.git/blame - ChangeLog
Add FUTEX_*_REQUEUE_PI support for Alpha.
[glibc.git] / ChangeLog
CommitLineData
41f49342
CD
12013-02-20 Carlos O'Donell <carlos@redhat.com>
2
3 * manual/nss.texi (System Databases and Name Service Switch):
4 Remove frobnicate @pxref.
5
50022a93
TS
62013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7
8 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10
08cbd996
PM
112013-02-20 Petr Machata <pmachata@redhat.com>
12
13 * elf/elf.h (R_ARM_TARGET1): New macro.
14 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
41 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48 (R_ARM_THM_GOT_BREL12): Likewise.
49 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58
c7b275d6
TS
592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60
61 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62 __attribute_used__ to __attribute__ ((unused)).
63
20cd7fb3
SP
642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65
66 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67 powerpc mpa.c.
68 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69 comment formatting.
70 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
71
92945b52
JM
722013-02-19 Joseph Myers <joseph@codesourcery.com>
73
74 [BZ #13550]
75 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
76 Remove macro.
77 (ENTER): Remove both macro definitions.
78 (LEAVE): Likewise.
79 (CHECK_BOUNDS_LOW): Likewise.
80 (CHECK_BOUNDS_HIGH): Likewise.
81 (CHECK_BOUNDS_BOTH): Likewise.
82 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
83 (RETURN_BOUNDED_POINTER): Likewise.
84 (RETURN_NULL_BOUNDED_POINTER): Likewise.
85 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
86 (POP_ERRNO_LOCATION_RETURN): Likewise.
87 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
88 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
89 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
90 macros.
91 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
92 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
93 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
94 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
95 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
96 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
97 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
98 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
99 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
100 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
101 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
102 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
103 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
104 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
105 removed macros.
106 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
107 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
108 macros.
109 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
110 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
111 * sysdeps/i386/i586/memset.S (memset): Likewise.
112 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
113 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
114 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
115 macros.
116 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
117 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
118 Change uses of L(2) to L(out).
119 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
120 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
121 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
122 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
123 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
124 removed macros.
125 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
126 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
127 macros.
128 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
129 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
130 (RETURN): Do not use macro LEAVE.
131 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
132 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
133 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
134 * sysdeps/i386/i686/memset.S (memset): Likewise.
135 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
136 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
137 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
138 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
139 Likewise.
140 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
141 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
142 L(1_2) and L(1_3) into L(1).
143 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
144 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
145 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
146 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
147 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
148 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
149 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
150 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
151 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
152 macros.
153 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
154 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
155 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
156 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
157 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
158 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
159 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
160 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
161 * sysdeps/i386/strcspn.S (strcspn): Likewise.
162 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
163 * sysdeps/i386/strrchr.S (strrchr): Likewise.
164 * sysdeps/i386/strspn.S (strspn): Likewise.
165 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
166 conditional code.
167 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
168 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
169 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
170 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
171 L(1_3) into L(1_1).
172 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
174 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
175 macros.
176 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
177
2389741a
JJ
1782013-02-19 Jakub Jelinek <jakub@redhat.com>
179
180 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
181 macro.
182
2016b3cd
SP
1832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
184
e4f22324
SP
185 * math/atest-exp.c (exp_mpn): Remove ROUND.
186 * math/atest-exp2.c (exp_mpn): Likewise.
187 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
188
2016b3cd
SP
189 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
190 * stdlib/tst-tls-atexit-lib.c: Likewise.
191 * stdlib/tst-tls-atexit.c: Likewise.
192
4be9b544
MF
1932013-02-18 Mike Frysinger <vapier@gentoo.org>
194
195 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
196 and __attribute_alloc_size__.
197
2f62b9ee
MF
1982013-02-18 Mike Frysinger <vapier@gentoo.org>
199
200 * include/programs/xmalloc.h: Change __attribute_alloc_size to
201 __attribute_alloc_size__.
202 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
203 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
204
6ff444c4
MF
2052013-02-18 Mike Frysinger <vapier@gentoo.org>
206
207 * include/programs/xmalloc.h: New file.
208 * catgets/gencat.c: Include it.
209 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
210 * elf/pldd.c: Likewise.
211 * iconv/iconv_charmap.c: Likewise.
212 * iconv/iconvconfig.c: Likewise.
213 * iconv/strtab.c: Likewise.
214 * locale/programs/locale.c: Likewise.
215 * locale/programs/localedef.h: Likewise.
216 * locale/programs/simple-hash.c: Likewise.
217 * nscd/nscd.h: Likewise.
218 * nss/makedb.c: Likewise.
219 * sysdeps/generic/ldconfig.h: Likewise.
220
be179c8a
SP
2212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
222
ba384f6e
SP
223 * Versions.def: Add GLIBC_2.18.
224 * include/link.h (struct link_map): New member l_tls_dtor_count.
225 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
226 (__call_tls_dtors): Likewise.
227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
228 __cxa_thread_atexit_impl.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
230 Likewise.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
232 Likewise.
233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
234 Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
236 Likewise.
237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
239 Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
241 Likewise.
242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
244 Likewise.
245 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
246 (tests): Add test case tst-tls-atexit.
247 (modules-names): Add shared library for tst-tls-atexit.
248 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
249 (GLIBC_PRIVATE): Add __call_tls_dtors.
250 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
251 for libstdc++.
252 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
253 * stdlib/tst-tls-atexit.c: New test case.
254 * stdlib/tst-tls-atexit-lib.c: New test case.
255
ffaa74cf 256 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 257
be179c8a
SP
258 * elf/Versions (ld): Add _dl_find_dso_for_object.
259 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
260 * elf/dl-open.c (_dl_find_dso_for_object): New function.
261 (dl_open_worker): Use _dl_find_dso_for_object.
262 * elf/dl-sym.c (do_sym): Likewise.
263 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
264
f78b5caa
AK
2652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
266
267 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
268 Syntactic changes only.
269 (_dl_runtime_profile): Do a tail-call to the resolved function.
270
29691210
JM
2712013-02-17 Joseph Myers <joseph@codesourcery.com>
272
273 [BZ #13550]
274 * sysdeps/x86_64/bp-asm.h: Remove file.
275 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
276 <bp-sym.h> and <bp-asm.h>.
277 (__clone): Do not use BP_SYM.
278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
279 <bp-sym.h> and <bp-asm.h>.
280 * sysdeps/unix/x86_64/sysdep.S: Likewise.
281 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
282 "bp-asm.h".
283 (_setjmp): Do not use BP_SYM.
284 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
285 "bp-asm.h".
286 (setjmp): Do not use BP_SYM.
287 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
288 libc_hidden_def.
289 (mempcpy): Do not use BP_SYM in weak_alias.
290 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
291 "bp-asm.h".
292 (strchr): Do not use BP_SYM.
293 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
294 "bp-asm.h".
295 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
296 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
297 (_start): Do not use BP_SYM.
298 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
299 "bp-asm.h".
300 (strcat): Do not use BP_SYM.
301 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
302 "bp-asm.h".
303 (STRCMP): Do not use BP_SYM.
304 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
305 "bp-asm.h".
306 (STRCPY): Do not use BP_SYM.
307 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
308 "bp-asm.h".
309 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
310 "bp-asm.h".
311 (FUNCTION): Do not use BP_SYM.
312 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
313 weak_alias.
314 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
315
f238fd19
AJ
3162013-02-17 Andreas Jaeger <aj@suse.de>
317
318 * time/Versions: Sort entries.
319 * string/Versions: Likewise.
320 * resolv/Versions: Likewise.
321 * posix/Versions: Likewise.
322 * iconv/Versions: Likewise.
323 * elf/Versions: Likewise.
324 * wcsmbs/Versions: Likewise.
325
bd07f23c 3262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 327
22af19f9
SP
328 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
329 loop termination condition.
330
4709fe76
SP
331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
332 variable to calculate EZ.
333 (__sqr): Likewise.
2d0e0f29
SP
334
335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
336 the lower precision input.
337
daaa7713
JM
3382013-02-15 Joseph Myers <joseph@codesourcery.com>
339
340 [BZ #13550]
341 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
342 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
343 (run-via-rtld-prefix): Do not handle %-bp tests.
344 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
345 (all-object-suffixes): Remove .ob.
346 (bppfx): Remove variable.
347 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
348 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
349 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
350 [$(build-bounded) = yes] (libtype.ob): Likewise.
351 * Makerules (elide-routines.ob): Remove variable.
352 (do-tests-clean): Do not handle *-bp.out.
353 (common-mostlyclean): Do not handle *-bp and *-bp.out.
354 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
355 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
356 (tests): Do not include $(tests-bp.out).
357 (xtests): Do not include $(xtests-bp.out).
358 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
359 [$(build-bounded) = yes] ($(addprefix
360 $(objpfx),$(binaries-bounded))): Remove rule.
361 ($(objpfx)%-bp.out): Remove rule.
362 * config.make.in (build-bounded): Remove variable.
363 * crypt/Makefile [$(build-bounded) = yes]
364 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
365 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
366 append to variable.
367 [$(build-bounded) = yes] (install-lib): Likewise.
368 [$(build-bounded) = yes] (generated): Likewise.
369 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
370 Remove rule.
371 * intl/Makefile [$(build-bounded) = yes]
372 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
373 * math/Makefile [$(build-bounded) = yes]
374 ($(tests:%=$(objpfx)%-bp): Likewise.
375 * misc/Makefile [$(build-bounded) = yes]
376 ($(objpfx)tst-tsearch-bp): Likewise.
377 * nptl/Makeconfig (bounded-thread-library): Remove variable.
378 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
379 Remove dependency.
380 * string/Makefile (o-objects.ob): Remove variable.
381 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
382 (CFLAGS-.ob): Remove variable.
383 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
384 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
385 both definitions of variable.
386 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
387 (ASFLAGS-.ob): Remove variable.
388
e97ed6dd
JM
3892013-02-14 Joseph Myers <joseph@codesourcery.com>
390
2bdd4ca6
JM
391 [BZ #13550]
392 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
393 Remove __BOUNDED_POINTERS__ from condition.
394 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
395 * string/bits/string2.h [!__NO_STRING_INLINES &&
396 !__BOUNDED_POINTERS__]: Likewise.
397 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
398 Likewise.
399 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
400 Remove conditional code.
401 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
402 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
403 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
404 condition.
405
e97ed6dd
JM
406 [BZ #13550]
407 * csu/libc-start.c: Do not include <bp-sym.h>.
408 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
409 * elf/dl-open.c: Do not include <bp-sym.h>.
410 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
411 * math/fegetenv.c: Do not include <bp-sym.h>.
412 (fegetenv): Do not use BP_SYM in versioned symbols.
413 * nptl/sysdeps/pthread/bits/libc-lockP.h
414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
415 <bp-sym.h>.
416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
417 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
419 (__pthread_mutex_destroy): Likewise.
420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
421 (__pthread_mutex_lock): Likewise.
422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
423 (__pthread_mutex_trylock): Likewise.
424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
425 (__pthread_mutex_unlock): Likewise.
426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
427 (__pthread_mutexattr_init): Likewise.
428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
429 (__pthread_mutexattr_destroy): Likewise.
430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
431 (__pthread_mutexattr_settype): Likewise.
432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
433 (__pthread_rwlock_init): Likewise.
434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
435 (__pthread_rwlock_destroy): Likewise.
436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
437 (__pthread_rwlock_rdlock): Likewise.
438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
439 (__pthread_rwlock_tryrdlock): Likewise.
440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
441 (__pthread_rwlock_wrlock): Likewise.
442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
443 (__pthread_rwlock_trywrlock): Likewise.
444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
445 (__pthread_rwlock_unlock): Likewise.
446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
447 (__pthread_key_create): Likewise.
448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
449 (__pthread_setspecific): Likewise.
450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
451 (__pthread_getspecific): Likewise.
452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
453 Likewise.
454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
455 (_pthread_cleanup_push_defer): Likewise.
456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
457 (_pthread_cleanup_pop_restore): Likewise.
458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
459 (pthread_setcancelstate): Likewise.
460 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
461 <bp-sym.h>.
462 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
463 (memchr): Do not use BP_SYM in weak_alias.
464 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
465 (fegetenv): Do not use BP_SYM in versioned symbols.
466 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
467 (fesetenv): Do not use BP_SYM in versioned symbols.
468 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
469 (feupdateenv): Do not use BP_SYM in versioned symbols.
470 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
471 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
472 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
473 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
474 (open64): Do not use BP_SYM in weak_alias.
475 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
476 (fegetenv): Do not use BP_SYM in versioned symbols.
477 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
478 (fesetenv): Do not use BP_SYM in versioned symbols.
479 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
480 (feupdateenv): Do not use BP_SYM in versioned symbols.
481 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
482 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
483 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
484 (feraiseexcept): Do not use BP_SYM in versioned symbols.
485 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
486 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
488 <bp-sym.h>.
489 (__libc_start_main): Do not use BP_SYM.
490
d6752ccd
SP
4912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
492
cb57ce60
SP
493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
494 redundant return line.
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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
505 (norm): Likewise.
506 (denorm): Likewise.
507 (dbl_mp): Likewise.
508 (sub_magnitudes): Likewise.
509 (__add): Likewise.
510 (__sub): Likewise.
511 (__mul): Likewise.
512 (__inv): Likewise.
513 (__dvd): Likewise.
514
f414520d
SP
515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
516 instead of __mul.
517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
518 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
519 (cc32): Likewise.
520
d6752ccd
SP
521 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
522 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
524 of __mul for squares.
525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
526 function
527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
528 Likewise.
529 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
531
70d9946a
JM
5322013-02-13 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #13550]
535 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
536 code.
537 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
538 prototype or function definition. Rename ubp_* variables and
539 parameters. Remove argv definitions conditional on
540 [__BOUNDED_POINTERS__].
541 * debug/backtrace.c (__backtrace): Do not use __unbounded.
542 * elf/dl-runtime.c (_dl_fixup): Likewise.
543 * include/set-hooks.h (RUN_HOOK): Likewise.
544 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
545 definition.
546 * string/strcpy.c (strcpy): Do not use __unbounded.
547 * sysdeps/generic/frame.h (struct layout): Likewise.
548 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
549 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
550 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
551 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
552 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
553 (__backtrace): Likewise.
554 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
555 use __ptrvalue.
556 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
557 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
558 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
559 Likewise.
560 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
561 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
562 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
563 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
564 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
565 Do not use __unbounded.
566 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
567 Rename __unboundedrlimits parameter to rlimits in prototype.
568 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
569 Do not use __unbounded.
570 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
571 not use __ptrvalue.
572 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
573 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
574 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
575 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
576 __ptrvalue or __unbounded.
577 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
578 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
579 use __unbounded.
580 (__new_msgctl): Do not use __ptrvalue.
581 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
582 __unbounded.
583 (__libc_msgrcv): Do not use __ptrvalue.
584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
585 startup_info): Do not use __unbounded.
586 (__libc_start_main): Likewise. Rename ubp_* variables and
587 parameters. Remove argv definitions conditional on
588 [__BOUNDED_POINTERS__].
589 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
590 __ptrvalue.
591 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
592 use __unbounded.
593 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
594 or __ptrvalue.
595 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
596 use __unbounded.
597 (__new_shmctl): Do not use __ptrvalue.
598 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
599 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
600 Likewise.
601 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
603 (__libc_sigaction): Likewise.
604 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
606 Likewise.
607 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
608
cc7834d6
OB
6092013-02-13 Ondřej Bílka <neleai@seznam.cz>
610
ffb1ec7b 611 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
612
613 * string/mempcpy.c: Implement by calling memcpy.
614
bdf02814
SP
6152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
616
c2af38aa
SP
617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
618
4e92d59e
SP
619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
620 evaluation.
621
909279a5
SP
622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
623 values in the mantissa.
624
bdf02814
SP
625 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
626 minimize writes to Z.
627 (sub_magnitudes): Simplify code a bit.
628
cd525923
RM
6292013-02-12 Roland McGrath <roland@hack.frob.com>
630
631 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
632 from the message. The linker prefixes all warnings with that already.
633
7e2f0d2d
AS
6342013-02-12 Andreas Schwab <schwab@suse.de>
635
a445af0b
AS
636 [BZ #15078]
637 * posix/regexec.c (extend_buffers): Add parameter min_len.
638 (check_matching): Pass minimum needed length.
639 (clean_state_log_if_needed): Likewise.
640 (get_subexp): Likewise.
641 * posix/Makefile (tests): Add bug-regex34.
642 (bug-regex34-ENV): Define.
643 * posix/bug-regex34.c: New file.
644
7e2f0d2d
AS
645 [BZ #11561]
646 * posix/regcomp.c (parse_bracket_exp): When looking up collating
647 elements compare against the byte sequence of it, not its name.
648 * posix/Makefile (tests): Add bug-regex35.
649 (bug-regex35-ENV): Define.
650 * posix/bug-regex35.c: New file.
651
a175b684
TV
6522013-02-11 Tom de Vries <tom@codesourcery.com>
653
654 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
655 comment.
656 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
657 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
658 (CHECK_EOL): Add undef.
659
310998fe 6602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
661
662 * bits/stdlib-bsearch.h: New file.
663 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 664 * stdlib/stdlib.h: Likewise.
41eda41d 665
8ded91fb
RM
6662013-02-11 Roland McGrath <roland@hack.frob.com>
667
668 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
669 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
670 declaration.
671 * manual/search.texi (Array Search Function): Add missing const in
672 lfind prototype.
673 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
674 declaration to use rlim_t.
675 (Basic Scheduling Functions): Remove erroneous const from
676 sched_getparam prototype. Remove erroneous * from
677 sched_get_priority_max and sched_get_priority_min prototypes.
678 (Resource Usage): Fix summary @comment on vtimes to refer to
679 sys/vtimes.h rather than vtimes.h.
680 Add missing *s in vtimes prototype.
681 (Limits on Resources): Fix ulimit prototype to return long int.
682 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
683 prototypes to use long int rather than double.
684 (BSD Random): Fix initstate and setstate to use char *, not void *.
685 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
686 prototype to make second argument 'struct aiocb64 *const[]'.
687 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
688 (Status of AIO Operations): Remove erroneous const in aio_return and
689 aio_return64 prototypes.
690 (Synchronizing I/O): Fix sync prototype to return void.
691 * manual/startup.texi (Suboptions): Remove an erroneous const in
692 getsubopt prototype.
693 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
694 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
695 use size_t rather than int.
696 (Scanning All Users): Likewise for getpwent_r.
697 (Setting Groups): Add missing const to setgroups prototype.
698 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
699 * manual/socket.texi (Host Names): Fix gethostbyaddr and
700 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
701 'const void *' rather than 'const char *'.
702 (Host Address Functions): Likewise for inet_ntop.
703 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
704 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
705 ssize_t for return value.
706 (Sending Data): Likewise for send, sendto, sendmsg.
707 (Socket Option Functions): Add a missing const in setsockopt prototype.
708 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
709 use wchar_t for the argument.
710 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
711 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
712 take no arguments.
713 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
714 double/float/long double for second argument.
715 Fix return types of significand, significandf, significandl.
716 * manual/filesys.texi (Setting Permissions): Use mode_t for second
717 argument in fchmod prototype.
718 (File Owner): Use uid_t and gid_t in fchown prototype.
719 (File Times): Add const to utimes, futimes, and lutimes prototypes.
720 (Making Special Files): Use mode_t and dev_t in mknod prototype.
721 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
722 use 'const struct dirent **' as argument types to CMP function pointer
723 argument.
724 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
725 (File Times): Fix summary magic @comment for struct utimbuf and utime
726 to refer to utime.h, not time.h.
727 * manual/string.texi (Argz Functions): Add missing const in
728 argz_extract and argz_next prototypes.
729 (Finding Tokens in a String): Likewise for basename.
730 (String/Array Comparison): Fix typo in wcscasecmp prototype.
731 (Copying and Concatenation): Fix typo in wmemmove prototype.
732 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
733 (Signal Stack): Remove erroneous const in sigstack prototype.
734 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
735 prototype.
736 (Simple Calendar Time): Likewise for stime.
737 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
738 prototype.
739 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
740 say sys/sysctl.h instead.
741 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
742 and vsyslog prototypes.
743
fe77fe6d
TV
7442013-02-11 Tom de Vries <tom@codesourcery.com>
745
746 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
747 Remove.
748
3a09b620
RM
7492013-02-11 Roland McGrath <roland@hack.frob.com>
750
751 * misc/sys/mman.h: Fix typo in mremap comment.
752
550a0b89
RM
7532013-02-08 Roland McGrath <roland@hack.frob.com>
754
755 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
756 the '\0' terminator.
757
a2da1673
JM
7582013-02-08 Joseph Myers <joseph@codesourcery.com>
759
760 [BZ #13550]
761 * debug/segfault.c: Don't include <bp-checks.h>.
762 * sysdeps/generic/bp-checks.h: Remove file.
763 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
764 (__GETDENTS): Don't use CHECK_N.
765 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
766 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
767 (__getgroups): Don't use CHECK_N.
768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
769 (setgroups): Don't use CHECK_N.
770 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
771 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
772 (__libc_msgrcv): Don't use CHECK_N.
773 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
774 (__libc_msgsnd): Don't use CHECK_N.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
776 <bp-checks.h>.
777 (__libc_pread): Don't use CHECK_N.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
779 include <bp-checks.h>.
780 (__libc_pread64): Don't use CHECK_N.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
782 include <bp-checks.h>.
783 (__libc_pwrite): Don't use CHECK_N.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
785 include <bp-checks.h>.
786 (__libc_pwrite64): Don't use CHECK_N.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
788 <bp-checks.h>.
789 (__libc_pread): Don't use CHECK_N.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
791 include <bp-checks.h>.
792 (__libc_pread64): Don't use CHECK_N.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
794 include <bp-checks.h>.
795 (__libc_pwrite): Don't use CHECK_N.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
797 include <bp-checks.h>.
798 (__libc_pwrite64): Don't use CHECK_N.
799 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
800 (do_pread): Don't use CHECK_N.
801 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
802 (do_pread64): Don't use CHECK_N.
803 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
804 (do_pwrite): Don't use CHECK_N.
805 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
806 (do_pwrite64): Don't use CHECK_N.
807 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
808 (__libc_readv): Don't use CHECK_N.
809 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
810 (semop): Don't use CHECK_N.
811 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
812 <bp-checks.h>.
813 (semtimedop): Don't use CHECK_N.
814 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
815 (__libc_pread): Don't use CHECK_N.
816 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
817 <bp-checks.h>.
818 (__libc_pread64): Don't use CHECK_N.
819 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
820 <bp-checks.h>.
821 (__libc_pwrite): Don't use CHECK_N.
822 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
823 <bp-checks.h>.
824 (__libc_pwrite64): Don't use CHECK_N.
825 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
826 <bp-checks.h>.
827 (__libc_msgrcv): Don't use CHECK_N.
828 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
829 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
830 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
831 (__libc_writev): Don't use CHECK_N.
832
b84660a8
RM
8332013-02-08 Roland McGrath <roland@hack.frob.com>
834
7f3e75f8
RM
835 * string/strcpy.c: Removed unused variable.
836
b84660a8
RM
837 * Makeconfig (+sysdep-includes): Define with := rather than =.
838 Use an existing include/ subdir of each sysdeps dir before it.
839
471514d3
CD
8402013-02-08 Carlos O'Donell <carlos@redhat.com>
841
842 * nscd/connection.c (register_traced_file): Comment function.
843 [HAVE_INOTIFY] (union __inev): Define.
844 [HAVE_INOTIFY] (inotify_check_files): New function.
845 [HAVE_INOTIFY] (clear_db_cache): Likewise.
846 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
847 clear_db_cache.
848 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
849
b2d3c3be
CD
8502013-02-08 Carlos O'Donell <carlos@redhat.com>
851
852 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
853 loaded if not already and that a failure is permanent.
854
b39949d2
CD
8552013-02-08 Carlos O'Donell <carlos@redhat.com>
856
ddacd1db 857 [BZ #15006]
b39949d2
CD
858 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
859 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
860
b2c9eff4
JM
8612013-02-08 Joseph Myers <joseph@codesourcery.com>
862
f3aae3f3
JM
863 [BZ #13550]
864 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
865 (CHECK_1_NULL_OK): Likewise.
866 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
867 (__fxstat): Do not use CHECK_1.
868 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
869 <bp-checks.h>.
870 (___fxstat64): Do not use CHECK_1.
871 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
872 <bp-checks.h>.
873 (__fxstatat): Do not use CHECK_1.
874 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
875 <bp-checks.h>.
876 (__fxstatat64): Do not use CHECK_1.
877 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
878 <bp-checks.h>.
879 (__fxstat): Do not use CHECK_1.
880 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
881 <bp-checks.h>.
882 (__fxstatat): Do not use CHECK_1.
883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
884 <bp-checks.h>.
885 (__getresgid): Do not use CHECK_1.
886 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
887 <bp-checks.h>.
888 (__getresuid): Do not use CHECK_1.
889 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
890 <bp-checks.h>.
891 (__lxstat): Do not use CHECK_1.
892 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
893 <bp-checks.h>.
894 (__old_msgctl): Do not use CHECK_1.
895 (__new_msgctl): Likewise.
896 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
897 <bp-checks.h>.
898 (__new_setrlimit): Do not use CHECK_1.
899 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
900 <bp-checks.h>.
901 (__old_shmctl): Do not use CHECK_1.
902 (__new_shmctl): Likewise.
903 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
904 <bp-checks.h>.
905 (__xstat): Do not use CHECK_1.
906 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
907 (__lxstat): Do not use CHECK_1.
908 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
909 <bp-checks.h>.
910 (___lxstat64): Do not use CHECK_1.
911 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
912 (__old_msgctl): Do not use CHECK_1.
913 (__new_msgctl): Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
915 <bp-checks.h>.
916 (__gettimeofday): Do not use CHECK_1.
917 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
918 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
920 <bp-checks.h>.
921 (__gettimeofday): Do not use CHECK_1.
922 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
923 (__old_shmctl): Do not use CHECK_1_NULL_OK.
924 (__new_shmctl): Do not use CHECK_1.
925 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
926 <bp-checks.h>.
927 (do_sigtimedwait): Do not use CHECK_1.
928 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
929 <bp-checks.h>.
930 (do_sigwaitinfo): Do not use CHECK_1.
931 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
932 <bp-checks.h>.
933 (msgctl): Do not use CHECK_1.
934 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
935 <bp-checks.h>.
936 (shmctl): Do not use CHECK_1.
937 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
938 (ustat): Do not use CHECK_1.
939 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
940 <bp-checks.h>.
941 (__fxstat): Do not use CHECK_1.
942 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
943 <bp-checks.h>.
944 (__fxstatat): Do not use CHECK_1.
945 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
946 <bp-checks.h>.
947 (__lxstat): Do not use CHECK_1.
948 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
949 <bp-checks.h>.
950 (__xstat): Do not use CHECK_1.
951 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
952 (__xstat): Do not use CHECK_1.
953 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
954 (___xstat64): Do not use CHECK_1.
955
b2c9eff4
JM
956 [BZ #13550]
957 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
958 definitions.
959 (CHECK_BOUNDS_HIGH): Likewise.
960 * string/strcpy.c: Do not include <bp-checks.h>.
961 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
962
f1d70dad
RM
9632013-02-07 Roland McGrath <roland@hack.frob.com>
964
965 * nscd/nscd-client.h (__nscd_drop_map_ref):
966 Add __attribute__ ((unused)).
967 * nis/nss-nisplus.h (niserr2nss): Likewise.
968
969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
970 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
971
972 * csu/libc-tls.c (init_static_tls, init_slotinfo):
973 Remove inline keyword.
974 * include/rounding-mode.h (round_away): Likewise.
975 * libio/wfileops.c (adjust_wide_data): Likewise.
976 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
977 (__m128i_strloadu_tolower): Likewise.
978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
979 (__m128i_strloadu_tolower): Likewise.
980 * time/mktime.c (ydhms_diff): Likewise.
981 * locale/elem-hash.h (elem_hash): Likewise.
982 * locale/setlocale.c (setdata): Likewise.
983 * posix/regex_internal.h (re_string_char_size_at): Likewise.
984 (re_string_wchar_at): Likewise.
985 (bitset_not, bitset_merge, bitset_mask): Likewise.
986 [!(__GNUC__ > 3)] (inline): Remove macro.
987 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
988 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
989 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
990 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
991 * string/memcmp.c (memcmp_bytes): Likewise.
992 * locale/programs/locarchive.c (compute_hashval): Likewise.
993 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
994 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
995 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
996 * nss/getent.c (print_rpc, print_protocols): Likewise.
997 (print_passwd, print_group, print_aliases): Likewise.
998 * nis/nss-nisplus.h (niserr2nss): Likewise.
999 * nscd/connections.c (restart_p): Likewise.
1000 Change return type to bool.
1001
eab55bfb
RM
10022013-02-05 Roland McGrath <roland@hack.frob.com>
1003
7bd642f5
RM
1004 * Makeconfig (all-Depend-files): Add existing
1005 $(sorted-subdirs:=/Depend) files.
1006 (all-subdirs): Remove nss.
1007 * sysdeps/unix/inet/Subdirs: Add it here instead.
1008 * hesiod/Depend: New file.
1009
573c29b2
RM
1010 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1011 instead of calling alloca.
1012
b2e25af0
RM
1013 * io/lseek.c (__lseek): Rename to __libc_lseek.
1014 Define __lseek as an alias.
1015
eab55bfb
RM
1016 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1017
9a0d1941
CD
10182013-02-04 Carlos O'Donell <carlos@redhat.com>
1019
1020 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1021 else clause and remove check for non-standard endianness.
1022
b83bbec4
DM
10232013-02-04 David S. Miller <davem@davemloft.net>
1024
1025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1026
6277fdab
JM
10272013-02-04 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #13550]
1030 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1031 (__ubp_memchr): Remove prototype.
1032 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1033 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1034 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1035 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1036 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1037 Remove alias.
1038 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1039 (__ubp_memchr): Likewise.
1040 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1041 (__ubp_memchr): Likewise.
1042 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1043 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1044 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1045 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1046 CHECK_STRING.
1047 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1048 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1049 (__getcwd): Do not use CHECK_STRING.
1050 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1051 <bp-checks.h>.
1052 (__real_chown): Do not use CHECK_STRING.
1053 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1054 <bp-checks.h>.
1055 (fchownat): Do not use CHECK_STRING.
1056 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1057 CHECK_STRING.
1058 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1059 <bp-checks.h>.
1060 (__lchown): Do not use CHECK_STRING.
1061 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1062 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1063 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1064 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1066 include <bp-checks.h>.
1067 (truncate64): Do not use CHECK_STRING.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1069 <bp-checks.h>.
1070 (__real_chown): Do not use CHECK_STRING.
1071 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1072 <bp-checks.h>.
1073 (__lchown): Do not use CHECK_STRING.
1074 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1075 <bp-checks.h>.
1076 (__chown): Do not use CHECK_STRING.
1077 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1078 <bp-checks.h>.
1079 (truncate64): Do not use CHECK_STRING.
1080 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1081 Likewise.
1082 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1083 (__xmknod): Do not use CHECK_STRING.
1084 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1085 <bp-checks.h>.
1086 (__xmknodat): Do not use CHECK_STRING.
1087 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1088 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1089
903ae060
AS
10902013-02-04 Andreas Schwab <schwab@suse.de>
1091
1092 [BZ #14142]
1093 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1094 * include/netdb.h: Likewise for h_errno.
1095 * elf/tst-stackguard1.c: Include <tls.h>.
1096
542f9466
JK
10972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1098
1099 * elf/link.h (struct link_map): Extend the l_addr comment.
1100 * include/link.h (struct link_map): Likewise.
1101
e782a927
JM
11022013-02-01 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #13550]
1105 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1106 (BOUNDED_1): Remove macro.
1107 * debug/backtrace.c: Don't include <bp-checks.h>.
1108 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1109 (__backtrace): Likewise.
1110 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1111 <bp-checks.h>.
1112 (__backtrace): Don't use BOUNDED_1.
1113 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1114 <bp-checks.h>.
1115 (__backtrace): Don't use BOUNDED_1.
1116 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1117 (__backtrace): Don't use BOUNDED_1.
1118 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1119 (shmat): Don't use BOUNDED_N.
1120
8cf28c5e
JM
11212013-01-31 Joseph Myers <joseph@codesourcery.com>
1122
3a7ac8a0
JM
1123 [BZ #13550]
1124 * sysdeps/generic/bp-start.h: Remove file.
1125 * csu/libc-start.c: Don't include <bp-start.h>.
1126 (LIBC_START_MAIN): Set up __environ directly instead of using
1127 INIT_ARGV_and_ENVIRON.
1128 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1129 <bp-start.h>.
1130
f3499f95
JM
1131 [BZ #13550]
1132 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1133 definitions.
1134 (CHECK_FCNTL): Likewise.
1135 (CHECK_N_PAGES): Likewise.
1136
32a45bea
JM
1137 [BZ #13550]
1138 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1139 definitions.
1140 (CHECK_SIGSET_NULL_OK): Likewise.
1141 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1142 <bp-checks.h>.
1143 (sigpending): Don't use CHECK_SIGSET.
1144 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1145 <bp-checks.h>.
1146 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1147 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1148 <bp-checks.h>.
1149 (do_sigsuspend): Don't use CHECK_SIGSET.
1150 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1151 use CHECK_SIGSET.
1152 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1153 (do_sigwait): Don't use CHECK_SIGSET.
1154 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1155 use CHECK_SIGSET.
1156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1157 include <bp-checks.h>.
1158 (sigpending): Don't use CHECK_SIGSET.
1159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1160 include <bp-checks.h>.
1161 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1162 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1163 <bp-checks.h>.
1164 (sigpending): Don't use CHECK_SIGSET.
1165 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1166 <bp-checks.h>.
1167 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1168
2e8a5c8c
JM
1169 [BZ #13550]
1170 * sysdeps/generic/bp-semctl.h: Remove file.
1171 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1172 <bp-checks.h> and <bp-semctl.h>.
1173 (__old_semctl): Don't use CHECK_SEMCTL.
1174 (__new_semctl): Likewise.
1175 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1176 and <bp-semctl.h>.
1177 (__old_semctl): Don't use CHECK_SEMCTL.
1178 (__new_semctl): Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1180 <bp-checks.h> and <bp-semctl.h>.
1181 (__old_semctl): Don't use CHECK_SEMCTL.
1182 (__new_semctl): Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1184 <bp-checks.h> and <bp-semctl.h>.
1185 (semctl): Don't use CHECK_SEMCTL.
1186
c2d54929
JM
1187 [BZ #13550]
1188 * Makerules (elide-bp-thunks): Remove variable.
1189 (elide-routines.oS): Don't use $(elide-bp-thunks).
1190 (elide-routines.os): Likewise.
1191 (elide-routines.o): Likewise.
1192 (elide-routines.op): Likewise.
1193 (elide-routines.og): Likewise.
1194 (objects): Don't use $(bp-thunks).
1195 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1196 include.
1197 (common-generated): Do not add s-proto-bp.d.
1198 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1199 (int): Likewise.
1200 (typ): Likewise.
1201 Do not generate makefile rules for bounded-pointer thunks.
1202 * sysdeps/generic/bp-thunks.h: Remove file.
1203 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1204 * sysdeps/unix/s-proto-bp.S: Likewise.
1205
8cf28c5e
JM
1206 [BZ #15062]
1207 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1208 parts of result separately when argument is not close to line from
1209 -i to i and one part of argument is small.
1210 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1211 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1212 * math/libm-test.inc (cacos_test): Add more tests.
1213 (casin_test): Likewise.
1214 (casinh_test): Likewise.
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1217
c4e33b8d
DM
12182013-01-31 David S. Miller <davem@davemloft.net>
1219
1220 * po/de.po: Update from translation team.
1221
3b60b421
MK
12222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1223
1224 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1225
bb931195
TS
12262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1227
b5a5da23
TS
1228 * configure.in (_AC_PROG_CC_C89): New definition.
1229 * configure: Regenerate.
1230
bb931195
TS
1231 * configure.in (AC_PROG_CPP): New definition.
1232 * configure: Regenerate.
1233
8c53a12c
JM
12342013-01-23 Joseph Myers <joseph@codesourcery.com>
1235
1236 * debug/tst-backtrace.h: New file.
1237 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1238 (ret): Remove variable.
1239 (x): Likewise.
1240 (FAIL): Remove macro.
1241 (NO_INLINE): Likewise.
1242 (fn1): Use match function instead of strstr.
1243 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1244 (ret): Remove variable.
1245 (x): Likewise.
1246 (FAIL): Remove macro.
1247 (NO_INLINE): Likewise.
1248 (fn): Use match function instead of strstr.
1249 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1250 (ret): Remove variable.
1251 (x): Likewise.
1252 (FAIL): Remove macro.
1253 (NO_INLINE): Likewise.
1254 (handle_signal): Use match function instead of strstr.
1255 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1256 (ret): Remove variable.
1257 (x): Likewise.
1258 (FAIL): Remove macro.
1259 (NO_INLINE): Likewise.
1260 (handle_signal): Use match function instead of strstr.
1261
4858fa2a
RM
12622013-01-23 Roland McGrath <roland@hack.frob.com>
1263
1264 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1265
bae8e7f5
DM
12662013-01-23 David S. Miller <davem@davemloft.net>
1267
1268 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1269 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1270 argument of CAS if possible.
1271 * sysdeps/sparc/sparc64/bits/atomic.h
1272 (__arch_compare_and_exchange_val_32_acq): Likewise.
1273 (__arch_compare_and_exchange_val_64_acq): Likewise.
1274
9cbbc4ae
PT
12752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1276
1277 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1278 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1279 Include <limits.h>.
67b3f58c 1280 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1281
5655a0b5
AC
12822013-01-23 Adam Conrad <adconrad@0c3.net>
1283
1284 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1285 (LDFLAGS-tst-array5): Likewise.
1286
052aff95
JM
12872013-01-23 Joseph Myers <joseph@codesourcery.com>
1288
1289 [BZ #15036]
1290 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1291 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1292 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1293 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1294
7c1e01aa
DM
12952013-01-21 David S. Miller <davem@davemloft.net>
1296
1297 * sysdeps/sparc/backtrace.c: New file.
1298 * sysdeps/sparc/sparc32/backtrace.h: New file.
1299 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1300 * sysdeps/sparc/sparc64/backtrace.h: New file.
1301 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1302 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1303 -funwind-tables.
1304
ab087e0a
AS
13052013-01-21 Andreas Schwab <schwab@suse.de>
1306
1307 [BZ #15020]
1308 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1309 closed its stdout.
1310
ed689c2f
AS
13112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1312
1313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1314 "mpa2.h".
1315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1316
31d470ac
JM
13172013-01-18 Joseph Myers <joseph@codesourcery.com>
1318 Mark Mitchell <mark@codesourcery.com>
1319 Tom de Vries <tom@codesourcery.com>
1320 Paul Pluzhnikov <ppluzhnikov@google.com>
1321
1322 * debug/tst-backtrace2.c: New file.
1323 * debug/tst-backtrace3.c: Likewise.
1324 * debug/tst-backtrace4.c: Likewise.
1325 * debug/tst-backtrace5.c: Likewise.
1326 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1327 (CFLAGS-tst-backtrace3.c): Likewise.
1328 (CFLAGS-tst-backtrace4.c): Likewise.
1329 (CFLAGS-tst-backtrace5.c): Likewise.
1330 (LDFLAGS-tst-backtrace2): Likewise.
1331 (LDFLAGS-tst-backtrace3): Likewise.
1332 (LDFLAGS-tst-backtrace4): Likewise.
1333 (LDFLAGS-tst-backtrace5): Likewise.
1334 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1335 tst-backtrace4 and tst-backtrace5.
1336
90567f30 13372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1338 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1339
1340 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1341 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1342 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1343 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1345 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1346 "+r" and remove output regs list as redundant. Add explicit inline
1347 asm to specify register of return val to work around compiler codegen
1348 bug. Remove (int) cast on return value. Add return type parameter to
1349 use in macro so that this macro does not truncate return value for
1350 64-bit values.
1351 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1352 pass to INTERNAL_VSYSCALL_NCS.
1353 (INLINE_VSYSCALL): Add 'long int' as return type to
1354 INTERNAL_VSYSCALL_NCS macro invocation.
1355 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1356 INTERNAL_VSYSCALL_NCS macro invocation.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1358
d3b9ea61
SP
13592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
0b57daeb
SP
1361 [BZ #14496]
1362 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1363 Fix application of SIMD FP exception mask.
1364
caa99d06
SP
1365 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1366 mp_no from a power of two.
1367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1368 __mpexp_twomm1. Use __pow_mp.
1369
d3b9ea61
SP
1370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1371 multiplication.
1372
1dbaee3c
DM
13732013-01-17 David S. Miller <davem@davemloft.net>
1374
1375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1376
728d7b43
JM
13772013-01-17 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #15023]
1380 * include/complex.h: Condition contents on [!_COMPLEX_H].
1381 (__kernel_casinhf): New prototype.
1382 (__kernel_casinh): Likewise.
1383 (__kernel_casinhl): Likewise.
1384 * math/Makefile (libm_calls): Add k_casinh.
1385 * math/k_casinh.c: New file.
1386 * math/k_casinhf.c: Likewise.
1387 * math/k_casinhl.c: Likewise.
1388 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1389 finite nonzero arguments.
1390 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1391 finite nonzero arguments.
1392 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1393 finite nonzero arguments.
1394 * math/s_casinh.c: Do not include <float.h>.
1395 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1396 * math/s_casinhf.c: Do not include <float.h>.
1397 (__casinhf): Move code for finite nonzero arguments to
1398 k_casinhf.c.
1399 * math/s_casinhl.c: Do not include <float.h>.
1400 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1401 redefine.
1402 (__casinhl): Move code for finite nonzero arguments to
1403 k_casinhl.c.
1404 * math/libm-test.inc (cacos_test): Add more tests.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407
2a26ef3a
PT
14082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1409
1410 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1411 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1412 [!HAVE_MREMAP]: Remove [defined linux] case.
1413 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1414
a897655d
SP
14152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
1417 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1418
881ebe89 14192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1420
1421 * elf/elf.h (R_386_SIZE32): New relocation.
1422 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1423 R_386_SIZE32.
1424 (elf_machine_rela): Likewise.
1425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1426 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1427
59981e9b
JM
14282013-01-17 Joseph Myers <joseph@codesourcery.com>
1429
1430 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1431 (FP_FAST_FMA): Do not define.
1432 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1433 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1434 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1435 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1436 !_SOFT_FLOAT]: Likewise.
1437 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1439 value.
1440 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1441 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1444 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1445 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1446 file.
1447
cfa8054f
AS
14482013-01-16 Andreas Schwab <schwab@suse.de>
1449
1450 [BZ #14327]
1451 * include/stdlib.h (__mktemp): Add declaration.
1452 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1453 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1454
dd930cc5
SP
14552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
881ebe89
SP
1457 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1458 definitions.
1459 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1460 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1461 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1462 definitions here.
1463 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1464 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1465 definitions.
1466 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1467 and ONE.
1468 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1469 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1470 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1471 definitions.
1472 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1473 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1474 definitions.
1475 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1476
dd930cc5
SP
1477 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1478
c19a9f89
DM
14792013-01-15 David S. Miller <davem@davemloft.net>
1480
1aa61767
DM
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1482 trunc{,f} to libm-sysdep_routes.
1483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1485 file.
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1488 file.
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1490 file.
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1497 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1498 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1499
c42d5e98
DM
1500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1501 nearbyint{,f} to libm-sysdep_routes.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1504 New file.
1505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1506 file.
1507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1508 New file.
1509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1510 file.
1511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1514 file.
1515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1517 file.
1518 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1519 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1520 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1521
c19a9f89
DM
1522 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1523 libc_feholdexcept and libc_fesetenv.
1524
357679d2
MF
15252013-01-15 Mike Frysinger <vapier@gentoo.org>
1526
1527 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1528
65a82e3d
DM
15292013-01-14 David S. Miller <davem@davemloft.net>
1530
8b954ab9
DM
1531 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1532 (SPARC_ASM_VIS2_IFUNC): Likewise.
1533 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1535 use of 'siam' instruction.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1537 Likewise.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1539 Likewise.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1541 Likewise.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1547 file.
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1549 file.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1551 file.
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1553 file.
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1559 new VIS2 routines.
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1563 Likewise.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1569 routines to libm-sysdep_routines.
1570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1571
65a82e3d
DM
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1573 fdim/fdimf to libm-sysdep_routines.
1574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1575 file.
1576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1578 file.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1582 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1583 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1586
e34ab705
SP
15872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1588
2a91b573
SP
1589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1590 to optimize copies.
1591
1066a534
SP
1592 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1595
e34ab705
SP
1596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1597 local variable MPTWO.
1598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1599 Likewise.
1600
aba5e596
MF
16012013-01-13 Mike Frysinger <vapier@gentoo.org>
1602
1603 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1604 GLOB_NOESCAPE.
1605
e557e9e5
MF
16062013-01-13 Mike Frysinger <vapier@gentoo.org>
1607
1608 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1609
0428cec9
MF
16102013-01-13 Mike Frysinger <vapier@gentoo.org>
1611
1612 * manual/pattern.texi (glob_t): Document gl_flags.
1613 (glob64_t): Likewise.
1614
8794a964
DM
16152013-01-11 David S. Miller <davem@davemloft.net>
1616
66438c3f
RM
1617 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1618 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1619 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1620 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1621 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1622 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1623 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1624 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1625 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1626 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1627 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1628 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1629 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1630
4ae4244d
DM
1631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1632 sparc V9 rather than using V8 code.
1633 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1634 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1635
8794a964
DM
1636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1637 Move to...
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1639 Here.
1640
6270516e
RM
16412013-01-11 Roland McGrath <roland@hack.frob.com>
1642
1643 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1644 not in the main loop.
1645 * configure: Regenerated.
1646
6a57d931
JM
16472013-01-11 Joseph Myers <joseph@codesourcery.com>
1648
1649 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1650 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1651 to just #else.
1652 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1653 [!__GLIBC_HAVE_LONG_LONG] case.
1654 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1655 condition to just #else.
1656 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1657 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1658 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1659 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1660 unconditional.
1661 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1662 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1663 #elif condition to just #else.
1664 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1665 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1666 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1667 #elif condition to just #else.
1668
0e8529e9
SE
16692013-01-11 Steve Ellcey <sellcey@mips.com>
1670
1671 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1672 (EF_MIPS_ARCH_64): Fix value.
1673 (EF_MIPS_ARCH_32R2): New.
1674 (EF_MIPS_ARCH_64R2): New.
1675
740b3dbe
L
16762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 * Makeconfig (+link-pie-before-libc): New.
1679 (+link-pie-after-libc): Likewise.
1680 (+link-pie-tests): Likewise.
1681 (+link-pie): Rewritten.
1682 (link-before-libc): Remove $(config-LDFLAGS).
1683 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1684 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1685 (config-LDFLAGS): Renamed to ...
1686 (rtld-LDFLAGS): This.
1687 (rtld-tests-LDFLAGS): New macro.
1688 (link-libc-rpath-link): Likewise.
1689 (link-libc-tests-rpath-link): Likewise.
1690 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1691 (link-libc): Prepand $(link-libc-rpath-link).
1692 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1693 (test-program-prefix): New macro.
1694 (test-via-rtld-prefix): Likewise.
1695 (test-program-cmd): Likewise.
1696 (host-test-program-cmd): Likewise.
1697 * Makefile ($(common-objpfx)testrun.sh): Replace
1698 $(run-program-prefix) with $(test-program-prefix).
1699 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1700 $(rtld-LDFLAGS).
1701 ($(common-objpfx)shlib.lds): Likewise.
1702 (build-module-helper): Likewise.
1703 ($(common-objpfx)format.lds): Likewise.
1704 * Rules (binaries-pie-tests): New.
1705 (binaries-pie-notests): Likewise.
1706 (binaries-pie): Rewritten.
1707 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1708 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1709 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1710 (make-test-out): Replace $(host-built-program-cmd) with
1711 $(host-test-program-cmd).
1712 * config.make.in (build-hardcoded-path-in-tests): New variable.
1713 * configure.in (--enable-hardcoded-path-in-tests): New configure
1714 option.
1715 (hardcoded_path_in_tests): New AC_SUBST.
1716 * configure: Regenerated.
1717 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1718 $(built-program-cmd) with $(test-program-cmd).
1719 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1720 (test_program_cmd): This.
1721 * elf/Makefile ($(objpfx)order.out): Run test with
1722 $(test-program-prefix).
1723 ($(objpfx)order2.out): Likewise.
1724 ($(objpfx)tst-initorder.out): Likewise.
1725 ($(objpfx)tst-initorder2.out): Likewise.
1726 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1727 $(test-program-cmd).
1728 ($(objpfx)tst-array1-static.out): Likewise.
1729 ($(objpfx)tst-array2.out): Likewise.
1730 ($(objpfx)tst-array3.out): Likewise.
1731 ($(objpfx)tst-array4.out): Likewise.
1732 ($(objpfx)tst-array5.out): Likewise.
1733 ($(objpfx)tst-array5-static.out): Likewise.
1734 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1735 $(test-program-cmd).
1736 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1737 $(run-program-prefix) with $(test-program-prefix).
1738 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1739 (test_program_prefix): This.
1740 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1741 $(run-program-prefix) with $(test-program-prefix).
1742 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1743 (test_program_prefix): This.
1744 * iconvdata/tst-tables.sh: Likewise.
1745 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1746 $(run-program-prefix) with $(test-program-prefix).
1747 ($(objpfx)tst-translit.out): Likewise.
1748 ($(objpfx)tst-gettext2.out): Likewise.
1749 ($(objpfx)tst-gettext4.out): Likewise.
1750 ($(objpfx)tst-gettext6.out): Likewise.
1751 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1752 (test_program_prefix): This.
1753 * intl/tst-gettext2.sh: Likewise.
1754 * intl/tst-gettext4.sh Likewise.
1755 * intl/tst-gettext6.sh: Likewise.
1756 * intl/tst-translit.sh: Likewise.
1757 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1758 with $(test-program-cmd).
1759 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1760 $(run-program-prefix) with $(test-program-prefix).
1761 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1762 (test_program_prefix): This.
1763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1764 $(run-program-prefix) with $(test-program-prefix).
1765 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1766 (test_program_prefix): This.
1767 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1768 * posix/Makefile ($(objpfx)globtest.out): Replace
1769 $(run-via-rtld-prefix) and $(test-wrapper) with
1770 $(test-program-prefix) and $(test-via-rtld-prefix).
1771 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1772 $(test-program-prefix).
1773 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1774 $(host-test-program-cmd).
1775 (tst-spawn-ARGS): Likewise.
1776 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1777 $(test-program-prefix).
1778 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1779 (test_via_rtld_prefix): This.
1780 (test_wrapper): Renamed to ...
1781 (test_program_prefix): This.
1782 (run_program_prefix): Replaced by test_program_prefix.
1783 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1784 (test_program_prefix): This.
1785 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1786 with $(host-test-program-cmd).
1787 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1788 $(run-program-prefix) with $(test-program-prefix).
1789 ($(objpfx)tst-printf.out): Likewise.
1790 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1791 $(test-program-cmd).
1792 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1793 (test_program_prefix): This.
1794 * stdio-common/tst-unbputc.sh: Likewise.
1795 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1796 $(run-program-prefix) with $(test-program-prefix).
1797 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1798 (test_program_prefix): This.
1799 * string/Makefile ($(objpfx)tst-svc.out): Replace
1800 $(built-program-cmd) with $(test-program-cmd).
1801
c6fe55cf
AJ
18022013-01-11 Andreas Jaeger <aj@suse.de>
1803
1804 [BZ #15003]
1805 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1806 value. Sync with Linux 3.7.
1807
9e6919c8
DM
18082013-01-10 David S. Miller <davem@davemloft.net>
1809
1810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1811 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1812 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1813
1c9f1a02
RM
18142013-01-10 Roland McGrath <roland@hack.frob.com>
1815
1816 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1817 never set.
1818 * configure: Regenerated.
1819
b9de2dde
DM
18202013-01-10 David S. Miller <davem@davemloft.net>
1821
1822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1823 sparc V9 rather than using V8 code.
1824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1826
e7f68ef4
RM
18272013-01-10 Roland McGrath <roland@hack.frob.com>
1828
1829 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1830 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1831 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1832 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1833 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1834 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1835 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1836 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1837 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1838 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1839 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1840 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1841 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1842 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1843 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1844 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1845 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1846 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1847 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1848 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1849 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1850 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1851 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1852 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1853 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1854 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1855 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1856
5a47cc9c
DM
18572013-01-10 David S. Miller <davem@davemloft.net>
1858
1859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1860
4cf8f209
L
18612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * posix/Makefile (tests-static): New variable.
1864 (tests): Add $(tests-static).
1865 (tst-exec-static-ARGS): New variable.
1866 (tst-spawn-static-ARGS): Likewise.
1867 * posix/tst-exec-static.c: New file.
1868 * posix/tst-spawn-static.c: Likewise.
1869 * posix/tst-exec.c: Support run directly.
1870 * posix/tst-spawn.c: Likewise.
1871
fed0faa1
JM
18722013-01-10 Joseph Myers <joseph@codesourcery.com>
1873
828beb13
JM
1874 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1875 long.
1876 * math/bits/mathcalls.h (llrint): Likewise.
1877 (llround): Likewise.
1878 * stdlib/stdlib.h (struct drand48_data): Likewise.
1879 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1880 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1881 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1882 Likewise.
1883 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1884 Likewise.
1885 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1886 (elf_greg_t): Likewise.
1887 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1888 (__jmp_buf): Likewise.
1889 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1890 definitions.
1891 (llrint): Likewise, for all definitions.
1892 (llrintl): Likewise.
1893
fed0faa1
JM
1894 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1895 Remove [__GNUC__] condition.
1896 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1897 condition to just [__USE_ISOC99].
1898 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1899
1a20cb20
L
19002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 [BZ #14200]
1903 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1904 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1905 defined.
1906 (_POSIX_V6_ILP32_OFF32): Likewise.
1907 (_XBS5_ILP32_OFF32): Likewise.
1908 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1909 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1910
751b85f7
SP
19112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1912
7490eb81
SP
1913 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1914
751b85f7
SP
1915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1916 doubles __mpexp_twomm1. Adjust usage.
1917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1918 Remove.
1919
988197f0
AS
19202013-01-10 Andreas Schwab <schwab@suse.de>
1921
1922 [BZ #14964]
1923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1924 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1925
e83d7298
DM
19262013-01-09 David S. Miller <davem@davemloft.net>
1927
034ed64b 1928 [BZ #15003]
e83d7298
DM
1929 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1930 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1931 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1932 TCP_FASTOPEN): Define.
1933 (tcp_repair_opt): New structure.
1934 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1935 enum values.
1936 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1937 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1938 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1939 (tcp_cookie_transactions): New structure.
1940
d5e0b9bd
AB
19412013-01-09 Anton Blanchard <anton@samba.org>
1942
1943 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1944 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1945 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1947
0c07e3ea
JM
19482013-01-09 Joseph Myers <joseph@codesourcery.com>
1949
1950 * include/features.h (__USE_ANSI): Remove.
1951
232f7002
RM
19522013-01-09 Roland McGrath <roland@hack.frob.com>
1953
ad98e30c
RM
1954 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1955
232f7002
RM
1956 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1957
950c99ca
SP
19582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
b5792741
SP
1960 * sysdeps/s390/fpu/libm-test-ulps: Update.
1961
47cf2278
SP
1962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1963
950c99ca
SP
1964 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1965 (__acr): Likewise.
1966 (__cpy): Likewise.
1967 (norm): Likewise.
1968 (denorm): Likewise.
1969 (__mp_dbl): Likewise.
1970 (__dbl_mp): Likewise.
1971 (add_magnitudes): Likewise.
1972 (sub_magnitudes): Likewise.
1973 (__add): Likewise.
1974 (__sub): Likewise.
1975 (__mul): Likewise.
1976 (__inv): Likewise.
1977 (__dvd): Likewise.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1979 (__acr): Likewise.
1980 (__cpy): Likewise.
1981 (norm): Likewise.
1982 (denorm): Likewise.
1983 (__mp_dbl): Likewise.
1984 (__dbl_mp): Likewise.
1985 (add_magnitudes): Likewise.
1986 (sub_magnitudes): Likewise.
1987 (__add): Likewise.
1988 (__sub): Likewise.
1989 (__mul): Likewise.
1990 (__inv): Likewise.
1991 (__dvd): Likewise.
1992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1993 (__acr): Likewise.
1994 (__cpy): Likewise.
1995 (norm): Likewise.
1996 (denorm): Likewise.
1997 (__mp_dbl): Likewise.
1998 (__dbl_mp): Likewise.
1999 (add_magnitudes): Likewise.
2000 (sub_magnitudes): Likewise.
2001 (__add): Likewise.
2002 (__sub): Likewise.
2003 (__mul): Likewise.
2004 (__inv): Likewise.
2005 (__dvd): Likewise.
2006
eede9df9
JM
20072013-01-08 Joseph Myers <joseph@codesourcery.com>
2008
2009 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2010 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2011 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2012 2 && __USE_EXTERN_INLINES]: Likewise.
2013
c40ea3d9
AJ
20142013-01-08 Andreas Jaeger <aj@suse.de>
2015
2016 [BZ# 14985]
2017 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2018 Remove.
2019 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2020 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2021
2ccdea26
AB
20222013-01-07 Anton Blanchard <anton@samba.org>
2023
2024 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2025 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2026 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2027 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2030 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2045 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2049 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2051 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2054 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2056 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2058 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2067
a9708fed
JM
20682013-01-07 Joseph Myers <joseph@codesourcery.com>
2069
375607b9
JM
2070 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2071 (__MALLOC_PMT): Likewise.
2072 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2073 [__GNUC__], only on [_LIBC].
2074 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2075 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2076 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2077 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2078 forward declaration.
2079 (realloc_hook_ini): Likewise.
2080 (memalign_hook_ini): Likewise.
2081 (__libc_memalign): Do not use __MALLOC_PMT in variable
2082 declaration.
2083 (__libc_valloc): Likewise.
2084 (__libc_pvalloc): Likewise.
2085 (__libc_calloc): Likewise.
2086 (__posix_memalign): Likewise.
2087
a9708fed
JM
2088 [BZ #14996]
2089 * math/s_casinh.c: Include <float.h>.
2090 (__casinh): Do not do computation with squaring and square root
2091 for large arguments.
2092 * math/s_casinhf.c: Include <float.h>.
2093 (__casinhf): Do not do computation with squaring and square root
2094 for large arguments.
2095 * math/s_casinhl.c: Include <float.h>.
2096 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2097 (__casinhl): Do not do computation with squaring and square root
2098 for large arguments.
2099 * math/libm-test.inc (casin_test): Add more tests.
2100 (casinh_test): Likewise.
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
afec409a
L
21042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2105
2106 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2107 (__x86_64_raw_data_cache_size): Likewise.
2108 (__x86_64_data_cache_size_half): Likewise.
2109 (__x86_64_raw_data_cache_size_half): Likewise.
2110 (__x86_64_shared_cache_size): Likewise.
2111 (__x86_64_raw_shared_cache_size): Likewise.
2112 (__x86_64_shared_cache_size_half): Likewise.
2113 (__x86_64_raw_shared_cache_size_half): Likewise.
2114 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2115 to ...
2116 (__x86_data_cache_size): This.
2117 (__x86_64_raw_data_cache_size): Renamed to ...
2118 (__x86_raw_data_cache_size): This.
2119 (__x86_64_data_cache_size_half): Renamed to ...
2120 (__x86_data_cache_size_half): This.
2121 (__x86_64_raw_data_cache_size_half): Renamed to ...
2122 (__x86_raw_data_cache_size_half): This.
2123 (__x86_64_shared_cache_size): Renamed to ...
2124 (__x86_shared_cache_size): This.
2125 (__x86_64_raw_shared_cache_size): Renamed to ...
2126 (__x86_raw_shared_cache_size): This.
2127 (__x86_64_shared_cache_size_half): Renamed to ...
2128 (__x86_shared_cache_size_half): This.
2129 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2130 (__x86_raw_shared_cache_size_half): This.
2131 * sysdeps/x86_64/memcpy.S: Updated.
2132 * sysdeps/x86_64/memset.S: Likewise.
2133 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2136
0b3986d0
DM
21372013-01-04 David S. Miller <davem@davemloft.net>
2138
2139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2140
e47686e9
AS
21412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2142
d643bac1
AS
2143 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2144 1 to avoid redefinition warning.
2145 (__USE_GNU): Don't define.
2146 (init_signaling_nan): Protoize.
2147
e47686e9
AS
2148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2149
b18decba
SP
21502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2151
fffb407f
SP
2152 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2154 (__cpymn): Likewise.
2155 (norm): Remove commented code.
2156 (denorm): Likewise.
2157 (__mp_dbl): Likewise.
2158 (__inv): Likewise.
2159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2160 (__cpymn): Likewise.
2161 (norm): Remove commented code.
2162 (denorm): Likewise.
2163 (__mp_dbl): Likewise.
2164 (__inv): Likewise.
2165
b18decba
SP
2166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2167 mp_no value for 1.0 and 2.0.
2168 (norm): Use RADIXI instead of radixi.d.
2169 (denorm): Likewise.
2170 (__mul): Use 0.0 instead of zero.d.
2171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2172 mp_no value for 1.0 and 2.0.
2173 (norm): Use RADIXI instead of radixi.d.
2174 (denorm): Likewise.
2175 (__mul): Use 0.0 instead of zero.d.
2176
cdc1c96f
JM
21772013-01-04 Joseph Myers <joseph@codesourcery.com>
2178
2179 [BZ #14994]
2180 * math/s_casinh.c (__casinh): Reduce finite argument to first
2181 quadrant then set signs of results at the end.
2182 * math/s_casinhf.c (__casinhf): Likewise.
2183 * math/s_casinhl.c (__casinhl): Likewise.
2184 * math/libm-test.inc (casin_test): Add more tests.
2185 (casinh_test): Likewise.
2186 * sysdeps/i386/fpu/libm-test-ulps: Update.
2187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2188
302913e1
SP
21892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2190
6420d207
SP
2191 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2192
a9e48ab4
SP
2193 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2194
b7837264
SP
2195 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2196 declarations.
2197 (denorm): Likewise.
2198 (__mp_dbl): Likewise.
2199 (__inv): Likewise.
2200
f8af25d2
SP
2201 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2202 and adjust the header comment.
2203
302913e1
SP
2204 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2205 variable name from declaration.
2206
5d7dd1ca
L
22072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2208
2209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2210 Initialize COMMON_CPUID_INDEX_7 element.
2211 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2212 (CPUID_RTM): Likewise.
2213 (HAS_RTM): Likewise.
2214 (COMMON_CPUID_INDEX_7): New enum.
2215
2f5f40f4
AS
22162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2217
2218 [BZ #14981]
2219 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2220 size is zero, record memory as freed.
2221
4056f4a0
AJ
22222013-01-03 Andreas Jaeger <aj@suse.de>
2223
2224 * po/ia.po: Add new Interlingua translation.
2225
ab15736f 22262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2227
2228 * locale/programs/localedef.c: Fix description of '--posix' flag.
2229
568035b7
JM
22302013-01-02 Joseph Myers <joseph@codesourcery.com>
2231
e6898b8d
JM
2232 * NEWS: Update dates in second copyright notice.
2233 * README: Update copyright dates in example.
2234 * manual/libc.texinfo: Update copyright dates.
2235 * scripts/test-installation.pl: Update copyright date in --version
2236 output.
2237
0e2f9562
JM
2238 * hurd/ctty-input.c: Fix copyright notice formatting.
2239 * hurd/ctty-output.c: Likewise.
2240 * hurd/dtable.c: Likewise.
2241 * hurd/hurd-raise.c: Likewise.
2242 * hurd/hurdprio.c: Likewise.
2243 * hurd/msgportdemux.c: Likewise.
2244 * misc/sys/file.h: Likewise.
2245 * misc/sys/ioctl.h: Likewise.
2246 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2247 * sysdeps/mach/hurd/chdir.c: Likewise.
2248 * sysdeps/mach/hurd/fchdir.c: Likewise.
2249 * sysdeps/mach/hurd/rename.c: Likewise.
2250 * sysdeps/mach/hurd/rmdir.c: Likewise.
2251 * sysdeps/mach/hurd/seekdir.c: Likewise.
2252 * sysdeps/mach/hurd/setsid.c: Likewise.
2253 * sysdeps/posix/wait3.c: Likewise.
2254
568035b7
JM
2255 * All files with FSF copyright notices: Update copyright dates
2256 using scripts/update-copyrights.
2257 * intl/plural.c: Regenerated.
2258 * locale/programs/charmap-kw.h: Likewise.
2259 * locale/programs/locfile-kw.h: Likewise.
2260
da08f647
SP
22612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2262
0f5477af
SP
2263 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2264 four values.
2265
44e0d4c2
SP
2266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2267 calculation loop and add branch prediction.
2268
4d55b4e5
SP
2269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2270 check access beyond bounds of m1np.
2271
da08f647
SP
2272 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2273 MPTWO.
2274 (__inv): Remove local variable MPTWO to use the global
2275 constant.
2276 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2277 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2278 variable MPTWO.
2279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2280 MP3HALFS static const.
2281
8e051029
DM
22822013-01-01 David S. Miller <davem@davemloft.net>
2283
2284 * po/ca.po: Update from translation team.
2285
f4cf5f2d
JM
22862013-01-01 Joseph Myers <joseph@codesourcery.com>
2287
2288 * scripts/update-copyrights: New file.
2289 * Makeconfig: Reformat copyright notice.
2290 * ctype/ctype.h: Likewise.
2291 * debug/swprintf_chk.c: Likewise.
2292 * elf/dl-cache.c: Likewise.
2293 * elf/dl-debug.c: Likewise.
2294 * elf/dl-object.c: Likewise.
2295 * grp/initgroups.c: Likewise.
2296 * hurd/Makefile: Likewise.
2297 * hurd/hurd/signal.h: Likewise.
2298 * hurd/hurdfault.c: Likewise.
2299 * hurd/hurdioctl.c: Likewise.
2300 * hurd/hurdlookup.c: Likewise.
2301 * hurd/intr-msg.c: Likewise.
2302 * iconv/gconv_open.c: Likewise.
2303 * libio/swprintf.c: Likewise.
2304 * locale/lc-ctype.c: Likewise.
2305 * locale/nl_langinfo.c: Likewise.
2306 * mach/Machrules: Likewise.
2307 * mach/Makefile: Likewise.
2308 * malloc/obstack.h: Likewise.
2309 * manual/Makefile: Likewise.
2310 * manual/tsort.awk: Likewise.
2311 * misc/bits/stab.def: Likewise.
2312 * nis/nis_print_group_entry.c: Likewise.
2313 * nis/nis_table.c: Likewise.
2314 * nis/nss_compat/compat-pwd.c: Likewise.
2315 * nis/nss_compat/compat-spwd.c: Likewise.
2316 * po/Makefile: Likewise.
2317 * posix/fnmatch.c: Likewise.
2318 * posix/regex.h: Likewise.
2319 * resolv/Makefile: Likewise.
2320 * resolv/nss_dns/dns-network.c: Likewise.
2321 * resolv/res_hconf.c: Likewise.
2322 * scripts/gen-sorted.awk: Likewise.
2323 * soft-fp/soft-fp.h: Likewise.
2324 * stdio-common/printf.h: Likewise.
2325 * stdlib/monetary.h: Likewise.
2326 * stdlib/random.c: Likewise.
2327 * stdlib/random_r.c: Likewise.
2328 * sysdeps/generic/Makefile: Likewise.
2329 * sysdeps/gnu/Makefile: Likewise.
2330 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2343 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2344 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2346 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2348 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2350 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2351 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2352 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2358 * sysdeps/mach/hurd/errnos.awk: Likewise.
2359 * sysdeps/mach/hurd/fork.c: Likewise.
2360 * sysdeps/mach/hurd/getcwd.c: Likewise.
2361 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2362 * sysdeps/mach/hurd/mmap.c: Likewise.
2363 * sysdeps/mach/hurd/utimes.c: Likewise.
2364 * sysdeps/mach/hurd/xmknod.c: Likewise.
2365 * sysdeps/posix/profil.c: Likewise.
2366 * sysdeps/posix/readdir_r.c: Likewise.
2367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2368 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2369 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2370 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2374 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2378 * sysdeps/pthread/lio_listio.c: Likewise.
2379 * sysdeps/sparc/dl-procinfo.h: Likewise.
2380 * sysdeps/unix/i386/sysdep.S: Likewise.
2381 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2382 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2383 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2384 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2386 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2387 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2388 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2389 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2390 * sysdeps/wordsize-32/divdi3.c: Likewise.
2391 * time/sys/time.h: Likewise.
2392 * wcsmbs/Makefile: Likewise.
2393
0549fbba
DM
23942013-01-01 David S. Miller <davem@davemloft.net>
2395
a141f1a7
DM
2396 * po/fr.po: Update from translation team.
2397
0549fbba
DM
2398 * catgets/gencat.c: Update copyright year.
2399 * csu/version.c: Likewise.
2400 * debug/catchsegv.sh: Likewise.
2401 * debug/pcprofiledump.c: Likewise.
2402 * debug/xtrace.sh: Likewise.
2403 * elf/ldconfig.c: Likewise.
2404 * elf/ldd.bash.in: Likewise.
2405 * elf/pldd.c: Likewise.
2406 * elf/sotruss.ksh: Likewise.
2407 * elf/sprof.c: Likewise.
2408 * iconv/iconv_prog.c: Likewise.
2409 * iconv/iconvconfig.c: Likewise.
2410 * locale/programs/locale.c: Likewise.
2411 * locale/programs/localedef.c: Likewise.
2412 * login/programs/pt_chown.c: Likewise.
2413 * malloc/memusage.sh: Likewise.
2414 * malloc/memusagestat.c: Likewise.
2415 * malloc/mtrace.pl: Likewise.
2416 * nscd/nscd.c: Likewise.
2417 * nss/getent.c: Likewise.
2418 * nss/makedb.c: Likewise.
2419 * posix/getconf.c: Likewise.
2420
18ea052c
SP
24212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2422
2423 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2424 numbers.
2425
9c89fca6
MF
24262012-12-30 Mike Frysinger <vapier@gentoo.org>
2427
2428 * math/bits/mathcalls.h (modf): Use __nonnull.
2429
085ec079
SP
24302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
2432 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2433 (split): Use macro CN instead of the bare value.
2434 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2435 could be used.
2436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2437 instead of the bare value.
2438 (power1): Likewise.
2439
6d9f97e1
SP
24402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
d63f73be
SP
2442 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2443 __ATAN_TWOM.
2444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2445
6d9f97e1
SP
2446 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2447 their values.
2448 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2450 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2451 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2452
4c4febf5
AJ
24532012-12-28 Andreas Jaeger <aj@suse.de>
2454
af5843ef
AJ
2455 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2456 values are from Linux 3.7.
2457
4c4febf5
AJ
2458 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2459 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2460
99136f82
SP
24612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2462
2f216c3c 2463 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2464 TRUE case.
2465
99136f82
SP
2466 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2467 (norm): Likewise.
2468 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2469 variables with preprocessor constants.
2470 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2471 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2472 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2473
7fffbdff
BH
24742012-12-27 Bruno Haible <bruno@clisp.org>
2475
2476 [BZ #14317]
2477 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2478 only if needed.
2479
b76eb5f0
SP
24802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2481
31a7fe5c
SP
2482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2483 and use variable directly.
2484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2485
b76eb5f0
SP
2486 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2487 MPONE.
2488 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2490 variable MPONE.
2491 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2493 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2494 include directive. Remove local variable MPONE.
2495 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2498
2c8bfe7d
DM
24992012-12-25 David S. Miller <davem@davemloft.net>
2500
2501 * version.h (RELEASE): Set to "development".
2502 (VERSION): Set to "2.17.90".
2503 * NEWS: Add 2.18 section.
2504
147d03b0
DM
25052012-12-21 David S. Miller <davem@davemloft.net>
2506
2507 * po/hr.po: Update from translation team.
2508
a8ebb2b9
AK
25092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2510
2511 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2512
95b4f1b6
SE
25132012-12-19 Steve Ellcey <sellcey@mips.com>
2514
b2d94007 2515 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2516
cedb2a90
MS
25172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2518
2519 * manual/contrib.texi (Contributors): Spelling correction.
2520
bbf527d6
DM
25212012-12-15 David S. Miller <davem@davemloft.net>
2522
2523 * po/ru.po: Update from translation team.
2524
bc38c906
DM
25252012-12-13 David S. Miller <davem@davemloft.net>
2526
85429b1a
DM
2527 * NEWS: Mention IFUNC testsuite enhancements.
2528
d283e353
DM
2529 * po/pl.po: Update from translation team.
2530 * po/bg.po: Likewise.
2531
bc38c906
DM
2532 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2533 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2534
a181b0d7
DM
25352012-12-11 David S. Miller <davem@davemloft.net>
2536
4641d57e
DM
2537 * po/sv.po: Update from translation team.
2538
f7bc6495
DM
2539 * po/vi.po: Update from translation team.
2540
6fc9048f
DM
2541 * po/cs.po: Update from translation team.
2542
a181b0d7
DM
2543 * po/de.po: Update from translation team.
2544 * po/eo.po: Likewise.
2545 * po/nl.po: Likewise.
2546
f70bfe80
SP
25472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
3c8b4190
SP
2549 [BZ #14246]
2550 * manual/argp.texi (Argp Helper Functions): Move node to follow
2551 Argp Parsing State.
2552
f70bfe80
SP
2553 [BZ #14872]
2554 * manual/conf.texi (Limits on File System Capacity): Mention if
2555 terminating null is included in the max size.
2556
188f0adf
AJ
25572012-12-10 Andreas Jaeger <aj@suse.de>
2558
2559 * po/cs.po: Update from translation team.
2560
56e7d3ad
SP
25612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
2563 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2564 void pointer and cast to uintptr_t.
2565 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2566 path.
2567 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2568 * sysdeps/s390/s390-64/memset.S: Likewise.
2569
76f2d2ea 25702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2571
2572 [BZ #14833]
2573 * menual/message.texi (Message Translation): Fix typos.
2574 (Helper programs for gettext): Likewise.
2575
67cbf9a2
AS
25762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2577
2578 [BZ #14898]
2579 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2580 Change to -1.
2581
682d0e9a
DM
25822012-12-07 David S. Miller <davem@davemloft.net>
2583
2584 * po/libc.pot: Update.
2585
573cd484
RH
25862012-12-07 Richard Henderson <rth@redhat.com>
2587
7e9da188 2588 [BZ #10114]
573cd484
RH
2589 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2590 normal/normal case to before the switch.
2591 (_FP_DIV): Likewise.
2592
e933a943
MF
25932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2594 Mike Frysinger <vapier@gentoo.org>
2595
2596 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2597 check for __NR_fadvise64_64.
2598
82123268
CM
25992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2600
2601 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2602 0, not just to plain "0" as a statement.
2603 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2604 with cw.
2605
d9814526
JM
26062012-12-06 Joseph Myers <joseph@codesourcery.com>
2607
2608 * NEWS: Use sourceware.org in Bugzilla URL.
2609
7728c574
SP
26102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2611
f16946dd
SP
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2613 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2614
5704bbcb
SP
2615 * stdio-common/tst-put-error.c (do_test): Add newline to the
2616 padded test to ensure flush.
2617
17aa0516
JL
26182012-12-05 Jeff Law <law@redhat.com>
2619
2620 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2621
363313b5
JM
26222012-12-05 Joseph Myers <joseph@codesourcery.com>
2623
effbd42a
JM
2624 * README: Don't refer to ports add-on as distributed separately.
2625 Mention AArch64 in list of systems supported in the ports add-on.
2626
87600365
JM
2627 * LICENSES: Add more non-FSF copyright and license notices.
2628
a0d7066a
JM
2629 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2630 ((unused)).
2631
66ca5a5b
JM
2632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2633
363313b5
JM
2634 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2635 10000 as width of padded output.
2636
b37984ad
JM
26372012-12-04 Joseph Myers <joseph@codesourcery.com>
2638
9003570a
JM
2639 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2640
b37984ad
JM
2641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2642 variable LX with __attribute__ ((unused)).
2643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2644 Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2648 with __attribute__ ((unused)).
2649
c8df52ec
DM
26502012-12-04 David S. Miller <davem@abraco.davemloft.net>
2651
2652 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2653
b3b099af
JM
26542012-12-04 Joseph Myers <joseph@codesourcery.com>
2655
c33aa6e3
JM
2656 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2657 (CFLAGS-nldbl-acos.c): New variable.
2658 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2659 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2660 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2661 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2662 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2663 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2664 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2665 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2666 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2667 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2668 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2669 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2670 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2671 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2672 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2673 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2674 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2675 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2676 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2677 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2678 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2679 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2680 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2681 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2682 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2683 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2684 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2685 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2686 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2687 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2692 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2693 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2694 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2695 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2696 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2697 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2698 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2699 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2700 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2701 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2702 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2703 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2704 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2705 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2706 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2707 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2708 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2709 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2710 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2711 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2712 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2717 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2718 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2719 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2720 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2721 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2722 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2723 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2724 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2725 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2726 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2727 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2728 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2729 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2730 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2731 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2732 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2733 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2734 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2735 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2736 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2737 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2738 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2739 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2740 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2741 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2742 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2743 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2745 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2746 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2747 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2748 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2749 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2750 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2751 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2752 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2753 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2754 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2755
20f0018d
JM
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2757 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2758
b3b099af
JM
2759 [BZ #14914]
2760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2761 whole low double instead of just low 47 bits when splitting values
2762 into two parts.
2763
029264d1
AM
27642012-12-03 Allan McRae <allan@archlinux.org>
2765
2766 * manual/stdio.texi (Predefined Printf Handlers): Remove
2767 @hsep and @vsep usage.
2768
c9d6789e
MF
27692012-12-03 Mike Frysinger <vapier@gentoo.org>
2770
2771 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2772 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2773
4b7634a5
JL
27742012-12-03 Jeff Law <law@redhat.com>
2775
2776 * time/sys/time.h (settimeofday): Do not mark TV argument
2777 as __nonnull.
2778
eb6cbd24
MF
27792012-12-01 Mike Frysinger <vapier@gentoo.org>
2780
2781 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2782 when currently writing and seek to current position when not.
2783 * libio/Makefile (tests): Remove bug-fclose1.
2784 * libio/bug-fclose1.c: Delete.
2785
f638872a
JM
27862012-12-01 Joseph Myers <joseph@codesourcery.com>
2787
2788 * manual/arith.texi (feenableexcept): Fix typo.
2789 (fedisableexcept): Likewise.
2790
48085d14
RM
27912012-11-30 Roland McGrath <roland@hack.frob.com>
2792
2793 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2794 second, differently-typed declaration, rather than a cast.
2795
1a538b9f
SP
27962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2797
2798 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2799 * include/rpc/svc.h: ... here.
2800
d07f2ff1 28012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2802
2803 [BZ #13013]
2804 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2805 depending n and resplen2 to catch cases where answer
2806 equals answerp2.
2807
c93ec1f0
CD
28082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2809
2810 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2811 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2812
37db69de
MF
28132012-11-29 Mike Frysinger <vapier@gentoo.org>
2814
2815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2816
e10c4e4f
RM
28172012-11-29 Roland McGrath <roland@hack.frob.com>
2818
2819 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2820
2af1b328
JL
28212012-11-28 Jeff Law <law@redhat.com>
2822
2823 [BZ #13761]
2824 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2825 dataset_temporary. Track alloca usage into alloca_used.
2826 If dataset is large allocate and release it via malloc/free.
2827
111db5b1
FW
28282012-06-04 Florian Weimer <fweimer@redhat.com>
2829
f06cc227 2830 [BZ #14197]
111db5b1
FW
2831 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2832
dd694abd
DM
28332012-11-28 David S. Miller <davem@davemloft.net>
2834
2835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2836
9984dd01
JM
28372012-11-28 Joseph Myers <joseph@codesourcery.com>
2838
2839 [BZ #14803]
2840 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2841 of pi/2 rounded to nearest to 64 bits.
2842 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2843 nearest to 64 bits.
2844 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2845 bits.
2846
14bc93a9
JL
28472012-11-28 Jeff Law <law@redhat.com>
2848 Martin Osvald <mosvald@redhat.com>
2849
2850 [BZ #14889]
2851 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2852 * sunrpc/svc.c: Include time.h.
2853 (__svc_accept_failed): New function.
2854 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2855 any reason other than EINTR, call __svc_accept_failed.
2856 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2857 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2858
e3c6aa3a
AS
28592012-11-28 Andreas Schwab <schwab@suse.de>
2860
2861 * scripts/abilist.awk: Also handle indirect functions in .opd
2862 section.
2863
1bead169
JM
28642012-11-28 Joseph Myers <joseph@codesourcery.com>
2865
2866 [BZ #13881]
2867 * sysdeps/x86/fpu/powl_helper.c: New file.
2868 * sysdeps/x86/fpu/Makefile: Likewise.
2869 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2870 (p3): New object.
2871 (__ieee754_powl): Use __powl_helper for finite arguments except
2872 integer exponents below 8.
2873 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2874 (p3): New object.
2875 (__ieee754_powl): Use __powl_helper for finite arguments except
2876 integer exponents below 8.
2877 * math/libm-test.inc (pow_test): Add more tests and enable some
2878 previously disabled tests.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881
0817d63d
SP
28822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2883 Carlos O'Donell <carlos_odonell@mentor.com>
2884
2885 * nss/makedb.c (is_prime): Assert that input is odd and greater
2886 than 4. Note that fact in a comment too.
2887 (next_prime): Add 4 to input.
2888
de2fd463
SP
28892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
2891 [BZ #11741]
2892 * libio/Makefile (tests): Add test case tst-fwrite-error.
2893 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2894 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2895 * libio/tst-fwrite-error.c: New test case.
2896
c515fb51
L
28972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2900 before casting to void *.
2901 * include/libc-internal.h (__pointer_type): New macro.
2902 (__integer_if_pointer_type_sub): Likewise.
2903 (__integer_if_pointer_type): Likewise.
2904 (cast_to_integer): Likewise.
2905 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2906 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2907 before casting to atomic64_t.
2908 (atomic_exchange_acq): Likewise.
2909 (__arch_exchange_and_add_body): Likewise.
2910 (__arch_add_body): Likewise.
2911 (atomic_add_negative): Likewise.
2912 (atomic_add_zero): Likewise.
2913
4cf77aa9
JM
29142012-11-26 Joseph Myers <joseph@codesourcery.com>
2915
2916 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2917 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2918 (add_fdes): Likewise.
2919 (linear_search_fdes): Likewise.
2920 (binary_search_unencoded_fdes): Likewise.
2921
d260b3b4
AS
29222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2925
67060746
AC
29262012-11-24 Adam Conrad <adconrad@0c3.net>
2927
2928 * configure.in: Autodetect C++ header directories.
2929 * configure: Regenerated.
2930
800938a1
MF
29312012-11-23 Mike Frysinger <vapier@gentoo.org>
2932
2933 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2934
4e6e34e6
AS
29352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2936
2937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2938
7c7feb47
JM
29392012-11-22 Joseph Myers <joseph@codesourcery.com>
2940
7184dcdf
JM
2941 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2942 LDBL_MANT_DIG == 106]: Disable some tests.
2943 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2944 Likewise.
2945 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2946 Likewise.
2947
0a42601f
JM
2948 [BZ #14871]
2949 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2950 input for small inputs. Return +/- pi/2 for large inputs.
2951 * math/libm-test.inc (atan_test): Add more tests.
2952
79c9b9fe
JM
2953 * sysdeps/generic/unwind-dw2-fde-glibc.c
2954 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2955 __attribute__ ((unused)).
2956
c60d3bf2
JM
2957 [BZ #14645]
2958 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2959 x * y if x and y are nonzero and z is zero.
2960
ef1e0867
JM
2961 [BZ #14811]
2962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2963 nonzero exponents with absolute value below 0x1p-117 to +/-
2964 0x1p-117.
2965
1468ded3
JM
2966 [BZ #14869]
2967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2968 up arguments below 2**-450, not just those below 2**-500.
2969 * math/libm-test.inc (hypot_test): Add another test.
2970
8e27e3cc
JM
2971 [BZ #14868]
2972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2973 Return a+b for ratio over 2**120, not 2**60.
2974 * math/libm-test.inc (hypot_test): Add another test.
2975
c9c0279b
JM
2976 * math/libm-test.inc (clog_test): Use
2977 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2978 (clog10_test): Likewise.
2979
7c7feb47
JM
2980 [BZ #6778]
2981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2982
fff1530e
AS
29832012-11-22 Andreas Schwab <schwab@suse.de>
2984
2985 * sysdeps/i386/fpu/libm-test-ulps: Update.
2986
94558d30
PT
29872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2988
2989 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2990 printf output with newline.
2991
7e1be741
L
29922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2993
6bfea974
L
2994 [BZ #14865]
2995 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2996 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2997 -z nodlopen, -z initfirst and -z execstack support.
2998 * configure: Regenerated.
2999
7e1be741
L
3000 * elf/elf.h (DF_1_NODIRECT): New macro.
3001 (DF_1_IGNMULDEF): Likewise.
3002 (DF_1_NOKSYMS): Likewise.
3003 (DF_1_NOHDR): Likewise.
3004 (DF_1_EDITED): Likewise.
3005 (DF_1_NORELOC): Likewise.
3006 (DF_1_SYMINTPOSE): Likewise.
3007 (DF_1_GLOBAUDIT): Likewise.
3008 (DF_1_SINGLETON): Likewise.
3009 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3010 DT_1_SUPPORTED_MASK bits.
3011 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3012
105ce2ce
CD
30132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3014
3015 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3016
123be9de
TS
30172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3018
d072f3f7
TS
3019 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3020 macro.
3021
123be9de
TS
3022 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3023 (sendmmsg): Move declarations...
3024 * socket/sys/socket.h: ... here.
3025 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3026 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3027 include it from...
3028 * socket/recvmmsg.c: ... this new file.
3029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3030 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3031 definition of __sendmmsg hidden.
3032 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3033 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3034 Move ENOSYS stub into and include it from...
3035 * socket/sendmmsg.c: ... this new file.
3036 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3037 (sysdep_routines): Move recvmmsg and sendmmsg...
3038 * socket/Makefile (routines): ... here.
3039 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3040 (GLIBC_PRIVATE): Add __sendmmsg.
3041 * include/sys/socket.h (__sendmmsg): Add declarations.
3042 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3043 sendmmsg.
3044
cf9a5d18
JM
30452012-11-20 Joseph Myers <joseph@codesourcery.com>
3046
3047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3048 variable I1 with __attribute__ ((unused)).
3049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3050
ecd4caf9
JM
30512012-11-19 Joseph Myers <joseph@codesourcery.com>
3052
be14d48f
JM
3053 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3054 DUMMY variables with __attribute__ ((unused)).
3055
ecd4caf9
JM
3056 * bits/byteswap.h: Include <bits/types.h>.
3057 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3058
986cab95
PT
30592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3060
3061 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3062 string_t. Do not manually set errno.
3063 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3064 length with __strnlen. Make sure to both set errno and return it on
3065 failure.
3066
6d33cc9d
DM
30672012-11-19 David S. Miller <davem@davemloft.net>
3068
3069 With help from Joseph Myers.
3070 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3071 very large arguments properly.
3072 * math/libm-test.inc (atan_test): New tests.
3073 (atan2_test): New tests.
3074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3076
ee663277
JM
30772012-11-19 Joseph Myers <joseph@codesourcery.com>
3078
877f2d8e
JM
3079 [BZ #14856]
3080 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3081 Define to 3.
3082
116fc08a
JM
3083 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3084 [POSIX] (EADDRNOTAVAIL): Likewise.
3085 [POSIX] (EAFNOSUPPORT): Likewise.
3086 [POSIX] (EALREADY): Likewise.
3087 [POSIX] (ECONNABORTED): Likewise.
3088 [POSIX] (ECONNREFUSED): Likewise.
3089 [POSIX] (ECONNRESET): Likewise.
3090 [POSIX] (EDESTADDRREQ): Likewise.
3091 [POSIX] (EDQUOT): Likewise.
3092 [POSIX] (EHOSTUNREACH): Likewise.
3093 [POSIX] (EIDRM): Likewise.
3094 [POSIX] (EISCONN): Likewise.
3095 [POSIX] (ELOOP): Likewise.
3096 [POSIX] (EMULTIHOP): Likewise.
3097 [POSIX] (ENETDOWN): Likewise.
3098 [POSIX] (ENETUNREACH): Likewise.
3099 [POSIX] (ENOBUFS): Likewise.
3100 [POSIX] (ENODATA): Likewise.
3101 [POSIX] (ENOLINK): Likewise.
3102 [POSIX] (ENOMSG): Likewise.
3103 [POSIX] (ENOPROTOOPT): Likewise.
3104 [POSIX] (ENOSR): Likewise.
3105 [POSIX] (ENOSTR): Likewise.
3106 [POSIX] (ENOTCONN): Likewise.
3107 [POSIX] (ENOTSOCK): Likewise.
3108 [POSIX] (EOPNOTSUPP): Likewise.
3109 [POSIX] (EOVERFLOW): Likewise.
3110 [POSIX] (EPROTO): Likewise.
3111 [POSIX] (EPROTONOSUPPORT): Likewise.
3112 [POSIX] (EPROTOTYPE): Likewise.
3113 [POSIX] (ESTALE): Likewise.
3114 [POSIX] (ETIME): Likewise.
3115 [POSIX] (ETXTBSY): Likewise.
3116 [POSIX] (EWOULDBLOCK): Likewise.
3117 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3118 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3119 [POSIX] (SEEK_CUR): Likewise.
3120 [POSIX] (SEEK_END): Likewise.
3121 [POSIX || UNIX98] (mode_t): Do not require.
3122 [POSIX] (off_t): Likewise.
3123 [POSIX] (pid_t): Likewise.
3124 [POSIX] (sys/stat.h): Do not allow header.
3125 [POSIX] (unistd.h): Likewise.
3126 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3127 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3128 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3129 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3130 require.
3131 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3132 sigevent): Specify elements.
3133 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3134 entry.
3135 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3136 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3137
a483863f
JM
3138 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3139 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3140 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3141 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3142 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3143 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3144 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3145 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3147 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3148 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3150 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3152 Likewise.
3153 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3154 Likewise.
3155 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3156 Likewise.
3157 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3158 Likewise.
3159 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3162 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3163 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3164 Specify lower bound on value.
3165 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3166 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3171 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3172 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3173 value.
3174 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3175 as optional.
3176 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3183 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3191 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3192 entry.
3193 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3194 optional.
3195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3201 Likewise.
3202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3207 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3209 as optional.
3210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3214 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3215 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3216 specify as optional.
3217 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3220 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3221 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3222 [XPG3] (NL_LANGMAX): Likewise.
3223 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3224 [POSIX || XPG3] (NL_NMAX): Likewise.
3225 [POSIX || XPG3] (NL_SETMAX): Likewise.
3226 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3227 [XPG3] (NZERO): Likewise.
3228 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3229 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3230 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3231 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3232 (REG_ERANGE): Expect.
3233 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3234 optional-constant.
3235 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3236 Use (void) in prototype.
3237 [POSIX] (*_t): Allow.
3238 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3239 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3240 (WRDE_BADVAL): Expect.
3241
5ba924e3
JM
3242 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3243 expect.
3244 [XPG3 || XPG4] (O_RSYNC): Likewise.
3245 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3246 Likewise.
3247 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3248 [XPG3 || XPG4] (sigqueue): Likewise.
3249 [XPG3 || XPG4] (sigtimedwait): Likewise.
3250 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3251 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3252 [XPG3 || XPG4] (vsnprintf): Likewise.
3253 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3254 Likewise.
3255 [XPG3 || XPG4] (blksize_t): Likewise.
3256 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3257 Likewise.
3258 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3259 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3260 [XPG3 || XPG4] (struct itimerspec): Likewise.
3261 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3262 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3263 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3264 [XPG3 || XPG4] (clockid_t): Likewise.
3265 [XPG3 || XPG4] (timer_t): Likewise.
3266 [XPG3 || XPG4] (clock_getres): Likewise.
3267 [XPG3 || XPG4] (clock_gettime): Likewise.
3268 [XPG3 || XPG4] (clock_settime): Likewise.
3269 [XPG3 || XPG4] (nanosleep): Likewise.
3270 [XPG3 || XPG4] (timer_create): Likewise.
3271 [XPG3 || XPG4] (timer_delete): Likewise.
3272 [XPG3 || XPG4] (timer_gettime): Likewise.
3273 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3274 [XPG3 || XPG4] (timer_settime): Likewise.
3275 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3276 [XPG3 || XPG4] (getlogin_r): Likewise.
3277 [XPG3 || XPG4] (pread): Likewise.
3278 [XPG3 || XPG4] (pthread_atfork): Likewise.
3279 [XPG3 || XPG4] (pwrite): Likewise.
3280
ee663277
JM
3281 [BZ #14835]
3282 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3283 <bits/siginfo.h>.
3284
942caa16
PT
32852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3286
e19af380
PT
3287 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3288 finalizing MALLSTREAM.
3289
942caa16
PT
3290 * sysdeps/mach/hurd/syncfs.c: New file.
3291
cfde9b46
SP
32922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3293
3294 [BZ #14719]
3295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3296 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3297 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3298 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3299 (_nss_dns_gethostbyname4_r): Likewise.
3300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3301 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3302
f6da27e5
PH
33032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3304
3305 [BZ #13763]
3306 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3307
6665d4a2
SM
33082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3309
1f51ee92
SM
3310 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3311 * elf/cache.c (print_entry): Print ",AArch64" for
3312 FLAG_AARCH64_LIB64
3313
6665d4a2
SM
3314 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3315 * elf/cache.c (print_entry): Print ",hard-float" for
3316 FLAG_ARM_LIBHF.
3317
05b227bd
DM
33182012-11-18 David S. Miller <davem@davemloft.net>
3319
3320 With help from Joseph Myers.
3321 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3322 cutoff to 2**-13.
3323 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3324 cutoff to 2**-25.
3325 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3326 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3327 small.
3328 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3329 * math/libm-test.inc (y0_test): New tests.
3330 (y1_test): New tests.
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3334
786b0b67
AS
33352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3336
3337 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3338 64-bit targets.
3339 * configure: Regenerated.
3340
8e18b86d
DM
33412012-11-17 David S. Miller <davem@davemloft.net>
3342
3343 [BZ #14811]
3344 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3345 nonzero exponents with absolute value below 0x1p-128 to +/-
3346 0x1p-128.
3347
531f1ae0
JM
33482012-11-17 Joseph Myers <joseph@codesourcery.com>
3349
12df29e2
JM
3350 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3351
150dc1a0
JM
3352 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3353
531f1ae0
JM
3354 * posix/getconf-speclist.c: New file.
3355 * posix/posix-envs.def: Likewise.
3356 * posix/confstr.c (START_ENV_GROUP): New macro.
3357 (END_ENV_GROUP): Likewise.
3358 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3359 (KNOWN_PRESENT_ENV_STRING): Likewise.
3360 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3361 (UNKNOWN_ENVIRONMENT): Likewise.
3362 (confstr): Include posix-envs.def instead of handling
3363 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3364 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3365 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3366 (END_ENV_GROUP): Likewise.
3367 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3368 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3369 (UNKNOWN_ENVIRONMENT): Likewise.
3370 (__sysconf): Include posix-envs.def instead of handling associated
3371 cases directly here.
3372 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3373 preprocessing getconf-speclist.c rather than running getconf or
3374 generating empty file.
3375
a93f9cbc
PT
33762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3377
3378 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3379
d64d9f87
AL
33802012-11-16 Andrej Lajovic <natrij@gmail.com>
3381
3382 [BZ #14672]
3383 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3384
447885eb
DM
33852012-11-16 David S. Miller <davem@davemloft.net>
3386
3387 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3388 smaller than LDBL_EPSILON/2.0L, just return xm1.
3389
bcbf9830
L
33902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 * elf/tst-array1.c (init): Set constructor priority to 1000.
3393 (fini): Set destructor priority to 1000.
3394 * elf/tst-array2dep.c: Likewise.
3395
2b766585
SP
33962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3397
3398 [BZ #11741]
3399 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3400 (_IO_new_file_xsputn): Also return EOF if none of the input
3401 data was written when overflow failed.
3402 * libio/iopadn.c (_IO_padn): Likewise.
3403 * libio/iowpadn.c (_IO_wpadn): Likewise.
3404 * stdio-common/tst-put-error.c: Add copyright notice.
3405 (do_test): Add case for printing padded string.
3406 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3407 _IO_padn returned error.
3408 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3409 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3410 return EOF.
3411
b1848fde
SP
34122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3413
3414 * libio/libioP.h: Add comment note that the references to C++
3415 bits are now obsolete.
3416
2fd89785
MS
34172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3418
3419 * math/libm-test.inc (check_complex): Use asprintf.
3420
e3ea5409
JM
34212012-11-14 Joseph Myers <joseph@codesourcery.com>
3422
3423 * debug/pcprofiledump.c (print_version): Update copyright year.
3424 * malloc/memusagestat.c (print_version): Likewise.
3425
2e64d265
L
34262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 [BZ #14831]
3429 * elf/Makefile (tests): Add tst-audit8.
3430 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3431 ($(objpfx)tst-audit8.out): New target.
3432 (tst-audit8-ENV): New variable.
3433 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3434 audit if l_reloc_result is NULL.
3435 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3436 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3437 * elf/tst-audit8.c: New file.
3438
c485e4d2
MS
34392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3440
3441 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3442 * misc/Makefile (CFLAGS-select.c): Define.
3443 * posix/Makefile (CFLAGS-pause.c): Define.
3444
3a0d900a
DM
34452012-11-13 David S. Miller <davem@davemloft.net>
3446
3447 * crypt/Makefile: Move test targets after toplevel Rules
3448 inclusion. Grab any necessary sysdep routines when linking.
3449 * crypt/md5.c (md5_process_block): Remove define, we will always
3450 name it __md5_process_block.
3451 (md5_finish_ctx): Update md5_process_block call.
3452 (md5_stream): Likewise.
3453 (md5_process_bytes): Likewise.
3454 (md5_process_block): Rename to __md5_process_block and move to ...
3455 * crypt/md5-block.c: ... here.
3456 * crypt/sha256.c (sha256_process_block): Move to ...
3457 * crypt/sha256-block.c: ... here.
3458 * crypt/sha512.c (sha512_process_block): Move to ...
3459 * crypt/sha512-block.c: ... here.
3460 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3461 path.
3462 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3463 * sysdeps/sparc/sparc64/multiarch/Makefile
3464 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3465 crypt subdir.
3466 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3468 multiarch changes.
3469 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3470 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3471 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3472 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3473 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3474 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3476 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3477 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3478 file.
3479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3481 file.
3482 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3483
8ca89318
JM
34842012-11-13 Joseph Myers <joseph@codesourcery.com>
3485
e27d476a
JM
3486 * timezone/tzselect.ksh: Update from tzcode git revision
3487 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3488 * timezone/zdump.c: Likewise.
3489 * timezone/zic.c: Likewise.
3490 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3491 in TZVERSION setting, not $(PKGVERSION).
3492 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3493 REPORT_BUGS_TO settings.
3494
8ca89318
JM
3495 [BZ #14838]
3496 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3497 macro.
3498
47594329
MS
34992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3500
3501 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3502 detection to immediately after _FP_ROUND().
3503 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3504 bits are 0.
3505
640ac3f1
DM
35062012-11-11 David S. Miller <davem@davemloft.net>
3507
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3509 inttypes.h
3510 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3511 __close rather than their public counterparts.
3512
3d2577bb
JM
35132012-11-10 Joseph Myers <joseph@codesourcery.com>
3514
3515 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3516 file.
3517 [UNIX98] (sem_timedwait): Do not expect.
3518 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3519 [XPG4 || UNIX98] (sockatmark): Do not expect.
3520 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3521 (clock_getcpuclockid): Do not expect.
3522 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3523 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3524 Do not expect.
3525 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3526 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3527 [UNIX98] (vwscanf): Likewise.
3528 [UNIX98] (vswscanf): Likewise.
3529
fb1ae1ee
JM
35302012-11-09 Joseph Myers <joseph@codesourcery.com>
3531
9ec6f8bd
JM
3532 * timezone/version.h: Remove file.
3533 * timezone/README: Do not refer to version.h.
3534 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3535 $(objpfx)version.h.
3536 ($(objpfx)zdump.o): Likewise.
c3f81911 3537 ($(objpfx)version.h): New target.
9ec6f8bd 3538
0aa8f8a1
JM
3539 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3540 2012i.
3541 * timezone/README: Don't mention modification to tzselect.ksh.
3542 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3543 work on unmodified tzselect.ksh. Substitute version numbers in
3544 tzselect.ksh.
3545
4e87147f
JM
3546 * Makefile (format-me): Remove.
3547 (INSTALL): Adjust indentation. Use commands directly instead of
3548 using $(format-me).
3549
8b748aed
JM
3550 * aclocal.m4 (ACX_PKGVERSION): New macro.
3551 (ACX_BUGURL): Likewise.
3552 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3553 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3554 (REPORT_BUGS_TO): Likewise.
3555 * configure: Regenerated.
3556 * config.h.in (PKGVERSION): New macro.
3557 (REPORT_BUGS_TO): Likewise.
3558 * config.make.in (PKGVERSION): New variable.
3559 (PKGVERSION_TEXI): Likewise.
3560 (REPORT_BUGS_TO): Likewise.
3561 (REPORT_BUGS_TEXI): Likewise.
3562 * Makefile (format-me): Use -I$(common-objpfx)manual.
3563 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3564 ($(common-objpfx)manual/%): New target.
3565 (manual/%): Remove target.
3566 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3567 (print_version): Use PKGVERSION.
3568 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3569 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3570 and REPORT_BUGS_TO.
3571 ($(objpfx)xtrace): Likewise.
3572 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3573 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3574 (print_version): Use PKGVERSION.
3575 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3576 (do_version): Use PKGVERSION.
3577 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3578 REPORT_BUGS_TO.
3579 (common-ldd-rewrite): Likewise.
3580 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3581 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3582 (print_version): Use PKGVERSION.
3583 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3584 * elf/pldd.c (argp_program_bug_address): Remove variable.
3585 (more_help): New function.
3586 (argp): Use more_help.
3587 (print_version): Use PKGVERSION.
3588 * elf/sln.c (main): Use PKGVERSION.
3589 (usage): Use REPORT_BUGS_TO.
3590 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3591 (top level): Use PKGVERSION.
3592 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3593 (print_version): Use PKGVERSION.
3594 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3595 (print_version): Use PKGVERSION.
3596 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3597 (print_version): Use PKGVERSION.
3598 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3599 (print_version): Use PKGVERSION.
3600 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3601 (print_version): Use PKGVERSION.
3602 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3603 (print_version): Use PKGVERSION.
3604 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3605 and BUGURL.
3606 ($(objpfx)memusage): Likewise.
3607 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3608 (do_version): Use PKGVERSION.
3609 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3610 (print_version): Use PKGVERSION.
3611 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3612 ($PKGVERSION): New variable.
3613 ($REPORT_BUGS_TO): Likewise.
3614 (usage): Use $REPORT_BUGS_TO.
3615 (top level): Use $PKGVERSION.
3616 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3617 ($(objpfx)pkgvers.texi): New rule.
3618 ($(objpfx)stamp-pkgvers): Likewise.
3619 * manual/install.texi: Include pkgvers.texi.
3620 (--with-pkgversion): Document new configure option.
3621 (--with-bugurl): Likewise.
3622 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3623 than necessarily for this particular distribution. Use
3624 REPORT_BUGS_TO for where to report bugs.
3625 * INSTALL: Regenerated.
3626 * manual/libc.texinfo: Include pkgvers.texi.
3627 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3628 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3629 (print_version): Use PKGVERSION.
3630 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3631 (print_version): Use PKGVERSION.
3632 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3633 (print_version): Use PKGVERSION.
3634 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3635 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3636 macro.
3637 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3638 (print_version): Use PKGVERSION.
3639 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3640 (print_version): Use PKGVERSION.
3641 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3642 and PKGVERSION.
3643
92e4b6a9
JM
3644 * timezone/checktab.awk: Update from tzcode 2012i.
3645 * timezone/ialloc.c: Likewise.
3646 * timezone/private.h: Likewise.
3647 * timezone/scheck.c: Likewise.
3648 * timezone/tzfile.h: Likewise.
3649 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3650 (TZVERSION): Hardcode tzcode version number.
3651 * timezone/zdump.c: Update from tzcode 2012i.
3652 * timezone/zic.c: Likewise.
3653 * timezone/version.h: New file.
3654 * timezone/README: Describe version.h. Update upstream location.
3655
9bde902c
JM
3656 [BZ #14824]
3657 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3658 (mktemp): Enable declaration.
3659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3663 Likewise.
3664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3665 Likewise.
3666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3667 Likewise.
3668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3669 Likewise.
3670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3671 Likewise.
3672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3673 Likewise.
3674
fb1ae1ee
JM
3675 [BZ #14821]
3676 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3677 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3678 for copies of such integer values.
3679 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3680 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3681
2c1adbcb
AJ
36822012-11-09 Andreas Jaeger <aj@suse.de>
3683
3684 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3685 definitions and declarations that are provided by
3686 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3687
d0f8457e
AK
36882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3689
3a235abb 3690 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3691 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3692 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3693 definition.
3694
57241e26
MS
36952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3696
3697 * elf/elf.h: Update comment before AArch64 relocations.
3698
60e8270d
DM
36992012-11-07 David S. Miller <davem@davemloft.net>
3700
3701 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3703 (__start_context): Declare.
3704 (__makecontext_ret): Delete.
3705 (__makecontext): Hook up __start_context instead of
3706 __makecontext_ret.
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3708 (sysdep_routines): Add __start_context when in stdlib.
3709
0fbb0fbc
JM
37102012-11-07 Joseph Myers <joseph@codesourcery.com>
3711
3712 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3713 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3714 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3715 hardcoded "nm".
3716 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3717 (READELF): New variable. Use it instead of hardcoded "readelf".
3718
eb48db7e
L
37192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3720
3721 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3722 * sysdeps/x86/Makefile: Here.
3723 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3724 * sysdeps/x86/tst-xmmymm.sh: This.
3725
05bcf62a
JM
37262012-11-07 Joseph Myers <joseph@codesourcery.com>
3727
c4b6cf53
JM
3728 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3729 expectations.
3730 [UNIX98] (pthread_barrier_t): Do not expect.
3731 [UNIX98] (pthread_barrierattr_t): Likewise.
3732 [UNIX98] (pthread_spinlock_t): Likewise.
3733 [UNIX98] (pthread_barrier_destroy): Likewise.
3734 [UNIX98] (pthread_barrier_init): Likewise.
3735 [UNIX98] (pthread_barrier_wait): Likewise.
3736 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3737 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3738 [UNIX98] (pthread_barrierattr_init): Likewise.
3739 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3740 [UNIX98] (pthread_getcpuclockid): Likewise.
3741 [UNIX98] (pthread_mutex_timedlock): Likewise.
3742 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3743 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3744 [UNIX98] (pthread_sigmask): Likewise.
3745 [UNIX98] (pthread_spin_destroy): Likewise.
3746 [UNIX98] (pthread_spin_init): Likewise.
3747 [UNIX98] (pthread_spin_lock): Likewise.
3748 [UNIX98] (pthread_spin_trylock): Likewise.
3749 [UNIX98] (pthread_spin_unlock): Likewise.
3750 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3751 Do not expect.
3752 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3754 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3755 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3756 [XPG3 || XPG4] (pthread_key_t): Likewise.
3757 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3758 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3759 [XPG3 || XPG4] (pthread_once_t): Likewise.
3760 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3761 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3763 [XPG3 || XPG4] (pthread_t): Likewise.
3764
cbe6e120
JM
3765 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3766 not expect.
3767 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3768
1b126443
JM
3769 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3770 Change function return type to int.
3771
b961a573
JM
3772 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3773 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3774 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3775 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3776 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3777 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3778 [!POSIX] (posix_madvise): Likewise.
3779 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3780 && !UNIX98].
3781 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3782 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3783 (mode_t): Likewise.
3784 (posix_mem_offset): Likewise.
3785 (posix_typed_mem_get_info): Likewise.
3786 (posix_typed_mem_open): Likewise.
3787
9e188909
JM
3788 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3789 Change condition to [XOPEN2K8].
3790
05bcf62a
JM
3791 * conform/conformtest.pl: Preprocess allow-header data with -x c
3792 instead of from stdin.
3793 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3794 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3795 [C99-based standards] (cerfc): Likewise.
3796 [C99-based standards] (cexp2): Likewise.
3797 [C99-based standards] (cexpm1): Likewise.
3798 [C99-based standards] (clog10): Likewise.
3799 [C99-based standards] (clog1p): Likewise.
3800 [C99-based standards] (clog2): Likewise.
3801 [C99-based standards] (clgamma): Likewise.
3802 [C99-based standards] (ctgamma): Likewise.
3803 [C99-based standards] (cerff): Likewise.
3804 [C99-based standards] (cerfcf): Likewise.
3805 [C99-based standards] (cexp2f): Likewise.
3806 [C99-based standards] (cexpm1f): Likewise.
3807 [C99-based standards] (clog10f): Likewise.
3808 [C99-based standards] (clog1pf): Likewise.
3809 [C99-based standards] (clog2f): Likewise.
3810 [C99-based standards] (clgammaf): Likewise.
3811 [C99-based standards] (ctgammaf): Likewise.
3812 [C99-based standards] (cerfl): Likewise.
3813 [C99-based standards] (cerfcl): Likewise.
3814 [C99-based standards] (cexp2l): Likewise.
3815 [C99-based standards] (cexpm1l): Likewise.
3816 [C99-based standards] (clog10l): Likewise.
3817 [C99-based standards] (clog1pl): Likewise.
3818 [C99-based standards] (clog2l): Likewise.
3819 [C99-based standards] (clgammal): Likewise.
3820 [C99-based standards] (ctgammal): Likewise.
3821 * conform/data/inttypes.h-data [C99-based standards]: Include
3822 stdint.h-data. Remove all expectations for stdint.h contents.
3823 [C99-based standards] (PRI*): Do not allow.
3824 [C99-based standards] (SCN*): Likewise.
3825 [C99-based standards] (*_t): Likewise.
3826 [C99-based-standards] (PRId8): Expect macro.
3827 [C99-based-standards] (PRIi8): Likewise.
3828 [C99-based-standards] (PRIo8): Likewise.
3829 [C99-based-standards] (PRIu8): Likewise.
3830 [C99-based-standards] (PRIx8): Likewise.
3831 [C99-based-standards] (PRIX8): Likewise.
3832 [C99-based-standards] (SCNd8): Likewise.
3833 [C99-based-standards] (SCNi8): Likewise.
3834 [C99-based-standards] (SCNo8): Likewise.
3835 [C99-based-standards] (SCNu8): Likewise.
3836 [C99-based-standards] (SCNx8): Likewise.
3837 [C99-based-standards] (PRIdLEAST8): Likewise.
3838 [C99-based-standards] (PRIiLEAST8): Likewise.
3839 [C99-based-standards] (PRIoLEAST8): Likewise.
3840 [C99-based-standards] (PRIuLEAST8): Likewise.
3841 [C99-based-standards] (PRIxLEAST8): Likewise.
3842 [C99-based-standards] (PRIXLEAST8): Likewise.
3843 [C99-based-standards] (SCNdLEAST8): Likewise.
3844 [C99-based-standards] (SCNiLEAST8): Likewise.
3845 [C99-based-standards] (SCNoLEAST8): Likewise.
3846 [C99-based-standards] (SCNuLEAST8): Likewise.
3847 [C99-based-standards] (SCNxLEAST8): Likewise.
3848 [C99-based-standards] (PRIdFAST8): Likewise.
3849 [C99-based-standards] (PRIiFAST8): Likewise.
3850 [C99-based-standards] (PRIoFAST8): Likewise.
3851 [C99-based-standards] (PRIuFAST8): Likewise.
3852 [C99-based-standards] (PRIxFAST8): Likewise.
3853 [C99-based-standards] (PRIXFAST8): Likewise.
3854 [C99-based-standards] (SCNdFAST8): Likewise.
3855 [C99-based-standards] (SCNiFAST8): Likewise.
3856 [C99-based-standards] (SCNoFAST8): Likewise.
3857 [C99-based-standards] (SCNuFAST8): Likewise.
3858 [C99-based-standards] (SCNxFAST8): Likewise.
3859 [C99-based-standards] (PRId16): Likewise.
3860 [C99-based-standards] (PRIi16): Likewise.
3861 [C99-based-standards] (PRIo16): Likewise.
3862 [C99-based-standards] (PRIu16): Likewise.
3863 [C99-based-standards] (PRIx16): Likewise.
3864 [C99-based-standards] (PRIX16): Likewise.
3865 [C99-based-standards] (SCNd16): Likewise.
3866 [C99-based-standards] (SCNi16): Likewise.
3867 [C99-based-standards] (SCNo16): Likewise.
3868 [C99-based-standards] (SCNu16): Likewise.
3869 [C99-based-standards] (SCNx16): Likewise.
3870 [C99-based-standards] (PRIdLEAST16): Likewise.
3871 [C99-based-standards] (PRIiLEAST16): Likewise.
3872 [C99-based-standards] (PRIoLEAST16): Likewise.
3873 [C99-based-standards] (PRIuLEAST16): Likewise.
3874 [C99-based-standards] (PRIxLEAST16): Likewise.
3875 [C99-based-standards] (PRIXLEAST16): Likewise.
3876 [C99-based-standards] (SCNdLEAST16): Likewise.
3877 [C99-based-standards] (SCNiLEAST16): Likewise.
3878 [C99-based-standards] (SCNoLEAST16): Likewise.
3879 [C99-based-standards] (SCNuLEAST16): Likewise.
3880 [C99-based-standards] (SCNxLEAST16): Likewise.
3881 [C99-based-standards] (PRIdFAST16): Likewise.
3882 [C99-based-standards] (PRIiFAST16): Likewise.
3883 [C99-based-standards] (PRIoFAST16): Likewise.
3884 [C99-based-standards] (PRIuFAST16): Likewise.
3885 [C99-based-standards] (PRIxFAST16): Likewise.
3886 [C99-based-standards] (PRIXFAST16): Likewise.
3887 [C99-based-standards] (SCNdFAST16): Likewise.
3888 [C99-based-standards] (SCNiFAST16): Likewise.
3889 [C99-based-standards] (SCNoFAST16): Likewise.
3890 [C99-based-standards] (SCNuFAST16): Likewise.
3891 [C99-based-standards] (SCNxFAST16): Likewise.
3892 [C99-based-standards] (PRId32): Likewise.
3893 [C99-based-standards] (PRIi32): Likewise.
3894 [C99-based-standards] (PRIo32): Likewise.
3895 [C99-based-standards] (PRIu32): Likewise.
3896 [C99-based-standards] (PRIx32): Likewise.
3897 [C99-based-standards] (PRIX32): Likewise.
3898 [C99-based-standards] (SCNd32): Likewise.
3899 [C99-based-standards] (SCNi32): Likewise.
3900 [C99-based-standards] (SCNo32): Likewise.
3901 [C99-based-standards] (SCNu32): Likewise.
3902 [C99-based-standards] (SCNx32): Likewise.
3903 [C99-based-standards] (PRIdLEAST32): Likewise.
3904 [C99-based-standards] (PRIiLEAST32): Likewise.
3905 [C99-based-standards] (PRIoLEAST32): Likewise.
3906 [C99-based-standards] (PRIuLEAST32): Likewise.
3907 [C99-based-standards] (PRIxLEAST32): Likewise.
3908 [C99-based-standards] (PRIXLEAST32): Likewise.
3909 [C99-based-standards] (SCNdLEAST32): Likewise.
3910 [C99-based-standards] (SCNiLEAST32): Likewise.
3911 [C99-based-standards] (SCNoLEAST32): Likewise.
3912 [C99-based-standards] (SCNuLEAST32): Likewise.
3913 [C99-based-standards] (SCNxLEAST32): Likewise.
3914 [C99-based-standards] (PRIdFAST32): Likewise.
3915 [C99-based-standards] (PRIiFAST32): Likewise.
3916 [C99-based-standards] (PRIoFAST32): Likewise.
3917 [C99-based-standards] (PRIuFAST32): Likewise.
3918 [C99-based-standards] (PRIxFAST32): Likewise.
3919 [C99-based-standards] (PRIXFAST32): Likewise.
3920 [C99-based-standards] (SCNdFAST32): Likewise.
3921 [C99-based-standards] (SCNiFAST32): Likewise.
3922 [C99-based-standards] (SCNoFAST32): Likewise.
3923 [C99-based-standards] (SCNuFAST32): Likewise.
3924 [C99-based-standards] (SCNxFAST32): Likewise.
3925 [C99-based-standards] (PRId64): Likewise.
3926 [C99-based-standards] (PRIi64): Likewise.
3927 [C99-based-standards] (PRIo64): Likewise.
3928 [C99-based-standards] (PRIu64): Likewise.
3929 [C99-based-standards] (PRIx64): Likewise.
3930 [C99-based-standards] (PRIX64): Likewise.
3931 [C99-based-standards] (SCNd64): Likewise.
3932 [C99-based-standards] (SCNi64): Likewise.
3933 [C99-based-standards] (SCNo64): Likewise.
3934 [C99-based-standards] (SCNu64): Likewise.
3935 [C99-based-standards] (SCNx64): Likewise.
3936 [C99-based-standards] (PRIdLEAST64): Likewise.
3937 [C99-based-standards] (PRIiLEAST64): Likewise.
3938 [C99-based-standards] (PRIoLEAST64): Likewise.
3939 [C99-based-standards] (PRIuLEAST64): Likewise.
3940 [C99-based-standards] (PRIxLEAST64): Likewise.
3941 [C99-based-standards] (PRIXLEAST64): Likewise.
3942 [C99-based-standards] (SCNdLEAST64): Likewise.
3943 [C99-based-standards] (SCNiLEAST64): Likewise.
3944 [C99-based-standards] (SCNoLEAST64): Likewise.
3945 [C99-based-standards] (SCNuLEAST64): Likewise.
3946 [C99-based-standards] (SCNxLEAST64): Likewise.
3947 [C99-based-standards] (PRIdFAST64): Likewise.
3948 [C99-based-standards] (PRIiFAST64): Likewise.
3949 [C99-based-standards] (PRIoFAST64): Likewise.
3950 [C99-based-standards] (PRIuFAST64): Likewise.
3951 [C99-based-standards] (PRIxFAST64): Likewise.
3952 [C99-based-standards] (PRIXFAST64): Likewise.
3953 [C99-based-standards] (SCNdFAST64): Likewise.
3954 [C99-based-standards] (SCNiFAST64): Likewise.
3955 [C99-based-standards] (SCNoFAST64): Likewise.
3956 [C99-based-standards] (SCNuFAST64): Likewise.
3957 [C99-based-standards] (SCNxFAST64): Likewise.
3958 [C99-based-standards] (PRIdMAX): Likewise.
3959 [C99-based-standards] (PRIiMAX): Likewise.
3960 [C99-based-standards] (PRIoMAX): Likewise.
3961 [C99-based-standards] (PRIuMAX): Likewise.
3962 [C99-based-standards] (PRIxMAX): Likewise.
3963 [C99-based-standards] (PRIXMAX): Likewise.
3964 [C99-based-standards] (SCNdMAX): Likewise.
3965 [C99-based-standards] (SCNiMAX): Likewise.
3966 [C99-based-standards] (SCNoMAX): Likewise.
3967 [C99-based-standards] (SCNuMAX): Likewise.
3968 [C99-based-standards] (SCNxMAX): Likewise.
3969 [C99-based-standards] (PRIdPTR): Likewise.
3970 [C99-based-standards] (PRIiPTR): Likewise.
3971 [C99-based-standards] (PRIoPTR): Likewise.
3972 [C99-based-standards] (PRIuPTR): Likewise.
3973 [C99-based-standards] (PRIxPTR): Likewise.
3974 [C99-based-standards] (PRIXPTR): Likewise.
3975 [C99-based-standards] (SCNdPTR): Likewise.
3976 [C99-based-standards] (SCNiPTR): Likewise.
3977 [C99-based-standards] (SCNoPTR): Likewise.
3978 [C99-based-standards] (SCNuPTR): Likewise.
3979 [C99-based-standards] (SCNxPTR): Likewise.
3980 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3981 allow.
3982 * conform/data/stdint.h-data: Update comments to clarify
3983 requirements.
3984 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3985 type.
3986 [C99-based standards] (INT8_MAX): Likewise.
3987 [C99-based standards] (INT16_MIN): Likewise.
3988 [C99-based standards] (INT16_MAX): Likewise.
3989 [C99-based standards] (INT32_MIN): Likewise.
3990 [C99-based standards] (INT32_MAX): Likewise.
3991 [C99-based standards] (INT64_MIN): Likewise.
3992 [C99-based standards] (INT64_MAX): Likewise.
3993 [C99-based standards] (UINT8_MAX): Likewise.
3994 [C99-based standards] (UINT16_MAX): Likewise.
3995 [C99-based standards] (UINT32_MAX): Likewise.
3996 [C99-based standards] (UINT64_MAX): Likewise.
3997 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3998 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3999 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4000 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4001 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4002 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4003 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4004 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4005 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4006 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4007 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4008 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4009 [C99-based standards] (INT_FAST8_MIN): Likewise.
4010 [C99-based standards] (INT_FAST8_MAX): Likewise.
4011 [C99-based standards] (INT_FAST16_MIN): Likewise.
4012 [C99-based standards] (INT_FAST16_MAX): Likewise.
4013 [C99-based standards] (INT_FAST32_MIN): Likewise.
4014 [C99-based standards] (INT_FAST32_MAX): Likewise.
4015 [C99-based standards] (INT_FAST64_MIN): Likewise.
4016 [C99-based standards] (INT_FAST64_MAX): Likewise.
4017 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4018 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4019 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4020 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4021 [C99-based standards] (INTPTR_MIN): Likewise.
4022 [C99-based standards] (INTPTR_MAX): Likewise.
4023 [C99-based standards] (UINTPTR_MAX): Likewise.
4024 [C99-based standards] (INTMAX_MIN): Likewise.
4025 [C99-based standards] (INTMAX_MAX): Likewise.
4026 [C99-based standards] (UINTMAX_MAX): Likewise.
4027 [C99-based standards] (PTRDIFF_MIN): Likewise.
4028 [C99-based standards] (PTRDIFF_MAX): Likewise.
4029 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4030 [C99-based standards] (SIZE_MAX): Likewise.
4031 [C99-based standards] (WCHAR_MAX): Likewise.
4032 [C99-based standards] (WINT_MAX): Likewise.
4033 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4034 constraint on value.
4035 [C99-based standards] (WCHAR_MIN): Likewise.
4036 [C99-based standards] (WINT_MIN): Likewise.
4037 [C99-based standards] (*_t): Allow.
4038 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4039 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4040 Include math.h-data and complex.h-data. Remove all expectations
4041 of math.h and complex.h contents.
4042 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4043 at end of line.
4044 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4045 (struct tm): Expect tag.
4046 [C99-based-standards] (wcstof): Expect function.
4047 [C99-based-standards] (wcstold): Likewise.
4048 [C99-based-standards] (wcstoll): Likewise.
4049 [C99-based-standards] (wcstoull): Likewise.
4050 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4051 macro-int-constant. Specify type.
4052 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4053 constraint on value.
4054 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4055 Specify type.
4056 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4057 Specify value.
4058 [ISO C standards]: Do not allow headers.
4059 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4060 wcs[abcdefghijklmnopqrstuvwxyz]*.
4061 [ISO C standards] (*_t): Do not allow.
4062 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4063 Expect function.
4064 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4065 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4066 Specify type.
4067 [ISO C standards]: Do not allow headers.
4068 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4069 is[abcdefghijklmnopqrstuvwxyz]*.
4070 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4071 to[abcdefghijklmnopqrstuvwxyz]*.
4072 [ISO C standards] (*_t): Do not allow.
4073 * conform/data/stdalign.h-data: New file.
4074 * conform/data/stdbool.h-data: Likewise.
4075 * conform/data/stdnoreturn.h-data: Likewise.
4076
7514feb8
RM
40772012-11-07 Roland McGrath <roland@hack.frob.com>
4078
4079 [BZ #14815]
4080 * manual/filesys.texi (Directory Entries): Typo fix.
4081 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4082
19b2ecfc
MS
40832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4084
4085 * elf/elf.h (EM_AARCH64): New macro.
4086 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4087 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4088 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4089 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4090 (R_AARCH64_TLSDESC): Likewise.
4091 (NT_ARM_TLS): Likewise.
4092 (NT_ARM_HW_BREAK): Likewise.
4093 (NT_ARM_HW_WATCH): Likewise.
4094
60e235ee
JM
40952012-11-07 Joseph Myers <joseph@codesourcery.com>
4096
4097 [BZ #14811]
4098 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4099 (__ieee754_powl): Saturate nonzero exponents with absolute value
4100 below 0x1p-79 to +/- 0x1p-79.
4101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4102 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4103 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4104 nonzero exponents with absolute value below 0x1p-32 to +/-
4105 0x1p-32.
4106 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4107 (__ieee754_powl): Saturate nonzero exponents with absolute value
4108 below 0x1p-79 to +/- 0x1p-79.
4109 * math/libm-test.inc (pow_test): Add more tests.
4110
0ab234b7
AK
41112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4112
4113 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4114 _dl_s390_cap_flags with kernel. Increase string length.
4115 (_dl_s390_platforms): Add z196 and zEC12.
4116
45832f74
JM
41172012-11-07 Joseph Myers <joseph@codesourcery.com>
4118
4119 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4120 Change XOPEN21K to XOPEN2K.
4121
19218757
MK
41222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4123
4124 * string/memmove.c: Use memcpy when possible.
4125
c5f45721
AJ
41262012-11-06 Andreas Jaeger <aj@suse.de>
4127
4128 * po/eo.po: Update from translation team.
4129
82477c28
JM
41302012-11-06 Joseph Myers <joseph@codesourcery.com>
4131
4132 [BZ #14793]
4133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4134 exponent and small x and y exponents, scale x or y up. Increase
4135 by 2 the exponent used in scaling up.
4136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4138 * math/libm-test.inc (fma_test): Add more tests.
4139 (fma_test_towardzero): Likewise.
4140 (fma_test_downward): Likewise.
4141 (fma_test_upward): Likewise.
4142
99252c8c
JM
41432012-11-05 Joseph Myers <joseph@codesourcery.com>
4144
acfa885f
JM
4145 [BZ #14805]
4146 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4147 fenv_t *.
4148
99252c8c
JM
4149 [BZ #14801]
4150 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4151 namespace for names of struct fields.
4152 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4153 fenv_t fields.
4154 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4155 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4156
d6d98dea
ST
41572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4158
4159 [BZ #3665]
4160 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4161
e10bb107
TS
41622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4163
4164 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4165 PTR_DEMANGLE.
4166
4167 [BZ #5246]
4168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4169 PTR_DEMANGLE.
4170
a0c2940d
JM
41712012-11-04 Joseph Myers <joseph@codesourcery.com>
4172
4173 [BZ #14797]
4174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4175 definitely overflow as x * y not x * y + z.
4176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4178 * math/libm-test.inc (fma_test): Add more tests.
4179 (fma_test_towardzero): Likewise.
4180 (fma_test_downward): Likewise.
4181 (fma_test_upward): Likewise.
4182
b830319d
TS
41832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4184
4185 [BZ #157]
4186
4187 * include/stub-tag.h: Remove file.
4188 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4189 '#include' of it.
4190 * manual/maint.texi (Porting): Don't reference it.
4191 * Makerules ($(objpfx)stubs): Likewise.
4192 * dirent/closedir.c: Don't include <stub-tag.h>.
4193 * dirent/dirfd.c: Likewise.
4194 * dirent/fdopendir.c: Likewise.
4195 * dirent/getdents.c: Likewise.
4196 * dirent/getdents64.c: Likewise.
4197 * dirent/opendir.c: Likewise.
4198 * dirent/readdir.c: Likewise.
4199 * dirent/readdir64.c: Likewise.
4200 * dirent/readdir64_r.c: Likewise.
4201 * dirent/readdir_r.c: Likewise.
4202 * dirent/rewinddir.c: Likewise.
4203 * dirent/seekdir.c: Likewise.
4204 * dirent/telldir.c: Likewise.
4205 * gmon/profil.c: Likewise.
4206 * grp/setgroups.c: Likewise.
4207 * inet/if_index.c: Likewise.
4208 * io/access.c: Likewise.
4209 * io/chdir.c: Likewise.
4210 * io/chmod.c: Likewise.
4211 * io/chown.c: Likewise.
4212 * io/close.c: Likewise.
4213 * io/dup.c: Likewise.
4214 * io/dup2.c: Likewise.
4215 * io/dup3.c: Likewise.
4216 * io/euidaccess.c: Likewise.
4217 * io/faccessat.c: Likewise.
4218 * io/fchdir.c: Likewise.
4219 * io/fchmod.c: Likewise.
4220 * io/fchmodat.c: Likewise.
4221 * io/fchown.c: Likewise.
4222 * io/fchownat.c: Likewise.
4223 * io/fcntl.c: Likewise.
4224 * io/flock.c: Likewise.
4225 * io/fstatfs.c: Likewise.
4226 * io/fstatfs64.c: Likewise.
4227 * io/fstatvfs.c: Likewise.
4228 * io/fstatvfs64.c: Likewise.
4229 * io/futimens.c: Likewise.
4230 * io/fxstat.c: Likewise.
4231 * io/fxstat64.c: Likewise.
4232 * io/fxstatat.c: Likewise.
4233 * io/fxstatat64.c: Likewise.
4234 * io/getcwd.c: Likewise.
4235 * io/isatty.c: Likewise.
4236 * io/lchmod.c: Likewise.
4237 * io/lchown.c: Likewise.
4238 * io/link.c: Likewise.
4239 * io/linkat.c: Likewise.
4240 * io/lseek.c: Likewise.
4241 * io/lseek64.c: Likewise.
4242 * io/lxstat64.c: Likewise.
4243 * io/mkdir.c: Likewise.
4244 * io/mkdirat.c: Likewise.
4245 * io/mkfifo.c: Likewise.
4246 * io/mkfifoat.c: Likewise.
4247 * io/open.c: Likewise.
4248 * io/open64.c: Likewise.
4249 * io/openat.c: Likewise.
4250 * io/openat64.c: Likewise.
4251 * io/pipe.c: Likewise.
4252 * io/pipe2.c: Likewise.
4253 * io/poll.c: Likewise.
4254 * io/posix_fadvise.c: Likewise.
4255 * io/posix_fadvise64.c: Likewise.
4256 * io/posix_fallocate.c: Likewise.
4257 * io/posix_fallocate64.c: Likewise.
4258 * io/read.c: Likewise.
4259 * io/readlink.c: Likewise.
4260 * io/readlinkat.c: Likewise.
4261 * io/rmdir.c: Likewise.
4262 * io/sendfile.c: Likewise.
4263 * io/sendfile64.c: Likewise.
4264 * io/statfs.c: Likewise.
4265 * io/statfs64.c: Likewise.
4266 * io/statvfs.c: Likewise.
4267 * io/statvfs64.c: Likewise.
4268 * io/symlink.c: Likewise.
4269 * io/symlinkat.c: Likewise.
4270 * io/ttyname.c: Likewise.
4271 * io/ttyname_r.c: Likewise.
4272 * io/umask.c: Likewise.
4273 * io/unlink.c: Likewise.
4274 * io/unlinkat.c: Likewise.
4275 * io/utime.c: Likewise.
4276 * io/utimensat.c: Likewise.
4277 * io/write.c: Likewise.
4278 * io/xmknod.c: Likewise.
4279 * io/xmknodat.c: Likewise.
4280 * io/xstat.c: Likewise.
4281 * io/xstat64.c: Likewise.
4282 * login/getpt.c: Likewise.
4283 * login/grantpt.c: Likewise.
4284 * login/unlockpt.c: Likewise.
4285 * math/e_acoshl.c: Likewise.
4286 * math/e_acosl.c: Likewise.
4287 * math/e_asinl.c: Likewise.
4288 * math/e_atan2l.c: Likewise.
4289 * math/e_atanhl.c: Likewise.
4290 * math/e_coshl.c: Likewise.
4291 * math/e_expl.c: Likewise.
4292 * math/e_fmodl.c: Likewise.
4293 * math/e_gammal_r.c: Likewise.
4294 * math/e_hypotl.c: Likewise.
4295 * math/e_j0l.c: Likewise.
4296 * math/e_j1l.c: Likewise.
4297 * math/e_jnl.c: Likewise.
4298 * math/e_lgammal_r.c: Likewise.
4299 * math/e_log10l.c: Likewise.
4300 * math/e_log2l.c: Likewise.
4301 * math/e_logl.c: Likewise.
4302 * math/e_powl.c: Likewise.
4303 * math/e_rem_pio2l.c: Likewise.
4304 * math/e_sinhl.c: Likewise.
4305 * math/e_sqrtl.c: Likewise.
4306 * math/fclrexcpt.c: Likewise.
4307 * math/fedisblxcpt.c: Likewise.
4308 * math/feenablxcpt.c: Likewise.
4309 * math/fegetenv.c: Likewise.
4310 * math/fegetexcept.c: Likewise.
4311 * math/fegetround.c: Likewise.
4312 * math/feholdexcpt.c: Likewise.
4313 * math/fesetenv.c: Likewise.
4314 * math/fesetround.c: Likewise.
4315 * math/feupdateenv.c: Likewise.
4316 * math/fgetexcptflg.c: Likewise.
4317 * math/fraiseexcpt.c: Likewise.
4318 * math/fsetexcptflg.c: Likewise.
4319 * math/ftestexcept.c: Likewise.
4320 * math/k_cosl.c: Likewise.
4321 * math/k_rem_pio2l.c: Likewise.
4322 * math/k_sinl.c: Likewise.
4323 * math/k_tanl.c: Likewise.
4324 * math/s_asinhl.c: Likewise.
4325 * math/s_atanl.c: Likewise.
4326 * math/s_cbrtl.c: Likewise.
4327 * math/s_erfl.c: Likewise.
4328 * math/s_expm1l.c: Likewise.
4329 * math/s_log1pl.c: Likewise.
4330 * math/s_tanhl.c: Likewise.
4331 * misc/acct.c: Likewise.
4332 * misc/brk.c: Likewise.
4333 * misc/chflags.c: Likewise.
4334 * misc/chroot.c: Likewise.
4335 * misc/fchflags.c: Likewise.
4336 * misc/fgetxattr.c: Likewise.
4337 * misc/flistxattr.c: Likewise.
4338 * misc/fremovexattr.c: Likewise.
4339 * misc/fsetxattr.c: Likewise.
4340 * misc/fsync.c: Likewise.
4341 * misc/ftruncate.c: Likewise.
4342 * misc/futimes.c: Likewise.
4343 * misc/futimesat.c: Likewise.
4344 * misc/getdomain.c: Likewise.
4345 * misc/getdtsz.c: Likewise.
4346 * misc/gethostid.c: Likewise.
4347 * misc/gethostname.c: Likewise.
4348 * misc/getloadavg.c: Likewise.
4349 * misc/getpagesize.c: Likewise.
4350 * misc/getsysstats.c: Likewise.
4351 * misc/getxattr.c: Likewise.
4352 * misc/gtty.c: Likewise.
4353 * misc/ioctl.c: Likewise.
4354 * misc/lgetxattr.c: Likewise.
4355 * misc/listxattr.c: Likewise.
4356 * misc/llistxattr.c: Likewise.
4357 * misc/lremovexattr.c: Likewise.
4358 * misc/lsetxattr.c: Likewise.
4359 * misc/lutimes.c: Likewise.
4360 * misc/madvise.c: Likewise.
4361 * misc/mincore.c: Likewise.
4362 * misc/mlock.c: Likewise.
4363 * misc/mlockall.c: Likewise.
4364 * misc/mmap.c: Likewise.
4365 * misc/mprotect.c: Likewise.
4366 * misc/msync.c: Likewise.
4367 * misc/munlock.c: Likewise.
4368 * misc/munlockall.c: Likewise.
4369 * misc/munmap.c: Likewise.
4370 * misc/preadv.c: Likewise.
4371 * misc/preadv64.c: Likewise.
4372 * misc/ptrace.c: Likewise.
4373 * misc/pwritev.c: Likewise.
4374 * misc/pwritev64.c: Likewise.
4375 * misc/readv.c: Likewise.
4376 * misc/reboot.c: Likewise.
4377 * misc/remap_file_pages.c: Likewise.
4378 * misc/removexattr.c: Likewise.
4379 * misc/revoke.c: Likewise.
4380 * misc/select.c: Likewise.
4381 * misc/setdomain.c: Likewise.
4382 * misc/setegid.c: Likewise.
4383 * misc/seteuid.c: Likewise.
4384 * misc/sethostid.c: Likewise.
4385 * misc/sethostname.c: Likewise.
4386 * misc/setregid.c: Likewise.
4387 * misc/setreuid.c: Likewise.
4388 * misc/setxattr.c: Likewise.
4389 * misc/sstk.c: Likewise.
4390 * misc/stty.c: Likewise.
4391 * misc/swapoff.c: Likewise.
4392 * misc/swapon.c: Likewise.
4393 * misc/sync.c: Likewise.
4394 * misc/syncfs.c: Likewise.
4395 * misc/syscall.c: Likewise.
4396 * misc/truncate.c: Likewise.
4397 * misc/ualarm.c: Likewise.
4398 * misc/usleep.c: Likewise.
4399 * misc/ustat.c: Likewise.
4400 * misc/utimes.c: Likewise.
4401 * misc/vhangup.c: Likewise.
4402 * misc/writev.c: Likewise.
4403 * posix/_exit.c: Likewise.
4404 * posix/alarm.c: Likewise.
4405 * posix/execve.c: Likewise.
4406 * posix/fexecve.c: Likewise.
4407 * posix/fork.c: Likewise.
4408 * posix/fpathconf.c: Likewise.
4409 * posix/getaddrinfo.c: Likewise.
4410 * posix/getegid.c: Likewise.
4411 * posix/geteuid.c: Likewise.
4412 * posix/getgid.c: Likewise.
4413 * posix/getgroups.c: Likewise.
4414 * posix/getlogin.c: Likewise.
4415 * posix/getlogin_r.c: Likewise.
4416 * posix/getpgid.c: Likewise.
4417 * posix/getpid.c: Likewise.
4418 * posix/getppid.c: Likewise.
4419 * posix/getresgid.c: Likewise.
4420 * posix/getresuid.c: Likewise.
4421 * posix/getsid.c: Likewise.
4422 * posix/getuid.c: Likewise.
4423 * posix/glob64.c: Likewise.
4424 * posix/nanosleep.c: Likewise.
4425 * posix/pathconf.c: Likewise.
4426 * posix/pause.c: Likewise.
4427 * posix/posix_madvise.c: Likewise.
4428 * posix/pread.c: Likewise.
4429 * posix/pread64.c: Likewise.
4430 * posix/pwrite.c: Likewise.
4431 * posix/pwrite64.c: Likewise.
4432 * posix/sched_getaffinity.c: Likewise.
4433 * posix/sched_getp.c: Likewise.
4434 * posix/sched_gets.c: Likewise.
4435 * posix/sched_primax.c: Likewise.
4436 * posix/sched_primin.c: Likewise.
4437 * posix/sched_rr_gi.c: Likewise.
4438 * posix/sched_setaffinity.c: Likewise.
4439 * posix/sched_setp.c: Likewise.
4440 * posix/sched_sets.c: Likewise.
4441 * posix/sched_yield.c: Likewise.
4442 * posix/setgid.c: Likewise.
4443 * posix/setlogin.c: Likewise.
4444 * posix/setpgid.c: Likewise.
4445 * posix/setresgid.c: Likewise.
4446 * posix/setresuid.c: Likewise.
4447 * posix/setsid.c: Likewise.
4448 * posix/setuid.c: Likewise.
4449 * posix/sleep.c: Likewise.
4450 * posix/spawni.c: Likewise.
4451 * posix/sysconf.c: Likewise.
4452 * posix/times.c: Likewise.
4453 * posix/wait.c: Likewise.
4454 * posix/wait3.c: Likewise.
4455 * posix/wait4.c: Likewise.
4456 * posix/waitpid.c: Likewise.
4457 * resolv/gai_sigqueue.c: Likewise.
4458 * resource/getpriority.c: Likewise.
4459 * resource/getrlimit.c: Likewise.
4460 * resource/getrusage.c: Likewise.
4461 * resource/nice.c: Likewise.
4462 * resource/setpriority.c: Likewise.
4463 * resource/setrlimit.c: Likewise.
4464 * resource/ulimit.c: Likewise.
4465 * rt/aio_cancel.c: Likewise.
4466 * rt/aio_fsync.c: Likewise.
4467 * rt/aio_read.c: Likewise.
4468 * rt/aio_sigqueue.c: Likewise.
4469 * rt/aio_suspend.c: Likewise.
4470 * rt/aio_write.c: Likewise.
4471 * rt/clock_getres.c: Likewise.
4472 * rt/clock_gettime.c: Likewise.
4473 * rt/clock_nanosleep.c: Likewise.
4474 * rt/clock_settime.c: Likewise.
4475 * rt/lio_listio.c: Likewise.
4476 * rt/mq_close.c: Likewise.
4477 * rt/mq_getattr.c: Likewise.
4478 * rt/mq_notify.c: Likewise.
4479 * rt/mq_open.c: Likewise.
4480 * rt/mq_receive.c: Likewise.
4481 * rt/mq_send.c: Likewise.
4482 * rt/mq_setattr.c: Likewise.
4483 * rt/mq_timedreceive.c: Likewise.
4484 * rt/mq_timedsend.c: Likewise.
4485 * rt/mq_unlink.c: Likewise.
4486 * rt/shm_open.c: Likewise.
4487 * rt/shm_unlink.c: Likewise.
4488 * rt/timer_create.c: Likewise.
4489 * rt/timer_delete.c: Likewise.
4490 * rt/timer_getoverr.c: Likewise.
4491 * rt/timer_gettime.c: Likewise.
4492 * rt/timer_settime.c: Likewise.
4493 * setjmp/__longjmp.c: Likewise.
4494 * setjmp/setjmp.c: Likewise.
4495 * signal/kill.c: Likewise.
4496 * signal/killpg.c: Likewise.
4497 * signal/raise.c: Likewise.
4498 * signal/sigaction.c: Likewise.
4499 * signal/sigaltstack.c: Likewise.
4500 * signal/sigblock.c: Likewise.
4501 * signal/sigignore.c: Likewise.
4502 * signal/sigintr.c: Likewise.
4503 * signal/signal.c: Likewise.
4504 * signal/sigpause.c: Likewise.
4505 * signal/sigpending.c: Likewise.
4506 * signal/sigqueue.c: Likewise.
4507 * signal/sigreturn.c: Likewise.
4508 * signal/sigset.c: Likewise.
4509 * signal/sigsetmask.c: Likewise.
4510 * signal/sigstack.c: Likewise.
4511 * signal/sigsuspend.c: Likewise.
4512 * signal/sigtimedwait.c: Likewise.
4513 * signal/sigvec.c: Likewise.
4514 * signal/sigwait.c: Likewise.
4515 * signal/sigwaitinfo.c: Likewise.
4516 * signal/sysv_signal.c: Likewise.
4517 * socket/accept.c: Likewise.
4518 * socket/accept4.c: Likewise.
4519 * socket/bind.c: Likewise.
4520 * socket/connect.c: Likewise.
4521 * socket/getpeername.c: Likewise.
4522 * socket/getsockname.c: Likewise.
4523 * socket/getsockopt.c: Likewise.
4524 * socket/isfdtype.c: Likewise.
4525 * socket/listen.c: Likewise.
4526 * socket/recv.c: Likewise.
4527 * socket/recvfrom.c: Likewise.
4528 * socket/recvmsg.c: Likewise.
4529 * socket/send.c: Likewise.
4530 * socket/sendmsg.c: Likewise.
4531 * socket/sendto.c: Likewise.
4532 * socket/setsockopt.c: Likewise.
4533 * socket/shutdown.c: Likewise.
4534 * socket/sockatmark.c: Likewise.
4535 * socket/socket.c: Likewise.
4536 * socket/socketpair.c: Likewise.
4537 * stdio-common/ctermid.c: Likewise.
4538 * stdio-common/cuserid.c: Likewise.
4539 * stdio-common/remove.c: Likewise.
4540 * stdio-common/rename.c: Likewise.
4541 * stdio-common/renameat.c: Likewise.
4542 * stdio-common/tempname.c: Likewise.
4543 * stdlib/getcontext.c: Likewise.
4544 * stdlib/makecontext.c: Likewise.
4545 * stdlib/setcontext.c: Likewise.
4546 * stdlib/swapcontext.c: Likewise.
4547 * stdlib/system.c: Likewise.
4548 * streams/fattach.c: Likewise.
4549 * streams/fdetach.c: Likewise.
4550 * streams/getmsg.c: Likewise.
4551 * streams/getpmsg.c: Likewise.
4552 * streams/putmsg.c: Likewise.
4553 * streams/putpmsg.c: Likewise.
4554 * sysdeps/unix/bsd/getpt.c: Likewise.
4555 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4556 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4557 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4559 Likewise.
4560 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4562 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4563 * sysvipc/msgctl.c: Likewise.
4564 * sysvipc/msgget.c: Likewise.
4565 * sysvipc/msgrcv.c: Likewise.
4566 * sysvipc/msgsnd.c: Likewise.
4567 * sysvipc/semctl.c: Likewise.
4568 * sysvipc/semget.c: Likewise.
4569 * sysvipc/semop.c: Likewise.
4570 * sysvipc/semtimedop.c: Likewise.
4571 * sysvipc/shmat.c: Likewise.
4572 * sysvipc/shmctl.c: Likewise.
4573 * sysvipc/shmdt.c: Likewise.
4574 * sysvipc/shmget.c: Likewise.
4575 * termios/tcdrain.c: Likewise.
4576 * termios/tcflow.c: Likewise.
4577 * termios/tcflush.c: Likewise.
4578 * termios/tcgetattr.c: Likewise.
4579 * termios/tcgetpgrp.c: Likewise.
4580 * termios/tcsendbrk.c: Likewise.
4581 * termios/tcsetattr.c: Likewise.
4582 * termios/tcsetpgrp.c: Likewise.
4583 * time/adjtime.c: Likewise.
4584 * time/clock.c: Likewise.
4585 * time/getitimer.c: Likewise.
4586 * time/gettimeofday.c: Likewise.
4587 * time/setitimer.c: Likewise.
4588 * time/settimeofday.c: Likewise.
4589 * time/stime.c: Likewise.
4590 * time/time.c: Likewise.
4591
45922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4593
a20492cf
PT
4594 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4595 /usr/old/bin.
4596
72e182e3
PT
4597 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4598 instead of spaces.
4599 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4600
fbeafede
JM
46012012-11-03 Joseph Myers <joseph@codesourcery.com>
4602
5b5b04d6
JM
4603 [BZ #14796]
4604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4605 FE_TONEAREST before applying Dekker multiplication and Knuth
4606 addition. Clear inexact exceptions and check for exact zero
4607 results afterwards.
4608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4609 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4611 * math/libm-test.inc (fma_test): Add more tests.
4612 (fma_test_towardzero): Likewise.
4613 (fma_test_downward): Likewise.
4614 (fma_test_upward): Likewise.
4615 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4616 function.
4617 (libc_fesetround): New macro.
4618 (libc_fesetroundf): Likewise.
4619 (libc_fesetroundl): Likewise.
4620 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4621 function.
4622 (libc_fesetround_387): Likewise.
4623 (libc_fesetroundf): New macro.
4624 (libc_fesetround): Likewise.
4625 (libc_fesetroundl): Likewise.
4626 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4627 function.
4628 (libc_fesetroundf): New macro.
4629 (libc_fesetround): Likewise.
4630 (libc_fesetroundl): Likewise.
4631 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4632 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4633 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4634 libm_hidden_ver.
4635 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4636 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4637 libm_hidden_def.
4638 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4639 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4640 libm_hidden_ver.
4641 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4642 libm_hidden_def.
4643
fbeafede
JM
4644 [BZ #3439]
4645 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4646 integer constant usable in #if and use that to give value to enum
4647 constant.
4648 (FE_DIVBYZERO): Likewise.
4649 (FE_UNDERFLOW): Likewise.
4650 (FE_OVERFLOW): Likewise.
4651 (FE_INVALID): Likewise.
4652 (FE_INVALID_SNAN): Likewise.
4653 (FE_INVALID_ISI): Likewise.
4654 (FE_INVALID_IDI): Likewise.
4655 (FE_INVALID_ZDZ): Likewise.
4656 (FE_INVALID_IMZ): Likewise.
4657 (FE_INVALID_COMPARE): Likewise.
4658 (FE_INVALID_SOFTWARE): Likewise.
4659 (FE_INVALID_SQRT): Likewise.
4660 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4661 (FE_TONEAREST): Likewise.
4662 (FE_TOWARDZERO): Likewise.
4663 (FE_UPWARD): Likewise.
4664 (FE_DOWNWARD): Likewise.
4665 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4666 (FE_DIVBYZERO): Likewise.
4667 (FE_OVERFLOW): Likewise.
4668 (FE_UNDERFLOW): Likewise.
4669 (FE_INEXACT): Likewise.
4670 (FE_TONEAREST): Likewise.
4671 (FE_DOWNWARD): Likewise.
4672 (FE_UPWARD): Likewise.
4673 (FE_TOWARDZERO): Likewise.
4674 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4675 (FE_UNDERFLOW): Likewise.
4676 (FE_OVERFLOW): Likewise.
4677 (FE_DIVBYZERO): Likewise.
4678 (FE_INVALID): Likewise.
4679 (FE_TONEAREST): Likewise.
4680 (FE_TOWARDZERO): Likewise.
4681 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4682 (FE_OVERFLOW): Likewise.
4683 (FE_UNDERFLOW): Likewise.
4684 (FE_DIVBYZERO): Likewise.
4685 (FE_INEXACT): Likewise.
4686 (FE_TONEAREST): Likewise.
4687 (FE_TOWARDZERO): Likewise.
4688 (FE_UPWARD): Likewise.
4689 (FE_DOWNWARD): Likewise.
4690 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4691 (FE_DIVBYZERO): Likewise.
4692 (FE_OVERFLOW): Likewise.
4693 (FE_UNDERFLOW): Likewise.
4694 (FE_INEXACT): Likewise.
4695 (FE_TONEAREST): Likewise.
4696 (FE_DOWNWARD): Likewise.
4697 (FE_UPWARD): Likewise.
4698 (FE_TOWARDZERO): Likewise.
4699
105ca950
CM
47002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4701
4702 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4703
a542b389
AS
47042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4707 commands. Quote $PWD.
4708 (blacklist_exports): Don't use remove_newlines. Replace "declare
4709 -x" by "export".
4710 (remove_newlines): Remove.
4711
f62c8abc
L
47122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4713
4714 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4715 * stdlib/stdlib.h (atof): Moved to ...
4716 * include/bits/stdlib-float.h: Here. New file.
4717 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4718 * stdlib/bits/stdlib-float.h: New file.
4719 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4720 -mno-sse -mno-mmx.
4721 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4722 <xmmintrin.h>.
4723
0155d5b2
JM
47242012-11-02 Joseph Myers <joseph@codesourcery.com>
4725
a68d0680
JM
4726 * conform/conformtest.pl (@headers): Add fenv.h.
4727 * conform/data/fenv.h-data: New file.
4728 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4729 include of <math/fenv.h>.
4730
caf7f573
JM
4731 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4732 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4733 && !UNIX98]. Enables tests for XOPEN2K8.
4734 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4735 POSIX2008]: Likewise.
4736
6c073ad6
JM
4737 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4738 (struct rusage): Do not expect type or its members.
4739
0155d5b2
JM
4740 [BZ #3439]
4741 * math/math.h (FP_NAN): Define macro to integer constant usable in
4742 #if and use that to give value to enum constant.
4743 (FP_INFINITE): Likewise.
4744 (FP_ZERO): Likewise.
4745 (FP_SUBNORMAL): Likewise.
4746 (FP_NORMAL): Likewise.
4747
b5dcacb4
AS
47482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4751 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4752 arguments.
4753
f7934be8
RM
47542012-11-02 Roland McGrath <roland@hack.frob.com>
4755
4756 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4757 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4758 autoconf-time if not.
4759 * configure.in: Remove AC_PREREQ.
4760
d7d08bde
TMQMF
47612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4762
4763 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4764 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4765 of the internal implementation.
4766
dcdae19a
JM
47672012-11-02 Joseph Myers <joseph@codesourcery.com>
4768
4769 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4770 except include of <misc/sys/syslog.h>.
4771
d6cffd3e
AS
47722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4773
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4775 function returns with a NULL context exit with zero.
4776
b3563932
TMQMF
47772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4780
b288a93d
L
47812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4784 (run_program_cmd): This.
4785 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4786 (tst_langinfo): New variable. Use it.
4787
a2421a68
SAS
47882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4789
4790 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4791 floating point opcodes.
4792
6f796e1b
TS
47932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4794
7402596b
TS
4795 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4796 variable.
4797
d0d4f868
TS
4798 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4799
6f796e1b
TS
4800 * sysdeps/mach/hurd/powerpc: Remove directory.
4801 * sysdeps/mach/powerpc: Likewise.
4802
4da224a2
AS
48032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4804
4805 * scripts/check-local-headers.sh: Ignore c++ headers.
4806
341dd673
TS
48072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4808
4809 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4810 __libc_cleanup_region_start argument.
4811
473611b2
JM
48122012-11-01 Joseph Myers <joseph@codesourcery.com>
4813
4814 [BZ #14784]
4815 [BZ #14785]
4816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4817 x * y using scaling, not as x * y + z.
4818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4820 * math/libm-test.inc (fma_test): Add more tests.
4821 (fma_test_towardzero): Likewise.
4822 (fma_test_downward): Likewise.
4823 (fma_test_upward): Likewise.
4824
4078da3d
TS
48252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4826
4827 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4828
903252aa
JM
48292012-10-31 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4832 New variable.
4833
cbc818d0
TS
48342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4835
4836 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4837
5a03cb1e
AS
48382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4839
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4841 Fix sort order.
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4843 Likewise.
4844
90aff2ff
TMQMF
48452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4846
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4848 Fix the order of the list for glibc 2.17.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4850 Likewise.
4851
1818fcb7
AS
48522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4855
ef82f4da
JM
48562012-10-31 Joseph Myers <joseph@codesourcery.com>
4857
16a0e2ec
JM
4858 [BZ #14610]
4859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4860 for low part of x being zero before using __atanl (y).
4861 * math/libm-test.inc (atan2_test): Add another test.
4862
0eb69512
JM
4863 * manual/install.texi (Configuring and compiling): Document
4864 general use of test-wrapper and test-wrapper-env.
4865 * INSTALL: Regenerated.
4866
ef82f4da
JM
4867 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4868 (__fma): Do not extract and scale down low bits on after-rounding
4869 systems when result rounded to normal precision would have normal
4870 exponent.
4871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4872 (__fmal): Do not extract and scale down low bits on after-rounding
4873 systems when result rounded to normal precision would have normal
4874 exponent.
4875 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4876 (__fmal): Do not extract and scale down low bits on after-rounding
4877 systems when result rounded to normal precision would have normal
4878 exponent.
4879 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4880 macro.
4881 (fma_test): Add more tests.
4882 (fma_test_towardzero): Likewise.
4883 (fma_test_downward): Likewise.
4884 (fma_test_upward): Likewise.
4885
954ef0d9
L
48862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 * sysdeps/i386/tininess.h: Renamed to ...
4889 * sysdeps/x86/tininess.h: This.
4890 * sysdeps/x86_64/tininess.h: Removed.
4891
df61ffb2
JM
48922012-10-30 Joseph Myers <joseph@codesourcery.com>
4893
4894 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4895 input. Use $(build-program-cmd).
4896 ($(objpfx)tst-array1-static.out): Likewise.
4897 ($(objpfx)tst-array2.out): Likewise.
4898 ($(objpfx)tst-array3.out): Likewise.
4899 ($(objpfx)tst-array4.out): Likewise.
4900 ($(objpfx)tst-array5.out): Likewise.
4901 ($(objpfx)tst-array5-static.out): Likewise.
4902
01767843
CM
49032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4904
47cc1490
CM
4905 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4906 if defined.
4907
01767843
CM
4908 * nss/nsswitch.h (nss_interface_function): Provide new
4909 macro for use with NSS functions.
4910 * grp/initgroups.c: Use new macro.
4911 * nss/getXXbyYY.c: Likewise.
4912 * nss/getXXbyYY_r.c: Likewise.
4913 * nss/getXXent.c: Likewise.
4914 * nss/getXXent_r.c: Likewise.
4915 * sysdeps/posix/getaddrinfo.c: Likewise.
4916
8321aa97
AJ
49172012-10-30 Andreas Jaeger <aj@suse.de>
4918
4919 * po/ru.po: Update Russion translation from translation project.
4920
2a27fd6d
JM
49212012-10-30 Joseph Myers <joseph@codesourcery.com>
4922
8627a232
JM
4923 [BZ #14152]
4924 [BZ #14783]
4925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4926 result and shift together with sticky bit instead of replicating
4927 round-to-nearest rounding.
4928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4930 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4931 missing underflow exceptions.
4932 (fma_test_towardzero): Add more tests.
4933 (fma_test_downward): Likewise.
4934 (fma_test_upward): Likewise.
4935
2a27fd6d
JM
4936 [BZ #14047]
4937 * sysdeps/generic/tininess.h: New file.
4938 * sysdeps/i386/tininess.h: Likewise.
4939 * sysdeps/sh/tininess.h: Likewise.
4940 * sysdeps/x86_64/tininess.h: Likewise.
4941 * stdlib/tst-strtod-underflow.c: Likewise.
4942 * stdlib/tst-tininess.c: Likewise.
4943 * stdlib/strtod_l.c: Include <tininess.h>.
4944 (round_and_return): Do not set errno for exact underflow cases.
4945 Force an underflow exception when setting errno for underflow.
4946 Determine underflow based on rounding to normal precision if
4947 TININESS_AFTER_ROUNDING.
4948 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4949 ERANGE for exact underflow cases.
4950 * stdlib/Makefile (tests): Add tst-tininess and
4951 tst-strtod-underflow.
4952 ($(objpfx)tst-tininess): Use $(link-libm).
4953 ($(objpfx)tst-strtod-underflow): Likewise.
4954
e7170363
AJ
49552012-10-30 Andreas Jaeger <aj@suse.de>
4956
e5088dc6
AJ
4957 [BZ#14767]
4958 * elf/Makefile (tests): Remove conditional for have-initfini-array
4959 since this is now always required and the variable does not exist
4960 anymore.
4961 (tests-static): Likewise.
4962 (modules-names): Likewise.
4963
e7170363 4964 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4965
4966 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4967 merged with constructor/destructor.
4968 (init_array): Likewise.
4969 * elf/tst-array2dep.c (fini_array): Likewise.
4970 (init_array): Likewise.
4971
60457d8a
MF
49722012-10-29 Mike Frysinger <vapier@gentoo.org>
4973
4974 * manual/message.texi: Delete @cartouche tags.
4975
8bece752
PT
49762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4977
94ce799f
PT
4978 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4979 EOPNOTSUPP.
4980 * sysdeps/mach/hurd/fsync.c: Likewise.
4981
8bece752
PT
4982 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4983 [_POSIX_REALTIME_SIGNALS]: Change condition to
4984 [_POSIX_REALTIME_SIGNALS > 0].
4985
86ebe6b1
AJ
49862012-10-27 Andreas Jaeger <aj@suse.de>
4987
4988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4989 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4991 [__WORDSIZE != 64]: Likewise.
4992
54399c08
L
49932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4994
4995 * iconvdata/tst-table.sh: Remove ${SHELL}.
4996 * iconvdata/tst-tables.sh: Likewise.
4997
e2211bed
DM
49982012-10-25 David S. Miller <davem@davemloft.net>
4999
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5001 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5002 of strtoull.
5003
f303f97c
DM
5004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5005 ifunc-impl-list.c
5006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5007 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5008 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5009 file.
5010
1e9d84cd
RM
50112012-10-25 Roland McGrath <roland@hack.frob.com>
5012
5013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5014 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5015 __getdirentries.
5016
df381762
JM
50172012-10-25 Joseph Myers <joseph@codesourcery.com>
5018 Jim Blandy <jimb@codesourcery.com>
5019
5020 * scripts/cross-test-ssh.sh: New file.
5021 * manual/install.texi (Configuring and compiling): Document use of
5022 cross-test-ssh.sh.
5023 * INSTALL: Regenerated.
5024
bff64913
PT
50252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5026
5027 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5028 EOPNOTSUPP.
5029
25fe8932
JM
50302012-10-25 Joseph Myers <joseph@codesourcery.com>
5031
5032 * Makeconfig (run-program-prefix): Fix comment.
5033
cc1290d0
JM
50342012-10-24 Joseph Myers <joseph@codesourcery.com>
5035 Jim Blandy <jimb@codesourcery.com>
5036
5037 * Makeconfig (test-wrapper): New variable,
5038 (test-wrapper-env): Likewise.
5039 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5040 (run-built-tests): Define to yes.
5041 (run-program-prefix): Use $(test-wrapper).
5042 (built-program-cmd): Likewise.
5043 * Rules (make-test-out): Use $(test-wrapper-env) and
5044 $(host-built-program-cmd).
5045 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5046 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5047 tst-pathopt.sh.
5048 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5049 $(test-wrapper-env) to tst-rtld-load-self.sh.
5050 ($(objpfx)order2.out): Use $(test-wrapper).
5051 ($(objpfx)tst-initorder.out): Likewise.
5052 ($(objpfx)tst-initorder2.out): Likewise.
5053 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5054 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5055 (test_wrapper_env): New variable. Use it to run ld.so.
5056 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5057 Use it to run ld.so.
5058 (test_wrapper_env): Likewise.
5059 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5060 $(test-wrapper) to run-iconv-test.sh.
5061 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5062 (ICONV): Use $test_wrapper.
5063 * posix/Makefile ($(objpfx)globtest.out): Pass
5064 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5065 globtest.sh, not $(run-program-prefix).
5066 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5067 (test_wrapper): Likewise.
5068 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5069 set together with run_via_rtld_prefix.
5070 (run_program_prefix): Define in terms of test_wrapper and
5071 run_via_rtld_prefix.
5072
6e6249d0
RM
50732012-10-24 Roland McGrath <roland@hack.frob.com>
5074
5075 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5076 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5077 Targets removed.
5078
5079 [BZ #14743]
5080 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5081 Declare __clock_getres, __clock_gettime, __clock_settime,
5082 __clock_nanosleep, and __clock_getcpuclockid.
5083 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5084 Remove librt_hidden_def (clock_gettime).
5085 * sysdeps/unix/clock_gettime.c: Likewise.
5086 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5088 * rt/clock_getres.c: Define __clock_getres as an alias.
5089 * sysdeps/posix/clock_getres.c: Likewise.
5090 * rt/clock_settime.c: Define __clock_settime as an alias.
5091 * sysdeps/unix/clock_settime.c: Likewise.
5092 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5093 * sysdeps/unix/clock_nanosleep.c: Likewise.
5094 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5095 * rt/clock-compat.c: New file.
5096 * rt/Makefile (librt-routines): Add clock-compat and move
5097 $(clock-routines) to ...
5098 (routines): ... here, new variable.
5099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5100 Don't add get_clockfreq here.
5101 * rt/Versions (libc: GLIBC_2.17): New version set.
5102 Add clock_* symbols here.
5103 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5105 (GLIBC_2.17): Add clock_* symbols.
5106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5117 * NEWS: Mention the move.
5118
5119 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5120 Use __open, __read, __close rather than their public counterparts.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5122 (__get_clockfreq_via_cpuinfo): Likewise.
5123 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5124 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5125
5126 * config.h.in (HAVE_IFUNC): New #undef.
5127 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5128 was successful.
5129 * configure: Regenerated.
5130
0cae3f4b
MF
51312012-10-24 Mike Frysinger <vapier@gentoo.org>
5132
5133 * configure.in: Move READELF check to start of file.
5134 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5135 libc_cv_asm_gnu_indirect_function in the process.
5136 * configure: Regenerated.
5137
8175a253
MF
51382012-10-24 Mike Frysinger <vapier@gentoo.org>
5139
5140 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5141 send the output to /dev/null.
5142 (libc_cv_cc_with_libunwind): Likewise.
5143 (libc_cv_as_noexecstack): Likewise.
5144 * configure: Regenerate.
5145
0708a7d1
JM
51462012-10-24 Joseph Myers <joseph@codesourcery.com>
5147
10b40d85
JM
5148 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5149
0708a7d1
JM
5150 * posix/globtest.sh (TMPDIR): Do not set.
5151 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5152 (testout): Likewise.
5153
9fddec1a
AJ
51542012-10-24 Andreas Jaeger <aj@suse.de>
5155
3a8db22f
AJ
5156 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5157 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5158 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5159 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5160 posix_fadvise64, posix_fallocate64.
5161
9fddec1a
AJ
5162 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5163 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5164 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5165 Likewise.
5166 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5167 Likewise.
5168 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5169
5170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5171 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5172 <bits/fcntl-linux.h>.
5173 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5174
5175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5176 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5177 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5178 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5179 [__WORDSIZE != 64]: Likewise.
5180
ebfd1bbd
JM
51812012-10-23 Joseph Myers <joseph@codesourcery.com>
5182
03ac099f
JM
5183 * Makeconfig (run-built-tests): New variable.
5184 * Rules [$(cross-compiling) = yes]: Change condition to
5185 [$(run-built-tests) = no].
5186 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5187 to [$(run-built-tests) = yes].
5188 * elf/Makefile [$(cross-compiling) = no]: Likewise
5189 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5190 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5191 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5192 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5193 * io/Makefile [$(cross-compiling) = no]: Likewise.
5194 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5195 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5196 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5197 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5198 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5199 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5200 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5201 * string/Makefile [$(cross-compiling) = no]: Likewise.
5202
ebfd1bbd
JM
5203 * posix/Makefile ($(objpfx)globtest.out): Pass
5204 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5205 $(rtld-installed-name).
5206 * posix/globtest.sh (elf_objpfx): Remove variable.
5207 (rtld_installed_name): Likewise.
5208 (library_path): Likewise.
5209 (run_program_prefix): New variable. Use for running globtest
5210 binary.
5211
166bca24
JB
52122012-10-23 Jim Blandy <jimb@codesourcery.com>
5213 Joseph Myers <joseph@codesourcery.com>
5214
5215 * Makeconfig (host-built-program-cmd): New variable.
5216 * elf/Makefile (tst-stackguard1-ARGS): Use
5217 $(host-built-program-cmd).
5218 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5219 (tst-spawn-ARGS): Likewise.
5220 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5221
88866099
JM
52222012-10-23 Joseph Myers <joseph@codesourcery.com>
5223 Jim Blandy <jimb@codesourcery.com>
5224
5225 * Makeconfig (run-via-rtld-prefix): New variable.
5226 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5227 (built-program-cmd): Likewise.
5228
b4b4c296
AJ
52292012-10-22 Andreas Jaeger <aj@suse.de>
5230
5231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5232 __O_RSYNC if it exists, otherwise to O_SYNC.
5233
6fb54a22
JB
52342012-10-22 Jim Blandy <jimb@codesourcery.com>
5235 Joseph Myers <joseph@codesourcery.com>
5236
5237 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5238 /dev/null.
5239 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5240 from /dev/null
5241 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5242 /dev/null.
5243
481b90b9
AJ
52442012-10-22 Andreas Jaeger <aj@suse.de>
5245
2a0e2669
AJ
5246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5247 Define always.
5248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5249
76e38f9a
AJ
5250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5251 bits/fcntl-linux.h.
5252
7cd37b43
AJ
5253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5254 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5255
481b90b9
AJ
5256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5257 to __O_LARGEFILE.
5258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5259 to __O_LARGEFILE.
5260
aba75984
JB
52612012-10-21 Jim Blandy <jimb@codesourcery.com>
5262 Joseph Myers <joseph@codesourcery.com>
5263
5264 * config.make.in (NM): New variable.
5265
88d4247f
AJ
52662012-10-21 Andreas Jaeger <aj@suse.de>
5267
5268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5269 definitions and declarations that are provided by
5270 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5271
f2eed205
L
52722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5273
5274 [BZ #14683]
5275 * elf/Makefile (tests-static): Add tst-leaks1-static.
5276 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5277 ($(objpfx)tst-leaks1-static): New rule.
5278 ($(objpfx)tst-leaks1-static-mem): Likewise.
5279 (tst-leaks1-static-ENV): New macro.
5280 * elf/dl-open.c (dl_open_worker): Check the main application
5281 only if SHARED is defined.
5282 * elf/tst-leaks1-static.c: New file.
5283
335e6931
AJ
52842012-10-20 Andreas Jaeger <aj@suse.de>
5285
5286 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5287 generic values for Linux.
5288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5289 and declarations that are provided by <bits/fcntl-linux.h> and
5290 include <bits/fcntl-linux.h>.
5291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5293
ac5c94d3
RM
52942012-10-20 Roland McGrath <roland@hack.frob.com>
5295
5296 * io/fcntl.h: Move include of <bits/types.h> to the top and
5297 include it unconditionally.
5298
de54b33a
L
52992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5300
228cfb01
L
5301 * wcsmbs/Makefile (tests-ifunc): New variable.
5302 (tests): Add $(tests-ifunc).
5303 * wcsmbs/test-wcschr-ifunc.c: New file.
5304 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5305 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5306 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5307 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5308 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5309
69f07e5f
L
5310 * string/Makefile (tests-ifunc): New variable.
5311 (tests): Add $(tests-ifunc).
5312 * string/test-memccpy.c (TEST_NAME): New macro.
5313 * string/test-memchr.c (TEST_NAME): Likewise.
5314 * string/test-memcmp.c (TEST_NAME): Likewise.
5315 * string/test-memcpy.c (TEST_NAME): Likewise.
5316 * string/test-memmem.c (TEST_NAME): Likewise.
5317 * string/test-memmove.c (TEST_NAME): Likewise.
5318 * string/test-memset.c (TEST_NAME): Likewise.
5319 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5320 * string/test-stpcpy.c (TEST_NAME): Likewise.
5321 * string/test-stpncpy.c (TEST_NAME): Likewise.
5322 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5323 * string/test-strcasestr.c (TEST_NAME): Likewise.
5324 * string/test-strcat.c (TEST_NAME): Likewise.
5325 * string/test-strchr.c (TEST_NAME): Likewise.
5326 * string/test-strcmp.c(TEST_NAME): Likewise.
5327 * string/test-strcpy.c (TEST_NAME): Likewise.
5328 * string/test-strcspn.c (TEST_NAME): Likewise.
5329 * string/test-strlen.c (TEST_NAME): Likewise.
5330 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5331 * string/test-strncmp.c (TEST_NAME): Likewise.
5332 * string/test-strncpy.c (TEST_NAME): Likewise.
5333 * string/test-strnlen.c (TEST_NAME): Likewise.
5334 * string/test-strpbrk.c (TEST_NAME): Likewise.
5335 * string/test-strrchr.c (TEST_NAME): Likewise.
5336 * string/test-strspn.c (TEST_NAME): Likewise.
5337 * string/test-strstr.c (TEST_NAME): Likewise.
5338 * string/test-bcopy-ifunc.c: New file.
5339 * string/test-bzero-ifunc.c: Likewise.
5340 * string/test-memccpy-ifunc.c: Likewise.
5341 * string/test-memchr-ifunc.c: Likewise.
5342 * string/test-memcmp-ifunc.c: Likewise.
5343 * string/test-memcpy-ifunc.c: Likewise.
5344 * string/test-memmem-ifunc.c: Likewise.
5345 * string/test-memmove-ifunc.c: Likewise.
5346 * string/test-mempcpy-ifunc.c: Likewise.
5347 * string/test-memset-ifunc.c: Likewise.
5348 * string/test-rawmemchr-ifunc.c: Likewise.
5349 * string/test-stpcpy-ifunc.c: Likewise.
5350 * string/test-stpncpy-ifunc.c: Likewise.
5351 * string/test-strcasecmp-ifunc.c: Likewise.
5352 * string/test-strcasestr-ifunc.c: Likewise.
5353 * string/test-strcat-ifunc.c: Likewise.
5354 * string/test-strchr-ifunc.c: Likewise.
5355 * string/test-strchrnul-ifunc.c: Likewise.
5356 * string/test-strcmp-ifunc.c: Likewise.
5357 * string/test-strcpy-ifunc.c: Likewise.
5358 * string/test-strcspn-ifunc.c: Likewise.
5359 * string/test-strlen-ifunc.c: Likewise.
5360 * string/test-strncasecmp-ifunc.c: Likewise.
5361 * string/test-strncat-ifunc.c: Likewise.
5362 * string/test-strncmp-ifunc.c: Likewise.
5363 * string/test-strncpy-ifunc.c: Likewise.
5364 * string/test-strnlen-ifunc.c: Likewise.
5365 * string/test-strpbrk-ifunc.c: Likewise.
5366 * string/test-strrchr-ifunc.c: Likewise.
5367 * string/test-strspn-ifunc.c: Likewise.
5368 * string/test-strstr-ifunc.c: Likewise.
5369
de54b33a
L
5370 * debug/Makefile (tests-ifunc): New variable.
5371 (tests): Add $(tests-ifunc).
5372 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5373 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5374 * debug/test-stpcpy_chk-ifunc.c: New file.
5375 * debug/test-strcpy_chk-ifunc.c: Likewise.
5376
88481c16
SP
53772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5378
5379 [BZ #13601]
5380 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5381 header is not read in.
5382
135948bd
JM
53832012-10-19 Joseph Myers <joseph@codesourcery.com>
5384
89f1c388
JM
5385 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5386 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5387 directly. Pass built executable to script as
5388 $(built-program-cmd).
5389 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5390 $testprogram without using LD_LIBRARY_PATH and $ldso.
5391
e40a0d21
JM
5392 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5393 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5394 $(rtld-installed-name).
5395 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5396 (rtld_installed_name): Likewise.
5397 (library_path): Likewise.
5398 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5399 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5400 $(run-program-prefix) to tst-tables.sh.
5401 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5402 it to run tst-table-from and tst-table-to.
5403 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5404 Pass it to tst-table.sh.
5405 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5406 $(run-program-prefix) to tst-gettext.sh.
5407 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5408 tst-translit.sh.
5409 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5410 tst-gettext2.sh.
5411 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5412 to run tst-gettext.
5413 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5414 to run tst-gettext2.
5415 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5416 to run tst-translit.
5417 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5418 $(run-program-prefix) to tst-mtrace.sh.
5419 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5420 to run tst-mtrace.
5421 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5422 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5423 $(rtld-installed-name).
5424 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5425 (rtld_installed_name): Likewise.
5426 (run_program_prefix): New variable. Use it to run wordexp-test.
5427
728e272a
JM
5428 * Makeconfig (ARCH): Remove all definitions.
5429 (machine): Likewise.
5430 [ARCH]: Remove conditional code.
5431 [!objdir]: Give error.
5432 [!objdir] (objpfx): Remove.
5433 [!objdir] (common-objpfx): Likewise.
5434 [!objdir] (common-objdir): Likewise.
5435 * configure.in (config_makefile): Remove. Hardcode Makefile in
5436 AC_CONFIG_FILES call.
5437 * configure: Regenerated.
5438
d528cdcf
JM
5439 [BZ #13888]
5440 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5441 or TMPDIR.
5442 (testout): Likewise.
5443
135948bd
JM
5444 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5445 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5446 $(rtld-installed-name).
5447 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5448 (rtld_installed_name): Likwise.
5449 (runit): Remove function.
5450 (run_getconf): New variable, Use it for running getconf binary.
5451
38c78296
L
54522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5453
5454 [BZ #14716]
5455 * string/test-memmem.c (check_result): New function.
5456 (do_one_test): Use it.
5457 (check1): New function.
5458 (test_main): Use it.
5459
d077f65f
MT
54602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5461
5462 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5463
ced52c71
JM
54642012-10-18 Joseph Myers <joseph@codesourcery.com>
5465
5466 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5467 (_G_LSEEK64): Likewise.
5468 (_G_MMAP64): Likewise.
5469 (_G_FSTAT64): Likewise.
5470 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5471 (_G_LSEEK64): Likewise.
5472 (_G_MMAP64): Likewise.
5473 (_G_FSTAT64): Likewise.
5474 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5475 unconditional. Call __mmap64 directly.
5476 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5477 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5478 __lseek64 directly.
5479 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5480 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5481 __mmap64 directly.
5482 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5483 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5484 __lseek64 directly.
5485 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5486 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5487 __lseek64 directly.
5488 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5489 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5490 __lseek64 directly.
5491 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5492 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5493 __fxstat64 directly.
5494 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5495 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5496 unconditional.
5497 (freopen64) [!_G_OPEN64]: Remove conditional code.
5498 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5499 unconditional.
5500 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5501 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5502 unconditional.
5503 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5504 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5505 unconditional.
5506 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5507 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5508 unconditional.
5509 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5510 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5511 unconditional.
5512 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5513 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5514 unconditional.
5515 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5516 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5517 unconditional.
5518 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5519
b741de23
SP
55202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
5522 [BZ #12140]
5523 * manual/memory.texi (Malloc Tunable Parameters): Add note
5524 about free list pointers overwriting some perturb bytes.
5525 Wording suggested by Roland McGrath.
5526
f9b9d9c9
JM
55272012-10-17 Joseph Myers <joseph@codesourcery.com>
5528
5529 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5530 (lgamma_test): Likewise.
5531 (tgamma_test): Likewise.
5532
172a631a
FW
55332012-10-16 Florian Weimer <fweimer@redhat.com>
5534
5535 [BZ #14700]
5536 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5537 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5538
e9f37252
MK
55392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5540
5541 * NEWS: Mention BZ #14716.
5542 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5543 when removing AVAILABLE1_USES_J macro.
5544
d394eb74
L
55452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5546
5547 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5548 (__bswap_64): __uint64_t for unsigned 64-bit int.
5549
ca38dc17
AS
55502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5551
5552 * include/string.h (memmem): Declare libc hidden alias.
5553 * string/memmem.c (memmem): Define libc hidden alias.
5554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5555 __read, __close instead of open, read, close.
5556
9a387d1f
L
55572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5558
ac49ecaf
L
5559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5560 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5561 global and hidden.
5562 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5563 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5564 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5565 Likewise.
5566 (__rawmemchr_sse2): Likewise.
5567 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5568 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5569 (__strchr_sse2): Likewise.
5570 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5571 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5572 (__strcasecmp_sse2): Likewise.
5573 (__strncasecmp_sse2): Likewise.
5574 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5575 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5576 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5577 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5578 (__strrchr_sse2): Likewise.
5579 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5580 ifunc-impl-list.c.
5581 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5582 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5583 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5584 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5585 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5586 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5587 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5588 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5589 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5590 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5591 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5592 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5593 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5594 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5595 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5596 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5597 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5598 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5599 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5600 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5601 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5602 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5603 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5604 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5605 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5606 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5607 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5609 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5610 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5611
b090e8ea
L
5612 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5613 global and hidden.
5614 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5615 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5616 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5617 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5618 Likewise.
5619 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5620 Likewise.
5621 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5622 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5623 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5624 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5625 ifunc-impl-list.c.
5626 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5627 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5628 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5636 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5637 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5638 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5639 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5640 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5642 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5643 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5644 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5645 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5649 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5650 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5651 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5652 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5653 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5654 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5655 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5657 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5658 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5659 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5660 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5661 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5667
11dd4af6
L
5668 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5669 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5670 * include/ifunc-impl-list.h: New file.
5671 * misc/ifunc-impl-list.c: Likewise.
5672 * misc/Makefile (routines): Add ifunc-impl-list.
5673 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5674 * string/test-string.h: Include <ifunc-impl-list.h>.
5675 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5676 impl_array): New variables.
5677 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5678 are defined.
5679 (test_init): Call __libc_ifunc_impl_list to initialize
5680 func_list if TEST_IFUNC and TEST_NAME are defined.
5681
9a387d1f
L
5682 * string/Makefile (strop-tests): Add bcopy and bzero.
5683 * string/test-bcopy.c: New file.
5684 * string/test-bzero.c: Likewise.
5685 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5686 defined.
5687 * string/test-memset.c: Support bzero test if TEST_BZERO is
5688 defined.
5689 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5690 __libc_memmove.
5691 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5692 __libc_memset.
5693 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5694 of memset.
5695
472371b9
JM
56962012-10-10 Joseph Myers <joseph@codesourcery.com>
5697
1e4a9536
JM
5698 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5699 * configure: Regenerated.
5700
d173d12e
JM
5701 * Makeconfig (+link-static-before-libc): Don't include
5702 $(link-static-libc).
5703
472371b9
JM
5704 * libio/libio.h (_IO_pos_t): Remove.
5705
89a3ad0b
AO
57062012-10-10 Alexandre Oliva <aoliva@redhat.com>
5707
5708 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5709 McGrath.
5710
e7451425
AO
57112012-10-10 Alexandre Oliva <aoliva@redhat.com>
5712
5713 * crypt/crypt-entry.c: Include fips-private.h.
5714 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5715 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5716 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5717 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5718
4ba74a35
AO
57192012-10-10 Alexandre Oliva <aoliva@redhat.com>
5720
5721 * crypt/crypt-private.h: Include stdbool.h.
5722 (_ufc_setup_salt_r): Return bool.
5723 * crypt/crypt-entry.c: Include errno.h.
5724 (__crypt_r): Return NULL with EINVAL for bad salt.
5725 * crypt/crypt_util.c (bad_for_salt): New.
5726 (_ufc_setup_salt_r): Check that salt is long enough and within
5727 the specified alphabet.
5728 * crypt/badsalttest.c: New file.
5729 * crypt/Makefile (tests): Add it.
5730 ($(objpfx)badsalttest): New.
5731
f96f1242
MK
57322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5733
5734 * NEWS: Add entry for BZ #14602.
5735
0e8e0c1c
JM
57362012-10-09 Joseph Myers <joseph@codesourcery.com>
5737
5738 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5739 type-generic.
5740 * math/libm-test.inc: Update comment listing what functions and
5741 macros are tested.
5742 (isgreater_test): New function.
5743 (isgreaterequal_test): Likewise.
5744 (isless_test): Likewise.
5745 (islessequal_test): Likewise.
5746 (islessgreater_test): Likewise.
5747 (isunordered_test): Likewise.
5748 (main): Call the new functions.
5749
273edc5e
RM
57502012-10-09 Roland McGrath <roland@hack.frob.com>
5751
b8493de0
RM
5752 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5753 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5754 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5755 * sysdeps/i386/configure: Regenerated.
5756 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5757 * sysdeps/mach/configure: Regenerated.
5758 * sysdeps/mach/hurd/configure: Regenerated.
5759 * sysdeps/powerpc/configure: Regenerated.
5760 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5761 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5762 * sysdeps/s390/s390-32/configure: Regenerated.
5763 * sysdeps/s390/s390-64/configure: Regenerated.
5764 * sysdeps/sh/configure: Regenerated.
5765 * sysdeps/sparc/configure: Regenerated.
5766 * sysdeps/unix/sysv/linux/configure: Regenerated.
5767 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5768 * sysdeps/x86_64/configure: Regenerated.
5769
273edc5e
RM
5770 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5771 defined. Don't check if MAP is NULL.
5772
c8450f70
JM
57732012-10-09 Joseph Myers <joseph@codesourcery.com>
5774
5775 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5776 (_G_stat64): Likewise.
5777 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5778 (_G_stat64): Likewise.
5779 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5780 instead of struct _G_stat64.
5781 * libio/fileops.c (mmap_remap_check): Likewise.
5782 (decide_maybe_mmap): Likewise.
5783 (_IO_new_file_seekoff): Likewise.
5784 (_IO_file_stat): Likewise.
5785 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5786 _G_off64_t.
5787 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5788 instead of struct _G_stat64.
5789 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5790
57e605ba
MK
57912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5792
5793 [BZ #14602]
5794 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5795 Replace with ...
5796 (CHECK_EOL): New macro.
5797 (two_way_short_needle): Check beginning of haystack for EOL. Use
5798 CHECK_EOL.
5799 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5800 Replace with CHECK_EOL.
5801 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5802 Replace with CHECK_EOL.
5803
ef1bb361
JM
58042012-10-08 Joseph Myers <joseph@codesourcery.com>
5805
5806 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5807 type-generic.
5808 * math/libm-test.inc: Update comment listing what functions and
5809 macros are tested.
5810 (finite_test): New function.
5811 (isinf_test): Likewise.
5812 (isnan_test): Likewise.
5813 (fpclassify_test): Test subnormal input.
5814 (isfinite_test): Likewise.
5815 (isnormal_test): Likewise.
5816 (main): Call the new functions.
5817
55f11534
JN
58182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5819
5820 [BZ #14660]
5821 * Makerules (%.dynsym): Force C locale when running
5822 $(OBJDUMP) --dynamic-syms.
5823
1ab29350
AS
58242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5827 <stdint.h>.
5828
f1ecb7ef
DM
58292012-10-06 David S. Miller <davem@davemloft.net>
5830
5831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5832 upper 32-bits of the length value in %o2 since we use branch-on-register
5833 tests which consider the entire 64-bit register.
5834
5d41d91a
L
58352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5836
5837 * string/test-strstr.c (check2): Add a test for page boundary.
5838
3baddb72
DM
58392012-10-05 David S. Miller <davem@davemloft.net>
5840
5841 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5843 file.
5844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5845 sysdep_routines.
5846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5847 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5848 and bzero when HWCAP_SPARC_CRYPTO is present.
5849
9cee5585
L
58502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5851
d7e0dab9
L
5852 [BZ #14602]
5853 * string/test-strstr.c (check2): New function.
5854 (test_main): Call check2.
5855
03759f47
L
5856 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5857 and bug-strchr1.
5858 * string/bug-strcasestr1.c (do_test): Moved to ...
5859 * string/test-strcasestr.c (check1): Here. New function.
5860 (do_one_test): Break out result checking code into ...
5861 (check_result): This. New function.
5862 (do_one_test): Call check_result.
5863 (test_main): Call check1.
5864 * string/bug-strchr1.c (do_test): Moved to ...
5865 * string/test-strchr.c (check1): Here. New function.
5866 (do_one_test): Break out result checking code into ...
5867 (check_result): This. New function.
5868 (do_one_test): Call check_result.
5869 (test_main): Call check1.
5870 * string/bug-strstr1.c (main): Moved to ...
046f153e 5871 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5872 (do_one_test): Break out result checking code into ...
5873 (check_result): This. New function.
5874 (do_one_test): Call check_result.
5875 (test_main): Call check1.
5876 * string/bug-strcasestr1.c: Removed.
5877 * string/bug-strchr1.c: Likewise.
5878 * string/bug-strstr1.c: Likewise.
5879
53cea63e
L
5880 * elf/Makefile (dl-routines): Add hwcaps.
5881 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5882 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5883 (_dl_important_hwcaps): Moved to ...
5884 * elf/dl-hwcaps.c: Here. New file.
5885 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5886
9cee5585 5887 [BZ #14557]
bb859b06
L
5888 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5889 if IS_IN_rtld isn't defined.
5890
9cee5585
L
5891 * elf/dl-support.c (_dl_sysinfo_map): New.
5892 Include "get-dynamic-info.h" and "setup-vdso.h".
5893 (_dl_non_dynamic_init): Call setup_vdso.
5894 * elf/dynamic-link.h: Don't include <assert.h>.
5895 (elf_get_dynamic_info): Moved to ...
5896 * elf/get-dynamic-info.h: Here. New file.
5897 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5898 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5899 * elf/setup-vdso.h: Here. New file.
5900 * elf/rtld.c: Include "setup-vdso.h".
5901 (dl_main): Call setup_vdso.
5902
23c31b76
JM
59032012-10-05 Joseph Myers <joseph@codesourcery.com>
5904
28234b07
JM
5905 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5906 creal in comment listing functions tested. List finite, isinf,
5907 isnan, isless, islessequal, isgreater, isgreaterequal,
5908 islessgreater, isunordered, lgamma_r and pow10 as functions and
5909 macros not tested. Mention which functions not tested are aliases
5910 for other functions. Fix typo. Note that signs of NaNs are not
5911 tested.
5912
23c31b76
JM
5913 * scripts/config.guess: Update from config.git.
5914 * scripts/config.sub: Likewise.
5915
9043e228
RM
59162012-10-04 Roland McGrath <roland@hack.frob.com>
5917
5918 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5919 * misc/madvise.c (madvise): Renamed to __madvise.
5920 Make madvise a weak alias.
5921 * include/sys/mman.h: Declare __madvise.
5922 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5923 * sysdeps/unix/syscalls.list
5924 (madvise): Make __madvise the strong name, and madvise a weak alias.
5925 * sysdeps/unix/sysv/linux/syscalls.list
5926 (madvise, mmap): Remove redundant entries.
5927 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5928 * malloc/malloc.c (mtrim): Likewise.
5929 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5930
f57f8055
RM
59312012-10-03 Roland McGrath <roland@hack.frob.com>
5932
5933 * sysdeps/mach/hurd/dl-cache.c: File removed.
5934 * config.h.in (USE_LDCONFIG): New #undef.
5935 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5936 * configure: Regenerated.
5937 * elf/Makefile (dl-routines): Add dl-cache only under
5938 [$(use-ldconfig) = yes].
5939 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5940 cache on [USE_LDCONFIG].
5941 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5942 [USE_LDCONFIG].
5943 * elf/rtld.c (dl_main): Likewise.
5944
5bb0c10a
PT
59452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5946
5947 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5948 _SC_LEVEL4_CACHE_LINESIZE.
5949
010188c6
RM
59502012-10-03 Roland McGrath <roland@hack.frob.com>
5951
5952 * sysdeps/unix/bsd/confstr.h: File removed.
5953
b6c5ec07
AO
59542012-10-02 Alexandre Oliva <aoliva@redhat.com>
5955
5956 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5957 sys/sdt-config.h.
5958
408223d4
RM
59592012-10-02 Roland McGrath <roland@hack.frob.com>
5960
5961 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5962 Make 'mapoff' field ElfW(Off) rather than off_t.
5963
bb9510dc
DL
59642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5965
fc997c6e
DL
5966 * nscd/Makefile: Remove nscd-cflags and all its users.
5967 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5968 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5969
bb9510dc
DL
5970 [BZ #10631]
5971 * malloc.c (malloc_printerr): Clarify error message.
5972
05699367
L
59732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5974
5975 [BZ #14648]
5976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5977 Set bit_FMA_Usable if FMA is supported.
5978 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5979 macro.
5980 (bit_FMA4_Usable): Updated.
5981 (index_FMA_Usable): New macro.
5982 (CPUID_FMA): Likewise
5983 (HAS_FMA): Defined with bit_FMA_Usable.
5984
51367701
RM
59852012-10-01 Roland McGrath <roland@hack.frob.com>
5986
5987 * bits/types.h (__swblk_t): Type removed.
5988 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5989 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5991 (__SWBLK_T_TYPE): Likewise.
5992 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5993 (__SWBLK_T_TYPE): Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5995 (__SWBLK_T_TYPE): Likewise.
5996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5997 (__SWBLK_T_TYPE): Likewise.
5998
4d57bf63 59992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6000 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6001
6002 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6003 (xdr_mapname): Use YPMAXMAP as maxsize.
6004 (xdr_peername): Use YPMAXPEER as maxsize.
6005 (xdr_keydat): Use YPAXRECORD as maxsize.
6006 (xdr_valdat): Use YPMAXRECORD as maxsize.
6007
93c65d43
RM
60082012-10-01 Roland McGrath <roland@hack.frob.com>
6009
497a03d6
RM
6010 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6011
93c65d43
RM
6012 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6013 * csu/init-first.c: ... here.
6014 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6015 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6017 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6018 * sysdeps/i386/init-first.c: File removed.
6019 * sysdeps/sh/init-first.c: File removed.
6020
bec749fd
JM
60212012-10-01 Joseph Myers <joseph@codesourcery.com>
6022
6023 [BZ #14645]
6024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6025 if x * y might underflow to zero and z is zero.
6026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6028 * math/libm-test.inc (min_subnorm_value): New variable.
6029 (fma_test): Add more tests.
6030 (fma_test_towardzero): Likewise.
6031 (fma_test_downward): Likewise
6032 (fma_test_upward): Likewise.
6033 (initialize): Set min_subnorm_value.
6034
8ec5b013
JM
60352012-09-29 Joseph Myers <joseph@codesourcery.com>
6036
6037 [BZ #14638]
6038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6039 0 + 0.
6040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6041 mode for addition resulting in exact zero.
6042 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6044 exact 0 + 0.
6045 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6047 * math/libm-test.inc (fma_test): Add more tests.
6048 (fma_test_towardzero): New function.
6049 (fma_test_downward): Likewise.
6050 (fma_test_upward): Likewise.
6051 (main): Call the new functions.
6052
b1fa802e
DM
60532012-09-28 David S. Miller <davem@davemloft.net>
6054
6055 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6056
d3b9fd9e
RM
60572012-09-28 Roland McGrath <roland@hack.frob.com>
6058
ea4d37b3
RM
6059 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6060 instead of SIGALRM.
6061
ac51c949
RM
6062 * sysdeps/gnu/_G_config.h: Moved to ...
6063 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6064 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6065 * sysdeps/generic/_G_config.h: ... here.
6066
28c195f7
RM
6067 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6068
848917f9
RM
6069 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6070
6bacf05b
RM
6071 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6072 Conditionalize target on [libnss_test1.so-version].
6073
91363dbb
RM
6074 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6075
cc87f7d8
RM
6076 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6077 (elfobjdir): Move out of conditionals.
6078
b1c608fe
RM
6079 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6080 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6081 (__nss_lookup_function): Conditionalize label remove_from_tree on
6082 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6083
1d9a6d96
DM
60842012-09-28 David S. Miller <davem@davemloft.net>
6085
6086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6087 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6088 file.
6089 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6090 sysdep_routines.
6091 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6093 when HWCAP_SPARC_CRYPTO is present.
6094
72581615
PT
60952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6096
6097 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6098
715a900c
JL
60992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6100
6101 [BZ #6530]
6102 * stdio-common/vfprintf.c (process_string_arg): Revert
6103 2000-07-22 change.
6104
61052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6106
6107 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6108 for testcase.
6109 * stdio-common/tst-sprintf.c: Include <locale.h>
6110 (main): Test sprintf's handling of incomplete multibyte
6111 characters.
6112
9bac1d86
L
61132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6114
6115 * elf/dl-runtime.c (VERSYMIDX): Removed.
6116 * elf/dl-version.c (VERSYMIDX): Likewise.
6117 * elf/do-rel.h (VERSYMIDX): Likewise.
6118 (VALIDX): Likewise.
6119 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6120 * elf/rtld.c (VALIDX): Likewise.
6121 (ADDRIDX): Likewise.
9bac1d86
L
6122 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6123 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6124 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6125 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6126 (VALIDX): Likewise.
6127 (ADDRIDX): Likewise.
9bac1d86 6128
b31606c0
PT
61292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6130
6131 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6132
11541177
JL
61332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6134
6135 [BZ #11438]
6136 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6137 to global scope.
6138 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6139 addresses are in the same scope as 192.0.2/24.
6140 * posix/gai.conf: Document new scope table defaults.
6141
adb26fae
SP
61422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6143
6144 [BZ #5298]
6145 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6146 for ftell. Compute offsets from write pointers instead.
6147 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6148
4573c6b0
SP
61492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6150
6151 [BZ #14543]
6152 * libio/Makefile (tests): New test case tst-fseek.
6153 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6154 combination works in wide mode.
6155 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6156 state when the external buffer state changes.
6157
aa9bbfe6
DM
61582012-09-27 David S. Miller <davem@davemloft.net>
6159
6160 [BZ #14376]
6161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6162 pass reloc->r_addend in as the 'high' argument to
6163 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6164
784421e7
DM
6165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6166
c39bc8b8
PT
61672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6168
6169 * rt/tst-aio2.c: Include <pthread.h>.
6170 * rt/tst-aio3.c: Likewise.
6171
1ccc2399
SE
61722012-09-27 Steve Ellcey <sellcey@mips.com>
6173
6174 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6175
31ed4153
L
61762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6177
25f5f885
L
6178 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6179 contents on [SHARED].
31ed4153 6180
b7bfe116
MP
61812012-09-26 Marek Polacek <polacek@redhat.com>
6182
6183 [BZ #14530]
6184 [BZ #13741]
6185 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6186 for C++ and GCC <4.3 as well as for non GCC compilers.
6187
43c4edba
MT
61882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6189
6190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6191
6a1bf82f
RM
61922012-09-25 Roland McGrath <roland@hack.frob.com>
6193
6194 * Makefile.in (all, install): Declare with .PHONY.
6195 Reported by Michael Hope <michael.hope@linaro.org>.
6196
8ad11b9a
TMQMF
61972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6198
6199 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6200 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6201 system header.
6202 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6203 Likewise.
6204 (sydep_routines): Add the new and the internal functions.
6205 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6206 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6208 (GLIBC_2.17): Add the new function.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6210 (GLIBC_2.17): Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6212 (GLIBC_2.17): Likewise.
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6214 (GLIBC_2.17): Likewise.
6215 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6216
7e2fca8d
AM
62172012-09-25 Alan Modra <amodra@gmail.com>
6218
6219 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6220 Add release barrier before setting once_control to say
6221 initialisation is done. Add hints on lwarx. Use macro in
6222 place of isync.
6223 (clear_once_control): Add release barrier.
6224
b87c4b24
JM
62252012-09-25 Joseph Myers <joseph@codesourcery.com>
6226
d032e0d2
JM
6227 [BZ #13629]
6228 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6229 specially.
6230 * math/s_clog10.c (__clog10): Likewise.
6231 * math/s_clog10f.c (__clog10f): Likewise.
6232 * math/s_clog10l.c (__clog10l): Likewise.
6233 * math/s_clogf.c (__clogf): Likewise.
6234 * math/s_clogl.c (__clogl): Likewise.
6235 * math/Makefile (libm-calls): Add x2y2m1.
6236 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6237 (__x2y2m1): Likewise.
6238 (__x2y2m1l): Likewise.
6239 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6240 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6243 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6244 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6245 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6246 * sysdeps/i386/fpu/libm-test-ulps: Update.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6248
b87c4b24
JM
6249 [BZ #14621]
6250 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6251 int as type of variable DEPTH.
6252 (glob): Use size_t instead of int as type of variables NEWCOUNT
6253 and OLD_PATHC.
6254
6d3bf199
LD
62552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6256
22bf5c17
LD
6257 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6258 Add s_sincosf-sse2.
6259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6261 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6262 macros for using routine as __sincosf_ia32.
6263 Use macro for function declaration and weak_alias.
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265
6266 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6268
6269 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6270 subnormal argument.
6271 * math/s_cexpf.c (__cexpf): Likewise.
6272 * math/s_csinf.c (__csinf): Likewise.
6273 * math/s_csinhf.c (__csinhf): Likewise.
6274 * math/s_ctanf.c (__ctanf): Likewise.
6275 * math/s_ctanhf.c (__ctanhf): Likewise.
6276 * math/s_ccosh.c (__ccoshf): Likewise.
6277 * math/s_cexp.c (__cexpl): Likewise.
6278 * math/s_csin.c (__csin): Likewise.
6279 * math/s_csinh.c (__csinh): Likewise.
6280 * math/s_ctan.c (__ctan): Likewise.
6281 * math/s_ctanh.c (ctanh): Likewise.
6282 * math/s_ccoshl.c (__ccoshl): Likewise.
6283 * math/s_cexpl.c (__cexpl): Likewise.
6284 * math/s_csinl.c (__csinl): Likewise.
6285 * math/s_csinhl.c (__csinhl): Likewise.
6286 * math/s_ctanl.c (__ctanl): Likewise.
6287 * math/s_ctanhl.c (__ctanhl): Likewise.
6288
203e5603
JM
62892012-09-25 Joseph Myers <joseph@codesourcery.com>
6290
6291 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6292 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6293 (_IO_off_t): Define to __off_t, not _G_off_t.
6294 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6295 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6296 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6297 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6298 type of __dummy and __dummy2 fields.
6299 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6300 (_G_ssize_t): Likewise.
6301 (_G_off_t): Likewise.
6302 (_G_pid_t): Likewise.
6303 (_G_uid_t): Likewise.
6304 (_G_wchar_t): Likewise.
6305 (_G_wint_t): Likewise.
6306 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6307 (_G_ssize_t): Likewise.
6308 (_G_off_t): Likewise.
6309 (_G_pid_t): Likewise.
6310 (_G_uid_t): Likewise.
6311 (_G_wchar_t): Likewise.
6312 (_G_wint_t): Likewise.
6313 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6314 (_G_ssize_t): Likewise.
6315 (_G_off_t): Likewise.
6316 (_G_pid_t): Likewise.
6317 (_G_uid_t): Likewise.
6318 (_G_wchar_t): Likewise.
6319 (_G_wint_t): Likewise.
6320
9fab36eb
SP
63212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * malloc/arena.c: Include malloc-sysdep.h.
6324 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6325 is sufficient to shrink the heap or an unmap is needed.
6326 * sysdeps/generic/malloc-sysdep.h: New file. Define
6327 new function check_may_shrink_heap.
6328 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6329 new function check_may_shrink_heap.
6330
2b4f00d1
SP
63312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
6333 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6334 comments.
6335
9a9028b1
DL
63362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6337
57c69bef
DL
6338 * catgets/test-gencat.sh: Add "set -e".
6339 * elf/tst-pathopt.sh: Likewise.
6340 * grp/tst_fgetgrent.sh: Likewise.
6341 * iconvdata/run-iconv-test.sh: Likewise.
6342 * intl/tst-gettext.sh: Likewise.
6343 * intl/tst-gettext2.sh: Likewise.
6344 * intl/tst-gettext4.sh: Likewise.
6345 * intl/tst-gettext6.sh: Likewise.
6346 * intl/tst-translit.sh: Likewise.
6347 * io/ftwtest-sh: Likewise.
6348 * libio/test-freopen.sh: Likewise.
6349 * malloc/tst-mtrace.sh: Likewise.
6350 * posix/globtest.sh: Likewise.
6351 * posix/tst-getconf.sh: Likewise.
6352 * posix/wordexp-tst.sh: Likewise.
6353 * stdio-common/tst-printf.sh: Likewise.
6354 * stdio-common/tst-unbputc.sh: Likewise.
6355 * stdlib/tst-fmtmsg.sh: Likewise.
6356 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6357 * catgets/Makefile: Do not specify -e option when running
6358 testsuite shell scripts.
6359 * elf/Makefile: Likewise.
6360 * grp/Makefile: Likewise.
6361 * iconvdata/Makefile: Likewise.
6362 * intl/Makefile: Likewise.
6363 * io/Makefile: Likewise.
6364 * libio/Makefile: Likewise.
6365 * malloc/Makefile: Likewise.
6366 * posix/Makefile: Likewise.
6367 * stdio-common/Makefile: Likewise.
6368 * stdlib/Makefile: Likewise.
6369 * sysdeps/x86_64/Makefile: Likewise.
6370
9a9028b1
DL
6371 * io/ftwtest-sh: Add copyright header.
6372 * posix/globtest.sh: Likewise.
6373 * posix/tst-getconf.sh: Likewise.
6374 * posix/wordexp-tst.sh: Likewise.
6375 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6376
ced6f16e
L
63772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6378
94b32c39
L
6379 [BZ #13679]
6380 * Makeconfig (+link): Defined as $(+link-static) if
6381 $(build-shared) isn't yes.
6382 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6383 isn't yes.
6384 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6385
189e935b
L
6386 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6387
ced6f16e
L
6388 [BZ #14562]
6389 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6390 new chunk size with MALLOC_ALIGN_MASK.
6391
a9f8e53a
JM
63922012-09-24 Joseph Myers <joseph@codesourcery.com>
6393
6394 [BZ #5044]
6395 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6396 <rounding-mode.h>.
6397 (__printf_fphex): Determine rounding using get_rounding_mode and
6398 round_away.
6399 * stdio-common/tst-printf-round.c (struct hex_test): New
6400 structure.
6401 (hex_tests): New variable.
6402 (test_hex_in_one_mode): New function.
6403 (do_test): Also run tests for hex float output.
6404
43153109
JM
64052012-09-21 Joseph Myers <joseph@codesourcery.com>
6406
6407 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6408 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6409 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6410 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6411 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6412 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6413 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6415
8a26625d
JM
64162012-09-20 Joseph Myers <joseph@codesourcery.com>
6417
6418 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6419 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6420 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6421 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6422
f3fd569c
DL
64232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6424
6425 [BZ #14579]
6426 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6427 mode only.
6428 * elf/tst-rtld-load-self.sh: New test.
6429 * elf/Makefile: Run it.
6430
63bbedd4
JM
64312012-09-18 Joseph Myers <joseph@codesourcery.com>
6432
6433 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6434 (tst-writev-ENV): Remove.
6435 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6436
626f8b6a
CM
64372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6438
6439 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6440
b7aaa4d6
JM
64412012-09-17 Joseph Myers <joseph@codesourcery.com>
6442
6443 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6444 unconditional.
6445 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6446 Likewise.
6447 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6448 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6449 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6450 Likewise.
6451
65513990
L
64522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6453
6454 [BZ #14587]
6455 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6456 * config.make.in (have-cpp-asm-debuginfo): Removed.
6457 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6458 * configure: Regenerated.
6459
784761be
JM
64602012-09-14 Joseph Myers <joseph@codesourcery.com>
6461
6462 [BZ #5044]
6463 * stdio-common/printf_fp.c: Include <stdbool.h> and
6464 <rounding-mode.h>.
6465 (___printf_fp): Determine rounding using get_rounding_mode and
6466 round_away.
6467 * stdio-common/tst-printf-round.c: New file.
6468 * stdio-common/Makefile (tests): Add tst-printf-round.
6469 (link-libm): New variable.
6470 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6471
9503345f
L
64722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6473
6474 [BZ #14576]
6475 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6476 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6477 Likewise.
6478 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6479 Likewise.
6480
ad35fc00
JM
64812012-09-13 Joseph Myers <joseph@codesourcery.com>
6482
6483 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6484 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6485 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6486 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6487
6c9b0f68
JM
64882012-09-12 Joseph Myers <joseph@codesourcery.com>
6489
6490 [BZ #14518]
6491 * include/rounding-mode.h: New file.
6492 * sysdeps/generic/get-rounding-mode.h: Likewise.
6493 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6494 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6495 (MAX_VALUE): New macro.
6496 (MIN_VALUE): Likewise.
6497 (overflow_value): New function.
6498 (underflow_value): Likewise.
6499 (round_and_return): Use overflow_value and underflow_value to
6500 determine return values in overflow and underflow cases. Use
6501 round_away to determine rounding depending on rounding mode.
6502 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6503 determine return values in overflow and underflow cases.
6504 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6505 (struct test_results): New structure.
6506 (struct test): Use struct test_results to store expected results
6507 for all rounding modes.
6508 (TEST): Include expected results for all rounding modes.
6509 (test_in_one_mode): New function.
6510 (do_test): Use test_in_one_mode to compute and check results.
6511 Check results for all rounding modes.
6512 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6513 $(link-libm).
6514
19fcedd5
AM
65152012-12-09 Allan McRae <allan@archlinux.org>
6516
1e9d84cd 6517 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6518
8bbfd2f1
JM
65192012-09-11 Joseph Myers <joseph@codesourcery.com>
6520
6521 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6522 (_G_int32_t): Likewise.
6523 (_G_uint16_t): Likewise.
6524 (_G_uint32_t): Likewise.
6525 (_G_HAVE_BOOL): Likewise.
6526 (_G_HAVE_ATEXIT): Likewise.
6527 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6528 (_G_HAVE_IO_FILE_OPEN): Likewise.
6529 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6530 (_G_int32_t): Likewise.
6531 (_G_uint16_t): Likewise.
6532 (_G_uint32_t): Likewise.
6533 (_G_HAVE_BOOL): Likewise.
6534 (_G_HAVE_ATEXIT): Likewise.
6535 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6536 (_G_HAVE_IO_FILE_OPEN): Likewise.
6537 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6538 (_G_int32_t): Likewise.
6539 (_G_uint16_t): Likewise.
6540 (_G_uint32_t): Likewise.
6541 (_G_HAVE_BOOL): Likewise.
6542 (_G_HAVE_ATEXIT): Likewise.
6543 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6544 (_G_HAVE_IO_FILE_OPEN): Likewise.
6545
b1dc5912
L
65462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * csu/libc-tls.c: Update copyright years.
6549
0e886ef9
JM
65502012-09-10 Joseph Myers <joseph@codesourcery.com>
6551
28361c5e
JM
6552 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6553 [!_G_USING_THUNKS]: Remove conditional code.
6554 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6555 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6556
0e886ef9
JM
6557 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6558 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6559 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6560 (_G_VTABLE_LABEL_PREFIX): Likewise.
6561 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6562 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6564 (_G_VTABLE_LABEL_PREFIX): Likewise.
6565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6566 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6567 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6568 (_G_VTABLE_LABEL_PREFIX): Likewise.
6569 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6570
bcba7aa2
L
65712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6572
6573 * libio/Makefile: Include ../Makeconfig before tests.
6574 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6575 only if $(build-shared) is yes.
6576
06585ee8
L
6577 * iconv/gconv_db.c: Update copyright years.
6578
80ccd52c
LD
65792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6580
6581 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6582 unwind info if defined PIC. Fix special cases description.
6583 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6584
6585 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6586 DP_HI_MASK entry.
6587 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6588
691bc9c1
L
65892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6590
3d9b46b3
L
6591 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6592
de2139a9
L
6593 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6594 is NULL.
6595
5ca78dd0
L
6596 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6597 (LDLIBS-tst-chk4): This.
6598 (LDFLAGS-tst-chk5): Renamed to ...
6599 (LDLIBS-tst-chk5): This.
6600 (LDFLAGS-tst-chk6): Renamed to ...
6601 (LDLIBS-tst-chk6): This.
6602 (LDFLAGS-tst-lfschk4): Renamed to ...
6603 (LDLIBS-tst-lfschk4): This.
6604 (LDFLAGS-tst-lfschk5): Renamed to ...
6605 (LDLIBS-tst-lfschk5): This.
6606 (LDFLAGS-tst-lfschk6): Renamed to ...
6607 (LDLIBS-tst-lfschk6): This.
6608
691bc9c1
L
6609 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6610 on $(common-objpfx)soversions.mk.
6611
65cafb1c
JM
66122012-09-07 Joseph Myers <joseph@codesourcery.com>
6613
6614 [BZ #10014]
6615 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6616 example host name.
6617
c78ab094
SP
66182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
6620 * malloc/arena.c (arena_get_retry): New function that gets
6621 another arena for the caller to try its request on.
6622 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6623 current arena cannot fulfill the request.
6624 (__libc_memalign): Likewise.
6625 (__libc_memalign): Likewise.
6626 (__libc_pvalloc): Likewise.
6627 (__libc_calloc): Likewise.
6628
01f49f59
JT
66292012-09-05 John Tobey <john.tobey@gmail.com>
6630
6631 [BZ #13542]
6632 * manual/arith.texi (Operations on Complex): Fix description
6633 of carg branch cut.
6634
4c23fed5
JM
66352012-09-06 Joseph Myers <joseph@codesourcery.com>
6636
1d3c8572
JM
6637 [BZ #10014]
6638 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6639 host name.
6640
4c23fed5
JM
6641 [BZ #10038]
6642 * manual/memory.texi (Memory): Make order of menu items match
6643 order of sections.
6644
04570aaa
L
66452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6646
6647 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6648 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6649 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6650
b80af2f4
L
66512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6652
6653 * csu/libc-tls.c (static_dtv): Renamed to ...
6654 (_dl_static_dtv): This. Make it global.
6655 (_dl_initial_dtv): Removed.
6656 (__libc_setup_tls): Updated.
6657 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6658 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6659 DL_INITIAL_DTV.
6660
2abe9f15
PM
66612012-09-06 Petr Machata <pmachata@redhat.com>
6662
6663 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6664 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6665 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6666 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6667
0948c3af
L
66682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6669
6670 [BZ #14545]
6671 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6672 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6673 freeing dtv[-1].
6674
a5055ad1
L
66752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6676
6677 [BZ #14544]
6678 * Makeconfig (link-static-before-libc): Replace $(+prector)
6679 with $(+prectorT).
6680 (link-static-after-libc): Replace $(+postctor) with
6681 $(+postctorT).
6682 (link-bounded): Replace $(+prector)/$(+postctor) with
6683 $(+prectorT)/$(+postctorT).
6684 (+prectorT): New macro.
6685 (+postctorT): Likewise.
6686
ed8c2ecd
JM
66872012-09-06 Joseph Myers <joseph@codesourcery.com>
6688
6689 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6690 (round_str): Handle values above the maximum for IBM long double
6691 as inexact.
6692 * stdlib/tst-strtod-round.c (tests): Regenerated.
6693
14c996c8
AK
66942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6695
6696 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6697 assembler flag.
6698 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6699 zarch_nohighgprs around the zarch optimized routines.
6700 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6701 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6703 for zarch.
6704
430d6ce6
DM
67052012-09-05 David S. Miller <davem@davemloft.net>
6706
6707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6708
ff04dda4
DM
6709 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6710 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6711 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6712 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6713 entries.
6714
24d4e01b
AO
67152012-09-05 Alexandre Oliva <aoliva@redhat.com>
6716
6717 * malloc/arena.c: Fold copyright years.
6718 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6719
61d58174
AO
67202012-09-05 Alexandre Oliva <aoliva@redhat.com>
6721
6722 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6723
20196a5e
AO
67242012-09-05 Alexandre Oliva <aoliva@redhat.com>
6725
6726 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6727
5c447383
AO
67282012-09-05 Alexandre Oliva <aoliva@redhat.com>
6729
6730 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6731 change internal state upon failure.
6732
fad64255
AO
67332012-09-05 Alexandre Oliva <aoliva@redhat.com>
6734
6735 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6736 * malloc/memusage.c (mmap): Likewise.
6737 (mmap64, mremap): Likewise. Adjust name in comment.
6738
1ffb8c90
SP
67392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6740
6741 * libio/fileops.c: Fix typos in comments.
6742 * libio/oldfileops.c: Likewise.
6743 * libio/wfileops.c: Likewise.
6744
6ef9cc37
SP
67452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6746
6747 [BZ #1349]
6748 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6749 (tst-malloc-usable-ENV): Set environment for test case.
6750 * malloc/hooks.c (malloc_check_get_size): New function to get
6751 requested size.
6752 * malloc/malloc.c (musable): Use malloc_check_get_size.
6753 * malloc/tst-malloc-usable.c: New test case.
6754
4d038ae3
AS
67552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6756
6757 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6758
c4e85184
AM
67592012-09-05 Allan McRae <allan@archlinux.org>
6760
b9dafc56 6761 [BZ #13966]
c4e85184
AM
6762 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6763 determine header location.
6764 * configure: Regenerated.
6765
e1343020
AS
67662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6767
6768 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6769 float format.
6770 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6771 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6772 format.
e1343020
AS
6773 (test): Regenerate.
6774
0a9f1987
DM
67752012-09-04 David S. Miller <davem@davemloft.net>
6776
6777 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6778 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6779 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6780
29237804
FW
67812012-09-04 Florian Weimer <fweimer@redhat.com>
6782
6783 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6784 failures.
6785
edb3cb88
FW
6786 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6787
60160d83
JM
67882012-09-04 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #9914]
6791 * libio/iogetdelim.c: Include <limits.h>.
6792 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6793 + len + 1 would overflow.
6794
bcd6c8dc
AJ
67952012-09-03 Andreas Jaeger <aj@suse.de>
6796
6797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6798 * sysdeps/i386/fpu/libm-test-ulps: Update.
6799
4ffffbd2
LD
68002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6801
6802 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6803 Add s_sinf-sse2, s_conf-sse2.
6804
6805 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6806 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6807 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6808 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6809
6810 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6811 for using routine as __sinf_ia32.
6812 Use macro for function declaration and weak_alias.
6813 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6814 for using routine as __cosf_ia32.
6815 Use macro for function declaration and weak_alias.
6816
6817 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6818 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6819
6820 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6821 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6823
6824 * math/libm-test.inc (cos_test): Add more test cases.
6825 (sin_test): Likewise.
6826 (sincos_test): Likewise.
6827
511fa286
AK
68282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6829
6830 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6831 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6832 hidden.
6833 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6834
5f30cfec
L
68352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6836
6837 [BZ #14538]
6838 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6839 first element of the GOT.
6840 (elf_machine_load_address): Return the difference between
6841 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6842
0786794f
AM
68432012-09-01 Allan McRae <allan@archlinux.org>
6844
5f30cfec
L
6845 [BZ #13412]
6846 * configure.in (AWK): Require gawk version 3.0 or later.
6847 * configure: Regenerated.
0786794f 6848
26889eac
JM
68492012-09-01 Joseph Myers <joseph@codesourcery.com>
6850
6851 * sysdeps/unix/sysv/linux/kernel-features.h
6852 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6854 [__NR_clock_getres]: Make code unconditional.
6855 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6856 (clock_getcpuclockid): Remove code left unreachable by removal of
6857 conditionals.
6858 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6859 code unconditional.
6860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6862 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6863 Make code unconditional.
6864 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6865 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6866 * sysdeps/unix/sysv/linux/clock_settime.c
6867 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6868 conditional code.
6869 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6870 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6871
d22e28b0
L
68722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6873
6874 [BZ #14476]
6875 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6876 scripts/test-installation.pl.
6877
6878 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6879 and $ld_so_version if it is set.
6880
050af9c4
SP
68812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6882
6883 [BZ #14516]
6884 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6885 failure if reading from procfs failed.
6886 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6887
ad845c0b
JM
68882012-08-27 Joseph Myers <joseph@codesourcery.com>
6889
6890 * sysdeps/unix/sysv/linux/kernel-features.h
6891 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6892 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6893 Remove conditional code.
6894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6895 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6896 Remove conditional code.
6897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6898 * sysdeps/unix/sysv/linux/i386/fxstat.c
6899 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6901 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6902 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6904 * sysdeps/unix/sysv/linux/i386/lxstat.c
6905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6907 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6908 Remove conditional code.
6909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6910 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6911 Remove conditional code.
6912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6914 <kernel-features.h>.
6915 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6916 Remove.
6917 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6918 Remove conditional code.
6919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6920 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6921 Remove conditional.
6922
5dbf56af
MF
69232012-08-27 Mike Frysinger <vapier@gentoo.org>
6924
6925 [BZ #5400]
6926 * NEWS: Add fixed bug number.
6927
d6e70f43
JM
69282012-08-27 Joseph Myers <joseph@codesourcery.com>
6929
7efb4737
JM
6930 [BZ #14519]
6931 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6932 underflowing exponent in case of negative sign.
6933 * stdlib/tst-strtod-round-data: Add more tests.
6934 * stdlib/tst-strtod-round.c (tests): Regenerated.
6935
af92131a
JM
6936 [BZ #3479]
6937 * stdlib/strtod_l.c (NDIG): Remove.
6938 (HEXNDIG): Likewise.
6939 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6940 smallest representable value.
6941 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6942 lie within an exact representation of 1/2 ulp of the result.
6943 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6944 unconditionally.
6945 (TENS_P9_IDX): Define unconditionally.
6946 (TENS_P9_SIZE): Likewise.
6947 (TENS_P10_IDX): Likewise.
6948 (TENS_P10_SIZE): Likewise.
6949 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6950 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6951 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6952 entries for 10^2^13 and 10^2^14.
6953 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6954 (TENS_P13_IDX): Define.
6955 (TENS_P13_SIZE): Likewise.
6956 (TENS_P14_IDX): Likewise.
6957 (TENS_P14_SIZE): Likewise.
6958 (_fpioconst_pow10): Change array size to
6959 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6960 unconditional.
6961 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6962 1024]: Add entries for 10^2^13 and 10^2^14.
6963 [LAST_POW10 > _LAST_POW10]: Remove #error.
6964 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6965 (_fpioconst_pow10): Change array size to
6966 FPIOCONST_POW10_ARRAY_SIZE.
6967 * stdlib/gen-fpioconst.c: New file.
6968 * stdlib/gen-tst-strtod-round.c: Likewise.
6969 * stdlib/tst-strtod-round-data: Likewise.
6970 * stdlib/tst-strtod-round.c: Likewise.
6971 * stdlib/Makefile (tests): Add tst-strtod-round.
6972
d6e70f43
JM
6973 [BZ #14459]
6974 * stdlib/strtod_l.c: Include <stdint.h>.
6975 (NDEBUG): Do not define.
6976 (round_and_return): Change EXPONENT parameter to type intmax_t.
6977 Rearrange calculations to avoid internal overflow possibilities.
6978 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6979 Rearrange calculations to avoid internal overflow possibilities.
6980 Assert that number fits inside MPNSIZE limbs.
6981 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6982 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6983 calculations and add assertions to avoid internal overflow
6984 possibilities. Add casts to avoid signed/unsigned operations.
6985 * stdlib/tst-strtod-overflow.c: New file.
6986 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6987
1f529f7d
MP
69882012-08-25 Marek Polacek <polacek@redhat.com>
6989
6990 * time/time.h: Fix some typos in comments.
6991
59a629f1
RM
69922012-08-23 Roland McGrath <roland@hack.frob.com>
6993
6994 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6995 * posix/tst-rfc3484-2.c: Likewise.
6996 * posix/tst-rfc3484-3.c: Likewise.
6997
d3bafbc9
SM
69982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6999
7000 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7001 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7002
4efcc022
JM
70032012-08-23 Joseph Myers <joseph@codesourcery.com>
7004
7005 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7006 #include of fxstatat64.c.
7007
3cc3ef96
RM
70082012-08-22 Roland McGrath <roland@hack.frob.com>
7009
f04e2132
RM
7010 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7011 * shadow/getspent_r.c: Likewise.
7012 * shadow/getspnam.c: Likewise.
7013 * shadow/getspnam_r.c: Likewise.
7014 * gshadow/getsgent.c: Likewise.
7015 * gshadow/getsgent_r.c: Likewise.
7016 * gshadow/getsgnam.c: Likewise.
7017 * gshadow/getsgnam_r.c: Likewise.
7018 * inet/getnetbyad.c: Likewise.
7019 * inet/getnetbyad_r.c: Likewise.
7020 * inet/getnetbynm.c: Likewise.
7021 * inet/getnetbynm_r.c: Likewise.
7022 * inet/getnetent.c: Likewise.
7023 * inet/getnetent_r.c: Likewise.
7024 * inet/getproto.c: Likewise.
7025 * inet/getproto_r.c: Likewise.
7026 * inet/getprtent.c: Likewise.
7027 * inet/getprtent_r.c: Likewise.
7028 * inet/getprtname.c: Likewise.
7029 * inet/getprtname_r.c: Likewise.
7030 * inet/getrpcbyname.c: Likewise.
7031 * inet/getrpcbyname_r.c: Likewise.
7032 * inet/getrpcbynumber.c: Likewise.
7033 * inet/getrpcbynumber_r.c: Likewise.
7034 * inet/getrpcent.c: Likewise.
7035 * inet/getrpcent_r.c: Likewise.
7036 * inet/getaliasent.c: Likewise.
7037 * inet/getaliasent_r.c: Likewise.
7038 * inet/getaliasname.c: Likewise.
7039 * inet/getaliasname_r.c: Likewise.
7040 * nscd/getgrgid_r.c: Likewise.
7041 * nscd/getgrnam_r.c: Likewise.
7042 * nscd/gethstbyad_r.c: Likewise.
7043 * nscd/gethstbynm3_r.c: Likewise.
7044 * nscd/getpwnam_r.c: Likewise.
7045 * nscd/getpwuid_r.c: Likewise.
7046 * nscd/getsrvbynm_r.c: Likewise.
7047 * nscd/getsrvbypt_r.c: Likewise.
7048 * nscd/gai.c: Likewise.
7049
c53d909c
RM
7050 * configure.in (build_nscd): New substituted variable, set
7051 by --disable-build-nscd and defaults to $use_nscd.
7052 * configure: Regenerated.
7053 * config.make.in (build-nscd): New substituted variable.
7054 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7055 Change conditional to require [$(build-nscd) = yes] as well.
7056 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7057
3cc3ef96
RM
7058 [BZ# 13696]
7059 * configure.in (use_nscd): New substituted variable, set by
7060 --disable-nscd. If enabled, define USE_NSCD.
7061 * configure: Regenerated.
7062 * config.h.in: Add USE_NSCD.
7063 * config.make.in (use-nscd): New substituted variable.
7064 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7065 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7066 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7067 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7068 (CFLAGS-getgrnam_r.c): Likewise.
7069 (CFLAGS-initgroups.c): Likewise.
7070 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7071 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7072 Variables removed.
7073 * inet/getnetgrent_r.c
7074 (nscd_setnetgrent): New function, broken out of ...
7075 (setnetgrent): ... here. Call it.
7076 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7077 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7078 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7079 * nscd/Makefile (routines, aux): Move definitions after include of
7080 Makeconfig. Conditionalize on [$(use-nscd) != no].
7081 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7082 Conditionalize on [USE_NSCD].
7083 (is_nscd, nscd_init_cb): Likewise.
7084 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7085 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7086 * nss/nss_db/db-init.c: Likewise.
7087 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7088 [USE_NSCD].
7089 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7090 (make_request): Use it.
7091 (cache_valid_p): New function.
7092 (__check_pf): Use it.
7093 * NEWS: Add item for --disable-nscd.
7094
07e51550
DL
70952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7096
7097 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7098 to support sed >= 4.2.1-20-ga9bf076.
7099 * configure: Regenerated.
7100
35a5b08b
RM
71012012-08-22 Roland McGrath <roland@hack.frob.com>
7102
7103 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7104 Conditionalize whole body on [IREL].
7105
8479f23a
JL
71062012-08-22 Jeff Law <law@redhat.com>
7107
7108 [BZ #14505]
7109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7110 if the family is PF_UNSPEC.
7111
48da0b21
MF
71122012-08-22 Mike Frysinger <vapier@gentoo.org>
7113
7114 * Makerules (lib-version): Rename from V.
7115 (install-lib-nosubdir): Change V to lib-version.
7116
15d0da8c
WS
71172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7118
7119 [BZ #14252]
7120 * powerpc32/power6/wcschr.c: New file.
7121 * powerpc32/power6/wcscpy.c: New file.
7122 * powerpc32/power6/wcsrchr.c: New file.
7123 * powerpc64/power6/wcschr.c: New file.
7124 * powerpc64/power6/wcscpy.c: New file.
7125 * powerpc64/power6/wcsrchr.c: New file.
7126
bcca0895
MK
71272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7128
7129 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7130 (two_way_short_needle): Use it.
5a4aaa33
RM
7131 * string/strstr.c (AVAILABLE1_USES_J): Define.
7132 * string/strcasestr.c: Likewise.
99677e57
MK
7133
7134 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7135 array references.
7136 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7137
400726de
MK
7138 [BZ #11607]
7139 * NEWS: Add an entry.
7140 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7141 define their defaults.
7142 (two_way_short_needle): Detect end-of-string on-the-fly.
7143 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7144 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7145 * string/bug-strcasestr1.c: New test.
7146 * string/Makefile: Run it.
7147
20a71f2c
MK
71482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7149
7150 [BZ #11607]
7151 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7152 the first character.
7153
21ad0558
RM
71542012-08-21 Roland McGrath <roland@hack.frob.com>
7155
7156 * csu/elf-init.c (__libc_csu_irel): Function removed.
7157 * csu/libc-start.c (apply_irel): New function.
7158 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7159
0e1d9911
JM
71602012-08-21 Joseph Myers <joseph@codesourcery.com>
7161
7162 * sysdeps/unix/sysv/linux/kernel-features.h
7163 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7164 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7165 <kernel-features.h>.
7166 [__NR_fadvise64_64]: Make code unconditional.
7167 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7168 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7169 !__NR_fadvise64_64)]: Likewise.
7170 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7171 !__NR_fadvise64_64))]: Likewise.
7172 [__NR_fadvise64]: Make code unconditional.
7173 [!__NR_fadvise64]: Remove conditional code.
7174 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7175 <kernel-features.h>.
7176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7177 unconditional.
7178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7179 conditional code.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7181 not include <kernel-features.h>.
7182 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7183 unconditional.
7184 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7185 conditional code.
7186 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7187 include <kernel-features.h>.
7188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7189 unconditional.
7190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7191 conditional code.
7192
14a50c9d
WS
71932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7194
7195 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7196 slight instruction rearrangements per scrollpipe analysis.
7197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7198
c0f4faf0
RM
71992012-08-20 Roland McGrath <roland@hack.frob.com>
7200
696da859
RM
7201 * manual/syslog.texi (syslog; vsyslog, closelog):
7202 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7203 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7204
c0f4faf0
RM
7205 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7206 DSOCAPS to match condition on defining it.
7207
348363b2
JM
72082012-08-20 Joseph Myers <joseph@codesourcery.com>
7209
a35cbf28
JM
7210 * sysdeps/unix/sysv/linux/kernel-features.h
7211 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7213 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7214 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7221
445f7ecd
JM
7222 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7223 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7224
348363b2
JM
7225 * sysdeps/unix/sysv/linux/kernel-features.h
7226 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7227 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7228 unconditional.
7229 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7230 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7233 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7234 Make code unconditional.
7235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7236 (__mmap64) [!__NR_mmap2]: Likewise.
7237 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7238 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7239 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7241 [__NR_mmap2]: Make code unconditional.
7242 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7243 (__mmap64) [!__NR_mmap2]: Likewise.
7244
bc5bc0e5
AK
72452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7246
7247 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7248
88d506de
AJ
72492012-08-18 Andreas Jaeger <aj@suse.de>
7250
7251 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7252
493387d2
MF
72532012-08-18 Mike Frysinger <vapier@gentoo.org>
7254
7255 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7256 * include/unistd.h (__have_sock_cloexec): Likewise.
7257 (__have_pipe2): Likewise.
7258 (__have_dup3): Likewise.
7259
a277af22
MF
72602012-08-18 Mike Frysinger <vapier@gentoo.org>
7261
7262 [BZ #9685]
7263 * include/unistd.h (__have_pipe2): Change define into an extern int.
7264 (__have_dup3): Likewise.
7265 * socket/have_sock_cloexec.c: Include fcntl.h.
7266 (__have_pipe2): New variable.
7267 (__have_dup3): Likewise.
7268
fdab8fd3
MF
72692012-08-17 Mike Frysinger <vapier@gentoo.org>
7270
7271 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7272
31035e80
MP
72732012-08-17 Marek Polacek <polacek@redhat.com>
7274
7275 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7276 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7277
3bd9e993
RM
72782012-08-17 Roland McGrath <roland@hack.frob.com>
7279
c91c505f
RM
7280 * configure.in: Add AC_SUBST for sysheaders.
7281 * configure: Regenerated.
7282 * config.make.in (sysheaders): New substituted variable.
7283
7c6f9d53
RM
7284 * sysdeps/unix/mkfifo.c: Moved ...
7285 * sysdeps/posix/mkfifo.c: ... here.
7286 * sysdeps/unix/mkfifoat.c: Moved ...
7287 * sysdeps/posix/mkfifoat.c: ... here.
7288
7289 * sysdeps/unix/utime.c: Moved ...
7290 * sysdeps/posix/utime.c: ... here.
7291
7292 * sysdeps/unix/time.c: Moved ...
7293 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7294 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7295 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7296
7297 * sysdeps/unix/nice.c: Moved ...
7298 * sysdeps/posix/nice.c: ... here.
7299
7300 * sysdeps/unix/alarm.c: Moved ...
7301 * sysdeps/posix/alarm.c: ... here.
7302
3bd9e993
RM
7303 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7304
d1f09384
JL
73052012-08-17 Jeff Law <law@redhat.com>
7306
7307 * intl/Makefile (codeset_mo): New variable.
7308 ($(codeset_mo)): New target.
7309 (tst-codeset.out): Depend on that. Remove explicit rule.
7310 (tst-gettext3.out, tst-gettext5.out): Likewise.
7311 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7312 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7313 * intl/tst-codeset.sh: Remove.
7314 * intl/tst-gettext3.sh: Likewise.
7315 * intl/tst-gettext5.sh: Likewise.
7316
2ae1ae5c
RM
73172012-08-17 Roland McGrath <roland@hack.frob.com>
7318
c31fdb83
RM
7319 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7320 * sysdeps/unix/syscalls.list: ... here.
7321
a0844057
RM
7322 * sysdeps/posix/getaddrinfo.c
7323 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7324 (gaiconf_init, gaiconf_reload): Use them.
7325 [!_STATBUF_ST_NSEC]
7326 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7327 Define using time_t rather than struct timespec.
7328
750c1f2a
RM
7329 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7330 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7331 Macros removed.
7332 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7333 [!NO_THREADS].
7334 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7335 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7336 Likewise.
7337
2ae1ae5c
RM
7338 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7339 __libc_cleanup_push argument.
7340
e66a42f5
RM
7341 * bits/param.h: New file.
7342 * misc/sys/param.h: New file.
7343 * include/sys/param.h: New file.
7344 * misc/Makefile (headers): Add bits/param.h.
7345 * sysdeps/generic/sys/param.h: File removed.
7346 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7347 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7348 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7349 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7350
b7c08a66
RM
7351 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7352 last change.
7353
b2e1c562
RM
7354 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7355 [_IO_MTSAFE_IO].
7356 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7357 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7358 New macros.
7359
c75ccd4c
RM
7360 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7361 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7362 rather than -D_IO_MTSAFE_IO conditionally.
7363 * stdio-common/Makefile (CPPFLAGS): Likewise.
7364 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7365 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7366 Use $(libio-mtsafe).
7367 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7368 of -D_IO_MTSAFE_IO.
7369 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7370 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7371 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7372 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7373 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7374 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7375 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7376 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7377 (CFLAGS-fread_u_chk.c): Likewise.
7378 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7379 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7380 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7381 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7382 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7383 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7384 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7385 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7386 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7387
7388 * libio/Makefile: Test [$(libc-reentrant) = yes]
7389 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7390
7391 * Makeconfig
7392 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7393 * sysdeps/pthread/configure: File removed.
7394 * sysdeps/pthread/Makeconfig: New file.
7395 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7396 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7397
d9195db8
GB
73982012-08-16 Gary Benson <gbenson@redhat.com>
7399
7400 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7401 unmapping the first object in a namespace.
7402
86466cd9
RM
74032012-08-16 Roland McGrath <roland@hack.frob.com>
7404
7405 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7406 (__internal_setnetgrent): ... this. Add internal_function to
7407 definition. Add libc_hidden_def.
7408 (setnetgrent): Update caller.
7409 (internal_endnetgrent): Renamed to ...
7410 (__internal_endnetgrent): ... this. Add internal_function to
7411 definition. Add libc_hidden_def.
7412 (endnetgrent): Update caller.
7413 (internal_getnetgrent_r): Renamed to ...
7414 (__internal_getnetgrent_r): ... this. Add internal_function to
7415 definition. Add libc_hidden_def.
7416 (__getnetgrent_r): Update caller.
7417 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7418
c3c8283c
JM
74192012-08-16 Joseph Myers <joseph@codesourcery.com>
7420
7421 * stdlib/longlong.h: Update from GCC.
7422
db1ee0a8
RM
74232012-08-16 Roland McGrath <roland@hack.frob.com>
7424
7425 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7426 on _QL, which is set by umul_ppmm but never used.
7427 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7428 variables, which are set by GMP macros but never used.
7429 * stdio-common/_itowa.c (_itowa): Likewise.
7430 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7431 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7432
30f69637
CD
74332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7434
7435 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7436 struct La_sh_regs is not constant.
7437 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7438 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7439 and struct La_sparc64_regs are not constant.
7440
93a78ac4
JM
74412012-08-16 Joseph Myers <joseph@codesourcery.com>
7442
7443 * sysdeps/unix/sysv/linux/kernel-features.h
7444 (__ASSUME_POSIX_TIMERS): Remove.
7445 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7447 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7448 Make code unconditional.
7449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7450 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7451 Make code unconditional.
7452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7453 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7454 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7456 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7457 Make code unconditional.
7458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7459 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7460 (__libc_missing_posix_timers): Remove.
7461
dd924cd7
RM
74622012-08-15 Roland McGrath <roland@hack.frob.com>
7463
4b4f2771
RM
7464 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7465 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7466
601c888b
RM
7467 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7468
176790a7
RM
7469 * elf/dl-sym.c: Include <stdlib.h>.
7470
329bc018
RM
7471 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7472 constants, which avoids warnings in 32-bit builds.
7473
e04e272d
RM
7474 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7475 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7476
952bf94a
RM
7477 * misc/lseek.c: File moved to ...
7478 * io/lseek.c: ... here.
7479
7c99b50a
RM
7480 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7481
dd924cd7
RM
7482 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7483 shifting LEN more than 31 bits at once.
7484
b3f479a8
LD
74852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7486
7487 [BZ #14195]
8c4ae0d4
RM
7488 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7489 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7490 * string/test-strncasecmp.c (check1): Renamed to...
7491 (bz12205): ...this.
7492 (bz14195): Add new testcase for two empty input strings and N > 0.
7493 (test_main): Call new testcase, adapt for renamed function.
7494
9c55864e
AJ
74952012-08-15 Andreas Jaeger <aj@suse.de>
7496
7497 [BZ #14090]
7498 * crypt/md5test2.c: New test, based on test supplied by Serge
7499 Belyshev <belyshev@depni.sinp.msu.ru>.
7500 * crypt/Makefile (xtests): Add md5test-giant..
7501 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7502
02dcb6c5
PE
75032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7504
7505 [BZ #14090]
7506 * crypt/md5.c (md5_process_block): Don't assume the buffer
7507 length is less than 2**32.
7508 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7509 length is less than 2**64.
7510
a3f95dcc
RM
75112012-08-15 Roland McGrath <roland@hack.frob.com>
7512
be75d758
RM
7513 * string/str-two-way.h: Include <sys/param.h>.
7514 (MAX): Macro removed.
7515
7312ca90
RM
7516 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7517 Move #define and #undef of memmove to just before and after
7518 including <string.h>.
7519
9a0a5486
RM
7520 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7521 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7522 and after including <string.h>. Move declarations of
7523 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7524 to before #include "string/memmove.c".
7525
67cc348d
RM
7526 * include/dirent.h: Declare __getdirentries.
7527
a3f95dcc
RM
7528 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7529 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7530
ca98e171
MF
75312012-08-14 Mike Frysinger <vapier@gentoo.org>
7532
7533 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7534 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7535 * sysdeps/i386/configure: Regenerated.
7536 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7537 STABS_CURRENT_FILE, and STABS_FUN.
7538 (END): Remove call to STABS_FUN_END.
7539 (STABS_CURRENT_FILE1): Delete.
7540 (STABS_CURRENT_FILE): Likewise.
7541 (STABS_FUN): Likewise.
7542 (STABS_FUN_END): Likewise.
7543 (STABS_FUN2): Likewise.
7544 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7545 * sysdeps/x86_64/configure: Regenerated.
7546
5908bf46
RM
75472012-08-14 Roland McGrath <roland@hack.frob.com>
7548
7549 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7550 * elf/dl-lookup.c: Likewise.
5908bf46 7551
f2c05b9e
JM
75522012-08-14 Joseph Myers <joseph@codesourcery.com>
7553
7554 * sysdeps/unix/sysv/linux/kernel-features.h
7555 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7556 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7557 unconditionally.
7558 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7559 unconditionally.
7560 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7561 condition on __ASSUME_CLONE_THREAD_FLAGS.
7562
e11f5155
AJ
75632012-08-14 Andreas Jaeger <aj@suse.de>
7564
7565 * sysdeps/i386/fpu/libm-test-ulps: Update.
7566
51a9ba86
MK
75672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7568
2fdd4f78
AJ
7569 * include/atomic.h (atomic_exchange_and_add): Split into ...
7570 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7571 New atomic macros.
51a9ba86 7572
ba6cba9e
MT
75732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7574
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7576
42443a47
JL
75772012-08-13 Jeff Law <law@redhat.com>
7578
7579 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7580 null byte in the output string.
7581
121dce05
JM
75822012-08-10 Joseph Myers <joseph@codesourcery.com>
7583
7584 * sysdeps/unix/sysv/linux/kernel-features.h
7585 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7586 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7587 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7588 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7589 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7590 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7591 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7592
bf51f568
JL
75932012-08-09 Jeff Law <law@redhat.com>
7594
7595 [BZ #13939]
7596 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7597 When avoid_arena is set, don't retry in the that arena. Pick the
7598 next one, whatever it might be.
7599 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7600 (arena_lock): Pass in new parameter to arena_get2.
7601 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7602 arena_get2.
7603 (__libc_malloc): Unify retrying after main arena failure with
7604 __libc_memalign version.
7605 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7606
f85fa270
L
76072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 [BZ #14166]
7610 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7611 to __redirect_strstr.
7612 (__strstr_sse42): Use typeof __redirect_strstr.
7613 (__strstr_ia32): Likewise.
7614 (__libc_strstr): New prototype.
7615 (strstr): Renamed to ...
7616 (__libc_strstr): This.
7617 (strstr): New strong alias of __libc_strstr.
7618 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7619 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7620 __redirect_time.
7621 Include <time.h>.
7622 (__libc_time): New prototype.
7623 (time_ifunc): Replace time with __libc_time.
7624 (time): New strong alias and hidden definition of __libc_time.
7625 (__GI_time): Remove strong alias.
7626 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7627 Include <stddef.h>.
7628 (memmove): Redefined to __redirect_memmove.
7629 (__memmove_sse2): Use typeof __redirect_memmove.
7630 (__memmove_ssse3): Likewise.
7631 (__memmove_ssse3_back): Likewise.
7632 (__libc_memmove): New prototype.
7633 (memmove): Renamed to ...
7634 (__libc_memmove): This.
7635 (memmove): New strong alias of __libc_memmove.
7636
33b4a91e
MS
76372012-08-08 Mark Salter <msalter@redhat.com>
7638
7639 * elf/elf.h
7640 (R_MN10300_TLS_GD): Define.
7641 (R_MN10300_TLS_LD): Likewise.
7642 (R_MN10300_TLS_LDO): Likewise.
7643 (R_MN10300_TLS_GOTIE): Likewise.
7644 (R_MN10300_TLS_IE): Likewise.
7645 (R_MN10300_TLS_LE): Likewise.
7646 (R_MN10300_TLS_DTPMOD): Likewise.
7647 (R_MN10300_TLS_DTPOFF): Likewise.
7648 (R_MN10300_TLS_TPOFF): Likewise.
7649 (R_MN10300_SYM_DIFF): Likewise.
7650 (R_MN10300_ALIGN): Likewise.
7651 (R_MN10300_NUM): Update.
7652
b36137f1
JM
76532012-08-08 Joseph Myers <joseph@codesourcery.com>
7654
7655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7656 Remove.
7657
cdd915fd
RM
76582012-08-08 Roland McGrath <roland@hack.frob.com>
7659
a2433aac
RM
7660 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7661
cdd915fd
RM
7662 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7663 sysdeps/unix -> sysdeps/posix move.
7664 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7665
bf9b740a
AM
76662012-08-07 Allan McRae <allan@archlinux.org>
7667
7668 [BZ #14303]
7669 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7670 (SUNOS_CPP): Likewise.
7671 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7672 not found.
7673 (open_input): Call CPP using execvp.
7674
93df14ee
JM
76752012-08-07 Joseph Myers <joseph@codesourcery.com>
7676
7677 * sysdeps/unix/sysv/linux/kernel-features.h
7678 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7679 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7680 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7681 (__ASSUME_WAITID_SYSCALL): Likewise.
7682 * sysdeps/unix/sysv/linux/dl-execstack.c
7683 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7684 code unconditional.
7685 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7686 conditional code.
7687 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7688 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7689 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7690 code.
7691 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7692 unconditional.
7693 [__ASSUME_WAITID_SYSCALL]: Likewise.
7694 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7695
d34689de
RM
76962012-08-07 Roland McGrath <roland@hack.frob.com>
7697
a281decc
RM
7698 * sysdeps/unix/closedir.c: Renamed to ...
7699 * sysdeps/posix/closedir.c: ... here.
7700 * sysdeps/unix/dirfd.c: Renamed to ...
7701 * sysdeps/posix/dirfd.c: ... here.
7702 * sysdeps/unix/dirstream.h: Renamed to ...
7703 * sysdeps/posix/dirstream.h: ... here.
7704 * sysdeps/unix/fdopendir.c: Renamed to ...
7705 * sysdeps/posix/fdopendir.c: ... here.
7706 * sysdeps/unix/opendir.c: Renamed to ...
7707 * sysdeps/posix/opendir.c: ... here.
7708 * sysdeps/unix/readdir.c: Renamed to ...
7709 * sysdeps/posix/readdir.c: ... here.
7710 * sysdeps/unix/readdir_r.c: Renamed to ...
7711 * sysdeps/posix/readdir_r.c: ... here.
7712 * sysdeps/unix/rewinddir.c: Renamed to ...
7713 * sysdeps/posix/rewinddir.c: ... here.
7714 * sysdeps/unix/seekdir.c: Renamed to ...
7715 * sysdeps/posix/seekdir.c: ... here.
7716 * sysdeps/unix/telldir.c: Renamed to ...
7717 * sysdeps/posix/telldir.c: ... here.
7718 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7719 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7721 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7722
22895b47
RM
7723 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7724 * bits/fcntl.h: ... here.
7725
707a53b6
RM
7726 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7727 not 0.
7728 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7729 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7730 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7731 (struct flock): Move l_start, l_len to the beginning.
7732 Use __pid_t for l_pid.
7733 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7734 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7735 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7736 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7737 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7738 [__USE_LARGEFILE64] (struct flock64): New type.
7739 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7740
f0bd3e25
RM
7741 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7742 * bits/dirent.h: ... here.
7743
d34689de
RM
7744 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7745 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7746
6dad2c06
JM
77472012-08-07 Joseph Myers <joseph@codesourcery.com>
7748
7749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7750 Change from 2.6.0 to 2.6.16.
7751 * sysdeps/unix/sysv/linux/configure: Regenerated.
7752 * sysdeps/unix/sysv/linux/kernel-features.h
7753 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7754 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7755 version.
7756 (__ASSUME_UTIMES): Likewise.
7757 (__ASSUME_CLONE_STOPPED): Remove.
7758 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7759 architectures, not kernel version.
7760 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7761 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7762 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7763 (__ASSUME_WAITID_SYSCALL): Likewise.
7764 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7765 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7766 * README: State 2.6.16 as minimum Linux kernel version. Do not
7767 refer to older versions.
7768
03af9520
RM
77692012-08-06 Roland McGrath <roland@hack.frob.com>
7770
8e49df1d
RM
7771 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7772 Define alphasort64 as an alias.
7773 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7774 Define versionsort64 as an alias.
7775 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7776 Define scandir64 as an alias.
7777 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7778 Define scandirat64 as an alias.
7779 * dirent/alphasort64.c (alphasort64):
7780 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7781 * dirent/versionsort64.c: Likewise.
7782 * dirent/scandir64.c: Likewise.
7783 * dirent/scandirat64.c: Likewise.
7784 * sysdeps/wordsize-64/alphasort.c: File removed.
7785 * sysdeps/wordsize-64/alphasort64.c: File removed.
7786 * sysdeps/wordsize-64/scandir.c: File removed.
7787 * sysdeps/wordsize-64/scandir64.c: File removed.
7788 * sysdeps/wordsize-64/scandirat.c: File removed.
7789 * sysdeps/wordsize-64/scandirat64.c: File removed.
7790 * sysdeps/wordsize-64/versionsort.c: File removed.
7791 * sysdeps/wordsize-64/versionsort64.c: File removed.
7792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7800
7801 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7803 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7805 [defined __arch64__ || defined __sparcv9]
7806 (__INO_T_MATCHES_INO64_T): New macro.
7807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7808 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7809 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7810 * sysdeps/unix/sysv/linux/bits/dirent.h
7811 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7812 (_DIRENT_MATCHES_DIRENT64): New macro.
7813
03af9520
RM
7814 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7815 Define lockf64 as an alias.
7816 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7817 Define fseeko64 as an alias.
7818 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7819 Define ftello64 as an alias.
7820 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7821 Define _IO_fgetpos64 and fgetpos64 as aliases.
7822 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7823 Define _IO_fsetpos64 and fsetpos64 as aliases.
7824 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7825 Conditionalize body on this.
7826 * libio/fseeko64.c: Likewise.
7827 * libio/ftello64.c: Likewise.
7828 * libio/iofgetpos64.c: Likewise.
7829 * libio/iofsetpos64.c: Likewise.
7830 * sysdeps/wordsize-64/lockf.c: File removed.
7831 * sysdeps/wordsize-64/lockf64.c: File removed.
7832 * sysdeps/wordsize-64/fseeko.c: File removed.
7833 * sysdeps/wordsize-64/fseeko64.c: File removed.
7834 * sysdeps/wordsize-64/ftello.c: File removed.
7835 * sysdeps/wordsize-64/ftello64.c: File removed.
7836 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7837 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7838 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7839 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7850
7851 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7853 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7855 [defined __arch64__ || defined __sparcv9]
7856 (__OFF_T_MATCHES_OFF64_T): New macro.
7857 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7858 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7860 (__OFF_T_MATCHES_OFF64_T): New macro.
7861
c5757acd
L
78622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * stdlib/secure-getenv.c (__secure_getenv): Replace
7865 GLIBC_2_16 with GLIBC_2_17.
7866
3a31811e
L
78672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7868
7869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7871
faa2bccb
DM
78722012-08-03 David S. Miller <davem@davemloft.net>
7873
7874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7875
85fe1997
JM
78762012-08-03 Joseph Myers <joseph@codesourcery.com>
7877
7878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7879 Remove.
7880 (__ASSUME_CORRECT_SI_PID): Likewise.
7881 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7882 (__ASSUME_TMPFS_NAME): Likewise.
7883 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7884 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7885 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7886 (HAVE_AUX_SECURE): Make definition unconditional.
7887 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7888 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7889
4f75b7a0
RM
78902012-08-03 Roland McGrath <roland@hack.frob.com>
7891
7892 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7893 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7894 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7895 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7896 __eloop_threshold instead of SYMLOOP_MAX.
7897
7898 * sysdeps/generic/eloop-threshold.h: New file.
7899 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7900 of MAXSYMLINKS.
7901 * elf/chroot_canon.c (chroot_canon): Likewise.
7902
7aab07e4
JM
79032012-08-03 Joseph Myers <joseph@codesourcery.com>
7904
7905 [BZ #13717]
7906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7907 Change to 2.6.0 everywhere.
7908 * sysdeps/unix/sysv/linux/configure: Regenerated.
7909 * sysdeps/unix/sysv/linux/kernel-features.h
7910 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7911 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7912 kernel versions.
7913 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7914 (__ASSUME_FUTEX_REQUEUE): Remove.
7915 (__ASSUME_STATFS64): Define unconditionally.
7916 (__ASSUME_AT_SECURE): Likewise.
7917 (__ASSUME_CORRECT_SI_PID): Likewise.
7918 (__ASSUME_TGKILL): Define without depending on kernel version for
7919 i386.
7920 (__ASSUME_UTIMES): Likewise.
7921 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7922 kernel version.
7923 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7924 (__ASSUME_TMPFS_NAME): Likewise.
7925 * README: Update reference to Linux kernel versions.
7926
b67e9372
MP
79272012-08-02 Marek Polacek <polacek@redhat.com>
7928
1f529f7d 7929 [BZ# 14150]
b67e9372
MP
7930 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7931 libc_cv_asm_type_prefix with %.
7932 * configure: Regenerated.
d2441631
RM
7933 * include/libc-symbols.h: Remove comment about
7934 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7935 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7936 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7937 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7938 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7939 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7941 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7942 * elf/tst-unique2mod1.c: Likewise.
7943 * elf/tst-unique1mod2.c: Likewise.
7944 * elf/tst-unique1mod1.c: Likewise.
7945 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7946 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7947 Replace ASM_TYPE_DIRECTIVE with .type.
7948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7949 * sysdeps/i386/sysdep.h: Likewise.
7950 * sysdeps/x86_64/sysdep.h: Likewise.
7951 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7953 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7954 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7955 * sysdeps/powerpc/powerpc32/sysdep.h:
7956 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7957 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7958 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7959 * sysdeps/i386/fpu/e_powf.S: Likewise.
7960 * sysdeps/i386/fpu/e_expl.S: Likewise.
7961 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7962 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7963 * sysdeps/i386/fpu/e_pow.S: Likewise.
7964 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7965 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7966 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7967 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7968 * sysdeps/i386/fpu/e_log2.S: Likewise.
7969 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7970 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7971 * sysdeps/i386/fpu/e_powl.S: Likewise.
7972 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7973 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7974 * sysdeps/i386/fpu/e_logl.S: Likewise.
7975 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7976 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7977 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7979 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7980 * sysdeps/i386/fpu/e_log.S: Likewise.
7981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7982 * sysdeps/i386/fpu/e_logf.S: Likewise.
7983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7985 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7986 * sysdeps/i386/fpu/e_log10.S: Likewise.
7987 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7988 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7989 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7990 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7991 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7992 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7993 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7994 * sysdeps/i386/i686/strtok.S: Likewise.
7995 * sysdeps/i386/i386-mcount.S: Likewise.
7996 * sysdeps/i386/strtok.S: Likewise.
7997 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7998 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8001 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8003 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8004 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8006 * sysdeps/x86_64/_mcount.S: Likewise.
8007 * sysdeps/x86_64/strtok.S: Likewise.
8008 * sysdeps/sh/_mcount.S: Likewise.
8009
2747bf9a
RM
80102012-08-01 Roland McGrath <roland@hack.frob.com>
8011
8012 * libio/iofopen.c: Include <fcntl.h>.
8013 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8014 (_IO_fopen64, fopen64): Define as aliases.
8015 * libio/iofopen64.c: Include <fcntl.h>.
8016 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8017 Conditionalize body on this.
8018 * sysdeps/wordsize-64/iofopen.c: File removed.
8019 * sysdeps/wordsize-64/iofopen64.c: File removed.
8020
3fb791b8
MP
80212012-08-01 Marek Polacek <polacek@redhat.com>
8022
8023 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8024 Use dlfcn directly instead of a variable.
8025 (binfmt-subdir): Do not define.
8026 (dlfcn): Likewise.
8027
a9f1039f
JM
80282012-08-01 Joseph Myers <joseph@codesourcery.com>
8029
23bddc06
JM
8030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8031 Remove all definitions.
8032 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8033 <kernel-features.h>.
8034 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8035 (miss_F_GETOWN_EX): Remove all definitions.
8036 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8037 macro definition.
8038 [!__ASSUME_FCNTL64]: Remove conditional code.
8039 [__ASSUME_FCNTL64]: Make code unconditional.
8040 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8041 <kernel-features.h>.
8042 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8043 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8044 (lockf64) [__NR_fcntl64]: Make code unconditional.
8045 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8046
a9f1039f
JM
8047 * sysdeps/unix/sysv/linux/kernel-features.h
8048 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8049 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8050 Make code unconditional.
8051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8054 [__NR_vfork]: Make code unconditional.
8055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8058 [__NR_vfork]: Make code unconditional.
8059 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8060 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8061
09c0ee5f
RM
80622012-08-01 Roland McGrath <roland@hack.frob.com>
8063
48aec5b9
RM
8064 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8065 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8066
cd97c966
RM
8067 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8068 Define mkstemp64 as an alias.
3f55550c
RM
8069 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8070 Define mkstemps64 as an alias.
cd97c966
RM
8071 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8072 Define mkostemp64 as an alias.
b8625cfc
RM
8073 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8074 Define mkostemps64 as an alias.
cd97c966
RM
8075 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8076 Conditionalize body on this.
8077 * misc/mkostemp64.c: Likewise.
b8625cfc 8078 * misc/mkostemps64.c: Likewise.
3f55550c 8079 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8080 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8081 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8082 * sysdeps/wordsize-64/mkostemp.c: File removed.
8083 * sysdeps/wordsize-64/mkstemp.c: File removed.
8084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8088
09c0ee5f
RM
8089 [BZ #14138]
8090 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8091 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8092 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8093 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8094
8095 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8096 compat_symbol macros from <shlib-compat.h> rather than the underlying
8097 default_symbol_version and symbol_version macros, so that DEFAULT
8098 lines in shlib-versions are respected.
8099 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8100
7e66ee51
FW
81012012-08-01 Florian Weimer <fweimer@redhat.com>
8102
8103 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8104 Declare with warn_unused_result.
8105 (setgid, setregid, setegid, setresgid): Likewise.
8106 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8107 Likewise.
8108 * WUR-REPORT: Remove set*id functions.
8109
d2a54255
PT
81102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8111
8112 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8113
7ecdb005
RM
81142012-07-31 Roland McGrath <roland@hack.frob.com>
8115
789bd351
RM
8116 * include/sys/socket.h (__libc_accept, __libc_accept4):
8117 Add attribute_hidden.
8118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8119
40ce302d
RM
8120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8121 use of PTR_MANGLE.
8122 * inet/getnetgrent_r.c (setup): Likewise.
8123
7ecdb005
RM
8124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8125
e2eabb2c
DM
81262012-07-31 David S. Miller <davem@davemloft.net>
8127
8128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8129
d0419dbf
JM
81302012-07-31 Joseph Myers <joseph@codesourcery.com>
8131
8132 [BZ #13629]
8133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8134 value between 1.0 and 2.0 and smaller part has absolute value less
8135 than 1.0.
8136 * math/s_clog10.c (__clog10): Likewise.
8137 * math/s_clog10f.c (__clog10f): Likewise.
8138 * math/s_clog10l.c (__clog10l): Likewise.
8139 * math/s_clogf.c (__clogf): Likewise.
8140 * math/s_clogl.c (__clogl): Likewise.
8141 * math/libm-test.inc (clog_test): Add more tests.
8142 (clog10_test): Likewise.
8143 * sysdeps/i386/fpu/libm-test-ulps: Update.
8144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8145
2bc13872
FW
81462012-07-31 Florian Weimer <fweimer@redhat.com>
8147
8148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8149 Exit with zero in case no suitable GID is found, and write a
8150 message to standard error.
8151
bea9b193
RM
81522012-07-30 Roland McGrath <roland@hack.frob.com>
8153
8154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8155 rather than to 1.
8156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8157 (MAXPATHLEN): Removed.
8158 (NOGROUP, NODEV): New macros.
8159 (setbit, clrbit, isset, isclr): New macros.
8160 (howmany, roundup, powerof2): New macros.
8161 (DEV_BSIZE): New macro.
8162
8163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8165
8166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8167 definition on [!__NO_LONG_DOUBLE_MATH].
8168
8169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8170 PTR_MANGLE and PTR_DEMANGLE.
8171
8172 * socket/accept4.c (accept4): Rename to __libc_accept4.
8173 Define accept4 as a weak alias.
8174
8175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8176 on [_DIRENT_HAVE_D_TYPE].
8177 * io/ftw.c (ftw_dir): Likewise.
8178
8179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8180
8181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8182
8183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8184 Use the BSD numbers rather than the arbitrary ones we had.
8185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8187 (SIGXCPU, SIGXFSZ): New macros.
8188 (_NSIG): Now 32.
8189
8190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8191 initializer on [_LIBC_REENTRANT].
8192
8193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8194 definitions inside [_POSIX_MAPPED_FILES].
8195
8196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8197
8198 * dirent/opendir.c: Include <fcntl.h>.
8199
8200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8201 (__libc_getspecific): Likewise.
8202 (__libc_key_create): Likewise.
8203
8204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8207 (tmpfile64): Define as alias.
8208 * sysdeps/wordsize-64/tmpfile.c: File removed.
8209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8212
8213 * stdio-common/vfscanf.c: Include <stdbool.h>.
8214 * nss/makedb.c: Likewise.
8215 * stdio-common/_i18n_number.h: Likewise.
8216 * argp/argp-help.c: Likewise.
8217 * posix/wordexp.c: Likewise.
8218 * sysdeps/posix/spawni.c: Likewise.
8219 * nss/nss_files/files-initgroups.c: Likewise.
8220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8221 * nss/nss_files/files-initgroups.c: Likewise.
8222 * nss/nss_db/db-netgrp.c: Likewise.
8223 * nss/nss_db/db-initgroups.c: Likewise.
8224 * io/fchmodat.c: Include <sys/stat.h>.
8225
8226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8228
8229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8230 [HAVE_MMAP].
8231
8232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8233 Add multiple inclusion protection.
8234
e5abc686
DM
82352012-07-27 David S. Miller <davem@davemloft.net>
8236
8237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8238
815e6fa3
GB
82392012-07-27 Gary Benson <gbenson@redhat.com>
8240
8241 [BZ #14298]
8242 * elf/rtld.c: Include <stap-probe.h>.
8243 (dl_main): Added static probes "init_start" and "init_complete".
8244 * elf/dl-load.c: Include <stap-probe.h>.
8245 (lose): Take new parameter "nsid".
8246 Added static probe "map_failed".
8247 (_dl_map_object_from_fd): Pass namespace id to lose.
8248 Added static probe "map_start".
8249 (open_verify): Pass namespace id to lose.
8250 * elf/dl-open.c: Include <stap-probe.h>.
8251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8252 and "reloc_complete".
8253 * elf/dl-close.c: Include <stap-probe.h>.
8254 (_dl_close_worker): Added static probes "unmap_start" and
8255 "unmap_complete".
8256 * elf/rtld-debugger-interface.txt: New file documenting the above.
8257
9f98c16c
RM
82582012-07-26 Roland McGrath <roland@hack.frob.com>
8259
8260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8261 rather than a string variable.
8262 * sunrpc/rpc_main.c (h_output): Likewise.
8263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8264
f3c22df3
PT
82652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8266
8267 * inet/check_native.c: New file.
8268
3129cfc6
JM
82692012-07-26 Joseph Myers <joseph@codesourcery.com>
8270
da865e95
JM
8271 [BZ #13629]
8272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8273 if larger part has absolute value 1.0.
8274 * math/s_clog10.c (__clog10): Likewise.
8275 * math/s_clog10f.c (__clog10f): Likewise.
8276 * math/s_clog10l.c (__clog10l): Likewise.
8277 * math/s_clogf.c (__clogf): Likewise.
8278 * math/s_clogl.c (__clogl): Likewise.
8279 * math/libm-test.inc (clog_test): Add more tests.
8280 (clog10_test): Likewise.
8281 * sysdeps/i386/fpu/libm-test-ulps: Update.
8282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8283
3129cfc6
JM
8284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8285 (pltexit): Likewise.
8286 (La_regs): Likewise.
8287 (La_retval): Likewise.
8288 (int_retval): Likewise.
8289 Update #error for removed macros to refer only to definitions in
8290 tst-audit.h.
8291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8292 macro.
8293 (pltexit): Likewise.
8294 (La_regs): Likewise.
8295 (La_retval): Likewise.
8296 (int_retval): Likewise.
8297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8298 macro.
8299 (pltexit): Likewise.
8300 (La_regs): Likewise.
8301 (La_retval): Likewise.
8302 (int_retval): Likewise.
8303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8304 macro.
8305 (pltexit): Likewise.
8306 (La_regs): Likewise.
8307 (La_retval): Likewise.
8308 (int_retval): Likewise.
8309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8310 macro.
8311 (pltexit): Likewise.
8312 (La_regs): Likewise.
8313 (La_retval): Likewise.
8314 (int_retval): Likewise.
8315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8316 macro.
8317 (pltexit): Likewise.
8318 (La_regs): Likewise.
8319 (La_retval): Likewise.
8320 (int_retval): Likewise.
8321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8322 macro.
8323 (pltexit): Likewise.
8324 (La_regs): Likewise.
8325 (La_retval): Likewise.
8326 (int_retval): Likewise.
8327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8328 macro definitions in tst-audit.h.
8329 * sysdeps/i386/tst-audit.h: New file.
8330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8334 * sysdeps/sh/tst-audit.h: Likewise.
8335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8337 * sysdeps/x86_64/tst-audit.h: Likewise.
8338
bfc07087
AJ
83392012-07-26 Andreas Jaeger <aj@suse.de>
8340
b1b2aaf8
AJ
8341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8342 ptrace.
8343
8344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8347 PTRACE_O_MASK.
8348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8351
bfc07087
AJ
8352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8353 value.
8354
8355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8356 _sigsys.
8357 (si_call_addr, si_syscall, si_arch): Define new macro.
8358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8359 _sigsys.
8360 (si_call_addr, si_syscall, si_arch): Define new marcro.
8361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8362 _sigsys.
8363 (si_call_addr, si_syscall, si_arch): Define new macro.
8364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8365 _sigsys.
8366 (si_call_addr, si_syscall, si_arch): Define new macro.
8367
89b4b02f
JM
83682012-07-25 Joseph Myers <joseph@codesourcery.com>
8369
8370 [BZ #13717]
8371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8372 Change to 2.4.21 where previously 2.4.1.
8373 * sysdeps/unix/sysv/linux/configure: Regenerated.
8374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8376 Linux kernel version.
8377 (__ASSUME_STD_AUXV): Remove.
8378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8379 kernel version.
8380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8384 (__ASSUME_NETLINK_SUPPORT): Likewise.
8385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8386 (__no_netlink_support): Remove conditional definition.
8387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8388 Remove.
8389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8392 (if_nameindex_ioctl): Remove.
8393 (if_nameindex_netlink): Do not handle __no_netlink_support.
8394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8395 code.
8396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8397 Remove conditional code.
8398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8399 code.
8400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8401 unconditional.
8402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8405 Remove.
8406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8407 [!__ASSUME_STD_AUXV]: Remove conditional code.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8414 code.
8415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8419 conditional code.
8420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8423 code.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8426 conditional code.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8429 code unconditional.
8430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8431 conditional code.
8432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8433 unconditional.
8434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8435 conditional code.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8438 unconditional.
8439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8440 conditional code.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8443 code unconditional.
8444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8445 conditional code.
8446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8447 unconditional.
8448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8449 conditional code.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8452 code unconditional.
8453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8454 conditional code.
8455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8456 unconditional.
8457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8458 conditional code.
8459
842a39cd
AS
84602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8461
8462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8485
84b3fd84
FW
84862012-07-25 Florian Weimer <fweimer@redhat.com>
8487
8488 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8491 Introduce __libc_secure_getenv.
0c7936d5
FW
8492 * stdlib/Versions (2.17): Add secure_getenv
8493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8494 * stdlib/secure-getenv.c: Rename __secure_getenv to
8495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8496 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8497 * stdlib/tst-secure-getenv.c: New.
8498 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8499 * manual/startup.texi (Environment Access): Document
8500 secure_getenv.
84b3fd84
FW
8501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8502 __libc_secure_getenv.
8503 * inet/ruserpass.c (ruserpass): Likewise.
8504 * malloc/mtrace.c (mtrace): Likewise.
8505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8508 * sysdeps/posix/tempname.c: Likewise. Evaluate
8509 HAVE_SECURE_GETENV.
8510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8511 __secure_getenv to __libc_secure_getenv.
84b3fd84 8512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8514 Likewise.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8516 Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8524
56e49b71
JM
85252012-07-25 Joseph Myers <joseph@codesourcery.com>
8526
8527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8528 (struct La_i86_retval): Likewise.
8529 (struct La_x86_64_regs): Likewise.
8530 (struct La_x86_64_retval): Likewise.
8531 (struct La_x32_regs): Likewise.
8532 (struct La_x32_retval): Likewise.
8533 (struct La_ppc32_regs): Likewise.
8534 (struct La_ppc32_retval): Likewise.
8535 (struct La_ppc64_regs): Likewise.
8536 (struct La_ppc64_retval): Likewise.
8537 (struct La_sh_regs): Likewise.
8538 (struct La_sh_retval): Likewise.
8539 (struct La_s390_32_regs): Likewise.
8540 (struct La_s390_32_retval): Likewise.
8541 (struct La_s390_64_regs): Likewise.
8542 (struct La_s390_64_retval): Likewise.
8543 (struct La_sparc32_regs): Likewise.
8544 (struct La_sparc32_retval): Likewise.
8545 (struct La_sparc64_regs): Likewise.
8546 (struct La_sparc64_retval): Likewise.
8547 (struct audit_ifaces): Remove architecture-specific pltenter and
8548 pltexit members.
8549 * sysdeps/i386/ldsodefs.h: New file.
8550 * sysdeps/powerpc/ldsodefs.h: Likewise.
8551 * sysdeps/s390/ldsodefs.h: Likewise.
8552 * sysdeps/sh/ldsodefs.h: Likewise.
8553 * sysdeps/sparc/ldsodefs.h: Likewise.
8554 * sysdeps/x86_64/ldsodefs.h: Likewise.
8555
354691b7
MP
85562012-07-25 Marek Polacek <polacek@redhat.com>
8557
8558 [BZ #6808]
8559 * math/libm-test.inc (yn_test): Add another test.
8560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8561 to ERANGE when the result is +-Inf.
8562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8566
bf9e2071
JM
85672012-07-24 Joseph Myers <joseph@codesourcery.com>
8568
8569 * conform/data/time.h-data (NULL): Use macro-constant. Require
8570 equal to 0.
8571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8572 clock_t.
8573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8574
57633811
TS
85752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8576
8577 * configure.in <sysdeps resolving>: Correct printing
8578 Implies_before.
8579 * configure: Regenerate.
8580
c23c33b0
TS
85812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8582
8583 * math/w_ilogb.c: Include <limits.h>.
8584 * math/w_ilogbl.c: Likewise.
8585
b5982523
JM
85862012-07-20 Joseph Myers <joseph@codesourcery.com>
8587
8588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8589 va_copy. Document allowing for unavailable va_copy only as
8590 pre-C99 compatibility.
8591 * manual/string.texi (Copying and Concatenation): Use va_copy
8592 instead of __va_copy in concat example.
8593
ac4ea442
PT
85942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8595
8596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8597 (__sendto): Use create_address_port. Initialize APORT and deallocate
8598 it if not null.
8599
f98eafbd
PT
8600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8601 with O_NOLINK passed to __file_name_lookup.
8602
898c7aab
PT
8603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8604 with O_NOLINK passed to __file_name_lookup.
8605
0ced335a
PT
8606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8607 negative N or less than NGIDS.
8608
b3404dbd
PT
8609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8610 type to string_t. Set ERANGE as errno and return it if NAME is not big
8611 enough. Use memcpy instead of strncpy.
8612
0f48659e
JM
86132012-07-20 Joseph Myers <joseph@codesourcery.com>
8614
8615 * elf/Makefile (check-data): Remove.
8616 (localplt.data): New vpath directive.
8617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8618 instead of $(check-data).
8619 * scripts/data/localplt-generic.data: Move to ...
8620 * sysdeps/generic/localplt.data: ... here.
8621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8625 ... here.
8626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8628 ... here.
8629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8631 ... here.
8632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8634 ... here.
8635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8637 ... here.
8638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8640 ... here.
8641
d37cbdaa
AZ
86422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8643
8644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8645 PPC32 and PPC64 files.
8646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8648
46f85fc2
AK
86492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8650
8651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8652 __makecontext_ret to ...
8653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8654 ... here and call exit if uc_link is NULL. New file.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8656 __makecontext_ret.S.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8658 __makecontext_ret to ...
8659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8660 ... here and call exit if uc_link is NULL. New file.
8661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8662 __makecontext_ret.S.
8663
08f43f9b
AK
86642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8665
8666 * elf/elf.h (R_390_IRELATIVE): New definition.
8667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8671 (elf_machine_lazy_rel): Likewise.
8672 * sysdeps/s390/dl-irel.h: New file.
8673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8674 * sysdeps/s390/s390-64/memset.S: New asm code.
8675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8687 * sysdeps/s390/s390-32/memset.S: New asm code.
8688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8689
3b05db33
MP
86902012-07-17 Marek Polacek <polacek@redhat.com>
8691
8692 [BZ #14349]
8693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8694 * sysdeps/s390/s390-64/configure.in: Likewise.
8695 * sysdeps/sparc/configure.in: Likewise.
8696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8698 * sysdeps/i386/configure.in: Likewise.
8699 * sysdeps/x86_64/configure.in: Likewise.
8700 * sysdeps/sh/configure.in: Likewise.
8701 * sysdeps/s390/s390-32/configure: Regenerated.
8702 * sysdeps/s390/s390-64/configure: Likewise.
8703 * sysdeps/x86_64/configure: Likewise.
8704 * sysdeps/sh/configure: Likewise.
8705 * sysdeps/powerpc/powerpc64/configure: Likewise.
8706 * sysdeps/powerpc/powerpc32/configure: Likewise.
8707 * sysdeps/sparc/configure: Likwise.
8708 * sysdeps/i386/configure: Likewise.
8709
a66877c6
MP
8710 * elf/dl-open.c: Comment fixes.
8711
cfc82fd8
JM
87122012-07-17 Joseph Myers <joseph@codesourcery.com>
8713
bd29910a
JM
8714 * Makefile [CXX] (check-data): Remove.
8715 [CXX] (c++-types.data): New vpath directive.
8716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8717 vpath. Do not allow for C++ type data being missing.
8718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8726 ... here.
8727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8729 ... here.
8730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8732 ... here.
8733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8735 ... here.
8736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8738 ... here.
8739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8741 ... here.
8742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8744 ... here.
8745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8747
cfc82fd8
JM
8748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8749 definitions to architecture-specific files.
8750 (TLS_IE): Likewise.
8751 (TLS_LD): Likewise.
8752 (TLS_GD): Likewise.
8753 * sysdeps/i386/tls-macros.h: New file.
8754 * sysdeps/powerpc/tls-macros.h: Likewise.
8755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8757 * sysdeps/sh/tls-macros.h: Likewise.
8758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8760 * sysdeps/x86_64/tls-macros.h: Likewise.
8761
f7db3170
TS
87622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8763
07cbfc23
TS
8764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8765 zero value for regular exit case.
8766
f7db3170
TS
8767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8768 (__start_context): Preserve zero value for regular exit case.
8769
dc97c227
TS
87702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8772
8773 * manual/setjmp.texi (setcontext): Clarify normal process
8774 termination when uc_link is the null pointer.
8775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8776 exit call.
8777
d0cd7d02
AS
87782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8779
8780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8781 preprocessor. Test for each exception mask separately.
8782
dd318934
AJ
87832012-07-16 Andreas Jaeger <aj@suse.de>
8784
8785 * po/ru.po: Update from translation team.
8786
8048311a
JM
87872012-07-15 Joseph Myers <joseph@codesourcery.com>
8788
8789 * conform/data/string.h-data (NULL): Use macro-constant. Require
8790 equal to 0.
8791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8796
b637d46e
AJ
87972012-07-13 Andreas Jaeger <aj@suse.de>
8798
8799 * po/fr.po: Update from translation team.
8800
541428fe
MP
88012012-07-12 Marek Polacek <polacek@redhat.com>
8802
8803 [BZ #14173]
8804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8806 loop condition.
8807
ec332e94
JM
88082012-07-12 Joseph Myers <joseph@codesourcery.com>
8809
8810 [BZ #13717]
8811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8812 Change to 2.4.1 where previously 2.4.0.
8813 * sysdeps/unix/sysv/linux/configure: Regenerated.
8814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8816 version.
8817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8818 (__ASSUME_AT_CLKTCK): Remove.
8819 (__ASSUME_AT_PAGESIZE): Likewise.
8820 (__ASSUME_AT_XID): Likewise.
8821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8824 unconditionally.
8825 (HAVE_AUX_PAGESIZE): Likewise.
8826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8829
7b6e99be
JB
88302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8831
8832 [BZ #14307]
8833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8834 the temporary buffer used to invoke __gethostbyname2_r,
8835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8836 host_data / struct gaih_addrtuple.
8837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8839 header file nss/nsswitch.h.
8840 * nss/nsswitch.h (global scope): Add definition of implementation
8841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8842 resolv/nss_dns/dns-host.c).
8843
608404eb
AJ
88442012-07-11 Andreas Jaeger <aj@suse.de>
8845
8846 * po/fr.po: Update from translation team.
8847
71220aca
AJ
8848 * po/sv.po: Update from translation team
8849 * po/fr.po: Another update from translation team.
8850
28cfe843
AZ
88512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8852
8853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8854 for subnormals or multiply small sinh result by itself.
8855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8857
6b90f981
DM
88582012-07-11 David S. Miller <davem@davemloft.net>
8859
8860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8861
c6825772
AS
88622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8863
8864 [BZ #14347]
8865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8866 (INTERNAL_MARK): Shift it here.
8867
7b8e0d49
MP
88682012-07-10 Marek Polacek <polacek@redhat.com>
8869
8870 [BZ #14151]
8871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8872 libc_cv_asm_global_directive with .globl.
8873 * configure: Regenerated.
8874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8875 with .globl.
8876 * sysdeps/i386/configure: Regenerated.
8877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8878 with .globl.
8879 * sysdeps/x86_64/configure: Regenerated.
8880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8882 * elf/tst-unique2mod2.c: Likewise.
8883 * elf/tst-unique2mod1.c: Likewise.
8884 * elf/tst-unique1mod2.c: Likewise.
8885 * elf/tst-unique1mod1.c: Likewise.
8886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8890 * sysdeps/mach/sysdep.h: Likewise.
8891 * sysdeps/i386/sysdep.h: Likewise.
8892 * sysdeps/i386/i386-mcount.S: Likewise.
8893 * sysdeps/x86_64/_mcount.S: Likewise.
8894 * sysdeps/x86_64/sysdep.h: Likewise.
8895 * sysdeps/sh/_mcount.S: Likewise.
8896 * sysdeps/sh/sysdep.h: Likewise.
8897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8904 * locale/localeinfo.h: Likewise.
8905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8907
6c55cda3
RM
89082012-07-09 Roland McGrath <roland@hack.frob.com>
8909
8910 [BZ #14336]
8911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8912 system".
8913 * manual/message.texi (The Uniforum approach): Likewise.
8914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8915 (glibc iconv Implementation): Likewise.
8916
638a572e
JM
89172012-07-09 Joseph Myers <joseph@codesourcery.com>
8918
8919 [BZ #14337]
8920 * math/s_clog.c (__clog): Avoid scaling a value down where that
8921 could result in underflow.
8922 * math/s_clog10.c (__clog10): Likewise.
8923 * math/s_clog10f.c (__clog10f): Likewise.
8924 * math/s_clog10l.c (__clog10l): Likewise.
8925 * math/s_clogf.c (__clogf): Likewise.
8926 * math/s_clogl.c (__clogl): Likewise.
8927 * math/libm-test.inc (clog_test): Add more tests.
8928 (clog10_test): Likewise.
8929 * sysdeps/i386/fpu/libm-test-ulps: Update.
8930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8931
261f4859
AS
89322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8933
0abaf3e4
AS
8934 [BZ #14283]
8935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8936 by 7 not 8 to examine high bit of fractional part.
8937
261f4859
AS
8938 [BZ #14042]
8939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8940 for call to __mcount_internal.
8941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8944
f17ac40d
JM
89452012-07-06 Joseph Myers <joseph@codesourcery.com>
8946
9ad63c23
JM
8947 [BZ #14154]
8948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8949 approximation for values within 0x1p-13f of an odd multiple of
8950 pi/4.
8951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8952 exception. Add more tests.
8953 * sysdeps/i386/fpu/libm-test-ulps: Update.
8954
f17ac40d
JM
8955 [BZ #6778]
8956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8957 inputs and return -1 for them. Do not check for +Inf in case not
8958 reachable for +Inf.
8959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8962 and return -1 for them. Do not check for +Inf in case not
8963 reachable for +Inf.
8964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8965 define.
8966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8967 and return -1 for them. Do not check for +Inf in case not
8968 reachable for +Inf.
8969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8970 spurious underflow.
8971 * sysdeps/i386/fpu/libm-test-ulps: Update.
8972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973
fb21f89b
MF
89742012-07-06 Mike Frysinger <vapier@gentoo.org>
8975
8976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8977
cdfe2c5e
JM
89782012-07-05 Joseph Myers <joseph@codesourcery.com>
8979
8980 [BZ #14157]
8981 [BZ #14331]
8982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8983 could result in spurious underflow. Scale down values above
8984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8985 * math/s_csqrtf.c (__csqrtf): Likewise.
8986 * math/s_csqrtl.c (__csqrtl): Likewise.
8987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8988 spurious underflow.
8989 * sysdeps/i386/fpu/libm-test-ulps: Update.
8990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8991
70d35b67
AS
89922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8993
704bc459
AS
8994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8995 xopen-msg.sed.
8996 * catgets/xopen-msg.awk: New file.
8997 * catgets/xopen-msg.sed: Removed.
8998
70d35b67
AS
8999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9000 po2text.sed.
9001 * intl/po2test.awk: New file.
9002 * intl/po2test.sed: Removed.
9003
ca61cf32
JM
90042012-07-04 Joseph Myers <joseph@codesourcery.com>
9005
9006 [BZ #14328]
9007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9008 or multiply small sinh result by itself.
9009 * math/s_ctanf.c (__ctanf): Likewise.
9010 * math/s_ctanh.c (__ctanh): Likewise.
9011 * math/s_ctanhf.c (__ctanhf): Likewise.
9012 * math/s_ctanhl.c (__ctanhl): Likewise.
9013 * math/s_ctanl.c (__ctanl): Likewise.
9014 * math/libm-test.inc (ctan_test_tonearest): New function.
9015 (ctan_test_towardzero): Likewise.
9016 (ctan_test_downward): Likewise.
9017 (ctan_test_upward): Likewise.
9018 (ctanh_test_tonearest): Likewise.
9019 (ctanh_test_towardzero): Likewise.
9020 (ctanh_test_downward): Likewise.
9021 (ctanh_test_upward): Likewise.
9022 (main): Call these new functions.
9023 * sysdeps/i386/fpu/libm-test-ulps: Update.
9024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9025
ca48a46a
MF
90262012-07-03 Mike Frysinger <vapier@gentoo.org>
9027
9028 * .gitignore: Delete /ports entry.
9029
9d63d37d
AJ
90302012-07-03 Andreas Jaeger <aj@suse.de>
9031
9032 * po/bg.po: Update from translation team.
9033 * po/cs.po: Likewise.
9034 * po/de.po: Likewise.
9035 * po/hr.po: Likewise.
9036 * po/nl.pl: Likewise.
9037 * po/pl.po: Likewise.
9038 * po/vi.po: Likewise.
9039
370ca3d2
JM
90402012-07-03 Joseph Myers <joseph@codesourcery.com>
9041
95f5a9a8
JM
9042 * Makeconfig [!+link] (+link-before-libc): New variable.
9043 [!+link] (+link-after-libc): Likewise.
9044 [!+link] (+link-tests): Likewise.
9045 [!+link] (+link): Define in terms of $(+link-before-libc) and
9046 $(+link-after-libc).
9047 [!+link-static] (+link-static-before-libc): New variable.
9048 [!+link-static] (+link-static-after-libc): Likewise.
9049 [!+link-static] (+link-static-tests): Likewise.
9050 [!+link-static] (+link-static): Define in terms of
9051 $(+link-static-before-libc) and $(+link-static-after-libc).
9052 [build-shared] (link-libc-before-gnulib): New variable.
9053 [build-shared] (link-libc-tests): Likewise.
9054 [build-shared] (link-libc): Define in terms of
9055 $(link-libc-before-gnulib).
9056 [!build-shared] (link-libc-tests): New variable.
9057 (link-libc-static-tests): New variable.
9058 [!gnulib] (gnulib-arch): New variable.
9059 [!gnulib] (gnulib-tests): Likewise.
9060 [!gnulib] (static-gnulib-arch): Likewise.
9061 [!gnulib] (static-gnulib-tests): Likewise.
9062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9063 Define with "=" instead of ":=".
9064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9066 * Rules (binaries-all-notests): New variable.
9067 (binaries-all-tests): Likewise.
9068 (binaries-static-notests): Likewise.
9069 (binaries-static-tests): Likewise.
9070 (binaries-all): Define using $(binaries-all-notests) and
9071 $(binaries-all-tests).
9072 (binaries-static): Define using $(binaries-static-notests) and
9073 $(binaries-static-tests).
9074 (binaries-shared-tests): New variable.
9075 (binaries-shared-notests): Likewise.
9076 (binaries-shared): Remove variable.
9077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9083 * elf/Makefile (sln-modules): New variable.
9084 (extra-objs): Add $(sln-modules:=.o).
9085 (ldconfig-modules): Add static-stubs.
9086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9087 * elf/static-stubs.c: New file.
9088
7a845b2c
JM
9089 [BZ #14283]
9090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9091 by 7 not 8 to examine high bit of fractional part. Use volatile
9092 variables when splitting into final array of floats if
9093 __FLT_EVAL_METHOD__ != 0.
9094 * math/libm-test.inc (cos_test): Add another test.
9095 (sin_test): Likewise.
9096 * sysdeps/i386/fpu/libm-test-ulps: Update.
9097
e2283f38
JM
9098 [BZ #14273]
9099 * math/libm-test.inc (cosh_test): Add more tests.
9100
370ca3d2
JM
9101 * version.h (RELEASE): Set to "development".
9102 (VERSION): Set to "2.16.90".
9103
ee9247c3
CD
91042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9105
9106 * NEWS: Update copyright. Remove last-updated date.
9107 Mention math library bug fixes and timezone data changes.
9108 * README: Mention GNU/Hurd, x32, and HPPA support status.
9109
4648c381
TS
91102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9111
9112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9113
aac78a43
AJ
91142012-06-27 Andreas Jaeger <aj@suse.de>
9115
9116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9117
ed3dbfad
AJ
91182012-06-25 Andreas Jaeger <aj@suse.de>
9119
9120 * sysdeps/s390/fpu/libm-test-ulps: Update.
9121
4d0ee855
AS
91222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9123 Thomas Schwinge <thomas@codesourcery.com>
9124
9125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9128 fanotify_mark.
9129
af1bce34
TS
91302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9131
a9fa33ba
TS
9132 * sysdeps/mach/start.c: Remove file.
9133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9135 * sysdeps/sh/init-first.c: Likewise.
9136
58f902b8
TS
9137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9138 registers for frame unwinding purposes, add CFI directives.
9139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9142 Likewise.
9143
1518f58b
TS
9144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9145 __fortify_fail returning.
9146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9147
db9b5059
TS
9148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9149 sysdeps/sh/____longjmp_chk.S.
9150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9154
967705fe
TS
9155 * sysdeps/sh/abort-instr.h: New file.
9156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9157 process in case exit returns.
9158
a9def8c4
TS
9159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9160 initialize the GOT register before use.
9161
2a649725
TS
9162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9163 calculation of ARGC > 4.
9164
af1bce34
TS
9165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9166 meaningful names to some local labels.
9167
d230f50a
KK
91682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9170
9171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9173 (__arch_compare_and_exchange_val_16_acq): Likewise.
9174 (__arch_compare_and_exchange_val_32_acq): Likewise.
9175 (atomic_exchange_and_add): Fix gUSA sequence.
9176 (atomic_add): Likewise.
9177 (atomic_add_negative): Likewise.
9178 (atomic_add_zero): Likewise.
9179 (atomic_bit_test_set): Likewise.
9180
0479b305
AS
91812012-06-22 Andreas Schwab <schwab@redhat.com>
9182
9183 [BZ #13579]
9184 * include/link.h (struct link_map): Add l_free_initfini.
9185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9186 l_initfini.
9187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9190 set.
9191
0e3933b9
CD
91922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9193
9194 * configure.in: Use AC_LANG_SOURCE.
9195 * configure: Regenerate.
9196
4248b1b1
RM
91972012-06-22 Roland McGrath <roland@hack.frob.com>
9198
9199 * configure.in (libc_cv_localstatedir): New substituted variable.
9200 * configure: Regenerated.
9201 * config.make.in (localstatedir): New variable, substituted from
9202 libc_cv_localstatedir.
9203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9206 * sysdeps/gnu/configure: Regenerated.
9207
006dd861
JL
92082012-06-21 Jeff Law <law@redhat.com>
9209
9210 [BZ #14277]
9211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9212 free. Simplify list management for _LIBC case.
9213
79662d42
JM
92142012-06-21 Joseph Myers <joseph@codesourcery.com>
9215
b7abb4bf
JM
9216 [BZ #14273]
9217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9218 Clear sign bit of 64-bit integer value before comparing against
9219 overflow value.
9220
79662d42
JM
9221 * sysdeps/mach/configure: Regenerated.
9222
1f150908
L
92232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 [BZ #14278]
9226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9227
28363bbf
JL
92282012-06-21 Jeff Law <law@redhat.com>
9229
9230 [BZ #13882]
9231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9232 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9234 * elf/dl-open.c (dl_open_worker): Likewise.
9235
09615db4
CD
92362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9237
9238 * scripts/list-sources.sh: Scan PORTS for translations.
9239 * po/libc.pot: Regenerated.
9240
2174c6dd
AJ
92412012-06-21 Andreas Jaeger <aj@suse.de>
9242
9243 [BZ #12194]
9244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9245 warning.
9246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9247 * bits/byteswap-16.h (__bswap_16): Likewise.
9248 * bits/byteswap.h (__bswap_constant_16): Likewise.
9249
3ee947b1
L
92502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 [BZ #14117]
a2f34833
L
9253 * sysdeps/i386/fpu_control.h: Removed.
9254 * sysdeps/x86_64/fpu_control.h: Moved to ...
9255 * sysdeps/x86/fpu_control.h: Here.
9256
3ee947b1
L
9257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9258 (_FPU_SETCW): Likewise.
9259
ed1825f8
L
92602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9261
25f1282a
L
9262 [BZ #14117]
9263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9264 * sysdeps/x86/fpu/bits/mathinline.h: This.
9265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9266
ed1825f8
L
9267 [BZ #14050]
9268 [BZ #14117]
9269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9270 functions if __x86_64__ is defined.
9271
36d54b74
CLT
92722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9273
9274 * string/endian.h: Add !__ASSEMBLER__ condition for including
9275 conversion interfaces.
9276
10285c21
JM
92772012-06-15 Joseph Myers <joseph@codesourcery.com>
9278
9279 [BZ #14241]
9280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9281 of ABS(x) in calculating zero to negative powers other than odd
9282 integers.
9283 * math/libm-test.inc (pow_test): Add more tests.
9284
06c5abbd
AJ
92852012-06-15 Andreas Jaeger <aj@suse.de>
9286
9287 * manual/contrib.texi (Contributors): Update entry of Liubov
9288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9289 Machado Filho.
9290
a3aeac40
CH
92912012-06-15 Cyril Hrubis <metan@ucw.cz>
9292
9293 * string/string.h: Add __wur to GNU version of strerror_r.
9294
49bdf4c1
L
92952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 [BZ #14229]
9298 * string/Makefile (tests): Add tst-strtok_r.
9299 * string/tst-strtok_r.c: New file.
9300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9301 RAX_LP/RDX_LP on SAVE_PTR.
9302
834f9b8d
RM
93032012-06-14 Roland McGrath <roland@hack.frob.com>
9304
9305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9306
75fa1921
JM
93072012-06-14 Joseph Myers <joseph@codesourcery.com>
9308
9309 * libm_test.inc (csqrt_test): Allow more spurious underflow
9310 exceptions.
9311 (j0_test): Likewise.
9312 (j1_test): Likewise.
9313 (y0_test): Likewise.
9314 (y1_test): Likewise.
9315
771766df
CD
93162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9317
9318 * po/Makefile (libc.pot): Use UTF-8 charset.
9319
ceb9e56b
PP
93202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9321
9322 [BZ #14210]
9323 Suppress sign-conversion warning from FD_SET.
9324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9326 not unsigned long int.
9327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9328
ddb28975
L
93292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 [BZ #14050]
9332 [BZ #14117]
9333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9334 __extern_always_inline instead of __extern_inline.
9335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9336 (__signbit): Likewise.
9337 (__signbitl): Support C++ namespace.
9338 (lrintf): New inline function.
9339 (lrint): Likewise.
9340 (llrintf): Likewise.
9341 (llrint): Likewise.
9342 (fmaxf): Likewise.
9343 (fmax): Likewise.
9344 (fminf): Likewise.
9345 (fmin): Likewise.
9346 (rint): Likewise.
9347 (rintf): Likewise.
9348 (ceil): Likewise.
9349 (ceilf): Likewise.
9350 (floor): Likewise.
9351 (floorf): Likewise.
9352 (nearbyint): Likewise.
9353 (nearbyintf): Likewise.
9354
d7b4fb26
TS
93552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9356
9357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9358 non-default versions.
9359
eb55f5c2
RM
93602012-06-11 Roland McGrath <roland@hack.frob.com>
9361
9362 [BZ #14218]
9363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9364
366af02c
TS
93652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9366
99ff6e5c
TS
9367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9368 (FE_UPWARD, FE_DOWNWARD): Don't define.
9369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9371
366af02c
TS
9372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9373 reading it.
9374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9376
793ea851
KK
93772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9378
9379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9383
a728a38f
L
93842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9385
9386 [BZ #14117]
c08010c7
L
9387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9388 * sysdeps/i386/fpu/Implies: New file.
9389 * sysdeps/x86_64/fpu/Implies: Likewise.
9390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9391 * sysdeps/x86/fpu/bits/fenv.h: This.
9392
a728a38f
L
9393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9394 __SSE_MATH__.
9395
6e230d11
SP
93962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 [BZ #14134]
9399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9400 character 0xffff that matches the last element of the
9401 conversion table.
9402
1b671feb
AZ
94032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9404
9405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9406 fmodl commit.
9407
6043738b
AZ
94082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9409
9410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9411 values higher than 25.6283.
9412
34ae0b32
AZ
94132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9414
9415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9416 subnormal exponent extraction and add some __builtin_expect.
9417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9418 Fix for subnormal mantissa calculation.
9419
1214ec8f
MF
94202012-06-04 Mike Frysinger <vapier@gentoo.org>
9421
9422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9423 cpu2 is -1 and errno is not ENOSYS.
9424
f3d1f93c
L
94252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9426
9427 [BZ #14117]
0e4a3cd7
L
9428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9429 * sysdeps/x86/bits/string.h: This.
9430 * sysdeps/x86_64/bits/string.h: Removed.
9431
6704c645
L
9432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9433 if not compiling for x86-64, but compiling for >= i486.
9434
48495318
L
9435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9437
14adcbfc
L
9438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9439 New macro from Linux kernel 3.4.0.
9440 (FP_XSTATE_MAGIC2): Likewise.
9441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9443 (struct _fpx_sw_bytes): New struct.
9444 (struct _xsave_hdr): Likewise.
9445 (struct _ymmh_state): Likewise.
9446 (struct _xstate): Likewise.
9447
68e408ab
L
9448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9454
f3d1f93c
L
9455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9461
d9dc34cd
TMQMF
94622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9463
9464 [BZ #13743]
9465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9467 (sysdep_headers): Include sys/platform/ppc.h.
9468 * sysdeps/powerpc/test-gettimebase.c: Test for
9469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9470 * manual/Makefile (appendices): Include platform.texi.
9471 * manual/contrib.texi (Contributors): Update @node pointers.
9472 * manual/maint.texi (Maintenance): Likewise.
9473 (Platform): New node.
9474 * manual/platform.texi: New file. Document the new features.
9475
4af3879c
SP
94762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9477 Jakub Jelinek <jakub@redhat.com>
9478
9479 [BZ #14188]
9480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9481 where __builtin_expect is unavailable.
9482
2fd6ff13
DM
94832012-06-03 David S. Miller <davem@davemloft.net>
9484
9485 * stdlib/longlong.h: Updated from GCC.
9486
173f7220
AS
94872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9488
9489 [BZ #14042]
9490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9492 __mcount_internal.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9494 (GLIBC_2.16): Likewise.
9495
f34a1c6f
L
94962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9497
9498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9499
88a4576f
JM
95002012-06-01 Joseph Myers <joseph@codesourcery.com>
9501
ea32bcdd
JM
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9503 (default-abi): New variable.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9506 variable.
9507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9508 Likewise.
9509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9510 Likewise.
9511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9512 Likewise.
9513
88a4576f
JM
9514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9515 definition. Document in comment.
9516
402fe938
DM
95172012-06-01 David S. Miller <davem@davemloft.net>
9518
9519 * stdlib/longlong.h: Updated from GCC.
9520
3553723f
L
95212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9522
9523 [BZ #14117]
3bd872c4
L
9524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9526 sys/debugreg.h sys/io.h here.
9527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9529 sys/io.h.
9530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9536
3553723f
L
9537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9538 Define only if __x86_64__ is defined.
9539
4842e4fe
JM
95402012-06-01 Joseph Myers <joseph@codesourcery.com>
9541
c5bfe3d5
JM
9542 [BZ #14048]
9543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9544 Use int64_t for variable i.
9545 * math/libm-test.inc (fmod_test): Add more tests.
9546
4842e4fe
JM
9547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9548 z computation is not scheduled after fetestexcept.
9549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9550 Use math_force_eval instead of asm to ensure calculation scheduled
9551 before exception test.
9552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9554
efb73488
AJ
95552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9556
9557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9558 computation is not scheduled after fetestexcept.
9559
29bcce7c
L
95602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 [BZ #14117]
9563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9565
73a68f94
AZ
95662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9567
9568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9570
67b6df78
L
95712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9572
edf2933a 9573 [BZ #14117]
ebc64a18
L
9574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9575 <bits/wordsize.h>.
9576 (__WCHAR_MIN): Support __WORDSIZE == 64.
9577 (__WCHAR_MAX): Likewise.
9578
edf2933a
L
9579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9581
57c6cf40
L
9582 [BZ #14183]
9583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9585
67b6df78 9586 [BZ #14117]
8eb6281e
L
9587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9589
aac639f4
L
9590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9592
67b6df78
L
9593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9594 Defined to 1 if __x86_64__ isn't defined.
9595 (_STAT_VER_LINUX_OLD): New.
9596 (st_atime): Remove duplicate.
9597 (st_mtime): Likewise.
9598 (st_ctime): Likewise.
9599
1c2cfe81
DM
96002012-05-31 David S. Miller <davem@davemloft.net>
9601
9602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9603 entries.
9604
5be8418c
AS
96052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9606
e7725326
AS
9607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9608 gen-libm-test.pl.
9609
5be8418c
AS
9610 [BZ #14132]
9611 * elf/dl-reloc.c: Include <_itoa.h>.
9612 (_dl_reloc_bad_type): Remove use of INTUSE.
9613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9615 * stdio-common/psiginfo.c (psiginfo): Likewise.
9616 * stdio-common/psignal.c (psignal): Likewise.
9617 * string/strsignal.c (strsignal): Likewise.
9618 * include/signal.h (_sys_siglist): Declare hidden proto.
9619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9620 INTVARDEF with libc_hidden_data_def.
9621 * stdio-common/itoa-udigits.c: Likewise.
9622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9623 (_itoa_lower_digits_internal): Remove declaration.
9624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9626 (_sys_sigabbrev_internal): Remove aliases.
9627 (_sys_siglist): Define hidden alias.
9628
507352f1
MT
96292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9630
9631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9632 bits/sysctl.h.
9633
42bbb1c3
L
96342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9635
9636 [BZ #14117]
6bd784b6
L
9637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9639
8bca20f0
L
9640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9646
f9e890a9
L
9647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9650
471101a1
L
9651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9652 with __addr.
9653 (insw): Likewise.
9654 (insl): Likewise.
9655 (outsb): Likewise.
9656 (outsw): Likewise.
9657 (outsl): Likewise.
9658
6451c862
L
9659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9662
a254b8c9
L
9663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9669
b8dfdd92
L
9670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9672
578cd270
L
9673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9675
de662f5f
L
9676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9679
25653439
L
9680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9682 to ...
9683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9684
6bad24a0
L
9685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9688
42bbb1c3
L
9689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9690 for x86-64.
9691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9692
2d10d547
JM
96932012-05-31 Joseph Myers <joseph@codesourcery.com>
9694
9695 * math/math.h (M_El): Use two more decimal places.
9696 (M_LOG2El): Likewise.
9697 (M_LOG10El): Likewise.
9698 (M_LN2l): Likewise.
9699 (M_LN10l): Likewise.
9700 (M_PIl): Likewise.
9701 (M_PI_2l): Likewise.
9702 (M_PI_4l): Likewise.
9703 (M_1_PIl): Likewise.
9704 (M_2_PIl): Likewise.
9705 (M_2_SQRTPIl): Likewise.
9706 (M_SQRT2l): Likewise.
9707 (M_SQRT1_2l): Likewise.
9708
f230c29b
DM
97092012-05-31 David S. Miller <davem@davemloft.net>
9710
9711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9712 values between float registers.
9713 * sysdeps/sparc/sparc64/memset.S: Likewise.
9714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9715
fed806c3
MF
97162012-05-31 Mike Frysinger <vapier@gentoo.org>
9717
9718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9719 -D_FORTIFY_SOURCE=1.
9720 (CPPFLAGS-tst-longjmp_chk.c): Define.
9721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9724 CFLAGS-tst-wchar-h.c.
9725
30917259
MP
97262012-05-31 Marek Polacek <polacek@redhat.com>
9727
9728 [BZ #14132]
9729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9730 __endmntent_internal): Remove declaration.
9731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9734
1c58d5dc
DM
97352012-05-30 David S. Miller <davem@davemloft.net>
9736
9737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9738 (___Q_simulate_exceptions): Use real FP ops rather than writing
9739 into the %fsr.
9740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9741 Likewise.
9742
7dc00e0d
L
97432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 [BZ #14117]
0bd53985
L
9746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9747 * sysdeps/x86/bits/xtitypes.h: This.
9748
3a257e66
L
9749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9750 * sysdeps/x86/bits/wordsize.h: This.
9751
62f62904
L
9752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9753 * sysdeps/x86/bits/huge_vall.h: This.
9754
404fe9d9
L
9755 * sysdeps/i386/bits/select.h: Removed.
9756 * sysdeps/x86_64/bits/select.h: Renamed to ...
9757 * sysdeps/x86/bits/select.h: This.
9758
d48d0446
L
9759 * sysdeps/i386/bits/setjmp.h: Removed.
9760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9761 * sysdeps/x86/bits/setjmp.h: This.
9762
7dc00e0d
L
9763 * sysdeps/i386/bits/mathdef.h: Removed.
9764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9765 * sysdeps/x86/bits/mathdef.h: This.
9766
03277f8f
AS
97672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9768
9769 [BZ #14132]
9770 * include/sys/socket.h (__connect_internal)
9771 (__libc_sa_len_internal): Remove declaration.
9772 (__connect, __libc_sa_len): Declare hidden_proto.
9773 (SA_LEN): Remove use of INTUSE.
9774 * socket/connect.c: Add libc_hidden_def.
9775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9778 alias.
9779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9782 of adding _internal alias.
9783
13764867
L
97842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 [BZ #14117]
6bd97696
L
9787 * sysdeps/i386/bits/link.h: Removed.
9788 * sysdeps/i386/bits/linkmap.h: Likewise.
9789 * sysdeps/x86_64/bits/link.h: Renamed to ...
9790 * sysdeps/x86/bits/link.h: This.
9791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9792 * sysdeps/x86/bits/linkmap.h: This.
9793
f726f0bb
L
9794 * sysdeps/i386/bits/endian.h: Removed.
9795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9796 * sysdeps/x86/bits/endian.h: This.
9797
13764867
L
9798 * sysdeps/i386/bits/byteswap.h: Removed.
9799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9801 * sysdeps/x86/bits/byteswap.h: This.
9802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9803 * sysdeps/x86/bits/byteswap-16.h: This.
9804 * sysdeps/i386/Implies: Add x86.
9805 * sysdeps/x86_64/Implies: Likewise.
9806
ae251b0b
DM
98072012-05-30 David S. Miller <davem@davemloft.net>
9808
9809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9812 (FP_TRAPPING_EXCEPTIONS): Define.
9813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9814 (FP_TRAPPING_EXCEPTIONS): Define.
9815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9816 subnormals only when inexact has been signalled or underflow
9817 exceptions are enabled.
9818 (_FP_PACK_CANONICAL): Likewise.
9819
d5c90867
L
98202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9821
9822 [BZ #14183]
9823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9825
63f1549e
RH
98262012-05-30 Richard Henderson <rth@twiddle.net>
9827
8d8f2279
RH
9828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9829 with #ifndef NOT_IN_libc.
9830
63f1549e
RH
9831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9832 marked to avoid plt entry.
9833
0ab0291b
L
98342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 [BZ #14112]
9837 * Makeconfig (default-abi): New macro.
9838 (abi-includes): Likewise.
9839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9840 $(abi-$(default-abi)-lib-soname) for soname if defined.
9841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9842 abi-variants.
9843 * Makefile (installed-stubs): Likewise.
9844 * include/stubs-biarch.h: Removed.
9845 * scripts/lib-names.awk: Only handle one library at a time.
9846 * scripts/soversions.awk: Remove WORDSIZE support.
9847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9848 entries.
9849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9850 Removed.
9851 (syscall-list-default-condition): Likewise.
9852 (syscall-list-default-condition): Likewise.
9853 (syscall-list-includes): Likewise.
9854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9855 syscall-list-* with abi-*. Handle undefined abi-variants.
9856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9862 Removed.
9863 (syscall-list-32-options): Likewise.
9864 (syscall-list-32-condition): Likewise.
9865 (syscall-list-64-options): Likewise.
9866 (syscall-list-64-condition): Likewise.
9867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9868 macro.
9869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9870 Renamed to ...
9871 (abi-*): This.
9872 (abi-64-ld-soname): New macro.
9873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9875 Renamed to ...
9876 (abi-*): This.
9877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9879
4da0431d
JM
98802012-05-30 Joseph Myers <joseph@codesourcery.com>
9881
3a85279c
JM
9882 * sysdeps/unix/sysv/linux/kernel-features.h
9883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9885 include <kernel-features.h>.
9886 [!__NR_ftruncate64]: Remove conditional code.
9887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9888 [__NR_ftruncate64]: Make code unconditional.
9889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9891 include <kernel-features.h>.
9892 [!__NR_ftruncate64]: Remove conditional code.
9893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9894 [__NR_ftruncate64]: Make code unconditional.
9895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9897 include <kernel-features.h>.
9898 [!__NR_ftruncate64]: Remove conditional code.
9899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9900 [__NR_ftruncate64]: Make code unconditional.
9901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9903 include <kernel-features.h>.
9904 [!__NR_ftruncate64]: Remove conditional code.
9905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9906 [__NR_ftruncate64]: Make code unconditional.
9907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9908
4da0431d
JM
9909 * configure.in (libc_cv_fpie): Weaken to a compile test using
9910 LIBC_TRY_CC_OPTION.
9911 * configure: Regenerated.
9912
11ef492c
AK
99132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9914
9915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9919 Refreshed.
9920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9926 Refreshed.
9927
d66ef399
DM
99282012-05-27 David S. Miller <davem@davemloft.net>
9929
9930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9931 (___Q_zero): New.
9932 (__Q_simulate_exceptions): Return void. Change to simulate
9933 exceptions by writing into the %fsr.
9934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9935 (__Qp_handle_exceptions): Likewise.
9936 (numbers): Delete.
9937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9938 __Qp_handle_exceptions.
9939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9940 __Qp_handle_exceptions.
9941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9942 as unused and give dummy FP_RND_NEAREST initializer.
9943 (FP_INHIBIT_RESULTS): Define.
9944 (___Q_simulate_exceptions): Update declaration.
9945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9946 formatting.
9947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9948 as unused and give dummy FP_RND_NEAREST initializer.
9949 (__Qp_handle_exceptions): Update declaration.
9950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9951 formatting.
9952
04fb54b5
TS
99532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9954
9955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9956 the temporary FPU control word.
9957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9968
3f99608f
KK
99692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9970
9971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9972 fields.
9973
65a4de4e
CLT
99742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9975
9976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9980 Likewise.
9981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9983 Likewise.
9984
15749d40
UD
99852012-05-27 Ulrich Drepper <drepper@gmail.com>
9986
9987 * po/h.po: Update from translation team.
9988
25dbcb27
AS
99892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9990
3d3f8e55
AS
9991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9992
25dbcb27
AS
9993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9994 handling of denormals.
9995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10002 Likewise.
10003
7ad47a80 100042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10005
10006 [BZ #14152]
10007 * math/libm-test.inc (fma_test): Don't always expect underflow
10008 exception.
10009
9c6ea9fa
SP
100102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
10012 [BZ #12416]
10013 * elf/tst-execstack.c: Include stackinfo.h.
10014 (do_test): Adjust test case to ensure that pthread_getattr_np
10015 behaviour remains the same after marking stack executable.
10016
a8239222
JM
100172012-05-25 Joseph Myers <joseph@codesourcery.com>
10018
10019 * sysdeps/unix/sysv/linux/kernel-features.h
10020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10022 kernel-features.h.
10023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10026 kernel-features.h.
10027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10029
918b5606
L
100302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10031
10032 * configure.in: Define the default includes to being none.
10033 * configure: Regenerated.
10034
3a097cc7
RM
100352012-05-25 Roland McGrath <roland@hack.frob.com>
10036
8422c9a5
RM
10037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10038 * sysdeps/x86_64/setjmp.S: Likewise.
10039 * sysdeps/i386/bsd-setjmp.S: Likewise.
10040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10041 * sysdeps/i386/setjmp.S: Likewise.
10042 * sysdeps/i386/__longjmp.S: Likewise.
10043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10045
3a097cc7
RM
10046 * include/stap-probe.h: New file.
10047 * configure.in: Handle --enable-systemtap.
10048 * configure: Regenerated.
10049 * config.h.in (USE_STAP_PROBE): New #undef.
10050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10053
21708942
JM
100542012-05-25 Joseph Myers <joseph@codesourcery.com>
10055
10056 [BZ #13717]
10057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10058 to 2.4.0 where earlier.
10059 * sysdeps/unix/sysv/linux/configure: Regenerated.
10060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10061 <kernel-features.h>.
10062 [__ASSUME_32BITUIDS]: Make code unconditional.
10063 [!__ASSUME_32BITUIDS]: Remove conditional code.
10064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10065 <kernel-features.h>.
10066 [__ASSUME_32BITUIDS]: Make code unconditional.
10067 [!__ASSUME_32BITUIDS]: Remove conditional code.
10068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10069 [__ASSUME_32BITUIDS]: Make code unconditional.
10070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10072 <kernel-features.h>.
10073 [__ASSUME_32BITUIDS]: Make code unconditional.
10074 [!__ASSUME_32BITUIDS]: Remove conditional code.
10075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10076 <kernel-features.h>.
10077 [__ASSUME_32BITUIDS]: Make code unconditional.
10078 [!__ASSUME_32BITUIDS]: Remove conditional code.
10079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10080 <kernel-features.h>.
10081 [__ASSUME_32BITUIDS]: Make code unconditional.
10082 [!__ASSUME_32BITUIDS]: Remove conditional code.
10083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10084 <kernel-features.h>.
10085 [__ASSUME_32BITUIDS]: Make code unconditional.
10086 [!__ASSUME_32BITUIDS]: Remove conditional code.
10087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10088 <kernel-features.h>.
10089 [__ASSUME_32BITUIDS]: Make code unconditional.
10090 [!__ASSUME_32BITUIDS]: Remove conditional code.
10091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10092 <kernel-features.h>.
10093 [__ASSUME_32BITUIDS]: Make code unconditional.
10094 [!__ASSUME_32BITUIDS]: Remove conditional code.
10095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10096 <kernel-features.h>.
10097 [__ASSUME_32BITUIDS]: Make code unconditional.
10098 [!__ASSUME_32BITUIDS]: Remove conditional code.
10099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10100 <kernel-features.h>.
10101 [__ASSUME_32BITUIDS]: Make code unconditional.
10102 [!__ASSUME_32BITUIDS]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10104 <kernel-features.h>.
10105 [__ASSUME_32BITUIDS]: Make code unconditional.
10106 [!__ASSUME_32BITUIDS]: Remove conditional code.
10107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10108 <kernel-features.h>.
10109 [__ASSUME_32BITUIDS]: Make code unconditional.
10110 [!__ASSUME_32BITUIDS]: Remove conditional code.
10111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10112 <kernel-features.h>.
10113 [__NR_setresgid] (__setresgid): Do not declare.
10114 [__ASSUME_32BITUIDS]: Make code unconditional.
10115 [!__ASSUME_32BITUIDS]: Remove conditional code.
10116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10117 <kernel-features.h>.
10118 [__NR_setresuid] (__setresuid): Do not declare.
10119 [__ASSUME_32BITUIDS]: Make code unconditional.
10120 [!__ASSUME_32BITUIDS]: Remove conditional code.
10121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10122 <kernel-features.h>.
10123 [__ASSUME_32BITUIDS]: Make code unconditional.
10124 [!__ASSUME_32BITUIDS]: Remove conditional code.
10125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10126 <kernel-features.h>.
10127 [__ASSUME_32BITUIDS]: Make code unconditional.
10128 [!__ASSUME_32BITUIDS]: Remove conditional code.
10129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10130 <kernel-features.h>.
10131 [__ASSUME_32BITUIDS]: Make code unconditional.
10132 [!__ASSUME_32BITUIDS]: Remove conditional code.
10133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10134 <kernel-features.h>.
10135 [__ASSUME_32BITUIDS]: Make code unconditional.
10136 [!__ASSUME_32BITUIDS]: Remove conditional code.
10137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10138 <kernel-features.h>.
10139 [__ASSUME_32BITUIDS]: Make code unconditional.
10140 [!__ASSUME_32BITUIDS]: Remove conditional code.
10141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10142 <kernel-features.h>.
10143 [__ASSUME_32BITUIDS]: Make code unconditional.
10144 [!__ASSUME_32BITUIDS]: Remove conditional code.
10145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10146 <kernel-features.h>.
10147 [__ASSUME_32BITUIDS]: Make code unconditional.
10148 [!__ASSUME_32BITUIDS]: Remove conditional code.
10149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10150 <kernel-features.h>.
10151 [__ASSUME_32BITUIDS]: Make code unconditional.
10152 [!__ASSUME_32BITUIDS]: Remove conditional code.
10153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10154 <kernel-features.h>.
10155 [__ASSUME_32BITUIDS]: Make code unconditional.
10156 [!__ASSUME_32BITUIDS]: Remove conditional code.
10157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10158 <kernel-features.h>.
10159 [__ASSUME_32BITUIDS]: Make code unconditional.
10160 [!__ASSUME_32BITUIDS]: Remove conditional code.
10161 * sysdeps/unix/sysv/linux/kernel-features.h
10162 (__ASSUME_SETRESUID_SYSCALL): Remove.
10163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10164 (__ASSUME_32BITUIDS): Likewise.
10165 (__ASSUME_LDT_WORKS): Likewise.
10166 (__ASSUME_O_DIRECTORY): Likewise.
10167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10168 architecture but not kernel version.
10169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10170 (__ASSUME_MMAP2_SYSCALL): Likewise.
10171 (__ASSUME_STAT64_SYSCALL): Likewise.
10172 (__ASSUME_IPC64): Likewise.
10173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10174 <kernel-features.h>.
10175 [__ASSUME_32BITUIDS]: Make code unconditional.
10176 [!__ASSUME_32BITUIDS]: Remove conditional code.
10177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10178 <kernel-features.h>.
10179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10181 132096]: Remove conditional code.
10182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10184 <kernel-features.h>.
10185 [__ASSUME_32BITUIDS]: Make code unconditional.
10186 [!__ASSUME_32BITUIDS]: Remove conditional code.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10188 <kernel-features.h>.
10189 [__ASSUME_32BITUIDS]: Make code unconditional.
10190 [!__ASSUME_32BITUIDS]: Remove conditional code.
10191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10192 <kernel-features.h>.
10193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10194 unconditional.
10195 (__setresgid): Do not declare.
10196 [__ASSUME_32BITUIDS]: Make code unconditional.
10197 [!__ASSUME_32BITUIDS]: Remove conditional code.
10198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10199 <kernel-features.h>.
10200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10201 unconditional.
10202 (__setresuid): Do not declare.
10203 [__ASSUME_32BITUIDS]: Make code unconditional.
10204 [!__ASSUME_32BITUIDS]: Remove conditional code.
10205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10206 <kernel-features.h>.
10207 [__ASSUME_32BITUIDS]: Make code unconditional.
10208 [!__ASSUME_32BITUIDS]: Remove conditional code.
10209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10210 <kernel-features.h>.
10211 [__ASSUME_32BITUIDS]: Make code unconditional.
10212 [!__ASSUME_32BITUIDS]: Remove conditional code.
10213
a386f1cc
RH
102142012-05-25 Richard Henderson <rth@twiddle.net>
10215
10216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10217 dl_hwcap to ifunc resolver.
10218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10219 elf_ifunc_invoke.
10220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10221 dl_hwcap to ifunc resolver.
10222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10223
b6550497
JM
102242012-05-24 Joseph Myers <joseph@codesourcery.com>
10225
10226 [BZ #14153]
10227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10228 for |x| <= 2**-26, not 2**-57.
10229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10230 exception.
10231
b0bc23a1
JL
102322012-05-24 Jeff Law <law@redhat.com>
10233
10234 * stdio-common/Makefile (tests): Add bug25.
10235 * stdio-common/bug25.c: New test.
10236
347c92e9
L
102372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10238
10239 [BZ #13576]
10240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10241 multiple of MALLOC_ALIGNMENT in size.
10242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10243
6bcc8b3f
JM
102442012-05-24 Joseph Myers <joseph@codesourcery.com>
10245
10246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10247 Require >= 256.
10248 (FILENAME_MAX): Use macro-int-constant.
10249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10250 (_IOFBF): Use macro-int-constant.
10251 (_IOLBF): Likewise.
10252 (_IONBF): Likewise.
10253 (SEEK_CUR): Likewise.
10254 (SEEK_END): Likewise.
10255 (SEEK_SET): Likewise.
10256 (TMP_MAX): Likewise.
10257 (EOF): Use macro-int-constant. Require < 0.
10258 (NULL): Use macro-constant. Require == 0.
10259 (stdin): Require type to be FILE *.
10260 (stdout): Likewise.
10261 (stderr): Likewise.
10262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10263 macro-int-constant.
10264 (EXIT_SUCCESS): Likewise.
10265 (NULL): Use macro-constant. Require == 0.
10266 (RAND_MAX): Use macro-int-constant.
10267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10268 [C99-based standards] (strtof): Require function.
10269 [C99-based standards] (strtold): Likewise.
10270 [C99-based standards] (strtoll): Likewise.
10271 [C99-based standards] (strtoull): Likewise.
10272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10274 [ISO || ISO99 || ISO11] (math.h): Likewise.
10275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10278
d18ea0c5
AS
102792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10280
10281 [BZ #14132]
56d25bb8
AS
10282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10284 * intl/dgettext.c (DCGETTEXT): Likewise.
10285 * intl/gettext.c (DCGETTEXT): Likewise.
10286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10287 * posix/regex_internal.h (gettext): Likewise.
10288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10289 Remove declaration.
10290 * include/argz.h (__argz_count_internal)
10291 (__argz_stringify_internal): Remove declaration.
10292 (__argz_count, __argz_stringify): Declare hidden proto.
10293 * intl/dcgettext.c: Remove use of INTDEF.
10294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10295 * string/argz-stringify.c: Likewise.
10296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10298 Declare hidden proto.
d18ea0c5
AS
10299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10301 Declare hidden proto.
10302 * include/stdio.h (__asprintf_internal): Don't declare.
10303 (__asprintf): Don't define as macro. Declare hidden proto.
10304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10305 (__fsetlocking): Declare hidden proto.
10306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10308 hidden proto.
10309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10310 (_IO_setlinebuf): Remove use of INTUSE.
10311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10314 Remove declaration.
10315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10316 (_IO_do_flush): Remove use of INTUSE.
10317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10319 (_IO_adjust_column, _IO_least_wmarker)
10320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10323 (_IO_default_doallocate, _IO_wdefault_doallocate)
10324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10337 proto.
10338 (_IO_flush_all_internal, _IO_adjust_column_internal)
10339 (_IO_default_uflow_internal, _IO_default_finish_internal)
10340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10348 (_IO_file_close_internal, _IO_file_close_it_internal)
10349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10350 (_IO_file_init_internal, _IO_file_attach_internal)
10351 (_IO_file_fopen_internal, _IO_file_read_internal)
10352 (_IO_file_sync_internal, _IO_file_seek_internal)
10353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10358 (_IO_list_all_internal, _IO_link_in_internal)
10359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10363 (_IO_do_write_internal, _IO_padn_internal)
10364 (_IO_getline_info_internal, _IO_getline_internal)
10365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10372 with libc_hidden_ver, remove use of INTUSE.
10373 * libio/genops.c: Likewise.
10374 * libio/freopen.c: Likewise.
10375 * libio/freopen64.c: Likewise.
10376 * libio/iofclose.c: Likewise.
10377 * libio/iofdopen.c: Likewise.
10378 * libio/iofflush.c: Likewise.
10379 * libio/iofflush_u.c: Likewise.
10380 * libio/iofgets.c: Likewise.
10381 * libio/iofgets_u.c: Likewise.
10382 * libio/iofopen.c: Likewise.
10383 * libio/iofopncook.c: Likewise.
10384 * libio/iofread.c: Likewise.
10385 * libio/iofread_u.c: Likewise.
10386 * libio/ioftell.c: Likewise.
10387 * libio/iofwrite.c: Likewise.
10388 * libio/iogetline.c: Likewise.
10389 * libio/iogets.c: Likewise.
10390 * libio/iogetwline.c: Likewise.
10391 * libio/iopadn.c: Likewise.
10392 * libio/iopopen.c: Likewise.
10393 * libio/ioseekoff.c: Likewise.
10394 * libio/ioseekpos.c: Likewise.
10395 * libio/iosetbuffer.c: Likewise.
10396 * libio/iosetvbuf.c: Likewise.
10397 * libio/ioungetc.c: Likewise.
10398 * libio/ioungetwc.c: Likewise.
10399 * libio/iovdprintf.c: Likewise.
10400 * libio/iovsprintf.c: Likewise.
10401 * libio/iovsscanf.c: Likewise.
10402 * libio/memstream.c: Likewise.
10403 * libio/obprintf.c: Likewise.
10404 * libio/oldfileops.c: Likewise.
10405 * libio/oldiofclose.c: Likewise.
10406 * libio/oldiofdopen.c: Likewise.
10407 * libio/oldiofopen.c: Likewise.
10408 * libio/oldiopopen.c: Likewise.
10409 * libio/oldstdfiles.c: Likewise.
10410 * libio/putc.c: Likewise.
10411 * libio/setbuf.c: Likewise.
10412 * libio/setlinebuf.c: Likewise.
10413 * libio/stdfiles.c: Likewise.
10414 * libio/strops.c: Likewise.
10415 * libio/vasprintf.c: Likewise.
10416 * libio/vscanf.c: Likewise.
10417 * libio/vsnprintf.c: Likewise.
10418 * libio/vswprintf.c: Likewise.
10419 * libio/wfiledoalloc.c: Likewise.
10420 * libio/wfileops.c: Likewise.
10421 * libio/wgenops.c: Likewise.
10422 * libio/wmemstream.c: Likewise.
10423 * libio/wstrops.c: Likewise.
10424 * libio/__fpurge.c: Likewise.
10425 * libio/__fsetlocking.c: Likewise.
10426 * assert/assert.c: Likewise.
10427 * debug/fgets_chk.c: Likewise.
10428 * debug/fgets_u_chk.c: Likewise.
10429 * debug/fread_chk.c: Likewise.
10430 * debug/fread_u_chk.c: Likewise.
10431 * debug/gets_chk.c: Likewise.
10432 * debug/obprintf_chk.c: Likewise.
10433 * debug/vasprintf_chk.c: Likewise.
10434 * debug/vdprintf_chk.c: Likewise.
10435 * debug/vsnprintf_chk.c: Likewise.
10436 * debug/vsprintf_chk.c: Likewise.
10437 * malloc/mtrace.c: Likewise.
10438 * misc/error.c: Likewise.
10439 * misc/syslog.c: Likewise.
10440 * stdio-common/asprintf.c: Likewise.
10441 * stdio-common/fxprintf.c: Likewise.
10442 * stdio-common/getw.c: Likewise.
10443 * stdio-common/isoc99_fscanf.c: Likewise.
10444 * stdio-common/isoc99_scanf.c: Likewise.
10445 * stdio-common/isoc99_vfscanf.c: Likewise.
10446 * stdio-common/isoc99_vscanf.c: Likewise.
10447 * stdio-common/isoc99_vsscanf.c: Likewise.
10448 * stdio-common/printf-prs.c: Likewise.
10449 * stdio-common/printf_fp.c: Likewise.
10450 * stdio-common/printf_fphex.c: Likewise.
10451 * stdio-common/printf_size.c: Likewise.
10452 * stdio-common/putw.c: Likewise.
10453 * stdio-common/scanf.c: Likewise.
10454 * stdio-common/sprintf.c: Likewise.
10455 * stdio-common/tmpfile.c: Likewise.
10456 * stdio-common/vfprintf.c: Likewise.
10457 * stdio-common/vfscanf.c: Likewise.
10458 * stdlib/strfmon_l.c: Likewise.
10459 * sunrpc/openchild.c: Likewise.
10460 * sunrpc/xdr_stdio.c: Likewise.
10461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10463
d6c33fda
RM
104642012-05-24 Roland McGrath <roland@hack.frob.com>
10465
c1487492
RM
10466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10467
10468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10469 in the third column, to generate for the shared library an IFUNC
10470 that uses _dl_vdso_vsym.
10471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10472 * Makeconfig (object-suffixes-noshared): New variable.
10473
10474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10478
d6c33fda
RM
10479 [BZ #14132]
10480 * include/sys/time.h (__gettimeofday): Remove macro.
10481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10483 Remove INTDEF.
10484 (__gettimeofday): Add libc_hidden_def.
10485 (gettimeofday): Add libc_hidden_weak.
10486 * sysdeps/mach/gettimeofday.c: Likewise.
10487 * sysdeps/posix/gettimeofday.c: Likewise.
10488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10491 (__gettimeofday_internal): Remove strong_alias.
10492 (__gettimeofday): Add libc_hidden_def.
10493 (gettimeofday): Add libc_hidden_weak.
10494 * sysdeps/unix/syscalls.list (gettimeofday):
10495 Remove __gettimeofday_internal alias.
10496
b5a2bbe6
L
104972012-05-24 Daniel Jacobowitz <drow@false.org>
10498 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 [BZ #12495]
10501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10503 (largebin_index_32_big): New.
10504 (largebin_index): Use it for 16-byte alignment.
10505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10506 correction with front_misalign.
10507
cfba4fda
L
105082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10509
7f907421
L
10510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10512 Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10514 Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10516 Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10518 Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10520 Likewise.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10522 Likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10524 Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10526 Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10532 Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10534 Likewise.
10535
cfba4fda
L
10536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10538
80bad0cc
JM
105392012-05-24 Joseph Myers <joseph@codesourcery.com>
10540
7a25eb06
JM
10541 [BZ #10846]
10542 [BZ #14036]
10543 * math/libm-test.inc (exp_test): Add test from bug 14036.
10544 (pow_test): Add test from bug 10846.
10545
795405f9
JM
10546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10547 and other flags.
10548 (special_function): Do not include flags in test name.
10549 (parse_args): Likewise.
10550 * sysdeps/i386/fpu/libm-test-ulps: Update.
10551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10555
80bad0cc
JM
10556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10557 exceptions.
10558 * math/libm-test.inc ("Philosophy"): Update comment about
10559 exception testing.
10560 (UNDERFLOW_EXCEPTION): New macro.
10561 (UNDERFLOW_EXCEPTION_OK): Likewise.
10562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10566 (INVALID_EXCEPTION_OK): Update value.
10567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10568 (OVERFLOW_EXCEPTION_OK): Likewise.
10569 (IGNORE_ZERO_INF_SIGN): Likewise.
10570 (test_exceptions): Handle underflow exceptions.
10571 (acos_test): Update for underflow exception expectations.
10572 (cexp_test): Likewise.
10573 (clog_test): Likewise.
10574 (clog10_test): Likewise.
10575 (csqrt_test): Likewise.
10576 (ctan_test): Likewise.
10577 (ctanh_test): Likewise.
10578 (exp_test): Likewise.
10579 (exp10_test): Likewise.
10580 (exp2_test): Likewise.
10581 (expm1_test): Likewise.
10582 (fma_test): Likewise.
10583 (j0_test): Likewise.
10584 (jn_test): Likewise.
10585 (nexttoward_test): Likewise.
10586 (pow_test): Likewise.
10587 (scalbn_test): Likewise.
10588 (scalbln_test): Likewise.
10589 (tan_test): Likewise.
10590 (y1_test): Likewise.
10591 * sysdeps/i386/fpu/libm-test-ulps: Update.
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593
9e0e3d0b
DM
105942012-05-23 David S. Miller <davem@davemloft.net>
10595
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10597 (__libc_sigaction): Remove unused local variables.
10598
ccd0a08f
L
105992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10602
62bdf9a6
PE
106032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10604
f8591f80
PE
10605 mktime: avoid signed integer overflow
10606 * time/mktime.c (__mktime_internal): Do not mishandle the case
10607 where diff == INT_MIN.
10608
94c7d826
PE
10609 mktime: simplify computation of average
10610 * time/mktime.c (ranged_convert): Use new time_t_avg function
10611 instead of rolling our own (probably-slower) code.
10612
ce73d683
PE
10613 mktime: do not assume signed right shift propagates sign bit
10614 * time/mktime.c (isdst_differ): New static function.
10615 (__mktime_internal): No need to normalize tm_isdst now.
10616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10617 tm_isdst values.
10618
72a22e59
PE
10619 mktime: merge another wrapv change from gnulib
10620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10621 from some compilers.
10622
68605433
PE
10623 mktime: remove incorrect attempt at unusual arithmetics
10624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10625 The code didn't really work on such machines anyway.
10626 (TYPE_MINIMUM): Assume two's complement.
10627 (twos_complement_arithmetic): Verify that long_int and time_t
10628 are two's complement (or unsigned, in the latter case).
10629
03cf7fe3
PE
10630 mktime: check signed shifts on long_int and time_t, too
10631 * time/mktime.c (SHR): Check that shifts work as desired
10632 on the types long_int and time_t too, as SHR is used on
10633 such types.
10634
f04dfbc2
PE
10635 mktime: do not assume 'long' is wide enough
10636 * time/mktime.c (verify): Move decl up.
10637 (long_int): New type.
10638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10639 to remove assumption in the code that 'long' is wide enough to
10640 store year values. This assumption is not true on x32 and on
10641 some non-glibc platforms.
10642
62bdf9a6
PE
10643 mktime: merge wrapv change from gnulib
10644 * time/mktime.c (WRAPV): New macro.
10645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10646 (guess_time_tm, __mktime_internal): Do not assume that signed
10647 integer overflow wraps around; modern compilers generate code
10648 where this assumption is no longer valid.
10649
5e292e4f
L
106502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10651
10652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10653 Replace "jmp L(pseudo_end)" with "ret".
10654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10655 Likewise.
10656
8caf8c87
AJ
106572012-05-23 Andreas Jaeger <aj@suse.de>
10658
10659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10661
1a09dc56
AJ
106622012-05-23 Andreas Jaeger <aj@suse.de>
10663 Maximilian Attems <max@stro.at>
10664
10665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10666 New macros.
10667
1c87aba0
L
106682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10669
10670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10671 code so that pseudo_end is just ret and the stack pointer is
10672 correct also for static library in error case.
10673
40e45bd5
JM
106742012-05-23 Joseph Myers <joseph@codesourcery.com>
10675
c2670533
JM
10676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10677 move to syscalls.list.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10682
40e45bd5
JM
10683 * manual/install.texi (Running make install): Do not mention Linux
10684 kernel version for which pt_chown is not needed.
10685 (Linux): Do not mention problems with nscd with 2.0 kernels.
10686 * INSTALL: Regenerated.
10687
be08eda5
AJ
106882012-05-23 Andreas Jaeger <aj@suse.de>
10689
10690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10692 macro.
10693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10703 * sysdeps/unix/sysv/linux/bits/in.h
10704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10705
a6a056bb
RM
107062012-05-22 Roland McGrath <roland@hack.frob.com>
10707
10708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10709 (PREPARE_VERSION): Just use assert instead, it will be elided
10710 under [NDEBUG] anyway.
10711
c9009328
L
107122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/unix/sysv/linux/Makefile: Include
10715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10716 (sysdep_routines): Remove sysctl.
c9009328
L
10717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10722
73338355
AJ
107232012-05-22 Andreas Jaeger <aj@suse.de>
10724
10725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10726 that pseudo_end is just ret and the stack pointer is correct also
10727 for static library in error case.
10728
d44638b0
PP
107292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10730
10731 [BZ #14122]
10732 * nss/nsswitch.c (defconfig_entries): New variable.
10733 (__nss_database_lookup): Don't leak defconfig entries.
10734 (nss_parse_service_list): Don't leak on error paths.
10735 (free_database_entries): New function.
10736 (free_defconfig): New function.
10737 (free_mem): Move common code to free_database_entries.
10738
31a39bd8
L
107392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10740
da0331a8
L
10741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10742 Add arch_prctl.
10743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10744
31a39bd8
L
10745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10748 New macro.
10749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10750 (INTERNAL_SYSCALL_TYPES): Likewise.
10751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10752 (LOAD_REGS_TYPES_[1-6]): Likewise.
10753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10755
45470df3
AZ
107562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757
10758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10759 copysignl for GLIBC_2_0.
10760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10763 logbl for GLIBC_2_0.
10764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10766
98a61bcb
L
107672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10768
a4f6e481
L
10769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10771
f63d5db6
L
10772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10773 Use "neg %eax".
10774
98a61bcb
L
10775 * time/mktime.c: Update copyright years.
10776
95770f14
PE
107772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10778
6226efbd
PE
10779 mktime: merge comment-quoting-style change from gnulib
10780 * time/mktime.c: Quote 'like this' in comments.
10781 The GNU coding standards suggest that we no longer quote `like this',
10782 as "`" and "'" are typically rendered asymmetrically nowadays.
10783 The typical gnulib style is to quote 'like this' when quoting
10784 code, and "like this" when quoting English.
10785
b99e4f78
PE
10786 * time/mktime.c (compile-command): Add "-I.".
10787
643e01e6
PE
10788 mktime: merge mktime-internal.h change from gnulib
10789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10790
2554247d
PE
10791 mktime: merge time_r change from gnulib
10792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10793
826dd0ab
PE
10794 mktime: merge DEBUG change from gnulib
10795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10796 case system <time.h> has a #define.
10797
bd83aabe
PE
10798 mktime: merge <sys/types.h> change from gnulib
10799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10800 since <time.t> is now guaranteed to define time_t.
10801
95770f14
PE
10802 mktime: merge HAVE_CONFIG_H change from gnulib
10803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10804
5e1a27a9
L
108052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10806
0e44a77e
L
10807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10808 Use "neg %eax".
10809
5e1a27a9
L
10810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10811 __rlim_t cast.
10812 (struct rusage): Use anonymous union to pad each field to
10813 __syscall_slong_t.
10814
46259bec
DM
108152012-05-21 David S. Miller <davem@davemloft.net>
10816
10817 * Makefules (o-iterator): Remove .s cases.
10818 (compile-command.s): Delete.
10819 (COMPILE.s): Delete.
10820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10821
59f0c22e
JM
108222012-05-21 Joseph Myers <joseph@codesourcery.com>
10823
10824 * configure.in (libc_cv_predef_stack_protector): Only consider
10825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10826 * configure: Regenerated.
10827
20c07380
L
108282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10829
bbb3154b
L
10830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10831 New macro. Use R*LP on int and pointer.
10832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10836
20c07380
L
10837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10838 [__WORDSIZE_TIME64_COMPAT32] instead of
10839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10840 (struct utmp): Likewise.
10841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10843 Renamed to ...
10844 (__WORDSIZE_TIME64_COMPAT32): This.
10845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10850 (__WORDSIZE_TIME64_COMPAT32): New macro.
10851
d8d1017e
AJ
108522012-05-21 Andreas Jaeger <aj@suse.de>
10853
10854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10855 only if [SHARED]. Add prototype for __wcschr_ia32.
10856
6c7fb145
RM
108572012-05-21 Roland McGrath <roland@hack.frob.com>
10858
10859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10860 of %rbp unmolested in the jmp_buf while mangling the low bits.
10861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10862 unmolested high bits of %rbp while demangling the low bits.
10863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10864
66274218
AJ
108652012-05-21 Andreas Jaeger <aj@suse.de>
10866
07c58f8f
AJ
10867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10868 * sunrpc/svc_simple.c: Use it for registerrpc.
10869 * sunrpc/xcrypt.c: Use it for passwd2des.
10870
66274218
AJ
10871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10872
61f65140
L
108732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10874
10875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10876 Don't define if [__SYSCALL_WORDSIZE != 32].
10877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10878 New macro.
10879
5fefb436
AJ
108802012-05-21 Bruno Haible <bruno@clisp.org>
10881 Andreas Jaeger <aj@suse.de>
10882
10883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10885 inptr and inend for must_buffer_ch.
10886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10888 * stdio-common/Makefile (tests): Remove bug15.
10889 (bug15-ENV): Remove macro.
10890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10891 anymore.
10892
d8e272ab
AJ
108932012-05-19 Andreas Jaeger <aj@suse.de>
10894 Roland McGrath <roland@hack.frob.com>
10895
10896 * manual/contrib.texi: Completely rewritten. It contains now an
10897 alphabetical list of contributors and their contributions.
10898
4a56a162
RH
108992012-05-21 Richard Henderson <rth@twiddle.net>
10900
10901 * misc/getauxval.c (__getauxval): Use unsigned long int.
10902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10903 (getauxval): Use unsigned long int.
10904
d024d23c
L
109052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10906
10907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10908
cbc00a03
RM
109092012-05-21 Roland McGrath <roland@hack.frob.com>
10910
10911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10913 __alignof__ (long double).
10914
478143fa
AZ
109152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10918
c7683a6d
RH
109192012-05-20 Richard Henderson <rth@twiddle.net>
10920
10921 * misc/getauxval.c: New file.
10922 * misc/sys/auxv.h: New file.
10923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10924 (routines): Add getauxval.
10925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10927 * elf/dl-sysdep.c (_dl_auxv): Remove.
10928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10929 * elf/dl-support.c (_dl_auxv): New variable.
10930 (_dl_aux_init): Initialize it.
10931 * manual/startup.texi (Auxiliary Vector): New node.
10932 * sysdeps/generic/bits/hwcap.h: New file.
10933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10936 * sysdeps/sparc/sysdep.h: ... here. Include it.
10937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10940 Update.
c7683a6d
RH
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10949
a6f1845d
AZ
109502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10951
10952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10953
cbcbe830
DM
109542012-05-19 David S. Miller <davem@davemloft.net>
10955
10956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10957
e0b16cc2
JM
109582012-05-19 Joseph Myers <joseph@codesourcery.com>
10959
10960 [BZ #14123]
10961 * math/s_ccosh.c: Include <float.h>
10962 (__ccosh): Avoid internal overflow calculating sinh and cosh
10963 values before multiplying by sin and cos values.
10964 * math/s_ccoshf.c: Likewise.
10965 * math/s_ccoshl.c: Likewise.
10966 * math/s_csin.c: Likewise.
10967 * math/s_csinf.c: Likewise.
10968 * math/s_csinl.c: Likewise.
10969 * math/s_csinh.c: Likewise.
10970 * math/s_csinhf.c: Likewise.
10971 * math/s_csinhl.c: Likewise.
10972 * math/libm-test.inc (ccos_test): Add more tests.
10973 (ccosh_test): Likewise.
10974 (csin_test): Likewise.
10975 (csinh_test): Likewise.
10976 * sysdeps/i386/fpu/libm-test-ulps: Update.
10977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978
6ad13e08
L
109792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10980
f66f0ce8
L
10981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10983
6ad13e08
L
10984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10985
b1d072a7
JM
109862012-05-19 Joseph Myers <joseph@codesourcery.com>
10987
10988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11019
9eae47cb
AJ
110202012-05-18 Andreas Jaeger <aj@suse.de>
11021
11022 * csu/.gitignore: Delete.
11023
bb07f69f
L
110242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11025
11026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11027 (timex): Use __syscall_slong_t.
11028
e6bdb741
AJ
110292012-05-18 Andreas Jaeger <aj@suse.de>
11030 Carlos O'Donell <carlos_odonell@mentor.com>
11031
11032 * manual/install.texi (Configuring and compiling): Update
11033 description about files modified in the source directory.
d6c33fda 11034 * INSTALL: Regenerated.
e6bdb741 11035
1b74487e
L
110362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11039 value. Use "or" to set return value to -1.
11040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11041 negate return value.
11042
a88b64b9
TMQMF
110432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11044
11045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11046 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11047 failure if the compiler has Graphite support disabled.
11048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11049 Likewise.
11050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11051 CFLAGS-memmove.c): Likewise.
11052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11053 Likewise.
11054
3707636e
L
110552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11056
610b8622
L
11057 * sysdeps/x86_64/x32/_itoa.h: New file.
11058
7cd195df
L
11059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11060 getdents system call only if kernel and user dirents have the
11061 same d_ino and d_off.
11062
94b07d20
L
11063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11064 LLONG_MAX != LONG_MAX.
11065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11066 (_fitoa_word): Likewise.
11067
18298070
L
11068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11069 years.
11070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11073
553c7ea4
L
11074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11075 include <bits/wordsize.h>. Check __x86_64__ instead of
11076 __WORDSIZE.
11077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11078 if __x86_64__ is defined. Use anonymous union on fpstate.
11079
3707636e
L
11080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11081 anonymous union.
11082
b53ef01a
AS
110832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11084
37fb1dc0
AS
11085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11088 Refer to _rtld_local_ro instead of _rtld_global_ro.
11089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11090 Likewise.
11091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11092 Likewise.
11093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11094 Likewise.
11095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11098
b53ef01a
AS
11099 * sysdeps/powerpc/powerpc32/dl-machine.c
11100 (__elf_machine_runtime_setup) [PROF]: Don't reference
11101 _dl_prof_resolve.
11102
7a185db2
AJ
111032012-05-18 Andreas Jaeger <aj@suse.de>
11104
11105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11106 function only available for GCCs before 3.4 since GCC 3.4
11107 introduced a builtin.
11108 (lrint): Likewise.
11109 (llrintf): Likewise.
11110 (llrint): Likewise.
11111 (fmaxf): Likewise.
11112 (fmax): Likewise.
11113 (fminf): Likewise.
11114 (fmin): Likewise.
11115 (rint): Likewise.
11116 (rintf): Likewise.
11117 (nearbyint): Likewise.
11118 (nearbyintf): Likewise.
11119 (ceil): Likewise.
11120 (ceilf): Likewise.
11121 (floor): Likewise.
11122 (floorf): Likewise.
11123
3e5aef87
L
111242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11125
428bd707
L
11126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11127 on both fields and cast pointer to __syscall_ulong_t.
11128
3e5aef87
L
11129 * bits/types.h (__fsword_t): New type.
11130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11133 (__FSWORD_T_TYPE): Likewise.
11134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11135 (__FSWORD_T_TYPE): Likewise.
11136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11137 (__FSWORD_T_TYPE): Likewise.
11138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11139 (__FSWORD_T_TYPE): Likewise.
11140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11141 __SWORD_TYPE with __fsword_t.
11142 (statfs64): Likewise.
11143
1ba7c3dc
DM
111442012-05-17 David S. Miller <davem@davemloft.net>
11145
11146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11147
59910343
AJ
111482012-05-17 Andreas Jaeger <aj@suse.de>
11149
11150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11151 warning.
11152
2e4c1e9e
L
111532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11156
de7f5ce7
AJ
111572012-05-17 Andreas Jaeger <aj@suse.de>
11158
11159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11160 when it is used.
11161
286abc3d
CM
111622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11163
11164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11165
477cc68e
L
111662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11167
11168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11170
1a0994f5
CD
111712012-05-17 Andreas Jaeger <aj@suse.de>
11172 Carlos O'Donell <carlos_odonell@mentor.com>
11173
11174 [BZ #14059]
11175 * sysdeps/x86_64/multiarch/init-arch.h
11176 (bit_YMM_Usable): Rename to...
11177 (bit_AVX_Usable): ... this.
11178 (bit_FMA4_Usable): New macro.
11179 (bit_XMM_state): New macro.
11180 (bit_YMM_state): New macro.
11181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11184 (CPUID_OSXSAVE): New macro.
11185 (CPUID_AVX): New macro.
11186 (CPUID_FMA4): New macro.
11187 (index_YMM_Usable): Rename to...
11188 (index_AVX_Usable): ... this.
11189 (HAS_AVX): Use HAS_ARCH_FEATURE.
11190 (HAS_FMA4): Likewise.
11191 (HAS_YMM_USABLE): Remove.
11192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11194 are present.
11195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11200
0af797de
CM
112012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11202
11203 * math/libm-test.c: Support platforms without multiple rounding modes.
11204 * math/bug-nextafter.c: Support platforms without FP exceptions.
11205 * math/bug-nexttoward.c: Likewise.
11206 * math/test-fenv.c: Likewise.
11207 * math/test-misc.c: Likewise.
11208 * stdlib/bug-getcontext.c: Likewise.
11209
e39745ff
AJ
112102012-05-17 Andreas Jaeger <aj@suse.de>
11211
11212 * manual/examples/search.c (critter_cmp): Change signature to
11213 avoid warnings.
11214 * manual/string.texi (Collation Functions): Likewise.
11215
48970aba
L
112162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 * bits/types.h: Fold copyright years.
11219 * bits/typesizes.h: Likewise.
11220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11224 * time/time.h: Likewise.
11225
bedee953
PP
112262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11227
11228 [BZ #208]
11229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11230 in instead of returning them. Return void.
11231 (__libc_mallinfo): Accumulate over all arenas.
11232 (__malloc_stats): Adjust for change in int_mallinfo interface.
11233
61653dfb
RM
112342012-05-16 Roland McGrath <roland@hack.frob.com>
11235
30b99d79
RM
11236 [BZ #10375]
11237 * configure.in (NM): Add AC_CHECK_TOOL for it.
11238 (libc_extra_cflags): New substituted variable.
11239 Check for -fstack-protector being used implicitly.
11240 * configure: Regenerated.
11241 * config.make.in (config-extra-cflags): New variable,
11242 gets @libc_extra_cflags@.
11243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11244
61653dfb
RM
11245 [BZ #10375]
11246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11248 * configure: Regenerated.
11249 * config.make.in (CPPUNDEFS): New substituted variable.
11250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11253
661768bb
L
112542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11255
11256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11257 (mq_attr): Use __syscall_slong_t.
11258
d4261567
L
112592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11262 Check __x86_64__ instead of __WORDSIZE.
11263 (_STAT_VER_LINUX): Likewise.
11264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11265 __syscall_ulong_t and __syscall_slong_t.
11266 (stat64): Likewise.
11267
cf3ff365
L
112682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11269
11270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11271
76cf3e4d
L
112722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11275
a637753a
L
112762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11279 __syscall_ulong_t.
11280
d5e05119
L
11281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11282 include <bits/wordsize.h>. Check __x86_64__ instead of
11283 __WORDSIZE.
11284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11285 defined.
11286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11287
f62ee380
L
11288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11289 include <bits/wordsize.h>. Check __x86_64__ instead of
11290 __WORDSIZE.
11291 (user_regs_struct): Use "__extension__ unsigned long long"
11292 instead of "unsigned long" if __x86_64__ is defined.
11293 (user): Likewise. Pad after pointer field if __ILP32__ is
11294 defined.
11295
4e124ced
JM
112962012-05-16 Joseph Myers <joseph@codesourcery.com>
11297
6a3951a0
JM
11298 * configure.in (makeinfo): Require version 4.5 or later. Allow
11299 versions 5 to 9.
11300 * configure: Regenerated.
11301 * manual/install.texi (texinfo): Increase version requirement to
11302 4.5 or later.
11303 * INSTALL: Regenerated.
11304
4e124ced
JM
11305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11306
953ca31a
L
113072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11310
617aca05
L
11311 * sysdeps/x86_64/x32/ffs.c: New file.
11312
5762f7ae
L
11313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11314 __syscall_ulong_t.
11315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11316 defined. Use __syscall_ulong_t.
11317 (shminfo): Use __syscall_ulong_t.
11318 (shm_info): Likewise.
11319
a26b6856
L
11320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11321 __syscall_ulong_t.
11322
cb2b9ef7
L
11323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11324 <bits/wordsize.h>.
11325 (msgqnum_t): Use __syscall_ulong_t.
11326 (msglen_t): Likewise.
11327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11328 __syscall_ulong_t.
11329
34683bb0
L
11330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11332
84a68786
L
11333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11334
48baa5f1
L
11335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11337
180be88b
L
11338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11339 __syscall_slong_t.
11340
5e90c8ad
L
11341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11342 include <bits/wordsize.h>. Check __x86_64__ instead of
11343 __WORDSIZE.
11344
23dfb58b
L
11345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11346 "unsigned long long int" if __x86_64__ is defined.
11347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11348
ce5d54b0
L
11349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11352
13dc9eac
L
11353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11354 <stdint.h>.
11355 (GET_PC): Cast to uintptr_t first.
11356 (GET_FRAME): Likewise.
11357 (GET_STACK): Likewise.
11358
a7895d15
L
11359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11388
656416c9
AS
113892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11390
5bd66283
AS
11391 * Makerules (+depfiles): Also collect depfiles from .oS in
11392 $(extra-objs).
11393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11394 .oS, $(libnldbl-routines)).
11395
656416c9
AS
11396 * Makerules (native-compile-mkdep-flags): Define.
11397 * sunrpc/Makefile (extra-objs): Add $(addprefix
11398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11401 calling $(make-target-directory).
11402
a46f2169
L
114032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11404
11405 * bits/types.h (__snseconds_t): Removed.
11406 * time/time.h (struct timespec): Replace __snseconds_t with
11407 __syscall_slong_t.
11408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11410 Likewise.
11411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11412 (__SNSECONDS_T_TYPE): Likewise.
11413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11414 (__SNSECONDS_T_TYPE): Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11416 (__SNSECONDS_T_TYPE): Likewise.
11417
6af6528b
L
114182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 * sysdeps/mach/hurd/bits/typesizes.h
11421 (__SYSCALL_SLONG_TYPE): New macro.
11422 (__SYSCALL_ULONG_TYPE): Likewise.
11423
de986b56
L
114242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 * bits/types.h (__syscall_slong_t): New type.
11427 (__syscall_ulong_t): Likewise.
11428
11429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11430 (__SYSCALL_ULONG_TYPE): Likewise.
11431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11432 (__SYSCALL_SLONG_TYPE): Likewise.
11433 (__SYSCALL_ULONG_TYPE): Likewise.
11434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11435 (__SYSCALL_SLONG_TYPE): Likewise.
11436 (__SYSCALL_ULONG_TYPE): Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11438 (__SYSCALL_SLONG_TYPE): Likewise.
11439 (__SYSCALL_ULONG_TYPE): Likewise.
11440
85736dc7
L
114412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11444 Add sigaltstack-offsets.sym.
11445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11446 <sigaltstack-offsets.h>.
11447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11448 longjmp_msg pointer.
11449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11451 signal stack.
11452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11453
cc03b296
JM
114542012-05-15 Joseph Myers <joseph@codesourcery.com>
11455
a9538892
JM
11456 * elf/stackguard-macros.h: Remove file.
11457 * sysdeps/generic/stackguard-macros.h: New file.
11458 * sysdeps/i386/stackguard-macros.h: Likewise.
11459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11467 <elf/stackguard-macros.h>.
11468
cc03b296
JM
11469 [BZ #14109]
11470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11471 __aligned__ in attribute.
11472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11473 (gregset_t): Likewise.
11474
93171016
L
114752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11476
11477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11478 * sysdeps/x86_64/64/Implies-after: Here. New file.
11479 * sysdeps/x86_64/x32/Implies-after: New file.
11480
d86813a0
L
114812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11484 and access return value for _dl_profile_fixup. Use R10_LP to
11485 load frame size.
11486
2953ec75
L
114872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11488
11489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11490
3b550e9e
L
114912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11494 * sysdeps/x86_64/x32/sysdep.h: New file.
11495
eda41706
L
114962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11499 * sysdeps/x86_64/setjmp.S: Likewise.
11500
9ea01d93
AZ
115012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11502
11503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11507 remove unused global constant.
11508
02a91938
CM
115092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11510
11511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11512 include of <not-cancel.h>.
11513
6540185f
RM
115142012-05-15 Roland McGrath <roland@hack.frob.com>
11515
11516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11517
509072a0
AJ
115182012-05-15 Jeff Law <law@redhat.com>
11519 Andreas Jaeger <aj@suse.de>
11520
11521 [BZ #13594]
11522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11523 out from...
11524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11527 code changing __hst_map_handle.map.
11528
ba75122d
RM
115292012-05-15 Roland McGrath <roland@hack.frob.com>
11530
11531 * configure.in (sysnames): Look for Implies-before and Implies-after
11532 files.
11533 * configure: Regenerated.
11534
890d8bd8
L
115352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11536
11537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11538 8-byte data alignment with LP_SIZE alignment.
11539
f6ee6623
L
115402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11541
11542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11543 into R10_LP.
11544
ea2626f6
L
115452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11546
11547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11548
085f715e
L
115492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11550
11551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11554 Likewise.
11555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11556
be8498fc
L
115572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11560 (stackinfo_sub_sp): Likewise.
11561
70bc83b9
L
115622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11565 RAX_LP.
11566
9bc0b730
L
115672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11570 into R*_LP.
11571
6d2850e7
L
115722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11573
11574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11575 sizes into R*_LP.
11576
3cb84561
L
115772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11580
54e2ed81
L
115812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11584 into R11_LP and load __x86_64_shared_cache_size_half into
11585 R8_LP.
11586
8a17f349
L
115872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11590 R8_LP.
11591
777b1eea
AZ
115922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11593
11594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11595 logb for POWER7.
11596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11597 logbf for POWER7.
11598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11599 logbl for POWER7.
11600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11601 powerpc32/power7/fpu/s_logb.c via #include.
11602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11603 powerpc32/power7/fpu/s_logbf.c via #include.
11604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11605 powerpc32/power7/fpu/s_logbl.c via #include.
11606
d20d4ac2
JM
116072012-05-15 Joseph Myers <joseph@codesourcery.com>
11608
11609 * README.libm: Remove file.
11610
6cdef1ab
L
116112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11614 count for x32. Use R*_LP and omit operand-size suffix.
11615
0b254d8f
L
116162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11617
11618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11620 * sysdeps/x86_64/x32/shlib-versions: New file.
11621
ceb809dc
RM
116222012-05-14 Roland McGrath <roland@hack.frob.com>
11623
11624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11626 Use _dl_fatal_printf instead.
11627
37f1abd4
JM
116282012-05-14 Joseph Myers <joseph@codesourcery.com>
11629
11630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11631 set if not set by the user. Do not allow for being unset.
11632 * sysdeps/unix/sysv/linux/configure: Regenerated.
11633
11de3a33
L
116342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11637 the `q' suffix from lea and replace .quad with ASM_ADDR.
11638
e02f153a
L
116392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11640
11641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11643 instead of $17.
11644 (PTR_DEMANGLE): Likewise.
11645
520ae0fd
L
116462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11649 (LP_OP): Likewise.
11650 (ASM_ADDR): Likewise.
11651 (RAX_LP): Likewise.
11652 (RBP_LP): Likewise.
11653 (RBX_LP): Likewise.
11654 (RCX_LP): Likewise.
11655 (RDI_LP): Likewise.
11656 (RSI_LP): Likewise.
11657 (RSP_LP): Likewise.
11658 (R8_LP): Likewise.
11659 (R9_LP): Likewise.
11660 (R10_LP): Likewise.
11661 (R10_LP): Likewise.
11662 (R11_LP): Likewise.
11663 (R12_LP): Likewise.
11664 (R13_LP): Likewise.
11665 (R14_LP): Likewise.
11666 (R15_LP): Likewise.
11667
b985be81
L
116682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 * sysdeps/x86_64/x32/dl-machine.h: New file.
11671
6a4888ff
AJ
116722012-05-14 Andreas Jaeger <aj@suse.de>
11673
11674 * manual/Makefile (subdir): Remove export of subdir.
11675 (all): Remove target.
11676 (.PHONY): Remove all from list.
11677 (mkinstalldirs): Remove.
11678 (.PHONY): Remove installdirs from list.
11679 ($(inst_infodir)/libc.info): Use make-target-directory.
11680 (installdirs): Remove.
11681 (subdir_%): Remove.
11682 (glibc-targets): Remove.
11683 (lib): Remove.
11684 (stubs): Remove.
11685 ($(objpfx)stubs ../po/manual.pot): Remove.
11686 ($(objpfx)stamp%): Remove.
11687 (make-target-directory): Remove.
11688 (subdir_install): Remove.
11689 (routines): Remove.
11690 (aux): Remove.
11691 (sources): Remove.
11692 (objects): Remove.
11693 (headers): Remove.
11694
11695 [BZ #13750]
11696 * manual/.gitignore: Remove, it's not needed anymore.
11697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11698 all files in it.
11699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11700 directory.
11701 (texis): Renamed to $(objpfx)texis.
11702 (texis-path): New, contains path to generated files.
11703 (chapters.%): Use texis-path for complete path, add extra argument
11704 libc-texinfo.sh.
11705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11707 (summary,texi, stamp-summary): Use complete path of
11708 files. Generate files in build dir.
11709 (dir-add.texi): Build in build dir.
11710 (libm-err.texi,stamp-libm-err): Likewise.
11711 (version.texi, stamp-version): Likewise.
11712 (.%c.texi): Likewise.
11713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11714 (mostlyclean): Remove target.
11715 (realclean): Remove target.
11716 (generated): Add new variable with contents from mostlyclean and
11717 realclean, remove entries duplicated in common-mostlyclean, add
11718 stamp-libm-err and stamp-version.
11719 (generated-dirs): Add libc directory.
11720 ($(inst_infodir)/libc.info): Install files from build dir.
11721
11722 * manual/install.texi (Configuring and compiling): Adjust since
11723 the info files are not part of the tar ball anymore.
11724
7ac77294
AJ
117252012-05-14 Andreas Jaeger <aj@suse.de>
11726
11727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11728 variable.
11729
ffb7875d
JM
117302012-05-14 Joseph Myers <joseph@codesourcery.com>
11731
11732 [BZ #13717]
11733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11734 to 2.2.0 where earlier.
11735 * sysdeps/unix/sysv/linux/configure: Regenerated.
11736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11737 Remove conditional code.
11738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11740 Remove conditional code.
11741 [!__NR_lchown]: Likewise.
11742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11743 [__NR_lchown]: Likewise.
11744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11745 comment referencing __ASSUME_LCHOWN_SYSCALL.
11746 * sysdeps/unix/sysv/linux/i386/sigaction.c
11747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11750 Remove conditional code.
11751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11752 (__protocol_available): Remove #if 0 code.
11753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11754 conditional code.
11755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11756 * sysdeps/unix/sysv/linux/kernel-features.h
11757 (__ASSUME_GETCWD_SYSCALL): Don't define.
11758 (__ASSUME_REALTIME_SIGNALS): Likewise.
11759 (__ASSUME_PREAD_SYSCALL): Likewise.
11760 (__ASSUME_PWRITE_SYSCALL): Likewise.
11761 (__ASSUME_POLL_SYSCALL): Likewise.
11762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11764 non-SPARC.
11765 (__ASSUME_SIOCGIFNAME): Don't define.
11766 (__ASSUME_MSG_NOSIGNAL): Likewise.
11767 (__ASSUME_SENDFILE): Define unconditionally.
11768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11770 conditional code.
11771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11803 Remove conditional code.
11804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11806 Remove conditional code.
11807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11811 Remove conditional code.
11812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11814 Remove conditional code.
11815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11817 Remove conditional code.
11818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11820 Remove conditional code.
11821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11823 Remove conditional code.
11824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11828 * sysdeps/unix/sysv/linux/sigaction.c
11829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11831 * sysdeps/unix/sysv/linux/sigpending.c
11832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11834 * sysdeps/unix/sysv/linux/sigprocmask.c
11835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11837 * sysdeps/unix/sysv/linux/sigsuspend.c
11838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11841 (__libc_missing_rt_sigs): Remove.
11842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11845 Remove conditional code.
11846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11848 return 1.
11849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11853
1bfb7291
AJ
118542012-05-14 Andreas Jaeger <aj@suse.de>
11855
caae5a81
AJ
11856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11857 it's not used in glibc.
11858 (__coshm1): Likewise.
11859 (__acosh1p): Likewise.
11860 (__sgn): Likewise.
11861
1bfb7291
AJ
11862 * manual/string.texi (Copying and Concatenation): Add missing
11863 variable in concat example.
11864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11865
c044d724
L
118662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11867
144c5467 11868 [BZ #14103]
c044d724
L
11869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11870 __builtin_clzl with __builtin_clzll.
11871
2523c62b
L
118722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 [BZ #14104]
11875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11876 libc_freeres_ptr.
11877
d7bb4c42
LD
118782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11879
11880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11884
9dc4e1fb
MF
118852012-05-14 Mike Frysinger <vapier@gentoo.org>
11886
11887 * NEWS: Update ia64 info.
11888
c7df0112
AS
118892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11890
11891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11892 used as bcopy.
11893
dc70356c
TS
118942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11895
11896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11897 * sysdeps/unix/syscalls.list (dup3): Likewise.
11898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11900
9fb1a21f
L
119012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11905
4822a2a5
L
119062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11909 thread pointer.
11910 (TLS_IE): Use mov/add instead of movq/addq to load thread
11911 pointer.
11912 (TLS_GD_PREFIX): New.
11913 (TLS_GD): Use it.
11914
842b81d6
DM
119152012-05-11 David S. Miller <davem@davemloft.net>
11916
11917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11919 (_FPU_SETCW): Likewise.
11920
1cf463cd
L
119212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11924 is 32-byte aligned.
11925
60cc4a18
AS
119262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11927
11928 [BZ #11837]
11929 * iconvdata/gb18030.c: Update tables.
11930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11931 characters specially.
11932 (BODY for TO_LOOP): Add encoding of missing ranges.
11933
febb44a4
TS
119342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11935
11936 [BZ #13673]
11937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11938 * sysdeps/mach/hurd/dup3.c: Likewise.
11939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11940 * sysdeps/powerpc/memmove.c:: Likewise.
11941
0a10fb9e
L
119422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11946
df8a552f
L
119472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * elf/elf.h (R_X86_64_RELATIVE64): New.
11950 (R_X86_64_NUM): Updated.
11951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11955 tst-quad1pie tst-quad2pie
11956 (modules-names): Add tst-quadmod1 tst-quadmod2.
11957 ($(objpfx)tst-quad1): New dependency.
11958 ($(objpfx)tst-quad2): Likewise.
11959 ($(objpfx)tst-quad1pie): Likewise.
11960 ($(objpfx)tst-quad2pie): Likewise.
11961 * sysdeps/x86_64/tst-quad1.c: New file.
11962 * sysdeps/x86_64/tst-quad1pie.c: New file.
11963 * sysdeps/x86_64/tst-quad2.c: Likewise.
11964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11969
f34d6f84
ST
119702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11971
f42d41d1
ST
11972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11974 * streams/stropts.h (t_scalar_t): Define type.
11975
3c3571fc
ST
11976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11977 (_PATH_PRESERVE): Set to "/var/lib".
11978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11979
61f06bd3
ST
11980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11981 instead of int.
11982
918d4d71
ST
11983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11984 if __dir_mkfile succeeded.
11985
f34d6f84
ST
11986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11987 checking for _hurd_dtablesize. Unlock it right after having
11988 finished _hurd_dtable allocation.
11989
10589b4a
TS
119902012-05-10 Thomas Schwinge <thomas@schwinge.name>
11991
674cdbc7
TS
11992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11993 * sysdeps/mach/hurd/configure: Regenerated.
11994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11995 special-casing to...
11996 * sysdeps/gnu/configure.in: ... this new file.
11997 * sysdeps/unix/sysv/linux/configure: Regenerated.
11998 * sysdeps/gnu/configure: New generated file.
11999
8e41b99f
TS
12000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12001 for Linux: use nsec instead of usec, as well as:
12002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12003 members of type struct timespec.
12004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12005 New macros.
12006 (struct stat64): Likewise.
12007 (_STATBUF_ST_NSEC): New macro.
12008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12009
10589b4a
TS
12010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12011 __strtoul_internal rather than strtoul.
12012
63643c85
PT
120132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12014
12015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12016 and reject them.
12017
3faebe6a
ST
120182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12019
12020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12021 which preserves existing values.
12022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12023
c6474b07
PT
120242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12025
12026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12027 TIMEOUT values. Return EINVAL for NFDS values either negative or
12028 greater than FD_SETSIZE.
12029
1043890b
ST
120302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12031
12032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12033 allocated, call __vm_protect to finish enabling the existing space, and
12034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12035 allocate the remainder.
12036
37ed8b9b
PT
120372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12038
12039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12041
db653660
ST
120422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12043
37ed8b9b
PT
12044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12045 sysdeps/mach/hurd/readlink.c.
b29d4053 12046
db653660
ST
12047 * posix/tst-sysconf.c (posix_options): Only use
12048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12049 _POSIX_SYNCHRONIZED_IO when they are defined
12050 * sysdeps/mach/hurd/bits/posix_opt.h:
12051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12052 (_XOPEN_REALTIME): Undefine macro.
12053 (_XOPEN_REALTIME_THREADS): Undefine macro.
12054 (_XOPEN_SHM): Undefine macro.
12055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12056 macro to -1.
12057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12058 macro to -1.
12059 (_POSIX_ASYNC_IO): Undefine macro.
12060 (_POSIX_PRIORITIZED_IO): Undefine macro.
12061 (_POSIX_SPIN_LOCKS): Define macro to -1.
12062
ee16e894
ST
12063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12064 SA_NODEFER, SA_RESETHAND.
12065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12067 F_DUPFD_CLOEXEC.
12068
6103ae3b
TS
120692012-05-10 Thomas Schwinge <thomas@schwinge.name>
12070
12071 * elf/Makefile (pldd-modules): Define unconditionally.
12072
80b4e5f3
TS
120732012-05-10 Thomas Schwinge <thomas@schwinge.name>
12074
12075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12076
edadcbd6
ST
120772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12078
12079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12080 Return ENOENT when name is empty.
12081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12082
80694780
TS
120832012-05-10 Thomas Schwinge <thomas@schwinge.name>
12084
1792c087
TS
12085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12086
80694780
TS
12087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12088
6b645f0d
ST
120892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12090
80694780
TS
12091 Fix mlock in all cases except non-readable pages.
12092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12093 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12094
6b645f0d
ST
12095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12096 (__mkdir): When path is `/', just fail with EEXIST.
12097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12098
e468f8a3
TS
120992012-05-10 Thomas Schwinge <thomas@schwinge.name>
12100
12101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12102 <sys/uio.h> (for writev).
12103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12104 and <sys/param.h> (for MIN).
12105
a4186cff
PT
121062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12107
12108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12109 REQUESTED_TIME. Properly set the remaining time and return EINTR
12110 if interrupted.
12111
510bbf14
TS
121122012-05-10 Thomas Schwinge <thomas@schwinge.name>
12113
12114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12115 Depend on against $(link-rpcuserlibs).
12116
5d5722e8
ST
121172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12118
a4186cff
PT
12119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12120 (__libc_stack_end): Do not use attribute_relro.
12121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12123 to libthread-provided value.
a4186cff
PT
12124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12125 attribute_relro.
5d5722e8 12126
37233df9
TS
121272012-05-10 Thomas Schwinge <thomas@schwinge.name>
12128
be971a2b
TS
12129 [BZ #3748]
12130 * bits/libc-lock.h (__libc_once_get): New macro.
12131 * sysdeps/mach/bits/libc-lock.h: Likewise.
12132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12134 instead of using implementation details.
12135
37233df9
TS
12136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12137 * libio/freopen.c: Likewise.
12138 * libio/freopen64.c: Likewise.
12139 * misc/syslog.c: Likewise.
12140 * nscd/connections.c: Likewise.
12141 * nscd/netgroupcache.c: Likewise.
12142 * sysdeps/posix/getcwd.c: Likewise.
12143
38de94a5
RM
121442012-05-10 Roland McGrath <roland@hack.frob.com>
12145
12146 * math/w_ilogbf.c: Add #include <limits.h>.
12147
67530489
ST
121482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12149
a4186cff 12150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12151 path instead of returning without unlocking.
12152
67530489
ST
12153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12154 immediate-write ioctls.
12155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12156
5aa3a74a
TS
121572012-05-10 Thomas Schwinge <thomas@schwinge.name>
12158
18bad2ae
TS
12159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12160 __builtin_frame_address instead of making assumptions about the
12161 location of the return address relative to DATA. Force early load of
12162 the return address.
12163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12164 __builtin_frame_address.
12165
5aa3a74a
TS
12166 dup3 for GNU Hurd.
12167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12169 implement dup3 and do some further code clean-ups.
12170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12172
ecd0de9a
ST
121732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12174
cd9fa985
ST
12175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12176
a4186cff
PT
12177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12182 d->port.lock.
802ca5a5 12183
a4186cff
PT
12184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12186 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12187
bcf55240
TS
121882012-05-10 Thomas Schwinge <thomas@schwinge.name>
12189
6960eb42
TS
12190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12192 definitions.
12193
eb43375f
TS
12194 accept4 for GNU Hurd.
12195 * include/sys/socket.h (__libc_accept4): New prototype.
12196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12197 to implement __libc_accept4.
12198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12199 __libc_accept4.
12200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12201
bcf55240
TS
12202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12205 signal-defines.sym.
12206
6178c55b
ST
122072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12208
a4186cff 12209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12210
6f080c2f
TS
122112012-05-10 Thomas Schwinge <thomas@schwinge.name>
12212
12213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12214 assertion on O_CLOEXEC flag.
12215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12216 * hurd/intern-fd.c: Likewise.
12217 * hurd/port2fd.c: Likewise.
12218
bcfe3a54
ST
122192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12220
12221 [BZ #3906]
12222 * bits/in.h (IPV6_PKTINFO): Define new macro.
12223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12224
89c9aa49
AZ
122252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12226
12227 [BZ #13954]
12228 [BZ #13955]
12229 [BZ #13956]
12230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12236 * math/libm-test.inc (logb_test) : Additional logb tests.
12237
021db4be
AJ
122382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12239 Andreas Jaeger <aj@suse.de>
12240
12241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12242 * configure: Regenerated.
12243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12244 * config.make.in (link-obsolete-rpc): New substituted variable.
12245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12249 so that libc.a contains the symbols.
12250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12252 * sunrpc/auth_none.c: Likewise.
12253 * sunrpc/auth_unix.c: Likewise.
12254 * sunrpc/authdes_prot.c: Likewise.
12255 * sunrpc/authuxprot.c: Likewise.
12256 * sunrpc/clnt_gen.c: Likewise.
12257 * sunrpc/clnt_perr.c: Likewise.
12258 * sunrpc/clnt_raw.c: Likewise.
12259 * sunrpc/clnt_simp.c: Likewise.
12260 * sunrpc/clnt_tcp.c: Likewise.
12261 * sunrpc/clnt_udp.c: Likewise.
12262 * sunrpc/clnt_unix.c: Likewise.
12263 * sunrpc/des_crypt.c: Likewise.
12264 * sunrpc/des_soft.c: Likewise.
12265 * sunrpc/get_myaddr.c: Likewise.
12266 * sunrpc/key_call.c: Likewise.
12267 * sunrpc/key_prot.c: Likewise.
12268 * sunrpc/netname.c: Likewise.
12269 * sunrpc/pm_getmaps.c: Likewise.
12270 * sunrpc/pm_getport.c: Likewise.
12271 * sunrpc/pmap_clnt.c: Likewise.
12272 * sunrpc/pmap_prot.c: Likewise.
12273 * sunrpc/pmap_prot2.c: Likewise.
12274 * sunrpc/pmap_rmt.c: Likewise.
12275 * sunrpc/publickey.c: Likewise.
12276 * sunrpc/rpc_cmsg.c: Likewise.
12277 * sunrpc/rpc_common.c: Likewise.
12278 * sunrpc/rpc_dtable.c: Likewise.
12279 * sunrpc/rpc_prot.c: Likewise.
12280 * sunrpc/rpc_thread.c: Likewise.
12281 * sunrpc/rtime.c: Likewise.
12282 * sunrpc/svc.c: Likewise.
12283 * sunrpc/svc_auth.c: Likewise.
12284 * sunrpc/svc_raw.c: Likewise.
12285 * sunrpc/svc_run.c: Likewise.
12286 * sunrpc/svc_tcp.c: Likewise.
12287 * sunrpc/svc_udp.c: Likewise.
12288 * sunrpc/svc_unix.c: Likewise.
12289 * sunrpc/svcauth_des.c: Likewise.
12290 * sunrpc/xcrypt.c: Likewise.
12291 * sunrpc/xdr.c: Likewise.
12292 * sunrpc/xdr_array.c: Likewise.
12293 * sunrpc/xdr_float.c: Likewise.
12294 * sunrpc/xdr_intXX_t.c: Likewise.
12295 * sunrpc/xdr_mem.c: Likewise.
12296 * sunrpc/xdr_rec.c: Likewise.
12297 * sunrpc/xdr_ref.c: Likewise.
12298 * sunrpc/xdr_sizeof.c: Likewise.
12299 * sunrpc/xdr_stdio.c: Likewise.
12300
b5c086a2
RM
123012012-05-10 Roland McGrath <roland@hack.frob.com>
12302
12303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12304 change. Update copyright years.
12305
6d74dd09
JM
123062012-05-10 Joseph Myers <joseph@codesourcery.com>
12307
12308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12309
28e72501
MK
123102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12311 Joseph Myers <joseph@codesourcery.com>
12312 Paul Pluzhnikov <ppluzhnikov@google.com>
12313
12314 [BZ #14012]
12315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12316 requiring rpcgen.
12317 [cross-compiling] (extra-libs): Likewise.
12318 [cross-compiling] (extra-libs-others): Likewise.
12319 [cross-compiling] (librpcsvc-routines): Likewise.
12320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12321 [cross-compiling] (omit-deps): Likewise.
12322 (sunrpc-CPPFLAGS): New variable.
12323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12325 (cross-rpcgen-objs): New variable.
12326 (extra-objs): Append $(cross-rpcgen-objs).
12327 ($(cross-rpcgen-objs)): New rule.
12328 ($(objpfx)cross-rpcgen): Likewise.
12329 (rpcgen-cmd): Define to use $(built-program-file). Expand
12330 comment.
12331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12332 ($(objpfx)x%.stmp): Likewise.
12333 * sunrpc/proto.h [IS_IN_build] (_): Define.
12334 [IS_IN_build] (_libc_intl_domainname): Likewise.
12335
c8c59454
L
123362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12337
12338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12340 and R_X86_64_TPOFF64.
12341
6f27cd16
JM
123422012-05-10 Joseph Myers <joseph@codesourcery.com>
12343
12344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12345 sysdeps/unix/sysv/syscalls.list.
12346 (stime): Likewise.
12347 (utime): Likewise.
12348 * sysdeps/unix/sysv/syscalls.list: Remove file.
12349
02467e1c
PE
123502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12351
12352 [BZ #3440]
12353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12356 (__LC_IDENTIFICATION): Make these macros useful in #if
12357 expressions, as required by C99.
12358
da392631
AS
123592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12360
12361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12363 after this.
12364
8115f29b
L
123652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * stdlib/longlong.h: Updated from GCC.
12368
bdd74070
AJ
123692012-05-09 Andreas Jaeger <aj@suse.de>
12370
edfe0dbe
AJ
12371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12372 default is first entry.
12373 (run_mode): Set type.
12374 (main): Remove informal message about syslog.
12375 (options): Fix typo.
12376
bcfe3a54
ST
12377 [BZ #14053]
12378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12379 to asm.
bcfe3a54
ST
12380 (lrint): Likewise.
12381 (llrintf): Likewise.
12382 (llrint): Likewise.
12383 (rint): Likewise.
12384 (rintf): Likewise.
12385 (nearbyint): Likewise.
12386 (nearbyintf): Likewise.
bdd74070 12387
91d8d69e
AJ
123882012-05-09 Andreas Jaeger <aj@suse.de>
12389 Pedro Alves <palves@redhat.com>
12390
12391 * nscd/nscd.c (run_mode): Use enum.
12392 (main): Cleanup coding style issue.
12393
bb90b80b
AJ
123942012-05-09 Alexandre Oliva <aoliva@redhat.com>
12395 Andreas Jaeger <aj@suse.de>
12396
bcfe3a54
ST
12397 * nscd/nscd.c (go_background): Replaced with...
12398 (run_mode): ... this.
bb90b80b 12399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12400 (options): Add -F --foreground.
12401 (main): Implement it.
12402 (parse_opt): Parse it.
bb90b80b 12403
1a4b75a1
AJ
124042012-05-09 Andreas Jaeger <aj@suse.de>
12405
12406 [BZ #14083]
12407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12409 -Wconversion warning.
12410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12411 Likewise.
12412
b1cc2472
JM
124132012-05-09 Joseph Myers <joseph@codesourcery.com>
12414
12415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12416 == 0.
12417 (LC_ALL): Use macro-int-constant.
12418 (LC_COLLATE): Likewise.
12419 (LC_CTYPE): Likewise.
12420 (LC_MESSAGES): Likewise.
12421 (LC_MONETARY): Likewise.
12422 (LC_NUMERIC): Likewise.
12423 (LC_TIME): Likewise.
12424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12428 Specify type.
12429 [C99-based standards] (float_t): Expect type.
12430 [C99-based standards] (double_t): Expect type.
12431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12432 type.
12433 [C99-based standards] (HUGE_VALL): Likewise.
12434 [C99-based standards] (INFINITY): Likewise.
12435 [C99-based standards] (NAN): Likewise.
12436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12437 [C99-based standards] (FP_NAN): Likewise.
12438 [C99-based standards] (FP_NORMAL): Likewise.
12439 [C99-based standards] (FP_SUBNORMAL): Likewise.
12440 [C99-based standards] (FP_ZERO): Likewise.
12441 [C99-based standards] (FP_FAST_FMA): Use
12442 optional-macro-int-constant. Specify type. Require == 1.
12443 [C99-based standards] (FP_FAST_FMAF): Likewise.
12444 [C99-based standards] (FP_FAST_FMAL): Likewise.
12445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12446 [C99-based standards] (FP_ILOGBNAN): Likewise.
12447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12448 Specify type.
12449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12450 [C99-based standards] (math_errhandling): Specify type.
12451 [ISO99 || ISO11] (signgam): Do not allow.
12452 [non-C99-based standards] (copysignf): Do not allow.
12453 [non-C99-based standards] (exp2f): Likewise.
12454 [non-C99-based standards] (log2f): Likewise.
12455 [non-C99-based standards] (modff): Allow.
12456 [non-C99-based standards] (erff): Do not allow.
12457 [non-C99-based standards] (erfcf): Likewise.
12458 [non-C99-based standards] (gammaf): Likewise.
12459 [non-C99-based standards] (hypotf): Likewise.
12460 [non-C99-based standards] (j0f): Likewise.
12461 [non-C99-based standards] (j1f): Likewise.
12462 [non-C99-based standards] (jnf): Likewise.
12463 [non-C99-based standards] (lgammaf): Likewise.
12464 [non-C99-based standards] (tgammaf): Likewise.
12465 [non-C99-based standards] (y0f): Likewise.
12466 [non-C99-based standards] (y1f): Likewise.
12467 [non-C99-based standards] (ynf): Likewise.
12468 [non-C99-based standards] (isnanf): Likewise.
12469 [non-C99-based standards] (acoshf): Likewise.
12470 [non-C99-based standards] (asinhf): Likewise.
12471 [non-C99-based standards] (atanhf): Likewise.
12472 [non-C99-based standards] (cbrtf): Likewise.
12473 [non-C99-based standards] (expm1f): Likewise.
12474 [non-C99-based standards] (ilogbf): Likewise.
12475 [non-C99-based standards] (log1pf): Likewise.
12476 [non-C99-based standards] (logbf): Likewise.
12477 [non-C99-based standards] (nextafterf): Likewise.
12478 [non-C99-based standards] (remainderf): Likewise.
12479 [non-C99-based standards] (rintf): Likewise.
12480 [non-C99-based standards] (scalbf): Likewise.
12481 [non-C99-based standards] (copysignl): Likewise.
12482 [non-C99-based standards] (exp2l): Likewise.
12483 [non-C99-based standards] (log2l): Likewise.
12484 [non-C99-based standards] (modfl): Allow.
12485 [non-C99-based standards] (erfl): Do not allow.
12486 [non-C99-based standards] (erfcl): Likewise.
12487 [non-C99-based standards] (gammal): Likewise.
12488 [non-C99-based standards] (hypotl): Likewise.
12489 [non-C99-based standards] (j0l): Likewise.
12490 [non-C99-based standards] (j1l): Likewise.
12491 [non-C99-based standards] (jnl): Likewise.
12492 [non-C99-based standards] (lgammal): Likewise.
12493 [non-C99-based standards] (tgammal): Likewise.
12494 [non-C99-based standards] (y0l): Likewise.
12495 [non-C99-based standards] (y1l): Likewise.
12496 [non-C99-based standards] (ynl): Likewise.
12497 [non-C99-based standards] (isnanl): Likewise.
12498 [non-C99-based standards] (acoshl): Likewise.
12499 [non-C99-based standards] (asinhl): Likewise.
12500 [non-C99-based standards] (atanhl): Likewise.
12501 [non-C99-based standards] (cbrtl): Likewise.
12502 [non-C99-based standards] (expm1l): Likewise.
12503 [non-C99-based standards] (ilogbl): Likewise.
12504 [non-C99-based standards] (log1pl): Likewise.
12505 [non-C99-based standards] (logbl): Likewise.
12506 [non-C99-based standards] (nextafterl): Likewise.
12507 [non-C99-based standards] (remainderl): Likewise.
12508 [non-C99-based standards] (rintl): Likewise.
12509 [non-C99-based standards] (scalbl): Likewise.
12510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12511 [non-C99-based standards] (FP_*): Do not allow.
12512 [C99-based standards] (FP_*): Change to
12513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12515 allow.
12516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12517 (SIG_ERR): Likewise.
12518 [X/Open-based standards] (SIG_HOLD): Likewise.
12519 (SIG_IGN): Likewise.
12520 (SIGABRT): Use macro-int-constant. Specify type. Require
12521 positive value.
12522 (SIGFPE): Likewise.
12523 (SIGILL): Likewise.
12524 (SIGINT): Likewise.
12525 (SIGSEGV): Likewise.
12526 (SIGTER): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12545 [X/Open-based standards] (SIGTRAP): Likewise.
12546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12551 allow.
12552
b9f1922d
IW
125532012-05-08 Ian Wienand <ianw@vmware.com>
12554
12555 [BZ #14080]
12556 * time/tzset.c (__tzset_parse_tz): Update default rules for
12557 daylight time changes in the Energy Policy Act of 2005.
12558
1db86e88
AJ
125592012-05-09 Andreas Jaeger <aj@suse.de>
12560
12561 [BZ #13983]
12562 * elf/ldconfig.c (parse_conf): Change string to make clear that
12563 ldconfig only issued a warning if ld.so.conf does not exist.
12564
dee4a4e3
DM
125652012-05-08 David S. Miller <davem@davemloft.net>
12566
ee0db190
DM
12567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12568 movxtod instead of popping the value on the stack.
12569
dee4a4e3
DM
12570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12571
6a43ec98
CD
125722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12573
12574 * config.h.in: Add HAVE_ARM_PCS_VFP.
12575
05c2c961
RMG
125762012-05-08 Roland Mc Grath <roland@hack.frob.com>
12577
bcfe3a54
ST
12578 [BZ #13979]
12579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12580 checking but the checks are disabled for any reason.
05c2c961 12581
4b30f61a
L
125822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12585 and ELF64_R_TYPE with ELFW(R_TYPE).
12586
eee2bc67
JM
125872012-05-08 Joseph Myers <joseph@codesourcery.com>
12588
7ea5391a
JM
12589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12590 (ulimit): Likewise.
12591
eee2bc67
JM
12592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12593 (settimeofday): Likewise.
12594
abb66a67
MF
125952012-05-08 Mike Frysinger <vapier@gentoo.org>
12596
12597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12598 a struct th_u2 inside the union, and move tu_block/tu_code into
12599 a new th_u3 union of tu_block/tu_code inside of that. Move
12600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12604 (th_stuff): Change to th_u1.tu_stuff.
12605 (th_data): Define.
12606 (th_msg): Change to th_u1.th_u2.tu_data.
12607
7f18b530
DM
126082012-05-07 David S. Miller <davem@davemloft.net>
12609
05760585
DM
12610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12611
7f18b530
DM
12612 [BZ #14074]
12613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12614 (SETUP_PIC_REG): Use it.
12615 (SETUP_PIC_REG_LEAF): Use it.
12616
495fd99f
JM
126172012-05-07 Joseph Myers <joseph@codesourcery.com>
12618
12619 [BZ #13885]
12620 [BZ #13923]
12621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12622 USE_AS_EXPM1L.
12623 (EXPL_FINITE): Likewise.
12624 (FLDLOG): Likewise.
12625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12627 e_expl.S.
12628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12629 USE_AS_EXPM1L.
12630 (EXPL_FINITE): Likewise.
12631 (FLDLOG): Likewise.
12632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12633 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12634 e_expl.S.
12635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12636 test of -max_value argument for long double.
12637 * sysdeps/i386/fpu/libm-test-ulps: Update.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639
6693d694
DM
126402012-05-06 David S. Miller <davem@davemloft.net>
12641
12642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12643 quad soft-float symbols whose references which are compiler
12644 generated.
12645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12646
6c23e11c
JM
126472012-05-06 Joseph Myers <joseph@codesourcery.com>
12648
d8b82cad
JM
12649 [BZ #13884]
12650 [BZ #13914]
12651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12652 USE_AS_EXP10L.
12653 (EXPL_FINITE): Likewise.
12654 (FLDLOG): Likewise.
12655 (c0): Likewise.
12656 (c1): Likewise.
12657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12658 Adjust comments for base varying.
12659 (__expl_finite): Change alias to EXPL_FINITE.
12660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12661 e_expl.S.
12662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12667 USE_AS_EXP10L.
12668 (EXPL_FINITE): Likewise.
12669 (FLDLOG): Likewise.
12670 (c0): Likewise.
12671 (c1): Likewise.
12672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12673 Adjust comments for base varying.
12674 (__expl_finite): Change alias to EXPL_FINITE.
12675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12676 tests for bugs.
12677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12678
6c23e11c
JM
12679 [BZ #14064]
12680 * math/libm-test.inc (check_float_internal): Correct ulp
12681 calculation for subnormal expected results.
12682
29ba805c
AJ
126832012-05-06 Andreas Jaeger <aj@suse.de>
12684
12685 * Makeconfig (+math-flags): New, set to -frounding-math.
12686 (+cflags): Add +math-flags so that all of glibc gets compiled with
12687 it.
12688
12689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12690
7b17aeda
JM
126912012-05-05 Joseph Myers <joseph@codesourcery.com>
12692
5779f134
JM
12693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12694 Disable one test.
12695
41498f4d
JM
12696 [BZ #13787]
12697 [BZ #13922]
12698 [BZ #14036]
12699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12700 (__ieee754_expl): Allow for and saturate large arguments.
12701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12702 (u_threshold): Likewise.
12703 (__exp): Call __ieee754_exp before checking for overflow and
12704 underflow.
12705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12706 (u_threshold): Likewise.
12707 (__expf): Call __ieee754_expf before checking for overflow and
12708 underflow.
12709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12710 (u_threshold): Likewise.
12711 (__expl): Call __ieee754_expl before checking for overflow and
12712 underflow.
12713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12714 (__ieee754_expl): Allow for and saturate large arguments.
12715 * math/libm-test.inc (exp_test): Add another test. Do not allow
12716 missing overflow exception on overflow.
12717 (expm1_test): Do not allow missing overflow exception on overflow.
12718
6698b8bf
JM
12719 * sysdeps/i386/fpu/e_expl.c: Move to ...
12720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12721 rather than using inline asm.
12722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12725
7b17aeda
JM
12726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12727 (nice): Likewise.
12728 (poll): Likewise.
12729 (signal): Likewise.
12730 (time): Likewise.
12731 (times): Likewise.
12732
f7c85819
JM
127332012-05-04 Joseph Myers <joseph@codesourcery.com>
12734
12735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12736 sysdeps/unix/common/syscalls.list.
12737 (fchmod): Likewise.
12738 (fchown): Likewise.
12739 (ftruncate): Likewise.
12740 (getrusage): Likewise.
12741 (gettimeofday): Likewise.
12742 (setpgid): Likewise.
12743 (setregid): Likewise.
12744 (setreuid): Likewise.
12745 (sigaction): Likewise.
12746 (truncate): Likewise.
12747 (vhangup): Likewise.
12748 * sysdeps/unix/common/syscalls.list: Remove file.
12749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12750 * sysdeps/unix/sysv/linux/Implies: Likewise.
12751
336270d0
L
127522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12753
12754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12757 Moved to ...
12758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12759 Here.
12760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12761 to ...
12762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12764 to ...
12765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12767 to ...
12768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12770 to ...
12771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12773 to ...
12774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12776 to ...
12777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12779 to ...
12780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12781 Here.
12782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12783 to ...
12784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12785 Here.
12786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12787 to ...
12788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12790 Moved to ...
12791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12792 Here.
12793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12794 to ...
12795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12796
d128e450
JM
127972012-05-04 Joseph Myers <joseph@codesourcery.com>
12798
fa8ee516
JM
12799 * sysdeps/unix/common/bits/dirent.h: Remove file.
12800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12801
d128e450
JM
12802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12805 * sysdeps/unix/bsd/isatty.c: Likewise.
12806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12809
ff8faaf0 128102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12811
62881be4 12812 [BZ #13563]
31dc8730
AZ
12813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12814 long double comparison inaccuracies.
12815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12817
6fef930c
AS
128182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12819
12820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12822
8f203e6c
JM
128232012-05-04 Joseph Myers <joseph@codesourcery.com>
12824
12825 [BZ #14049]
12826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12827 nonzero digits before rounding a hex value.
12828 * stdlib/tst-strtod.c (tests): Add another test.
12829
5197d9c2
AK
128302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12831
12832 * sysdeps/s390/fpu/libm-test-ulps: Update.
12833
f0c1dedf
AJ
128342012-05-03 Andreas Jaeger <aj@suse.de>
12835
12836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12837 does not get optimized out.
12838 (malloc_opt_barrier): New.
12839
a65ef2ae 128402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12841 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12842
2b942cb7 12843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12844 intermediate file deletion.
2b942cb7 12845 (generated): Add .symlist files.
a65ef2ae 12846
54b71e02
JM
128472012-05-03 Joseph Myers <joseph@codesourcery.com>
12848
12849 [BZ #13775]
12850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12851 Redirect under this condition.
12852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12853 [__USE_GNU] (__dprintf_chk): Not under this condition.
12854 [__USE_GNU] (__vdprintf_chk): Likewise.
12855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12856 under this condition.
12857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12859 [__USE_XOPEN2K8] (vdprintf): Likewise.
12860 [__USE_GNU] (__dprintf_chk): Not under this condition.
12861 [__USE_GNU] (__vdprintf_chk): Likewise.
12862 [__USE_GNU] (dprintf): Likewise.
12863 [__USE_GNU] (vdprintf): Likewise.
12864
d3dfcc41
RM
128652012-05-03 Roland McGrath <roland@hack.frob.com>
12866
12867 * elf/Makefile (common-generated): Set this instead of generated for
12868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12869 $(all-built-dso)-derived lists.
12870
7ac30cc5
AJ
128712012-05-03 Andreas Jaeger <aj@suse.de>
12872
0c51e550
AJ
12873 * sysdeps/i386/fpu/libm-test-ulps: Update.
12874
7ac30cc5
AJ
12875 * FAQ: Removed.
12876 * FAQ.in: Likewise.
12877 * scripts/gen-FAQ.pl: Likewise.
12878 * manual/install.texi (Installation): Point to online location of
12879 FAQ.
12880 * Makefile (files-for-dist): Remove FAQ.
12881 (FAQ): Remove.
12882
d4c2917f
AM
128832012-05-02 Allan McRae <allan@archlinux.org>
12884
12885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12886 (LDFLAGS-reldepmod5.so): Likewise.
12887 (LDFLAGS-reldep6mod1.so): Likewise.
12888 (LDFLAGS-reldep6mod4.so): Likewise.
12889 (LDFLAGS-reldep8mod3.so): Likewise.
12890 (LDFLAGS-unload4mod1.so): Likewise.
12891 (LDFLAGS-unload4mod2.so): Likewise.
12892 (LDFLAGS-tst-initorder): Likewise.
12893 (LDFLAGS-tst-initordera2.so): Likewise.
12894 (LDFLAGS-tst-initordera3.so): Likewise.
12895 (LDFLAGS-tst-initordera4.so): Likewise.
12896 (LDFLAGS-tst-initorderb2.so): Likewise.
12897 (LDFLAGS-noload): Likewise.
12898 (LDFLAGS-next): Likewise.
12899 (LDFLAGS-order2mod1.so): Likewise.
12900 (LDFLAGS-order2mod2.so): Likewise.
12901 (LDFLAGS-tst-initorder2): Likewise.
12902 (LDFLAGS-tst-initorder2a.so): Likewise.
12903 (LDFLAGS-tst-initorder2b.so): Likewise.
12904 (LDFLAGS-tst-initorder2c.so): Likewise.
12905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12906
d77f993f
DM
129072012-05-02 David S. Miller <davem@davemloft.net>
12908
12909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12910
171a70b4
PP
129112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12912
12913 [BZ #14055]
12914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12915
0be196ad
AJ
129162012-05-02 Andreas Jaeger <aj@suse.de>
12917
12918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12919 since we manipulate rounding mode.
12920 (CPPFLAGS-test-idouble.c): Likewise.
12921 (CPPFLAGS-test-ifloat.c): Likewise.
12922 (CFLAGS-test-ldouble.c): Likewise.
12923 (CFLAGS-test-double.c): Likewise.
12924 (CFLAGS-test-float.c): Likewise.
12925 (CFLAGS-test-misc.c): Likewise.
12926 (CFLAGS-test-test-fenv.c): Likewise.
12927
4f9d04aa
AZ
129282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12929
2b942cb7
RM
12930 [BZ #2550]
12931 [BZ #2570]
12932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12933 comparisons to determine direction to adjust input.
4f9d04aa 12934
82a79e7d
RM
129352012-05-01 Roland McGrath <roland@hack.frob.com>
12936
f5a01ca9
RM
12937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12938 output to the target.
12939
90fe4186
RM
12940 * scripts/localplt.awk: New file.
12941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12942 (check-localplt-CFLAGS): Variable removed.
12943 ($(all-built-dso:=.jmprel)): New static pattern rule.
12944 (generated): Add those targets.
12945 (localplt-built-dso): New variable.
12946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12947
12948 * elf/check-localplt.c: File removed.
12949
82397ed6
RM
12950 * scripts/check-execstack.awk: New file.
12951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12952 (check-execstack-CFLAGS): Variable removed.
12953 ($(objpfx)check-execstack.h): Target removed.
12954 ($(objpfx)execstack-default): New target.
12955 (generated): Add that instead of check-execstack.h.
12956 ($(all-built-dso:=.phdr)): New static pattern rule.
12957 (generated): Add those targets.
12958 * elf/check-execstack.c: File removed.
12959
82a79e7d
RM
12960 * scripts/check-textrel.awk: New file.
12961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12962 (check-textrel-CFLAGS): Variable removed.
12963 (all-built-dso): Use := to define.o
12964 ($(all-built-dso:=.dyn)): New static pattern rule.
12965 (generated): Add those targets.
12966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12967 * config.make.in (READELF): New substituted variable.
12968 * elf/check-textrel.c: File removed.
12969
62fde54f 129702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12971
615605c9
JM
12972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12973 allow.
12974 * conform/data/ctype.h-data [C99-based standards] (isblank):
12975 Expect function.
12976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12980 Specify type. Require positive value.
12981 (EILSEQ): Likewise.
12982 (ERANGE): Likewise.
12983 [ISO || POSIX] (EILSEQ): Do not expect.
12984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12985 Specify type. Require positive value.
12986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13063 Require >= 2.
13064 (FLT_ROUNDS): Expect as macro, not constant.
13065 (FLT_MANT_DIG): Use macro-int-constant.
13066 (DBL_MANT_DIG): Likewise.
13067 (LDBL_MANT_DIG): Likewise.
13068 (FLT_DIG): Likewise.
13069 (DBL_DIG): Likewise.
13070 (LDBL_DIG): Likewise.
13071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13072 (DBL_MIN_EXP): Likewise.
13073 (LDBL_MIN_EXP): Likewise.
13074 (FLT_MAX_EXP): Use macro-int-constant.
13075 (DBL_MAX_EXP): Likewise.
13076 (LDBL_MAX_EXP): Likewise.
13077 (FLT_MAX_10_EXP): Likewise.
13078 (DBL_MAX_10_EXP): Likewise.
13079 (LDBL_MAX_10_EXP): Likewise.
13080 (FLT_MAX): Use macro-constant.
13081 (DBL_MAX): Likewise.
13082 (LDBL_MAX): Likewise.
13083 (FLT_EPSILON): Use macro-constant. Give upper bound.
13084 (DBL_EPSILON): Likewise.
13085 (LDBL_EPSILON): Likewise.
13086 (FLT_MIN): Likewise.
13087 (DBL_MIN): Likewise.
13088 (LDBL_MIN): Likewise.
13089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13098 [ISO11] (FLT_TRUE_MIN): Likewise.
13099 [ISO11] (LDBL_TRUE_MIN): Likewise.
13100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13102 (SCHAR_MIN): Use macro-int-constant. Specify type.
13103 (SCHAR_MAX): Likewise.
13104 (UCHAR_MAX): Likewise.
13105 (CHAR_MIN): Likewise.
13106 (CHAR_MAX): Likewise.
13107 (MB_LEN_MAX): Use macro-int-constant.
13108 (SHRT_MIN): Use macro-int-constant. Specify type.
13109 (SHRT_MAX): Likewise.
13110 (USHRT_MAX): Likewise.
13111 (INT_MAX): Likewise.
13112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13113 bound negative.
13114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13115 bound with "U".
13116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13117 bound with "L".
13118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13119 bound negative. Suffix upper bound with "L".
13120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13121 bound with "UL".
13122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13123 Specify type.
13124 [C99-based standards] (LLONG_MAX): Likewise.
13125 [C99-based standards] (ULLONG_MAX): Likewise.
13126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13127 == 0.
13128 [ISO11] (max_align_t): Require type.
13129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13130
c9140a62
JM
13131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13132 from $CFLAGS, without defining away __attribute__ calls.
13133 (checknamespace): Use $CFLAGS_namespace.
13134
9af0bf29
JM
13135 * conform/conformtest.pl (@keywords): Only include C99 keywords
13136 for standards based on C99 or C11.
13137
343222a2
JM
13138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13139 Disable tests.
13140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13141 UNIX98]: Likewise.
13142
661f8cf0
JM
13143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13144 usability of symbols in #if.
13145
ee74b9cb
JM
13146 * conform/conformtest.pl: If macro or constant types start
13147 "promoted:", expect the symbol to be of the following type
13148 promoted by the integer promotions.
62fde54f 13149
aafc49b3
JM
13150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13151 in one place. Also handle "macro-constant".
13152
fefdf574
JM
13153 * conform/conformtest.pl: Only accept expected macro values with
13154 "==". Parse all "macro" lines in one place.
13155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13156
f2d922fe
JM
13157 * conform/conformtest.pl: Handle braced types on "constant" lines
13158 instead of handling "typed-constant".
13159 * conform/data/signal.h-data: Use "constant" instead of
13160 "typed-constant".
13161
d22956c9
JM
13162 * conform/conformtest.pl: Handle "optional-" at start of lines in
13163 one place rather than duplicating several cases. Handle each
13164 format of "macro" line with initial "optional-".
13165
028e2e38
JM
13166 * conform/conformtest.pl: Only accept expected constant or
13167 optional-constant values with "==". Parse all "constant" lines in
13168 one place. Parse all "optional-constant" lines in one place.
13169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13170 * conform/data/fmtmsg.h-data: Likewise.
13171 * conform/data/netinet/in.h-data: Likewise.
13172 * conform/data/tar.h-data: Likewise.
13173 * conform/data/limits.h-data: Use "==" form on "constant" and
13174 "optional-constant" lines.
13175
1b8f2850
JM
13176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13177 Use -std=c99 for XOPEN2K.
13178 (@knownproblems): Remove.
13179 (newtoken): Don't check %isknown.
13180
a05a144b
JM
13181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13182 Do not expect macro.
13183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13213 [XPG3] (acosh): Likewise.
13214 [XPG3] (asinh): Likewise.
13215 [XPG3] (atanh): Likewise.
13216 [XPG3] (cbrt): Likewise.
13217 [XPG3] (expm1): Likewise.
13218 [XPG3] (ilogb): Likewise.
13219 [XPG3] (log1p): Likewise.
13220 [XPG3] (logb): Likewise.
13221 [XPG3] (nextafter): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13224 [XPG3] (remainder): Likewise.
13225 [XPG3] (rint): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13233 [UNIX98 || XOPEN2K] (scalb): Expect.
13234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13371
73c5ebe3
JM
13372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13373 _XOPEN_SOURCE_EXTENDED for XPG4.
13374
39c33b6c
JM
13375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13376
62fde54f
JM
13377 * Makeconfig (localtime): Remove variable.
13378 (inst_localtime-file): Likewise.
13379
0741d64c
AS
133802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13381
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13383 Update.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13385 Update.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13387 Update.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13389 Update.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13391 Update.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13393 Update.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13395 Update.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13397 Update.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13399 Update.
13400
7cb029ee
JM
134012012-05-01 Joseph Myers <joseph@codesourcery.com>
13402
13403 [BZ #2550]
13404 [BZ #2570]
13405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13406 comparisons to determine direction to adjust input.
13407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13410 Likewise.
13411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13412 Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13414 Likewise.
13415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13417 Likewise.
13418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13419 Likewise.
13420 * math/libm-test.inc (nexttoward_test): Add more tests.
13421
412bd966
AS
134222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13423
13424 [BZ #14040]
13425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13426 in version GLIBC_2.1, not GLIBC_2.0.
13427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13428 Likewise.
13429
9568c0c2
JM
134302012-04-30 Joseph Myers <joseph@codesourcery.com>
13431
adfbc8ac
JM
13432 [BZ #13942]
13433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13434 (1 - x) * (1 + x).
13435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13437 * math/libm-test.inc (acos_test): Add more tests.
13438 (asin_test): Likewise.
13439 * sysdeps/i386/fpu/libm-test-ulps: Update.
13440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441
5ba3cc69
JM
13442 [BZ #14034]
13443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13444 of square root.
13445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13447 * math/libm-test.inc (acos_test_tonearest): New function.
13448 (acos_test_towardzero): Likewise.
13449 (acos_test_downward): Likewise.
13450 (acos_test_upward): Likewise.
13451 (asin_test_tonearest): Likewise.
13452 (asin_test_towardzero): Likewise.
13453 (asin_test_downward): Likewise.
13454 (asin_test_upward): Likewise.
13455 (main): Call the new functions.
13456 * sysdeps/i386/fpu/libm-test-ulps: Update.
13457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13458
9568c0c2
JM
13459 [BZ #13884]
13460 [BZ #13924]
13461 * math/e_exp10.c: Include <float.h>.
13462 (__ieee754_exp10): Handle underflow here rather than multiplying
13463 large negative argument by M_LN10.
13464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13465 of __ieee754_expf.
13466 * math/e_exp10l.c: Include <float.h>.
13467 (__ieee754_exp10l): Handle underflow here rather than multiplying
13468 large negative argument by M_LN10l.
13469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13470 spurious overflow exception on underflow.
13471
5ac3ea17
MP
134722012-04-29 Marek Polacek <polacek@redhat.com>
13473
13474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13475 (__fortify_function): New macro.
13476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13478 __extern_always_inline.
13479 * libio/bits/stdio2.h: Likewise.
13480 * libio/bits/stdio.h: Likewise.
13481 * string/string.h: Likewise.
13482 * string/bits/string3.h: Likewise.
13483 * include/stdio.h: Likewise.
13484 * stdlib/bits/stdlib.h: Likewise.
13485 * stdlib/stdlib.h: Likewise.
13486 * rt/bits/mqueue2.h: Likewise.
13487 * rt/mqueue.h: Likewise.
13488 * posix/bits/unistd.h: Likewise.
13489 * posix/unistd.h: Likewise.
13490 * io/bits/poll2.h: Likewise.
13491 * io/bits/fcntl2.h: Likewise.
13492 * io/fcntl.h: Likewise.
13493 * io/sys/poll.h: Likewise.
13494 * misc/bits/syslog.h: Likewise.
13495 * misc/bits/syslog-ldbl.h: Likewise.
13496 * misc/sys/syslog.h: Likewise.
13497 * socket/bits/socket2.h: Likewise.
13498 * socket/sys/socket.h: Likewise.
13499 * debug/tst-chk1.c: Likewise.
13500 * wcsmbs/bits/wchar2.h: Likewise.
13501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13502 * wcsmbs/wchar.h: Likewise.
13503
ecf0ebfb
AJ
135042012-04-29 Andreas Jaeger <aj@suse.de>
13505
13506 * Makerules (tests): Remove enable-check-abi protection.
13507 (check-abi-warn): Remove.
13508 (check-abi-%): Remove check-abi-warn usage.
13509
13510 * configure.in: Remove check-abi configure option.
13511 * configure: Regenerated.
13512 * config.make.in (enable-check-abi): Remove.
13513
6d5c57fa
AS
135142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13515
24c5d07e 13516 [BZ #14033]
ded5180a
AS
13517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13518 double functions to double *_finite functions.
13519
7e0d315d
AS
13520 [BZ #13941]
13521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13523 LDBL_MIN_EXP.
13524 * stdio-common/Makefile (tests): Add tst-sprintf3.
13525 * stdio-common/tst-sprintf3.c: New file.
13526
6d5c57fa
AS
13527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13529
0749ff8b
JM
135302012-04-28 Joseph Myers <joseph@codesourcery.com>
13531
13532 * conform/conformtest.pl: Remove duplicate typed-constant
13533 handling.
13534
8dbd5d7b
DM
135352012-04-28 David S. Miller <davem@davemloft.net>
13536
13537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13538 (check-abi-%): Remove AWK script prerequisite and explicit
13539 abilist directory.
13540 (check-abi): Rewrite to just diff the symlist with the abilist.
13541 (config-tls, config-abi-config): Delete, no longer used.
13542 (update-abi-%): Remove AWK script and explicit abilist directory.
13543 (update-abi): Rewrite to simply compare and conditionally copy the
13544 symlist and the sysdep abilist file. Remove update-abi-config
13545 checks.
13546 * abilist/ld.abilist: Remove.
13547 * abilist/libBrokenLocale.abilist: Remove.
13548 * abilist/libanl.abilist: Remove.
13549 * abilist/libcrypt.abilist: Remove.
13550 * abilist/libdl.abilist: Remove.
13551 * abilist/librt.abilist: Remove.
13552 * abilist/libthread_db.abilist: Remove.
13553 * abilist/libutil.abilist: Remove.
13554 * scripts/extract-abilist.awk: Remove.
13555 * scripts/merge-abilist.awk: Remove.
13556 * sysdeps/generic/libcidn.abilist: New file.
13557 * sysdeps/generic/libnss_compat.abilist: New file.
13558 * sysdeps/generic/libnss_db.abilist: New file.
13559 * sysdeps/generic/libnss_dns.abilist: New file.
13560 * sysdeps/generic/libnss_files.abilist: New file.
13561 * sysdeps/generic/libnss_hesiod.abilist: New file.
13562 * sysdeps/generic/libnss_nis.abilist: New file.
13563 * sysdeps/generic/libnss_nisplus.abilist: New file.
13564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13567 file.
13568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13577 file.
13578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13582 file.
13583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13589 file.
13590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13593 file.
13594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13596 New file.
13597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13598 New file.
13599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13600 New file.
13601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13602 New file.
13603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13604 New file.
13605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13606 New file.
13607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13608 New file.
13609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13610 New file.
13611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13612 New file.
13613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13614 New file.
13615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13616 New file.
13617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13618 New file.
13619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13620 New file.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13622 file.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13624 New file.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13626 New file.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13628 file.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13630 New file.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13632 New file.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13634 file.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13636 New file.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13638 New file.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13640 New file.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13642 New file.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13644 New file.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13646 New file.
13647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13649 file.
13650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13651 New file.
13652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13653 file.
13654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13655 file.
13656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13657 file.
13658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13659 file.
13660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13661 file.
13662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13663 New file.
13664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13665 file.
13666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13667 file.
13668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13669 New file.
13670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13671 file.
13672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13674 file.
13675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13676 New file.
13677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13678 file.
13679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13680 file.
13681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13682 file.
13683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13684 file.
13685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13686 file.
13687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13688 New file.
13689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13690 file.
13691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13692 file.
13693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13694 New file.
13695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13696 file.
13697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13700 file.
13701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13713 file.
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13715 New file.
13716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13717 file.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13719 file.
13720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13721 file.
13722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13723 file.
13724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13725 file.
13726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13727 New file.
13728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13729 New file.
13730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13731 file.
13732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13733 New file.
13734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13735 file.
13736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13738 file.
13739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13740 New file.
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13742 file.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13744 file.
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13746 file.
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13748 file.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13750 file.
13751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13752 New file.
13753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13754 New file.
13755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13756 file.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13758 New file.
13759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13760 file.
13761
41d73a1b
JM
137622012-04-28 Joseph Myers <joseph@codesourcery.com>
13763
13764 * conform/conformtest.pl: Fix typo in handling typed-constant from
13765 allow-header.
13766
28aeeda4
JM
137672012-04-27 Joseph Myers <joseph@codesourcery.com>
13768
adae8f5e
JM
13769 * README: Cut down references to pre-2.6 Linux kernels and
13770 Linuxthreads. Update lists of configurations in libc and ports
13771 and sort alphabetically. Say "or newer" with Linux kernel version
13772 requirements.
13773
28aeeda4
JM
13774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13775
a462cb63
RA
137762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13777
13778 [BZ #887]
13779 * math/libm-test.inc (logb_test_downward): New test to expose
13780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13781 rounding mode.
13782
6ad3493e
JM
137832012-04-27 Joseph Myers <joseph@codesourcery.com>
13784
13785 [BZ #14027]
13786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13787 to be done.
13788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13790
2ce4f015
JM
137912012-04-26 Joseph Myers <joseph@codesourcery.com>
13792
5aeb141a
JM
13793 * sysdeps/unix/i386/brk.S: Remove file.
13794 * sysdeps/unix/i386/dl-brk.S: Likewise.
13795 * sysdeps/unix/i386/pipe.S: Likewise.
13796 * sysdeps/unix/i386/sigreturn.S: Likewise.
13797 * sysdeps/unix/i386/syscall.S: Likewise.
13798 * sysdeps/unix/i386/vfork.S: Likewise.
13799 * sysdeps/unix/i386/wait.S: Likewise.
13800
7143acae
JM
13801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13803
2ce4f015
JM
13804 * configure.in (arm*-none*): Do not allow without
13805 --enable-hacker-mode.
13806 (netbsd*): Remove case setting base_os.
13807 (386bsd*): Likewise.
13808 (freebsd*): Likewise.
13809 (bsdi*): Likewise.
13810 (osf*): Likewise.
13811 (sunos*): Likewise.
13812 (ultrix*): Likewise.
13813 (newsos*): Likewise.
13814 (dynix*): Likewise.
13815 (*bsd*): Likewise.
13816 (sysv*): Likewise.
13817 (isc*): Likewise.
13818 (esix*): Likewise.
13819 (sco*): Likewise.
13820 (minix*): Likewise.
13821 (irix4*): Likewise.
13822 (irix6*): Likewise.
13823 (solaris[2-9]*): Likewise.
13824 (none): Likewise.
13825 * configure: Regenerated.
13826
0ac229c8
AZ
138272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13828
13829 [BZ #11521]
13830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13831 overflow or cancellation in calculating denominator.
13832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13834 down expression to avoid unexpected rounding in newer GCCs.
13835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13836
33f244f4
DM
138372012-04-26 David S. Miller <davem@davemloft.net>
13838
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13840 long-double compat symbols.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13854
cfa1f3e8
DM
138552012-04-25 David S. Miller <davem@davemloft.net>
13856
13857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13858 HWCAP_* values only after the memory barriers have been defined.
13859 (atomic_full_barrier): Define.
13860 (atomic_read_barrier): Define.
13861 (atomic_write_barrier): Define.
13862
6e236b92
SP
138632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13864
13865 * shlib-versions: Add libgcc_s version information.
13866 * sysdeps/generic/libgcc_s.h: Remove.
13867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13868 libgcc_s.h.
13869 * sysdeps/gnu/unwind-resume.c: Likewise.
13870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13871
aab39a09
DM
138722012-04-25 David S. Miller <davem@davemloft.net>
13873
13874 * sysdeps/unix/sparc/brk.S: Delete.
13875 * sysdeps/unix/sparc/dl-brk.S: Delete.
13876 * sysdeps/unix/sparc/pipe.S: Delete.
13877 * sysdeps/unix/sparc/sysdep.S: Delete.
13878 * sysdeps/unix/sparc/sysdep.h: Delete.
13879 * sysdeps/unix/sparc/vfork.S: Delete.
13880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13881 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13883 ret_ERRVAL, r0, r1, MOVE): Define.
13884 (JUMPTARGET): Remove.
13885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13886 sysdeps/unix/sparc/sysdep.h
13887 (ENTRY, END): Remove.
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13889
a3cc4f48
JM
138902012-04-25 Joseph Myers <joseph@codesourcery.com>
13891
2ed8cda2
JM
13892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13894 -DIS_IN_build.
13895
35d76d59
JM
13896 * timezone/README: Update upstream location and email address for
13897 tzcode and tzdata.
13898 * timezone/zdump.c: Update from tzcode 2012b.
13899 * timezone/zic.c: Likewise.
13900
a3cc4f48
JM
13901 * configure.in (libc_cv_as_needed): Remove test.
13902 * configure: Regenerated.
13903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13904 conditional definition.
13905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13907 * config.make.in (have-as-needed): Remove variable.
13908
ceab42c3
SP
139092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13910 Paul Pluzhnikov <ppluzhnikov@google.com>
13911
13912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13913 strings correctly.
13914
3ce2865f
CLT
139152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13916
13917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13919 * sysdeps/sh/strlen.S: Likewise.
13920
f37e0d68
JM
139212012-04-24 Joseph Myers <joseph@codesourcery.com>
13922
ae186e9a
JM
13923 * sysdeps/unix/fork.S: Remove file.
13924 * sysdeps/unix/i386/fork.S: Likewise.
13925 * sysdeps/unix/sparc/fork.S: Likewise.
13926
b96914af
JM
13927 * sysdeps/unix/system.c: Remove file.
13928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13929
f37e0d68
JM
13930 * sysdeps/unix/getegid.S: Remove file.
13931 * sysdeps/unix/geteuid.S: Likewise.
13932
87ef29ca
RM
139332012-04-24 Roland McGrath <roland@hack.frob.com>
13934
83bcd236
RM
13935 * scripts/check-localplt.awk: New file.
13936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13937 of diff.
13938 * scripts/data/localplt-generic.data: Add a comment.
13939
87ef29ca
RM
13940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13941 NODE when __dir_mkfile failed.
13942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13943 Reported by Ludovic Courtès <ludo@gnu.org>.
13944
e5a6e567
AJ
139452012-04-24 Andreas Jaeger <aj@suse.de>
13946
13947 * Makerules (common-clean): Also remove gen-as-const-headers
13948 files.
13949
c1820385
JM
139502012-04-24 Joseph Myers <joseph@codesourcery.com>
13951
13952 * Makerules (native-compile): Do not change working directory for
13953 build. Use $(OUTPUT_OPTION) in command.
13954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13955
94e02fc4
AZ
139562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13957
13958 [BZ #13886]
13959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13961 * math/libm-test.inc (floor_test): Add more tests.
13962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13963
3a533ca3
JM
139642012-04-24 Joseph Myers <joseph@codesourcery.com>
13965
940ab4b3
JM
13966 * sysdeps/unix/getdents.c: Remove file.
13967 * sysdeps/unix/sysv/getdents.c: Likewise.
13968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13969
90e037bd
JM
13970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13971 sysdeps/unix/mman/syscalls.list.
13972 (mmap): Likewise.
13973 (mprotect): Likewise.
13974 (msync): Likewise.
13975 (munmap): Likewise.
13976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13977 * sysdeps/unix/mman/syscalls.list: Remove.
13978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13979
3a533ca3
JM
13980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13982 * configure: Regenerated.
13983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13984 $(libgcc_s_suffix).
13985 * config.make.in (libgcc_s_suffix): Remove variable.
13986
1ad743de
JM
139872012-04-23 Joseph Myers <joseph@codesourcery.com>
13988
4ad451e2
JM
13989 * sysdeps/unix/sysv/gethostname.c: Move to ...
13990 * sysdeps/posix/gethostname.c: ... here.
13991
5e37ce39
JM
13992 * sysdeps/unix/execve.S: Remove file.
13993
1ad743de
JM
13994 * sysdeps/unix/_exit.S: Remove file.
13995
4e681b5b
AJ
139962012-04-23 Andreas Jaeger <aj@suse.de>
13997
13998 [BZ #13739]
13999 * manual/Makefile: Remove make dist support, there's no
14000 need for a stand-alone documentation tar ball.
14001 (TEXI2DVI): Define always, it's not in Makeconfig.
14002 (dist): Removed.
14003 (tar-it): Removed.
14004 (edition): Removed.
14005 (glibc-doc-$(edition).tar): Removed
14006 (%.Z): Removed.
14007 (%.gz): Removed.
14008 (%.uu): Removed.
14009 (ETAGS): Remove, it's in Makeconfig.
14010 (move-if-change): Remove, it's in Makeconfig.
14011
38686a03 140122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14013
14014 [BZ #13970]
14015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14018 (strtod_l, strtof_l, strtold_l): Remove __wur.
14019 It is not necessarily an error to ignore strtol's return value.
14020 One can reliably look at the stored endptr to decide whether
14021 the number had valid syntax.
14022
7c0616fa
AJ
140232012-04-21 Andreas Jaeger <aj@suse.de>
14024
803cb6b7 14025 [BZ #13739]
7c0616fa
AJ
14026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14027
b0fe253f
JM
140282012-04-21 Joseph Myers <joseph@codesourcery.com>
14029
14030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14031 * sysdeps/unix/sysv/Versions: Remove file.
14032
8280f22d
MT
140332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14034
14035 [BZ #13927]
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14037
75ce411f 140382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14039
14040 [BZ #7064]
14041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14042 version from __vm86.
14043
097d59fa
JM
140442012-04-20 Joseph Myers <joseph@codesourcery.com>
14045
a90f3bcb
JM
14046 * sysdeps/unix/common/lxstat.c: Remove file.
14047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14048
edc7ea78
JM
14049 * sysdeps/unix/sysv/Makefile: Remove file.
14050
cb78c221
JM
14051 * sysdeps/unix/sysv/direct.h: Remove file.
14052
efa6a45f
JM
14053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14060
9c9f2d0c
JM
14061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14062
4541c83b
JM
14063 * sysdeps/unix/xmknod.c: Remove file.
14064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14065
f5d153a0
JM
14066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14067
aa746595
JM
14068 * sysdeps/unix/sysv/i386/time.S: Remove file.
14069
cce5905e
JM
14070 * sysdeps/unix/fxstat.c: Remove file.
14071 * sysdeps/unix/xstat.c: Likewise.
14072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14073
37fa3841
JM
14074 * sysdeps/unix/sysv/sigaction.c: Remove file.
14075
ff1962a3
JM
14076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14077 (sysdep_headers): Remove variable.
14078 [termio.h not in sysdep_headers] (generated): Likewise.
14079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14082 * sysdeps/unix/sysv/tcflow.c: Likewise.
14083 * sysdeps/unix/sysv/tcflush.c: Likewise.
14084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14089
e7740d31
JM
14090 * sysdeps/unix/siglist.c: Remove file.
14091
ee06f18b
JM
14092 * sysdeps/unix/getppid.S: Remove file.
14093
097d59fa
JM
14094 * sysdeps/unix/mkdir.c: Remove file.
14095 * sysdeps/unix/rmdir.c: Likewise.
14096
ff3d51ec
AS
140972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14098
14099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14100 ERR_MAX value.
14101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14102 errlist-compat value.
14103
50f81fd7
DM
141042012-04-18 David S. Miller <davem@davemloft.net>
14105
14106 * sysdeps/generic/memcopy.h (reg_char): Delete.
14107 * debug/strcat_chk.c: Use char, not reg_char.
14108 * debug/strcpy_chk.c: Likewise.
14109 * debug/strncat_chk.c: Likewise.
14110 * debug/strncpy_chk.c: Likewise.
14111 * string/memchr.c: Likewise.
14112 * string/memrchr.c: Likewise.
14113 * string/rawmemchr.c: Likewise.
14114 * string/strcat.c: Likewise.
14115 * string/strchr.c: Likewise.
14116 * string/strchrnul.c: Likewise.
14117 * string/strcmp.c: Likewise.
14118 * string/strcpy.c: Likewise.
14119 * string/strncat.c: Likewise.
14120 * string/strncmp.c: Likewise.
14121 * string/strncpy.c: Likewise.
14122
8ff41c46
WS
141232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14124
14125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14126 __builtin_memcopy is called when src and dest ranges are known to not
14127 overlap.
14128
6b652f46
WS
141292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14130
14131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14133 fwd_align_merge macro call.
14134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14135 bwd_align_merge macro call.
14136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14137
b282631e
WS
141382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14139
14140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14141 bwd_align_merge macros.
14142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14145
95aa737c
DM
141462012-04-18 David S. Miller <davem@davemloft.net>
14147
14148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14149
7a99a614
AJ
141502012-04-18 Andreas Jaeger <aj@suse.de>
14151
14152 [BZ# 6794]
14153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14156
14157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14160
14161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14163 Adjust for changed ldbl-128 files.
14164
14165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14168
e5270c23
DM
141692012-04-17 David S. Miller <davem@davemloft.net>
14170
14171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14172
fb5e92c9
AS
141732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14174
14175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14181
76da7265
AZ
141822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14183
14184 [BZ #6794]
14185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14186 * math/libm-test.inc: Add ilogb errno and exception tests.
14187 * math/w_ilogb.c: New file: ilogb wrapper.
14188 * math/w_ilogbf.c: New file: ilogbf wrapper.
14189 * math/w_ilogbl.c: New file: ilogbl wrapper.
14190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14193 exception being thrown with 0.0 as argument.
14194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14196 exception being thrown with 0.0 as argument.
14197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14199 exception being thrown with 0.0 as argument.
14200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14202 exception being thrown with 0.0 as argument.
14203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14212
0396e69d
PB
142132012-04-17 Petr Baudis <pasky@ucw.cz>
14214
14215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14216 with altivec.
14217
750b5926
MP
142182012-04-16 Marek Polacek <polacek@redhat.com>
14219
14220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14221
751728a1
MP
142222012-04-16 Marek Polacek <polacek@redhat.com>
14223
14224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14225 operands of fdivp instruction.
14226
34a27407
L
142272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14230 * elf/tst-auditmod3b.c: Likewise.
14231 * elf/tst-auditmod4b.c: Likewise.
14232 * elf/tst-auditmod5b.c: Likewise.
14233 * elf/tst-auditmod6b.c: Likewise.
14234 * elf/tst-auditmod6c.c: Likewise.
14235 * elf/tst-auditmod7b.c: Likewise.
14236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14237 * sysdeps/x86_64/preconfigure.in: Likewise.
14238 * sysdeps/x86_64/preconfigure: Regenerated.
14239
7e73e17d
L
142402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14243 __ILP32__.
14244
c7a6ab72
AB
142452012-04-13 Antoine Balestrat <merkil33@gmail.com>
14246
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14249
a9e8e0e0
CL
142502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14251
14252 [BZ #13973]
14253 * locale/iso-639.def: Fix gl language name. Spotted by
14254 Yaron Shahrabani.
14255
ec98af7d
RM
142562012-04-12 Roland McGrath <roland@hack.frob.com>
14257
14258 [BZ #2074]
14259 * libio/libio.h (__io_write_fn): Update comment.
14260
247c3ede
PB
142612012-04-12 Petr Baudis <pasky@ucw.cz>
14262
14263 [BZ #2074]
14264 * stdio.texi (Hook Functions): The user provided writer function
14265 is not allowed to return -1.
14266
55939d6d
DM
142672012-04-11 David S. Miller <davem@davemloft.net>
14268
14269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14270
90020f5a
MF
142712012-04-11 Mike Frysinger <vapier@gentoo.org>
14272
14273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14274 Add a leading slash to rtkaio.
14275
288f9098
JM
142762012-04-11 Jim Meyering <meyering@redhat.com>
14277
90020f5a
MF
14278 [BZ #11959]
14279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14280 It is not necessarily an error to ignore fwrite's return
14281 value. One can reliably use ferror to test for errors after
14282 the fact.
288f9098 14283
4be2b570
L
142842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14285
14286 * bits/types.h (__snseconds_t): New type.
14287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14288
14289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14291 (__SNSECONDS_T_TYPE): Likewise.
14292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14293 (__SNSECONDS_T_TYPE): Likewise.
14294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14295 (__SNSECONDS_T_TYPE): Likewise.
14296
288f9098 142972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14298
14299 [BZ #2636]
14300 * manual/time.texi (Processor Time): Return type of times is
14301 elapsed real time since an arbitrary point in the past.
14302 (CPU Time): Move CLK_TCK from here...
14303 (Processor Time): ...to here. Correct description.
14304 * manual/conf.texi (Constants for Sysconf): Correct description of
14305 _SC_CLK_TCK.
14306
d7dd4413
DM
143072012-04-10 David S. Miller <davem@davemloft.net>
14308
14309 [BZ #13967]
14310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14311 where the is a gap between DT_REL(A) and DT_JMPREL.
14312
b46068fc
L
143132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14314
14315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14318
73d65cc3
SP
143192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14323 (dl_main): Handle --inhibit-cache.
14324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14325 _dl_inhibit_cache.
14326 * elf/dl-load.c (_dl_map_object): Use it.
14327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14328
bcc8d661
JM
143292012-04-09 Joseph Myers <joseph@codesourcery.com>
14330
8f9a2fae
JM
14331 [BZ #13872]
14332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14333 (__ieee754_powl): Saturate large exponents rather than testing for
14334 overflow of y*log2(x).
14335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14337 exceptions.
14338
bcc8d661
JM
14339 [BZ #11521]
14340 * math/s_ctan.c: Include <float.h>.
14341 (__ctan): Avoid internal overflow or cancellation in calculating
14342 denominator.
14343 * math/s_ctanf.c: Likewise.
14344 * math/s_ctanl.c: Likewise.
14345 * math/s_ctanh.c: Likewise.
14346 * math/s_ctanhf.c: Likewise.
14347 * math/s_ctanhl.c: Likewise.
14348 * math/libm-test.inc (ctan_test): Add more tests.
14349 (ctanh_test): Likewise.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352
823fbbb4
AJ
143532012-04-09 Andreas Jaeger <aj@suse.de>
14354
03879793
AJ
14355 [BZ #6894]
14356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14357 is an optional BSD extension.
14358
823fbbb4
AJ
14359 [BZ #10254]
14360 * manual/stdio.texi (Opening Streams): Document additional fopen
14361 parameters.
14362
8de131cb
RM
143632012-04-09 Roland McGrath <roland@hack.frob.com>
14364
14365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14366 %eax without telling the compiler.
14367
c0ed9d7d
CD
143682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14369
14370 [BZ # 13963]
14371 * manual/install.texi: Use sourceware.org.
14372
c483f6b4
JM
143732012-04-09 Joseph Myers <joseph@codesourcery.com>
14374
d7dd9453
JM
14375 [BZ #13873]
14376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14377 (__ieee754_pow): Generate overflow and underflow using huge*huge
14378 and tiny*tiny rather than just returning constant infinity or zero
14379 for large exponents.
14380 * math/libm-test.inc (pow_test): Require overflow exceptions for
14381 applicable cases of large exponents.
14382
c483f6b4
JM
14383 [BZ #706]
14384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14385 (__ieee754_pow): Use iterative multiplication algorithm only for
14386 integer exponents with absolute value below 1024. Check for odd
14387 integer exponents when using algorithm for real exponents.
14388 * math/libm-test.inc (pow_test): Add more tests.
14389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14390
d2de7579
JM
143912012-04-08 Joseph Myers <joseph@codesourcery.com>
14392
14393 [BZ #13705]
14394 * math/libm-test.inc (exp_test): Do not allow overflow exception
14395 on underflow test.
14396
f77f1232
AJ
143972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14398
14399 [BZ #13705]
14400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14401 instead of __kernel_standard_f.
14402
3884932b
MF
144032012-04-08 Mike Frysinger <vapier@gentoo.org>
14404
14405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14406 * sysdeps/x86_64/memset_chk.S: Likewise.
14407
54472e9c
AJ
144082012-04-08 Andreas Jaeger <aj@suse.de>
14409
6ab0fbfc
AJ
14410 [BZ #10153]
14411 * manual/startup.texi (Environment Access): Describe return value
14412 for putenv and setenv.
14413
61efba8c
AJ
14414 [BZ #6895]
14415 * manual/filesys.texi (Directory Entries): Add description for
14416 DT_LNK.
14417
95c3f29a
AJ
14418 [BZ #6890]
14419 * manual/filesys.texi (Directory Entries): Clarify that it's file
14420 system not operating system in the description of DT_UNKNOWN.
14421
54472e9c
AJ
14422 [BZ #6578]
14423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14424
624254b1
SC
144252012-04-08 Stephen Compall <s11@member.fsf.org>
14426
14427 [BZ #6649]
14428 * manual/llio.texi (Opening and Closing Files): Add cross
14429 reference to explain mode argument.
14430
1e4920e0
MF
144312012-04-07 Mike Frysinger <vapier@gentoo.org>
14432
14433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14434 * sysdeps/x86_64/memset_chk.S: Likewise.
14435
5ed848f3
DM
144362012-04-07 David S. Miller <davem@davemloft.net>
14437
14438 * elf/elf.h (R_SPARC_WDISP10): Define.
14439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14440 R_SPARC_SIZE32.
14441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14442 R_SPARC_SIZE64 and R_SPARC_H34.
14443
96154cd8
CD
144442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14445
14446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14447 conditions and remove no longer applicable assertion.
14448
9904dc47
L
144492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 * bits/byteswap.h: Include <features.h>.
14452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14454
f8887d0a
L
144552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 * bits/byteswap.h (__bswap_16): Removed.
14458 Include <bits/byteswap-16.h> to get __bswap_16.
14459 * sysdeps/i386/bits/byteswap.h: Likewise.
14460 * sysdeps/s390/bits/byteswap.h: Likewise.
14461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14462 * bits/byteswap-16.h: New file.
14463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14466 * string/Makefile (headers): Add bits/byteswap-16.h.
14467
62470f60
PP
144682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14469
14470 [BZ #13895]
14471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14472 extra indirection.
14473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14474 * nss/tst-nss-static.c: New.
14475
4dad7bab
RM
144762012-04-06 Robert Millan <rmh@gnu.org>
14477
14478 [BZ #6486]
14479 * manual/llio.texi (File Position Primitive): lseek
14480 refers to WHENCE when it really means OFFSET.
14481
e9142a17
AJ
144822012-04-06 Andreas Jaeger <aj@suse.de>
14483
2c040eff
AJ
14484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14485 strncmp declarations.
14486
e9142a17
AJ
14487 * abilist/libc.abilist: Add __poll and __ppoll.
14488
ff9f1c5f
DM
144892012-04-05 David S. Miller <davem@davemloft.net>
14490
dcd2ae90
DM
14491 * scripts/check-local-headers.sh: Accept a host triplet in the
14492 path matched by the exclude regexp.
14493
993eb054
DM
14494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14495 definition.
14496 * sysdeps/powerpc/powerpc32/dl-machine.h
14497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14498 * sysdeps/s390/s390-32/dl-machine.h
14499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14500 * sysdeps/sparc/sparc32/dl-machine.h
14501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14502 * sysdeps/sparc/sparc64/dl-machine.h
14503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14504
ff9f1c5f
DM
14505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14506 lazy binding.
48e2e132 14507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14508 undefined symbol errors.
14509
48e2e132 14510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14511 DT_NEEDED entries.
14512
e80d6f94
MM
145132012-04-05 Michael Matz <matz@suse.de>
14514
14515 [BZ #13592]
14516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14517
349fa79f
AJ
145182012-04-05 Andreas Jaeger <aj@suse.de>
14519
14520 [BZ #13908]
14521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14522 comment.
14523
f402708f
KK
145242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14525
14526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14527 which ROUND is no valid rounding mode.
14528
2ecccfc9
KK
145292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14530
14531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14532 read again.
14533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14534
8a53f50f
KK
145352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14536
14537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14538 an exception using FPU order intentionally.
14539
145402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14541
14542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14546
d653abb7
SJ
145472012-04-05 Simon Josefsson <simon@josefsson.org>
14548
14549 [BZ #12340]
14550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14551 EINVAL when BUFLEN is too smal.
14552
c3b1bf7d
TS
145532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14554
14555 [BZ #13553]
14556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14558
b1aa60f3
AJ
145592012-04-03 Andreas Jaeger <aj@suse.de>
14560
c3b1bf7d 14561 [BZ #13938]
67f60a26
AJ
14562 * manual/setjmp.texi (System V contexts): Fix sentence.
14563
b1aa60f3
AJ
14564 [BZ #13926]
14565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14566 New macro for this case.
14567 [!__GNUC__] (__bswap_64): New inline function for this case.
14568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14569 * bits/byteswap.h: Likewise.
14570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14571 ull, guard with __GLIBC_HAVE_LONG_LONG.
14572
14573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14574 __GLIBC_HAVE_LONG_LONG.
14575
14576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14578
39c59c35
TMQMF
145792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14580
14581 [BZ #13691]
14582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14583 inptr and inend, rather than using last_ch.
14584
135ffda8
DM
145852012-04-02 David S. Miller <davem@davemloft.net>
14586
14587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14588 * stdio-common/printf-parse.h (read_int): Change return type to
14589 'int', return -1 on INT_MAX overflow.
14590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14592 overflows INT_MAX. Check for overflow of in-format-string precision
14593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14594 SIZE_MAX not INT_MAX for integer overflow test.
14595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14596 skip the construct in the format string but do not record anything.
14597 * stdio-common/bug22.c: Adjust to test both width/prevision
14598 INT_MAX overflow as well as total length INT_MAX overflow. Check
14599 explicitly for proper errno values.
14600
228c019e
TS
146012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14602
302cadd3
TS
14603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14604 CHAR_MAX.
14605 * string/test-strcmp.c [! WIDE]: Likewise.
14606 * time/tst-mktime2.c: Likewise for INT_MAX.
14607 * string/test-string.h: #include <sys/param.h> for MIN.
14608
228c019e
TS
14609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14610 * sysdeps/i386/init-first.c (init): Likewise.
14611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14613 * sysdeps/sh/init-first.c (init): Likewise.
14614
cfa633f5
UD
146152012-04-01 Ulrich Drepper <drepper@gmail.com>
14616
14617 * po/ru.po: Update from translation team.
d1635ef8 14618 * po/vi.po: Likewise.
cfa633f5 14619
6cd0a5ea
SP
146202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14621
14622 * resolv/nss_dns/dns-host.c: Merge copyright years.
14623
4b43400f
LD
146242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14625
14626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14627 Optimize memcpy with prefetch if
14628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14629 src, dst pointers have unequal 16 byte alignments.
14630
48c41d04
SP
146312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14632
14633 [BZ #13928]
14634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14635 from a CNAME entry and return the minimum ttl for the query.
14636 (gaih_getanswer_slice): Likewise.
14637
b8dc394d
JL
146382012-03-30 Jeff Law <law@redhat.com>
14639
14640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14641 due to long keys.
14642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14644
2f5a5ed0
JL
14645 * resolv/nss_dns/dns-host.c: Update copyright year.
14646
1d39e359
UD
146472012-03-30 Ulrich Drepper <drepper@gmail.com>
14648
c030f70c 14649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14650 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14651
1d39e359
UD
14652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14653 comments for sendmmsg.
14654
146552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14656
14657 [BZ #13691]
14658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14659 with only 1 character between 0x0041 and 0x01b0.
14660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14661 * wcsmbs/tst-mbsnrtowcs.c: New file.
14662
20fde227
DM
146632012-03-29 David S. Miller <davem@davemloft.net>
14664
14665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14666 small copies by hand.
14667
984a4237
JL
146682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14669
14670 [BZ #13761]
14671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14672 _nss_compat_initgroups_dyn): Fall back to malloc/free
14673 for large group memberships.
14674
18c9d62b
DM
146752012-03-28 David S. Miller <davem@davemloft.net>
14676
88d85d4f
DM
14677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14678 that branches into memcpy.
14679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14684 bits.
14685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14686 implementation too.
14687 * sysdeps/sparc/mempcpy.S: New file.
14688
e5aa83e1
DM
14689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14690 the IFUNC routine in the libc case.
14691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14692
88570753
DM
14693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14701
249d7567
DM
14702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14703 loop to 256 bytes instead of 64 bytes and fix test signedness.
14704
18c9d62b
DM
14705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14706 * sysdeps/sparc/sparc32/Makefile: rather than here...
14707 * sysdeps/sparc/sparc64/Makefile: and here.
14708
05f3d1f6
UD
147092012-03-28 Ulrich Drepper <drepper@gmail.com>
14710
14711 * malloc/mallocbug.c: Avoid warnings about unused variables.
14712
86ae07a8
JL
147132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14714
14715 [BZ #13760]
14716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14717 in the right place. Discard and retry query if response is
14718 larger than input buffer size.
14719
41bf21a1
JM
147202012-03-28 Joseph Myers <joseph@codesourcery.com>
14721
d6270972
JM
14722 [BZ #369]
14723 [BZ #2678]
14724 [BZ #3866]
14725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14726 x for large integer exponent.
14727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14729 sign of result as needed afterwards.
14730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14732 result for underflowing pow the same as for overflow.
14733 (__kernel_standard_l): Handle powl overflow and underflow here
14734 rather than calling __kernel_standard.
14735 * math/libm-test.inc (pow_test): Add more tests.
14736
414fca03 14737 [BZ #3868]
41bf21a1
JM
14738 [BZ #13879]
14739 [BZ #13910]
14740 [BZ #13911]
14741 [BZ #13912]
14742 [BZ #13913]
14743 [BZ #13915]
14744 [BZ #13916]
14745 [BZ #13917]
14746 [BZ #13918]
14747 [BZ #13919]
14748 [BZ #13920]
14749 [BZ #13921]
14750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14752 (__kernel_standard_l): New function.
14753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14754 __kernel_standard.
14755 * math/w_acosl.c (__acosl): Likewise.
14756 * math/w_asinl.c (__asinl): Likewise.
14757 * math/w_atan2l.c (__atan2l): Likewise.
14758 * math/w_atanhl.c (__atanhl): Likewise.
14759 * math/w_coshl.c (__coshl): Likewise.
14760 * math/w_exp10l.c (__exp10l): Likewise.
14761 * math/w_exp2l.c (__exp2l): Likewise.
14762 * math/w_fmodl.c (__fmodl): Likewise.
14763 * math/w_hypotl.c (__hypotl): Likewise.
14764 * math/w_j0l.c (__j0l, __y0l): Likewise.
14765 * math/w_j1l.c (__j1l, __y1l): Likewise.
14766 * math/w_jnl.c (__jnl, __ynl): Likewise.
14767 * math/w_lgammal.c (__lgammal): Likewise.
14768 * math/w_log10l.c (__log10l): Likewise.
14769 * math/w_log2l.c (__log2l): Likewise.
14770 * math/w_logl.c (__logl): Likewise.
14771 * math/w_powl.c (__powl): Likewise.
14772 * math/w_remainderl.c (__remainderl): Likewise.
14773 * math/w_scalbl.c (sysv_scalbl): Likewise.
14774 * math/w_sinhl.c (__sinhl): Likewise.
14775 * math/w_sqrtl.c (__sqrtl): Likewise.
14776 * math/w_tgammal.c (__tgammal): Likewise.
14777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14779 * math/libm-test.inc (acos_test): Add more tests.
14780 (acosh_test): Likewise.
14781 (asin_test): Likewise.
14782 (atanh_test): Likewise.
14783 (exp_test): Likewise.
14784 (exp10_test): Likewise.
14785 (exp2_test): Likewise.
14786 (expm1_test): Likewise.
14787 (lgamma_test): Likewise.
14788 (log_test): Likewise.
14789 (log10_test): Likewise.
14790 (log1p_test): Likewise.
14791 (log2_test): Likewise.
14792 (pow_test): Do not allow some spurious overflow exceptions.
14793 (sqrt_test): Add more tests.
14794 (tgamma_test): Likewise.
14795 (y0_test): Likewise.
14796 (y1_test): Likewise.
14797 (yn_test): Likewise.
14798
dd62fda6
AB
147992012-03-27 Anton Blanchard <anton@samba.org>
14800
14801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14802 MAP_HUGETLB.
14803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14806
1e3cdfda
AJ
148072012-03-27 David S. Miller <davem@davemloft.net>
14808
b855ab85
DM
14809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14810
1e3cdfda
AJ
14811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14812 have-as-vis3 check.
14813
148142012-03-27 Andreas Jaeger <aj@suse.de>
14815
14816 * sysdeps/x86_64/elf/configure.in: Moved to ...
14817 * sysdeps/x86_64/configure.in: ... here.
14818 * sysdeps/x86_64/elf/start.S: Moved to ...
14819 * sysdeps/x86_64/start.S: ... here.
14820 * sysdeps/x86_64/elf/configure: Delete.
14821
14822 * sysdeps/x86_64/configure.in: Merge contents from
14823 sysdeps/i386/configure.in (without i686 check).
14824
14825 * sysdeps/i386/elf/Versions: Merge into ...
14826 * sysdeps/i386/Versions: ... this.
14827 * sysdeps/i386/elf/Versions: Delete file.
14828 * sysdeps/i386/elf/start.S: Moved to ...
14829 * sysdeps/i386/start.S: ...here.
14830 * sysdeps/i386/elf/configure.in: Merge into...
14831 * sysdeps/i386/configure.in: ...here.
14832 * sysdeps/i386/elf/configure.in: Delete file.
14833 * sysdeps/i386/elf/configure: Delete file.
14834
14835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14836 * debug/backtracesyms.c: ... here.
14837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14838 * debug/backtracesymsfd.c: ... here.
14839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14840 * sysdeps/generic/ifunc-sel.h: ... here.
14841
14842 * sysdeps/unix/i386/start.c: Delete file.
14843 * sysdeps/unix/sparc/start.c: Delete file.
14844 * sysdeps/unix/start.c: Delete file.
14845
14846 * sysdeps/sh/elf/configure.in: Moved to ...
14847 * sysdeps/sh/configure.in: ... here.
14848 * sysdeps/sh/elf/start.S: Moved to ...
14849 * sysdeps/sh/start.S: ... here.
14850 * sysdeps/sh/elf/configure: Delete file.
14851
14852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14857 * sysdeps/powerpc/powerpc64/start.S: here.
14858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14863
14864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14867 * sysdeps/powerpc/powerpc32/start.S: ... here.
14868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14871
14872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14873 * sysdeps/powerpc/ifunc-sel.h: ... here.
14874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14876
14877 * sysdeps/sparc/elf/configure.in: Moved to ...
14878 * sysdeps/sparc/configure.in: ... here.
14879 * sysdeps/sparc/elf/configure: Delete file.
14880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14881 * sysdeps/sparc/sparc32/start.S: ... here.
14882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14883 * sysdeps/sparc/sparc64/start.S: ... here.
14884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14885 * sysdeps/sparc/sparc32/Makefile: ... this.
14886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14887 * sysdeps/sparc/sparc64/Makefile: ... this.
14888
14889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14894 * sysdeps/s390/s390-32/setjmp.S: ... here.
14895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14896 * sysdeps/s390/s390-32/configure.in: ... here.
14897 * sysdeps/s390/s390-32/elf/configure: Delete file.
14898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14899 * sysdeps/s390/s390-32/start.S: ... here.
14900
14901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14906 * sysdeps/s390/s390-64/setjmp.S: ... here.
14907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14908 * sysdeps/s390/s390-64/configure.in: ... here
14909 * sysdeps/s390/s390-64/elf/configure: Delete file.
14910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14911 * sysdeps/s390/s390-64/start.S: ... here.
14912 * sysdeps/s390/s390-64/elf/configure: Delete.
14913
14914 * configure.in: Remove support for elf directories in sysdeps.
14915
14916 * configure: Regenerated.
14917 * sysdeps/i386/configure: Regenerated.
14918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14920 * sysdeps/s390/s390-32/configure: Regenerated.
14921 * sysdeps/s390/s390-64/configure: Regenerated.
14922 * sysdeps/sh/configure: Regenerated.
14923 * sysdeps/sparc/configure: Regenerated.
14924 * sysdeps/x86_64/configure: Regenerated.
14925
a3f61311
AS
149262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14927
c876e002
AS
14928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14929
a3f61311
AS
14930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14931 denormal result into account.
14932
ac4c54f0
RM
149332012-03-25 Roland McGrath <roland@hack.frob.com>
14934
14935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14936 Reported by Allan McRae <allan@archlinux.org>.
14937
6a9b9c02
JL
149382012-03-23 Jeff Law <law@redhat.com>
14939
14940 * nss/getnssent.c (__nss_getent): Fix typo.
14941
4c42a0c1
DM
149422012-03-23 David S. Miller <davem@davemloft.net>
14943
14944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14945
1532c7ac
L
149462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14947
14948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14949 to pad to uint64_t for each field.
14950 (dl_tls_index): Replace unsigned long with uint64_t.
14951
3ff42526
PP
149522012-03-23 Daniel Jacobowitz <dmj@google.com>
14953 Paul Pluzhnikov <ppluzhnikov@google.com>
14954
14955 [BZ #6528]
14956 * grp/Makefile (otherlibs): Don't set it.
14957 * inet/Makefile (otherlibs): Likewise.
14958 * login/Makefile (otherlibs): Likewise.
14959 * nscd/Makefile (otherlibs): Likewise.
14960 * posix/Makefile (otherlibs): Likewise.
14961 * pwd/Makefile (otherlibs): Likewise.
14962 * rt/Makefile (otherlibs): Likewise.
14963 * sunrpc/Makefile (otherlibs): Likewise.
14964 * nss/Makefile (otherlibs): Likewise.
14965 Add libnss_files to routines and static-only-routines.
14966 ($(objpfx)getent): Remove rule.
14967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14968 static-only-routines.
14969
7c69cd14
JM
149702012-03-22 Joseph Myers <joseph@codesourcery.com>
14971
14972 [BZ #13892]
14973 * math/s_cexp.c: Include <float.h>.
14974 (__cexp): Handle exp result overflowing not necessarily
14975 overflowing both real and imaginary parts of result.
14976 * math/s_cexpf.c: Likewise.
14977 * math/s_cexpl.c: Likewise.
14978 * math/libm-test.inc (cexp_test): Add more tests.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14981
81b035fe
L
149822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14983
14984 * include/link.h (ELFW): New macro.
14985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14987
1da7940c
L
149882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14989
14990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14991 with uint64_t.
14992
b749dbb9
L
149932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14994
14995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14996 declaration.
14997 (struct La_x32_retval): Likewise.
14998
2ff87f3f
L
149992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15000
15001 * sysdeps/x86_64/preconfigure.in: New file.
15002 * sysdeps/x86_64/preconfigure: New generated file.
15003
c0df8e69
JM
150042012-03-22 Joseph Myers <joseph@codesourcery.com>
15005
48e44791
JM
15006 [BZ #13824]
15007 * math/e_exp2l.c: Include <float.h>.
15008 (__ieee754_exp2l): Handle overflow and underflow cases
15009 separately. Only pass fractional part of argument to
15010 __ieee754_expl.
15011 * math/libm-test.inc (exp2_test): Add more tests.
15012
c0df8e69
JM
15013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15014 negating x to take absolute value.
15015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15016 Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15019 Likewise.
15020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15021 computing low part if x was negated.
15022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15023
c8e43ba7
L
150242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15025
15026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15027 la_x32_gnu_pltexit.
15028 (pltexit): Cast int_retval to ptrdiff_t.
15029 * elf/tst-auditmod3b.c: Likewise.
15030 * elf/tst-auditmod4b.c: Likewise.
15031 * elf/tst-auditmod5b.c: Likewise.
15032 * elf/tst-auditmod6b.c: Likewise.
15033 * elf/tst-auditmod6c.c: Likewise.
15034 * elf/tst-auditmod7b.c: Likewise.
15035
15036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15037 and x32_gnu_pltexit.
15038
15039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15040 __ELF_NATIVE_CLASS.
15041 (La_x32_regs): New macro.
15042 (La_x32_retval): Likewise.
15043 (la_x32_gnu_pltenter): New function prototype.
15044 (la_x32_gnu_pltexit): Likewise.
15045
7998fa78
AS
150462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15047
dcb33988
AS
15048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15049 exponent.
15050
233fc563
AS
15051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15052
7998fa78
AS
15053 * configure.in (libc_cv_cc_nofma): Check for option to disable
15054 generation of FMA instructions.
15055 * configure: Regenerate.
15056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15057 * sysdeps/ieee754/dbl-64/Makefile: New file.
15058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15059 Remove brandred-fma4.
15060 (CFLAGS-brandred-fma4.c): Remove.
15061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15063 define.
15064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15065 define.
15066
8e95c99a
L
150672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15068
15069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15070 LLONG_MAX != LONG_MAX.
15071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15072 (_fitoa_word): Likewise.
15073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15074 LLONG_MAX != LONG_MAX.
15075 * stdio-common/_itowa.h: Include <_itoa.h>.
15076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15079 only if not defined.
15080 (_ITOA_WORD_TYPE): Likewise.
15081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15083
6f4db457
DM
150842012-03-21 David S. Miller <davem@davemloft.net>
15085
15086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15087
7785fe5a
L
150882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15089
15090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15091 of x86_64 when setting libc_cv_slibdir, libdir and
15092 libc_cv_localedir.
15093 * sysdeps/unix/sysv/linux/configure: Regenerated.
15094
4535cd55
JM
150952012-03-21 Joseph Myers <joseph@codesourcery.com>
15096
15097 * manual/lang.texi (Old Varargs): Remove section.
15098 (How Variadic): Update menu.
15099 (va_start): Do not mention varargs.h.
15100
17228132
TS
151012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15102 Joseph Myers <joseph@codesourcery.com>
15103
15104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15105 link test.
15106 * configure: Regenerated.
15107
8149f976
TS
151082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15109
05f3d1f6
UD
15110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15112 conformtest.pl
8149f976 15113
1a4ac776
JM
151142012-03-21 Joseph Myers <joseph@codesourcery.com>
15115
be22ce65
JM
15116 * NOTES: Remove.
15117 * Makefile (files-for-dist): Remove NOTES.
15118 (NOTES): Remove rule.
15119 * README: Don't refer to NOTES.
15120 * manual/creature.texi: Don't include macros.texi.
15121 * manual/intro.texi (creature.texi): Remove comment referring to
15122 NOTES.
15123
40b601fb
JM
15124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15126 * configure: Regenerated.
15127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15128 LIBC_TRY_CC_OPTION.
15129 (libc_cv_as_i686): Likewise.
15130 (libc_cv_cc_avx): Likewise.
15131 (libc_cv_cc_sse2avx): Likewise.
15132 (libc_cv_cc_fma4): Likewise.
15133 (libc_cv_cc_novzeroupper): Likewise.
15134 * sysdeps/i386/configure: Regenerated.
15135
1a4ac776
JM
15136 [BZ #13883]
15137 * sysdeps/i386/fpu/s_cexp.S: Remove.
15138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15140 * math/libm-test.inc (cexp_test): Add more tests.
15141 * sysdeps/i386/fpu/libm-test-ulps: Update.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15143
a458e7fe
AM
151442012-03-21 Allan McRae <allan@archlinux.org>
15145
15146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15147
0cb7efc5
JM
151482012-03-21 Joseph Myers <joseph@codesourcery.com>
15149
15150 [BZ #13871]
15151 * math/w_exp2.c: Do not include <float.h>.
15152 (o_threshold, u_threshold): Remove.
15153 (__exp2): Calculate result before checking finiteness and calling
15154 __kernel_standard.
15155 * math/w_exp2f.c: Likewise.
15156 * math/w_exp2l.c: Likewise.
15157 * math/libm-test.inc (exp2_test): Require overflow exception for
15158 1e6 input.
2460d3aa
JM
15159
15160 [BZ #3866]
15161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15162 range of signed 64-bit integers before using fistpll. Remove
15163 checks for whether integers fit in mantissa bits.
15164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15165 the range of signed 32-bit integers before using fistpl. Remove
15166 checks for whether integers fit in mantissa bits.
15167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15168 (__ieee754_powl): Test for y outside the range of signed 64-bit
15169 integers before using fistpll. Reduce 64-bit values to 63-bit
15170 ones as needed.
15171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15172 divide-by-zero is raised for zero to large negative powers.
15173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15174 (__ieee754_powl): Test for y outside the range of signed 64-bit
15175 integers before using fistpll. Reduce 64-bit values to 63-bit
15176 ones as needed.
15177 * math/libm-test.inc (pow_test): Add more tests.
15178
eb96ffb0
L
151792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15180
15181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15182 <stdio-common/_itoa.h>.
15183 * debug/segfault.c: Likewise.
15184 * elf/dl-cache.c: Likewise.
15185 * elf/dl-minimal.c: Likewise.
15186 * elf/dl-misc.c: Likewise.
15187 * elf/dl-sysdep.c: Likewise.
15188 * elf/dl-version.c: Likewise.
15189 * elf/rtld.c: Likewise.
15190 * hurd/hurdsock.c: Likewise.
15191 * hurd/lookup-retry.c: Likewise.
15192 * malloc/malloc.c: Likewise.
15193 * malloc/mtrace.c: Likewise.
15194 * nscd/nscd_getgr_r.c: Likewise.
15195 * nscd/nscd_getpw_r.c: Likewise.
15196 * nscd/nscd_getserv_r.c: Likewise.
15197 * posix/getopt_init.c: Likewise.
15198 * posix/wordexp.c: Likewise.
15199 * stdio-common/_itoa.c: Likewise.
15200 * stdio-common/printf_fphex.c: Likewise.
15201 * stdio-common/vfprintf.c: Likewise.
15202 * string/_strerror.c: Likewise.
15203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15204 * sysdeps/i386/i686/hp-timing.h: Likewise.
15205 * sysdeps/mach/_strerror.c: Likewise.
15206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15207 * sysdeps/mach/hurd/sethostid.c: Likewise.
15208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15209 * sysdeps/mach/xpg-strerror.c: Likewise.
15210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15231
15232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15233
15234 * stdio-common/_itoa.h: Moved to ...
15235 * sysdeps/generic/_itoa.h: Here.
15236
15237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15238
15239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15240 instead of "_itoa.h" and "_itowa.h".
15241 * stdio-common/vfprintf.: Likewise.
15242
d1af992d
L
152432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15244
15245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15246 <bits/wordsize.h>.
15247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15248 (__signbit): Likwise.
15249 (llrintf): Likwise.
15250 (llrint): Likwise.
15251
114883e0
L
152522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15253
15254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15255 __WORDSIZE != 64.
15256
c135cc1b
JM
152572012-03-20 Joseph Myers <joseph@codesourcery.com>
15258
15259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15260 OVERFLOW_EXCEPTION_OK.
15261 * math/libm-test.inc ("Philosophy"): Update comment about
15262 exception testing.
15263 (OVERFLOW_EXCEPTION): Define.
15264 (OVERFLOW_EXCEPTION_OK): Likewise.
15265 (INVALID_EXCEPTION_OK): Renumber.
15266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15267 (IGNORE_ZERO_INF_SIGN): Likewise.
15268 (test_exceptions): Handle FE_OVERFLOW.
15269 (exp10_test): Expect overflow exceptions.
15270 (exp2_test): Likewise.
15271 (expm1_test): Likewise.
15272 (nextafter_test): Likewise.
15273 (pow_test): Likewise.
15274 (scalbn_test): Likewise.
15275 (scalbln_test): Likewise.
15276
95443d88
L
152772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 * sysdeps/x86_64/bits/atomic.h
15280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15281 64bit integer.
15282 (atomic_exchange_acq): Likewise.
15283 (__arch_exchange_and_add_body): Likewise.
15284 (__arch_add_body): Likewise.
15285 (atomic_add_negative): Likewise.
15286 (atomic_add_zero): Likewise.
15287
490df6c4
L
152882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15289
c2722551 15290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15292
5e52b189
L
152932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15296 Check __x86_64__ instead of __WORDSIZE.
15297
a9879d4c
L
152982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15301
5df98260
DM
153022012-03-19 David S. Miller <davem@davemloft.net>
15303
e1497744
DM
15304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15305
5df98260
DM
15306 * sysdeps/sparc/fpu/fenv_private.h: New file.
15307 * sysdeps/sparc/fpu/math_private.h: Use it.
15308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15309 Remove.
15310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15311 (libc_feholdexcept_setroundl): Remove.
15312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15313 Remove.
15314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15316
b4c35121
L
153172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15320 int64_t instead of long int.
15321 (INSERT_WORDS64): Likwise.
15322
56965fd7
L
153232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15326 _Unwind_GetCFA return to _Unwind_Ptr first.
15327
83d1aec8
JM
153282012-03-19 Joseph Myers <joseph@codesourcery.com>
15329
1897ad44
JM
15330 [BZ #13629]
15331 * math/s_clog.c: Include <float.h>.
15332 (__clog): Scale large or subnormal inputs.
15333 * math/s_clogf.c: Likewise.
15334 * math/s_clogl.c: Likewise.
15335 * math/s_clog10.c: Include <float.h>.
15336 (M_LOG10_2): Define.
15337 (__clog10): Scale large or subnormal inputs.
15338 * math/s_clog10f.c: Likewise.
15339 * math/s_clog10l.c: Likewise.
15340 * math/libm-test.inc (clog_test): Add more tests.
15341 (clog10_test): Likewise.
15342 * sysdeps/i386/fpu/libm-test-ulps: Update.
15343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15344
7726d6a9
JM
15345 [BZ #11451]
15346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15347 x and y.
15348 * math/libm-test.inc (atan2_test): Add another test.
15349
83d1aec8
JM
15350 * Makerules (common-objdir-compile): Remove.
15351 * sysdeps/unix/Makefile (config-generated): Do not add
15352 $(unix-generated) to variable.
15353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15355 Remove rule.
15356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15357 Likewise.
15358 [generic bits/local_lim.h] (before-compile): Do not append to
15359 variable.
15360 [generic bits/local_lim.h] (common-generated): Likewise.
15361 [generic sys/param.h] (before-compile): Do not append to variable.
15362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15366 include.
15367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15369 [generic sys/param.h] ($(addprefix
15370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15371 [generic sys/param.h] (common-generated): Do not append to
15372 variable.
15373 [generic sys/param.h] (sysdep_headers): Likewise.
15374 [generic bits/errno.h] (before-compile): Do not append to
15375 variable.
15376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15377 rule.
15378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15381 [generic bits/errno.h] (common-generated): Do not append to
15382 variable.
15383 [generic bits/ioctls.h] (before-compile): Do not append to
15384 variable.
15385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15386 rule.
15387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15390 rule.
15391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15394 [generic bits/ioctls.h] (common-generated): Do not append to
15395 variable.
15396 [generic sys/syscall.h] (syscall.h): Remove variable.
15397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15398 rule.
15399 [generic sys/syscall.h] (before-compile): Do not append to
15400 variable.
15401 [generic sys/syscall.h] (common-generated): Likewise.
15402 * sysdeps/unix/errnos-tmpl.c: Remove file.
15403 * sysdeps/unix/errnos.awk: Likewise.
15404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15405 * sysdeps/unix/ioctls.awk: Likewise.
15406 * sysdeps/unix/mk-local_lim.c: Likewise.
15407 * sysdeps/unix/snarf-ioctls: Likewise.
15408
4851a949
RH
154092012-03-19 Richard Henderson <rth@twiddle.net>
15410
bd37f2ee
RH
15411 * sysdeps/i386/fpu/fenv_private.h: New file.
15412 * sysdeps/i386/fpu/math_private.h: Use it.
15413 (math_opt_barrier, math_force_eval): Remove.
15414 (libc_feholdexcept_setround_53bit): Remove.
15415 (libc_feupdateenv_53bit): Remove.
15416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15417 (math_opt_barrier, math_force_eval): Remove.
15418 (libc_feholdexcept): Remove.
15419 (libc_feholdexcept_setround): Remove.
15420 (libc_fetestexcept, libc_fesetenv): Remove.
15421 (libc_feupdateenv_test): Remove.
15422 (libc_feupdateenv, libc_feholdsetround): Remove.
15423 (libc_feresetround): Remove.
15424
d0adc922
RH
15425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15427
0fe0f1f8
RH
15428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15430 (libc_feupdateenv_testl): New.
15431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15432 (libc_feupdateenv_testf): New.
15433 (libc_feupdateenv): Use libc_feupdateenv_test.
15434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15436
eb92c487
RH
15437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15440 (libc_feresetround_noex): New.
15441 (libc_feresetround_noexf): New.
15442 (libc_feresetround_noexl): New.
15443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15447 SET_RESTORE_ROUND.
15448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15450 (__cos): Likewise.
15451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15453 SET_RESTORE_ROUND_NOEX.
15454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15455 SET_RESTORE_ROUND_NOEXF.
15456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15458 (libc_feholdsetroundf): New.
15459 (libc_feresetround, libc_feresetroundf): New.
15460
7d2e8012
RH
15461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15464
b4dabbb4
RH
15465 * sysdeps/generic/math_private.h: Include <fenv.h>.
15466 (default_libc_feholdexcept): New.
15467 (default_libc_feholdexcept_setround): New.
15468 (default_libc_fesetenv, default_libc_feupdateenv): New.
15469 (libc_feholdexcept): Only define if undefined.
15470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15472 (libc_feholdexcept_setroundl): Likewise.
15473 (libc_feholdexcept_setround_53bit): Likewise.
15474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15477 (libc_feupdateenv_53bit): Likewise.
15478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15479 (libc_feholdexcept): Convert from macro to inline function.
15480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15481 (libc_fesetenv, libc_feupdateenv): Likewise.
15482
4851a949
RH
15483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15484 not previously defined.
15485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15489 * sysdeps/ieee754/flt-32/math_private.h: New file.
15490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15491 math_private.h below SET_FLOAT_WORD.
15492 (__isnan, __isinf_ns, __finite): Remove.
15493 (__isnanf, __isinf_nsf, __finitef): Remove.
15494
e79d442e
AS
154952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15496
15497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15498
90b80344
DM
154992012-03-17 David S. Miller <davem@davemloft.net>
15500
15501 [BZ #6471]
15502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15503 for 2.16.
15504
edc21804
DM
155052012-03-16 David S. Miller <davem@davemloft.net>
15506
77e927af
DM
15507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15508 warnings.
15509
374976dd
DM
15510 [BZ #6471]
15511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15512 properly.
15513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15515 sysdep_routines when subdir is sysvipc.
15516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15517 __getshmlba helper.
15518
edc21804
DM
15519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15520
473c3ef3
L
155212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15522
15523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15524 [__LP64__].
15525
eb0f39b6
L
155262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15530 (__lround): Renamed to ...
15531 (__llround): This. Replace long int with long long int.
15532 Define lround functions as aliases of llround functions.
15533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15534
6b6cd74b
L
155352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15539 adresses to uintptr_t. Replace "long int" and "unsigned long
15540 int" with "greg_t" on va_arg.
15541
f1a77b01
L
155422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15543
15544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15546
15547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15548 Move e_machine check before EI_CLASS check. Handle x32
15549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15551 SKIP_EM_IA_64 and include
15552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15553
15554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15556 (add_system_dir): New macro.
15557
15558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15560
11b90b9f
JM
155612012-03-16 Joseph Myers <joseph@codesourcery.com>
15562
c36e1d23
JM
15563 [BZ #2551]
15564 [BZ #2552]
15565 [BZ #2553]
15566 [BZ #2554]
15567 [BZ #2562]
15568 [BZ #2563]
15569 [BZ #2565]
15570 [BZ #2566]
15571 [BZ #2576]
15572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15573 (y0): Likewise.
15574 * math/w_j0f.c (j0f): Likewise.
15575 (y0f): Likewise.
15576 * math/w_j0l.c (__j0l): Likewise.
15577 (__y0l): Likewise.
15578 * math/w_j1.c (j1): Likewise.
15579 (y1): Likewise.
15580 * math/w_j1f.c (j1f): Likewise.
15581 (y1f): Likewise.
15582 * math/w_j1l.c (__j1l): Likewise.
15583 (__y1l): Likewise.
15584 * math/w_jn.c (jn): Likewise.
15585 (yn): Likewise.
15586 * math/w_jnf.c (jnf): Likewise.
15587 (ynf): Likewise.
15588 * math/w_jnl.c (__jnl): Likewise.
15589 (__ynl): Likewise.
15590 * math/libm-test.inc (j0_test): Add more tests.
15591 (j1_test): Likewise.
15592 (jn_test): Likewise. Add trailing semicolon to existing test.
15593 (y0_test): Likewise.
15594 (y1_test): Likewise.
15595 * sysdeps/i386/fpu/libm-test-ulps: Update.
15596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597
11b90b9f
JM
15598 [BZ #13851]
15599 [BZ #13854]
15600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15604 (__tanl): Set errno for infinite argument.
15605 * sysdeps/i386/fpu/mptan.c: Remove.
15606 * sysdeps/i386/fpu/s_tan.S: Likewise.
15607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15610 * math/libm-test.inc (tan_test): Add more tests and enable more
15611 tests for double and long double.
15612 * sysdeps/i386/fpu/libm-test-ulps: Update.
15613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15614
6a1bd2a1
JK
156152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15616
15617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15619
10a803e0
RM
156202012-03-16 Roland McGrath <roland@hack.frob.com>
15621
15622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15623 * configure.in: Use it for both main tree and add-ons.
15624 * configure: Regenerated.
15625
f196c7f7
L
156262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15627
15628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15629
8848d99d
JM
156302012-03-16 Joseph Myers <joseph@codesourcery.com>
15631
96cbe7f4
JM
15632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15633 in comment.
15634
8848d99d
JM
15635 [BZ #13851]
15636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15641 infinite argument.
15642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15644 != 0 for prec == 2.
15645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15656 * math/libm-test.inc (cos_test): Add more tests and enable more
15657 tests for long double.
15658 (sin_test): Likewise.
15659 (sincos_test): Likewise.
15660 * sysdeps/i386/fpu/libm-test-ulps: Update.
15661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15662
dd7f4703
DM
156632012-03-16 David S. Miller <davem@davemloft.net>
15664
15665 * sysdeps/sparc/fpu/math_private.h: New file.
15666
006f1daa
DM
156672012-03-15 David S. Miller <davem@davemloft.net>
15668
c0c83bc8
DM
15669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15670 file.
e6a62e18 15671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15673 file.
e6a62e18
DM
15674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15680 sysdep routines.
15681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15682
88cb87d9
DM
15683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15685
006f1daa 15686 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15688 sparc-ifunc.h
006f1daa 15689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15691 Likewise.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15693 Likewise.
006f1daa
DM
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15698 Likewise.
006f1daa
DM
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15704 Likewise.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15706 Likewise.
006f1daa
DM
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15731
11e0098e
AS
157322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15733
15734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15735 scaling.
15736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15737
e85b09d0
AJ
157382012-03-15 Andreas Jaeger <aj@suse.de>
15739
15740 [BZ #13852]
15741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15742 ieee754/flt-32 implementation for sin, cos and sincos.
15743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15748 ieee754/flt-32 implementation for tan.
15749
15750 * math/libm-test.inc (cos_test): Enable some large input tests for
15751 float as well
15752 (sin_test): Likewise.
15753 (sincos_test): Likewise.
15754 (tan_test): Add tests for large input.
15755
15756 * sysdeps/i386/fpu/libm-test-ulps: Update.
15757
81c64153
AJ
157582012-03-15 Andreas Jaeger <aj@suse.de>
15759
15760 [BZ #13658]
15761 * math/libm-test.inc (cos_test): Add more test cases.
15762 (sin_test): Likewise.
15763 (sincos_test): Likewise.
15764
7bbfa5c6
AJ
157652012-03-15 Andreas Jaeger <aj@suse.de>
15766
15767 [BZ #13837]
15768 * math/libm-test.inc (cos_test): Add a test case for large input
15769 value.
15770 (sin_test): Likewise.
15771 (sincos_test): Likewise.
15772
157732012-03-15 Andreas Jaeger <aj@suse.de>,
15774 Joseph Myers <joseph@codesourcery.com>
15775
15776 [BZ #13658]
0671f479 15777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15779 * sysdeps/i386/fpu/branred.c: Likewise.
15780 * sysdeps/i386/fpu/dosincos.c: Likewise.
15781 * sysdeps/i386/fpu/mpa.c: Likewise.
15782 * sysdeps/i386/fpu/s_cos.S: Likewise.
15783 * sysdeps/i386/fpu/s_sin.S: Likewise.
15784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15785 * sysdeps/i386/fpu/sincos32.c: Likewise.
15786
15787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15788 Define.
15789 (libc_feupdateenv_53bit): Define.
15790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15791 Define.
15792 (libc_feupdateenv_53bit): Define.
15793
15794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15795 53 bit (without extend i386 double precision).
15796
15797 * math/libm-test.inc (sincos_test): Add tests for large input.
15798 (sin): Likewise.
15799 (cos): Likewise.
15800
15801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15802
9cad04ea
AS
158032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15804
15805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15806
f7062b9a
DM
158072012-03-15 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15825 file.
f7062b9a 15826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15828 file.
f7062b9a 15829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15831 file.
f7062b9a 15832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15834 file.
f7062b9a
DM
15835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15837 fmin/fmax sysdep routines.
15838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15839
7bd951ff
DM
158402012-03-14 David S. Miller <davem@davemloft.net>
15841
559398ab
DM
15842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15871 routines.
15872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15873 file.
559398ab 15874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15876 file.
559398ab 15877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15879 file.
559398ab 15880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15882 file.
559398ab 15883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15885 file.
559398ab 15886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15888 file.
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15890 file.
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15892 file.
15893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15894 file.
15895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15896 New file.
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15898 file.
15899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15900 file.
559398ab 15901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15903 file.
559398ab 15904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15906 file.
559398ab 15907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15909 file.
559398ab 15910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15912 VIS3 routines.
559398ab
DM
15913
15914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15915 New file.
15916
5a1c1e32
DM
15917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15918
eae47a36
DM
15919 * sysdeps/sparc/configure.in: New file.
15920 * sysdeps/sparc/configure: Generate.
15921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15922 * configure: Regenerate.
15923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15924 * config.make.in (have-as-vis3): New.
15925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15926 available use -Av9d instead of -Av9a.
15927 * sysdeps/sparc/sparc64/Makefile: Likewise.
15928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15930 New file.
15931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15932 file.
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15934 New file.
15935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15936 file.
eae47a36
DM
15937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15942
c0c83bc8
DM
15943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15944 fzeros/fnegs to load 0x80000000 into a float register instead of
15945 using the stack.
7bd951ff
DM
15946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15947
bd951ccb
JM
159482012-03-14 Joseph Myers <joseph@codesourcery.com>
15949
15950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15951 bits/syscall.h.
15952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15954 ($(inst_includedir)/bits/syscall.h): Remove rule.
15955 ($(objpfx)bits/syscall.d): Include instead of
15956 $(objpfx)syscall-list.d.
15957 (generated): Change syscall-list.h and syscall-list.d to
15958 bits/syscall.h and bits/syscall.d.
15959
bb4e6db2
RM
159602012-03-14 Roland McGrath <roland@hack.frob.com>
15961
15962 [BZ #13846]
15963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15964
aa4a2ae1
JM
159652012-03-14 Joseph Myers <joseph@codesourcery.com>
15966
e456826d
JM
15967 [BZ #13841]
15968 * math/s_csqrt.c: Include <float.h>.
15969 (__csqrt): Scale large or subnormal inputs.
15970 * math/s_csqrtf.c: Likewise.
15971 * math/s_csqrtl.c: Likewise.
15972 * math/libm-test.inc (csqrt_test): Add more tests.
15973 * sysdeps/i386/fpu/libm-test-ulps: Update.
15974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15975
aa4a2ae1
JM
15976 [BZ #13840]
15977 * math/libm-test.inc (hypot_test): Add more tests.
15978
7c10fd35
DM
159792012-03-13 David S. Miller <davem@davemloft.net>
15980
15981 [BZ #13840]
15982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15983 double-precision for the calculation instead of scaling.
15984
f453b98b
JM
159852012-03-13 Joseph Myers <joseph@codesourcery.com>
15986
15987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15988 manipulate bits before adding and subtracting TWO52[sx].
15989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15991 Likewise.
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15993
09a3453f
DM
159942012-03-13 David S. Miller <davem@davemloft.net>
15995
8e59da90
DM
15996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15999 rtld-global-offsets.h
16000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16001
2a8ab7f2
DM
16002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16003 large parameters.
16004
10f62770
DM
16005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16006
5f0bdb18
DM
16007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16008 'err' in the ifdef scope in which it is actually used.
16009
09a3453f
DM
16010 * nss/nss_db/db-init.c: Include string.h
16011
b4b2eb5e
DM
160122012-03-12 David S. Miller <davem@davemloft.net>
16013
98bb2f1c
DM
16014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16015 masking out of the most significant byte of random value used.
16016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16017 Fix coding style in previous change.
16018
b4b2eb5e
DM
16019 * sysdeps/unix/sysv/linux/kernel-features.h
16020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16022 expression.
16023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16024 later.
16025
6e226b09
DM
160262012-03-11 David S. Miller <davem@davemloft.net>
16027
a1bcbd40
DM
16028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16031 for 'resultvar' otherwise things get truncated on 64-bit.
16032
cb9d6174
DM
16033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16034 Fix masking out of the most significant byte of random value used.
16035
6e226b09
DM
16036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16037
058c132d
AS
160382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16041
2d2cd515
DM
160422012-03-09 David S. Miller <davem@davemloft.net>
16043
16044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16045 variables with appropriate CPP guards.
16046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16047 frame pointer, not the stack pointer. Correct layout comments. Fix test
16048 on resulting framesize and the management of the outregs buffer for pltexit.
16049 Preserve floating point return values across _dl_call_pltexit call.
16050 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16051 framesize and the management of the outregs buffer for pltexit.
16052 Preserve floating point return values across _dl_call_pltexit
16053 call.
16054 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16055 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16056 (print_exit): Fix format string for return register value.
16057
9a07f9d0
JM
160582012-03-10 Joseph Myers <joseph@codesourcery.com>
16059
16060 * sunrpc/Makefile (others): Add rpcgen.
16061 ($(objpfx)rpcgen): Remove special build rule and dependency on
16062 libc.
16063 * sunrpc/rpcgen.c: New file.
16064
547b5e30
PE
160652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16066
c524201a
PE
16067 [BZ #13673]
16068 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16069 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16070 * sysdeps/i386/crti.S: Likewise.
16071 * sysdeps/i386/crtn.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16073 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16074 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16075 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16076 * sysdeps/sh/crti.S: Likewise.
16077 * sysdeps/sh/crtn.S: Likewise.
16078 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16079
7b6235f2
PE
16080 [BZ #13673]
16081 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16082 with URL.
16083 * locale/programs/locfile-kw.gperf: Likewise.
16084 * locale/programs/charmap-kw.h: Regenerated.
16085 * locale/programs/locfile-kw.h: Likewise.
16086
547b5e30
PE
16087 [BZ #13673]
16088 * intl/plural.y: Replace FSF snail mail address with URL.
16089 * intl/plural.c: Regenerated.
16090
5f0a5dae
RH
160912012-03-09 Richard Henderson <rth@twiddle.net>
16092
16093 * include/math_private.h: Remove file.
16094 * math/math_private.h: Move file ...
16095 * sysdeps/generic/math_private.h: ... here.
16096
b8c03620
RH
16097 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16098 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16100
4e234f5d 16101 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16102 and <math_private.h>.
16103 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16104 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16105 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16106 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16107 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16167 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16187 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16191 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16194 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16197 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16207 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16208 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16209 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16210 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16211 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16213 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16214 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16216 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16217 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16220 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16226 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16232 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16233 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16234 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16241 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16242 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16246 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16247 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16248 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16249 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16250 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16251 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16252 * sysdeps/ieee754/k_standard.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16368 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16380 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16413 * sysdeps/ieee754/s_lib_version.c: Likewise.
16414 * sysdeps/ieee754/s_matherr.c: Likewise.
16415 * sysdeps/ieee754/s_signgam.c: Likewise.
16416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16419 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16420 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16422 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16423 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16424 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16425 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16426 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16427 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16430 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16437
1991fa03
JM
164382012-03-09 Joseph Myers <joseph@codesourcery.com>
16439
16440 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16441 * sunrpc/rpc_main.c: Likewise.
16442 * sunrpc/rpc_svcout.c: Likewise.
16443
60d6f5a6
DM
164442012-03-09 David S. Miller <davem@davemloft.net>
16445
16446 * include/math_private.h: New file.
16447
4962050e
JM
164482012-03-09 Joseph Myers <joseph@codesourcery.com>
16449
02a6f887
JM
16450 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16451 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16452 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16453 from <bits/socket_type.h>.
16454 (enum __socket_type): Don't define here.
16455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16457 bits/socket_type.h.
16458
c6e013c1
JM
16459 [BZ #13566]
16460 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16461 checking __USE_GNU.
16462
4962050e
JM
16463 * Makerules ($(inst_includedir)/%.h): New rule.
16464 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16465 (install-others): Remove variable setting.
16466 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16467
38842f45
RH
164682012-03-08 Richard Henderson <rth@twiddle.net>
16469
67bb6da6
RH
16470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16471 from macro to inline function; merge with the
16472 !__LIBC_INTERNAL_MATH_INLINES version.
16473 (__ieee754_sqrtf): Likewise.
16474
15194b4b
RH
16475 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16476 to inline function.
16477 (__rintf, __floor, __floorf): Likewise.
16478
64e21ede
RH
16479 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16480 macro to inline function.
16481 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16482
38842f45
RH
16483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16484 not <math/math_private.h>.
16485
c64bf5fe
DM
164862012-03-08 David S. Miller <davem@davemloft.net>
16487
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16489 copyright year.
16490 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16491
82d86f28
TS
164922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16493
16494 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16495 normalization.
16496 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16497 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16498
aea5d727
UD
164992012-03-08 Ulrich Drepper <drepper@gmail.com>
16500
16501 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16502 be defined individually, they must be defined as a block. Define
16503 S for printing a string instead of hidint the different by using a
16504 macro for adding the 'l'.
16505 * stdio-common/tst-fphex-wide.c: Adjust.
16506
70bca0a3
MP
165072012-03-07 Marek Polacek <polacek@redhat.com>
16508
16509 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16510
65b81130
MP
165112012-03-08 Marek Polacek <polacek@redhat.com>
16512
16513 [BZ #13806]
16514 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16515 * stdio-common/tst-fphex.c: Define a few macros to make the
16516 test reusable. Use them.
16517 * stdio-common/tst-fphex-wide.c: New file.
16518
07037eeb
JM
165192012-03-08 Joseph Myers <joseph@codesourcery.com>
16520
a7a93d50
JM
16521 [BZ #6911]
16522 * manual/macros.texi (gnusystems): New macro.
16523 (nongnusystems): Likewise.
16524 (gnulinuxhurdsystems): Likewise.
16525 (gnuhurdsystems): Likewise..
16526 (gnulinuxsystems): Likewise.
16527 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16528 variants of the GNU system, not "GNU system".
16529 * manual/conf.texi: Likewise.
16530 * manual/errno.texi: Likewise. Update example of errno macro
16531 expansion.
16532 * manual/filesys.texi: Likewise.
16533 (getumask): Document as specific to GNU/Hurd.
16534 * manual/install.texi: Likewise. Reword some references to
16535 GNU/Linux.
16536 * manual/intro.texi: Likewise.
16537 * manual/io.texi: Likewise.
16538 (File Name Portability): Detail which constraints are inapplicable
16539 to all GNU systems and which are only inapplicable to GNU/Hurd.
16540 * manual/job.texi: Likewise.
16541 * manual/llio.texi: Likewise.
16542 (O_NOCTTY): Document as present on GNU/Linux.
16543 * manual/maint.texi: Likewise.
16544 * manual/memory.texi: Likewise.
16545 * manual/pattern.texi: Likewise.
16546 * manual/pipe.texi: Likewise.
16547 * manual/process.texi: Likewise.
16548 * manual/resource.texi: Likewise.
16549 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16550 child on GNU/Hurd.
16551 * manual/setjmp.texi: Likewise.
16552 * manual/signal.texi: Likewise.
16553 * manual/startup.texi: Likewise.
16554 * manual/stdio.texi: Likewise.
16555 * manual/terminal.texi: Likewise.
16556 (ONLCR): Document as POSIX.
16557 (OXTABS): Document availability on GNU/Linux as XTABS.
16558 (ONOEOT): Document availability separately from other bits.
16559 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16560 * manual/time.texi: Likewise.
16561 * manual/users.texi: Likewise.
16562 * INSTALL: Regenerated.
16563 * sysdeps/gnu/errlist.c: Regenerated.
16564
07037eeb
JM
16565 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16566 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16567 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16568 puts.
16569 * configure: Regenerated.
16570
d1d3431a
JM
165712012-03-07 Joseph Myers <joseph@codesourcery.com>
16572
af6a1e37
JM
16573 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16574 default includes instead of AC_HEADER_CHECK.
16575 * sysdeps/i386/configure: Regenerated.
16576
d1d3431a
JM
16577 [BZ #10716]
16578 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16579 * math/s_cacoshf.c (__cacoshf): Likewise.
16580 * math/s_cacoshl.c (__cacoshl): Likewise.
16581 * math/s_casinh.c (__casinh): Set signs of result from argument.
16582 * math/s_casinhf.c (__casinhf): Likewise.
16583 * math/s_casinhl.c (__casinhl): Likewise.
16584 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16585 (casinh_test): Add more tests.
16586 * sysdeps/i386/fpu/libm-test-ulps: Update.
16587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16588
482ff4da
UD
165892012-03-07 Ulrich Drepper <drepper@gmail.com>
16590
872fda05
UD
16591 * po/zh_TW.po: Update from translation team.
16592
a4300c7a
UD
16593 * login/Makefile (distribute): Remove variable.
16594 * catgets/Makefile: Likewise.
16595 * mach/Makefile: Likewise.
16596 * malloc/Makefile: Likewise.
16597 * misc/Makefile: Likewise.
16598 * iconv/Makefile: Likewise.
16599 * nscd/Makefile: Likewise.
16600 * hurd/Makefile: Likewise.
16601 * manual/Makefile: Likewise.
16602 * locale/Makefile: Likewise.
16603 * intl/Makefile: Likewise.
16604 * conform/Makefile: Likewise.
16605 * nss/Makefile: Likewise.
16606 * time/Makefile: Likewise.
16607 * soft-fp/Makefile: Likewise.
16608 * dirent/Makefile: Likewise.
16609 * gmon/Makefile: Likewise.
16610 * po/Makefile: Likewise.
16611 * rt/Makefile: Likewise.
16612 * socket/Makefile: Likewise.
16613 * math/Makefile: Likewise.
16614 * signal/Makefile: Likewise.
16615 * debug/Makefile: Likewise.
16616 * elf/Makefile: Likewise.
16617 * timezone/Makefile: Likewise.
16618 * stdlib/Makefile: Likewise.
16619 * iconvdata/Makefile: Likewise.
16620 * sunrpc/Makefile: Likewise.
16621 * io/Makefile: Likewise.
16622 * argp/Makefile: Likewise.
16623 * inet/Makefile: Likewise.
16624 * hesiod/Makefile: Likewise.
16625 * grp/Makefile: Likewise.
16626 * csu/Makefile: Likewise.
16627 * wctype/Makefile: Likewise.
16628 * crypt/Makefile: Likewise.
16629 * libio/Makefile: Likewise.
16630 * string/Makefile: Likewise.
16631 * nis/Makefile: Likewise.
16632 * resolv/Makefile: Likewise.
16633 * stdio-common/Makefile: Likewise.
16634 * wcsmbs/Makefile: Likewise.
16635 * dlfcn/Makefile: Likewise.
16636 * posix/Makefile: Likewise.
16637
3b7c4e74 16638 [BZ #6959]
482ff4da
UD
16639 * timezone/Makefile: Don't install timezone files, just the programs
16640 and scripts.
16641
f72ed77d
UD
166422012-03-06 Ulrich Drepper <drepper@gmail.com>
16643
a000466f
UD
16644 * nss/databases.def: Add missing gshadow entry.
16645
f72ed77d
UD
16646 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16647
a53b7a4e
MP
166482012-03-06 Marek Polacek <polacek@redhat.com>
16649
16650 [BZ #13726]
16651 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16652 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16653 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16654 * stdio-common/tst-long-dbl-fphex.c: New file.
16655
e9258400
DM
166562012-03-06 David S. Miller <davem@davemloft.net>
16657
16658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16659 (set_obp_int): New function.
16660 (get_obp_int): New function.
16661 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16663 Avoid unused variable warnings on 'val' and use builtin_expect.
16664 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16665 __builtin_expect.
e9258400
DM
16666 (INLINE_CLONE_SYSCALL): Likewise.
16667
3bd2c723
DM
166682012-03-05 David S. Miller <davem@davemloft.net>
16669
16670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16671
bbb78d03
AS
166722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16673
884c5db4
AS
16674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16675
bbb78d03
AS
16676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16677 only for |x| >= 40.
16678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16679
1c9f702a 166802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16681
16682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16683 Replace gettimeofday with __vdso_gettimeofday.
16684
7be16f82
RM
16685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16686 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16687 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16688
16689 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16690 time with __vdso_time.
16691
ed58a00f
JM
166922012-03-05 Joseph Myers <joseph@codesourcery.com>
16693
16694 * manual/lang.texi (size_t): Note types to which size_t may be
16695 equivalent with the GNU C Library, but do not describe when
16696 differences between them are significant.
16697
30ee4ced
AJ
166982012-03-05 Andreas Jaeger <aj@suse.de>
16699
16700 * sysdeps/i386/fpu/libm-test-ulps: Update.
16701
b7cd39e8
JM
167022012-03-05 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #3976]
16705 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16706 (__ieee754_pow): Save and restore rounding mode and use
16707 round-to-nearest for main computations.
16708 * math/libm-test.inc (pow_test_tonearest): New function.
16709 (pow_test_towardzero): Likewise.
16710 (pow_test_downward): Likewise.
16711 (pow_test_upward): Likewise.
16712 (main): Call the new functions.
16713 * sysdeps/i386/fpu/libm-test-ulps: Update.
16714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16715
16716 [BZ #3976]
16717 * math/libm-test.inc (cosh_test_tonearest): New function.
16718 (cosh_test_towardzero): Likewise.
16719 (cosh_test_downward): Likewise.
16720 (cosh_test_upward): Likewise.
16721 (sinh_test_tonearest): Likewise.
16722 (sinh_test_towardzero): Likewise.
16723 (sinh_test_downward): Likewise.
16724 (sinh_test_upward): Likewise.
16725 (main): Call the new functions.
16726 * sysdeps/i386/fpu/libm-test-ulps: Update.
16727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728
6c6a98c9
TV
167292012-03-05 Tom de Vries <tom@codesourcery.com>
16730
16731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16732 default stack guard is set in last bytes.
16733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16734
21bb2d2e 167352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16736
21bb2d2e 16737 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16738
21bb2d2e
AJ
16739 [BZ #13656]
16740 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16741 possibly allocate from heap instead of stack.
16742 * stdio-common/bug-vfprintf-nargs.c: New file.
16743 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16744
c6922934
AS
167452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16746
16747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16748
bc957d53
MP
167492012-03-03 Marek Polacek <polacek@redhat.com>
16750
16751 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16752 * math/math_private.h: Likewise.
16753 * stdlib/tst-strtod.c: Likewise.
16754 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16755 * sysdeps/x86_64/bits/atomic.h: Likewise.
16756
6358490d
DM
167572012-03-02 David S. Miller <davem@davemloft.net>
16758
16759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16764 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16765 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16767
01ae168d
RM
167682012-03-02 Roland McGrath <roland@hack.frob.com>
16769
d9a17c07
RM
16770 [BZ #13792]
16771 * manual/examples/README: New file, says the example source files
16772 can be used under GPL>=2.
16773 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16774 line containing just "*/".
16775 * manual/examples/add.c: Add copyright header (GPL>=2).
16776 * manual/examples/argp-ex1.c: Likewise.
16777 * manual/examples/argp-ex2.c: Likewise.
16778 * manual/examples/argp-ex3.c: Likewise.
16779 * manual/examples/argp-ex4.c: Likewise.
16780 * manual/examples/atexit.c: Likewise.
16781 * manual/examples/db.c: Likewise.
16782 * manual/examples/dir.c: Likewise.
16783 * manual/examples/dir2.c: Likewise.
16784 * manual/examples/execinfo.c: Likewise.
16785 * manual/examples/filecli.c: Likewise.
16786 * manual/examples/filesrv.c: Likewise.
16787 * manual/examples/fmtmsgexpl.c: Likewise.
16788 * manual/examples/genpass.c: Likewise.
16789 * manual/examples/inetcli.c: Likewise.
16790 * manual/examples/inetsrv.c: Likewise.
16791 * manual/examples/isockad.c: Likewise.
16792 * manual/examples/longopt.c: Likewise.
16793 * manual/examples/memopen.c: Likewise.
16794 * manual/examples/memstrm.c: Likewise.
16795 * manual/examples/mkfsock.c: Likewise.
16796 * manual/examples/mkisock.c: Likewise.
16797 * manual/examples/mygetpass.c: Likewise.
16798 * manual/examples/pipe.c: Likewise.
16799 * manual/examples/popen.c: Likewise.
16800 * manual/examples/rprintf.c: Likewise.
16801 * manual/examples/search.c: Likewise.
16802 * manual/examples/select.c: Likewise.
16803 * manual/examples/setjmp.c: Likewise.
16804 * manual/examples/sigh1.c: Likewise.
16805 * manual/examples/sigusr.c: Likewise.
16806 * manual/examples/stpcpy.c: Likewise.
16807 * manual/examples/strdupa.c: Likewise.
16808 * manual/examples/strftim.c: Likewise.
16809 * manual/examples/strncat.c: Likewise.
16810 * manual/examples/subopt.c: Likewise.
16811 * manual/examples/swapcontext.c: Likewise.
16812 * manual/examples/termios.c: Likewise.
16813 * manual/examples/testopt.c: Likewise.
16814 * manual/examples/testpass.c: Likewise.
16815 * manual/examples/timeval_subtract.c: Likewise.
16816
01ae168d
RM
16817 [BZ #13792]
16818 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16819 function to ...
16820 * manual/timeval_subtract.c.texi: ... here, new file.
16821
49efa33d
DM
168222012-03-02 David S. Miller <davem@davemloft.net>
16823
16824 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16825
28afd92d
JM
168262012-03-02 Joseph Myers <joseph@codesourcery.com>
16827
804360ed
JM
16828 [BZ #3976]
16829 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16830 (__sin): Save and restore rounding mode and use round-to-nearest
16831 for all computations.
16832 (__cos): Save and restore rounding mode and use round-to-nearest
16833 for all computations.
16834 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16835 <fenv.h>.
16836 (tan): Save and restore rounding mode and use round-to-nearest for
16837 all computations.
16838 * math/libm-test.inc (cos_test_tonearest): New function.
16839 (cos_test_towardzero): Likewise.
16840 (cos_test_downward): Likewise.
16841 (cos_test_upward): Likewise.
16842 (sin_test_tonearest): Likewise.
16843 (sin_test_towardzero): Likewise.
16844 (sin_test_downward): Likewise.
16845 (sin_test_upward): Likewise.
16846 (tan_test_tonearest): Likewise.
16847 (tan_test_towardzero): Likewise.
16848 (tan_test_downward): Likewise.
16849 (tan_test_upward): Likewise.
16850 (main): Call the new functions.
16851 * sysdeps/i386/fpu/libm-test-ulps: Update.
16852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16853
a6d06d7b
JM
16854 [BZ #10135]
16855 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16856 small n, then large n, before computing and testing k+n.
16857 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16859 Likewise.
16860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16861 Likewise.
16862 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16863 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16870 * math/libm-test.inc (scalbn_test): Add more tests.
16871 (scalbln_test): Likewise.
16872
07e12bb3
JM
16873 * manual/filesys.texi (mode_t): Describe constraints on size and
16874 signedness, not exact equivalence to a particular type.
16875 (ino_t): Likewise.
16876 (ino64_t): Likewise.
16877 (dev_t): Likewise.
16878 (nlink_t): Likewise.
16879 (blkcnt_t): Likewise.
16880 (blkcnt64_t): Likewise.
16881 * manual/llio.texi (off_t): Likewise.
16882
28afd92d
JM
16883 [BZ #3976]
16884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16885 (__ieee754_exp): Save and restore rounding mode and use
16886 round-to-nearest for all computations.
16887 * math/libm-test.inc (exp_test_tonearest): New function.
16888 (exp_test_towardzero): Likewise.
16889 (exp_test_downward): Likewise.
16890 (exp_test_upward): Likewise.
16891 (main): Call the new functions.
16892 * sysdeps/i386/fpu/libm-test-ulps: Update.
16893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16894
b1eeb65d
CD
168952012-03-01 Chris Demetriou <cgd@google.com>
16896
16897 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16898 have predictable order.
16899
53362a4b
DM
169002012-03-01 David S. Miller <davem@davemloft.net>
16901
3c969083
DM
16902 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16903
759707de
DM
16904 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16905 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16906 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16907 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16908
dfdb8ff2
DM
16909 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16910 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16911 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16914 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16915 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16916 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16917 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16918
ead89f96
DM
16919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16920
7f66bd07
DM
16921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16922 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16924
53362a4b
DM
16925 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16927 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16928 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16929 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16932 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16934 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16935 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16938 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16939 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16941 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16942 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16943 * sysdeps/sparc/elf/configure: Regenerated.
16944
7b1902cb
JM
169452012-03-01 Joseph Myers <joseph@codesourcery.com>
16946
bec039bc
JM
16947 * configure.in (AS, LD): Require binutils 2.20 or later.
16948 * configure: Regenerated.
16949 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16950 as required minimum version.
16951 * INSTALL: Regenerated.
16952
7b1902cb
JM
16953 [BZ #2541]
16954 [BZ #4108]
16955 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16956 before squaring exponent.
16957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16958 bottom long double and 27 bits of top long double before squaring
16959 exponent.
16960 * math/libm-test.inc (erfc_test): Add more tests.
16961 * sysdeps/i386/fpu/libm-test-ulps: Update.
16962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16964
f775c276
KT
169652012-03-01 Kai Tietz <ktietz@redhat.com>
16966
16967 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16968 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16969 containing bit-fields.
16970 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16971 * soft-fp/single.h (_FP_UNION_S): Likewise.
16972 * soft-fp/double.h (_FP_UNION_D): Likewise.
16973
5b8a4d4a
JM
169742012-02-29 Joseph Myers <joseph@codesourcery.com>
16975
0bab47b6
JM
16976 [BZ #13786]
16977 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16978 not include ../strcmp.S.
16979 [USE_AS_STRNCASECMP_L]: Likewise.
16980 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16981 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16982 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16983 (__strncasecmp_l_ia32): Define as alias to
16984 __strncasecmp_l_nonascii.
16985
0fcad3e2
JM
16986 [BZ #5794]
16987 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16988 * sysdeps/i386/fpu/libm-test-ulps: Update.
16989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16990
5b8a4d4a
JM
16991 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
8fdceb2e
JL
169942012-02-29 Jeff Law <law@redhat.com>
16995
16996 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16997 out of bounds read.
16998
1f393a11
MP
169992012-02-29 Marek Polacek <polacek@redhat.com>
17000
17001 [BZ #13706]
17002 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17003 * elf/Makefile: Add rules to run tst-unused-dep.out.
17004
8847f037
DM
170052012-02-28 David S. Miller <davem@davemloft.net>
17006
17007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17013
169d7f11
JM
170142012-02-29 Joseph Myers <joseph@codesourcery.com>
17015
17016 * math/libm-test.inc (llround_test): Move one test from
17017 lround_test. Use TEST_f_L in moved test.
17018 (lround_test): Move misplaced test to llround_test. Add testcase
17019 from bug 2561.
17020
39adf059
UD
170212012-02-28 Ulrich Drepper <drepper@gmail.com>
17022
17023 * sysdeps/x86_64/fpu/e_expf.S: New file.
17024 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17025
71b5d1c5
SB
170262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17027
17028 [BZ #13637]
17029 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17030 of remain_len that may cause incomplete multi-byte character and
17031 false match.
17032 * posix/bug-regex33.c: New file.
17033 * posix/Makefile (tests): Add bug-regex33.
17034
1f77f049
JM
170352012-02-28 Joseph Myers <joseph@codesourcery.com>
17036
17037 * manual/macros.texi: New file.
17038 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17039 * manual/libc.texinfo: Include macros.texi.
17040 * manual/creatute.texi: Likewise.
17041 * manual/install.texi: Likewise.
17042 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17043 @glibcadj{} in references to the GNU C Library.
17044 * manual/charset.texi: Likewise.
17045 * manual/conf.texi: Likewise.
17046 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17047 when not using those macros.
17048 * manual/creature.texi: Likewise.
17049 * manual/crypt.texi: Likewise.
17050 * manual/errno.texi: Likewise.
17051 * manual/filesys.texi: Likewise.
17052 * manual/header.texi: Likewise.
17053 * manual/install.texi: Likewise.
17054 * manual/intro.texi: Likewise.
17055 * manual/io.texi: Likewise.
17056 * manual/job.texi: Likewise.
17057 * manual/lang.texi: Likewise.
17058 * manual/libc.texiinfo: Likewise.
17059 * manual/llio.texi: Likewise.
17060 * manual/locale.texi: Likewise.
17061 * manual/maint.texi: Likewise.
17062 * manual/math.texi: Likewise.
17063 * manual/memory.texi: Likewise.
17064 * manual/message.texi: Likewise.
17065 * manual/nss.texi: Likewise.
17066 * manual/pattern.texi: Likewise.
17067 * manual/process.texi: Likewise.
17068 * manual/resource.texi: Likewise.
17069 * manual/search.texi: Likewise.
17070 * manual/setjmp.texi: Likewise.
17071 * manual/signal.texi: Likewise.
17072 * manual/socket.texi: Likewise.
17073 * manual/startup.texi: Likewise.
17074 * manual/stdio.texi: Likewise.
17075 * manual/string.texi: Likewise.
17076 * manual/sysinfo.texi: Likewise.
17077 * manual/syslog.texi: Likewise.
17078 * manual/terminal.texi: Likewise.
17079 * manual/time.texi: Likewise.
17080 * manual/users.texi: Likewise.
17081 * INSTALL: Regenerated.
17082 * NOTES: Regenerated.
d40c5d54 17083 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17084
450bf206
AS
170852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17086
17087 * include/dirent.h: Include <dirstream.h> before
17088 <dirent/dirent.h>.
17089
741a235b
DM
170902012-02-28 David S. Miller <davem@davemloft.net>
17091
17092 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17093 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17094 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17096
d6b5aa58
DM
170972012-02-27 David S. Miller <davem@davemloft.net>
17098
1aff59a3
DM
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17101 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17102 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17103
d6b5aa58
DM
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17105 frame pointer instead of stack pointer relative arg slot.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17107 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17108 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17109
433f48bf
CD
171102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17111
17112 [BZ #3992]
17113 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17114
d674b76d
DM
171152012-02-27 David S. Miller <davem@davemloft.net>
17116
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17123 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17125
0e7727f7
JM
171262012-02-27 Joseph Myers <joseph@codesourcery.com>
17127
17128 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17129 later. Allow versions 5-9.
43be4ca2 17130 * configure: Regenerated.
0e7727f7
JM
17131 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17132 required minimum version and 4.6 as recommended version. Do not
17133 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17134 * INSTALL: Regenerated.
0e7727f7 17135
a78bc654
DM
171362012-02-27 David S. Miller <davem@davemloft.net>
17137
428d5830
DM
17138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17144 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17146
a78bc654
DM
17147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17148 manipulate bits before adding and subtracting TWO112[sx].
17149 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17150
4579f81c
RM
171512012-02-27 Roland McGrath <roland@hack.frob.com>
17152
36c8acb4
RM
17153 [BZ #13775]
17154 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17155 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17156 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17157 being in POSIX, because they are in 1003.1-2008.
17158
84ad622b
RM
17159 * rt/tst-aio.c: Include <fcntl.h>.
17160 * rt/tst-aio7.c: Likewise.
17161 * rt/tst-aio64.c: Likewise.
17162
4579f81c
RM
17163 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17164
abd923db
JM
171652012-02-27 Joseph Myers <joseph@codesourcery.com>
17166
17167 * manual/install.texi (--with-headers): Describe headers as
17168 interface headers, not private headers.
17169 (Specific advice for GNU/Linux systems): Describe use of headers
17170 from "make headers_install", not private headers from older
17171 kernels.
43be4ca2 17172 * INSTALL: Regenerated.
abd923db
JM
17173 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17174 Change to 2.6.19.
17175 * sysdeps/unix/sysv/linux/configure: Regenerated.
17176
6664049b
JM
17177 * manual/llio.texi (fclean): Remove documentation.
17178
bb8b6697
JM
17179 * manual/Makefile (libc-texi-generated): New variable. Include
17180 version.texi.
17181 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17182 $(libc-texi-generated), not duplicated list of files.
17183 (version.texi, stamp-version): New rules.
17184 (realclean): Remove $(libc-texi-generated), not individual files
17185 from that list. Do not remove dir-add.texinfo.
17186 * manual/libc.texinfo: Comment out uses of edition numbers and
17187 references to printed manual. Remove last-updated dates.
17188 (EDITION): Comment out.
17189 (ISBN): Likewise.
17190 (VERSION, UPDATED): Remove.
17191 (version.texi): Include.
17192
12e5c3b9
AS
171932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17194
17195 * sysdeps/posix/spawni.c: Include <signal.h>.
17196 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17197 * sysdeps/pthread/aio_fsync.c: Likewise.
17198
4efeffc1 171992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17200
ba63ba08
UD
17201 * conform/Makefile (tests): Run only when not cross-compiling and
17202 when fast-check is not defined.
17203
d94a4670
UD
17204 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17205 * conform/data/limits.h-data: Fixes for POSIX2008.
17206 * conform/run-conformtest.sh: Run all tests.
17207 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17208 headers.
17209 * include/bits/dlfcn.h: Likewise.
17210 * include/langinfo.h: Likewise.
17211 * include/monetary.h: Likewise.
17212 * include/sys/poll.h: Likewise.
17213
17214 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17215 for __USE_GNU.
17216 * posix/spawn.h: Define __need_sigset_t.
17217 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17218 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17219 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17220 to get sigevent_t only.
17221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17222 only for __USE_GNU.
17223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17225 process_vm_writev only for __USE_GNU.
17226 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17227
17228 * conform/Makefile: For now ignore errors from run-conformtest.
17229 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17230 POSIX to avoid namespace pollution. Don't prepend headers.
17231 * conform/data/aio.h-data: Fixes for POSIX testing.
17232 * conform/data/fcntl.h-data: Likewise.
17233 * conform/data/glob.h-data: Likewise.
17234 * conform/data/grp.h-data: Likewise.
17235 * conform/data/pthread.h-data: Likewise.
17236 * conform/data/pwd.h-data: Likewise.
17237 * conform/data/signal.h-data: Likewise.
17238 * conform/data/spawn.h-data: Likewise.
17239 * conform/data/stdio.h-data: Likewise.
17240 * conform/data/stdlib.h-data: Likewise.
17241 * conform/data/stropts.h-data: Likewise.
17242 * conform/data/sys/mman.h-data: Likewise.
17243 * conform/data/sys/stat.h-data: Likewise.
17244 * conform/data/sys/types.h-data: Likewise.
17245 * conform/data/sys/wait.h-data: Likewise.
17246 * conform/data/time.h-data: Likewise.
17247 * conform/data/unistd.h-data: Likewise.
17248 * conform/data/utime.h-data: Likewise.
17249
17250 * io/sys/stat.h: fchmod was always in POSIX.
17251 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17252 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17253 * rt/aio.h: Define __need_timespec before including <time.h>.
17254 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17255 struct. Add forward declaration of pthread_attr_t and use it in
17256 sigevent.
17257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17259 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17260 always remove CLK_TCK definition.
17261
c20105c3
AS
172622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17263
17264 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17265
7a270350
UD
172662012-02-25 Ulrich Drepper <drepper@gmail.com>
17267
31341567
UD
17268 * conform/run-conformtest.sh: New file.
17269 * conform/Makefile: Run run-conformtest for tests.
17270 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17271 support.
17272
17273 * conform/data/uchar.h-data: New file.
17274 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17275 * conform/data/arpa/inet.h-data: Likewise.
17276 * conform/data/assert.h-data: Likewise.
17277 * conform/data/complex.h-data: Likewise.
17278 * conform/data/cpio.h-data: Likewise.
17279 * conform/data/ctype.h-data: Likewise.
17280 * conform/data/dirent.h-data: Likewise.
17281 * conform/data/dlfcn.h-data: Likewise.
17282 * conform/data/errno.h-data: Likewise.
17283 * conform/data/fcntl.h-data: Likewise.
17284 * conform/data/float.h-data: Likewise.
17285 * conform/data/fmtmsg.h-data: Likewise.
17286 * conform/data/fnmatch.h-data: Likewise.
17287 * conform/data/ftw.h-data: Likewise.
17288 * conform/data/glob.h-data: Likewise.
17289 * conform/data/grp.h-data: Likewise.
17290 * conform/data/iconv.h-data: Likewise.
17291 * conform/data/inttypes.h-data: Likewise.
17292 * conform/data/langinfo.h-data: Likewise.
17293 * conform/data/libgen.h-data: Likewise.
17294 * conform/data/limits.h-data: Likewise.
17295 * conform/data/locale.h-data: Likewise.
17296 * conform/data/math.h-data: Likewise.
17297 * conform/data/monetary.h-data: Likewise.
17298 * conform/data/mqueue.h-data: Likewise.
17299 * conform/data/ndbm.h-data: Likewise.
17300 * conform/data/net/if.h-data: Likewise.
17301 * conform/data/netdb.h-data: Likewise.
17302 * conform/data/netinet/in.h-data: Likewise.
17303 * conform/data/nl_types.h-data: Likewise.
17304 * conform/data/poll.h-data: Likewise.
17305 * conform/data/pthread.h-data: Likewise.
17306 * conform/data/pwd.h-data: Likewise.
17307 * conform/data/regex.h-data: Likewise.
17308 * conform/data/sched.h-data: Likewise.
17309 * conform/data/search.h-data: Likewise.
17310 * conform/data/semaphore.h-data: Likewise.
17311 * conform/data/setjmp.h-data: Likewise.
17312 * conform/data/signal.h-data: Likewise.
17313 * conform/data/spawn.h-data: Likewise.
17314 * conform/data/stdarg.h-data: Likewise.
17315 * conform/data/stdio.h-data: Likewise.
17316 * conform/data/stdlib.h-data: Likewise.
17317 * conform/data/string.h-data: Likewise.
17318 * conform/data/strings.h-data: Likewise.
17319 * conform/data/stropts.h-data: Likewise.
17320 * conform/data/sys/ipc.h-data: Likewise.
17321 * conform/data/sys/mman.h-data: Likewise.
17322 * conform/data/sys/msg.h-data: Likewise.
17323 * conform/data/sys/resource.h-data: Likewise.
17324 * conform/data/sys/select.h-data: Likewise.
17325 * conform/data/sys/sem.h-data: Likewise.
17326 * conform/data/sys/shm.h-data: Likewise.
17327 * conform/data/sys/socket.h-data: Likewise.
17328 * conform/data/sys/stat.h-data: Likewise.
17329 * conform/data/sys/statvfs.h-data: Likewise.
17330 * conform/data/sys/time.h-data: Likewise.
17331 * conform/data/sys/timeb.h-data: Likewise.
17332 * conform/data/sys/times.h-data: Likewise.
17333 * conform/data/sys/types.h-data: Likewise.
17334 * conform/data/sys/uio.h-data: Likewise.
17335 * conform/data/sys/un.h-data: Likewise.
17336 * conform/data/sys/utsname.h-data: Likewise.
17337 * conform/data/sys/wait.h-data: Likewise.
17338 * conform/data/syslog.h-data: Likewise.
17339 * conform/data/tar.h-data: Likewise.
17340 * conform/data/termios.h-data: Likewise.
17341 * conform/data/utime.h-data: Likewise.
17342 * conform/data/utmpx.h-data: Likewise.
17343 * conform/data/varargs.h-data: Likewise.
17344 * conform/data/wchar.h-data: Likewise.
17345 * conform/data/wctype.h-data: Likewise.
17346 * conform/data/wordexp.h-data: Likewise.
17347
17348 * include/stropts.h: New file.
17349 * include/uchar.h: New file.
17350 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17351 * include/assert.h: Likewise.
17352 * include/ctype.h: Likewise.
17353 * include/dirent.h: Likewise.
17354 * include/dlfcn.h: Likewise.
17355 * include/fcntl.h: Likewise.
17356 * include/fnmatch.h: Likewise.
17357 * include/glob.h: Likewise.
17358 * include/grp.h: Likewise.
17359 * include/libio.h: Likewise.
17360 * include/locale.h: Likewise.
17361 * include/math.h: Likewise.
17362 * include/net/if.h: Likewise.
17363 * include/netdb.h: Likewise.
17364 * include/netinet/in.h: Likewise.
17365 * include/pthread.h: Likewise.
17366 * include/pwd.h: Likewise.
17367 * include/regex.h: Likewise.
17368 * include/sched.h: Likewise.
17369 * include/search.h: Likewise.
17370 * include/setjmp.h: Likewise.
17371 * include/signal.h: Likewise.
17372 * include/stdio.h: Likewise.
17373 * include/stdlib.h: Likewise.
17374 * include/string.h: Likewise.
17375 * include/sys/cdefs.h: Likewise.
17376 * include/sys/mman.h: Likewise.
17377 * include/sys/msg.h: Likewise.
17378 * include/sys/resource.h: Likewise.
17379 * include/sys/select.h: Likewise.
17380 * include/sys/socket.h: Likewise.
17381 * include/sys/stat.h: Likewise.
17382 * include/sys/statvfs.h: Likewise.
17383 * include/sys/time.h: Likewise.
17384 * include/sys/times.h: Likewise.
17385 * include/sys/uio.h: Likewise.
17386 * include/sys/utsname.h: Likewise.
17387 * include/sys/wait.h: Likewise.
17388 * include/termios.h: Likewise.
17389 * include/time.h: Likewise.
17390 * include/ulimit.h: Likewise.
17391 * include/unistd.h: Likewise.
17392 * include/utime.h: Likewise.
17393 * include/wchar.h: Likewise.
17394 * include/wctype.h: Likewise.
17395 * include/wordexp.h: Likewise.
17396
17397 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17398
7a270350
UD
17399 * time/time.h: TIME_UTC must be a macro.
17400 Make timespec_get available for ISO C11 only as well.
17401
7724defc
UD
174022012-02-24 Ulrich Drepper <drepper@gmail.com>
17403
17404 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17405 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17406
6b1d1d46
JM
174072012-02-24 Joseph Myers <joseph@codesourcery.com>
17408
17409 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17410
0f8bbd69
JM
174112012-02-24 Joseph Myers <joseph@codesourcery.com>
17412
17413 * manual/texinfo.tex: Update to version 2012-01-19.16.
17414
66ab80bc
JM
174152012-02-24 Joseph Myers <joseph@codesourcery.com>
17416
17417 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17418
74981cc5
RM
174192012-02-24 Roland McGrath <roland@hack.frob.com>
17420
ee968201
RM
17421 [BZ #13738]
17422 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17423 * manual/fdl-1.3.texi: New file.
17424 * manual/fdl-1.1.texi: File removed.
17425
74981cc5
RM
17426 [BZ #13738]
17427 * manual/libc.texinfo (FDL_VERSION): New @set.
17428 Use it for mention of FDL in cover text.
17429 (Documentation License): Use it in @include file name.
17430
7bb764bc
JM
174312012-02-22 Joseph Myers <joseph@codesourcery.com>
17432 Roland McGrath <roland@hack.frob.com>
17433
17434 [BZ #5461]
17435 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17436 not LONG_LONG_MAX and LONG_LONG_MIN.
17437 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17438 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17439 name.
17440 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17441
6cbeae47
JM
174422012-02-22 Joseph Myers <joseph@codesourcery.com>
17443
17444 [BZ #2547]
17445 [BZ #11365]
17446 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17447 manipulate bits before adding and subtracting TWO23[sx].
17448 * math/libm-test.inc (nearbyint_test): Add more tests.
17449
fe45ce09
JM
174502012-02-22 Joseph Myers <joseph@codesourcery.com>
17451
17452 [BZ #2548]
17453 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17454 bits before adding and subtracting TWO23[sx].
17455 * math/libm-test.inc (rint_test): Add more tests.
17456 (rint_test_tonearest): Likewise.
17457 (rint_test_towardzero): Likewise.
17458 (rint_test_downward): Likewise.
17459 (rint_test_upward: Likewise.
17460
ff3b3d82
JM
174612012-02-22 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #10110]
17464 * include/stdc-predef.h: New file. Extracted from features.h.
17465 * include/features.h: Include stdc-predef.h.
17466 * Makefile (headers): Add stdc-predef.h.
17467 * CONFORMANCE (Compiler limitations): Update.
17468
ef0aab35
JM
174692012-02-22 Joseph Myers <joseph@codesourcery.com>
17470
17471 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17472
58639409
DM
174732012-02-21 David S. Miller <davem@davemloft.net>
17474
17475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17477
c0e70b25
DM
174782012-02-20 David S. Miller <davem@davemloft.net>
17479
17480 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17481 using a normal save/restore sequence, rather than allocating a
17482 dummy stack frame just to store a frame pointer and restore.
17483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17484
fb06851d
JM
174852012-02-21 Joseph Myers <joseph@codesourcery.com>
17486
17487 * manual/install.texi: Fix stray word in line-wrapped comment.
17488
7a8b71c3
DM
174892012-02-20 David S. Miller <davem@davemloft.net>
17490
d510c123
DM
17491 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17492 both binutils and gcc support GOTDATA.
17493
0722d7c2
DM
17494 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17495 "rd %pc" in the PIC register setup sequences.
17496
3d2b3019
DM
17497 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17498 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17499 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17500 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17501 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17506 (SYSCALL_ERROR_HANDLER): Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17510 (SYSCALL_ERROR_HANDLER): Likewise.
17511
c80098a9
DM
17512 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17513 (HAVE_GCC_GOTDATA): New.
17514 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17515 relocation support in both binutils and gcc.
17516 * sysdeps/sparc/elf/configure: Regenerate.
17517
3a2545a0
DM
17518 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17519 * sysdeps/sparc/sparc32/elf/configure: Delete.
17520 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17521 * sysdeps/sparc/sparc64/elf/configure: Delete.
17522 * sysdeps/sparc/elf/configure.in: New file.
17523 * sysdeps/sparc/elf/configure: Generate.
17524
7a8b71c3
DM
17525 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17526 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17528 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17529 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17530
f1e86fca
JM
175312012-02-21 Joseph Myers <joseph@codesourcery.com>
17532
17533 * manual/install.texi: Do not mention specific glibc version
17534 numbers.
17535 * manual/libc.texinfo (VERSION, UPDATED): Update.
17536 (@copying): Use @copyright{} and range of years.
17537
0e7dfaef
JM
175382012-02-21 Joseph Myers <joseph@codesourcery.com>
17539
17540 [BZ #13695]
17541 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17542 [crti.S not in sysdirs] (generated): Do not append.
17543 [crti.S not in sysdirs] (omit-deps): Likewise.
17544 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17545 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17546 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17547 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17548 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17549 Likewise.
17550 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17551 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17552 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17553 * csu/defs.awk: Remove file.
17554 * sysdeps/generic/initfini.c: Likewise.
17555 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17556 variable.
17557 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17558 Likewise.
17559
599af3ca
JM
175602012-02-20 Joseph Myers <joseph@codesourcery.com>
17561
17562 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17563 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17567 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17568 <bits/epoll.h>.
17569 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17570 (__EPOLL_PACKED): Define to empty if not defined by
17571 <bits/epoll.h>.
17572 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17574 bits/epoll.h.
17575
0e499750
JM
175762012-02-20 Joseph Myers <joseph@codesourcery.com>
17577
17578 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17579 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17580 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17582 <bits/timerfd.h>.
17583 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17585 bits/timerfd.h.
17586
5ad91f6e
JM
175872012-02-20 Joseph Myers <joseph@codesourcery.com>
17588
17589 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17590 in C locale.
17591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17592 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17595
06b99b02
AJ
175962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17597
17598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17600
7638c0fd
AS
176012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17602
17603 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17604 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17605 defined.
17606 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17607 Likewise.
17608 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17609 entry for 2.16.
17610
92221550
AJ
176112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17612
17613 * math/w_acos.c: Use non-signaling floating-point comparisons.
17614 * math/w_acosf.c: Likewise.
17615 * math/w_acosh.c: Likewise.
17616 * math/w_acoshf.c: Likewise.
17617 * math/w_acoshl.c: Likewise.
17618 * math/w_acosl.c: Likewise.
17619 * math/w_asin.c: Likewise.
17620 * math/w_asinf.c: Likewise.
17621 * math/w_asinl.c: Likewise.
17622 * math/w_atanh.c: Likewise.
17623 * math/w_atanhf.c: Likewise.
17624 * math/w_atanhl.c: Likewise.
17625 * math/w_exp2.c: Likewise.
17626 * math/w_exp2f.c: Likewise.
17627 * math/w_exp2l.c: Likewise.
17628 * math/w_j0.c: Likewise.
17629 * math/w_j0f.c: Likewise.
17630 * math/w_j0l.c: Likewise.
17631 * math/w_j1.c: Likewise.
17632 * math/w_j1f.c: Likewise.
17633 * math/w_j1l.c: Likewise.
17634 * math/w_jn.c: Likewise.
17635 * math/w_jnf.c: Likewise.
17636 * math/w_log.c: Likewise.
17637 * math/w_log10.c: Likewise.
17638 * math/w_log10f.c: Likewise.
17639 * math/w_log10l.c: Likewise.
17640 * math/w_log2.c: Likewise.
17641 * math/w_log2f.c: Likewise.
17642 * math/w_log2l.c: Likewise.
17643 * math/w_logf.c: Likewise.
17644 * math/w_logl.c: Likewise.
17645 * math/w_sqrt.c: Likewise.
17646 * math/w_sqrtf.c: Likewise.
17647 * math/w_sqrtl.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17653
ebaf36eb
JM
176542012-02-19 Joseph Myers <joseph@codesourcery.com>
17655
17656 [BZ #9739]
17657 * manual/string.texi (strnlen): Use correct parameter name in
17658 equivalent expression.
17659
71c254a6
JM
176602012-02-19 Joseph Myers <joseph@codesourcery.com>
17661
17662 [BZ #11174]
17663 * manual/users.texi (seteuid): Consistently use neweuid for
17664 argument name.
17665
16d2c631
JM
176662012-02-19 Joseph Myers <joseph@codesourcery.com>
17667
17668 [BZ #13704]
17669 * manual/nss.texi (Services in the NSS configuration): Correct
17670 list of services in example configuration file.
17671
cd837b09
NB
176722012-02-19 Nick Bowler <nbowler@draconx.ca>
17673
17674 [BZ #11322]
17675 * manual/arith.texi: Remove statements about negative zero
17676 behaving identically to zero.
17677
02c4bbad
JM
176782012-02-18 Joseph Myers <joseph@codesourcery.com>
17679
17680 [BZ #5993]
17681 * manual/install.texi: Do not document upgrading from libc5.
17682
366842e7
JM
176832012-02-18 Joseph Myers <joseph@codesourcery.com>
17684
17685 [BZ #4596]
17686 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17687
dd54084d
DM
176882012-02-18 David S. Miller <davem@davemloft.net>
17689
17690 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17691 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17692 %o7 across the call.
17693 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17694 instead.
17695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17696 SETUP_PIC_REG_LEAF.
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17698 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17699 * sysdeps/sparc/crtn.S: Likewise.
17700
2bcc53a3
UD
177012012-02-17 Ulrich Drepper <drepper@gmail.com>
17702
17703 * aout/Makefile: Remove.
17704
09c093b5
RK
177052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17706
17707 [BZ #13058]
17708 * manual/examples/argp-ex1.c (main): Format definition in GNU
17709 style.
17710 * manual/examples/argp-ex2.c (main): Likewise.
17711 * manual/examples/argp-ex3.c (main): Likewise.
17712 * manual/examples/argp-ex4.c (main): Likewise.
17713 * manual/examples/longopt.c (main): Use new-style prototype
17714 definition.
17715 * manual/examples/strncat.c (main): Specify return type and use
17716 (void) for arguments.
17717 * manual/examples/subopt.c (main): Use char **argv argument.
17718
2ee633a2
JM
177192012-02-17 Joseph Myers <joseph@codesourcery.com>
17720
17721 [BZ #5077]
17722 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17723 rounding modes.
17724
0520adde
FB
177252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17726
17727 [BZ #6907]
17728 * manual/string.texi (strchr): Change when strchrnul is
17729 recommended.
17730
3f4081cd
DGM
177312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17732
17733 [BZ #174]
17734 * manual/locale.texi (setlocale): Document LOCPATH.
17735
d1b10e78
JM
177362012-02-17 Joseph Myers <joseph@codesourcery.com>
17737
17738 [BZ #10210]
17739 * manual/process.texi (execle): Move @dots{} before last argument.
17740
79c6869c
PB
177412012-02-17 Paul Bolle <pebolle@tiscali.nl>
17742
17743 [BZ #12047]
17744 * manual/charset.texi (Generic Charset Conversion): Fix typo
17745 (LC_TYPE -> LC_CTYPE).
17746
cc6e48bc
NB
177472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17748
17749 [BZ #5805]
17750 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17751 (scalbnf): Likewise.
17752 (scalbnl): Likewise.
17753 (scalbln): Likewise.
17754 (scalblnf): Likewise.
17755 (scalblnl): Likewise.
17756 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17757 (vwarnx): Likewise.
17758 (verr): Likewise.
17759 (verrx): Likewise.
17760 * manual/filesys.texi (telldir): Use braces around return type.
17761 * manual/llio.texi (mmap): Add space after comma.
17762 (mmap64): Likewise.
17763 * manual/math.texi (jn): Use @var{} on parameter names.
17764 (jnf): Likewise.
17765 (jnl): Likewise.
17766 (yn): Likewise.
17767 (ynf): Likewise.
17768 (ynl): Likewise.
17769 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17770 line.
17771 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17772 "...".
17773 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17774 (sched_get_priority_max): Likewise.
17775 * manual/signal.texi (sigvec): Add space after comma.
17776 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17777 names.
17778 (if_indextoname): Likewise.
17779 (if_freenameindex): Likewise.
17780 (sendto): Use ',' instead of '.' in prototype.
17781 * manual/startup.texi (syscall): Use @dots{} instead of literal
17782 "...".
17783 * manual/stdio.texi (__fpending): Separate initial words of
17784 paragraph from @deftypefun line.
17785 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17786 "...".
17787 (vsyslog): Use @var{} on parameter names.
17788 * manual/terminal.texi (stty): Use @var{} on parameter names.
17789 * manual/users.texi (getutmp): Use @var{} on parameter names.
17790 (getutmpx): Likewise.
17791
5b23062f
JM
177922012-02-17 Joseph Myers <joseph@codesourcery.com>
17793
17794 [BZ #6884]
17795 * manual/stdio.texi (fopen): Fix typos in description of
17796 ",ccs=STRING".
17797
8dee4833
AJ
177982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17799
17800 [BZ #4026]
17801 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17802 get clock_id definition.
17803
9078ce93
TS
178042012-02-17 Thomas Schwinge <thomas@schwinge.name>
17805
17806 [BZ #4822]
17807 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17808 (madvise): Cast every argument to void on its own.
17809
3835c55f
JM
178102012-02-17 Joseph Myers <joseph@codesourcery.com>
17811
17812 [BZ #9902]
17813 * manual/startup.texi (Exit Status): Fix typo.
17814
35c47e37
JM
178152012-02-17 Joseph Myers <joseph@codesourcery.com>
17816
17817 [BZ #10140]
17818 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17819 * manual/examples/argp-ex2.c: Likewise.
17820 * manual/examples/argp-ex3.c: Likewise.
17821
e3b69ca7
RH
178222012-02-16 Richard Henderson <rth@redhat.com>
17823
17824 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17825 * sysdeps/s390/s390-32/initfini.c: Remove.
17826 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17827 * sysdeps/s390/s390-64/initfini.c: Remove.
17828
df83af67
KK
178292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17830
17831 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17832 compiler output for sysdeps/generic/initfini.c.
17833 * sysdeps/sh/elf/initfini.c: Remove file.
17834
f63f3380
DM
178352012-02-16 David S. Miller <davem@davemloft.net>
17836
fb59b3a4
DM
17837 [BZ #11494]
17838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17839
f63f3380
DM
17840 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17841 * sysdeps/sparc/crti.S: New file.
17842 * sysdeps/sparc/crtn.S: New file.
17843 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17844 * sysdeps/sparc/sparc64/Makefile: Likewise.
17845
df6a4a4a
MF
178462012-02-15 Mike Frysinger <vapier@gentoo.org>
17847
6dd8f3dc 17848 [BZ #3335]
df6a4a4a
MF
17849 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17850
1cac7236
RM
178512012-02-15 Roland McGrath <roland@hack.frob.com>
17852
d2c736f8
RM
17853 [BZ #4822]
17854 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17855
1cac7236
RM
17856 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17857 (write, read, close): Likewise.
17858 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17859
8e475601
JM
178602012-02-15 Joseph Myers <joseph@codesourcery.com>
17861
17862 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17863 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17865 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17866 <bits/signalfd.h>.
17867 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17869 bits/signalfd.h.
17870
ed656b40
MP
178712012-02-14 Marek Polacek <polacek@redhat.com>
17872
17873 * sysdeps/x86_64/crti.S: New file.
17874 * sysdeps/x86_64/crtn.S: New file.
17875 * sysdeps/x86_64/elf/initfini.c: Remove file.
17876
2a979d3a
JM
178772012-02-13 Joseph Myers <joseph@codesourcery.com>
17878
17879 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17880 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17882 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17883 <bits/inotify.h>.
17884 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17886 bits/inotify.h.
17887
2a418ac3
JM
178882012-02-13 Joseph Myers <joseph@codesourcery.com>
17889
17890 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17892 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17894 <bits/eventfd.h>.
17895 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17897 bits/eventfd.h.
17898
fb779be7
TS
178992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17900
e19e83c5
RM
17901 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17902 __feraiseexcept instead of feraiseexcept.
7c35ffed 17903
fb779be7
TS
17904 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17905 nanosleep invocations.
17906 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17907 strings, and add error checking for a nanosleep invocations.
17908
59ba27a6
PE
179092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17910
17911 Replace FSF snail mail address with URLs, as per GNU coding standards.
17912 Most of the snail mail addresses were wrong anyway, and omitting
17913 them makes the source code easier to maintain. Almost all of the
17914 changes are to license notices and to locale LC_IDENTIFICATION
17915 addresses, except for this one:
17916 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17917 not its snail mail address.
17918
57b957eb
RH
179192012-02-09 Richard Henderson <rth@twiddle.net>
17920
af850b1c
RH
17921 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17922 of kernel-features.h.
17923
57b957eb
RH
17924 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17925
6b73181a
MP
179262012-02-08 Marek Polacek <polacek@redhat.com>
17927
17928 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17929 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17930 * sysdeps/gnu/_G_config.h: Likewise.
17931 * sysdeps/generic/_G_config.h: Likewise.
17932
26ecc33a
AS
179332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17934
6c6dbc63
AS
17935 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17936 tests.
17937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17938
e216c012
AS
17939 * sysdeps/powerpc/powerpc32/crti.S: New file.
17940 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17941 * sysdeps/powerpc/powerpc64/crti.S: New file.
17942 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17943
26ecc33a
AS
17944 * Makeconfig (have-initfini): Don't set.
17945 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17946 * configure.in (nopic_initfini): Don't substitute.
17947 * config.h.in (HAVE_INITFINI): Don't #undef.
17948 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17949 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17950
3add8e13
JM
179512012-02-08 Joseph Myers <joseph@codesourcery.com>
17952
17953 Support crti.S and crtn.S provided directly by architectures.
17954 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17955 [crti.S in sysdirs] (omit-deps): Likewise.
17956 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17957 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17958 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17959 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17960 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17961 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17962 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17963 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17964 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17965 compiler output for sysdeps/generic/initfini.c.
17966 * sysdeps/i386/elf/Makefile: Remove file.
17967 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17968
a22f12b4
MP
179692012-02-07 Marek Polacek <polacek@redhat.com>
17970
17971 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17972 * sysdeps/gnu/_G_config.h: Likewise.
17973 * sysdeps/mach/hurd/_G_config.h: Likewise.
17974
148cf100
MP
179752012-02-07 Marek Polacek <polacek@redhat.com>
17976
17977 * math/Makefile (tests): Add tst-CMPLX2.
17978 * math/tst-CMPLX2.c: New file.
17979
cfdc0dd7
AS
179802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17981
84ba42c4
AS
17982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17983
cfdc0dd7
AS
17984 * math/libm-test.inc (jn_test): Add missing L suffix.
17985
622c86f4
MP
179862012-02-06 Marek Polacek <polacek@redhat.com>
17987
17988 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17989 * sysdeps/i386/fpu/e_powf.S: Likewise.
17990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17993 * sysdeps/i386/fpu/e_pow.S: Likewise.
17994 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17995 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17996 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17997 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17998 * sysdeps/i386/fpu/e_log2.S: Likewise.
17999 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18001 * sysdeps/i386/fpu/e_powl.S: Likewise.
18002 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18005 * sysdeps/i386/fpu/e_logl.S: Likewise.
18006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18007 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18008 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18009 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18012 * sysdeps/i386/fpu/e_log.S: Likewise.
18013 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18015 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18016 * sysdeps/i386/fpu/e_logf.S: Likewise.
18017 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18018 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18019 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18020 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18022 * sysdeps/i386/fpu/e_log10.S: Likewise.
18023 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18025 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18026 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18028 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18029 * sysdeps/i386/asm-syntax.h: Likewise.
18030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18032 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18033 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18034 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18039 * sysdeps/powerpc/sysdep.h: Likewise.
18040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18042
d4a54ac6
JM
180432012-02-06 Joseph Myers <joseph@codesourcery.com>
18044
18045 [BZ #411]
18046 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18047
314054ea
JM
180482012-02-06 Joseph Myers <joseph@codesourcery.com>
18049
18050 * sysdeps/i386/sysdep.h: Include <features.h>.
18051 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18052 version.
18053
d8e0ca50
JM
180542012-02-05 Joseph Myers <joseph@codesourcery.com>
18055
18056 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18057 Define.
18058 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18059 LOAD_PIC_REG_STR.
18060
b1da7dd9
JM
180612012-02-03 Joseph Myers <joseph@codesourcery.com>
18062
18063 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18064 (SETUP_PIC_REG): Use GET_PC_THUNK.
18065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18066 macro.
18067
9a1d9254
JM
180682012-02-03 Joseph Myers <joseph@codesourcery.com>
18069
18070 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18071 for non-PIC compilation.
18072 (SETUP_PIC_REG): Add .p2align directive.
18073 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18114
65dc3b75
JM
181152012-02-03 Joseph Myers <joseph@codesourcery.com>
18116
18117 * math/tst-CMPLX.c: Include <stdio.h>.
18118
d55bf177
JM
181192012-01-31 Joseph Myers <joseph@codesourcery.com>
18120
18121 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18122 float.
18123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18124 * sysdeps/sparc/bits/mathdef.h: Likewise.
18125
69db4f8f
MP
181262012-01-31 Marek Polacek <polacek@redhat.com>
18127
18128 * libio/libio.h: Don't define _PARAMS.
18129 * locale/programs/config.h: Don't define PARAMS.
18130 * stdlib/strtol_l.c: Likewise.
18131 (__strtol_l): Remove PARAMS from the prototype.
18132
41b81892
UD
181332012-01-31 Ulrich Drepper <drepper@gmail.com>
18134
3b49edc0
UD
18135 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18136 names. Just use the correct names. Remove unnecessary wrapper
18137 functions.
18138 * malloc/arena.c: Likewise.
18139 * malloc/hooks.c: Likewise.
18140
41b81892
UD
18141 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18142 ARENA_TEST says not to. Simplify test for creation of a new arena.
18143 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18144
27a25b6e
UD
181452012-01-30 Ulrich Drepper <drepper@gmail.com>
18146
18147 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18148 into tail calls.
18149 (update_get_addr): New function.
18150 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18151 GET_ADDR_MODULE parameter.
18152
c8a89e7d
JM
181532012-01-30 Joseph Myers <joseph@codesourcery.com>
18154
18155 * crypt/cert.c: Remove __STDC__ conditionals.
18156 * crypt/crypt-entry.c: Likewise.
18157 * crypt/crypt_util.c: Likewise.
18158 * libio/filedoalloc.c: Likewise.
18159 * libio/fileops.c: Likewise.
18160 * libio/genops.c: Likewise.
18161 * libio/iofclose.c: Likewise.
18162 * libio/iofdopen.c: Likewise.
18163 * libio/iofopen.c: Likewise.
18164 * libio/iofopen64.c: Likewise.
18165 * libio/iogetdelim.c: Likewise.
18166 * libio/iopopen.c: Likewise.
18167 * libio/obprintf.c: Likewise.
18168 * libio/oldfileops.c: Likewise.
18169 * libio/oldiofclose.c: Likewise.
18170 * libio/oldiofdopen.c: Likewise.
18171 * libio/oldiofopen.c: Likewise.
18172 * libio/oldiopopen.c: Likewise.
18173 * libio/wfiledoalloc.c: Likewise.
18174 * libio/wgenops.c: Likewise.
18175 * locale/programs/xmalloc.c: Likewise.
18176 * misc/syslog.c: Likewise.
18177 * stdio-common/xbug.c: Likewise.
18178 * string/memchr.c: Likewise.
18179 * string/memcmp.c: Likewise.
18180 * string/memrchr.c: Likewise.
18181 * string/rawmemchr.c: Likewise.
18182 * sysdeps/posix/getcwd.c: Likewise.
18183 * time/strftime_l.c: Likewise.
18184
3b100462
JM
181852012-01-30 Joseph Myers <joseph@codesourcery.com>
18186
18187 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18188 * config.make.in (config-cflags-sse2avx): Define.
18189 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18190 Fix typo.
18191
607998af
CM
181922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18193
18194 * scripts/config.guess: Update from upstream config git repository.
18195 * scripts/config.sub: Likewise.
18196
3601428f
CM
181972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18198
3ac8b282
CM
18199 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18200 (EM_NUM): Update.
18201 (R_TILEPRO_*, R_TILEGX_*): New macros.
18202
e034841e
CM
18203 * scripts/firstversions.awk: Fix bug in version range handling.
18204
540d7568
CM
18205 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18206
3601428f
CM
18207 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18208
463de862
CM
18209 * include/sys/epoll.h: New file.
18210 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18211 libc_hidden_def.
18212
73139a76
UD
182132012-01-28 Ulrich Drepper <drepper@gmail.com>
18214
96bc5b45
UD
18215 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18216 Avoid unnecessary __WORDSIZE == 64 test.
18217 (fmaxf): Use VEX format if possible.
18218 (fmax): Likewise.
18219 (fminf): Likewise.
18220 (fmin): Likewise.
18221
56f6f6a2
UD
18222 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18223 * math/math_private.h: Remove libc_fegetround* and
18224 libc_fesetround*.
18225 * sysdeps/i386/configure.in: Check for -msse2avx.
18226 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18227 also if SSE2AVX is defined.
18228 Remove libc_fegetround* and libc_fesetround*.
18229 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18230 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18232 of HAS_YMM_USABLE.
18233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18238
73139a76
UD
18239 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18240
d73f93a4
AZ
182412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18242
18243 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18244 size is not set.
18245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18246
6ee65ed6
UD
182472012-01-27 Ulrich Drepper <drepper@gmail.com>
18248
18249 [BZ #13618]
18250 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18251 relocation.
18252 * Makeconfig (libm): Define.
18253 * elf/Makefile: Add rules to build and run tst-relsort1.
18254 * elf/tst-relsort1.c: New file.
18255 * elf/tst-relsort1mod1.c: New file.
18256 * elf/tst-relsort1mod2.c: New file.
18257
8db21882
JM
182582012-01-27 Joseph Myers <joseph@codesourcery.com>
18259
18260 * math/s_ldexp.c: Remove __STDC__ conditionals.
18261 * math/s_ldexpf.c: Likewise.
18262 * math/s_ldexpl.c: Likewise.
18263 * math/s_nextafter.c: Likewise.
18264 * math/s_nexttowardf.c: Likewise.
18265 * math/s_significand.c: Likewise.
18266 * math/s_significandf.c: Likewise.
18267 * math/s_significandl.c: Likewise.
18268 * math/w_jnl.c: Likewise.
18269 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18270 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18271 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18272 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18273 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18309 * sysdeps/ieee754/k_standard.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18389 * sysdeps/ieee754/s_matherr.c: Likewise.
18390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18394
965a54a4
JM
183952012-01-26 Joseph Myers <joseph@codesourcery.com>
18396
18397 * crypt/md5.h: Remove __STDC__ conditionals.
18398 * libio/libioP.h: Likewise.
18399 * locale/programs/config.h: Likewise.
18400 * sysdeps/generic/sysdep.h: Likewise.
18401 * sysdeps/i386/asm-syntax.h: Likewise.
18402 * sysdeps/s390/asm-syntax.h: Likewise.
18403 * sysdeps/unix/sysdep.h: Likewise.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18406
7071ad79
JM
184072012-01-26 Joseph Myers <joseph@codesourcery.com>
18408
18409 * libio/libio.h: Remove __STDC__ conditionals.
18410 * malloc/obstack.h: Likewise.
18411 * math/complex.h: Likewise.
18412 * math/math.h: Likewise.
18413 * sysdeps/generic/_G_config.h: Likewise.
18414 * sysdeps/gnu/_G_config.h: Likewise.
18415 * sysdeps/mach/hurd/_G_config.h: Likewise.
18416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18418 * sysdeps/sparc/bits/mathdef.h: Likewise.
18419
afc5ed09
UD
184202012-01-26 Ulrich Drepper <drepper@gmail.com>
18421
18422 [BZ #13583]
18423 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18424 Clean up HAS_* macros.
afc5ed09 18425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18426 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18427 possible.
18428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18429 HAS_AVX.
18430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18435
bdb6de1d
JM
184362012-01-25 Joseph Myers <joseph@codesourcery.com>
18437
18438 * elf/tst-unique3.cc (gets): Remove declaration.
18439 * elf/tst-unique3lib.cc (gets): Likewise.
18440 * elf/tst-unique3lib2.cc (gets): Likewise.
18441 * elf/tst-unique4.cc (gets): Likewise.
18442
b15549e6
UD
184432012-01-24 Ulrich Drepper <drepper@gmail.com>
18444
18445 * include/stdio.h: Add C++ protection. Add gets declarations and
18446 definitions.
18447 * debug/tst-chk1.c: Don't declare gets here.
18448 * stdio-common/tst-gets.c: Likewise.
18449
a037381f
JM
184502012-01-24 Joseph Myers <joseph@codesourcery.com>
18451
18452 * posix/glob: Remove directory.
18453
f1d4aa75
JM
184542012-01-24 Joseph Myers <joseph@codesourcery.com>
18455
18456 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18457
81c0c964
PT
184582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18459
18460 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18461 of the non-standard EPFNOSUPPORT.
18462
0ea698ae
ST
184632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18464
18465 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18466 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18467 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18468
d220b117
UD
184692012-01-21 Ulrich Drepper <drepper@gmail.com>
18470
18471 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18472
3e1aa84e
UD
184732012-01-20 Ulrich Drepper <drepper@gmail.com>
18474
18475 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18476 transient errors.
18477 * nscd/grpcache.c (cache_addgr): Likewise.
18478 * nscd/hstcache.c (cache_addhst): Likewise.
18479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18480 * nscd/pwdcache.c (cache_addpw): Likewise.
18481 * nscd/servicescache.c (cache_addserv): Likewise.
18482
400aa020
UD
184832012-01-16 Ulrich Drepper <drepper@gmail.com>
18484
d77e7869
UD
18485 * malloc/malloc.c: Various cleanups.
18486 * malloc/hooks.c: Likewise.
18487
400aa020
UD
18488 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18489 * stdlib/bug-fmtmsg1.c: New file.
18490
18491 * stdlib/fmtmsg.c (init): Add missing unlock.
18492 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18493
e0a309cf
MP
184942012-01-12 Marek Polacek <polacek@redhat.com>
18495
18496 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18497 and _GNU_SOURCE.
18498
929d11c7
WS
184992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18500
18501 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18503 macro to ensure uniqueness of label name.
18504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18506
41d0e869
UD
185072012-01-11 Ulrich Drepper <drepper@gmail.com>
18508
0cc5ed3b
UD
18509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18510
41d0e869
UD
18511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18515
a47a831a
UD
185162012-01-10 Ulrich Drepper <drepper@gmail.com>
18517
daa891c0
UD
18518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18519
18520 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18521 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18523
e58ef0f2
UD
18524 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18525
a47a831a 18526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18530
18531 * math/bits/math-finite.h: Add ldexp support.
18532
a0bfc9c7
MP
185332012-01-10 Marek Polacek <polacek@redhat.com>
18534
18535 * locale/programs/localedef.h (show_archive_content): Add noreturn
18536 attribute.
18537
d6e97a1d
UD
185382012-01-09 Ulrich Drepper <drepper@gmail.com>
18539
18540 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18541
d5835c26
UD
185422012-01-08 Ulrich Drepper <drepper@gmail.com>
18543
e5f484c6
UD
18544 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18545
d5835c26
UD
18546 * io/Makefile (headers): Add bits/poll2.h.
18547
d1f741e9
WS
185482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18549
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18551 typo #include statement.
18552
ec09c1c4
UD
185532012-01-08 Ulrich Drepper <drepper@gmail.com>
18554
18555 * include/sys/cdefs.h: Define __attribute_alloc_size.
18556 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18557 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18558 * elf/pldd.c: Likewise.
18559 * iconv/iconv_charmap.c: Likewise.
18560 * iconv/iconvconfig.c: Likewise.
18561 * iconv/strtab.c: Likewise.
18562 * locale/programs/locale.c: Likewise.
18563 * locale/programs/localedef.h: Likewise.
18564 * locale/programs/simple-hash.c: Likewise.
18565 * nscd/nscd.h: Likewise.
18566 * nss/makedb.c: Likewise.
18567 * sysdeps/generic/ldconfig.h: Likewise.
18568 * locale/programs/localedef.c: Remove xmalloc prototype.
18569 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18570
20b38e03
PP
185712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18572
18573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18574 appropriate.
18575
a0da5fe1
UD
185762012-01-08 Ulrich Drepper <drepper@gmail.com>
18577
1d5a644a 18578 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18579 * math/tst-CMPLX.c: New file.
1d5a644a 18580
8784a6db
UD
18581 * math/complex.h (CMPLXL): Fix typo.
18582
d9a216c0
UD
18583 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18584 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18585 GLIBC_2.16.
18586 * debug/tst-chk1.c: Add poll and ppoll tests.
18587 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18588 * include/sys/poll.h: Add hidden proto for ppoll.
18589 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18590 * sysdeps/mach/hurd/ppoll.c: Likewise.
18591 * io/ppoll.c: Likewise.
18592 * debug/poll_chk.c: New file.
18593 * debug/ppoll_chk.c: New file.
18594 * include/bits/poll2.h: New file.
18595 * io/bits/poll2.h: New file.
18596
ac097f5c
UD
18597 [BZ #1350]
18598 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18599
2119dcfa
UD
18600 * configure.in: static is always set to yes. Remove.
18601 * config.make.in: Don't set build-static.
18602 * Makeconfig: Remove use of build-static.
18603 * dlfcn/Makefile: Likewise.
18604 * elf/Makefile: Likewise.
18605 * math/Makefile: Likewise.
18606 * misc/Makefile: Likewise.
18607 * nptl/Makefile: Likewise.
18608 * sysdeps/mach/hurd/Makefile: Likewise.
18609
121766a9
UD
18610 * configure.in: PWD_P is not used anymore.
18611 * config.make.in: Remove PWD_P entry.
18612
51a1d39c 18613 * configure.in: Remove last remnants of RANLIB.
8720d066 18614 No need to check for signed size_t anymore.
215f4bdc
UD
18615 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18616 and IA-64.
3857022a 18617 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18618 * aclocal.m4: Likewise.
18619
d3ed7225
UD
18620 * wcsmbs/mbrtoc16.c: Implement using towc function.
18621 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18622 * wcsmbs/wcsmbsload.c: Likewise.
18623 * iconv/gconv_simple.c: Likewise.
18624 * iconv/gconv_int.h: Likewise.
18625 * iconv/gconv_builtin.h: Likewise.
18626 * iconv/iconv_prog.c: Remove CHAR16 handling.
18627
18628 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18629
18630 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18631
a0da5fe1
UD
18632 * configure.in: Remove --with-elf and --enable-bounded options.
18633 Dont set base_machine for ia64. More non-ELF conditions removed.
18634 Remove testing and setting of leading underscore information.
18635 * config.make.in (build-bounded): Set to no.
18636 * config.h.in: Remove NO_UNDERSCORES entry.
18637 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18638 them.
18639 * csu/start.c: Remove !NO_UNDERSCORE code.
18640 * locale/localeinfo.h: Likewise.
18641 * sysdeps/generic/machine-gmon.h: Likewise.
18642 * sysdeps/generic/sysdep.h: Likewise.
18643 * sysdeps/i386/sysdep.h: Likewise.
18644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18645 * sysdeps/mach/sysdep.h: Likewise.
18646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18648 * sysdeps/sh/sysdep.h: Likewise.
18649 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18650 * sysdeps/unix/i386/sysdep.S: Likewise.
18651 * sysdeps/unix/sparc/start.c: Likewise.
18652 * sysdeps/unix/sparc/sysdep.S: Likewise.
18653 * sysdeps/unix/sparc/sysdep.h: Likewise.
18654 * sysdeps/unix/start.c: Likewise.
18655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18656 * sysdeps/x86_64/sysdep.h: Likewise.
18657
df78418a
UD
186582012-01-07 Ulrich Drepper <drepper@gmail.com>
18659
a784e502
UD
18660 [BZ #13553]
18661 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18662 for non-gcc.
18663 * argp/argp-fmtstream.h: Use const instead __const.
18664 * argp/argp.h: Likewise.
18665 * assert/assert.h: Likewise.
18666 * bits/fenv.h: Likewise.
18667 * bits/sched.h: Likewise.
18668 * bits/sigset.h: Likewise.
18669 * bits/sigthread.h: Likewise.
18670 * catgets/nl_types.h: Likewise.
18671 * conform/data/pthread.h-data: Likewise.
18672 * crypt/crypt-private.h: Likewise.
18673 * crypt/crypt.h: Likewise.
18674 * crypt/crypt_util.c: Likewise.
18675 * ctype/ctype.h: Likewise.
18676 * debug/execinfo.h: Likewise.
18677 * debug/mbsnrtowcs_chk.c: Likewise.
18678 * debug/mbsrtowcs_chk.c: Likewise.
18679 * debug/wcsnrtombs_chk.c: Likewise.
18680 * debug/wcsrtombs_chk.c: Likewise.
18681 * debug/wcstombs_chk.c: Likewise.
18682 * dirent/dirent.h: Likewise.
18683 * dlfcn/dlfcn.h: Likewise.
18684 * elf/neededtest4.c: Likewise.
18685 * grp/grp.h: Likewise.
18686 * gshadow/gshadow.h: Likewise.
18687 * iconv/gconv.h: Likewise.
18688 * iconv/gconv_int.h: Likewise.
18689 * iconv/gconv_simple.c: Likewise.
18690 * iconv/iconv.h: Likewise.
18691 * iconv/loop.c: Likewise.
18692 * iconv/skeleton.c: Likewise.
18693 * include/aio.h: Likewise.
18694 * include/aliases.h: Likewise.
18695 * include/argz.h: Likewise.
18696 * include/arpa/inet.h: Likewise.
18697 * include/assert.h: Likewise.
18698 * include/dirent.h: Likewise.
18699 * include/dlfcn.h: Likewise.
18700 * include/execinfo.h: Likewise.
18701 * include/fcntl.h: Likewise.
18702 * include/fenv.h: Likewise.
18703 * include/glob.h: Likewise.
18704 * include/grp.h: Likewise.
18705 * include/libintl.h: Likewise.
18706 * include/mntent.h: Likewise.
18707 * include/netdb.h: Likewise.
18708 * include/pwd.h: Likewise.
18709 * include/rpc/netdb.h: Likewise.
18710 * include/sched.h: Likewise.
18711 * include/search.h: Likewise.
18712 * include/shadow.h: Likewise.
18713 * include/signal.h: Likewise.
18714 * include/stdio.h: Likewise.
18715 * include/stdlib.h: Likewise.
18716 * include/string.h: Likewise.
18717 * include/sys/socket.h: Likewise.
18718 * include/sys/stat.h: Likewise.
18719 * include/sys/statfs.h: Likewise.
18720 * include/sys/statvfs.h: Likewise.
18721 * include/sys/syslog.h: Likewise.
18722 * include/sys/time.h: Likewise.
18723 * include/sys/uio.h: Likewise.
18724 * include/time.h: Likewise.
18725 * include/unistd.h: Likewise.
18726 * include/utmp.h: Likewise.
18727 * include/wchar.h: Likewise.
18728 * include/wctype.h: Likewise.
18729 * inet/aliases.h: Likewise.
18730 * inet/arpa/inet.h: Likewise.
18731 * inet/netinet/ether.h: Likewise.
18732 * inet/netinet/in.h: Likewise.
18733 * intl/libintl.h: Likewise.
18734 * io/bits/fcntl2.h: Likewise.
18735 * io/fcntl.h: Likewise.
18736 * io/ftw.h: Likewise.
18737 * io/sys/poll.h: Likewise.
18738 * io/sys/stat.h: Likewise.
18739 * io/sys/statfs.h: Likewise.
18740 * io/sys/statvfs.h: Likewise.
18741 * io/utime.h: Likewise.
18742 * libio/bits/stdio.h: Likewise.
18743 * libio/bits/stdio2.h: Likewise.
18744 * libio/libio.h: Likewise.
18745 * libio/libioP.h: Likewise.
18746 * libio/stdio.h: Likewise.
18747 * locale/lc-ctype.c: Likewise.
18748 * locale/locale.h: Likewise.
18749 * login/utmp.h: Likewise.
18750 * malloc/arena.c: Likewise.
18751 * malloc/malloc.c: Likewise.
18752 * malloc/malloc.h: Likewise.
18753 * malloc/mcheck.c: Likewise.
18754 * malloc/mtrace.c: Likewise.
18755 * math/bits/mathcalls.h: Likewise.
18756 * math/fenv.h: Likewise.
18757 * math/math_private.h: Likewise.
18758 * misc/bits/error.h: Likewise.
18759 * misc/bits/syslog.h: Likewise.
18760 * misc/err.h: Likewise.
18761 * misc/error.h: Likewise.
18762 * misc/fstab.h: Likewise.
18763 * misc/mntent.h: Likewise.
18764 * misc/regexp.h: Likewise.
18765 * misc/search.h: Likewise.
18766 * misc/sgtty.h: Likewise.
18767 * misc/sys/mman.h: Likewise.
18768 * misc/sys/syslog.h: Likewise.
18769 * misc/sys/uio.h: Likewise.
18770 * misc/sys/xattr.h: Likewise.
18771 * misc/ttyent.h: Likewise.
18772 * nis/rpcsvc/ypclnt.h: Likewise.
18773 * nss/nss.h: Likewise.
18774 * posix/bits/unistd.h: Likewise.
18775 * posix/fnmatch.h: Likewise.
18776 * posix/glob.h: Likewise.
18777 * posix/sched.h: Likewise.
18778 * posix/spawn.h: Likewise.
18779 * posix/sys/wait.h: Likewise.
18780 * posix/unistd.h: Likewise.
18781 * posix/wordexp.h: Likewise.
18782 * pwd/pwd.h: Likewise.
18783 * resolv/netdb.h: Likewise.
18784 * resource/sys/resource.h: Likewise.
18785 * rt/aio.h: Likewise.
18786 * rt/bits/mqueue2.h: Likewise.
18787 * rt/mqueue.h: Likewise.
18788 * shadow/shadow.h: Likewise.
18789 * signal/signal.h: Likewise.
18790 * socket/send.c: Likewise.
18791 * socket/sendto.c: Likewise.
18792 * socket/sys/socket.h: Likewise.
18793 * stdio-common/printf.h: Likewise.
18794 * stdlib/bits/stdlib.h: Likewise.
18795 * stdlib/fmtmsg.h: Likewise.
18796 * stdlib/monetary.h: Likewise.
18797 * stdlib/stdlib.h: Likewise.
18798 * stdlib/ucontext.h: Likewise.
18799 * streams/stropts.h: Likewise.
18800 * string/argz.h: Likewise.
18801 * string/bits/string2.h: Likewise.
18802 * string/string.h: Likewise.
18803 * string/strings.h: Likewise.
18804 * sunrpc/rpc/auth.h: Likewise.
18805 * sunrpc/rpc/auth_des.h: Likewise.
18806 * sunrpc/rpc/clnt.h: Likewise.
18807 * sunrpc/rpc/netdb.h: Likewise.
18808 * sunrpc/rpc/pmap_clnt.h: Likewise.
18809 * sunrpc/rpc/xdr.h: Likewise.
18810 * sysdeps/generic/inttypes.h: Likewise.
18811 * sysdeps/generic/net/if.h: Likewise.
18812 * sysdeps/generic/sys/swap.h: Likewise.
18813 * sysdeps/gnu/net/if.h: Likewise.
18814 * sysdeps/gnu/utmpx.h: Likewise.
18815 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18816 * sysdeps/i386/i486/bits/string.h: Likewise.
18817 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18818 * sysdeps/s390/bits/string.h: Likewise.
18819 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18820 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18821 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18822 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18823 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18824 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18825 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18826 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18827 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18828 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18830 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18831 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18832 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18833 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18834 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18841 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18842 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18843 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18844 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18846 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18847 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18849 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18850 * sysvipc/sys/ipc.h: Likewise.
18851 * sysvipc/sys/msg.h: Likewise.
18852 * sysvipc/sys/sem.h: Likewise.
18853 * sysvipc/sys/shm.h: Likewise.
18854 * termios/termios.h: Likewise.
18855 * time/sys/time.h: Likewise.
18856 * time/time.h: Likewise.
18857 * wcsmbs/bits/wchar2.h: Likewise.
18858 * wcsmbs/uchar.h: Likewise.
18859 * wcsmbs/wchar.h: Likewise.
18860 * wctype/wctype.h: Likewise.
18861
0269750c
UD
18862 [BZ #13551]
18863 * Makeconfig: Remove all but ELF support including AIX support.
18864 * Makerules: Likewise.
18865 * config.h.in: Likewise.
18866 * config.make.in: Likewise.
18867 * configure: Likewise.
18868 * configure.in: Likewise.
18869 * csu/Makefile: Likewise.
18870 * csu/version.c: Likewise.
18871 * debug/Makefile: Likewise.
18872 * dlfcn/Makefile: Likewise.
18873 * elf/Makefile: Likewise.
18874 * extra-lib.mk: Likewise.
18875 * iconv/Makefile: Likewise.
18876 * include/libc-symbols.h: Likewise.
18877 * include/shlib-compat.h: Likewise.
18878 * resolv/Makefile: Likewise.
18879 * resolv/res_libc.c: Likewise.
18880 * rt/Makefile: Likewise.
18881 * sysdeps/i386/asm-syntax.h: Likewise.
18882 * sysdeps/i386/sysdep.h: Likewise.
18883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18884 * sysdeps/mach/sysdep.h: Likewise.
18885 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18886 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18887 * sysdeps/s390/asm-syntax.h: Likewise.
18888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18890 * sysdeps/sh/sysdep.h: Likewise.
18891 * sysdeps/unix/sparc/sysdep.h: Likewise.
18892 * sysdeps/wordsize-32/divdi3.c: Likewise.
18893 * sysdeps/x86_64/sysdep.h: Likewise.
18894
00bbd29b
UD
18895 * argp/Versions: Remove _argp_unlock_xxx.
18896
18897 [BZ #13559]
18898 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18899 * abilist/libBrokenLocale.abilist: Likewise.
18900 * abilist/libanl.abilist: Likewise.
18901 * abilist/libc.abilist: Likewise.
18902 * abilist/libcrypt.abilist: Likewise.
18903 * abilist/libdl.abilist: Likewise.
18904 * abilist/libm.abilist: Likewise.
18905 * abilist/libnsl.abilist: Likewise.
18906 * abilist/libpthread.abilist: Likewise.
18907 * abilist/libresolv.abilist: Likewise.
18908 * abilist/librt.abilist: Likewise.
18909 * abilist/libthread_db.abilist: Likewise.
18910 * abilist/libutil.abilist: Likewise.
18911 * abilist/libnss_db.abilist: New file.
18912
18913 * scripts/abilist.awk: Add support for indirect functions.
18914
a2693a0e
UD
18915 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18916
3f05895f
UD
18917 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18918
ecb6fb48
UD
18919 * shlib-versions: Remove entries for ports architectures.
18920
664f8cb9
UD
18921 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18922 files in ports.
18923 * elf/stackguard-macros.h: Remove support for IA-64.
18924 * elf/tst-auditmod1.c: Likewise.
18925 * sysdeps/generic/ldsodefs.h: Likewise.
18926
7ae81d88
UD
18927 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18928 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18929 configure files.
18930
bdeba135
UD
18931 [BZ #13552]
18932 * configure.in: Remove --enable-omitfp support.
18933 * FAQ.in: Adjust.
18934 * config.make.in: Likewise.
18935 * Makeconfig: Likewise.
18936 * manual/install.texi: Likewise.
18937
d75a0a62
UD
18938 In case anyone cares, the IA-64 architecture could move to ports.
18939 * sysdeps/ia64/*: Removed.
18940 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18941 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18942
dcc9756b
UD
18943 [BZ #13555]
18944 * configure.in: Remove entries for unsupported architectures.
18945
d3761ebc 18946 [BZ #13533]
9954432e
UD
18947 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18948 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18949 routines.
18950 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18951 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18952 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18953 fall back to using wcrtomb.
18954 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18955 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18956 renaming.
18957 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18958 * wcsmbs/tst-c16c32-1.c: New file.
18959
18960 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18961 local variable.
18962
c3a87236
UD
18963 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18964
28926a1b
UD
18965 * elf/tst-unique3.cc: Add explicit declaration of gets.
18966 * elf/tst-unique3lib.cc: Likewise.
18967 * elf/tst-unique3lib2.cc: Likewise.
18968 * elf/tst-unique4.cc: Likewise.
18969
df78418a
UD
18970 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18971
8ecd6b2a
JM
189722012-01-06 Joseph Myers <joseph@codesourcery.com>
18973
18974 [BZ #13566]
18975 * assert/assert.h (static_assert): Don't define for C++.
18976 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18977 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18978
9f115170
UD
189792012-01-03 Ulrich Drepper <drepper@gmail.com>
18980
5e0d0300
UD
18981 * iconv/loop.c (single loop): Fix assertion in storing of
18982 remaining bytes.
18983
9f115170
UD
18984 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18985
81fb02b0
UD
189862012-01-01 Ulrich Drepper <drepper@gmail.com>
18987
18988 * posix/getconf.c: Update copyright year.
18989 * nss/getent.c: Likewise.
a316c1f6 18990 * nss/makedb.c: Likewise.
81fb02b0
UD
18991 * iconv/iconvconfig.c: Likewise.
18992 * iconv/iconv_prog.c: Likewise.
18993 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18994 * elf/pldd.c: Likewise.
18995 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18996 * catgets/gencat.c: Likewise.
18997 * csu/version.c: Likewise.
18998 * elf/ldd.bash.in: Likewise.
18999 * elf/sprof.c (print_version): Likewise.
19000 * locale/programs/locale.c: Likewise.
19001 * locale/programs/localedef.c: Likewise.
a316c1f6 19002 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19003 * nscd/nscd.c (print_version): Likewise.
19004 * debug/xtrace.sh: Likewise.
19005 * malloc/memusage.sh: Likewise.
19006 * malloc/mtrace.pl: Likewise.
19007 * debug/catchsegv.sh: Likewise.
19008
2ba92745
JJ
190092011-12-30 Jakub Jelinek <jakub@redhat.com>
19010
19011 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19012 pure attribute.
19013
dadebdae
UD
190142011-12-24 Ulrich Drepper <drepper@gmail.com>
19015
d3761ebc 19016 [BZ #13533]
db6af3eb
UD
19017 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19018 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19019 transformations.
19020 * iconv/gconv_int.h: Likewise.
19021 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19022 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19023 from libc for GLIBC_2.16.
19024 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19025 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19026 * wcsmbs/uchar.h: Really define mbstate_t.
19027 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19028 * wcsmbs/c16rtomb.c: New file.
19029 * wcsmbs/mbrtoc16.c: New file.
19030 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19031 for C/POSIX locale.
19032 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19033 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19034
dadebdae
UD
19035 * wcsmbs/wchar.h: Add missing __restrict.
19036
67371b56
UD
190372011-12-23 Ulrich Drepper <drepper@gmail.com>
19038
74033a25
UD
19039 [BZ #13532]
19040 * time/Makefile (routines): Add timespec_get.
19041 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19042 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19043 timespec for ISO C11.
19044 * time/timespec_get.c: New file.
19045 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19046 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19047
380d7e87
UD
19048 [BZ #13531]
19049 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19050 * stdlib/stdlib.h: Declare aligned_alloc.
19051 * Versions.def: Add GLIBC_2.16 for libc.
19052 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19053
4e9e7a35
UD
19054 [BZ 13527]
19055 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19056 ISO C11.
19057
380d7e87 19058 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19059 code.
19060
03a71829
UD
19061 [BZ #13528]
19062 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19063
839e283e
UD
19064 [BZ #13529]
19065 * assert/assert.h (static_assert): Define.
19066
ce5294e2 19067 * version.h: Update for 2.16 development version.
90fa7312 19068
8d44e150 19069 [BZ #13526]
d7809905
UD
19070 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19071 _ISOC11_SOURCE.
19072
c0da14cd
UD
19073 * version.h (RELEASE): Bump for 2.15 release.
19074 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19075
530a3249
MP
19076 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19077 Patch by Marek Polacek <mpolacek@redhat.com>.
19078
67371b56
UD
19079 * bits/byteswap.h: Protect long long constants with __extension__.
19080 * sysdeps/i386/bits/byteswap.h: Likewise.
19081 * sysdeps/ia64/bits/byteswap.h: Likewise.
19082 * sysdeps/s390/bits/byteswap.h: Likewise.
19083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19084
15db4de1
LD
190852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19086
19087 [BZ #13540]
bbe315ea
LD
19088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19089 destination buffer.
15db4de1
LD
19090 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19091
2b2596b1
MP
190922011-12-23 Marek Polacek <polacek@redhat.com>
19093
19094 * elf/dl-addr.c (determine_info): Add inline keyword.
19095 * elf/tst-auditmod4b.c (check_avx): Likewise.
19096 * elf/tst-auditmod6b.c (check_avx): Likewise.
19097 * elf/tst-auditmod6c.c (check_avx): Likewise.
19098 * elf/tst-auditmod7b.c (check_avx): Likewise.
19099
70c6c246
UD
191002011-12-23 Ulrich Drepper <drepper@gmail.com>
19101
19102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19103 !__SSE_MATH__.
19104
c044cf14
LD
191052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19106
15db4de1 19107 [BZ #13540]
c044cf14
LD
19108 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19109 processing for last bytes.
19110
6b13d9d9
BH
191112011-08-06 Bruno Haible <bruno@clisp.org>
19112
d455f537
BH
19113 [BZ #13061]
19114 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19115 U+0385, not to U+1FEE.
19116
6b13d9d9
BH
19117 [BZ #13062]
19118 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19119 entry for U+00A5 U+0301.
19120
db910efd
UD
191212011-12-22 Ulrich Drepper <drepper@gmail.com>
19122
27deeafc
UD
19123 [BZ #13166]
19124 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19125 buffer for the output is too small.
19126
aed9d171
UD
19127 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19128 optimization.
19129
db910efd
UD
19130 [BZ #13185]
19131 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19132 SSE flags if possible.
19133
2bd779ae
LD
191342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19135
e7f9dac3 19136 [BZ #13540]
2bd779ae
LD
19137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19138 processing for last bytes.
19139
154bfc16
JM
191402011-12-22 Joseph Myers <joseph@codesourcery.com>
19141
19142 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19143 (syscall-list-default-options, syscall-list-default-condition)
19144 (syscall-list-includes): Define.
19145 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19146 list of ABIs and options and #if conditions for each ABI. Do not
19147 handle common syscalls between ABIs specially.
19148 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19149 Remove.
19150 (syscall-list-variants, syscall-list-32bit-options)
19151 (syscall-list-32bit-condition, syscall-list-64bit-options)
19152 (syscall-list-64bit-condition): Define.
19153 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19158 Remove.
19159 (syscall-list-variants, syscall-list-32bit-options)
19160 (syscall-list-32bit-condition, syscall-list-64bit-options)
19161 (syscall-list-64bit-condition): Define.
19162 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19163 Remove.
19164 (syscall-list-variants, syscall-list-32bit-options)
19165 (syscall-list-32bit-condition, syscall-list-64bit-options)
19166 (syscall-list-64bit-condition): Define.
19167
21eaf3a5
UD
191682011-12-22 Ulrich Drepper <drepper@gmail.com>
19169
16c6f992
UD
19170 * locale/iso-639.def: Add brx entry.
19171
41043168
UD
19172 [BZ #13328]
19173 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19174 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19175
21eaf3a5
UD
19176 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19177 __feraiseexcept_renamed.
19178
e3a851a2
UD
191792011-12-21 Ulrich Drepper <drepper@gmail.com>
19180
4920765e
UD
19181 [BZ #13538]
19182 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19183 EPOLLET with unsigned values.
19184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19186
e3a851a2
UD
19187 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19188 to large cancellation.
19189 * math/s_cacoshf.c: Likewise.
19190 * math/s_cacoshl.c: Likewise.
19191
b27e24b8
RK
191922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19193
19194 [BZ #13305]
aebefeee 19195 [BZ #12786]
b27e24b8
RK
19196 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19197 * math/s_cacoshf.c: Likewise.
19198 * math/s_cacoshl.c: Likewise.
19199
ee190f67
UD
192002011-12-21 Ulrich Drepper <drepper@gmail.com>
19201
19202 [BZ #13439]
19203 * iconv/gconv.h: Define __GCONV_SWAP.
19204 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19205 * iconvdata/utf-16.c: Likewise.
19206 * iconvdata/utf-32.c: Likewise.
19207
707f25df
AS
192082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19209
19210 [BZ #13524]
19211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19212 numerator after shifting it by one limb.
19213
d2daaa1e
RÁE
192142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19215
19216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19217 under [__USE_EXTERN_INLINES].
19218
a4647e72
UD
192192011-12-17 Ulrich Drepper <drepper@gmail.com>
19220
19221 [BZ #13446]
19222 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19223
f0b264f1
AZ
192242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19225
19226 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19227 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19228 optimized code.
19229 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19230 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19231 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19232 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19233 for strncasecmp/strncasecmp_l compilation.
19234 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19235 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19236
8ef4f244
MP
192372011-12-08 Marek Polacek <mpolacek@redhat.com>
19238
19239 [BZ #13484]
19240 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19241 of __asm__.
19242
97ac2654
UD
192432011-12-17 Ulrich Drepper <drepper@gmail.com>
19244
19245 [BZ #13506]
19246 * time/tzfile.c (__tzfile_read): Check values from file header.
19247
91d2a845
WS
192482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19249
19250 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19251 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19252 * powerpc/powerpc32/dl-start.S: Likewise.
19253 * powerpc/powerpc32/elf/start.S: Likewise.
19254 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19255 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19256 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19257 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19258 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19259 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19260 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19261 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19262 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19263 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19264 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19265 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19266 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19267 * powerpc/powerpc32/memset.S: Likewise.
19268 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19269 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19270 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19271 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19272 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19273 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19274 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19275 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19276 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19277 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19281
a1267ba1
AZ
192822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19283
19284 * math/libm-test.inc: Added more nearbyint tests.
19285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19289
ad8ac1bd
RL
192902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19291
19292 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19293 FD_CLOEXEC.
19294
1d3e4b61
UD
192952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19296
19297 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19298 Add wcscpy-ssse3 wcscpy-c.
19299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19300 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19301 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19302 * sysdeps/x86_64/wcschr.S: New file.
19303 * sysdeps/x86_64/wcsrchr.S: New file.
19304 * string/test-strcmp.c: Remove checking of wcscmp function for
19305 wrong alignments.
19306 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19307 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19308 wcsrchr-sse2 wcsrchr-c.
19309 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19310 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19311 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19312 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19313 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19314 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19315 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19316 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19318 * wcsmbc/wcschr.c (WCSCHR): New macro.
19319
5b330a2d
UD
193202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19321
19322 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19323 * wcsmbs/test-wcsrchr.c: New file.
19324 * string/test-strrchr.c: Add wcsrchr support.
19325 (WIDE): New macro.
19326 * wcsmbs/test-wcscpy.c: New file.
19327 * string/test-strcpy.c: Add wcscpy support.
19328 (WIDE): New macro.
26428b7c 19329
f039c043
UD
193302011-12-10 Ulrich Drepper <drepper@gmail.com>
19331
19332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19333 the inner loop.
19334
850fb039
AS
193352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19336
19337 [BZ #13472]
19338 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19339
4efbd5cb
UD
193402011-12-04 Ulrich Drepper <drepper@gmail.com>
19341
52ff5dd0 19342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19343 Minor optimizations.
52ff5dd0 19344
4efbd5cb
UD
19345 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19346 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19347 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19348
8a426e12
UD
193492011-12-03 Ulrich Drepper <drepper@gmail.com>
19350
aff2453d
UD
19351 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19352 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19353 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19354 for gcc to avoid warnings.
19355 * inet/Makefile (tests): Add tst-checks.
19356 * inet/tst-checks.c: New file.
19357
19358 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19359 warning.
19360
19361 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19362 __wmemcmp_sse2.
19363
19364 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19365 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19366
8a426e12
UD
19367 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19368
9bea3473
UD
193692011-12-02 Ulrich Drepper <drepper@gmail.com>
19370
3a965496
UD
19371 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19372 problem.
19373
9bea3473
UD
19374 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19375
f101631b
UD
193762011-11-29 Joseph Myers <joseph@codesourcery.com>
19377
19378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19379 conditional on GCC version.
19380 (__arch_compare_and_exchange_val_8_acq)
19381 (__arch_compare_and_exchange_val_16_acq)
19382 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19383 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19384 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19385
a98275aa
UD
193862011-12-02 Joseph Myers <joseph@codesourcery.com>
19387
19388 * sysdeps/sh/backtrace.c: New file.
19389
d4cc29a2
AS
193902011-12-02 Andreas Schwab <schwab@redhat.com>
19391
19392 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19393 parenthesis.
19394
6257af2d
AS
193952011-12-01 Andreas Schwab <schwab@redhat.com>
19396
19397 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19398 falling back to utime.
19399
b5f44c1a
AS
194002011-11-30 Andreas Schwab <schwab@redhat.com>
19401
19402 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19403 expectations for float.
19404
f3a6cc0a
AS
194052011-11-29 Andreas Schwab <schwab@redhat.com>
19406
19407 * locale/weight.h (findidx): Add parameter len.
19408 * locale/weightwc.h (findidx): Likewise.
19409 * posix/fnmatch_loop.c (FCT): Adjust caller.
19410 * posix/regcomp.c (build_equiv_class): Likewise.
19411 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19412 * posix/regexec.c (check_node_accept_bytes): Likewise.
19413 * string/strcoll_l.c (STRCOLL): Likewise.
19414 * string/strxfrm_l.c (STRXFRM): Likewise.
19415
9d65ea3a
UD
194162011-11-17 Ulrich Drepper <drepper@gmail.com>
19417
19418 * Makefile.in: Remove CVSOPT handling.
19419 * configure.in: Remove use of AC_REVISION.
19420 * iconvdata/Makefile (distribute): No need to filter out CVS.
19421 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19422 handling.
19423
5583a086
AS
194242011-11-16 Andreas Schwab <schwab@redhat.com>
19425
19426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19427 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19428 [USE_AS_STRNCASECMP_L]: Likewise.
19429 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19430 NO_TLS_DIRECT_SEG_REFS.
19431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19432 Fix argument offsets for non-PIC.
19433 [USE_AS_STRNCASECMP_L]: Likewise.
19434 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19435 NO_TLS_DIRECT_SEG_REFS.
19436
d62a8200
UD
194372011-11-15 Ulrich Drepper <drepper@gmail.com>
19438
9d65ea3a 19439 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19440 O_CLOEXEC.
19441 * locale/loadlocale.c (_nl_load_locale): Likewise.
19442
09f93bd3
AS
194432011-11-15 Andreas Schwab <schwab@redhat.com>
19444
446514f9
AS
19445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19446 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19448 (SYSCALL_GETTIME): Set errno on error.
19449
09f93bd3
AS
19450 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19451 count references to noai6ai_cached.
19452
312be3f9
UD
194532011-11-15 Ulrich Drepper <drepper@gmail.com>
19454
19455 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19456
19457 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19458 FD_CLOEXEC for /proc/self/maps.
19459
19460 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19461 FD_CLOEXEC for /proc/meminfo.
19462
19463 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19464 gai.conf.
19465
19466 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19467 FD_CLOEXEC for given file.
19468
19469 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19470
19471 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19472 FD_CLOEXEC for /etc/hosts.
19473 (_gethtent): Likewise.
19474
19475 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19476
19477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19478 cancellation and set FD_CLOEXEC for /etc/netgroup.
19479
19480 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19481 reading /etc/publickey.
19482
19483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19484 allow cancellation when reading /etc/group.
19485
19486 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19487 cancellation.
19488 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19489
19490 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19491 when using data file.
19492
19493 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19494
19495 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19496 (write_nis_obj): Use "c" and "e" in fopen.
19497
19498 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19499
19500 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19501
19502 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19503
19504 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19505
19506 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19507 locale.alias.
19508
19509 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19510
19511 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19512
19513 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19514
19515 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19516 file parsing and set FD_CLOEXEC.
19517
82af0fa8
UD
195182011-11-14 Ulrich Drepper <drepper@gmail.com>
19519
19520 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19521
a5fb313c
AS
195222011-11-14 Andreas Schwab <schwab@redhat.com>
19523
19524 * malloc/arena.c (arena_get2): Don't call reused_arena when
19525 _int_new_arena failed.
19526
6abf3465
UD
195272011-11-14 Ulrich Drepper <drepper@gmail.com>
19528
19529 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19530 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19532 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19535 to compile strcasecmp and strncasecmp.
19536 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19537 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19538
19539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19540
76e3966e
UD
195412011-11-13 Ulrich Drepper <drepper@gmail.com>
19542
19543 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19544 locale-defines.sym to gen-as-const-headers.
19545 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19546 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19548 to compile strcasecmp and strncasecmp.
19549 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19550 strcasecmp_l and strncasecmp_l.
19551 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19552 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19553 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19555 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19556 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19557 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19558 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19559 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19560 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19561 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19562
ab26144e
UD
195632011-11-12 Ulrich Drepper <drepper@gmail.com>
19564
7edb22ef
UD
19565 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19566 result of SYSDEP_GETTIME_CPU to retval.
19567 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19568 parameter list to macro. Remove trailing semicolon. Adjust users.
19569
9694fc44
UD
19570 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19571 variable.
19572
8ad89ef8
UD
19573 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19574 mantissa words.
19575 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19576
0c822ef9
UD
19577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19578 from unused variable.
19579
874e0564
UD
19580 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19581 DWARF definitions.
19582 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19583 for assembling.
19584
3a2edc79
UD
19585 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19586 over namespaces.
19587
f3c2577f
UD
19588 * sunrpc/rpc_prot.c (rejected): Fix case value.
19589
294ce126
UD
19590 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19591 unsigned long long int to avoid warnings in shift.
19592
5e2b63c6
UD
19593 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19594 of use of trans.
19595 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19596 variable tmp.
19597
e7f4b08e
UD
19598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19599 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19601
ab26144e
UD
19602 * nis/nis_table.c (nis_list): Use variable of correct type for
19603 result of __follow_path call.
19604
8a6d5255
AZ
196052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19608 of math functions ceil, trunc, floor, round, and sqrt, when
19609 avaliable on the platform.
19610 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19611 name clash.
19612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19615
aaddc98c
MP
196162011-10-30 Marek Polacek <mpolacek@redhat.com>
19617
19618 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19619 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19620
95b7042b
RM
196212011-11-11 Roland McGrath <roland@hack.frob.com>
19622
19623 * include/unistd.h: Fix __readlink return type.
19624 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19625
57769839
UD
196262011-11-11 Ulrich Drepper <drepper@gmail.com>
19627
19628 * stdlib/ucontext.h: Undo last change for makecontext.
19629
edc5984d
AS
196302011-11-11 Andreas Schwab <schwab@redhat.com>
19631
98591e58
AS
19632 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19633
edc5984d
AS
19634 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19635 * setjmp/setjmp.h: Mark functions as non-leaf.
19636 * setjmp/bits/setjmp2.h: Likewise.
19637 * stdlib/ucontext.h: Likewise.
19638
77cdc054
AS
196392011-11-10 Andreas Schwab <schwab@redhat.com>
19640
19641 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19642 (reused_arena): Don't check arena limit.
19643 (arena_get2): Atomically check arena limit.
19644
fe72eebd
UD
196452011-11-08 Ulrich Drepper <drepper@gmail.com>
19646
5f078c32
UD
19647 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19648 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19649
fe72eebd
UD
19650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19651 instructions.
19652
ae1bc2fa
AS
196532011-11-07 Andreas Schwab <schwab@redhat.com>
19654
7583a88d
AS
19655 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19656 handler when locking.
19657
ae1bc2fa
AS
19658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19659 Fix size of allocated buffer.
19660
10fb0bfa
AS
196612011-11-04 Andreas Schwab <schwab@redhat.com>
19662
998832a4
AS
19663 [BZ #10103]
19664 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19665 declarations for long double functions.
19666 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19667
10fb0bfa
AS
19668 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19669
3d7ba52b
AS
196702011-11-03 Andreas Schwab <schwab@redhat.com>
19671
a9ae54a1
AS
19672 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19673 installed.
19674
3d7ba52b
AS
19675 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19676 is disabled.
19677
bc8db248
ST
196782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19679
19680 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19681
45b96dd6
AS
196822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19683
647776f6
AS
19684 * include/alloca.h (stackinfo_alloca_round): Define.
19685 (extend_alloca): Use it.
19686 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19687 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19688 here.
19689
d91a8b93
AS
19690 * scripts/check-local-headers.sh: Ignore libaudit.h.
19691
45b96dd6
AS
19692 * nscd/Makefile (extra-objs): Make recursively expanded.
19693
432d41ce
UD
196942011-11-01 Ulrich Drepper <drepper@gmail.com>
19695
34372fc6
UD
19696 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19698
fadb59f8
UD
19699 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19700 * posix/tst-rfc3484-2.c: Likewise.
19701 * posix/tst-rfc3484-3.c: Likewise.
19702
78239589
UD
19703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19704 process_vm_writev.
19705 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19706 process_vm_writev.
19707 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19708 process_vm_writev from libc using GLIBC_2.15 version.
19709
432d41ce
UD
19710 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19711
02f9c6cf
PP
197122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19713
19714 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19715 stack usage.
19716
3a2c0242
UD
197172011-10-31 Ulrich Drepper <drepper@gmail.com>
19718
f4ec4833
UD
19719 [BZ #13367]
19720 * nss/getent.c (initgroups_keys): Show error message in case no group
19721 names are given.
19722
3a2c0242
UD
19723 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19724 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19725 __bump_nl_timestamp.
19726 * nscd/connections (nscd_init): When host database is served open
19727 netlink socket and request notification about configuration changes.
19728 (main_loop_poll): Track netlink file descriptor and bump timestamp
19729 in case data becomes available.
19730 (main_loop_epoll): Likewise.
19731 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19732 (database_pers_head): Add extra_data fileds.
19733 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19735 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19736 Adjust caller.
19737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19738 in6ai data, call __free_in6ai.
19739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19740 Add -DHAVE_NETLINK.
19741 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19742 interface information. Reuse previous data if netlink timestamp
19743 is not changed.
19744 (__bump_nl_timestamp): New function.
19745 (__free_in6ai): New function.
19746
636064eb
UD
197472011-10-30 Ulrich Drepper <drepper@gmail.com>
19748
19749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19750 close_not_cancel_no_status here.
19751 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19752
9beb2334
UD
197532011-10-29 Ulrich Drepper <drepper@gmail.com>
19754
6ef76f3b
UD
19755 [BZ #13276]
19756 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19757 return value.
19758
0ffc4f3e 19759 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19760 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19761 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19762
cb95113e
UD
197632011-07-03 Andreas Jaeger <aj@suse.de>
19764
19765 [BZ #10709]
19766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19767 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19768 * math/libm-test.inc (sin_test): Add test case.
19769
a1b560ff
UD
197702011-10-29 Ulrich Drepper <drepper@gmail.com>
19771
c9aaface
UD
19772 [BZ #13337]
19773 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19774 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19775
d272e7f1
UD
19776 * elf/chroot_canon.c (chroot_canon): Cleanups.
19777
1bc33071
UD
19778 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19779
1760874d
TJ
19780 [BZ #13335]
19781 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19783
51d91b18
UD
19784 * string/test-strchr.c: Make usable for strchrnul testing.
19785 * string/test-strchrnul.c: New file.
19786 * string/Makefile (strop-tests): Add strchrnul.
19787
a1b560ff 19788 * po/it.po: Update from translation team.
b611fb81 19789 * po/es.po: Likewise.
a1b560ff 19790
a5b81e1f
UD
197912011-10-28 Ulrich Drepper <drepper@gmail.com>
19792
fd52bc6d
UD
19793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19794 the three constants needed as parameters. Drop the others.
19795 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19796 __m128i_strloadu_tolower.
52e4b9eb
UD
19797 Create and initialize variable zero and use it in all the places
19798 where _mm_setzero_si128 was used.
fd52bc6d 19799
a5b81e1f
UD
19800 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19801 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19802 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19804 anymore.
19805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19808 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19810 __mpranred, __mptan.
19811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19815 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19816 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19820
b4343346
AS
198212011-10-28 Andreas Schwab <schwab@redhat.com>
19822
0c92d8a8
AS
19823 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19824 redefine if SHARED.
19825 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19826
b4343346
AS
19827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19828 wide char related routines to wcsmbs subdir.
19829
3871f58f
AS
198302011-10-27 Andreas Schwab <schwab@redhat.com>
19831
19832 [BZ #13344]
19833 * misc/sys/cdefs.h (__THROWNL): Define.
19834 * posix/unistd.h: Use __THREADNL instead of __THREAD
19835 for memory synchronization functions.
19836
94d44d9f
RM
198372011-10-26 Roland McGrath <roland@hack.frob.com>
19838
21b64b15 19839 [BZ #13349]
94d44d9f
RM
19840 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19841 doesn't exist.
19842 * manual/stdio.texi (Obstack Streams): Node removed.
19843
f6ce9294
AS
198442011-10-26 Andreas Schwab <schwab@redhat.com>
19845
80479147
AS
19846 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19849
f6ce9294
AS
19850 * math/math_private.h (math_force_eval): Allow non-addressable
19851 arguments.
19852 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19853
618280a1
UD
198542011-10-25 Ulrich Drepper <drepper@gmail.com>
19855
e0016b11
UD
19856 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19857 file is not needed.
19858
19859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19866 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19867 Add AVX variants.
19868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19874 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19876 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19877 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19878 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19879 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19881 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19884 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19886 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19887
19888 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19889 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19890
618280a1
UD
19891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19892 place. Use VEX encoding when compiling for AVX.
19893
37822576
AS
198942011-10-25 Andreas Schwab <schwab@redhat.com>
19895
1f1e1947
AS
19896 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19897 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19898
37822576
AS
19899 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19900
31ea014d
UD
199012011-10-25 Ulrich Drepper <drepper@gmail.com>
19902
d7826aa1 19903 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19904 useless if() expression.
d7826aa1
UD
19905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19924
31ea014d
UD
19925 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19926
16437fec
AS
199272011-10-25 Andreas Schwab <schwab@redhat.com>
19928
19929 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19930 condition.
19931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19932
31d3cc00
UD
199332011-10-25 Ulrich Drepper <drepper@gmail.com>
19934
19935 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19936 .text section. Avoid duplicate constants.
19937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19949 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19954 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19965 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19968 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19970 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19971 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19972 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19973 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19975 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19982
58985aa9
UD
199832011-10-24 Ulrich Drepper <drepper@gmail.com>
19984
202c9deb
UD
19985 * sysdeps/x86_64/dla.h: Move to ...
19986 * sysdeps/x86_64/fpu/dla.h: ...here.
19987 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19988 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19989
af968f62
UD
19990 * config.make.in: Add have-mfma4 entry.
19991 * configure.in: Substitute libc_cv_cc_fma4.
19992 * math/Makefile (dbl-only-routines): Add sincostab.
19993 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19994 Use __sincostab not sincos.
19995 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19996 name is a macro.
19997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20001 using __copysign.
20002 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20003 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20004 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20005 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20006 and __inv.
20007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20008 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20009 __copysign.
20010 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20011 define aliases when function name is a macro.
20012 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20013 sysdeps/ieee754/dbl-64/sincos.tbl.
20014 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20015 fma4-enabled routines.
20016 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20017 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20026 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20028 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20031 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20032 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20033 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20034 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20036 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20042 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20043 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20044 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20045 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20046
58985aa9
UD
20047 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20048 rename.
20049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20057
a201fbcf
AS
200582011-10-24 Andreas Schwab <schwab@redhat.com>
20059
20060 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20061
fc2ee42a
LD
200622011-10-23 Ulrich Drepper <drepper@gmail.com>
20063
bb3129bd
UD
20064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20065
0275fff8
UD
20066 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20067 prediction.
20068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20069
2fa2ae85
UD
20070 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20071 Remove unused variable magic_bits.
20072 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20073
fc2ee42a
LD
20074 * string/strnlen.c: Define and use STRNLEN macro.
20075 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20076 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20078 * wcsmbs/wcslen.c: Define and use WCSLEN.
20079 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20080 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20081 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20082 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20083 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20084 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20085 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20086
ce7dd29f
LD
200872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20088
20089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20090 strnlen-sse2-no-bsf.
20091 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20094 Add strnlen support.
20095 (USE_AS_STRNLEN): New macro.
20096 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20098 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20099 * sysdeps/x86_64/wcslen.S: New file.
20100
979c70a3
MZ
201012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20102
20103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20104 XMM-moves are used for copying on small sizes.
20105
2d09f82f
LD
201062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20107
20108 * wcsmbs/Makefile (strop-tests): Add wcschr.
20109 * wcsmbs/test-wcschr.c: New file.
20110 * string/test-strchr.c: Update.
20111 Add wcschr support.
20112 (WIDE): New macro.
20113
619fccca
LD
201142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20115
2d09f82f 20116 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20117 * wcsmbs/test-wcslen.c: New file.
20118 * string/test-strlen.c: Update.
20119 Add wcslen support.
20120 (WIDE): New macro.
20121
09f699ea
UD
201222011-10-23 Ulrich Drepper <drepper@gmail.com>
20123
20124 * po/it.po: Update from translation team.
20125
95584d3b
LD
201262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20127
20128 * sysdeps/x86_64/wcscmp.S: Update.
20129 Fix wrong comparison semantics.
20130 wcscmp shall use signed comparison not unsigned.
20131 Don't use substraction to avoid overflow bug.
20132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20133 * wcsmbc/wcscmp.c: Likewise.
20134 * string/test-strcmp.c: Likewise.
20135 Add new tests to check cases with negative values.
20136
c8b3296b
UD
201372011-10-23 Ulrich Drepper <drepper@gmail.com>
20138
20139 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20140 * sysdeps/x86_64/dla.h: ...here. New file.
20141 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20150
246ad57a
AS
201512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20152
20153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20154 __ynl_finite aliases.
20155
a1a87169
UD
201562011-10-22 Ulrich Drepper <drepper@gmail.com>
20157
0d355eb7
UD
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20159
a1a87169
UD
20160 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20161 define DLA_FMA.
20162 [DLA_FMA] (EMULV): Use DLA_FMA.
20163 [DLA_FMA] (MUL12): Use EMULV.
20164 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20165 that are not needed.
20166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20173
ee2aafe0
AS
201742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20175
20176 * math/s_nan.c: Undef __nan.
20177 * math/s_nanf.c: Undef __nanf.
20178 * math/s_nanl.c: Undef __nanl.
20179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20180 "math_private.h".
20181
bc62c2fb
UD
201822011-10-22 Ulrich Drepper <drepper@gmail.com>
20183
77425c63
UD
20184 * math/s_catan.c: Add branch predictions.
20185 * math/s_catanf.c: Likewise.
20186 * math/s_catanh.c: Likewise.
20187 * math/s_catanhf.c: Likewise.
20188 * math/s_catanhl.c: Likewise.
20189 * math/s_catanl.c: Likewise.
20190 * math/s_cexp.c: Likewise.
20191 * math/s_cexpf.c: Likewise.
20192 * math/s_cexpl.c: Likewise.
20193 * math/s_clog.c: Likewise.
20194 * math/s_clog10.c: Likewise.
20195 * math/s_clog10f.c: Likewise.
20196 * math/s_clog10l.c: Likewise.
20197 * math/s_clogf.c: Likewise.
20198 * math/s_clogl.c: Likewise.
20199 * math/s_csqrt.c: Likewise.
20200 * math/s_csqrtf.c: Likewise.
20201 * math/s_csqrtl.c: Likewise.
20202 * math/s_ctanf.c: Likewise.
20203 * math/s_ctanh.c: Likewise.
20204 * math/s_ctanhf.c: Likewise.
20205 * math/s_ctanhl.c: Likewise.
20206 * math/s_ctanl.c: Likewise.
20207
bc62c2fb
UD
20208 * math/math_private.h: Define __nan, __nanf, __nanl.
20209 * math/s_cacosh.c: Include <math_private.h>.
20210 * math/s_cacoshl.c: Likewise.
20211 * math/s_casinh.c: Likewise.
20212 * math/s_casinhf.c: Likewise.
20213 * math/s_casinhl.c: Likewise.
20214 * math/s_ccos.c: Rely entire on ccosh.
20215 * math/s_ccosf.c: Rely entire on ccoshf.
20216 * math/s_ccosl.c: Rely entirely on ccoshl.
20217 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20218 Remove tests for FE_INVALID.
20219 * math/s_ccoshf.c: Likewise.
20220 * math/s_ccoshl.c: Likewise.
20221 * math/s_csin.c: Likewise.
20222 * math/s_csinf.c: Likewise.
20223 * math/s_csinh.c Likewise.
20224 * math/s_csinhf.c: Likewise.
20225 * math/s_csinhl.c: Likewise.
20226 * math/s_csinl.c: Likewise.
20227 * math/s_ctan.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20229 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20231
8ec250a4
UD
202322011-10-21 Ulrich Drepper <drepper@gmail.com>
20233
c196fed8
UD
20234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20235 compilation problems.
20236
8ec250a4
UD
20237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20238 __builtin_expect.
20239
8d4f46c6
UD
202402011-10-20 Ulrich Drepper <drepper@gmail.com>
20241
ed72b654
UD
20242 * sysdeps/i386/configure.in: Test for -mfma4 option.
20243 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20244 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20245 COMMON_CPUID_INDEX_80000001.
20246 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20247 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20248 use it if FMA3 is not supported.
20249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20250
8d4f46c6
UD
20251 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20252 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20253
d45c60c2
AS
202542011-10-20 Andreas Schwab <schwab@redhat.com>
20255
20256 [BZ #12892]
20257 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20258 it would create a cycle with a link time dependency.
20259
d9a4d2ab
UD
202602011-10-19 Ulrich Drepper <drepper@gmail.com>
20261
855d1560
UD
20262 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20263 instruction.
20264 * string/Makefile (strop-tests): Add rawmemchr.
20265 * string/test-rawmemchr.c: New file.
20266
d9a4d2ab
UD
20267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20269 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20270 when compiling str{,n}casecmp and when AVX is available. Hook up
20271 new optimized code in initializers.
20272
8f3b1ffe
AS
202732011-10-19 Andreas Schwab <schwab@redhat.com>
20274
20275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20276 __feraiseexcept instead of feraiseexcept.
20277
d38f1dba
UD
202782011-10-18 Ulrich Drepper <drepper@gmail.com>
20279
d9a8d0ab
UD
20280 * math/math_private.h: Define defaults for libc_fetestexcept and
20281 libc_feupdateenv.
20282 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20283 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20288 libc_fetestexcept and libc_feupdateenv.
20289
4855e3dd
UD
20290 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20291 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20292 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20293 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20294 libc_feholdexcept_setround.
20295
581d30e3
UD
20296 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20297 Add s_nearbyint-c and s_nearbyintf-c.
20298 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20299 nearbyintf inlines.
20300 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20302 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20304
d38f1dba
UD
20305 * math/math_private.h: Define defaults for libc_fegetround,
20306 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20307 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20308 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20310 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20311 standard functions.
20312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20313 Remove comments and hacks for old compiler versions.
20314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20315 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20316 libc_feholdexceptl.
20317
caa6c9d8
AS
203182011-10-18 Andreas Schwab <schwab@redhat.com>
20319
20320 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20321 (__feraiseexcept_renamed): Add __NTH.
20322 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20323 namespace violations.
20324
97c066e6
UD
203252011-10-17 Ulrich Drepper <drepper@gmail.com>
20326
99ce7b04
UD
20327 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20328
1004d182
UD
20329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20330
228a984d
UD
20331 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20332 recently added interfaces.
20333 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20334
c8553a6a
UD
20335 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20336 about macro parameter expansion.
20337
ed22dcf6
UD
20338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20339 __NO_MATH_INLINES is defined. Cleanups.
20340
20341 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20342 and __floorf is target has SSE4.1.
20343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20346 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20347
b171c137
UD
20348 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20349 name.
20350 (floorf): Likewise.
20351
97c066e6
UD
20352 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20353
629f62ef
AS
203542011-10-17 Andreas Schwab <schwab@redhat.com>
20355
49a43d80
AS
20356 * misc/sys/cdefs.h: Fix last change.
20357
629f62ef
AS
20358 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20359 database lookup.
20360
e453f6cd
UD
203612011-10-16 Ulrich Drepper <drepper@gmail.com>
20362
aa78043a
UD
20363 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20364
ad0f5cad
UD
20365 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20372 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20373 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20375 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20377 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20378 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20380 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20381 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20382 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20384 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20385 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20386 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20387
20388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20389 ceil, ceilf, floor, floorf.
20390
20391 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20392 Perform IRELATIVE relocations last.
20393
e453f6cd
UD
20394 * elf/do-rel.h: Add another parameter nrelative, replacing the
20395 local variable with the same name. Change name of the function
20396 to end in Rel or Rela (uppercase).
20397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20398 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20399 elf_dynamic_do_##reloc function.
20400
fd5bdc09
UD
204012011-10-15 Ulrich Drepper <drepper@gmail.com>
20402
79b195b5
UD
20403 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20404 is sufficient, at least on modern CPUs.
20405
d4a28569
UD
20406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20407
b61099b5
UD
20408 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20410
bcf01e6d
UD
20411 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20412 __expl_finite.
20413 * math/bits/math-finite.h: Add entries for exp.
20414 * math/e_expl.c: Add __*_finite alias.
20415 * sysdeps/i386/fpu/e_exp.S: Likewise.
20416 * sysdeps/i386/fpu/e_expf.S: Likewise.
20417 * sysdeps/i386/fpu/e_expl.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20425
ba1a0d59
UD
20426 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20427 is sufficient, at least on modern CPUs.
20428
fd5bdc09
UD
20429 * ctype/ctype-info.c (__ctype_init): Define.
20430 * include/ctype.h (__ctype_init): Declare.
20431 (__ctype_b_loc): The variable is always initialized.
20432 (__ctype_toupper_loc): Likewise.
20433 (__ctype_tolower_loc): Likewise.
20434 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20435 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20436
7872cfb0
AS
204372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20438
b468825a
AS
20439 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20440
7872cfb0
AS
20441 * configure.in: Also look in $cxxmachine/include for C++ system
20442 headers.
20443
be13f7bf
LD
204442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20445
20446 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20447 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20448 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20449 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20451 (USE_AS_WMEMCMP): New macro.
20452 Fixing indents.
20453 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20454 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20455 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20456 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20458 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20459 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20461 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20462 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20464 (USE_AS_WMEMCMP): New macro.
20465 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20466 * sysdeps/string/test-memcmp.c: Update.
20467 Fix simple_wmemcmp.
20468 Add new tests.
20469 * wcsmbs/wmemcmp.c: Update.
20470 (WMEMCMP): New macro.
20471 Fix overflow bug.
20472
556a2007
AJ
204732011-10-12 Andreas Jaeger <aj@suse.de>
20474
20475 [BZ #13268]
20476 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20477
538faaa7
UD
204782011-10-15 Ulrich Drepper <drepper@gmail.com>
20479
ab6737ff
UD
20480 * libio/iofwide.c (do_length): Avoid warning.
20481
538faaa7
UD
20482 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20483
396a21b1
UD
204842011-10-14 Ulrich Drepper <drepper@gmail.com>
20485
cdf2901f
UD
20486 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20487
38ad40ce
UD
20488 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20489 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20490 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20491 * sysdeps/i386/i686/fpu/e_log.S: New file.
20492 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20493 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20494
396a21b1
UD
20495 * ctype/ctype.h: Add support for inlined isXXX functions when
20496 compiling C++ code.
20497
6b1f68c9
AS
204982011-10-14 Andreas Schwab <schwab@redhat.com>
20499
349290c0
AS
20500 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20501
6b1f68c9
AS
20502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20503
f2282d42
RM
205042011-10-13 Roland McGrath <roland@hack.frob.com>
20505
20506 [BZ #13291]
20507 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20508
5298ffa8
AS
205092011-10-13 Andreas Schwab <schwab@redhat.com>
20510
714fad23
AS
20511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20512 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20513 feraiseexcept.
20514
81dcc7fb
AS
20515 * sysdeps/x86_64/memrchr.S: Check for zero size.
20516
5298ffa8
AS
20517 * string/stratcliff.c: Add memrchr tests.
20518
951fbcec
LD
205192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20520
20521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20522 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20523 rawmemchr-sse2 rawmemchr-sse2-bsf.
20524 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20525 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20526 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20527 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20528 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20530 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20531 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20532 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20534 * string/memrchr.c (MEMRCHR): New macro.
20535
0ac5ae23
UD
205362011-10-12 Ulrich Drepper <drepper@gmail.com>
20537
20538 Add integration with gcc's -ffinite-math-only and optimize wrapper
20539 functions in libm.
20540 * Versions.def: Define GLIBC_2.15 version for libm.
20541 * math/Makefile (headers): Add bits/math-finite.h.
20542 * math/bits/math-finite.h: New file.
20543 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20544 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20545 * math/e_acoshl.c: Add __*_finite alias.
20546 * math/e_acosl.c: Likewise.
20547 * math/e_asinl.c: Likewise.
20548 * math/e_atan2l.c: Likewise.
20549 * math/e_atanhl.c: Likewise.
20550 * math/e_coshl.c: Likewise.
20551 * math/e_exp10.c: Likewise.
20552 * math/e_exp10f.c: Likewise.
20553 * math/e_exp10l.c: Likewise.
20554 * math/e_exp2l.c: Likewise.
20555 * math/e_fmodl.c: Likewise.
20556 * math/e_gammal_r.c: Likewise.
20557 * math/e_hypotl.c: Likewise.
20558 * math/e_j0l.c: Likewise.
20559 * math/e_j1l.c: Likewise.
20560 * math/e_jnl.c: Likewise.
20561 * math/e_lgammal_r.c: Likewise.
20562 * math/e_log10l.c: Likewise.
20563 * math/e_log2l.c: Likewise.
20564 * math/e_logl.c: Likewise.
20565 * math/e_powl.c: Likewise.
20566 * math/e_sinhl.c: Likewise.
20567 * math/e_sqrtl.c: Likewise.
20568 * math/e_scalb.c: Completely rewritten and optimized.
20569 * math/e_scalbf.c: Likewise.
20570 * math/e_scalbl.c: Likewise.
20571 * math/w_acos.c: Likewise.
20572 * math/w_acosf.c: Likewise.
20573 * math/w_acosl.c: Likewise.
20574 * math/w_acosh.c: Likewise.
20575 * math/w_acoshf.c: Likewise.
20576 * math/w_acoshl.c: Likewise.
20577 * math/w_asin.c: Likewise.
20578 * math/w_asinf.c: Likewise.
20579 * math/w_asinl.c: Likewise.
20580 * math/w_atan2.c: Likewise.
20581 * math/w_atan2f.c: Likewise.
20582 * math/w_atan2l.c: Likewise.
20583 * math/w_atanh.c: Likewise.
20584 * math/w_atanhf.c: Likewise.
20585 * math/w_atanhl.c: Likewise.
20586 * math/w_exp10.c: Likewise.
20587 * math/w_exp10f.c: Likewise.
20588 * math/w_exp10l.c: Likewise.
20589 * math/w_fmod.c: Likewise.
20590 * math/w_fmodf.c: Likewise.
20591 * math/w_fmodl.c: Likewise.
20592 * math/w_j0.c: Likewise.
20593 * math/w_j0f.c: Likewise.
20594 * math/w_j0l.c: Likewise.
20595 * math/w_j1.c: Likewise.
20596 * math/w_j1f.c: Likewise.
20597 * math/w_j1l.c: Likewise.
20598 * math/w_jn.c: Likewise.
20599 * math/w_jnf.c: Likewise.
20600 * math/w_log.c: Likewise.
20601 * math/w_logf.c: Likewise.
20602 * math/w_logl.c: Likewise.
20603 * math/w_log10.c: Likewise.
20604 * math/w_log10f.c: Likewise.
20605 * math/w_log10l.c: Likewise.
20606 * math/w_log2.c: Likewise.
20607 * math/w_log2f.c: Likewise.
20608 * math/w_log2l.c: Likewise.
20609 * math/w_pow.c: Likewise.
20610 * math/w_powf.c: Likewise.
20611 * math/w_powl.c: Likewise.
20612 * math/w_remainder.c: Likewise.
20613 * math/w_remainderf.c: Likewise.
20614 * math/w_remainderl.c: Likewise.
20615 * math/w_scalb.c: Likewise.
20616 * math/w_scalbf.c: Likewise.
20617 * math/w_scalbl.c: Likewise.
20618 * math/w_sqrt.c: Likewise.
20619 * math/w_sqrtf.c: Likewise.
20620 * math/w_sqrtl.c: Likewise.
20621 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20622 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20623 used.
20624 * math/math_private.h: Declare __kernel_standard_f.
20625 * math/w_cosh.c: Remove cruft and optimize a bit.
20626 * math/w_coshf.c: Likewise.
20627 * math/w_coshl.c: Likewise.
20628 * math/w_exp2.c: Likewise.
20629 * math/w_exp2f.c: Likewise.
20630 * math/w_exp2l.c: Likewise.
20631 * math/w_hypot.c: Likewise.
20632 * math/w_hypotf.c: Likewise.
20633 * math/w_hypotl.c: Likewise.
20634 * math/w_lgamma.c: Likewise.
20635 * math/w_lgamma_r.c: Likewise.
20636 * math/w_lgammaf.c: Likewise.
20637 * math/w_lgammaf_r.c: Likewise.
20638 * math/w_lgammal.c: Likewise.
20639 * math/w_lgammal_r.c: Likewise.
20640 * math/w_sinh.c: Likewise.
20641 * math/w_sinhf.c: Likewise.
20642 * math/w_sinhl.c: Likewise.
20643 * math/w_tgamma.c: Likewise.
20644 * math/w_tgammaf.c: Likewise.
20645 * math/w_tgammal.c: Likewise.
20646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20648 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20649 Minor optimizations. Pretty printing. Remove cruft.
20650 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20652 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20653 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20654 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20655 * sysdeps/i386/fpu/e_asin.S: Likewise.
20656 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20657 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20658 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20659 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20663 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20664 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20665 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20666 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20667 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20668 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20669 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20670 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20671 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20672 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20673 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20674 * sysdeps/i386/fpu/e_log.S: Likewise.
20675 * sysdeps/i386/fpu/e_log10.S: Likewise.
20676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20678 * sysdeps/i386/fpu/e_log2.S: Likewise.
20679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20681 * sysdeps/i386/fpu/e_logf.S: Likewise.
20682 * sysdeps/i386/fpu/e_logl.S: Likewise.
20683 * sysdeps/i386/fpu/e_pow.S: Likewise.
20684 * sysdeps/i386/fpu/e_powf.S: Likewise.
20685 * sysdeps/i386/fpu/e_powl.S: Likewise.
20686 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20687 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20688 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20692 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20693 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20694 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20721 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20724 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20726 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20727 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20729 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20730 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20731 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20732 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20780 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20783 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20784 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20786 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20787 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20788 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20789 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20790 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20791 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20792 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20793 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20794 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20795 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20796 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20797 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20798 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20803 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20805 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20806 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20807 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20808 (__isnanf): Likewise.
20809 (__isinf_ns): Likewise.
20810 (__isinf_nsf): Likewise.
20811 (__finite): Likewise.
20812 (__finitef): Likewise.
20813 (__ieee754_sqrt): Define as macro.
20814 (__ieee754_sqrtf): Define as macro.
20815 (__ieee754_sqrtl): Define as macro.
20816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20817 inlined copy.
20818 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20819 __FINITE_MATH_ONLY__ consistent.
20820 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20821
12cc2fcd
AS
208222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20823
a843a204
AS
20824 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20825 of rawmemchr.
20826
12cc2fcd
AS
20827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20828
c853acd5
UD
208292011-10-09 Ulrich Drepper <drepper@gmail.com>
20830
20831 * po/ja.po: Update from translation team.
20832
c658d255
RM
208332011-10-08 Roland McGrath <roland@hack.frob.com>
20834
110946e4
RM
20835 * locale/programs/locarchive.c (prepare_address_space): New function.
20836 (create_archive, enlarge_archive, open_archive): Use it.
20837
50604220
RM
20838 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20839 inside [SHARED], where it is used.
20840
c658d255
RM
20841 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20842
20843 * nss/getent.c (netgroup_keys): Remove unused variable.
20844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20845
6a621eb7
UD
208462011-10-08 Ulrich Drepper <drepper@gmail.com>
20847
7edb55ce
UD
20848 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20854 * math/Makefile (libm-calls): Add s_isinf_ns.
20855 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20856 * math/multc3.c: Likewise.
20857 * math/s_casin.c: Likewise.
20858 * math/s_casinf.c: Likewise.
20859 * math/s_casinl.c: Likewise.
20860 * math/s_ccos.c: Likewise.
20861 * math/s_ccosf.c: Likewise.
20862 * math/s_ccosl.c: Likewise.
20863 * math/s_ctan.c: Likewise.
20864 * math/s_ctanf.c: Likewise.
20865 * math/s_ctanh.c: Likewise.
20866 * math/s_ctanhf.c: Likewise.
20867 * math/s_ctanhl.c: Likewise.
20868 * math/s_ctanl.c: Likewise.
20869 * math/w_fmod.c: Likewise.
20870 * math/w_fmodf.c: Likewise.
20871 * math/w_fmodl.c: Likewise.
20872 * math/w_remainder.c: Likewise.
20873 * math/w_remainderf.c: Likewise.
20874 * math/w_remainderl.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20876 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20879 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20880 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20881 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20882 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20883
187da0ae
UD
20884 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20885 of the number.
20886 * stdio-common/printf_fphex.c: Likewise.
20887 * stdio-common/printf_size.c: Likewise.
20888
9277c064
UD
20889 * math/e_exp10.c: Include math_private.h using <...> not "...".
20890 * math/e_exp10f.c: Likewise.
20891 * math/e_exp10l.c: Likewise.
20892 * math/e_exp2l.c: Likewise.
20893 * math/e_j0l.c: Likewise.
20894 * math/e_j1l.c: Likewise.
20895 * math/e_jnl.c: Likewise.
20896 * math/e_lgammal_r.c: Likewise.
20897 * math/e_rem_pio2l.c: Likewise.
20898 * math/e_scalb.c: Likewise.
20899 * math/e_scalbf.c: Likewise.
20900 * math/e_scalbl.c: Likewise.
20901 * math/k_cosl.c: Likewise.
20902 * math/k_sinl.c: Likewise.
20903 * math/k_tanl.c: Likewise.
20904 * math/s_cacoshf.c: Likewise.
20905 * math/s_catan.c: Likewise.
20906 * math/s_catanf.c: Likewise.
20907 * math/s_catanh.c: Likewise.
20908 * math/s_catanhf.c: Likewise.
20909 * math/s_catanhl.c: Likewise.
20910 * math/s_catanl.c: Likewise.
20911 * math/s_ccosh.c: Likewise.
20912 * math/s_ccoshf.c: Likewise.
20913 * math/s_ccoshl.c: Likewise.
20914 * math/s_cexp.c: Likewise.
20915 * math/s_cexpf.c: Likewise.
20916 * math/s_cexpl.c: Likewise.
20917 * math/s_clog.c: Likewise.
20918 * math/s_clog10.c: Likewise.
20919 * math/s_clog10f.c: Likewise.
20920 * math/s_clog10l.c: Likewise.
20921 * math/s_clogf.c: Likewise.
20922 * math/s_clogl.c: Likewise.
20923 * math/s_csin.c: Likewise.
20924 * math/s_csinf.c: Likewise.
20925 * math/s_csinh.c: Likewise.
20926 * math/s_csinhf.c: Likewise.
20927 * math/s_csinhl.c: Likewise.
20928 * math/s_csinl.c: Likewise.
20929 * math/s_csqrt.c: Likewise.
20930 * math/s_csqrtf.c: Likewise.
20931 * math/s_csqrtl.c: Likewise.
20932 * math/s_ctan.c: Likewise.
20933 * math/s_ctanf.c: Likewise.
20934 * math/s_ctanh.c: Likewise.
20935 * math/s_ctanhf.c: Likewise.
20936 * math/s_ctanhl.c: Likewise.
20937 * math/s_ctanl.c: Likewise.
20938 * math/s_ldexp.c: Likewise.
20939 * math/s_ldexpf.c: Likewise.
20940 * math/s_ldexpl.c: Likewise.
20941 * math/s_significand.c: Likewise.
20942 * math/s_significandf.c: Likewise.
20943 * math/s_significandl.c: Likewise.
20944 * math/w_acos.c: Likewise.
20945 * math/w_acosf.c: Likewise.
20946 * math/w_acosh.c: Likewise.
20947 * math/w_acoshf.c: Likewise.
20948 * math/w_acoshl.c: Likewise.
20949 * math/w_acosl.c: Likewise.
20950 * math/w_asin.c: Likewise.
20951 * math/w_asinf.c: Likewise.
20952 * math/w_asinl.c: Likewise.
20953 * math/w_atan2.c: Likewise.
20954 * math/w_atan2f.c: Likewise.
20955 * math/w_atan2l.c: Likewise.
20956 * math/w_atanh.c: Likewise.
20957 * math/w_atanhf.c: Likewise.
20958 * math/w_atanhl.c: Likewise.
20959 * math/w_cosh.c: Likewise.
20960 * math/w_coshf.c: Likewise.
20961 * math/w_coshl.c: Likewise.
20962 * math/w_dremf.c: Likewise.
20963 * math/w_exp10.c: Likewise.
20964 * math/w_exp10f.c: Likewise.
20965 * math/w_exp10l.c: Likewise.
20966 * math/w_exp2.c: Likewise.
20967 * math/w_exp2f.c: Likewise.
20968 * math/w_fmod.c: Likewise.
20969 * math/w_fmodf.c: Likewise.
20970 * math/w_fmodl.c: Likewise.
20971 * math/w_hypot.c: Likewise.
20972 * math/w_hypotf.c: Likewise.
20973 * math/w_hypotl.c: Likewise.
20974 * math/w_j0.c: Likewise.
20975 * math/w_j0f.c: Likewise.
20976 * math/w_j0l.c: Likewise.
20977 * math/w_j1.c: Likewise.
20978 * math/w_j1f.c: Likewise.
20979 * math/w_j1l.c: Likewise.
20980 * math/w_jn.c: Likewise.
20981 * math/w_jnf.c: Likewise.
20982 * math/w_jnl.c: Likewise.
20983 * math/w_lgamma.c: Likewise.
20984 * math/w_lgamma_r.c: Likewise.
20985 * math/w_lgammaf.c: Likewise.
20986 * math/w_lgammaf_r.c: Likewise.
20987 * math/w_lgammal.c: Likewise.
20988 * math/w_lgammal_r.c: Likewise.
20989 * math/w_log.c: Likewise.
20990 * math/w_log10.c: Likewise.
20991 * math/w_log10f.c: Likewise.
20992 * math/w_log10l.c: Likewise.
20993 * math/w_log2.c: Likewise.
20994 * math/w_log2f.c: Likewise.
20995 * math/w_log2l.c: Likewise.
20996 * math/w_logf.c: Likewise.
20997 * math/w_logl.c: Likewise.
20998 * math/w_pow.c: Likewise.
20999 * math/w_powf.c: Likewise.
21000 * math/w_powl.c: Likewise.
21001 * math/w_remainder.c: Likewise.
21002 * math/w_remainderf.c: Likewise.
21003 * math/w_remainderl.c: Likewise.
21004 * math/w_scalb.c: Likewise.
21005 * math/w_scalbf.c: Likewise.
21006 * math/w_scalbl.c: Likewise.
21007 * math/w_sinh.c: Likewise.
21008 * math/w_sinhf.c: Likewise.
21009 * math/w_sinhl.c: Likewise.
21010 * math/w_sqrt.c: Likewise.
21011 * math/w_sqrtf.c: Likewise.
21012 * math/w_sqrtl.c: Likewise.
21013 * math/w_tgamma.c: Likewise.
21014 * math/w_tgammaf.c: Likewise.
21015 * math/w_tgammal.c: Likewise.
21016
6a621eb7
UD
21017 * po/ja.po: Update from translation team.
21018
bf582445
AJ
210192011-09-29 Andreas Jaeger <aj@suse.de>
21020
f9efbf3a
AJ
21021 [BZ #13179]
21022 * sunrpc/netname.c (netname2host): Fix logic.
21023
bf582445
AJ
21024 [BZ #6779]
21025 [BZ #6783]
21026 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21027 correctly.
21028 * math/w_remainder.c (__remainder): Likewise.
21029 * math/w_remainderf.c (__remainderf): Likewise.
21030 * math/libm-test.inc (remainder_test): Add test cases.
21031
48693bea
AK
210322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21033
21034 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21035 sdiv_qrnnd.
21036
42622229
LD
210372011-10-07 Ulrich Drepper <drepper@gmail.com>
21038
21039 * string/test-memcmp.c: Avoid unncessary #defines.
21040 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21041
093ecf92
LD
210422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21043
21044 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21045 Use new sse2 version for core i3 - i7 as it's faster
21046 than sse42 version.
21047 (bit_Prefer_PMINUB_for_stringop): New.
21048 * sysdeps/x86_64/rawmemchr.S: Update.
21049 Replace with faster SSE2 version.
21050 * sysdeps/x86_64/memrchr.S: New file.
21051 * sysdeps/x86_64/memchr.S: Update.
21052 Replace with faster SSE2 version.
21053
fde56e5c
MP
210542011-09-12 Marek Polacek <mpolacek@redhat.com>
21055
21056 * elf/dl-load.c (lose): Add cast to avoid warning.
21057
21fd49a9
UD
210582011-10-07 Ulrich Drepper <drepper@gmail.com>
21059
5a06e643
UD
21060 * po/ca.po: Update from translation team.
21061
684ae515
UD
21062 * inet/getnetgrent_r.c: Hook up nscd.
21063 * nscd/Makefile (routines): Add nscd_netgroup.
21064 (nscd-modules): Add netgroupcache.
21065 (CFLAGS-netgroupcache.c): Define.
21066 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21067 (cache_search): Add const to second parameter.
21068 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21069 INNETGR.
21070 (dbs): Add netgrdb entry.
21071 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21072 (verify_persistent_db): Handle netgrdb.
21073 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21074 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21075 GETFDNETGR.
21076 (netgroup_response_header): Define.
21077 (innetgroup_response_header): Define.
21078 (datahead): Add netgroup_response_header and innetgroup_response_header
21079 elements.
21080 * nscd/nscd.conf: Add entries for netgroup cache.
21081 * nscd/nscd.h (dbtype): Add netgrdb.
21082 (_PATH_NSCD_NETGROUP_DB): Define.
21083 (netgroup_iov_disabled): Declare.
21084 (xmalloc, xcalloc, xrealloc): Move declarations here.
21085 (cache_search): Adjust prototype.
21086 Add netgroup-related prototypes.
21087 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21088 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21089 (__nscd_innetgr): Declare.
21090 * nscd/selinux.c (perms): Use access_vector_t as element type and
21091 add netgroup-related initializers.
21092 * nscd/netgroupcache.c: New file.
21093 * nscd/nscd_netgroup.c: New file.
21094 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21095 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21096 For four parameters use innetgr.
21097 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21098 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21099 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21100 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21101
21fd49a9
UD
21102 * nscd/connections.c (register_traced_file): Don't register file
21103 for disabled databases.
21104
054c0457
UD
211052011-10-06 Ulrich Drepper <drepper@gmail.com>
21106
32b63198
UD
21107 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21108
054c0457
UD
21109 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21110 from tree and freeing node.
21111
64031225
JO
211122011-09-25 Jiri Olsa <jolsa@redhat.com>
21113
21114 * nss/nsswitch.c (__nss_database_lookup): Handle
21115 nss_parse_service_list out of memory case.
21116
0490345c
JO
211172011-09-15 Jiri Olsa <jolsa@redhat.com>
21118
21119 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21120 out of memory case.
21121
3a62d00d
AS
211222011-10-04 Andreas Schwab <schwab@redhat.com>
21123
21124 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21125 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21126 pass it down.
21127 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21128 elf_machine_rela, elf_machine_lazy_rel.
21129 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21130 (ELF_DYNAMIC_DO_REL): Likewise.
21131 (ELF_DYNAMIC_DO_RELA): Likewise.
21132 (ELF_DYNAMIC_RELOCATE): Likewise.
21133 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21134 to ELF_DYNAMIC_DO_REL.
21135 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21136 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21137 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21138 elf_machine_rela.
21139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21140 skip_ifunc, don't call ifunc function if non-zero.
21141 (elf_machine_rela): Likewise.
21142 (elf_machine_lazy_rel): Likewise.
21143 (elf_machine_lazy_rela): Likewise.
21144 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21145 (elf_machine_lazy_rel): Likewise.
21146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21147 Likewise.
21148 (elf_machine_lazy_rel): Likewise.
21149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21150 Likewise.
21151 (elf_machine_lazy_rel): Likewise.
21152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21153 (elf_machine_lazy_rel): Likewise.
21154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21155 (elf_machine_lazy_rel): Likewise.
21156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21157 (elf_machine_lazy_rel): Likewise.
21158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21159 (elf_machine_lazy_rel): Likewise.
21160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21161 (elf_machine_lazy_rel): Likewise.
21162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21163 (elf_machine_lazy_rel): Likewise.
21164
68577918
UD
211652011-09-28 Ulrich Drepper <drepper@gmail.com>
21166
21167 * nss/nss_files/files-init.c (_nss_files_init): Use static
21168 initialization for all the *_traced_file variables.
21169
68822d74
AS
211702011-09-28 Andreas Schwab <schwab@redhat.com>
21171
21172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21173
2056100b
RM
211742011-09-27 Roland McGrath <roland@hack.frob.com>
21175
21176 [BZ #13226]
21177 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21178
32c76b63
AS
211792011-09-27 Andreas Schwab <schwab@redhat.com>
21180
21181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21182 Reread the line before reparsing it.
21183
bf972c9d
AS
211842011-09-26 Andreas Schwab <schwab@redhat.com>
21185
21186 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21187
e057a1b5
JM
211882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21189 Maxim Kuvyrkov <maxim@codesourcery.com>
21190 Joseph Myers <joseph@codesourcery.com>
21191
21192 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21193 if needed for __stack_chk_guard.
21194
bc7e1c36
RM
211952011-09-19 Roland McGrath <roland@hack.frob.com>
21196
ecb1482f
RM
21197 * sysdeps/posix/spawni.c (script_execute): Always define it.
21198 It will be optimized away if unused.
21199 (maybe_script_execute): New function.
21200 (__spawni): Call it.
21201
bc7e1c36
RM
21202 * Makerules: Don't include tls.make.
21203 (config-tls): Always set to thread.
21204 * tls.make.c: File removed.
21205
1c3b002b
MF
212062011-09-19 Mike Frysinger <vapier@gentoo.org>
21207
21208 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21209 * config.make.in (CPPFLAGS-config): New substituted variable.
21210
2840865d
UD
212112011-09-15 Ulrich Drepper <drepper@gmail.com>
21212
88738eb6
UD
21213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21214
cbf645a6 21215 [BZ #13192]
2840865d
UD
21216 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21217 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21218
b402e91a
RM
212192011-09-15 Roland McGrath <roland@hack.frob.com>
21220
21221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21222 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21224 (CALL_FAIL): Likewise.
21225 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21226 (CALL_FAIL): Macro removed.
21227 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21228
4c1a1f71
UD
212292011-09-15 Ulrich Drepper <drepper@gmail.com>
21230
21231 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21232 for __FINITE_MATH_ONLY__ == 1.
21233
edc121be
AS
212342011-09-15 Andreas Schwab <schwab@redhat.com>
21235
21236 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21237 __ieee754_sqrt instead of sqrt.
21238 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21239 __ieee754_sqrtf instead of sqrtf.
21240 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21241 __floorf instead of floorf.
21242 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21243 __floorf, __truncf instead of floorf, truncf.
21244
cd205654
UD
212452011-09-14 Ulrich Drepper <drepper@gmail.com>
21246
ee4d0315
UD
21247 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21248
cd205654
UD
21249 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21250 __extern_always_inline.
21251 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21252 32-bit.
21253
48b67d71
AS
212542011-09-14 Andreas Schwab <schwab@redhat.com>
21255
21256 * elf/rtld.c (dl_main): Also relocate in dependency order when
21257 doing symbol dependency testing.
21258
1ae12c75
AS
212592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21260
21261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21262 Always define `refsym'.
21263
995a80df
AS
212642011-09-13 Andreas Schwab <schwab@redhat.com>
21265
e529793b
AS
21266 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21267 (__FD_ELT): Renamed from __FDELT.
21268 * misc/bits/select2.h (__FD_ELT): Likewise.
21269 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21270 __FD_MASK instead of __FDELT, __FDMASK.
21271 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21272 Likewise.
21273 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21274 Likewise.
21275
52d4fef8
AS
21276 * elf/Makefile (gen-ldd): Fix pattern.
21277
995a80df
AS
21278 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21279 (init_tls): Likewise.
21280
8682f8b0
UD
212812011-09-12 Ulrich Drepper <drepper@gmail.com>
21282
21283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21284
de82006d
AS
212852011-09-12 Andreas Schwab <schwab@redhat.com>
21286
a7c8e6a1
AS
21287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21288 `struct cmsghdr *' instead of `void *'.
21289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21290 Likewise.
21291
0f31fe77
AS
212922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21293
21294 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21295 if non-absolute.
21296 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21297 ldd_rewrite_script.
0f31fe77 21298
32b4c839
UD
212992011-09-11 Ulrich Drepper <drepper@gmail.com>
21300
83cd1420
UD
21301 * configure.in: Remove --with-tls option.
21302 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21303 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21304 out in case it is missing.
21305 * sysdeps/ia64/elf/configure.in: Likewise.
21306 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21307 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21308 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21309 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21310 * sysdeps/sh/elf/configure.in: Likewise.
21311 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21313 * sysdeps/x86_64/elf/configure.in: Likewise.
21314 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21315 * sysdeps/mach/hurd/tls.h: Likewise.
21316
633f745d
UD
21317 [BZ #13067]
21318 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21319
f318beb8
UD
21320 [BZ #13090]
21321 * configure.in: Fix use of AC_INIT.
21322
32b4c839
UD
21323 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21324
3ce1f295
UD
213252011-09-10 Ulrich Drepper <drepper@gmail.com>
21326
bb016596
UD
21327 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21328 __set_errno.
8e58439c
UD
21329 * malloc/hooks.c: Likewise.
21330
aebae053 21331 [BZ #11929]
02d46fc4
UD
21332 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21333 variables statically.
21334 (narenas): Initialize.
21335 (list_lock): Initialize.
bb016596
UD
21336 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21337 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21338 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21339 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21340 Add initializers to main_arena and mp_.
21341 (malloc_state): Remove pagesize member. Change all users to use
21342 GLRO(dl_pagesize).
21343
21344 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21345 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21346 is always initialized.
21347
22a89187
UD
21348 * malloc/malloc.c: Removed unused configurations and dead code.
21349 * malloc/arena.c: Likewise.
21350 * malloc/hooks.c: Likewise.
02d46fc4 21351 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21352
d063d164
UD
21353 * include/tls.h: Removed. USE___THREAD must always be defined.
21354 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21355 * elf/dl-libc.c: Likewise.
21356 * elf/dl-tsd.c: Likewise.
21357 * include/errno.h: Likewise.
21358 * include/netdb.h: Likewise.
21359 * include/resolv.h: Likewise.
21360 * inet/herrno-loc.c: Likewise.
21361 * inet/herrno.c: Likewise.
21362 * malloc/arena.c: Likewise.
21363 * malloc/hooks.c: Likewise.
21364 * malloc/malloc.c: Likewise.
21365 * resolv/res-state.c: Likewise.
21366 * resolv/res_libc.c: Likewise.
21367 * sysdeps/i386/dl-machine.h: Likewise.
21368 * sysdeps/ia64/dl-machine.h: Likewise.
21369 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21371 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21372 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21373 * sysdeps/sh/dl-machine.h: Likewise.
21374 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21376 * sysdeps/unix/i386/sysdep.S: Likewise.
21377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21378 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21383 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21388 * sysdeps/x86_64/dl-machine.h: Likewise.
21389 * tls.make.c: Likewise.
21390
3ce1f295
UD
21391 * configure.in: Remove --with-__thread option. Make tests for
21392 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21393 tls_model attribute fail if no support is available. Remove
21394 USE_IN_LIBIO.
21395 * Makeconfig: Adjust for dropped configure option. All features are
21396 now mandatory.
21397 * Makerules: Likewise.
21398 * Versions.def: Likewise.
21399 * argp/argp-fmtstream.c: Likewise.
21400 * argp/argp-fmtstream.h: Likewise.
21401 * argp/argp-help.c: Likewise.
21402 * assert/assert.c: Likewise.
21403 * config.h.in: Likewise.
21404 * config.make.in: Likewise.
21405 * configure: Likewise.
21406 * configure.in: Likewise.
21407 * csu/Versions: Likewise.
21408 * csu/init.c: Likewise.
21409 * elf/tst-audit2.c: Likewise.
21410 * elf/tst-tls10.c: Likewise.
21411 * elf/tst-tls10.h: Likewise.
21412 * elf/tst-tls11.c: Likewise.
21413 * elf/tst-tls12.c: Likewise.
21414 * elf/tst-tls14.c: Likewise.
21415 * elf/tst-tlsmod11.c: Likewise.
21416 * elf/tst-tlsmod12.c: Likewise.
21417 * elf/tst-tlsmod13.c: Likewise.
21418 * elf/tst-tlsmod13a.c: Likewise.
21419 * elf/tst-tlsmod14a.c: Likewise.
21420 * elf/tst-tlsmod15b.c: Likewise.
21421 * elf/tst-tlsmod16a.c: Likewise.
21422 * elf/tst-tlsmod16b.c: Likewise.
21423 * elf/tst-tlsmod7.c: Likewise.
21424 * elf/tst-tlsmod8.c: Likewise.
21425 * elf/tst-tlsmod9.c: Likewise.
21426 * gmon/gmon.c: Likewise.
21427 * grp/fgetgrent_r.c: Likewise.
21428 * grp/putgrent.c: Likewise.
21429 * hurd/fopenport.c: Likewise.
21430 * include/libc-symbols.h: Likewise.
21431 * include/tls.h: Likewise.
21432 * intl/gettextP.h: Likewise.
21433 * intl/loadinfo.h: Likewise.
21434 * locale/global-locale.c: Likewise.
21435 * locale/localeinfo.h: Likewise.
21436 * mach/devstream.c: Likewise.
21437 * malloc/arena.c: Likewise.
21438 * malloc/set-freeres.c: Likewise.
21439 * misc/err.c: Likewise.
21440 * misc/getttyent.c: Likewise.
21441 * misc/mntent_r.c: Likewise.
21442 * posix/getopt.c: Likewise.
21443 * posix/wordexp.c: Likewise.
21444 * pwd/fgetpwent_r.c: Likewise.
21445 * resolv/Versions: Likewise.
21446 * resolv/res_hconf.c: Likewise.
21447 * shadow/fgetspent_r.c: Likewise.
21448 * shadow/putspent.c: Likewise.
21449 * stdio-common/printf_fphex.c: Likewise.
21450 * stdio-common/tmpfile.c: Likewise.
21451 * stdlib/abort.c: Likewise.
21452 * stdlib/fmtmsg.c: Likewise.
21453 * sunrpc/auth_unix.c: Likewise.
21454 * sunrpc/clnt_perr.c: Likewise.
21455 * sunrpc/clnt_tcp.c: Likewise.
21456 * sunrpc/clnt_udp.c: Likewise.
21457 * sunrpc/clnt_unix.c: Likewise.
21458 * sunrpc/openchild.c: Likewise.
21459 * sunrpc/svc_simple.c: Likewise.
21460 * sunrpc/svc_tcp.c: Likewise.
21461 * sunrpc/svc_udp.c: Likewise.
21462 * sunrpc/svc_unix.c: Likewise.
21463 * sunrpc/xdr.c: Likewise.
21464 * sunrpc/xdr_array.c: Likewise.
21465 * sunrpc/xdr_rec.c: Likewise.
21466 * sunrpc/xdr_ref.c: Likewise.
21467 * sunrpc/xdr_stdio.c: Likewise.
21468
1248c1c4
PB
214692011-09-09 Ulrich Drepper <drepper@gmail.com>
21470
21471 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21472
214732011-07-03 Andreas Jaeger <aj@suse.de>
21474
21475 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21476 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21477 regenerate with gen-libm-tests.pl.
21478
214792010-05-12 Petr Baudis <pasky@suse.cz>
21480
21481 [BZ #11589]
21482 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21483 around j0() zero points by switching to j1().
21484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21488
f22e1074
UD
214892011-09-09 Ulrich Drepper <drepper@gmail.com>
21490
f19009c1
UD
21491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21492 instead of 0.
21493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21494 instead of 0.
f19009c1
UD
21495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21496 Patch in part by Pavel Roskin <proski@gnu.org>.
21497
3f8cc204
UD
21498 [BZ #13138]
21499 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21500 realloc.
21501 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21502 Free memory block if necessary.
21503
f22e1074
UD
21504 [BZ #12847]
21505 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21506 be NULL. Don't lock in this case.
21507
0a2349f9
RM
215082011-09-09 Roland McGrath <roland@hack.frob.com>
21509
21510 * elf/elf.h (ELFOSABI_GNU): New macro.
21511 (ELFOSABI_LINUX): Define to that.
21512
f3cdd467
DZ
215132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21514
21515 * string/strncat.c (strncat): Undef the symbol in case it has been
21516 defined in bits/string.h.
21517
74718d13
UD
215182011-09-09 Ulrich Drepper <drepper@gmail.com>
21519
633e9e0f
UD
21520 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21521
0a2349f9 21522 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21523 link map.
21524
f9924780
AJ
215252011-08-17 Andreas Jaeger <aj@suse.de>
21526
21527 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21528
7f5517aa
PP
215292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21530 Ian Lance Taylor <iant@google.com>
21531
21532 * math/libm-test.inc (lround_test): New testcase.
21533 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21534
762011fe
UD
215352011-09-08 Ulrich Drepper <drepper@gmail.com>
21536
92963737
UD
21537 * Makefile: Remove support for automatic cvs check-ins.
21538 * Makerules: Likewise.
21539 * config.make.in: Likewise.
21540 * configure.in: Likewise.
21541 * intl/Makefile: Likewise.
21542 * locale/Makefile: Likewise.
21543 * po/Makefile: Likewise.
21544 * posix/Makefile: Likewise.
21545 * sysdeps/gnu/Makefile: Likewise.
21546 * sysdeps/mach/hurd/Makefile: Likewise.
21547 * sysdeps/sparc/sparc32/Makefile: Likewise.
21548
b0727fd8
JS
21549 [BZ #13118]
21550 * posix/Makefile (bug-regex32-ENV): Define.
21551 Patch by John Stanley <jpsinthemix@verizon.net>.
21552
a0f33f99
UD
21553 * misc/Makefile (headers): Add bits/select2.h.
21554 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21555 * misc/bits/select2.h: New file.
21556 * include/bits/select2.h: New file.
21557 * debug/Makefile (routines): Add fdelt_chk.
21558 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21559 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21560 FD_ISSET.
21561 * debug/fdelt_chk.c: New file.
21562
762011fe
UD
21563 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21564 * wcsmbs/test-wmemcmp.c: Likewise.
21565 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21566 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21567
215682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21569
21570 * string/Makefile (strop-tests): Add memcmp.
21571 * string/test-wmemcmp.c: New file.
21572 * string/test-memcmp.c: Add wmemcmp support.
21573
7f513ec8
RM
215742011-09-08 Roland McGrath <roland@hack.frob.com>
21575
0442afb4
RM
21576 [BZ #13153]
21577 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21578 2011-07-19 change.
21579
7f513ec8
RM
21580 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21581 garbage value in a __mach_port_mod_refs call in the cases of the
21582 task-self and thread-self ports.
21583
a12b2239
ST
215842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21585
21586 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21587
610f9ab4
AS
215882011-09-08 Andreas Schwab <schwab@redhat.com>
21589
7f513ec8 21590 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21591
48882a1a
LD
215922011-09-07 Ulrich Drepper <drepper@gmail.com>
21593
b49865be
UD
21594 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21595
fdc86bc9
UD
21596 * elf/dl-libc.c (dlerror_run): Pass back error code from
21597 dl_catch_error.
21598
c966526a
UD
21599 [BZ #13123]
21600 * elf/dl-load.c (lose): Free l_origin if it is valid.
21601
48882a1a
LD
21602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21603 names.
21604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21609 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21610
77a2a8b4
AZ
216112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21612
21613 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21614 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21616 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21617 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21618 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21619 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21620 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21621 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21622 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21623
24f579d8
AM
216242011-08-15 Alan Modra <amodra@gmail.com>
21625
21626 [BZ #13092]
21627 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21628 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21629 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21630 ppc_mcount to static-only-routines.
21631 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21632 __mcount_internal.
21633 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21634 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21635
3d4837df
UD
216362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21637
21638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21639 for finite and infinity parameters.
21640
22700377
WS
216412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21642
21643 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21644 and add nop instructions for throughput optimization.
21645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21646
5025581e
WS
216472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21648
21649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21650 aligned copy for power7 with vector-scalar instructions.
21651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21652
08a300c9
L
216532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21654
21655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21656 AVX check.
21657
59178ef9
AS
216582011-09-07 Andreas Schwab <schwab@redhat.com>
21659
21660 [BZ #13144]
21661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21662 last change.
21663
e38ba7ab
UD
216642011-09-07 Ulrich Drepper <drepper@gmail.com>
21665
21666 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21667 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21668 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21670 clock_gettime.
21671
d53a73ac
UD
216722011-09-06 Ulrich Drepper <drepper@gmail.com>
21673
fc8bffcc
UD
21674 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21675 Forgot to demangle the pointer.
21676
ceaa0c5d
UD
21677 * sysdeps/i386/sysdep.h: Define atom_text_section.
21678 * sysdeps/x86_64/sysdep.h: Likewise.
21679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21680 section with atom_text_section.
21681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21686
a77d3c17
UD
21687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21689 already be defined. Change to take two parameters and don't assign
21690 result to variable. Adjust all users.
21691 Define INTERNAL_GETTIME if not already defined.
21692 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21693 call.
21694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21695 HAVE_CLOCK_GETTIME_VSYSCALL.
21696 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21697
d53a73ac
UD
21698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21699 gettimeofday vsyscall, just use time.
21700
a8f84144
AS
217012011-09-06 Andreas Schwab <schwab@redhat.com>
21702
21703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21704 <errno.h>.
21705
ef606249
UD
217062011-09-06 Ulrich Drepper <drepper@gmail.com>
21707
21708 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21709 syscall on x86-64.
21710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21711 syscall.
21712 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21714 syscall if possible.
21715
6585cb60
UD
217162011-09-05 Ulrich Drepper <drepper@gmail.com>
21717
21718 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21719 e_ident. Don't pass to find_mapsXX.
21720 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21721
a5f524e4
LD
217222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21723
21724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21725 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21726 * sysdeps/x86_64/multiarch/strchr.S: Update.
21727 Check bit_slow_BSF bit.
21728 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21730 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21731
554881ef
UD
217322011-09-05 Ulrich Drepper <drepper@gmail.com>
21733
d96de963
UD
21734 [BZ #13134]
21735 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21736 before glibc 2.15.
21737 (tryshell): Define.
21738 (__spawni): Change last parameter to be flag. Test
21739 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21740 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21741 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21742 * posix/spawni.c: Likewise.
21743 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21744 * posix/spawnp.c: Likewise. Change normal version to use
21745 SPAWN_XFLAGS_USE_PATH.
21746 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21747 SPAWN_XFLAGS_TRY_SHELL.
21748
d48e5868
UD
21749 [BZ #13150]
21750 * posix/glob.h: Remove gcc 1.x support.
21751
554881ef
UD
21752 [BZ #13068]
21753 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21754
693fb948
LD
217552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21756
21757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21758 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21759 strrchr-sse2-bsf
21760 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21761 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21764 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21766
1b48c537
UD
217672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21768
49d42c37
UD
21769 * sysdeps/x86_64/wcscmp.S: New file.
21770
1b48c537
UD
21771 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21772 wcscmp-c wcscmp-sse2
21773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21774 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21775 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21776 * wcsmbs/wcscmp.c: Allow renaming.
21777
15c95c5d
DM
217782011-09-05 David S. Miller <davem@davemloft.net>
21779
21780 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21781 stack slot, rather than the struct return pointer slot.
21782 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21783 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21785 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21786
2f0ad8f3
UD
217872011-09-05 Ulrich Drepper <drepper@gmail.com>
21788
d88ae418
UD
21789 * po/ja.po: Update from translation team.
21790
2f0ad8f3
UD
21791 [BZ #13144]
21792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21793 kernel in 64-bit binaries.
21794
5f4318d1
DM
217952011-09-01 David S. Miller <davem@davemloft.net>
21796
21797 * elf/elf.h (HWCAP_SPARC_*): Move to..
21798 * sysdeps/sparc/sysdep.h: this new file and add new values.
21799 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21800 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21801 _DL_HWCAP_COUNT to 24.
21802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21803 entries.
21804 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21805 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21806 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21808 instead of magic constants.
21809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21810
3ba57516
DM
218112011-08-31 David S. Miller <davem@davemloft.net>
21812
21813 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21815 Reimplement to do errno handling inline.
21816 (SYSCALL_ERROR_HANDLER): New macro.
21817 (__SYSCALL_STRING): Do not do errno handling in asm.
21818 (__CLONE_SYSCALL_STRING): Delete.
21819 (__INTERNAL_SYSCALL_STRING): Delete.
21820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21821 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21822 (PSEUDO): Reimplement to do errno handling inline.
21823 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21824 (SYSCALL_ERROR_HANDLER): New macro.
21825 (__SYSCALL_STRING): Do not do errno handling in asm.
21826 (__CLONE_SYSCALL_STRING): Delete.
21827 (__INTERNAL_SYSCALL_STRING): Delete.
21828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21829 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21830 i386.
21831 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21832 (inline_syscall*): Add 'err' argument.
21833 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21834 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21835 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21836 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21837
21838 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21840
2bc17433
AS
218412011-08-30 Andreas Schwab <schwab@redhat.com>
21842
21843 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21844
fbeb5f4d
JO
218452011-08-29 Jiri Olsa <jolsa@redhat.com>
21846
21847 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21848 directive.
21849
ad69cc26
DM
218502011-08-24 David S. Miller <davem@davemloft.net>
21851
21852 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21853
39dd69df
AS
218542011-08-24 Andreas Schwab <schwab@redhat.com>
21855
21856 * elf/Makefile: Add rules to build and run unload8 test.
21857 * elf/unload8.c: New file.
21858 * elf/unload8mod1.c: New file.
21859 * elf/unload8mod1x.c: New file.
21860 * elf/unload8mod2.c: New file.
21861 * elf/unload8mod3.c: New file.
21862
21863 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21864 it wasn't used.
21865
2c0b250a
DM
218662011-08-23 David S. Miller <davem@davemloft.net>
21867
21868 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21869 subtract stack bias.
21870 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21871 %sp not %fp in calculations.
21872 (_JMPBUF_UNWINDS_ADJ): Likewise.
21873
22044b48
DM
21874 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21875 (aio_suspend): Call it to force an exception region around the
21876 AIO_MISC_WAIT() invocation.
21877
2cae4995
AS
218782011-08-23 Andreas Schwab <schwab@redhat.com>
21879
21880 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21881 backslash.
21882
873a772e
AJ
218832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21884
21885 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21886 protection macro.
21887 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21888 and <dl-machine.h>.
21889 (Elf64_FuncDesc): Remove.
21890
25ad0df1
DM
218912011-08-22 David S. Miller <davem@davemloft.net>
21892
21893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21894 sigaltstack check, add missing cfi directives.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21896 missing cfi directives, and sigaltstack handling.
21897
e888bcbe
AS
218982011-08-16 Andreas Schwab <schwab@redhat.com>
21899
21900 [BZ #11724]
21901 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21902 object is seen twice.
21903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21904
21905 * elf/Makefile (distribute): Add tst-initorder2.c.
21906 (tests): Add tst-initorder2.
21907 (modules-names): Add tst-initorder2a tst-initorder2b
21908 tst-initorder2c tst-initorder2d. Add rules to build them.
21909 ($(objpfx)tst-initorder2.out): New rule.
21910 * elf/tst-initorder2.c: New file.
21911 * elf/tst-initorder2.exp: New file.
21912
87162f46
AS
219132011-08-22 Andreas Schwab <schwab@redhat.com>
21914
70538b7f
AS
21915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21916
f55ffe58
AS
21917 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21918 dependencies back to end of function.
21919
87162f46
AS
21920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21921 $(elfobjdir)/ld.so.
21922
91b392a4
UD
219232011-08-21 Ulrich Drepper <drepper@gmail.com>
21924
21925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21926 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21928 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21929 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21930 of __vdso_gettimeofday.
21931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21932 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21933 attribute_hidden.
21934 (_libc_vdso_platform_setup): Remove initialization of
21935 __vdso_gettimeofday and __vdso_time.
21936
5c43483f
UD
219372011-08-20 Ulrich Drepper <drepper@gmail.com>
21938
775a77e7
UD
21939 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21940 and fgetc_unlocked.
21941 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21942 getc_unlocked.
89f447ed 21943
49c74ba9
UD
21944 * elf/dl-open.c (add_to_global): Report additions to the global scope
21945 for LD_DEBUG=scopes.
21946 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21947 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21948
5c43483f
UD
21949 [BZ #13114]
21950 * stdio-common/Makefile (tests): Add bug24.
21951 * stdio-common/bug24.c: New file.
21952
a101b025
AJ
219532011-08-19 Andreas Jaeger <aj@suse.de>
21954
21955 [BZ #13114]
21956 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21957 non-existant file when using close-on-exec mode.
21958
c88f1766
UD
219592011-08-20 Ulrich Drepper <drepper@gmail.com>
21960
0276a718
UD
21961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21962 the very first instruction.
21963
c88f1766
UD
21964 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21965 the CFI state in the end.
21966 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21967 inclusion of dl-trampoline.h.
21968 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21969
51ccffa0
AS
219702011-08-19 Andreas Schwab <schwab@redhat.com>
21971
94d7165f
AS
21972 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21973 expectations for long double.
21974
51ccffa0
AS
21975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21976 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21977
fd708658 219782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21979
21980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21981 artificual limit depends upon the system page size.
21982
44f0a71e
UD
219832011-08-17 Ulrich Drepper <drepper@gmail.com>
21984
21985 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21986 * resolv/Makefile: Define CFLAGS-libresolv.
21987
8de79a24
AS
219882011-08-17 Andreas Schwab <schwab@redhat.com>
21989
21990 * nss/makedb.c (compute_tables): Make variables used in nested
21991 function static.
21992
27724598
UD
219932011-08-17 Ulrich Drepper <drepper@gmail.com>
21994
c5305d88
UD
21995 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21996 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21997 if buffer was too small.
21998
27724598
UD
21999 * elf/pldd.c (main): Attach to all threads in the process.
22000 Rewrite /proc handling to use *at functions.
22001
076fe015
UD
220022011-08-16 Ulrich Drepper <drepper@gmail.com>
22003
174baab3
UD
22004 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22005 specifies first scope to show.
22006 (dl_open_worker): Update callers. Move printing scope of new
22007 object to before the relocation.
44f0a71e 22008 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22009 * sysdeps/generic/ldsodefs.h: Update declaration.
22010
076fe015
UD
22011 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22012 string for the scope number.
22013
a60df2c3
UD
220142011-08-14 Ulrich Drepper <drepper@gmail.com>
22015
22016 * nscd/servicescache.c (cache_addserv): Make sure written is always
22017 initialized.
22018
5e4287d1
RM
220192011-08-14 Roland McGrath <roland@hack.frob.com>
22020
85ae0589
RM
22021 * sysdeps/i386/i486/bits/atomic.h
22022 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22023 statement expression, so as to suppress "set but not used" warning.
22024 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22025
69f63097
RM
22026 * string/strncat.c (STRNCAT): Use prototype definition.
22027
675456ef
RM
22028 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22029 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22030 -Iprograms here.
22031 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22032 (localedef-modules): Add localedef.
22033 (locale-modules): Add locale.
22034
5e4287d1
RM
22035 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22036 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22037 to avoid a warning.
22038
9c96ff23
DM
220392011-08-14 David S. Miller <davem@davemloft.net>
22040
22041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22042 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22043
f9ddf089
UD
220442011-08-13 Ulrich Drepper <drepper@gmail.com>
22045
44f0a71e 22046 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22047 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22048 * elf/rtld.c (dl_main): Set l_name of vDSO.
22049 Call _dl_show_scope when DL_DEBUG_SCOPES.
22050 (process_dl_debug): Recognize scopes flag and also set it for all.
22051 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22052 Declare _dl_show_scope.
22053
1dc27704
UD
22054 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22055 (do_dlopen): Pass caller_dlopen to dl_open.
22056 (__libc_dlopen_mode): Initialize caller_dlopen.
22057
f9ddf089
UD
22058 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22059 of libc. Make tolower call locale-independent. Optimize a bit by
22060 using isdigit instead of isalnum.
22061 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22062
9ac533d3
UD
220632011-08-12 Ulrich Drepper <drepper@gmail.com>
22064
22065 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22066 was a dependency or dynamically loaded.
22067
89edf2e9
UD
220682011-08-11 Ulrich Drepper <drepper@gmail.com>
22069
8e999d29
UD
22070 * intl/l10nflist.c: Allow architecture-specific pop function.
22071 * sysdeps/x86_64/l10nflist.c: New file.
22072
89edf2e9
UD
22073 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22074 classification.
22075
14d96785
AS
220762011-08-10 Andreas Schwab <schwab@redhat.com>
22077
22078 * include/dirent.h: Add libc_hidden_proto for scandirat and
22079 scandirat64. Don't declare __scandirat64.
22080 * dirent/scandirat.c: Add libc_hidden_def.
22081 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22082 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22083
6761ac04
DM
220842011-08-10 David S. Miller <davem@davemloft.net>
22085
22086 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22087 enum.
22088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22091
c55fbd1e
UD
220922011-08-09 Ulrich Drepper <drepper@gmail.com>
22093
22094 * Versions.def [libc]: Add GLIBC_2.15.
22095 * dirent/Makefile (routines): Add scandirat and scandirat64.
22096 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22097 GLIBC_2.15.
22098 * dirent/dirent.h: Declare scandirat and scandirat64.
22099 * dirent/scandirat.c: New file.
22100 * dirent/scandirat64.c: New file.
22101 * sysdeps/wordsize-64/scandirat.c: New file.
22102 * sysdeps/wordsize-64/scandirat64.c: New file.
22103 * dirent/opendir.c: Define opendirat.
22104 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22105 using scandirat.
22106 * dirent/scandir64.c: Adjust for scandir.c change.
22107 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22108 __scandirat64, and __scandir_cancel_handler.
22109 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22110 additional parameter and use openat instead of open (outside of ld.so).
22111 Add new __opendir as wrapper around __opendirat.
22112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22113 here without requiring old scandirat implementation.
22114
879165f2
UD
221152011-08-08 Ulrich Drepper <drepper@gmail.com>
22116
22117 * dirent/scandir.c (cancel_handler): Renamed to
22118 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22119 defined. Adjust users.
22120 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22122
cb7e923b
UD
221232011-08-04 Ulrich Drepper <drepper@gmail.com>
22124
16292edd
UD
22125 * string/test-string.h (IMPL): Use __STRING to expand name and then
22126 stringify it.
22127
cb7e923b
UD
22128 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22129 of cleanups.
22130
cff82933
LD
221312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22132
22133 * string/Makefile: Update.
22134 (strop-tests): Append strncat.
22135 * string/test-wcscmp.c: New file.
22136 New comprehensive test for wcscmp.
22137 * string/test-strcmp.c: Update.
22138 (WIDE): New define.
22139
9be9bfcc
AS
221402011-07-22 Andreas Schwab <schwab@redhat.com>
22141
22142 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22143 line.
22144
2e96f1c7
AS
221452011-07-26 Andreas Schwab <schwab@redhat.com>
22146
22147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22148 encoding to ACE if AI_IDN.
22149
85188888
JJ
221502011-08-01 Jakub Jelinek <jakub@redhat.com>
22151
22152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22153 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22154
5fa16e9b
LD
221552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22156
22157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22158 Fix overflow bug in strncat.
22159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22160
22161 * string/test-strncat.c: Update.
22162 Add new tests for checking overflow bugs.
22163
221642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22165
22166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22167 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22168 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22169 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22171 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22172 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22173 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22174 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22175
22176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22177 (USE_AS_STRCAT): Define.
22178 Add strcat and strncat support.
22179 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22180
8c1a459f
AS
221812011-07-25 Andreas Schwab <schwab@redhat.com>
22182
22183 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22184 __n bigger than INT_MAX+1.
22185 (__strncmp_g): Likewise.
22186
bba33c28
UD
221872011-07-23 Ulrich Drepper <drepper@gmail.com>
22188
798be72d
UD
22189 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22190 * libio/stido.h: Likewise.
22191
8accd4dc
UD
22192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22193 (AF_NFC): Define.
22194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22195 (AF_NFC): Define.
22196
cbff0d96
UD
22197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22202
9191c04a
UD
22203 [BZ #13021]
22204 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22205 installed.
22206
bba33c28
UD
22207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22208 typo.
22209 (_dl_x86_64_save_sse): Likewise.
22210
90f139dd
UD
222112011-07-22 Ulrich Drepper <drepper@gmail.com>
22212
1aae088a
UD
22213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22214 OSXSAVE.
22215 (_dl_x86_64_save_sse): Likewise.
22216
8e2045f5
UD
22217 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22218
90f139dd
UD
22219 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22220
1d002f25
AS
222212011-07-21 Andreas Schwab <schwab@redhat.com>
22222
22223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22224 change.
22225 (_dl_x86_64_save_sse): Use correct AVX check.
22226
21137f89
UD
222272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22228
22229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22230 bug in strncpy/strncat.
22231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22232
a65c0b7a
UD
222332011-07-21 Ulrich Drepper <drepper@gmail.com>
22234
22235 * string/tester.c (test_strcat): Add tests for different alignments
22236 of source and destination.
22237 (test_strncat): Likewise.
22238
6986b98a
UD
222392011-07-20 Ulrich Drepper <drepper@gmail.com>
22240
90bb2039
UD
22241 [BZ #12852]
22242 * posix/glob.c (glob): Check passed in values before using them in
22243 expressions to avoid some overflows.
22244 (glob_in_dir): Likewise.
22245
5644ef54
UD
22246 [BZ #13007]
22247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22248 check for AVX enablement so that we don't crash with old kernels and
22249 new hardware.
22250 * elf/tst-audit4.c: Add same checks here.
22251 * elf/tst-audit6.c: Likewise.
22252
22253 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22254
bfc9dc9b
AS
222552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22256
22257 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22258
702e64bb
UD
222592011-07-20 Ulrich Drepper <drepper@gmail.com>
22260
22261 * po/cs.po: Update from translation team.
22262 * po/bg.po: Likewise.
22263
295e904f
MP
222642011-07-12 Marek Polacek <mpolacek@redhat.com>
22265
22266 * misc/sys/cdefs.h: Add support for const attribute.
22267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22268 to gnu_dev_{major,minor,makedev} functions.
22269
3ff94596
MP
222702011-07-20 Marek Polacek <mpolacek@redhat.com>
22271
22272 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22273
28b59fca
AS
222742011-07-20 Andreas Schwab <schwab@redhat.com>
22275
22276 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22277 strlen results.
22278
19df733e
AK
222792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22280
22281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22282 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22283 register in order to avoid conflicts with the soft frame pointer
22284 being held in r11 when necessary.
22285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22286 (INTERNAL_VSYSCALL_NCS): Likewise.
22287
c8835729
MP
222882011-07-14 Marek Polacek <mpolacek@redhat.com>
22289
22290 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22291 * elf/dl-fini.c (_dl_fini): Adjust caller.
22292 * elf/dl-close.c (_dl_close_worker): Likewise.
22293 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22294
b902330c
MP
222952011-07-15 Marek Polacek <mpolacek@redhat.com>
22296
8991e135
MP
22297 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22298 "aux_cache->nlibs < 0".
22299
b902330c
MP
22300 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22301 in the reload-count case.
22302
99710781
LD
223032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22304
22305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22306 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22307 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22308 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22309 * sysdeps/x86_64/multiarch/strcat.S: New file.
22310 * sysdeps/x86_64/multiarch/strncat.S: New file.
22311 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22313 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22314 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22316 (USE_AS_STRCAT): Define.
22317 Add strcat and strncat support.
22318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22321 * string/strncat.c: Update.
22322 (USE_AS_STRNCAT): Define.
22323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22324 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22325 and i7.
22326 * sysdeps/x86_64/multiarch/init-arch.h
22327 (bit_Prefer_PMINUB_for_stringop): New.
22328 (index_Prefer_PMINUB_for_stringop): Likewise.
22329 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22330 bit_Prefer_PMINUB_for_stringop.
22331
7dc6bd90
UD
223322011-07-19 Ulrich Drepper <drepper@gmail.com>
22333
22334 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22335 buffer64.
22336 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22337 of casting of buffer.
22338 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22339 buffer32 and buffer64.
22340 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22341 writes instead of casting of buffer.
22342 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22343 buffer32.
22344 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22345 casting of buffer.
22346
e0e72284
AS
223472011-07-19 Andreas Schwab <schwab@redhat.com>
22348
22349 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22350
feb1eb0b
UD
223512011-07-19 Ulrich Drepper <drepper@gmail.com>
22352
22353 * nscd/nscd.c (termination_handler): Don't do anything for a database
22354 if it has not yet been initialized.
22355
298711ff
UD
223562011-07-18 Ulrich Drepper <drepper@gmail.com>
22357
22358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22359
223602011-07-15 Marek Polacek <mpolacek@redhat.com>
22361
22362 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22363
f9d68389
UD
223642011-07-18 Ulrich Drepper <drepper@gmail.com>
22365
22366 * po/nl.po: Update from translation team.
22367 * po/sv.po: Likewise.
22368
db290cf5
RM
223692011-07-16 Roland McGrath <roland@hack.frob.com>
22370
22371 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22372 now disallowed by GCC.
5c550700 22373
fd5e21c7
RM
22374 * configure.in (use-default-link): Default to yes if a test -shared
22375 link meets our qualifications.
22376 * configure: Regenerated.
22377
5c550700
RM
22378 * config.make.in (output-format): New variable.
22379 * configure.in: Check for ld --print-output-format support.
22380 * configure: Regenerated.
22381 * Makerules ($(common-objpfx)format.lds)
22382 [$(output-format) != unknown]: Just use $(output-format),
22383 instead of the linker-script munging.
22384
9fa2c032
RM
223852011-07-14 Roland McGrath <roland@hack.frob.com>
22386
a6928d51
RM
22387 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22388 of $(common-objpfx)shlib.lds.
22389 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22390
661607b3
RM
22391 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22392 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22393
9fa2c032
RM
22394 * configure.in (-z relro check): Adjust test code to add a large
22395 writable data section after it.
22396 * configure: Regenerated.
22397
defe9061
RM
223982011-07-11 Roland McGrath <roland@hack.frob.com>
22399
22400 * configure.in (-z relro check): Fix test code to make the variable
22401 truly const.
22402 * configure: Regenerated.
22403
319b9ad4
UD
224042011-07-11 Ulrich Drepper <drepper@gmail.com>
22405
22406 * nscd/nscd.h (struct traced_file): Define.
22407 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22408 elements. Add traced_files.
22409 (inotify_fd): Declare.
22410 (register_traced_file): Declare.
22411 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22412 (inotify_fd): Export.
22413 (resolv_conf_descr): Remove.
22414 (nscd_init): Move inotify descriptor creation to main.
22415 Don't register files for notification here.
22416 (register_traced_file): New function.
22417 (invalidate_cache): Don't use reset_res to determine whether to call
22418 res_init, go through the list of registered files.
22419 (main_loop_poll): The inotify descriptors are now stored in the
22420 structures for the traced files.
22421 (main_loop_epoll): Likewise
22422 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22423 to __nss_disable_nscd.
22424 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22425 for a database anymore. Check the records for all the registered
22426 files instead.
22427 * nss/Makefile (libnss_files-routines): Add files-init.
22428 (libnss_db-routines): Add db-init.
22429 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22430 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22431 * nss/nss_db/db-init.c: New file.
22432 * nss/nss_files/files-init.c: New file.
22433 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22434 __nss_lookup_function.
22435 (__nss_lookup_function): Call nss_load_library.
22436 (nss_load_all_libraries): New function.
22437 (__nss_disable_nscd): Take parameter with callback function for files
22438 to register. Set is_nscd. Load all the DSOs for the NSS modules
22439 used for the cached services.
22440 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22442 options for features to all the files in nscd.
22443
22444 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22445
23bee3e8
RM
224462011-07-10 Roland McGrath <roland@hack.frob.com>
22447
22448 * csu/elf-init.c (__libc_csu_init): Comment typo.
22449
46a5b7f0
UD
224502011-07-09 Ulrich Drepper <drepper@gmail.com>
22451
22452 * po/pl.po: Update from translation team.
22453 * po/ja.po: Likewise.
22454 * po/ru.po: Likewise.
22455 * po/ko.po: Likewise.
22456 * po/fr.po: Likewise.
22457
d30cf5bb
RM
224582011-07-09 Roland McGrath <roland@hack.frob.com>
22459
113ddea4
RM
22460 * configure.in (.ctors/.dtors header and trailer check):
22461 Use an empirical test on a built program.
22462 * configure: Regenerated.
22463
574920b4
RM
22464 * configure.in (-z relro check): Use an empirical test on a built DSO.
22465 Detect, but do not require, on ia64.
22466 * configure: Regenerated.
22467
d30cf5bb
RM
22468 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22469 Update tests that use readelf to use $READELF instead.
22470 * configure: Regenerated.
22471
8538fdb3
UD
224722011-07-08 Ulrich Drepper <drepper@gmail.com>
22473
22474 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22475 if the result is not used.
22476
04d08991
AJ
224772011-07-05 Andreas Jaeger <aj@suse.de>
22478
22479 [BZ#9696]
22480 * stdlib/tst-strtod.c: Add testcase.
22481
de283087
AD
224822011-07-07 Ulrich Drepper <drepper@gmail.com>
22483
4e5f31c8 22484 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22485 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22486 The latter has a higher limit. Take additional parameter to pass to
22487 the new function.
22488 (__pathconf): Pass file to __statfs_link_max.
22489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22490 __statfs_link_max.
22491 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22492 __statfs_link_max.
22493
de283087
AD
22494 [BZ #12868]
22495 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22497 Handle Lustre.
22498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22499 (__statfs_filesize_max): Likewise.
22500 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22501
c75fa153
AJ
225022011-07-05 Andreas Jaeger <aj@suse.de>
22503
22504 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22505
1a544854
UD
225062011-07-06 Marek Polacek <mpolacek@redhat.com>
22507
22508 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22509 `status' variable.
22510 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22511 Likewise.
22512
6f0eec67
UD
225132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22514
22515 * Makefile (strop-tests): Add strncat.
22516 * string/test-strncat.c: New file.
22517
aae30307
UD
225182011-06-30 Marek Polacek <mpolacek@redhat.com>
22519
22520 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22521
c0cfb5eb
UD
225222011-06-21 Andreas Jaeger <aj@suse.de>
22523
22524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22525 Copy rule from iconvdata/Makefile.
22526
01636b21
UD
225272011-07-06 Ulrich Drepper <drepper@gmail.com>
22528
22529 [BZ #12922]
22530 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22531 but no long options are defined, just return 'W'.
22532
9895c8bc
UD
225332011-06-22 Marek Polacek <mpolacek@redhat.com>
22534
22535 [BZ #9696]
22536 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22537
5d4cf042
UD
225382011-07-06 Ulrich Drepper <drepper@gmail.com>
22539
22540 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22541 netgroups to read.
960e5535 22542 (innetgr): Likewise.
5d4cf042 22543
751eb97e
RM
225442011-07-05 Roland McGrath <roland@hack.frob.com>
22545
22546 * config.make.in (install_root): Default to $(DESTDIR).
22547
f15f1e45
UD
225482011-07-05 Ulrich Drepper <drepper@gmail.com>
22549
22550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22551
4e34ac6a
RM
225522011-07-02 Roland McGrath <roland@hack.frob.com>
22553
5e9b6af4
RM
22554 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22555
84f9ea0f
RM
22556 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22557 containing directory rather than embedding absolute directory names.
22558
ea5ee9f7
RM
22559 * scripts/check-local-headers.sh: Rewritten using awk.
22560 Match by word, not by line. Print error messages for matches.
22561 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22562
1b74661a
RM
22563 * Makerules [shlib-lds-flags empty]:
22564 ($(common-objpfx)libc_pic.opts): New target.
22565 ($(common-objpfx)libc_pic.os.clean): New target.
22566 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22567
22568 * config.make.in (OBJCOPY): New variable.
22569 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22570 * configure: Regenerated.
22571
f781ef40
RM
22572 * config.make.in (use-default-link): New variable.
22573 * configure.in (use_default_link): Grok --with-default-link to set it.
22574 * configure: Regenerated.
22575 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22576 (shlib-lds, shlib-lds-flags): Define to empty.
22577
2d4fa81e
RM
22578 * Makerules (shlib-lds): New variable.
22579 (shlib-lds-flags): New variable.
22580 (build-shlib, build-moduile, build-module-asneeded): Use it.
22581 ($(common-objpfx)libc.so): Use $(shlib-lds).
22582 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22583 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22584
31fffa6b
RM
22585 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22586 DT_FLAGS/DT_FLAGS_1 with zero flags.
22587
4e34ac6a
RM
22588 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22589 linker script munging.
22590
fcfc776b
UD
225912011-07-02 Ulrich Drepper <drepper@gmail.com>
22592
22593 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22594 as 128-bit value.
22595 * crypt/sha512.c (sha512_process_block): Perform total addition using
22596 128-bit if possible.
22597 (__sha512_finish_ctx): Likewise.
22598 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22599 as 64-bit value.
22600 * crypt/sha256.c (SWAP64): Define.
22601 (sha256_process_block): Perform total addition using 64-bit if
22602 possible.
22603 (__sha256_finish_ctx): Likewise.
22604
99231d9a
UD
226052011-07-01 Ulrich Drepper <drepper@gmail.com>
22606
22607 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22609 * nscd/hstcache.c (cache_addhst): Likewise.
22610 * nscd/grpcache.c (cache_addgr): Likewise.
22611 * nscd/aicache.c (addhstaiX): Likewise
22612 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22613
445b4a53
TK
226142011-07-01 Thorsten Kukuk <kukuk@suse.de>
22615
22616 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22618 * nscd/hstcache.c (cache_addhst): Likewise.
22619 * nscd/grpcache.c (cache_addgr): Likewise.
22620 * nscd/aicache.c (addhstaiX): Likewise
22621
6d4d8e8e
AS
226222011-07-01 Andreas Schwab <schwab@redhat.com>
22623
22624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22625 domain only when needed.
22626
89f654c5
AS
226272011-06-30 Andreas Schwab <schwab@redhat.com>
22628
22629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22630 is always restored.
22631
cf3b23ff
UD
226322011-06-29 Ulrich Drepper <drepper@gmail.com>
22633
22634 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22635 are re-adding the entry.
22636 * nscd/servicescache.c (cache_addserv): Likewise.
22637
751626f9
AJ
226382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22639
22640 * sysdeps/generic/dl-irel.h: fix protection against multiple
22641 inclusions.
22642 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22643
9113ea1f
UD
226442011-06-28 Ulrich Drepper <drepper@gmail.com>
22645
5c0b8d90
UD
22646 [BZ #12935]
22647 * malloc/memusage.sh: Fix quoting in message.
22648 * debug/xtrace.sh: Likewise.
22649
9113ea1f
UD
22650 * configure.in: Remove support for --experimental-malloc option, make
22651 it the default.
22652 * config.make.in: Likewise.
22653 * malloc/Makefile: Likewise.
22654
a4172181
AS
226552011-06-27 Andreas Schwab <schwab@redhat.com>
22656
22657 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22658 two-byte characters.
22659
78a7eee7
RM
226602011-06-27 Roland McGrath <roland@hack.frob.com>
22661
62bede13
RM
22662 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22663 AC_CACHE_CHECK invocation.
22664 * configure: Regenerated.
22665
78a7eee7
RM
22666 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22667
5ce33a62
UD
226682011-06-27 Ulrich Drepper <drepper@gmail.com>
22669
034807a9
UD
22670 [BZ #12350]
22671 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22672 bit from old_res_options.
22673
4902da17
UD
22674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22675
5ce33a62
UD
22676 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22677 value type for setfct.
22678
c2344f56
L
226792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22682 __gettimeofday instead of gettimeofday.
22683
68468076
UD
226842011-06-26 Ulrich Drepper <drepper@gmail.com>
22685
22686 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22687
acb0d739
L
226882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22691
22692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22693 info.
22694
8912479f
L
226952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22696
22697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22698 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22699 strcpy-sse2-unaligned strncpy-sse2-unaligned
22700 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22701 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22702 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22703 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22704 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22707 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22708 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22709 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22710 (STRCPY): Support SSE2 and SSSE3 versions.
22711
d5495a11
UD
227122011-06-24 Ulrich Drepper <drepper@gmail.com>
22713
22714 [BZ #12874]
22715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22716 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22717 kernels which artificially limit size of requests.
22718
0b1cbaae
L
227192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22722 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22723 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22724 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22725 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22726 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22727 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22728 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22731 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22732 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22733 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22734 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22735 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22737 Enable unaligned load optimization for Intel Core i3, i5 and i7
22738 processors.
22739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22740 Define.
22741 (index_Fast_Unaligned_Load): Define.
22742 (HAS_FAST_UNALIGNED_LOAD): Define.
22743
07f494a0
MP
227442011-06-23 Marek Polacek <mpolacek@redhat.com>
22745
22746 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22747
fa3fc0fe
UD
227482011-06-22 Ulrich Drepper <drepper@gmail.com>
22749
22750 [BZ #12907]
22751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22752 until it is clear that the information is realy needed.
22753 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22754
e12df166
AS
227552011-06-22 Andreas Schwab <schwab@redhat.com>
22756
22757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22758
852eb34d
UD
227592011-06-22 Ulrich Drepper <drepper@gmail.com>
22760
84e2a551
UD
22761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22762 /sys/devices/system/cpu/online if it is usable.
22763
852eb34d
UD
22764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22765 reading the information from the /proc filesystem to once a second.
22766
6e502e19
UD
227672011-06-21 Andreas Jaeger <aj@suse.de>
22768
22769 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22770 NULL after inclusion of kernel headers.
22771
75d39ff2
UD
227722011-06-21 Ulrich Drepper <drepper@gmail.com>
22773
51f9aa6a
UD
22774 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22775 calls to internal_setent.
22776
c0244a9d
UD
22777 [BZ #12885]
22778 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22779 addresses using gethostbyname4_r ignore IPv4 addresses.
22780
c5e3c2ae
UD
22781 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22782 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22783
75d39ff2
UD
22784 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22785
42675c6f
DM
227862011-06-20 David S. Miller <davem@davemloft.net>
22787
22788 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22789 inclusions.
22790 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22791
22792 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22793 (elf_irel): Use it.
22794 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22795 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22796 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22797 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22798 * sysdeps/x86_64/dl-irel.h: Likewise.
22799
22800 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22801 * elf/dl-sym.c: Likewise.
22802
57912a71
UD
228032011-06-15 Ulrich Drepper <drepper@gmail.com>
22804
22805 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22806 need to dereference resplen2.
22807
ee22793d
AS
228082011-06-14 Andreas Schwab <schwab@redhat.com>
22809
22810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22811
a9e836b0
UD
228122011-06-15 Ulrich Drepper <drepper@gmail.com>
22813
77fb9117
UD
22814 * Makeconfig: Define vardbdir and inst_vardbdir.
22815 * nss/Makefile: Add rules to install db-Makefile.
22816
40c1b22c
UD
22817 * nss/nss_db/db-XXX.c: Cleanup.
22818
9f2da732
UD
22819 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22820 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22821 GLIBC_PRIVATE.
22822 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22823 * nss/makedb.c: Implement -g option to specify that value strings
22824 are generated and should not be added to table iterated over for
22825 get*ent calls.
22826 * nss/nss_db/db-initgroups.c: New file.
22827
82e9a1f7
UD
22828 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22829 interface.
22830
c41af17e
UD
22831 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22832 (internal_getgrouplist): Adjust to name change.
22833 Update use_initgroups_entry if this is not the first call.
22834 * nss/databases.def: Add initgroups entry.
22835
a9e836b0
UD
22836 * nss/makedb.c (compute_tables): Check result of multiple hash table
22837 sizes to minimize maximum chain length.
22838
2666d441
UD
228392011-06-14 Ulrich Drepper <drepper@gmail.com>
22840
22841 * Versions.def: Add entry for libnss_db.
22842 * shlib-versions: Likewise.
22843 * nss/Makefile: Add rules to build libnss_db.
22844 * nss/Versions: Add libnss_db information. Organize libnss_files
22845 entries better.
22846 * nss/db-Makefile: Add gshadow support. Change rules for the new
22847 makedb progra. Some minor improvements to generate smaller files.
22848 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22849 here from...
22850 * nss/makedb.c: ...here.
22851 Improve database format to be smaller and require less memory at
22852 runtime.
22853 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22854 db anymore.
22855 * nss/nss_db/db-netgrp.c: Likewise.
22856 * nss/nss_db/db-open.c: Likewise.
22857 * nss/nss_files/flies-XXX.x: Adjust comments.
22858 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22859 * nss/nss_files/files-grp.c: Likewise.
22860 * nss/nss_files/files-hosts.c: Likewise.
22861 * nss/nss_files/files-network.c: Likewise.
22862 * nss/nss_files/files-proto.c: Likewise.
22863 * nss/nss_files/files-pwd.c: Likewise.
22864 * nss/nss_files/files-rpc.c: Likewise.
22865 * nss/nss_files/files-service.c: Likewise.
22866 * nss/nss_files/files-sgrp.c: Likewise.
22867 * nss/nss_files/files-spwd.c: Likewise.
22868 * nss/nss_db/db-alias.c: Removed.
22869 * nss/nss_db/dummy-db.h: Removed.
22870
9ee76b5a
UD
228712011-06-02 Ulrich Drepper <drepper@gmail.com>
22872
22873 * nss/makedb.c: Rewritten to not use database library.
22874 * nss/Makefile: Update to build new makedb program.
22875
c71ca1f8
AJ
228762011-06-14 Andreas Jaeger <aj@suse.de>
22877
22878 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22879 memset declaration.
22880
3154bfb8
UD
228812011-06-10 Andreas Schwab <schwab@redhat.com>
22882
22883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22884 tmpbuf.
22885
b350afab
RM
228862011-06-10 Roland McGrath <roland@hack.frob.com>
22887
decd4e50
RM
22888 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22889 * elf/Makefile ($(objpfx)ld.so): Likewise.
22890
5615eaf2
RM
22891 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22892 Don't list ld.so twice in dependencies.
22893
22894 * posix/bug-regex31.c: Include <stdlib.h>.
22895
22896 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22897
22898 * nis/nss_compat/compat-spwd.c
22899 (getspent_next_nss_netgr): Remove unused variable.
22900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22901
22902 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22903 nonmembers" output to use the right array.
22904
22905 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22906
22907 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22908
22909 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22910 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22911 * catgets/gencat.c (read_input_file): Likewise.
22912 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22913
22914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22915 variable definition inside #if's controlling its use.
22916
22917 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22918
22919 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22920
22921 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22922
22923 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22924 unreachable code.
22925
22926 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22927
b68e08db
RM
22928 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22929 * configure: Regenerated.
22930
b350afab
RM
22931 * Makerules: Revert last change.
22932 * elf/Makefile: Likewise.
22933
28368601
RM
229342011-06-09 Roland McGrath <roland@hack.frob.com>
22935
22936 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22937 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22938 (reloc-link): Likewise.
22939
11988f8f
UD
229402011-06-09 Ulrich Drepper <drepper@gmail.com>
22941
22942 * elf/Makefile: Add rules to build pldd.
22943 * elf/pldd.c: New file.
22944 * elf/pldd-xx.c: New file.
22945
e80fab37
UD
229462011-06-07 Ulrich Drepper <drepper@gmail.com>
22947
22948 * version.h: Update for 2.15 development version.
22949
9b849836
DM
229502011-06-07 David S. Miller <davem@davemloft.net>
22951
22952 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22953 ifuncs.
22954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22955 elf_machine_lazy_rel): Likewise.
22956 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22958 elf_machine_lazy_rel): Likewise.
22959 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22960 dl_hwcap via passed in argument.
22961 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22962 Likewise.
22963
5a31b283
AK
229642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22965
22966 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22967
069e52f8
RM
229682011-06-06 Roland McGrath <roland@hack.frob.com>
22969
22970 [BZ #12849]
22971 * manual/fdl-1.1.texi: New file, verbatim from:
22972 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22973 * manual/lgpl-2.1.texi: New file, verbatim from:
22974 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22975 * manual/Makefile (licenses): New variable, list those new file names.
22976 (texis): Use it.
22977 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22978
22979 * manual/fdl.texi: File removed.
22980 * manual/lesser.texi: File removed.
22981 * manual/libc.texinfo (Copying, Documentation License):
22982 Use new @include file names, put @appendix directive before @include.
22983
f16846a5
JJ
229842011-06-04 Jakub Jelinek <jakub@redhat.com>
22985
22986 [BZ #12841]
22987 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22988 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22989 (mq_open): Add __NTH.
22990
3d29045b
L
229912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22992
22993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22994 Assume Intel Core i3/i5/i7 processor if AVX is available.
22995
8c297311
UD
229962011-05-31 Ulrich Drepper <drepper@gmail.com>
22997
22998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22999 typo.
23000
c8fc0c91
UD
230012011-05-31 Andreas Schwab <schwab@redhat.com>
23002
23003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23004 memory. Use alloca_account. Fix memory leak when retrying.
23005
5b27a807
UD
230062011-05-31 Ulrich Drepper <drepper@gmail.com>
23007
356f8bc6
UD
23008 * version.h (RELEASE): Bump for 2.14 release.
23009 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23010
5b27a807
UD
23011 * config.make.in (RANLIB): Remove entry.
23012
01f16ab0
UD
230132011-05-30 Ulrich Drepper <drepper@gmail.com>
23014
41fce8bd
UD
23015 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23016 (libc.pot): Work around missing support for .ksh extension in xgettext.
23017
4769ae77
UD
23018 [BZ #12684]
23019 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23020 if both request failed.
23021 (send_dg): In case of server errors clear resplen or *resplen2.
23022
6b1e7d19
UD
23023 [BZ #12454]
23024 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23025 when there are multiple maps.
23026 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23027 (_dl_fini): Remove test here.
23028
01f16ab0
UD
23029 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23030
b1ebd700
UD
230312011-05-29 Ulrich Drepper <drepper@gmail.com>
23032
7ae22829
UD
23033 [BZ #12350]
23034 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23035 bit from old_res_options.
23036 (gaih_inet): Likewise.
23037
553149f6 23038 [BZ #11099]
18a84741 23039 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23040 as signed.
23041
652ffab1
UD
23042 * resolv/res_init.c (res_setoptions): Make the code more compact.
23043
16985fd0
UD
23044 [BZ #11558]
23045 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23046 set RES_USEVC.
23047
0464f746
UD
23048 [BZ #11634]
23049 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23050
7d17596c
UD
23051 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23052
cf6bbbd7
UD
23053 [BZ #11781]
23054 * malloc/malloc.h: Declare malloc hook variables as volatile.
23055
13f1ab36
UD
23056 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23057 in last patch.
23058
b1ebd700
UD
23059 [BZ #11799]
23060 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23061 raise in the comment.
80e2212d
UD
23062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23065
ce67228d
UD
230662011-05-28 Ulrich Drepper <drepper@gmail.com>
23067
8887a920
UD
23068 [BZ #12811]
23069 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23070 grow the buffers more if it already has to be sufficient.
23071 (build_wcs_upper_buffer): Likewise.
23072 * posix/regexec.c (check_matching): Likewise.
23073 (clean_state_log_if_needed): Likewise.
23074 (extend_buffers): Don't enlarge buffers beyond size of the input
23075 buffer.
23076 Patches mostly by Emil Wojak <emil@wojak.eu>.
23077 * posix/bug-regex32.c: New file.
23078 * posix/Makefile (tests): Add bug-regex32.
23079
4f031072
UD
23080 * locale/findlocale.c (_nl_find_locale): Return right away if
23081 _nl_explode_name failed.
23082 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23083
d0478f0c
UD
23084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23085
de81b246
UD
23086 * debug/xtrace.sh: Unify messages.
23087 * malloc/memusage.sh: Likewise.
23088
c738465a
UD
23089 [BZ #12813]
23090 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23091 time symbol from vDSO. Substitute with vsyscall if not available.
23092 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23093 __vdso_time.
23094
f1f929d7
UD
23095 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23096 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23097 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23098 Add sendmmsg and internal_sendmmsg.
23099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23100 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23102
ce67228d
UD
23103 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23104 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23106
e57420c6
UD
231072011-05-27 Ulrich Drepper <drepper@gmail.com>
23108
a8509ca5
UD
23109 [BZ #12813]
23110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23111 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23112 available.
23113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23114 __vdso_getcpu.
23115
e57420c6
UD
23116 [BZ #12814]
23117 * iconvdata/Makefile (tests): Add bug-iconv9.
23118 * iconvdata/bug-iconv9.c: New file.
23119
4d07db15
AS
231202011-05-27 Andreas Schwab <schwab@redhat.com>
23121
23122 [BZ #12814]
23123 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23124
ea486f69
JJ
231252011-05-25 Jakub Jelinek <jakub@redhat.com>
23126
23127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23128 (struct user_regs_struct): Change intcs field back to cs.
23129
6f038433
UD
231302011-05-25 Ulrich Drepper <drepper@gmail.com>
23131
23132 * po/ja.po: Update from translation team.
23133
67f86a25
UD
231342011-05-23 Ulrich Drepper <drepper@gmail.com>
23135
23136 [BZ #12795]
23137 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23139
def7fbd6
AS
231402011-05-20 Andreas Schwab <schwab@redhat.com>
23141
23142 * stdlib/longlong.h: Update from GCC.
23143
f50ef8f1
AS
231442011-05-23 Andreas Schwab <schwab@redhat.com>
23145
23146 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23147 parameter name.
23148 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23149 Add parameter name.
23150 (__sysconf): Pass it down.
23151
de7ce8f1
UD
231522011-05-22 Ulrich Drepper <drepper@gmail.com>
23153
f2962a71
UD
23154 [BZ #12671]
23155 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23156 some situations.
23157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23158 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23159 add in in __libc_use_alloca calls. Adjust callers.
23160 (glob): Use malloc in some situations.
23161
de7ce8f1
UD
23162 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23163 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23164 pltexit.
23165
aec84f53
UD
231662011-05-21 Ulrich Drepper <drepper@gmail.com>
23167
05bb4a68
UD
23168 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23169 and CLOCK_BOOTTIME_ALARM.
23170
7ea72f99
UD
23171 [BZ #12782]
23172 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23173 is returned.
23174
7e4afad5
UD
23175 * string/_strerror.c (__strerror_r): Print negative errors as signed
23176 numbers.
23177
8e211fec
UD
23178 [BZ #12777]
23179 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23180 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23181 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23182
f7d82dc9
UD
23183 * configure.in: Fix typo in redirection and correct removal of test
23184 files in two cases.
23185
cc9e536d
UD
23186 [BZ #12788]
23187 * locale/setlocale.c (new_composite_name): Fix test to check for
23188 identical name of all categories.
23189
aec84f53
UD
23190 [BZ #12792]
23191 * libio/filedoalloc.c (local_isatty): New function.
23192 (_IO_file_doallocate): Use local_isatty.
23193 * stdio-common/perror.c (perror): In case a new stream is used
23194 forward the stream error.
23195 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23196 error flag.
23197
78e64fdc
RT
231982011-05-20 Ulrich Drepper <drepper@gmail.com>
23199
34a9094f
UD
23200 [BZ #11869]
23201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23202 alloca.
23203 * include/alloca.h (extend_alloca_account): Define.
23204
78e64fdc
RT
23205 [BZ #11857]
23206 * posix/regex.h: Fix comments with documentation of user-accessible
23207 fields after compilation and describe correct free'ing of pattern
23208 after re_compile_pattern.
23209 Patch by Reuben Thomas <rrt@sc3d.org>.
23210
457bddfc
RA
232112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23212
23213 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23214 and -mno-altivec to prevent the compiler from using Altivec and/or
23215 VSX instructions when the corresponding registers are not available.
23216
a4527b51
AS
232172011-05-19 Andreas Schwab <schwab@redhat.com>
23218
23219 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23220
ed690b2f
UD
232212011-05-19 Ulrich Drepper <drepper@gmail.com>
23222
23223 * libio/freopen.c (freopen): Use __dup2, not dup2.
23224 * libio/freopen64.c (freopen64): Likewise.
23225
8db73634
L
232262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 [BZ #12775]
23229 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23230 * math/Makefile (tests): Add test-powl.
23231 (CFLAGS-test-powl.c): Define.
23232 * math/test-powl.c: New file.
23233
0a197a9d
L
232342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23237
ee30c380
UD
232382011-05-17 Ulrich Drepper <drepper@gmail.com>
23239
23240 [BZ #11837]
23241 * iconvdata/gb18030.c: Update to GB18020-2005.
23242
6ce75379
UD
232432011-05-16 Ulrich Drepper <drepper@gmail.com>
23244
a4b89fd8
AR
23245 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23246 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23247 Patch by Aharon Robbins <arnold@skeeve.com>.
23248
ea389b12
UD
23249 [BZ #11892]
23250 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23251 on the stack.
23252
68a3f91f
UD
23253 [BZ #11895]
23254 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23255 through underflows.
23256
15cc7dd1
UD
23257 [BZ #12766]
23258 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23259 point to strings before performing equality test for error_one_per_line
23260 mode.
23261
f3799213
UD
23262 [BZ #11697]
23263 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23264
d79a9c94
UD
23265 [BZ #11820]
23266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23267 (struct user_fpregs_struct): Avoid __uint*_t types.
23268
56e5eb46
UD
23269 [BZ #6420]
23270 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23271 symbol info. Use it instead of calling _dl_addr locally.
23272 (lock_and_info): New function.
23273 (tr_freehook): Call lock_and_info and pass symbol info as additional
23274 parameter to tr_where.
23275 (tr_mallochook): Likewise.
23276 (tr_reallochook): Likewise.
23277 (tr_memalignhook): Likewise.
23278
6ce75379
UD
23279 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23280 used and couldn't be at all thread-safe.
23281
f8a3b5bf
UD
232822011-05-15 Ulrich Drepper <drepper@gmail.com>
23283
94b7cc37
UD
23284 * libio/freopen.c (freopen): Don't close old file descriptor
23285 before the new one is opened. Instead dup the new file descriptor
23286 to the old one after the new stream is created.
23287 * libio/freopen64.c (freopen64): Likewise.
23288 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23289 * libio/fileops.c (_IO_new_file_close_it): Handle new
23290 _IO_FLAGS2_NOCLOSE flag.
23291 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23292 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23293 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23294 _IO_FLAGS2_NOCLOSE flag.
23295 * include/unistd.h: Add hidden_proto for dup3.
23296 Define __have_dup3.
23297 * io/dup3.c: Define hidden symbol.
23298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23299
bd25564e
UD
23300 [BZ #7101]
23301 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23302 when an incomplete long option is used.
23303 * posix/tst-getopt_long1.c: New file.
23304 * posix/Makefile (tests): Add tst-getopt_long1.
23305
c84cfef4
UD
23306 [BZ #10138]
23307 * scripts/config.guess: Update from autoconf-2.68.
23308 * scripts/config.sub: Likewise.
23309
3b85df27
UD
23310 [BZ #10157]
23311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23312 tests into ...
23313 (has_cpuclock): ...this. New function.
23314 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23315 macro here based on has_cpuclock code.
23316
15a856b1
UD
23317 [BZ #10149]
23318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23319 First byte (not low byte) is now always NUL.
23320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23321
05f399e6
UD
23322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23323 Use non-cancelable interfaces.
23324
10a52685 23325 [BZ #9809]
94ecc67d
UD
23326 * locale/iso-639.def: Add entry for Sorani.
23327
f8a3b5bf
UD
23328 [BZ #11901]
23329 * include/stdlib.h: Move include protection to the right place.
23330 Define abort_msg_s. Declare __abort_msg with it.
23331 * stdlib/abort.c (__abort_msg): Adjust type.
23332 * assert/assert.c (__assert_fail_base): New function. Majority
23333 of code from __assert_fail. Allocate memory for __abort_msg with
23334 mmap.
23335 (__assert_fail): Now call __assert_fail_base.
23336 * assert/assert-perr.c: Remove bulk of implementation. Use
23337 __assert_fail_base.
23338 * include/assert.hL Declare __assert_fail_base.
23339 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23340 mmap.
23341 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23342
1af4e298
UD
233432011-05-14 Ulrich Drepper <drepper@gmail.com>
23344
f8a3b5bf 23345 [BZ #11952]
d26dfc60
MG
23346 [BZ #12453]
23347 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23348 until all modules are registered in the DTV.
23349 * elf/Makefile: Add rules to build and run tst-tls19.
23350 * elf/tst-tls19.c: New file.
23351 * elf/tst-tls19mod1.c: New file.
23352 * elf/tst-tls19mod2.c: New file.
23353 * elf/tst-tls19mod3.c: New file.
23354 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23355
2fc54d6f
UD
23356 [BZ #12083]
23357 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23358 correctly.
23359
98d76b46
UD
23360 [BZ #12601]
23361 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23362 two-byte sequence errors.
23363 * iconvdata/Makefile (tests): Add bug-iconv8.
23364 * iconvdata/bug-iconv8.c: New file.
23365
da3c19ef
UD
23366 [BZ #12626]
23367 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23368 buf2 definition.
23369
ca408c15
UD
23370 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23371
d6f67f7d
UD
23372 [BZ #12432]
23373 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23374 (dummy_getcfa): New function.
23375 (init): Get _Unwind_GetCFA address, use dummy if not found.
23376 (backtrace_helper): In recursion check, also check whether CFA changes.
23377 (__backtrace): Completely initialize arg.
23378
1af4e298 23379 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23380 storing incomplete byte sequence in state object. Avoid testing for
23381 guaranteed too small input if we know there is enough data available.
1af4e298 23382
da62f81b
AS
233832011-05-11 Andreas Schwab <schwab@redhat.com>
23384
23385 * Makeconfig (+link-pie): Indent.
23386 * Rules (binaries-pie): Define if $(have-fpie) and
23387 $(build-shared).
23388 (binaries-shared): Also filter out $(binaries-pie).
23389 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23390 * nscd/Makefile (others-pie): Add nscd.
23391 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23392 ($(objpfx)nscd): Remove command override.
23393 * login/Makefile (others-pie): Add pt_chown.
23394 ($(objpfx)pt_chown): Remove command override.
23395 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23396 remove command overrides.
23397
fcabc0f8
UD
233982011-05-13 Ulrich Drepper <drepper@gmail.com>
23399
20030ae6
UD
23400 * libio/tst_putwc.c: Fix error messages.
23401
fcabc0f8
UD
23402 [BZ #12724]
23403 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23404 currently writing and seek to current position when not.
23405 * libio/Makefile (tests): Add bug-fclose1.
23406 * libio/bug-fclose1.c: New file.
23407
320a5dc0
PB
234082011-05-12 Ulrich Drepper <drepper@gmail.com>
23409
23410 [BZ #12511]
23411 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23412 don't set DF_1_NODELETE here.
23413 (do_lookup_x): When entering new entry test for copy relocation
23414 and if necessary set DF_1_NODELETE flag.
23415 * elf/tst-unique4.cc: New file.
23416 * elf/tst-unique4.h: New file.
23417 * elf/tst-unique4lib.cc: New file.
23418 * elf/Makefile: Add rules to build and run tst-unique4.
23419 Patch by Piotr Bury <pbury@goahead.com>.
23420
22836f52
UD
234212011-05-11 Ulrich Drepper <drepper@gmail.com>
23422
f574184a
UD
23423 [BZ #12052]
23424 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23425
e1fb097f
UD
23426 [BZ #12625]
23427 * misc/mntent_r.c (addmntent): Flush the stream after the output
23428
22836f52
UD
23429 [BZ #12393]
23430 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23431 (is_trusted_path_normalize): Skip initial colon. Append slash
23432 to empty buffer. Duplicate is_trusted_path code but allow
23433 constructed patch to be prefix.
23434 (is_dst): Allow $ORIGIN followed by /.
23435 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23436 Correct testing of result of is_trusted_path_normalize
23437 (decompose_rpath): Fix warning.
23438
7b3b0b2a
UD
234392011-05-10 Ulrich Drepper <drepper@gmail.com>
23440
23441 [BZ #11257]
23442 * grp/initgroups.c (internal_getgrouplist): When we found the service
23443 list through the initgroups entry in nsswitch.conf do not always
23444 continue on a successful lookup. Don't always use the
eac80ce2 23445 __nss_group_database value if it is set.
7b3b0b2a
UD
23446 * nss/nsswitch.conf (initgroups): Change action for successful db
23447 lookup to continue for compatibility.
23448
2a81eaa5
UD
234492011-05-09 Ulrich Drepper <drepper@gmail.com>
23450
be97a69e
UD
23451 [BZ #11532]
23452 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23453 and CP774 modules.
23454 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23455 and CP774 modules.
23456 * iconvdata/tst-tables.sh: Likewise.
23457 * iconvdata/cp770.c: New file.
23458 * iconvdata/cp771.c: New file.
23459 * iconvdata/cp772.c: New file.
23460 * iconvdata/cp773.c: New file.
23461 * iconvdata/cp774.c: New file.
23462 * iconvdata/testdata/CP770: New file.
23463 * iconvdata/testdata/CP770..UTF8: New file.
23464 * iconvdata/testdata/CP771: New file.
23465 * iconvdata/testdata/CP771..UTF8: New file.
23466 * iconvdata/testdata/CP772: New file.
23467 * iconvdata/testdata/CP772..UTF8: New file.
23468 * iconvdata/testdata/CP773: New file.
23469 * iconvdata/testdata/CP773..UTF8: New file.
23470 * iconvdata/testdata/CP774: New file.
23471 * iconvdata/testdata/CP774..UTF8: New file.
23472
23473 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23474 END CHARMAP line.
23475 * iconvdata/gen-8bit-gap.sh: Likewise.
23476 * iconvdata/gen-8bit.sh: Likewise.
23477
c1e9e399
UD
23478 * locale/iso-639.def: Add ary entry.
23479
24c55fb3 23480 [BZ #11258]
96b4b1b0
UD
23481 * locale/C-translit.h.in: Add U20A1 transliteration.
23482
bdc2f971
KB
23483 [BZ #12178]
23484 * locale/iso-639.def: Add wae entry.
23485 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23486
2952b117
UD
23487 [BZ #12545]
23488 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23489 for n.
23490
2a81eaa5
UD
23491 [BZ #12711]
23492 * locale/C-translit.h.in: Add entry for U20B9.
23493 Patch by pravin.d.s@gmail.com.
23494
28377d1b
UD
234952011-05-08 Ulrich Drepper <drepper@gmail.com>
23496
7fb90fb8
UD
23497 [BZ #12713]
23498 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23499 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23500 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23501 in rtld. Use *stat64.
7fb90fb8 23502 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23503 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23504 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23505 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23506 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23507 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23508 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23509 __fstatat64 macros.
7fb90fb8
UD
23510 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23511 * dirent/rewinddir.c: Add libc_hidden_def.
23512 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23513 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23514
28377d1b
UD
23515 * include/dirent.h (__alloc_dir): Add flags parameter.
23516 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23517 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23518 __alloc_dir.
23519 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23520 from fdopendir if O_CLOEXEC is already set.
23521
66bdbaa4
AM
235222011-03-15 Alan Modra <amodra@gmail.com>
23523
23524 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23525 l_tls_firstbyte_offset non-zero. Save padding offset in
23526 l_tls_firstbyte_offset for later use.
23527 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23528 freeing static tls block.
23529
95721191
JN
235302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23531
23532 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23533 where #ifdef was intended. The intent is to prevent ARG_MAX from
23534 being defined by the kernel headers.
23535
f87dfb1f
UD
235362011-05-07 Ulrich Drepper <drepper@gmail.com>
23537
23538 [BZ #12734]
23539 * resolv/resolv.h: Define RES_NOTLDQUERY.
23540 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23541 no-tld-query and set RES_NOTLDQUERY.
23542 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23543 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23544 modern BIND to search name as TLD unless forbidden.
23545
47c3cd7a
UD
235462011-05-07 Petr Baudis <pasky@suse.cz>
23547 Ulrich Drepper <drepper@gmail.com>
23548
23549 [BZ #12393]
23550 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23551 (is_trusted_path): ...to here.
c1e9ea35 23552 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23553 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23554 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23555
8a35c912
PP
235562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23557
23558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23559 __BEGIN/__END_DECLS.
23560
acd41f47
UD
235612011-05-06 Ulrich Drepper <drepper@gmail.com>
23562
23563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23564 NSS_STATUS_NOTFOUND if no record was found.
23565
597df647
AS
235662011-05-05 Andreas Schwab <schwab@redhat.com>
23567
23568 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23569 (headers-not-in-tirpc): Remove rpc/netdb.h
23570 * resolv/netdb.h: Revert last change.
23571
b9af1301
PP
235722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23573
23574 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23575 circular dependency between libgcc.a and libc.a.
23576
4e34d5f5
AS
235772011-05-05 Andreas Schwab <schwab@redhat.com>
23578
23579 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23580 * nis/Makefile: Don't install rpcsvc/*.
23581 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23582 instead of <rpc/types.h>.
23583 (MAXHOSTNAMELEN): Define.
23584
00ee369c
AS
235852011-05-03 Andreas Schwab <schwab@redhat.com>
23586
23587 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23588
0b592a30
MB
235892011-04-28 Maciej Babinski <mbabinski@google.com>
23590
23591 [BZ #12714]
23592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23593 gethostbyname4_r when IPv6 results are possible.
23594
6e04cbbe
UD
235952011-05-02 Ulrich Drepper <drepper@gmail.com>
23596
23597 [BZ #12723]
23598 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23599 _PC_PIPE_BUF handling.
23600
e4ecafe0
BH
236012011-04-30 Bruno Haible <bruno@clisp.org>
23602
23603 [BZ #12717]
23604 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23605 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23606 to 'int'.
23607 * inet/getnameinfo.c (getnameinfo): Likewise.
23608
125ee683
UD
236092011-04-29 Ulrich Drepper <drepper@gmail.com>
23610
23611 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23612 to groups setting in database lookup.
23613 * nss/nsswitch.conf: Add initgroups entry.
23614
b722481a
EB
236152011-04-22 Ulrich Drepper <drepper@gmail.com>
23616
23617 [BZ #12685]
23618 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23619 mode string.
23620 Patch by Eric Blake <eblake@redhat.com>.
23621
4df46dbd
L
236222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * sunrpc/Makefile (need-export-routines): Add svc_run.
23625 (routines): Remove svc_run.
23626 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23627 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23628 * sunrpc/svc_run.c (svc_run): Likewise.
23629 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23630
e84142d2
UD
236312011-04-21 Ulrich Drepper <drepper@gmail.com>
23632
23633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23634 problem in reallocation in last patch.
23635
877175d8
UD
236362011-04-20 Ulrich Drepper <drepper@gmail.com>
23637
23638 * sunrpc/Makefile: Move inclusion of Rules.
23639
ab8eed78
UD
236402011-04-19 Ulrich Drepper <drepper@gmail.com>
23641
23642 * nss/nss_files/files-initgroups.c: New file.
23643 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23644 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23645 _nss_files_initgroups_dyn.
23646
e3d8f584
RS
236472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23648
23649 * elf/elf.h (R_ARM_IRELATIVE): Define.
23650
af190f45
UD
236512011-04-19 Ulrich Drepper <drepper@gmail.com>
23652
23653 * po/ru.po: Update from translation team.
23654
53cf59ef
UD
236552011-04-17 Ulrich Drepper <drepper@gmail.com>
23656
23657 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23658 dependencies.
23659
4c559bcd
MF
236602011-02-06 Mike Frysinger <vapier@gentoo.org>
23661
23662 [BZ #12653]
23663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23664 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23668
4420675c
AS
236692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23670
23671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23672 differing bytes.
23673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23676
75ea32ab
UD
236772011-04-17 Ulrich Drepper <drepper@gmail.com>
23678
23679 [BZ #12420]
23680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23681 storing it.
23682 * stdlib/bug-getcontext.c: New file.
23683 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23684
27390476
AK
236852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23686
23687 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23688 instructions into .machine "z9-109".
23689 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23690 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23691
10442705
AK
236922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23693
23694 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23695 between environment variables and auxiliary vector.
23696
7b57bfe5
UD
236972011-04-16 Ulrich Drepper <drepper@gmail.com>
23698
23699 * Makefile: Add rules to build linkobj/libc.so.
23700 * include/libc-symbols.h: Define libc_hidden_nolink.
23701 * include/rpc/auth.h: Mark functions which are to be hidden.
23702 * include/rpc/auth_des.h: Likewise.
23703 * include/rpc/auth_unix.h: Likewise.
23704 * include/rpc/clnt.h: Likewise.
23705 * include/rpc/des_crypt.h: Likewise.
23706 * include/rpc/key_prot.h: Likewise.
23707 * include/rpc/pmap_clnt.h: Likewise.
23708 * include/rpc/pmap_prot.h: Likewise.
23709 * include/rpc/pmap_rmt.h: Likewise.
23710 * include/rpc/rpc_msg.h: Likewise.
23711 * include/rpc/svc.h: Likewise.
23712 * include/rpc/svc_auth.h: Likewise.
23713 * include/rpc/xdr.h: Likewise.
23714 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23715 * nss/Makefile: Likewise.
23716 * sunrpc/Makefile: Don't install headers. Build library with normal
23717 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23718 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23719 for the compat linking library. Remove use of INTDEF/INTUSE.
23720 * sunrpc/auth_none.c: Likewise.
23721 * sunrpc/auth_unix.c: Likewise.
23722 * sunrpc/authdes_prot.c: Likewise.
23723 * sunrpc/authuxprot.c: Likewise.
23724 * sunrpc/clnt_gen.c: Likewise.
23725 * sunrpc/clnt_perr.c: Likewise.
23726 * sunrpc/clnt_raw.c: Likewise.
23727 * sunrpc/clnt_simp.c: Likewise.
23728 * sunrpc/clnt_tcp.c: Likewise.
23729 * sunrpc/clnt_udp.c: Likewise.
23730 * sunrpc/clnt_unix.c: Likewise.
23731 * sunrpc/des_crypt.c: Likewise.
23732 * sunrpc/des_soft.c: Likewise.
23733 * sunrpc/get_myaddr.c: Likewise.
23734 * sunrpc/key_call.c: Likewise.
23735 * sunrpc/key_prot.c: Likewise.
23736 * sunrpc/netname.c: Likewise.
23737 * sunrpc/pm_getmaps.c: Likewise.
23738 * sunrpc/pm_getport.c: Likewise.
23739 * sunrpc/pmap_clnt.c: Likewise.
23740 * sunrpc/pmap_prot.c: Likewise.
23741 * sunrpc/pmap_prot2.c: Likewise.
23742 * sunrpc/pmap_rmt.c: Likewise.
23743 * sunrpc/publickey.c: Likewise.
23744 * sunrpc/rpc_cmsg.c: Likewise.
23745 * sunrpc/rpc_common.c: Likewise.
23746 * sunrpc/rpc_dtable.c: Likewise.
23747 * sunrpc/rpc_prot.c: Likewise.
23748 * sunrpc/rpc_thread.c: Likewise.
23749 * sunrpc/rtime.c: Likewise.
23750 * sunrpc/svc.c: Likewise.
23751 * sunrpc/svc_auth.c: Likewise.
23752 * sunrpc/svc_authux.c: Likewise.
23753 * sunrpc/svc_raw.c: Likewise.
23754 * sunrpc/svc_run.c: Likewise.
23755 * sunrpc/svc_simple.c: Likewise.
23756 * sunrpc/svc_tcp.c: Likewise.
23757 * sunrpc/svc_udp.c: Likewise.
23758 * sunrpc/svc_unix.c: Likewise.
23759 * sunrpc/svcauth_des.c: Likewise.
23760 * sunrpc/xcrypt.c: Likewise.
23761 * sunrpc/xdr.c: Likewise.
23762 * sunrpc/xdr_array.c: Likewise.
23763 * sunrpc/xdr_float.c: Likewise.
23764 * sunrpc/xdr_intXX_t.c: Likewise.
23765 * sunrpc/xdr_mem.c: Likewise.
23766 * sunrpc/xdr_rec.c: Likewise.
23767 * sunrpc/xdr_ref.c: Likewise.
23768 * sunrpc/xdr_sizeof.c: Likewise.
23769 * sunrpc/xdr_stdio.c: Likewise.
23770
e6c61494
UD
237712011-04-10 Ulrich Drepper <drepper@gmail.com>
23772
23773 [BZ #12650]
23774 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23775 * sysdeps/ia64/dl-tls.h: Likewise.
23776 * sysdeps/powerpc/dl-tls.h: Likewise.
23777 * sysdeps/s390/dl-tls.h: Likewise.
23778 * sysdeps/sh/dl-tls.h: Likewise.
23779 * sysdeps/sparc/dl-tls.h: Likewise.
23780 * sysdeps/x86_64/dl-tls.h: Likewise.
23781 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23782
34fe483e
AS
237832011-03-14 Andreas Schwab <schwab@redhat.com>
23784
23785 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23786 rpath element also skip the following colon.
23787 (expand_dynamic_string_token): Add is_path parameter and pass
23788 down to DL_DST_REQUIRED and _dl_dst_substitute.
23789 (decompose_rpath): Call expand_dynamic_string_token with
23790 non-zero is_path. Ignore empty rpaths.
23791 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23792 with zero is_path.
23793
f12a32e6
AS
237942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23795
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23797 Make cancelable.
23798
38a7d692
UD
237992011-04-09 Ulrich Drepper <drepper@gmail.com>
23800
23801 [BZ #12655]
23802 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23803 Patch by Filipe David Manana <fdmanana@apache.org>.
23804
e451d22b
AS
238052011-04-07 Andreas Schwab <schwab@redhat.com>
23806
23807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23808 Maintain aligned stack.
23809 (CHECK_RSP): Remove unused macro.
23810
dedc7c7b
UD
238112011-04-03 Ulrich Drepper <drepper@gmail.com>
23812
23813 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23815
94521213
UD
238162011-04-02 Ulrich Drepper <drepper@gmail.com>
23817
23818 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23819
8cb700c0 23820 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23821
0354e355
L
238222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 [BZ #12518]
23825 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23826 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23827 * sysdeps/x86_64/memmove.c: New file.
23828 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23829 (memcpy): Renamed to ...
23830 (__new_memcpy): This.
23831 (memcpy): Provide GLIBC_2_14 memcpy.
23832 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23833 (memcpy): Provide GLIBC_2_2_5 memcpy.
23834
8593482f
UD
238352011-04-01 Ulrich Drepper <drepper@gmail.com>
23836
23837 [BZ #12631]
23838 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23839
81a5726b
AS
238402011-03-30 Andreas Schwab <schwab@redhat.com>
23841
23842 * misc/syncfs.c: New file.
23843 * misc/Makefile (routines): Add syncfs.
23844 * posix/unistd.h: Declare syncfs.
23845 * sysdeps/unix/syscalls.list: Add syncfs.
23846
00e5419f
AS
238472011-04-01 Andreas Schwab <schwab@redhat.com>
23848
23849 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23850 open_by_handle_at.
23851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23856 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23858
748876bf
UD
238592011-04-01 Ulrich Drepper <drepper@gmail.com>
23860
658e451d
UD
23861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23868
748876bf
UD
23869 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23870 sync_file_range.c with -fexceptions.
23871 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23872 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23875 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23876 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23878 sync_file_range as cancellation point
23879 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23880 now a wrapper around __call_sync_file_range with cancellation handling.
23881 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23883 function name to __call_sync_file_range.
23884 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23885 Add call_sync_file_range.
748876bf 23886
6e63d5e1
AS
238872011-04-01 Andreas Schwab <schwab@redhat.com>
23888
23889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23890 bits/timex.h.
6e63d5e1 23891
46998f74
UD
238922011-04-01 Ulrich Drepper <drepper@gmail.com>
23893
4c1423ed
UD
23894 * iconv/iconv.h: Fix typo in comment.
23895 * io/fcntl.h: Likewise.
23896 * libio/stdio.h: Likewise.
23897 * posix/spawn.h: Likewise.
23898 * posix/unistd.h: Likewise.
23899 * stdlib/stdlib.h: Likewise.
23900 * time/time.h: Likewise.
23901 * wcsmbs/wchar.h: Likewise.
23902
158648c0
UD
23903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23904 open_by_handle): Add.
23905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23906 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23907 Augment a few comments.
23908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23913 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23914 open_by_handle.
23915
46998f74
UD
23916 * io/fcntl.h (AT_EMPTY_PATH): Define.
23917
83fe108b
UD
239182011-03-30 Ulrich Drepper <drepper@gmail.com>
23919
23920 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23921 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23922 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23923 to...
23924 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23925 * Versions.def: Add GLIBC_2.14.
23926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23927 Export.
83fe108b 23928
bb242059
UD
239292011-03-22 Ulrich Drepper <drepper@gmail.com>
23930
23931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23932 round counter.
23933 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23934
c97a1282
L
239352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23936
23937 [BZ #12597]
23938 * string/test-strncmp.c (do_page_test): New function.
23939 (check2): Likewise.
23940 (test_main): Call check2.
23941 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23942
2a115601
UD
239432011-03-20 Ulrich Drepper <drepper@gmail.com>
23944
23945 [BZ #12587]
23946 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23947 Handle cache information in CPU leaf 4.
23948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23949
8126d904
UD
239502011-03-18 Ulrich Drepper <drepper@gmail.com>
23951
042c49c6 23952 [BZ #12583]
8126d904
UD
23953 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23954 character representation.
23955 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23956
ccfe366e
RA
239572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23958
23959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23960 END(__isnan) to END(__isnanf) to match function entry point/label
23961 EALIGN(__isnanf,...).
23962
c6e13027
JJ
239632011-03-10 Jakub Jelinek <jakub@redhat.com>
23964
23965 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23966
33f85a3f
UD
239672011-03-10 Ulrich Drepper <drepper@gmail.com>
23968
028478fa
UD
23969 [BZ #12510]
23970 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23971 copy from the symbol referenced in the relocation to initialize the
23972 used variable.
23973 Patch by Piotr Bury <pbury@goahead.com>.
23974 * elf/Makefile: Add rules to build and tst-unique3.
23975 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23976 * elf/tst-unique3.cc: New file.
23977 * elf/tst-unique3.h: New file.
23978 * elf/tst-unique3lib.cc: New file.
23979 * elf/tst-unique3lib2.cc: New file.
23980
33f85a3f
UD
23981 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23982
03592fc7
MF
239832011-03-10 Mike Frysinger <vapier@gentoo.org>
23984
23985 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23986 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23987 to _start.
03592fc7 23988
6a5ee102
UD
239892011-03-06 Ulrich Drepper <drepper@gmail.com>
23990
23991 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23992 to-be-loaded object along a path to loader is ld.so.
23993
7e4ba49c
HJ
239942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23995 Ulrich Drepper <drepper@gmail.com>
23996
23997 * sysdeps/x86_64/memset.S: After aligning destination, code
23998 branches to different locations depending on the value of
23999 misalignment, when multiarch is enabled. Fix this.
24000
240012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24002
24003 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24004 Set _x86_64_preferred_memory_instruction for AMD processsors.
24005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24006 Set bit_Prefer_SSE_for_memop for AMD processors.
24007
13a804de
UD
240082011-03-04 Ulrich Drepper <drepper@gmail.com>
24009
24010 * libio/fmemopen.c (fmemopen): Optimize a bit.
24011
9d25c392
AS
240122011-03-03 Andreas Schwab <schwab@redhat.com>
24013
24014 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24015
a5543c6a
RM
240162011-03-03 Roland McGrath <roland@redhat.com>
24017
24018 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24019
012d35f7
DM
240202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24021
7e4ba49c 24022 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24023 __bzero_ultra1 instead of __memset_ultra1.
24024
4bff6e01
AS
240252011-02-23 Andreas Schwab <schwab@redhat.com>
24026 Ulrich Drepper <drepper@gmail.com>
24027
24028 [BZ #12509]
24029 * include/link.h (struct link_map): Add l_orig_initfini.
24030 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24031 returning unsuccessfully.
24032 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24033 close of a file loaded at startup, restore the original l_initfini
24034 list.
24035 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24036 list, store the pointer.
24037 * elf/Makefile ($(objpfx)noload-mem): New rule.
24038 (noload-ENV): Define.
24039 (tests): Add $(objpfx)noload-mem.
24040 * elf/noload.c: Include <memcheck.h>.
24041 (main): Call mtrace. Close all opened handles.
24042
f2092faf
AS
240432011-02-17 Andreas Schwab <schwab@redhat.com>
24044
24045 [BZ #12454]
24046 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24047 dependencies are missing.
24048
6c8a2e88
ST
240492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24050
f2092faf 24051 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24052 Hurd needs munmap.
24053 * sysdeps/mach/hurd/ifreq.h: New file.
24054
84a42118
PB
240552011-01-27 Petr Baudis <pasky@suse.cz>
24056 Ulrich Drepper <drepper@gmail.com>
24057
071f805e 24058 [BZ 12445]#
84a42118
PB
24059 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24060 to extend_alloca().
24061 * stdio-common/bug23.c: New file.
24062 * stdio-common/Makefile (tests): Add bug23.
24063
e23fe25b
AS
240642010-09-28 Andreas Schwab <schwab@redhat.com>
24065 Ulrich Drepper <drepper@gmail.com>
24066
24067 [BZ #12489]
24068 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24069 before performing relro protection. At old place add assertion
24070 to make sure nothing changed.
24071
d3f02e10
NS
240722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24073 Glauber de Oliveira Costa <glommer@gmail.com>
24074
24075 * elf/elf.h: Add new ARM TLS relocs.
24076
d55fd7a5
RA
240772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24078
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24080 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24081 cast from r3.
24082 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24083 'tests' variable.
24084 * sysdeps/wordsize-64/tst-writev.c: New file.
24085
2206397e
RA
240862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24087
24088 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24089 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24090 insns in _dl_start to prevent a TOC reference before relocs are
24091 resolved.
24092
e9433893
UD
240932011-02-15 Ulrich Drepper <drepper@gmail.com>
24094
24095 [BZ #12469]
24096 * Makeconfig: Remove RANLIB definition.
24097 * Makerules: Don't use RANLIB.
24098 * aclocal.m4: Remove ranlib test.
24099 * configure.in: No need to check for ranlib.
24100 * elf/rtld-Rules: Don't use RANLIB.
24101
f75286c6
ST
241022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24103
8e31c82d
ST
24104 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24105 protection macro.
24106 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24107 inclusion protection macro.
24108
f75286c6
ST
24109 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24110 SIGRTMIN and SIGRTMAX and print information in that case only when
24111 SIGRTMIN is defined.
24112
c1d0e639
JJ
241132011-02-11 Jakub Jelinek <jakub@redhat.com>
24114
24115 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24116 arginfo fn returning -1.
24117
24118 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24119 and thousands string is zero terminated.
24120
edf9294e
AS
241212011-02-03 Andreas Schwab <schwab@redhat.com>
24122
24123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24124 sysdeps/unix/sysv/linux/bits/socket.h.
24125
2b7e92df
ST
241262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24127
edf9294e
AS
24128 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24129 (__CPU_COUNT): Remove old macros.
24130 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24131 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24132 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24133 (__sched_cpualloc, __sched_cpufree): Add declarations.
24134
a4c7ea7b
UD
241352011-02-05 Ulrich Drepper <drepper@gmail.com>
24136
24137 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24138 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24139 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24140 (readdhstai): Return value of addhstaiX call.
24141 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24142 (addgrbyX): Return value returned by cache_addgr.
24143 (readdgrbyname): Return value returned by addgrbyX.
24144 (readdgrbygid): Likewise.
24145 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24146 (addpwbyX): Return value returned by cache_addpw.
24147 (readdpwbyname): Return value returned by addhstbyX.
24148 (readdpwbyuid): Likewise.
24149 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24150 (addservbyX): Return value returned by cache_addserv.
24151 (readdservbyname): Return value returned by addservbyX:
24152 (readdservbyport): Likewise.
24153 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24154 (addhstbyX): Return value returned by cache_addhst.
24155 (readdhstbyname): Return value returned by addhstbyX.
24156 (readdhstbyaddr): Likewise.
24157 (readdhstbynamev6): Likewise.
24158 (readdhstbyaddrv6): Likewise.
24159 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24160 (readdinitgroups): Return value returned by addinitgroupsX.
24161 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24162 (prune_cache): Keep track of timeout value of re-added entries.
24163 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24164 * nscd/nscd.h: Adjust prototypes of readd* functions.
24165
a0bf67cc
RM
241662011-02-04 Roland McGrath <roland@redhat.com>
24167
24168 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24169 (nis_stats): Likewise.
24170 * nis/nis_modify.c (nis_modify): Likewise.
24171 * nis/nis_remove.c (nis_remove): Likewise.
24172 * nis/nis_add.c (nis_add): Likewise.
24173
24174 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24175
24176 * posix/fnmatch_loop.c: Add some consts.
24177
24178 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24179
435b95eb
L
241802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 [BZ #12460]
24183 * config.make.in (config-cflags-novzeroupper): Define.
24184 * configure.in: Substitute libc_cv_cc_novzeroupper.
24185 * elf/Makefile (AVX-CFLAGS): Define.
24186 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24187 (CFLAGS-tst-auditmod4a.c): Likewise.
24188 (CFLAGS-tst-auditmod4b.c): Likewise.
24189 (CFLAGS-tst-auditmod6b.c): Likewise.
24190 (CFLAGS-tst-auditmod6c.c): Likewise.
24191 (CFLAGS-tst-auditmod7b.c): Likewise.
24192 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24193
8517b15e
UD
241942011-02-02 Ulrich Drepper <drepper@gmail.com>
24195
24196 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24197 function to the callback.
24198 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24199
10a656fe
AS
242002011-02-02 Andreas Schwab <schwab@redhat.com>
24201
24202 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24203 of errno.
24204
968dad0a
UD
242052011-01-19 Ulrich Drepper <drepper@gmail.com>
24206
9f94d2ea 24207 [BZ #11724]
968dad0a
UD
24208 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24209 of constructors.
24210 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24211 of destructors.
24212 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24213
24214 [BZ #11724]
24215 * elf/Makefile: Add rules to build and run new test.
24216 * elf/tst-initorder.c: New file.
24217 * elf/tst-initorder.exp: New file.
24218 * elf/tst-initordera1.c: New file.
24219 * elf/tst-initordera2.c: New file.
24220 * elf/tst-initordera3.c: New file.
24221 * elf/tst-initordera4.c: New file.
24222 * elf/tst-initorderb1.c: New file.
24223 * elf/tst-initorderb2.c: New file.
24224 * elf/tst-order-a1.c: New file.
24225 * elf/tst-order-a2.c: New file.
24226 * elf/tst-order-a3.c: New file.
24227 * elf/tst-order-a4.c: New file.
24228 * elf/tst-order-b1.c: New file.
24229 * elf/tst-order-b2.c: New file.
24230 * elf/tst-order-main.c: New file.
24231 New test case by George Gensure <werkt0@gmail.com>.
24232
86e92359
UD
242332010-10-01 Andreas Schwab <schwab@redhat.com>
24234
24235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24236 decoding ACE if AI_CANONIDN.
24237
5d5732b0
UD
242382011-01-18 Ulrich Drepper <drepper@gmail.com>
24239
24240 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24241
a77e8cbc
UD
242422011-01-17 Ulrich Drepper <drepper@gmail.com>
24243
6392473f
UD
24244 * version.h (RELEASE): Bump for 2.13 release.
24245 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24246
620a0529
UD
24247 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24248
18ba70a5
UD
24249 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24250 MADV_NOHUGEPAGE.
32465c3e
UD
24251 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24257
c0dafcf1
UD
24258 * posix/getconf.c: Update copyright year.
24259 * catgets/gencat.c: Likewise.
24260 * csu/version.c: Likewise.
24261 * debug/catchsegv.sh: Likewise.
24262 * debug/xtrace.sh: Likewise.
24263 * elf/ldconfig.c: Likewise.
24264 * elf/ldd.bash.in: Likewise.
24265 * elf/sprof.c (print_version): Likewise.
24266 * iconv/iconv_prog.c: Likewise.
24267 * iconv/iconvconfig.c: Likewise.
24268 * locale/programs/locale.c: Likewise.
24269 * locale/programs/localedef.c: Likewise.
24270 * malloc/memusage.sh: Likewise.
24271 * malloc/mtrace.pl: Likewise.
24272 * nscd/nscd.c (print_version): Likewise.
24273 * nss/getent.c: Likewise.
24274
a77e8cbc
UD
24275 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24276 PF_CAIF, and PF_ALG.
24277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24278
77e8bddf
AS
242792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24280
1f20b93a
AS
24281 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24282 (modules-names): Use them.
24283 (ifunc-test-modules, ifunc-pie-tests): Define.
24284 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24285 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24286 (test-extras): Likewise.
24287 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24288 $(compile-command.c).
24289 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24290 (all-built-dso): Define.
24291 (check-textrel.out, check-execstack.out): Depend on it.
24292
77e8bddf
AS
24293 * configure.in: Don't override --enable-multi-arch.
24294
bc425b33
UD
242952011-01-15 Ulrich Drepper <drepper@gmail.com>
24296
24297 [BZ #6812]
24298 * nscd/hstcache.c (tryagain): Define.
24299 (cache_addhst): Return tryagain not notfound for temporary errors.
24300 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24301 failed.
24302
794c3ad3
UD
243032011-01-14 Ulrich Drepper <drepper@gmail.com>
24304
70181fdd
UD
24305 [BZ #10563]
24306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24307 to make the syscall.
24308 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24309
794c3ad3
UD
24310 [BZ #12378]
24311 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24312 and fall back to matching as normal character if the string ends before
24313 the matching ']' is found. This is what POSIX requires.
24314 * posix/testfnm.c: Adjust test result.
24315 * posix/globtest.sh: Adjust test result. Add new test.
24316 * posix/tst-fnmatch.input: Likewise.
24317 * posix/tst-fnmatch2.c: Add new test.
24318
68dc9497
AS
243192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24320
24321 * elf/Makefile (check-execstack): Revert last change. Depend on
24322 check-execstack.h.
24323 (check-execstack.h): New target.
24324 (generated): Add check-execstack.h.
24325 * elf/check-execstack.c: Include "check-execstack.h".
24326 (main): Revert last change.
24327 (handle_file): Return zero if GNU_STACK is absent and
24328 DEFAULT_STACK_PERMS doesn't include PF_X.
24329
451f001b
UD
243302011-01-13 Ulrich Drepper <drepper@gmail.com>
24331
cfa28e56
UD
24332 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24333 in child fails because the descriptor is already closed.
8cf8ce17
UD
24334 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24335 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24337
1086d70d
UD
24338 [BZ #12397]
24339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24340 syscall.
24341
451f001b
UD
24342 [BZ #10484]
24343 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24344 temporary buffer used to handle multi lookups locally.
a85b5cb4 24345 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24346
08769175
UD
243472011-01-12 Ulrich Drepper <drepper@gmail.com>
24348
24349 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24350 loader is ld.so.
24351
5e49c52e
UD
243522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24353
24354 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24355 alignment for SSE2.
24356
60522a5f
UD
243572011-01-12 Ulrich Drepper <drepper@gmail.com>
24358
24359 [BZ #12394]
24360 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24361 characters. When rounding increased number of integer digits recompute
24362 number of groups.
24363 * stdio-common/tst-grouping.c: New file.
24364 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24365
f257bbd7
UD
243662011-01-09 Ulrich Drepper <drepper@gmail.com>
24367
24368 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24369 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24370
24371 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24372 void.
24373 * bits/select.h: Likewise.
24374
fa9c15cb
UD
243752011-01-08 Ulrich Drepper <drepper@gmail.com>
24376
24377 * po/ja.po: Update from translation team.
24378
16c2895f
DM
243792011-01-04 David S. Miller <davem@sunset.davemloft.net>
24380
24381 [BZ #11155]
24382 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24383 implementation just like for lxstat, fxstatat, et al.
24384
2543fef2
JM
243852010-12-27 Jim Meyering <meyering@redhat.com>
24386
24387 [BZ #12348]
24388 * posix/regexec.c (build_trtable): Return failure indication upon
24389 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24390
98727dbe
UD
243912010-12-25 Ulrich Drepper <drepper@gmail.com>
24392
5bd6dc5c
UD
24393 [BZ #12201]
24394 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24395 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24398
97983464
UD
24399 [BZ #12207]
24400 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24401
98727dbe
UD
24402 [BZ #12204]
24403 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24404 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24405
4a531bb0
L
244062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24409 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24410 script has SORT_BY_INIT_PRIORITY.
24411 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24412 NO_CTORS_DTORS_SECTIONS is defined.
24413 * elf/soinit.c: Likewise.
24414 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24415 NO_CTORS_DTORS_SECTIONS is defined.
24416 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24417 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24418 * sysdeps/sh/init-first.c: Likewise.
24419 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24420
07eb4b71
UD
244212010-12-24 Ulrich Drepper <drepper@gmail.com>
24422
24423 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24424 always use the slow path.
24425
30950a5f
RA
244262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24427
24428 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24429 similar rule which adds the sysdep directories to the header search in
24430 order to pick up the correct platform stackinfo.h.
24431 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24432 perform test if it is, otherwise return successfully without testing.
24433 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24434 DEFAULT_STACK_PERMS define in stackinfo.h.
24435 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24436 defined in stackinfo.h.
24437 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24438 DEFAULT_STACK_PERMS defined in stackinfo.h.
24439 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24440 * sysdeps/ia64/stackinfo.h: Likewise.
24441 * sysdeps/s390/stackinfo.h: Likewise.
24442 * sysdeps/sh/stackinfo.h: Likewise.
24443 * sysdeps/sparc/stackinfo.h: Likewise.
24444 * sysdeps/x86_64/stackinfo.h: Likewise.
24445 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24446 PF_X for powerpc64. Retain PF_X for powerpc32.
24447
db753e2c
UD
244482010-12-19 Ulrich Drepper <drepper@gmail.com>
24449
14b697f7
UD
24450 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24451 accurately.
db753e2c
UD
24452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24453 GETDENTS_64BIT_ALIGNED.
24454
28300719
UD
244552010-12-14 Ulrich Drepper <dreper@gmail.com>
24456
14b697f7 24457 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24458
4f197237
AS
244592010-12-10 Andreas Schwab <schwab@redhat.com>
24460
dbb0472f
AS
24461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24462 _GNU_SOURCE.
24463
4f197237
AS
24464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24465 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24466 Remove __restrict.
24467 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24468 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24469
fb88ac72
UD
244702010-12-09 Ulrich Drepper <drepper@gmail.com>
24471
24472 [BZ #11655]
24473 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24474 are initialized.
24475
42acbb92
JJ
244762010-12-09 Jakub Jelinek <jakub@redhat.com>
24477
24478 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24479
c038d98d
UD
244802010-12-03 Ulrich Drepper <drepper@gmail.com>
24481
24482 * po/it.po: Update from translation team.
24483
3a4a2499
L
244842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24485
24486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24487 unused codes.
24488
1e24cf6e
UD
244892010-11-30 Ulrich Drepper <drepper@gmail.com>
24490
24491 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24492
a7690819
AS
244932010-11-24 Andreas Schwab <schwab@redhat.com>
24494
24495 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24496 specially.
24497 (gaih_getanswer_slice): Likewise.
24498
3bf8d1b1
JJ
244992010-10-20 Jakub Jelinek <jakub@redhat.com>
24500
24501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24502
6db52fbb
PB
245032010-05-31 Petr Baudis <pasky@suse.cz>
24504
24505 [BZ #11149]
24506 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24507 silently even in the chroot mode.
24508
eaca7569
UD
245092010-11-22 Ulrich Drepper <drepper@gmail.com>
24510
24511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24512 last patch a bit. Pretty printing
24513
3056dcdb
UD
245142010-05-31 Petr Baudis <pasky@suse.cz>
24515
24516 [BZ #10085]
24517 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24518 initialization of skip_initgroups_dyn.
24519
cf7c9078
UD
245202010-11-19 Ulrich Drepper <drepper@gmail.com>
24521
24522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24524
a1fb5e3e
UD
245252010-11-16 Ulrich Drepper <drepper@gmail.com>
24526
24527 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24528
3540d66b
AS
245292010-11-11 Andreas Schwab <schwab@redhat.com>
24530
24531 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24532 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24533 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24534 ($(objpfx)tst-fnmatch-mem): New rule.
24535 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24536 * posix/tst-fnmatch.c (main): Call mtrace.
24537
13b69574
L
245382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24541 Support Intel processor model 6 and model 0x2c.
24542
da93d214
LM
245432010-11-10 Luis Machado <luisgpm@br.ibm.com>
24544
24545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24546 signed comparison.
24547
8ca52c6e
L
245482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24549
24550 [BZ #12205]
24551 * string/test-strncasecmp.c (check_result): New function.
24552 (do_one_test): Use it.
24553 (check1): New function.
24554 (test_main): Use it.
24555 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24556 Support strcasecmp and strncasecmp.
24557
69da074d
UD
245582010-11-08 Ulrich Drepper <drepper@gmail.com>
24559
24560 [BZ #12194]
24561 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24563
ff02d528
L
245642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24565
24566 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24567 IFUNC support.
24568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24569 memset-x86-64.
24570 * sysdeps/x86_64/multiarch/bzero.S: New file.
24571 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24572 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24573 * sysdeps/x86_64/multiarch/memset.S: New file.
24574 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24576 Set bit_Prefer_SSE_for_memop for Intel processors.
24577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24578 Define.
24579 (index_Prefer_SSE_for_memop): Define.
24580 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24581
344d0b54
LM
245822010-11-04 Luis Machado <luisgpm@br.ibm.com>
24583
24584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24586
c0dde15b
UD
245872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24588
24589 [BZ #12191]
24590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24591 (__x86_64_raw_data_cache_size_half): Likewise.
24592 (__x86_64_raw_shared_cache_size): Likewise.
24593 (__x86_64_raw_shared_cache_size_half): Likewise.
24594
24595 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24596 (__x86_64_raw_data_cache_size_half): Likewise.
24597 (__x86_64_raw_shared_cache_size): Likewise.
24598 (__x86_64_raw_shared_cache_size_half): Likewise.
24599 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24600 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24601 and __x86_64_raw_shared_cache_size_half. Round
24602 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24603 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24604 to multiple of 256 bytes.
24605
0e516e0e
MS
246062010-11-03 Ulrich Drepper <drepper@gmail.com>
24607
24608 [BZ #12167]
24609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24610 of inacessible symlinks. Verify result of symlink before returning it.
24611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24612 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24613
0e012e87
ER
246142010-10-28 Erich Ritz <erichritz@gmail.com>
24615
24616 * math/math.h (isinf): Fix typo in comment.
24617
de0ff7bc
UD
246182010-11-01 Ulrich Drepper <drepper@gmail.com>
24619
24620 * po/da.po: Update from translation team.
24621
fa41c84d
UD
246222010-10-26 Ulrich Drepper <drepper@gmail.com>
24623
24624 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24625 is added to the list.
24626
f0967738
AK
246272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24628 Ulrich Drepper <drepper@gmail.com>
24629
24630 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24631 the global list here. Move code to...
24632 (_dl_add_to_namespace_list): ...here. New function.
24633 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24634 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24635 * elf/dl-load.c (lose): Don't remove the element from the list.
24636 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24637 (_dl_map_object): Likewise.
24638
246392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24640
24641 [BZ #12159]
24642 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24643 into all bytes of SSE register.
24644 Patch by Richard Li <richardpku@gmail.com>.
24645
f0967738 246462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24647
24648 [BZ #12140]
24649 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24650 perturbing.
24651
d0b9e94f
MB
246522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24653
24654 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24655 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24659 submachine.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24661
8e9f92e9
AS
246622010-10-22 Andreas Schwab <schwab@redhat.com>
24663
24664 * include/dlfcn.h (__RTLD_SECURE): Define.
24665 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24666 mode & __RTLD_SECURE instead.
24667 (open_path): Rename preloaded parameter to secure.
24668 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24669 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24670 * elf/dl-deps.c (openaux): Likewise.
24671 * elf/rtld.c (struct map_args): Remove is_preloaded.
24672 (map_doit): Don't use it.
24673 (dl_main): Likewise.
24674 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24675 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24676
bc96fbda
AS
246772010-09-09 Andreas Schwab <schwab@redhat.com>
24678
24679 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24680 (sysd-rules-targets): Remove duplicates.
24681 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24682 rtld-%.$o dependency.
24683
22cd1c9b
AS
246842010-10-18 Andreas Schwab <schwab@redhat.com>
24685
24686 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24687 _dl_map_object do it.
24688
18edac48
UD
246892010-10-19 Ulrich Drepper <drepper@gmail.com>
24690
24691 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24692 fast fma builtins, define the macros in the C99 standard.
24693 (FP_FAST_FMAF): Likewise.
24694 (FP_FAST_FMAL): Likewise.
24695 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24696
24697 * bits/mathdef.h: Update copyright year.
24698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24699
d2050124
MM
247002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24701
24702 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24703 builtins, define the macros in the C99 standard.
24704 (FP_FAST_FMAF): Likewise.
24705 (FP_FAST_FMAL): Likewise.
24706 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24707 multiply/add.
24708 (FP_FAST_FMAF): Likewise.
24709
475facd1
JJ
247102010-10-15 Jakub Jelinek <jakub@redhat.com>
24711
24712 [BZ #3268]
24713 * math/libm-test.inc (fma_test): Some new testcases.
24714 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24716 y and infinite z. Do multiplication by C already in long double.
24717 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24719 y and infinite z. Do bitwise or of inexact bit into u.d.
24720 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24721 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24722 * sysdeps/i386/fpu/s_fma.S: Removed.
24723 * sysdeps/i386/fpu/s_fmal.S: Removed.
24724
7c08a05c
JJ
247252010-10-16 Jakub Jelinek <jakub@redhat.com>
24726
24727 [BZ #3268]
24728 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24730 computation is not scheduled after fetestexcept. Fix value
24731 of minimum denormal long double.
24732
f3f7372d
JJ
247332010-10-14 Jakub Jelinek <jakub@redhat.com>
24734
24735 [BZ #3268]
24736 * math/libm-test.inc (fma_test): Add some more tests.
24737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24738 correctly.
24739
14d43591
AS
247402010-10-15 Andreas Schwab <schwab@redhat.com>
24741
24742 * scripts/data/localplt-s390-linux-gnu.data: New file.
24743 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24744
5e908464
JJ
247452010-10-13 Jakub Jelinek <jakub@redhat.com>
24746
24747 [BZ #3268]
24748 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24749 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24750 instead of dbl-64.
24751 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24752 inlines.
24753 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24755 if one of x and y is very large and the other is subnormal.
24756 * sysdeps/s390/fpu/s_fmaf.c: New file.
24757 * sysdeps/s390/fpu/s_fma.c: New file.
24758 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24759 * sysdeps/powerpc/fpu/s_fma.S: New file.
24760 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24761 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24762 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24763
247642010-10-12 Jakub Jelinek <jakub@redhat.com>
24765
24766 [BZ #3268]
24767 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24768 fma tests.
24769 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24770 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24771 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24772 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24773 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24774 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24776
b833d51f
UD
247772010-10-12 Ulrich Drepper <drepper@redhat.com>
24778
24779 [BZ #12078]
24780 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24781 * posix/bug-regex31.input: Add test case.
24782
1751705d
UD
247832010-10-11 Ulrich Drepper <drepper@gmail.com>
24784
e9b9cbf5
UD
24785 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24786 * posix/bug-regex31.input: New file.
24787
24788 [BZ #12078]
24789 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24790 (parse_sub_exp): Fix last change, use postorder.
24791
ef06edbe
UD
24792 * posix/bug-regex31.c: New file.
24793 * posix/Makefile: Add rules to build and run bug-regex31.
24794
a129c80d
UD
24795 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24796
24797 [BZ #12078]
24798 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24799
b76b818e
UD
24800 [BZ #12108]
24801 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24802 to have entries in sys_siglist.
24803
1751705d
UD
24804 [BZ #12093]
24805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24806 be NULL.
24807
9ff8d36f
JJ
248082010-10-07 Jakub Jelinek <jakub@redhat.com>
24809
24810 [BZ #3268]
24811 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24812 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24813 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24814 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24815 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24816 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24817 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24818 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24819 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24820 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24821 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24822 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24823 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24824 * math/ftestexcept.c (fetestexcept): Likewise.
24825 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24826 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24827 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24829 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24830 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24832
af325969
UD
248332010-10-11 Ulrich Drepper <drepper@gmail.com>
24834
c579b202 24835 [BZ #12107]
af325969
UD
24836 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24837 newline.
24838
67a67b95
UD
248392010-10-06 Ulrich Drepper <drepper@gmail.com>
24840
24841 * string/bug-strstr1.c: New file.
24842 * string/Makefile: Add rules to build and run bug-strstr1.
24843
5fb308bc
EB
248442010-10-05 Eric Blake <eblake@redhat.com>
24845
24846 [BZ #12092]
24847 * string/str-two-way.h (two_way_long_needle): Always clear memory
24848 when skipping input due to the shift table.
24849
45db99c7
UD
248502010-10-03 Ulrich Drepper <drepper@gmail.com>
24851
3b111893
UD
24852 [BZ #12005]
24853 * malloc/mcheck.c: Handle large requests.
24854
45db99c7
UD
24855 [BZ #12077]
24856 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24857 for strncmp and strncasecmp.
24858 * string/stratcliff.c: Add tests for strcmp and strncmp.
24859 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24860
cf7a1eb8
NI
248612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24862
24863 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24864 __set_fpscr.
24865
6484ba5e
AJ
248662010-09-30 Andreas Jaeger <aj@suse.de>
24867
24868 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24869 (CGROUP_SUPER_MAGIC): Define.
24870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24871 Handle btrfs and cgroup file systems.
24872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24873 Likewise.
24874
91c42559
LM
248752010-09-27 Luis Machado <luisgpm@br.ibm.com>
24876
24877 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24878 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24879
87a97932
AK
248802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24881
24882 [BZ #12067]
24883 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24884 trying to locate the ELF header.
24885
c21cc9bc
AS
248862010-09-27 Andreas Schwab <schwab@redhat.com>
24887
24888 [BZ #11611]
24889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24890 Mask out sign-bit copies when constructing f_fsid.
24891
315970f6
PB
248922010-09-24 Petr Baudis <pasky@suse.cz>
24893
24894 * debug/stack_chk_fail_local.c: Add missing licence exception.
24895 * debug/warning-nop.c: Likewise.
24896
1ac7a2c7
JM
248972010-09-15 Joseph Myers <joseph@codesourcery.com>
24898
24899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24900 implementing getdents64 using getdents syscall, set d_type if
24901 __ASSUME_GETDENTS32_D_TYPE.
24902
56801c50
AS
249032010-09-16 Andreas Schwab <schwab@redhat.com>
24904
24905 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24906 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24907
dda51327
UD
249082010-09-21 Ulrich Drepper <drepper@redhat.com>
24909
24910 [BZ #12037]
24911 * posix/unistd.h: Undo change of feature selection for ftruncate from
24912 2010-01-11.
24913
8ffcee4a
UD
249142010-09-20 Ulrich Drepper <drepper@redhat.com>
24915
a545ecd9 24916 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24917 detection.
24918
e24f0a8b
AS
249192010-09-20 Andreas Schwab <schwab@redhat.com>
24920
24921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24922 fanotify_mark.
24923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24924
7291c56f
AS
249252010-09-14 Andreas Schwab <schwab@redhat.com>
24926
24927 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24928 variables after CHECK_SP call.
24929 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24930
bc5fb037
AS
249312010-09-13 Andreas Schwab <schwab@redhat.com>
24932 Ulrich Drepper <drepper@redhat.com>
24933
24934 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24935 re-relocationg ld.so.
24936 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24937 _dl_init_paths call.
24938 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24939 here anymore.
24940
e66e7419
UD
249412010-09-14 Ulrich Drepper <drepper@redhat.com>
24942
24943 * resolv/res_init.c (__res_vinit): Count the default server we added.
24944
c044aa75
CLT
249452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24946 Ulrich Drepper <drepper@redhat.com>
24947
24948 [BZ #11968]
24949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24950 (____longjmp_chk): Use %ebx for saving value across system call.
24951 Add unwind info.
24952
32cf4069
AS
249532010-09-06 Andreas Schwab <schwab@redhat.com>
24954
24955 * manual/Makefile: Don't mix pattern rules with normal rules.
24956
817328ee
AS
249572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24958
24959 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24960 operation.
24961 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24962 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24963 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24966 Likewise.
24967
29fddf61
UD
249682010-09-04 Ulrich Drepper <drepper@redhat.com>
24969
24970 [BZ #11979]
24971 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24972 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24973
0959ffc9
UD
249742010-09-02 Ulrich Drepper <drepper@redhat.com>
24975
24976 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24977 * sysdeps/x86_64/addmul_1.S: Likewise.
24978 * sysdeps/x86_64/lshift.S: Likewise.
24979 * sysdeps/x86_64/mul_1.S: Likewise.
24980 * sysdeps/x86_64/rshift.S: Likewise.
24981 * sysdeps/x86_64/sub_n.S: Likewise.
24982 * sysdeps/x86_64/submul_1.S: Likewise.
24983
ece29840
ST
249842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24985
0959ffc9
UD
24986 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24987 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24988 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24989 * bits/sched.h [__need_schedparam]
ece29840 24990 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24991 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24992 (__defined_schedparam): Define to 1.
ece29840
ST
24993 (__sched_param): New structure, identical to sched_param.
24994 (__need_schedparam): Undefine.
24995
e53a31fe
MF
249962010-08-31 Mike Frysinger <vapier@gentoo.org>
24997
fdc0c10d
MF
24998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24999 (epoll_create1): Declare.
25000
e53a31fe
MF
25001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25002
a726d796
AS
250032010-08-31 Andreas Schwab <schwab@redhat.com>
25004
25005 [BZ #7066]
25006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25007 shifting retval into place.
25008
2f3e3dc7
UD
250092010-09-01 Ulrich Drepper <drepper@redhat.com>
25010
f2933da9
UD
25011 * nis/rpcsvc/nis.h: Update copyright notice.
25012 * nis/rpcsvc/nis.x: Likewise.
25013 * nis/rpcsvc/nis_callback.h: Likewise.
25014 * nis/rpcsvc/nis_callback.x: Likewise.
25015 * nis/rpcsvc/nis_object.x: Likewise.
25016 * nis/rpcsvc/nis_tags.h: Likewise.
25017 * nis/rpcsvc/yp.h: Likewise.
25018 * nis/rpcsvc/yp.x: Likewise.
25019 * nis/rpcsvc/ypupd.h: Likewise.
25020 * nis/yp_xdr.c: Likewise.
25021 * nis/ypupdate_xdr.c: Likewise.
25022
2f3e3dc7
UD
25023 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25024 mainly the body of pmap_getport. Add parameters to specify timeouts.
25025 (pmap_getport): Use __libc_rpc_getport.
25026 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25027 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25028 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25029
f3dcc2f9
AS
250302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25031
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25033 fanotify_mark.
25034
6d34eb5b
RM
250352010-08-27 Roland McGrath <roland@redhat.com>
25036
25037 * sysdeps/i386/i686/multiarch/Makefile
25038 (CFLAGS-varshift.c): New variable.
25039
9ea3de11
UD
250402010-08-27 Ulrich Drepper <drepper@redhat.com>
25041
c96d23fc
UD
25042 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25043 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25044
9ea3de11
UD
25045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25046
25047 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25048
623aac7f
L
250492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25050
25051 * sysdeps/x86_64/strlen.S: Unroll the loop.
25052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25053 strlen-sse2 strlen-sse2-bsf.
25054 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25055 __strlen_no_bsf if bit_Slow_BSF is set.
25056 (__strlen_sse42): Removed.
25057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25058 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25059
8b2b7715
RM
250602010-08-25 Roland McGrath <roland@redhat.com>
25061
25062 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25063 * sysdeps/x86_64/multiarch/varshift.c: New file.
25064 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25065 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25066 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25067 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25068
e73015f2
L
250692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25070
25071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25072 strlen-sse2 strlen-sse2-bsf.
25073 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25074 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25075 (__strlen_sse2): Removed.
25076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25077 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25079 bit_Slow_BSF for Atom.
25080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25081 (index_Slow_BSF): Define.
25082 (HAS_SLOW_BSF): Define.
25083
df24a73e
UD
250842010-08-25 Ulrich Drepper <drepper@redhat.com>
25085
25086 [BZ #10851]
25087 * resolv/res_init.c (__res_vinit): When no server address at all
25088 is given default to loopback.
25089
f2ac4868
RM
250902010-08-24 Roland McGrath <roland@redhat.com>
25091
09055553
RM
25092 * configure.in: Remove config-name.h generation.
25093 * configure: Regenerated.
25094 * config-name.in: File removed.
25095 * scripts/config-uname.sh: New file.
25096 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25097 ($(objdir)config-name.h): New target.
25098
f2ac4868
RM
25099 * sunrpc/rpc_parse.h: Avoid nested comment.
25100
73f27d5e
RH
251012010-08-24 Richard Henderson <rth@redhat.com>
25102 Ulrich Drepper <drepper@redhat.com>
25103 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25107 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25108 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25109 _mm_alignr_epi8 with _mm_loadu_si128.
25110 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25111 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25112 (__m128i_shift_right): Removed.
25113 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25114 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25115 * sysdeps/x86_64/multiarch/varshift.h: New file.
25116 * sysdeps/x86_64/multiarch/varshift.S: New file.
25117
84b9230c
MF
251182010-08-21 Mike Frysinger <vapier@gentoo.org>
25119
25120 * configure.in: Move assembler checks to before sysdep dir checking.
25121
9bbd0ddc
PB
251222010-08-20 Petr Baudis <pasky@suse.cz>
25123
25124 * LICENSES: Sync the sunrpc license.
25125
9da4bb31
UD
251262010-08-19 Ulrich Drepper <drepper@redhat.com>
25127
a7ab6ec8
UD
25128 * sunrpc/auth_des.c: Update copyright notice once again.
25129 * sunrpc/auth_none.c: Likewise.
25130 * sunrpc/auth_unix.c: Likewise.
25131 * sunrpc/authdes_prot.c: Likewise.
25132 * sunrpc/authuxprot.c: Likewise.
25133 * sunrpc/bindrsvprt.c: Likewise.
25134 * sunrpc/clnt_gen.c: Likewise.
25135 * sunrpc/clnt_perr.c: Likewise.
25136 * sunrpc/clnt_raw.c: Likewise.
25137 * sunrpc/clnt_simp.c: Likewise.
25138 * sunrpc/clnt_tcp.c: Likewise.
25139 * sunrpc/clnt_udp.c: Likewise.
25140 * sunrpc/clnt_unix.c: Likewise.
25141 * sunrpc/des_crypt.c: Likewise.
25142 * sunrpc/des_soft.c: Likewise.
25143 * sunrpc/get_myaddr.c: Likewise.
25144 * sunrpc/getrpcport.c: Likewise.
25145 * sunrpc/key_call.c: Likewise.
25146 * sunrpc/key_prot.c: Likewise.
25147 * sunrpc/openchild.c: Likewise.
25148 * sunrpc/pm_getmaps.c: Likewise.
25149 * sunrpc/pm_getport.c: Likewise.
25150 * sunrpc/pmap_clnt.c: Likewise.
25151 * sunrpc/pmap_prot.c: Likewise.
25152 * sunrpc/pmap_prot2.c: Likewise.
25153 * sunrpc/pmap_rmt.c: Likewise.
25154 * sunrpc/rpc/auth.h: Likewise.
25155 * sunrpc/rpc/auth_unix.h: Likewise.
25156 * sunrpc/rpc/clnt.h: Likewise.
25157 * sunrpc/rpc/des_crypt.h: Likewise.
25158 * sunrpc/rpc/key_prot.h: Likewise.
25159 * sunrpc/rpc/netdb.h: Likewise.
25160 * sunrpc/rpc/pmap_clnt.h: Likewise.
25161 * sunrpc/rpc/pmap_prot.h: Likewise.
25162 * sunrpc/rpc/pmap_rmt.h: Likewise.
25163 * sunrpc/rpc/rpc.h: Likewise.
25164 * sunrpc/rpc/rpc_des.h: Likewise.
25165 * sunrpc/rpc/rpc_msg.h: Likewise.
25166 * sunrpc/rpc/svc.h: Likewise.
25167 * sunrpc/rpc/svc_auth.h: Likewise.
25168 * sunrpc/rpc/types.h: Likewise.
25169 * sunrpc/rpc/xdr.h: Likewise.
25170 * sunrpc/rpc_clntout.c: Likewise.
25171 * sunrpc/rpc_cmsg.c: Likewise.
25172 * sunrpc/rpc_common.c: Likewise.
25173 * sunrpc/rpc_cout.c: Likewise.
25174 * sunrpc/rpc_dtable.c: Likewise.
25175 * sunrpc/rpc_hout.c: Likewise.
25176 * sunrpc/rpc_main.c: Likewise.
25177 * sunrpc/rpc_parse.c: Likewise.
25178 * sunrpc/rpc_parse.h: Likewise.
25179 * sunrpc/rpc_prot.c: Likewise.
25180 * sunrpc/rpc_sample.c: Likewise.
25181 * sunrpc/rpc_scan.c: Likewise.
25182 * sunrpc/rpc_scan.h: Likewise.
25183 * sunrpc/rpc_svcout.c: Likewise.
25184 * sunrpc/rpc_tblout.c: Likewise.
25185 * sunrpc/rpc_util.c: Likewise.
25186 * sunrpc/rpc_util.h: Likewise.
25187 * sunrpc/rpcinfo.c: Likewise.
25188 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25189 * sunrpc/rpcsvc/key_prot.x: Likewise.
25190 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25191 * sunrpc/rpcsvc/mount.x: Likewise.
25192 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25193 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25194 * sunrpc/rpcsvc/rex.x: Likewise.
25195 * sunrpc/rpcsvc/rstat.x: Likewise.
25196 * sunrpc/rpcsvc/rusers.x: Likewise.
25197 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25198 * sunrpc/rpcsvc/spray.x: Likewise.
25199 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25200 * sunrpc/rtime.c: Likewise.
25201 * sunrpc/svc.c: Likewise.
25202 * sunrpc/svc_auth.c: Likewise.
25203 * sunrpc/svc_authux.c: Likewise.
25204 * sunrpc/svc_raw.c: Likewise.
25205 * sunrpc/svc_run.c: Likewise.
25206 * sunrpc/svc_simple.c: Likewise.
25207 * sunrpc/svc_tcp.c: Likewise.
25208 * sunrpc/svc_udp.c: Likewise.
25209 * sunrpc/svc_unix.c: Likewise.
25210 * sunrpc/svcauth_des.c: Likewise.
25211 * sunrpc/xcrypt.c: Likewise.
25212 * sunrpc/xdr.c: Likewise.
25213 * sunrpc/xdr_array.c: Likewise.
25214 * sunrpc/xdr_float.c: Likewise.
25215 * sunrpc/xdr_mem.c: Likewise.
25216 * sunrpc/xdr_rec.c: Likewise.
25217 * sunrpc/xdr_ref.c: Likewise.
25218 * sunrpc/xdr_sizeof.c: Likewise.
25219 * sunrpc/xdr_stdio.c: Likewise.
25220
9da4bb31
UD
25221 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25222 handling.
25223
bdaa77bc
AS
252242010-08-19 Andreas Schwab <schwab@redhat.com>
25225
25226 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25227
fe2f79db
LM
252282010-08-19 Luis Machado <luisgpm@br.ibm.com>
25229
25230 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25232 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25233 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25235 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25237 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25240 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25242 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25243 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25244
b9b42ee0
AB
252452010-07-26 Anton Blanchard <anton@samba.org>
25246
25247 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25248 * malloc/arena.c (heap_trim): Likewise.
25249
1c06ba31
UD
252502010-08-16 Ulrich Drepper <drepper@redhat.com>
25251
25252 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25253 here. Not...
25254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25255 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25256
f8392f40
L
252572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25258
25259 * sysdeps/i386/elf/Makefile: New file.
25260
3162f12e
AS
252612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25262
25263 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25264 from fanotify_init.
25265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25267
28c90b2c
UD
252682010-08-15 Ulrich Drepper <drepper@redhat.com>
25269
25270 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25271 of strncasecmp_l.
1feccb6c 25272 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25273
ca6bb004
UD
252742010-08-14 Ulrich Drepper <drepper@redhat.com>
25275
e9f82e0d
UD
25276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25277 strncase_l-nonascii.
25278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25279 Add strncase_l-ssse3.
25280 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25281 * sysdeps/x86_64/strcmp.S: Likewise.
25282 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25283 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25284 * sysdeps/x86_64/strncase.S: New file.
25285 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25286 * sysdeps/x86_64/strncase_l.S: New file.
25287 * string/Makefile (strop-tests): Add strncasecmp.
25288 * string/test-strncasecmp.c: New file.
25289
25290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25291 warning.
25292
ca6bb004
UD
25293 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25294 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25295
052fa7b3
AS
252962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25297
25298 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25299
962dba78
UD
253002010-08-12 Ulrich Drepper <drepper@redhat.com>
25301
25302 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25305
bebff237
AM
253062010-05-01 Alan Modra <amodra@gmail.com>
25307
25308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25309 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25310 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25311 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25312 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25313 tidying. Don't tail-call __sigjmp_save for static lib.
25314 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25315 save location.
25316 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25317 (CALL_MCOUNT): Add eh info, and nop after bl.
25318 (TAIL_CALL_SYSCALL_ERROR): New macro.
25319 (PSEUDO_RET): Use it.
25320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25321 Correct save location of integer regs and cr.
25322 (_dl_profile_resolve): Correct cr save location. Delete nops
25323 after bl when SHARED. Reduce cfi size a little by better
25324 placement of cfi directives.
25325 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25326 make a stack frame. Instead use parm save area as a temp.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25328 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25330 Don't make a stack frame for parent, use parm save area.
25331 Increase child stack frame to 112 bytes. Don't save unused reg,
25332 and adjust reg usage. Set up cfi on error recovery and
25333 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25335 (__makecontext): Add dummy nop after jump to exit.
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25337 Use correct parm save area and cr save, reduce stack frame.
25338 Correct cfi for possible PSEUDO_RET frame setup.
25339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25340 Branch to local label emitted by PSEUDO_RET rather than
25341 __syscall_error.
25342
02637374
AS
253432010-08-12 Andreas Schwab <schwab@redhat.com>
25344
25345 [BZ #11904]
25346 * locale/programs/locale.c (print_assignment): New function.
25347 (show_locale_vars): Use it.
25348
c3e2f19b
UD
253492010-08-11 Ulrich Drepper <drepper@redhat.com>
25350
3cdaa6ad
UD
25351 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25352 field.
25353 (struct statfs64): Likewise.
25354 (_STATFS_F_FLAGS): Define.
25355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25357 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25358 (ST_VALID): Define locally.
25359 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25360 __statvfs_getflags, use the provided value.
25361 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25362 __ASSUME_STATFS_F_FLAGS.
25363
754f7da3
UD
25364 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25365
10b3bedc
UD
25366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25367 Add sys/fanotify.h.
25368 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25369 fanotify_mask for GLIBC_2.13.
25370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25371 fanotify_init and fanotify_mark.
25372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25373 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25374
c08fb0d7
UD
25375 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25376 Add prlimit.
25377 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25378 prlimit64 for GLIBC_2.13.
25379 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25380 prlimit64.
25381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25382 syscall.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25388 add prlimit alias.
25389 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25390
15bac72b
UD
25391 [BZ #11903]
25392 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25393 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25394
c3e2f19b
UD
25395 * nss/Makefile: Add rules to build and run tst-nss-test1.
25396 * shlib-versions: Add entry for libnss_test1.
25397 * nss/nss_test1.c: New file.
25398 * nss/tst-nss-test1.c: New file.
25399
25400 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25401 (__nss_configure_lookup): Set appropriate entry in
25402 __nss_configure_lookup to true.
25403 * nss/nsswitch.h: Define enum with indeces of databases in
25404 databases and __nss_database_custom arrays. Declare
25405 __nss_database_custom.
25406 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25407 to avoid using nscd when custom rules are installed.
25408 * nss/getXXbyYY_r.c: Likewise.
25409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25410
25411 * nss/nss_files/files-parse.c: Whitespace fixes.
25412
f15ce4d8
UD
254132010-08-09 Ulrich Drepper <drepper@redhat.com>
25414
25415 [BZ #11883]
25416 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25417 * posix/fnmatch_loop.c: Likewise.
25418
d22e4cc9
AK
254192010-07-17 Andi Kleen <ak@linux.intel.com>
25420
25421 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25422 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25423 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25424 * Versions.def [GLIBC_2.13]: Add.
25425
805bc17d
UD
254262010-08-06 Ulrich Drepper <drepper@redhat.com>
25427
25428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25429 Also fail if tpwd after pwuid call is NULL.
25430
5a42321d
ST
254312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25432
25433 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25434 when converting to ms.
25435
fd3ebeda
ST
254362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25437
25438 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25439 EOPNOTSUPP errors with ENOTTY.
25440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25441 EOPNOTSUPP errors with ENOTTY.
25442
73507d3a
UD
254432010-07-31 Ulrich Drepper <drepper@redhat.com>
25444
25445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25446 Add strcasecmp_l-ssse3.
25447 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25448 strcasecmp.
25449 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25452
fe36dd02
UD
254532010-07-30 Ulrich Drepper <drepper@redhat.com>
25454
66f6765a
UD
25455 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25456
42e08a54
UD
25457 * string/Makefile (strop-tests): Add strcasecmp.
25458 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25459 strcasecmp_l-nonascii.
25460 (gen-as-const-headers): Add locale-defines.sym.
25461 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25462 * sysdeps/x86_64/strcasecmp.S: New file.
25463 * sysdeps/x86_64/strcasecmp_l.S: New file.
25464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25465 * sysdeps/x86_64/locale-defines.sym: New file.
25466 * string/test-strcasecmp.c: New file.
25467
fe36dd02
UD
25468 * string/test-strcasestr.c: Test both ends of the range of characters.
25469 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25470
48cbc0d6
RM
254712010-07-29 Roland McGrath <roland@redhat.com>
25472
76e6d6bc 25473 [BZ #11856]
48cbc0d6
RM
25474 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25475
880113d9
UD
254762010-07-27 Ulrich Drepper <drepper@redhat.com>
25477
25478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25479 for ld.so.
25480
deb9cabb
AS
254812010-07-27 Andreas Schwab <schwab@redhat.com>
25482
25483 * manual/memory.texi (Malloc Tunable Parameters): Document
25484 M_PERTURB.
25485
1c7570ff
RM
254862010-07-26 Roland McGrath <roland@redhat.com>
25487
25488 [BZ #11840]
25489 * configure.in (-fgnu89-inline check): Set and substitute
25490 gnu89_inline, not libc_cv_gnu89_inline.
25491 * configure: Regenerated.
25492 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25493
24fb0f88
UD
254942010-07-26 Ulrich Drepper <drepper@redhat.com>
25495
25496 * string/test-strnlen.c: New file.
25497 * string/Makefile (strop-tests): Add strnlen.
25498 * string/tester.c (test_strnlen): Add a few more test cases.
25499 * string/tst-strlen.c: Better error reporting.
25500
25501 * sysdeps/x86_64/strnlen.S: New file.
25502
8e96b93a
UD
255032010-07-24 Ulrich Drepper <drepper@redhat.com>
25504
25505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25506 lower-latency instructions.
25507
dbc676d4
UD
255082010-07-23 Ulrich Drepper <drepper@redhat.com>
25509
25510 * string/test-strcasestr.c: New file.
25511 * string/test-strstr.c: New file.
25512 * string/Makefile (strop-tests): Add strstr and strcasestr.
25513 * string/str-two-way.h: Don't undefine MAX.
25514 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25515
f6a31e0e
AS
255162010-07-21 Andreas Schwab <schwab@redhat.com>
25517
25518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25519 strcasestr-nonascii.
25520 (CFLAGS-strcasestr-nonascii.c): Define.
25521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25523 Remove unused attribute.
25524
5dbc3b6c
RM
255252010-07-20 Roland McGrath <roland@redhat.com>
25526
25527 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25528 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25529 ld.so.cache was broken. With it, there is no way to disable dsocaps
25530 like LD_HWCAP_MASK can disable hwcaps.
25531
23d101d8
EPM
255322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25533
25534 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25535
cc9f2e47
UD
255362010-07-16 Ulrich Drepper <drepper@redhat.com>
25537
25538 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25539 call in strcasestr.
25540 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25541 __strcasestr_sse42_nonascii.
25542 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25543 strcasestr-nonascii.c.
25544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25545
77c1b069
LM
255462010-06-15 Luis Machado <luisgpm@br.ibm.com>
25547
25548 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25552
440566c3
UD
255532010-07-09 Ulrich Drepper <drepper@redhat.com>
25554
25555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25556 fcntl.
25557
5be9d05d
AS
255582010-07-06 Andreas Schwab <schwab@redhat.com>
25559
c30b7ee2 25560 [BZ #11577]
5be9d05d
AS
25561 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25562 dl_signal_cerror.
25563
8a492a67
UD
255642010-07-06 Ulrich Drepper <drepper@redhat.com>
25565
25566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25567 _PC_PIPE_BUF using F_GETPIPE_SZ.
25568
713df3d5
RM
255692010-07-05 Roland McGrath <roland@redhat.com>
25570
25571 * manual/arith.texi (Rounding Functions): Fix rint description
25572 implicit in round description.
25573
702e8f14
UD
255742010-07-02 Ulrich Drepper <drepper@redhat.com>
25575
25576 * elf/Makefile: Fix linking for a few tests to make recent linker
25577 happy.
25578
52ed8be9
AS
255792010-06-30 Andreas Schwab <schwab@redhat.com>
25580
25581 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25582 $(common-objpfx)libc_nonshared.a.
25583
f47c9a11
LM
255842010-06-21 Luis Machado <luisgpm@br.ibm.com>
25585
25586 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25587 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25588 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25589 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25590 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25591 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25592 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25608 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25609 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25610 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25611 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25612 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25613 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25614 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25615 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25616 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25617 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25618 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25619 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25634
6fb8cbcb
L
256352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25638 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25639 * string/memmove.c (memmove): Renamed to ...
25640 (MEMMOVE): ...this. Default to memmove.
25641 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25642 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25643 (END_CHK): Define.
25644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25645 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25646 mempcpy-ssse3-back memmove-ssse3-back.
25647 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25650 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25651 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25652 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25653 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25654 * sysdeps/x86_64/multiarch/memmove.c: New file.
25655 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25656 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25657 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25658 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25659 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25661 Define.
25662 (index_Fast_Copy_Backward): Define.
25663 (HAS_ARCH_FEATURE): Define.
25664 (HAS_FAST_REP_STRING): Define.
25665 (HAS_FAST_COPY_BACKWARD): Define.
25666
4e733bac 256672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25668
25669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25670 Restore proper fallback handling.
25671
63c4ed22
UD
256722010-06-19 Ulrich Drepper <drepper@redhat.com>
25673
ac2b484c
UD
25674 [BZ #11701]
25675 * posix/group_member.c (__group_member): Correct checking loop.
25676
63c4ed22
UD
25677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25678 OOM in getpwuid_r correctly. Return error number when the caller
25679 should return, otherwise -1.
25680 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25681 call returning > 0 value.
25682 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25683
765ade4b
AS
256842010-06-07 Andreas Schwab <schwab@redhat.com>
25685
25686 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25687 libc_nonshared.a from targets in modules-names.
25688
80da2e09
KS
256892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25690
25691 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25692 requires it.
25693
158db122
LM
256942010-06-10 Luis Machado <luisgpm@br.ibm.com>
25695
25696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25697 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25700
caa78cf8
AS
257012010-06-02 Andreas Schwab <schwab@redhat.com>
25702
25703 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25704
b2ef2c01
UD
257052010-06-14 Ulrich Drepper <drepper@redhat.com>
25706
25707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25708 and F_GETPIPE_SZ.
25709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25715
fbd643b6
RM
257162010-06-14 Roland McGrath <roland@redhat.com>
25717
25718 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25719
f32f2869
JJ
257202010-06-07 Jakub Jelinek <jakub@redhat.com>
25721
25722 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25723 __REDIRECT followed by __THROW.
25724 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25725 * posix/getopt.h (getopt): Likewise.
25726
2a50c078
EPM
257272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25728
25729 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25730 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25731 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25732 in AT_FLAGS.
25733 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25734 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25735
eb5ad2eb
LM
257362010-05-28 Luis Machado <luisgpm@br.ibm.com>
25737
25738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25739
3c88fe1e
L
257402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25741
25742 [BZ #11640]
25743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25744 Properly check family and model.
25745
d2f73151
TY
257462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25747
25748 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25749
ebd2e13d
LM
257502010-05-24 Luis Machado <luisgpm@br.ibm.com>
25751
25752 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25753
b32b8b45
UD
257542010-05-21 Ulrich Drepper <drepper@redhat.com>
25755
25756 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25757 symbol reference.
25758
9acbe24d
AS
257592010-05-19 Andreas Schwab <schwab@redhat.com>
25760
25761 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25762 symbol reference.
25763
f0ccf6ea
AS
257642010-05-21 Andreas Schwab <schwab@redhat.com>
25765
3d04ff3a
AS
25766 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25767 and internal_recvmmsg.
25768 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25770 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25771 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25772
f0ccf6ea
AS
25773 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25776
5b08ac57
AS
257772010-05-20 Andreas Schwab <schwab@redhat.com>
25778
25779 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25780
4828935d
LM
257812010-05-17 Luis Machado <luisgpm@br.ibm.com>
25782
25783 POWER7 optimizations.
25784 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25785 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25786
373d545e
UD
257872010-05-19 Ulrich Drepper <drepper@redhat.com>
25788
25789 * version.h: Update for 2.13 development version.
25790
21a2b1ae
AS
257912010-05-12 Andrew Stubbs <ams@codesourcery.com>
25792
25793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25794 exceptions. Return 0.
25795
3f7dcb2b
RM
257962010-05-07 Roland McGrath <roland@redhat.com>
25797
25798 * elf/ldconfig.c (main): Add a const.
25799
5f24d53a 258002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25801
a160f8d8
UD
25802 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25803 (args_options): Add no-idn option.
25804 (ahosts_keys_int): Add idn_flags to ai_flags.
25805 (parse_option): Handle 'i' option to clear idn_flags.
25806
5f24d53a
UD
25807 * malloc/malloc.c (_int_free): Possible race in the most recently
25808 added check. Only act on the data if no current modification
25809 happened.
265bb1ce
UD
25810
25811See ChangeLog.17 for earlier changes.
This page took 3.133053 seconds and 5 git commands to generate.