]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
IBM long double mechanical changes to support little-endian
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9605ca6c
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4 (union ibm_extended_long_double): Define as an array of ieee754_double.
5 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16
975569d0
JM
172013-10-03 Joseph Myers <joseph@codesourcery.com>
18
d3d23756
JM
19 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20 page size instead of calling getpagesize.
21
975569d0
JM
22 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23 (LOCFILE_ALIGN_MASK): Likewise.
24 (LOCFILE_ALIGN_UP): Likewise.
25 (LOCFILE_ALIGNED_P): Likewise.
26 * locale/programs/ld-collate.c (collate_output): Use the new
27 macros instead of __alignof__ (int32_t).
28 * locale/weight.h (findidx): Likewise.
29
b1fe1f2b
OB
302013-10-03 Ondřej Bílka <neleai@seznam.cz>
31
32 [BZ #431]
33 * manual/string.texi: Fix strncat and wcsncat.
34
5f855e35
BM
352013-10-03 Brooks Moses <bmoses@google.com>
36
37 [BZ #15915]
38 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39 * Makerules: ...here, and adjust associated comments.
40
3cef6009
WN
412013-10-02 Will Newton <will.newton@linaro.org>
42
43 * malloc/Makefile: Add tst-pvalloc.
44 * malloc/tst-pvalloc.c: New file.
45
7815420b
WN
462013-10-02 Will Newton <will.newton@linaro.org>
47
48 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49 improve test coverage.
50
4868b204
WN
512013-10-02 Will Newton <will.newton@linaro.org>
52
53 * malloc/Makefile: Add tst-posix_memalign.
54 * malloc/tst-posix_memalign.c: New file.
55
29c793b3
EB
562013-10-01 Eric Blake <eblake@redhat.com>
57
58 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59 Use __THROWNL rather than __THROW on static functions.
60
fd967522
PM
612013-09-30 Petr Machata <pmachata@redhat.com>
62
63 * elf/elf.h (R_AARCH64_ABS16): New macro.
64 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
65 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
66 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
67 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
68 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
69 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
70 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
71 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
72 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
73 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
74 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
75 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
76 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
77 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
78 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
79 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
80 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
81 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
82 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
83 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
84 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
85 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
86 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
87 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
88 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
89 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
90 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
91 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
92 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
93 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
94 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
95 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
96 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
97 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
98 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
99 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
101 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
103 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
105 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
107 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
109 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
111 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
113 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
114 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
115 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
116 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
117 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
118 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
119 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
120 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
121 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
122 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
123 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
124 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
126 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
128 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
130 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
132 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
134 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
135 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
136 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
137 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
138 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
139 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
140 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
141 (R_AARCH64_TLSDESC_LDR): Likewise.
142 (R_AARCH64_TLSDESC_ADD): Likewise.
143 (R_AARCH64_TLSDESC_CALL): Likewise.
144
b2179107
AS
1452013-09-30 Andreas Schwab <schwab@suse.de>
146
147 [BZ #15048]
148 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
149 the nss database lookup.
150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
152
47f28d0a
MF
1532013-09-28 Mike Frysinger <vapier@gentoo.org>
154
155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
156
1572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
158
159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
160 ${Bash-specific parameter/pattern/string} parameter expansion.
161 * sysdeps/unix/make-syscalls.sh: Likewise.
162
f4518a17
KK
1632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
164
165 * sysdeps/sh/stackguard-macros.h: New file.
166
dc1a95c7
OB
1672013-09-26 Ondřej Bílka <neleai@seznam.cz>
168
169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
171 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
174 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
175
5ebbff8f
AZ
1762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
179 Fix thread ID register.
180
4fd2cf9f
JM
1812013-09-25 Joseph Myers <joseph@codesourcery.com>
182
183 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
184 [POSIX || UNIX98]: Require rather than permitting all symbols from
185 <time.h>.
186 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
187 element of struct sched_param.
188 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
189 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
190 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
191 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
192 constant.
193
12c22bc4
OL
1942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
195
196 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
197 argument calculation.
198
a03d8ea7
JM
1992013-09-24 Joseph Myers <joseph@codesourcery.com>
200
201 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
202 Expect macro.
203 [POSIX] (pthread_attr_t): Do not require type.
204 [POSIX] (pthread_cond_t): Likewise.
205 [POSIX] (pthread_condattr_t): Likewise.
206 [POSIX] (pthread_key_t): Likewise.
207 [POSIX] (pthread_mutex_t): Likewise.
208 [POSIX] (pthread_mutexattr_t): Likewise.
209 [POSIX] (pthread_once_t): Likewise.
210 [POSIX] (pthread_t): Likewise.
211 [POSIX-based standards] (pthread_atfork): Expect function.
212
6055173a
JM
2132013-09-24 Joseph Myers <joseph@codesourcery.com>
214 Richard Sandiford <richard@codesourcery.com>
215
216 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
217 (swap_endianness_p): New extern variable.
218 (set_big_endian): New inline function.
219 (maybe_swap_uint32): Likewise.
220 (maybe_swap_uint32_array): Likewise.
221 (maybe_swap_uint32_obstack): Likewise.
222 * locale/programs/locfile.c: Include <stdbool.h>.
223 (swap_endianness_p): New variable.
224 (add_locale_uint32): Call maybe_swap_uint32.
225 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
226 (write_locale_data): Call maybe_swap_uint32_array.
227 * locale/programs/ld-collate.c (obstack_int32_grow): Call
228 maybe_swap_uint32.
229 (obstack_int32_grow_fast): Likewise.
230 (output_weightwc): Call maybe_swap_uint32_obstack.
231 (collate_output): Likewise.
232 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
233 (OPT_LITTLE_ENDIAN): Likewise.
234 (options): Add --little-endian and --big-endian options.
235 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
236 * locale/programs/locarchive.c: Include "locfile.h".
237 (GET): New macro.
238 (SET): Likewise.
239 (INC): Likewise.
240 (create_archive): Use the new macros to access fields of
241 structures directly mapped from or written to locale archives.
242 (oldlocrecentcmp): Likewise.
243 (enlarge_archive): Likewise.
244 (insert_name): Likewise.
245 (add_alias): Likewise.
246 (add_locale): Likewise.
247 (delete_locales_from_archive): Likewise.
248 (show_archive_content): Likewise.
249 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
250 locale data.
251
39bf0bb4
RM
2522013-09-24 Roland McGrath <roland@hack.frob.com>
253
254 * manual/freemanuals.texi: Updated from (newly) canonical copy at
255 http://www.gnu.org/doc/freemanuals.texi.
256 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
257
f02eed10
WN
2582013-09-24 Will Newton <will.newton@linaro.org>
259
260 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
261 macro.
262
a3a6c312
JM
2632013-09-23 Joseph Myers <joseph@codesourcery.com>
264
265 * locale/hashval.h (compute_hashval): Interpret bytes of key as
266 unsigned char.
267
107375ac
MR
2682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
269
270 * manual/threads.texi (POSIX Threads): Fix a typo.
271
141f3a77
SP
2722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
273
303e567a
SP
274 [BZ #14547]
275 * string/tst-strcoll-overflow.c: New test case.
276 * string/Makefile (xtests): Add tst-strcoll-overflow.
277 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
278 cache if string sizes may cause integer overflow.
279
141f3a77
SP
280 [BZ #14547]
281 * string/strcoll_l.c (coll_seq): New members rule, idx,
282 save_idx and back_us.
283 (get_next_seq_nocache): New function.
284 (do_compare_nocache): New function.
285 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
286 when malloc fails.
287
c61b4d41
CD
2882013-09-23 Carlos O'Donell <carlos@redhat.com>
289
0b1f8e35
CD
290 [BZ #15754]
291 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
292 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
293 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
294
c61b4d41
CD
295 [BZ #15754]
296 * elf/Makefile (tests): Add tst-ptrguard1.
297 (tests-static): Add tst-ptrguard1-static.
298 (tst-ptrguard1-ARGS): Define.
299 (tst-ptrguard1-static-ARGS): Define.
300 * elf/tst-ptrguard1.c: New file.
301 * elf/tst-ptrguard1-static.c: New file.
302 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
303 * sysdeps/i386/stackguard-macros.h: Likewise.
304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
310
3112013-09-23 Hector Marco <hecmargi@upv.es>
312 Ismael Ripoll <iripoll@disca.upv.es>
313 Carlos O'Donell <carlos@redhat.com>
314
315 [BZ #15754]
316 * sysdeps/generic/stackguard-macros.h: Define
317 __pointer_chk_guard_local and POINTER_CHK_GUARD.
318 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
319 Define __pointer_chk_guard_local.
320 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
321 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
322
f5f4e7b4
VV
3232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
324
325 [BZ #15859]
326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
327
5bb43a43
AS
3282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
329
330 * include/string.h (__ffs): Declare as hidden.
331 * string/ffs.c (__ffs): Define as hidden.
332 * sysdeps/i386/ffs.c (__ffs): Likewise.
333 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
334 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
335 * sysdeps/s390/ffs.c (__ffs): Likewise.
336 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
337
3ea5be54
AO
3382013-09-20 Alexandre Oliva <aoliva@redhat.com>
339
ffb89e53
AO
340 * NEWS: Mention malloc probes.
341
322dea08
AO
342 * malloc/arena.c (new_heap): New memory_heap_new probe.
343 (grow_heap): New memory_heap_more probe.
344 (shrink_heap): New memory_heap_less probe.
345 (heap_trim): New memory_heap_free probe.
346 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
347 (systrim): New memory_sbrk_less probe.
348 * manual/probes.texi: Document them.
349
655673f3
AO
350 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
351 * manual/probes.texi: Document it.
352
35fed6f1
AO
353 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
354 (__libc_realloc): Add memory_realloc_retry probe.
355 (__libc_memalign): Add memory_memalign_retry probe.
356 (__libc_valloc): Add memory_valloc_retry probe.
357 (__libc_pvalloc): Add memory_pvalloc_retry probe.
358 (__libc_calloc): Add memory_calloc_retry probe.
359 * manual/probes.texi: Document them.
360
6999d38c
AO
361 * malloc/arena.c (get_free_list): Add probe
362 memory_arena_reuse_free_list.
363 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
364 and memory_arena_reuse.
365 (arena_get2) [!PER_THREAD]: Likewise.
366 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
367 memory_arena_reuse_realloc.
368 * manual/probes.texi: Document them.
369
0653427f
AO
370 * malloc/malloc.c (__libc_free): Add
371 memory_mallopt_free_dyn_thresholds probe.
372 (__libc_mallopt): Add multiple memory_mallopt probes.
373 * manual/probes.texi: Document them.
374
3ea5be54
AO
375 * malloc/malloc.c: Include stap-probe.h.
376 (__libc_mallopt): Add memory_mallopt probe.
377 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
378 * manual/probes.texi: New.
379 * manual/Makefile (chapters): Add probes.
380 * manual/threads.texi: Set next node.
381
e35696c3 3822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 383
e35696c3
CL
384 [BZ #15963, #13985]
385 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
386 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
387 Add `Chinese' to `nan' entry name.
388
4aafb73c
SP
3892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
390
391 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
392 (POLYNOMIAL): Likewise.
393 (TAYLOR_SINCOS): Likewise.
394 (TAYLOR_SLOW): Likewise.
395 (__sin): Use TAYLOR_SINCOS.
396 (__cos): Likewise.
397 (slow): Use TAYLOR_SLOW.
398 (sloww): Likewise.
399 (bsloww): Likewise.
400 (csloww): Likewise.
401
d84f25c7
LD
4022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
403
404 * stdlib/strtod_l.c: Fix buffer overrun.
405
5eea0404
SP
4062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
407
7849ff93
SP
408 * benchtests/Makefile (bench): Add sincos.
409 * benchtests/bench-sincos.c: New file.
410
cfa3c886
SP
411 * math/libm-test.inc (cos_test_data): New test inputs.
412 (sin_test_data): Likewise.
413
b348e1e3
SP
414 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
415 macro.
416 (__sin): Use it.
417 (__cos): Likewise.
418 (slow1): Likewise.
419 (slow2): Likewise.
420 (sloww1): Likewise.
421 (sloww2): Likewise.
422 (bsloww1): Likewise.
423 (bsloww2): Likewise.
424 (cslow2): Likewise.
425 (csloww1): Likewise.
426 (csloww2): Likewise.
427
6cce25f8
SP
428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
429 function.
430 (__sin): Use it.
431 (__cos): Likewise.
432
5eea0404
SP
433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
434 gotos.
435 (__cos): Likewise.
436
9c21573c
MR
4372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
438
439 * config.h.in (HAVE_MIPS_NAN2008): New macro.
440 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
441 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
442 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
443 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
444 * elf/cache.c (print_entry): Handle the new cache flags.
445
24d22e65
JM
4462013-09-18 Joseph Myers <joseph@codesourcery.com>
447 Aldy Hernandez <aldyh@redhat.com>
448
449 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
450 Change condition to [_SOFT_FLOAT].
451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
463 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
466 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
467 declaration.
468
d13ef066
JM
4692013-09-18 Joseph Myers <joseph@codesourcery.com>
470
2e071de0
JM
471 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
472 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
473 (__longjmp): Use LOAD_GP to load saved GPRs.
474 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
475 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
476 (__sigsetjmp): Use SAVE_GP to save GPRs.
477
d13ef066
JM
478 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
479 Do not append -msoft-float.
480 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
481
97a0650b
SP
4822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
485
11ca09e9
JM
4862013-09-17 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #15966]
489 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
490 (_FPU_GETCW): Use initial "__" on variable and field names but not
491 on macro parameter name.
492 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
493 parentheses around reference to macro parameter.
494
08ffcf34
RS
4952013-09-13 Richard Sandiford <richard@codesourcery.com>
496
497 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
498 prototype.
499 (ctype_startup): Use uint32_t in cast and sizeof for
500 ctype->charnames.
501
ae7080d3
JL
5022013-09-11 Jia Liu <proljc@gmail.com>
503
504 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
505 __daddr_t_defined.
506 [__FreeBSD__]: Likewise.
507
5905e7b3
OB
5082013-09-11 Ondřej Bílka <neleai@seznam.cz>
509
510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
511 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
512 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
513 (strchr): Remove __strchr_sse42 ifunc selection.
514 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
515 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
516
b987c776
WN
5172013-09-11 Will Newton <will.newton@linaro.org>
518
519 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
520 parameter to RES. Remove hardcoded 1000 value.
521 * benchtests/bench-skeleton.c (main): Pass RES parameter
522 to TIMING_INIT and multiply result by 1000.
523
ddf985af
AZ
5242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525
526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
527
ffdd3181
AS
5282013-09-11 Andreas Schwab <schwab@suse.de>
529
530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
531 if not defined.
532 (O_TMPFILE) [__USE_GNU]: Define.
533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
534 Define.
535
b73ed247
WN
5362013-09-11 Will Newton <will.newton@linaro.org>
537
538 [BZ #15857]
539 * malloc/malloc.c (__libc_memalign): Check the value of bytes
540 does not overflow.
541
55e17aad
WN
5422013-09-11 Will Newton <will.newton@linaro.org>
543
544 [BZ #15856]
545 * malloc/malloc.c (__libc_valloc): Check the value of bytes
546 does not overflow.
547
1159a193
WN
5482013-09-11 Will Newton <will.newton@linaro.org>
549
550 [BZ #15855]
551 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
552 does not overflow.
553
5905e7b3 5542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
555
556 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
561
cdfc721b
AM
5622013-09-10 Allan McRae <allan@archlinux.org>
563
aa04af00
AM
564 [BZ #15748]
565 * manual/arith.texi (Parsing of Floats): Clarify
566 cross-reference.
567
cdfc721b
AM
568 [BZ #15849]
569 * manual/install.texi (Running make install): Mention
570 --enable-pt-chown.
571 * INSTALL: Regenerated.
572
95e7cf29
MR
5732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
574
575 * csu/init-first.c (_init): Remove the !SHARED condition around
576 FPU control word initialization.
577 * elf/dl-support.c (_dl_fpu_control): New variable.
578 (_dl_aux_init) <AT_FPUCW>: Initialize it.
579 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
580 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
581 * math/test-fpucw-static.c: New file.
582 * math/test-fpucw-ieee.c: New file.
583 * math/test-fpucw-ieee-static.c: New file.
584 * math/Makefile (tests): Add `test-fpucw-ieee' and
585 `$(tests-static)'.
586 (tests-static): New variable.
587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
588 dependency to...
589 [($(build-shared),yes)]
590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
591 ... this.
592 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
593 New dependency.
594
83e43bf0
AM
5952013-09-09 Allan McRae <allan@archlinux.org>
596
a9f5ce09
AM
597 [BZ #15939]
598 * manual/string.texi (Collation Functions): Fix typo in
599 strcoll example.
600 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
601
34829bc2
AM
602 [BZ #15893]
603 * stdlib/isomac.c (get_null_defines): Fix memory leak.
604
3932737d
AM
605 [BZ #15892]
606 * libio/memstream.c (open_memstream): Fix memory leak.
607 * libio/wmemstream.c (open_wmemstream): Likewise.
608
83e43bf0
AM
609 [BZ #15895]
610 * nscd/netgroupcache.c: Fix nesting of ifdefs.
611
0c66b8e9
WN
6122013-09-09 Will Newton <will.newton@linaro.org>
613
614 * malloc/Makefile: Add tst-realloc to tests.
615 * malloc/tst-realloc.c: New file.
616
f6b00fd1
AM
6172013-09-09 Allan McRae <allan@archlinux.org>
618
619 [BZ #15844]
620 * COPYING: Update from GNU website to fix FSF address.
621 * COPYING.LIB: Likewise.
622
eec55e16
DM
6232013-09-06 David S. Miller <davem@davemloft.net>
624
625 * po/zh_TW.po: Update Chinese (traditional) translation from
626 translation project.
627
1ecbb381
RS
6282013-09-06 Richard Sandiford <richard@codesourcery.com>
629 Joseph Myers <joseph@codesourcery.com>
630
631 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
632 "localeinfo.h".
633 (obstack_chunk_alloc): New macro.
634 (obstack_chunk_free): Likewise.
635 (record_offset): New function.
636 (init_locale_data): Likewise.
637 (align_locale_data): Likewise.
638 (add_locale_empty): Likewise.
639 (add_locale_raw_data): Likewise.
640 (add_locale_raw_obstack): Likewise.
641 (add_locale_string): Likewise.
642 (add_locale_wstring): Likewise.
643 (add_locale_uint32): Likewise.
644 (add_locale_uint32_array): Likewise.
645 (add_locale_char): Likewise.
646 (start_locale_structure): Likewise.
647 (end_locale_structure): Likewise.
648 (start_locale_prelude): Likewise.
649 (end_locale_prelude): Likewise.
650 (write_locale_data): Take locale_file structure rather than an
651 iovec.
652 * locale/programs/locfile.h: Include "obstack.h".
653 (struct locale_file): Change to store locale file contents instead
654 of header.
655 (init_locale_data): New prototype.
656 (align_locale_data): Likewise.
657 (add_locale_empty): Likewise.
658 (add_locale_raw_data): Likewise.
659 (add_locale_raw_obstack): Likewise.
660 (add_locale_string): Likewise.
661 (add_locale_wstring): Likewise.
662 (add_locale_uint32): Likewise.
663 (add_locale_uint32_array): Likewise.
664 (add_locale_char): Likewise.
665 (start_locale_structure): Likewise.
666 (end_locale_structure): Likewise.
667 (start_locale_prelude): Likewise.
668 (end_locale_prelude): Likewise.
669 (write_locale_data): Update prototype.
670 * locale/programs/3level.h (struct TABLE): Remove result field.
671 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
672 Use new locale_file interface.
673 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
674 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
675 * locale/programs/ld-address.c (address_output): Use new
676 locale_file interface.
677 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
678 NO_ADD_LOCALE.
679 (collate_finish): Don't call collseq_table_finalize.
680 (collate_output): Use new locale_file interface.
681 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
682 in file.
683 (NO_FINALIZE): Change to NO_ADD_LOCALE.
684 (TABLE): Move defines earlier in file.
685 (ELEMENT): Likewise.
686 (DEFAULT): Likewise.
687 (wctrans_table_add): Move macro and inline function earlier in
688 file.
689 (struct wctype_table): Move type earlier in file.
690 (add_locale_wctype_table): New static prototype.
691 (struct locale_ctype_t): Use logical types instead of struct iovec
692 pointers for members.
693 (ctype_output): Use new locale_file interface.
694 (wctype_table_finalize): Change to add_locale_wctype_table. Use
695 new locale_file interface.
696 (allocate_arrays): Update for use of new locale_file interface.
697 * locale/programs/ld-identification.c (identification_output): Use
698 new locale_file interface.
699 * locale/programs/ld-measurement.c (measurement_output): Likewise.
700 * locale/programs/ld-messages.c (messages_output): Likewise.
701 * locale/programs/ld-monetary.c (monetary_output): Likewise.
702 * locale/programs/ld-name.c (name_output): Likewise.
703 * locale/programs/ld-numeric.c (numeric_output): Likewise.
704 * locale/programs/ld-paper.c (paper_output): Likewise.
705 * locale/programs/ld-telephone.c (telephone_output): Likewise.
706 * locale/programs/ld-time.c (time_output): Likewise.
707
e029e2e5
AZ
7082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * benchtests/Makefile: Add memrchr benchmark.
711 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
712 benchmark as memrchr.
713 * benchtests/bench-memrchr-ifunc.c: New file.
714 * benchtests/bench-memrchr.c: New file.
715
bbf6e8e4
WN
7162013-09-06 Will Newton <will.newton@linaro.org>
717
718 * benchtests/Makefile (string-bench): Add memcpy.
719
6c82a2f8
CD
7202013-09-05 Carlos O'Donell <carlos@redhat.com>
721 Cong Wang <amwang@redhat.com>
722
723 * sysdeps/unix/sysv/linux/bits/in.h
724 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
725 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
726 before __USE_KERNEL_IPV6_DEFS uses.
727 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
728 IPPROTO_BEETPH.
729 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
730 sockaddr_in6, or ipv6_mreq.
731
5430fc65
AZ
7322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733
734 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
735 memory access for final bytes in some large inputs.
736 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
737
4660856c
AZ
7382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739
740 * string/test-memrchr.c: New file.
741 * string/test-memrchr-ifunc.c: New file.
742 * string/Makefile: Add new memrchr testcase.
743
bb8ea713
MF
7442013-09-05 Mike Frysinger <vapier@gentoo.org>
745
746 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
747 fanotify_init returns EPERM.
748
b92a20b5
JM
7492013-09-04 Joseph Myers <joseph@codesourcery.com>
750
751 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
752 errors.
753 (top level): Treat second token from macro or constant entries for
754 allowed headers as allowed.
755 * include/complex.h: Condition internal declarations on
756 [!_ISOMAC].
757 * include/fenv.h: Condition include of <stdbool.h> and internal
758 declarations on [!_ISOMAC].
7447ccd9
CL
759
7602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
761
3e181dda 762 [BZ #15923]
7447ccd9
CL
763 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
764
3f2e46a4
JM
7652013-09-04 Joseph Myers <joseph@codesourcery.com>
766
767 * configure.in (--enable-versioning): Remove configure option.
768 (libc_cv_asm_symver_directive): Remove configure test.
769 (libc_cv_ld_version_script_option): Likewise.
770 (VERSIONING): Remove variable and AC_SUBST.
771 (DO_VERSIONING): Remove AC_DEFINE.
772 * configure: Regenerated.
773 * config.h.in (DO_VERSIONING): Remove macro.
774 * Makerules [$(versioning) = yes]: Change conditionals to
775 [$(build-shared) = yes].
776 * config.make.in (versioning): Remove variable.
777 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
778 [$(build-shared) = yes].
779 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
780 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
781 * elf/Makefile [$(versioning) = yes]: Change conditionals to
782 [$(build-shared) = yes].
783 * extra-lib.mk [$(versioning) = yes]: Likewise.
784 * hurd/Makefile [$(versioning) = yes]: Likewise.
785 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
786 [SHARED].
787 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
788 [SHARED].
789 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
790 [SHARED && !NO_HIDDEN].
791 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
792 [SHARED].
793 [SHARED && DO_VERSIONING]: Likewise..
794 * libio/Makefile [$(versioning) = yes]: Change conditionals to
795 [$(build-shared) = yes].
796 * manual/install.texi (--disable-versioning): Remove
797 documentation.
798 * INSTALL: Regenerated.
799 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
800 to [SHARED].
801 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
802 [$(build-shared) = yes].
803 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
804 * sysdeps/i386/i686/multiarch/strstr-c.c
805 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
806 [SHARED && !NO_HIDDEN].
807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
808 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
809 * sysdeps/powerpc/powerpc32/dl-machine.c
810 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
811 * sysdeps/powerpc/powerpc32/sysdep.h
812 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
813 to [SHARED && PIC && !NO_HIDDEN].
814 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
815 conditional to [SHARED].
816
44558701
WN
8172013-09-04 Will Newton <will.newton@linaro.org>
818
819 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
820 * benchtests/bench-string.h: Include bench-timing.h instead
821 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
822 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
823 call to HP_TIMING_DIFF_INIT.
824 * benchtests/bench-memccpy.c: Use bench-timing.h macros
825 instead of hp-timing.h macros.
826 * benchtests/bench-memchr.c: Likewise.
827 * benchtests/bench-memcmp.c: Likewise.
828 * benchtests/bench-memcpy.c: Likewise.
829 * benchtests/bench-memmem.c: Likewise.
830 * benchtests/bench-memmove.c: Likewise.
831 * benchtests/bench-memset.c: Likewise.
832 * benchtests/bench-rawmemchr.c: Likewise.
833 * benchtests/bench-strcasecmp.c: Likewise.
834 * benchtests/bench-strcasestr.c: Likewise.
835 * benchtests/bench-strcat.c: Likewise.
836 * benchtests/bench-strchr.c: Likewise.
837 * benchtests/bench-strcmp.c: Likewise.
838 * benchtests/bench-strcpy.c: Likewise.
839 * benchtests/bench-strcpy_chk.c: Likewise.
840 * benchtests/bench-strlen.c: Likewise.
841 * benchtests/bench-strncasecmp.c: Likewise.
842 * benchtests/bench-strncat.c: Likewise.
843 * benchtests/bench-strncmp.c: Likewise.
844 * benchtests/bench-strncpy.c: Likewise.
845 * benchtests/bench-strnlen.c: Likewise.
846 * benchtests/bench-strpbrk.c: Likewise.
847 * benchtests/bench-strrchr.c: Likewise.
848 * benchtests/bench-strspn.c: Likewise.
849 * benchtests/bench-strstr.c: Likewise.
850
cae16d66
WN
8512013-09-04 Will Newton <will.newton@linaro.org>
852
853 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
854
ffa3cd7f
JM
8552013-09-03 Joseph Myers <joseph@codesourcery.com>
856
857 [BZ #15427]
858 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
859 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
860 * math/libm-test.inc (lgamma_test_data): Add more tests.
861 * sysdeps/i386/fpu/libm-test-ulps: Update.
862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863
8f02859f
OB
8642013-09-03 Ondřej Bílka <neleai@seznam.cz>
865
866 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
868 Add ifunc.
869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
870 Add strcmp-sse2-unaligned
871 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
872
18d43716
MF
8732013-09-02 Mike Frysinger <vapier@gentoo.org>
874
875 * Versions.def (libc): Add GLIBC_2.19.
876
ac444012
MF
8772013-09-02 Mike Frysinger <vapier@gentoo.org>
878
879 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
880 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
881
b7835e32
JM
8822013-09-02 Joseph Myers <joseph@codesourcery.com>
883
884 [BZ #14155]
885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
886 intermediate calculations in recurrence.
887 (__ieee754_ynf): Likewise.
888 * math/libm-test.inc (jn_test_data): Do not allow spurious
889 underflow exception. Add more tests.
890 (yn_test_data): Add more tests.
891 * sysdeps/i386/fpu/libm-test-ulps: Update.
892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
893
8220f4f0
OB
8942013-09-02 Ondřej Bílka <neleai@seznam.cz>
895
896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
897
f24a6d08
OB
8982013-08-30 Ondřej Bílka <neleai@seznam.cz>
899
900 * csu/init-first.c: Fix then/than typos.
901 * locale/programs/ld-collate.c: Likewise.
902 * locale/programs/linereader.h: Likewise.
903 * manual/charset.texi: Likewise.
904 * manual/filesys.texi: Likewise.
905 * manual/stdio.texi: Likewise.
906 * manual/string.texi: Likewise.
907 * stdlib/fmtmsg.c: Likewise.
908 * sysdeps/i386/stpncpy.S: Likewise.
909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
910 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
913
382466e0
OB
9142013-08-30 Ondřej Bílka <neleai@seznam.cz>
915
916 * elf/dl-open.c: Fix typos.
917 * iconvdata/gbbig5.c: Likewise.
918 * iconvdata/iso-2022-jp.c: Likewise.
919 * iconv/gconv_int.h: Likewise.
920 * iconv/loop.c: Likewise.
921 * nis/rpcsvc/nis.h: Likewise.
922 * resolv/ns_name.c: Likewise.
923 * stdio-common/vfscanf.c: Likewise.
924 * streams/stropts.h: Likewise.
925 * sunrpc/rpc_thread.c: Likewise.
926 * sysdeps/i386/strpbrk.S: Likewise.
927 * sysdeps/ieee754/k_standard.c: Likewise.
928 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
930 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
931 * sysdeps/mach/hurd/profil.c: Likewise.
932 * sysdeps/s390/dl-procinfo.h: Likewise.
933 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
936 * sysdeps/x86_64/dl-trampoline.S: Likewise.
937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
938
0186c6e9
OB
9392013-08-30 Ondřej Bílka <neleai@seznam.cz>
940
941 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
943
d4e16af1
OB
9442013-08-29 Ondřej Bílka <neleai@seznam.cz>
945
946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
947 aix specific files.
948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
951 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
952 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
954 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
956
88335980
TS
9572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
958 Roland McGrath <roland@hack.frob.com>
959
960 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
961 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
962
ed479b02
ST
9632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
964
965 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
966 __executable_start symbol instead of _start.
967
f1cc4c86
TS
9682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
969
d821f07c
TS
970 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
971 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
972 Move macros to...
973 * sysdeps/gnu/ldsodefs.h: ... this new file.
974
c54290cf
TS
975 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
976 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
977 instead of ELFOSABI_LINUX.
978
0007fc9b 979 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
980 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
981 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
982 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
983 Likewise.
984 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
985 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
986 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
987 Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
989 (ibm_extended_long_double): Add ieee_nan member.
990 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
991 (do_test): New function.
992
f1cc4c86
TS
993 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
994 TEST_TRUNC.
995 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
996 functions, renamed from truncdfsf_test, trunctfsf_test,
997 trunctfdf_test.
998 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
999 functions.
1000 (do_test): Run all these.
1001
6f65e668
OB
10022013-08-29 Ondřej Bílka <neleai@seznam.cz>
1003
1004 * argp/argp-help.c: Fix typos.
1005 * argp/argp-parse.c: Likewise.
1006 * debug/backtracesyms.c: Likewise.
1007 * elf/elf.h: Likewise.
1008 * malloc/malloc.c: Likewise.
1009 * nis/nis_print.c: Likewise.
1010 * resolv/res_comp.c: Likewise.
1011 * stdlib/stdlib.h: Likewise.
1012 * sunrpc/clnt_tcp.c: Likewise.
1013 * sunrpc/clnt_udp.c: Likewise.
1014 * sunrpc/clnt_unix.c: Likewise.
1015 * sysdeps/unix/bsd/ptsname.c: Likewise.
1016 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1023 Likewise.
6f65e668
OB
1024 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1025
3a309239
SP
10262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1027
1028 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1030
3b813b29
MF
10312013-08-27 Mike Frysinger <vapier@gentoo.org>
1032
1033 [BZ #15897]
1034 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1035 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1036 ($(objpfx)bug-dl-leaf): New rule.
1037 ($(objpfx)bug-dl-leaf.so): Likewise.
1038 ($(objpfx)bug-dl-leaf.out): Likewise.
1039 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1040 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1041 * dlfcn/bug-dl-leaf.c: New test.
1042 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1043 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1044 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1045 (dlclose): Likewise.
1046 (dlmopen): Likewise.
1047
8cc3269f
RM
10482013-08-27 Roland McGrath <roland@hack.frob.com>
1049
7f9d0034
RM
1050 * include/netdb.h [!_ISOMAC]:
1051 Don't include <tls.h>.
1052 (h_errno, __libc_h_errno): Move declaration and macros out of
1053 [_LIBC_REENTRANT].
1054
fb431262
RM
1055 * include/resolv.h [_RESOLV_H_]:
1056 Don't include <tls.h>.
1057 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1058 * resolv/res_libc.c: Don't include <tls.h>.
1059 (_res): Use __attribute__ ((nocommon)) in place of
1060 __attribute__ ((section (".bss"))).
1061
bd81123a
RM
1062 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1063 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1064
c4e42566
RM
1065 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1066
f890a59b
RM
1067 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1068 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1069
1070 * resolv/res_mkquery.c: Include <sys/time.h>.
1071
5d1f0a09
RM
1072 * inet/ifreq.c: Moved to ...
1073 * sysdeps/unix/ifreq.c: ... here.
1074 * inet/ifreq.c: New file, true stub version.
1075
6fcf28b3
RM
1076 * socket/sa_len.c: New file.
1077 * socket/Makefile (aux): Add it.
1078 * sysdeps/unix/sysv/linux/Makefile
1079 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1080 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1081 and #include <socket/sa_len.c>.
1082 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1083 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1084
e041fb8b
RM
1085 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1086 * bits/socket.h: ... here.
1087
8cc3269f
RM
1088 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1089 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1090 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1091
5d228a43
AS
10922013-08-27 Andreas Schwab <schwab@suse.de>
1093
45b8accc
AS
1094 [BZ #15736]
1095 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1096 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1097 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1098 * string/test-strcasecmp.c (test_main): Run tests in several
1099 locales.
1100 * string/test-strncasecmp.c (test_main): Likewise.
1101
5d228a43
AS
1102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1103 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1104 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1106 (__strncasecmp_ssse3) [PIC]: Likewise.
1107
59d112a4
RM
11082013-08-26 Roland McGrath <roland@hack.frob.com>
1109
53234cc3
RM
1110 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1111
59d112a4
RM
1112 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1113 instead of explicitly declaring xdecrypt.
1114 * nis/nss_nis/nis-publickey.c: Likewise.
1115
595aba70
SP
11162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1117
1118 [BZ #15890]
1119 * nscd/aicache.c: Include res_hconf.h.
1120 (addhstaiX): Initialize res_hconf.
1121
ffabd393
AS
11222013-08-26 Andreas Schwab <schwab@suse.de>
1123
1124 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1125 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1126
e0a69f5c
SP
11272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 * nscd/aicache.c (addhstaiX): Fix indentation.
1130
8c12f01d
MF
11312013-08-25 Mike Frysinger <vapier@gentoo.org>
1132
1133 * configure.ac: Quote $build_pt_chown test.
1134 * configure: Regenerated.
1135
8fe89494
JM
11362013-08-23 Joseph Myers <joseph@codesourcery.com>
1137
1138 [BZ #15532]
1139 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1140 * math/s_cexpf.c (__cexpf): Likewise.
1141 * math/s_cexpl.c (__cexpl): Likewise.
1142 * math/libm-test.inc (cexp_test_data): Correct expected return
1143 value for NaN + i0. Add another test.
1144
75b181d6
DM
11452013-08-22 David S. Miller <davem@davemloft.net>
1146
1147 * po/ca.po: Update Catalan translation from translation project.
936241e4 1148 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1149
acd06bb1
JM
11502013-08-21 Joseph Myers <joseph@codesourcery.com>
1151
1152 [BZ #15797]
1153 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1154 is infinite, not alongside NaN test.
1155 * math/s_fdimf.c (__fdimf): Likewise.
1156 * math/s_fdiml.c (__fdiml): Likewise.
1157 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1158 errno is unchanged.
1159
c0c3f78a
OB
11602013-08-21 Ondřej Bílka <neleai@seznam.cz>
1161
1162 * argp/argp-help.c: Fix typos.
1163 * crypt/speeds.c: Likewise.
1164 * csu/check_fds.c: Likewise.
1165 * elf/dl-load.c: Likewise.
1166 * elf/dl-open.c: Likewise.
1167 * elf/reldep3.c: Likewise.
1168 * elf/reldep.c: Likewise.
1169 * elf/sprof.c: Likewise.
1170 * iconv/iconv_charmap.c: Likewise.
1171 * iconv/skeleton.c: Likewise.
1172 * iconv/strtab.c: Likewise.
1173 * io/lockf64.c: Likewise.
1174 * libio/libioP.h: Likewise.
1175 * resolv/gai_notify.c: Likewise.
1176 * resolv/ns_name.c: Likewise.
1177 * resolv/ns_samedomain.c: Likewise.
1178 * resolv/res_send.c: Likewise.
1179 * stdlib/random.c: Likewise.
1180 * sunrpc/rpc/xdr.h: Likewise.
1181 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1189 * sysdeps/mach/hurd/check_fds.c: Likewise.
1190 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1191 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1192 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1193 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1194 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1196 * sysdeps/pthread/aio_notify.c: Likewise.
1197 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1198 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1199 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1201 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1202
46ed1038
LD
12032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1204
1205 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1206 version if bit_Slow_SSE4_2 is set.
1207 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1209
d400dcac
AZ
12102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211
1212 [BZ #15867]
1213 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1214 trampoline stack frame information.
1215 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1217 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1218 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1219 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1220 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1221 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1222 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1223 sa_flags value.
1224 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1225 interrupting a syscall and set with option SA_SIGINFO.
1226
42c8fdd8
JM
12272013-08-20 Joseph Myers <joseph@codesourcery.com>
1228
c980f2f4
JM
1229 [BZ #15531]
1230 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1231 argument is infinite.
1232 * math/s_cprojf.c (__cprojf): Likewise.
1233 * math/s_cprojl.c (__cprojl): Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1235 * math/libm-test.inc (cproj_test_data): Add more tests.
1236
0716c4fc
JM
1237 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1238
42c8fdd8
JM
1239 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1240 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1241 size. Use __ffs to determine corresponding shift.
1242
b31469d0
JM
12432013-08-20 Joseph Myers <joseph@codesourcery.com>
1244 Roland McGrath <roland@hack.frob.com>
1245
1246 * Makefile (INSTALL): Remove trailing blank lines from output of
1247 makeinfo.
1248
4e39af6e
AK
12492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1250
1251 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1252 Align 32 bit compat elf_greg to 8 bytes.
1253
f315524e
AA
12542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1257
1326ba1a
SP
12582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1259
1260 * string/strcoll_l.c (coll_seq): New structure.
1261 (get_next_seq_cached): New function.
1262 (get_next_seq): New function.
1263 (do_compare): New function.
1264 (STRCOLL): Use GNU style definition. Simplify implementation
1265 by using get_next_seq, get_next_seq_cached and do_compare.
1266
91ce4085
FW
12672013-08-16 Florian Weimer <fweimer@redhat.com>
1268
1269 [BZ #14699]
1270 CVE-2013-4237
1271 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1272 member.
1273 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1274 member.
1275 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1276 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1277 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1278 conditional.
1279 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1280 GETDENTS_64BIT_ALIGNED.
1281 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1282 * manual/filesys.texi (Reading/Closing Directory): Document
1283 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1284 strongly.
1285 * manual/conf.texi (Limits for Files): Add portability note to
1286 NAME_MAX, PATH_MAX.
1287 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1288
ca0a6bc4
AS
12892013-08-13 Andreas Schwab <schwab@suse.de>
1290
1291 [BZ #15749]
1292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1293 of fabs.
1294 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1295 LDBL_MAX_EXP >= 16384]: Add tests for it.
1296
6c1fd795
DM
12972013-08-12 David S. Miller <davem@davemloft.net>
1298
1299 * version.h (RELEASE): Set to "development".
1300 (VERSION): Set to "2.18.90".
1301 * NEWS: Add 2.19 section.
1302
31ad488d
DM
13032013-08-03 David S. Miller <davem@davemloft.net>
1304
1305 * po/ko.po: Update Korean translation from translation project.
1306
db24e684
DM
13072013-08-01 David S. Miller <davem@davemloft.net>
1308
1309 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1310 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1311 Bilka.
1312
f723285b
DM
13132013-07-30 David S. Miller <davem@davemloft.net>
1314
1315 * po/fr.po: Update French translation from translation project.
1316
3cbc52db
DM
13172013-07-28 David S. Miller <davem@davemloft.net>
1318
30bbc0cc
DM
1319 * po/cs.po: Update Czech translation from translation project.
1320
3cbc52db
DM
1321 * po/sv.po: Update Swedish translation from translation project.
1322
d492e6d0
DM
13232013-07-27 David S. Miller <davem@davemloft.net>
1324
f1a7f492
DM
1325 * po/eo.po: Update Esperanto translation from translation project.
1326
90e62a4a
DM
1327 * po/vi.po: Update Vietnamese translation from translation project.
1328
d492e6d0
DM
1329 * po/de.po: Update German translation from translation project.
1330
d4baa62d
DM
13312013-07-26 David S. Miller <davem@davemloft.net>
1332
641aa7b4
DM
1333 * po/bg.po: Update Bulgarian translation from translation project.
1334
d4baa62d
DM
1335 * po/nl.po: Update Dutch translation from translation project.
1336 * po/pl.po: Update Polish translation from translation project.
1337 * po/ru.po: Update Russian translation from translation project.
1338
61a9dcb9
DM
13392013-07-24 David S. Miller <davem@davemloft.net>
1340
1341 * po/libc.pot: Update.
1342
7b1f8b58
AZ
13432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1346 variable page size.
1347 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1348 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1349 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1350
a8fc7a03
AK
13512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1352
1353 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1354
e4608715
CD
13552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1356 Andreas Schwab <schwab@suse.de>
1357 Roland McGrath <roland@hack.frob.com>
1358 Joseph Myers <joseph@codesourcery.com>
1359 Carlos O'Donell <carlos@redhat.com>
1360
1361 [BZ #15755]
1362 * config.h.in: Define HAVE_PT_CHOWN.
1363 * config.make.in (build-pt-chown): New variable.
1364 * configure.in (--enable-pt_chown): New configure option.
1365 * configure: Regenerate.
1366 * login/Makefile: Include Makeconfig. Build pt_chown only if
1367 build-pt-chown is enabled.
1368 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1369 pt_chown to fix pty ownership.
1370 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1371 CLOSE_ALL_FDS.
1372 * manual/install.texi (Configuring and compiling): Mention
1373 --enable-pt_chown. Add @findex for grantpt.
1374 * INSTALL: Regenerate.
1375
da2d62df
DM
13762013-07-20 David S. Miller <davem@davemloft.net>
1377
1378 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1379 difference between 32-bit and 64-bit.
1380
d7e06450
CD
13812013-07-15 Carlos O'Donell <carlos@redhat.com>
1382
1383 [BZ #15711]
1384 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1385 Avoid system header dependency with -ffreestanding.
1386 ($(objpfx)bits/syscall%d): Likewise.
1387
f959cfd7
DM
13882013-07-13 David S. Miller <davem@davemloft.net>
1389
1390 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1391 underflows from atanl/atan2l due to bug 15319.
1392 (casinh_test_data): Likewise.
1393
c61f8513
DM
13942013-07-07 David S. Miller <davem@davemloft.net>
1395
1396 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1397
72c90ed0
JA
13982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1399
1400 * sysdeps/i386/fpu/libm-test-ulps: Update.
1401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1402
52dfbe13
SP
14032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1404
1405 * configure.in (--enable-lock-elision): Fix message text.
1406 * INSTALL: Regenerate.
1407 * configure: Regenerate.
1408
3f169543
AZ
14092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
1411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1412
521c6785
AJ
14132013-07-03 Andreas Jaeger <aj@suse.de>
1414
1415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1416 define.
1417 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1418 (ptrace_peeksiginfo_args): Add.
1419 (__ptrace_peeksiginfo_flags): Add.
1420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1423
d2cc15cb
AM
14242013-07-03 Allan McRae <allan@archlinux.org>
1425
1426 * sysdeps/i386/fpu/libm-test-ulps: Update.
1427
3aaeeca7
DM
14282013-07-02 David S. Miller <davem@davemloft.net>
1429
1430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1431
5314ed1a
MT
14322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1433
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1435
67338156
JM
14362013-07-02 Joseph Myers <joseph@codesourcery.com>
1437
1438 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440
1717da59
AK
14412013-07-02 Andi Kleen <ak@linux.intel.com>
1442
1443 * config.h.in (ENABLE_LOCK_ELISION): Add.
1444 * configure.in (--enable-lock-elision): Add option.
1445 * manual/install.texi: Document --enable lock elision.
1446 * configure: Regenerate
1447 * INSTALL: Regenerate.
1448
1c81621c
L
14492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1452 SSE4.2 strcasecmp for libc.a.
1453 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1454
77f01ab5
JM
14552013-07-02 Joseph Myers <joseph@codesourcery.com>
1456
1457 [BZ #13304]
1458 * soft-fp/op-common.h (_FP_FMA): New macro.
1459 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1460 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1461 (_FP_MUL_MEAT_1_imm): ... here.
1462 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1463 (_FP_MUL_MEAT_1_wide): ... here.
1464 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1465 (_FP_MUL_MEAT_1_hard): ... here.
1466 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1467 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1468 (_FP_MUL_MEAT_2_wide): ... here.
1469 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1470 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1471 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1472 (_FP_MUL_MEAT_2_gmp): ... here.
1473 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1474 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1475 (_FP_MUL_MEAT_4_wide): ... here.
1476 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1477 (_FP_MUL_MEAT_4_gmp): ... here.
1478 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1479 (_FP_WFRACBITS_DW_S): Likewise.
1480 (_FP_WFRACXBITS_DW_S): Likewise.
1481 (_FP_HIGHBIT_DW_S): Likewise.
1482 (FP_FMA_S): Likewise.
1483 (_FP_FRAC_HIGH_DW_S): Likewise.
1484 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1485 (_FP_WFRACBITS_DW_D): Likewise.
1486 (_FP_WFRACXBITS_DW_D): Likewise.
1487 (_FP_HIGHBIT_DW_D): Likewise.
1488 (FP_FMA_D): Likewise.
1489 (_FP_FRAC_HIGH_DW_D): Likewise.
1490 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1491 (_FP_WFRACBITS_DW_E): Likewise.
1492 (_FP_WFRACXBITS_DW_E): Likewise.
1493 (_FP_HIGHBIT_DW_E): Likewise.
1494 (FP_FMA_E): Likewise.
1495 (_FP_FRAC_HIGH_DW_E): Likewise.
1496 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1497 (_FP_WFRACBITS_DW_Q): Likewise.
1498 (_FP_WFRACXBITS_DW_Q): Likewise.
1499 (_FP_HIGHBIT_DW_Q): Likewise.
1500 (FP_FMA_Q): Likewise.
1501 (_FP_FRAC_HIGH_DW_Q): Likewise.
1502 * soft-fp/fmasf4.c: New file.
1503 * soft-fp/fmadf4.c: Likewise.
1504 * soft-fp/fmatf4.c: Likewise.
1505
6308fd9a
LD
15062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1507
1508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1509 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1510 Silvermont.
1511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1512 macro.
1513 (index_Slow_SSE4_2): Likewise.
1514 (index_Prefer_PMINUB_for_stringop): Likewise.
1515 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1516 bit_Slow_SSE4_2 is set.
1517 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1518 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1519
89cd9569
RA
15202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1521
1522 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1523 rtld_global._dl_hwcap2.
1524 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1525 POWER8.
1526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1527 POWER8 feature descriptions defined in _dl_hwcap2.
1528 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1529 string handling for POWER8 feature bits.
1530 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1531 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1532 _dl_powerpc_cap_flags.
1533 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1534 * sysdeps/powerpc/rtld-global-offsets.sym
1535 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1536 _dl_hwcap2 in the rtld_global_ro structure.
1537
1ae8bfe0
RA
15382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1539
1540 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1541 hardware capabilities in support of AT_HWCAP2.
1542 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1543 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1544 GLRO(dl_hwcap2).
1545 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1546 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1547 explicitly the unknown a_type display mechanism is used.
1548 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1549 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1550 struct member.
1551 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1552 to macro prototype for AT_HWCAP2 support.
1553 * sysdeps/i386/dl-procinfo.h: Likewise.
1554 * sysdeps/s390/dl-procinfo.h: Likewise.
1555 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1556 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1557 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1558 return -1 for unknown a_type display fallback.
1559 * sysdeps/sparc/dl-procinfo.h: Likewise.
1560 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1562
8fbec010
JM
15632013-06-28 Joseph Myers <joseph@codesourcery.com>
1564
1565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1566 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1567
0432680e
PY
15682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1569
1570 [BZ #12492]
1571 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1572 mprotect making __stack_prot writable.
1573
ce61a2ad
NF
15742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1575 Joseph Myers <joseph@codesourcery.com>
1576
1577 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1578 as being properly aligned.
1579
f91f1c0f
MR
15802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1581
3d0f5d0c
MR
1582 * dlfcn/modstatic5.c: New file.
1583 * dlfcn/tststatic5.c: New file.
1584 * dlfcn/Makefile (tests): Add tststatic5.
1585 (tests-static): Likewise.
1586 (modules-names): Add modstatic5.
1587 (tststatic5-ENV): New variable.
1588 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1589
f91f1c0f
MR
1590 [BZ #15022]
1591 * elf/dl-support.c (_dl_main_map): New variable.
1592 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1593 (_dl_nns, _dl_load_adds): Set to 1.
1594 (_dl_initial_searchlist): Refer to _dl_main_map.
1595 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1596 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1597 call to _dl_get_origin.
1598 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1599 around call_map.
1600 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1601 * dlfcn/modstatic3.c: New file.
1602 * dlfcn/tststatic3.c: New file.
1603 * dlfcn/tststatic4.c: New file.
1604 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1605 (tests-static): Likewise.
1606 (modules-names): Add modstatic3.
1607 (tststatic3-ENV, tststatic4-ENV): New variables.
1608 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1609 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1610
cbe7d24b
JM
16112013-06-26 Joseph Myers <joseph@codesourcery.com>
1612
1613 * configure.in (CC): Require GCC version 4.4 or later.
1614 * configure: Regenerated.
1615 * manual/install.texi (Tools for Compilation): Update GCC version
1616 requirement.
1617 * INSTALL: Regenerated.
1618
11b8a0e1
LD
16192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1620
1621 [BZ #15674]
bb5bb87c
L
1622 * string/test-memcmp.c (check2): New.
1623 (main): Call check2.
1624
11b8a0e1
LD
1625 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1626
b0037103
MR
16272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1628
1629 [BZ #15022]
1630 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1631 over to...
1632 (dl_open_worker) [!SHARED]: ... here.
1633
c18c701d
RA
16342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1635
1636 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1637
1d17fa5f
RH
16382013-06-25 Richard Henderson <rth@redhat.com>
1639
1640 * locale/programs/locarchive.c: Include <libc-internal.h>
1641
8fcb833a
JM
16422013-06-25 Joseph Myers <joseph@codesourcery.com>
1643
1644 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1645 trailing whitespace removed.
1646
17db6e8d
MF
16472013-06-24 Mike Frysinger <vapier@gentoo.org>
1648
1649 [BZ #10283]
17db6e8d
MF
1650 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1651 * locale/programs/locarchive.c: Include libc-mmap.h.
1652 (prepare_address_space): Take two new outputs (the mmap base and len).
1653 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1654 values.
1655 (create_archive): Declare new mmap base and len values for
1656 prepare_address_space, and store the result in ah.
1657 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1658 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1659 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1660 Declare new mmap base and len values for
1661 prepare_address_space, and store the result in new_ah.
1662 (open_archive): Declare new mmap base and len values for
1663 prepare_address_space, and store the result in ah.
1664 (close_archive): If ah->mmap_base is not NULL, use that and
1665 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1666 * sysdeps/generic/libc-mmap.h: New file.
1667
d605071e
MF
16682013-06-24 Mike Frysinger <vapier@gentoo.org>
1669
1670 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1671 (ALIGN_UP): Likewise.
1672 (PTR_ALIGN_DOWN): Likewise.
1673 (PTR_ALIGN_UP): Likewise.
1674
2f063a6e
RA
16752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1676
1677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1678 entry mapped to PPC_PLATFORM_POWER8.
1679 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1680 POWER8.
1681 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1682 (_dl_string_platform): Add case for exporting platform position for
1683 POWER8.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1685 search path to sysdeps/powerpc/powerpc32/power8 directory.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1687 search path to sysdeps/powerpc/powerpc64/power8 directory.
1688 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1689 power7 directories.
1690 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1691 power7 directories.
1692
a31ee4b3
SP
16932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
a74ca98f
SP
1695 * INSTALL: Regenerate.
1696
a31ee4b3
SP
1697 * nscd/connections.c (nscd_init): Fix comment.
1698
695c378f
JM
16992013-06-22 Joseph Myers <joseph@codesourcery.com>
1700
d8412221
JM
1701 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1702
695c378f
JM
1703 [BZ #15667]
1704 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1705 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1706
d1d54715
MR
17072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1708
1709 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1710 DL_DST_REQ_STATIC.
1711 (DL_DST_REQ_STATIC): Remove macro.
1712
8fdda7af
JM
17132013-06-21 Joseph Myers <joseph@codesourcery.com>
1714
1715 [BZ #7006]
1716 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1717 with a shift of 0 bits.
1718
f3bc5e5a
MR
17192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1720
1721 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1722 $(tststatic-ENV).
1723
be09e8c9
KK
17242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1725
1726 [BZ #15655]
1727 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1728
85c2e611
AZ
17292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1732 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1733 accepts -fno-tree-loop-distribute-patterns.
1734 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1735 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1736 recursive call.
1737 * string/memset.c (memset): Likewise.
1738 * string/test-memmove.c (simple_memmove): Disable loop transformation
1739 to library calls.
1740 * string/test-memset.c (simple_memset): Likewise.
1741 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1742 * benchtests/bench-memset.c (simple_memset): Likewise.
1743 * configure: Regenerated.
1744
c91e0825
JM
17452013-06-20 Joseph Myers <joseph@codesourcery.com>
1746
b8c792af
JM
1747 * math/test-misc.c (main): Ignore fesetround failure when failures
1748 of subsequent rounding tests would be ignored.
1749
c91e0825
JM
1750 [BZ #15654]
1751 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1752 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1753 * math/fegetenv.c (__fegetenv): Return 0.
1754 * math/fegetexcept.c (fegetexcept): Return 0.
1755 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1756 FE_TONEAREST.
1757 * math/feholdexcpt.c (feholdexcept): Return 0.
1758 * math/fesetenv.c (__fesetenv): Return 0.
1759 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1760 argument FE_TONEAREST.
1761 * math/feupdateenv.c (__feupdateenv): Return 0.
1762 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1763
bfcacbde
RM
17642013-06-18 Roland McGrath <roland@hack.frob.com>
1765
1766 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1767 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1768 ($(objpfx)rtld-%.os rules): Use them.
1769
e55a9b25
AZ
17702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1773 fields.
1774
346d65b3
RM
17752013-06-17 Roland McGrath <roland@hack.frob.com>
1776
12086fb4
RM
1777 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1778 length of target pattern, then descending length of dependency pattern.
1779 * configure.in (AWK): Require gawk 3.1.2 or newer.
1780 * manual/install.texi (Tools for Compilation): Say that we do.
1781 * configure: Regenerated.
1782
346d65b3
RM
1783 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1784 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1785 * scripts/sysd-rules.awk: ... this new script.
1786 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1787 than a glob-style pattern.
1788
1a846317
JM
17892013-06-17 Joseph Myers <joseph@codesourcery.com>
1790
1791 * math/test-misc.c (main): Do not treat incorrectly rounded
1792 conversions as failure unless ROUNDING_TESTS passes.
1793
8fc75e6f
JM
17942013-06-15 Joseph Myers <joseph@codesourcery.com>
1795
3711a167
JM
1796 [BZ #15631]
1797 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1798 restore exception state around main square root computation, then
1799 check for inexactness explicitly.
1800
8fc75e6f
JM
1801 * math/libm-test.inc (fma_test_data): Add another test.
1802
61dd6208
SP
18032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1804
adf23d2c
SP
1805 * manual/threads.texi (Non-POSIX Extensions): New document
1806 node. Document pthread_getattr_default_np and
1807 pthread_setattr_default_np.
1808
61dd6208
SP
1809 * Versions.def (libpthread): Add GLIBC_2.18.
1810 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1812 Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1814 Likewise.
1815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1816 Likewise.
1817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1818 Likewise.
1819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1820 Likewise.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1822 Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1824 Likewise.
1825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1826 Likewise.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1828 Likewise.
1829
d086fc7b
LD
18302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1831
1832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1833 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1834
747ef469
SP
18352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1836 H.J. Lu <hjl.tools@gmail.com>
1837
1838 [BZ #15627]
1839 * sysdeps/x86_64/rtld-memset.c: Remove file.
1840 * sysdeps/x86_64/rtld-memset.S: New file.
1841
1b2feed2
JM
18422013-06-14 Joseph Myers <joseph@codesourcery.com>
1843
1844 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1845 (test_in_one_mode): Take arguments for whether the rounding mode
1846 is supported for each floating-point type.
1847 (do_test): Pass new arguments to test_in_one_mode using
1848 ROUNDING_TESTS.
1849
a58ad3f8
RM
18502013-06-13 Roland McGrath <roland@hack.frob.com>
1851
1852 * posix/tst-waitid.c (do_test): Distinguish different instances of
1853 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1854 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1855 before entering the kernel for waitpid.
1856
c204ab28
SP
18572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
1859 * NEWS: Fix note on clock function precision. Text by Roland
1860 McGrath.
1861
f4a29fba
RM
18622013-06-13 Roland McGrath <roland@hack.frob.com>
1863
1864 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1865 it into place only when and if the sanity check passes.
1866
1f24b9ad
JM
18672013-06-13 Joseph Myers <joseph@codesourcery.com>
1868
1869 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1870 output for whether conversion result is exact. Take argument
1871 indicating whether type is IBM long double.
1872 (round_for_all): Change need_exact field to ibm_ld.
1873 * stdlib/tst-strtod-round.c (struct exactness): New type.
1874 (struct test): Change bool ld_ok field to struct exactness exact.
1875 (TEST): Update all definitions for change to field.
1876 (tests): Regenerate array contents.
1877 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1878 field value. Check for IBM long double here.
1879 (do_test): Update calls to test_in_one_mode.
1880
58206c68
SP
18812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1882
1883 [BZ #12515]
1884 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1885 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1886
2d6f4c5b 18872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1888
1889 [BZ #15605]
1890 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1891 generated by the compiler on loop optimizations.
1892 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1893 general definitions.
1894
94f2c076
JM
18952013-06-12 Joseph Myers <joseph@codesourcery.com>
1896
1897 * math/bug-nextafter.c: Include <math-tests.h>.
1898 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1899 the relevant type.
1900 * math/bug-nexttoward.c: Include <math-tests.h>.
1901 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1902 the relevant type.
1903 * math/test-misc.c: Include <math-tests.h>.
1904 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1905 the relevant type.
1906
e0e50a0a
AJ
19072013-06-12 Andreas Jaeger <aj@suse.de>
1908
1909 * po/ia.po: Update Interlingua translation from translation
1910 project.
1911
25061094
SP
19122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1913
1914 * include/fenv.h: Include stdbool.h.
1915 (struct rm_ctx): New structure.
1916 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1917 Define macro.
1918 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1919 (SET_RESTORE_ROUNDF): Likewise.
1920 (SET_RESTORE_ROUNDL): Likewise.
1921 (SET_RESTORE_ROUND_NOEX): Likewise.
1922 (SET_RESTORE_ROUND_NOEXF): Likewise.
1923 (SET_RESTORE_ROUND_NOEXL): Likewise.
1924 (SET_RESTORE_ROUND_53BIT): Likewise.
1925 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1926 (libc_feresetround_noexf_ctx): Likewise.
1927 (libc_feresetround_noexl_ctx): Likewise.
1928 (libc_feholdsetround_53bit_ctx): Likewise.
1929 (libc_feresetround_53bit_ctx): Likewise.
1930 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1931 (libc_feholdexcept_setround_sse_ctx): New function.
1932 (libc_fesetenv_sse_ctx): Likewise.
1933 (libc_feupdateenv_sse_ctx): Likewise.
1934 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1935 (libc_feholdexcept_setround_387_ctx): Likewise.
1936 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1937 (libc_feholdsetround_387_prec_ctx): Likewise.
1938 (libc_feholdsetround_387_ctx): Likewise.
1939 (libc_feholdsetround_387_53bit_ctx): Likewise.
1940 (libc_feholdsetround_sse_ctx): Likewise.
1941 (libc_feresetround_sse_ctx): Likewise.
1942 (libc_feresetround_387_ctx): Likewise.
1943 (libc_feupdateenv_387_ctx): Likewise.
1944 (libc_feholdexcept_setroundf_ctx): Define macro.
1945 (libc_fesetenvf_ctx): Likewise.
1946 (libc_feupdateenvf_ctx): Likewise.
1947 (libc_feholdsetroundf_ctx): Likewise.
1948 (libc_feresetroundf_ctx): Likewise.
1949 (libc_feholdexcept_setround_ctx): Likewise.
1950 (libc_fesetenv_ctx): Likewise.
1951 (libc_feupdateenv_ctx): Likewise.
1952 (libc_feholdsetround_ctx): Likewise.
1953 (libc_feresetround_ctx): Likewise.
1954 (libc_feholdexcept_setroundl_ctx): Likewise.
1955 (libc_feupdateenvl_ctx): Likewise.
1956 (libc_feholdsetroundl_ctx): Likewise.
1957 (libc_feresetroundl_ctx): Likewise.
1958 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1959 (libc_feresetround_53bit_ctx): Likewise.
1960
59b30555
SP
19612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1962
1963 * locale/iso-639.def: Convert to UTF-8.
1964
f1d73d30
JM
19652013-06-11 Joseph Myers <joseph@codesourcery.com>
1966
1967 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1968 (EXCEPTION_TESTS_double): Likewise.
1969 (EXCEPTION_TESTS_long_double): Likewise.
1970 (EXCEPTION_TESTS): Likewise.
1971 * math/libm-test.inc (test_exceptions): Only test exceptions if
1972 EXCEPTION_TESTS (FLOAT).
1973
94aca5e7
SP
19742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1975
1976 * benchtests/Makefile (string-bench): Add strcpy_chk and
1977 stpcpy_chk.
1978 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1979 * benchtests/bench-stpcpy_chk.c: New file.
1980 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1981 * benchtests/bench-strcpy_chk.c: New file.
1982 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1983 code.
1984 (do_test): Likewise.
1985
fac0c5f2
RA
19862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1987
1988 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1989 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1990 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1991 with tabs where appropriate.
1992 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1993 dl-procinfo.h.
1994 [PPC_PLATFORM_PPC440]: Likewise.
1995 [PPC_PLATFORM_PPC464]: Likewise.
1996 [PPC_PLATFORM_PPC476]: Likewise.
1997 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1998 ppc464, and ppc476 platform strings merging from ports/
1999 dl-procinfo.h.
2000
f22bc486
AS
20012013-06-11 Andreas Schwab <schwab@suse.de>
2002
2003 [BZ #14991]
2004 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2005 (from_ucs4_idx): Regenerate.
2006 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2007 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2008 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2009 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2010 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2011 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2012 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2013 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2014 from FROM_LOOP and TO_LOOP specific macros.
2015 (BODY): Handle combining characters.
2016 * iconvdata/BIG5HKSCS.irreversible: Update.
2017 * iconvdata/BIG5HKSCS.precomposed: New file.
2018 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2019 characters.
2020 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2021
c1f75dc3
SP
20222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2023
4eacded2
SP
2024 * include/sys/time.h: Fix indentation and add copyright header.
2025
fec799f8
SP
2026 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2027 (do_test): Likewise.
2028 * string/test-memchr.c (do_one_test): Likewise.
2029 (do_test): Likewise.
2030 * string/test-memcmp.c (do_one_test): Likewise.
2031 (do_test): Likewise.
2032 * string/test-memcpy.c (do_one_test): Likewise.
2033 (do_test): Likewise.
2034 * string/test-memmem.c (do_one_test): Likewise.
2035 (do_test): Likewise.
2036 (do_random_tests): Likewise.
2037 * string/test-memmove.c (do_one_test): Likewise.
2038 (do_test): Likewise.
2039 * string/test-memset.c (do_one_test): Likewise.
2040 (do_test): Likewise.
2041 * string/test-rawmemchr.c (do_one_test): Likewise.
2042 (do_test): Likewise.
2043 * string/test-strcasecmp.c (do_one_test): Likewise.
2044 (do_test): Likewise.
2045 * string/test-strcasestr.c (do_one_test): Likewise.
2046 (do_test): Likewise.
2047 * string/test-strcat.c (do_one_test): Likewise.
2048 (do_test): Likewise.
2049 * string/test-strchr.c (do_one_test): Likewise.
2050 (do_test): Likewise.
2051 * string/test-strcmp.c (do_one_test): Likewise.
2052 (do_test): Likewise.
2053 * string/test-strcpy.c (do_one_test): Likewise.
2054 (do_test): Likewise.
2055 * string/test-string.h: Likewise.
2056 (test_init): Likewise.
2057 * string/test-strlen.c (do_one_test): Likewise.
2058 (do_test): Likewise.
2059 * string/test-strncasecmp.c (do_one_test): Likewise.
2060 (do_test): Likewise.
2061 * string/test-strncat.c (do_one_test): Likewise.
2062 (do_test): Likewise.
2063 * string/test-strncmp.c (do_one_test): Likewise.
2064 (do_test_limit): Likewise.
2065 (do_test): Likewise.
2066 * string/test-strncpy.c (do_one_test): Likewise.
2067 (do_test): Likewise.
2068 * string/test-strnlen.c (do_one_test): Likewise.
2069 (do_test): Likewise.
2070 * string/test-strpbrk.c (do_one_test): Likewise.
2071 (do_test): Likewise.
2072 * string/test-strrchr.c (do_one_test): Likewise.
2073 (do_test): Likewise.
2074 * string/test-strspn.c (do_one_test): Likewise.
2075 (do_test): Likewise.
2076 * string/test-strstr.c (do_one_test): Likewise.
2077 (do_test): Likewise.
2078
97020474
SP
2079 * benchtests/Makefile (string-bench): Add string benchmarks.
2080 * benchtests/bench-bcopy-ifunc.c: New file.
2081 * benchtests/bench-bcopy.c: New file.
2082 * benchtests/bench-bzero-ifunc.c: New file.
2083 * benchtests/bench-bzero.c: New file.
2084 * benchtests/bench-memccpy-ifunc.c: New file.
2085 * benchtests/bench-memccpy.c: New file.
2086 * benchtests/bench-memchr-ifunc.c: New file.
2087 * benchtests/bench-memchr.c: New file.
2088 * benchtests/bench-memcmp-ifunc.c: New file.
2089 * benchtests/bench-memcmp.c: New file.
2090 * benchtests/bench-memmem-ifunc.c: New file.
2091 * benchtests/bench-memmem.c: New file.
2092 * benchtests/bench-memmove-ifunc.c: New file.
2093 * benchtests/bench-memmove.c: New file.
2094 * benchtests/bench-mempcpy-ifunc.c: New file.
2095 * benchtests/bench-mempcpy.c: New file.
2096 * benchtests/bench-memset-ifunc.c: New file.
2097 * benchtests/bench-memset.c: New file.
2098 * benchtests/bench-rawmemchr-ifunc.c: New file.
2099 * benchtests/bench-rawmemchr.c: New file.
2100 * benchtests/bench-stpcpy-ifunc.c: New file.
2101 * benchtests/bench-stpcpy.c: New file.
2102 * benchtests/bench-stpncpy-ifunc.c: New file.
2103 * benchtests/bench-stpncpy.c: New file.
2104 * benchtests/bench-strcasecmp-ifunc.c: New file.
2105 * benchtests/bench-strcasecmp.c: New file.
2106 * benchtests/bench-strcasestr-ifunc.c: New file.
2107 * benchtests/bench-strcasestr.c: New file.
2108 * benchtests/bench-strcat-ifunc.c: New file.
2109 * benchtests/bench-strcat.c: New file.
2110 * benchtests/bench-strchr-ifunc.c: New file.
2111 * benchtests/bench-strchr.c: New file.
2112 * benchtests/bench-strchrnul-ifunc.c: New file.
2113 * benchtests/bench-strchrnul.c: New file.
2114 * benchtests/bench-strcmp-ifunc.c: New file.
2115 * benchtests/bench-strcmp.c: New file.
2116 * benchtests/bench-strcpy-ifunc.c: New file.
2117 * benchtests/bench-strcpy.c: New file.
2118 * benchtests/bench-strcspn-ifunc.c: New file.
2119 * benchtests/bench-strcspn.c: New file.
2120 * benchtests/bench-strlen-ifunc.c: New file.
2121 * benchtests/bench-strlen.c: New file.
2122 * benchtests/bench-strncasecmp-ifunc.c: New file.
2123 * benchtests/bench-strncasecmp.c: New file.
2124 * benchtests/bench-strncat-ifunc.c: New file.
2125 * benchtests/bench-strncat.c: New file.
2126 * benchtests/bench-strncmp-ifunc.c: New file.
2127 * benchtests/bench-strncmp.c: New file.
2128 * benchtests/bench-strncpy-ifunc.c: New file.
2129 * benchtests/bench-strncpy.c: New file.
2130 * benchtests/bench-strnlen-ifunc.c: New file.
2131 * benchtests/bench-strnlen.c: New file.
2132 * benchtests/bench-strpbrk-ifunc.c: New file.
2133 * benchtests/bench-strpbrk.c: New file.
2134 * benchtests/bench-strrchr-ifunc.c: New file.
2135 * benchtests/bench-strrchr.c: New file.
2136 * benchtests/bench-strspn-ifunc.c: New file.
2137 * benchtests/bench-strspn.c: New file.
2138 * benchtests/bench-strstr-ifunc.c: New file.
2139 * benchtests/bench-strstr.c: New file.
2140
c1f75dc3
SP
2141 * benchtests/Makefile: Disable parallel execution of targets.
2142 (string-bench): Add memcpy.
2143 (benchset): New variable to store a list of benchmark sets.
2144 (bench-func): Renamed from bench.
2145 (bench-set): New target.
2146 (bench): Depend on bench-func and bench-set.
2147 * benchtests/README: Add section on benchmark sets.
2148 * benchtests/bench-memcpy-ifunc.c: New file.
2149 * benchtests/bench-memcpy.c: New file.
2150 * benchtests/bench-string.h: New file.
2151
50fd745b
AS
21522013-06-11 Andreas Schwab <schwab@suse.de>
2153
2154 [BZ #15577]
2155 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2156 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2157 values in the triple.
2158 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2159 terminator in the group key.
2160
3ee7e9fe
AJ
21612013-06-11 Andreas Jaeger <aj@suse.de>
2162
2163 * po/zh_TW.po: Update Chinese (traditional) translation from
2164 translation project.
2165
89fb6835
SP
21662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2167
2168 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2169 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2170 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2172 (clock_getcpuclockid): Likewise.
2173 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2174 Add weak_alias and libc_hidden_def.
2175 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2176 * rt/clock_gettime.c (clock_gettime): Rename to
2177 __clock_gettime. Add weak_alias and libc_hidden_def.
2178 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2179 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2180 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2181 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2182 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2183 Likewise.
2184 * rt/clock_settime.c (clock_settime): Rename to
2185 __clock_settime. Add weak_alias and libc_hidden_def.
2186 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2187
0efa6f8b
JM
21882013-06-10 Joseph Myers <joseph@codesourcery.com>
2189
b8c61b4b
JM
2190 * mach/err_boot.sub: Remove trailing whitespace.
2191 * mach/err_ipc.sub: Likewise.
2192 * mach/err_mach.sub: Likewise.
2193
0efa6f8b
JM
2194 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2195 (ROUNDING_TESTS_double): Likewise.
2196 (ROUNDING_TESTS_long_double): Likewise.
2197 (ROUNDING_TESTS): Likewise.
2198 * math/libm-test.inc: Include <math-tests.h>.
2199 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2200 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2201 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2202 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2203
50b818bf
SP
22042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2207 of assigning.
2208
60d2f8f3
JM
22092013-06-08 Joseph Myers <joseph@codesourcery.com>
2210
4902d2c3
JM
2211 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2212 otherwise empty TRANS lines.
2213 * sysdeps/gnu/errlist.c: Regenerated.
2214
60d2f8f3
JM
2215 * catgets/gencat.c (error_print): Use (void) in function
2216 definition.
2217 * crypt/crypt_util.c (__init_des): Likewise.
2218 * crypt/speeds.c (Stop): Likewise.
2219 (main): Likewise.
2220 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2221 * inet/ruserpass.c (token): Likewise.
2222 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2223 * intl/localealias.c (extend_alias_table): Likewise.
2224 * intl/plural-exp.c (init_germanic_plural): Likewise.
2225 * libio/fcloseall.c (__fcloseall): Likewise.
2226 * libio/genops.c (_IO_flush_all): Likewise.
2227 (_IO_flush_all_linebuffered): Likewise.
2228 (_IO_cleanup): Likewise.
2229 (_IO_iter_begin): Likewise.
2230 (_IO_iter_end): Likewise.
2231 (_IO_list_lock): Likewise.
2232 (_IO_list_unlock): Likewise.
2233 (_IO_list_resetlock): Likewise.
2234 * libio/getchar.c (getchar): Likewise.
2235 * libio/getchar_u.c (getchar_unlocked): Likewise.
2236 * libio/getwchar.c (getwchar): Likewise.
2237 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2238 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2239 * login/getpt.c (__getpt): Likewise.
2240 * login/tst-utmp.c (main): Likewise.
2241 * malloc/hooks.c (__malloc_check_init): Likewise.
2242 * malloc/malloc.c (__malloc_stats): Likewise.
2243 * malloc/mtrace.c (tr_break): Likewise.
2244 (mtrace): Likewise.
2245 (muntrace): Likewise.
2246 * misc/fstab.c (endfsent): Likewise.
2247 * misc/getclktck.c (__getclktck): Likewise.
2248 * misc/getdtsz.c (__getdtablesize): Likewise.
2249 * misc/gethostid.c (gethostid): Likewise.
2250 * misc/getpagesize.c (__getpagesize): Likewise.
2251 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2252 (__get_nprocs): Likewise.
2253 (__get_phys_pages): Likewise.
2254 (__get_avphys_pages): Likewise.
2255 * misc/getttyent.c (getttyent): Likewise.
2256 (setttyent): Likewise.
2257 (endttyent): Likewise.
2258 * misc/getusershell.c (getusershell): Likewise.
2259 (endusershell): Likewise.
2260 (setusershell): Likewise.
2261 (initshells): Likewise.
2262 * misc/hsearch.c (__hdestroy): Likewise.
2263 * misc/sync.c (sync): Likewise.
2264 * misc/syslog.c (closelog_internal): Likewise.
2265 (closelog): Likewise.
2266 * misc/ttyslot.c (ttyslot): Likewise.
2267 * misc/vhangup.c (vhangup): Likewise.
2268 * posix/fork.c (__fork): Likewise.
2269 * posix/getegid.c (__getegid): Likewise.
2270 * posix/geteuid.c (__geteuid): Likewise.
2271 * posix/getgid.c (__getgid): Likewise.
2272 * posix/getpid.c (__getpid): Likewise.
2273 * posix/getppid.c (__getppid): Likewise.
2274 * posix/getuid.c (__getuid): Likewise.
2275 * posix/pause.c (pause): Likewise.
2276 * posix/setpgrp.c (setpgrp): Likewise.
2277 * posix/setsid.c (__setsid): Likewise.
2278 * posix/test-vfork.c (noop): Likewise.
2279 * resolv/gethnamaddr.c (_endhtent): Likewise.
2280 (_gethtent): Likewise.
2281 (ht_endhostent): Likewise.
2282 (gethostent): Likewise.
2283 (dns_service): Likewise.
2284 * stdlib/drand48.c (drand48): Likewise.
2285 * stdlib/lrand48.c (lrand48): Likewise.
2286 * stdlib/mrand48.c (mrand48): Likewise.
2287 * stdlib/rand.c (rand): Likewise.
2288 * stdlib/random.c (__random): Likewise.
2289 * stdlib/setenv.c (clearenv): Likewise.
2290 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2291 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2292 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2293 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2294 (__get_nprocs): Likewise.
2295 (__get_phys_pages): Likewise.
2296 (__get_avphys_pages): Likewise.
2297 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2298 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2299 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2300 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2301 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2302 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2303 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2304 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2305 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2306 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2307 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2308 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2309 * sysdeps/posix/clock.c (clock): Likewise.
2310 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2311 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2312 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2313 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2314 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2316 (__get_nprocs_conf): Likewise.
2317 (__get_phys_pages): Likewise.
2318 (__get_avphys_pages): Likewise.
2319 * time/clock.c (clock): Likewise.
2320 * time/tzset.c (__tzname_max): Likewise.
2321
2e09a79a
JM
23222013-06-07 Joseph Myers <joseph@codesourcery.com>
2323
2324 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2325 (__bswap_32): Do not use "register".
2326 * crypt/crypt.c (_ufc_doit_r): Likewise.
2327 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2328 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2329 * gmon/gmon.c (__monstartup): Likewise.
2330 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2331 * hurd/hurdmalloc.c (more_memory): Likewise.
2332 (malloc): Likewise.
2333 (free): Likewise.
2334 (realloc): Likewise.
2335 (malloc_fork_prepare): Likewise.
2336 (malloc_fork_parent): Likewise.
2337 (malloc_fork_child): Likewise.
2338 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2339 (_svcauth_des): Likewise.
2340 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2341 * inet/inet_net.c (inet_network): Likewise.
2342 * inet/inet_netof.c (inet_netof): Likewise.
2343 * inet/rcmd.c (__validuser2_sa): Likewise.
2344 * io/fts.c (fts_open): Likewise.
2345 (fts_load): Likewise.
2346 (fts_close): Likewise.
2347 (fts_read): Likewise.
2348 (fts_children): Likewise.
2349 (fts_build): Likewise.
2350 (fts_stat): Likewise.
2351 (fts_sort): Likewise.
2352 (fts_alloc): Likewise.
2353 (fts_lfree): Likewise.
2354 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2355 (_IO_file_xsgetn): Likewise.
2356 (_IO_file_xsgetn_mmap): Likewise.
2357 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2358 (_IO_cookie_write): Likewise.
2359 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2360 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2361 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2362 * malloc/obstack.c (_obstack_begin): Likewise.
2363 (_obstack_begin_1): Likewise.
2364 (_obstack_newchunk): Likewise.
2365 (_obstack_allocated_p): Likewise.
2366 (obstack_free): Likewise.
2367 (_obstack_memory_used): Likewise.
2368 * misc/getttyent.c (getttynam): Likewise.
2369 (getttyent): Likewise.
2370 (skip): Likewise.
2371 (value): Likewise.
2372 * misc/getusershell.c (initshells): Likewise.
2373 * misc/syslog.c (__vsyslog_chk): Likewise.
2374 * misc/ttyslot.c (ttyslot): Likewise.
2375 * nis/nis_hash.c (__nis_hash): Likewise.
2376 * posix/fnmatch_loop.c (FCT): Likewise.
2377 * posix/getconf.c (print_all): Likewise.
2378 (main): Likewise.
2379 * posix/getopt.c (exchange): Likewise.
2380 * posix/glob.c (globfree): Likewise.
2381 (prefix_array): Likewise.
2382 (__glob_pattern_type): Likewise.
2383 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2384 (NS_GET32): Likewise.
2385 (NS_PUT16): Likewise.
2386 (NS_PUT32): Likewise.
2387 * resolv/gethnamaddr.c (getanswer): Likewise.
2388 (gethostbyname2): Likewise.
2389 (gethostbyaddr): Likewise.
2390 (_gethtent): Likewise.
2391 (_gethtbyname2): Likewise.
2392 (_gethtbyaddr): Likewise.
2393 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2394 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2395 * resolv/res_init.c (__res_vinit): Likewise.
2396 (net_mask): Likewise.
2397 * resolv/res_mkquery.c (outchar): Likewise.
2398 (PRINT): Likewise.
2399 * stdio-common/printf_fp.c (outchar): Likewise.
2400 (PRINT): Likewise.
2401 * stdio-common/printf_fphex.c (outchar): Likewise.
2402 (PRINT): Likewise.
2403 * stdio-common/printf_size.c (outchar): Likewise.
2404 (PRINT): Likewise.
2405 * stdio-common/test_rdwr.c (main): Likewise.
2406 * stdio-common/tfformat.c (matches): Likewise.
2407 * stdio-common/vfprintf.c (outchar): Likewise.
2408 (printf_unknown): Likewise.
2409 (buffered_vfprintf): Likewise.
2410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2411 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2412 (ReadFile): Likewise.
2413 * stdlib/qsort.c (SWAP): Likewise.
2414 (_quicksort): Likewise.
2415 * stdlib/setenv.c (__add_to_environ): Likewise.
2416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2417 * stdlib/strtol_l.c (__strtol_l): Likewise.
2418 * stdlib/tst-strtod.c (main): Likewise.
2419 * stdlib/tst-strtol.c (main): Likewise.
2420 * stdlib/tst-strtoll.c (main): Likewise.
2421 * string/bits/string2.h (__strcmp_cc): Likewise.
2422 (__strcmp_cg): Likewise.
2423 (__strcspn_c1): Likewise.
2424 (__strcspn_c2): Likewise.
2425 (__strcspn_c3): Likewise.
2426 (__strspn_c1): Likewise.
2427 (__strspn_c2): Likewise.
2428 (__strspn_c3): Likewise.
2429 (__strsep_1c): Likewise.
2430 (__strsep_2c): Likewise.
2431 (__strsep_3c): Likewise.
2432 * string/memccpy.c (__memccpy): Likewise.
2433 * string/stpcpy.c (__stpcpy): Likewise.
2434 * string/strcmp.c (strcmp): Likewise.
2435 * string/strrchr.c (strrchr): Likewise.
2436 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2437 Likewise.
2438 * sysdeps/mach/hurd/getcwd.c
2439 (_hurd_canonicalize_directory_name_internal): Likewise.
2440 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2441 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2442 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2443 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2444 Likewise, in both definitions.
2445 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2446 definitions.
2447 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2448 64] (__bswap_64): Likewise.
2449 * time/test_time.c (main): Likewise.
2450 * time/tzfile.c (__tzfile_read): Likewise.
2451 (__tzfile_compute): Likewise.
2452 * time/tzset.c (__tzset_parse_tz): Likewise.
2453 (tzset_internal): Likewise.
2454 (compute_change): Likewise.
2455 * wcsmbs/wcscat.c (__wcscat): Likewise.
2456 * wcsmbs/wcschr.c (wcschr): Likewise.
2457 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2458 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2459 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2460 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2461 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2462 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2463 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2464 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2465 * wcsmbs/wmemset.c (wmemset): Likewise.
2466
9e54314b
JM
24672013-06-06 Joseph Myers <joseph@codesourcery.com>
2468
2469 * scripts/config.guess: Update to version 2013-05-16.
2470 * scripts/config.sub: Update to version 2013-04-24.
2471 * scripts/install-sh: Update to version 2011-11-20.07.
2472 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2473 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2474
350635a5
OB
24752013-06-06 Ondřej Bílka <neleai@seznam.cz>
2476
2477 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2478 * elf/sln.c: Likewise.
2479 * hurd/hurd/ioctl.h: Likewise.
2480 * hurd/hurdmalloc.c: Likewise.
2481 * hurd/xattr.c: Likewise.
2482 * include/shlib-compat.h: Likewise.
2483 * inet/ruserpass.c: Likewise.
2484 * libio/iofgets_u.c: Likewise.
2485 * libio/iofgetws_u.c: Likewise.
2486 * locale/programs/ld-identification.c: Likewise.
2487 * locale/programs/ld-time.c: Likewise.
2488 * mach/msg-destroy.c: Likewise.
2489 * nss/nss_files/files-netgrp.c: Likewise.
2490 * resolv/res_data.c: Likewise.
2491 * soft-fp/op-1.h: Likewise.
2492 * soft-fp/op-2.h: Likewise.
2493 * soft-fp/op-4.h: Likewise.
2494 * soft-fp/op-common.h: Likewise.
2495 * stdio-common/printf_fphex.c: Likewise.
2496 * stdlib/strtod_l.c: Likewise.
2497 * sunrpc/rpc/clnt.h: Likewise.
2498 * sysdeps/generic/framestate.c: Likewise.
2499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2500 * sysdeps/i386/bsd-setjmp.S: Likewise.
2501 * sysdeps/i386/__longjmp.S: Likewise.
2502 * sysdeps/i386/setjmp.S: Likewise.
2503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2521 * sysdeps/ieee754/support.c: Likewise.
2522 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2523 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2524 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2525 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2526 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2527 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2528 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2529 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2530 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2531 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2532 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2533 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2534 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2537 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2538 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2540
44a988af
OB
25412013-06-05 Ondřej Bílka <neleai@seznam.cz>
2542
25506f09 2543 * posix/transbug.c: Remove executable mode.
44a988af 2544
9c84384c
JM
25452013-06-05 Joseph Myers <joseph@codesourcery.com>
2546
2547 * crypt/speeds.c: Remove trailing whitespace.
2548 * dlfcn/default.c: Likewise.
2549 * elf/ifuncdep2.c: Likewise.
2550 * elf/ifuncmain1.c: Likewise.
2551 * elf/ifuncmain1vis.c: Likewise.
2552 * elf/testobj.h: Likewise.
2553 * elf/tst-stackguard1.c: Likewise.
2554 * gmon/sys/gmon.h: Likewise.
2555 * hurd/hurdmsg.c: Likewise.
2556 * hurd/new-fd.c: Likewise.
2557 * hurd/ports-get.c: Likewise.
2558 * iconvdata/ibm1008_420.c: Likewise.
2559 * inet/tst-getni1.c: Likewise.
2560 * inet/tst-getni2.c: Likewise.
2561 * libio/ioungetc.c: Likewise.
2562 * libio/wfiledoalloc.c: Likewise.
2563 * manual/libm-err-tab.pl: Likewise.
2564 * math/w_dremf.c: Likewise.
2565 * misc/ftruncate.c: Likewise.
2566 * posix/bug-glob2.c: Likewise.
2567 * posix/tst-pcre.c: Likewise.
2568 * posix/wait4.c: Likewise.
2569 * resolv/README: Likewise.
2570 * resolv/res_debug.h: Likewise.
2571 * resolv/tst-inet_ntop.c: Likewise.
2572 * setjmp/bug269-setjmp.c: Likewise.
2573 * soft-fp/extended.h: Likewise.
2574 * soft-fp/op-1.h: Likewise.
2575 * soft-fp/op-2.h: Likewise.
2576 * soft-fp/op-4.h: Likewise.
2577 * soft-fp/op-8.h: Likewise.
2578 * soft-fp/testit.c: Likewise.
2579 * stdio-common/bug16.c: Likewise.
2580 * stdlib/random.c: Likewise.
2581 * sunrpc/rpcsvc/rquota.x: Likewise.
2582 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2594 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2595 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2598 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2600 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2604 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2611 * sysdeps/ieee754/s_lib_version.c: Likewise.
2612 * sysdeps/mach/hurd/check_fds.c: Likewise.
2613 * sysdeps/mach/hurd/getsockname.c: Likewise.
2614 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2615 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2616 * sysdeps/powerpc/bits/link.h: Likewise.
2617 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2618 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2619 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2620 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2621 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2622 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2623 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2624 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2625 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2626 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2627 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2629 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2630 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2631 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2632 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2638 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2640 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2641 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2651 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2657 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2660 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2665 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2666 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2670 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2681 * sysdeps/powerpc/sysdep.h: Likewise.
2682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2683 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2684 * sysdeps/sh/dl-trampoline.S: Likewise.
2685 * sysdeps/sh/memset.S: Likewise.
2686 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2687 * sysdeps/sh/strlen.S: Likewise.
2688 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2689 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2690 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2691 * sysdeps/sparc/sparc32/rem.S: Likewise.
2692 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2693 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2694 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2695 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2696 * sysdeps/sparc/sparc32/urem.S: Likewise.
2697 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2698 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2699 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2700 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2702 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2703 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2704 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2705 * sysdeps/unix/bsd/times.c: Likewise.
2706 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2707 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2715 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2717 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2718 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2723 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2724 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2725 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2726 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2727 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2728 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2729 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2730 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2731 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2732 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2734 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2735 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2736 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2737 * sysdeps/x86_64/strcspn.S: Likewise.
2738
869378a5
RA
27392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2740
2741 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2742 generated file. Regenerate properly from gen-translit.pl.
2743 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2744 locale/C-translit.h.
2745
840e2943
AS
27462013-06-05 Andreas Schwab <schwab@suse.de>
2747
2748 [BZ #15100]
2749 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2750 week as 6 instead of -1.
2751 * time/tst-strptime.c (day_tests): Add test case.
2752
4c60cb0c
SP
27532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2754
2755 * sysdeps/generic/math_private.h
2756 (libc_feholdexcept_setround_53bit): Replace with
2757 libc_feholdsetround_53bit.
2758 (libc_feupdateenv_53bit): Replace with
2759 libc_feresetround_53bit.
2760 (SET_RESTORE_ROUND_53BIT): Adjust.
2761
d180203e
SP
27622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2763
96df079a
SP
2764 * string/test-strchrnul.c: Add copyright header.
2765
d180203e
SP
2766 * posix/tst-getaddrinfo4.c: Increase test timeout.
2767
8b0ccb2d
CD
27682013-06-03 Carlos O'Donell <carlos@redhat.com>
2769
2770 [BZ #15536]
2771 * math/libm-test.inc (MAX_EXP): Remove
2772 (MIN_EXP): Define.
2773 (ulp): Use MIN_EXP - MANT_DIG.
2774 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2775
3b3c4d40
CD
27762013-05-31 Carlos O'Donell <carlos@redhat.com>
2777
2778 * po/be.po: Revert last change.
2779 * po/zh_CN.po: Likewise.
2780 * po/header.pot: Likewise.
2781
fab7ce3f
JM
27822013-05-31 Joseph Myers <joseph@codesourcery.com>
2783
2784 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2785 link-libc-deps to empty as target-specific variable.
2786 * Makerules (link-libc-args): New variable.
2787 (libc-for-link): Likewise.
2788 (link-libc-deps): Likewise.
2789 (lib%.so): Depend on $(link-libc-deps). Link with
2790 $(link-libc-args).
2791 (build-module): Link with $(link-libc-args).
2792 (build-module-asneeded): Likewise.
2793 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2794 list of objects.
2795 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2796 target-specific variable.
2797 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2798 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2799 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2800 libc.
2801 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2802 libc and ld.so.
2803 ($(objpfx)libpcprofile.so): Likewise.
2804 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2805 libc_nonshared.a.
2806 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2807 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2808 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2809 $(link-libc-deps).
2810 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2811 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2812 * login/Makefile ($(objpfx)libutil.so): Likewise.
2813 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2814 * math/Makefile ($(objpfx)libm.so): Likewise.
2815 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2816 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2817 variable instead of depending directly on libc.
2818 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2819 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2820 $(link-libc-deps).
2821 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2822 libc.
2823 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2824 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2825 ($(objpfx)libanl.so): Likewise.
2826 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2827 ld.so.
2828 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2829 $(link-libc-deps).
2830 * sysdeps/i386/fpu/Makefile: Remove file.
2831 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2832 ($(objpfx)libm.so): Remove dependency on ld.so.
2833
eca5920c
PF
28342013-05-30 Patsy Franklin <pfrankli@redhat.com>
2835
2836 [BZ # 15553]
2837 * nis/yp_xdr.c (XDRMAXNAME): Define.
2838 (XDRMAXRECORD): Define.
2839 (xdr_domainname): Use XDRMAXNAME.
2840 (xdr_mapname): Likewise.
2841 (xdr_peername): Likewise.
2842 (xdr_keydat): Use XDRMAXRECORD.
2843 (xdr_valdat): Likewise.
2844
28452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2846
2847 [BZ #14256]
2848 * manual/errno.texi (ESTALE): Update to account for more than
2849 just NFS file systems.
2850 * sysdeps/gnu/errlist.c: Regenerated.
2851
b9375348
SP
28522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2853
2854 [BZ #15465]
2855 * elf/Makefile (tests): Add tst-null-argv.
2856 (modules-names): Add tst-null-argv-lib.
2857 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2858 (tst-null-argv-ENV): Set environment for tst-null-argv.
2859 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2860 (RTLD_PROGNAME): New macro.
2861 * elf/tst-null-argv.c: New test case.
2862 * elf/tst-null-argv-lib.c: Library for test case.
2863 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2864 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2865 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2866 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2867 * elf/dl-init.c (call_init): Likewise.
2868 (_dl_init): Likewise.
2869 * elf/dl-load.c (print_search_path): Likewise.
2870 (_dl_map_object): Likewise.
2871 * elf/dl-lookup.c (do_lookup_x): Likewise.
2872 (add_dependency): Likewise.
2873 (_dl_lookup_symbol_x): Likewise.
2874 (_dl_debug_bindings): Likewise.
2875 * elf/dl-open.c (_dl_show_scope): Likewise.
2876 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2877 * elf/dl-version.c (match_symbol): Likewise.
2878 (_dl_check_map_versions): Likewise.
2879 * elf/rtld.c (dl_main): Likewise.
2880 (print_unresolved): Use RTLD_PROGNAME.
2881 (print_missing_version): Likewise.
2882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2883 (elf_machine_rela): Likewise.
2884 * sysdeps/powerpc/powerpc32/dl-machine.c
2885 (__process_machine_rela): Likewise.
2886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2887 Likewise.
2888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2889 Likewise.
2890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2891 Likewise.
2892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2894 Likewise.
2895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2896 Likewise.
2897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2898
8a9f20c8
CD
28992013-05-28 Carlos O'Donell <carlos@redhat.com>
2900
2901 * po/be.po: Add descriptive title.
2902 * po/zh_CN.po: Likewise.
2903 * po/header.pot: Likewise.
2904
0e60d68e
MF
29052013-05-28 Mike Frysinger <vapier@gentoo.org>
2906
2907 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2908 error message.
2909 (enlarge_archive): Likewise.
2910
56b672e9
BN
29112013-05-28 Ben North <ben@redfrontdoor.org>
2912
2913 * manual/arith.texi (frexp): It is the magnitude of the return
2914 value which lies in [0.5, 1), not the return value itself.
2915
5e056687
AZ
29162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2919
2b66ef5d
TS
29202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2921
528c2405
TS
2922 * stdio-common/bug26.c (main): Correct fscanf template.
2923
07b4c13d
TS
2924 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2925 declare _dl_skip_args.
2926
ec9dd97c
TS
2927 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2928 Don't declare.
2929
2b66ef5d
TS
2930 * manual/platform.texi: Add missing @end deftypefun.
2931
4f8dfe27
JM
29322013-05-24 Joseph Myers <joseph@codesourcery.com>
2933
0323d086
JM
2934 [BZ #15529]
2935 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2936 bit of mantissa of 2^16382.
2937 * math/libm-test.inc (hypot_test_data): Add more tests.
2938
dd4259b9
JM
2939 * math/libm-test.inc: Add drem and pow10 to list of tested
2940 functions.
2941 (pow10_test): New function.
2942 (drem_test): Likewise.
2943 (drem_test_tonearest): Likewise.
2944 (drem_test_towardzero): Likewise.
2945 (drem_test_downward): Likewise.
2946 (drem_test_upward): Likewise.
2947 (main): Call the new functions.
2948
4f8dfe27
JM
2949 * math/libm-test.inc (finite_test_data): Remove.
2950 (finite_test): Run tests from isfinite_test_data.
2951 (gamma_test_data): Remove.
2952 (gamma_test): Run tests from lgamma_test_data.
2953 * sysdeps/i386/fpu/libm-test-ulps: Update.
2954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955
d116b7c4
AZ
29562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957
2958 * manual/platform.texi: Add PowerPC PPR function set documentation.
2959 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2960 implementation.
2961
e96e3767
CD
29622013-05-24 Carlos O'Donell <carlos@redhat.com>
2963
2964 * math/libm-test.inc (MAX_EXP): Define.
2965 (ULPDIFF): Define.
2966 (ulp): New function.
2967 (check_float_internal): Use ULPDIFF.
2968 (cpow_test): Disable failing test.
2969 (check_ulp): Test ulp() implemetnation.
2970 (main): Call check_ulp before starting tests.
2971
b679a606
JM
29722013-05-24 Joseph Myers <joseph@codesourcery.com>
2973
e8bdba36
JM
2974 * math/gen-libm-test.pl (generate_testfile): Do not handle
2975 START_DATA and END_DATA.
2976 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2977 END_DATA.
2978 (acos_tonearest_test_data): Likewise.
2979 (acos_towardzero_test_data): Likewise.
2980 (acos_downward_test_data): Likewise.
2981 (acos_upward_test_data): Likewise.
2982 (acosh_test_data): Likewise.
2983 (asin_test_data): Likewise.
2984 (asin_tonearest_test_data): Likewise.
2985 (asin_towardzero_test_data): Likewise.
2986 (asin_downward_test_data): Likewise.
2987 (asin_upward_test_data): Likewise.
2988 (asinh_test_data): Likewise.
2989 (atan_test_data): Likewise.
2990 (atanh_test_data): Likewise.
2991 (atan2_test_data): Likewise.
2992 (cabs_test_data): Likewise.
2993 (cacos_test_data): Likewise.
2994 (cacosh_test_data): Likewise.
2995 (carg_test_data): Likewise.
2996 (casin_test_data): Likewise.
2997 (casinh_test_data): Likewise.
2998 (catan_test_data): Likewise.
2999 (catanh_test_data): Likewise.
3000 (cbrt_test_data): Likewise.
3001 (ccos_test_data): Likewise.
3002 (ccosh_test_data): Likewise.
3003 (ceil_test_data): Likewise.
3004 (cexp_test_data): Likewise.
3005 (cimag_test_data): Likewise.
3006 (clog_test_data): Likewise.
3007 (clog10_test_data): Likewise.
3008 (conj_test_data): Likewise.
3009 (copysign_test_data): Likewise.
3010 (cos_test_data): Likewise.
3011 (cos_tonearest_test_data): Likewise.
3012 (cos_towardzero_test_data): Likewise.
3013 (cos_downward_test_data): Likewise.
3014 (cos_upward_test_data): Likewise.
3015 (cosh_test_data): Likewise.
3016 (cosh_tonearest_test_data): Likewise.
3017 (cosh_towardzero_test_data): Likewise.
3018 (cosh_downward_test_data): Likewise.
3019 (cosh_upward_test_data): Likewise.
3020 (cpow_test_data): Likewise.
3021 (cproj_test_data): Likewise.
3022 (creal_test_data): Likewise.
3023 (csin_test_data): Likewise.
3024 (csinh_test_data): Likewise.
3025 (csqrt_test_data): Likewise.
3026 (ctan_test_data): Likewise.
3027 (ctan_tonearest_test_data): Likewise.
3028 (ctan_towardzero_test_data): Likewise.
3029 (ctan_downward_test_data): Likewise.
3030 (ctan_upward_test_data): Likewise.
3031 (ctanh_test_data): Likewise.
3032 (ctanh_tonearest_test_data): Likewise.
3033 (ctanh_towardzero_test_data): Likewise.
3034 (ctanh_downward_test_data): Likewise.
3035 (ctanh_upward_test_data): Likewise.
3036 (erf_test_data): Likewise.
3037 (erfc_test_data): Likewise.
3038 (exp_test_data): Likewise.
3039 (exp_tonearest_test_data): Likewise.
3040 (exp_towardzero_test_data): Likewise.
3041 (exp_downward_test_data): Likewise.
3042 (exp_upward_test_data): Likewise.
3043 (exp10_test_data): Likewise.
3044 (exp2_test_data): Likewise.
3045 (expm1_test_data): Likewise.
3046 (fabs_test_data): Likewise.
3047 (fdim_test_data): Likewise.
3048 (finite_test_data): Likewise.
3049 (floor_test_data): Likewise.
3050 (fma_test_data): Likewise.
3051 (fma_towardzero_test_data): Likewise.
3052 (fma_downward_test_data): Likewise.
3053 (fma_upward_test_data): Likewise.
3054 (fmax_test_data): Likewise.
3055 (fmin_test_data): Likewise.
3056 (fmod_test_data): Likewise.
3057 (fpclassify_test_data): Likewise.
3058 (frexp_test_data): Likewise.
3059 (gamma_test_data): Likewise.
3060 (hypot_test_data): Likewise.
3061 (ilogb_test_data): Likewise.
3062 (isfinite_test_data): Likewise.
3063 (isgreater_test_data): Likewise.
3064 (isgreaterequal_test_data): Likewise.
3065 (isinf_test_data): Likewise.
3066 (isless_test_data): Likewise.
3067 (islessequal_test_data): Likewise.
3068 (islessgreater_test_data): Likewise.
3069 (isnan_test_data): Likewise.
3070 (isnormal_test_data): Likewise.
3071 (issignaling_test_data): Likewise.
3072 (isunordered_test_data): Likewise.
3073 (j0_test_data): Likewise.
3074 (j1_test_data): Likewise.
3075 (jn_test_data): Likewise.
3076 (ldexp_test_data): Likewise.
3077 (lgamma_test_data): Likewise.
3078 (lrint_test_data): Likewise.
3079 (lrint_tonearest_test_data): Likewise.
3080 (lrint_towardzero_test_data): Likewise.
3081 (lrint_downward_test_data): Likewise.
3082 (lrint_upward_test_data): Likewise.
3083 (llrint_test_data): Likewise.
3084 (llrint_tonearest_test_data): Likewise.
3085 (llrint_towardzero_test_data): Likewise.
3086 (llrint_downward_test_data): Likewise.
3087 (llrint_upward_test_data): Likewise.
3088 (log_test_data): Likewise.
3089 (log10_test_data): Likewise.
3090 (log1p_test_data): Likewise.
3091 (log2_test_data): Likewise.
3092 (logb_test_data): Likewise.
3093 (logb_downward_test_data): Likewise.
3094 (lround_test_data): Likewise.
3095 (llround_test_data): Likewise.
3096 (modf_test_data): Likewise.
3097 (nearbyint_test_data): Likewise.
3098 (nextafter_test_data): Likewise.
3099 (nexttoward_test_data): Likewise.
3100 (pow_test_data): Likewise.
3101 (pow_tonearest_test_data): Likewise.
3102 (pow_towardzero_test_data): Likewise.
3103 (pow_downward_test_data): Likewise.
3104 (pow_upward_test_data): Likewise.
3105 (remainder_test_data): Likewise.
3106 (remainder_tonearest_test_data): Likewise.
3107 (remainder_towardzero_test_data): Likewise.
3108 (remainder_downward_test_data): Likewise.
3109 (remainder_upward_test_data): Likewise.
3110 (remquo_test_data): Likewise.
3111 (rint_test_data): Likewise.
3112 (rint_tonearest_test_data): Likewise.
3113 (rint_towardzero_test_data): Likewise.
3114 (rint_downward_test_data): Likewise.
3115 (rint_upward_test_data): Likewise.
3116 (round_test_data): Likewise.
3117 (scalb_test_data): Likewise.
3118 (scalbn_test_data): Likewise.
3119 (scalbln_test_data): Likewise.
3120 (signbit_test_data): Likewise.
3121 (sin_test_data): Likewise.
3122 (sin_tonearest_test_data): Likewise.
3123 (sin_towardzero_test_data): Likewise.
3124 (sin_downward_test_data): Likewise.
3125 (sin_upward_test_data): Likewise.
3126 (sincos_test_data): Likewise.
3127 (sinh_test_data): Likewise.
3128 (sinh_tonearest_test_data): Likewise.
3129 (sinh_towardzero_test_data): Likewise.
3130 (sinh_downward_test_data): Likewise.
3131 (sinh_upward_test_data): Likewise.
3132 (sqrt_test_data): Likewise.
3133 (tan_test_data): Likewise.
3134 (tan_tonearest_test_data): Likewise.
3135 (tan_towardzero_test_data): Likewise.
3136 (tan_downward_test_data): Likewise.
3137 (tan_upward_test_data): Likewise.
3138 (tanh_test_data): Likewise.
3139 (tgamma_test_data): Likewise.
3140 (trunc_test_data): Likewise.
3141 (y0_test_data): Likewise.
3142 (y1_test_data): Likewise.
3143 (yn_test_data): Likewise.
3144 (significand_test_data): Likewise.
3145
b679a606
JM
3146 * math/gen-libm-test.pl (@functions): Remove variable.
3147 (generate_testfile): Don't handle START and END lines.
3148 * math/libm-test.inc (START): New macro.
3149 (END): Likewise.
3150 (END_COMPLEX): Likewise.
3151 (acos_test): Use END macro without arguments.
3152 (acos_test_tonearest): Likewise.
3153 (acos_test_towardzero): Likewise.
3154 (acos_test_downward): Likewise.
3155 (acos_test_upward): Likewise.
3156 (acosh_test): Likewise.
3157 (asin_test): Likewise.
3158 (asin_test_tonearest): Likewise.
3159 (asin_test_towardzero): Likewise.
3160 (asin_test_downward): Likewise.
3161 (asin_test_upward): Likewise.
3162 (asinh_test): Likewise.
3163 (atan_test): Likewise.
3164 (atanh_test): Likewise.
3165 (atan2_test): Likewise.
3166 (cabs_test): Likewise.
3167 (cacos_test): Use END_COMPLEX macro without arguments.
3168 (cacosh_test): Likewise.
3169 (carg_test): Use END macro without arguments.
3170 (casin_test): Use END_COMPLEX macro without arguments.
3171 (casinh_test): Likewise.
3172 (catan_test): Likewise.
3173 (catanh_test): Likewise.
3174 (cbrt_test): Use END macro without arguments.
3175 (ccos_test): Use END_COMPLEX macro without arguments.
3176 (ccosh_test): Likewise.
3177 (ceil_test): Use END macro without arguments.
3178 (cexp_test): Use END_COMPLEX macro without arguments.
3179 (cimag_test): Use END macro without arguments.
3180 (clog_test): Use END_COMPLEX macro without arguments.
3181 (clog10_test): Likewise.
3182 (conj_test): Likewise.
3183 (copysign_test): Use END macro without arguments.
3184 (cos_test): Likewise.
3185 (cos_test_tonearest): Likewise.
3186 (cos_test_towardzero): Likewise.
3187 (cos_test_downward): Likewise.
3188 (cos_test_upward): Likewise.
3189 (cosh_test): Likewise.
3190 (cosh_test_tonearest): Likewise.
3191 (cosh_test_towardzero): Likewise.
3192 (cosh_test_downward): Likewise.
3193 (cosh_test_upward): Likewise.
3194 (cpow_test): Use END_COMPLEX macro without arguments.
3195 (cproj_test): Likewise.
3196 (creal_test): Use END macro without arguments.
3197 (csin_test): Use END_COMPLEX macro without arguments.
3198 (csinh_test): Likewise.
3199 (csqrt_test): Likewise.
3200 (ctan_test): Likewise.
3201 (ctan_test_tonearest): Likewise.
3202 (ctan_test_towardzero): Likewise.
3203 (ctan_test_downward): Likewise.
3204 (ctan_test_upward): Likewise.
3205 (ctanh_test): Likewise.
3206 (ctanh_test_tonearest): Likewise.
3207 (ctanh_test_towardzero): Likewise.
3208 (ctanh_test_downward): Likewise.
3209 (ctanh_test_upward): Likewise.
3210 (erf_test): Use END macro without arguments.
3211 (erfc_test): Likewise.
3212 (exp_test): Likewise.
3213 (exp_test_tonearest): Likewise.
3214 (exp_test_towardzero): Likewise.
3215 (exp_test_downward): Likewise.
3216 (exp_test_upward): Likewise.
3217 (exp10_test): Likewise.
3218 (exp2_test): Likewise.
3219 (expm1_test): Likewise.
3220 (fabs_test): Likewise.
3221 (fdim_test): Likewise.
3222 (finite_test): Likewise.
3223 (floor_test): Likewise.
3224 (fma_test): Likewise.
3225 (fma_test_towardzero): Likewise.
3226 (fma_test_downward): Likewise.
3227 (fma_test_upward): Likewise.
3228 (fmax_test): Likewise.
3229 (fmin_test): Likewise.
3230 (fmod_test): Likewise.
3231 (fpclassify_test): Likewise.
3232 (frexp_test): Likewise.
3233 (gamma_test): Likewise.
3234 (hypot_test): Likewise.
3235 (ilogb_test): Likewise.
3236 (isfinite_test): Likewise.
3237 (isgreater_test): Likewise.
3238 (isgreaterequal_test): Likewise.
3239 (isinf_test): Likewise.
3240 (isless_test): Likewise.
3241 (islessequal_test): Likewise.
3242 (islessgreater_test): Likewise.
3243 (isnan_test): Likewise.
3244 (isnormal_test): Likewise.
3245 (issignaling_test): Likewise.
3246 (isunordered_test): Likewise.
3247 (j0_test): Likewise.
3248 (j1_test): Likewise.
3249 (jn_test): Likewise.
3250 (ldexp_test): Likewise.
3251 (lgamma_test): Likewise.
3252 (lrint_test): Likewise.
3253 (lrint_test_tonearest): Likewise.
3254 (lrint_test_towardzero): Likewise.
3255 (lrint_test_downward): Likewise.
3256 (lrint_test_upward): Likewise.
3257 (llrint_test): Likewise.
3258 (llrint_test_tonearest): Likewise.
3259 (llrint_test_towardzero): Likewise.
3260 (llrint_test_downward): Likewise.
3261 (llrint_test_upward): Likewise.
3262 (log_test): Likewise.
3263 (log10_test): Likewise.
3264 (log1p_test): Likewise.
3265 (log2_test): Likewise.
3266 (logb_test): Likewise.
3267 (logb_test_downward): Likewise.
3268 (lround_test): Likewise.
3269 (llround_test): Likewise.
3270 (modf_test): Likewise.
3271 (nearbyint_test): Likewise.
3272 (nextafter_test): Likewise.
3273 (nexttoward_test): Likewise.
3274 (pow_test): Likewise.
3275 (pow_test_tonearest): Likewise.
3276 (pow_test_towardzero): Likewise.
3277 (pow_test_downward): Likewise.
3278 (pow_test_upward): Likewise.
3279 (remainder_test): Likewise.
3280 (remainder_test_tonearest): Likewise.
3281 (remainder_test_towardzero): Likewise.
3282 (remainder_test_downward): Likewise.
3283 (remainder_test_upward): Likewise.
3284 (remquo_test): Likewise.
3285 (rint_test): Likewise.
3286 (rint_test_tonearest): Likewise.
3287 (rint_test_towardzero): Likewise.
3288 (rint_test_downward): Likewise.
3289 (rint_test_upward): Likewise.
3290 (round_test): Likewise.
3291 (scalb_test): Likewise.
3292 (scalbn_test): Likewise.
3293 (scalbln_test): Likewise.
3294 (signbit_test): Likewise.
3295 (sin_test): Likewise.
3296 (sin_test_tonearest): Likewise.
3297 (sin_test_towardzero): Likewise.
3298 (sin_test_downward): Likewise.
3299 (sin_test_upward): Likewise.
3300 (sincos_test): Likewise.
3301 (sinh_test): Likewise.
3302 (sinh_test_tonearest): Likewise.
3303 (sinh_test_towardzero): Likewise.
3304 (sinh_test_downward): Likewise.
3305 (sinh_test_upward): Likewise.
3306 (sqrt_test): Likewise.
3307 (tan_test): Likewise.
3308 (tan_test_tonearest): Likewise.
3309 (tan_test_towardzero): Likewise.
3310 (tan_test_downward): Likewise.
3311 (tan_test_upward): Likewise.
3312 (tanh_test): Likewise.
3313 (tgamma_test): Likewise.
3314 (trunc_test): Likewise.
3315 (y0_test): Likewise.
3316 (y1_test): Likewise.
3317 (yn_test): Likewise.
3318 (significand_test): Likewise.
3319
bae143d2
OB
33202013-05-24 Ondřej Bílka <neleai@seznam.cz>
3321
3322 [BZ #15381]
3323 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3324
9323d39b
EM
33252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3326
d4ea44a0 3327 [BZ #14894]
9323d39b
EM
3328 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3329 __ppc_mdoio and __ppc_mdoom.
3330 * manual/platform.texi: Document new functions __ppc_yield,
3331 __ppc_mdoio and __ppc_mdoom.
3332
13e23af7
CD
33332013-05-22 Carlos O'Donell <carlos@redhat.com>
3334
3335 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3336 (main): Mention "tls" pseudo-hwcap is legacy.
3337 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3338
351fe550
JM
33392013-05-22 Joseph Myers <joseph@codesourcery.com>
3340
3341 * math/gen-libm-test.pl (parse_args): Output only string of
3342 arguments as text for test name, not full call or descriptions of
3343 tests for extra outputs.
3344 (generate_testfile): Do not pass function name to parse_args.
3345 Generate this_func variable from START.
3346 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3347 field to arg_str.
3348 (struct test_ff_f_data): Likewise.
3349 (test_ff_f_data_nexttoward): Likewise.
3350 (struct test_fi_f_data): Likewise.
3351 (struct test_fl_f_data): Likewise.
3352 (struct test_if_f_data): Likewise.
3353 (struct test_fff_f_data): Likewise.
3354 (struct test_c_f_data): Likewise.
3355 (struct test_f_f1_data): Likewise. Remove field extra_name.
3356 (struct test_fF_f1_data): Likewise.
3357 (struct test_ffI_f1_data): Likewise.
3358 (struct test_c_c_data): Rename test_name field to arg_str.
3359 (struct test_cc_c_data): Likewise.
3360 (struct test_f_i_data): Likewise.
3361 (struct test_ff_i_data): Likewise.
3362 (struct test_f_l_data): Likewise.
3363 (struct test_f_L_data): Likewise.
3364 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3365 and extra2_name.
3366 (COMMON_TEST_SETUP): New macro.
3367 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3368 (COMMON_TEST_CLEANUP): Likewise.
3369 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3370 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3371 macros.
3372 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3373 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3374 macros.
3375 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3376 (RUN_TEST_fff_f): Take argument string. Call new setup and
3377 cleanup macros.
3378 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3379 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3380 macros.
3381 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3382 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3383 macros.
3384 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3385 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3386 cleanup macros.
3387 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3388 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3389 cleanup macros.
3390 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3391 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3392 cleanup macros.
3393 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3394 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3395 macros.
3396 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3397 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3398 macros.
3399 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3400 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3401 macros.
3402 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3403 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3404 cleanup macros.
3405 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3406 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3407 cleanup macros.
3408 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3409 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3410 macros.
3411 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3412 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3413 cleanup macros.
3414 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3415 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3416 macros.
3417 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3418 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3419 macros.
3420 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3421 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3422 cleanup macros.
3423 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3424
85118d4d
EBM
34252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3426
3427 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3428 to _sifields.sigfault.
3429 (si_addr_lsb): Define new macro.
3430 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3433
7a44c18f
CD
34342013-05-03 Carlos O'Donell <carlos at redhat.com>
3435
3436 [BZ #15441]
3437 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3438 returns -1.
3439 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3440 null return -1.
3441 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3442 loading the domain.
3443
b50a7181
JM
34442013-05-22 Joseph Myers <joseph@codesourcery.com>
3445
3446 * math/gen-libm-test.pl (parse_args): Do not include expected
3447 result in test name.
3448 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3451 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3454
051063c8
SP
34552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3456
3ce9e010
SP
3457 * benchtests/Makefile: Sort function entries.
3458
051063c8
SP
3459 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3460 tanh, asinh, acosh, atanh.
3461 * benchtests/acos-inputs: New file.
3462 * benchtests/acosh-inputs: New file.
3463 * benchtests/asin-inputs: New file.
3464 * benchtests/asinh-inputs: New file.
3465 * benchtests/atanh-inputs: New file.
3466 * benchtests/cosh-inputs: New file.
3467 * benchtests/log-inputs: New file.
3468 * benchtests/sinh-inputs: New file.
3469 * benchtests/tanh-inputs: New file.
3470
47c22455
DL
34712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3472
3473 [BZ #15339]
3474 * posix/tst-getaddrinfo4.c: New test.
3475 * posix/Makefile (tests): Add it.
3476
3d04f5db
SP
34772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3478
3479 [BZ #15339]
3480 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3481 when no services were used.
3482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3483 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3484
d5dd6189
AS
34852013-05-21 Andreas Schwab <schwab@suse.de>
3486
3487 [BZ #15014]
3488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3489 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3490 successful.
3491 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3492 redundant variable declarations and reallocation of buffer when
3493 parsing as IPv6 address. Always set NSS status when called from
3494 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3495 buffer too small. Correct computation of needed size.
3496 * nss/Makefile (tests): Add test-digits-dots.
3497 * nss/test-digits-dots.c: New test.
3498
fef94eab
SP
34992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3500
3501 * benchtests/Makefile: Remove instructions for adding
3502 benchmark tests.
3503 * benchtests/README: New file to explain how to execute and
3504 enhance the benchmark tests.
3505
e39adf43
AS
35062013-05-21 Andreas Schwab <schwab@suse.de>
3507
3508 [BZ #15493]
3509 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3510 * setjmp/tst-sigsetjmp.c: New test.
3511
b2b671b6
OB
35122013-05-20 Ondřej Bílka <neleai@seznam.cz>
3513
3514 * sysdeps/x86_64/memset.S (memset): New implementation.
3515 (__bzero): Likewise.
3516 (__memset_tail): New function.
3517
2d48b41c
OB
35182013-05-20 Ondřej Bílka <neleai@seznam.cz>
3519
3520 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3521 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3522 __memcpy_sse2_unaligned ifunc selection.
3523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3524 Add memcpy-sse2-unaligned.S.
3525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3526 Add: __memcpy_sse2_unaligned.
3527
f16cc3eb
JM
35282013-05-19 Joseph Myers <joseph@codesourcery.com>
3529
3e694268
JM
3530 [BZ #15490]
3531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3532 math_force_eval before restoring floating-point envrionment.
3533 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3535 Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3537 <math_private.h>.
3538 (__nearbyintl): Use math_force_eval before restoring
3539 floating-point environment.
3540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3541
db62a907
JM
3542 * math/gen-libm-test.pl (special_functions): Remove.
3543 (parse_args): Don't handle TEST_extra. Handle functions with no
3544 return value.
3545 * math/libm-test.inc (struct test_sincos_data): Replace with
3546 struct test_fFF_11_data.
3547 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3548 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3549 (sincos_test_data): Change element type to struct
3550 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3551 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3552 RUN_TEST_LOOP_sincos.
3553 * math/README.libm-test: Don't mention special handling of
3554 individual functions.
3555 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561
f16cc3eb
JM
3562 * math/gen-libm-test.pl (get_variable): Remove function.
3563 (parse_args): Don't show pointer parameters to call in test
3564 names. Use "extra output N" in test names for extra outputs
3565 rather than naming variables.
3566
3779b5b6
JM
35672013-05-18 Joseph Myers <joseph@codesourcery.com>
3568
2ee094ff
JM
3569 [BZ #15488]
3570 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3571 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3572 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3573 double tests.
3574 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3575 disable.
3576 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3577 check_long_double.
3578
3779b5b6
JM
3579 * math/gen-libm-test.pl (@tests): Remove variable.
3580 ($count): Likewise.
3581 (new_test): Remove function.
3582 (show_exceptions): New function.
3583 (special_functions): Use show_exceptions instead of new_test.
3584 (parse_args): Likewise.
3585 (generate_testfile): Pass only function name in generated call to
3586 print_max_error or print_complex_max_error.
3587 (get_ulps): Do not handle complex tests specially.
3588 (output_test): Rename to ...
3589 (get_all_ulps_for_test): ... this. Return a string rather than
3590 printing to a file. Require ulps to be present.
3591 (output_ulps): Generate arrays rather than #defines.
3592 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3593 (struct ulp_data): New type.
3594 (BUILD_COMPLEX_ULP): Remove macro.
3595 (compare_ulp_data): New function.
3596 (find_ulps): Likewise.
3597 (find_test_ulps): Likewise.
3598 (find_function_ulps): Likewise.
3599 (find_complex_function_ulps): Likewise.
3600 (print_max_error): Determine allowed ulps using
3601 find_function_ulps.
3602 (print_complex_max_error): Determine allowed ulps using
3603 find_complex_function_ulps.
3604 (check_float_internal): Determine max ulps using find_test_ulps.
3605 (check_float): Do not take max_ulp parameter. Update call to
3606 check_float_internal.
3607 (check_complex): Likewise.
3608 (check_int): Do not take max_ulp parameter.
3609 (check_long): Likewise.
3610 (check_bool): Likewise.
3611 (check_longlong): Likewise.
3612 (struct test_f_f_data): Remove max_ulp field.
3613 (struct test_ff_f_data): Likewise.
3614 (struct test_ff_f_data_nexttoward): Likewise.
3615 (struct test_fi_f_data): Likewise.
3616 (struct test_fl_f_data): Likewise.
3617 (struct test_if_f_data): Likewise.
3618 (struct test_fff_f_data): Likewise.
3619 (struct test_c_f_data): Likewise.
3620 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3621 (struct test_fF_f1_data): Likewise.
3622 (struct test_ffI_f1_data): Likewise.
3623 (struct test_c_c_data): Remove max_ulp field.
3624 (struct test_cc_c_data): Likewise.
3625 (struct test_f_i_data): Likewise.
3626 (struct test_ff_i_data): Likewise.
3627 (struct test_f_l_data): Likewise.
3628 (struct test_f_L_data): Likewise.
3629 (struct test_sincos_data): Likewise.
3630 (RUN_TEST_f_f): Do not handle ulps.
3631 (RUN_TEST_LOOP_f_f): Likewise.
3632 (RUN_TEST_2_f): Likewise.
3633 (RUN_TEST_LOOP_2_f): Likewise.
3634 (RUN_TEST_fff_f): Likewise.
3635 (RUN_TEST_LOOP_fff_f): Likewise.
3636 (RUN_TEST_c_f): Likewise.
3637 (RUN_TEST_LOOP_c_f): Likewise.
3638 (RUN_TEST_f_f1): Likewise.
3639 (RUN_TEST_LOOP_f_f1): Likewise.
3640 (RUN_TEST_fF_f1): Likewise.
3641 (RUN_TEST_LOOP_fF_f1): Likewise.
3642 (RUN_TEST_fI_f1): Likewise.
3643 (RUN_TEST_LOOP_fI_f1): Likewise.
3644 (RUN_TEST_ffI_f1): Likewise.
3645 (RUN_TEST_LOOP_ffI_f1): Likewise.
3646 (RUN_TEST_c_c): Likewise.
3647 (RUN_TEST_LOOP_c_c): Likewise.
3648 (RUN_TEST_cc_c): Likewise.
3649 (RUN_TEST_LOOP_cc_c): Likewise.
3650 (RUN_TEST_f_i): Likewise.
3651 (RUN_TEST_LOOP_f_i): Likewise.
3652 (RUN_TEST_f_i_tg): Likewise.
3653 (RUN_TEST_LOOP_f_i_tg): Likewise.
3654 (RUN_TEST_ff_i_tg): Likewise.
3655 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3656 (RUN_TEST_f_b): Likewise.
3657 (RUN_TEST_LOOP_f_b): Likewise.
3658 (RUN_TEST_f_b_tg): Likewise.
3659 (RUN_TEST_LOOP_f_b_tg): Likewise.
3660 (RUN_TEST_f_l): Likewise.
3661 (RUN_TEST_LOOP_f_l): Likewise.
3662 (RUN_TEST_f_L): Likewise.
3663 (RUN_TEST_LOOP_f_L): Likewise.
3664 (RUN_TEST_sincos): Likewise.
3665 (RUN_TEST_LOOP_sincos): Likewise.
3666
8269107f
JM
36672013-05-17 Joseph Myers <joseph@codesourcery.com>
3668
bb38759d
JM
3669 [BZ #15480]
3670 [BZ #15485]
3671 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3672 main case of finite arguments, set rounding mode to FE_TONEAREST
3673 and discard exceptions.
3674 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3675 exceptions.
3676 (remainder_tonearest_test_data): New variable.
3677 (remainder_test_tonearest): New function.
3678 (remainder_towardzero_test_data): New variable.
3679 (remainder_test_towardzero): New function.
3680 (remainder_downward_test_data): New variable.
3681 (remainder_test_downward): New function.
3682 (remainder_upward_test_data): New variable.
3683 (remainder_test_upward): New function.
3684 (main): Call the new test functions.
3685
a00bdcf0
JM
3686 * math/libm-test.inc (struct test_f_f1_data): Remove field
3687 extra_init.
3688 (struct test_fF_f1_data): Likewise.
3689 (struct test_ffI_f1_data): Likewise.
3690 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3691 based on value of EXTRA_EXPECTED.
3692 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3693 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3694 EXTRA_VAR based on value of EXTRA_EXPECTED.
3695 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3696 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3697 EXTRA_VAR based on value of EXTRA_EXPECTED.
3698 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3699 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3700 EXTRA_VAR based on value of EXTRA_EXPECTED.
3701 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3702 * math/gen-libm-test.pl (parse_args): Don't output initializers
3703 for extra output values.
3704
de407f79
JM
3705 * math/libm-test.inc (check_int): Expect result to be exactly
3706 equal to expected value and do not handle ulps.
3707 (check_long): Likewise.
3708 (check_longlong): Likewise.
3709
8269107f
JM
3710 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3711 exceptions.
3712 (cimag_test_data): Likewise.
3713 (conj_test_data): Likewise.
3714 (copysign_test_data): Likewise.
3715 (cproj_test_data): Likewise.
3716 (creal_test_data): Likewise.
3717 (fabs_test_data): Likewise.
3718 (fdim_test_data): Likewise.
3719 (finite_test_data): Likewise.
3720 (floor_test_data): Likewise.
3721 (fmax_test_data): Likewise.
3722 (fmin_test_data): Likewise.
3723 (fmod_test_data): Likewise.
3724 (fpclassify_test_data): Likewise.
3725 (frexp_test_data): Likewise.
3726 (ilogb_test_data): Likewise.
3727 (isfinite_test_data): Likewise.
3728 (isgreater_test_data): Likewise.
3729 (isgreaterequal_test_data): Likewise.
3730 (isinf_test_data): Likewise.
3731 (isless_test_data): Likewise.
3732 (islessequal_test_data): Likewise.
3733 (islessgreater_test_data): Likewise.
3734 (isnan_test_data): Likewise.
3735 (isnormal_test_data): Likewise.
3736 (issignaling_test_data): Likewise.
3737 (isunordered_test_data): Likewise.
3738 (ldexp_test_data): Likewise.
3739 (lrint_test_data): Likewise.
3740 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3741 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3742 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3743 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3744 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3745 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3746 test input.
3747 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3748 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3749 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3750 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3751 that test input.
3752 (lrint_downward_test_data): Test for "inexact" exceptions.
3753 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3754 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3755 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3756 test input.
3757 (lrint_upward_test_data): Test for "inexact" exceptions.
3758 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3759 test input.
3760 (llrint_test_data): Test for "inexact" exceptions.
3761 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3762 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3763 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3764 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3765 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3766 (llrint_downward_test_data): Test for "inexact" exceptions.
3767 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3768 (llrint_upward_test_data): Test for "inexact" exceptions.
3769 (logb_test_data): Likewise.
3770 (logb_downward_test_data): Likewise.
3771 (nextafter_test_data): Likewise.
3772 (nexttoward_test_data): Likewise.
3773 (remainder_test_data): Likewise.
3774 (remquo_test_data): Likewise.
3775 (scalbn_test_data): Likewise.
3776 (scalbln_test_data): Likewise.
3777 (signbit_test_data): Likewise.
3778 (sqrt_test_data): Likewise.
3779 (significand_test_data): Likewise.
3780
48a18de1
SP
37812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3782
3783 [BZ #15424]
3784 * benchtests/bench-modf.c (struct args): Mark arg0 as
3785 volatile.
3786 * scripts/bench.pl: Mark members of struct args as volatile.
3787
13d3b41a
AZ
37882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3789
68191c1d 3790 [BZ # 15497]
13d3b41a
AZ
3791 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3792 negative infinity on POWER6 or lower.
3793 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3794
2848b105
MR
37952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3796
3797 [BZ #15442]
3798 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3799 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3800 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3801 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3802 (_FP_SETQNAN): New macro.
3803 (_FP_SETQNAN_SEMIRAW): Likewise.
3804 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3805 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3806 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3807 (FP_EXTEND): Use _FP_FRAC_SNANP.
3808 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3809 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3810 into account.
3811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3812 New macro.
3813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3814 Likewise.
3815
323e5cb7
JM
38162013-05-16 Joseph Myers <joseph@codesourcery.com>
3817
c58b274f
JM
3818 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3819 with DIVIDE_BY_ZERO_EXCEPTION.
3820 (gamma_test_data): Likewise.
3821 (lgamma_test_data): Likewise.
3822 (log_test_data): Likewise.
3823 (log10_test_data): Likewise.
3824 (log2_test_data): Likewise.
3825 (tgamma_test_data): Likewise.
3826
0ab34904
JM
3827 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3828 (acos_test_tonearest): Likewise.
3829 (acos_test_towardzero): Likewise.
3830 (acos_test_downward): Likewise.
3831 (acos_test_upward): Likewise.
3832 (acosh_test): Likewise.
3833 (asin_test): Likewise.
3834 (asin_test_tonearest): Likewise.
3835 (asin_test_towardzero): Likewise.
3836 (asin_test_downward): Likewise.
3837 (asin_test_upward): Likewise.
3838 (asinh_test): Likewise.
3839 (atan_test): Likewise.
3840 (atanh_test): Likewise.
3841 (atan2_test): Likewise.
3842 (cabs_test): Likewise.
3843 (cacos_test): Likewise.
3844 (cacosh_test): Likewise.
3845 (casin_test): Likewise.
3846 (casinh_test): Likewise.
3847 (catan_test): Likewise.
3848 (catanh_test): Likewise.
3849 (cbrt_test): Likewise.
3850 (ccos_test): Likewise.
3851 (ccosh_test): Likewise.
3852 (cexp_test): Likewise.
3853 (clog_test): Likewise.
3854 (clog10_test): Likewise.
3855 (cos_test): Likewise.
3856 (cos_test_tonearest): Likewise.
3857 (cos_test_towardzero): Likewise.
3858 (cos_test_downward): Likewise.
3859 (cos_test_upward): Likewise.
3860 (cosh_test): Likewise.
3861 (cosh_test_tonearest): Likewise.
3862 (cosh_test_towardzero): Likewise.
3863 (cosh_test_downward): Likewise.
3864 (cosh_test_upward): Likewise.
3865 (cpow_test): Likewise.
3866 (csin_test): Likewise.
3867 (csinh_test): Likewise.
3868 (csqrt_test): Likewise.
3869 (ctan_test): Likewise.
3870 (ctan_test_tonearest): Likewise.
3871 (ctan_test_towardzero): Likewise.
3872 (ctan_test_downward): Likewise.
3873 (ctan_test_upward): Likewise.
3874 (ctanh_test): Likewise.
3875 (ctanh_test_tonearest): Likewise.
3876 (ctanh_test_towardzero): Likewise.
3877 (ctanh_test_downward): Likewise.
3878 (ctanh_test_upward): Likewise.
3879 (erf_test): Likewise.
3880 (erfc_test): Likewise.
3881 (exp_test): Likewise.
3882 (exp_test_tonearest): Likewise.
3883 (exp_test_towardzero): Likewise.
3884 (exp_test_downward): Likewise.
3885 (exp_test_upward): Likewise.
3886 (exp10_test): Likewise.
3887 (exp2_test): Likewise.
3888 (expm1_test): Likewise.
3889 (fmod_test): Likewise.
3890 (gamma_test): Likewise.
3891 (hypot_test): Likewise.
3892 (j0_test): Likewise.
3893 (j1_test): Likewise.
3894 (jn_test): Likewise.
3895 (lgamma_test): Likewise.
3896 (log_test): Likewise.
3897 (log10_test): Likewise.
3898 (log1p_test): Likewise.
3899 (log2_test): Likewise.
3900 (logb_test_downward): Likewise.
3901 (pow_test): Likewise.
3902 (pow_test_tonearest): Likewise.
3903 (pow_test_towardzero): Likewise.
3904 (pow_test_downward): Likewise.
3905 (pow_test_upward): Likewise.
3906 (remainder_test): Likewise.
3907 (remquo_test): Likewise.
3908 (sin_test): Likewise.
3909 (sin_test_tonearest): Likewise.
3910 (sin_test_towardzero): Likewise.
3911 (sin_test_downward): Likewise.
3912 (sin_test_upward): Likewise.
3913 (sincos_test): Likewise.
3914 (sinh_test): Likewise.
3915 (sinh_test_tonearest): Likewise.
3916 (sinh_test_towardzero): Likewise.
3917 (sinh_test_downward): Likewise.
3918 (sinh_test_upward): Likewise.
3919 (sqrt_test): Likewise.
3920 (tan_test): Likewise.
3921 (tan_test_tonearest): Likewise.
3922 (tan_test_towardzero): Likewise.
3923 (tan_test_downward): Likewise.
3924 (tan_test_upward): Likewise.
3925 (tanh_test): Likewise.
3926 (tgamma_test): Likewise.
3927 (y0_test): Likewise.
3928 (y1_test): Likewise.
3929 (yn_test): Likewise.
3930
323e5cb7
JM
3931 * math/gen-libm-test.pl (adjust_arg): Remove function.
3932 (special_function): Remove argument $in_func. Only handle
3933 generating output for tables of tests, not inside functions.
3934 (parse_args): Likewise.
3935 (generate_testfile): Remove variable $in_func. Update call to
3936 parse_args.
3937 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3938 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3939 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3940 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3941 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3942 (MAX_VALUE_INIT): Rename macro to max_value.
3943 (MIN_VALUE_INIT): Rename macro to min_value.
3944 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3945 (plus_zero): Remove variable.
3946 (minus_zero): Likewise.
3947 (plus_infty): Likewise.
3948 (minus_infty): Likewise.
3949 (qnan_value): Likewise.
3950 (max_value): Likewise.
3951 (min_value): Likewise.
3952 (min_subnorm_value): Likewise.
3953
e054f494
RA
39542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3955
3956 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3957 uint64_t or uint32_t usage.
3958 * crypt/sha256-block.c: Likewise.
3959 * crypt/sha256-crypt.c: Likewise.
3960 * crypt/sha256.c: Likewise.
3961 * crypt/sha512-block.c: Likewise.
3962 * crypt/sha512-crypt.c: Likewise.
3963 * crypt/sha512.c: Likewise.
3964 * debug/backtrace-tst.c: Likewise.
3965 * debug/pcprofiledump.c: Likewise.
3966 * elf/cache.c: Likewise.
3967 * elf/dl-cache.c: Likewise.
3968 * elf/dl-misc.c: Likewise.
3969 * elf/dl-profile.c: Likewise.
3970 * elf/dl-support.c: Likewise.
3971 * elf/ldconfig.c: Likewise.
3972 * elf/sprof.c: Likewise.
3973 * iconv/dummy-repertoire.c: Likewise.
3974 * iconv/iconv_charmap.c: Likewise.
3975 * iconv/skeleton.c: Likewise.
3976 * iconvdata/8bit-generic.c: Likewise.
3977 * iconvdata/cp737.h: Likewise.
3978 * iconvdata/cp775.h: Likewise.
3979 * iconvdata/ibm1008.h: Likewise.
3980 * iconvdata/ibm1025.h: Likewise.
3981 * iconvdata/ibm1046.h: Likewise.
3982 * iconvdata/ibm1097.h: Likewise.
3983 * iconvdata/ibm1112.h: Likewise.
3984 * iconvdata/ibm1122.h: Likewise.
3985 * iconvdata/ibm1123.h: Likewise.
3986 * iconvdata/ibm1124.h: Likewise.
3987 * iconvdata/ibm1129.h: Likewise.
3988 * iconvdata/ibm1130.h: Likewise.
3989 * iconvdata/ibm1132.h: Likewise.
3990 * iconvdata/ibm1133.h: Likewise.
3991 * iconvdata/ibm1137.h: Likewise.
3992 * iconvdata/ibm1140.h: Likewise.
3993 * iconvdata/ibm1141.h: Likewise.
3994 * iconvdata/ibm1142.h: Likewise.
3995 * iconvdata/ibm1143.h: Likewise.
3996 * iconvdata/ibm1144.h: Likewise.
3997 * iconvdata/ibm1145.h: Likewise.
3998 * iconvdata/ibm1146.h: Likewise.
3999 * iconvdata/ibm1147.h: Likewise.
4000 * iconvdata/ibm1148.h: Likewise.
4001 * iconvdata/ibm1149.h: Likewise.
4002 * iconvdata/ibm1153.h: Likewise.
4003 * iconvdata/ibm1154.h: Likewise.
4004 * iconvdata/ibm1155.h: Likewise.
4005 * iconvdata/ibm1156.h: Likewise.
4006 * iconvdata/ibm1157.h: Likewise.
4007 * iconvdata/ibm1158.h: Likewise.
4008 * iconvdata/ibm1160.h: Likewise.
4009 * iconvdata/ibm1161.h: Likewise.
4010 * iconvdata/ibm1162.h: Likewise.
4011 * iconvdata/ibm1163.h: Likewise.
4012 * iconvdata/ibm1164.h: Likewise.
4013 * iconvdata/ibm1166.h: Likewise.
4014 * iconvdata/ibm1167.h: Likewise.
4015 * iconvdata/ibm12712.h: Likewise.
4016 * iconvdata/ibm1390.h: Likewise.
4017 * iconvdata/ibm1399.h: Likewise.
4018 * iconvdata/ibm16804.h: Likewise.
4019 * iconvdata/ibm4517.h: Likewise.
4020 * iconvdata/ibm4899.h: Likewise.
4021 * iconvdata/ibm4909.h: Likewise.
4022 * iconvdata/ibm4971.h: Likewise.
4023 * iconvdata/ibm5347.h: Likewise.
4024 * iconvdata/ibm803.h: Likewise.
4025 * iconvdata/ibm856.h: Likewise.
4026 * iconvdata/ibm901.h: Likewise.
4027 * iconvdata/ibm902.h: Likewise.
4028 * iconvdata/ibm9030.h: Likewise.
4029 * iconvdata/ibm9066.h: Likewise.
4030 * iconvdata/ibm921.h: Likewise.
4031 * iconvdata/ibm922.h: Likewise.
4032 * iconvdata/ibm9448.h: Likewise.
4033 * iconvdata/isiri-3342.h: Likewise.
4034 * iconvdata/jis0201.h: Likewise.
4035 * include/link.h: Likewise.
4036 * include/netdb.h: Likewise.
4037 * inet/check_native.c: Likewise.
4038 * inet/check_pf.c: Likewise.
4039 * inet/getipv4sourcefilter.c: Likewise.
4040 * inet/getnameinfo.c: Likewise.
4041 * inet/getsourcefilter.c: Likewise.
4042 * inet/htonl.c: Likewise.
4043 * inet/setipv4sourcefilter.c: Likewise.
4044 * inet/setsourcefilter.c: Likewise.
4045 * inet/test-inet6_opt.c: Likewise.
4046 * inet/tst-network.c: Likewise.
4047 * locale/C-collate.c: Likewise.
4048 * locale/C-ctype.c: Likewise.
4049 * locale/C-time.c: Likewise.
4050 * locale/C-translit.h: Likewise.
4051 * locale/loadarchive.c: Likewise.
4052 * locale/programs/3level.h: Likewise.
4053 * locale/programs/charmap.c: Likewise.
4054 * locale/programs/charmap.h: Likewise.
4055 * locale/programs/ld-address.c: Likewise.
4056 * locale/programs/ld-collate.c: Likewise.
4057 * locale/programs/ld-ctype.c: Likewise.
4058 * locale/programs/ld-identification.c: Likewise.
4059 * locale/programs/ld-measurement.c: Likewise.
4060 * locale/programs/ld-messages.c: Likewise.
4061 * locale/programs/ld-monetary.c: Likewise.
4062 * locale/programs/ld-name.c: Likewise.
4063 * locale/programs/ld-numeric.c: Likewise.
4064 * locale/programs/ld-paper.c: Likewise.
4065 * locale/programs/ld-telephone.c: Likewise.
4066 * locale/programs/ld-time.c: Likewise.
4067 * locale/programs/linereader.c: Likewise.
4068 * locale/programs/locale.c: Likewise.
4069 * locale/programs/locarchive.c: Likewise.
4070 * locale/programs/locfile.h: Likewise.
4071 * locale/programs/repertoire.c: Likewise.
4072 * locale/programs/simple-hash.c: Likewise.
4073 * locale/programs/simple-hash.h: Likewise.
4074 * malloc/memusage.c: Likewise.
4075 * malloc/memusagestat.c: Likewise.
4076 * nis/nis_defaults.c: Likewise.
4077 * nis/nis_hash.c: Likewise.
4078 * nis/nis_print.c: Likewise.
4079 * nis/nis_xdr.c: Likewise.
4080 * nscd/connections.c: Likewise.
4081 * nscd/hstcache.c: Likewise.
4082 * nscd/nscd_gethst_r.c: Likewise.
4083 * nscd/nscd_getserv_r.c: Likewise.
4084 * nscd/nscd_helper.c: Likewise.
4085 * nscd/servicescache.c: Likewise.
4086 * nss/makedb.c: Likewise.
4087 * nss/nss_db/db-XXX.c: Likewise.
4088 * nss/nss_db/db-initgroups.c: Likewise.
4089 * nss/nss_db/db-netgrp.c: Likewise.
4090 * nss/nss_files/files-network.c: Likewise.
4091 * nss/nss_files/files-parse.c: Likewise.
4092 * posix/bug-regex5.c: Likewise.
4093 * posix/fnmatch_loop.c: Likewise.
4094 * posix/regcomp.c: Likewise.
4095 * posix/regexec.c: Likewise.
4096 * posix/tst-rfc3484-2.c: Likewise.
4097 * posix/tst-rfc3484-3.c: Likewise.
4098 * posix/tst-rfc3484.c: Likewise.
4099 * resolv/nss_dns/dns-canon.c: Likewise.
4100 * resolv/nss_dns/dns-network.c: Likewise.
4101 * resolv/res_init.c: Likewise.
4102 * resolv/res_mkquery.c: Likewise.
4103 * resolv/tst-aton.c: Likewise.
4104 * stdlib/cxa_atexit.c: Likewise.
4105 * stdlib/cxa_finalize.c: Likewise.
4106 * stdlib/gen-fpioconst.c: Likewise.
4107 * stdlib/strtol_l.c: Likewise.
4108 * string/tst-endian.c: Likewise.
4109 * sunrpc/auth_des.c: Likewise.
4110 * sunrpc/clnt_udp.c: Likewise.
4111 * sunrpc/rtime.c: Likewise.
4112 * sunrpc/svcauth_des.c: Likewise.
4113 * sunrpc/xdr.c: Likewise.
4114 * sunrpc/xdr_intXX_t.c: Likewise.
4115 * sunrpc/xdr_rec.c: Likewise.
4116 * sysdeps/generic/ldconfig.h: Likewise.
4117 * sysdeps/generic/ldsodefs.h: Likewise.
4118 * sysdeps/generic/memusage.h: Likewise.
4119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4129 * sysdeps/posix/getaddrinfo.c: Likewise.
4130 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4131 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4132 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4134 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4135 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4136 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4137 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4138 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4139 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4140 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4142 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4143 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4145 * sysdeps/x86_64/dl-tls.h: Likewise.
4146 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4147 * time/alt_digit.c: Likewise.
4148 * time/era.c: Likewise.
4149 * wcsmbs/tst-c16c32-1.c: Likewise.
4150
8c75f674
JM
41512013-05-16 Joseph Myers <joseph@codesourcery.com>
4152
4153 * math/libm-test.inc (struct test_sincos_data): New type.
4154 (RUN_TEST_LOOP_sincos): New macro.
4155 (sincos_test_data): New variable.
4156 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4157
e6e49e59
RH
41582013-05-16 Richard Henderson <rth@redhat.com>
4159
4160 * math/atest-exp2.c (LIMB64): New macro.
4161 (CONSTSZ): New macro.
4162 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4163 (hexdig): Move ...
4164 (print_mpn_fp): ... to function scope.
4165 (read_mpn_hex): Remove.
4166 (get_log2): Remove.
4167 (exp2_mpn): Use mp_log2.
4168 (main): Use mp_exp1.
4169
15c7c18d
JM
41702013-05-16 Joseph Myers <joseph@codesourcery.com>
4171
105a07df
JM
4172 * math/libm-test.inc: Remove comment about not testing "inexact"
4173 exceptions.
4174 (INEXACT_EXCEPTION): New macro.
4175 (NO_INEXACT_EXCEPTION): Likewise.
4176 (INVALID_EXCEPTION_OK): Update value.
4177 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4178 (OVERFLOW_EXCEPTION_OK): Likewise.
4179 (UNDERFLOW_EXCEPTION_OK): Likewise.
4180 (IGNORE_ZERO_INF_SIGN): Likewise.
4181 (ERRNO_UNCHANGED): Likewise.
4182 (ERRNO_EDOM): Likewise.
4183 (ERRNO_ERANGE): Likewise.
4184 (test_exceptions): Handle testing "inexact" exceptions.
4185 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4186 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4187 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4188 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4189 INEXACT_EXCEPTION.
4190 (rint_towardzero_test_data): Likewise.
4191 (rint_downward_test_data): Likewise.
4192 (rint_upward_test_data): Likewise.
4193
e9eee333
JM
4194 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4195 with OVERFLOW_EXCEPTION.
4196 (exp10_test_data): Likewise.
4197 (exp2_test_data): Likewise.
4198 (expm1_test_data): Likewise.
4199 (lgamma_test_data): Likewise.
4200 (pow_test_data): Likewise.
4201 (tgamma_test_data): Likewise.
4202 (yn_test_data): Remove duplicate test of overflow.
4203
1c38ff73
JM
4204 * math/libm-test.inc (struct test_cc_c_data): New type.
4205 (RUN_TEST_LOOP_cc_c): New macro.
4206 (cpow_test_data): New variable.
4207 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4208
15c7c18d
JM
4209 * math/libm-test.inc (struct test_f_L_data): New type.
4210 (RUN_TEST_LOOP_f_L): New macro.
4211 (llrint_test_data): New variable.
4212 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4213 (llrint_tonearest_test_data): New variable.
4214 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4215 (llrint_towardzero_test_data): New variable.
4216 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4217 (llrint_downward_test_data): New variable.
4218 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4219 (llrint_upward_test_data): New variable.
4220 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4221 (llround_test_data): New variable.
4222 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4223
f137ff13
PC
42242013-05-13 Peter Collingbourne <pcc@google.com>
4225
4226 * math/atest-exp2.c (get_log2): Remove const attribute.
4227
3608cb24
JM
42282013-05-15 Joseph Myers <joseph@codesourcery.com>
4229
4230 * math/libm-test.inc (struct test_f_l_data): New type.
4231 (RUN_TEST_LOOP_f_l): New macro.
4232 (lrint_test_data): New variable.
4233 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4234 (lrint_tonearest_test_data): New variable.
4235 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4236 (lrint_towardzero_test_data): New variable.
4237 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4238 (lrint_downward_test_data): New variable.
4239 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4240 (lrint_upward_test_data): New variable.
4241 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4242 (lround_test_data): New variable.
4243 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4244
39b1f617
PC
42452013-05-15 Peter Collingbourne <pcc@google.com>
4246
1deff3dc
PC
4247 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4248 (EXTRACT_WORDS64) Use where appropriate.
4249 (INSERT_WORDS64) Likewise.
4250
791f3ba0
PC
4251 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4252 constraints with x constraints.
4253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4254
39b1f617
PC
4255 * malloc/obstack.c (_obstack_compat): Add initializer.
4256
12fba011
EM
42572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4258
4259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4260 si_trapno and add si_addr_lsb to _sifields.sigfault.
4261 (si_trapno): Remove macro.
4262 (si_addr_lsb): Define new macro.
4263 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4264
d369f531
JM
42652013-05-15 Joseph Myers <joseph@codesourcery.com>
4266
b861c6c4
JM
4267 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4268 instead of TEST_f_l.
4269 (llrint_test_tonearest): Likewise.
4270 (llrint_test_towardzero): Likewise.
4271 (llrint_test_downward): Likewise.
4272 (llrint_test_upward): Likewise.
4273 (llround_test): Likewise.
4274
7abeee12
JM
4275 * math/libm-test.inc (struct test_f_i_data): Add comment.
4276 (RUN_TEST_LOOP_f_b): New macro.
4277 (RUN_TEST_LOOP_f_b_tg): Likewise.
4278 (finite_test_data): New variable.
4279 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4280 (isfinite_test_data): New variable.
4281 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4282 (isinf_test_data): New variable.
4283 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4284 (isnan_test_data): New variable.
4285 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4286 (isnormal_test_data): New variable.
4287 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4288 (issignaling_test_data): New variable.
4289 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4290 (signbit_test_data): New variable.
4291 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4292
cbe8c4d3
JM
4293 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4294 with INVALID_EXCEPTION.
4295 (acosh_test_data): Likewise.
4296 (asin_test_data): Likewise.
4297 (atanh_test_data): Likewise.
4298 (fmod_test_data): Likewise.
4299 (log_test_data): Likewise.
4300 (log10_test_data): Likewise.
4301 (log2_test_data): Likewise.
4302 (pow_test_data): Likewise.
4303 (sqrt_test_data): Likewise.
4304 (y0_test_data): Likewise.
4305 (y1_test_data): Likewise.
4306 (yn_test_data): Likewise.
4307
5575c0e5
JM
4308 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4309 function contents.
4310
d369f531
JM
4311 * math/libm-test.inc (struct test_ff_i_data): New type.
4312 (RUN_TEST_LOOP_ff_i_tg): New macro.
4313 (isgreater_test_data): New variable.
4314 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4315 (isgreaterequal_test_data): New variable.
4316 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4317 (isless_test_data): New variable.
4318 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4319 (islessequal_test_data): New variable.
4320 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4321 (islessgreater_test_data): New variable.
4322 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4323 (isunordered_test_data): New variable.
4324 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4325
781fd748
DM
43262013-05-14 David S. Miller <davem@davemloft.net>
4327
4328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4329
87aa21df
JM
43302013-05-14 Joseph Myers <joseph@codesourcery.com>
4331
5e908270
JM
4332 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4333
f71172e5
JM
4334 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4335 extra_test to int.
4336 (struct test_f_i_data): Change type of max_ulp to int.
4337
8cfa635a
JM
4338 * math/libm-test.inc (test_ffI_f1_data): New type.
4339 (RUN_TEST_LOOP_ffI_f1): New macro.
4340 (remquo_test_data): New variable.
4341 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4342
2bcb36b2
JM
4343 * setjmp/tst-setjmp-fp.c: New file.
4344 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4345 (link-libm): New variable.
4346 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4347
acbd839a
JM
4348 * math/libm-test.inc (struct test_f_i_data): New type.
4349 (RUN_TEST_LOOP_f_i): New macro.
4350 (RUN_TEST_LOOP_f_i_tg): Likewise.
4351 (fpclassify_test_data): New variable.
4352 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4353 (ilogb_test_data): New variable.
4354 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4355
e414d745
JM
4356 * math/libm-test.inc (scalbln_test): Correct function name in END
4357 call.
4358
d9c2a0fd
JM
4359 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4360 (RUN_TEST_LOOP_fI_f1): New macro.
4361 (frexp_test_data): New variable.
4362 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4363
9dc9095d
JM
4364 * math/libm-test.inc (struct test_fF_f1_data): New type.
4365 (RUN_TEST_LOOP_fF_f1): New macro.
4366 (modf_test_data): New variable.
4367 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4368
87aa21df
JM
4369 * math/libm-test.inc (struct test_f_f1_data): New type.
4370 (RUN_TEST_LOOP_f_f1): New macro.
4371 (gamma_test_data): New variable.
4372 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4373 (lgamma_test_data): New variable.
4374 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4375
141af660
CD
43762013-05-13 Carlos O'Donell <carlos@redhat.com>
4377
4378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4379 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4380 (main): Comment "tls" pseudo-hwcap.
4381
6d33265c
JM
43822013-05-13 Joseph Myers <joseph@codesourcery.com>
4383
68fc074c
JM
4384 * math/libm-test.inc (struct test_fl_f_data): New type.
4385 (RUN_TEST_LOOP_fl_f): New variable.
4386 (scalbln_test_data): New variable.
4387 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4388
243216e1
JM
4389 * math/libm-test.inc (struct test_fi_f_data): New type.
4390 (RUN_TEST_LOOP_fi_f): New macro.
4391 (ldexp_test_data): New variable.
4392 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4393 (scalbn_test_data): New variable.
4394 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4395
6a1992e2
JM
4396 * math/libm-test.inc (struct test_c_f_data): New type.
4397 (RUN_TEST_LOOP_c_f): New macro.
4398 (cabs_test_data): New variable.
4399 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4400 (carg_test_data): New variable.
4401 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4402 (cimag_test_data): New variable.
4403 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4404 (creal_test_data): New variable.
4405 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4406
0e400df5
JM
4407 * math/libm-test.inc (struct test_if_f_data): New type.
4408 (RUN_TEST_LOOP_if_f): New macro.
4409 (jn_test_data): New variable.
4410 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4411 (yn_test_data): New variable.
4412 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4413
6d33265c
JM
4414 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4415
f98ece5f
AZ
44162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4419 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4420
0f7d347b
SP
44212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
43fe811b
SP
4423 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4424 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4425 (bench-deps): Add bench-timing.h.
4426 * benchtests-bench-skeleton.c: Include bench-timing.h.
4427 (main): Use TIMING_* macros instead of clock_gettime.
4428 * benchtests/bench-timing.h: New file.
4429
0f7d347b
SP
4430 [BZ #14582]
4431 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4432 Renamed from _LIB_VERSION.
4433 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4434
601a3a5f
JM
44352013-05-12 Joseph Myers <joseph@codesourcery.com>
4436
4f184d30
JM
4437 * math/libm-test.inc (struct test_fff_f_data): New type.
4438 (RUN_TEST_LOOP_fff_f): New macro.
4439 (fma_test_data): New variable.
4440 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4441 (fma_towardzero_test_data): New variable.
4442 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4443 (fma_downward_test_data): New variable.
4444 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4445 (fma_upward_test_data): New variable.
4446 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4447
08198877
JM
4448 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4449 (struct test_c_c_data): New type.
4450 (RUN_TEST_LOOP_c_c): New macro.
4451 (cacos_test_data): New variable.
4452 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4453 (cacosh_test_data): New variable.
4454 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4455 (casin_test_data): New variable.
4456 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4457 (casinh_test_data): New variable.
4458 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4459 (catan_test_data): New variable.
4460 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4461 (catanh_test_data): New variable.
4462 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4463 (ccos_test_data): New variable.
4464 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4465 (ccosh_test_data): New variable.
4466 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4467 (cexp_test_data): New variable.
4468 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4469 (clog_test_data): New variable.
4470 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4471 (clog10_test_data): New variable.
4472 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4473 (conj_test_data): New variable.
4474 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4475 (cproj_test_data): New variable.
4476 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4477 (csin_test_data): New variable.
4478 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4479 (csinh_test_data): New variable.
4480 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4481 (csqrt_test_data): New variable.
4482 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4483 (ctan_test_data): New variable.
4484 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4485 (ctan_tonearest_test_data): New variable.
4486 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4487 (ctan_towardzero_test_data): New variable.
4488 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4489 (ctan_downward_test_data): New variable.
4490 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4491 (ctan_upward_test_data): New variable.
4492 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4493 (ctanh_test_data): New variable.
4494 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4495 (ctanh_tonearest_test_data): New variable.
4496 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4497 (ctanh_towardzero_test_data): New variable.
4498 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4499 (ctanh_downward_test_data): New variable.
4500 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4501 (ctanh_upward_test_data): New variable.
4502 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4503 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4504 of BUILD_COMPLEX.
4505
601a3a5f
JM
4506 * math/libm-test.inc (struct test_ff_f_data): New type.
4507 (struct test_ff_f_data_nexttoward): Likewise.
4508 (RUN_TEST_LOOP_2_f): New macro.
4509 (RUN_TEST_LOOP_ff_f): Likewise.
4510 (atan2_test_data): New variable.
4511 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4512 (copysign_test_data): New variable.
4513 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4514 (fdim_test_data): New variable.
4515 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4516 (fmax_test_data): New variable.
4517 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4518 (fmin_test_data): New variable.
4519 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4520 (fmod_test_data): New variable.
4521 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4522 (hypot_test_data): New variable.
4523 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4524 (nextafter_test_data): New variable.
4525 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4526 (nexttoward_test_data): New variable.
4527 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4528 (pow_test_data): New variable.
4529 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4530 (pow_tonearest_test_data): New variable.
4531 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4532 (pow_towardzero_test_data): New variable.
4533 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4534 (pow_downward_test_data): New variable.
4535 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4536 (pow_upward_test_data): New variable.
4537 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4538 (remainder_test_data): New variable.
4539 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4540 (scalb_test_data): New variable.
4541 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4542 * sysdeps/i386/fpu/libm-test-ulps: Update.
4543
74c57478
JM
45442013-05-11 Joseph Myers <joseph@codesourcery.com>
4545
8329e4da
JM
4546 * math/libm-test.inc (fma_test): Use max_value instead of local
4547 variable fltmax.
4548 (nextafter_test): Likewise.
4549
74c57478
JM
4550 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4551 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4552 (acos_downward_test_data): New variable.
4553 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4554 (acos_upward_test_data): New variable.
4555 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4556 (acosh_test_data): New variable.
4557 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4558 (asin_test_data): New variable.
4559 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4560 (asin_tonearest_test_data): New variable.
4561 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4562 (asin_towardzero_test_data): New variable.
4563 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4564 (asin_downward_test_data): New variable.
4565 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4566 (asin_upward_test_data): New variable.
4567 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4568 (asinh_test_data): New variable.
4569 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4570 (atan_test_data): New variable.
4571 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4572 (atanh_test_data): New variable.
4573 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4574 (cbrt_test_data): New variable.
4575 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4576 (ceil_test_data): New variable.
4577 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4578 (cos_test_data): New variable.
4579 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4580 (cos_tonearest_test_data): New variable.
4581 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4582 (cos_towardzero_test_data): New variable.
4583 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4584 (cos_downward_test_data): New variable.
4585 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4586 (cos_upward_test_data): New variable.
4587 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4588 (cosh_test_data): New variable.
4589 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4590 (cosh_tonearest_test_data): New variable.
4591 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4592 (cosh_towardzero_test_data): New variable.
4593 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4594 (cosh_downward_test_data): New variable.
4595 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4596 (cosh_upward_test_data): New variable.
4597 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4598 (erf_test_data): New variable.
4599 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4600 (erfc_test_data): New variable.
4601 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4602 (exp_test_data): New variable.
4603 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4604 (exp_tonearest_test_data): New variable.
4605 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4606 (exp_towardzero_test_data): New variable.
4607 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4608 (exp_downward_test_data): New variable.
4609 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4610 (exp_upward_test_data): New variable.
4611 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4612 (exp10_test_data): New variable.
4613 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4614 (exp2_test_data): New variable.
4615 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4616 (expm1_test_data): New variable.
4617 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4618 (fabs_test_data): New variable.
4619 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4620 (floor_test_data): New variable.
4621 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4622 (j0_test_data): New variable.
4623 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4624 (j1_test_data): New variable.
4625 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4626 (log_test_data): New variable.
4627 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4628 (log10_test_data): New variable.
4629 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4630 (log1p_test_data): New variable.
4631 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4632 (log2_test_data): New variable.
4633 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4634 (logb_test_data): New variable.
4635 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4636 (logb_downward_test_data): New variable.
4637 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4638 (nearbyint_test_data): New variable.
4639 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4640 (rint_test_data): New variable.
4641 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4642 (rint_tonearest_test_data): New variable.
4643 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4644 (rint_towardzero_test_data): New variable.
4645 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4646 (rint_downward_test_data): New variable.
4647 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4648 (rint_upward_test_data): New variable.
4649 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4650 (round_test_data): New variable.
4651 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4652 (sin_test_data): New variable.
4653 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4654 (sin_tonearest_test_data): New variable.
4655 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4656 (sin_towardzero_test_data): New variable.
4657 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4658 (sin_downward_test_data): New variable.
4659 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4660 (sin_upward_test_data): New variable.
4661 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4662 (sinh_test_data): New variable.
4663 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4664 (sinh_tonearest_test_data): New variable.
4665 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4666 (sinh_towardzero_test_data): New variable.
4667 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4668 (sinh_downward_test_data): New variable.
4669 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4670 (sinh_upward_test_data): New variable.
4671 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4672 (sqrt_test_data): New variable.
4673 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4674 (tan_test_data): New variable.
4675 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4676 (tan_tonearest_test_data): New variable.
4677 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4678 (tan_towardzero_test_data): New variable.
4679 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4680 (tan_downward_test_data): New variable.
4681 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4682 (tan_upward_test_data): New variable.
4683 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4684 (tanh_test_data): New variable.
4685 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4686 (tgamma_test_data): New variable.
4687 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4688 (trunc_test_data): New variable.
4689 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4690 (y0_test_data): New variable.
4691 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4692 (y1_test_data): New variable.
4693 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4694 (significand_test_data): New variable.
4695 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4696
7187d844
CG
46972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4698
4699 [BZ #12387]
4700 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4701
f63fae73
PT
47022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4703
4704 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4705
8a67a4b3
AJ
47062013-05-10 Andreas Jaeger <aj@suse.de>
4707
4708 [BZ #15448]
4709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4710 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4711
51df539d
JM
47122013-05-10 Joseph Myers <joseph@codesourcery.com>
4713
4714 * math/gen-libm-test.pl (adjust_arg): New function.
4715 (special_functions): Handle generating output in both functions
4716 and arrays.
4717 (parse_args): Likewise.
4718 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4719 $in_func argument to parse_args.
4720 * math/libm-test.inc (struct test_f_f_data): New type.
4721 (IF_ROUND_INIT_): New macro.
4722 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4723 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4724 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4725 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4726 (ROUND_RESTORE_): Likewise.
4727 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4728 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4729 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4730 (ROUND_RESTORE_FE_UPWARD): Likewise.
4731 (RUN_TEST_LOOP_f_f): New macro.
4732 (acos_test_data): New variable.
4733 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4734 (acos_tonearest_test_data): New variable.
4735 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4736
5c637fe5
SP
47372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4738
4739 * benchtests/bench-skeleton.c (startup): Fix coding style.
4740
ab2b9461
JM
47412013-05-10 Joseph Myers <joseph@codesourcery.com>
4742
4743 [BZ #6809]
4744 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4745 negative infinity argument.
4746 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4747 negative infinity argument.
4748 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4749 negative infinity argument.
4750 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4751 domain errors.
4752
4c0fe6fe
FW
47532013-05-10 Florian Weimer <fweimer@redhat.com>
4754
4755 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4756 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4757 * iconv/iconv_prog.c (main): Likewise.
4758 * locale/programs/charmap-dir.c (charmap_readdir)
4759 (fopen_uncompressed): Likewise.
4760 * locale/programs/locfile.c (siblings_uncached)
4761 (write_locale_data): Use lstat64 instead of lstat.
4762 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4763 stat.
4764
a3375d29
AJ
47652013-05-10 Andreas Jaeger <aj@suse.de>
4766
4767 [BZ #15395]
4768 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4769 localization.
4770 Include <locale.h>.
4771
36129722
CD
47722013-05-09 Carlos O'Donell <carlos@redhat.com>
4773
4774 * elf/dl-close.c (_dl_close_worker): Add comments.
4775
faa7f811
JM
47762013-05-09 Joseph Myers <joseph@codesourcery.com>
4777
ed41ffef
JM
4778 [BZ #15359]
4779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4780 high part of pi/2.
4781 (__ieee754_rem_pio2l): Update comments.
4782
d0213cd0
JM
4783 [BZ #15429]
4784 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4785 high part of pi/2.
4786 (__ieee754_rem_pio2l): Update comments.
4787
0d3e777a
JM
4788 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4789 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4790
24f56066
JM
4791 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4792 M_PI_4l.
4793
faa7f811
JM
4794 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4795 (M_PI_34_LOG10El): Likewise.
4796 (M_PI2_LOG10El): Likewise.
4797 (M_PI4_LOG10El): Likewise.
4798 (M_PI_LOG10El): Likewise.
4799
e9a5e0fd
AZ
48002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801
4802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4803
d8cd06db
JM
48042013-05-08 Joseph Myers <joseph@codesourcery.com>
4805
a0d9f9d7
JM
4806 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4807 (MINUS_ZERO_INIT): Likewise.
4808 (PLUS_INFTY_INIT): Likewise.
4809 (MINUS_INFTY_INIT): Likewise.
4810 (QNAN_VALUE_INIT): Likewise.
4811 (MAX_VALUE_INIT): Likewise.
4812 (MIN_VALUE_INIT): Likewise.
4813 (MIN_SUBNORM_VALUE_INIT): Likewise.
4814 (plus_zero): Initialize with PLUS_ZERO_INIT.
4815 (minus_zero): Initialize with MINUS_ZERO_INIT.
4816 (plus_infty): Initialize with PLUS_INFTY_INIT.
4817 (minus_infty): Initialize with MINUS_INFTY_INIT.
4818 (qnan_value): Initialize with QNAN_VALUE_INIT.
4819 (max_value): Initialize with MAX_VALUE_INIT.
4820 (min_value): Initialize with MIN_VALUE_INIT.
4821 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4822
ae08db3b
JM
4823 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4824 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4825 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4826 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4827
f44bf14a
JM
4828 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4829 (RUN_TEST_2_f): Likewise.
4830 (RUN_TEST_ff_f): Likewise.
4831 (RUN_TEST_fi_f): Likewise.
4832 (RUN_TEST_fl_f): Likewise.
4833 (RUN_TEST_fff_f): Likewise.
4834 (RUN_TEST_c_f): Likewise.
4835 (RUN_TEST_f_f1): Likewise.
4836 (RUN_TEST_fF_f1): Likewise.
4837 (RUN_TEST_fI_f1): Likewise.
4838 (RUN_TEST_ffI_f1): Likewise.
4839 (RUN_TEST_c_c): Likewise.
4840 (RUN_TEST_cc_c): Likewise.
4841 (RUN_TEST_f_i): Likewise.
4842 (RUN_TEST_f_i_tg): Likewise.
4843 (RUN_TEST_ff_i_tg): Likewise.
4844 (RUN_TEST_f_b): Likewise.
4845 (RUN_TEST_f_b_tg): Likewise.
4846 (RUN_TEST_f_l): Likewise.
4847 (RUN_TEST_f_L): Likewise.
4848 (RUN_TEST_sincos): Likewise.
4849 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4850 whether to show exceptions. Do not include ");\n" in return
4851 value.
4852 (special_functions): Output call to RUN_TEST_sincos instead of
4853 check_float calls. Update calls to new_test.
4854 (parse_args): Output call to single RUN_TEST_* macro instead of
4855 check_* calls and other assignments. Update calls to new_test.
4856
d8cd06db
JM
4857 [BZ #2546]
4858 [BZ #2560]
4859 [BZ #5159]
4860 [BZ #15426]
4861 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4862 input to result for tgamma overflow.
4863 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4864 (gamma_coeff): New variable.
4865 (NCOEFF): New macro.
4866 (gamma_positive): New function.
4867 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4868 underflow here. Use gamma_positive instead of exp (lgamma) for
4869 other arguments.
4870 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4871 (gamma_coeff): New variable.
4872 (NCOEFF): New macro.
4873 (gammaf_positive): New function.
4874 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4875 underflow here. Use gamma_positive instead of exp (lgamma) for
4876 other arguments.
4877 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4878 (gamma_coeff): New variable.
4879 (NCOEFF): New macro.
4880 (gammal_positive): New function.
4881 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4882 underflow here. Use gamma_positive instead of exp (lgamma) for
4883 other arguments.
4884 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4885 (gamma_coeff): New variable.
4886 (NCOEFF): New macro.
4887 (gammal_positive): New function.
4888 (__ieee754_gammal_r): Handle positive infinity, overflow and
4889 underflow here. Handle NaN the same as positive infinity. Remove
4890 check x < 0xffffffff for negative integers. Use gamma_positive
4891 instead of exp (lgamma) for other arguments.
4892 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4893 (gamma_coeff): New variable.
4894 (NCOEFF): New macro.
4895 (gammal_positive): New function.
4896 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4897 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4902 * sysdeps/generic/math_private.h (__gamma_productf): New
4903 prototype.
4904 (__gamma_product): Likewise.
4905 (__gamma_productl): Likewise.
4906 * math/Makefile (libm-calls): Add gamma_product.
4907 * math/libm-test.inc (tgamma_test): Add more tests.
4908 * sysdeps/i386/fpu/libm-test-ulps: Update.
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4910
bb7cf681
OB
49112013-05-08 Ondřej Bílka <neleai@seznam.cz>
4912
4913 * benchtests/bench-skeleton.c (main): Preheat CPU.
4914
ba853947
AJ
49152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4916
4917 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4918
8347c74c
RM
49192013-05-07 Roland McGrath <roland@hack.frob.com>
4920
4921 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4922 and _dl_skip_args_internal.
4923
e8dd4791
CD
49242013-05-07 Carlos O'Donell <carlos@redhat.com>
4925
4926 * manual/message.texi (Message Translation): Talk about users.
4927 Message to key mapping impacts design.
4928
c7405830
RM
49292013-05-06 Roland McGrath <roland@hack.frob.com>
4930
a9173057
RM
4931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4932
976e2f03
RM
4933 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4934
9723ffc5
RM
4935 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4936 * sysdeps/wordsize-64/glob64.c: ... here.
4937
962e6658
RM
4938 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4939 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4940 New macros.
4941
ee586a6d
RM
4942 * debug/getlogin_r_chk.c: Moved to ...
4943 * login/getlogin_r_chk.c: ... here.
4944 * debug/Makefile (routines): Move getlogin_r_chk to ...
4945 * login/Makefile (routines): ... here.
4946 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4947 * login/Versions (libc: GLIBC_2.4): ... here.
4948
355f9165
RM
4949 * io/poll.c (__poll): Renamed from poll.
4950 Add libc_hidden_def.
4951 (poll): Define as weak alias.
4952
bd9ffde6
RM
4953 * debug/ptsname_r_chk.c: Moved to ...
4954 * login/ptsname_r_chk.c: ... here.
4955 * debug/Makefile (routines): Move ptsname_r_chk to ...
4956 * login/Makefile (routines): ... here.
4957 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4958 * login/Versions (libc: GLIBC_2.4): ... here.
4959
8fb16a04
RM
4960 * posix/getlogin.c: Moved to ...
4961 * login/getlogin.c: ... here.
4962 * posix/getlogin_r.c: Moved to ...
4963 * login/getlogin_r.c: ... here.
4964 * posix/getlogin_r.c: Moved to ...
4965 * login/getlogin_r.c: ... here.
4966 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4967 * login/Makefile (routines): ... here.
4968 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4969 * login/Versions (libc: GLIBC_2.0): ... here.
4970
b99b892f
RM
4971 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4972 (setrlimit): Define as weak alias.
4973
c7405830
RM
4974 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4975 Call __ names for open, ftruncate, and close.
4976 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4977 (truncate): Define as weak alias.
4978
5bf96de5
JM
49792013-05-06 Joseph Myers <joseph@codesourcery.com>
4980
9ea3513c
JM
4981 * math/gen-libm-test.pl (parse_args): Initialize x before each
4982 test of frexp, modf and remquo.
4983
5bf96de5
JM
4984 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4985 test signgam value.
4986
16e616a7
AZ
49872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4988
4989 [BZ #15418]
4990 [BZ #15419]
4991 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4992 internal tests.
4993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4994
d5e82754
RM
49952013-05-06 Roland McGrath <roland@hack.frob.com>
4996
4997 * elf/dl-writev.h: New file.
4998 * elf/dl-misc.c: Include it.
4999 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5000 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5001
a7548d41
JM
50022013-05-04 Joseph Myers <joseph@codesourcery.com>
5003
b7dab1e4
JM
5004 * math/libm-test.inc (noXFails): Remove variable.
5005 (noXPasses): Likewise.
5006 (BUILD_COMPLEX_INT): Remove macro.
5007 (print_screen): Remove xfail argument.
5008 (print_screen_max_error): Likewise.
5009 (update_stats): Likewise.
5010 (print_max_error): Likewise. Update calls to other affected
5011 functions.
5012 (print_complex_max_error): Likewise.
5013 (test_single_exception): Update calls to print_screen.
5014 (test_single_errno): Likewise.
5015 (check_float_internal): Remove xfail argument. Update calls to
5016 other affected functions.
5017 (check_float): Likewise.
5018 (check_complex): Likewise.
5019 (check_int): Likewise.
5020 (check_long): Likewise.
5021 (check_bool): Likewise.
5022 (check_longlong): Likewise.
5023 (main): Don't print noXFails and noXPasses.
5024 * math/gen-libm-test.pl (top level): Don't mention expected
5025 failure handling in comment.
5026 (new_test): Don't handle expected failures.
5027 (parse_args): Don't mention expected failure handling in comment.
5028 (generate_testfile): Don't handle expected failures.
5029 (parse_ulps): Likewise.
5030 (print_ulps_file): Likewise.
5031 (get_failure): Remove function.
5032 (output_test): Don't handle expected failures.
5033 * make/README.libm-test: Don't mention expected failure handling.
5034
a7548d41
JM
5035 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5036 (minus_zero): Likewise.
5037 (plus_infty): Likewise.
5038 (minus_infty): Likewise.
5039 (qnan_value): Likewise.
5040 (max_value): Likewise.
5041 (min_value): Likewise.
5042 (min_subnorm_value): Likewise.
5043 (initialize): Do not initialize those variables dynamically.
5044
60bfd54c
RM
50452013-05-03 Roland McGrath <roland@hack.frob.com>
5046
cc0e6ed8
RM
5047 * io/open.c (__open_2): Moved to ...
5048 * io/open_2.c: ... this new file.
5049 * io/open64.c (__open64_2): Moved to ...
5050 * io/open64_2.c: ... this new file.
5051 * io/openat.c (__openat_2): Moved to ...
5052 * io/openat_2.c: ... this new file.
5053 * io/openat64.c (__openat64_2): Moved to ...
5054 * io/openat64_2.c: ... this new file.
5055 * io/Makefile (routines): Add them.
5056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5057 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5058 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5059 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5060 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5061 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5062 (__openat64): Add hidden_ver.
5063 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5064 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5065
60bfd54c
RM
5066 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5067 Separately conditionalize setting of GLRO(dl_sysinfo) so
5068 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5069 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5070
83e7640f
AZ
50712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072
5073 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5074 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5075 definition.
5076 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5078 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5079 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5080 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5081
d5dc2af3
JM
50822013-05-03 Joseph Myers <joseph@codesourcery.com>
5083
c31a5b1e
JM
5084 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5085 test signgam value.
5086
d5dc2af3
JM
5087 * math/libm-test.inc (hypot_test): Do not use
5088 IGNORE_ZERO_INF_SIGN.
5089
164fd39d
AJ
50902013-05-03 Andreas Jaeger <aj@suse.de>
5091
5092 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5093 Linux 3.9.
5094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5095 (PF_MAX): Adjust for VSOCK change.
5096
8237f48c
AZ
50972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5098
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5100
9df02941
CD
51012013-05-02 Carlos O'Donell <carlos@redhat.com>
5102
5103 [BZ #15264]
5104 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5105 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5106 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5107
d422395e
DM
51082013-05-02 David S. Miller <davem@davemloft.net>
5109
5110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5111
a07c5731
OB
51122013-05-01 Ondřej Bílka <neleai@seznam.cz>
5113
5114 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5115
1324e37f
RM
51162013-05-01 Roland McGrath <roland@hack.frob.com>
5117
5118 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5119
0695940b
RS
51202013-05-01 Richard Smith <richard@metafoo.co.uk>
5121
bb5f27ad 5122 [BZ #14952]
0695940b
RS
5123 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5124 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5125 Use __attribute__ ((__gnu_inline__)).
5126 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5127 Don't use __attribute__ ((__gnu_inline__)).
5128
10de07f5
JM
51292013-05-01 Joseph Myers <joseph@codesourcery.com>
5130
5131 [BZ #15423]
5132 * math/s_catan.c (__catan): Handle small real or imaginary part of
5133 input specially to avoid spurious underflow.
5134 * math/s_catanf.c (__catanf): Likewise.
5135 * math/s_catanh.c (__catanh): Likewise.
5136 * math/s_catanhf.c (__catanhf): Likewise.
5137 * math/s_catanhl.c (__catanhl): Likewise.
5138 * math/s_catanl.c (__catanl): Likewise.
5139 * math/libm-test.inc (catan_test): Add more tests.
5140 (catanh_test): Likewise.
5141 * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5143
cb4d5414
AZ
51442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5145
5146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5147
caf84319
JM
51482013-04-30 Joseph Myers <joseph@codesourcery.com>
5149
5150 [BZ #15416]
5151 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5152 accurately for denominator in atan2.
5153 * math/s_catanf.c (__catanf): Likewise.
5154 * math/s_catanh.c (__catanh): Likewise.
5155 * math/s_catanhf.c (__catanhf): Likewise.
5156 * math/s_catanhl.c (__catanhl): Likewise.
5157 * math/s_catanl.c (__catanl): Likewise.
5158 * math/libm-test.inc (catan_test): Add more tests.
5159 (catanh_test): Likewise.
5160 * sysdeps/i386/fpu/libm-test-ulps: Update.
5161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162
d569c6ee
SP
51632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5164
6dbe713d
SP
5165 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5166
f0ee064b
SP
5167 * benchtests/Makefile (bench): Remove slow benchmarks.
5168 * benchtests/atan-inputs: Add slow benchmark inputs.
5169 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5170 (BENCH_FUNC): Accept variant offset.
5171 (VARIANT): Define.
5172 * benchtests/bench-skeleton.c (main): Run benchmark for each
5173 variant.
5174 * benchtests/cos-inputs: Add slow benchmark inputs.
5175 * benchtests/exp-inputs: Likewise.
5176 * benchtests/pow-inputs: Likewise.
5177 * benchtests/sin-inputs: Likewise.
5178 * benchtests/slowatan-inputs: Remove.
5179 * benchtests/slowatan.c: Remove.
5180 * benchtests/slowcos-inputs: Remove.
5181 * benchtests/slowcos.c: Remove.
5182 * benchtests/slowexp-inputs: Remove.
5183 * benchtests/slowexp.c: Remove.
5184 * benchtests/slowpow-inputs: Remove.
5185 * benchtests/slowpow.c: Remove.
5186 * benchtests/slowsin-inputs: Remove.
5187 * benchtests/slowsin.c: Remove.
5188 * benchtests/slowtan-inputs: Remove.
5189 * benchtests/slowtan.c: Remove.
5190 * benchtests/tan-inputs: Add slow benchmark inputs.
5191 * scripts/bench.pl: Parse comments and directives.
5192
d569c6ee
SP
5193 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5194 in CPPFLAGS.
5195 ($(objpfx)bench-%.c): Remove *-ITER.
5196 * benchtests/bench-modf.c: Remove definition of ITER.
5197 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5198 (main): Loop for DURATION seconds instead of fixed number of
5199 iterations.
5200 * scripts/bench.pl: Don't expect iterations in parameters.
5201
a6a242fe
RM
52022013-04-29 Roland McGrath <roland@hack.frob.com>
5203
5204 * io/fchdir.c (__fchdir): Renamed from fchdir.
5205 (fchdir): Define as weak alias.
5206
f2da7793
JM
52072013-04-29 Joseph Myers <joseph@codesourcery.com>
5208
5209 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5210 (ERRNO_EDOM): Likewise.
5211 (ERRNO_ERANGE): Likewise.
5212 (noErrnoTests): New variable.
5213 (init_max_error): Set errno to 0.
5214 (test_single_errno): New function.
5215 (test_errno): Likewise.
5216 (check_float_internal): Call test_errno. Set errno to 0.
5217 (check_complex): Refer to errno tests in comment.
5218 (check_int): Call test_errno. Set errno to 0.
5219 (check_long): Likewise.
5220 (check_bool): Likewise.
5221 (check_longlong): Likewise.
5222 (cos_test): Use ERRNO_* flags for errno tests instead of
5223 check_int.
5224 (expm1_test): Likewise.
5225 (fmod_test): Likewise.
5226 (ilogb_test): Likewise.
5227 (lgamma_test): Likewise.
5228 (pow_test): Likewise.
5229 (remainder_test): Likewise.
5230 (sin_test): Likewise.
5231 (tan_test): Likewise.
5232 (yn_test): Likewise.
5233 (initialize): Set errno to 0.
5234 (main): Print number of errno tests.
5235 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5236
b1a36ceb
AJ
52372013-04-29 Andreas Jaeger <aj@suse.de>
5238
c3ed8088
AJ
5239 [BZ #15084]
5240 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5241 and RES_USEVC.
5242
f1a24198
AJ
5243 [BZ #15085]
5244 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5245 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5246 unimplemented.
5247
9ce3b2cb
AJ
5248 [BZ #15380]
5249 * stdlib/random.c (__initstate): Return NULL if
5250 __initstate fails.
5251
f1a24198 5252 [BZ #15086]
b1a36ceb
AJ
5253 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5254 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5255 RES_SNGLKUPREOP.
5256
7e7b6f36
AZ
52572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5258
5259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5260
4d14f449
JM
52612013-04-29 Joseph Myers <joseph@codesourcery.com>
5262
5263 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5264 of individual tests.
5265 (casin_test): Likewise.
5266 (casinh_test): Likewise.
5267
5b4217d7
JM
52682013-04-27 Joseph Myers <joseph@codesourcery.com>
5269
5270 [BZ #15409]
5271 * math/s_catan.c (__catan): Handle arguments with large real or
5272 imaginary part separately without squaring.
5273 * math/s_catanf.c (__catanf): Likewise.
5274 * math/s_catanh.c (__catanh): Likewise.
5275 * math/s_catanhf.c (__catanhf): Likewise.
5276 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5277 and redefine.
5278 (__catanhl): Handle arguments with large real or imaginary part
5279 separately without squaring.
5280 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5281 and redefine.
5282 (__catanl): Handle arguments with large real or imaginary part
5283 separately without squaring.
5284 * math/libm-test.inc (catan_test): Add more tests.
5285 (catanh_test): Likewise.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288
4220c3ef
AJ
52892013-04-27 Andreas Jaeger <aj@suse.de>
5290
5291 [BZ #15007]
5292 * stdlib/stdlib.h: Update guards for qecvt.
5293 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5294 <stdlib.h>.
5295
4721b2d1
AM
52962013-04-27 Allan McRae <allan@archlinux.org>
5297
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299
f0302940
JM
53002013-04-26 Joseph Myers <joseph@codesourcery.com>
5301
9457fd95
JM
5302 [BZ #15406]
5303 * math/s_catan.c: Include <float.h>.
5304 (__catan): Ensure underflow exception occurs for underflowed
5305 result.
5306 * math/s_catanf.c: Include <float.h>.
5307 (__catanf): Ensure underflow exception occurs for underflowed
5308 result.
5309 * math/s_catanh.c: Include <float.h>.
5310 (__catanh): Ensure underflow exception occurs for underflowed
5311 result.
5312 * math/s_catanhf.c: Include <float.h>.
5313 (__catanhf): Ensure underflow exception occurs for underflowed
5314 result.
5315 * math/s_catanhl.c: Include <float.h>.
5316 (__catanhl): Ensure underflow exception occurs for underflowed
5317 result.
5318 * math/s_catanl.c: Include <float.h>.
5319 (__catanl): Ensure underflow exception occurs for underflowed
5320 result.
5321 * math/libm-test.inc (catan_test): Add more tests.
5322 (catanh_test): Likewise.
5323
f0302940
JM
5324 [BZ #15405]
5325 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5326 underflowed result.
5327 * math/s_ccoshf.c (__ccoshf): Likewise.
5328 * math/s_ccoshl.c (__ccoshl): Likewise.
5329 * math/s_csin.c (__csin): Likewise.
5330 * math/s_csinf.c (__csinf): Likewise.
5331 * math/s_csinh.c (__csinh): Likewise.
5332 * math/s_csinhf.c (__csinhf): Likewise.
5333 * math/s_csinhl.c (__csinhl): Likewise.
5334 * math/s_csinl.c (__csinl): Likewise.
5335 * math/libm-test.inc (ccos_test): Add more tests.
5336 (ccosh_test): Likewise.
5337 (csin_test): Likewise.
5338 (csinh_test): Likewise.
5339
aa630f59
AZ
53402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5341
5342 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5343 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5344 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5345 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5346 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5347 powerpc/power5+/fpu folders.
5348 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5349
5350
1b835983
MT
53512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5352
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5354
73709b26
JM
53552013-04-25 Joseph Myers <joseph@codesourcery.com>
5356
5357 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5358 additions to variable.
5359 [$(config-machine) = x86_64] (modules-names): Likewise.
5360 ($(objpfx)tst-audit3): Remove dependency.
5361 ($(objpfx)tst-audit3.out): Likewise.
5362 ($(objpfx)tst-audit4): Likewise.
5363 ($(objpfx)tst-audit4.out): Likewise.
5364 ($(objpfx)tst-audit5): Likewise.
5365 ($(objpfx)tst-audit5.out): Likewise.
5366 ($(objpfx)tst-audit6): Likewise.
5367 ($(objpfx)tst-audit6.out): Likewise.
5368 ($(objpfx)tst-audit7): Likewise.
5369 ($(objpfx)tst-audit7.out): Likewise.
5370 (tst-audit3-ENV): Remove variable.
5371 (tst-audit4-ENV): Likewise.
5372 (tst-audit5-ENV): Likewise.
5373 (tst-audit6-ENV): Likewise.
5374 (tst-audit7-ENV): Likewise.
5375 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5376 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5377 addition to variable.
5378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5383 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5384 tst-audit3, tst-audit4 and tst-audit5.
5385 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5386 tst-audit6 and tst-audit7.
5387 [$(subdir) = elf] (modules-names): Add audit modules for those
5388 tests.
5389 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5390 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5391 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5392 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5393 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5394 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5395 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5396 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5397 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5398 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5399 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5400 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5401 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5402 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5403 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5404 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5405 Likewise.
5406 [$(subdir) = elf && $(config-cflags-avx) = yes]
5407 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5408 [$(subdir) = elf && $(config-cflags-avx) = yes]
5409 (CFLAGS-tst-auditmod4a.c): Likewise.
5410 [$(subdir) = elf && $(config-cflags-avx) = yes]
5411 (CFLAGS-tst-auditmod4b.c): Likewise.
5412 [$(subdir) = elf && $(config-cflags-avx) = yes]
5413 (CFLAGS-tst-auditmod6b.c): Likewise.
5414 [$(subdir) = elf && $(config-cflags-avx) = yes]
5415 (CFLAGS-tst-auditmod6c.c): Likewise.
5416 [$(subdir) = elf && $(config-cflags-avx) = yes]
5417 (CFLAGS-tst-auditmod7b.c): Likewise.
5418 * elf/tst-audit3.c: Move to ...
5419 * sysdeps/x86_64/tst-audit3.c: ... here.
5420 * elf/tst-audit4.c: Move to ...
5421 * sysdeps/x86_64/tst-audit4.c: ... here.
5422 * elf/tst-audit5.c: Move to ...
5423 * sysdeps/x86_64/tst-audit5.c: ... here.
5424 * elf/tst-audit6.c: Move to ...
5425 * sysdeps/x86_64/tst-audit6.c: ... here.
5426 * elf/tst-audit7.c: Move to ...
5427 * sysdeps/x86_64/tst-audit7.c: ... here.
5428 * elf/tst-auditmod3a.c: Move to ...
5429 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5430 * elf/tst-auditmod3b.c: Move to ...
5431 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5432 * elf/tst-auditmod4a.c: Move to ...
5433 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5434 * elf/tst-auditmod4b.c: Move to ...
5435 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5436 * elf/tst-auditmod5a.c: Move to ...
5437 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5438 * elf/tst-auditmod5b.c: Move to ...
5439 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5440 * elf/tst-auditmod6a.c: Move to ...
5441 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5442 * elf/tst-auditmod6b.c: Move to ...
5443 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5444 * elf/tst-auditmod6c.c: Move to ...
5445 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5446 * elf/tst-auditmod7a.c: Move to ...
5447 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5448 * elf/tst-auditmod7b.c: Move to ...
5449 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5450
1ef74943
PP
54512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5452
5453 [BZ #15366]
5454 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5455 define unconditionally.
5456 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5457 define unconditionally.
5458 (INT8_C, INT16_C, etc.): Likewise.
5459
93fd48c5
MR
54602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5461
ae9552cf
MR
5462 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5463 __ehdr_start with hidden visibility.
5464
93fd48c5
MR
5465 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5466
418601aa
CD
54672013-04-24 Carlos O'Donell <carlos@redhat.com>
5468
5469 * math/libm-test.inc (cos_test): Use accurate hex constants.
5470 (sincost_test): Likewise.
5471
2f38fbfe
JM
54722013-04-24 Joseph Myers <joseph@codesourcery.com>
5473
5e221800
JM
5474 * math/libm-test.inc (catan_test): Add more tests.
5475 (catanh_test): Likewise.
5476
77f143fd
JM
5477 * math/s_catanf.c (__catanf): Use suffixed floating-point
5478 constants.
5479 * math/s_catanhf.c (__catanhf): Likewise.
5480 * math/s_catanhl.c (__catanhl): Likewise.
5481 * math/s_catanl.c (__catanl): Likewise.
5482
2f38fbfe
JM
5483 [BZ #15394]
5484 * math/s_catan.c (__catan): Calculate imaginary part of result
5485 with log1p not log unless computing log of number close to 0.
5486 * math/s_catanf.c (__catanf): Likewise.
5487 * math/s_catanl.c (__catanl): Likewise.
5488 * math/s_catanh.c (__catanh): Calculate real part of result with
5489 log1p not log unless computing log of number close to 0.
5490 * math/s_catanhf.c (__catanhf): Likewise.
5491 * math/s_catanhl.c (__catanhl): Likewise.
5492 * math/libm-test.inc (catan_test): Add more tests.
5493 (catanh_test): Likewise.
5494 * sysdeps/i386/fpu/libm-test-ulps: Update.
5495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496
45d69176
SP
54972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5498
5499 * benchtests/Makefile: Mention files in which fast and slow
5500 paths of math functions are implemented.
5501
87f51853
RM
55022013-04-23 Roland McGrath <roland@hack.frob.com>
5503
5504 * sysdeps/posix/timespec_get.c: New file.
5505
3c026539
AZ
55062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507
5508 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5509 POWER.
5510 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5511 for POWER.
5512 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5513 powerpc/power5/fpu folders.
5514 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5515 * benchtests/Makefile: Add modf testcase.
5516 * benchtests/bench-modf.c: New file: Benchmark test for mo
5517
ff491d14
SP
55182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5519
5520 [BZ #14888]
5521 * time/Makefile (tests): Add tst-strptime-whitespace.
5522 * time/strptime_l.c (get_number): Use ISSPACE.
5523 (__strptime_internal): Likewise.
5524 * time/tst-strptime-whitespace.c: New test case.
5525
7ed3f4e8
AS
55262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5527
5528 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5529 member.
5530 (_nss_files_init): Set it here.
5531
5c95f7b6
HC
55322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5533
5534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5535 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5536 unsigned.
5537
d34c9158
JBG
55382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5539
5540 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5541
2169712d
SP
55422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5543
5544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5545 size just once.
5546
29c5de99
DM
55472013-04-21 David S. Miller <davem@davemloft.net>
5548
5549 * po/ru.po: Update Russion translation from translation project.
5550
ccdad15d
AC
55512013-04-17 Adam Conrad <adconrad@0c3.net>
5552
5553 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5554 and setfsgid.
5555
0f122b8d
CD
55562013-04-17 Carlos O'Donell <carlos@redhat.com>
5557
5c5b07da 5558 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5559 * configure: Regenerate.
5c5b07da 5560 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5561 Add example to error message.
5562 * sysdeps/i386/configure: Regenerate.
5563
037714dd
SP
55642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5567 slowtan.
5568 * benchtests/cos-inputs: New file.
5569 * benchtests/slowcos-inputs: New file.
5570 * benchtests/slowcos.c: New file.
5571 * benchtests/slowtan-inputs: New file.
5572 * benchtests/slowtan.c: New file.
5573 * benchtests/tan-inputs: New file.
5574
e913141d
RM
55752013-04-16 Roland McGrath <roland@hack.frob.com>
5576
5577 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5578 considered kosher.
5579
a2964074
SP
55802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5581
4856bcd2
SP
5582 * benchtests/Makefile: Include cppflags-iterator.mk to add
5583 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5584
a2964074
SP
5585 * Makefile.in (bench-clean): New target.
5586 * benchtests/Makefile (bench-clean): Likewise.
5587
9fbf9aca
DH
55882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5589
5590 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5591
207d1e2a
TS
55922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5593
5594 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5595
306dfba9
AS
55962013-04-15 Andreas Schwab <schwab@suse.de>
5597
5598 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5600 * nscd/pwdcache.c (cache_addpw): Likewise.
5601 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5602 more than recsize.
5603
206a6699
SP
56042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
5606 * benchtests/Makefile (bench): Write all output to
5607 bench-out.tmp together.
5608
0582f6b3
AS
56092013-04-15 Andreas Schwab <schwab@suse.de>
5610
5611 * nscd/nscd.c (main): Don't fork again after closing files.
5612
acb4325f
SP
56132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5614
5cb26d0a
SP
5615 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5616
acb4325f
SP
5617 * benchtests/Rules (bench-deps): Collect dependencies into a
5618 single variable. Add Makefile to dependencies.
5619 ($(objpfx)bench-%.c): Depend on bench-deps.
5620
47792506
RM
56212013-04-12 Roland McGrath <roland@hack.frob.com>
5622 Xavier Roche <roche+kml2@exalead.com>
5623
5624 [BZ #15361]
5625 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5626 just that it's a file descriptor.
5627 * manual/llio.texi (Synchronizing AIO Operations): Update description
5628 for EBADF error from aio_fsync.
5629
8fc1bee5
SP
56302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5631
5632 * Rules (bench): Move target definition...
5633 * benchtests/Makefile: ... here.
5634
aba5e333
CD
56352013-04-11 Carlos O'Donell <carlos@redhat.com>
5636
5637 * math/libm-test.inc (cos_test): Fix PI/2 test.
5638 (sincos_test): Likewise.
5639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5640 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5641
273cdee8
AS
56422013-04-11 Andreas Schwab <schwab@suse.de>
5643
6ecec3b6
AS
5644 [BZ #13988]
5645 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5646 accept exponent character only when digits were seen.
5647 * stdio-common/Makefile (tests): Add bug26.
5648 * stdio-common/bug26.c: New file.
5649
273cdee8
AS
5650 [BZ #14293]
5651 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5652 non-freeable.
5653
8da491f5
SP
56542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5655
01dc6df9
SP
5656 * Makeconfig (rtld-prefix): Define built linker prefix.
5657 * Rules (run-bench): Use it.
5658 * math/Makefile (run-regen-ulps): Likewise.
5659
8da491f5
SP
5660 * Rules (bench): Remove eval.
5661
abe7f530
SP
56622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5663 Roland McGrath <roland@hack.frob.com>
5664 Ondrej Bilka <neleai@seznam.cz>
5665
5666 [BZ #15346]
5667 * time/getdate.c: Include ctype.h and alloca.h.
5668 (__getdate_r): Trim leading and trailing spaces of input.
5669 * time/tst-getdate.c (tests): Add tests with leading and
5670 trailing spaces.
5671
61c23e62
RM
56722013-04-08 Roland McGrath <roland@hack.frob.com>
5673
5674 [BZ #14280]
5675 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5676 when computing value.
5677
7208a313
CD
56782013-04-06 Carlos O'Donell <carlos@redhat.com>
5679
085b2d41
CD
5680 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5681 Use testrun.sh to run libm tests.
5682
7208a313
CD
5683 [BZ #15309]
5684 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5685
872c0acd
MM
56862013-04-06 Marko Myllynen <myllynen@redhat.com>
5687
5688 [BZ #15264]
5689 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5690
26510bdd
CD
56912013-04-06 Carlos O'Donell <carlos@redhat.com>
5692
5693 * Makefile.in (regen-ulps): New target.
5694 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5695 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5696 [ifneq (no,$(PERL)] (regen-ulps): New target.
5697 [ifeq (no,$(PERL)] (regen-ulps): New target.
5698 * math/libm-test.inc (ulps_file_name): Define.
5699 (output_dir): New variable.
5700 (options): Add "output-dir" option.
5701 (parse_opt): Handle 'o' case.
5702 (main): If output_dir is non-NULL use it as a prefix
5703 otherwise use "".
5704 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5705
a01f19c8
CD
57062013-04-06 Carlos O'Donell <carlos@redhat.com>
5707
5708 [BZ #10060, #10062]
5709 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5710 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5711 fail configure if __sync_val_compare_and_swap is not inlined.
5712 * sysdeps/i386/configure: Regenerate.
5713 * configure.in: Build for i686 when configured for i386.
5714 * configure: Regenerate.
5715 * README: Remove i386 reference.
5716
b7a329a5
CD
57172013-04-06 Carlos O'Donell <carlos@redhat.com>
5718
5719 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5721
bf0f50df
TS
57222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5723
ee091edf
TS
5724 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5725 (lmsnanval): New variables.
5726 (F): Add conversion tests.
5727 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5728 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5729
a8b792d6
TS
5730 * stdio-common/tstdiomisc.c (F): Properly collect individual
5731 tests' results.
5732
a1cbf437
TS
5733 [BZ #14686, #15336]
5734 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5735 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5736 Instead, use input NaN values or generate a qNaN by arithmetic
5737 operation. Also fix bugs to comply with the standard.
5738 * math/libm-test.inc (remainder_test): Add more tests.
5739
8b43a0c9
TS
5740 [BZ #15335, #15342]
5741 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5743 input NaN values or generate a qNaN by arithmetic operation.
5744
d91da4ce
TS
5745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5746 unreachable code.
5747
bf0f50df
TS
5748 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5749 definitions.
5750
05e166c8
JM
57512013-04-03 Joseph Myers <joseph@codesourcery.com>
5752
5753 [BZ #14478]
5754 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5755 underflowed result.
5756 * math/s_cexpf.c (__cexpf): Likewise.
5757 * math/s_cexpl.c (__cexpl): Likewise.
5758 * math/libm-test.inc (cexp_test): Add more tests.
5759
1cef1b19
AS
57602013-04-03 Andreas Schwab <schwab@suse.de>
5761
5762 [BZ #15330]
5763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5764 order arrays from heap if bigger than alloca cutoff.
5765
74d87055
TS
57662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5767
5768 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5769 (SNAN_TESTS_double): Refer to GCC PR56831.
5770 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5771 GCC PR56828.
5772
d755bba4
SP
57732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5774
90d5d5bb
SP
5775 * Rules (bench): Move bench.out after the run is complete.
5776
73e0cd5d
SP
5777 * Rules (bench): Echo currently running benchmark.
5778
64aabd4b
SP
5779 * benchtests/Makefile (bench): Add atan and slowatan.
5780 * benchtests/atan-inputs: New file.
5781 * benchtests/slowatan-inputs: New file.
5782 * benchtests/slowatan.c: New file.
5783
c871eccd
SP
5784 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5786 its value.
5787
d755bba4
SP
5788 [BZ #15305]
5789 * sysdeps/unix/sysv/linux/kernel-features.h
5790 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5791 __ASSUME_XFS_RESTRICTED_CHOWN.
5792 * sysdeps/unix/sysv/linux/pathconf.c
5793 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5794 Save and restore errno.
5795
52ce4860
JM
57962013-04-02 Joseph Myers <joseph@codesourcery.com>
5797
5798 [BZ #15327]
5799 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5800 arguments using __kernel_casinh.
5801 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5802 arguments using __kernel_casinhf.
5803 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5804 arguments using __kernel_casinhl.
5805 * math/libm-test.inc (cacosh_test): Add more tests.
5806 * sysdeps/i386/fpu/libm-test-ulps: Update.
5807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5808
81f311c2
SP
58092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5810
e7906a47
SP
5811 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5813
92e3664b
SP
5814 * bench/Makefile (bench): Add sin and slowsin.
5815 * benchtests/sin-inputs: New file.
5816 * benchtests/slowsin-inputs: New file.
5817 * benchtests/slowsin.c: New file.
5818
81f311c2
SP
5819 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5820 (bench): Add slowexp and slowpow.
5821 (exp-ITER): Increase iterations.
5822 (pow-ITER): Likewise.
5823 * benchtests/exp-inputs: Change input.
5824 * benchtests/pow-inputs: Likewise.
5825 * benchtests/slowexp-inputs: New file.
5826 * benchtests/slowexp.c: New file.
5827 * benchtests/slowpow-inputs: New file.
5828 * benchtests/slowpow.c: New file.
5829
ab0f1aa9
AZ
58302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5833 instructions.
5834 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5835 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5836 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5837 * benchtests/Makefile: Add rint benchtest.
5838 * benchtests/rint-inputs: Input for rint benchtest.
5839
57267616
TS
58402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5841
5842 * Versions.def (libm): Add GLIBC_2.18.
5843 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5844 hidden libm prototypes.
5845 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5846 * math/Makefile (libm-calls): Add s_issignaling.
5847 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5848 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5849 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5850 declaration.
5851 * math/math.h [__USE_GNU] (issignaling): New macro.
5852 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5853 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5855 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5858 * manual/arith.texi (issignaling): New section.
5859 * manual/libm-err-tab.pl (@all_functions): Update comment.
5860 * math/gen-libm-test.pl (parse_args): Apply special handling for
5861 issignaling.
5862 * math/libm-test.inc (print_float, issignaling_test): New
5863 functions.
5864 (check_float_internal): Add issignaling checks.
5865 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5866 default definition.
5867 * sysdeps/powerpc/math-tests.h: New file.
5868 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5869 tests.
5870 * math/test-snan.c (TEST_FUNC): Likewise.
5871
6142896d
DM
58722013-03-30 David S. Miller <davem@davemloft.net>
5873
5874 * po/de.po: Update from translation team.
5875
ccc8cadf
JM
58762013-03-30 Joseph Myers <joseph@codesourcery.com>
5877
5878 [BZ #10357]
5879 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5880 imaginary part less than 1.0 and real part less than 0.5
5881 specially.
5882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5884 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5885 (cacos_test): Add more tests.
5886 (casin_test): Likewise.
5887 (casinh_test): Likewise.
5888 * sysdeps/i386/fpu/libm-test-ulps: Update.
5889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5890
0f6a8d4b
SP
58912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5892
0d1029de
SP
5893 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5894 ONE with its value.
5895
c2d94018
SP
5896 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5897 (__pow_mp): Replace ONE and MONE with their values.
5898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5900 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5902 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5904
27ec37f1
SP
5905 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5906
a64d7e0e
SP
5907 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5908 (__pow_mp): Replace ZERO and MZERO with their values.
5909 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5913 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5914 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5915 (__sqr): Likewise.
5916
d26dd3eb
SP
5917 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5918
0f6a8d4b
SP
5919 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5920
e57b0c61
RM
59212013-03-28 Roland McGrath <roland@hack.frob.com>
5922
5923 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5924 Declare with __attribute__ ((weak)).
5925 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5926 Call __call_tls_dtors only if it's not NULL.
5927
356b3480
RM
59282013-03-28 Roland McGrath <roland@hack.frob.com>
5929
288f7d79
RM
5930 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5931 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5932 magic __ehdr_start linker symbol if it's defined.
5933 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5934 them up here if it was already done.
5935
dc0a0263
RM
5936 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5937 (_dl_aux_init): Use const in cast when setting it.
5938 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5939 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5940 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5941
3d3436ae
RM
5942 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5943 Declare them here.
5944 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5945 * csu/libc-tls.c: Nor here.
5946 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5947
356b3480
RM
5948 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5949 (__libc_message): Never call vsyslog.
5950
b0f1246a
AM
59512013-03-28 Alan Modra <amodra@gmail.com>
5952
5953 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5954 Define as empty.
5955 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5956 Likewise.
5957
fbbe2b9a
AZ
59582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 [BZ #15214]
5961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5962 underflow.
5963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5964
1728ab37
SP
59652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5966
7a86be6e
SP
5967 [BZ #15304]
5968 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5969 Don't add gid passed as argument.
5970
1728ab37
SP
5971 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5972
3a7182a1
JM
59732013-03-27 Joseph Myers <joseph@codesourcery.com>
5974
5975 [BZ #15307]
5976 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5977 imaginary part between 1.0 and 1.5 and real part less than 0.5
5978 specially.
5979 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5980 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5981 * math/libm-test.inc (cacos_test): Add more tests.
5982 (casin_test): Likewise.
5983 (casinh_test): Likewise.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986
6f2e90e7
SP
59872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5988
5739f705
SP
5989 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5990 constants.
5991 (norm): Likewise.
5992 (denorm): Likewise.
5993 (__dbl_mp): Likewise.
5994 (add_magnitudes): Likewise.
5995 (sub_magnitudes): Likewise.
5996 (__add): Likewise.
5997 (__sub): Likewise.
5998 (__mul): Likewise.
5999 (__sqr): Likewise.
6000 (__inv): Likewise.
6001 (__dvd): Likewise.
6002
e375e83d
SP
6003 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6004 commented code.
6005 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6006 (__dubcos): Likewise.
6007 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6008 (__ieee754_acos): Likewise.
6009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6010 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6011 (__exp1): Likewise.
6012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6014 (log1): Likewise.
6015 (my_log2): Likewise.
6016 (checkint): Likewise.
6017 * sysdeps/ieee754/dbl-64/e_remainder.c
6018 (__ieee754_remainder): Likewise.
6019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6021 (bsloww): Likewise.
6022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6023
6f2e90e7
SP
6024 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6026 MANTISSA_STORE_T to store computations on mantissa. Use
6027 macros for rounding and division.
6028 (denorm): Likewise.
6029 (__dbl_mp): Likewise.
6030 (add_magnitudes): Likewise.
6031 (sub_magnitudes): Likewise.
6032 (__mul): Likewise.
6033 (__sqr): Likewise.
6034 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6035 powers of two in terms of TWOPOW macro.
6036 (mp_no): Make type of mantissa as MANTISSA_T.
6037 [!RADIXI]: Define RADIXI.
6038 [!TWO52]: Define TWO52.
6039 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6040
fce14d4e
AZ
60412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6044 llroundl symbol when building for PPC32.
6045
9ad027fb
MW
60462013-03-24 Mark H Weaver <mhw@netris.org>
6047
6048 * manual/arith.texi (Normalization Functions): Fix prototypes for
6049 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6050
e42a38dd
AZ
60512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6052
6053 [BZ #13889]
6054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6055 high value to check if expl overflow.
6056 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6057 to check for underflow and overflow.
6058 * math/libm-test.inc: Add exp test.
6059
2e0fb521
DL
60602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6061
6062 [BZ #11120]
6063 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6064 with NOT_IN_libc.
6065
b5784d95
AZ
60662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067
6068 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6069 symbol.
6070
5aa4a1a1
TS
60712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6072
bdef0be7
TS
6073 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6074 wrap blocks consisting of several statements.
6075
5aa4a1a1
TS
6076 * sysdeps/generic/math-tests.h: New file.
6077 * sysdeps/i386/fpu/math-tests.h: Likewise.
6078 * math/test-snan.c: Include it.
6079 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6080
98c48fe5
JM
60812013-03-21 Joseph Myers <joseph@codesourcery.com>
6082
6083 [BZ #15285]
6084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6085 (__ieee754_j0l): Do not improve calculations using cos of twice
6086 input for inputs above LDBL_MAX / 2.0L.
6087 (__ieee754_y0l): Likewise.
6088 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6089 (__ieee754_j1l): Do not improve calculations using cos of twice
6090 input for inputs above LDBL_MAX / 2.0L.
6091 (__ieee754_y1l): Likewise.
6092 * math/libm-test.inc (j0_test): Add another test.
6093 (j1_test): Likewise.
6094 (y0_test): Likewise.
6095 (y1_test): Likewise.
6096 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097
3775a8bc
SP
60982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6099
6100 * Rules ($(objpfx)bench-%.c): Include code from a C source
6101 file.
6102
0a1b2ae6
JM
61032013-03-21 Joseph Myers <joseph@codesourcery.com>
6104
6105 [BZ #15287]
6106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6107 imaginary part 1.0 and real part less than 0.5 specially.
6108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6110 * math/libm-test.inc (cacos_test): Add more tests.
6111 (casin_test): Likewise.
6112 (casinh_test): Likewise.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115
b33d4ce4
SP
61162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6117
6118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6119 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6120
bef0b507
JM
61212013-03-20 Joseph Myers <joseph@codesourcery.com>
6122
6123 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6124 * config.make.in (config-cflags-sse4): Remove variable.
6125 (config-cflags-avx): Likewise.
6126 (config-cflags-sse2avx): Likewise.
6127 (config-cflags-novzeroupper): Likewise.
6128 (config-asflags-i686): Likewise.
6129 (have-mfma4): Likewise.
6130 (have-as-vis3): Likewise.
6131 (MIG): Likewise.
6132 * configure.in (MIG): Do not AC_SUBST.
6133 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6134 (libc_cv_cc_sse4): Do not AC_SUBST.
6135 (libc_cv_cc_avx): Likewise.
6136 (libc_cv_cc_sse2avx): Likewise.
6137 (libc_cv_cc_novzeroupper): Likewise.
6138 (libc_cv_cc_fma4): Likewise.
6139 (libc_cv_as_i686): Likewise.
6140 (libc_cv_sparc_as_vis3): Likewise.
6141 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6142 LIBC_CONFIG_VAR.
6143 (config-asflags-i686): Likewise.
6144 (config-cflags-avx): Likewise.
6145 (config-cflags-sse2avx): Likewise.
6146 (have-mfma4): Likewise.
6147 (config-cflags-novzeroupper): Likewise.
6148 * sysdeps/mach/configure.in (MIG): Likewise.
6149 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6150 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6151 LIBC_CONFIG_VAR.
6152 (config-cflags-avx): Likewise.
6153 (config-cflags-sse2avx): Likewise.
6154 (have-mfma4): Likewise.
6155 (config-cflags-novzeroupper): Likewise.
6156 * configure: Regenerated.
6157 * sysdeps/i386/configure: Likewise.
6158 * sysdeps/mach/configure: Likewise.
6159 * sysdeps/sparc/configure: Likewise.
6160 * sysdeps/x86_64/configure: Likewise.
6161
912cc4b3
RM
61622013-03-20 Roland McGrath <roland@hack.frob.com>
6163
6164 [BZ #14812]
6165 * locale/programs/localedef.c (options): Put N_ translation marker
6166 on argument names, not just descriptions.
6167
04eed2b0
MS
61682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6169
6170 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6171
a065ceff
OB
61722013-03-20 Ondřej Bílka <neleai@seznam.cz>
6173
9bb2a810 6174 [BZ #14176]
a065ceff
OB
6175 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6176
a600e5ce
RM
61772013-03-19 Roland McGrath <roland@hack.frob.com>
6178
6179 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6180 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6181 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6182 [!BEFORE_ABORT] (before_abort): New function.
6183 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6184 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6185 (writev_for_fatal): New function.
6186 (WRITEV_FOR_FATAL): New macro; call that.
6187 (backtrace_and_maps): New function.
6188 (BEFORE_ABORT): New macro; call that.
6189 (struct str_list): Type removed.
6190 (__libc_message, __libc_fatal): Functions removed.
6191 Include <sysdeps/posix/libc_fatal.c> instead.
6192
6b18bea6
JM
61932013-03-19 Joseph Myers <joseph@codesourcery.com>
6194
6195 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6196 constants.
6197 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6198 double constants.
6199
aaa8cb4b
AS
62002013-03-19 Andreas Schwab <schwab@suse.de>
6201
44673770
AS
6202 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6203 * sysdeps/gnu/configure: Regenerate.
6204
aaa8cb4b
AS
6205 * configure.in: Substitute libc_cv_rtlddir.
6206 * configure: Regenerate.
6207 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6208 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6209 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6210 * elf/Makefile (install-others, CFLAGS-interp.c)
6211 (ldso_install, common-ldd-rewrite): Likewise.
6212 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6213 $(inst_slibdir)/$(rtld-installed-name).
6214 * scripts/rellns-sh: Add -p option.
6215 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6216 for source.
6217
d3cfc668
SP
62182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6219
6220 * manual/nptl.texi: Renamed to ...
6221 * manual/threads.texi: ... this.
6222 * manual/Makefile (chapters): Update.
6223
0e2b9cdd
RM
62242013-03-18 Roland McGrath <roland@hack.frob.com>
6225
6226 [BZ #14812]
6227 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6228 on argument names, not just descriptions.
0e2b9cdd
RM
6229 * malloc/memusagestat.c (options): Likewise.
6230 * nss/getent.c (options): Likewise.
63270c24
RM
6231
62322013-03-18 Benno Schulenberg <bensberg@justemail.net>
6233
6234 [BZ #14812]
6235 * iconv/iconv_prog.c (options): Put N_ translation marker
6236 on argument names, not just descriptions.
6237 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6238
b2e1393c
OB
62392013-03-18 Ondrej Bilka <neleai@seznam.cz>
6240
6241 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6242 implementation which is faster on all x86_64 architectures.
6243 Tested on AMD, Intel Nehalem, SNB, IVB.
6244 * sysdeps/x86_64/strnlen.S: Likewise.
6245
6246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6247 Remove all multiarch strlen and strnlen versions.
6248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6249 Remove strlen and strnlen related parts.
6250
6251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6252 Inline strlen part.
6253 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6254
6255 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6256 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6257 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6258 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6259 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6260 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6261
ec4ff04d
CD
62622013-03-17 Carlos O'Donell <carlos@redhat.com>
6263
6264 * manual/memory.texi (Malloc Tunable Parameters):
6265 Sort parameters alphabetically. Add comments for missing entries.
6266
cd18e90a
DM
62672013-03-17 David S. Miller <davem@davemloft.net>
6268
6269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6270
2a185d32
JM
62712013-03-16 Joseph Myers <joseph@codesourcery.com>
6272
d2f9799e
JM
6273 [BZ #15283]
6274 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6275 for arguments at most half maximum finite value.
6276 * math/libm-test.inc (j0_test): Add more tests.
6277 (j1_test): Likewise.
6278 (y0_test): Likewise.
6279 (y1_test): Likewise.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6282
2a185d32
JM
6283 [BZ #14155]
6284 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6285 1 / x and functions P and Q for arguments above 0x1p256L.
6286 (__ieee754_y0l): Likewise.
6287 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6288 (__ieee754_y1l): Likewise.
6289 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6290 (j1_test): Likewise.
6291 (y0_test): Likewise.
6292 (y1_test): Likewise.
6293
6cbec759
TS
62942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6295
6296 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6297 variable.
6298
bc16e260
RM
62992013-03-15 Roland McGrath <roland@hack.frob.com>
6300
aefc9b8c
RM
6301 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6302 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6303 zero since it's initialized to EXEC_PAGESIZE.
6304
bc16e260
RM
6305 * sysdeps/unix/sysv/linux/ldsodefs.h
6306 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6307 * sysdeps/generic/ldsodefs.h: ... here.
6308
a57da955
TS
63092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6310
af00a34d
TS
6311 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6312
495ded2c
TS
6313 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6314 math/test-snan.c.
6315 * math/test-snan.c: Renamed from
6316 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6317 * math/Makefile (tests): Add test-snan.
6318 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6319 test-powerpc-snan.
6320
777b0332
TS
6321 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6322 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6323 functions.
6324 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6325 __builtin_nan family of functions.
6326 * math/libm-test.inc (initialize): Initialize qnan_value with
6327 __builtin_nan family of functions.
6328 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6329 Remove variables.
6330 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6331 Remove functions.
6332 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6333 storage class. Initialize qNaN_var and sNaN_var with
6334 __builtin_nan and __builtin_nans families of functions,
6335 respectively.
6336
64d063b8
TS
6337 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6338 (sqrt_test): Remove duplicate test with qNaN input.
6339 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6340 (round_test, signbit_test, significand_test): Note missing +/-Inf
6341 as well as qNaN tests.
6342
67e971f1
TS
6343 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6344 qNaN_var. Fix a few strings, too.
6345 * math/libm-test.inc (nan_value): Rename to qnan_value.
6346 * math/gen-libm-test.pl (%beautify): Adjust to that.
6347 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6348 * math/test-misc.c (main): Likewise.
6349 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6350 to __qnan_bytes, and __qnan_union, respectively.
6351 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6352 Likewise.
6353 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6354 and lqnanval, respectively.
6355 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6356 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6358 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6359
64487e12
TS
6360 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6361 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6362 doubles.
6363
e015e27b
TS
6364 * math/test-misc.c (main): Fix copy'n'pastos.
6365 * misc/tst-efgcvt.c (special): Likewise.
6366
a57da955
TS
6367 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6368 Remove declarations.
6369
1e380345
SP
63702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6371
6372 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6373 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6374 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6376
ef26eece
AZ
63772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6380 macro to return vdso values correctly in IFUNC implementations.
6381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6382 Optimization by using IFUNC.
6383
8cfdb7e0
SP
63842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6385 Richard Henderson <rth@redhat.com>
6386 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6387
6388 * Makefile.in (bench): New target.
6389 * NEWS: Mention the benchmark framework.
6390 * Rules (bench): Likewise.
6391 (binaries-bench): Generate binaries for functions to
6392 benchmark.
6393 * benchtests/Makefile: New makefile for benchmark tests.
6394 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6395 programs.
6396 * benchtests/exp-inputs: New input file for EXP function.
6397 * benchtests/pow-inputs: New input file for POW function.
6398 * scripts/bench.pl: New script to generate source files for
6399 benchmark programs.
6400
bcda9880
SP
64012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6402
d22ca8cd
SP
6403 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6405 computations on mantissa. Use macros for rounding and
6406 division.
6407 (denorm): Likewise.
6408 (__dbl_mp): Likewise.
6409 (add_magnitudes): Likewise.
6410 (sub_magnitudes): Likewise.
6411 (__mul): Likewise.
6412 (__sqr): Likewise.
6413 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6414 powers of two in terms of TWOPOW macro.
6415 (mp_no): Make type of mantissa as MANTISSA_T.
6416 [!RADIXI]: Define RADIXI.
6417 [!TWO52]: Define TWO52.
6418 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6419
bcda9880
SP
6420 * manual/nptl.texi (cindex): Modify threads to pthreads.
6421
06d5adfb
JM
64222013-03-15 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/x86_64/preconfigure: Regenerated.
6425
41c7328e
JM
64262013-03-14 Joseph Myers <joseph@codesourcery.com>
6427
6428 [BZ #14155]
6429 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6430 0x1p28 and above.
6431 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6432 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6433 0x1p28 and above.
6434 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6435 * math/libm-test.inc (j0_test): Do not allow one spurious
6436 underflow exception.
6437 (y1_test): Likewise.
6438
e25cfa60
SP
64392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6440
0409959c
SP
6441 * manual/Makefile (chapters): Add nptl.
6442 * manual/debug.texi (Debugging Support): Add link to Threads
6443 chapter.
6444 * manual/nptl.texi: New file.
6445
e25cfa60
SP
6446 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6447
58a1335e
PB
64482013-03-14 Petr Baudis <pasky@ucw.cz>
6449
6450 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6451 for non-NULL pointer before the memory validity test. Pointed
6452 out by Holger Brunck <holger.brunck@keymile.com>.
6453
9dc7c64f
AS
64542013-03-13 Andreas Schwab <schwab@suse.de>
6455
6456 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6457 instead of .os.
6458
54206aa6
JM
64592013-03-13 Joseph Myers <joseph@codesourcery.com>
6460
6461 * timezone/zic.c: Update from tzcode 2013b.
6462
e98cdb38
CD
64632013-03-12 Carlos O'Donell <carlos@redhat.com>
6464
6465 * manual/install.texi (Configuring and compiling):
6466 Mention i686 and i586.
6467 * INSTALL: Regenerate.
6468
9967e003
RM
64692013-03-12 Roland McGrath <roland@hack.frob.com>
6470
6471 * sysdeps/init_array/elf-init.c: New file.
6472 * csu/elf-init.c
6473 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6474 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6475
6476 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6477 __gmon_start__ as global, but as static with a .preinit_array pointer.
6478 * sysdeps/init_array/gmon-start.c: New file. Use that.
6479 * sysdeps/init_array/crti.S: New file, empty except for comments.
6480 * sysdeps/init_array/crtn.S: Likewise.
6481
e6b5a293 64822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6483
6484 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6485 definining bcopy.
80f844c9
OB
6486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6487 Remove Prefer_SSE_for_memop.
6488 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6489 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6490 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6492 memset-x86-64.
80f844c9 6493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6494 Remove bzero, memset ifunc support.
80f844c9
OB
6495 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6496 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6497 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6498 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6499
fb6b0fcb
AS
65002013-03-11 Andreas Schwab <schwab@suse.de>
6501
6502 [BZ #15234]
6503 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6504 by SHLIB_COMPAT.
6505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6506 (GLIBC_2.16): Remove pthread_atfork.
6507
3e6bd4b1
PP
65082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6509
6510 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6511 (ptestcases.h): Likewise.
6512
222d7f00
RM
65132013-03-08 Roland McGrath <roland@hack.frob.com>
6514
6515 * Makeconfig ($(common-objpfx)config.status): Depend on
6516 sysdeps/*/preconfigure{,.in} too.
6517
1ba4f030
JM
65182013-03-08 Joseph Myers <joseph@codesourcery.com>
6519
a222d91a
JM
6520 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6521 (__free_hook): Use void * instead of __malloc_ptr_t.
6522 (__malloc_hook): Likewise.
6523 (__realloc_hook): Likewise.
6524 (__memalign_hook): Likewise.
6525 (__after_morecore_hook): Likewise.
6526 * malloc/arena.c (save_malloc_hook): Likewise.
6527 (save_free_hook): Likewise.
6528 * malloc/hooks.c (malloc_hook_ini): Likewise.
6529 (realloc_hook_ini): Likewise.
6530 (memalign_hook_ini): Likewise.
6531 * malloc/malloc.c (malloc_hook_ini): Likewise.
6532 (realloc_hook_ini): Likewise.
6533 (memalign_hook_ini): Likewise.
6534 (__free_hook): Likewise.
6535 (__malloc_hook): Likewise.
6536 (__realloc_hook): Likewise.
6537 (__memalign_hook): Likewise.
6538 (__libc_malloc): Likewise.
6539 (__libc_free): Likewise.
6540 (__libc_realloc): Likewise.
6541 (__libc_memalign): Likewise.
6542 (__libc_valloc): Likewise.
6543 (__libc_pvalloc): Likewise.
6544 (__libc_calloc): Likewise.
6545 (__posix_memalign): Likewise.
6546 * malloc/morecore.c (__sbrk): Likewise.
6547 (__default_morecore): Likewise.
6548
5cc45e10
JM
6549 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6550
dd54b864
JM
6551 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6552 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6553 __malloc_ptrdiff_t.
6554
1ba4f030
JM
6555 * malloc/malloc.h (__malloc_size_t): Remove macro.
6556 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6557 __malloc_size_t.
6558 (old_memalign_hook): Likewise.
6559 (old_realloc_hook): Likewise.
6560 (struct hdr): Likewise.
6561 (flood): Likewise.
6562 (mallochook): Likewise.
6563 (memalignhook): Likewise.
6564 (reallochook): Likewise.
6565 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6566 (tr_old_realloc_hook): Likewise.
6567 (tr_old_memalign_hook): Likewise.
6568 (tr_mallochook): Likewise.
6569 (tr_reallochook): Likewise.
6570 (tr_memalignhook): Likewise.
6571
edf66e57
AZ
65722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6573
6574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6575 default_ldbl_pack and using as default implementation.
6576 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6577 implementation.
6578 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6579 redundant definition.
6580 (ldbl_insert_mantissa): Likewise.
6581 (ldbl_canonicalize): Likewise.
6582 (ldbl_nearbyint): Likewise.
6583 (ldbl_pack): Rename to ldbl_pack_ppc.
6584 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6585 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6586 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6587
6d9145d8
SP
65882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6589
6590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6591 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6593 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6596 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6597 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6598
4dd4e157
AJ
65992013-03-07 Andreas Jaeger <aj@suse.de>
6600
6601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6602 bits/mman-linux.h.
6603
adbb8027
SP
66042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
ce544b5b
SP
6606 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6607 Include mpa.h and declare __MPEXP.
6608 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6609 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6610 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6611 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6613 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6615
4cc149fd
SP
6616 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6617 (__slowpow): Use long double EXPL and LOGL functions to
6618 compute POW.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6620 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6623 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6624 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6625
e6ebd4a7
SP
6626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6627 intermediate variable to calculate exponent.
6628 (__sqr): Likewise.
6629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6630 Likewise.
6631 (__sqr): Likewise.
6632
82a9811d
SP
6633 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6634 [!NO__SQR]: Define __sqr.
6635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6636 and NO__SQR. Remove all code except __mul and __sqr. Include
6637 sysdeps/ieee754/dbl-64/mpa.c.
6638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6639
adbb8027
SP
6640 [BZ #12723]
6641 * posix/Makefile (tests): Add tst-pathconf.
6642 * posix/tst-pathconf.c: New test case.
6643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6644 _PC_PIPE_BUF.
6645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6646
39120df9
PF
66472013-03-06 Patsy Franklin <pfrankli@redhat.com>
6648
6649 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6650
67525cb8
AJ
66512013-03-06 Andreas Jaeger <aj@suse.de>
6652
664a9ce4
AJ
6653 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6654 definition via __MAP_ANONYMOUS.
6655
8e39047d
AJ
6656 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6657 it's not part of Linux headers.
6658
67525cb8
AJ
6659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6660 (MAP_HUGE_MASK): Define.
6661
6662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6663 Define.
6664 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6666 Define.
6667 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6668 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6669 Define.
6670 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6672 Define.
6673 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6674
6675 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6676 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6677 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6678 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6679 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6681
6682 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6683 Handle f2fs.
6684
6685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6686 Handle f2fs and efivarfs.
6687
6688 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6689 f2fs.
6690
6691 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6692 (EFIVARFS_MAGIC): Add.
6693 (F2FS_LINK_MAX): Add.
6694
e1b42695
PP
66952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6696
6697 * stdio-common/vfprintf.c: Replace __builtin_expect with
6698 __glibc_unlikely.
6699
2d67d91a
JM
67002013-03-06 Joseph Myers <joseph@codesourcery.com>
6701
6702 [BZ #13550]
6703 * sysdeps/generic/bp-sym.h: Remove file.
6704 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6706 <bp-sym.h> and <bp-asm.h>.
6707 (__longjmp): Don't use BP_SYM.
6708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6709 and <bp-asm.h>.
6710 (memcpy): Don't use BP_SYM.
6711 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6712 <bp-sym.h> and <bp-asm.h>.
6713 (memcpy): Don't use BP_SYM.
6714 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6715 <bp-asm.h>.
6716 (memcpy): Don't use BP_SYM.
6717 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6718 <bp-asm.h>.
6719 (memset): Don't use BP_SYM.
6720 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6721 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6722 (__bzero): Don't use BP_SYM.
6723 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6724 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6725 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6726 <bp-sym.h> and <bp-asm.h>.
6727 (memcmp): Don't use BP_SYM. Remove comment about bounded
6728 pointers.
6729 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6730 <bp-sym.h> and <bp-asm.h>.
6731 (memcpy): Don't use BP_SYM.
6732 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6733 <bp-sym.h> and <bp-asm.h>.
6734 (memset): Don't use BP_SYM.
6735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6737 (__bzero): Don't use BP_SYM.
6738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6741 <bp-sym.h> and <bp-asm.h>.
6742 (strncmp): Don't use BP_SYM. Remove comment about bounded
6743 pointers.
6744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6745 <bp-sym.h> and <bp-asm.h>.
6746 (memcpy): Don't use BP_SYM.
6747 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6748 <bp-sym.h> and <bp-asm.h>.
6749 (memset): Don't use BP_SYM.
6750 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6751 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6752 (__bzero): Don't use BP_SYM.
6753 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6754 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6756 <bp-sym.h> and <bp-asm.h>.
6757 (__memchr): Don't use BP_SYM.
6758 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6759 <bp-sym.h> and <bp-asm.h>.
6760 (memcmp): Don't use BP_SYM. Remove comment about bounded
6761 pointers.
6762 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6763 <bp-sym.h> and <bp-asm.h>.
6764 (memcpy): Don't use BP_SYM.
6765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (__mempcpy): Don't use BP_SYM.
6768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6769 <bp-sym.h> and <bp-asm.h>.
6770 (__memrchr): Don't use BP_SYM.
6771 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (memset): Don't use BP_SYM.
6774 (__bzero): Likewise.
6775 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6776 <bp-sym.h> and <bp-asm.h>.
6777 (__rawmemchr): Don't use BP_SYM.
6778 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6779 <bp-sym.h> and <bp-asm.h>.
6780 (__STRCMP): Don't use BP_SYM.
6781 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6782 <bp-sym.h> and <bp-asm.h>.
6783 (strchr): Don't use BP_SYM.
6784 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6785 <bp-sym.h> and <bp-asm.h>.
6786 (__strchrnul): Don't use BP_SYM.
6787 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6788 <bp-sym.h> and <bp-asm.h>.
6789 (strlen): Don't use BP_SYM.
6790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6791 <bp-sym.h> and <bp-asm.h>.
6792 (strncmp): Don't use BP_SYM. Remove comment about bounded
6793 pointers.
6794 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6795 <bp-sym.h> and <bp-asm.h>.
6796 (__strnlen): Don't use BP_SYM.
6797 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6798 <bp-sym.h> and <bp-asm.h>.
6799 (__GI__setjmp): Don't use BP_SYM.
6800 (_setjmp): Likewise.
6801 (__sigsetjmp): Likewise.
6802 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6803 (L(start_addresses)): Don't use BP_SYM.
6804 (_start): Likewise.
6805 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6806 <bp-asm.h>.
6807 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6808 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6809 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6810 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6811 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6812 <bp-asm.h>.
6813 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6814 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6815 about bounded pointers.
6816 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6817 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6818 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6819 <bp-asm.h>.
6820 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6821 about bounded pointers. Remove GKM FIXME comments.
6822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6823 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6824 <bp-asm.h>.
6825 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6826 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6827 Remove GKM FIXME comments.
6828 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6829 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6830 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6831 <bp-asm.h>.
6832 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6833 about bounded pointers. Remove GKM FIXME comment.
6834 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6835 and <bp-asm.h>.
6836 (strncmp): Don't use BP_SYM. Remove comment about bounded
6837 pointers.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6839 <bp-sym.h> and <bp-asm.h>.
6840 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6842 <bp-sym.h> and <bp-asm.h>.
6843 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6844 comment.
6845
cdcf361f
PP
68462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6847
6848 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6849 call free(NULL).
6850
3c4a2b15
DM
68512013-03-05 David S. Miller <davem@davemloft.net>
6852
6853 * po/es.po: Update from translation team.
6854
cdcf361f 68552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6856
6857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6858 <bits/mman-linux.h>.
6859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6860 is fine.
6861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6862 <bits/mman-linux.h> to end of file.
6863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6864 is fine.
6865 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6866 <bits/mman-linux.h> to end of file.
6867 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6868 is fine.
6869 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6870 <bits/mman-linux.h> to end of file.
6871
6872 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6873 (MCL_CURRENT, MCL_FUTURE): Define here.
6874
5f67c04f
AK
68752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6876
8a4473cc 6877 [BZ #15232]
5f67c04f
AK
6878 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6879 attribute_hidden.
6880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6881
c3e94a95
AK
68822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6883
6884 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6885 fourth parameter needed for rt_sigprocmask syscall.
6886 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6887 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6888 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6889 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6891 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6892
cfb6382a
JM
68932013-03-04 Joseph Myers <joseph@codesourcery.com>
6894
6895 [BZ #13550]
6896 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6897 comment about bounded pointers.
6898 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6899 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6900
539d8e01
AJ
69012013-03-04 Andreas Jaeger <aj@suse.de>
6902
6903 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6904 common definitions.
6905
6906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6907 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6912
2e167a70 69132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6914
6915 [BZ #15055]
6916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6917 __ieee754_sqrl instead of __sqrl.
6918
68508633
JM
69192013-03-01 Joseph Myers <joseph@codesourcery.com>
6920
6921 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6922 * sysdeps/powerpc/fpu_control.h: ... here.
6923 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6924 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6925 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6926 * sysdeps/powerpc/bits/mathinline.h: ... here.
6927
7775448e
RM
69282013-03-01 Roland McGrath <roland@hack.frob.com>
6929
6930 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6931 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6932 to just [NEED_DL_SYSINFO_DSO].
6933 * elf/dl-support.c: Likewise.
6934 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6935 * elf/rtld.c (dl_main): Likewise.
6936 * elf/setup-vdso.h (setup_vdso): Likewise.
6937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6938 * sysdeps/unix/sysv/linux/dl-sysdep.c
6939 (_dl_discover_osversion): Likewise.
6940
4e9b5995
CD
69412013-03-01 Carlos O'Donell <carlos@redhat.com>
6942
6943 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6944 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6945
e23872c8
SP
69462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6947
e5c74c63
SP
6948 * NEWS: Mention libm performance improvements and non-x86 PI
6949 futex support.
6950
e23872c8
SP
6951 * csu/libc-start.c (__pthread_initialize_minimal): Change
6952 function arguments.
6953 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6954
b5510883
JM
69552013-02-28 Joseph Myers <joseph@codesourcery.com>
6956
6957 [BZ #13550]
6958 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6960 <bp-sym.h> and <bp-asm.h>.
6961 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6963 and <bp-asm.h>.
6964 (memcpy): Don't use BP_SYM.
6965 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6966 <bp-asm.h>.
6967 (__mpn_add_n): Don't use BP_SYM.
6968 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6969 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6970 and <bp-asm.h>.
6971 (__mpn_addmul_1): Don't use BP_SYM.
6972 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6973 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6974 <bp-sym.h>.
6975 (_setjmp): Don't use BP_SYM.
6976 (__novmx_setjmp): Likewise.
6977 (__GI__setjmp): Likewise.
6978 (__vmx_setjmp): Likewise.
6979 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6980 <bp-sym.h>.
6981 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6982 (__bzero): Don't use BP_SYM.
6983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6985 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6986 <bp-sym.h> and <bp-asm.h>.
6987 (memcpy): Don't use BP_SYM.
6988 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6994 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6995 <bp-asm.h>.
6996 (__mpn_lshift): Don't use BP_SYM.
6997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6998 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6999 <bp-asm.h>.
7000 (memset): Don't use BP_SYM.
7001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7003 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7004 <bp-asm.h>.
7005 (__mpn_mul_1): Don't use BP_SYM.
7006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7008 <bp-sym.h> and <bp-asm.h>.
7009 (memcmp): Don't use BP_SYM.
7010 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7011 <bp-sym.h> and <bp-asm.h>.
7012 (memcpy): Don't use BP_SYM.
7013 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7014 <bp-sym.h> and <bp-asm.h>.
7015 (memset): Don't use BP_SYM.
7016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7017 <bp-sym.h> and <bp-asm.h>.
7018 (strncmp): Don't use BP_SYM.
7019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7020 <bp-sym.h> and <bp-asm.h>.
7021 (memcpy): Don't use BP_SYM.
7022 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7023 <bp-sym.h> and <bp-asm.h>.
7024 (memset): Don't use BP_SYM.
7025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7026 <bp-sym.h> and <bp-asm.h>.
7027 (__memchr): Don't use BP_SYM.
7028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7029 <bp-sym.h> and <bp-asm.h>.
7030 (memcmp): Don't use BP_SYM.
7031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7032 <bp-sym.h> and <bp-asm.h>.
7033 (memcpy): Don't use BP_SYM.
7034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7035 <bp-sym.h> and <bp-asm.h>.
7036 (__mempcpy): Don't use BP_SYM.
7037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7038 <bp-sym.h> and <bp-asm.h>.
7039 (__memrchr): Don't use BP_SYM.
7040 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7041 <bp-sym.h> and <bp-asm.h>.
7042 (memset): Don't use BP_SYM.
7043 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7044 <bp-sym.h> and <bp-asm.h>.
7045 (__rawmemchr): Don't use BP_SYM.
7046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7047 <bp-sym.h> and <bp-asm.h>.
7048 (__STRCMP): Don't use BP_SYM.
7049 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7050 <bp-sym.h> and <bp-asm.h>.
7051 (strchr): Don't use BP_SYM.
7052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7053 <bp-sym.h> and <bp-asm.h>.
7054 (__strchrnul): Don't use BP_SYM.
7055 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7056 <bp-sym.h> and <bp-asm.h>.
7057 (strlen): Don't use BP_SYM.
7058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7059 <bp-sym.h> and <bp-asm.h>.
7060 (strncmp): Don't use BP_SYM.
7061 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7062 <bp-sym.h> and <bp-asm.h>.
7063 (__strnlen): Don't use BP_SYM.
7064 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7065 <bp-asm.h>.
7066 (__mpn_rshift): Don't use BP_SYM.
7067 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7068 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7069 <bp-sym.h> and <bp-asm.h>.
7070 (__sigsetjmp): Don't use BP_SYM.
7071 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7072 (L(start_addresses)): Don't use BP_SYM.
7073 (_start): Likewise.
7074 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7075 <bp-asm.h>.
7076 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7077 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7078 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7079 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7080 <bp-asm.h>.
7081 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7082 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7083 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7084 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7085 <bp-asm.h>.
7086 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7087 comments.
7088 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7089 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7090 <bp-asm.h>.
7091 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7092 FIXME comments.
7093 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7094 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7095 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7096 <bp-asm.h>.
7097 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7098 comment.
7099 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7100 and <bp-asm.h>.
7101 (strncmp): Don't use BP_SYM,
7102 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7103 <bp-asm.h>.
7104 (__mpn_sub_n): Don't use BP_SYM.
7105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7106 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7107 and <bp-asm.h>.
7108 (__mpn_submul_1): Don't use BP_SYM.
7109 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7111 <bp-sym.h> and <bp-asm.h>.
7112 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7114 <bp-sym.h> and <bp-asm.h>.
7115 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7116 comment.
7117
8d19fe64
SP
71182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7119
7120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7121 Use ZK to minimize writes to Z.
7122 (sub_magnitudes): Simplify code a bit.
7123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7124 Use ZK to minimize writes to Z.
7125 (sub_magnitudes): Simplify code a bit.
7126
85bd816a
RM
71272013-02-27 Roland McGrath <roland@hack.frob.com>
7128
7129 * csu/gmon-start.c: Add special exception to license text.
7130
b5977bf2
RH
71312013-02-27 Richard Henderson <rth@redhat.com>
7132
7133 * scripts/config.guess: Update from config.git.
7134 * scripts/config.sub: Likewise.
7135
11d6e2f2
SP
71362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
09c14ed2
SP
7138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7139
a688864e
SP
7140 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7141
6295157a
SP
7142 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7143
b8de2202
SP
7144 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7145
11d6e2f2
SP
7146 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7147
7e80ddb8
RM
71482013-02-26 Roland McGrath <roland@hack.frob.com>
7149
7150 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7151 [$(build-shared = yes].
7e80ddb8 7152
7da6d9ed
SP
71532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7154
45f05884
SP
7155 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7156 (__mul): Reduce iterations for calculating mantissa.
7157
2236d359
SP
7158 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7159 MPTWO.
7160 (__mpranred): Likewise.
7161
7da6d9ed
SP
7162 [BZ #15160]
7163 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7164 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7165
b7688c42
PE
71662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7167
7168 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7169 Define __attribute__.
7170
53a5c423
SP
71712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7172
7173 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7174 unused.
7175 * posix/regex_internal.h (__attribute): Remove.
7176 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7177 (re_string_context_at): Likewise.
7178 (bitset_not): Use __attribute__ and mark function as possibly
7179 unused.
7180 (bitset_merge): Likewise.
7181 (bitset_mask): Likewise.
7182 (re_string_char_size_at): Likewise.
7183 (re_string_wchar_at): Likewise.
7184 (re_string_elem_size_at): Likewise.
7185
60f5a8b5
SP
71862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
2a983a2e
SP
7188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7189 code.
7190 (cc32): Likewise.
7191
e69804d1
SP
7192 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7193 (__acr): Likewise.
7194 (__cpy): Likewise.
7195 (norm): Likewise.
7196 (denorm): Likewise.
7197 (__dbl_mp): Likewise.
7198 (add_magnitudes): Likewise.
7199 (sub_magnitudes): Likewise.
7200 (__mul): Likewise.
7201 (__inv): Likewise.
7202
2f22a1e8
SP
7203 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7204 style.
7205
8930ddc7
SP
7206 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7207 style.
7208
dc60cb11
SP
7209 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7210 code.
7211
60f5a8b5
SP
7212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7213 up changes with default code.
7214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7215 Likewise.
7216
b4d1fd33
AM
72172013-02-24 Allan McRae <allan@archlinux.org>
7218
faf6f8bc
AM
7219 * manual/socket.texi (The Internet Namespace): Order menu items
7220 to match that in the file.
7221
b4d1fd33
AM
7222 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7223 node listing of the info page menu.
7224
2366713d
JM
72252013-02-21 Joseph Myers <joseph@codesourcery.com>
7226
7227 [BZ #13550]
7228 * sysdeps/i386/bp-asm.h: Remove file.
7229 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7230 (PARMS): Do not use macros from bp-asm.h.
7231 (S1): Likewise.
7232 (S2): Likewise.
7233 (SIZE): Likewise.
7234 (__mpn_add_n): Do not use BP_SYM
7235 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7236 "bp-asm.h".
7237 (PARMS): Do not use macros from bp-asm.h.
7238 (S1): Likewise.
7239 (SIZE): Likewise.
7240 (__mpn_addmul_1): Do not use BP_SYM
7241 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7242 "bp-asm.h".
7243 (PARMS): Do not use macros from bp-asm.h.
7244 (SIGMSK): Likewise.
7245 (_setjmp): Likewise. Do not use BP_SYM.
7246 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7247 "bp-asm.h".
7248 (PARMS): Do not use macros from bp-asm.h.
7249 (SIGMSK): Likewise.
7250 (setjmp): Likewise. Do not use BP_SYM.
7251 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7252 "bp-asm.h".
7253 (PARMS): Do not use macros from bp-asm.h.
7254 (__frexp): Do not use BP_SYM.
7255 (frexp): Likewise.
7256 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7257 "bp-asm.h".
7258 (PARMS): Do not use macros from bp-asm.h.
7259 (__frexpf): Do not use BP_SYM.
7260 (frexpf): Likewise.
7261 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7262 "bp-asm.h".
7263 (PARMS): Do not use macros from bp-asm.h.
7264 (__frexpl): Do not use BP_SYM.
7265 (frexpl): Likewise.
7266 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7267 "bp-asm.h".
7268 (PARMS): Do not use macros from bp-asm.h.
7269 (__remquo): Do not use BP_SYM.
7270 (remquo): Likewise.
7271 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7272 "bp-asm.h".
7273 (PARMS): Do not use macros from bp-asm.h.
7274 (__remquof): Do not use BP_SYM.
7275 (remquof): Likewise.
7276 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7277 "bp-asm.h".
7278 (PARMS): Do not use macros from bp-asm.h.
7279 (__remquol): Do not use BP_SYM.
7280 (remquol): Likewise.
7281 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7282 "bp-asm.h".
7283 (PARMS): Do not use macros from bp-asm.h.
7284 (DEST): Likewise.
7285 (SRC): Likewise.
7286 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7287 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7288 "bp-asm.h".
7289 (PARMS): Do not use macros from bp-asm.h.
7290 (strlen): Do not use BP_SYM.
7291 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7292 "bp-asm.h".
7293 (PARMS): Do not use macros from bp-asm.h.
7294 (S1): Likewise.
7295 (S2): Likewise.
7296 (SIZE): Likewise.
7297 (__mpn_add_n): Do not use BP_SYM.
7298 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7299 "bp-asm.h".
7300 (PARMS): Do not use macros from bp-asm.h.
7301 (S1): Likewise.
7302 (SIZE): Likewise.
7303 (__mpn_addmul_1): Do not use BP_SYM.
7304 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7305 weak_alias.
7306 (bzero): Likewise.
7307 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7308 "bp-asm.h".
7309 (PARMS): Do not use macros from bp-asm.h.
7310 (S): Likewise.
7311 (SIZE): Likewise.
7312 (__mpn_lshift): Do not use BP_SYM.
7313 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7314 "bp-asm.h".
7315 (PARMS): Do not use macros from bp-asm.h.
7316 (DEST): Likewise.
7317 (SRC): Likewise.
7318 (LEN): Likewise.
7319 (memcpy): Likewise. Do not use BP_SYM.
7320 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7321 libc_hidden_def and weak_alias.
7322 (mempcpy): Do not use BP_SYM in weak_alias.
7323 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7324 "bp-asm.h".
7325 (PARMS): Do not use macros from bp-asm.h.
7326 (DEST): Likewise.
7327 (LEN): Likewise.
7328 [!BZERO_P] (CHR): Likewise.
7329 (memset): Likewise. Do not use BP_SYM.
7330 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7331 "bp-asm.h".
7332 (PARMS): Do not use macros from bp-asm.h.
7333 (S1): Likewise.
7334 (SIZE): Likewise.
7335 (__mpn_mul_1): Do not use BP_SYM.
7336 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7337 "bp-asm.h".
7338 (PARMS): Do not use macros from bp-asm.h.
7339 (S): Likewise.
7340 (SIZE): Likewise.
7341 (__mpn_rshift): Do not use BP_SYM.
7342 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7343 "bp-asm.h".
7344 (PARMS): Do not use macros from bp-asm.h.
7345 (STR): Likewise.
7346 (CHR): Likewise.
7347 (strchr): Likewise. Do not use BP_SYM.
7348 (index): Do not use BP_SYM in weak_alias.
7349 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7350 "bp-asm.h".
7351 (PARMS): Do not use macros from bp-asm.h.
7352 (DEST): Likewise.
7353 (SRC): Likewise.
7354 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7355 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7356 "bp-asm.h".
7357 (PARMS): Do not use macros from bp-asm.h.
7358 (strlen): Do not use BP_SYM.
7359 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7360 "bp-asm.h".
7361 (PARMS): Do not use macros from bp-asm.h.
7362 (S1): Likewise.
7363 (S2): Likewise.
7364 (SIZE): Likewise.
7365 (__mpn_sub_n): Do not use BP_SYM.
7366 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7367 "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7369 (S1): Likewise.
7370 (SIZE): Likewise.
7371 (__mpn_submul_1): Do not use BP_SYM.
7372 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7373 "bp-asm.h".
7374 (PARMS): Do not use macros from bp-asm.h.
7375 (S1): Likewise.
7376 (S2): Likewise.
7377 (SIZE): Likewise.
7378 (__mpn_add_n): Do not use BP_SYM.
7379 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7380 weak_alias.
7381 (bzero): Likewise.
7382 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7383 "bp-asm.h".
7384 (PARMS): Do not use macros from bp-asm.h.
7385 (BLK2): Likewise.
7386 (LEN): Likewise.
7387 (memcmp): Do not use BP_SYM.
7388 (bcmp): Do not use BP_SYM in weak_alias.
7389 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7390 "bp-asm.h".
7391 (PARMS): Do not use macros from bp-asm.h.
7392 (DEST): Likewise.
7393 (SRC): Likewise.
7394 (LEN): Likewise.
7395 (memcpy): Likewise. Do not use BP_SYM.
7396 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7397 "bp-asm.h".
7398 (PARMS): Do not use macros from bp-asm.h.
7399 (DEST): Likewise.
7400 (SRC): Likewise.
7401 (LEN): Likewise.
7402 (memmove): Likewise. Do not use BP_SYM.
7403 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7404 "bp-asm.h".
7405 (PARMS): Do not use macros from bp-asm.h.
7406 (DEST): Likewise.
7407 (SRC): Likewise.
7408 (LEN): Likewise.
7409 (__mempcpy): Likewise. Do not use BP_SYM.
7410 (mempcpy): Do not use BP_SYM in weak_alias.
7411 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7412 "bp-asm.h".
7413 (PARMS): Do not use macros from bp-asm.h.
7414 (DEST): Likewise.
7415 (LEN): Likewise.
7416 [!BZERO_P] (CHR): Likewise.
7417 (memset): Likewise. Do not use BP_SYM.
7418 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7419 "bp-asm.h".
7420 (PARMS): Do not use macros from bp-asm.h.
7421 (STR2): Likewise.
7422 (strcmp): Do not use BP_SYM.
7423 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7424 "bp-asm.h".
7425 (PARMS): Do not use macros from bp-asm.h.
7426 (STR): Likewise.
7427 (DELIM): Likewise.
7428 [USE_AS_STRTOK_R] (SAVE): Likewise.
7429 (FUNCTION): Likewise. Do not use BP_SYM.
7430 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7431 aliases.
7432 (strtok_r): Likewise.
7433 (__GI___strtok_r): Likewise.
7434 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7435 (PARMS): Do not use macros from bp-asm.h.
7436 (S): Likewise.
7437 (SIZE): Likewise.
7438 (__mpn_lshift): Do not use BP_SYM.
7439 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7440 (PARMS): Do not use macros from bp-asm.h.
7441 (STR): Likewise.
7442 (CHR): Likewise.
7443 (__memchr): Do not use BP_SYM.
7444 (memchr): Do not use BP_SYM in weak_alias.
7445 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7446 (PARMS): Do not use macros from bp-asm.h.
7447 (BLK2): Likewise.
7448 (LEN): Likewise.
7449 (memcmp): Do not use BP_SYM.
7450 (bcmp): Do not use BP_SYM in weak_alias.
7451 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7452 (PARMS): Do not use macros from bp-asm.h.
7453 (S1): Likewise.
7454 (SIZE): Likewise.
7455 (__mpn_mul_1): Do not use BP_SYM.
7456 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7457 "bp-asm.h".
7458 (PARMS): Do not use macros from bp-asm.h.
7459 (STR): Likewise.
7460 (CHR): Likewise.
7461 (__rawmemchr): Do not use BP_SYM.
7462 (rawmemchr): Do not use BP_SYM in weak_alias.
7463 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7464 (PARMS): Do not use macros from bp-asm.h.
7465 (S): Likewise.
7466 (SIZE): Likewise.
7467 (__mpn_rshift): Do not use BP_SYM.
7468 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7469 (PARMS): Do not use macros from bp-asm.h.
7470 (SIGMSK): Likewise.
7471 (__sigsetjmp): Likewise. Do not use BP_SYM.
7472 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7473 (_start): Do not use BP_SYM.
7474 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7475 (PARMS): Do not use macros from bp-asm.h.
7476 (DEST): Likewise.
7477 (SRC): Likewise.
7478 (__stpcpy): Likewise. Do not use BP_SYM.
7479 (stpcpy): Do not use BP_SYM in weak_alias.
7480 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7481 "bp-asm.h".
7482 (PARMS): Do not use macros from bp-asm.h.
7483 (DEST): Likewise.
7484 (SRC): Likewise.
7485 (LEN): Likewise.
7486 (__stpncpy): Likewise. Do not use BP_SYM.
7487 (stpncpy): Do not use BP_SYM in weak_alias.
7488 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7489 (PARMS): Do not use macros from bp-asm.h.
7490 (STR): Likewise.
7491 (CHR): Likewise.
7492 (strchr): Likewise. Do not use BP_SYM.
7493 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7494 "bp-asm.h".
7495 (PARMS): Do not use macros from bp-asm.h.
7496 (STR): Likewise.
7497 (CHR): Likewise.
7498 (__strchrnul): Likewise. Do not use BP_SYM.
7499 (strchrnul): Do not use BP_SYM in weak_alias.
7500 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7501 "bp-asm.h".
7502 (PARMS): Do not use macros from bp-asm.h.
7503 (STOP): Likewise.
7504 (strcspn): Do not use BP_SYM.
7505 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7506 "bp-asm.h".
7507 (PARMS): Do not use macros from bp-asm.h.
7508 (STR): Likewise.
7509 (STOP): Likewise.
7510 (strpbrk): Likewise. Do not use BP_SYM.
7511 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7512 "bp-asm.h".
7513 (PARMS): Do not use macros from bp-asm.h.
7514 (STR): Likewise.
7515 (CHR): Likewise.
7516 (strrchr): Likewise. Do not use BP_SYM.
7517 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7518 (PARMS): Do not use macros from bp-asm.h.
7519 (SKIP): Likewise.
7520 (strspn): Do not use BP_SYM.
7521 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (STR): Likewise.
7524 (DELIM): Likewise.
7525 (SAVE): Likewise.
7526 (FUNCTION): Likewise. Do not use BP_SYM.
7527 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7528 aliases.
7529 (strtok_r): Likewise.
7530 (__GI___strtok_r): Likewise.
7531 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7532 (PARMS): Do not use macros from bp-asm.h.
7533 (S1): Likewise.
7534 (S2): Likewise.
7535 (SIZE): Likewise.
7536 (__mpn_sub_n): Do not use BP_SYM.
7537 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7538 "bp-asm.h".
7539 (PARMS): Do not use macros from bp-asm.h.
7540 (S1): Likewise.
7541 (SIZE): Likewise.
7542 (__mpn_submul_1): Do not use BP_SYM.
7543 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7544 <bp-sym.h>.
7545 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7546 and <bp-asm.h>.
7547 (PARMS): Do not use macros from bp-asm.h.
7548 (FLAGS): Likewise.
7549 (PTID): Likewise.
7550 (TLS): Likewise.
7551 (CTID): Likewise.
7552 (__clone): Do not use BP_SYM.
7553 (clone): Do not use BP_SYM in weak_alias.
7554 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7555 and <bp-asm.h>.
7556 (PARMS): Do not use macros from bp-asm.h.
7557 (LEN): Likewise.
7558 (__mmap64): Do not use BP_SYM.
7559 (mmap64): Do not use BP_SYM in weak_alias.
7560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7561 <bp-sym.h> and <bp-asm.h>.
7562 (PARMS): Do not use macros from bp-asm.h.
7563 (__posix_fadvise64_l64): Do not use BP_SYM.
7564 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7565 (PARMS): Do not use macros from bp-asm.h.
7566 (NSOPS): Likewise.
7567 (semtimedop): Do not use BP_SYM.
7568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7569 and <bp-asm.h>.
7570
582a3cff
AM
75712013-02-21 Allan McRae <allan@archlinux.org>
7572
7573 * manual/message.texi (Charset conversion in gettext):
7574 Move @end statement to beginning of line.
7575
bab8a695
SP
75762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7577
80945231
SP
7578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7579 static.
7580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7581 Likewise.
7582
bab8a695
SP
7583 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7584 (denorm): Likewise.
7585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7587
e21d7aa7
AK
75882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7589
7590 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7591 tail-call to the resolved function if pltexit isn't needed.
7592
4c7a4263
SP
75932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7594
7595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7596 or Y being zero as being unlikely.
7597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7598 Likewise.
7599
41f49342
CD
76002013-02-20 Carlos O'Donell <carlos@redhat.com>
7601
7602 * manual/nss.texi (System Databases and Name Service Switch):
7603 Remove frobnicate @pxref.
7604
50022a93
TS
76052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7606
7607 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7608 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7609
08cbd996
PM
76102013-02-20 Petr Machata <pmachata@redhat.com>
7611
7612 * elf/elf.h (R_ARM_TARGET1): New macro.
7613 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7614 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7615 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7616 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7617 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7618 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7619 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7620 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7621 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7622 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7623 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7624 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7625 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7626 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7627 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7628 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7629 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7630 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7631 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7632 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7633 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7634 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7635 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7636 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7637 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7638 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7639 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7640 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7641 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7642 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7643 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7644 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7645 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7646 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7647 (R_ARM_THM_GOT_BREL12): Likewise.
7648 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7649 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7650 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7651 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7652 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7653 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7654 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7655 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7656 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7657
c7b275d6
TS
76582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7659
7660 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7661 __attribute_used__ to __attribute__ ((unused)).
7662
20cd7fb3
SP
76632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7664
7665 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7666 powerpc mpa.c.
7667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7668 comment formatting.
7669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7670
92945b52
JM
76712013-02-19 Joseph Myers <joseph@codesourcery.com>
7672
7673 [BZ #13550]
7674 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7675 Remove macro.
7676 (ENTER): Remove both macro definitions.
7677 (LEAVE): Likewise.
7678 (CHECK_BOUNDS_LOW): Likewise.
7679 (CHECK_BOUNDS_HIGH): Likewise.
7680 (CHECK_BOUNDS_BOTH): Likewise.
7681 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7682 (RETURN_BOUNDED_POINTER): Likewise.
7683 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7684 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7685 (POP_ERRNO_LOCATION_RETURN): Likewise.
7686 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7688 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7689 macros.
7690 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7692 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7693 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7694 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7695 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7696 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7697 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7698 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7699 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7700 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7701 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7703 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7704 removed macros.
7705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7706 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7707 macros.
7708 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7709 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7710 * sysdeps/i386/i586/memset.S (memset): Likewise.
7711 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7712 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7713 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7714 macros.
7715 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7716 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7717 Change uses of L(2) to L(out).
7718 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7719 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7720 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7721 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7722 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7723 removed macros.
7724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7725 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7726 macros.
7727 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7728 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7729 (RETURN): Do not use macro LEAVE.
7730 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7731 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7732 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7733 * sysdeps/i386/i686/memset.S (memset): Likewise.
7734 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7735 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7737 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7738 Likewise.
7739 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7740 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7741 L(1_2) and L(1_3) into L(1).
7742 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7743 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7745 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7746 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7747 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7748 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7749 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7750 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7751 macros.
7752 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7754 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7755 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7756 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7757 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7758 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7759 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7760 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7761 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7762 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7763 * sysdeps/i386/strspn.S (strspn): Likewise.
7764 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7765 conditional code.
7766 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7767 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7768 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7770 L(1_3) into L(1_1).
7771 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7772 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7773 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7774 macros.
7775 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7776
2389741a
JJ
77772013-02-19 Jakub Jelinek <jakub@redhat.com>
7778
7779 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7780 macro.
7781
2016b3cd
SP
77822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7783
e4f22324
SP
7784 * math/atest-exp.c (exp_mpn): Remove ROUND.
7785 * math/atest-exp2.c (exp_mpn): Likewise.
7786 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7787
2016b3cd
SP
7788 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7789 * stdlib/tst-tls-atexit-lib.c: Likewise.
7790 * stdlib/tst-tls-atexit.c: Likewise.
7791
4be9b544
MF
77922013-02-18 Mike Frysinger <vapier@gentoo.org>
7793
7794 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7795 and __attribute_alloc_size__.
7796
2f62b9ee
MF
77972013-02-18 Mike Frysinger <vapier@gentoo.org>
7798
7799 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7800 __attribute_alloc_size__.
7801 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7802 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7803
6ff444c4
MF
78042013-02-18 Mike Frysinger <vapier@gentoo.org>
7805
7806 * include/programs/xmalloc.h: New file.
7807 * catgets/gencat.c: Include it.
7808 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7809 * elf/pldd.c: Likewise.
7810 * iconv/iconv_charmap.c: Likewise.
7811 * iconv/iconvconfig.c: Likewise.
7812 * iconv/strtab.c: Likewise.
7813 * locale/programs/locale.c: Likewise.
7814 * locale/programs/localedef.h: Likewise.
7815 * locale/programs/simple-hash.c: Likewise.
7816 * nscd/nscd.h: Likewise.
7817 * nss/makedb.c: Likewise.
7818 * sysdeps/generic/ldconfig.h: Likewise.
7819
be179c8a
SP
78202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7821
ba384f6e
SP
7822 * Versions.def: Add GLIBC_2.18.
7823 * include/link.h (struct link_map): New member l_tls_dtor_count.
7824 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7825 (__call_tls_dtors): Likewise.
7826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7827 __cxa_thread_atexit_impl.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7829 Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7831 Likewise.
7832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7833 Likewise.
7834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7835 Likewise.
7836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7838 Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7840 Likewise.
7841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7843 Likewise.
7844 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7845 (tests): Add test case tst-tls-atexit.
7846 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7847 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7848 (GLIBC_PRIVATE): Add __call_tls_dtors.
7849 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7850 for libstdc++.
7851 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7852 * stdlib/tst-tls-atexit.c: New test case.
7853 * stdlib/tst-tls-atexit-lib.c: New test case.
7854
ffaa74cf 7855 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7856
be179c8a
SP
7857 * elf/Versions (ld): Add _dl_find_dso_for_object.
7858 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7859 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7860 (dl_open_worker): Use _dl_find_dso_for_object.
7861 * elf/dl-sym.c (do_sym): Likewise.
7862 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7863
f78b5caa
AK
78642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7865
7866 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7867 Syntactic changes only.
7868 (_dl_runtime_profile): Do a tail-call to the resolved function.
7869
29691210
JM
78702013-02-17 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #13550]
7873 * sysdeps/x86_64/bp-asm.h: Remove file.
7874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7875 <bp-sym.h> and <bp-asm.h>.
7876 (__clone): Do not use BP_SYM.
7877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7878 <bp-sym.h> and <bp-asm.h>.
7879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7880 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7881 "bp-asm.h".
7882 (_setjmp): Do not use BP_SYM.
7883 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7884 "bp-asm.h".
7885 (setjmp): Do not use BP_SYM.
7886 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7887 libc_hidden_def.
7888 (mempcpy): Do not use BP_SYM in weak_alias.
7889 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7890 "bp-asm.h".
7891 (strchr): Do not use BP_SYM.
7892 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7893 "bp-asm.h".
7894 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7895 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7896 (_start): Do not use BP_SYM.
7897 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7898 "bp-asm.h".
7899 (strcat): Do not use BP_SYM.
7900 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7901 "bp-asm.h".
7902 (STRCMP): Do not use BP_SYM.
7903 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7904 "bp-asm.h".
7905 (STRCPY): Do not use BP_SYM.
7906 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7907 "bp-asm.h".
7908 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7909 "bp-asm.h".
7910 (FUNCTION): Do not use BP_SYM.
7911 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7912 weak_alias.
7913 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7914
f238fd19
AJ
79152013-02-17 Andreas Jaeger <aj@suse.de>
7916
7917 * time/Versions: Sort entries.
7918 * string/Versions: Likewise.
7919 * resolv/Versions: Likewise.
7920 * posix/Versions: Likewise.
7921 * iconv/Versions: Likewise.
7922 * elf/Versions: Likewise.
7923 * wcsmbs/Versions: Likewise.
7924
bd07f23c 79252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7926
22af19f9
SP
7927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7928 loop termination condition.
7929
4709fe76
SP
7930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7931 variable to calculate EZ.
7932 (__sqr): Likewise.
2d0e0f29
SP
7933
7934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7935 the lower precision input.
7936
daaa7713
JM
79372013-02-15 Joseph Myers <joseph@codesourcery.com>
7938
7939 [BZ #13550]
7940 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7941 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7942 (run-via-rtld-prefix): Do not handle %-bp tests.
7943 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7944 (all-object-suffixes): Remove .ob.
7945 (bppfx): Remove variable.
7946 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7947 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7948 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7949 [$(build-bounded) = yes] (libtype.ob): Likewise.
7950 * Makerules (elide-routines.ob): Remove variable.
7951 (do-tests-clean): Do not handle *-bp.out.
7952 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7953 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7954 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7955 (tests): Do not include $(tests-bp.out).
7956 (xtests): Do not include $(xtests-bp.out).
7957 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7958 [$(build-bounded) = yes] ($(addprefix
7959 $(objpfx),$(binaries-bounded))): Remove rule.
7960 ($(objpfx)%-bp.out): Remove rule.
7961 * config.make.in (build-bounded): Remove variable.
7962 * crypt/Makefile [$(build-bounded) = yes]
7963 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7964 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7965 append to variable.
7966 [$(build-bounded) = yes] (install-lib): Likewise.
7967 [$(build-bounded) = yes] (generated): Likewise.
7968 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7969 Remove rule.
7970 * intl/Makefile [$(build-bounded) = yes]
7971 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7972 * math/Makefile [$(build-bounded) = yes]
7973 ($(tests:%=$(objpfx)%-bp): Likewise.
7974 * misc/Makefile [$(build-bounded) = yes]
7975 ($(objpfx)tst-tsearch-bp): Likewise.
7976 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7977 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7978 Remove dependency.
7979 * string/Makefile (o-objects.ob): Remove variable.
7980 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7981 (CFLAGS-.ob): Remove variable.
7982 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7983 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7984 both definitions of variable.
7985 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7986 (ASFLAGS-.ob): Remove variable.
7987
e97ed6dd
JM
79882013-02-14 Joseph Myers <joseph@codesourcery.com>
7989
2bdd4ca6
JM
7990 [BZ #13550]
7991 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7992 Remove __BOUNDED_POINTERS__ from condition.
7993 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7994 * string/bits/string2.h [!__NO_STRING_INLINES &&
7995 !__BOUNDED_POINTERS__]: Likewise.
7996 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7997 Likewise.
7998 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7999 Remove conditional code.
8000 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8001 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8002 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8003 condition.
8004
e97ed6dd
JM
8005 [BZ #13550]
8006 * csu/libc-start.c: Do not include <bp-sym.h>.
8007 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8008 * elf/dl-open.c: Do not include <bp-sym.h>.
8009 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8010 * math/fegetenv.c: Do not include <bp-sym.h>.
8011 (fegetenv): Do not use BP_SYM in versioned symbols.
8012 * nptl/sysdeps/pthread/bits/libc-lockP.h
8013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8014 <bp-sym.h>.
8015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8016 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8018 (__pthread_mutex_destroy): Likewise.
8019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8020 (__pthread_mutex_lock): Likewise.
8021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8022 (__pthread_mutex_trylock): Likewise.
8023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8024 (__pthread_mutex_unlock): Likewise.
8025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8026 (__pthread_mutexattr_init): Likewise.
8027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8028 (__pthread_mutexattr_destroy): Likewise.
8029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8030 (__pthread_mutexattr_settype): Likewise.
8031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8032 (__pthread_rwlock_init): Likewise.
8033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8034 (__pthread_rwlock_destroy): Likewise.
8035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8036 (__pthread_rwlock_rdlock): Likewise.
8037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8038 (__pthread_rwlock_tryrdlock): Likewise.
8039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8040 (__pthread_rwlock_wrlock): Likewise.
8041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8042 (__pthread_rwlock_trywrlock): Likewise.
8043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8044 (__pthread_rwlock_unlock): Likewise.
8045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8046 (__pthread_key_create): Likewise.
8047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8048 (__pthread_setspecific): Likewise.
8049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8050 (__pthread_getspecific): Likewise.
8051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8052 Likewise.
8053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8054 (_pthread_cleanup_push_defer): Likewise.
8055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8056 (_pthread_cleanup_pop_restore): Likewise.
8057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8058 (pthread_setcancelstate): Likewise.
8059 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8060 <bp-sym.h>.
8061 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8062 (memchr): Do not use BP_SYM in weak_alias.
8063 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8064 (fegetenv): Do not use BP_SYM in versioned symbols.
8065 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8066 (fesetenv): Do not use BP_SYM in versioned symbols.
8067 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8068 (feupdateenv): Do not use BP_SYM in versioned symbols.
8069 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8070 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8071 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8072 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8073 (open64): Do not use BP_SYM in weak_alias.
8074 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8075 (fegetenv): Do not use BP_SYM in versioned symbols.
8076 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8077 (fesetenv): Do not use BP_SYM in versioned symbols.
8078 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8079 (feupdateenv): Do not use BP_SYM in versioned symbols.
8080 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8081 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8082 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8083 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8084 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8085 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8086 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8087 <bp-sym.h>.
8088 (__libc_start_main): Do not use BP_SYM.
8089
d6752ccd
SP
80902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8091
cb57ce60
SP
8092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8093 redundant return line.
8094 (norm): Likewise.
8095 (denorm): Likewise.
8096 (dbl_mp): Likewise.
8097 (sub_magnitudes): Likewise.
8098 (__add): Likewise.
8099 (__sub): Likewise.
8100 (__mul): Likewise.
8101 (__inv): Likewise.
8102 (__dvd): Likewise.
8103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8104 (norm): Likewise.
8105 (denorm): Likewise.
8106 (dbl_mp): Likewise.
8107 (sub_magnitudes): Likewise.
8108 (__add): Likewise.
8109 (__sub): Likewise.
8110 (__mul): Likewise.
8111 (__inv): Likewise.
8112 (__dvd): Likewise.
8113
f414520d
SP
8114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8115 instead of __mul.
8116 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8117 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8118 (cc32): Likewise.
8119
d6752ccd
SP
8120 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8121 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8123 of __mul for squares.
8124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8125 function
8126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8127 Likewise.
8128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8129 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8130
70d9946a
JM
81312013-02-13 Joseph Myers <joseph@codesourcery.com>
8132
8133 [BZ #13550]
8134 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8135 code.
8136 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8137 prototype or function definition. Rename ubp_* variables and
8138 parameters. Remove argv definitions conditional on
8139 [__BOUNDED_POINTERS__].
8140 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8141 * elf/dl-runtime.c (_dl_fixup): Likewise.
8142 * include/set-hooks.h (RUN_HOOK): Likewise.
8143 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8144 definition.
8145 * string/strcpy.c (strcpy): Do not use __unbounded.
8146 * sysdeps/generic/frame.h (struct layout): Likewise.
8147 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8148 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8149 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8150 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8151 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8152 (__backtrace): Likewise.
8153 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8154 use __ptrvalue.
8155 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8156 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8157 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8158 Likewise.
8159 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8160 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8161 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8162 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8163 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8164 Do not use __unbounded.
8165 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8166 Rename __unboundedrlimits parameter to rlimits in prototype.
8167 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8168 Do not use __unbounded.
8169 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8170 not use __ptrvalue.
8171 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8172 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8173 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8175 __ptrvalue or __unbounded.
8176 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8177 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8178 use __unbounded.
8179 (__new_msgctl): Do not use __ptrvalue.
8180 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8181 __unbounded.
8182 (__libc_msgrcv): Do not use __ptrvalue.
8183 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8184 startup_info): Do not use __unbounded.
8185 (__libc_start_main): Likewise. Rename ubp_* variables and
8186 parameters. Remove argv definitions conditional on
8187 [__BOUNDED_POINTERS__].
8188 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8189 __ptrvalue.
8190 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8191 use __unbounded.
8192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8193 or __ptrvalue.
8194 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8195 use __unbounded.
8196 (__new_shmctl): Do not use __ptrvalue.
8197 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8198 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8199 Likewise.
8200 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8202 (__libc_sigaction): Likewise.
8203 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8205 Likewise.
8206 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8207
cc7834d6
OB
82082013-02-13 Ondřej Bílka <neleai@seznam.cz>
8209
ffb1ec7b 8210 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8211
8212 * string/mempcpy.c: Implement by calling memcpy.
8213
bdf02814
SP
82142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
c2af38aa
SP
8216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8217
4e92d59e
SP
8218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8219 evaluation.
8220
909279a5
SP
8221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8222 values in the mantissa.
8223
bdf02814
SP
8224 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8225 minimize writes to Z.
8226 (sub_magnitudes): Simplify code a bit.
8227
cd525923
RM
82282013-02-12 Roland McGrath <roland@hack.frob.com>
8229
8230 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8231 from the message. The linker prefixes all warnings with that already.
8232
7e2f0d2d
AS
82332013-02-12 Andreas Schwab <schwab@suse.de>
8234
a445af0b
AS
8235 [BZ #15078]
8236 * posix/regexec.c (extend_buffers): Add parameter min_len.
8237 (check_matching): Pass minimum needed length.
8238 (clean_state_log_if_needed): Likewise.
8239 (get_subexp): Likewise.
8240 * posix/Makefile (tests): Add bug-regex34.
8241 (bug-regex34-ENV): Define.
8242 * posix/bug-regex34.c: New file.
8243
7e2f0d2d
AS
8244 [BZ #11561]
8245 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8246 elements compare against the byte sequence of it, not its name.
8247 * posix/Makefile (tests): Add bug-regex35.
8248 (bug-regex35-ENV): Define.
8249 * posix/bug-regex35.c: New file.
8250
a175b684
TV
82512013-02-11 Tom de Vries <tom@codesourcery.com>
8252
8253 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8254 comment.
8255 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8256 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8257 (CHECK_EOL): Add undef.
8258
310998fe 82592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8260
8261 * bits/stdlib-bsearch.h: New file.
8262 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8263 * stdlib/stdlib.h: Likewise.
41eda41d 8264
8ded91fb
RM
82652013-02-11 Roland McGrath <roland@hack.frob.com>
8266
8267 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8268 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8269 declaration.
8270 * manual/search.texi (Array Search Function): Add missing const in
8271 lfind prototype.
8272 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8273 declaration to use rlim_t.
8274 (Basic Scheduling Functions): Remove erroneous const from
8275 sched_getparam prototype. Remove erroneous * from
8276 sched_get_priority_max and sched_get_priority_min prototypes.
8277 (Resource Usage): Fix summary @comment on vtimes to refer to
8278 sys/vtimes.h rather than vtimes.h.
8279 Add missing *s in vtimes prototype.
8280 (Limits on Resources): Fix ulimit prototype to return long int.
8281 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8282 prototypes to use long int rather than double.
8283 (BSD Random): Fix initstate and setstate to use char *, not void *.
8284 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8285 prototype to make second argument 'struct aiocb64 *const[]'.
8286 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8287 (Status of AIO Operations): Remove erroneous const in aio_return and
8288 aio_return64 prototypes.
8289 (Synchronizing I/O): Fix sync prototype to return void.
8290 * manual/startup.texi (Suboptions): Remove an erroneous const in
8291 getsubopt prototype.
8292 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8293 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8294 use size_t rather than int.
8295 (Scanning All Users): Likewise for getpwent_r.
8296 (Setting Groups): Add missing const to setgroups prototype.
8297 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8298 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8299 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8300 'const void *' rather than 'const char *'.
8301 (Host Address Functions): Likewise for inet_ntop.
8302 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8303 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8304 ssize_t for return value.
8305 (Sending Data): Likewise for send, sendto, sendmsg.
8306 (Socket Option Functions): Add a missing const in setsockopt prototype.
8307 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8308 use wchar_t for the argument.
8309 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8310 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8311 take no arguments.
8312 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8313 double/float/long double for second argument.
8314 Fix return types of significand, significandf, significandl.
8315 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8316 argument in fchmod prototype.
8317 (File Owner): Use uid_t and gid_t in fchown prototype.
8318 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8319 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8320 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8321 use 'const struct dirent **' as argument types to CMP function pointer
8322 argument.
8323 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8324 (File Times): Fix summary magic @comment for struct utimbuf and utime
8325 to refer to utime.h, not time.h.
8326 * manual/string.texi (Argz Functions): Add missing const in
8327 argz_extract and argz_next prototypes.
8328 (Finding Tokens in a String): Likewise for basename.
8329 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8330 (Copying and Concatenation): Fix typo in wmemmove prototype.
8331 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8332 (Signal Stack): Remove erroneous const in sigstack prototype.
8333 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8334 prototype.
8335 (Simple Calendar Time): Likewise for stime.
8336 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8337 prototype.
8338 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8339 say sys/sysctl.h instead.
8340 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8341 and vsyslog prototypes.
8342
fe77fe6d
TV
83432013-02-11 Tom de Vries <tom@codesourcery.com>
8344
8345 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8346 Remove.
8347
3a09b620
RM
83482013-02-11 Roland McGrath <roland@hack.frob.com>
8349
8350 * misc/sys/mman.h: Fix typo in mremap comment.
8351
550a0b89
RM
83522013-02-08 Roland McGrath <roland@hack.frob.com>
8353
8354 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8355 the '\0' terminator.
8356
a2da1673
JM
83572013-02-08 Joseph Myers <joseph@codesourcery.com>
8358
8359 [BZ #13550]
8360 * debug/segfault.c: Don't include <bp-checks.h>.
8361 * sysdeps/generic/bp-checks.h: Remove file.
8362 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8363 (__GETDENTS): Don't use CHECK_N.
8364 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8365 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8366 (__getgroups): Don't use CHECK_N.
8367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8368 (setgroups): Don't use CHECK_N.
8369 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8370 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8371 (__libc_msgrcv): Don't use CHECK_N.
8372 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8373 (__libc_msgsnd): Don't use CHECK_N.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8375 <bp-checks.h>.
8376 (__libc_pread): Don't use CHECK_N.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8378 include <bp-checks.h>.
8379 (__libc_pread64): Don't use CHECK_N.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8381 include <bp-checks.h>.
8382 (__libc_pwrite): Don't use CHECK_N.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8384 include <bp-checks.h>.
8385 (__libc_pwrite64): Don't use CHECK_N.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8387 <bp-checks.h>.
8388 (__libc_pread): Don't use CHECK_N.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8390 include <bp-checks.h>.
8391 (__libc_pread64): Don't use CHECK_N.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8393 include <bp-checks.h>.
8394 (__libc_pwrite): Don't use CHECK_N.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8396 include <bp-checks.h>.
8397 (__libc_pwrite64): Don't use CHECK_N.
8398 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8399 (do_pread): Don't use CHECK_N.
8400 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8401 (do_pread64): Don't use CHECK_N.
8402 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8403 (do_pwrite): Don't use CHECK_N.
8404 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8405 (do_pwrite64): Don't use CHECK_N.
8406 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8407 (__libc_readv): Don't use CHECK_N.
8408 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8409 (semop): Don't use CHECK_N.
8410 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8411 <bp-checks.h>.
8412 (semtimedop): Don't use CHECK_N.
8413 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8414 (__libc_pread): Don't use CHECK_N.
8415 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8416 <bp-checks.h>.
8417 (__libc_pread64): Don't use CHECK_N.
8418 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8419 <bp-checks.h>.
8420 (__libc_pwrite): Don't use CHECK_N.
8421 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8422 <bp-checks.h>.
8423 (__libc_pwrite64): Don't use CHECK_N.
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8425 <bp-checks.h>.
8426 (__libc_msgrcv): Don't use CHECK_N.
8427 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8428 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8429 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8430 (__libc_writev): Don't use CHECK_N.
8431
b84660a8
RM
84322013-02-08 Roland McGrath <roland@hack.frob.com>
8433
7f3e75f8
RM
8434 * string/strcpy.c: Removed unused variable.
8435
b84660a8
RM
8436 * Makeconfig (+sysdep-includes): Define with := rather than =.
8437 Use an existing include/ subdir of each sysdeps dir before it.
8438
471514d3
CD
84392013-02-08 Carlos O'Donell <carlos@redhat.com>
8440
8441 * nscd/connection.c (register_traced_file): Comment function.
8442 [HAVE_INOTIFY] (union __inev): Define.
8443 [HAVE_INOTIFY] (inotify_check_files): New function.
8444 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8445 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8446 clear_db_cache.
8447 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8448
b2d3c3be
CD
84492013-02-08 Carlos O'Donell <carlos@redhat.com>
8450
8451 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8452 loaded if not already and that a failure is permanent.
8453
b39949d2
CD
84542013-02-08 Carlos O'Donell <carlos@redhat.com>
8455
ddacd1db 8456 [BZ #15006]
b39949d2
CD
8457 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8458 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8459
b2c9eff4
JM
84602013-02-08 Joseph Myers <joseph@codesourcery.com>
8461
f3aae3f3
JM
8462 [BZ #13550]
8463 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8464 (CHECK_1_NULL_OK): Likewise.
8465 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8466 (__fxstat): Do not use CHECK_1.
8467 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8468 <bp-checks.h>.
8469 (___fxstat64): Do not use CHECK_1.
8470 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8471 <bp-checks.h>.
8472 (__fxstatat): Do not use CHECK_1.
8473 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8474 <bp-checks.h>.
8475 (__fxstatat64): Do not use CHECK_1.
8476 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8477 <bp-checks.h>.
8478 (__fxstat): Do not use CHECK_1.
8479 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8480 <bp-checks.h>.
8481 (__fxstatat): Do not use CHECK_1.
8482 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8483 <bp-checks.h>.
8484 (__getresgid): Do not use CHECK_1.
8485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8486 <bp-checks.h>.
8487 (__getresuid): Do not use CHECK_1.
8488 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8489 <bp-checks.h>.
8490 (__lxstat): Do not use CHECK_1.
8491 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8492 <bp-checks.h>.
8493 (__old_msgctl): Do not use CHECK_1.
8494 (__new_msgctl): Likewise.
8495 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8496 <bp-checks.h>.
8497 (__new_setrlimit): Do not use CHECK_1.
8498 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8499 <bp-checks.h>.
8500 (__old_shmctl): Do not use CHECK_1.
8501 (__new_shmctl): Likewise.
8502 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8503 <bp-checks.h>.
8504 (__xstat): Do not use CHECK_1.
8505 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8506 (__lxstat): Do not use CHECK_1.
8507 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8508 <bp-checks.h>.
8509 (___lxstat64): Do not use CHECK_1.
8510 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8511 (__old_msgctl): Do not use CHECK_1.
8512 (__new_msgctl): Likewise.
8513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8514 <bp-checks.h>.
8515 (__gettimeofday): Do not use CHECK_1.
8516 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8517 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8519 <bp-checks.h>.
8520 (__gettimeofday): Do not use CHECK_1.
8521 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8522 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8523 (__new_shmctl): Do not use CHECK_1.
8524 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8525 <bp-checks.h>.
8526 (do_sigtimedwait): Do not use CHECK_1.
8527 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8528 <bp-checks.h>.
8529 (do_sigwaitinfo): Do not use CHECK_1.
8530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8531 <bp-checks.h>.
8532 (msgctl): Do not use CHECK_1.
8533 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8534 <bp-checks.h>.
8535 (shmctl): Do not use CHECK_1.
8536 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8537 (ustat): Do not use CHECK_1.
8538 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8539 <bp-checks.h>.
8540 (__fxstat): Do not use CHECK_1.
8541 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8542 <bp-checks.h>.
8543 (__fxstatat): Do not use CHECK_1.
8544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8545 <bp-checks.h>.
8546 (__lxstat): Do not use CHECK_1.
8547 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8548 <bp-checks.h>.
8549 (__xstat): Do not use CHECK_1.
8550 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8551 (__xstat): Do not use CHECK_1.
8552 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8553 (___xstat64): Do not use CHECK_1.
8554
b2c9eff4
JM
8555 [BZ #13550]
8556 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8557 definitions.
8558 (CHECK_BOUNDS_HIGH): Likewise.
8559 * string/strcpy.c: Do not include <bp-checks.h>.
8560 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8561
f1d70dad
RM
85622013-02-07 Roland McGrath <roland@hack.frob.com>
8563
8564 * nscd/nscd-client.h (__nscd_drop_map_ref):
8565 Add __attribute__ ((unused)).
8566 * nis/nss-nisplus.h (niserr2nss): Likewise.
8567
8568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8569 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8570
8571 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8572 Remove inline keyword.
8573 * include/rounding-mode.h (round_away): Likewise.
8574 * libio/wfileops.c (adjust_wide_data): Likewise.
8575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8576 (__m128i_strloadu_tolower): Likewise.
8577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8578 (__m128i_strloadu_tolower): Likewise.
8579 * time/mktime.c (ydhms_diff): Likewise.
8580 * locale/elem-hash.h (elem_hash): Likewise.
8581 * locale/setlocale.c (setdata): Likewise.
8582 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8583 (re_string_wchar_at): Likewise.
8584 (bitset_not, bitset_merge, bitset_mask): Likewise.
8585 [!(__GNUC__ > 3)] (inline): Remove macro.
8586 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8587 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8588 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8589 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8590 * string/memcmp.c (memcmp_bytes): Likewise.
8591 * locale/programs/locarchive.c (compute_hashval): Likewise.
8592 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8593 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8594 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8595 * nss/getent.c (print_rpc, print_protocols): Likewise.
8596 (print_passwd, print_group, print_aliases): Likewise.
8597 * nis/nss-nisplus.h (niserr2nss): Likewise.
8598 * nscd/connections.c (restart_p): Likewise.
8599 Change return type to bool.
8600
eab55bfb
RM
86012013-02-05 Roland McGrath <roland@hack.frob.com>
8602
7bd642f5
RM
8603 * Makeconfig (all-Depend-files): Add existing
8604 $(sorted-subdirs:=/Depend) files.
8605 (all-subdirs): Remove nss.
8606 * sysdeps/unix/inet/Subdirs: Add it here instead.
8607 * hesiod/Depend: New file.
8608
573c29b2
RM
8609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8610 instead of calling alloca.
8611
b2e25af0
RM
8612 * io/lseek.c (__lseek): Rename to __libc_lseek.
8613 Define __lseek as an alias.
8614
eab55bfb
RM
8615 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8616
9a0d1941
CD
86172013-02-04 Carlos O'Donell <carlos@redhat.com>
8618
8619 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8620 else clause and remove check for non-standard endianness.
8621
b83bbec4
DM
86222013-02-04 David S. Miller <davem@davemloft.net>
8623
8624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8625
6277fdab
JM
86262013-02-04 Joseph Myers <joseph@codesourcery.com>
8627
8628 [BZ #13550]
8629 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8630 (__ubp_memchr): Remove prototype.
8631 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8632 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8633 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8634 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8635 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8636 Remove alias.
8637 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8638 (__ubp_memchr): Likewise.
8639 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8640 (__ubp_memchr): Likewise.
8641 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8642 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8643 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8645 CHECK_STRING.
8646 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8647 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8648 (__getcwd): Do not use CHECK_STRING.
8649 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8650 <bp-checks.h>.
8651 (__real_chown): Do not use CHECK_STRING.
8652 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8653 <bp-checks.h>.
8654 (fchownat): Do not use CHECK_STRING.
8655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8656 CHECK_STRING.
8657 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8658 <bp-checks.h>.
8659 (__lchown): Do not use CHECK_STRING.
8660 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8661 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8662 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8663 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8665 include <bp-checks.h>.
8666 (truncate64): Do not use CHECK_STRING.
8667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8668 <bp-checks.h>.
8669 (__real_chown): Do not use CHECK_STRING.
8670 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8671 <bp-checks.h>.
8672 (__lchown): Do not use CHECK_STRING.
8673 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8674 <bp-checks.h>.
8675 (__chown): Do not use CHECK_STRING.
8676 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8677 <bp-checks.h>.
8678 (truncate64): Do not use CHECK_STRING.
8679 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8680 Likewise.
8681 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8682 (__xmknod): Do not use CHECK_STRING.
8683 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8684 <bp-checks.h>.
8685 (__xmknodat): Do not use CHECK_STRING.
8686 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8687 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8688
903ae060
AS
86892013-02-04 Andreas Schwab <schwab@suse.de>
8690
8691 [BZ #14142]
8692 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8693 * include/netdb.h: Likewise for h_errno.
8694 * elf/tst-stackguard1.c: Include <tls.h>.
8695
542f9466
JK
86962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8697
8698 * elf/link.h (struct link_map): Extend the l_addr comment.
8699 * include/link.h (struct link_map): Likewise.
8700
e782a927
JM
87012013-02-01 Joseph Myers <joseph@codesourcery.com>
8702
8703 [BZ #13550]
8704 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8705 (BOUNDED_1): Remove macro.
8706 * debug/backtrace.c: Don't include <bp-checks.h>.
8707 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8708 (__backtrace): Likewise.
8709 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8710 <bp-checks.h>.
8711 (__backtrace): Don't use BOUNDED_1.
8712 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8713 <bp-checks.h>.
8714 (__backtrace): Don't use BOUNDED_1.
8715 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8716 (__backtrace): Don't use BOUNDED_1.
8717 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8718 (shmat): Don't use BOUNDED_N.
8719
8cf28c5e
JM
87202013-01-31 Joseph Myers <joseph@codesourcery.com>
8721
3a7ac8a0
JM
8722 [BZ #13550]
8723 * sysdeps/generic/bp-start.h: Remove file.
8724 * csu/libc-start.c: Don't include <bp-start.h>.
8725 (LIBC_START_MAIN): Set up __environ directly instead of using
8726 INIT_ARGV_and_ENVIRON.
8727 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8728 <bp-start.h>.
8729
f3499f95
JM
8730 [BZ #13550]
8731 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8732 definitions.
8733 (CHECK_FCNTL): Likewise.
8734 (CHECK_N_PAGES): Likewise.
8735
32a45bea
JM
8736 [BZ #13550]
8737 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8738 definitions.
8739 (CHECK_SIGSET_NULL_OK): Likewise.
8740 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8741 <bp-checks.h>.
8742 (sigpending): Don't use CHECK_SIGSET.
8743 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8744 <bp-checks.h>.
8745 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8746 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8747 <bp-checks.h>.
8748 (do_sigsuspend): Don't use CHECK_SIGSET.
8749 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8750 use CHECK_SIGSET.
8751 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8752 (do_sigwait): Don't use CHECK_SIGSET.
8753 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8754 use CHECK_SIGSET.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8756 include <bp-checks.h>.
8757 (sigpending): Don't use CHECK_SIGSET.
8758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8759 include <bp-checks.h>.
8760 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8761 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8762 <bp-checks.h>.
8763 (sigpending): Don't use CHECK_SIGSET.
8764 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8765 <bp-checks.h>.
8766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8767
2e8a5c8c
JM
8768 [BZ #13550]
8769 * sysdeps/generic/bp-semctl.h: Remove file.
8770 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8771 <bp-checks.h> and <bp-semctl.h>.
8772 (__old_semctl): Don't use CHECK_SEMCTL.
8773 (__new_semctl): Likewise.
8774 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8775 and <bp-semctl.h>.
8776 (__old_semctl): Don't use CHECK_SEMCTL.
8777 (__new_semctl): Likewise.
8778 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8779 <bp-checks.h> and <bp-semctl.h>.
8780 (__old_semctl): Don't use CHECK_SEMCTL.
8781 (__new_semctl): Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8783 <bp-checks.h> and <bp-semctl.h>.
8784 (semctl): Don't use CHECK_SEMCTL.
8785
c2d54929
JM
8786 [BZ #13550]
8787 * Makerules (elide-bp-thunks): Remove variable.
8788 (elide-routines.oS): Don't use $(elide-bp-thunks).
8789 (elide-routines.os): Likewise.
8790 (elide-routines.o): Likewise.
8791 (elide-routines.op): Likewise.
8792 (elide-routines.og): Likewise.
8793 (objects): Don't use $(bp-thunks).
8794 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8795 include.
8796 (common-generated): Do not add s-proto-bp.d.
8797 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8798 (int): Likewise.
8799 (typ): Likewise.
8800 Do not generate makefile rules for bounded-pointer thunks.
8801 * sysdeps/generic/bp-thunks.h: Remove file.
8802 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8803 * sysdeps/unix/s-proto-bp.S: Likewise.
8804
8cf28c5e
JM
8805 [BZ #15062]
8806 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8807 parts of result separately when argument is not close to line from
8808 -i to i and one part of argument is small.
8809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8811 * math/libm-test.inc (cacos_test): Add more tests.
8812 (casin_test): Likewise.
8813 (casinh_test): Likewise.
8814 * sysdeps/i386/fpu/libm-test-ulps: Update.
8815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8816
c4e33b8d
DM
88172013-01-31 David S. Miller <davem@davemloft.net>
8818
8819 * po/de.po: Update from translation team.
8820
3b60b421
MK
88212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8822
8823 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8824
bb931195
TS
88252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8826
b5a5da23
TS
8827 * configure.in (_AC_PROG_CC_C89): New definition.
8828 * configure: Regenerate.
8829
bb931195
TS
8830 * configure.in (AC_PROG_CPP): New definition.
8831 * configure: Regenerate.
8832
8c53a12c
JM
88332013-01-23 Joseph Myers <joseph@codesourcery.com>
8834
8835 * debug/tst-backtrace.h: New file.
8836 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8837 (ret): Remove variable.
8838 (x): Likewise.
8839 (FAIL): Remove macro.
8840 (NO_INLINE): Likewise.
8841 (fn1): Use match function instead of strstr.
8842 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8843 (ret): Remove variable.
8844 (x): Likewise.
8845 (FAIL): Remove macro.
8846 (NO_INLINE): Likewise.
8847 (fn): Use match function instead of strstr.
8848 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8849 (ret): Remove variable.
8850 (x): Likewise.
8851 (FAIL): Remove macro.
8852 (NO_INLINE): Likewise.
8853 (handle_signal): Use match function instead of strstr.
8854 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8855 (ret): Remove variable.
8856 (x): Likewise.
8857 (FAIL): Remove macro.
8858 (NO_INLINE): Likewise.
8859 (handle_signal): Use match function instead of strstr.
8860
4858fa2a
RM
88612013-01-23 Roland McGrath <roland@hack.frob.com>
8862
8863 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8864
bae8e7f5
DM
88652013-01-23 David S. Miller <davem@davemloft.net>
8866
8867 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8868 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8869 argument of CAS if possible.
8870 * sysdeps/sparc/sparc64/bits/atomic.h
8871 (__arch_compare_and_exchange_val_32_acq): Likewise.
8872 (__arch_compare_and_exchange_val_64_acq): Likewise.
8873
9cbbc4ae
PT
88742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8875
8876 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8877 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8878 Include <limits.h>.
67b3f58c 8879 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8880
5655a0b5
AC
88812013-01-23 Adam Conrad <adconrad@0c3.net>
8882
8883 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8884 (LDFLAGS-tst-array5): Likewise.
8885
052aff95
JM
88862013-01-23 Joseph Myers <joseph@codesourcery.com>
8887
8888 [BZ #15036]
8889 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8890 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8891 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8892 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8893
7c1e01aa
DM
88942013-01-21 David S. Miller <davem@davemloft.net>
8895
8896 * sysdeps/sparc/backtrace.c: New file.
8897 * sysdeps/sparc/sparc32/backtrace.h: New file.
8898 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8899 * sysdeps/sparc/sparc64/backtrace.h: New file.
8900 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8901 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8902 -funwind-tables.
8903
ab087e0a
AS
89042013-01-21 Andreas Schwab <schwab@suse.de>
8905
8906 [BZ #15020]
8907 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8908 closed its stdout.
8909
ed689c2f
AS
89102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8911
8912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8913 "mpa2.h".
8914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8915
31d470ac
JM
89162013-01-18 Joseph Myers <joseph@codesourcery.com>
8917 Mark Mitchell <mark@codesourcery.com>
8918 Tom de Vries <tom@codesourcery.com>
8919 Paul Pluzhnikov <ppluzhnikov@google.com>
8920
8921 * debug/tst-backtrace2.c: New file.
8922 * debug/tst-backtrace3.c: Likewise.
8923 * debug/tst-backtrace4.c: Likewise.
8924 * debug/tst-backtrace5.c: Likewise.
8925 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8926 (CFLAGS-tst-backtrace3.c): Likewise.
8927 (CFLAGS-tst-backtrace4.c): Likewise.
8928 (CFLAGS-tst-backtrace5.c): Likewise.
8929 (LDFLAGS-tst-backtrace2): Likewise.
8930 (LDFLAGS-tst-backtrace3): Likewise.
8931 (LDFLAGS-tst-backtrace4): Likewise.
8932 (LDFLAGS-tst-backtrace5): Likewise.
8933 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8934 tst-backtrace4 and tst-backtrace5.
8935
90567f30 89362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8937 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8938
8939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8940 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8941 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8942 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8944 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8945 "+r" and remove output regs list as redundant. Add explicit inline
8946 asm to specify register of return val to work around compiler codegen
8947 bug. Remove (int) cast on return value. Add return type parameter to
8948 use in macro so that this macro does not truncate return value for
8949 64-bit values.
8950 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8951 pass to INTERNAL_VSYSCALL_NCS.
8952 (INLINE_VSYSCALL): Add 'long int' as return type to
8953 INTERNAL_VSYSCALL_NCS macro invocation.
8954 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8955 INTERNAL_VSYSCALL_NCS macro invocation.
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8957
d3b9ea61
SP
89582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
0b57daeb
SP
8960 [BZ #14496]
8961 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8962 Fix application of SIMD FP exception mask.
8963
caa99d06
SP
8964 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8965 mp_no from a power of two.
8966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8967 __mpexp_twomm1. Use __pow_mp.
8968
d3b9ea61
SP
8969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8970 multiplication.
8971
1dbaee3c
DM
89722013-01-17 David S. Miller <davem@davemloft.net>
8973
8974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8975
728d7b43
JM
89762013-01-17 Joseph Myers <joseph@codesourcery.com>
8977
8978 [BZ #15023]
8979 * include/complex.h: Condition contents on [!_COMPLEX_H].
8980 (__kernel_casinhf): New prototype.
8981 (__kernel_casinh): Likewise.
8982 (__kernel_casinhl): Likewise.
8983 * math/Makefile (libm_calls): Add k_casinh.
8984 * math/k_casinh.c: New file.
8985 * math/k_casinhf.c: Likewise.
8986 * math/k_casinhl.c: Likewise.
8987 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8988 finite nonzero arguments.
8989 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8990 finite nonzero arguments.
8991 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8992 finite nonzero arguments.
8993 * math/s_casinh.c: Do not include <float.h>.
8994 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8995 * math/s_casinhf.c: Do not include <float.h>.
8996 (__casinhf): Move code for finite nonzero arguments to
8997 k_casinhf.c.
8998 * math/s_casinhl.c: Do not include <float.h>.
8999 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9000 redefine.
9001 (__casinhl): Move code for finite nonzero arguments to
9002 k_casinhl.c.
9003 * math/libm-test.inc (cacos_test): Add more tests.
9004 * sysdeps/i386/fpu/libm-test-ulps: Update.
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9006
2a26ef3a
PT
90072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9008
9009 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9010 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9011 [!HAVE_MREMAP]: Remove [defined linux] case.
9012 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9013
a897655d
SP
90142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9015
9016 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9017
881ebe89 90182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9019
9020 * elf/elf.h (R_386_SIZE32): New relocation.
9021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9022 R_386_SIZE32.
9023 (elf_machine_rela): Likewise.
9024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9025 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9026
59981e9b
JM
90272013-01-17 Joseph Myers <joseph@codesourcery.com>
9028
9029 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9030 (FP_FAST_FMA): Do not define.
9031 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9032 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9033 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9034 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9035 !_SOFT_FLOAT]: Likewise.
9036 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9038 value.
9039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9040 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9042 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9043 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9044 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9045 file.
9046
cfa8054f
AS
90472013-01-16 Andreas Schwab <schwab@suse.de>
9048
9049 [BZ #14327]
9050 * include/stdlib.h (__mktemp): Add declaration.
9051 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9052 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9053
dd930cc5
SP
90542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
881ebe89
SP
9056 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9057 definitions.
9058 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9059 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9060 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9061 definitions here.
9062 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9063 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9064 definitions.
9065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9066 and ONE.
9067 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9068 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9069 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9070 definitions.
9071 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9072 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9073 definitions.
9074 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9075
dd930cc5
SP
9076 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9077
c19a9f89
DM
90782013-01-15 David S. Miller <davem@davemloft.net>
9079
1aa61767
DM
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9081 trunc{,f} to libm-sysdep_routes.
9082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9084 file.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9087 file.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9089 file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9097 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9098
c42d5e98
DM
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9100 nearbyint{,f} to libm-sysdep_routes.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9103 New file.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9105 file.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9107 New file.
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9109 file.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9112 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9113 file.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9116 file.
9117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9118 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9119 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9120
c19a9f89
DM
9121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9122 libc_feholdexcept and libc_fesetenv.
9123
357679d2
MF
91242013-01-15 Mike Frysinger <vapier@gentoo.org>
9125
9126 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9127
65a82e3d
DM
91282013-01-14 David S. Miller <davem@davemloft.net>
9129
8b954ab9
DM
9130 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9131 (SPARC_ASM_VIS2_IFUNC): Likewise.
9132 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9134 use of 'siam' instruction.
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9136 Likewise.
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9138 Likewise.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9140 Likewise.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9146 file.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9148 file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9150 file.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9152 file.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9158 new VIS2 routines.
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9162 Likewise.
9163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9168 routines to libm-sysdep_routines.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9170
65a82e3d
DM
9171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9172 fdim/fdimf to libm-sysdep_routines.
9173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9174 file.
9175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9177 file.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9181 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9182 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9184 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9185
e34ab705
SP
91862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9187
2a91b573
SP
9188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9189 to optimize copies.
9190
1066a534
SP
9191 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9194
e34ab705
SP
9195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9196 local variable MPTWO.
9197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9198 Likewise.
9199
aba5e596
MF
92002013-01-13 Mike Frysinger <vapier@gentoo.org>
9201
9202 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9203 GLOB_NOESCAPE.
9204
e557e9e5
MF
92052013-01-13 Mike Frysinger <vapier@gentoo.org>
9206
9207 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9208
0428cec9
MF
92092013-01-13 Mike Frysinger <vapier@gentoo.org>
9210
9211 * manual/pattern.texi (glob_t): Document gl_flags.
9212 (glob64_t): Likewise.
9213
8794a964
DM
92142013-01-11 David S. Miller <davem@davemloft.net>
9215
66438c3f
RM
9216 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9217 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9218 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9219 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9220 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9221 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9223 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9224 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9225 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9226 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9227 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9228 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9229
4ae4244d
DM
9230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9231 sparc V9 rather than using V8 code.
9232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9234
8794a964
DM
9235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9236 Move to...
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9238 Here.
9239
6270516e
RM
92402013-01-11 Roland McGrath <roland@hack.frob.com>
9241
9242 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9243 not in the main loop.
9244 * configure: Regenerated.
9245
6a57d931
JM
92462013-01-11 Joseph Myers <joseph@codesourcery.com>
9247
9248 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9249 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9250 to just #else.
9251 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9252 [!__GLIBC_HAVE_LONG_LONG] case.
9253 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9254 condition to just #else.
9255 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9256 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9257 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9258 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9259 unconditional.
9260 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9261 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9262 #elif condition to just #else.
9263 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9264 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9265 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9266 #elif condition to just #else.
9267
0e8529e9
SE
92682013-01-11 Steve Ellcey <sellcey@mips.com>
9269
9270 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9271 (EF_MIPS_ARCH_64): Fix value.
9272 (EF_MIPS_ARCH_32R2): New.
9273 (EF_MIPS_ARCH_64R2): New.
9274
740b3dbe
L
92752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9276
9277 * Makeconfig (+link-pie-before-libc): New.
9278 (+link-pie-after-libc): Likewise.
9279 (+link-pie-tests): Likewise.
9280 (+link-pie): Rewritten.
9281 (link-before-libc): Remove $(config-LDFLAGS).
9282 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9283 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9284 (config-LDFLAGS): Renamed to ...
9285 (rtld-LDFLAGS): This.
9286 (rtld-tests-LDFLAGS): New macro.
9287 (link-libc-rpath-link): Likewise.
9288 (link-libc-tests-rpath-link): Likewise.
9289 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9290 (link-libc): Prepand $(link-libc-rpath-link).
9291 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9292 (test-program-prefix): New macro.
9293 (test-via-rtld-prefix): Likewise.
9294 (test-program-cmd): Likewise.
9295 (host-test-program-cmd): Likewise.
9296 * Makefile ($(common-objpfx)testrun.sh): Replace
9297 $(run-program-prefix) with $(test-program-prefix).
9298 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9299 $(rtld-LDFLAGS).
9300 ($(common-objpfx)shlib.lds): Likewise.
9301 (build-module-helper): Likewise.
9302 ($(common-objpfx)format.lds): Likewise.
9303 * Rules (binaries-pie-tests): New.
9304 (binaries-pie-notests): Likewise.
9305 (binaries-pie): Rewritten.
9306 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9307 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9308 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9309 (make-test-out): Replace $(host-built-program-cmd) with
9310 $(host-test-program-cmd).
9311 * config.make.in (build-hardcoded-path-in-tests): New variable.
9312 * configure.in (--enable-hardcoded-path-in-tests): New configure
9313 option.
9314 (hardcoded_path_in_tests): New AC_SUBST.
9315 * configure: Regenerated.
9316 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9317 $(built-program-cmd) with $(test-program-cmd).
9318 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9319 (test_program_cmd): This.
9320 * elf/Makefile ($(objpfx)order.out): Run test with
9321 $(test-program-prefix).
9322 ($(objpfx)order2.out): Likewise.
9323 ($(objpfx)tst-initorder.out): Likewise.
9324 ($(objpfx)tst-initorder2.out): Likewise.
9325 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9326 $(test-program-cmd).
9327 ($(objpfx)tst-array1-static.out): Likewise.
9328 ($(objpfx)tst-array2.out): Likewise.
9329 ($(objpfx)tst-array3.out): Likewise.
9330 ($(objpfx)tst-array4.out): Likewise.
9331 ($(objpfx)tst-array5.out): Likewise.
9332 ($(objpfx)tst-array5-static.out): Likewise.
9333 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9334 $(test-program-cmd).
9335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9336 $(run-program-prefix) with $(test-program-prefix).
9337 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9338 (test_program_prefix): This.
9339 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9340 $(run-program-prefix) with $(test-program-prefix).
9341 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9342 (test_program_prefix): This.
9343 * iconvdata/tst-tables.sh: Likewise.
9344 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9345 $(run-program-prefix) with $(test-program-prefix).
9346 ($(objpfx)tst-translit.out): Likewise.
9347 ($(objpfx)tst-gettext2.out): Likewise.
9348 ($(objpfx)tst-gettext4.out): Likewise.
9349 ($(objpfx)tst-gettext6.out): Likewise.
9350 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9351 (test_program_prefix): This.
9352 * intl/tst-gettext2.sh: Likewise.
9353 * intl/tst-gettext4.sh Likewise.
9354 * intl/tst-gettext6.sh: Likewise.
9355 * intl/tst-translit.sh: Likewise.
9356 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9357 with $(test-program-cmd).
9358 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9359 $(run-program-prefix) with $(test-program-prefix).
9360 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9361 (test_program_prefix): This.
9362 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9363 $(run-program-prefix) with $(test-program-prefix).
9364 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9365 (test_program_prefix): This.
9366 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9367 * posix/Makefile ($(objpfx)globtest.out): Replace
9368 $(run-via-rtld-prefix) and $(test-wrapper) with
9369 $(test-program-prefix) and $(test-via-rtld-prefix).
9370 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9371 $(test-program-prefix).
9372 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9373 $(host-test-program-cmd).
9374 (tst-spawn-ARGS): Likewise.
9375 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9376 $(test-program-prefix).
9377 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9378 (test_via_rtld_prefix): This.
9379 (test_wrapper): Renamed to ...
9380 (test_program_prefix): This.
9381 (run_program_prefix): Replaced by test_program_prefix.
9382 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9383 (test_program_prefix): This.
9384 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9385 with $(host-test-program-cmd).
9386 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9387 $(run-program-prefix) with $(test-program-prefix).
9388 ($(objpfx)tst-printf.out): Likewise.
9389 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9390 $(test-program-cmd).
9391 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9392 (test_program_prefix): This.
9393 * stdio-common/tst-unbputc.sh: Likewise.
9394 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9395 $(run-program-prefix) with $(test-program-prefix).
9396 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9397 (test_program_prefix): This.
9398 * string/Makefile ($(objpfx)tst-svc.out): Replace
9399 $(built-program-cmd) with $(test-program-cmd).
9400
c6fe55cf
AJ
94012013-01-11 Andreas Jaeger <aj@suse.de>
9402
9403 [BZ #15003]
9404 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9405 value. Sync with Linux 3.7.
9406
9e6919c8
DM
94072013-01-10 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9412
1c9f1a02
RM
94132013-01-10 Roland McGrath <roland@hack.frob.com>
9414
9415 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9416 never set.
9417 * configure: Regenerated.
9418
b9de2dde
DM
94192013-01-10 David S. Miller <davem@davemloft.net>
9420
9421 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9422 sparc V9 rather than using V8 code.
9423 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9424 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9425
e7f68ef4
RM
94262013-01-10 Roland McGrath <roland@hack.frob.com>
9427
9428 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9429 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9430 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9431 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9432 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9433 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9434 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9435 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9436 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9437 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9438 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9439 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9440 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9441 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9442 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9443 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9444 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9445 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9446 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9447 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9448 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9449 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9450 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9451 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9452 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9453 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9454 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9455
5a47cc9c
DM
94562013-01-10 David S. Miller <davem@davemloft.net>
9457
9458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9459
4cf8f209
L
94602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9461
9462 * posix/Makefile (tests-static): New variable.
9463 (tests): Add $(tests-static).
9464 (tst-exec-static-ARGS): New variable.
9465 (tst-spawn-static-ARGS): Likewise.
9466 * posix/tst-exec-static.c: New file.
9467 * posix/tst-spawn-static.c: Likewise.
9468 * posix/tst-exec.c: Support run directly.
9469 * posix/tst-spawn.c: Likewise.
9470
fed0faa1
JM
94712013-01-10 Joseph Myers <joseph@codesourcery.com>
9472
828beb13
JM
9473 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9474 long.
9475 * math/bits/mathcalls.h (llrint): Likewise.
9476 (llround): Likewise.
9477 * stdlib/stdlib.h (struct drand48_data): Likewise.
9478 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9479 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9481 Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9483 Likewise.
9484 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9485 (elf_greg_t): Likewise.
9486 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9487 (__jmp_buf): Likewise.
9488 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9489 definitions.
9490 (llrint): Likewise, for all definitions.
9491 (llrintl): Likewise.
9492
fed0faa1
JM
9493 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9494 Remove [__GNUC__] condition.
9495 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9496 condition to just [__USE_ISOC99].
9497 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9498
1a20cb20
L
94992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9500
9501 [BZ #14200]
9502 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9503 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9504 defined.
9505 (_POSIX_V6_ILP32_OFF32): Likewise.
9506 (_XBS5_ILP32_OFF32): Likewise.
9507 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9508 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9509
751b85f7
SP
95102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9511
7490eb81
SP
9512 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9513
751b85f7
SP
9514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9515 doubles __mpexp_twomm1. Adjust usage.
9516 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9517 Remove.
9518
988197f0
AS
95192013-01-10 Andreas Schwab <schwab@suse.de>
9520
9521 [BZ #14964]
9522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9523 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9524
e83d7298
DM
95252013-01-09 David S. Miller <davem@davemloft.net>
9526
034ed64b 9527 [BZ #15003]
e83d7298
DM
9528 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9529 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9530 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9531 TCP_FASTOPEN): Define.
9532 (tcp_repair_opt): New structure.
9533 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9534 enum values.
9535 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9536 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9537 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9538 (tcp_cookie_transactions): New structure.
9539
d5e0b9bd
AB
95402013-01-09 Anton Blanchard <anton@samba.org>
9541
9542 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9543 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9545 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9546
0c07e3ea
JM
95472013-01-09 Joseph Myers <joseph@codesourcery.com>
9548
9549 * include/features.h (__USE_ANSI): Remove.
9550
232f7002
RM
95512013-01-09 Roland McGrath <roland@hack.frob.com>
9552
ad98e30c
RM
9553 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9554
232f7002
RM
9555 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9556
950c99ca
SP
95572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9558
b5792741
SP
9559 * sysdeps/s390/fpu/libm-test-ulps: Update.
9560
47cf2278
SP
9561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9562
950c99ca
SP
9563 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9564 (__acr): Likewise.
9565 (__cpy): Likewise.
9566 (norm): Likewise.
9567 (denorm): Likewise.
9568 (__mp_dbl): Likewise.
9569 (__dbl_mp): Likewise.
9570 (add_magnitudes): Likewise.
9571 (sub_magnitudes): Likewise.
9572 (__add): Likewise.
9573 (__sub): Likewise.
9574 (__mul): Likewise.
9575 (__inv): Likewise.
9576 (__dvd): Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9578 (__acr): Likewise.
9579 (__cpy): Likewise.
9580 (norm): Likewise.
9581 (denorm): Likewise.
9582 (__mp_dbl): Likewise.
9583 (__dbl_mp): Likewise.
9584 (add_magnitudes): Likewise.
9585 (sub_magnitudes): Likewise.
9586 (__add): Likewise.
9587 (__sub): Likewise.
9588 (__mul): Likewise.
9589 (__inv): Likewise.
9590 (__dvd): Likewise.
9591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9592 (__acr): Likewise.
9593 (__cpy): Likewise.
9594 (norm): Likewise.
9595 (denorm): Likewise.
9596 (__mp_dbl): Likewise.
9597 (__dbl_mp): Likewise.
9598 (add_magnitudes): Likewise.
9599 (sub_magnitudes): Likewise.
9600 (__add): Likewise.
9601 (__sub): Likewise.
9602 (__mul): Likewise.
9603 (__inv): Likewise.
9604 (__dvd): Likewise.
9605
eede9df9
JM
96062013-01-08 Joseph Myers <joseph@codesourcery.com>
9607
9608 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9609 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9610 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9611 2 && __USE_EXTERN_INLINES]: Likewise.
9612
c40ea3d9
AJ
96132013-01-08 Andreas Jaeger <aj@suse.de>
9614
9615 [BZ# 14985]
9616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9617 Remove.
9618 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9619 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9620
2ccdea26
AB
96212013-01-07 Anton Blanchard <anton@samba.org>
9622
9623 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9624 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9625 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9627 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9628 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9629 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9641 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9643 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9646 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9647 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9649 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9650 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9653 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9665 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9666
a9708fed
JM
96672013-01-07 Joseph Myers <joseph@codesourcery.com>
9668
375607b9
JM
9669 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9670 (__MALLOC_PMT): Likewise.
9671 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9672 [__GNUC__], only on [_LIBC].
9673 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9674 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9675 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9676 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9677 forward declaration.
9678 (realloc_hook_ini): Likewise.
9679 (memalign_hook_ini): Likewise.
9680 (__libc_memalign): Do not use __MALLOC_PMT in variable
9681 declaration.
9682 (__libc_valloc): Likewise.
9683 (__libc_pvalloc): Likewise.
9684 (__libc_calloc): Likewise.
9685 (__posix_memalign): Likewise.
9686
a9708fed
JM
9687 [BZ #14996]
9688 * math/s_casinh.c: Include <float.h>.
9689 (__casinh): Do not do computation with squaring and square root
9690 for large arguments.
9691 * math/s_casinhf.c: Include <float.h>.
9692 (__casinhf): Do not do computation with squaring and square root
9693 for large arguments.
9694 * math/s_casinhl.c: Include <float.h>.
9695 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9696 (__casinhl): Do not do computation with squaring and square root
9697 for large arguments.
9698 * math/libm-test.inc (casin_test): Add more tests.
9699 (casinh_test): Likewise.
9700 * sysdeps/i386/fpu/libm-test-ulps: Update.
9701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702
afec409a
L
97032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9704
9705 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9706 (__x86_64_raw_data_cache_size): Likewise.
9707 (__x86_64_data_cache_size_half): Likewise.
9708 (__x86_64_raw_data_cache_size_half): Likewise.
9709 (__x86_64_shared_cache_size): Likewise.
9710 (__x86_64_raw_shared_cache_size): Likewise.
9711 (__x86_64_shared_cache_size_half): Likewise.
9712 (__x86_64_raw_shared_cache_size_half): Likewise.
9713 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9714 to ...
9715 (__x86_data_cache_size): This.
9716 (__x86_64_raw_data_cache_size): Renamed to ...
9717 (__x86_raw_data_cache_size): This.
9718 (__x86_64_data_cache_size_half): Renamed to ...
9719 (__x86_data_cache_size_half): This.
9720 (__x86_64_raw_data_cache_size_half): Renamed to ...
9721 (__x86_raw_data_cache_size_half): This.
9722 (__x86_64_shared_cache_size): Renamed to ...
9723 (__x86_shared_cache_size): This.
9724 (__x86_64_raw_shared_cache_size): Renamed to ...
9725 (__x86_raw_shared_cache_size): This.
9726 (__x86_64_shared_cache_size_half): Renamed to ...
9727 (__x86_shared_cache_size_half): This.
9728 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9729 (__x86_raw_shared_cache_size_half): This.
9730 * sysdeps/x86_64/memcpy.S: Updated.
9731 * sysdeps/x86_64/memset.S: Likewise.
9732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9735
0b3986d0
DM
97362013-01-04 David S. Miller <davem@davemloft.net>
9737
9738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9739
e47686e9
AS
97402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9741
d643bac1
AS
9742 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9743 1 to avoid redefinition warning.
9744 (__USE_GNU): Don't define.
9745 (init_signaling_nan): Protoize.
9746
e47686e9
AS
9747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9748
b18decba
SP
97492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9750
fffb407f
SP
9751 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9753 (__cpymn): Likewise.
9754 (norm): Remove commented code.
9755 (denorm): Likewise.
9756 (__mp_dbl): Likewise.
9757 (__inv): Likewise.
9758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9759 (__cpymn): Likewise.
9760 (norm): Remove commented code.
9761 (denorm): Likewise.
9762 (__mp_dbl): Likewise.
9763 (__inv): Likewise.
9764
b18decba
SP
9765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9766 mp_no value for 1.0 and 2.0.
9767 (norm): Use RADIXI instead of radixi.d.
9768 (denorm): Likewise.
9769 (__mul): Use 0.0 instead of zero.d.
9770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9771 mp_no value for 1.0 and 2.0.
9772 (norm): Use RADIXI instead of radixi.d.
9773 (denorm): Likewise.
9774 (__mul): Use 0.0 instead of zero.d.
9775
cdc1c96f
JM
97762013-01-04 Joseph Myers <joseph@codesourcery.com>
9777
9778 [BZ #14994]
9779 * math/s_casinh.c (__casinh): Reduce finite argument to first
9780 quadrant then set signs of results at the end.
9781 * math/s_casinhf.c (__casinhf): Likewise.
9782 * math/s_casinhl.c (__casinhl): Likewise.
9783 * math/libm-test.inc (casin_test): Add more tests.
9784 (casinh_test): Likewise.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787
302913e1
SP
97882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9789
6420d207
SP
9790 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9791
a9e48ab4
SP
9792 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9793
b7837264
SP
9794 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9795 declarations.
9796 (denorm): Likewise.
9797 (__mp_dbl): Likewise.
9798 (__inv): Likewise.
9799
f8af25d2
SP
9800 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9801 and adjust the header comment.
9802
302913e1
SP
9803 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9804 variable name from declaration.
9805
5d7dd1ca
L
98062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9809 Initialize COMMON_CPUID_INDEX_7 element.
9810 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9811 (CPUID_RTM): Likewise.
9812 (HAS_RTM): Likewise.
9813 (COMMON_CPUID_INDEX_7): New enum.
9814
2f5f40f4
AS
98152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9816
9817 [BZ #14981]
9818 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9819 size is zero, record memory as freed.
9820
4056f4a0
AJ
98212013-01-03 Andreas Jaeger <aj@suse.de>
9822
9823 * po/ia.po: Add new Interlingua translation.
9824
ab15736f 98252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9826
9827 * locale/programs/localedef.c: Fix description of '--posix' flag.
9828
568035b7
JM
98292013-01-02 Joseph Myers <joseph@codesourcery.com>
9830
e6898b8d
JM
9831 * NEWS: Update dates in second copyright notice.
9832 * README: Update copyright dates in example.
9833 * manual/libc.texinfo: Update copyright dates.
9834 * scripts/test-installation.pl: Update copyright date in --version
9835 output.
9836
0e2f9562
JM
9837 * hurd/ctty-input.c: Fix copyright notice formatting.
9838 * hurd/ctty-output.c: Likewise.
9839 * hurd/dtable.c: Likewise.
9840 * hurd/hurd-raise.c: Likewise.
9841 * hurd/hurdprio.c: Likewise.
9842 * hurd/msgportdemux.c: Likewise.
9843 * misc/sys/file.h: Likewise.
9844 * misc/sys/ioctl.h: Likewise.
9845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9846 * sysdeps/mach/hurd/chdir.c: Likewise.
9847 * sysdeps/mach/hurd/fchdir.c: Likewise.
9848 * sysdeps/mach/hurd/rename.c: Likewise.
9849 * sysdeps/mach/hurd/rmdir.c: Likewise.
9850 * sysdeps/mach/hurd/seekdir.c: Likewise.
9851 * sysdeps/mach/hurd/setsid.c: Likewise.
9852 * sysdeps/posix/wait3.c: Likewise.
9853
568035b7
JM
9854 * All files with FSF copyright notices: Update copyright dates
9855 using scripts/update-copyrights.
9856 * intl/plural.c: Regenerated.
9857 * locale/programs/charmap-kw.h: Likewise.
9858 * locale/programs/locfile-kw.h: Likewise.
9859
da08f647
SP
98602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
0f5477af
SP
9862 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9863 four values.
9864
44e0d4c2
SP
9865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9866 calculation loop and add branch prediction.
9867
4d55b4e5
SP
9868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9869 check access beyond bounds of m1np.
9870
da08f647
SP
9871 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9872 MPTWO.
9873 (__inv): Remove local variable MPTWO to use the global
9874 constant.
9875 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9877 variable MPTWO.
9878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9879 MP3HALFS static const.
9880
8e051029
DM
98812013-01-01 David S. Miller <davem@davemloft.net>
9882
9883 * po/ca.po: Update from translation team.
9884
f4cf5f2d
JM
98852013-01-01 Joseph Myers <joseph@codesourcery.com>
9886
9887 * scripts/update-copyrights: New file.
9888 * Makeconfig: Reformat copyright notice.
9889 * ctype/ctype.h: Likewise.
9890 * debug/swprintf_chk.c: Likewise.
9891 * elf/dl-cache.c: Likewise.
9892 * elf/dl-debug.c: Likewise.
9893 * elf/dl-object.c: Likewise.
9894 * grp/initgroups.c: Likewise.
9895 * hurd/Makefile: Likewise.
9896 * hurd/hurd/signal.h: Likewise.
9897 * hurd/hurdfault.c: Likewise.
9898 * hurd/hurdioctl.c: Likewise.
9899 * hurd/hurdlookup.c: Likewise.
9900 * hurd/intr-msg.c: Likewise.
9901 * iconv/gconv_open.c: Likewise.
9902 * libio/swprintf.c: Likewise.
9903 * locale/lc-ctype.c: Likewise.
9904 * locale/nl_langinfo.c: Likewise.
9905 * mach/Machrules: Likewise.
9906 * mach/Makefile: Likewise.
9907 * malloc/obstack.h: Likewise.
9908 * manual/Makefile: Likewise.
9909 * manual/tsort.awk: Likewise.
9910 * misc/bits/stab.def: Likewise.
9911 * nis/nis_print_group_entry.c: Likewise.
9912 * nis/nis_table.c: Likewise.
9913 * nis/nss_compat/compat-pwd.c: Likewise.
9914 * nis/nss_compat/compat-spwd.c: Likewise.
9915 * po/Makefile: Likewise.
9916 * posix/fnmatch.c: Likewise.
9917 * posix/regex.h: Likewise.
9918 * resolv/Makefile: Likewise.
9919 * resolv/nss_dns/dns-network.c: Likewise.
9920 * resolv/res_hconf.c: Likewise.
9921 * scripts/gen-sorted.awk: Likewise.
9922 * soft-fp/soft-fp.h: Likewise.
9923 * stdio-common/printf.h: Likewise.
9924 * stdlib/monetary.h: Likewise.
9925 * stdlib/random.c: Likewise.
9926 * stdlib/random_r.c: Likewise.
9927 * sysdeps/generic/Makefile: Likewise.
9928 * sysdeps/gnu/Makefile: Likewise.
9929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9944 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9949 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9957 * sysdeps/mach/hurd/errnos.awk: Likewise.
9958 * sysdeps/mach/hurd/fork.c: Likewise.
9959 * sysdeps/mach/hurd/getcwd.c: Likewise.
9960 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9961 * sysdeps/mach/hurd/mmap.c: Likewise.
9962 * sysdeps/mach/hurd/utimes.c: Likewise.
9963 * sysdeps/mach/hurd/xmknod.c: Likewise.
9964 * sysdeps/posix/profil.c: Likewise.
9965 * sysdeps/posix/readdir_r.c: Likewise.
9966 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9967 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9969 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9977 * sysdeps/pthread/lio_listio.c: Likewise.
9978 * sysdeps/sparc/dl-procinfo.h: Likewise.
9979 * sysdeps/unix/i386/sysdep.S: Likewise.
9980 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9981 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9982 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9983 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9985 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9986 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9987 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9988 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9989 * sysdeps/wordsize-32/divdi3.c: Likewise.
9990 * time/sys/time.h: Likewise.
9991 * wcsmbs/Makefile: Likewise.
9992
0549fbba
DM
99932013-01-01 David S. Miller <davem@davemloft.net>
9994
a141f1a7
DM
9995 * po/fr.po: Update from translation team.
9996
0549fbba
DM
9997 * catgets/gencat.c: Update copyright year.
9998 * csu/version.c: Likewise.
9999 * debug/catchsegv.sh: Likewise.
10000 * debug/pcprofiledump.c: Likewise.
10001 * debug/xtrace.sh: Likewise.
10002 * elf/ldconfig.c: Likewise.
10003 * elf/ldd.bash.in: Likewise.
10004 * elf/pldd.c: Likewise.
10005 * elf/sotruss.ksh: Likewise.
10006 * elf/sprof.c: Likewise.
10007 * iconv/iconv_prog.c: Likewise.
10008 * iconv/iconvconfig.c: Likewise.
10009 * locale/programs/locale.c: Likewise.
10010 * locale/programs/localedef.c: Likewise.
10011 * login/programs/pt_chown.c: Likewise.
10012 * malloc/memusage.sh: Likewise.
10013 * malloc/memusagestat.c: Likewise.
10014 * malloc/mtrace.pl: Likewise.
10015 * nscd/nscd.c: Likewise.
10016 * nss/getent.c: Likewise.
10017 * nss/makedb.c: Likewise.
10018 * posix/getconf.c: Likewise.
10019
18ea052c
SP
100202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10021
10022 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10023 numbers.
10024
9c89fca6
MF
100252012-12-30 Mike Frysinger <vapier@gentoo.org>
10026
10027 * math/bits/mathcalls.h (modf): Use __nonnull.
10028
085ec079
SP
100292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10030
10031 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10032 (split): Use macro CN instead of the bare value.
10033 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10034 could be used.
10035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10036 instead of the bare value.
10037 (power1): Likewise.
10038
6d9f97e1
SP
100392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10040
d63f73be
SP
10041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10042 __ATAN_TWOM.
10043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10044
6d9f97e1
SP
10045 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10046 their values.
10047 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10049 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10050 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10051
4c4febf5
AJ
100522012-12-28 Andreas Jaeger <aj@suse.de>
10053
af5843ef
AJ
10054 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10055 values are from Linux 3.7.
10056
4c4febf5
AJ
10057 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10058 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10059
99136f82
SP
100602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10061
2f216c3c 10062 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10063 TRUE case.
10064
99136f82
SP
10065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10066 (norm): Likewise.
10067 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10068 variables with preprocessor constants.
10069 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10070 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10072
7fffbdff
BH
100732012-12-27 Bruno Haible <bruno@clisp.org>
10074
10075 [BZ #14317]
10076 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10077 only if needed.
10078
b76eb5f0
SP
100792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10080
31a7fe5c
SP
10081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10082 and use variable directly.
10083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10084
b76eb5f0
SP
10085 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10086 MPONE.
10087 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10089 variable MPONE.
10090 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10092 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10093 include directive. Remove local variable MPONE.
10094 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10097
2c8bfe7d
DM
100982012-12-25 David S. Miller <davem@davemloft.net>
10099
10100 * version.h (RELEASE): Set to "development".
10101 (VERSION): Set to "2.17.90".
10102 * NEWS: Add 2.18 section.
10103
147d03b0
DM
101042012-12-21 David S. Miller <davem@davemloft.net>
10105
10106 * po/hr.po: Update from translation team.
10107
a8ebb2b9
AK
101082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10109
10110 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10111
95b4f1b6
SE
101122012-12-19 Steve Ellcey <sellcey@mips.com>
10113
b2d94007 10114 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10115
cedb2a90
MS
101162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10117
10118 * manual/contrib.texi (Contributors): Spelling correction.
10119
bbf527d6
DM
101202012-12-15 David S. Miller <davem@davemloft.net>
10121
10122 * po/ru.po: Update from translation team.
10123
bc38c906
DM
101242012-12-13 David S. Miller <davem@davemloft.net>
10125
85429b1a
DM
10126 * NEWS: Mention IFUNC testsuite enhancements.
10127
d283e353
DM
10128 * po/pl.po: Update from translation team.
10129 * po/bg.po: Likewise.
10130
bc38c906
DM
10131 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10132 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10133
a181b0d7
DM
101342012-12-11 David S. Miller <davem@davemloft.net>
10135
4641d57e
DM
10136 * po/sv.po: Update from translation team.
10137
f7bc6495
DM
10138 * po/vi.po: Update from translation team.
10139
6fc9048f
DM
10140 * po/cs.po: Update from translation team.
10141
a181b0d7
DM
10142 * po/de.po: Update from translation team.
10143 * po/eo.po: Likewise.
10144 * po/nl.po: Likewise.
10145
f70bfe80
SP
101462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
3c8b4190
SP
10148 [BZ #14246]
10149 * manual/argp.texi (Argp Helper Functions): Move node to follow
10150 Argp Parsing State.
10151
f70bfe80
SP
10152 [BZ #14872]
10153 * manual/conf.texi (Limits on File System Capacity): Mention if
10154 terminating null is included in the max size.
10155
188f0adf
AJ
101562012-12-10 Andreas Jaeger <aj@suse.de>
10157
10158 * po/cs.po: Update from translation team.
10159
56e7d3ad
SP
101602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10161
10162 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10163 void pointer and cast to uintptr_t.
10164 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10165 path.
10166 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10167 * sysdeps/s390/s390-64/memset.S: Likewise.
10168
76f2d2ea 101692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10170
10171 [BZ #14833]
10172 * menual/message.texi (Message Translation): Fix typos.
10173 (Helper programs for gettext): Likewise.
10174
67cbf9a2
AS
101752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10176
10177 [BZ #14898]
10178 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10179 Change to -1.
10180
682d0e9a
DM
101812012-12-07 David S. Miller <davem@davemloft.net>
10182
10183 * po/libc.pot: Update.
10184
573cd484
RH
101852012-12-07 Richard Henderson <rth@redhat.com>
10186
7e9da188 10187 [BZ #10114]
573cd484
RH
10188 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10189 normal/normal case to before the switch.
10190 (_FP_DIV): Likewise.
10191
e933a943
MF
101922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10193 Mike Frysinger <vapier@gentoo.org>
10194
10195 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10196 check for __NR_fadvise64_64.
10197
82123268
CM
101982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10199
10200 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10201 0, not just to plain "0" as a statement.
10202 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10203 with cw.
10204
d9814526
JM
102052012-12-06 Joseph Myers <joseph@codesourcery.com>
10206
10207 * NEWS: Use sourceware.org in Bugzilla URL.
10208
7728c574
SP
102092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10210
f16946dd
SP
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10212 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10213
5704bbcb
SP
10214 * stdio-common/tst-put-error.c (do_test): Add newline to the
10215 padded test to ensure flush.
10216
17aa0516
JL
102172012-12-05 Jeff Law <law@redhat.com>
10218
10219 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10220
363313b5
JM
102212012-12-05 Joseph Myers <joseph@codesourcery.com>
10222
effbd42a
JM
10223 * README: Don't refer to ports add-on as distributed separately.
10224 Mention AArch64 in list of systems supported in the ports add-on.
10225
87600365
JM
10226 * LICENSES: Add more non-FSF copyright and license notices.
10227
a0d7066a
JM
10228 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10229 ((unused)).
10230
66ca5a5b
JM
10231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10232
363313b5
JM
10233 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10234 10000 as width of padded output.
10235
b37984ad
JM
102362012-12-04 Joseph Myers <joseph@codesourcery.com>
10237
9003570a
JM
10238 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10239
b37984ad
JM
10240 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10241 variable LX with __attribute__ ((unused)).
10242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10243 Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10247 with __attribute__ ((unused)).
10248
c8df52ec
DM
102492012-12-04 David S. Miller <davem@abraco.davemloft.net>
10250
10251 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10252
b3b099af
JM
102532012-12-04 Joseph Myers <joseph@codesourcery.com>
10254
c33aa6e3
JM
10255 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10256 (CFLAGS-nldbl-acos.c): New variable.
10257 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10309 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10310 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10311 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10312 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10313 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10314 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10315 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10316 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10317 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10318 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10319 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10320 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10321 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10322 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10323 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10324 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10325 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10326 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10327 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10328 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10329 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10330 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10331 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10332 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10333 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10334 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10335 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10336 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10337 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10338 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10339 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10340 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10341 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10342 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10343 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10344 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10345 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10346 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10347 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10348 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10349 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10350 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10351 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10352 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10353 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10354
20f0018d
JM
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10356 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10357
b3b099af
JM
10358 [BZ #14914]
10359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10360 whole low double instead of just low 47 bits when splitting values
10361 into two parts.
10362
029264d1
AM
103632012-12-03 Allan McRae <allan@archlinux.org>
10364
10365 * manual/stdio.texi (Predefined Printf Handlers): Remove
10366 @hsep and @vsep usage.
10367
c9d6789e
MF
103682012-12-03 Mike Frysinger <vapier@gentoo.org>
10369
10370 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10371 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10372
4b7634a5
JL
103732012-12-03 Jeff Law <law@redhat.com>
10374
10375 * time/sys/time.h (settimeofday): Do not mark TV argument
10376 as __nonnull.
10377
eb6cbd24
MF
103782012-12-01 Mike Frysinger <vapier@gentoo.org>
10379
10380 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10381 when currently writing and seek to current position when not.
10382 * libio/Makefile (tests): Remove bug-fclose1.
10383 * libio/bug-fclose1.c: Delete.
10384
f638872a
JM
103852012-12-01 Joseph Myers <joseph@codesourcery.com>
10386
10387 * manual/arith.texi (feenableexcept): Fix typo.
10388 (fedisableexcept): Likewise.
10389
48085d14
RM
103902012-11-30 Roland McGrath <roland@hack.frob.com>
10391
10392 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10393 second, differently-typed declaration, rather than a cast.
10394
1a538b9f
SP
103952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
10397 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10398 * include/rpc/svc.h: ... here.
10399
d07f2ff1 104002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10401
10402 [BZ #13013]
10403 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10404 depending n and resplen2 to catch cases where answer
10405 equals answerp2.
10406
c93ec1f0
CD
104072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10408
10409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10410 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10411
37db69de
MF
104122012-11-29 Mike Frysinger <vapier@gentoo.org>
10413
10414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10415
e10c4e4f
RM
104162012-11-29 Roland McGrath <roland@hack.frob.com>
10417
10418 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10419
2af1b328
JL
104202012-11-28 Jeff Law <law@redhat.com>
10421
10422 [BZ #13761]
10423 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10424 dataset_temporary. Track alloca usage into alloca_used.
10425 If dataset is large allocate and release it via malloc/free.
10426
111db5b1
FW
104272012-06-04 Florian Weimer <fweimer@redhat.com>
10428
f06cc227 10429 [BZ #14197]
111db5b1
FW
10430 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10431
dd694abd
DM
104322012-11-28 David S. Miller <davem@davemloft.net>
10433
10434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10435
9984dd01
JM
104362012-11-28 Joseph Myers <joseph@codesourcery.com>
10437
10438 [BZ #14803]
10439 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10440 of pi/2 rounded to nearest to 64 bits.
10441 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10442 nearest to 64 bits.
10443 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10444 bits.
10445
14bc93a9
JL
104462012-11-28 Jeff Law <law@redhat.com>
10447 Martin Osvald <mosvald@redhat.com>
10448
10449 [BZ #14889]
10450 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10451 * sunrpc/svc.c: Include time.h.
10452 (__svc_accept_failed): New function.
10453 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10454 any reason other than EINTR, call __svc_accept_failed.
10455 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10456 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10457
e3c6aa3a
AS
104582012-11-28 Andreas Schwab <schwab@suse.de>
10459
10460 * scripts/abilist.awk: Also handle indirect functions in .opd
10461 section.
10462
1bead169
JM
104632012-11-28 Joseph Myers <joseph@codesourcery.com>
10464
10465 [BZ #13881]
10466 * sysdeps/x86/fpu/powl_helper.c: New file.
10467 * sysdeps/x86/fpu/Makefile: Likewise.
10468 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10469 (p3): New object.
10470 (__ieee754_powl): Use __powl_helper for finite arguments except
10471 integer exponents below 8.
10472 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10473 (p3): New object.
10474 (__ieee754_powl): Use __powl_helper for finite arguments except
10475 integer exponents below 8.
10476 * math/libm-test.inc (pow_test): Add more tests and enable some
10477 previously disabled tests.
10478 * sysdeps/i386/fpu/libm-test-ulps: Update.
10479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10480
0817d63d
SP
104812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10482 Carlos O'Donell <carlos_odonell@mentor.com>
10483
10484 * nss/makedb.c (is_prime): Assert that input is odd and greater
10485 than 4. Note that fact in a comment too.
10486 (next_prime): Add 4 to input.
10487
de2fd463
SP
104882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
10490 [BZ #11741]
10491 * libio/Makefile (tests): Add test case tst-fwrite-error.
10492 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10493 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10494 * libio/tst-fwrite-error.c: New test case.
10495
c515fb51
L
104962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10499 before casting to void *.
10500 * include/libc-internal.h (__pointer_type): New macro.
10501 (__integer_if_pointer_type_sub): Likewise.
10502 (__integer_if_pointer_type): Likewise.
10503 (cast_to_integer): Likewise.
10504 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10505 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10506 before casting to atomic64_t.
10507 (atomic_exchange_acq): Likewise.
10508 (__arch_exchange_and_add_body): Likewise.
10509 (__arch_add_body): Likewise.
10510 (atomic_add_negative): Likewise.
10511 (atomic_add_zero): Likewise.
10512
4cf77aa9
JM
105132012-11-26 Joseph Myers <joseph@codesourcery.com>
10514
10515 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10516 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10517 (add_fdes): Likewise.
10518 (linear_search_fdes): Likewise.
10519 (binary_search_unencoded_fdes): Likewise.
10520
d260b3b4
AS
105212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10522
10523 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10524
67060746
AC
105252012-11-24 Adam Conrad <adconrad@0c3.net>
10526
10527 * configure.in: Autodetect C++ header directories.
10528 * configure: Regenerated.
10529
800938a1
MF
105302012-11-23 Mike Frysinger <vapier@gentoo.org>
10531
10532 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10533
4e6e34e6
AS
105342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10535
10536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10537
7c7feb47
JM
105382012-11-22 Joseph Myers <joseph@codesourcery.com>
10539
7184dcdf
JM
10540 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10541 LDBL_MANT_DIG == 106]: Disable some tests.
10542 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10543 Likewise.
10544 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10545 Likewise.
10546
0a42601f
JM
10547 [BZ #14871]
10548 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10549 input for small inputs. Return +/- pi/2 for large inputs.
10550 * math/libm-test.inc (atan_test): Add more tests.
10551
79c9b9fe
JM
10552 * sysdeps/generic/unwind-dw2-fde-glibc.c
10553 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10554 __attribute__ ((unused)).
10555
c60d3bf2
JM
10556 [BZ #14645]
10557 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10558 x * y if x and y are nonzero and z is zero.
10559
ef1e0867
JM
10560 [BZ #14811]
10561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10562 nonzero exponents with absolute value below 0x1p-117 to +/-
10563 0x1p-117.
10564
1468ded3
JM
10565 [BZ #14869]
10566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10567 up arguments below 2**-450, not just those below 2**-500.
10568 * math/libm-test.inc (hypot_test): Add another test.
10569
8e27e3cc
JM
10570 [BZ #14868]
10571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10572 Return a+b for ratio over 2**120, not 2**60.
10573 * math/libm-test.inc (hypot_test): Add another test.
10574
c9c0279b
JM
10575 * math/libm-test.inc (clog_test): Use
10576 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10577 (clog10_test): Likewise.
10578
7c7feb47
JM
10579 [BZ #6778]
10580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10581
fff1530e
AS
105822012-11-22 Andreas Schwab <schwab@suse.de>
10583
10584 * sysdeps/i386/fpu/libm-test-ulps: Update.
10585
94558d30
PT
105862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10587
10588 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10589 printf output with newline.
10590
7e1be741
L
105912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10592
6bfea974
L
10593 [BZ #14865]
10594 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10595 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10596 -z nodlopen, -z initfirst and -z execstack support.
10597 * configure: Regenerated.
10598
7e1be741
L
10599 * elf/elf.h (DF_1_NODIRECT): New macro.
10600 (DF_1_IGNMULDEF): Likewise.
10601 (DF_1_NOKSYMS): Likewise.
10602 (DF_1_NOHDR): Likewise.
10603 (DF_1_EDITED): Likewise.
10604 (DF_1_NORELOC): Likewise.
10605 (DF_1_SYMINTPOSE): Likewise.
10606 (DF_1_GLOBAUDIT): Likewise.
10607 (DF_1_SINGLETON): Likewise.
10608 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10609 DT_1_SUPPORTED_MASK bits.
10610 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10611
105ce2ce
CD
106122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10613
10614 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10615
123be9de
TS
106162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10617
d072f3f7
TS
10618 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10619 macro.
10620
123be9de
TS
10621 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10622 (sendmmsg): Move declarations...
10623 * socket/sys/socket.h: ... here.
10624 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10625 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10626 include it from...
10627 * socket/recvmmsg.c: ... this new file.
10628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10629 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10630 definition of __sendmmsg hidden.
10631 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10632 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10633 Move ENOSYS stub into and include it from...
10634 * socket/sendmmsg.c: ... this new file.
10635 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10636 (sysdep_routines): Move recvmmsg and sendmmsg...
10637 * socket/Makefile (routines): ... here.
10638 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10639 (GLIBC_PRIVATE): Add __sendmmsg.
10640 * include/sys/socket.h (__sendmmsg): Add declarations.
10641 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10642 sendmmsg.
10643
cf9a5d18
JM
106442012-11-20 Joseph Myers <joseph@codesourcery.com>
10645
10646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10647 variable I1 with __attribute__ ((unused)).
10648 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10649
ecd4caf9
JM
106502012-11-19 Joseph Myers <joseph@codesourcery.com>
10651
be14d48f
JM
10652 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10653 DUMMY variables with __attribute__ ((unused)).
10654
ecd4caf9
JM
10655 * bits/byteswap.h: Include <bits/types.h>.
10656 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10657
986cab95
PT
106582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10659
10660 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10661 string_t. Do not manually set errno.
10662 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10663 length with __strnlen. Make sure to both set errno and return it on
10664 failure.
10665
6d33cc9d
DM
106662012-11-19 David S. Miller <davem@davemloft.net>
10667
10668 With help from Joseph Myers.
10669 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10670 very large arguments properly.
10671 * math/libm-test.inc (atan_test): New tests.
10672 (atan2_test): New tests.
10673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10675
ee663277
JM
106762012-11-19 Joseph Myers <joseph@codesourcery.com>
10677
877f2d8e
JM
10678 [BZ #14856]
10679 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10680 Define to 3.
10681
116fc08a
JM
10682 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10683 [POSIX] (EADDRNOTAVAIL): Likewise.
10684 [POSIX] (EAFNOSUPPORT): Likewise.
10685 [POSIX] (EALREADY): Likewise.
10686 [POSIX] (ECONNABORTED): Likewise.
10687 [POSIX] (ECONNREFUSED): Likewise.
10688 [POSIX] (ECONNRESET): Likewise.
10689 [POSIX] (EDESTADDRREQ): Likewise.
10690 [POSIX] (EDQUOT): Likewise.
10691 [POSIX] (EHOSTUNREACH): Likewise.
10692 [POSIX] (EIDRM): Likewise.
10693 [POSIX] (EISCONN): Likewise.
10694 [POSIX] (ELOOP): Likewise.
10695 [POSIX] (EMULTIHOP): Likewise.
10696 [POSIX] (ENETDOWN): Likewise.
10697 [POSIX] (ENETUNREACH): Likewise.
10698 [POSIX] (ENOBUFS): Likewise.
10699 [POSIX] (ENODATA): Likewise.
10700 [POSIX] (ENOLINK): Likewise.
10701 [POSIX] (ENOMSG): Likewise.
10702 [POSIX] (ENOPROTOOPT): Likewise.
10703 [POSIX] (ENOSR): Likewise.
10704 [POSIX] (ENOSTR): Likewise.
10705 [POSIX] (ENOTCONN): Likewise.
10706 [POSIX] (ENOTSOCK): Likewise.
10707 [POSIX] (EOPNOTSUPP): Likewise.
10708 [POSIX] (EOVERFLOW): Likewise.
10709 [POSIX] (EPROTO): Likewise.
10710 [POSIX] (EPROTONOSUPPORT): Likewise.
10711 [POSIX] (EPROTOTYPE): Likewise.
10712 [POSIX] (ESTALE): Likewise.
10713 [POSIX] (ETIME): Likewise.
10714 [POSIX] (ETXTBSY): Likewise.
10715 [POSIX] (EWOULDBLOCK): Likewise.
10716 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10717 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10718 [POSIX] (SEEK_CUR): Likewise.
10719 [POSIX] (SEEK_END): Likewise.
10720 [POSIX || UNIX98] (mode_t): Do not require.
10721 [POSIX] (off_t): Likewise.
10722 [POSIX] (pid_t): Likewise.
10723 [POSIX] (sys/stat.h): Do not allow header.
10724 [POSIX] (unistd.h): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10726 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10728 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10729 require.
10730 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10731 sigevent): Specify elements.
10732 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10733 entry.
10734 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10735 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10736
a483863f
JM
10737 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10738 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10739 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10740 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10741 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10742 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10743 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10744 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10746 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10747 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10748 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10749 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10751 Likewise.
10752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10753 Likewise.
10754 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10755 Likewise.
10756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10757 Likewise.
10758 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10759 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10763 Specify lower bound on value.
10764 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10770 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10772 value.
10773 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10774 as optional.
10775 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10779 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10780 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10781 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10782 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10785 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10787 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10788 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10789 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10790 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10791 entry.
10792 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10793 optional.
10794 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10795 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10796 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10797 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10798 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10799 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10800 Likewise.
10801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10803 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10804 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10805 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10806 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10808 as optional.
10809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10812 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10813 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10814 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10815 specify as optional.
10816 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10817 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10818 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10819 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10820 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10821 [XPG3] (NL_LANGMAX): Likewise.
10822 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10823 [POSIX || XPG3] (NL_NMAX): Likewise.
10824 [POSIX || XPG3] (NL_SETMAX): Likewise.
10825 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10826 [XPG3] (NZERO): Likewise.
10827 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10828 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10829 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10830 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10831 (REG_ERANGE): Expect.
10832 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10833 optional-constant.
10834 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10835 Use (void) in prototype.
10836 [POSIX] (*_t): Allow.
10837 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10838 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10839 (WRDE_BADVAL): Expect.
10840
5ba924e3
JM
10841 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10842 expect.
10843 [XPG3 || XPG4] (O_RSYNC): Likewise.
10844 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10845 Likewise.
10846 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10847 [XPG3 || XPG4] (sigqueue): Likewise.
10848 [XPG3 || XPG4] (sigtimedwait): Likewise.
10849 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10850 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10851 [XPG3 || XPG4] (vsnprintf): Likewise.
10852 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10853 Likewise.
10854 [XPG3 || XPG4] (blksize_t): Likewise.
10855 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10856 Likewise.
10857 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10858 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10859 [XPG3 || XPG4] (struct itimerspec): Likewise.
10860 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10861 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10862 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10863 [XPG3 || XPG4] (clockid_t): Likewise.
10864 [XPG3 || XPG4] (timer_t): Likewise.
10865 [XPG3 || XPG4] (clock_getres): Likewise.
10866 [XPG3 || XPG4] (clock_gettime): Likewise.
10867 [XPG3 || XPG4] (clock_settime): Likewise.
10868 [XPG3 || XPG4] (nanosleep): Likewise.
10869 [XPG3 || XPG4] (timer_create): Likewise.
10870 [XPG3 || XPG4] (timer_delete): Likewise.
10871 [XPG3 || XPG4] (timer_gettime): Likewise.
10872 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10873 [XPG3 || XPG4] (timer_settime): Likewise.
10874 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10875 [XPG3 || XPG4] (getlogin_r): Likewise.
10876 [XPG3 || XPG4] (pread): Likewise.
10877 [XPG3 || XPG4] (pthread_atfork): Likewise.
10878 [XPG3 || XPG4] (pwrite): Likewise.
10879
ee663277
JM
10880 [BZ #14835]
10881 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10882 <bits/siginfo.h>.
10883
942caa16
PT
108842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10885
e19af380
PT
10886 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10887 finalizing MALLSTREAM.
10888
942caa16
PT
10889 * sysdeps/mach/hurd/syncfs.c: New file.
10890
cfde9b46
SP
108912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10892
10893 [BZ #14719]
10894 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10895 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10897 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10898 (_nss_dns_gethostbyname4_r): Likewise.
10899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10900 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10901
f6da27e5
PH
109022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10903
10904 [BZ #13763]
10905 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10906
6665d4a2
SM
109072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10908
1f51ee92
SM
10909 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10910 * elf/cache.c (print_entry): Print ",AArch64" for
10911 FLAG_AARCH64_LIB64
10912
6665d4a2
SM
10913 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10914 * elf/cache.c (print_entry): Print ",hard-float" for
10915 FLAG_ARM_LIBHF.
10916
05b227bd
DM
109172012-11-18 David S. Miller <davem@davemloft.net>
10918
10919 With help from Joseph Myers.
10920 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10921 cutoff to 2**-13.
10922 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10923 cutoff to 2**-25.
10924 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10925 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10926 small.
10927 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10928 * math/libm-test.inc (y0_test): New tests.
10929 (y1_test): New tests.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10933
786b0b67
AS
109342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10935
10936 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10937 64-bit targets.
10938 * configure: Regenerated.
10939
8e18b86d
DM
109402012-11-17 David S. Miller <davem@davemloft.net>
10941
10942 [BZ #14811]
10943 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10944 nonzero exponents with absolute value below 0x1p-128 to +/-
10945 0x1p-128.
10946
531f1ae0
JM
109472012-11-17 Joseph Myers <joseph@codesourcery.com>
10948
12df29e2
JM
10949 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10950
150dc1a0
JM
10951 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10952
531f1ae0
JM
10953 * posix/getconf-speclist.c: New file.
10954 * posix/posix-envs.def: Likewise.
10955 * posix/confstr.c (START_ENV_GROUP): New macro.
10956 (END_ENV_GROUP): Likewise.
10957 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10958 (KNOWN_PRESENT_ENV_STRING): Likewise.
10959 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10960 (UNKNOWN_ENVIRONMENT): Likewise.
10961 (confstr): Include posix-envs.def instead of handling
10962 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10963 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10964 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10965 (END_ENV_GROUP): Likewise.
10966 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10968 (UNKNOWN_ENVIRONMENT): Likewise.
10969 (__sysconf): Include posix-envs.def instead of handling associated
10970 cases directly here.
10971 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10972 preprocessing getconf-speclist.c rather than running getconf or
10973 generating empty file.
10974
a93f9cbc
PT
109752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10976
10977 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10978
d64d9f87
AL
109792012-11-16 Andrej Lajovic <natrij@gmail.com>
10980
10981 [BZ #14672]
10982 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10983
447885eb
DM
109842012-11-16 David S. Miller <davem@davemloft.net>
10985
10986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10987 smaller than LDBL_EPSILON/2.0L, just return xm1.
10988
bcbf9830
L
109892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10990
10991 * elf/tst-array1.c (init): Set constructor priority to 1000.
10992 (fini): Set destructor priority to 1000.
10993 * elf/tst-array2dep.c: Likewise.
10994
2b766585
SP
109952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10996
10997 [BZ #11741]
10998 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10999 (_IO_new_file_xsputn): Also return EOF if none of the input
11000 data was written when overflow failed.
11001 * libio/iopadn.c (_IO_padn): Likewise.
11002 * libio/iowpadn.c (_IO_wpadn): Likewise.
11003 * stdio-common/tst-put-error.c: Add copyright notice.
11004 (do_test): Add case for printing padded string.
11005 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11006 _IO_padn returned error.
11007 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11008 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11009 return EOF.
11010
b1848fde
SP
110112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11012
11013 * libio/libioP.h: Add comment note that the references to C++
11014 bits are now obsolete.
11015
2fd89785
MS
110162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11017
11018 * math/libm-test.inc (check_complex): Use asprintf.
11019
e3ea5409
JM
110202012-11-14 Joseph Myers <joseph@codesourcery.com>
11021
11022 * debug/pcprofiledump.c (print_version): Update copyright year.
11023 * malloc/memusagestat.c (print_version): Likewise.
11024
2e64d265
L
110252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11026
11027 [BZ #14831]
11028 * elf/Makefile (tests): Add tst-audit8.
11029 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11030 ($(objpfx)tst-audit8.out): New target.
11031 (tst-audit8-ENV): New variable.
11032 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11033 audit if l_reloc_result is NULL.
11034 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11035 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11036 * elf/tst-audit8.c: New file.
11037
c485e4d2
MS
110382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11039
11040 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11041 * misc/Makefile (CFLAGS-select.c): Define.
11042 * posix/Makefile (CFLAGS-pause.c): Define.
11043
3a0d900a
DM
110442012-11-13 David S. Miller <davem@davemloft.net>
11045
11046 * crypt/Makefile: Move test targets after toplevel Rules
11047 inclusion. Grab any necessary sysdep routines when linking.
11048 * crypt/md5.c (md5_process_block): Remove define, we will always
11049 name it __md5_process_block.
11050 (md5_finish_ctx): Update md5_process_block call.
11051 (md5_stream): Likewise.
11052 (md5_process_bytes): Likewise.
11053 (md5_process_block): Rename to __md5_process_block and move to ...
11054 * crypt/md5-block.c: ... here.
11055 * crypt/sha256.c (sha256_process_block): Move to ...
11056 * crypt/sha256-block.c: ... here.
11057 * crypt/sha512.c (sha512_process_block): Move to ...
11058 * crypt/sha512-block.c: ... here.
11059 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11060 path.
11061 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11062 * sysdeps/sparc/sparc64/multiarch/Makefile
11063 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11064 crypt subdir.
11065 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11067 multiarch changes.
11068 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11069 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11070 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11071 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11072 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11073 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11074 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11075 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11076 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11077 file.
11078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11080 file.
11081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11082
8ca89318
JM
110832012-11-13 Joseph Myers <joseph@codesourcery.com>
11084
e27d476a
JM
11085 * timezone/tzselect.ksh: Update from tzcode git revision
11086 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11087 * timezone/zdump.c: Likewise.
11088 * timezone/zic.c: Likewise.
11089 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11090 in TZVERSION setting, not $(PKGVERSION).
11091 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11092 REPORT_BUGS_TO settings.
11093
8ca89318
JM
11094 [BZ #14838]
11095 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11096 macro.
11097
47594329
MS
110982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11099
11100 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11101 detection to immediately after _FP_ROUND().
11102 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11103 bits are 0.
11104
640ac3f1
DM
111052012-11-11 David S. Miller <davem@davemloft.net>
11106
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11108 inttypes.h
11109 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11110 __close rather than their public counterparts.
11111
3d2577bb
JM
111122012-11-10 Joseph Myers <joseph@codesourcery.com>
11113
11114 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11115 file.
11116 [UNIX98] (sem_timedwait): Do not expect.
11117 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11118 [XPG4 || UNIX98] (sockatmark): Do not expect.
11119 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11120 (clock_getcpuclockid): Do not expect.
11121 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11122 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11123 Do not expect.
11124 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11125 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11126 [UNIX98] (vwscanf): Likewise.
11127 [UNIX98] (vswscanf): Likewise.
11128
fb1ae1ee
JM
111292012-11-09 Joseph Myers <joseph@codesourcery.com>
11130
9ec6f8bd
JM
11131 * timezone/version.h: Remove file.
11132 * timezone/README: Do not refer to version.h.
11133 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11134 $(objpfx)version.h.
11135 ($(objpfx)zdump.o): Likewise.
c3f81911 11136 ($(objpfx)version.h): New target.
9ec6f8bd 11137
0aa8f8a1
JM
11138 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11139 2012i.
11140 * timezone/README: Don't mention modification to tzselect.ksh.
11141 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11142 work on unmodified tzselect.ksh. Substitute version numbers in
11143 tzselect.ksh.
11144
4e87147f
JM
11145 * Makefile (format-me): Remove.
11146 (INSTALL): Adjust indentation. Use commands directly instead of
11147 using $(format-me).
11148
8b748aed
JM
11149 * aclocal.m4 (ACX_PKGVERSION): New macro.
11150 (ACX_BUGURL): Likewise.
11151 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11152 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11153 (REPORT_BUGS_TO): Likewise.
11154 * configure: Regenerated.
11155 * config.h.in (PKGVERSION): New macro.
11156 (REPORT_BUGS_TO): Likewise.
11157 * config.make.in (PKGVERSION): New variable.
11158 (PKGVERSION_TEXI): Likewise.
11159 (REPORT_BUGS_TO): Likewise.
11160 (REPORT_BUGS_TEXI): Likewise.
11161 * Makefile (format-me): Use -I$(common-objpfx)manual.
11162 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11163 ($(common-objpfx)manual/%): New target.
11164 (manual/%): Remove target.
11165 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11166 (print_version): Use PKGVERSION.
11167 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11168 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11169 and REPORT_BUGS_TO.
11170 ($(objpfx)xtrace): Likewise.
11171 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11172 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11173 (print_version): Use PKGVERSION.
11174 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11175 (do_version): Use PKGVERSION.
11176 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11177 REPORT_BUGS_TO.
11178 (common-ldd-rewrite): Likewise.
11179 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11180 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11181 (print_version): Use PKGVERSION.
11182 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11183 * elf/pldd.c (argp_program_bug_address): Remove variable.
11184 (more_help): New function.
11185 (argp): Use more_help.
11186 (print_version): Use PKGVERSION.
11187 * elf/sln.c (main): Use PKGVERSION.
11188 (usage): Use REPORT_BUGS_TO.
11189 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11190 (top level): Use PKGVERSION.
11191 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11192 (print_version): Use PKGVERSION.
11193 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11194 (print_version): Use PKGVERSION.
11195 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11196 (print_version): Use PKGVERSION.
11197 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11198 (print_version): Use PKGVERSION.
11199 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11200 (print_version): Use PKGVERSION.
11201 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11202 (print_version): Use PKGVERSION.
11203 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11204 and BUGURL.
11205 ($(objpfx)memusage): Likewise.
11206 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11207 (do_version): Use PKGVERSION.
11208 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11209 (print_version): Use PKGVERSION.
11210 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11211 ($PKGVERSION): New variable.
11212 ($REPORT_BUGS_TO): Likewise.
11213 (usage): Use $REPORT_BUGS_TO.
11214 (top level): Use $PKGVERSION.
11215 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11216 ($(objpfx)pkgvers.texi): New rule.
11217 ($(objpfx)stamp-pkgvers): Likewise.
11218 * manual/install.texi: Include pkgvers.texi.
11219 (--with-pkgversion): Document new configure option.
11220 (--with-bugurl): Likewise.
11221 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11222 than necessarily for this particular distribution. Use
11223 REPORT_BUGS_TO for where to report bugs.
11224 * INSTALL: Regenerated.
11225 * manual/libc.texinfo: Include pkgvers.texi.
11226 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11227 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11228 (print_version): Use PKGVERSION.
11229 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11230 (print_version): Use PKGVERSION.
11231 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11232 (print_version): Use PKGVERSION.
11233 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11234 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11235 macro.
11236 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11237 (print_version): Use PKGVERSION.
11238 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11239 (print_version): Use PKGVERSION.
11240 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11241 and PKGVERSION.
11242
92e4b6a9
JM
11243 * timezone/checktab.awk: Update from tzcode 2012i.
11244 * timezone/ialloc.c: Likewise.
11245 * timezone/private.h: Likewise.
11246 * timezone/scheck.c: Likewise.
11247 * timezone/tzfile.h: Likewise.
11248 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11249 (TZVERSION): Hardcode tzcode version number.
11250 * timezone/zdump.c: Update from tzcode 2012i.
11251 * timezone/zic.c: Likewise.
11252 * timezone/version.h: New file.
11253 * timezone/README: Describe version.h. Update upstream location.
11254
9bde902c
JM
11255 [BZ #14824]
11256 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11257 (mktemp): Enable declaration.
11258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11262 Likewise.
11263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11264 Likewise.
11265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11266 Likewise.
11267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11268 Likewise.
11269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11270 Likewise.
11271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11272 Likewise.
11273
fb1ae1ee
JM
11274 [BZ #14821]
11275 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11276 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11277 for copies of such integer values.
11278 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11279 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11280
2c1adbcb
AJ
112812012-11-09 Andreas Jaeger <aj@suse.de>
11282
11283 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11284 definitions and declarations that are provided by
11285 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11286
d0f8457e
AK
112872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11288
3a235abb 11289 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11290 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11291 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11292 definition.
11293
57241e26
MS
112942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11295
11296 * elf/elf.h: Update comment before AArch64 relocations.
11297
60e8270d
DM
112982012-11-07 David S. Miller <davem@davemloft.net>
11299
11300 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11302 (__start_context): Declare.
11303 (__makecontext_ret): Delete.
11304 (__makecontext): Hook up __start_context instead of
11305 __makecontext_ret.
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11307 (sysdep_routines): Add __start_context when in stdlib.
11308
0fbb0fbc
JM
113092012-11-07 Joseph Myers <joseph@codesourcery.com>
11310
11311 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11312 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11313 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11314 hardcoded "nm".
11315 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11316 (READELF): New variable. Use it instead of hardcoded "readelf".
11317
eb48db7e
L
113182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11321 * sysdeps/x86/Makefile: Here.
11322 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11323 * sysdeps/x86/tst-xmmymm.sh: This.
11324
05bcf62a
JM
113252012-11-07 Joseph Myers <joseph@codesourcery.com>
11326
c4b6cf53
JM
11327 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11328 expectations.
11329 [UNIX98] (pthread_barrier_t): Do not expect.
11330 [UNIX98] (pthread_barrierattr_t): Likewise.
11331 [UNIX98] (pthread_spinlock_t): Likewise.
11332 [UNIX98] (pthread_barrier_destroy): Likewise.
11333 [UNIX98] (pthread_barrier_init): Likewise.
11334 [UNIX98] (pthread_barrier_wait): Likewise.
11335 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11336 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11337 [UNIX98] (pthread_barrierattr_init): Likewise.
11338 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11339 [UNIX98] (pthread_getcpuclockid): Likewise.
11340 [UNIX98] (pthread_mutex_timedlock): Likewise.
11341 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11342 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11343 [UNIX98] (pthread_sigmask): Likewise.
11344 [UNIX98] (pthread_spin_destroy): Likewise.
11345 [UNIX98] (pthread_spin_init): Likewise.
11346 [UNIX98] (pthread_spin_lock): Likewise.
11347 [UNIX98] (pthread_spin_trylock): Likewise.
11348 [UNIX98] (pthread_spin_unlock): Likewise.
11349 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11350 Do not expect.
11351 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11353 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11354 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11355 [XPG3 || XPG4] (pthread_key_t): Likewise.
11356 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11357 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11358 [XPG3 || XPG4] (pthread_once_t): Likewise.
11359 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11360 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11361 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11362 [XPG3 || XPG4] (pthread_t): Likewise.
11363
cbe6e120
JM
11364 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11365 not expect.
11366 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11367
1b126443
JM
11368 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11369 Change function return type to int.
11370
b961a573
JM
11371 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11372 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11373 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11374 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11375 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11376 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11377 [!POSIX] (posix_madvise): Likewise.
11378 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11379 && !UNIX98].
11380 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11381 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11382 (mode_t): Likewise.
11383 (posix_mem_offset): Likewise.
11384 (posix_typed_mem_get_info): Likewise.
11385 (posix_typed_mem_open): Likewise.
11386
9e188909
JM
11387 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11388 Change condition to [XOPEN2K8].
11389
05bcf62a
JM
11390 * conform/conformtest.pl: Preprocess allow-header data with -x c
11391 instead of from stdin.
11392 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11393 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11394 [C99-based standards] (cerfc): Likewise.
11395 [C99-based standards] (cexp2): Likewise.
11396 [C99-based standards] (cexpm1): Likewise.
11397 [C99-based standards] (clog10): Likewise.
11398 [C99-based standards] (clog1p): Likewise.
11399 [C99-based standards] (clog2): Likewise.
11400 [C99-based standards] (clgamma): Likewise.
11401 [C99-based standards] (ctgamma): Likewise.
11402 [C99-based standards] (cerff): Likewise.
11403 [C99-based standards] (cerfcf): Likewise.
11404 [C99-based standards] (cexp2f): Likewise.
11405 [C99-based standards] (cexpm1f): Likewise.
11406 [C99-based standards] (clog10f): Likewise.
11407 [C99-based standards] (clog1pf): Likewise.
11408 [C99-based standards] (clog2f): Likewise.
11409 [C99-based standards] (clgammaf): Likewise.
11410 [C99-based standards] (ctgammaf): Likewise.
11411 [C99-based standards] (cerfl): Likewise.
11412 [C99-based standards] (cerfcl): Likewise.
11413 [C99-based standards] (cexp2l): Likewise.
11414 [C99-based standards] (cexpm1l): Likewise.
11415 [C99-based standards] (clog10l): Likewise.
11416 [C99-based standards] (clog1pl): Likewise.
11417 [C99-based standards] (clog2l): Likewise.
11418 [C99-based standards] (clgammal): Likewise.
11419 [C99-based standards] (ctgammal): Likewise.
11420 * conform/data/inttypes.h-data [C99-based standards]: Include
11421 stdint.h-data. Remove all expectations for stdint.h contents.
11422 [C99-based standards] (PRI*): Do not allow.
11423 [C99-based standards] (SCN*): Likewise.
11424 [C99-based standards] (*_t): Likewise.
11425 [C99-based-standards] (PRId8): Expect macro.
11426 [C99-based-standards] (PRIi8): Likewise.
11427 [C99-based-standards] (PRIo8): Likewise.
11428 [C99-based-standards] (PRIu8): Likewise.
11429 [C99-based-standards] (PRIx8): Likewise.
11430 [C99-based-standards] (PRIX8): Likewise.
11431 [C99-based-standards] (SCNd8): Likewise.
11432 [C99-based-standards] (SCNi8): Likewise.
11433 [C99-based-standards] (SCNo8): Likewise.
11434 [C99-based-standards] (SCNu8): Likewise.
11435 [C99-based-standards] (SCNx8): Likewise.
11436 [C99-based-standards] (PRIdLEAST8): Likewise.
11437 [C99-based-standards] (PRIiLEAST8): Likewise.
11438 [C99-based-standards] (PRIoLEAST8): Likewise.
11439 [C99-based-standards] (PRIuLEAST8): Likewise.
11440 [C99-based-standards] (PRIxLEAST8): Likewise.
11441 [C99-based-standards] (PRIXLEAST8): Likewise.
11442 [C99-based-standards] (SCNdLEAST8): Likewise.
11443 [C99-based-standards] (SCNiLEAST8): Likewise.
11444 [C99-based-standards] (SCNoLEAST8): Likewise.
11445 [C99-based-standards] (SCNuLEAST8): Likewise.
11446 [C99-based-standards] (SCNxLEAST8): Likewise.
11447 [C99-based-standards] (PRIdFAST8): Likewise.
11448 [C99-based-standards] (PRIiFAST8): Likewise.
11449 [C99-based-standards] (PRIoFAST8): Likewise.
11450 [C99-based-standards] (PRIuFAST8): Likewise.
11451 [C99-based-standards] (PRIxFAST8): Likewise.
11452 [C99-based-standards] (PRIXFAST8): Likewise.
11453 [C99-based-standards] (SCNdFAST8): Likewise.
11454 [C99-based-standards] (SCNiFAST8): Likewise.
11455 [C99-based-standards] (SCNoFAST8): Likewise.
11456 [C99-based-standards] (SCNuFAST8): Likewise.
11457 [C99-based-standards] (SCNxFAST8): Likewise.
11458 [C99-based-standards] (PRId16): Likewise.
11459 [C99-based-standards] (PRIi16): Likewise.
11460 [C99-based-standards] (PRIo16): Likewise.
11461 [C99-based-standards] (PRIu16): Likewise.
11462 [C99-based-standards] (PRIx16): Likewise.
11463 [C99-based-standards] (PRIX16): Likewise.
11464 [C99-based-standards] (SCNd16): Likewise.
11465 [C99-based-standards] (SCNi16): Likewise.
11466 [C99-based-standards] (SCNo16): Likewise.
11467 [C99-based-standards] (SCNu16): Likewise.
11468 [C99-based-standards] (SCNx16): Likewise.
11469 [C99-based-standards] (PRIdLEAST16): Likewise.
11470 [C99-based-standards] (PRIiLEAST16): Likewise.
11471 [C99-based-standards] (PRIoLEAST16): Likewise.
11472 [C99-based-standards] (PRIuLEAST16): Likewise.
11473 [C99-based-standards] (PRIxLEAST16): Likewise.
11474 [C99-based-standards] (PRIXLEAST16): Likewise.
11475 [C99-based-standards] (SCNdLEAST16): Likewise.
11476 [C99-based-standards] (SCNiLEAST16): Likewise.
11477 [C99-based-standards] (SCNoLEAST16): Likewise.
11478 [C99-based-standards] (SCNuLEAST16): Likewise.
11479 [C99-based-standards] (SCNxLEAST16): Likewise.
11480 [C99-based-standards] (PRIdFAST16): Likewise.
11481 [C99-based-standards] (PRIiFAST16): Likewise.
11482 [C99-based-standards] (PRIoFAST16): Likewise.
11483 [C99-based-standards] (PRIuFAST16): Likewise.
11484 [C99-based-standards] (PRIxFAST16): Likewise.
11485 [C99-based-standards] (PRIXFAST16): Likewise.
11486 [C99-based-standards] (SCNdFAST16): Likewise.
11487 [C99-based-standards] (SCNiFAST16): Likewise.
11488 [C99-based-standards] (SCNoFAST16): Likewise.
11489 [C99-based-standards] (SCNuFAST16): Likewise.
11490 [C99-based-standards] (SCNxFAST16): Likewise.
11491 [C99-based-standards] (PRId32): Likewise.
11492 [C99-based-standards] (PRIi32): Likewise.
11493 [C99-based-standards] (PRIo32): Likewise.
11494 [C99-based-standards] (PRIu32): Likewise.
11495 [C99-based-standards] (PRIx32): Likewise.
11496 [C99-based-standards] (PRIX32): Likewise.
11497 [C99-based-standards] (SCNd32): Likewise.
11498 [C99-based-standards] (SCNi32): Likewise.
11499 [C99-based-standards] (SCNo32): Likewise.
11500 [C99-based-standards] (SCNu32): Likewise.
11501 [C99-based-standards] (SCNx32): Likewise.
11502 [C99-based-standards] (PRIdLEAST32): Likewise.
11503 [C99-based-standards] (PRIiLEAST32): Likewise.
11504 [C99-based-standards] (PRIoLEAST32): Likewise.
11505 [C99-based-standards] (PRIuLEAST32): Likewise.
11506 [C99-based-standards] (PRIxLEAST32): Likewise.
11507 [C99-based-standards] (PRIXLEAST32): Likewise.
11508 [C99-based-standards] (SCNdLEAST32): Likewise.
11509 [C99-based-standards] (SCNiLEAST32): Likewise.
11510 [C99-based-standards] (SCNoLEAST32): Likewise.
11511 [C99-based-standards] (SCNuLEAST32): Likewise.
11512 [C99-based-standards] (SCNxLEAST32): Likewise.
11513 [C99-based-standards] (PRIdFAST32): Likewise.
11514 [C99-based-standards] (PRIiFAST32): Likewise.
11515 [C99-based-standards] (PRIoFAST32): Likewise.
11516 [C99-based-standards] (PRIuFAST32): Likewise.
11517 [C99-based-standards] (PRIxFAST32): Likewise.
11518 [C99-based-standards] (PRIXFAST32): Likewise.
11519 [C99-based-standards] (SCNdFAST32): Likewise.
11520 [C99-based-standards] (SCNiFAST32): Likewise.
11521 [C99-based-standards] (SCNoFAST32): Likewise.
11522 [C99-based-standards] (SCNuFAST32): Likewise.
11523 [C99-based-standards] (SCNxFAST32): Likewise.
11524 [C99-based-standards] (PRId64): Likewise.
11525 [C99-based-standards] (PRIi64): Likewise.
11526 [C99-based-standards] (PRIo64): Likewise.
11527 [C99-based-standards] (PRIu64): Likewise.
11528 [C99-based-standards] (PRIx64): Likewise.
11529 [C99-based-standards] (PRIX64): Likewise.
11530 [C99-based-standards] (SCNd64): Likewise.
11531 [C99-based-standards] (SCNi64): Likewise.
11532 [C99-based-standards] (SCNo64): Likewise.
11533 [C99-based-standards] (SCNu64): Likewise.
11534 [C99-based-standards] (SCNx64): Likewise.
11535 [C99-based-standards] (PRIdLEAST64): Likewise.
11536 [C99-based-standards] (PRIiLEAST64): Likewise.
11537 [C99-based-standards] (PRIoLEAST64): Likewise.
11538 [C99-based-standards] (PRIuLEAST64): Likewise.
11539 [C99-based-standards] (PRIxLEAST64): Likewise.
11540 [C99-based-standards] (PRIXLEAST64): Likewise.
11541 [C99-based-standards] (SCNdLEAST64): Likewise.
11542 [C99-based-standards] (SCNiLEAST64): Likewise.
11543 [C99-based-standards] (SCNoLEAST64): Likewise.
11544 [C99-based-standards] (SCNuLEAST64): Likewise.
11545 [C99-based-standards] (SCNxLEAST64): Likewise.
11546 [C99-based-standards] (PRIdFAST64): Likewise.
11547 [C99-based-standards] (PRIiFAST64): Likewise.
11548 [C99-based-standards] (PRIoFAST64): Likewise.
11549 [C99-based-standards] (PRIuFAST64): Likewise.
11550 [C99-based-standards] (PRIxFAST64): Likewise.
11551 [C99-based-standards] (PRIXFAST64): Likewise.
11552 [C99-based-standards] (SCNdFAST64): Likewise.
11553 [C99-based-standards] (SCNiFAST64): Likewise.
11554 [C99-based-standards] (SCNoFAST64): Likewise.
11555 [C99-based-standards] (SCNuFAST64): Likewise.
11556 [C99-based-standards] (SCNxFAST64): Likewise.
11557 [C99-based-standards] (PRIdMAX): Likewise.
11558 [C99-based-standards] (PRIiMAX): Likewise.
11559 [C99-based-standards] (PRIoMAX): Likewise.
11560 [C99-based-standards] (PRIuMAX): Likewise.
11561 [C99-based-standards] (PRIxMAX): Likewise.
11562 [C99-based-standards] (PRIXMAX): Likewise.
11563 [C99-based-standards] (SCNdMAX): Likewise.
11564 [C99-based-standards] (SCNiMAX): Likewise.
11565 [C99-based-standards] (SCNoMAX): Likewise.
11566 [C99-based-standards] (SCNuMAX): Likewise.
11567 [C99-based-standards] (SCNxMAX): Likewise.
11568 [C99-based-standards] (PRIdPTR): Likewise.
11569 [C99-based-standards] (PRIiPTR): Likewise.
11570 [C99-based-standards] (PRIoPTR): Likewise.
11571 [C99-based-standards] (PRIuPTR): Likewise.
11572 [C99-based-standards] (PRIxPTR): Likewise.
11573 [C99-based-standards] (PRIXPTR): Likewise.
11574 [C99-based-standards] (SCNdPTR): Likewise.
11575 [C99-based-standards] (SCNiPTR): Likewise.
11576 [C99-based-standards] (SCNoPTR): Likewise.
11577 [C99-based-standards] (SCNuPTR): Likewise.
11578 [C99-based-standards] (SCNxPTR): Likewise.
11579 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11580 allow.
11581 * conform/data/stdint.h-data: Update comments to clarify
11582 requirements.
11583 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11584 type.
11585 [C99-based standards] (INT8_MAX): Likewise.
11586 [C99-based standards] (INT16_MIN): Likewise.
11587 [C99-based standards] (INT16_MAX): Likewise.
11588 [C99-based standards] (INT32_MIN): Likewise.
11589 [C99-based standards] (INT32_MAX): Likewise.
11590 [C99-based standards] (INT64_MIN): Likewise.
11591 [C99-based standards] (INT64_MAX): Likewise.
11592 [C99-based standards] (UINT8_MAX): Likewise.
11593 [C99-based standards] (UINT16_MAX): Likewise.
11594 [C99-based standards] (UINT32_MAX): Likewise.
11595 [C99-based standards] (UINT64_MAX): Likewise.
11596 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11597 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11598 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11599 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11600 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11601 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11602 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11603 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11604 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11605 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11606 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11607 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11608 [C99-based standards] (INT_FAST8_MIN): Likewise.
11609 [C99-based standards] (INT_FAST8_MAX): Likewise.
11610 [C99-based standards] (INT_FAST16_MIN): Likewise.
11611 [C99-based standards] (INT_FAST16_MAX): Likewise.
11612 [C99-based standards] (INT_FAST32_MIN): Likewise.
11613 [C99-based standards] (INT_FAST32_MAX): Likewise.
11614 [C99-based standards] (INT_FAST64_MIN): Likewise.
11615 [C99-based standards] (INT_FAST64_MAX): Likewise.
11616 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11617 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11618 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11619 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11620 [C99-based standards] (INTPTR_MIN): Likewise.
11621 [C99-based standards] (INTPTR_MAX): Likewise.
11622 [C99-based standards] (UINTPTR_MAX): Likewise.
11623 [C99-based standards] (INTMAX_MIN): Likewise.
11624 [C99-based standards] (INTMAX_MAX): Likewise.
11625 [C99-based standards] (UINTMAX_MAX): Likewise.
11626 [C99-based standards] (PTRDIFF_MIN): Likewise.
11627 [C99-based standards] (PTRDIFF_MAX): Likewise.
11628 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11629 [C99-based standards] (SIZE_MAX): Likewise.
11630 [C99-based standards] (WCHAR_MAX): Likewise.
11631 [C99-based standards] (WINT_MAX): Likewise.
11632 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11633 constraint on value.
11634 [C99-based standards] (WCHAR_MIN): Likewise.
11635 [C99-based standards] (WINT_MIN): Likewise.
11636 [C99-based standards] (*_t): Allow.
11637 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11638 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11639 Include math.h-data and complex.h-data. Remove all expectations
11640 of math.h and complex.h contents.
11641 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11642 at end of line.
11643 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11644 (struct tm): Expect tag.
11645 [C99-based-standards] (wcstof): Expect function.
11646 [C99-based-standards] (wcstold): Likewise.
11647 [C99-based-standards] (wcstoll): Likewise.
11648 [C99-based-standards] (wcstoull): Likewise.
11649 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11650 macro-int-constant. Specify type.
11651 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11652 constraint on value.
11653 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11654 Specify type.
11655 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11656 Specify value.
11657 [ISO C standards]: Do not allow headers.
11658 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11659 wcs[abcdefghijklmnopqrstuvwxyz]*.
11660 [ISO C standards] (*_t): Do not allow.
11661 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11662 Expect function.
11663 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11664 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11665 Specify type.
11666 [ISO C standards]: Do not allow headers.
11667 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11668 is[abcdefghijklmnopqrstuvwxyz]*.
11669 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11670 to[abcdefghijklmnopqrstuvwxyz]*.
11671 [ISO C standards] (*_t): Do not allow.
11672 * conform/data/stdalign.h-data: New file.
11673 * conform/data/stdbool.h-data: Likewise.
11674 * conform/data/stdnoreturn.h-data: Likewise.
11675
7514feb8
RM
116762012-11-07 Roland McGrath <roland@hack.frob.com>
11677
11678 [BZ #14815]
11679 * manual/filesys.texi (Directory Entries): Typo fix.
11680 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11681
19b2ecfc
MS
116822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11683
11684 * elf/elf.h (EM_AARCH64): New macro.
11685 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11686 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11687 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11688 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11689 (R_AARCH64_TLSDESC): Likewise.
11690 (NT_ARM_TLS): Likewise.
11691 (NT_ARM_HW_BREAK): Likewise.
11692 (NT_ARM_HW_WATCH): Likewise.
11693
60e235ee
JM
116942012-11-07 Joseph Myers <joseph@codesourcery.com>
11695
11696 [BZ #14811]
11697 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11698 (__ieee754_powl): Saturate nonzero exponents with absolute value
11699 below 0x1p-79 to +/- 0x1p-79.
11700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11701 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11702 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11703 nonzero exponents with absolute value below 0x1p-32 to +/-
11704 0x1p-32.
11705 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11706 (__ieee754_powl): Saturate nonzero exponents with absolute value
11707 below 0x1p-79 to +/- 0x1p-79.
11708 * math/libm-test.inc (pow_test): Add more tests.
11709
0ab234b7
AK
117102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11711
11712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11713 _dl_s390_cap_flags with kernel. Increase string length.
11714 (_dl_s390_platforms): Add z196 and zEC12.
11715
45832f74
JM
117162012-11-07 Joseph Myers <joseph@codesourcery.com>
11717
11718 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11719 Change XOPEN21K to XOPEN2K.
11720
19218757
MK
117212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11722
11723 * string/memmove.c: Use memcpy when possible.
11724
c5f45721
AJ
117252012-11-06 Andreas Jaeger <aj@suse.de>
11726
11727 * po/eo.po: Update from translation team.
11728
82477c28
JM
117292012-11-06 Joseph Myers <joseph@codesourcery.com>
11730
11731 [BZ #14793]
11732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11733 exponent and small x and y exponents, scale x or y up. Increase
11734 by 2 the exponent used in scaling up.
11735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11737 * math/libm-test.inc (fma_test): Add more tests.
11738 (fma_test_towardzero): Likewise.
11739 (fma_test_downward): Likewise.
11740 (fma_test_upward): Likewise.
11741
99252c8c
JM
117422012-11-05 Joseph Myers <joseph@codesourcery.com>
11743
acfa885f
JM
11744 [BZ #14805]
11745 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11746 fenv_t *.
11747
99252c8c
JM
11748 [BZ #14801]
11749 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11750 namespace for names of struct fields.
11751 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11752 fenv_t fields.
11753 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11754 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11755
d6d98dea
ST
117562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11757
11758 [BZ #3665]
11759 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11760
e10bb107
TS
117612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11762
11763 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11764 PTR_DEMANGLE.
11765
11766 [BZ #5246]
11767 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11768 PTR_DEMANGLE.
11769
a0c2940d
JM
117702012-11-04 Joseph Myers <joseph@codesourcery.com>
11771
11772 [BZ #14797]
11773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11774 definitely overflow as x * y not x * y + z.
11775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11777 * math/libm-test.inc (fma_test): Add more tests.
11778 (fma_test_towardzero): Likewise.
11779 (fma_test_downward): Likewise.
11780 (fma_test_upward): Likewise.
11781
b830319d
TS
117822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11783
11784 [BZ #157]
11785
11786 * include/stub-tag.h: Remove file.
11787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11788 '#include' of it.
11789 * manual/maint.texi (Porting): Don't reference it.
11790 * Makerules ($(objpfx)stubs): Likewise.
11791 * dirent/closedir.c: Don't include <stub-tag.h>.
11792 * dirent/dirfd.c: Likewise.
11793 * dirent/fdopendir.c: Likewise.
11794 * dirent/getdents.c: Likewise.
11795 * dirent/getdents64.c: Likewise.
11796 * dirent/opendir.c: Likewise.
11797 * dirent/readdir.c: Likewise.
11798 * dirent/readdir64.c: Likewise.
11799 * dirent/readdir64_r.c: Likewise.
11800 * dirent/readdir_r.c: Likewise.
11801 * dirent/rewinddir.c: Likewise.
11802 * dirent/seekdir.c: Likewise.
11803 * dirent/telldir.c: Likewise.
11804 * gmon/profil.c: Likewise.
11805 * grp/setgroups.c: Likewise.
11806 * inet/if_index.c: Likewise.
11807 * io/access.c: Likewise.
11808 * io/chdir.c: Likewise.
11809 * io/chmod.c: Likewise.
11810 * io/chown.c: Likewise.
11811 * io/close.c: Likewise.
11812 * io/dup.c: Likewise.
11813 * io/dup2.c: Likewise.
11814 * io/dup3.c: Likewise.
11815 * io/euidaccess.c: Likewise.
11816 * io/faccessat.c: Likewise.
11817 * io/fchdir.c: Likewise.
11818 * io/fchmod.c: Likewise.
11819 * io/fchmodat.c: Likewise.
11820 * io/fchown.c: Likewise.
11821 * io/fchownat.c: Likewise.
11822 * io/fcntl.c: Likewise.
11823 * io/flock.c: Likewise.
11824 * io/fstatfs.c: Likewise.
11825 * io/fstatfs64.c: Likewise.
11826 * io/fstatvfs.c: Likewise.
11827 * io/fstatvfs64.c: Likewise.
11828 * io/futimens.c: Likewise.
11829 * io/fxstat.c: Likewise.
11830 * io/fxstat64.c: Likewise.
11831 * io/fxstatat.c: Likewise.
11832 * io/fxstatat64.c: Likewise.
11833 * io/getcwd.c: Likewise.
11834 * io/isatty.c: Likewise.
11835 * io/lchmod.c: Likewise.
11836 * io/lchown.c: Likewise.
11837 * io/link.c: Likewise.
11838 * io/linkat.c: Likewise.
11839 * io/lseek.c: Likewise.
11840 * io/lseek64.c: Likewise.
11841 * io/lxstat64.c: Likewise.
11842 * io/mkdir.c: Likewise.
11843 * io/mkdirat.c: Likewise.
11844 * io/mkfifo.c: Likewise.
11845 * io/mkfifoat.c: Likewise.
11846 * io/open.c: Likewise.
11847 * io/open64.c: Likewise.
11848 * io/openat.c: Likewise.
11849 * io/openat64.c: Likewise.
11850 * io/pipe.c: Likewise.
11851 * io/pipe2.c: Likewise.
11852 * io/poll.c: Likewise.
11853 * io/posix_fadvise.c: Likewise.
11854 * io/posix_fadvise64.c: Likewise.
11855 * io/posix_fallocate.c: Likewise.
11856 * io/posix_fallocate64.c: Likewise.
11857 * io/read.c: Likewise.
11858 * io/readlink.c: Likewise.
11859 * io/readlinkat.c: Likewise.
11860 * io/rmdir.c: Likewise.
11861 * io/sendfile.c: Likewise.
11862 * io/sendfile64.c: Likewise.
11863 * io/statfs.c: Likewise.
11864 * io/statfs64.c: Likewise.
11865 * io/statvfs.c: Likewise.
11866 * io/statvfs64.c: Likewise.
11867 * io/symlink.c: Likewise.
11868 * io/symlinkat.c: Likewise.
11869 * io/ttyname.c: Likewise.
11870 * io/ttyname_r.c: Likewise.
11871 * io/umask.c: Likewise.
11872 * io/unlink.c: Likewise.
11873 * io/unlinkat.c: Likewise.
11874 * io/utime.c: Likewise.
11875 * io/utimensat.c: Likewise.
11876 * io/write.c: Likewise.
11877 * io/xmknod.c: Likewise.
11878 * io/xmknodat.c: Likewise.
11879 * io/xstat.c: Likewise.
11880 * io/xstat64.c: Likewise.
11881 * login/getpt.c: Likewise.
11882 * login/grantpt.c: Likewise.
11883 * login/unlockpt.c: Likewise.
11884 * math/e_acoshl.c: Likewise.
11885 * math/e_acosl.c: Likewise.
11886 * math/e_asinl.c: Likewise.
11887 * math/e_atan2l.c: Likewise.
11888 * math/e_atanhl.c: Likewise.
11889 * math/e_coshl.c: Likewise.
11890 * math/e_expl.c: Likewise.
11891 * math/e_fmodl.c: Likewise.
11892 * math/e_gammal_r.c: Likewise.
11893 * math/e_hypotl.c: Likewise.
11894 * math/e_j0l.c: Likewise.
11895 * math/e_j1l.c: Likewise.
11896 * math/e_jnl.c: Likewise.
11897 * math/e_lgammal_r.c: Likewise.
11898 * math/e_log10l.c: Likewise.
11899 * math/e_log2l.c: Likewise.
11900 * math/e_logl.c: Likewise.
11901 * math/e_powl.c: Likewise.
11902 * math/e_rem_pio2l.c: Likewise.
11903 * math/e_sinhl.c: Likewise.
11904 * math/e_sqrtl.c: Likewise.
11905 * math/fclrexcpt.c: Likewise.
11906 * math/fedisblxcpt.c: Likewise.
11907 * math/feenablxcpt.c: Likewise.
11908 * math/fegetenv.c: Likewise.
11909 * math/fegetexcept.c: Likewise.
11910 * math/fegetround.c: Likewise.
11911 * math/feholdexcpt.c: Likewise.
11912 * math/fesetenv.c: Likewise.
11913 * math/fesetround.c: Likewise.
11914 * math/feupdateenv.c: Likewise.
11915 * math/fgetexcptflg.c: Likewise.
11916 * math/fraiseexcpt.c: Likewise.
11917 * math/fsetexcptflg.c: Likewise.
11918 * math/ftestexcept.c: Likewise.
11919 * math/k_cosl.c: Likewise.
11920 * math/k_rem_pio2l.c: Likewise.
11921 * math/k_sinl.c: Likewise.
11922 * math/k_tanl.c: Likewise.
11923 * math/s_asinhl.c: Likewise.
11924 * math/s_atanl.c: Likewise.
11925 * math/s_cbrtl.c: Likewise.
11926 * math/s_erfl.c: Likewise.
11927 * math/s_expm1l.c: Likewise.
11928 * math/s_log1pl.c: Likewise.
11929 * math/s_tanhl.c: Likewise.
11930 * misc/acct.c: Likewise.
11931 * misc/brk.c: Likewise.
11932 * misc/chflags.c: Likewise.
11933 * misc/chroot.c: Likewise.
11934 * misc/fchflags.c: Likewise.
11935 * misc/fgetxattr.c: Likewise.
11936 * misc/flistxattr.c: Likewise.
11937 * misc/fremovexattr.c: Likewise.
11938 * misc/fsetxattr.c: Likewise.
11939 * misc/fsync.c: Likewise.
11940 * misc/ftruncate.c: Likewise.
11941 * misc/futimes.c: Likewise.
11942 * misc/futimesat.c: Likewise.
11943 * misc/getdomain.c: Likewise.
11944 * misc/getdtsz.c: Likewise.
11945 * misc/gethostid.c: Likewise.
11946 * misc/gethostname.c: Likewise.
11947 * misc/getloadavg.c: Likewise.
11948 * misc/getpagesize.c: Likewise.
11949 * misc/getsysstats.c: Likewise.
11950 * misc/getxattr.c: Likewise.
11951 * misc/gtty.c: Likewise.
11952 * misc/ioctl.c: Likewise.
11953 * misc/lgetxattr.c: Likewise.
11954 * misc/listxattr.c: Likewise.
11955 * misc/llistxattr.c: Likewise.
11956 * misc/lremovexattr.c: Likewise.
11957 * misc/lsetxattr.c: Likewise.
11958 * misc/lutimes.c: Likewise.
11959 * misc/madvise.c: Likewise.
11960 * misc/mincore.c: Likewise.
11961 * misc/mlock.c: Likewise.
11962 * misc/mlockall.c: Likewise.
11963 * misc/mmap.c: Likewise.
11964 * misc/mprotect.c: Likewise.
11965 * misc/msync.c: Likewise.
11966 * misc/munlock.c: Likewise.
11967 * misc/munlockall.c: Likewise.
11968 * misc/munmap.c: Likewise.
11969 * misc/preadv.c: Likewise.
11970 * misc/preadv64.c: Likewise.
11971 * misc/ptrace.c: Likewise.
11972 * misc/pwritev.c: Likewise.
11973 * misc/pwritev64.c: Likewise.
11974 * misc/readv.c: Likewise.
11975 * misc/reboot.c: Likewise.
11976 * misc/remap_file_pages.c: Likewise.
11977 * misc/removexattr.c: Likewise.
11978 * misc/revoke.c: Likewise.
11979 * misc/select.c: Likewise.
11980 * misc/setdomain.c: Likewise.
11981 * misc/setegid.c: Likewise.
11982 * misc/seteuid.c: Likewise.
11983 * misc/sethostid.c: Likewise.
11984 * misc/sethostname.c: Likewise.
11985 * misc/setregid.c: Likewise.
11986 * misc/setreuid.c: Likewise.
11987 * misc/setxattr.c: Likewise.
11988 * misc/sstk.c: Likewise.
11989 * misc/stty.c: Likewise.
11990 * misc/swapoff.c: Likewise.
11991 * misc/swapon.c: Likewise.
11992 * misc/sync.c: Likewise.
11993 * misc/syncfs.c: Likewise.
11994 * misc/syscall.c: Likewise.
11995 * misc/truncate.c: Likewise.
11996 * misc/ualarm.c: Likewise.
11997 * misc/usleep.c: Likewise.
11998 * misc/ustat.c: Likewise.
11999 * misc/utimes.c: Likewise.
12000 * misc/vhangup.c: Likewise.
12001 * misc/writev.c: Likewise.
12002 * posix/_exit.c: Likewise.
12003 * posix/alarm.c: Likewise.
12004 * posix/execve.c: Likewise.
12005 * posix/fexecve.c: Likewise.
12006 * posix/fork.c: Likewise.
12007 * posix/fpathconf.c: Likewise.
12008 * posix/getaddrinfo.c: Likewise.
12009 * posix/getegid.c: Likewise.
12010 * posix/geteuid.c: Likewise.
12011 * posix/getgid.c: Likewise.
12012 * posix/getgroups.c: Likewise.
12013 * posix/getlogin.c: Likewise.
12014 * posix/getlogin_r.c: Likewise.
12015 * posix/getpgid.c: Likewise.
12016 * posix/getpid.c: Likewise.
12017 * posix/getppid.c: Likewise.
12018 * posix/getresgid.c: Likewise.
12019 * posix/getresuid.c: Likewise.
12020 * posix/getsid.c: Likewise.
12021 * posix/getuid.c: Likewise.
12022 * posix/glob64.c: Likewise.
12023 * posix/nanosleep.c: Likewise.
12024 * posix/pathconf.c: Likewise.
12025 * posix/pause.c: Likewise.
12026 * posix/posix_madvise.c: Likewise.
12027 * posix/pread.c: Likewise.
12028 * posix/pread64.c: Likewise.
12029 * posix/pwrite.c: Likewise.
12030 * posix/pwrite64.c: Likewise.
12031 * posix/sched_getaffinity.c: Likewise.
12032 * posix/sched_getp.c: Likewise.
12033 * posix/sched_gets.c: Likewise.
12034 * posix/sched_primax.c: Likewise.
12035 * posix/sched_primin.c: Likewise.
12036 * posix/sched_rr_gi.c: Likewise.
12037 * posix/sched_setaffinity.c: Likewise.
12038 * posix/sched_setp.c: Likewise.
12039 * posix/sched_sets.c: Likewise.
12040 * posix/sched_yield.c: Likewise.
12041 * posix/setgid.c: Likewise.
12042 * posix/setlogin.c: Likewise.
12043 * posix/setpgid.c: Likewise.
12044 * posix/setresgid.c: Likewise.
12045 * posix/setresuid.c: Likewise.
12046 * posix/setsid.c: Likewise.
12047 * posix/setuid.c: Likewise.
12048 * posix/sleep.c: Likewise.
12049 * posix/spawni.c: Likewise.
12050 * posix/sysconf.c: Likewise.
12051 * posix/times.c: Likewise.
12052 * posix/wait.c: Likewise.
12053 * posix/wait3.c: Likewise.
12054 * posix/wait4.c: Likewise.
12055 * posix/waitpid.c: Likewise.
12056 * resolv/gai_sigqueue.c: Likewise.
12057 * resource/getpriority.c: Likewise.
12058 * resource/getrlimit.c: Likewise.
12059 * resource/getrusage.c: Likewise.
12060 * resource/nice.c: Likewise.
12061 * resource/setpriority.c: Likewise.
12062 * resource/setrlimit.c: Likewise.
12063 * resource/ulimit.c: Likewise.
12064 * rt/aio_cancel.c: Likewise.
12065 * rt/aio_fsync.c: Likewise.
12066 * rt/aio_read.c: Likewise.
12067 * rt/aio_sigqueue.c: Likewise.
12068 * rt/aio_suspend.c: Likewise.
12069 * rt/aio_write.c: Likewise.
12070 * rt/clock_getres.c: Likewise.
12071 * rt/clock_gettime.c: Likewise.
12072 * rt/clock_nanosleep.c: Likewise.
12073 * rt/clock_settime.c: Likewise.
12074 * rt/lio_listio.c: Likewise.
12075 * rt/mq_close.c: Likewise.
12076 * rt/mq_getattr.c: Likewise.
12077 * rt/mq_notify.c: Likewise.
12078 * rt/mq_open.c: Likewise.
12079 * rt/mq_receive.c: Likewise.
12080 * rt/mq_send.c: Likewise.
12081 * rt/mq_setattr.c: Likewise.
12082 * rt/mq_timedreceive.c: Likewise.
12083 * rt/mq_timedsend.c: Likewise.
12084 * rt/mq_unlink.c: Likewise.
12085 * rt/shm_open.c: Likewise.
12086 * rt/shm_unlink.c: Likewise.
12087 * rt/timer_create.c: Likewise.
12088 * rt/timer_delete.c: Likewise.
12089 * rt/timer_getoverr.c: Likewise.
12090 * rt/timer_gettime.c: Likewise.
12091 * rt/timer_settime.c: Likewise.
12092 * setjmp/__longjmp.c: Likewise.
12093 * setjmp/setjmp.c: Likewise.
12094 * signal/kill.c: Likewise.
12095 * signal/killpg.c: Likewise.
12096 * signal/raise.c: Likewise.
12097 * signal/sigaction.c: Likewise.
12098 * signal/sigaltstack.c: Likewise.
12099 * signal/sigblock.c: Likewise.
12100 * signal/sigignore.c: Likewise.
12101 * signal/sigintr.c: Likewise.
12102 * signal/signal.c: Likewise.
12103 * signal/sigpause.c: Likewise.
12104 * signal/sigpending.c: Likewise.
12105 * signal/sigqueue.c: Likewise.
12106 * signal/sigreturn.c: Likewise.
12107 * signal/sigset.c: Likewise.
12108 * signal/sigsetmask.c: Likewise.
12109 * signal/sigstack.c: Likewise.
12110 * signal/sigsuspend.c: Likewise.
12111 * signal/sigtimedwait.c: Likewise.
12112 * signal/sigvec.c: Likewise.
12113 * signal/sigwait.c: Likewise.
12114 * signal/sigwaitinfo.c: Likewise.
12115 * signal/sysv_signal.c: Likewise.
12116 * socket/accept.c: Likewise.
12117 * socket/accept4.c: Likewise.
12118 * socket/bind.c: Likewise.
12119 * socket/connect.c: Likewise.
12120 * socket/getpeername.c: Likewise.
12121 * socket/getsockname.c: Likewise.
12122 * socket/getsockopt.c: Likewise.
12123 * socket/isfdtype.c: Likewise.
12124 * socket/listen.c: Likewise.
12125 * socket/recv.c: Likewise.
12126 * socket/recvfrom.c: Likewise.
12127 * socket/recvmsg.c: Likewise.
12128 * socket/send.c: Likewise.
12129 * socket/sendmsg.c: Likewise.
12130 * socket/sendto.c: Likewise.
12131 * socket/setsockopt.c: Likewise.
12132 * socket/shutdown.c: Likewise.
12133 * socket/sockatmark.c: Likewise.
12134 * socket/socket.c: Likewise.
12135 * socket/socketpair.c: Likewise.
12136 * stdio-common/ctermid.c: Likewise.
12137 * stdio-common/cuserid.c: Likewise.
12138 * stdio-common/remove.c: Likewise.
12139 * stdio-common/rename.c: Likewise.
12140 * stdio-common/renameat.c: Likewise.
12141 * stdio-common/tempname.c: Likewise.
12142 * stdlib/getcontext.c: Likewise.
12143 * stdlib/makecontext.c: Likewise.
12144 * stdlib/setcontext.c: Likewise.
12145 * stdlib/swapcontext.c: Likewise.
12146 * stdlib/system.c: Likewise.
12147 * streams/fattach.c: Likewise.
12148 * streams/fdetach.c: Likewise.
12149 * streams/getmsg.c: Likewise.
12150 * streams/getpmsg.c: Likewise.
12151 * streams/putmsg.c: Likewise.
12152 * streams/putpmsg.c: Likewise.
12153 * sysdeps/unix/bsd/getpt.c: Likewise.
12154 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12155 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12158 Likewise.
12159 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12160 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12161 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12162 * sysvipc/msgctl.c: Likewise.
12163 * sysvipc/msgget.c: Likewise.
12164 * sysvipc/msgrcv.c: Likewise.
12165 * sysvipc/msgsnd.c: Likewise.
12166 * sysvipc/semctl.c: Likewise.
12167 * sysvipc/semget.c: Likewise.
12168 * sysvipc/semop.c: Likewise.
12169 * sysvipc/semtimedop.c: Likewise.
12170 * sysvipc/shmat.c: Likewise.
12171 * sysvipc/shmctl.c: Likewise.
12172 * sysvipc/shmdt.c: Likewise.
12173 * sysvipc/shmget.c: Likewise.
12174 * termios/tcdrain.c: Likewise.
12175 * termios/tcflow.c: Likewise.
12176 * termios/tcflush.c: Likewise.
12177 * termios/tcgetattr.c: Likewise.
12178 * termios/tcgetpgrp.c: Likewise.
12179 * termios/tcsendbrk.c: Likewise.
12180 * termios/tcsetattr.c: Likewise.
12181 * termios/tcsetpgrp.c: Likewise.
12182 * time/adjtime.c: Likewise.
12183 * time/clock.c: Likewise.
12184 * time/getitimer.c: Likewise.
12185 * time/gettimeofday.c: Likewise.
12186 * time/setitimer.c: Likewise.
12187 * time/settimeofday.c: Likewise.
12188 * time/stime.c: Likewise.
12189 * time/time.c: Likewise.
12190
121912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12192
a20492cf
PT
12193 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12194 /usr/old/bin.
12195
72e182e3
PT
12196 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12197 instead of spaces.
12198 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12199
fbeafede
JM
122002012-11-03 Joseph Myers <joseph@codesourcery.com>
12201
5b5b04d6
JM
12202 [BZ #14796]
12203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12204 FE_TONEAREST before applying Dekker multiplication and Knuth
12205 addition. Clear inexact exceptions and check for exact zero
12206 results afterwards.
12207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12208 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12210 * math/libm-test.inc (fma_test): Add more tests.
12211 (fma_test_towardzero): Likewise.
12212 (fma_test_downward): Likewise.
12213 (fma_test_upward): Likewise.
12214 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12215 function.
12216 (libc_fesetround): New macro.
12217 (libc_fesetroundf): Likewise.
12218 (libc_fesetroundl): Likewise.
12219 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12220 function.
12221 (libc_fesetround_387): Likewise.
12222 (libc_fesetroundf): New macro.
12223 (libc_fesetround): Likewise.
12224 (libc_fesetroundl): Likewise.
12225 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12226 function.
12227 (libc_fesetroundf): New macro.
12228 (libc_fesetround): Likewise.
12229 (libc_fesetroundl): Likewise.
12230 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12231 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12232 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12233 libm_hidden_ver.
12234 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12235 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12236 libm_hidden_def.
12237 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12238 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12239 libm_hidden_ver.
12240 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12241 libm_hidden_def.
12242
fbeafede
JM
12243 [BZ #3439]
12244 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12245 integer constant usable in #if and use that to give value to enum
12246 constant.
12247 (FE_DIVBYZERO): Likewise.
12248 (FE_UNDERFLOW): Likewise.
12249 (FE_OVERFLOW): Likewise.
12250 (FE_INVALID): Likewise.
12251 (FE_INVALID_SNAN): Likewise.
12252 (FE_INVALID_ISI): Likewise.
12253 (FE_INVALID_IDI): Likewise.
12254 (FE_INVALID_ZDZ): Likewise.
12255 (FE_INVALID_IMZ): Likewise.
12256 (FE_INVALID_COMPARE): Likewise.
12257 (FE_INVALID_SOFTWARE): Likewise.
12258 (FE_INVALID_SQRT): Likewise.
12259 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12260 (FE_TONEAREST): Likewise.
12261 (FE_TOWARDZERO): Likewise.
12262 (FE_UPWARD): Likewise.
12263 (FE_DOWNWARD): Likewise.
12264 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12265 (FE_DIVBYZERO): Likewise.
12266 (FE_OVERFLOW): Likewise.
12267 (FE_UNDERFLOW): Likewise.
12268 (FE_INEXACT): Likewise.
12269 (FE_TONEAREST): Likewise.
12270 (FE_DOWNWARD): Likewise.
12271 (FE_UPWARD): Likewise.
12272 (FE_TOWARDZERO): Likewise.
12273 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12274 (FE_UNDERFLOW): Likewise.
12275 (FE_OVERFLOW): Likewise.
12276 (FE_DIVBYZERO): Likewise.
12277 (FE_INVALID): Likewise.
12278 (FE_TONEAREST): Likewise.
12279 (FE_TOWARDZERO): Likewise.
12280 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12281 (FE_OVERFLOW): Likewise.
12282 (FE_UNDERFLOW): Likewise.
12283 (FE_DIVBYZERO): Likewise.
12284 (FE_INEXACT): Likewise.
12285 (FE_TONEAREST): Likewise.
12286 (FE_TOWARDZERO): Likewise.
12287 (FE_UPWARD): Likewise.
12288 (FE_DOWNWARD): Likewise.
12289 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12290 (FE_DIVBYZERO): Likewise.
12291 (FE_OVERFLOW): Likewise.
12292 (FE_UNDERFLOW): Likewise.
12293 (FE_INEXACT): Likewise.
12294 (FE_TONEAREST): Likewise.
12295 (FE_DOWNWARD): Likewise.
12296 (FE_UPWARD): Likewise.
12297 (FE_TOWARDZERO): Likewise.
12298
105ca950
CM
122992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12300
12301 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12302
a542b389
AS
123032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12304
12305 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12306 commands. Quote $PWD.
12307 (blacklist_exports): Don't use remove_newlines. Replace "declare
12308 -x" by "export".
12309 (remove_newlines): Remove.
12310
f62c8abc
L
123112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12312
12313 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12314 * stdlib/stdlib.h (atof): Moved to ...
12315 * include/bits/stdlib-float.h: Here. New file.
12316 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12317 * stdlib/bits/stdlib-float.h: New file.
12318 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12319 -mno-sse -mno-mmx.
12320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12321 <xmmintrin.h>.
12322
0155d5b2
JM
123232012-11-02 Joseph Myers <joseph@codesourcery.com>
12324
a68d0680
JM
12325 * conform/conformtest.pl (@headers): Add fenv.h.
12326 * conform/data/fenv.h-data: New file.
12327 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12328 include of <math/fenv.h>.
12329
caf7f573
JM
12330 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12331 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12332 && !UNIX98]. Enables tests for XOPEN2K8.
12333 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12334 POSIX2008]: Likewise.
12335
6c073ad6
JM
12336 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12337 (struct rusage): Do not expect type or its members.
12338
0155d5b2
JM
12339 [BZ #3439]
12340 * math/math.h (FP_NAN): Define macro to integer constant usable in
12341 #if and use that to give value to enum constant.
12342 (FP_INFINITE): Likewise.
12343 (FP_ZERO): Likewise.
12344 (FP_SUBNORMAL): Likewise.
12345 (FP_NORMAL): Likewise.
12346
b5dcacb4
AS
123472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12348
12349 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12350 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12351 arguments.
12352
f7934be8
RM
123532012-11-02 Roland McGrath <roland@hack.frob.com>
12354
12355 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12356 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12357 autoconf-time if not.
12358 * configure.in: Remove AC_PREREQ.
12359
d7d08bde
TMQMF
123602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12361
12362 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12363 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12364 of the internal implementation.
12365
dcdae19a
JM
123662012-11-02 Joseph Myers <joseph@codesourcery.com>
12367
12368 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12369 except include of <misc/sys/syslog.h>.
12370
d6cffd3e
AS
123712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12372
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12374 function returns with a NULL context exit with zero.
12375
b3563932
TMQMF
123762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12377
12378 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12379
b288a93d
L
123802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12383 (run_program_cmd): This.
12384 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12385 (tst_langinfo): New variable. Use it.
12386
a2421a68
SAS
123872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12388
12389 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12390 floating point opcodes.
12391
6f796e1b
TS
123922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12393
7402596b
TS
12394 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12395 variable.
12396
d0d4f868
TS
12397 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12398
6f796e1b
TS
12399 * sysdeps/mach/hurd/powerpc: Remove directory.
12400 * sysdeps/mach/powerpc: Likewise.
12401
4da224a2
AS
124022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12403
12404 * scripts/check-local-headers.sh: Ignore c++ headers.
12405
341dd673
TS
124062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12407
12408 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12409 __libc_cleanup_region_start argument.
12410
473611b2
JM
124112012-11-01 Joseph Myers <joseph@codesourcery.com>
12412
12413 [BZ #14784]
12414 [BZ #14785]
12415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12416 x * y using scaling, not as x * y + z.
12417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12419 * math/libm-test.inc (fma_test): Add more tests.
12420 (fma_test_towardzero): Likewise.
12421 (fma_test_downward): Likewise.
12422 (fma_test_upward): Likewise.
12423
4078da3d
TS
124242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12425
12426 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12427
903252aa
JM
124282012-10-31 Joseph Myers <joseph@codesourcery.com>
12429
12430 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12431 New variable.
12432
cbc818d0
TS
124332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12434
12435 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12436
5a03cb1e
AS
124372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12438
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12440 Fix sort order.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12442 Likewise.
12443
90aff2ff
TMQMF
124442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12445
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12447 Fix the order of the list for glibc 2.17.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12449 Likewise.
12450
1818fcb7
AS
124512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12452
12453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12454
ef82f4da
JM
124552012-10-31 Joseph Myers <joseph@codesourcery.com>
12456
16a0e2ec
JM
12457 [BZ #14610]
12458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12459 for low part of x being zero before using __atanl (y).
12460 * math/libm-test.inc (atan2_test): Add another test.
12461
0eb69512
JM
12462 * manual/install.texi (Configuring and compiling): Document
12463 general use of test-wrapper and test-wrapper-env.
12464 * INSTALL: Regenerated.
12465
ef82f4da
JM
12466 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12467 (__fma): Do not extract and scale down low bits on after-rounding
12468 systems when result rounded to normal precision would have normal
12469 exponent.
12470 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12471 (__fmal): Do not extract and scale down low bits on after-rounding
12472 systems when result rounded to normal precision would have normal
12473 exponent.
12474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12475 (__fmal): Do not extract and scale down low bits on after-rounding
12476 systems when result rounded to normal precision would have normal
12477 exponent.
12478 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12479 macro.
12480 (fma_test): Add more tests.
12481 (fma_test_towardzero): Likewise.
12482 (fma_test_downward): Likewise.
12483 (fma_test_upward): Likewise.
12484
954ef0d9
L
124852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * sysdeps/i386/tininess.h: Renamed to ...
12488 * sysdeps/x86/tininess.h: This.
12489 * sysdeps/x86_64/tininess.h: Removed.
12490
df61ffb2
JM
124912012-10-30 Joseph Myers <joseph@codesourcery.com>
12492
12493 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12494 input. Use $(build-program-cmd).
12495 ($(objpfx)tst-array1-static.out): Likewise.
12496 ($(objpfx)tst-array2.out): Likewise.
12497 ($(objpfx)tst-array3.out): Likewise.
12498 ($(objpfx)tst-array4.out): Likewise.
12499 ($(objpfx)tst-array5.out): Likewise.
12500 ($(objpfx)tst-array5-static.out): Likewise.
12501
01767843
CM
125022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12503
47cc1490
CM
12504 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12505 if defined.
12506
01767843
CM
12507 * nss/nsswitch.h (nss_interface_function): Provide new
12508 macro for use with NSS functions.
12509 * grp/initgroups.c: Use new macro.
12510 * nss/getXXbyYY.c: Likewise.
12511 * nss/getXXbyYY_r.c: Likewise.
12512 * nss/getXXent.c: Likewise.
12513 * nss/getXXent_r.c: Likewise.
12514 * sysdeps/posix/getaddrinfo.c: Likewise.
12515
8321aa97
AJ
125162012-10-30 Andreas Jaeger <aj@suse.de>
12517
12518 * po/ru.po: Update Russion translation from translation project.
12519
2a27fd6d
JM
125202012-10-30 Joseph Myers <joseph@codesourcery.com>
12521
8627a232
JM
12522 [BZ #14152]
12523 [BZ #14783]
12524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12525 result and shift together with sticky bit instead of replicating
12526 round-to-nearest rounding.
12527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12529 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12530 missing underflow exceptions.
12531 (fma_test_towardzero): Add more tests.
12532 (fma_test_downward): Likewise.
12533 (fma_test_upward): Likewise.
12534
2a27fd6d
JM
12535 [BZ #14047]
12536 * sysdeps/generic/tininess.h: New file.
12537 * sysdeps/i386/tininess.h: Likewise.
12538 * sysdeps/sh/tininess.h: Likewise.
12539 * sysdeps/x86_64/tininess.h: Likewise.
12540 * stdlib/tst-strtod-underflow.c: Likewise.
12541 * stdlib/tst-tininess.c: Likewise.
12542 * stdlib/strtod_l.c: Include <tininess.h>.
12543 (round_and_return): Do not set errno for exact underflow cases.
12544 Force an underflow exception when setting errno for underflow.
12545 Determine underflow based on rounding to normal precision if
12546 TININESS_AFTER_ROUNDING.
12547 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12548 ERANGE for exact underflow cases.
12549 * stdlib/Makefile (tests): Add tst-tininess and
12550 tst-strtod-underflow.
12551 ($(objpfx)tst-tininess): Use $(link-libm).
12552 ($(objpfx)tst-strtod-underflow): Likewise.
12553
e7170363
AJ
125542012-10-30 Andreas Jaeger <aj@suse.de>
12555
e5088dc6
AJ
12556 [BZ#14767]
12557 * elf/Makefile (tests): Remove conditional for have-initfini-array
12558 since this is now always required and the variable does not exist
12559 anymore.
12560 (tests-static): Likewise.
12561 (modules-names): Likewise.
12562
e7170363 12563 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12564
12565 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12566 merged with constructor/destructor.
12567 (init_array): Likewise.
12568 * elf/tst-array2dep.c (fini_array): Likewise.
12569 (init_array): Likewise.
12570
60457d8a
MF
125712012-10-29 Mike Frysinger <vapier@gentoo.org>
12572
12573 * manual/message.texi: Delete @cartouche tags.
12574
8bece752
PT
125752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12576
94ce799f
PT
12577 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12578 EOPNOTSUPP.
12579 * sysdeps/mach/hurd/fsync.c: Likewise.
12580
8bece752
PT
12581 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12582 [_POSIX_REALTIME_SIGNALS]: Change condition to
12583 [_POSIX_REALTIME_SIGNALS > 0].
12584
86ebe6b1
AJ
125852012-10-27 Andreas Jaeger <aj@suse.de>
12586
12587 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12588 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12590 [__WORDSIZE != 64]: Likewise.
12591
54399c08
L
125922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12593
12594 * iconvdata/tst-table.sh: Remove ${SHELL}.
12595 * iconvdata/tst-tables.sh: Likewise.
12596
e2211bed
DM
125972012-10-25 David S. Miller <davem@davemloft.net>
12598
12599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12600 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12601 of strtoull.
12602
f303f97c
DM
12603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12604 ifunc-impl-list.c
12605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12606 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12607 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12608 file.
12609
1e9d84cd
RM
126102012-10-25 Roland McGrath <roland@hack.frob.com>
12611
12612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12613 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12614 __getdirentries.
12615
df381762
JM
126162012-10-25 Joseph Myers <joseph@codesourcery.com>
12617 Jim Blandy <jimb@codesourcery.com>
12618
12619 * scripts/cross-test-ssh.sh: New file.
12620 * manual/install.texi (Configuring and compiling): Document use of
12621 cross-test-ssh.sh.
12622 * INSTALL: Regenerated.
12623
bff64913
PT
126242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12625
12626 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12627 EOPNOTSUPP.
12628
25fe8932
JM
126292012-10-25 Joseph Myers <joseph@codesourcery.com>
12630
12631 * Makeconfig (run-program-prefix): Fix comment.
12632
cc1290d0
JM
126332012-10-24 Joseph Myers <joseph@codesourcery.com>
12634 Jim Blandy <jimb@codesourcery.com>
12635
12636 * Makeconfig (test-wrapper): New variable,
12637 (test-wrapper-env): Likewise.
12638 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12639 (run-built-tests): Define to yes.
12640 (run-program-prefix): Use $(test-wrapper).
12641 (built-program-cmd): Likewise.
12642 * Rules (make-test-out): Use $(test-wrapper-env) and
12643 $(host-built-program-cmd).
12644 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12645 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12646 tst-pathopt.sh.
12647 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12648 $(test-wrapper-env) to tst-rtld-load-self.sh.
12649 ($(objpfx)order2.out): Use $(test-wrapper).
12650 ($(objpfx)tst-initorder.out): Likewise.
12651 ($(objpfx)tst-initorder2.out): Likewise.
12652 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12653 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12654 (test_wrapper_env): New variable. Use it to run ld.so.
12655 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12656 Use it to run ld.so.
12657 (test_wrapper_env): Likewise.
12658 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12659 $(test-wrapper) to run-iconv-test.sh.
12660 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12661 (ICONV): Use $test_wrapper.
12662 * posix/Makefile ($(objpfx)globtest.out): Pass
12663 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12664 globtest.sh, not $(run-program-prefix).
12665 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12666 (test_wrapper): Likewise.
12667 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12668 set together with run_via_rtld_prefix.
12669 (run_program_prefix): Define in terms of test_wrapper and
12670 run_via_rtld_prefix.
12671
6e6249d0
RM
126722012-10-24 Roland McGrath <roland@hack.frob.com>
12673
12674 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12675 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12676 Targets removed.
12677
12678 [BZ #14743]
12679 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12680 Declare __clock_getres, __clock_gettime, __clock_settime,
12681 __clock_nanosleep, and __clock_getcpuclockid.
12682 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12683 Remove librt_hidden_def (clock_gettime).
12684 * sysdeps/unix/clock_gettime.c: Likewise.
12685 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12687 * rt/clock_getres.c: Define __clock_getres as an alias.
12688 * sysdeps/posix/clock_getres.c: Likewise.
12689 * rt/clock_settime.c: Define __clock_settime as an alias.
12690 * sysdeps/unix/clock_settime.c: Likewise.
12691 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12692 * sysdeps/unix/clock_nanosleep.c: Likewise.
12693 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12694 * rt/clock-compat.c: New file.
12695 * rt/Makefile (librt-routines): Add clock-compat and move
12696 $(clock-routines) to ...
12697 (routines): ... here, new variable.
12698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12699 Don't add get_clockfreq here.
12700 * rt/Versions (libc: GLIBC_2.17): New version set.
12701 Add clock_* symbols here.
12702 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12704 (GLIBC_2.17): Add clock_* symbols.
12705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12709 Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12711 Likewise.
12712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12716 * NEWS: Mention the move.
12717
12718 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12719 Use __open, __read, __close rather than their public counterparts.
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12721 (__get_clockfreq_via_cpuinfo): Likewise.
12722 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12723 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12724
12725 * config.h.in (HAVE_IFUNC): New #undef.
12726 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12727 was successful.
12728 * configure: Regenerated.
12729
0cae3f4b
MF
127302012-10-24 Mike Frysinger <vapier@gentoo.org>
12731
12732 * configure.in: Move READELF check to start of file.
12733 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12734 libc_cv_asm_gnu_indirect_function in the process.
12735 * configure: Regenerated.
12736
8175a253
MF
127372012-10-24 Mike Frysinger <vapier@gentoo.org>
12738
12739 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12740 send the output to /dev/null.
12741 (libc_cv_cc_with_libunwind): Likewise.
12742 (libc_cv_as_noexecstack): Likewise.
12743 * configure: Regenerate.
12744
0708a7d1
JM
127452012-10-24 Joseph Myers <joseph@codesourcery.com>
12746
10b40d85
JM
12747 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12748
0708a7d1
JM
12749 * posix/globtest.sh (TMPDIR): Do not set.
12750 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12751 (testout): Likewise.
12752
9fddec1a
AJ
127532012-10-24 Andreas Jaeger <aj@suse.de>
12754
3a8db22f
AJ
12755 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12756 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12757 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12758 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12759 posix_fadvise64, posix_fallocate64.
12760
9fddec1a
AJ
12761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12762 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12763 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12764 Likewise.
12765 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12766 Likewise.
12767 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12768
12769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12770 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12771 <bits/fcntl-linux.h>.
12772 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12773
12774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12775 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12776 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12777 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12778 [__WORDSIZE != 64]: Likewise.
12779
ebfd1bbd
JM
127802012-10-23 Joseph Myers <joseph@codesourcery.com>
12781
03ac099f
JM
12782 * Makeconfig (run-built-tests): New variable.
12783 * Rules [$(cross-compiling) = yes]: Change condition to
12784 [$(run-built-tests) = no].
12785 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12786 to [$(run-built-tests) = yes].
12787 * elf/Makefile [$(cross-compiling) = no]: Likewise
12788 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12789 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12790 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12791 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12792 * io/Makefile [$(cross-compiling) = no]: Likewise.
12793 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12794 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12795 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12796 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12797 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12798 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12799 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12800 * string/Makefile [$(cross-compiling) = no]: Likewise.
12801
ebfd1bbd
JM
12802 * posix/Makefile ($(objpfx)globtest.out): Pass
12803 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12804 $(rtld-installed-name).
12805 * posix/globtest.sh (elf_objpfx): Remove variable.
12806 (rtld_installed_name): Likewise.
12807 (library_path): Likewise.
12808 (run_program_prefix): New variable. Use for running globtest
12809 binary.
12810
166bca24
JB
128112012-10-23 Jim Blandy <jimb@codesourcery.com>
12812 Joseph Myers <joseph@codesourcery.com>
12813
12814 * Makeconfig (host-built-program-cmd): New variable.
12815 * elf/Makefile (tst-stackguard1-ARGS): Use
12816 $(host-built-program-cmd).
12817 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12818 (tst-spawn-ARGS): Likewise.
12819 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12820
88866099
JM
128212012-10-23 Joseph Myers <joseph@codesourcery.com>
12822 Jim Blandy <jimb@codesourcery.com>
12823
12824 * Makeconfig (run-via-rtld-prefix): New variable.
12825 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12826 (built-program-cmd): Likewise.
12827
b4b4c296
AJ
128282012-10-22 Andreas Jaeger <aj@suse.de>
12829
12830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12831 __O_RSYNC if it exists, otherwise to O_SYNC.
12832
6fb54a22
JB
128332012-10-22 Jim Blandy <jimb@codesourcery.com>
12834 Joseph Myers <joseph@codesourcery.com>
12835
12836 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12837 /dev/null.
12838 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12839 from /dev/null
12840 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12841 /dev/null.
12842
481b90b9
AJ
128432012-10-22 Andreas Jaeger <aj@suse.de>
12844
2a0e2669
AJ
12845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12846 Define always.
12847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12848
76e38f9a
AJ
12849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12850 bits/fcntl-linux.h.
12851
7cd37b43
AJ
12852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12853 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12854
481b90b9
AJ
12855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12856 to __O_LARGEFILE.
12857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12858 to __O_LARGEFILE.
12859
aba75984
JB
128602012-10-21 Jim Blandy <jimb@codesourcery.com>
12861 Joseph Myers <joseph@codesourcery.com>
12862
12863 * config.make.in (NM): New variable.
12864
88d4247f
AJ
128652012-10-21 Andreas Jaeger <aj@suse.de>
12866
12867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12868 definitions and declarations that are provided by
12869 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12870
f2eed205
L
128712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12872
12873 [BZ #14683]
12874 * elf/Makefile (tests-static): Add tst-leaks1-static.
12875 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12876 ($(objpfx)tst-leaks1-static): New rule.
12877 ($(objpfx)tst-leaks1-static-mem): Likewise.
12878 (tst-leaks1-static-ENV): New macro.
12879 * elf/dl-open.c (dl_open_worker): Check the main application
12880 only if SHARED is defined.
12881 * elf/tst-leaks1-static.c: New file.
12882
335e6931
AJ
128832012-10-20 Andreas Jaeger <aj@suse.de>
12884
12885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12886 generic values for Linux.
12887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12888 and declarations that are provided by <bits/fcntl-linux.h> and
12889 include <bits/fcntl-linux.h>.
12890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12892
ac5c94d3
RM
128932012-10-20 Roland McGrath <roland@hack.frob.com>
12894
12895 * io/fcntl.h: Move include of <bits/types.h> to the top and
12896 include it unconditionally.
12897
de54b33a
L
128982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12899
228cfb01
L
12900 * wcsmbs/Makefile (tests-ifunc): New variable.
12901 (tests): Add $(tests-ifunc).
12902 * wcsmbs/test-wcschr-ifunc.c: New file.
12903 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12904 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12905 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12906 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12907 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12908
69f07e5f
L
12909 * string/Makefile (tests-ifunc): New variable.
12910 (tests): Add $(tests-ifunc).
12911 * string/test-memccpy.c (TEST_NAME): New macro.
12912 * string/test-memchr.c (TEST_NAME): Likewise.
12913 * string/test-memcmp.c (TEST_NAME): Likewise.
12914 * string/test-memcpy.c (TEST_NAME): Likewise.
12915 * string/test-memmem.c (TEST_NAME): Likewise.
12916 * string/test-memmove.c (TEST_NAME): Likewise.
12917 * string/test-memset.c (TEST_NAME): Likewise.
12918 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12919 * string/test-stpcpy.c (TEST_NAME): Likewise.
12920 * string/test-stpncpy.c (TEST_NAME): Likewise.
12921 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12922 * string/test-strcasestr.c (TEST_NAME): Likewise.
12923 * string/test-strcat.c (TEST_NAME): Likewise.
12924 * string/test-strchr.c (TEST_NAME): Likewise.
12925 * string/test-strcmp.c(TEST_NAME): Likewise.
12926 * string/test-strcpy.c (TEST_NAME): Likewise.
12927 * string/test-strcspn.c (TEST_NAME): Likewise.
12928 * string/test-strlen.c (TEST_NAME): Likewise.
12929 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12930 * string/test-strncmp.c (TEST_NAME): Likewise.
12931 * string/test-strncpy.c (TEST_NAME): Likewise.
12932 * string/test-strnlen.c (TEST_NAME): Likewise.
12933 * string/test-strpbrk.c (TEST_NAME): Likewise.
12934 * string/test-strrchr.c (TEST_NAME): Likewise.
12935 * string/test-strspn.c (TEST_NAME): Likewise.
12936 * string/test-strstr.c (TEST_NAME): Likewise.
12937 * string/test-bcopy-ifunc.c: New file.
12938 * string/test-bzero-ifunc.c: Likewise.
12939 * string/test-memccpy-ifunc.c: Likewise.
12940 * string/test-memchr-ifunc.c: Likewise.
12941 * string/test-memcmp-ifunc.c: Likewise.
12942 * string/test-memcpy-ifunc.c: Likewise.
12943 * string/test-memmem-ifunc.c: Likewise.
12944 * string/test-memmove-ifunc.c: Likewise.
12945 * string/test-mempcpy-ifunc.c: Likewise.
12946 * string/test-memset-ifunc.c: Likewise.
12947 * string/test-rawmemchr-ifunc.c: Likewise.
12948 * string/test-stpcpy-ifunc.c: Likewise.
12949 * string/test-stpncpy-ifunc.c: Likewise.
12950 * string/test-strcasecmp-ifunc.c: Likewise.
12951 * string/test-strcasestr-ifunc.c: Likewise.
12952 * string/test-strcat-ifunc.c: Likewise.
12953 * string/test-strchr-ifunc.c: Likewise.
12954 * string/test-strchrnul-ifunc.c: Likewise.
12955 * string/test-strcmp-ifunc.c: Likewise.
12956 * string/test-strcpy-ifunc.c: Likewise.
12957 * string/test-strcspn-ifunc.c: Likewise.
12958 * string/test-strlen-ifunc.c: Likewise.
12959 * string/test-strncasecmp-ifunc.c: Likewise.
12960 * string/test-strncat-ifunc.c: Likewise.
12961 * string/test-strncmp-ifunc.c: Likewise.
12962 * string/test-strncpy-ifunc.c: Likewise.
12963 * string/test-strnlen-ifunc.c: Likewise.
12964 * string/test-strpbrk-ifunc.c: Likewise.
12965 * string/test-strrchr-ifunc.c: Likewise.
12966 * string/test-strspn-ifunc.c: Likewise.
12967 * string/test-strstr-ifunc.c: Likewise.
12968
de54b33a
L
12969 * debug/Makefile (tests-ifunc): New variable.
12970 (tests): Add $(tests-ifunc).
12971 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12972 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12973 * debug/test-stpcpy_chk-ifunc.c: New file.
12974 * debug/test-strcpy_chk-ifunc.c: Likewise.
12975
88481c16
SP
129762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12977
12978 [BZ #13601]
12979 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12980 header is not read in.
12981
135948bd
JM
129822012-10-19 Joseph Myers <joseph@codesourcery.com>
12983
89f1c388
JM
12984 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12985 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12986 directly. Pass built executable to script as
12987 $(built-program-cmd).
12988 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12989 $testprogram without using LD_LIBRARY_PATH and $ldso.
12990
e40a0d21
JM
12991 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12992 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12993 $(rtld-installed-name).
12994 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12995 (rtld_installed_name): Likewise.
12996 (library_path): Likewise.
12997 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12998 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12999 $(run-program-prefix) to tst-tables.sh.
13000 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13001 it to run tst-table-from and tst-table-to.
13002 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13003 Pass it to tst-table.sh.
13004 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13005 $(run-program-prefix) to tst-gettext.sh.
13006 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13007 tst-translit.sh.
13008 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13009 tst-gettext2.sh.
13010 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13011 to run tst-gettext.
13012 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13013 to run tst-gettext2.
13014 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13015 to run tst-translit.
13016 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13017 $(run-program-prefix) to tst-mtrace.sh.
13018 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13019 to run tst-mtrace.
13020 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13021 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13022 $(rtld-installed-name).
13023 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13024 (rtld_installed_name): Likewise.
13025 (run_program_prefix): New variable. Use it to run wordexp-test.
13026
728e272a
JM
13027 * Makeconfig (ARCH): Remove all definitions.
13028 (machine): Likewise.
13029 [ARCH]: Remove conditional code.
13030 [!objdir]: Give error.
13031 [!objdir] (objpfx): Remove.
13032 [!objdir] (common-objpfx): Likewise.
13033 [!objdir] (common-objdir): Likewise.
13034 * configure.in (config_makefile): Remove. Hardcode Makefile in
13035 AC_CONFIG_FILES call.
13036 * configure: Regenerated.
13037
d528cdcf
JM
13038 [BZ #13888]
13039 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13040 or TMPDIR.
13041 (testout): Likewise.
13042
135948bd
JM
13043 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13044 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13045 $(rtld-installed-name).
13046 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13047 (rtld_installed_name): Likwise.
13048 (runit): Remove function.
13049 (run_getconf): New variable, Use it for running getconf binary.
13050
38c78296
L
130512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13052
13053 [BZ #14716]
13054 * string/test-memmem.c (check_result): New function.
13055 (do_one_test): Use it.
13056 (check1): New function.
13057 (test_main): Use it.
13058
d077f65f
MT
130592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13060
13061 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13062
ced52c71
JM
130632012-10-18 Joseph Myers <joseph@codesourcery.com>
13064
13065 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13066 (_G_LSEEK64): Likewise.
13067 (_G_MMAP64): Likewise.
13068 (_G_FSTAT64): Likewise.
13069 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13070 (_G_LSEEK64): Likewise.
13071 (_G_MMAP64): Likewise.
13072 (_G_FSTAT64): Likewise.
13073 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13074 unconditional. Call __mmap64 directly.
13075 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13076 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13077 __lseek64 directly.
13078 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13079 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13080 __mmap64 directly.
13081 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13082 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13083 __lseek64 directly.
13084 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13085 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13086 __lseek64 directly.
13087 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13088 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13089 __lseek64 directly.
13090 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13091 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13092 __fxstat64 directly.
13093 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13094 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13095 unconditional.
13096 (freopen64) [!_G_OPEN64]: Remove conditional code.
13097 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13098 unconditional.
13099 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13100 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13101 unconditional.
13102 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13103 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13104 unconditional.
13105 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13106 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13107 unconditional.
13108 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13109 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13110 unconditional.
13111 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13112 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13113 unconditional.
13114 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13115 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13116 unconditional.
13117 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13118
b741de23
SP
131192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13120
13121 [BZ #12140]
13122 * manual/memory.texi (Malloc Tunable Parameters): Add note
13123 about free list pointers overwriting some perturb bytes.
13124 Wording suggested by Roland McGrath.
13125
f9b9d9c9
JM
131262012-10-17 Joseph Myers <joseph@codesourcery.com>
13127
13128 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13129 (lgamma_test): Likewise.
13130 (tgamma_test): Likewise.
13131
172a631a
FW
131322012-10-16 Florian Weimer <fweimer@redhat.com>
13133
13134 [BZ #14700]
13135 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13136 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13137
e9f37252
MK
131382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13139
13140 * NEWS: Mention BZ #14716.
13141 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13142 when removing AVAILABLE1_USES_J macro.
13143
d394eb74
L
131442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13147 (__bswap_64): __uint64_t for unsigned 64-bit int.
13148
ca38dc17
AS
131492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13150
13151 * include/string.h (memmem): Declare libc hidden alias.
13152 * string/memmem.c (memmem): Define libc hidden alias.
13153 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13154 __read, __close instead of open, read, close.
13155
9a387d1f
L
131562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13157
ac49ecaf
L
13158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13159 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13160 global and hidden.
13161 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13162 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13163 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13164 Likewise.
13165 (__rawmemchr_sse2): Likewise.
13166 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13167 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13168 (__strchr_sse2): Likewise.
13169 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13170 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13171 (__strcasecmp_sse2): Likewise.
13172 (__strncasecmp_sse2): Likewise.
13173 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13174 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13175 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13176 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13177 (__strrchr_sse2): Likewise.
13178 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13179 ifunc-impl-list.c.
13180 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13181 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13182 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13183 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13184 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13185 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13188 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13189 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13190 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13192 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13193 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13194 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13195 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13196 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13197 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13198 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13199 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13200 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13201 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13202 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13203 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13204 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13206 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13207 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13208 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13209 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13210
b090e8ea
L
13211 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13212 global and hidden.
13213 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13214 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13215 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13216 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13217 Likewise.
13218 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13219 Likewise.
13220 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13221 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13222 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13223 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13224 ifunc-impl-list.c.
13225 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13226 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13228 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13229 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13230 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13231 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13232 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13233 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13234 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13238 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13239 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13242 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13243 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13244 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13250 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13251 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13252 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13253 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13254 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13255 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13256 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13257 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13258 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13259 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13261 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13262 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13264 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13265 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13266
11dd4af6
L
13267 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13268 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13269 * include/ifunc-impl-list.h: New file.
13270 * misc/ifunc-impl-list.c: Likewise.
13271 * misc/Makefile (routines): Add ifunc-impl-list.
13272 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13273 * string/test-string.h: Include <ifunc-impl-list.h>.
13274 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13275 impl_array): New variables.
13276 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13277 are defined.
13278 (test_init): Call __libc_ifunc_impl_list to initialize
13279 func_list if TEST_IFUNC and TEST_NAME are defined.
13280
9a387d1f
L
13281 * string/Makefile (strop-tests): Add bcopy and bzero.
13282 * string/test-bcopy.c: New file.
13283 * string/test-bzero.c: Likewise.
13284 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13285 defined.
13286 * string/test-memset.c: Support bzero test if TEST_BZERO is
13287 defined.
13288 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13289 __libc_memmove.
13290 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13291 __libc_memset.
13292 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13293 of memset.
13294
472371b9
JM
132952012-10-10 Joseph Myers <joseph@codesourcery.com>
13296
1e4a9536
JM
13297 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13298 * configure: Regenerated.
13299
d173d12e
JM
13300 * Makeconfig (+link-static-before-libc): Don't include
13301 $(link-static-libc).
13302
472371b9
JM
13303 * libio/libio.h (_IO_pos_t): Remove.
13304
89a3ad0b
AO
133052012-10-10 Alexandre Oliva <aoliva@redhat.com>
13306
13307 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13308 McGrath.
13309
e7451425
AO
133102012-10-10 Alexandre Oliva <aoliva@redhat.com>
13311
13312 * crypt/crypt-entry.c: Include fips-private.h.
13313 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13314 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13315 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13316 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13317
4ba74a35
AO
133182012-10-10 Alexandre Oliva <aoliva@redhat.com>
13319
13320 * crypt/crypt-private.h: Include stdbool.h.
13321 (_ufc_setup_salt_r): Return bool.
13322 * crypt/crypt-entry.c: Include errno.h.
13323 (__crypt_r): Return NULL with EINVAL for bad salt.
13324 * crypt/crypt_util.c (bad_for_salt): New.
13325 (_ufc_setup_salt_r): Check that salt is long enough and within
13326 the specified alphabet.
13327 * crypt/badsalttest.c: New file.
13328 * crypt/Makefile (tests): Add it.
13329 ($(objpfx)badsalttest): New.
13330
f96f1242
MK
133312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13332
13333 * NEWS: Add entry for BZ #14602.
13334
0e8e0c1c
JM
133352012-10-09 Joseph Myers <joseph@codesourcery.com>
13336
13337 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13338 type-generic.
13339 * math/libm-test.inc: Update comment listing what functions and
13340 macros are tested.
13341 (isgreater_test): New function.
13342 (isgreaterequal_test): Likewise.
13343 (isless_test): Likewise.
13344 (islessequal_test): Likewise.
13345 (islessgreater_test): Likewise.
13346 (isunordered_test): Likewise.
13347 (main): Call the new functions.
13348
273edc5e
RM
133492012-10-09 Roland McGrath <roland@hack.frob.com>
13350
b8493de0
RM
13351 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13352 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13353 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13354 * sysdeps/i386/configure: Regenerated.
13355 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13356 * sysdeps/mach/configure: Regenerated.
13357 * sysdeps/mach/hurd/configure: Regenerated.
13358 * sysdeps/powerpc/configure: Regenerated.
13359 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13360 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13361 * sysdeps/s390/s390-32/configure: Regenerated.
13362 * sysdeps/s390/s390-64/configure: Regenerated.
13363 * sysdeps/sh/configure: Regenerated.
13364 * sysdeps/sparc/configure: Regenerated.
13365 * sysdeps/unix/sysv/linux/configure: Regenerated.
13366 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13367 * sysdeps/x86_64/configure: Regenerated.
13368
273edc5e
RM
13369 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13370 defined. Don't check if MAP is NULL.
13371
c8450f70
JM
133722012-10-09 Joseph Myers <joseph@codesourcery.com>
13373
13374 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13375 (_G_stat64): Likewise.
13376 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13377 (_G_stat64): Likewise.
13378 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13379 instead of struct _G_stat64.
13380 * libio/fileops.c (mmap_remap_check): Likewise.
13381 (decide_maybe_mmap): Likewise.
13382 (_IO_new_file_seekoff): Likewise.
13383 (_IO_file_stat): Likewise.
13384 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13385 _G_off64_t.
13386 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13387 instead of struct _G_stat64.
13388 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13389
57e605ba
MK
133902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13391
13392 [BZ #14602]
13393 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13394 Replace with ...
13395 (CHECK_EOL): New macro.
13396 (two_way_short_needle): Check beginning of haystack for EOL. Use
13397 CHECK_EOL.
13398 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13399 Replace with CHECK_EOL.
13400 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13401 Replace with CHECK_EOL.
13402
ef1bb361
JM
134032012-10-08 Joseph Myers <joseph@codesourcery.com>
13404
13405 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13406 type-generic.
13407 * math/libm-test.inc: Update comment listing what functions and
13408 macros are tested.
13409 (finite_test): New function.
13410 (isinf_test): Likewise.
13411 (isnan_test): Likewise.
13412 (fpclassify_test): Test subnormal input.
13413 (isfinite_test): Likewise.
13414 (isnormal_test): Likewise.
13415 (main): Call the new functions.
13416
55f11534
JN
134172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13418
13419 [BZ #14660]
13420 * Makerules (%.dynsym): Force C locale when running
13421 $(OBJDUMP) --dynamic-syms.
13422
1ab29350
AS
134232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13424
13425 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13426 <stdint.h>.
13427
f1ecb7ef
DM
134282012-10-06 David S. Miller <davem@davemloft.net>
13429
13430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13431 upper 32-bits of the length value in %o2 since we use branch-on-register
13432 tests which consider the entire 64-bit register.
13433
5d41d91a
L
134342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * string/test-strstr.c (check2): Add a test for page boundary.
13437
3baddb72
DM
134382012-10-05 David S. Miller <davem@davemloft.net>
13439
13440 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13442 file.
13443 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13444 sysdep_routines.
13445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13446 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13447 and bzero when HWCAP_SPARC_CRYPTO is present.
13448
9cee5585
L
134492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13450
d7e0dab9
L
13451 [BZ #14602]
13452 * string/test-strstr.c (check2): New function.
13453 (test_main): Call check2.
13454
03759f47
L
13455 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13456 and bug-strchr1.
13457 * string/bug-strcasestr1.c (do_test): Moved to ...
13458 * string/test-strcasestr.c (check1): Here. New function.
13459 (do_one_test): Break out result checking code into ...
13460 (check_result): This. New function.
13461 (do_one_test): Call check_result.
13462 (test_main): Call check1.
13463 * string/bug-strchr1.c (do_test): Moved to ...
13464 * string/test-strchr.c (check1): Here. New function.
13465 (do_one_test): Break out result checking code into ...
13466 (check_result): This. New function.
13467 (do_one_test): Call check_result.
13468 (test_main): Call check1.
13469 * string/bug-strstr1.c (main): Moved to ...
046f153e 13470 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13471 (do_one_test): Break out result checking code into ...
13472 (check_result): This. New function.
13473 (do_one_test): Call check_result.
13474 (test_main): Call check1.
13475 * string/bug-strcasestr1.c: Removed.
13476 * string/bug-strchr1.c: Likewise.
13477 * string/bug-strstr1.c: Likewise.
13478
53cea63e
L
13479 * elf/Makefile (dl-routines): Add hwcaps.
13480 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13481 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13482 (_dl_important_hwcaps): Moved to ...
13483 * elf/dl-hwcaps.c: Here. New file.
13484 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13485
9cee5585 13486 [BZ #14557]
bb859b06
L
13487 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13488 if IS_IN_rtld isn't defined.
13489
9cee5585
L
13490 * elf/dl-support.c (_dl_sysinfo_map): New.
13491 Include "get-dynamic-info.h" and "setup-vdso.h".
13492 (_dl_non_dynamic_init): Call setup_vdso.
13493 * elf/dynamic-link.h: Don't include <assert.h>.
13494 (elf_get_dynamic_info): Moved to ...
13495 * elf/get-dynamic-info.h: Here. New file.
13496 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13497 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13498 * elf/setup-vdso.h: Here. New file.
13499 * elf/rtld.c: Include "setup-vdso.h".
13500 (dl_main): Call setup_vdso.
13501
23c31b76
JM
135022012-10-05 Joseph Myers <joseph@codesourcery.com>
13503
28234b07
JM
13504 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13505 creal in comment listing functions tested. List finite, isinf,
13506 isnan, isless, islessequal, isgreater, isgreaterequal,
13507 islessgreater, isunordered, lgamma_r and pow10 as functions and
13508 macros not tested. Mention which functions not tested are aliases
13509 for other functions. Fix typo. Note that signs of NaNs are not
13510 tested.
13511
23c31b76
JM
13512 * scripts/config.guess: Update from config.git.
13513 * scripts/config.sub: Likewise.
13514
9043e228
RM
135152012-10-04 Roland McGrath <roland@hack.frob.com>
13516
13517 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13518 * misc/madvise.c (madvise): Renamed to __madvise.
13519 Make madvise a weak alias.
13520 * include/sys/mman.h: Declare __madvise.
13521 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13522 * sysdeps/unix/syscalls.list
13523 (madvise): Make __madvise the strong name, and madvise a weak alias.
13524 * sysdeps/unix/sysv/linux/syscalls.list
13525 (madvise, mmap): Remove redundant entries.
13526 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13527 * malloc/malloc.c (mtrim): Likewise.
13528 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13529
f57f8055
RM
135302012-10-03 Roland McGrath <roland@hack.frob.com>
13531
13532 * sysdeps/mach/hurd/dl-cache.c: File removed.
13533 * config.h.in (USE_LDCONFIG): New #undef.
13534 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13535 * configure: Regenerated.
13536 * elf/Makefile (dl-routines): Add dl-cache only under
13537 [$(use-ldconfig) = yes].
13538 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13539 cache on [USE_LDCONFIG].
13540 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13541 [USE_LDCONFIG].
13542 * elf/rtld.c (dl_main): Likewise.
13543
5bb0c10a
PT
135442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13545
13546 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13547 _SC_LEVEL4_CACHE_LINESIZE.
13548
010188c6
RM
135492012-10-03 Roland McGrath <roland@hack.frob.com>
13550
13551 * sysdeps/unix/bsd/confstr.h: File removed.
13552
b6c5ec07
AO
135532012-10-02 Alexandre Oliva <aoliva@redhat.com>
13554
13555 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13556 sys/sdt-config.h.
13557
408223d4
RM
135582012-10-02 Roland McGrath <roland@hack.frob.com>
13559
13560 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13561 Make 'mapoff' field ElfW(Off) rather than off_t.
13562
bb9510dc
DL
135632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13564
fc997c6e
DL
13565 * nscd/Makefile: Remove nscd-cflags and all its users.
13566 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13567 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13568
bb9510dc
DL
13569 [BZ #10631]
13570 * malloc.c (malloc_printerr): Clarify error message.
13571
05699367
L
135722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 [BZ #14648]
13575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13576 Set bit_FMA_Usable if FMA is supported.
13577 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13578 macro.
13579 (bit_FMA4_Usable): Updated.
13580 (index_FMA_Usable): New macro.
13581 (CPUID_FMA): Likewise
13582 (HAS_FMA): Defined with bit_FMA_Usable.
13583
51367701
RM
135842012-10-01 Roland McGrath <roland@hack.frob.com>
13585
13586 * bits/types.h (__swblk_t): Type removed.
13587 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13588 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13590 (__SWBLK_T_TYPE): Likewise.
13591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13592 (__SWBLK_T_TYPE): Likewise.
13593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13594 (__SWBLK_T_TYPE): Likewise.
13595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13596 (__SWBLK_T_TYPE): Likewise.
13597
4d57bf63 135982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13599 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13600
13601 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13602 (xdr_mapname): Use YPMAXMAP as maxsize.
13603 (xdr_peername): Use YPMAXPEER as maxsize.
13604 (xdr_keydat): Use YPAXRECORD as maxsize.
13605 (xdr_valdat): Use YPMAXRECORD as maxsize.
13606
93c65d43
RM
136072012-10-01 Roland McGrath <roland@hack.frob.com>
13608
497a03d6
RM
13609 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13610
93c65d43
RM
13611 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13612 * csu/init-first.c: ... here.
13613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13614 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13615 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13616 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13617 * sysdeps/i386/init-first.c: File removed.
13618 * sysdeps/sh/init-first.c: File removed.
13619
bec749fd
JM
136202012-10-01 Joseph Myers <joseph@codesourcery.com>
13621
13622 [BZ #14645]
13623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13624 if x * y might underflow to zero and z is zero.
13625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13627 * math/libm-test.inc (min_subnorm_value): New variable.
13628 (fma_test): Add more tests.
13629 (fma_test_towardzero): Likewise.
13630 (fma_test_downward): Likewise
13631 (fma_test_upward): Likewise.
13632 (initialize): Set min_subnorm_value.
13633
8ec5b013
JM
136342012-09-29 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #14638]
13637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13638 0 + 0.
13639 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13640 mode for addition resulting in exact zero.
13641 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13643 exact 0 + 0.
13644 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13646 * math/libm-test.inc (fma_test): Add more tests.
13647 (fma_test_towardzero): New function.
13648 (fma_test_downward): Likewise.
13649 (fma_test_upward): Likewise.
13650 (main): Call the new functions.
13651
b1fa802e
DM
136522012-09-28 David S. Miller <davem@davemloft.net>
13653
13654 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13655
d3b9fd9e
RM
136562012-09-28 Roland McGrath <roland@hack.frob.com>
13657
ea4d37b3
RM
13658 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13659 instead of SIGALRM.
13660
ac51c949
RM
13661 * sysdeps/gnu/_G_config.h: Moved to ...
13662 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13663 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13664 * sysdeps/generic/_G_config.h: ... here.
13665
28c195f7
RM
13666 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13667
848917f9
RM
13668 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13669
6bacf05b
RM
13670 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13671 Conditionalize target on [libnss_test1.so-version].
13672
91363dbb
RM
13673 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13674
cc87f7d8
RM
13675 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13676 (elfobjdir): Move out of conditionals.
13677
b1c608fe
RM
13678 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13679 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13680 (__nss_lookup_function): Conditionalize label remove_from_tree on
13681 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13682
1d9a6d96
DM
136832012-09-28 David S. Miller <davem@davemloft.net>
13684
13685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13687 file.
13688 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13689 sysdep_routines.
13690 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13692 when HWCAP_SPARC_CRYPTO is present.
13693
72581615
PT
136942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13695
13696 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13697
715a900c
JL
136982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13699
13700 [BZ #6530]
13701 * stdio-common/vfprintf.c (process_string_arg): Revert
13702 2000-07-22 change.
13703
137042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13705
13706 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13707 for testcase.
13708 * stdio-common/tst-sprintf.c: Include <locale.h>
13709 (main): Test sprintf's handling of incomplete multibyte
13710 characters.
13711
9bac1d86
L
137122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 * elf/dl-runtime.c (VERSYMIDX): Removed.
13715 * elf/dl-version.c (VERSYMIDX): Likewise.
13716 * elf/do-rel.h (VERSYMIDX): Likewise.
13717 (VALIDX): Likewise.
13718 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13719 * elf/rtld.c (VALIDX): Likewise.
13720 (ADDRIDX): Likewise.
9bac1d86
L
13721 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13722 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13723 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13724 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13725 (VALIDX): Likewise.
13726 (ADDRIDX): Likewise.
9bac1d86 13727
b31606c0
PT
137282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13729
13730 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13731
11541177
JL
137322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13733
13734 [BZ #11438]
13735 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13736 to global scope.
13737 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13738 addresses are in the same scope as 192.0.2/24.
13739 * posix/gai.conf: Document new scope table defaults.
13740
adb26fae
SP
137412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13742
13743 [BZ #5298]
13744 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13745 for ftell. Compute offsets from write pointers instead.
13746 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13747
4573c6b0
SP
137482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13749
13750 [BZ #14543]
13751 * libio/Makefile (tests): New test case tst-fseek.
13752 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13753 combination works in wide mode.
13754 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13755 state when the external buffer state changes.
13756
aa9bbfe6
DM
137572012-09-27 David S. Miller <davem@davemloft.net>
13758
13759 [BZ #14376]
13760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13761 pass reloc->r_addend in as the 'high' argument to
13762 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13763
784421e7
DM
13764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13765
c39bc8b8
PT
137662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13767
13768 * rt/tst-aio2.c: Include <pthread.h>.
13769 * rt/tst-aio3.c: Likewise.
13770
1ccc2399
SE
137712012-09-27 Steve Ellcey <sellcey@mips.com>
13772
13773 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13774
31ed4153
L
137752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13776
25f5f885
L
13777 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13778 contents on [SHARED].
31ed4153 13779
b7bfe116
MP
137802012-09-26 Marek Polacek <polacek@redhat.com>
13781
13782 [BZ #14530]
13783 [BZ #13741]
13784 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13785 for C++ and GCC <4.3 as well as for non GCC compilers.
13786
43c4edba
MT
137872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13788
13789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13790
6a1bf82f
RM
137912012-09-25 Roland McGrath <roland@hack.frob.com>
13792
13793 * Makefile.in (all, install): Declare with .PHONY.
13794 Reported by Michael Hope <michael.hope@linaro.org>.
13795
8ad11b9a
TMQMF
137962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13797
13798 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13799 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13800 system header.
13801 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13802 Likewise.
13803 (sydep_routines): Add the new and the internal functions.
13804 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13807 (GLIBC_2.17): Add the new function.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13809 (GLIBC_2.17): Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13811 (GLIBC_2.17): Likewise.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13813 (GLIBC_2.17): Likewise.
13814 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13815
7e2fca8d
AM
138162012-09-25 Alan Modra <amodra@gmail.com>
13817
13818 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13819 Add release barrier before setting once_control to say
13820 initialisation is done. Add hints on lwarx. Use macro in
13821 place of isync.
13822 (clear_once_control): Add release barrier.
13823
b87c4b24
JM
138242012-09-25 Joseph Myers <joseph@codesourcery.com>
13825
d032e0d2
JM
13826 [BZ #13629]
13827 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13828 specially.
13829 * math/s_clog10.c (__clog10): Likewise.
13830 * math/s_clog10f.c (__clog10f): Likewise.
13831 * math/s_clog10l.c (__clog10l): Likewise.
13832 * math/s_clogf.c (__clogf): Likewise.
13833 * math/s_clogl.c (__clogl): Likewise.
13834 * math/Makefile (libm-calls): Add x2y2m1.
13835 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13836 (__x2y2m1): Likewise.
13837 (__x2y2m1l): Likewise.
13838 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13839 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13843 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13844 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13845 * sysdeps/i386/fpu/libm-test-ulps: Update.
13846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13847
b87c4b24
JM
13848 [BZ #14621]
13849 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13850 int as type of variable DEPTH.
13851 (glob): Use size_t instead of int as type of variables NEWCOUNT
13852 and OLD_PATHC.
13853
6d3bf199
LD
138542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13855
22bf5c17
LD
13856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13857 Add s_sincosf-sse2.
13858 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13859 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13860 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13861 macros for using routine as __sincosf_ia32.
13862 Use macro for function declaration and weak_alias.
13863 * sysdeps/i386/fpu/libm-test-ulps: Update.
13864
13865 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13867
13868 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13869 subnormal argument.
13870 * math/s_cexpf.c (__cexpf): Likewise.
13871 * math/s_csinf.c (__csinf): Likewise.
13872 * math/s_csinhf.c (__csinhf): Likewise.
13873 * math/s_ctanf.c (__ctanf): Likewise.
13874 * math/s_ctanhf.c (__ctanhf): Likewise.
13875 * math/s_ccosh.c (__ccoshf): Likewise.
13876 * math/s_cexp.c (__cexpl): Likewise.
13877 * math/s_csin.c (__csin): Likewise.
13878 * math/s_csinh.c (__csinh): Likewise.
13879 * math/s_ctan.c (__ctan): Likewise.
13880 * math/s_ctanh.c (ctanh): Likewise.
13881 * math/s_ccoshl.c (__ccoshl): Likewise.
13882 * math/s_cexpl.c (__cexpl): Likewise.
13883 * math/s_csinl.c (__csinl): Likewise.
13884 * math/s_csinhl.c (__csinhl): Likewise.
13885 * math/s_ctanl.c (__ctanl): Likewise.
13886 * math/s_ctanhl.c (__ctanhl): Likewise.
13887
203e5603
JM
138882012-09-25 Joseph Myers <joseph@codesourcery.com>
13889
13890 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13891 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13892 (_IO_off_t): Define to __off_t, not _G_off_t.
13893 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13894 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13895 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13896 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13897 type of __dummy and __dummy2 fields.
13898 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13899 (_G_ssize_t): Likewise.
13900 (_G_off_t): Likewise.
13901 (_G_pid_t): Likewise.
13902 (_G_uid_t): Likewise.
13903 (_G_wchar_t): Likewise.
13904 (_G_wint_t): Likewise.
13905 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13906 (_G_ssize_t): Likewise.
13907 (_G_off_t): Likewise.
13908 (_G_pid_t): Likewise.
13909 (_G_uid_t): Likewise.
13910 (_G_wchar_t): Likewise.
13911 (_G_wint_t): Likewise.
13912 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13913 (_G_ssize_t): Likewise.
13914 (_G_off_t): Likewise.
13915 (_G_pid_t): Likewise.
13916 (_G_uid_t): Likewise.
13917 (_G_wchar_t): Likewise.
13918 (_G_wint_t): Likewise.
13919
9fab36eb
SP
139202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13921
13922 * malloc/arena.c: Include malloc-sysdep.h.
13923 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13924 is sufficient to shrink the heap or an unmap is needed.
13925 * sysdeps/generic/malloc-sysdep.h: New file. Define
13926 new function check_may_shrink_heap.
13927 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13928 new function check_may_shrink_heap.
13929
2b4f00d1
SP
139302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
13932 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13933 comments.
13934
9a9028b1
DL
139352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13936
57c69bef
DL
13937 * catgets/test-gencat.sh: Add "set -e".
13938 * elf/tst-pathopt.sh: Likewise.
13939 * grp/tst_fgetgrent.sh: Likewise.
13940 * iconvdata/run-iconv-test.sh: Likewise.
13941 * intl/tst-gettext.sh: Likewise.
13942 * intl/tst-gettext2.sh: Likewise.
13943 * intl/tst-gettext4.sh: Likewise.
13944 * intl/tst-gettext6.sh: Likewise.
13945 * intl/tst-translit.sh: Likewise.
13946 * io/ftwtest-sh: Likewise.
13947 * libio/test-freopen.sh: Likewise.
13948 * malloc/tst-mtrace.sh: Likewise.
13949 * posix/globtest.sh: Likewise.
13950 * posix/tst-getconf.sh: Likewise.
13951 * posix/wordexp-tst.sh: Likewise.
13952 * stdio-common/tst-printf.sh: Likewise.
13953 * stdio-common/tst-unbputc.sh: Likewise.
13954 * stdlib/tst-fmtmsg.sh: Likewise.
13955 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13956 * catgets/Makefile: Do not specify -e option when running
13957 testsuite shell scripts.
13958 * elf/Makefile: Likewise.
13959 * grp/Makefile: Likewise.
13960 * iconvdata/Makefile: Likewise.
13961 * intl/Makefile: Likewise.
13962 * io/Makefile: Likewise.
13963 * libio/Makefile: Likewise.
13964 * malloc/Makefile: Likewise.
13965 * posix/Makefile: Likewise.
13966 * stdio-common/Makefile: Likewise.
13967 * stdlib/Makefile: Likewise.
13968 * sysdeps/x86_64/Makefile: Likewise.
13969
9a9028b1
DL
13970 * io/ftwtest-sh: Add copyright header.
13971 * posix/globtest.sh: Likewise.
13972 * posix/tst-getconf.sh: Likewise.
13973 * posix/wordexp-tst.sh: Likewise.
13974 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13975
ced6f16e
L
139762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13977
94b32c39
L
13978 [BZ #13679]
13979 * Makeconfig (+link): Defined as $(+link-static) if
13980 $(build-shared) isn't yes.
13981 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13982 isn't yes.
13983 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13984
189e935b
L
13985 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13986
ced6f16e
L
13987 [BZ #14562]
13988 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13989 new chunk size with MALLOC_ALIGN_MASK.
13990
a9f8e53a
JM
139912012-09-24 Joseph Myers <joseph@codesourcery.com>
13992
13993 [BZ #5044]
13994 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13995 <rounding-mode.h>.
13996 (__printf_fphex): Determine rounding using get_rounding_mode and
13997 round_away.
13998 * stdio-common/tst-printf-round.c (struct hex_test): New
13999 structure.
14000 (hex_tests): New variable.
14001 (test_hex_in_one_mode): New function.
14002 (do_test): Also run tests for hex float output.
14003
43153109
JM
140042012-09-21 Joseph Myers <joseph@codesourcery.com>
14005
14006 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14007 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14008 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14009 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14010 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14011 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14012 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14013 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14014
8a26625d
JM
140152012-09-20 Joseph Myers <joseph@codesourcery.com>
14016
14017 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14018 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14019 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14020 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14021
f3fd569c
DL
140222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14023
14024 [BZ #14579]
14025 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14026 mode only.
14027 * elf/tst-rtld-load-self.sh: New test.
14028 * elf/Makefile: Run it.
14029
63bbedd4
JM
140302012-09-18 Joseph Myers <joseph@codesourcery.com>
14031
14032 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14033 (tst-writev-ENV): Remove.
14034 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14035
626f8b6a
CM
140362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14037
14038 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14039
b7aaa4d6
JM
140402012-09-17 Joseph Myers <joseph@codesourcery.com>
14041
14042 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14043 unconditional.
14044 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14045 Likewise.
14046 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14047 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14048 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14049 Likewise.
14050
65513990
L
140512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14052
14053 [BZ #14587]
14054 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14055 * config.make.in (have-cpp-asm-debuginfo): Removed.
14056 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14057 * configure: Regenerated.
14058
784761be
JM
140592012-09-14 Joseph Myers <joseph@codesourcery.com>
14060
14061 [BZ #5044]
14062 * stdio-common/printf_fp.c: Include <stdbool.h> and
14063 <rounding-mode.h>.
14064 (___printf_fp): Determine rounding using get_rounding_mode and
14065 round_away.
14066 * stdio-common/tst-printf-round.c: New file.
14067 * stdio-common/Makefile (tests): Add tst-printf-round.
14068 (link-libm): New variable.
14069 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14070
9503345f
L
140712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 [BZ #14576]
14074 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14075 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14076 Likewise.
14077 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14078 Likewise.
14079
ad35fc00
JM
140802012-09-13 Joseph Myers <joseph@codesourcery.com>
14081
14082 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14083 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14084 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14085 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14086
6c9b0f68
JM
140872012-09-12 Joseph Myers <joseph@codesourcery.com>
14088
14089 [BZ #14518]
14090 * include/rounding-mode.h: New file.
14091 * sysdeps/generic/get-rounding-mode.h: Likewise.
14092 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14093 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14094 (MAX_VALUE): New macro.
14095 (MIN_VALUE): Likewise.
14096 (overflow_value): New function.
14097 (underflow_value): Likewise.
14098 (round_and_return): Use overflow_value and underflow_value to
14099 determine return values in overflow and underflow cases. Use
14100 round_away to determine rounding depending on rounding mode.
14101 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14102 determine return values in overflow and underflow cases.
14103 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14104 (struct test_results): New structure.
14105 (struct test): Use struct test_results to store expected results
14106 for all rounding modes.
14107 (TEST): Include expected results for all rounding modes.
14108 (test_in_one_mode): New function.
14109 (do_test): Use test_in_one_mode to compute and check results.
14110 Check results for all rounding modes.
14111 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14112 $(link-libm).
14113
19fcedd5
AM
141142012-12-09 Allan McRae <allan@archlinux.org>
14115
1e9d84cd 14116 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14117
8bbfd2f1
JM
141182012-09-11 Joseph Myers <joseph@codesourcery.com>
14119
14120 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14121 (_G_int32_t): Likewise.
14122 (_G_uint16_t): Likewise.
14123 (_G_uint32_t): Likewise.
14124 (_G_HAVE_BOOL): Likewise.
14125 (_G_HAVE_ATEXIT): Likewise.
14126 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14127 (_G_HAVE_IO_FILE_OPEN): Likewise.
14128 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14129 (_G_int32_t): Likewise.
14130 (_G_uint16_t): Likewise.
14131 (_G_uint32_t): Likewise.
14132 (_G_HAVE_BOOL): Likewise.
14133 (_G_HAVE_ATEXIT): Likewise.
14134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14135 (_G_HAVE_IO_FILE_OPEN): Likewise.
14136 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14137 (_G_int32_t): Likewise.
14138 (_G_uint16_t): Likewise.
14139 (_G_uint32_t): Likewise.
14140 (_G_HAVE_BOOL): Likewise.
14141 (_G_HAVE_ATEXIT): Likewise.
14142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14143 (_G_HAVE_IO_FILE_OPEN): Likewise.
14144
b1dc5912
L
141452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14146
14147 * csu/libc-tls.c: Update copyright years.
14148
0e886ef9
JM
141492012-09-10 Joseph Myers <joseph@codesourcery.com>
14150
28361c5e
JM
14151 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14152 [!_G_USING_THUNKS]: Remove conditional code.
14153 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14154 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14155
0e886ef9
JM
14156 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14157 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14158 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14159 (_G_VTABLE_LABEL_PREFIX): Likewise.
14160 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14161 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14163 (_G_VTABLE_LABEL_PREFIX): Likewise.
14164 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14165 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14166 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14167 (_G_VTABLE_LABEL_PREFIX): Likewise.
14168 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14169
bcba7aa2
L
141702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * libio/Makefile: Include ../Makeconfig before tests.
14173 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14174 only if $(build-shared) is yes.
14175
06585ee8
L
14176 * iconv/gconv_db.c: Update copyright years.
14177
80ccd52c
LD
141782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14179
14180 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14181 unwind info if defined PIC. Fix special cases description.
14182 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14183
14184 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14185 DP_HI_MASK entry.
14186 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14187
691bc9c1
L
141882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14189
3d9b46b3
L
14190 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14191
de2139a9
L
14192 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14193 is NULL.
14194
5ca78dd0
L
14195 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14196 (LDLIBS-tst-chk4): This.
14197 (LDFLAGS-tst-chk5): Renamed to ...
14198 (LDLIBS-tst-chk5): This.
14199 (LDFLAGS-tst-chk6): Renamed to ...
14200 (LDLIBS-tst-chk6): This.
14201 (LDFLAGS-tst-lfschk4): Renamed to ...
14202 (LDLIBS-tst-lfschk4): This.
14203 (LDFLAGS-tst-lfschk5): Renamed to ...
14204 (LDLIBS-tst-lfschk5): This.
14205 (LDFLAGS-tst-lfschk6): Renamed to ...
14206 (LDLIBS-tst-lfschk6): This.
14207
691bc9c1
L
14208 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14209 on $(common-objpfx)soversions.mk.
14210
65cafb1c
JM
142112012-09-07 Joseph Myers <joseph@codesourcery.com>
14212
14213 [BZ #10014]
14214 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14215 example host name.
14216
c78ab094
SP
142172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14218
14219 * malloc/arena.c (arena_get_retry): New function that gets
14220 another arena for the caller to try its request on.
14221 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14222 current arena cannot fulfill the request.
14223 (__libc_memalign): Likewise.
14224 (__libc_memalign): Likewise.
14225 (__libc_pvalloc): Likewise.
14226 (__libc_calloc): Likewise.
14227
01f49f59
JT
142282012-09-05 John Tobey <john.tobey@gmail.com>
14229
14230 [BZ #13542]
14231 * manual/arith.texi (Operations on Complex): Fix description
14232 of carg branch cut.
14233
4c23fed5
JM
142342012-09-06 Joseph Myers <joseph@codesourcery.com>
14235
1d3c8572
JM
14236 [BZ #10014]
14237 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14238 host name.
14239
4c23fed5
JM
14240 [BZ #10038]
14241 * manual/memory.texi (Memory): Make order of menu items match
14242 order of sections.
14243
04570aaa
L
142442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14245
14246 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14247 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14248 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14249
b80af2f4
L
142502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14251
14252 * csu/libc-tls.c (static_dtv): Renamed to ...
14253 (_dl_static_dtv): This. Make it global.
14254 (_dl_initial_dtv): Removed.
14255 (__libc_setup_tls): Updated.
14256 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14257 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14258 DL_INITIAL_DTV.
14259
2abe9f15
PM
142602012-09-06 Petr Machata <pmachata@redhat.com>
14261
14262 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14263 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14264 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14265 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14266
0948c3af
L
142672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 [BZ #14545]
14270 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14271 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14272 freeing dtv[-1].
14273
a5055ad1
L
142742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 [BZ #14544]
14277 * Makeconfig (link-static-before-libc): Replace $(+prector)
14278 with $(+prectorT).
14279 (link-static-after-libc): Replace $(+postctor) with
14280 $(+postctorT).
14281 (link-bounded): Replace $(+prector)/$(+postctor) with
14282 $(+prectorT)/$(+postctorT).
14283 (+prectorT): New macro.
14284 (+postctorT): Likewise.
14285
ed8c2ecd
JM
142862012-09-06 Joseph Myers <joseph@codesourcery.com>
14287
14288 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14289 (round_str): Handle values above the maximum for IBM long double
14290 as inexact.
14291 * stdlib/tst-strtod-round.c (tests): Regenerated.
14292
14c996c8
AK
142932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14294
14295 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14296 assembler flag.
14297 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14298 zarch_nohighgprs around the zarch optimized routines.
14299 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14300 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14302 for zarch.
14303
430d6ce6
DM
143042012-09-05 David S. Miller <davem@davemloft.net>
14305
14306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14307
ff04dda4
DM
14308 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14309 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14310 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14311 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14312 entries.
14313
24d4e01b
AO
143142012-09-05 Alexandre Oliva <aoliva@redhat.com>
14315
14316 * malloc/arena.c: Fold copyright years.
14317 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14318
61d58174
AO
143192012-09-05 Alexandre Oliva <aoliva@redhat.com>
14320
14321 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14322
20196a5e
AO
143232012-09-05 Alexandre Oliva <aoliva@redhat.com>
14324
14325 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14326
5c447383
AO
143272012-09-05 Alexandre Oliva <aoliva@redhat.com>
14328
14329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14330 change internal state upon failure.
14331
fad64255
AO
143322012-09-05 Alexandre Oliva <aoliva@redhat.com>
14333
14334 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14335 * malloc/memusage.c (mmap): Likewise.
14336 (mmap64, mremap): Likewise. Adjust name in comment.
14337
1ffb8c90
SP
143382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14339
14340 * libio/fileops.c: Fix typos in comments.
14341 * libio/oldfileops.c: Likewise.
14342 * libio/wfileops.c: Likewise.
14343
6ef9cc37
SP
143442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14345
14346 [BZ #1349]
14347 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14348 (tst-malloc-usable-ENV): Set environment for test case.
14349 * malloc/hooks.c (malloc_check_get_size): New function to get
14350 requested size.
14351 * malloc/malloc.c (musable): Use malloc_check_get_size.
14352 * malloc/tst-malloc-usable.c: New test case.
14353
4d038ae3
AS
143542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14355
14356 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14357
c4e85184
AM
143582012-09-05 Allan McRae <allan@archlinux.org>
14359
b9dafc56 14360 [BZ #13966]
c4e85184
AM
14361 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14362 determine header location.
14363 * configure: Regenerated.
14364
e1343020
AS
143652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14366
14367 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14368 float format.
14369 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14370 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14371 format.
e1343020
AS
14372 (test): Regenerate.
14373
0a9f1987
DM
143742012-09-04 David S. Miller <davem@davemloft.net>
14375
14376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14378 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14379
29237804
FW
143802012-09-04 Florian Weimer <fweimer@redhat.com>
14381
14382 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14383 failures.
14384
edb3cb88
FW
14385 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14386
60160d83
JM
143872012-09-04 Joseph Myers <joseph@codesourcery.com>
14388
14389 [BZ #9914]
14390 * libio/iogetdelim.c: Include <limits.h>.
14391 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14392 + len + 1 would overflow.
14393
bcd6c8dc
AJ
143942012-09-03 Andreas Jaeger <aj@suse.de>
14395
14396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14397 * sysdeps/i386/fpu/libm-test-ulps: Update.
14398
4ffffbd2
LD
143992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14400
14401 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14402 Add s_sinf-sse2, s_conf-sse2.
14403
14404 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14405 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14406 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14407 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14408
14409 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14410 for using routine as __sinf_ia32.
14411 Use macro for function declaration and weak_alias.
14412 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14413 for using routine as __cosf_ia32.
14414 Use macro for function declaration and weak_alias.
14415
14416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14417 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14418
14419 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14420 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14422
14423 * math/libm-test.inc (cos_test): Add more test cases.
14424 (sin_test): Likewise.
14425 (sincos_test): Likewise.
14426
511fa286
AK
144272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14428
14429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14430 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14431 hidden.
14432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14433
5f30cfec
L
144342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 [BZ #14538]
14437 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14438 first element of the GOT.
14439 (elf_machine_load_address): Return the difference between
14440 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14441
0786794f
AM
144422012-09-01 Allan McRae <allan@archlinux.org>
14443
5f30cfec
L
14444 [BZ #13412]
14445 * configure.in (AWK): Require gawk version 3.0 or later.
14446 * configure: Regenerated.
0786794f 14447
26889eac
JM
144482012-09-01 Joseph Myers <joseph@codesourcery.com>
14449
14450 * sysdeps/unix/sysv/linux/kernel-features.h
14451 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14453 [__NR_clock_getres]: Make code unconditional.
14454 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14455 (clock_getcpuclockid): Remove code left unreachable by removal of
14456 conditionals.
14457 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14458 code unconditional.
14459 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14461 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14462 Make code unconditional.
14463 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14464 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14465 * sysdeps/unix/sysv/linux/clock_settime.c
14466 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14467 conditional code.
14468 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14469 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14470
d22e28b0
L
144712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14472
14473 [BZ #14476]
14474 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14475 scripts/test-installation.pl.
14476
14477 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14478 and $ld_so_version if it is set.
14479
050af9c4
SP
144802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14481
14482 [BZ #14516]
14483 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14484 failure if reading from procfs failed.
14485 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14486
ad845c0b
JM
144872012-08-27 Joseph Myers <joseph@codesourcery.com>
14488
14489 * sysdeps/unix/sysv/linux/kernel-features.h
14490 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14491 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14492 Remove conditional code.
14493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14494 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14495 Remove conditional code.
14496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14497 * sysdeps/unix/sysv/linux/i386/fxstat.c
14498 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14501 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14503 * sysdeps/unix/sysv/linux/i386/lxstat.c
14504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14506 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14507 Remove conditional code.
14508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14509 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14510 Remove conditional code.
14511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14512 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14513 <kernel-features.h>.
14514 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14515 Remove.
14516 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14517 Remove conditional code.
14518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14519 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14520 Remove conditional.
14521
5dbf56af
MF
145222012-08-27 Mike Frysinger <vapier@gentoo.org>
14523
14524 [BZ #5400]
14525 * NEWS: Add fixed bug number.
14526
d6e70f43
JM
145272012-08-27 Joseph Myers <joseph@codesourcery.com>
14528
7efb4737
JM
14529 [BZ #14519]
14530 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14531 underflowing exponent in case of negative sign.
14532 * stdlib/tst-strtod-round-data: Add more tests.
14533 * stdlib/tst-strtod-round.c (tests): Regenerated.
14534
af92131a
JM
14535 [BZ #3479]
14536 * stdlib/strtod_l.c (NDIG): Remove.
14537 (HEXNDIG): Likewise.
14538 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14539 smallest representable value.
14540 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14541 lie within an exact representation of 1/2 ulp of the result.
14542 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14543 unconditionally.
14544 (TENS_P9_IDX): Define unconditionally.
14545 (TENS_P9_SIZE): Likewise.
14546 (TENS_P10_IDX): Likewise.
14547 (TENS_P10_SIZE): Likewise.
14548 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14549 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14550 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14551 entries for 10^2^13 and 10^2^14.
14552 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14553 (TENS_P13_IDX): Define.
14554 (TENS_P13_SIZE): Likewise.
14555 (TENS_P14_IDX): Likewise.
14556 (TENS_P14_SIZE): Likewise.
14557 (_fpioconst_pow10): Change array size to
14558 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14559 unconditional.
14560 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14561 1024]: Add entries for 10^2^13 and 10^2^14.
14562 [LAST_POW10 > _LAST_POW10]: Remove #error.
14563 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14564 (_fpioconst_pow10): Change array size to
14565 FPIOCONST_POW10_ARRAY_SIZE.
14566 * stdlib/gen-fpioconst.c: New file.
14567 * stdlib/gen-tst-strtod-round.c: Likewise.
14568 * stdlib/tst-strtod-round-data: Likewise.
14569 * stdlib/tst-strtod-round.c: Likewise.
14570 * stdlib/Makefile (tests): Add tst-strtod-round.
14571
d6e70f43
JM
14572 [BZ #14459]
14573 * stdlib/strtod_l.c: Include <stdint.h>.
14574 (NDEBUG): Do not define.
14575 (round_and_return): Change EXPONENT parameter to type intmax_t.
14576 Rearrange calculations to avoid internal overflow possibilities.
14577 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14578 Rearrange calculations to avoid internal overflow possibilities.
14579 Assert that number fits inside MPNSIZE limbs.
14580 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14581 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14582 calculations and add assertions to avoid internal overflow
14583 possibilities. Add casts to avoid signed/unsigned operations.
14584 * stdlib/tst-strtod-overflow.c: New file.
14585 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14586
1f529f7d
MP
145872012-08-25 Marek Polacek <polacek@redhat.com>
14588
14589 * time/time.h: Fix some typos in comments.
14590
59a629f1
RM
145912012-08-23 Roland McGrath <roland@hack.frob.com>
14592
14593 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14594 * posix/tst-rfc3484-2.c: Likewise.
14595 * posix/tst-rfc3484-3.c: Likewise.
14596
d3bafbc9
SM
145972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14598
14599 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14600 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14601
4efcc022
JM
146022012-08-23 Joseph Myers <joseph@codesourcery.com>
14603
14604 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14605 #include of fxstatat64.c.
14606
3cc3ef96
RM
146072012-08-22 Roland McGrath <roland@hack.frob.com>
14608
f04e2132
RM
14609 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14610 * shadow/getspent_r.c: Likewise.
14611 * shadow/getspnam.c: Likewise.
14612 * shadow/getspnam_r.c: Likewise.
14613 * gshadow/getsgent.c: Likewise.
14614 * gshadow/getsgent_r.c: Likewise.
14615 * gshadow/getsgnam.c: Likewise.
14616 * gshadow/getsgnam_r.c: Likewise.
14617 * inet/getnetbyad.c: Likewise.
14618 * inet/getnetbyad_r.c: Likewise.
14619 * inet/getnetbynm.c: Likewise.
14620 * inet/getnetbynm_r.c: Likewise.
14621 * inet/getnetent.c: Likewise.
14622 * inet/getnetent_r.c: Likewise.
14623 * inet/getproto.c: Likewise.
14624 * inet/getproto_r.c: Likewise.
14625 * inet/getprtent.c: Likewise.
14626 * inet/getprtent_r.c: Likewise.
14627 * inet/getprtname.c: Likewise.
14628 * inet/getprtname_r.c: Likewise.
14629 * inet/getrpcbyname.c: Likewise.
14630 * inet/getrpcbyname_r.c: Likewise.
14631 * inet/getrpcbynumber.c: Likewise.
14632 * inet/getrpcbynumber_r.c: Likewise.
14633 * inet/getrpcent.c: Likewise.
14634 * inet/getrpcent_r.c: Likewise.
14635 * inet/getaliasent.c: Likewise.
14636 * inet/getaliasent_r.c: Likewise.
14637 * inet/getaliasname.c: Likewise.
14638 * inet/getaliasname_r.c: Likewise.
14639 * nscd/getgrgid_r.c: Likewise.
14640 * nscd/getgrnam_r.c: Likewise.
14641 * nscd/gethstbyad_r.c: Likewise.
14642 * nscd/gethstbynm3_r.c: Likewise.
14643 * nscd/getpwnam_r.c: Likewise.
14644 * nscd/getpwuid_r.c: Likewise.
14645 * nscd/getsrvbynm_r.c: Likewise.
14646 * nscd/getsrvbypt_r.c: Likewise.
14647 * nscd/gai.c: Likewise.
14648
c53d909c
RM
14649 * configure.in (build_nscd): New substituted variable, set
14650 by --disable-build-nscd and defaults to $use_nscd.
14651 * configure: Regenerated.
14652 * config.make.in (build-nscd): New substituted variable.
14653 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14654 Change conditional to require [$(build-nscd) = yes] as well.
14655 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14656
3cc3ef96
RM
14657 [BZ# 13696]
14658 * configure.in (use_nscd): New substituted variable, set by
14659 --disable-nscd. If enabled, define USE_NSCD.
14660 * configure: Regenerated.
14661 * config.h.in: Add USE_NSCD.
14662 * config.make.in (use-nscd): New substituted variable.
14663 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14664 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14665 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14666 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14667 (CFLAGS-getgrnam_r.c): Likewise.
14668 (CFLAGS-initgroups.c): Likewise.
14669 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14670 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14671 Variables removed.
14672 * inet/getnetgrent_r.c
14673 (nscd_setnetgrent): New function, broken out of ...
14674 (setnetgrent): ... here. Call it.
14675 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14676 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14677 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14678 * nscd/Makefile (routines, aux): Move definitions after include of
14679 Makeconfig. Conditionalize on [$(use-nscd) != no].
14680 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14681 Conditionalize on [USE_NSCD].
14682 (is_nscd, nscd_init_cb): Likewise.
14683 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14684 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14685 * nss/nss_db/db-init.c: Likewise.
14686 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14687 [USE_NSCD].
14688 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14689 (make_request): Use it.
14690 (cache_valid_p): New function.
14691 (__check_pf): Use it.
14692 * NEWS: Add item for --disable-nscd.
14693
07e51550
DL
146942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14695
14696 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14697 to support sed >= 4.2.1-20-ga9bf076.
14698 * configure: Regenerated.
14699
35a5b08b
RM
147002012-08-22 Roland McGrath <roland@hack.frob.com>
14701
14702 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14703 Conditionalize whole body on [IREL].
14704
8479f23a
JL
147052012-08-22 Jeff Law <law@redhat.com>
14706
14707 [BZ #14505]
14708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14709 if the family is PF_UNSPEC.
14710
48da0b21
MF
147112012-08-22 Mike Frysinger <vapier@gentoo.org>
14712
14713 * Makerules (lib-version): Rename from V.
14714 (install-lib-nosubdir): Change V to lib-version.
14715
15d0da8c
WS
147162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14717
14718 [BZ #14252]
14719 * powerpc32/power6/wcschr.c: New file.
14720 * powerpc32/power6/wcscpy.c: New file.
14721 * powerpc32/power6/wcsrchr.c: New file.
14722 * powerpc64/power6/wcschr.c: New file.
14723 * powerpc64/power6/wcscpy.c: New file.
14724 * powerpc64/power6/wcsrchr.c: New file.
14725
bcca0895
MK
147262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14727
14728 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14729 (two_way_short_needle): Use it.
5a4aaa33
RM
14730 * string/strstr.c (AVAILABLE1_USES_J): Define.
14731 * string/strcasestr.c: Likewise.
99677e57
MK
14732
14733 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14734 array references.
14735 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14736
400726de
MK
14737 [BZ #11607]
14738 * NEWS: Add an entry.
14739 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14740 define their defaults.
14741 (two_way_short_needle): Detect end-of-string on-the-fly.
14742 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14743 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14744 * string/bug-strcasestr1.c: New test.
14745 * string/Makefile: Run it.
14746
20a71f2c
MK
147472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14748
14749 [BZ #11607]
14750 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14751 the first character.
14752
21ad0558
RM
147532012-08-21 Roland McGrath <roland@hack.frob.com>
14754
14755 * csu/elf-init.c (__libc_csu_irel): Function removed.
14756 * csu/libc-start.c (apply_irel): New function.
14757 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14758
0e1d9911
JM
147592012-08-21 Joseph Myers <joseph@codesourcery.com>
14760
14761 * sysdeps/unix/sysv/linux/kernel-features.h
14762 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14763 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14764 <kernel-features.h>.
14765 [__NR_fadvise64_64]: Make code unconditional.
14766 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14767 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14768 !__NR_fadvise64_64)]: Likewise.
14769 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14770 !__NR_fadvise64_64))]: Likewise.
14771 [__NR_fadvise64]: Make code unconditional.
14772 [!__NR_fadvise64]: Remove conditional code.
14773 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14774 <kernel-features.h>.
14775 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14776 unconditional.
14777 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14778 conditional code.
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14780 not include <kernel-features.h>.
14781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14782 unconditional.
14783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14784 conditional code.
14785 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14786 include <kernel-features.h>.
14787 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14788 unconditional.
14789 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14790 conditional code.
14791
14a50c9d
WS
147922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14793
14794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14795 slight instruction rearrangements per scrollpipe analysis.
14796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14797
c0f4faf0
RM
147982012-08-20 Roland McGrath <roland@hack.frob.com>
14799
696da859
RM
14800 * manual/syslog.texi (syslog; vsyslog, closelog):
14801 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14802 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14803
c0f4faf0
RM
14804 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14805 DSOCAPS to match condition on defining it.
14806
348363b2
JM
148072012-08-20 Joseph Myers <joseph@codesourcery.com>
14808
a35cbf28
JM
14809 * sysdeps/unix/sysv/linux/kernel-features.h
14810 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14812 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14813 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14815 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14816 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14820
445f7ecd
JM
14821 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14822 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14823
348363b2
JM
14824 * sysdeps/unix/sysv/linux/kernel-features.h
14825 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14826 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14827 unconditional.
14828 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14829 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14830 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14831 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14832 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14833 Make code unconditional.
14834 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14835 (__mmap64) [!__NR_mmap2]: Likewise.
14836 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14837 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14838 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14840 [__NR_mmap2]: Make code unconditional.
14841 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14842 (__mmap64) [!__NR_mmap2]: Likewise.
14843
bc5bc0e5
AK
148442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14845
14846 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14847
88d506de
AJ
148482012-08-18 Andreas Jaeger <aj@suse.de>
14849
14850 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14851
493387d2
MF
148522012-08-18 Mike Frysinger <vapier@gentoo.org>
14853
14854 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14855 * include/unistd.h (__have_sock_cloexec): Likewise.
14856 (__have_pipe2): Likewise.
14857 (__have_dup3): Likewise.
14858
a277af22
MF
148592012-08-18 Mike Frysinger <vapier@gentoo.org>
14860
14861 [BZ #9685]
14862 * include/unistd.h (__have_pipe2): Change define into an extern int.
14863 (__have_dup3): Likewise.
14864 * socket/have_sock_cloexec.c: Include fcntl.h.
14865 (__have_pipe2): New variable.
14866 (__have_dup3): Likewise.
14867
fdab8fd3
MF
148682012-08-17 Mike Frysinger <vapier@gentoo.org>
14869
14870 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14871
31035e80
MP
148722012-08-17 Marek Polacek <polacek@redhat.com>
14873
14874 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14875 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14876
3bd9e993
RM
148772012-08-17 Roland McGrath <roland@hack.frob.com>
14878
c91c505f
RM
14879 * configure.in: Add AC_SUBST for sysheaders.
14880 * configure: Regenerated.
14881 * config.make.in (sysheaders): New substituted variable.
14882
7c6f9d53
RM
14883 * sysdeps/unix/mkfifo.c: Moved ...
14884 * sysdeps/posix/mkfifo.c: ... here.
14885 * sysdeps/unix/mkfifoat.c: Moved ...
14886 * sysdeps/posix/mkfifoat.c: ... here.
14887
14888 * sysdeps/unix/utime.c: Moved ...
14889 * sysdeps/posix/utime.c: ... here.
14890
14891 * sysdeps/unix/time.c: Moved ...
14892 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14893 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14895
14896 * sysdeps/unix/nice.c: Moved ...
14897 * sysdeps/posix/nice.c: ... here.
14898
14899 * sysdeps/unix/alarm.c: Moved ...
14900 * sysdeps/posix/alarm.c: ... here.
14901
3bd9e993
RM
14902 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14903
d1f09384
JL
149042012-08-17 Jeff Law <law@redhat.com>
14905
14906 * intl/Makefile (codeset_mo): New variable.
14907 ($(codeset_mo)): New target.
14908 (tst-codeset.out): Depend on that. Remove explicit rule.
14909 (tst-gettext3.out, tst-gettext5.out): Likewise.
14910 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14911 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14912 * intl/tst-codeset.sh: Remove.
14913 * intl/tst-gettext3.sh: Likewise.
14914 * intl/tst-gettext5.sh: Likewise.
14915
2ae1ae5c
RM
149162012-08-17 Roland McGrath <roland@hack.frob.com>
14917
c31fdb83
RM
14918 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14919 * sysdeps/unix/syscalls.list: ... here.
14920
a0844057
RM
14921 * sysdeps/posix/getaddrinfo.c
14922 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14923 (gaiconf_init, gaiconf_reload): Use them.
14924 [!_STATBUF_ST_NSEC]
14925 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14926 Define using time_t rather than struct timespec.
14927
750c1f2a
RM
14928 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14929 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14930 Macros removed.
14931 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14932 [!NO_THREADS].
14933 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14934 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14935 Likewise.
14936
2ae1ae5c
RM
14937 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14938 __libc_cleanup_push argument.
14939
e66a42f5
RM
14940 * bits/param.h: New file.
14941 * misc/sys/param.h: New file.
14942 * include/sys/param.h: New file.
14943 * misc/Makefile (headers): Add bits/param.h.
14944 * sysdeps/generic/sys/param.h: File removed.
14945 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14946 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14947 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14948 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14949
b7c08a66
RM
14950 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14951 last change.
14952
b2e1c562
RM
14953 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14954 [_IO_MTSAFE_IO].
14955 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14956 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14957 New macros.
14958
c75ccd4c
RM
14959 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14960 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14961 rather than -D_IO_MTSAFE_IO conditionally.
14962 * stdio-common/Makefile (CPPFLAGS): Likewise.
14963 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14964 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14965 Use $(libio-mtsafe).
14966 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14967 of -D_IO_MTSAFE_IO.
14968 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14969 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14970 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14971 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14972 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14973 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14974 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14975 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14976 (CFLAGS-fread_u_chk.c): Likewise.
14977 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14978 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14979 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14980 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14981 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14982 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14983 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14984 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14985 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14986
14987 * libio/Makefile: Test [$(libc-reentrant) = yes]
14988 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14989
14990 * Makeconfig
14991 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14992 * sysdeps/pthread/configure: File removed.
14993 * sysdeps/pthread/Makeconfig: New file.
14994 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14995 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14996
d9195db8
GB
149972012-08-16 Gary Benson <gbenson@redhat.com>
14998
14999 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15000 unmapping the first object in a namespace.
15001
86466cd9
RM
150022012-08-16 Roland McGrath <roland@hack.frob.com>
15003
15004 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15005 (__internal_setnetgrent): ... this. Add internal_function to
15006 definition. Add libc_hidden_def.
15007 (setnetgrent): Update caller.
15008 (internal_endnetgrent): Renamed to ...
15009 (__internal_endnetgrent): ... this. Add internal_function to
15010 definition. Add libc_hidden_def.
15011 (endnetgrent): Update caller.
15012 (internal_getnetgrent_r): Renamed to ...
15013 (__internal_getnetgrent_r): ... this. Add internal_function to
15014 definition. Add libc_hidden_def.
15015 (__getnetgrent_r): Update caller.
15016 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15017
c3c8283c
JM
150182012-08-16 Joseph Myers <joseph@codesourcery.com>
15019
15020 * stdlib/longlong.h: Update from GCC.
15021
db1ee0a8
RM
150222012-08-16 Roland McGrath <roland@hack.frob.com>
15023
15024 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15025 on _QL, which is set by umul_ppmm but never used.
15026 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15027 variables, which are set by GMP macros but never used.
15028 * stdio-common/_itowa.c (_itowa): Likewise.
15029 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15030 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15031
30f69637
CD
150322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15033
15034 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15035 struct La_sh_regs is not constant.
15036 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15037 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15038 and struct La_sparc64_regs are not constant.
15039
93a78ac4
JM
150402012-08-16 Joseph Myers <joseph@codesourcery.com>
15041
15042 * sysdeps/unix/sysv/linux/kernel-features.h
15043 (__ASSUME_POSIX_TIMERS): Remove.
15044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15046 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15047 Make code unconditional.
15048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15049 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15050 Make code unconditional.
15051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15052 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15053 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15055 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15056 Make code unconditional.
15057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15058 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15059 (__libc_missing_posix_timers): Remove.
15060
dd924cd7
RM
150612012-08-15 Roland McGrath <roland@hack.frob.com>
15062
4b4f2771
RM
15063 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15064 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15065
601c888b
RM
15066 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15067
176790a7
RM
15068 * elf/dl-sym.c: Include <stdlib.h>.
15069
329bc018
RM
15070 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15071 constants, which avoids warnings in 32-bit builds.
15072
e04e272d
RM
15073 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15074 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15075
952bf94a
RM
15076 * misc/lseek.c: File moved to ...
15077 * io/lseek.c: ... here.
15078
7c99b50a
RM
15079 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15080
dd924cd7
RM
15081 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15082 shifting LEN more than 31 bits at once.
15083
b3f479a8
LD
150842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15085
15086 [BZ #14195]
8c4ae0d4
RM
15087 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15088 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15089 * string/test-strncasecmp.c (check1): Renamed to...
15090 (bz12205): ...this.
15091 (bz14195): Add new testcase for two empty input strings and N > 0.
15092 (test_main): Call new testcase, adapt for renamed function.
15093
9c55864e
AJ
150942012-08-15 Andreas Jaeger <aj@suse.de>
15095
15096 [BZ #14090]
15097 * crypt/md5test2.c: New test, based on test supplied by Serge
15098 Belyshev <belyshev@depni.sinp.msu.ru>.
15099 * crypt/Makefile (xtests): Add md5test-giant..
15100 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15101
02dcb6c5
PE
151022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15103
15104 [BZ #14090]
15105 * crypt/md5.c (md5_process_block): Don't assume the buffer
15106 length is less than 2**32.
15107 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15108 length is less than 2**64.
15109
a3f95dcc
RM
151102012-08-15 Roland McGrath <roland@hack.frob.com>
15111
be75d758
RM
15112 * string/str-two-way.h: Include <sys/param.h>.
15113 (MAX): Macro removed.
15114
7312ca90
RM
15115 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15116 Move #define and #undef of memmove to just before and after
15117 including <string.h>.
15118
9a0a5486
RM
15119 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15120 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15121 and after including <string.h>. Move declarations of
15122 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15123 to before #include "string/memmove.c".
15124
67cc348d
RM
15125 * include/dirent.h: Declare __getdirentries.
15126
a3f95dcc
RM
15127 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15128 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15129
ca98e171
MF
151302012-08-14 Mike Frysinger <vapier@gentoo.org>
15131
15132 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15133 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15134 * sysdeps/i386/configure: Regenerated.
15135 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15136 STABS_CURRENT_FILE, and STABS_FUN.
15137 (END): Remove call to STABS_FUN_END.
15138 (STABS_CURRENT_FILE1): Delete.
15139 (STABS_CURRENT_FILE): Likewise.
15140 (STABS_FUN): Likewise.
15141 (STABS_FUN_END): Likewise.
15142 (STABS_FUN2): Likewise.
15143 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15144 * sysdeps/x86_64/configure: Regenerated.
15145
5908bf46
RM
151462012-08-14 Roland McGrath <roland@hack.frob.com>
15147
15148 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15149 * elf/dl-lookup.c: Likewise.
5908bf46 15150
f2c05b9e
JM
151512012-08-14 Joseph Myers <joseph@codesourcery.com>
15152
15153 * sysdeps/unix/sysv/linux/kernel-features.h
15154 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15155 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15156 unconditionally.
15157 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15158 unconditionally.
15159 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15160 condition on __ASSUME_CLONE_THREAD_FLAGS.
15161
e11f5155
AJ
151622012-08-14 Andreas Jaeger <aj@suse.de>
15163
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165
51a9ba86
MK
151662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15167
2fdd4f78
AJ
15168 * include/atomic.h (atomic_exchange_and_add): Split into ...
15169 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15170 New atomic macros.
51a9ba86 15171
ba6cba9e
MT
151722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15173
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15175
42443a47
JL
151762012-08-13 Jeff Law <law@redhat.com>
15177
15178 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15179 null byte in the output string.
15180
121dce05
JM
151812012-08-10 Joseph Myers <joseph@codesourcery.com>
15182
15183 * sysdeps/unix/sysv/linux/kernel-features.h
15184 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15185 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15186 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15187 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15188 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15189 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15190 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15191
bf51f568
JL
151922012-08-09 Jeff Law <law@redhat.com>
15193
15194 [BZ #13939]
15195 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15196 When avoid_arena is set, don't retry in the that arena. Pick the
15197 next one, whatever it might be.
15198 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15199 (arena_lock): Pass in new parameter to arena_get2.
15200 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15201 arena_get2.
15202 (__libc_malloc): Unify retrying after main arena failure with
15203 __libc_memalign version.
15204 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15205
f85fa270
L
152062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 [BZ #14166]
15209 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15210 to __redirect_strstr.
15211 (__strstr_sse42): Use typeof __redirect_strstr.
15212 (__strstr_ia32): Likewise.
15213 (__libc_strstr): New prototype.
15214 (strstr): Renamed to ...
15215 (__libc_strstr): This.
15216 (strstr): New strong alias of __libc_strstr.
15217 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15218 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15219 __redirect_time.
15220 Include <time.h>.
15221 (__libc_time): New prototype.
15222 (time_ifunc): Replace time with __libc_time.
15223 (time): New strong alias and hidden definition of __libc_time.
15224 (__GI_time): Remove strong alias.
15225 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15226 Include <stddef.h>.
15227 (memmove): Redefined to __redirect_memmove.
15228 (__memmove_sse2): Use typeof __redirect_memmove.
15229 (__memmove_ssse3): Likewise.
15230 (__memmove_ssse3_back): Likewise.
15231 (__libc_memmove): New prototype.
15232 (memmove): Renamed to ...
15233 (__libc_memmove): This.
15234 (memmove): New strong alias of __libc_memmove.
15235
33b4a91e
MS
152362012-08-08 Mark Salter <msalter@redhat.com>
15237
15238 * elf/elf.h
15239 (R_MN10300_TLS_GD): Define.
15240 (R_MN10300_TLS_LD): Likewise.
15241 (R_MN10300_TLS_LDO): Likewise.
15242 (R_MN10300_TLS_GOTIE): Likewise.
15243 (R_MN10300_TLS_IE): Likewise.
15244 (R_MN10300_TLS_LE): Likewise.
15245 (R_MN10300_TLS_DTPMOD): Likewise.
15246 (R_MN10300_TLS_DTPOFF): Likewise.
15247 (R_MN10300_TLS_TPOFF): Likewise.
15248 (R_MN10300_SYM_DIFF): Likewise.
15249 (R_MN10300_ALIGN): Likewise.
15250 (R_MN10300_NUM): Update.
15251
b36137f1
JM
152522012-08-08 Joseph Myers <joseph@codesourcery.com>
15253
15254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15255 Remove.
15256
cdd915fd
RM
152572012-08-08 Roland McGrath <roland@hack.frob.com>
15258
a2433aac
RM
15259 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15260
cdd915fd
RM
15261 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15262 sysdeps/unix -> sysdeps/posix move.
15263 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15264
bf9b740a
AM
152652012-08-07 Allan McRae <allan@archlinux.org>
15266
15267 [BZ #14303]
15268 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15269 (SUNOS_CPP): Likewise.
15270 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15271 not found.
15272 (open_input): Call CPP using execvp.
15273
93df14ee
JM
152742012-08-07 Joseph Myers <joseph@codesourcery.com>
15275
15276 * sysdeps/unix/sysv/linux/kernel-features.h
15277 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15280 (__ASSUME_WAITID_SYSCALL): Likewise.
15281 * sysdeps/unix/sysv/linux/dl-execstack.c
15282 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15283 code unconditional.
15284 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15285 conditional code.
15286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15287 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15288 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15289 code.
15290 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15291 unconditional.
15292 [__ASSUME_WAITID_SYSCALL]: Likewise.
15293 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15294
d34689de
RM
152952012-08-07 Roland McGrath <roland@hack.frob.com>
15296
a281decc
RM
15297 * sysdeps/unix/closedir.c: Renamed to ...
15298 * sysdeps/posix/closedir.c: ... here.
15299 * sysdeps/unix/dirfd.c: Renamed to ...
15300 * sysdeps/posix/dirfd.c: ... here.
15301 * sysdeps/unix/dirstream.h: Renamed to ...
15302 * sysdeps/posix/dirstream.h: ... here.
15303 * sysdeps/unix/fdopendir.c: Renamed to ...
15304 * sysdeps/posix/fdopendir.c: ... here.
15305 * sysdeps/unix/opendir.c: Renamed to ...
15306 * sysdeps/posix/opendir.c: ... here.
15307 * sysdeps/unix/readdir.c: Renamed to ...
15308 * sysdeps/posix/readdir.c: ... here.
15309 * sysdeps/unix/readdir_r.c: Renamed to ...
15310 * sysdeps/posix/readdir_r.c: ... here.
15311 * sysdeps/unix/rewinddir.c: Renamed to ...
15312 * sysdeps/posix/rewinddir.c: ... here.
15313 * sysdeps/unix/seekdir.c: Renamed to ...
15314 * sysdeps/posix/seekdir.c: ... here.
15315 * sysdeps/unix/telldir.c: Renamed to ...
15316 * sysdeps/posix/telldir.c: ... here.
15317 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15318 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15319 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15320 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15321
22895b47
RM
15322 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15323 * bits/fcntl.h: ... here.
15324
707a53b6
RM
15325 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15326 not 0.
15327 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15328 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15329 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15330 (struct flock): Move l_start, l_len to the beginning.
15331 Use __pid_t for l_pid.
15332 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15333 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15334 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15335 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15336 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15337 [__USE_LARGEFILE64] (struct flock64): New type.
15338 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15339
f0bd3e25
RM
15340 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15341 * bits/dirent.h: ... here.
15342
d34689de
RM
15343 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15344 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15345
6dad2c06
JM
153462012-08-07 Joseph Myers <joseph@codesourcery.com>
15347
15348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15349 Change from 2.6.0 to 2.6.16.
15350 * sysdeps/unix/sysv/linux/configure: Regenerated.
15351 * sysdeps/unix/sysv/linux/kernel-features.h
15352 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15353 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15354 version.
15355 (__ASSUME_UTIMES): Likewise.
15356 (__ASSUME_CLONE_STOPPED): Remove.
15357 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15358 architectures, not kernel version.
15359 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15362 (__ASSUME_WAITID_SYSCALL): Likewise.
15363 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15364 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15365 * README: State 2.6.16 as minimum Linux kernel version. Do not
15366 refer to older versions.
15367
03af9520
RM
153682012-08-06 Roland McGrath <roland@hack.frob.com>
15369
8e49df1d
RM
15370 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15371 Define alphasort64 as an alias.
15372 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15373 Define versionsort64 as an alias.
15374 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15375 Define scandir64 as an alias.
15376 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15377 Define scandirat64 as an alias.
15378 * dirent/alphasort64.c (alphasort64):
15379 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15380 * dirent/versionsort64.c: Likewise.
15381 * dirent/scandir64.c: Likewise.
15382 * dirent/scandirat64.c: Likewise.
15383 * sysdeps/wordsize-64/alphasort.c: File removed.
15384 * sysdeps/wordsize-64/alphasort64.c: File removed.
15385 * sysdeps/wordsize-64/scandir.c: File removed.
15386 * sysdeps/wordsize-64/scandir64.c: File removed.
15387 * sysdeps/wordsize-64/scandirat.c: File removed.
15388 * sysdeps/wordsize-64/scandirat64.c: File removed.
15389 * sysdeps/wordsize-64/versionsort.c: File removed.
15390 * sysdeps/wordsize-64/versionsort64.c: File removed.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15399
15400 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15402 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15404 [defined __arch64__ || defined __sparcv9]
15405 (__INO_T_MATCHES_INO64_T): New macro.
15406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15407 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15408 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15409 * sysdeps/unix/sysv/linux/bits/dirent.h
15410 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15411 (_DIRENT_MATCHES_DIRENT64): New macro.
15412
03af9520
RM
15413 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15414 Define lockf64 as an alias.
15415 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15416 Define fseeko64 as an alias.
15417 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15418 Define ftello64 as an alias.
15419 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15420 Define _IO_fgetpos64 and fgetpos64 as aliases.
15421 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15422 Define _IO_fsetpos64 and fsetpos64 as aliases.
15423 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15424 Conditionalize body on this.
15425 * libio/fseeko64.c: Likewise.
15426 * libio/ftello64.c: Likewise.
15427 * libio/iofgetpos64.c: Likewise.
15428 * libio/iofsetpos64.c: Likewise.
15429 * sysdeps/wordsize-64/lockf.c: File removed.
15430 * sysdeps/wordsize-64/lockf64.c: File removed.
15431 * sysdeps/wordsize-64/fseeko.c: File removed.
15432 * sysdeps/wordsize-64/fseeko64.c: File removed.
15433 * sysdeps/wordsize-64/ftello.c: File removed.
15434 * sysdeps/wordsize-64/ftello64.c: File removed.
15435 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15436 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15437 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15438 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15449
15450 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15452 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15454 [defined __arch64__ || defined __sparcv9]
15455 (__OFF_T_MATCHES_OFF64_T): New macro.
15456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15457 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15459 (__OFF_T_MATCHES_OFF64_T): New macro.
15460
c5757acd
L
154612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15462
15463 * stdlib/secure-getenv.c (__secure_getenv): Replace
15464 GLIBC_2_16 with GLIBC_2_17.
15465
3a31811e
L
154662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15470
faa2bccb
DM
154712012-08-03 David S. Miller <davem@davemloft.net>
15472
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15474
85fe1997
JM
154752012-08-03 Joseph Myers <joseph@codesourcery.com>
15476
15477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15478 Remove.
15479 (__ASSUME_CORRECT_SI_PID): Likewise.
15480 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15481 (__ASSUME_TMPFS_NAME): Likewise.
15482 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15483 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15484 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15485 (HAVE_AUX_SECURE): Make definition unconditional.
15486 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15487 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15488
4f75b7a0
RM
154892012-08-03 Roland McGrath <roland@hack.frob.com>
15490
15491 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15492 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15493 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15494 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15495 __eloop_threshold instead of SYMLOOP_MAX.
15496
15497 * sysdeps/generic/eloop-threshold.h: New file.
15498 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15499 of MAXSYMLINKS.
15500 * elf/chroot_canon.c (chroot_canon): Likewise.
15501
7aab07e4
JM
155022012-08-03 Joseph Myers <joseph@codesourcery.com>
15503
15504 [BZ #13717]
15505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15506 Change to 2.6.0 everywhere.
15507 * sysdeps/unix/sysv/linux/configure: Regenerated.
15508 * sysdeps/unix/sysv/linux/kernel-features.h
15509 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15510 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15511 kernel versions.
15512 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15513 (__ASSUME_FUTEX_REQUEUE): Remove.
15514 (__ASSUME_STATFS64): Define unconditionally.
15515 (__ASSUME_AT_SECURE): Likewise.
15516 (__ASSUME_CORRECT_SI_PID): Likewise.
15517 (__ASSUME_TGKILL): Define without depending on kernel version for
15518 i386.
15519 (__ASSUME_UTIMES): Likewise.
15520 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15521 kernel version.
15522 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15523 (__ASSUME_TMPFS_NAME): Likewise.
15524 * README: Update reference to Linux kernel versions.
15525
b67e9372
MP
155262012-08-02 Marek Polacek <polacek@redhat.com>
15527
1f529f7d 15528 [BZ# 14150]
b67e9372
MP
15529 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15530 libc_cv_asm_type_prefix with %.
15531 * configure: Regenerated.
d2441631
RM
15532 * include/libc-symbols.h: Remove comment about
15533 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15534 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15535 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15536 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15537 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15538 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15540 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15541 * elf/tst-unique2mod1.c: Likewise.
15542 * elf/tst-unique1mod2.c: Likewise.
15543 * elf/tst-unique1mod1.c: Likewise.
15544 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15545 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15546 Replace ASM_TYPE_DIRECTIVE with .type.
15547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15548 * sysdeps/i386/sysdep.h: Likewise.
15549 * sysdeps/x86_64/sysdep.h: Likewise.
15550 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15552 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15553 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15554 * sysdeps/powerpc/powerpc32/sysdep.h:
15555 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15556 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15558 * sysdeps/i386/fpu/e_powf.S: Likewise.
15559 * sysdeps/i386/fpu/e_expl.S: Likewise.
15560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15561 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15562 * sysdeps/i386/fpu/e_pow.S: Likewise.
15563 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15564 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15565 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15566 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15567 * sysdeps/i386/fpu/e_log2.S: Likewise.
15568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15570 * sysdeps/i386/fpu/e_powl.S: Likewise.
15571 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15572 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15573 * sysdeps/i386/fpu/e_logl.S: Likewise.
15574 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15575 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15576 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15578 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15579 * sysdeps/i386/fpu/e_log.S: Likewise.
15580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15581 * sysdeps/i386/fpu/e_logf.S: Likewise.
15582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15583 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15584 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15585 * sysdeps/i386/fpu/e_log10.S: Likewise.
15586 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15588 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15589 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15591 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15592 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15593 * sysdeps/i386/i686/strtok.S: Likewise.
15594 * sysdeps/i386/i386-mcount.S: Likewise.
15595 * sysdeps/i386/strtok.S: Likewise.
15596 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15600 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15602 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15603 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15605 * sysdeps/x86_64/_mcount.S: Likewise.
15606 * sysdeps/x86_64/strtok.S: Likewise.
15607 * sysdeps/sh/_mcount.S: Likewise.
15608
2747bf9a
RM
156092012-08-01 Roland McGrath <roland@hack.frob.com>
15610
15611 * libio/iofopen.c: Include <fcntl.h>.
15612 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15613 (_IO_fopen64, fopen64): Define as aliases.
15614 * libio/iofopen64.c: Include <fcntl.h>.
15615 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15616 Conditionalize body on this.
15617 * sysdeps/wordsize-64/iofopen.c: File removed.
15618 * sysdeps/wordsize-64/iofopen64.c: File removed.
15619
3fb791b8
MP
156202012-08-01 Marek Polacek <polacek@redhat.com>
15621
15622 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15623 Use dlfcn directly instead of a variable.
15624 (binfmt-subdir): Do not define.
15625 (dlfcn): Likewise.
15626
a9f1039f
JM
156272012-08-01 Joseph Myers <joseph@codesourcery.com>
15628
23bddc06
JM
15629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15630 Remove all definitions.
15631 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15632 <kernel-features.h>.
15633 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15634 (miss_F_GETOWN_EX): Remove all definitions.
15635 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15636 macro definition.
15637 [!__ASSUME_FCNTL64]: Remove conditional code.
15638 [__ASSUME_FCNTL64]: Make code unconditional.
15639 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15640 <kernel-features.h>.
15641 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15642 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15643 (lockf64) [__NR_fcntl64]: Make code unconditional.
15644 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15645
a9f1039f
JM
15646 * sysdeps/unix/sysv/linux/kernel-features.h
15647 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15648 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15649 Make code unconditional.
15650 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15651 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15653 [__NR_vfork]: Make code unconditional.
15654 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15655 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15657 [__NR_vfork]: Make code unconditional.
15658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15660
09c0ee5f
RM
156612012-08-01 Roland McGrath <roland@hack.frob.com>
15662
48aec5b9
RM
15663 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15664 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15665
cd97c966
RM
15666 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15667 Define mkstemp64 as an alias.
3f55550c
RM
15668 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15669 Define mkstemps64 as an alias.
cd97c966
RM
15670 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15671 Define mkostemp64 as an alias.
b8625cfc
RM
15672 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15673 Define mkostemps64 as an alias.
cd97c966
RM
15674 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15675 Conditionalize body on this.
15676 * misc/mkostemp64.c: Likewise.
b8625cfc 15677 * misc/mkostemps64.c: Likewise.
3f55550c 15678 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15679 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15680 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15681 * sysdeps/wordsize-64/mkostemp.c: File removed.
15682 * sysdeps/wordsize-64/mkstemp.c: File removed.
15683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15686 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15687
09c0ee5f
RM
15688 [BZ #14138]
15689 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15690 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15691 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15692 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15693
15694 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15695 compat_symbol macros from <shlib-compat.h> rather than the underlying
15696 default_symbol_version and symbol_version macros, so that DEFAULT
15697 lines in shlib-versions are respected.
15698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15699
7e66ee51
FW
157002012-08-01 Florian Weimer <fweimer@redhat.com>
15701
15702 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15703 Declare with warn_unused_result.
15704 (setgid, setregid, setegid, setresgid): Likewise.
15705 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15706 Likewise.
15707 * WUR-REPORT: Remove set*id functions.
15708
d2a54255
PT
157092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15710
15711 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15712
7ecdb005
RM
157132012-07-31 Roland McGrath <roland@hack.frob.com>
15714
b4180a5e 15715 [BZ #10191]
789bd351
RM
15716 * include/sys/socket.h (__libc_accept, __libc_accept4):
15717 Add attribute_hidden.
15718 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15719
40ce302d
RM
15720 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15721 use of PTR_MANGLE.
15722 * inet/getnetgrent_r.c (setup): Likewise.
15723
7ecdb005
RM
15724 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15725
e2eabb2c
DM
157262012-07-31 David S. Miller <davem@davemloft.net>
15727
15728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15729
d0419dbf
JM
157302012-07-31 Joseph Myers <joseph@codesourcery.com>
15731
15732 [BZ #13629]
15733 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15734 value between 1.0 and 2.0 and smaller part has absolute value less
15735 than 1.0.
15736 * math/s_clog10.c (__clog10): Likewise.
15737 * math/s_clog10f.c (__clog10f): Likewise.
15738 * math/s_clog10l.c (__clog10l): Likewise.
15739 * math/s_clogf.c (__clogf): Likewise.
15740 * math/s_clogl.c (__clogl): Likewise.
15741 * math/libm-test.inc (clog_test): Add more tests.
15742 (clog10_test): Likewise.
15743 * sysdeps/i386/fpu/libm-test-ulps: Update.
15744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745
2bc13872
FW
157462012-07-31 Florian Weimer <fweimer@redhat.com>
15747
15748 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15749 Exit with zero in case no suitable GID is found, and write a
15750 message to standard error.
15751
bea9b193
RM
157522012-07-30 Roland McGrath <roland@hack.frob.com>
15753
15754 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15755 rather than to 1.
15756 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15757 (MAXPATHLEN): Removed.
15758 (NOGROUP, NODEV): New macros.
15759 (setbit, clrbit, isset, isclr): New macros.
15760 (howmany, roundup, powerof2): New macros.
15761 (DEV_BSIZE): New macro.
15762
15763 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15764 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15765
15766 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15767 definition on [!__NO_LONG_DOUBLE_MATH].
15768
15769 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15770 PTR_MANGLE and PTR_DEMANGLE.
15771
15772 * socket/accept4.c (accept4): Rename to __libc_accept4.
15773 Define accept4 as a weak alias.
15774
15775 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15776 on [_DIRENT_HAVE_D_TYPE].
15777 * io/ftw.c (ftw_dir): Likewise.
15778
15779 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15780
15781 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15782
15783 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15784 Use the BSD numbers rather than the arbitrary ones we had.
15785 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15786 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15787 (SIGXCPU, SIGXFSZ): New macros.
15788 (_NSIG): Now 32.
15789
15790 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15791 initializer on [_LIBC_REENTRANT].
15792
15793 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15794 definitions inside [_POSIX_MAPPED_FILES].
15795
15796 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15797
15798 * dirent/opendir.c: Include <fcntl.h>.
15799
15800 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15801 (__libc_getspecific): Likewise.
15802 (__libc_key_create): Likewise.
15803
15804 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15805 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15806 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15807 (tmpfile64): Define as alias.
15808 * sysdeps/wordsize-64/tmpfile.c: File removed.
15809 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15812
15813 * stdio-common/vfscanf.c: Include <stdbool.h>.
15814 * nss/makedb.c: Likewise.
15815 * stdio-common/_i18n_number.h: Likewise.
15816 * argp/argp-help.c: Likewise.
15817 * posix/wordexp.c: Likewise.
15818 * sysdeps/posix/spawni.c: Likewise.
15819 * nss/nss_files/files-initgroups.c: Likewise.
15820 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15821 * nss/nss_files/files-initgroups.c: Likewise.
15822 * nss/nss_db/db-netgrp.c: Likewise.
15823 * nss/nss_db/db-initgroups.c: Likewise.
15824 * io/fchmodat.c: Include <sys/stat.h>.
15825
15826 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15827 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15828
15829 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15830 [HAVE_MMAP].
15831
15832 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15833 Add multiple inclusion protection.
15834
e5abc686
DM
158352012-07-27 David S. Miller <davem@davemloft.net>
15836
15837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15838
815e6fa3
GB
158392012-07-27 Gary Benson <gbenson@redhat.com>
15840
15841 [BZ #14298]
15842 * elf/rtld.c: Include <stap-probe.h>.
15843 (dl_main): Added static probes "init_start" and "init_complete".
15844 * elf/dl-load.c: Include <stap-probe.h>.
15845 (lose): Take new parameter "nsid".
15846 Added static probe "map_failed".
15847 (_dl_map_object_from_fd): Pass namespace id to lose.
15848 Added static probe "map_start".
15849 (open_verify): Pass namespace id to lose.
15850 * elf/dl-open.c: Include <stap-probe.h>.
15851 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15852 and "reloc_complete".
15853 * elf/dl-close.c: Include <stap-probe.h>.
15854 (_dl_close_worker): Added static probes "unmap_start" and
15855 "unmap_complete".
15856 * elf/rtld-debugger-interface.txt: New file documenting the above.
15857
9f98c16c
RM
158582012-07-26 Roland McGrath <roland@hack.frob.com>
15859
15860 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15861 rather than a string variable.
15862 * sunrpc/rpc_main.c (h_output): Likewise.
15863 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15864
f3c22df3
PT
158652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15866
15867 * inet/check_native.c: New file.
15868
3129cfc6
JM
158692012-07-26 Joseph Myers <joseph@codesourcery.com>
15870
da865e95
JM
15871 [BZ #13629]
15872 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15873 if larger part has absolute value 1.0.
15874 * math/s_clog10.c (__clog10): Likewise.
15875 * math/s_clog10f.c (__clog10f): Likewise.
15876 * math/s_clog10l.c (__clog10l): Likewise.
15877 * math/s_clogf.c (__clogf): Likewise.
15878 * math/s_clogl.c (__clogl): Likewise.
15879 * math/libm-test.inc (clog_test): Add more tests.
15880 (clog10_test): Likewise.
15881 * sysdeps/i386/fpu/libm-test-ulps: Update.
15882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883
3129cfc6
JM
15884 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15885 (pltexit): Likewise.
15886 (La_regs): Likewise.
15887 (La_retval): Likewise.
15888 (int_retval): Likewise.
15889 Update #error for removed macros to refer only to definitions in
15890 tst-audit.h.
15891 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15892 macro.
15893 (pltexit): Likewise.
15894 (La_regs): Likewise.
15895 (La_retval): Likewise.
15896 (int_retval): Likewise.
15897 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15898 macro.
15899 (pltexit): Likewise.
15900 (La_regs): Likewise.
15901 (La_retval): Likewise.
15902 (int_retval): Likewise.
15903 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15904 macro.
15905 (pltexit): Likewise.
15906 (La_regs): Likewise.
15907 (La_retval): Likewise.
15908 (int_retval): Likewise.
15909 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15910 macro.
15911 (pltexit): Likewise.
15912 (La_regs): Likewise.
15913 (La_retval): Likewise.
15914 (int_retval): Likewise.
15915 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15916 macro.
15917 (pltexit): Likewise.
15918 (La_regs): Likewise.
15919 (La_retval): Likewise.
15920 (int_retval): Likewise.
15921 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15922 macro.
15923 (pltexit): Likewise.
15924 (La_regs): Likewise.
15925 (La_retval): Likewise.
15926 (int_retval): Likewise.
15927 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15928 macro definitions in tst-audit.h.
15929 * sysdeps/i386/tst-audit.h: New file.
15930 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15931 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15932 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15933 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15934 * sysdeps/sh/tst-audit.h: Likewise.
15935 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15936 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15937 * sysdeps/x86_64/tst-audit.h: Likewise.
15938
bfc07087
AJ
159392012-07-26 Andreas Jaeger <aj@suse.de>
15940
b1b2aaf8
AJ
15941 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15942 ptrace.
15943
15944 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15945 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15946 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15947 PTRACE_O_MASK.
15948 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15949 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15950 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15951
bfc07087
AJ
15952 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15953 value.
15954
15955 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15956 _sigsys.
15957 (si_call_addr, si_syscall, si_arch): Define new macro.
15958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15959 _sigsys.
15960 (si_call_addr, si_syscall, si_arch): Define new marcro.
15961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15962 _sigsys.
15963 (si_call_addr, si_syscall, si_arch): Define new macro.
15964 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15965 _sigsys.
15966 (si_call_addr, si_syscall, si_arch): Define new macro.
15967
89b4b02f
JM
159682012-07-25 Joseph Myers <joseph@codesourcery.com>
15969
15970 [BZ #13717]
15971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15972 Change to 2.4.21 where previously 2.4.1.
15973 * sysdeps/unix/sysv/linux/configure: Regenerated.
15974 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15975 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15976 Linux kernel version.
15977 (__ASSUME_STD_AUXV): Remove.
15978 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15979 kernel version.
15980 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15981 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15982 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15983 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15984 (__ASSUME_NETLINK_SUPPORT): Likewise.
15985 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15986 (__no_netlink_support): Remove conditional definition.
15987 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15988 Remove.
15989 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15990 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15991 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15992 (if_nameindex_ioctl): Remove.
15993 (if_nameindex_netlink): Do not handle __no_netlink_support.
15994 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15995 code.
15996 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15997 Remove conditional code.
15998 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15999 code.
16000 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16001 unconditional.
16002 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16003 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16004 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16005 Remove.
16006 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16007 [!__ASSUME_STD_AUXV]: Remove conditional code.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16009 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16010 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16012 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16013 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16014 code.
16015 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16017 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16018 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16019 conditional code.
16020 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16022 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16023 code.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16026 conditional code.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16028 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16029 code unconditional.
16030 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16031 conditional code.
16032 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16033 unconditional.
16034 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16035 conditional code.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16037 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16038 unconditional.
16039 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16040 conditional code.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16042 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16043 code unconditional.
16044 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16045 conditional code.
16046 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16047 unconditional.
16048 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16049 conditional code.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16051 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16052 code unconditional.
16053 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16054 conditional code.
16055 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16056 unconditional.
16057 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16058 conditional code.
16059
842a39cd
AS
160602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16061
16062 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16063 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16064 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16065 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16066 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16067 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16068 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16069 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16070 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16071 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16072 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16073 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16074 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16075 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16077 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16080 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16082 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16083 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16085
84b3fd84
FW
160862012-07-25 Florian Weimer <fweimer@redhat.com>
16087
16088 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16089 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16090 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16091 Introduce __libc_secure_getenv.
0c7936d5
FW
16092 * stdlib/Versions (2.17): Add secure_getenv
16093 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16094 * stdlib/secure-getenv.c: Rename __secure_getenv to
16095 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16096 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16097 * stdlib/tst-secure-getenv.c: New.
16098 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16099 * manual/startup.texi (Environment Access): Document
16100 secure_getenv.
84b3fd84
FW
16101 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16102 __libc_secure_getenv.
16103 * inet/ruserpass.c (ruserpass): Likewise.
16104 * malloc/mtrace.c (mtrace): Likewise.
16105 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16106 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16107 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16108 * sysdeps/posix/tempname.c: Likewise. Evaluate
16109 HAVE_SECURE_GETENV.
16110 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16111 __secure_getenv to __libc_secure_getenv.
84b3fd84 16112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16114 Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16116 Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16124
56e49b71
JM
161252012-07-25 Joseph Myers <joseph@codesourcery.com>
16126
16127 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16128 (struct La_i86_retval): Likewise.
16129 (struct La_x86_64_regs): Likewise.
16130 (struct La_x86_64_retval): Likewise.
16131 (struct La_x32_regs): Likewise.
16132 (struct La_x32_retval): Likewise.
16133 (struct La_ppc32_regs): Likewise.
16134 (struct La_ppc32_retval): Likewise.
16135 (struct La_ppc64_regs): Likewise.
16136 (struct La_ppc64_retval): Likewise.
16137 (struct La_sh_regs): Likewise.
16138 (struct La_sh_retval): Likewise.
16139 (struct La_s390_32_regs): Likewise.
16140 (struct La_s390_32_retval): Likewise.
16141 (struct La_s390_64_regs): Likewise.
16142 (struct La_s390_64_retval): Likewise.
16143 (struct La_sparc32_regs): Likewise.
16144 (struct La_sparc32_retval): Likewise.
16145 (struct La_sparc64_regs): Likewise.
16146 (struct La_sparc64_retval): Likewise.
16147 (struct audit_ifaces): Remove architecture-specific pltenter and
16148 pltexit members.
16149 * sysdeps/i386/ldsodefs.h: New file.
16150 * sysdeps/powerpc/ldsodefs.h: Likewise.
16151 * sysdeps/s390/ldsodefs.h: Likewise.
16152 * sysdeps/sh/ldsodefs.h: Likewise.
16153 * sysdeps/sparc/ldsodefs.h: Likewise.
16154 * sysdeps/x86_64/ldsodefs.h: Likewise.
16155
354691b7
MP
161562012-07-25 Marek Polacek <polacek@redhat.com>
16157
16158 [BZ #6808]
16159 * math/libm-test.inc (yn_test): Add another test.
16160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16161 to ERANGE when the result is +-Inf.
16162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16163 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16164 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16165 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16166
bf9e2071
JM
161672012-07-24 Joseph Myers <joseph@codesourcery.com>
16168
16169 * conform/data/time.h-data (NULL): Use macro-constant. Require
16170 equal to 0.
16171 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16172 clock_t.
16173 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16174
57633811
TS
161752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16176
16177 * configure.in <sysdeps resolving>: Correct printing
16178 Implies_before.
16179 * configure: Regenerate.
16180
c23c33b0
TS
161812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16182
16183 * math/w_ilogb.c: Include <limits.h>.
16184 * math/w_ilogbl.c: Likewise.
16185
b5982523
JM
161862012-07-20 Joseph Myers <joseph@codesourcery.com>
16187
16188 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16189 va_copy. Document allowing for unavailable va_copy only as
16190 pre-C99 compatibility.
16191 * manual/string.texi (Copying and Concatenation): Use va_copy
16192 instead of __va_copy in concat example.
16193
ac4ea442
PT
161942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16195
16196 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16197 (__sendto): Use create_address_port. Initialize APORT and deallocate
16198 it if not null.
16199
f98eafbd
PT
16200 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16201 with O_NOLINK passed to __file_name_lookup.
16202
898c7aab
PT
16203 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16204 with O_NOLINK passed to __file_name_lookup.
16205
0ced335a
PT
16206 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16207 negative N or less than NGIDS.
16208
b3404dbd
PT
16209 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16210 type to string_t. Set ERANGE as errno and return it if NAME is not big
16211 enough. Use memcpy instead of strncpy.
16212
0f48659e
JM
162132012-07-20 Joseph Myers <joseph@codesourcery.com>
16214
16215 * elf/Makefile (check-data): Remove.
16216 (localplt.data): New vpath directive.
16217 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16218 instead of $(check-data).
16219 * scripts/data/localplt-generic.data: Move to ...
16220 * sysdeps/generic/localplt.data: ... here.
16221 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16222 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16223 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16225 ... here.
16226 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16228 ... here.
16229 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16231 ... here.
16232 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16234 ... here.
16235 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16237 ... here.
16238 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16240 ... here.
16241
d37cbdaa
AZ
162422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16243
16244 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16245 PPC32 and PPC64 files.
16246 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16247 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16248
46f85fc2
AK
162492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16250
16251 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16252 __makecontext_ret to ...
16253 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16254 ... here and call exit if uc_link is NULL. New file.
16255 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16256 __makecontext_ret.S.
16257 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16258 __makecontext_ret to ...
16259 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16260 ... here and call exit if uc_link is NULL. New file.
16261 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16262 __makecontext_ret.S.
16263
08f43f9b
AK
162642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16265
16266 * elf/elf.h (R_390_IRELATIVE): New definition.
16267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16268 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16269 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16271 (elf_machine_lazy_rel): Likewise.
16272 * sysdeps/s390/dl-irel.h: New file.
16273 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16274 * sysdeps/s390/s390-64/memset.S: New asm code.
16275 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16276 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16278 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16279 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16280 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16282 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16283 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16284 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16285 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16286 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16287 * sysdeps/s390/s390-32/memset.S: New asm code.
16288 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16289
3b05db33
MP
162902012-07-17 Marek Polacek <polacek@redhat.com>
16291
16292 [BZ #14349]
16293 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16294 * sysdeps/s390/s390-64/configure.in: Likewise.
16295 * sysdeps/sparc/configure.in: Likewise.
16296 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16297 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16298 * sysdeps/i386/configure.in: Likewise.
16299 * sysdeps/x86_64/configure.in: Likewise.
16300 * sysdeps/sh/configure.in: Likewise.
16301 * sysdeps/s390/s390-32/configure: Regenerated.
16302 * sysdeps/s390/s390-64/configure: Likewise.
16303 * sysdeps/x86_64/configure: Likewise.
16304 * sysdeps/sh/configure: Likewise.
16305 * sysdeps/powerpc/powerpc64/configure: Likewise.
16306 * sysdeps/powerpc/powerpc32/configure: Likewise.
16307 * sysdeps/sparc/configure: Likwise.
16308 * sysdeps/i386/configure: Likewise.
16309
a66877c6
MP
16310 * elf/dl-open.c: Comment fixes.
16311
cfc82fd8
JM
163122012-07-17 Joseph Myers <joseph@codesourcery.com>
16313
bd29910a
JM
16314 * Makefile [CXX] (check-data): Remove.
16315 [CXX] (c++-types.data): New vpath directive.
16316 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16317 vpath. Do not allow for C++ type data being missing.
16318 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16319 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16320 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16321 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16322 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16323 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16324 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16326 ... here.
16327 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16329 ... here.
16330 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16332 ... here.
16333 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16335 ... here.
16336 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16338 ... here.
16339 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16341 ... here.
16342 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16344 ... here.
16345 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16347
cfc82fd8
JM
16348 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16349 definitions to architecture-specific files.
16350 (TLS_IE): Likewise.
16351 (TLS_LD): Likewise.
16352 (TLS_GD): Likewise.
16353 * sysdeps/i386/tls-macros.h: New file.
16354 * sysdeps/powerpc/tls-macros.h: Likewise.
16355 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16356 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16357 * sysdeps/sh/tls-macros.h: Likewise.
16358 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16359 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16360 * sysdeps/x86_64/tls-macros.h: Likewise.
16361
f7db3170
TS
163622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16363
07cbfc23
TS
16364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16365 zero value for regular exit case.
16366
f7db3170
TS
16367 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16368 (__start_context): Preserve zero value for regular exit case.
16369
dc97c227
TS
163702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16372
16373 * manual/setjmp.texi (setcontext): Clarify normal process
16374 termination when uc_link is the null pointer.
16375 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16376 exit call.
16377
d0cd7d02
AS
163782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16379
16380 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16381 preprocessor. Test for each exception mask separately.
16382
dd318934
AJ
163832012-07-16 Andreas Jaeger <aj@suse.de>
16384
16385 * po/ru.po: Update from translation team.
16386
8048311a
JM
163872012-07-15 Joseph Myers <joseph@codesourcery.com>
16388
16389 * conform/data/string.h-data (NULL): Use macro-constant. Require
16390 equal to 0.
16391 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16392 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16393 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16394 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16396
b637d46e
AJ
163972012-07-13 Andreas Jaeger <aj@suse.de>
16398
16399 * po/fr.po: Update from translation team.
16400
541428fe
MP
164012012-07-12 Marek Polacek <polacek@redhat.com>
16402
16403 [BZ #14173]
16404 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16405 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16406 loop condition.
16407
ec332e94
JM
164082012-07-12 Joseph Myers <joseph@codesourcery.com>
16409
16410 [BZ #13717]
16411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16412 Change to 2.4.1 where previously 2.4.0.
16413 * sysdeps/unix/sysv/linux/configure: Regenerated.
16414 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16415 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16416 version.
16417 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16418 (__ASSUME_AT_CLKTCK): Remove.
16419 (__ASSUME_AT_PAGESIZE): Likewise.
16420 (__ASSUME_AT_XID): Likewise.
16421 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16422 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16423 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16424 unconditionally.
16425 (HAVE_AUX_PAGESIZE): Likewise.
16426 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16427 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16428 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16429
7b6e99be
JB
164302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16431
16432 [BZ #14307]
16433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16434 the temporary buffer used to invoke __gethostbyname2_r,
16435 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16436 host_data / struct gaih_addrtuple.
16437 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16438 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16439 header file nss/nsswitch.h.
16440 * nss/nsswitch.h (global scope): Add definition of implementation
16441 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16442 resolv/nss_dns/dns-host.c).
16443
608404eb
AJ
164442012-07-11 Andreas Jaeger <aj@suse.de>
16445
16446 * po/fr.po: Update from translation team.
16447
71220aca
AJ
16448 * po/sv.po: Update from translation team
16449 * po/fr.po: Another update from translation team.
16450
28cfe843
AZ
164512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16452
16453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16454 for subnormals or multiply small sinh result by itself.
16455 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16457
6b90f981
DM
164582012-07-11 David S. Miller <davem@davemloft.net>
16459
16460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16461
c6825772
AS
164622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16463
16464 [BZ #14347]
16465 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16466 (INTERNAL_MARK): Shift it here.
16467
7b8e0d49
MP
164682012-07-10 Marek Polacek <polacek@redhat.com>
16469
16470 [BZ #14151]
16471 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16472 libc_cv_asm_global_directive with .globl.
16473 * configure: Regenerated.
16474 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16475 with .globl.
16476 * sysdeps/i386/configure: Regenerated.
16477 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16478 with .globl.
16479 * sysdeps/x86_64/configure: Regenerated.
16480 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16481 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16482 * elf/tst-unique2mod2.c: Likewise.
16483 * elf/tst-unique2mod1.c: Likewise.
16484 * elf/tst-unique1mod2.c: Likewise.
16485 * elf/tst-unique1mod1.c: Likewise.
16486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16487 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16490 * sysdeps/mach/sysdep.h: Likewise.
16491 * sysdeps/i386/sysdep.h: Likewise.
16492 * sysdeps/i386/i386-mcount.S: Likewise.
16493 * sysdeps/x86_64/_mcount.S: Likewise.
16494 * sysdeps/x86_64/sysdep.h: Likewise.
16495 * sysdeps/sh/_mcount.S: Likewise.
16496 * sysdeps/sh/sysdep.h: Likewise.
16497 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16498 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16499 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16501 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16503 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16504 * locale/localeinfo.h: Likewise.
16505 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16506 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16507
6c55cda3
RM
165082012-07-09 Roland McGrath <roland@hack.frob.com>
16509
16510 [BZ #14336]
16511 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16512 system".
16513 * manual/message.texi (The Uniforum approach): Likewise.
16514 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16515 (glibc iconv Implementation): Likewise.
16516
638a572e
JM
165172012-07-09 Joseph Myers <joseph@codesourcery.com>
16518
16519 [BZ #14337]
16520 * math/s_clog.c (__clog): Avoid scaling a value down where that
16521 could result in underflow.
16522 * math/s_clog10.c (__clog10): Likewise.
16523 * math/s_clog10f.c (__clog10f): Likewise.
16524 * math/s_clog10l.c (__clog10l): Likewise.
16525 * math/s_clogf.c (__clogf): Likewise.
16526 * math/s_clogl.c (__clogl): Likewise.
16527 * math/libm-test.inc (clog_test): Add more tests.
16528 (clog10_test): Likewise.
16529 * sysdeps/i386/fpu/libm-test-ulps: Update.
16530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16531
261f4859
AS
165322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16533
0abaf3e4
AS
16534 [BZ #14283]
16535 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16536 by 7 not 8 to examine high bit of fractional part.
16537
261f4859
AS
16538 [BZ #14042]
16539 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16540 for call to __mcount_internal.
16541 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16542 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16543 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16544
f17ac40d
JM
165452012-07-06 Joseph Myers <joseph@codesourcery.com>
16546
9ad63c23
JM
16547 [BZ #14154]
16548 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16549 approximation for values within 0x1p-13f of an odd multiple of
16550 pi/4.
16551 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16552 exception. Add more tests.
16553 * sysdeps/i386/fpu/libm-test-ulps: Update.
16554
f17ac40d
JM
16555 [BZ #6778]
16556 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16557 inputs and return -1 for them. Do not check for +Inf in case not
16558 reachable for +Inf.
16559 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16560 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16562 and return -1 for them. Do not check for +Inf in case not
16563 reachable for +Inf.
16564 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16565 define.
16566 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16567 and return -1 for them. Do not check for +Inf in case not
16568 reachable for +Inf.
16569 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16570 spurious underflow.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573
fb21f89b
MF
165742012-07-06 Mike Frysinger <vapier@gentoo.org>
16575
16576 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16577
cdfe2c5e
JM
165782012-07-05 Joseph Myers <joseph@codesourcery.com>
16579
16580 [BZ #14157]
16581 [BZ #14331]
16582 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16583 could result in spurious underflow. Scale down values above
16584 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16585 * math/s_csqrtf.c (__csqrtf): Likewise.
16586 * math/s_csqrtl.c (__csqrtl): Likewise.
16587 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16588 spurious underflow.
16589 * sysdeps/i386/fpu/libm-test-ulps: Update.
16590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16591
70d35b67
AS
165922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16593
704bc459
AS
16594 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16595 xopen-msg.sed.
16596 * catgets/xopen-msg.awk: New file.
16597 * catgets/xopen-msg.sed: Removed.
16598
70d35b67
AS
16599 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16600 po2text.sed.
16601 * intl/po2test.awk: New file.
16602 * intl/po2test.sed: Removed.
16603
ca61cf32
JM
166042012-07-04 Joseph Myers <joseph@codesourcery.com>
16605
16606 [BZ #14328]
16607 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16608 or multiply small sinh result by itself.
16609 * math/s_ctanf.c (__ctanf): Likewise.
16610 * math/s_ctanh.c (__ctanh): Likewise.
16611 * math/s_ctanhf.c (__ctanhf): Likewise.
16612 * math/s_ctanhl.c (__ctanhl): Likewise.
16613 * math/s_ctanl.c (__ctanl): Likewise.
16614 * math/libm-test.inc (ctan_test_tonearest): New function.
16615 (ctan_test_towardzero): Likewise.
16616 (ctan_test_downward): Likewise.
16617 (ctan_test_upward): Likewise.
16618 (ctanh_test_tonearest): Likewise.
16619 (ctanh_test_towardzero): Likewise.
16620 (ctanh_test_downward): Likewise.
16621 (ctanh_test_upward): Likewise.
16622 (main): Call these new functions.
16623 * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625
ca48a46a
MF
166262012-07-03 Mike Frysinger <vapier@gentoo.org>
16627
16628 * .gitignore: Delete /ports entry.
16629
9d63d37d
AJ
166302012-07-03 Andreas Jaeger <aj@suse.de>
16631
16632 * po/bg.po: Update from translation team.
16633 * po/cs.po: Likewise.
16634 * po/de.po: Likewise.
16635 * po/hr.po: Likewise.
16636 * po/nl.pl: Likewise.
16637 * po/pl.po: Likewise.
16638 * po/vi.po: Likewise.
16639
370ca3d2
JM
166402012-07-03 Joseph Myers <joseph@codesourcery.com>
16641
95f5a9a8
JM
16642 * Makeconfig [!+link] (+link-before-libc): New variable.
16643 [!+link] (+link-after-libc): Likewise.
16644 [!+link] (+link-tests): Likewise.
16645 [!+link] (+link): Define in terms of $(+link-before-libc) and
16646 $(+link-after-libc).
16647 [!+link-static] (+link-static-before-libc): New variable.
16648 [!+link-static] (+link-static-after-libc): Likewise.
16649 [!+link-static] (+link-static-tests): Likewise.
16650 [!+link-static] (+link-static): Define in terms of
16651 $(+link-static-before-libc) and $(+link-static-after-libc).
16652 [build-shared] (link-libc-before-gnulib): New variable.
16653 [build-shared] (link-libc-tests): Likewise.
16654 [build-shared] (link-libc): Define in terms of
16655 $(link-libc-before-gnulib).
16656 [!build-shared] (link-libc-tests): New variable.
16657 (link-libc-static-tests): New variable.
16658 [!gnulib] (gnulib-arch): New variable.
16659 [!gnulib] (gnulib-tests): Likewise.
16660 [!gnulib] (static-gnulib-arch): Likewise.
16661 [!gnulib] (static-gnulib-tests): Likewise.
16662 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16663 Define with "=" instead of ":=".
16664 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16665 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16666 * Rules (binaries-all-notests): New variable.
16667 (binaries-all-tests): Likewise.
16668 (binaries-static-notests): Likewise.
16669 (binaries-static-tests): Likewise.
16670 (binaries-all): Define using $(binaries-all-notests) and
16671 $(binaries-all-tests).
16672 (binaries-static): Define using $(binaries-static-notests) and
16673 $(binaries-static-tests).
16674 (binaries-shared-tests): New variable.
16675 (binaries-shared-notests): Likewise.
16676 (binaries-shared): Remove variable.
16677 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16678 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16679 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16680 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16681 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16682 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16683 * elf/Makefile (sln-modules): New variable.
16684 (extra-objs): Add $(sln-modules:=.o).
16685 (ldconfig-modules): Add static-stubs.
16686 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16687 * elf/static-stubs.c: New file.
16688
7a845b2c
JM
16689 [BZ #14283]
16690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16691 by 7 not 8 to examine high bit of fractional part. Use volatile
16692 variables when splitting into final array of floats if
16693 __FLT_EVAL_METHOD__ != 0.
16694 * math/libm-test.inc (cos_test): Add another test.
16695 (sin_test): Likewise.
16696 * sysdeps/i386/fpu/libm-test-ulps: Update.
16697
e2283f38
JM
16698 [BZ #14273]
16699 * math/libm-test.inc (cosh_test): Add more tests.
16700
370ca3d2
JM
16701 * version.h (RELEASE): Set to "development".
16702 (VERSION): Set to "2.16.90".
16703
ee9247c3
CD
167042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16705
16706 * NEWS: Update copyright. Remove last-updated date.
16707 Mention math library bug fixes and timezone data changes.
16708 * README: Mention GNU/Hurd, x32, and HPPA support status.
16709
4648c381
TS
167102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16711
16712 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16713
aac78a43
AJ
167142012-06-27 Andreas Jaeger <aj@suse.de>
16715
16716 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16717
ed3dbfad
AJ
167182012-06-25 Andreas Jaeger <aj@suse.de>
16719
16720 * sysdeps/s390/fpu/libm-test-ulps: Update.
16721
4d0ee855
AS
167222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16723 Thomas Schwinge <thomas@codesourcery.com>
16724
16725 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16726 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16728 fanotify_mark.
16729
af1bce34
TS
167302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16731
a9fa33ba
TS
16732 * sysdeps/mach/start.c: Remove file.
16733 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16734 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16735 * sysdeps/sh/init-first.c: Likewise.
16736
58f902b8
TS
16737 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16738 registers for frame unwinding purposes, add CFI directives.
16739 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16741 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16742 Likewise.
16743
1518f58b
TS
16744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16745 __fortify_fail returning.
16746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16747
db9b5059
TS
16748 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16749 sysdeps/sh/____longjmp_chk.S.
16750 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16751 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16752 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16753 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16754
967705fe
TS
16755 * sysdeps/sh/abort-instr.h: New file.
16756 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16757 process in case exit returns.
16758
a9def8c4
TS
16759 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16760 initialize the GOT register before use.
16761
2a649725
TS
16762 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16763 calculation of ARGC > 4.
16764
af1bce34
TS
16765 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16766 meaningful names to some local labels.
16767
d230f50a
KK
167682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16769 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16770
16771 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16772 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16773 (__arch_compare_and_exchange_val_16_acq): Likewise.
16774 (__arch_compare_and_exchange_val_32_acq): Likewise.
16775 (atomic_exchange_and_add): Fix gUSA sequence.
16776 (atomic_add): Likewise.
16777 (atomic_add_negative): Likewise.
16778 (atomic_add_zero): Likewise.
16779 (atomic_bit_test_set): Likewise.
16780
0479b305
AS
167812012-06-22 Andreas Schwab <schwab@redhat.com>
16782
16783 [BZ #13579]
16784 * include/link.h (struct link_map): Add l_free_initfini.
16785 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16786 l_initfini.
16787 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16788 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16789 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16790 set.
16791
0e3933b9
CD
167922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16793
16794 * configure.in: Use AC_LANG_SOURCE.
16795 * configure: Regenerate.
16796
4248b1b1
RM
167972012-06-22 Roland McGrath <roland@hack.frob.com>
16798
16799 * configure.in (libc_cv_localstatedir): New substituted variable.
16800 * configure: Regenerated.
16801 * config.make.in (localstatedir): New variable, substituted from
16802 libc_cv_localstatedir.
16803 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16804 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16805 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16806 * sysdeps/gnu/configure: Regenerated.
16807
006dd861
JL
168082012-06-21 Jeff Law <law@redhat.com>
16809
16810 [BZ #14277]
16811 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16812 free. Simplify list management for _LIBC case.
16813
79662d42
JM
168142012-06-21 Joseph Myers <joseph@codesourcery.com>
16815
b7abb4bf
JM
16816 [BZ #14273]
16817 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16818 Clear sign bit of 64-bit integer value before comparing against
16819 overflow value.
16820
79662d42
JM
16821 * sysdeps/mach/configure: Regenerated.
16822
1f150908
L
168232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16824
16825 [BZ #14278]
16826 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16827
28363bbf
JL
168282012-06-21 Jeff Law <law@redhat.com>
16829
16830 [BZ #13882]
16831 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16832 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16834 * elf/dl-open.c (dl_open_worker): Likewise.
16835
09615db4
CD
168362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16837
16838 * scripts/list-sources.sh: Scan PORTS for translations.
16839 * po/libc.pot: Regenerated.
16840
2174c6dd
AJ
168412012-06-21 Andreas Jaeger <aj@suse.de>
16842
16843 [BZ #12194]
16844 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16845 warning.
16846 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16847 * bits/byteswap-16.h (__bswap_16): Likewise.
16848 * bits/byteswap.h (__bswap_constant_16): Likewise.
16849
3ee947b1
L
168502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 [BZ #14117]
a2f34833
L
16853 * sysdeps/i386/fpu_control.h: Removed.
16854 * sysdeps/x86_64/fpu_control.h: Moved to ...
16855 * sysdeps/x86/fpu_control.h: Here.
16856
3ee947b1
L
16857 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16858 (_FPU_SETCW): Likewise.
16859
ed1825f8
L
168602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16861
25f1282a
L
16862 [BZ #14117]
16863 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16864 * sysdeps/x86/fpu/bits/mathinline.h: This.
16865 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16866
ed1825f8
L
16867 [BZ #14050]
16868 [BZ #14117]
16869 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16870 functions if __x86_64__ is defined.
16871
36d54b74
CLT
168722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16873
16874 * string/endian.h: Add !__ASSEMBLER__ condition for including
16875 conversion interfaces.
16876
10285c21
JM
168772012-06-15 Joseph Myers <joseph@codesourcery.com>
16878
16879 [BZ #14241]
16880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16881 of ABS(x) in calculating zero to negative powers other than odd
16882 integers.
16883 * math/libm-test.inc (pow_test): Add more tests.
16884
06c5abbd
AJ
168852012-06-15 Andreas Jaeger <aj@suse.de>
16886
16887 * manual/contrib.texi (Contributors): Update entry of Liubov
16888 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16889 Machado Filho.
16890
a3aeac40
CH
168912012-06-15 Cyril Hrubis <metan@ucw.cz>
16892
16893 * string/string.h: Add __wur to GNU version of strerror_r.
16894
49bdf4c1
L
168952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16896
16897 [BZ #14229]
16898 * string/Makefile (tests): Add tst-strtok_r.
16899 * string/tst-strtok_r.c: New file.
16900 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16901 RAX_LP/RDX_LP on SAVE_PTR.
16902
834f9b8d
RM
169032012-06-14 Roland McGrath <roland@hack.frob.com>
16904
16905 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16906
75fa1921
JM
169072012-06-14 Joseph Myers <joseph@codesourcery.com>
16908
16909 * libm_test.inc (csqrt_test): Allow more spurious underflow
16910 exceptions.
16911 (j0_test): Likewise.
16912 (j1_test): Likewise.
16913 (y0_test): Likewise.
16914 (y1_test): Likewise.
16915
771766df
CD
169162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16917
16918 * po/Makefile (libc.pot): Use UTF-8 charset.
16919
ceb9e56b
PP
169202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16921
16922 [BZ #14210]
16923 Suppress sign-conversion warning from FD_SET.
16924 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16925 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16926 not unsigned long int.
16927 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16928
ddb28975
L
169292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16930
16931 [BZ #14050]
16932 [BZ #14117]
16933 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16934 __extern_always_inline instead of __extern_inline.
16935 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16936 (__signbit): Likewise.
16937 (__signbitl): Support C++ namespace.
16938 (lrintf): New inline function.
16939 (lrint): Likewise.
16940 (llrintf): Likewise.
16941 (llrint): Likewise.
16942 (fmaxf): Likewise.
16943 (fmax): Likewise.
16944 (fminf): Likewise.
16945 (fmin): Likewise.
16946 (rint): Likewise.
16947 (rintf): Likewise.
16948 (ceil): Likewise.
16949 (ceilf): Likewise.
16950 (floor): Likewise.
16951 (floorf): Likewise.
16952 (nearbyint): Likewise.
16953 (nearbyintf): Likewise.
16954
d7b4fb26
TS
169552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16956
16957 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16958 non-default versions.
16959
eb55f5c2
RM
169602012-06-11 Roland McGrath <roland@hack.frob.com>
16961
16962 [BZ #14218]
16963 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16964
366af02c
TS
169652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16966
99ff6e5c
TS
16967 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16968 (FE_UPWARD, FE_DOWNWARD): Don't define.
16969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16970 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16971
366af02c
TS
16972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16973 reading it.
16974 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16976
793ea851
KK
169772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16978
16979 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16983
a728a38f
L
169842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16985
16986 [BZ #14117]
c08010c7
L
16987 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16988 * sysdeps/i386/fpu/Implies: New file.
16989 * sysdeps/x86_64/fpu/Implies: Likewise.
16990 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16991 * sysdeps/x86/fpu/bits/fenv.h: This.
16992
a728a38f
L
16993 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16994 __SSE_MATH__.
16995
6e230d11
SP
169962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16997
16998 [BZ #14134]
16999 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17000 character 0xffff that matches the last element of the
17001 conversion table.
17002
1b671feb
AZ
170032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17004
17005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17006 fmodl commit.
17007
6043738b
AZ
170082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17009
17010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17011 values higher than 25.6283.
17012
34ae0b32
AZ
170132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17014
17015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17016 subnormal exponent extraction and add some __builtin_expect.
17017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17018 Fix for subnormal mantissa calculation.
17019
1214ec8f
MF
170202012-06-04 Mike Frysinger <vapier@gentoo.org>
17021
17022 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17023 cpu2 is -1 and errno is not ENOSYS.
17024
f3d1f93c
L
170252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 [BZ #14117]
0e4a3cd7
L
17028 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17029 * sysdeps/x86/bits/string.h: This.
17030 * sysdeps/x86_64/bits/string.h: Removed.
17031
6704c645
L
17032 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17033 if not compiling for x86-64, but compiling for >= i486.
17034
48495318
L
17035 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17036 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17037
14adcbfc
L
17038 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17039 New macro from Linux kernel 3.4.0.
17040 (FP_XSTATE_MAGIC2): Likewise.
17041 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17042 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17043 (struct _fpx_sw_bytes): New struct.
17044 (struct _xsave_hdr): Likewise.
17045 (struct _ymmh_state): Likewise.
17046 (struct _xstate): Likewise.
17047
68e408ab
L
17048 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17049 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17051 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17053 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17054
f3d1f93c
L
17055 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17056 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17057 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17058 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17059 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17060 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17061
d9dc34cd
TMQMF
170622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17063
17064 [BZ #13743]
17065 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17066 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17067 (sysdep_headers): Include sys/platform/ppc.h.
17068 * sysdeps/powerpc/test-gettimebase.c: Test for
17069 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17070 * manual/Makefile (appendices): Include platform.texi.
17071 * manual/contrib.texi (Contributors): Update @node pointers.
17072 * manual/maint.texi (Maintenance): Likewise.
17073 (Platform): New node.
17074 * manual/platform.texi: New file. Document the new features.
17075
4af3879c
SP
170762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17077 Jakub Jelinek <jakub@redhat.com>
17078
17079 [BZ #14188]
17080 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17081 where __builtin_expect is unavailable.
17082
2fd6ff13
DM
170832012-06-03 David S. Miller <davem@davemloft.net>
17084
17085 * stdlib/longlong.h: Updated from GCC.
17086
173f7220
AS
170872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17088
17089 [BZ #14042]
17090 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17091 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17092 __mcount_internal.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17094 (GLIBC_2.16): Likewise.
17095
f34a1c6f
L
170962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17097
17098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17099
88a4576f
JM
171002012-06-01 Joseph Myers <joseph@codesourcery.com>
17101
ea32bcdd
JM
17102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17103 (default-abi): New variable.
17104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17106 variable.
17107 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17108 Likewise.
17109 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17110 Likewise.
17111 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17112 Likewise.
17113
88a4576f
JM
17114 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17115 definition. Document in comment.
17116
402fe938
DM
171172012-06-01 David S. Miller <davem@davemloft.net>
17118
17119 * stdlib/longlong.h: Updated from GCC.
17120
3553723f
L
171212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 [BZ #14117]
3bd872c4
L
17124 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17125 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17126 sys/debugreg.h sys/io.h here.
17127 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17128 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17129 sys/io.h.
17130 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17131 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17132 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17133 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17134 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17135 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17136
3553723f
L
17137 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17138 Define only if __x86_64__ is defined.
17139
4842e4fe
JM
171402012-06-01 Joseph Myers <joseph@codesourcery.com>
17141
c5bfe3d5
JM
17142 [BZ #14048]
17143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17144 Use int64_t for variable i.
17145 * math/libm-test.inc (fmod_test): Add more tests.
17146
4842e4fe
JM
17147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17148 z computation is not scheduled after fetestexcept.
17149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17150 Use math_force_eval instead of asm to ensure calculation scheduled
17151 before exception test.
17152 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17153 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17154
efb73488
AJ
171552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17156
17157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17158 computation is not scheduled after fetestexcept.
17159
29bcce7c
L
171602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 [BZ #14117]
17163 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17164 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17165
73a68f94
AZ
171662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17167
17168 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17169 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17170
67b6df78
L
171712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17172
edf2933a 17173 [BZ #14117]
ebc64a18
L
17174 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17175 <bits/wordsize.h>.
17176 (__WCHAR_MIN): Support __WORDSIZE == 64.
17177 (__WCHAR_MAX): Likewise.
17178
edf2933a
L
17179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17181
57c6cf40
L
17182 [BZ #14183]
17183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17184 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17185
67b6df78 17186 [BZ #14117]
8eb6281e
L
17187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17188 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17189
aac639f4
L
17190 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17191 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17192
67b6df78
L
17193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17194 Defined to 1 if __x86_64__ isn't defined.
17195 (_STAT_VER_LINUX_OLD): New.
17196 (st_atime): Remove duplicate.
17197 (st_mtime): Likewise.
17198 (st_ctime): Likewise.
17199
1c2cfe81
DM
172002012-05-31 David S. Miller <davem@davemloft.net>
17201
17202 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17203 entries.
17204
5be8418c
AS
172052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17206
e7725326
AS
17207 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17208 gen-libm-test.pl.
17209
5be8418c
AS
17210 [BZ #14132]
17211 * elf/dl-reloc.c: Include <_itoa.h>.
17212 (_dl_reloc_bad_type): Remove use of INTUSE.
17213 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17214 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17215 * stdio-common/psiginfo.c (psiginfo): Likewise.
17216 * stdio-common/psignal.c (psignal): Likewise.
17217 * string/strsignal.c (strsignal): Likewise.
17218 * include/signal.h (_sys_siglist): Declare hidden proto.
17219 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17220 INTVARDEF with libc_hidden_data_def.
17221 * stdio-common/itoa-udigits.c: Likewise.
17222 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17223 (_itoa_lower_digits_internal): Remove declaration.
17224 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17225 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17226 (_sys_sigabbrev_internal): Remove aliases.
17227 (_sys_siglist): Define hidden alias.
17228
507352f1
MT
172292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17230
17231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17232 bits/sysctl.h.
17233
42bbb1c3
L
172342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17235
17236 [BZ #14117]
6bd784b6
L
17237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17238 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17239
8bca20f0
L
17240 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17241 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17242 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17243 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17245 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17246
f9e890a9
L
17247 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17249 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17250
471101a1
L
17251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17252 with __addr.
17253 (insw): Likewise.
17254 (insl): Likewise.
17255 (outsb): Likewise.
17256 (outsw): Likewise.
17257 (outsl): Likewise.
17258
6451c862
L
17259 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17261 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17262
a254b8c9
L
17263 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17266 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17267 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17268 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17269
b8dfdd92
L
17270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17271 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17272
578cd270
L
17273 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17274 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17275
de662f5f
L
17276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17279
25653439
L
17280 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17281 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17282 to ...
17283 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17284
6bad24a0
L
17285 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17286 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17287 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17288
42bbb1c3
L
17289 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17290 for x86-64.
17291 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17292
2d10d547
JM
172932012-05-31 Joseph Myers <joseph@codesourcery.com>
17294
17295 * math/math.h (M_El): Use two more decimal places.
17296 (M_LOG2El): Likewise.
17297 (M_LOG10El): Likewise.
17298 (M_LN2l): Likewise.
17299 (M_LN10l): Likewise.
17300 (M_PIl): Likewise.
17301 (M_PI_2l): Likewise.
17302 (M_PI_4l): Likewise.
17303 (M_1_PIl): Likewise.
17304 (M_2_PIl): Likewise.
17305 (M_2_SQRTPIl): Likewise.
17306 (M_SQRT2l): Likewise.
17307 (M_SQRT1_2l): Likewise.
17308
f230c29b
DM
173092012-05-31 David S. Miller <davem@davemloft.net>
17310
17311 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17312 values between float registers.
17313 * sysdeps/sparc/sparc64/memset.S: Likewise.
17314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17315
fed806c3
MF
173162012-05-31 Mike Frysinger <vapier@gentoo.org>
17317
17318 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17319 -D_FORTIFY_SOURCE=1.
17320 (CPPFLAGS-tst-longjmp_chk.c): Define.
17321 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17322 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17323 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17324 CFLAGS-tst-wchar-h.c.
17325
30917259
MP
173262012-05-31 Marek Polacek <polacek@redhat.com>
17327
17328 [BZ #14132]
17329 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17330 __endmntent_internal): Remove declaration.
17331 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17332 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17333 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17334
1c58d5dc
DM
173352012-05-30 David S. Miller <davem@davemloft.net>
17336
17337 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17338 (___Q_simulate_exceptions): Use real FP ops rather than writing
17339 into the %fsr.
17340 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17341 Likewise.
17342
7dc00e0d
L
173432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 [BZ #14117]
0bd53985
L
17346 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17347 * sysdeps/x86/bits/xtitypes.h: This.
17348
3a257e66
L
17349 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17350 * sysdeps/x86/bits/wordsize.h: This.
17351
62f62904
L
17352 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17353 * sysdeps/x86/bits/huge_vall.h: This.
17354
404fe9d9
L
17355 * sysdeps/i386/bits/select.h: Removed.
17356 * sysdeps/x86_64/bits/select.h: Renamed to ...
17357 * sysdeps/x86/bits/select.h: This.
17358
d48d0446
L
17359 * sysdeps/i386/bits/setjmp.h: Removed.
17360 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17361 * sysdeps/x86/bits/setjmp.h: This.
17362
7dc00e0d
L
17363 * sysdeps/i386/bits/mathdef.h: Removed.
17364 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17365 * sysdeps/x86/bits/mathdef.h: This.
17366
03277f8f
AS
173672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17368
17369 [BZ #14132]
17370 * include/sys/socket.h (__connect_internal)
17371 (__libc_sa_len_internal): Remove declaration.
17372 (__connect, __libc_sa_len): Declare hidden_proto.
17373 (SA_LEN): Remove use of INTUSE.
17374 * socket/connect.c: Add libc_hidden_def.
17375 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17376 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17377 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17378 alias.
17379 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17380 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17381 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17382 of adding _internal alias.
17383
13764867
L
173842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17385
17386 [BZ #14117]
6bd97696
L
17387 * sysdeps/i386/bits/link.h: Removed.
17388 * sysdeps/i386/bits/linkmap.h: Likewise.
17389 * sysdeps/x86_64/bits/link.h: Renamed to ...
17390 * sysdeps/x86/bits/link.h: This.
17391 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17392 * sysdeps/x86/bits/linkmap.h: This.
17393
f726f0bb
L
17394 * sysdeps/i386/bits/endian.h: Removed.
17395 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17396 * sysdeps/x86/bits/endian.h: This.
17397
13764867
L
17398 * sysdeps/i386/bits/byteswap.h: Removed.
17399 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17400 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17401 * sysdeps/x86/bits/byteswap.h: This.
17402 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17403 * sysdeps/x86/bits/byteswap-16.h: This.
17404 * sysdeps/i386/Implies: Add x86.
17405 * sysdeps/x86_64/Implies: Likewise.
17406
ae251b0b
DM
174072012-05-30 David S. Miller <davem@davemloft.net>
17408
17409 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17410 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17411 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17412 (FP_TRAPPING_EXCEPTIONS): Define.
17413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17414 (FP_TRAPPING_EXCEPTIONS): Define.
17415 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17416 subnormals only when inexact has been signalled or underflow
17417 exceptions are enabled.
17418 (_FP_PACK_CANONICAL): Likewise.
17419
d5c90867
L
174202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 [BZ #14183]
17423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17424 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17425
63f1549e
RH
174262012-05-30 Richard Henderson <rth@twiddle.net>
17427
8d8f2279
RH
17428 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17429 with #ifndef NOT_IN_libc.
17430
63f1549e
RH
17431 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17432 marked to avoid plt entry.
17433
0ab0291b
L
174342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 [BZ #14112]
17437 * Makeconfig (default-abi): New macro.
17438 (abi-includes): Likewise.
17439 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17440 $(abi-$(default-abi)-lib-soname) for soname if defined.
17441 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17442 abi-variants.
17443 * Makefile (installed-stubs): Likewise.
17444 * include/stubs-biarch.h: Removed.
17445 * scripts/lib-names.awk: Only handle one library at a time.
17446 * scripts/soversions.awk: Remove WORDSIZE support.
17447 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17448 entries.
17449 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17450 Removed.
17451 (syscall-list-default-condition): Likewise.
17452 (syscall-list-default-condition): Likewise.
17453 (syscall-list-includes): Likewise.
17454 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17455 syscall-list-* with abi-*. Handle undefined abi-variants.
17456 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17457 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17458 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17459 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17460 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17461 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17462 Removed.
17463 (syscall-list-32-options): Likewise.
17464 (syscall-list-32-condition): Likewise.
17465 (syscall-list-64-options): Likewise.
17466 (syscall-list-64-condition): Likewise.
17467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17468 macro.
17469 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17470 Renamed to ...
17471 (abi-*): This.
17472 (abi-64-ld-soname): New macro.
17473 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17474 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17475 Renamed to ...
17476 (abi-*): This.
17477 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17478 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17479
4da0431d
JM
174802012-05-30 Joseph Myers <joseph@codesourcery.com>
17481
3a85279c
JM
17482 * sysdeps/unix/sysv/linux/kernel-features.h
17483 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17484 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17485 include <kernel-features.h>.
17486 [!__NR_ftruncate64]: Remove conditional code.
17487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17488 [__NR_ftruncate64]: Make code unconditional.
17489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17490 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17491 include <kernel-features.h>.
17492 [!__NR_ftruncate64]: Remove conditional code.
17493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17494 [__NR_ftruncate64]: Make code unconditional.
17495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17497 include <kernel-features.h>.
17498 [!__NR_ftruncate64]: Remove conditional code.
17499 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17500 [__NR_ftruncate64]: Make code unconditional.
17501 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17503 include <kernel-features.h>.
17504 [!__NR_ftruncate64]: Remove conditional code.
17505 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17506 [__NR_ftruncate64]: Make code unconditional.
17507 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17508
4da0431d
JM
17509 * configure.in (libc_cv_fpie): Weaken to a compile test using
17510 LIBC_TRY_CC_OPTION.
17511 * configure: Regenerated.
17512
11ef492c
AK
175132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17514
17515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17519 Refreshed.
17520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17526 Refreshed.
17527
d66ef399
DM
175282012-05-27 David S. Miller <davem@davemloft.net>
17529
17530 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17531 (___Q_zero): New.
17532 (__Q_simulate_exceptions): Return void. Change to simulate
17533 exceptions by writing into the %fsr.
17534 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17535 (__Qp_handle_exceptions): Likewise.
17536 (numbers): Delete.
17537 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17538 __Qp_handle_exceptions.
17539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17540 __Qp_handle_exceptions.
17541 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17542 as unused and give dummy FP_RND_NEAREST initializer.
17543 (FP_INHIBIT_RESULTS): Define.
17544 (___Q_simulate_exceptions): Update declaration.
17545 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17546 formatting.
17547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17548 as unused and give dummy FP_RND_NEAREST initializer.
17549 (__Qp_handle_exceptions): Update declaration.
17550 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17551 formatting.
17552
04fb54b5
TS
175532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17554
17555 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17556 the temporary FPU control word.
17557 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17558 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17560 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17563 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17565 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17566 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17568
3f99608f
KK
175692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17570
17571 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17572 fields.
17573
65a4de4e
CLT
175742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17575
17576 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17577 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17578 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17579 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17580 Likewise.
17581 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17582 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17583 Likewise.
17584
15749d40
UD
175852012-05-27 Ulrich Drepper <drepper@gmail.com>
17586
17587 * po/h.po: Update from translation team.
17588
25dbcb27
AS
175892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17590
3d3f8e55
AS
17591 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17592
25dbcb27
AS
17593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17594 handling of denormals.
17595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17596 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17597 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17598 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17602 Likewise.
17603
7ad47a80 176042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17605
17606 [BZ #14152]
17607 * math/libm-test.inc (fma_test): Don't always expect underflow
17608 exception.
17609
9c6ea9fa
SP
176102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17611
17612 [BZ #12416]
17613 * elf/tst-execstack.c: Include stackinfo.h.
17614 (do_test): Adjust test case to ensure that pthread_getattr_np
17615 behaviour remains the same after marking stack executable.
17616
a8239222
JM
176172012-05-25 Joseph Myers <joseph@codesourcery.com>
17618
17619 * sysdeps/unix/sysv/linux/kernel-features.h
17620 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17621 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17622 kernel-features.h.
17623 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17624 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17625 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17626 kernel-features.h.
17627 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17628 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17629
918b5606
L
176302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17631
17632 * configure.in: Define the default includes to being none.
17633 * configure: Regenerated.
17634
3a097cc7
RM
176352012-05-25 Roland McGrath <roland@hack.frob.com>
17636
8422c9a5
RM
17637 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17638 * sysdeps/x86_64/setjmp.S: Likewise.
17639 * sysdeps/i386/bsd-setjmp.S: Likewise.
17640 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17641 * sysdeps/i386/setjmp.S: Likewise.
17642 * sysdeps/i386/__longjmp.S: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17644 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17645
3a097cc7
RM
17646 * include/stap-probe.h: New file.
17647 * configure.in: Handle --enable-systemtap.
17648 * configure: Regenerated.
17649 * config.h.in (USE_STAP_PROBE): New #undef.
17650 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17651 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17652 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17653
21708942
JM
176542012-05-25 Joseph Myers <joseph@codesourcery.com>
17655
17656 [BZ #13717]
17657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17658 to 2.4.0 where earlier.
17659 * sysdeps/unix/sysv/linux/configure: Regenerated.
17660 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17661 <kernel-features.h>.
17662 [__ASSUME_32BITUIDS]: Make code unconditional.
17663 [!__ASSUME_32BITUIDS]: Remove conditional code.
17664 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17665 <kernel-features.h>.
17666 [__ASSUME_32BITUIDS]: Make code unconditional.
17667 [!__ASSUME_32BITUIDS]: Remove conditional code.
17668 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17669 [__ASSUME_32BITUIDS]: Make code unconditional.
17670 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17672 <kernel-features.h>.
17673 [__ASSUME_32BITUIDS]: Make code unconditional.
17674 [!__ASSUME_32BITUIDS]: Remove conditional code.
17675 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17676 <kernel-features.h>.
17677 [__ASSUME_32BITUIDS]: Make code unconditional.
17678 [!__ASSUME_32BITUIDS]: Remove conditional code.
17679 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17680 <kernel-features.h>.
17681 [__ASSUME_32BITUIDS]: Make code unconditional.
17682 [!__ASSUME_32BITUIDS]: Remove conditional code.
17683 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17684 <kernel-features.h>.
17685 [__ASSUME_32BITUIDS]: Make code unconditional.
17686 [!__ASSUME_32BITUIDS]: Remove conditional code.
17687 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17688 <kernel-features.h>.
17689 [__ASSUME_32BITUIDS]: Make code unconditional.
17690 [!__ASSUME_32BITUIDS]: Remove conditional code.
17691 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17692 <kernel-features.h>.
17693 [__ASSUME_32BITUIDS]: Make code unconditional.
17694 [!__ASSUME_32BITUIDS]: Remove conditional code.
17695 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17696 <kernel-features.h>.
17697 [__ASSUME_32BITUIDS]: Make code unconditional.
17698 [!__ASSUME_32BITUIDS]: Remove conditional code.
17699 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17700 <kernel-features.h>.
17701 [__ASSUME_32BITUIDS]: Make code unconditional.
17702 [!__ASSUME_32BITUIDS]: Remove conditional code.
17703 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17704 <kernel-features.h>.
17705 [__ASSUME_32BITUIDS]: Make code unconditional.
17706 [!__ASSUME_32BITUIDS]: Remove conditional code.
17707 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17708 <kernel-features.h>.
17709 [__ASSUME_32BITUIDS]: Make code unconditional.
17710 [!__ASSUME_32BITUIDS]: Remove conditional code.
17711 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17712 <kernel-features.h>.
17713 [__NR_setresgid] (__setresgid): Do not declare.
17714 [__ASSUME_32BITUIDS]: Make code unconditional.
17715 [!__ASSUME_32BITUIDS]: Remove conditional code.
17716 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17717 <kernel-features.h>.
17718 [__NR_setresuid] (__setresuid): Do not declare.
17719 [__ASSUME_32BITUIDS]: Make code unconditional.
17720 [!__ASSUME_32BITUIDS]: Remove conditional code.
17721 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17722 <kernel-features.h>.
17723 [__ASSUME_32BITUIDS]: Make code unconditional.
17724 [!__ASSUME_32BITUIDS]: Remove conditional code.
17725 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17726 <kernel-features.h>.
17727 [__ASSUME_32BITUIDS]: Make code unconditional.
17728 [!__ASSUME_32BITUIDS]: Remove conditional code.
17729 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17730 <kernel-features.h>.
17731 [__ASSUME_32BITUIDS]: Make code unconditional.
17732 [!__ASSUME_32BITUIDS]: Remove conditional code.
17733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17734 <kernel-features.h>.
17735 [__ASSUME_32BITUIDS]: Make code unconditional.
17736 [!__ASSUME_32BITUIDS]: Remove conditional code.
17737 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17738 <kernel-features.h>.
17739 [__ASSUME_32BITUIDS]: Make code unconditional.
17740 [!__ASSUME_32BITUIDS]: Remove conditional code.
17741 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17742 <kernel-features.h>.
17743 [__ASSUME_32BITUIDS]: Make code unconditional.
17744 [!__ASSUME_32BITUIDS]: Remove conditional code.
17745 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17746 <kernel-features.h>.
17747 [__ASSUME_32BITUIDS]: Make code unconditional.
17748 [!__ASSUME_32BITUIDS]: Remove conditional code.
17749 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17750 <kernel-features.h>.
17751 [__ASSUME_32BITUIDS]: Make code unconditional.
17752 [!__ASSUME_32BITUIDS]: Remove conditional code.
17753 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17754 <kernel-features.h>.
17755 [__ASSUME_32BITUIDS]: Make code unconditional.
17756 [!__ASSUME_32BITUIDS]: Remove conditional code.
17757 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17758 <kernel-features.h>.
17759 [__ASSUME_32BITUIDS]: Make code unconditional.
17760 [!__ASSUME_32BITUIDS]: Remove conditional code.
17761 * sysdeps/unix/sysv/linux/kernel-features.h
17762 (__ASSUME_SETRESUID_SYSCALL): Remove.
17763 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17764 (__ASSUME_32BITUIDS): Likewise.
17765 (__ASSUME_LDT_WORKS): Likewise.
17766 (__ASSUME_O_DIRECTORY): Likewise.
17767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17768 architecture but not kernel version.
17769 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17770 (__ASSUME_MMAP2_SYSCALL): Likewise.
17771 (__ASSUME_STAT64_SYSCALL): Likewise.
17772 (__ASSUME_IPC64): Likewise.
17773 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17774 <kernel-features.h>.
17775 [__ASSUME_32BITUIDS]: Make code unconditional.
17776 [!__ASSUME_32BITUIDS]: Remove conditional code.
17777 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17778 <kernel-features.h>.
17779 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17780 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17781 132096]: Remove conditional code.
17782 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17784 <kernel-features.h>.
17785 [__ASSUME_32BITUIDS]: Make code unconditional.
17786 [!__ASSUME_32BITUIDS]: Remove conditional code.
17787 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17788 <kernel-features.h>.
17789 [__ASSUME_32BITUIDS]: Make code unconditional.
17790 [!__ASSUME_32BITUIDS]: Remove conditional code.
17791 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17792 <kernel-features.h>.
17793 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17794 unconditional.
17795 (__setresgid): Do not declare.
17796 [__ASSUME_32BITUIDS]: Make code unconditional.
17797 [!__ASSUME_32BITUIDS]: Remove conditional code.
17798 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17799 <kernel-features.h>.
17800 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17801 unconditional.
17802 (__setresuid): Do not declare.
17803 [__ASSUME_32BITUIDS]: Make code unconditional.
17804 [!__ASSUME_32BITUIDS]: Remove conditional code.
17805 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17806 <kernel-features.h>.
17807 [__ASSUME_32BITUIDS]: Make code unconditional.
17808 [!__ASSUME_32BITUIDS]: Remove conditional code.
17809 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17810 <kernel-features.h>.
17811 [__ASSUME_32BITUIDS]: Make code unconditional.
17812 [!__ASSUME_32BITUIDS]: Remove conditional code.
17813
a386f1cc
RH
178142012-05-25 Richard Henderson <rth@twiddle.net>
17815
17816 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17817 dl_hwcap to ifunc resolver.
17818 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17819 elf_ifunc_invoke.
17820 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17821 dl_hwcap to ifunc resolver.
17822 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17823
b6550497
JM
178242012-05-24 Joseph Myers <joseph@codesourcery.com>
17825
17826 [BZ #14153]
17827 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17828 for |x| <= 2**-26, not 2**-57.
17829 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17830 exception.
17831
b0bc23a1
JL
178322012-05-24 Jeff Law <law@redhat.com>
17833
17834 * stdio-common/Makefile (tests): Add bug25.
17835 * stdio-common/bug25.c: New test.
17836
347c92e9
L
178372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17838
17839 [BZ #13576]
17840 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17841 multiple of MALLOC_ALIGNMENT in size.
17842 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17843
6bcc8b3f
JM
178442012-05-24 Joseph Myers <joseph@codesourcery.com>
17845
17846 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17847 Require >= 256.
17848 (FILENAME_MAX): Use macro-int-constant.
17849 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17850 (_IOFBF): Use macro-int-constant.
17851 (_IOLBF): Likewise.
17852 (_IONBF): Likewise.
17853 (SEEK_CUR): Likewise.
17854 (SEEK_END): Likewise.
17855 (SEEK_SET): Likewise.
17856 (TMP_MAX): Likewise.
17857 (EOF): Use macro-int-constant. Require < 0.
17858 (NULL): Use macro-constant. Require == 0.
17859 (stdin): Require type to be FILE *.
17860 (stdout): Likewise.
17861 (stderr): Likewise.
17862 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17863 macro-int-constant.
17864 (EXIT_SUCCESS): Likewise.
17865 (NULL): Use macro-constant. Require == 0.
17866 (RAND_MAX): Use macro-int-constant.
17867 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17868 [C99-based standards] (strtof): Require function.
17869 [C99-based standards] (strtold): Likewise.
17870 [C99-based standards] (strtoll): Likewise.
17871 [C99-based standards] (strtoull): Likewise.
17872 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17873 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17874 [ISO || ISO99 || ISO11] (math.h): Likewise.
17875 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17876 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17878
d18ea0c5
AS
178792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17880
17881 [BZ #14132]
56d25bb8
AS
17882 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17883 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17884 * intl/dgettext.c (DCGETTEXT): Likewise.
17885 * intl/gettext.c (DCGETTEXT): Likewise.
17886 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17887 * posix/regex_internal.h (gettext): Likewise.
17888 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17889 Remove declaration.
17890 * include/argz.h (__argz_count_internal)
17891 (__argz_stringify_internal): Remove declaration.
17892 (__argz_count, __argz_stringify): Declare hidden proto.
17893 * intl/dcgettext.c: Remove use of INTDEF.
17894 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17895 * string/argz-stringify.c: Likewise.
17896 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17897 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17898 Declare hidden proto.
d18ea0c5
AS
17899 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17900 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17901 Declare hidden proto.
17902 * include/stdio.h (__asprintf_internal): Don't declare.
17903 (__asprintf): Don't define as macro. Declare hidden proto.
17904 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17905 (__fsetlocking): Declare hidden proto.
17906 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17907 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17908 hidden proto.
17909 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17910 (_IO_setlinebuf): Remove use of INTUSE.
17911 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17912 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17913 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17914 Remove declaration.
17915 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17916 (_IO_do_flush): Remove use of INTUSE.
17917 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17918 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17919 (_IO_adjust_column, _IO_least_wmarker)
17920 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17921 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17922 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17923 (_IO_default_doallocate, _IO_wdefault_doallocate)
17924 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17925 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17926 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17927 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17928 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17929 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17930 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17931 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17932 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17933 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17934 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17935 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17936 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17937 proto.
17938 (_IO_flush_all_internal, _IO_adjust_column_internal)
17939 (_IO_default_uflow_internal, _IO_default_finish_internal)
17940 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17941 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17942 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17943 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17944 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17945 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17946 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17947 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17948 (_IO_file_close_internal, _IO_file_close_it_internal)
17949 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17950 (_IO_file_init_internal, _IO_file_attach_internal)
17951 (_IO_file_fopen_internal, _IO_file_read_internal)
17952 (_IO_file_sync_internal, _IO_file_seek_internal)
17953 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17954 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17955 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17956 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17957 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17958 (_IO_list_all_internal, _IO_link_in_internal)
17959 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17960 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17961 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17962 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17963 (_IO_do_write_internal, _IO_padn_internal)
17964 (_IO_getline_info_internal, _IO_getline_internal)
17965 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17966 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17967 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17968 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17969 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17970 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17971 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17972 with libc_hidden_ver, remove use of INTUSE.
17973 * libio/genops.c: Likewise.
17974 * libio/freopen.c: Likewise.
17975 * libio/freopen64.c: Likewise.
17976 * libio/iofclose.c: Likewise.
17977 * libio/iofdopen.c: Likewise.
17978 * libio/iofflush.c: Likewise.
17979 * libio/iofflush_u.c: Likewise.
17980 * libio/iofgets.c: Likewise.
17981 * libio/iofgets_u.c: Likewise.
17982 * libio/iofopen.c: Likewise.
17983 * libio/iofopncook.c: Likewise.
17984 * libio/iofread.c: Likewise.
17985 * libio/iofread_u.c: Likewise.
17986 * libio/ioftell.c: Likewise.
17987 * libio/iofwrite.c: Likewise.
17988 * libio/iogetline.c: Likewise.
17989 * libio/iogets.c: Likewise.
17990 * libio/iogetwline.c: Likewise.
17991 * libio/iopadn.c: Likewise.
17992 * libio/iopopen.c: Likewise.
17993 * libio/ioseekoff.c: Likewise.
17994 * libio/ioseekpos.c: Likewise.
17995 * libio/iosetbuffer.c: Likewise.
17996 * libio/iosetvbuf.c: Likewise.
17997 * libio/ioungetc.c: Likewise.
17998 * libio/ioungetwc.c: Likewise.
17999 * libio/iovdprintf.c: Likewise.
18000 * libio/iovsprintf.c: Likewise.
18001 * libio/iovsscanf.c: Likewise.
18002 * libio/memstream.c: Likewise.
18003 * libio/obprintf.c: Likewise.
18004 * libio/oldfileops.c: Likewise.
18005 * libio/oldiofclose.c: Likewise.
18006 * libio/oldiofdopen.c: Likewise.
18007 * libio/oldiofopen.c: Likewise.
18008 * libio/oldiopopen.c: Likewise.
18009 * libio/oldstdfiles.c: Likewise.
18010 * libio/putc.c: Likewise.
18011 * libio/setbuf.c: Likewise.
18012 * libio/setlinebuf.c: Likewise.
18013 * libio/stdfiles.c: Likewise.
18014 * libio/strops.c: Likewise.
18015 * libio/vasprintf.c: Likewise.
18016 * libio/vscanf.c: Likewise.
18017 * libio/vsnprintf.c: Likewise.
18018 * libio/vswprintf.c: Likewise.
18019 * libio/wfiledoalloc.c: Likewise.
18020 * libio/wfileops.c: Likewise.
18021 * libio/wgenops.c: Likewise.
18022 * libio/wmemstream.c: Likewise.
18023 * libio/wstrops.c: Likewise.
18024 * libio/__fpurge.c: Likewise.
18025 * libio/__fsetlocking.c: Likewise.
18026 * assert/assert.c: Likewise.
18027 * debug/fgets_chk.c: Likewise.
18028 * debug/fgets_u_chk.c: Likewise.
18029 * debug/fread_chk.c: Likewise.
18030 * debug/fread_u_chk.c: Likewise.
18031 * debug/gets_chk.c: Likewise.
18032 * debug/obprintf_chk.c: Likewise.
18033 * debug/vasprintf_chk.c: Likewise.
18034 * debug/vdprintf_chk.c: Likewise.
18035 * debug/vsnprintf_chk.c: Likewise.
18036 * debug/vsprintf_chk.c: Likewise.
18037 * malloc/mtrace.c: Likewise.
18038 * misc/error.c: Likewise.
18039 * misc/syslog.c: Likewise.
18040 * stdio-common/asprintf.c: Likewise.
18041 * stdio-common/fxprintf.c: Likewise.
18042 * stdio-common/getw.c: Likewise.
18043 * stdio-common/isoc99_fscanf.c: Likewise.
18044 * stdio-common/isoc99_scanf.c: Likewise.
18045 * stdio-common/isoc99_vfscanf.c: Likewise.
18046 * stdio-common/isoc99_vscanf.c: Likewise.
18047 * stdio-common/isoc99_vsscanf.c: Likewise.
18048 * stdio-common/printf-prs.c: Likewise.
18049 * stdio-common/printf_fp.c: Likewise.
18050 * stdio-common/printf_fphex.c: Likewise.
18051 * stdio-common/printf_size.c: Likewise.
18052 * stdio-common/putw.c: Likewise.
18053 * stdio-common/scanf.c: Likewise.
18054 * stdio-common/sprintf.c: Likewise.
18055 * stdio-common/tmpfile.c: Likewise.
18056 * stdio-common/vfprintf.c: Likewise.
18057 * stdio-common/vfscanf.c: Likewise.
18058 * stdlib/strfmon_l.c: Likewise.
18059 * sunrpc/openchild.c: Likewise.
18060 * sunrpc/xdr_stdio.c: Likewise.
18061 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18062 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18063
d6c33fda
RM
180642012-05-24 Roland McGrath <roland@hack.frob.com>
18065
c1487492
RM
18066 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18067
18068 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18069 in the third column, to generate for the shared library an IFUNC
18070 that uses _dl_vdso_vsym.
18071 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18072 * Makeconfig (object-suffixes-noshared): New variable.
18073
18074 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18075 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18076 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18077 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18078
d6c33fda
RM
18079 [BZ #14132]
18080 * include/sys/time.h (__gettimeofday): Remove macro.
18081 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18082 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18083 Remove INTDEF.
18084 (__gettimeofday): Add libc_hidden_def.
18085 (gettimeofday): Add libc_hidden_weak.
18086 * sysdeps/mach/gettimeofday.c: Likewise.
18087 * sysdeps/posix/gettimeofday.c: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18089 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18091 (__gettimeofday_internal): Remove strong_alias.
18092 (__gettimeofday): Add libc_hidden_def.
18093 (gettimeofday): Add libc_hidden_weak.
18094 * sysdeps/unix/syscalls.list (gettimeofday):
18095 Remove __gettimeofday_internal alias.
18096
b5a2bbe6
L
180972012-05-24 Daniel Jacobowitz <drow@false.org>
18098 H.J. Lu <hongjiu.lu@intel.com>
18099
18100 [BZ #12495]
18101 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18102 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18103 (largebin_index_32_big): New.
18104 (largebin_index): Use it for 16-byte alignment.
18105 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18106 correction with front_misalign.
18107
cfba4fda
L
181082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18109
7f907421
L
18110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18112 Likewise.
18113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18114 Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18118 Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18120 Likewise.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18122 Likewise.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18124 Likewise.
18125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18126 Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18128 Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18134 Likewise.
18135
cfba4fda
L
18136 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18137 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18138
80bad0cc
JM
181392012-05-24 Joseph Myers <joseph@codesourcery.com>
18140
7a25eb06
JM
18141 [BZ #10846]
18142 [BZ #14036]
18143 * math/libm-test.inc (exp_test): Add test from bug 14036.
18144 (pow_test): Add test from bug 10846.
18145
795405f9
JM
18146 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18147 and other flags.
18148 (special_function): Do not include flags in test name.
18149 (parse_args): Likewise.
18150 * sysdeps/i386/fpu/libm-test-ulps: Update.
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155
80bad0cc
JM
18156 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18157 exceptions.
18158 * math/libm-test.inc ("Philosophy"): Update comment about
18159 exception testing.
18160 (UNDERFLOW_EXCEPTION): New macro.
18161 (UNDERFLOW_EXCEPTION_OK): Likewise.
18162 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18163 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18164 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18165 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18166 (INVALID_EXCEPTION_OK): Update value.
18167 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18168 (OVERFLOW_EXCEPTION_OK): Likewise.
18169 (IGNORE_ZERO_INF_SIGN): Likewise.
18170 (test_exceptions): Handle underflow exceptions.
18171 (acos_test): Update for underflow exception expectations.
18172 (cexp_test): Likewise.
18173 (clog_test): Likewise.
18174 (clog10_test): Likewise.
18175 (csqrt_test): Likewise.
18176 (ctan_test): Likewise.
18177 (ctanh_test): Likewise.
18178 (exp_test): Likewise.
18179 (exp10_test): Likewise.
18180 (exp2_test): Likewise.
18181 (expm1_test): Likewise.
18182 (fma_test): Likewise.
18183 (j0_test): Likewise.
18184 (jn_test): Likewise.
18185 (nexttoward_test): Likewise.
18186 (pow_test): Likewise.
18187 (scalbn_test): Likewise.
18188 (scalbln_test): Likewise.
18189 (tan_test): Likewise.
18190 (y1_test): Likewise.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
9e0e3d0b
DM
181942012-05-23 David S. Miller <davem@davemloft.net>
18195
18196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18197 (__libc_sigaction): Remove unused local variables.
18198
ccd0a08f
L
181992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18200
18201 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18202
62bdf9a6
PE
182032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18204
f8591f80
PE
18205 mktime: avoid signed integer overflow
18206 * time/mktime.c (__mktime_internal): Do not mishandle the case
18207 where diff == INT_MIN.
18208
94c7d826
PE
18209 mktime: simplify computation of average
18210 * time/mktime.c (ranged_convert): Use new time_t_avg function
18211 instead of rolling our own (probably-slower) code.
18212
ce73d683
PE
18213 mktime: do not assume signed right shift propagates sign bit
18214 * time/mktime.c (isdst_differ): New static function.
18215 (__mktime_internal): No need to normalize tm_isdst now.
18216 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18217 tm_isdst values.
18218
72a22e59
PE
18219 mktime: merge another wrapv change from gnulib
18220 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18221 from some compilers.
18222
68605433
PE
18223 mktime: remove incorrect attempt at unusual arithmetics
18224 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18225 The code didn't really work on such machines anyway.
18226 (TYPE_MINIMUM): Assume two's complement.
18227 (twos_complement_arithmetic): Verify that long_int and time_t
18228 are two's complement (or unsigned, in the latter case).
18229
03cf7fe3
PE
18230 mktime: check signed shifts on long_int and time_t, too
18231 * time/mktime.c (SHR): Check that shifts work as desired
18232 on the types long_int and time_t too, as SHR is used on
18233 such types.
18234
f04dfbc2
PE
18235 mktime: do not assume 'long' is wide enough
18236 * time/mktime.c (verify): Move decl up.
18237 (long_int): New type.
18238 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18239 to remove assumption in the code that 'long' is wide enough to
18240 store year values. This assumption is not true on x32 and on
18241 some non-glibc platforms.
18242
62bdf9a6
PE
18243 mktime: merge wrapv change from gnulib
18244 * time/mktime.c (WRAPV): New macro.
18245 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18246 (guess_time_tm, __mktime_internal): Do not assume that signed
18247 integer overflow wraps around; modern compilers generate code
18248 where this assumption is no longer valid.
18249
5e292e4f
L
182502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18251
18252 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18253 Replace "jmp L(pseudo_end)" with "ret".
18254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18255 Likewise.
18256
8caf8c87
AJ
182572012-05-23 Andreas Jaeger <aj@suse.de>
18258
18259 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18260 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18261
1a09dc56
AJ
182622012-05-23 Andreas Jaeger <aj@suse.de>
18263 Maximilian Attems <max@stro.at>
18264
18265 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18266 New macros.
18267
1c87aba0
L
182682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18271 code so that pseudo_end is just ret and the stack pointer is
18272 correct also for static library in error case.
18273
40e45bd5
JM
182742012-05-23 Joseph Myers <joseph@codesourcery.com>
18275
c2670533
JM
18276 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18277 move to syscalls.list.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18282
40e45bd5
JM
18283 * manual/install.texi (Running make install): Do not mention Linux
18284 kernel version for which pt_chown is not needed.
18285 (Linux): Do not mention problems with nscd with 2.0 kernels.
18286 * INSTALL: Regenerated.
18287
be08eda5
AJ
182882012-05-23 Andreas Jaeger <aj@suse.de>
18289
18290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18291 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18292 macro.
18293 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18295 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18297 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18303 * sysdeps/unix/sysv/linux/bits/in.h
18304 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18305
a6a056bb
RM
183062012-05-22 Roland McGrath <roland@hack.frob.com>
18307
18308 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18309 (PREPARE_VERSION): Just use assert instead, it will be elided
18310 under [NDEBUG] anyway.
18311
c9009328
L
183122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/unix/sysv/linux/Makefile: Include
18315 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18316 (sysdep_routines): Remove sysctl.
c9009328
L
18317 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18318 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18319 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18320 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18321 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18322
73338355
AJ
183232012-05-22 Andreas Jaeger <aj@suse.de>
18324
18325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18326 that pseudo_end is just ret and the stack pointer is correct also
18327 for static library in error case.
18328
d44638b0
PP
183292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18330
18331 [BZ #14122]
18332 * nss/nsswitch.c (defconfig_entries): New variable.
18333 (__nss_database_lookup): Don't leak defconfig entries.
18334 (nss_parse_service_list): Don't leak on error paths.
18335 (free_database_entries): New function.
18336 (free_defconfig): New function.
18337 (free_mem): Move common code to free_database_entries.
18338
31a39bd8
L
183392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18340
da0331a8
L
18341 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18342 Add arch_prctl.
18343 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18344
31a39bd8
L
18345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18346 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18348 New macro.
18349 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18350 (INTERNAL_SYSCALL_TYPES): Likewise.
18351 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18352 (LOAD_REGS_TYPES_[1-6]): Likewise.
18353 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18354 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18355
45470df3
AZ
183562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18357
18358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18359 copysignl for GLIBC_2_0.
18360 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18361 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18363 logbl for GLIBC_2_0.
18364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18365 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18366
98a61bcb
L
183672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18368
a4f6e481
L
18369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18370 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18371
f63d5db6
L
18372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18373 Use "neg %eax".
18374
98a61bcb
L
18375 * time/mktime.c: Update copyright years.
18376
95770f14
PE
183772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18378
6226efbd
PE
18379 mktime: merge comment-quoting-style change from gnulib
18380 * time/mktime.c: Quote 'like this' in comments.
18381 The GNU coding standards suggest that we no longer quote `like this',
18382 as "`" and "'" are typically rendered asymmetrically nowadays.
18383 The typical gnulib style is to quote 'like this' when quoting
18384 code, and "like this" when quoting English.
18385
b99e4f78
PE
18386 * time/mktime.c (compile-command): Add "-I.".
18387
643e01e6
PE
18388 mktime: merge mktime-internal.h change from gnulib
18389 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18390
2554247d
PE
18391 mktime: merge time_r change from gnulib
18392 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18393
826dd0ab
PE
18394 mktime: merge DEBUG change from gnulib
18395 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18396 case system <time.h> has a #define.
18397
bd83aabe
PE
18398 mktime: merge <sys/types.h> change from gnulib
18399 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18400 since <time.t> is now guaranteed to define time_t.
18401
95770f14
PE
18402 mktime: merge HAVE_CONFIG_H change from gnulib
18403 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18404
5e1a27a9
L
184052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18406
0e44a77e
L
18407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18408 Use "neg %eax".
18409
5e1a27a9
L
18410 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18411 __rlim_t cast.
18412 (struct rusage): Use anonymous union to pad each field to
18413 __syscall_slong_t.
18414
46259bec
DM
184152012-05-21 David S. Miller <davem@davemloft.net>
18416
18417 * Makefules (o-iterator): Remove .s cases.
18418 (compile-command.s): Delete.
18419 (COMPILE.s): Delete.
18420 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18421
59f0c22e
JM
184222012-05-21 Joseph Myers <joseph@codesourcery.com>
18423
18424 * configure.in (libc_cv_predef_stack_protector): Only consider
18425 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18426 * configure: Regenerated.
18427
20c07380
L
184282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18429
bbb3154b
L
18430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18431 New macro. Use R*LP on int and pointer.
18432 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18433 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18435 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18436
20c07380
L
18437 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18438 [__WORDSIZE_TIME64_COMPAT32] instead of
18439 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18440 (struct utmp): Likewise.
18441 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18442 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18443 Renamed to ...
18444 (__WORDSIZE_TIME64_COMPAT32): This.
18445 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18446 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18447 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18448 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18449 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18450 (__WORDSIZE_TIME64_COMPAT32): New macro.
18451
d8d1017e
AJ
184522012-05-21 Andreas Jaeger <aj@suse.de>
18453
18454 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18455 only if [SHARED]. Add prototype for __wcschr_ia32.
18456
6c7fb145
RM
184572012-05-21 Roland McGrath <roland@hack.frob.com>
18458
18459 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18460 of %rbp unmolested in the jmp_buf while mangling the low bits.
18461 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18462 unmolested high bits of %rbp while demangling the low bits.
18463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18464
66274218
AJ
184652012-05-21 Andreas Jaeger <aj@suse.de>
18466
07c58f8f
AJ
18467 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18468 * sunrpc/svc_simple.c: Use it for registerrpc.
18469 * sunrpc/xcrypt.c: Use it for passwd2des.
18470
66274218
AJ
18471 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18472
61f65140
L
184732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18474
18475 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18476 Don't define if [__SYSCALL_WORDSIZE != 32].
18477 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18478 New macro.
18479
5fefb436
AJ
184802012-05-21 Bruno Haible <bruno@clisp.org>
18481 Andreas Jaeger <aj@suse.de>
18482
18483 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18484 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18485 inptr and inend for must_buffer_ch.
18486 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18487 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18488 * stdio-common/Makefile (tests): Remove bug15.
18489 (bug15-ENV): Remove macro.
18490 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18491 anymore.
18492
d8e272ab
AJ
184932012-05-19 Andreas Jaeger <aj@suse.de>
18494 Roland McGrath <roland@hack.frob.com>
18495
18496 * manual/contrib.texi: Completely rewritten. It contains now an
18497 alphabetical list of contributors and their contributions.
18498
4a56a162
RH
184992012-05-21 Richard Henderson <rth@twiddle.net>
18500
18501 * misc/getauxval.c (__getauxval): Use unsigned long int.
18502 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18503 (getauxval): Use unsigned long int.
18504
d024d23c
L
185052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18506
18507 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18508
cbc00a03
RM
185092012-05-21 Roland McGrath <roland@hack.frob.com>
18510
18511 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18512 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18513 __alignof__ (long double).
18514
478143fa
AZ
185152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18516
18517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18518
c7683a6d
RH
185192012-05-20 Richard Henderson <rth@twiddle.net>
18520
18521 * misc/getauxval.c: New file.
18522 * misc/sys/auxv.h: New file.
18523 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18524 (routines): Add getauxval.
18525 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18527 * elf/dl-sysdep.c (_dl_auxv): Remove.
18528 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18529 * elf/dl-support.c (_dl_auxv): New variable.
18530 (_dl_aux_init): Initialize it.
18531 * manual/startup.texi (Auxiliary Vector): New node.
18532 * sysdeps/generic/bits/hwcap.h: New file.
18533 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18534 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18535 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18536 * sysdeps/sparc/sysdep.h: ... here. Include it.
18537 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18540 Update.
c7683a6d
RH
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18549
a6f1845d
AZ
185502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18551
18552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18553
cbcbe830
DM
185542012-05-19 David S. Miller <davem@davemloft.net>
18555
18556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18557
e0b16cc2
JM
185582012-05-19 Joseph Myers <joseph@codesourcery.com>
18559
18560 [BZ #14123]
18561 * math/s_ccosh.c: Include <float.h>
18562 (__ccosh): Avoid internal overflow calculating sinh and cosh
18563 values before multiplying by sin and cos values.
18564 * math/s_ccoshf.c: Likewise.
18565 * math/s_ccoshl.c: Likewise.
18566 * math/s_csin.c: Likewise.
18567 * math/s_csinf.c: Likewise.
18568 * math/s_csinl.c: Likewise.
18569 * math/s_csinh.c: Likewise.
18570 * math/s_csinhf.c: Likewise.
18571 * math/s_csinhl.c: Likewise.
18572 * math/libm-test.inc (ccos_test): Add more tests.
18573 (ccosh_test): Likewise.
18574 (csin_test): Likewise.
18575 (csinh_test): Likewise.
18576 * sysdeps/i386/fpu/libm-test-ulps: Update.
18577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18578
6ad13e08
L
185792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18580
f66f0ce8
L
18581 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18582 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18583
6ad13e08
L
18584 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18585
b1d072a7
JM
185862012-05-19 Joseph Myers <joseph@codesourcery.com>
18587
18588 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18589 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18590 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18591 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18592 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18593 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18594 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18595 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18596 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18597 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18598 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18599 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18600 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18601 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18602 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18603 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18604 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18605 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18606 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18607 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18608 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18609 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18610 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18611 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18612 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18613 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18614 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18615 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18616 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18617 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18618 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18619
9eae47cb
AJ
186202012-05-18 Andreas Jaeger <aj@suse.de>
18621
18622 * csu/.gitignore: Delete.
18623
bb07f69f
L
186242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18627 (timex): Use __syscall_slong_t.
18628
e6bdb741
AJ
186292012-05-18 Andreas Jaeger <aj@suse.de>
18630 Carlos O'Donell <carlos_odonell@mentor.com>
18631
18632 * manual/install.texi (Configuring and compiling): Update
18633 description about files modified in the source directory.
d6c33fda 18634 * INSTALL: Regenerated.
e6bdb741 18635
1b74487e
L
186362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18639 value. Use "or" to set return value to -1.
18640 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18641 negate return value.
18642
a88b64b9
TMQMF
186432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18644
18645 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18646 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18647 failure if the compiler has Graphite support disabled.
18648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18649 Likewise.
18650 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18651 CFLAGS-memmove.c): Likewise.
18652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18653 Likewise.
18654
3707636e
L
186552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18656
610b8622
L
18657 * sysdeps/x86_64/x32/_itoa.h: New file.
18658
7cd195df
L
18659 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18660 getdents system call only if kernel and user dirents have the
18661 same d_ino and d_off.
18662
94b07d20
L
18663 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18664 LLONG_MAX != LONG_MAX.
18665 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18666 (_fitoa_word): Likewise.
18667
18298070
L
18668 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18669 years.
18670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18673
553c7ea4
L
18674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18675 include <bits/wordsize.h>. Check __x86_64__ instead of
18676 __WORDSIZE.
18677 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18678 if __x86_64__ is defined. Use anonymous union on fpstate.
18679
3707636e
L
18680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18681 anonymous union.
18682
b53ef01a
AS
186832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18684
37fb1dc0
AS
18685 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18686 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18687 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18688 Refer to _rtld_local_ro instead of _rtld_global_ro.
18689 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18690 Likewise.
18691 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18692 Likewise.
18693 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18694 Likewise.
18695 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18696 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18697 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18698
b53ef01a
AS
18699 * sysdeps/powerpc/powerpc32/dl-machine.c
18700 (__elf_machine_runtime_setup) [PROF]: Don't reference
18701 _dl_prof_resolve.
18702
7a185db2
AJ
187032012-05-18 Andreas Jaeger <aj@suse.de>
18704
18705 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18706 function only available for GCCs before 3.4 since GCC 3.4
18707 introduced a builtin.
18708 (lrint): Likewise.
18709 (llrintf): Likewise.
18710 (llrint): Likewise.
18711 (fmaxf): Likewise.
18712 (fmax): Likewise.
18713 (fminf): Likewise.
18714 (fmin): Likewise.
18715 (rint): Likewise.
18716 (rintf): Likewise.
18717 (nearbyint): Likewise.
18718 (nearbyintf): Likewise.
18719 (ceil): Likewise.
18720 (ceilf): Likewise.
18721 (floor): Likewise.
18722 (floorf): Likewise.
18723
3e5aef87
L
187242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18725
428bd707
L
18726 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18727 on both fields and cast pointer to __syscall_ulong_t.
18728
3e5aef87
L
18729 * bits/types.h (__fsword_t): New type.
18730 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18731 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18733 (__FSWORD_T_TYPE): Likewise.
18734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18735 (__FSWORD_T_TYPE): Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18737 (__FSWORD_T_TYPE): Likewise.
18738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18739 (__FSWORD_T_TYPE): Likewise.
18740 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18741 __SWORD_TYPE with __fsword_t.
18742 (statfs64): Likewise.
18743
1ba7c3dc
DM
187442012-05-17 David S. Miller <davem@davemloft.net>
18745
18746 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18747
59910343
AJ
187482012-05-17 Andreas Jaeger <aj@suse.de>
18749
18750 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18751 warning.
18752
2e4c1e9e
L
187532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18756
de7f5ce7
AJ
187572012-05-17 Andreas Jaeger <aj@suse.de>
18758
18759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18760 when it is used.
18761
286abc3d
CM
187622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18763
18764 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18765
477cc68e
L
187662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18767
18768 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18769 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18770
1a0994f5
CD
187712012-05-17 Andreas Jaeger <aj@suse.de>
18772 Carlos O'Donell <carlos_odonell@mentor.com>
18773
18774 [BZ #14059]
18775 * sysdeps/x86_64/multiarch/init-arch.h
18776 (bit_YMM_Usable): Rename to...
18777 (bit_AVX_Usable): ... this.
18778 (bit_FMA4_Usable): New macro.
18779 (bit_XMM_state): New macro.
18780 (bit_YMM_state): New macro.
18781 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18782 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18783 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18784 (CPUID_OSXSAVE): New macro.
18785 (CPUID_AVX): New macro.
18786 (CPUID_FMA4): New macro.
18787 (index_YMM_Usable): Rename to...
18788 (index_AVX_Usable): ... this.
18789 (HAS_AVX): Use HAS_ARCH_FEATURE.
18790 (HAS_FMA4): Likewise.
18791 (HAS_YMM_USABLE): Remove.
18792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18793 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18794 are present.
18795 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18796 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18797 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18798 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18799 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18800
0af797de
CM
188012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18802
18803 * math/libm-test.c: Support platforms without multiple rounding modes.
18804 * math/bug-nextafter.c: Support platforms without FP exceptions.
18805 * math/bug-nexttoward.c: Likewise.
18806 * math/test-fenv.c: Likewise.
18807 * math/test-misc.c: Likewise.
18808 * stdlib/bug-getcontext.c: Likewise.
18809
e39745ff
AJ
188102012-05-17 Andreas Jaeger <aj@suse.de>
18811
18812 * manual/examples/search.c (critter_cmp): Change signature to
18813 avoid warnings.
18814 * manual/string.texi (Collation Functions): Likewise.
18815
48970aba
L
188162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18817
18818 * bits/types.h: Fold copyright years.
18819 * bits/typesizes.h: Likewise.
18820 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18824 * time/time.h: Likewise.
18825
bedee953
PP
188262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18827
18828 [BZ #208]
18829 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18830 in instead of returning them. Return void.
18831 (__libc_mallinfo): Accumulate over all arenas.
18832 (__malloc_stats): Adjust for change in int_mallinfo interface.
18833
61653dfb
RM
188342012-05-16 Roland McGrath <roland@hack.frob.com>
18835
30b99d79
RM
18836 [BZ #10375]
18837 * configure.in (NM): Add AC_CHECK_TOOL for it.
18838 (libc_extra_cflags): New substituted variable.
18839 Check for -fstack-protector being used implicitly.
18840 * configure: Regenerated.
18841 * config.make.in (config-extra-cflags): New variable,
18842 gets @libc_extra_cflags@.
18843 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18844
61653dfb
RM
18845 [BZ #10375]
18846 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18847 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18848 * configure: Regenerated.
18849 * config.make.in (CPPUNDEFS): New substituted variable.
18850 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18851 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18852 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18853
661768bb
L
188542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18855
18856 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18857 (mq_attr): Use __syscall_slong_t.
18858
d4261567
L
188592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18860
18861 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18862 Check __x86_64__ instead of __WORDSIZE.
18863 (_STAT_VER_LINUX): Likewise.
18864 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18865 __syscall_ulong_t and __syscall_slong_t.
18866 (stat64): Likewise.
18867
cf3ff365
L
188682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18869
18870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18871
76cf3e4d
L
188722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18873
18874 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18875
a637753a
L
188762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18877
18878 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18879 __syscall_ulong_t.
18880
d5e05119
L
18881 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18882 include <bits/wordsize.h>. Check __x86_64__ instead of
18883 __WORDSIZE.
18884 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18885 defined.
18886 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18887
f62ee380
L
18888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18889 include <bits/wordsize.h>. Check __x86_64__ instead of
18890 __WORDSIZE.
18891 (user_regs_struct): Use "__extension__ unsigned long long"
18892 instead of "unsigned long" if __x86_64__ is defined.
18893 (user): Likewise. Pad after pointer field if __ILP32__ is
18894 defined.
18895
4e124ced
JM
188962012-05-16 Joseph Myers <joseph@codesourcery.com>
18897
6a3951a0
JM
18898 * configure.in (makeinfo): Require version 4.5 or later. Allow
18899 versions 5 to 9.
18900 * configure: Regenerated.
18901 * manual/install.texi (texinfo): Increase version requirement to
18902 4.5 or later.
18903 * INSTALL: Regenerated.
18904
4e124ced
JM
18905 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18906
953ca31a
L
189072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18908
18909 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18910
617aca05
L
18911 * sysdeps/x86_64/x32/ffs.c: New file.
18912
5762f7ae
L
18913 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18914 __syscall_ulong_t.
18915 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18916 defined. Use __syscall_ulong_t.
18917 (shminfo): Use __syscall_ulong_t.
18918 (shm_info): Likewise.
18919
a26b6856
L
18920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18921 __syscall_ulong_t.
18922
cb2b9ef7
L
18923 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18924 <bits/wordsize.h>.
18925 (msgqnum_t): Use __syscall_ulong_t.
18926 (msglen_t): Likewise.
18927 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18928 __syscall_ulong_t.
18929
34683bb0
L
18930 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18932
84a68786
L
18933 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18934
48baa5f1
L
18935 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18936 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18937
180be88b
L
18938 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18939 __syscall_slong_t.
18940
5e90c8ad
L
18941 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18942 include <bits/wordsize.h>. Check __x86_64__ instead of
18943 __WORDSIZE.
18944
23dfb58b
L
18945 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18946 "unsigned long long int" if __x86_64__ is defined.
18947 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18948
ce5d54b0
L
18949 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18950 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18951 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18952
13dc9eac
L
18953 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18954 <stdint.h>.
18955 (GET_PC): Cast to uintptr_t first.
18956 (GET_FRAME): Likewise.
18957 (GET_STACK): Likewise.
18958
a7895d15
L
18959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18964 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18966 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18975 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18988
656416c9
AS
189892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18990
5bd66283
AS
18991 * Makerules (+depfiles): Also collect depfiles from .oS in
18992 $(extra-objs).
18993 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18994 .oS, $(libnldbl-routines)).
18995
656416c9
AS
18996 * Makerules (native-compile-mkdep-flags): Define.
18997 * sunrpc/Makefile (extra-objs): Add $(addprefix
18998 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18999 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19000 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19001 calling $(make-target-directory).
19002
a46f2169
L
190032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19004
19005 * bits/types.h (__snseconds_t): Removed.
19006 * time/time.h (struct timespec): Replace __snseconds_t with
19007 __syscall_slong_t.
19008 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19009 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19010 Likewise.
19011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19012 (__SNSECONDS_T_TYPE): Likewise.
19013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19014 (__SNSECONDS_T_TYPE): Likewise.
19015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19016 (__SNSECONDS_T_TYPE): Likewise.
19017
6af6528b
L
190182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * sysdeps/mach/hurd/bits/typesizes.h
19021 (__SYSCALL_SLONG_TYPE): New macro.
19022 (__SYSCALL_ULONG_TYPE): Likewise.
19023
de986b56
L
190242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19025
19026 * bits/types.h (__syscall_slong_t): New type.
19027 (__syscall_ulong_t): Likewise.
19028
19029 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19030 (__SYSCALL_ULONG_TYPE): Likewise.
19031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19032 (__SYSCALL_SLONG_TYPE): Likewise.
19033 (__SYSCALL_ULONG_TYPE): Likewise.
19034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19035 (__SYSCALL_SLONG_TYPE): Likewise.
19036 (__SYSCALL_ULONG_TYPE): Likewise.
19037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19038 (__SYSCALL_SLONG_TYPE): Likewise.
19039 (__SYSCALL_ULONG_TYPE): Likewise.
19040
85736dc7
L
190412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19044 Add sigaltstack-offsets.sym.
19045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19046 <sigaltstack-offsets.h>.
19047 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19048 longjmp_msg pointer.
19049 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19050 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19051 signal stack.
19052 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19053
cc03b296
JM
190542012-05-15 Joseph Myers <joseph@codesourcery.com>
19055
a9538892
JM
19056 * elf/stackguard-macros.h: Remove file.
19057 * sysdeps/generic/stackguard-macros.h: New file.
19058 * sysdeps/i386/stackguard-macros.h: Likewise.
19059 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19060 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19061 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19062 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19063 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19064 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19065 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19066 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19067 <elf/stackguard-macros.h>.
19068
cc03b296
JM
19069 [BZ #14109]
19070 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19071 __aligned__ in attribute.
19072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19073 (gregset_t): Likewise.
19074
93171016
L
190752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19076
19077 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19078 * sysdeps/x86_64/64/Implies-after: Here. New file.
19079 * sysdeps/x86_64/x32/Implies-after: New file.
19080
d86813a0
L
190812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19084 and access return value for _dl_profile_fixup. Use R10_LP to
19085 load frame size.
19086
2953ec75
L
190872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19088
19089 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19090
3b550e9e
L
190912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19092
19093 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19094 * sysdeps/x86_64/x32/sysdep.h: New file.
19095
eda41706
L
190962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19099 * sysdeps/x86_64/setjmp.S: Likewise.
19100
9ea01d93
AZ
191012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19102
19103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19105 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19107 remove unused global constant.
19108
02a91938
CM
191092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19110
19111 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19112 include of <not-cancel.h>.
19113
6540185f
RM
191142012-05-15 Roland McGrath <roland@hack.frob.com>
19115
19116 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19117
509072a0
AJ
191182012-05-15 Jeff Law <law@redhat.com>
19119 Andreas Jaeger <aj@suse.de>
19120
19121 [BZ #13594]
19122 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19123 out from...
19124 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19125 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19126 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19127 code changing __hst_map_handle.map.
19128
ba75122d
RM
191292012-05-15 Roland McGrath <roland@hack.frob.com>
19130
19131 * configure.in (sysnames): Look for Implies-before and Implies-after
19132 files.
19133 * configure: Regenerated.
19134
890d8bd8
L
191352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19136
19137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19138 8-byte data alignment with LP_SIZE alignment.
19139
f6ee6623
L
191402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19141
19142 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19143 into R10_LP.
19144
ea2626f6
L
191452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19146
19147 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19148
085f715e
L
191492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19150
19151 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19152 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19154 Likewise.
19155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19156
be8498fc
L
191572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19158
19159 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19160 (stackinfo_sub_sp): Likewise.
19161
70bc83b9
L
191622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19163
19164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19165 RAX_LP.
19166
9bc0b730
L
191672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19168
19169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19170 into R*_LP.
19171
6d2850e7
L
191722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19175 sizes into R*_LP.
19176
3cb84561
L
191772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19178
19179 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19180
54e2ed81
L
191812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19182
19183 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19184 into R11_LP and load __x86_64_shared_cache_size_half into
19185 R8_LP.
19186
8a17f349
L
191872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19188
19189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19190 R8_LP.
19191
777b1eea
AZ
191922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19193
19194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19195 logb for POWER7.
19196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19197 logbf for POWER7.
19198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19199 logbl for POWER7.
19200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19201 powerpc32/power7/fpu/s_logb.c via #include.
19202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19203 powerpc32/power7/fpu/s_logbf.c via #include.
19204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19205 powerpc32/power7/fpu/s_logbl.c via #include.
19206
d20d4ac2
JM
192072012-05-15 Joseph Myers <joseph@codesourcery.com>
19208
19209 * README.libm: Remove file.
19210
6cdef1ab
L
192112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19212
19213 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19214 count for x32. Use R*_LP and omit operand-size suffix.
19215
0b254d8f
L
192162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19217
19218 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19219 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19220 * sysdeps/x86_64/x32/shlib-versions: New file.
19221
ceb809dc
RM
192222012-05-14 Roland McGrath <roland@hack.frob.com>
19223
19224 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19225 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19226 Use _dl_fatal_printf instead.
19227
37f1abd4
JM
192282012-05-14 Joseph Myers <joseph@codesourcery.com>
19229
19230 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19231 set if not set by the user. Do not allow for being unset.
19232 * sysdeps/unix/sysv/linux/configure: Regenerated.
19233
11de3a33
L
192342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19237 the `q' suffix from lea and replace .quad with ASM_ADDR.
19238
e02f153a
L
192392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19240
19241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19242 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19243 instead of $17.
19244 (PTR_DEMANGLE): Likewise.
19245
520ae0fd
L
192462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19249 (LP_OP): Likewise.
19250 (ASM_ADDR): Likewise.
19251 (RAX_LP): Likewise.
19252 (RBP_LP): Likewise.
19253 (RBX_LP): Likewise.
19254 (RCX_LP): Likewise.
19255 (RDI_LP): Likewise.
19256 (RSI_LP): Likewise.
19257 (RSP_LP): Likewise.
19258 (R8_LP): Likewise.
19259 (R9_LP): Likewise.
19260 (R10_LP): Likewise.
19261 (R10_LP): Likewise.
19262 (R11_LP): Likewise.
19263 (R12_LP): Likewise.
19264 (R13_LP): Likewise.
19265 (R14_LP): Likewise.
19266 (R15_LP): Likewise.
19267
b985be81
L
192682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19269
19270 * sysdeps/x86_64/x32/dl-machine.h: New file.
19271
6a4888ff
AJ
192722012-05-14 Andreas Jaeger <aj@suse.de>
19273
19274 * manual/Makefile (subdir): Remove export of subdir.
19275 (all): Remove target.
19276 (.PHONY): Remove all from list.
19277 (mkinstalldirs): Remove.
19278 (.PHONY): Remove installdirs from list.
19279 ($(inst_infodir)/libc.info): Use make-target-directory.
19280 (installdirs): Remove.
19281 (subdir_%): Remove.
19282 (glibc-targets): Remove.
19283 (lib): Remove.
19284 (stubs): Remove.
19285 ($(objpfx)stubs ../po/manual.pot): Remove.
19286 ($(objpfx)stamp%): Remove.
19287 (make-target-directory): Remove.
19288 (subdir_install): Remove.
19289 (routines): Remove.
19290 (aux): Remove.
19291 (sources): Remove.
19292 (objects): Remove.
19293 (headers): Remove.
19294
19295 [BZ #13750]
19296 * manual/.gitignore: Remove, it's not needed anymore.
19297 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19298 all files in it.
19299 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19300 directory.
19301 (texis): Renamed to $(objpfx)texis.
19302 (texis-path): New, contains path to generated files.
19303 (chapters.%): Use texis-path for complete path, add extra argument
19304 libc-texinfo.sh.
19305 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19306 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19307 (summary,texi, stamp-summary): Use complete path of
19308 files. Generate files in build dir.
19309 (dir-add.texi): Build in build dir.
19310 (libm-err.texi,stamp-libm-err): Likewise.
19311 (version.texi, stamp-version): Likewise.
19312 (.%c.texi): Likewise.
19313 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19314 (mostlyclean): Remove target.
19315 (realclean): Remove target.
19316 (generated): Add new variable with contents from mostlyclean and
19317 realclean, remove entries duplicated in common-mostlyclean, add
19318 stamp-libm-err and stamp-version.
19319 (generated-dirs): Add libc directory.
19320 ($(inst_infodir)/libc.info): Install files from build dir.
19321
19322 * manual/install.texi (Configuring and compiling): Adjust since
19323 the info files are not part of the tar ball anymore.
19324
7ac77294
AJ
193252012-05-14 Andreas Jaeger <aj@suse.de>
19326
19327 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19328 variable.
19329
ffb7875d
JM
193302012-05-14 Joseph Myers <joseph@codesourcery.com>
19331
19332 [BZ #13717]
19333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19334 to 2.2.0 where earlier.
19335 * sysdeps/unix/sysv/linux/configure: Regenerated.
19336 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19337 Remove conditional code.
19338 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19339 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19340 Remove conditional code.
19341 [!__NR_lchown]: Likewise.
19342 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19343 [__NR_lchown]: Likewise.
19344 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19345 comment referencing __ASSUME_LCHOWN_SYSCALL.
19346 * sysdeps/unix/sysv/linux/i386/sigaction.c
19347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19349 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19350 Remove conditional code.
19351 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19352 (__protocol_available): Remove #if 0 code.
19353 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19354 conditional code.
19355 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/kernel-features.h
19357 (__ASSUME_GETCWD_SYSCALL): Don't define.
19358 (__ASSUME_REALTIME_SIGNALS): Likewise.
19359 (__ASSUME_PREAD_SYSCALL): Likewise.
19360 (__ASSUME_PWRITE_SYSCALL): Likewise.
19361 (__ASSUME_POLL_SYSCALL): Likewise.
19362 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19363 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19364 non-SPARC.
19365 (__ASSUME_SIOCGIFNAME): Don't define.
19366 (__ASSUME_MSG_NOSIGNAL): Likewise.
19367 (__ASSUME_SENDFILE): Define unconditionally.
19368 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19369 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19370 conditional code.
19371 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19372 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19373 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19374 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19375 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19376 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19377 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19382 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19391 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19394 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19397 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19402 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19403 Remove conditional code.
19404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19405 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19406 Remove conditional code.
19407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19408 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19409 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19410 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19411 Remove conditional code.
19412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19413 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19414 Remove conditional code.
19415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19416 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19417 Remove conditional code.
19418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19419 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19420 Remove conditional code.
19421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19422 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19423 Remove conditional code.
19424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19425 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19428 * sysdeps/unix/sysv/linux/sigaction.c
19429 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19430 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19431 * sysdeps/unix/sysv/linux/sigpending.c
19432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19434 * sysdeps/unix/sysv/linux/sigprocmask.c
19435 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19436 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19437 * sysdeps/unix/sysv/linux/sigsuspend.c
19438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19441 (__libc_missing_rt_sigs): Remove.
19442 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19443 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19444 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19445 Remove conditional code.
19446 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19447 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19448 return 1.
19449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19451 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19452 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19453
1bfb7291
AJ
194542012-05-14 Andreas Jaeger <aj@suse.de>
19455
caae5a81
AJ
19456 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19457 it's not used in glibc.
19458 (__coshm1): Likewise.
19459 (__acosh1p): Likewise.
19460 (__sgn): Likewise.
19461
1bfb7291
AJ
19462 * manual/string.texi (Copying and Concatenation): Add missing
19463 variable in concat example.
19464 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19465
c044d724
L
194662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19467
144c5467 19468 [BZ #14103]
c044d724
L
19469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19470 __builtin_clzl with __builtin_clzll.
19471
2523c62b
L
194722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19473
19474 [BZ #14104]
19475 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19476 libc_freeres_ptr.
19477
d7bb4c42
LD
194782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19479
19480 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19481 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19482 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19483 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19484
9dc4e1fb
MF
194852012-05-14 Mike Frysinger <vapier@gentoo.org>
19486
19487 * NEWS: Update ia64 info.
19488
c7df0112
AS
194892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19490
19491 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19492 used as bcopy.
19493
dc70356c
TS
194942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19495
19496 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19497 * sysdeps/unix/syscalls.list (dup3): Likewise.
19498 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19499 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19500
9fb1a21f
L
195012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19502
19503 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19504 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19505
4822a2a5
L
195062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19507
19508 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19509 thread pointer.
19510 (TLS_IE): Use mov/add instead of movq/addq to load thread
19511 pointer.
19512 (TLS_GD_PREFIX): New.
19513 (TLS_GD): Use it.
19514
842b81d6
DM
195152012-05-11 David S. Miller <davem@davemloft.net>
19516
19517 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19518 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19519 (_FPU_SETCW): Likewise.
19520
1cf463cd
L
195212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19522
19523 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19524 is 32-byte aligned.
19525
60cc4a18
AS
195262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19527
19528 [BZ #11837]
19529 * iconvdata/gb18030.c: Update tables.
19530 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19531 characters specially.
19532 (BODY for TO_LOOP): Add encoding of missing ranges.
19533
febb44a4
TS
195342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19535
19536 [BZ #13673]
19537 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19538 * sysdeps/mach/hurd/dup3.c: Likewise.
19539 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19540 * sysdeps/powerpc/memmove.c:: Likewise.
19541
0a10fb9e
L
195422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19543
19544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19545 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19546
df8a552f
L
195472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19548
19549 * elf/elf.h (R_X86_64_RELATIVE64): New.
19550 (R_X86_64_NUM): Updated.
19551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19552 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19553 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19554 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19555 tst-quad1pie tst-quad2pie
19556 (modules-names): Add tst-quadmod1 tst-quadmod2.
19557 ($(objpfx)tst-quad1): New dependency.
19558 ($(objpfx)tst-quad2): Likewise.
19559 ($(objpfx)tst-quad1pie): Likewise.
19560 ($(objpfx)tst-quad2pie): Likewise.
19561 * sysdeps/x86_64/tst-quad1.c: New file.
19562 * sysdeps/x86_64/tst-quad1pie.c: New file.
19563 * sysdeps/x86_64/tst-quad2.c: Likewise.
19564 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19565 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19566 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19567 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19568 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19569
f34d6f84
ST
195702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19571
f42d41d1
ST
19572 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19573 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19574 * streams/stropts.h (t_scalar_t): Define type.
19575
3c3571fc
ST
19576 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19577 (_PATH_PRESERVE): Set to "/var/lib".
19578 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19579
61f06bd3
ST
19580 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19581 instead of int.
19582
918d4d71
ST
19583 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19584 if __dir_mkfile succeeded.
19585
f34d6f84
ST
19586 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19587 checking for _hurd_dtablesize. Unlock it right after having
19588 finished _hurd_dtable allocation.
19589
10589b4a
TS
195902012-05-10 Thomas Schwinge <thomas@schwinge.name>
19591
674cdbc7
TS
19592 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19593 * sysdeps/mach/hurd/configure: Regenerated.
19594 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19595 special-casing to...
19596 * sysdeps/gnu/configure.in: ... this new file.
19597 * sysdeps/unix/sysv/linux/configure: Regenerated.
19598 * sysdeps/gnu/configure: New generated file.
19599
8e41b99f
TS
19600 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19601 for Linux: use nsec instead of usec, as well as:
19602 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19603 members of type struct timespec.
19604 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19605 New macros.
19606 (struct stat64): Likewise.
19607 (_STATBUF_ST_NSEC): New macro.
19608 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19609
10589b4a
TS
19610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19611 __strtoul_internal rather than strtoul.
19612
63643c85
PT
196132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19614
19615 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19616 and reject them.
19617
3faebe6a
ST
196182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19619
19620 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19621 which preserves existing values.
19622 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19623
c6474b07
PT
196242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19625
19626 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19627 TIMEOUT values. Return EINVAL for NFDS values either negative or
19628 greater than FD_SETSIZE.
19629
1043890b
ST
196302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19631
19632 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19633 allocated, call __vm_protect to finish enabling the existing space, and
19634 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19635 allocate the remainder.
19636
37ed8b9b
PT
196372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19638
19639 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19640 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19641
db653660
ST
196422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19643
37ed8b9b
PT
19644 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19645 sysdeps/mach/hurd/readlink.c.
b29d4053 19646
db653660
ST
19647 * posix/tst-sysconf.c (posix_options): Only use
19648 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19649 _POSIX_SYNCHRONIZED_IO when they are defined
19650 * sysdeps/mach/hurd/bits/posix_opt.h:
19651 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19652 (_XOPEN_REALTIME): Undefine macro.
19653 (_XOPEN_REALTIME_THREADS): Undefine macro.
19654 (_XOPEN_SHM): Undefine macro.
19655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19656 macro to -1.
19657 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19658 macro to -1.
19659 (_POSIX_ASYNC_IO): Undefine macro.
19660 (_POSIX_PRIORITIZED_IO): Undefine macro.
19661 (_POSIX_SPIN_LOCKS): Define macro to -1.
19662
ee16e894
ST
19663 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19664 SA_NODEFER, SA_RESETHAND.
19665 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19666 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19667 F_DUPFD_CLOEXEC.
19668
6103ae3b
TS
196692012-05-10 Thomas Schwinge <thomas@schwinge.name>
19670
19671 * elf/Makefile (pldd-modules): Define unconditionally.
19672
80b4e5f3
TS
196732012-05-10 Thomas Schwinge <thomas@schwinge.name>
19674
19675 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19676
edadcbd6
ST
196772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19678
19679 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19680 Return ENOENT when name is empty.
19681 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19682
80694780
TS
196832012-05-10 Thomas Schwinge <thomas@schwinge.name>
19684
1792c087
TS
19685 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19686
80694780
TS
19687 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19688
6b645f0d
ST
196892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19690
80694780
TS
19691 Fix mlock in all cases except non-readable pages.
19692 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19693 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19694
6b645f0d
ST
19695 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19696 (__mkdir): When path is `/', just fail with EEXIST.
19697 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19698
e468f8a3
TS
196992012-05-10 Thomas Schwinge <thomas@schwinge.name>
19700
19701 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19702 <sys/uio.h> (for writev).
19703 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19704 and <sys/param.h> (for MIN).
19705
a4186cff
PT
197062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19707
19708 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19709 REQUESTED_TIME. Properly set the remaining time and return EINTR
19710 if interrupted.
19711
510bbf14
TS
197122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19713
19714 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19715 Depend on against $(link-rpcuserlibs).
19716
5d5722e8
ST
197172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19718
a4186cff
PT
19719 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19720 (__libc_stack_end): Do not use attribute_relro.
19721 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19722 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19723 to libthread-provided value.
a4186cff
PT
19724 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19725 attribute_relro.
5d5722e8 19726
37233df9
TS
197272012-05-10 Thomas Schwinge <thomas@schwinge.name>
19728
be971a2b
TS
19729 [BZ #3748]
19730 * bits/libc-lock.h (__libc_once_get): New macro.
19731 * sysdeps/mach/bits/libc-lock.h: Likewise.
19732 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19734 instead of using implementation details.
19735
37233df9
TS
19736 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19737 * libio/freopen.c: Likewise.
19738 * libio/freopen64.c: Likewise.
19739 * misc/syslog.c: Likewise.
19740 * nscd/connections.c: Likewise.
19741 * nscd/netgroupcache.c: Likewise.
19742 * sysdeps/posix/getcwd.c: Likewise.
19743
38de94a5
RM
197442012-05-10 Roland McGrath <roland@hack.frob.com>
19745
19746 * math/w_ilogbf.c: Add #include <limits.h>.
19747
67530489
ST
197482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19749
a4186cff 19750 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19751 path instead of returning without unlocking.
19752
67530489
ST
19753 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19754 immediate-write ioctls.
19755 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19756
5aa3a74a
TS
197572012-05-10 Thomas Schwinge <thomas@schwinge.name>
19758
18bad2ae
TS
19759 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19760 __builtin_frame_address instead of making assumptions about the
19761 location of the return address relative to DATA. Force early load of
19762 the return address.
19763 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19764 __builtin_frame_address.
19765
5aa3a74a
TS
19766 dup3 for GNU Hurd.
19767 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19768 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19769 implement dup3 and do some further code clean-ups.
19770 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19771 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19772
ecd0de9a
ST
197732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19774
cd9fa985
ST
19775 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19776
a4186cff
PT
19777 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19778 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19779 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19780 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19781 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19782 d->port.lock.
802ca5a5 19783
a4186cff
PT
19784 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19785 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19786 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19787
bcf55240
TS
197882012-05-10 Thomas Schwinge <thomas@schwinge.name>
19789
6960eb42
TS
19790 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19791 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19792 definitions.
19793
eb43375f
TS
19794 accept4 for GNU Hurd.
19795 * include/sys/socket.h (__libc_accept4): New prototype.
19796 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19797 to implement __libc_accept4.
19798 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19799 __libc_accept4.
19800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19801
bcf55240
TS
19802 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19803 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19804 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19805 signal-defines.sym.
19806
6178c55b
ST
198072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19808
a4186cff 19809 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19810
6f080c2f
TS
198112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19812
19813 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19814 assertion on O_CLOEXEC flag.
19815 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19816 * hurd/intern-fd.c: Likewise.
19817 * hurd/port2fd.c: Likewise.
19818
bcfe3a54
ST
198192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19820
19821 [BZ #3906]
19822 * bits/in.h (IPV6_PKTINFO): Define new macro.
19823 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19824
89c9aa49
AZ
198252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19826
19827 [BZ #13954]
19828 [BZ #13955]
19829 [BZ #13956]
19830 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19832 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19833 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19835 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19836 * math/libm-test.inc (logb_test) : Additional logb tests.
19837
021db4be
AJ
198382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19839 Andreas Jaeger <aj@suse.de>
19840
19841 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19842 * configure: Regenerated.
19843 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19844 * config.make.in (link-obsolete-rpc): New substituted variable.
19845 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19846 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19847 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19848 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19849 so that libc.a contains the symbols.
19850 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19851 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19852 * sunrpc/auth_none.c: Likewise.
19853 * sunrpc/auth_unix.c: Likewise.
19854 * sunrpc/authdes_prot.c: Likewise.
19855 * sunrpc/authuxprot.c: Likewise.
19856 * sunrpc/clnt_gen.c: Likewise.
19857 * sunrpc/clnt_perr.c: Likewise.
19858 * sunrpc/clnt_raw.c: Likewise.
19859 * sunrpc/clnt_simp.c: Likewise.
19860 * sunrpc/clnt_tcp.c: Likewise.
19861 * sunrpc/clnt_udp.c: Likewise.
19862 * sunrpc/clnt_unix.c: Likewise.
19863 * sunrpc/des_crypt.c: Likewise.
19864 * sunrpc/des_soft.c: Likewise.
19865 * sunrpc/get_myaddr.c: Likewise.
19866 * sunrpc/key_call.c: Likewise.
19867 * sunrpc/key_prot.c: Likewise.
19868 * sunrpc/netname.c: Likewise.
19869 * sunrpc/pm_getmaps.c: Likewise.
19870 * sunrpc/pm_getport.c: Likewise.
19871 * sunrpc/pmap_clnt.c: Likewise.
19872 * sunrpc/pmap_prot.c: Likewise.
19873 * sunrpc/pmap_prot2.c: Likewise.
19874 * sunrpc/pmap_rmt.c: Likewise.
19875 * sunrpc/publickey.c: Likewise.
19876 * sunrpc/rpc_cmsg.c: Likewise.
19877 * sunrpc/rpc_common.c: Likewise.
19878 * sunrpc/rpc_dtable.c: Likewise.
19879 * sunrpc/rpc_prot.c: Likewise.
19880 * sunrpc/rpc_thread.c: Likewise.
19881 * sunrpc/rtime.c: Likewise.
19882 * sunrpc/svc.c: Likewise.
19883 * sunrpc/svc_auth.c: Likewise.
19884 * sunrpc/svc_raw.c: Likewise.
19885 * sunrpc/svc_run.c: Likewise.
19886 * sunrpc/svc_tcp.c: Likewise.
19887 * sunrpc/svc_udp.c: Likewise.
19888 * sunrpc/svc_unix.c: Likewise.
19889 * sunrpc/svcauth_des.c: Likewise.
19890 * sunrpc/xcrypt.c: Likewise.
19891 * sunrpc/xdr.c: Likewise.
19892 * sunrpc/xdr_array.c: Likewise.
19893 * sunrpc/xdr_float.c: Likewise.
19894 * sunrpc/xdr_intXX_t.c: Likewise.
19895 * sunrpc/xdr_mem.c: Likewise.
19896 * sunrpc/xdr_rec.c: Likewise.
19897 * sunrpc/xdr_ref.c: Likewise.
19898 * sunrpc/xdr_sizeof.c: Likewise.
19899 * sunrpc/xdr_stdio.c: Likewise.
19900
b5c086a2
RM
199012012-05-10 Roland McGrath <roland@hack.frob.com>
19902
19903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19904 change. Update copyright years.
19905
6d74dd09
JM
199062012-05-10 Joseph Myers <joseph@codesourcery.com>
19907
19908 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19909
28e72501
MK
199102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19911 Joseph Myers <joseph@codesourcery.com>
19912 Paul Pluzhnikov <ppluzhnikov@google.com>
19913
19914 [BZ #14012]
19915 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19916 requiring rpcgen.
19917 [cross-compiling] (extra-libs): Likewise.
19918 [cross-compiling] (extra-libs-others): Likewise.
19919 [cross-compiling] (librpcsvc-routines): Likewise.
19920 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19921 [cross-compiling] (omit-deps): Likewise.
19922 (sunrpc-CPPFLAGS): New variable.
19923 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19924 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19925 (cross-rpcgen-objs): New variable.
19926 (extra-objs): Append $(cross-rpcgen-objs).
19927 ($(cross-rpcgen-objs)): New rule.
19928 ($(objpfx)cross-rpcgen): Likewise.
19929 (rpcgen-cmd): Define to use $(built-program-file). Expand
19930 comment.
19931 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19932 ($(objpfx)x%.stmp): Likewise.
19933 * sunrpc/proto.h [IS_IN_build] (_): Define.
19934 [IS_IN_build] (_libc_intl_domainname): Likewise.
19935
c8c59454
L
199362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19937
19938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19939 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19940 and R_X86_64_TPOFF64.
19941
6f27cd16
JM
199422012-05-10 Joseph Myers <joseph@codesourcery.com>
19943
19944 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19945 sysdeps/unix/sysv/syscalls.list.
19946 (stime): Likewise.
19947 (utime): Likewise.
19948 * sysdeps/unix/sysv/syscalls.list: Remove file.
19949
02467e1c
PE
199502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19951
19952 [BZ #3440]
19953 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19954 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19955 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19956 (__LC_IDENTIFICATION): Make these macros useful in #if
19957 expressions, as required by C99.
19958
da392631
AS
199592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19960
19961 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19962 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19963 after this.
19964
8115f29b
L
199652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19966
19967 * stdlib/longlong.h: Updated from GCC.
19968
bdd74070
AJ
199692012-05-09 Andreas Jaeger <aj@suse.de>
19970
edfe0dbe
AJ
19971 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19972 default is first entry.
19973 (run_mode): Set type.
19974 (main): Remove informal message about syslog.
19975 (options): Fix typo.
19976
bcfe3a54
ST
19977 [BZ #14053]
19978 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19979 to asm.
bcfe3a54
ST
19980 (lrint): Likewise.
19981 (llrintf): Likewise.
19982 (llrint): Likewise.
19983 (rint): Likewise.
19984 (rintf): Likewise.
19985 (nearbyint): Likewise.
19986 (nearbyintf): Likewise.
bdd74070 19987
91d8d69e
AJ
199882012-05-09 Andreas Jaeger <aj@suse.de>
19989 Pedro Alves <palves@redhat.com>
19990
19991 * nscd/nscd.c (run_mode): Use enum.
19992 (main): Cleanup coding style issue.
19993
bb90b80b
AJ
199942012-05-09 Alexandre Oliva <aoliva@redhat.com>
19995 Andreas Jaeger <aj@suse.de>
19996
bcfe3a54
ST
19997 * nscd/nscd.c (go_background): Replaced with...
19998 (run_mode): ... this.
bb90b80b 19999 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20000 (options): Add -F --foreground.
20001 (main): Implement it.
20002 (parse_opt): Parse it.
bb90b80b 20003
1a4b75a1
AJ
200042012-05-09 Andreas Jaeger <aj@suse.de>
20005
20006 [BZ #14083]
20007 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20008 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20009 -Wconversion warning.
20010 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20011 Likewise.
20012
b1cc2472
JM
200132012-05-09 Joseph Myers <joseph@codesourcery.com>
20014
20015 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20016 == 0.
20017 (LC_ALL): Use macro-int-constant.
20018 (LC_COLLATE): Likewise.
20019 (LC_CTYPE): Likewise.
20020 (LC_MESSAGES): Likewise.
20021 (LC_MONETARY): Likewise.
20022 (LC_NUMERIC): Likewise.
20023 (LC_TIME): Likewise.
20024 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20025 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20027 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20028 Specify type.
20029 [C99-based standards] (float_t): Expect type.
20030 [C99-based standards] (double_t): Expect type.
20031 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20032 type.
20033 [C99-based standards] (HUGE_VALL): Likewise.
20034 [C99-based standards] (INFINITY): Likewise.
20035 [C99-based standards] (NAN): Likewise.
20036 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20037 [C99-based standards] (FP_NAN): Likewise.
20038 [C99-based standards] (FP_NORMAL): Likewise.
20039 [C99-based standards] (FP_SUBNORMAL): Likewise.
20040 [C99-based standards] (FP_ZERO): Likewise.
20041 [C99-based standards] (FP_FAST_FMA): Use
20042 optional-macro-int-constant. Specify type. Require == 1.
20043 [C99-based standards] (FP_FAST_FMAF): Likewise.
20044 [C99-based standards] (FP_FAST_FMAL): Likewise.
20045 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20046 [C99-based standards] (FP_ILOGBNAN): Likewise.
20047 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20048 Specify type.
20049 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20050 [C99-based standards] (math_errhandling): Specify type.
20051 [ISO99 || ISO11] (signgam): Do not allow.
20052 [non-C99-based standards] (copysignf): Do not allow.
20053 [non-C99-based standards] (exp2f): Likewise.
20054 [non-C99-based standards] (log2f): Likewise.
20055 [non-C99-based standards] (modff): Allow.
20056 [non-C99-based standards] (erff): Do not allow.
20057 [non-C99-based standards] (erfcf): Likewise.
20058 [non-C99-based standards] (gammaf): Likewise.
20059 [non-C99-based standards] (hypotf): Likewise.
20060 [non-C99-based standards] (j0f): Likewise.
20061 [non-C99-based standards] (j1f): Likewise.
20062 [non-C99-based standards] (jnf): Likewise.
20063 [non-C99-based standards] (lgammaf): Likewise.
20064 [non-C99-based standards] (tgammaf): Likewise.
20065 [non-C99-based standards] (y0f): Likewise.
20066 [non-C99-based standards] (y1f): Likewise.
20067 [non-C99-based standards] (ynf): Likewise.
20068 [non-C99-based standards] (isnanf): Likewise.
20069 [non-C99-based standards] (acoshf): Likewise.
20070 [non-C99-based standards] (asinhf): Likewise.
20071 [non-C99-based standards] (atanhf): Likewise.
20072 [non-C99-based standards] (cbrtf): Likewise.
20073 [non-C99-based standards] (expm1f): Likewise.
20074 [non-C99-based standards] (ilogbf): Likewise.
20075 [non-C99-based standards] (log1pf): Likewise.
20076 [non-C99-based standards] (logbf): Likewise.
20077 [non-C99-based standards] (nextafterf): Likewise.
20078 [non-C99-based standards] (remainderf): Likewise.
20079 [non-C99-based standards] (rintf): Likewise.
20080 [non-C99-based standards] (scalbf): Likewise.
20081 [non-C99-based standards] (copysignl): Likewise.
20082 [non-C99-based standards] (exp2l): Likewise.
20083 [non-C99-based standards] (log2l): Likewise.
20084 [non-C99-based standards] (modfl): Allow.
20085 [non-C99-based standards] (erfl): Do not allow.
20086 [non-C99-based standards] (erfcl): Likewise.
20087 [non-C99-based standards] (gammal): Likewise.
20088 [non-C99-based standards] (hypotl): Likewise.
20089 [non-C99-based standards] (j0l): Likewise.
20090 [non-C99-based standards] (j1l): Likewise.
20091 [non-C99-based standards] (jnl): Likewise.
20092 [non-C99-based standards] (lgammal): Likewise.
20093 [non-C99-based standards] (tgammal): Likewise.
20094 [non-C99-based standards] (y0l): Likewise.
20095 [non-C99-based standards] (y1l): Likewise.
20096 [non-C99-based standards] (ynl): Likewise.
20097 [non-C99-based standards] (isnanl): Likewise.
20098 [non-C99-based standards] (acoshl): Likewise.
20099 [non-C99-based standards] (asinhl): Likewise.
20100 [non-C99-based standards] (atanhl): Likewise.
20101 [non-C99-based standards] (cbrtl): Likewise.
20102 [non-C99-based standards] (expm1l): Likewise.
20103 [non-C99-based standards] (ilogbl): Likewise.
20104 [non-C99-based standards] (log1pl): Likewise.
20105 [non-C99-based standards] (logbl): Likewise.
20106 [non-C99-based standards] (nextafterl): Likewise.
20107 [non-C99-based standards] (remainderl): Likewise.
20108 [non-C99-based standards] (rintl): Likewise.
20109 [non-C99-based standards] (scalbl): Likewise.
20110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20111 [non-C99-based standards] (FP_*): Do not allow.
20112 [C99-based standards] (FP_*): Change to
20113 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20114 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20115 allow.
20116 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20117 (SIG_ERR): Likewise.
20118 [X/Open-based standards] (SIG_HOLD): Likewise.
20119 (SIG_IGN): Likewise.
20120 (SIGABRT): Use macro-int-constant. Specify type. Require
20121 positive value.
20122 (SIGFPE): Likewise.
20123 (SIGILL): Likewise.
20124 (SIGINT): Likewise.
20125 (SIGSEGV): Likewise.
20126 (SIGTER): Likewise.
20127 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20128 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20129 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20130 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20131 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20132 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20133 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20134 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20135 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20136 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20137 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20138 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20139 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20140 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20141 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20142 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20143 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20144 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20145 [X/Open-based standards] (SIGTRAP): Likewise.
20146 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20147 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20148 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20149 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20150 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20151 allow.
20152
b9f1922d
IW
201532012-05-08 Ian Wienand <ianw@vmware.com>
20154
20155 [BZ #14080]
20156 * time/tzset.c (__tzset_parse_tz): Update default rules for
20157 daylight time changes in the Energy Policy Act of 2005.
20158
1db86e88
AJ
201592012-05-09 Andreas Jaeger <aj@suse.de>
20160
20161 [BZ #13983]
20162 * elf/ldconfig.c (parse_conf): Change string to make clear that
20163 ldconfig only issued a warning if ld.so.conf does not exist.
20164
dee4a4e3
DM
201652012-05-08 David S. Miller <davem@davemloft.net>
20166
ee0db190
DM
20167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20168 movxtod instead of popping the value on the stack.
20169
dee4a4e3
DM
20170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20171
6a43ec98
CD
201722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20173
20174 * config.h.in: Add HAVE_ARM_PCS_VFP.
20175
05c2c961
RMG
201762012-05-08 Roland Mc Grath <roland@hack.frob.com>
20177
bcfe3a54
ST
20178 [BZ #13979]
20179 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20180 checking but the checks are disabled for any reason.
05c2c961 20181
4b30f61a
L
201822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20183
20184 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20185 and ELF64_R_TYPE with ELFW(R_TYPE).
20186
eee2bc67
JM
201872012-05-08 Joseph Myers <joseph@codesourcery.com>
20188
7ea5391a
JM
20189 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20190 (ulimit): Likewise.
20191
eee2bc67
JM
20192 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20193 (settimeofday): Likewise.
20194
abb66a67
MF
201952012-05-08 Mike Frysinger <vapier@gentoo.org>
20196
20197 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20198 a struct th_u2 inside the union, and move tu_block/tu_code into
20199 a new th_u3 union of tu_block/tu_code inside of that. Move
20200 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20201 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20202 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20203 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20204 (th_stuff): Change to th_u1.tu_stuff.
20205 (th_data): Define.
20206 (th_msg): Change to th_u1.th_u2.tu_data.
20207
7f18b530
DM
202082012-05-07 David S. Miller <davem@davemloft.net>
20209
05760585
DM
20210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20211
7f18b530
DM
20212 [BZ #14074]
20213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20214 (SETUP_PIC_REG): Use it.
20215 (SETUP_PIC_REG_LEAF): Use it.
20216
495fd99f
JM
202172012-05-07 Joseph Myers <joseph@codesourcery.com>
20218
20219 [BZ #13885]
20220 [BZ #13923]
20221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20222 USE_AS_EXPM1L.
20223 (EXPL_FINITE): Likewise.
20224 (FLDLOG): Likewise.
20225 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20226 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20227 e_expl.S.
20228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20229 USE_AS_EXPM1L.
20230 (EXPL_FINITE): Likewise.
20231 (FLDLOG): Likewise.
20232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20233 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20234 e_expl.S.
20235 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20236 test of -max_value argument for long double.
20237 * sysdeps/i386/fpu/libm-test-ulps: Update.
20238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20239
6693d694
DM
202402012-05-06 David S. Miller <davem@davemloft.net>
20241
20242 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20243 quad soft-float symbols whose references which are compiler
20244 generated.
20245 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20246
6c23e11c
JM
202472012-05-06 Joseph Myers <joseph@codesourcery.com>
20248
d8b82cad
JM
20249 [BZ #13884]
20250 [BZ #13914]
20251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20252 USE_AS_EXP10L.
20253 (EXPL_FINITE): Likewise.
20254 (FLDLOG): Likewise.
20255 (c0): Likewise.
20256 (c1): Likewise.
20257 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20258 Adjust comments for base varying.
20259 (__expl_finite): Change alias to EXPL_FINITE.
20260 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20261 e_expl.S.
20262 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20263 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20265 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20267 USE_AS_EXP10L.
20268 (EXPL_FINITE): Likewise.
20269 (FLDLOG): Likewise.
20270 (c0): Likewise.
20271 (c1): Likewise.
20272 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20273 Adjust comments for base varying.
20274 (__expl_finite): Change alias to EXPL_FINITE.
20275 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20276 tests for bugs.
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20278
6c23e11c
JM
20279 [BZ #14064]
20280 * math/libm-test.inc (check_float_internal): Correct ulp
20281 calculation for subnormal expected results.
20282
29ba805c
AJ
202832012-05-06 Andreas Jaeger <aj@suse.de>
20284
20285 * Makeconfig (+math-flags): New, set to -frounding-math.
20286 (+cflags): Add +math-flags so that all of glibc gets compiled with
20287 it.
20288
20289 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20290
7b17aeda
JM
202912012-05-05 Joseph Myers <joseph@codesourcery.com>
20292
5779f134
JM
20293 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20294 Disable one test.
20295
41498f4d
JM
20296 [BZ #13787]
20297 [BZ #13922]
20298 [BZ #14036]
20299 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20300 (__ieee754_expl): Allow for and saturate large arguments.
20301 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20302 (u_threshold): Likewise.
20303 (__exp): Call __ieee754_exp before checking for overflow and
20304 underflow.
20305 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20306 (u_threshold): Likewise.
20307 (__expf): Call __ieee754_expf before checking for overflow and
20308 underflow.
20309 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20310 (u_threshold): Likewise.
20311 (__expl): Call __ieee754_expl before checking for overflow and
20312 underflow.
20313 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20314 (__ieee754_expl): Allow for and saturate large arguments.
20315 * math/libm-test.inc (exp_test): Add another test. Do not allow
20316 missing overflow exception on overflow.
20317 (expm1_test): Do not allow missing overflow exception on overflow.
20318
6698b8bf
JM
20319 * sysdeps/i386/fpu/e_expl.c: Move to ...
20320 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20321 rather than using inline asm.
20322 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20323 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20324 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20325
7b17aeda
JM
20326 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20327 (nice): Likewise.
20328 (poll): Likewise.
20329 (signal): Likewise.
20330 (time): Likewise.
20331 (times): Likewise.
20332
f7c85819
JM
203332012-05-04 Joseph Myers <joseph@codesourcery.com>
20334
20335 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20336 sysdeps/unix/common/syscalls.list.
20337 (fchmod): Likewise.
20338 (fchown): Likewise.
20339 (ftruncate): Likewise.
20340 (getrusage): Likewise.
20341 (gettimeofday): Likewise.
20342 (setpgid): Likewise.
20343 (setregid): Likewise.
20344 (setreuid): Likewise.
20345 (sigaction): Likewise.
20346 (truncate): Likewise.
20347 (vhangup): Likewise.
20348 * sysdeps/unix/common/syscalls.list: Remove file.
20349 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20350 * sysdeps/unix/sysv/linux/Implies: Likewise.
20351
336270d0
L
203522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20356 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20357 Moved to ...
20358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20359 Here.
20360 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20361 to ...
20362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20363 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20364 to ...
20365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20367 to ...
20368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20369 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20370 to ...
20371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20372 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20373 to ...
20374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20375 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20376 to ...
20377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20378 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20379 to ...
20380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20381 Here.
20382 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20383 to ...
20384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20385 Here.
20386 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20387 to ...
20388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20389 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20390 Moved to ...
20391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20392 Here.
20393 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20394 to ...
20395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20396
d128e450
JM
203972012-05-04 Joseph Myers <joseph@codesourcery.com>
20398
fa8ee516
JM
20399 * sysdeps/unix/common/bits/dirent.h: Remove file.
20400 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20401
d128e450
JM
20402 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20403 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20404 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20405 * sysdeps/unix/bsd/isatty.c: Likewise.
20406 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20407 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20408 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20409
ff8faaf0 204102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20411
62881be4 20412 [BZ #13563]
31dc8730
AZ
20413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20414 long double comparison inaccuracies.
20415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20417
6fef930c
AS
204182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20419
20420 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20422
8f203e6c
JM
204232012-05-04 Joseph Myers <joseph@codesourcery.com>
20424
20425 [BZ #14049]
20426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20427 nonzero digits before rounding a hex value.
20428 * stdlib/tst-strtod.c (tests): Add another test.
20429
5197d9c2
AK
204302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20431
20432 * sysdeps/s390/fpu/libm-test-ulps: Update.
20433
f0c1dedf
AJ
204342012-05-03 Andreas Jaeger <aj@suse.de>
20435
20436 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20437 does not get optimized out.
20438 (malloc_opt_barrier): New.
20439
a65ef2ae 204402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20441 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20442
2b942cb7 20443 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20444 intermediate file deletion.
2b942cb7 20445 (generated): Add .symlist files.
a65ef2ae 20446
54b71e02
JM
204472012-05-03 Joseph Myers <joseph@codesourcery.com>
20448
20449 [BZ #13775]
20450 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20451 Redirect under this condition.
20452 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20453 [__USE_GNU] (__dprintf_chk): Not under this condition.
20454 [__USE_GNU] (__vdprintf_chk): Likewise.
20455 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20456 under this condition.
20457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20458 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20459 [__USE_XOPEN2K8] (vdprintf): Likewise.
20460 [__USE_GNU] (__dprintf_chk): Not under this condition.
20461 [__USE_GNU] (__vdprintf_chk): Likewise.
20462 [__USE_GNU] (dprintf): Likewise.
20463 [__USE_GNU] (vdprintf): Likewise.
20464
d3dfcc41
RM
204652012-05-03 Roland McGrath <roland@hack.frob.com>
20466
20467 * elf/Makefile (common-generated): Set this instead of generated for
20468 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20469 $(all-built-dso)-derived lists.
20470
7ac30cc5
AJ
204712012-05-03 Andreas Jaeger <aj@suse.de>
20472
0c51e550
AJ
20473 * sysdeps/i386/fpu/libm-test-ulps: Update.
20474
7ac30cc5
AJ
20475 * FAQ: Removed.
20476 * FAQ.in: Likewise.
20477 * scripts/gen-FAQ.pl: Likewise.
20478 * manual/install.texi (Installation): Point to online location of
20479 FAQ.
20480 * Makefile (files-for-dist): Remove FAQ.
20481 (FAQ): Remove.
20482
d4c2917f
AM
204832012-05-02 Allan McRae <allan@archlinux.org>
20484
20485 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20486 (LDFLAGS-reldepmod5.so): Likewise.
20487 (LDFLAGS-reldep6mod1.so): Likewise.
20488 (LDFLAGS-reldep6mod4.so): Likewise.
20489 (LDFLAGS-reldep8mod3.so): Likewise.
20490 (LDFLAGS-unload4mod1.so): Likewise.
20491 (LDFLAGS-unload4mod2.so): Likewise.
20492 (LDFLAGS-tst-initorder): Likewise.
20493 (LDFLAGS-tst-initordera2.so): Likewise.
20494 (LDFLAGS-tst-initordera3.so): Likewise.
20495 (LDFLAGS-tst-initordera4.so): Likewise.
20496 (LDFLAGS-tst-initorderb2.so): Likewise.
20497 (LDFLAGS-noload): Likewise.
20498 (LDFLAGS-next): Likewise.
20499 (LDFLAGS-order2mod1.so): Likewise.
20500 (LDFLAGS-order2mod2.so): Likewise.
20501 (LDFLAGS-tst-initorder2): Likewise.
20502 (LDFLAGS-tst-initorder2a.so): Likewise.
20503 (LDFLAGS-tst-initorder2b.so): Likewise.
20504 (LDFLAGS-tst-initorder2c.so): Likewise.
20505 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20506
d77f993f
DM
205072012-05-02 David S. Miller <davem@davemloft.net>
20508
20509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20510
171a70b4
PP
205112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20512
20513 [BZ #14055]
20514 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20515
0be196ad
AJ
205162012-05-02 Andreas Jaeger <aj@suse.de>
20517
20518 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20519 since we manipulate rounding mode.
20520 (CPPFLAGS-test-idouble.c): Likewise.
20521 (CPPFLAGS-test-ifloat.c): Likewise.
20522 (CFLAGS-test-ldouble.c): Likewise.
20523 (CFLAGS-test-double.c): Likewise.
20524 (CFLAGS-test-float.c): Likewise.
20525 (CFLAGS-test-misc.c): Likewise.
20526 (CFLAGS-test-test-fenv.c): Likewise.
20527
4f9d04aa
AZ
205282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20529
2b942cb7
RM
20530 [BZ #2550]
20531 [BZ #2570]
20532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20533 comparisons to determine direction to adjust input.
4f9d04aa 20534
82a79e7d
RM
205352012-05-01 Roland McGrath <roland@hack.frob.com>
20536
f5a01ca9
RM
20537 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20538 output to the target.
20539
90fe4186
RM
20540 * scripts/localplt.awk: New file.
20541 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20542 (check-localplt-CFLAGS): Variable removed.
20543 ($(all-built-dso:=.jmprel)): New static pattern rule.
20544 (generated): Add those targets.
20545 (localplt-built-dso): New variable.
20546 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20547
20548 * elf/check-localplt.c: File removed.
20549
82397ed6
RM
20550 * scripts/check-execstack.awk: New file.
20551 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20552 (check-execstack-CFLAGS): Variable removed.
20553 ($(objpfx)check-execstack.h): Target removed.
20554 ($(objpfx)execstack-default): New target.
20555 (generated): Add that instead of check-execstack.h.
20556 ($(all-built-dso:=.phdr)): New static pattern rule.
20557 (generated): Add those targets.
20558 * elf/check-execstack.c: File removed.
20559
82a79e7d
RM
20560 * scripts/check-textrel.awk: New file.
20561 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20562 (check-textrel-CFLAGS): Variable removed.
20563 (all-built-dso): Use := to define.o
20564 ($(all-built-dso:=.dyn)): New static pattern rule.
20565 (generated): Add those targets.
20566 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20567 * config.make.in (READELF): New substituted variable.
20568 * elf/check-textrel.c: File removed.
20569
62fde54f 205702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20571
615605c9
JM
20572 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20573 allow.
20574 * conform/data/ctype.h-data [C99-based standards] (isblank):
20575 Expect function.
20576 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20577 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20579 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20580 Specify type. Require positive value.
20581 (EILSEQ): Likewise.
20582 (ERANGE): Likewise.
20583 [ISO || POSIX] (EILSEQ): Do not expect.
20584 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20585 Specify type. Require positive value.
20586 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20623 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20625 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20636 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20637 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20638 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20639 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20642 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20644 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20645 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20646 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20647 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20648 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20649 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20650 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20651 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20652 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20654 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20655 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20656 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20657 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20658 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20660 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20661 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20662 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20663 Require >= 2.
20664 (FLT_ROUNDS): Expect as macro, not constant.
20665 (FLT_MANT_DIG): Use macro-int-constant.
20666 (DBL_MANT_DIG): Likewise.
20667 (LDBL_MANT_DIG): Likewise.
20668 (FLT_DIG): Likewise.
20669 (DBL_DIG): Likewise.
20670 (LDBL_DIG): Likewise.
20671 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20672 (DBL_MIN_EXP): Likewise.
20673 (LDBL_MIN_EXP): Likewise.
20674 (FLT_MAX_EXP): Use macro-int-constant.
20675 (DBL_MAX_EXP): Likewise.
20676 (LDBL_MAX_EXP): Likewise.
20677 (FLT_MAX_10_EXP): Likewise.
20678 (DBL_MAX_10_EXP): Likewise.
20679 (LDBL_MAX_10_EXP): Likewise.
20680 (FLT_MAX): Use macro-constant.
20681 (DBL_MAX): Likewise.
20682 (LDBL_MAX): Likewise.
20683 (FLT_EPSILON): Use macro-constant. Give upper bound.
20684 (DBL_EPSILON): Likewise.
20685 (LDBL_EPSILON): Likewise.
20686 (FLT_MIN): Likewise.
20687 (DBL_MIN): Likewise.
20688 (LDBL_MIN): Likewise.
20689 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20690 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20691 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20692 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20693 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20694 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20695 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20696 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20697 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20698 [ISO11] (FLT_TRUE_MIN): Likewise.
20699 [ISO11] (LDBL_TRUE_MIN): Likewise.
20700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20701 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20702 (SCHAR_MIN): Use macro-int-constant. Specify type.
20703 (SCHAR_MAX): Likewise.
20704 (UCHAR_MAX): Likewise.
20705 (CHAR_MIN): Likewise.
20706 (CHAR_MAX): Likewise.
20707 (MB_LEN_MAX): Use macro-int-constant.
20708 (SHRT_MIN): Use macro-int-constant. Specify type.
20709 (SHRT_MAX): Likewise.
20710 (USHRT_MAX): Likewise.
20711 (INT_MAX): Likewise.
20712 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20713 bound negative.
20714 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20715 bound with "U".
20716 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20717 bound with "L".
20718 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20719 bound negative. Suffix upper bound with "L".
20720 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20721 bound with "UL".
20722 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20723 Specify type.
20724 [C99-based standards] (LLONG_MAX): Likewise.
20725 [C99-based standards] (ULLONG_MAX): Likewise.
20726 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20727 == 0.
20728 [ISO11] (max_align_t): Require type.
20729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20730
c9140a62
JM
20731 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20732 from $CFLAGS, without defining away __attribute__ calls.
20733 (checknamespace): Use $CFLAGS_namespace.
20734
9af0bf29
JM
20735 * conform/conformtest.pl (@keywords): Only include C99 keywords
20736 for standards based on C99 or C11.
20737
343222a2
JM
20738 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20739 Disable tests.
20740 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20741 UNIX98]: Likewise.
20742
661f8cf0
JM
20743 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20744 usability of symbols in #if.
20745
ee74b9cb
JM
20746 * conform/conformtest.pl: If macro or constant types start
20747 "promoted:", expect the symbol to be of the following type
20748 promoted by the integer promotions.
62fde54f 20749
aafc49b3
JM
20750 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20751 in one place. Also handle "macro-constant".
20752
fefdf574
JM
20753 * conform/conformtest.pl: Only accept expected macro values with
20754 "==". Parse all "macro" lines in one place.
20755 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20756
f2d922fe
JM
20757 * conform/conformtest.pl: Handle braced types on "constant" lines
20758 instead of handling "typed-constant".
20759 * conform/data/signal.h-data: Use "constant" instead of
20760 "typed-constant".
20761
d22956c9
JM
20762 * conform/conformtest.pl: Handle "optional-" at start of lines in
20763 one place rather than duplicating several cases. Handle each
20764 format of "macro" line with initial "optional-".
20765
028e2e38
JM
20766 * conform/conformtest.pl: Only accept expected constant or
20767 optional-constant values with "==". Parse all "constant" lines in
20768 one place. Parse all "optional-constant" lines in one place.
20769 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20770 * conform/data/fmtmsg.h-data: Likewise.
20771 * conform/data/netinet/in.h-data: Likewise.
20772 * conform/data/tar.h-data: Likewise.
20773 * conform/data/limits.h-data: Use "==" form on "constant" and
20774 "optional-constant" lines.
20775
1b8f2850
JM
20776 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20777 Use -std=c99 for XOPEN2K.
20778 (@knownproblems): Remove.
20779 (newtoken): Don't check %isknown.
20780
a05a144b
JM
20781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20782 Do not expect macro.
20783 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20795 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20796 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20799 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20800 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20801 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20813 [XPG3] (acosh): Likewise.
20814 [XPG3] (asinh): Likewise.
20815 [XPG3] (atanh): Likewise.
20816 [XPG3] (cbrt): Likewise.
20817 [XPG3] (expm1): Likewise.
20818 [XPG3] (ilogb): Likewise.
20819 [XPG3] (log1p): Likewise.
20820 [XPG3] (logb): Likewise.
20821 [XPG3] (nextafter): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20824 [XPG3] (remainder): Likewise.
20825 [XPG3] (rint): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20833 [UNIX98 || XOPEN2K] (scalb): Expect.
20834 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20835 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20952 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20953 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20954 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20955 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20956 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20957 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20958 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20959 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20960 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20961 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20962 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20963 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20965 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20966 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20967 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20968 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20969 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20970 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20971
73c5ebe3
JM
20972 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20973 _XOPEN_SOURCE_EXTENDED for XPG4.
20974
39c33b6c
JM
20975 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20976
62fde54f
JM
20977 * Makeconfig (localtime): Remove variable.
20978 (inst_localtime-file): Likewise.
20979
0741d64c
AS
209802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20981
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20983 Update.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20985 Update.
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20987 Update.
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20989 Update.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20991 Update.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20993 Update.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20995 Update.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20997 Update.
20998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20999 Update.
21000
7cb029ee
JM
210012012-05-01 Joseph Myers <joseph@codesourcery.com>
21002
21003 [BZ #2550]
21004 [BZ #2570]
21005 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21006 comparisons to determine direction to adjust input.
21007 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21008 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21010 Likewise.
21011 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21012 Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21014 Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21017 Likewise.
21018 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21019 Likewise.
21020 * math/libm-test.inc (nexttoward_test): Add more tests.
21021
412bd966
AS
210222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21023
21024 [BZ #14040]
21025 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21026 in version GLIBC_2.1, not GLIBC_2.0.
21027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21028 Likewise.
21029
9568c0c2
JM
210302012-04-30 Joseph Myers <joseph@codesourcery.com>
21031
adfbc8ac
JM
21032 [BZ #13942]
21033 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21034 (1 - x) * (1 + x).
21035 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21036 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21037 * math/libm-test.inc (acos_test): Add more tests.
21038 (asin_test): Likewise.
21039 * sysdeps/i386/fpu/libm-test-ulps: Update.
21040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21041
5ba3cc69
JM
21042 [BZ #14034]
21043 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21044 of square root.
21045 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21046 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21047 * math/libm-test.inc (acos_test_tonearest): New function.
21048 (acos_test_towardzero): Likewise.
21049 (acos_test_downward): Likewise.
21050 (acos_test_upward): Likewise.
21051 (asin_test_tonearest): Likewise.
21052 (asin_test_towardzero): Likewise.
21053 (asin_test_downward): Likewise.
21054 (asin_test_upward): Likewise.
21055 (main): Call the new functions.
21056 * sysdeps/i386/fpu/libm-test-ulps: Update.
21057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21058
9568c0c2
JM
21059 [BZ #13884]
21060 [BZ #13924]
21061 * math/e_exp10.c: Include <float.h>.
21062 (__ieee754_exp10): Handle underflow here rather than multiplying
21063 large negative argument by M_LN10.
21064 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21065 of __ieee754_expf.
21066 * math/e_exp10l.c: Include <float.h>.
21067 (__ieee754_exp10l): Handle underflow here rather than multiplying
21068 large negative argument by M_LN10l.
21069 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21070 spurious overflow exception on underflow.
21071
5ac3ea17
MP
210722012-04-29 Marek Polacek <polacek@redhat.com>
21073
21074 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21075 (__fortify_function): New macro.
21076 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21077 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21078 __extern_always_inline.
21079 * libio/bits/stdio2.h: Likewise.
21080 * libio/bits/stdio.h: Likewise.
21081 * string/string.h: Likewise.
21082 * string/bits/string3.h: Likewise.
21083 * include/stdio.h: Likewise.
21084 * stdlib/bits/stdlib.h: Likewise.
21085 * stdlib/stdlib.h: Likewise.
21086 * rt/bits/mqueue2.h: Likewise.
21087 * rt/mqueue.h: Likewise.
21088 * posix/bits/unistd.h: Likewise.
21089 * posix/unistd.h: Likewise.
21090 * io/bits/poll2.h: Likewise.
21091 * io/bits/fcntl2.h: Likewise.
21092 * io/fcntl.h: Likewise.
21093 * io/sys/poll.h: Likewise.
21094 * misc/bits/syslog.h: Likewise.
21095 * misc/bits/syslog-ldbl.h: Likewise.
21096 * misc/sys/syslog.h: Likewise.
21097 * socket/bits/socket2.h: Likewise.
21098 * socket/sys/socket.h: Likewise.
21099 * debug/tst-chk1.c: Likewise.
21100 * wcsmbs/bits/wchar2.h: Likewise.
21101 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21102 * wcsmbs/wchar.h: Likewise.
21103
ecf0ebfb
AJ
211042012-04-29 Andreas Jaeger <aj@suse.de>
21105
21106 * Makerules (tests): Remove enable-check-abi protection.
21107 (check-abi-warn): Remove.
21108 (check-abi-%): Remove check-abi-warn usage.
21109
21110 * configure.in: Remove check-abi configure option.
21111 * configure: Regenerated.
21112 * config.make.in (enable-check-abi): Remove.
21113
6d5c57fa
AS
211142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21115
24c5d07e 21116 [BZ #14033]
ded5180a
AS
21117 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21118 double functions to double *_finite functions.
21119
7e0d315d
AS
21120 [BZ #13941]
21121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21122 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21123 LDBL_MIN_EXP.
21124 * stdio-common/Makefile (tests): Add tst-sprintf3.
21125 * stdio-common/tst-sprintf3.c: New file.
21126
6d5c57fa
AS
21127 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21128 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21129
0749ff8b
JM
211302012-04-28 Joseph Myers <joseph@codesourcery.com>
21131
21132 * conform/conformtest.pl: Remove duplicate typed-constant
21133 handling.
21134
8dbd5d7b
DM
211352012-04-28 David S. Miller <davem@davemloft.net>
21136
21137 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21138 (check-abi-%): Remove AWK script prerequisite and explicit
21139 abilist directory.
21140 (check-abi): Rewrite to just diff the symlist with the abilist.
21141 (config-tls, config-abi-config): Delete, no longer used.
21142 (update-abi-%): Remove AWK script and explicit abilist directory.
21143 (update-abi): Rewrite to simply compare and conditionally copy the
21144 symlist and the sysdep abilist file. Remove update-abi-config
21145 checks.
21146 * abilist/ld.abilist: Remove.
21147 * abilist/libBrokenLocale.abilist: Remove.
21148 * abilist/libanl.abilist: Remove.
21149 * abilist/libcrypt.abilist: Remove.
21150 * abilist/libdl.abilist: Remove.
21151 * abilist/librt.abilist: Remove.
21152 * abilist/libthread_db.abilist: Remove.
21153 * abilist/libutil.abilist: Remove.
21154 * scripts/extract-abilist.awk: Remove.
21155 * scripts/merge-abilist.awk: Remove.
21156 * sysdeps/generic/libcidn.abilist: New file.
21157 * sysdeps/generic/libnss_compat.abilist: New file.
21158 * sysdeps/generic/libnss_db.abilist: New file.
21159 * sysdeps/generic/libnss_dns.abilist: New file.
21160 * sysdeps/generic/libnss_files.abilist: New file.
21161 * sysdeps/generic/libnss_hesiod.abilist: New file.
21162 * sysdeps/generic/libnss_nis.abilist: New file.
21163 * sysdeps/generic/libnss_nisplus.abilist: New file.
21164 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21165 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21166 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21167 file.
21168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21169 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21170 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21171 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21172 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21176 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21177 file.
21178 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21179 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21180 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21181 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21182 file.
21183 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21184 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21185 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21187 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21189 file.
21190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21191 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21193 file.
21194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21196 New file.
21197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21198 New file.
21199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21200 New file.
21201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21202 New file.
21203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21204 New file.
21205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21206 New file.
21207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21208 New file.
21209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21210 New file.
21211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21212 New file.
21213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21214 New file.
21215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21216 New file.
21217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21218 New file.
21219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21220 New file.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21222 file.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21224 New file.
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21226 New file.
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21228 file.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21230 New file.
21231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21232 New file.
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21234 file.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21236 New file.
21237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21238 New file.
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21240 New file.
21241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21242 New file.
21243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21244 New file.
21245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21246 New file.
21247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21249 file.
21250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21251 New file.
21252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21253 file.
21254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21255 file.
21256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21257 file.
21258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21259 file.
21260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21261 file.
21262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21263 New file.
21264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21265 file.
21266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21267 file.
21268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21269 New file.
21270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21271 file.
21272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21274 file.
21275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21276 New file.
21277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21278 file.
21279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21280 file.
21281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21282 file.
21283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21284 file.
21285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21286 file.
21287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21288 New file.
21289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21290 file.
21291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21292 file.
21293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21294 New file.
21295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21296 file.
21297 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21298 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21299 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21300 file.
21301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21302 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21303 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21305 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21306 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21307 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21308 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21309 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21310 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21313 file.
21314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21315 New file.
21316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21317 file.
21318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21319 file.
21320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21321 file.
21322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21323 file.
21324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21325 file.
21326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21327 New file.
21328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21329 New file.
21330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21331 file.
21332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21333 New file.
21334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21335 file.
21336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21338 file.
21339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21340 New file.
21341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21342 file.
21343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21344 file.
21345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21346 file.
21347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21348 file.
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21350 file.
21351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21352 New file.
21353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21354 New file.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21356 file.
21357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21358 New file.
21359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21360 file.
21361
41d73a1b
JM
213622012-04-28 Joseph Myers <joseph@codesourcery.com>
21363
21364 * conform/conformtest.pl: Fix typo in handling typed-constant from
21365 allow-header.
21366
28aeeda4
JM
213672012-04-27 Joseph Myers <joseph@codesourcery.com>
21368
adae8f5e
JM
21369 * README: Cut down references to pre-2.6 Linux kernels and
21370 Linuxthreads. Update lists of configurations in libc and ports
21371 and sort alphabetically. Say "or newer" with Linux kernel version
21372 requirements.
21373
28aeeda4
JM
21374 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21375
a462cb63
RA
213762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21377
21378 [BZ #887]
21379 * math/libm-test.inc (logb_test_downward): New test to expose
21380 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21381 rounding mode.
21382
6ad3493e
JM
213832012-04-27 Joseph Myers <joseph@codesourcery.com>
21384
21385 [BZ #14027]
21386 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21387 to be done.
21388 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21389 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21390
2ce4f015
JM
213912012-04-26 Joseph Myers <joseph@codesourcery.com>
21392
5aeb141a
JM
21393 * sysdeps/unix/i386/brk.S: Remove file.
21394 * sysdeps/unix/i386/dl-brk.S: Likewise.
21395 * sysdeps/unix/i386/pipe.S: Likewise.
21396 * sysdeps/unix/i386/sigreturn.S: Likewise.
21397 * sysdeps/unix/i386/syscall.S: Likewise.
21398 * sysdeps/unix/i386/vfork.S: Likewise.
21399 * sysdeps/unix/i386/wait.S: Likewise.
21400
7143acae
JM
21401 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21402 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21403
2ce4f015
JM
21404 * configure.in (arm*-none*): Do not allow without
21405 --enable-hacker-mode.
21406 (netbsd*): Remove case setting base_os.
21407 (386bsd*): Likewise.
21408 (freebsd*): Likewise.
21409 (bsdi*): Likewise.
21410 (osf*): Likewise.
21411 (sunos*): Likewise.
21412 (ultrix*): Likewise.
21413 (newsos*): Likewise.
21414 (dynix*): Likewise.
21415 (*bsd*): Likewise.
21416 (sysv*): Likewise.
21417 (isc*): Likewise.
21418 (esix*): Likewise.
21419 (sco*): Likewise.
21420 (minix*): Likewise.
21421 (irix4*): Likewise.
21422 (irix6*): Likewise.
21423 (solaris[2-9]*): Likewise.
21424 (none): Likewise.
21425 * configure: Regenerated.
21426
0ac229c8
AZ
214272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428
21429 [BZ #11521]
21430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21431 overflow or cancellation in calculating denominator.
21432 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21434 down expression to avoid unexpected rounding in newer GCCs.
21435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21436
33f244f4
DM
214372012-04-26 David S. Miller <davem@davemloft.net>
21438
21439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21440 long-double compat symbols.
21441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21454
cfa1f3e8
DM
214552012-04-25 David S. Miller <davem@davemloft.net>
21456
21457 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21458 HWCAP_* values only after the memory barriers have been defined.
21459 (atomic_full_barrier): Define.
21460 (atomic_read_barrier): Define.
21461 (atomic_write_barrier): Define.
21462
6e236b92
SP
214632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21464
21465 * shlib-versions: Add libgcc_s version information.
21466 * sysdeps/generic/libgcc_s.h: Remove.
21467 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21468 libgcc_s.h.
21469 * sysdeps/gnu/unwind-resume.c: Likewise.
21470 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21471
aab39a09
DM
214722012-04-25 David S. Miller <davem@davemloft.net>
21473
21474 * sysdeps/unix/sparc/brk.S: Delete.
21475 * sysdeps/unix/sparc/dl-brk.S: Delete.
21476 * sysdeps/unix/sparc/pipe.S: Delete.
21477 * sysdeps/unix/sparc/sysdep.S: Delete.
21478 * sysdeps/unix/sparc/sysdep.h: Delete.
21479 * sysdeps/unix/sparc/vfork.S: Delete.
21480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21481 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21483 ret_ERRVAL, r0, r1, MOVE): Define.
21484 (JUMPTARGET): Remove.
21485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21486 sysdeps/unix/sparc/sysdep.h
21487 (ENTRY, END): Remove.
21488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21489
a3cc4f48
JM
214902012-04-25 Joseph Myers <joseph@codesourcery.com>
21491
2ed8cda2
JM
21492 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21493 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21494 -DIS_IN_build.
21495
35d76d59
JM
21496 * timezone/README: Update upstream location and email address for
21497 tzcode and tzdata.
21498 * timezone/zdump.c: Update from tzcode 2012b.
21499 * timezone/zic.c: Likewise.
21500
a3cc4f48
JM
21501 * configure.in (libc_cv_as_needed): Remove test.
21502 * configure: Regenerated.
21503 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21504 conditional definition.
21505 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21506 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21507 * config.make.in (have-as-needed): Remove variable.
21508
ceab42c3
SP
215092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21510 Paul Pluzhnikov <ppluzhnikov@google.com>
21511
21512 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21513 strings correctly.
21514
3ce2865f
CLT
215152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21516
21517 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21518 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21519 * sysdeps/sh/strlen.S: Likewise.
21520
f37e0d68
JM
215212012-04-24 Joseph Myers <joseph@codesourcery.com>
21522
ae186e9a
JM
21523 * sysdeps/unix/fork.S: Remove file.
21524 * sysdeps/unix/i386/fork.S: Likewise.
21525 * sysdeps/unix/sparc/fork.S: Likewise.
21526
b96914af
JM
21527 * sysdeps/unix/system.c: Remove file.
21528 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21529
f37e0d68
JM
21530 * sysdeps/unix/getegid.S: Remove file.
21531 * sysdeps/unix/geteuid.S: Likewise.
21532
87ef29ca
RM
215332012-04-24 Roland McGrath <roland@hack.frob.com>
21534
83bcd236
RM
21535 * scripts/check-localplt.awk: New file.
21536 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21537 of diff.
21538 * scripts/data/localplt-generic.data: Add a comment.
21539
87ef29ca
RM
21540 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21541 NODE when __dir_mkfile failed.
21542 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21543 Reported by Ludovic Courtès <ludo@gnu.org>.
21544
e5a6e567
AJ
215452012-04-24 Andreas Jaeger <aj@suse.de>
21546
21547 * Makerules (common-clean): Also remove gen-as-const-headers
21548 files.
21549
c1820385
JM
215502012-04-24 Joseph Myers <joseph@codesourcery.com>
21551
21552 * Makerules (native-compile): Do not change working directory for
21553 build. Use $(OUTPUT_OPTION) in command.
21554 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21555
94e02fc4
AZ
215562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21557
21558 [BZ #13886]
21559 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21560 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21561 * math/libm-test.inc (floor_test): Add more tests.
21562 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21563
3a533ca3
JM
215642012-04-24 Joseph Myers <joseph@codesourcery.com>
21565
940ab4b3
JM
21566 * sysdeps/unix/getdents.c: Remove file.
21567 * sysdeps/unix/sysv/getdents.c: Likewise.
21568 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21569
90e037bd
JM
21570 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21571 sysdeps/unix/mman/syscalls.list.
21572 (mmap): Likewise.
21573 (mprotect): Likewise.
21574 (msync): Likewise.
21575 (munmap): Likewise.
21576 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21577 * sysdeps/unix/mman/syscalls.list: Remove.
21578 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21579
3a533ca3
JM
21580 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21581 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21582 * configure: Regenerated.
21583 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21584 $(libgcc_s_suffix).
21585 * config.make.in (libgcc_s_suffix): Remove variable.
21586
1ad743de
JM
215872012-04-23 Joseph Myers <joseph@codesourcery.com>
21588
4ad451e2
JM
21589 * sysdeps/unix/sysv/gethostname.c: Move to ...
21590 * sysdeps/posix/gethostname.c: ... here.
21591
5e37ce39
JM
21592 * sysdeps/unix/execve.S: Remove file.
21593
1ad743de
JM
21594 * sysdeps/unix/_exit.S: Remove file.
21595
4e681b5b
AJ
215962012-04-23 Andreas Jaeger <aj@suse.de>
21597
21598 [BZ #13739]
21599 * manual/Makefile: Remove make dist support, there's no
21600 need for a stand-alone documentation tar ball.
21601 (TEXI2DVI): Define always, it's not in Makeconfig.
21602 (dist): Removed.
21603 (tar-it): Removed.
21604 (edition): Removed.
21605 (glibc-doc-$(edition).tar): Removed
21606 (%.Z): Removed.
21607 (%.gz): Removed.
21608 (%.uu): Removed.
21609 (ETAGS): Remove, it's in Makeconfig.
21610 (move-if-change): Remove, it's in Makeconfig.
21611
38686a03 216122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21613
21614 [BZ #13970]
21615 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21616 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21617 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21618 (strtod_l, strtof_l, strtold_l): Remove __wur.
21619 It is not necessarily an error to ignore strtol's return value.
21620 One can reliably look at the stored endptr to decide whether
21621 the number had valid syntax.
21622
7c0616fa
AJ
216232012-04-21 Andreas Jaeger <aj@suse.de>
21624
803cb6b7 21625 [BZ #13739]
7c0616fa
AJ
21626 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21627
b0fe253f
JM
216282012-04-21 Joseph Myers <joseph@codesourcery.com>
21629
21630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21631 * sysdeps/unix/sysv/Versions: Remove file.
21632
8280f22d
MT
216332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21634
21635 [BZ #13927]
21636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21637
75ce411f 216382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21639
21640 [BZ #7064]
21641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21642 version from __vm86.
21643
097d59fa
JM
216442012-04-20 Joseph Myers <joseph@codesourcery.com>
21645
a90f3bcb
JM
21646 * sysdeps/unix/common/lxstat.c: Remove file.
21647 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21648
edc7ea78
JM
21649 * sysdeps/unix/sysv/Makefile: Remove file.
21650
cb78c221
JM
21651 * sysdeps/unix/sysv/direct.h: Remove file.
21652
efa6a45f
JM
21653 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21654 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21655 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21656 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21657 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21658 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21659 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21660
9c9f2d0c
JM
21661 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21662
4541c83b
JM
21663 * sysdeps/unix/xmknod.c: Remove file.
21664 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21665
f5d153a0
JM
21666 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21667
aa746595
JM
21668 * sysdeps/unix/sysv/i386/time.S: Remove file.
21669
cce5905e
JM
21670 * sysdeps/unix/fxstat.c: Remove file.
21671 * sysdeps/unix/xstat.c: Likewise.
21672 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21673
37fa3841
JM
21674 * sysdeps/unix/sysv/sigaction.c: Remove file.
21675
ff1962a3
JM
21676 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21677 (sysdep_headers): Remove variable.
21678 [termio.h not in sysdep_headers] (generated): Likewise.
21679 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21680 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21681 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21682 * sysdeps/unix/sysv/tcflow.c: Likewise.
21683 * sysdeps/unix/sysv/tcflush.c: Likewise.
21684 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21685 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21686 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21687 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21688 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21689
e7740d31
JM
21690 * sysdeps/unix/siglist.c: Remove file.
21691
ee06f18b
JM
21692 * sysdeps/unix/getppid.S: Remove file.
21693
097d59fa
JM
21694 * sysdeps/unix/mkdir.c: Remove file.
21695 * sysdeps/unix/rmdir.c: Likewise.
21696
ff3d51ec
AS
216972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21700 ERR_MAX value.
21701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21702 errlist-compat value.
21703
50f81fd7
DM
217042012-04-18 David S. Miller <davem@davemloft.net>
21705
21706 * sysdeps/generic/memcopy.h (reg_char): Delete.
21707 * debug/strcat_chk.c: Use char, not reg_char.
21708 * debug/strcpy_chk.c: Likewise.
21709 * debug/strncat_chk.c: Likewise.
21710 * debug/strncpy_chk.c: Likewise.
21711 * string/memchr.c: Likewise.
21712 * string/memrchr.c: Likewise.
21713 * string/rawmemchr.c: Likewise.
21714 * string/strcat.c: Likewise.
21715 * string/strchr.c: Likewise.
21716 * string/strchrnul.c: Likewise.
21717 * string/strcmp.c: Likewise.
21718 * string/strcpy.c: Likewise.
21719 * string/strncat.c: Likewise.
21720 * string/strncmp.c: Likewise.
21721 * string/strncpy.c: Likewise.
21722
8ff41c46
WS
217232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21724
21725 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21726 __builtin_memcopy is called when src and dest ranges are known to not
21727 overlap.
21728
6b652f46
WS
217292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21730
21731 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21732 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21733 fwd_align_merge macro call.
21734 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21735 bwd_align_merge macro call.
21736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21737
b282631e
WS
217382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21739
21740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21741 bwd_align_merge macros.
21742 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21743 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21745
95aa737c
DM
217462012-04-18 David S. Miller <davem@davemloft.net>
21747
21748 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21749
7a99a614
AJ
217502012-04-18 Andreas Jaeger <aj@suse.de>
21751
21752 [BZ# 6794]
21753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21754 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21756
21757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21758 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21760
21761 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21762 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21763 Adjust for changed ldbl-128 files.
21764
21765 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21766 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21767 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21768
e5270c23
DM
217692012-04-17 David S. Miller <davem@davemloft.net>
21770
21771 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21772
fb5e92c9
AS
217732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21774
21775 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21776 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21777 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21778 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21779 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21780 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21781
76da7265
AZ
217822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21783
21784 [BZ #6794]
21785 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21786 * math/libm-test.inc: Add ilogb errno and exception tests.
21787 * math/w_ilogb.c: New file: ilogb wrapper.
21788 * math/w_ilogbf.c: New file: ilogbf wrapper.
21789 * math/w_ilogbl.c: New file: ilogbl wrapper.
21790 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21791 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21792 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21793 exception being thrown with 0.0 as argument.
21794 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21795 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21796 exception being thrown with 0.0 as argument.
21797 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21798 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21799 exception being thrown with 0.0 as argument.
21800 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21801 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21802 exception being thrown with 0.0 as argument.
21803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21804 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21806 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21808 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21809 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21810 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21811 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21812
0396e69d
PB
218132012-04-17 Petr Baudis <pasky@ucw.cz>
21814
21815 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21816 with altivec.
21817
750b5926
MP
218182012-04-16 Marek Polacek <polacek@redhat.com>
21819
21820 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21821
751728a1
MP
218222012-04-16 Marek Polacek <polacek@redhat.com>
21823
21824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21825 operands of fdivp instruction.
21826
34a27407
L
218272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21828
21829 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21830 * elf/tst-auditmod3b.c: Likewise.
21831 * elf/tst-auditmod4b.c: Likewise.
21832 * elf/tst-auditmod5b.c: Likewise.
21833 * elf/tst-auditmod6b.c: Likewise.
21834 * elf/tst-auditmod6c.c: Likewise.
21835 * elf/tst-auditmod7b.c: Likewise.
21836 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21837 * sysdeps/x86_64/preconfigure.in: Likewise.
21838 * sysdeps/x86_64/preconfigure: Regenerated.
21839
7e73e17d
L
218402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21841
21842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21843 __ILP32__.
21844
c7a6ab72
AB
218452012-04-13 Antoine Balestrat <merkil33@gmail.com>
21846
21847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21848 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21849
a9e8e0e0
CL
218502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21851
21852 [BZ #13973]
21853 * locale/iso-639.def: Fix gl language name. Spotted by
21854 Yaron Shahrabani.
21855
ec98af7d
RM
218562012-04-12 Roland McGrath <roland@hack.frob.com>
21857
21858 [BZ #2074]
21859 * libio/libio.h (__io_write_fn): Update comment.
21860
247c3ede
PB
218612012-04-12 Petr Baudis <pasky@ucw.cz>
21862
21863 [BZ #2074]
21864 * stdio.texi (Hook Functions): The user provided writer function
21865 is not allowed to return -1.
21866
55939d6d
DM
218672012-04-11 David S. Miller <davem@davemloft.net>
21868
21869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21870
90020f5a
MF
218712012-04-11 Mike Frysinger <vapier@gentoo.org>
21872
21873 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21874 Add a leading slash to rtkaio.
21875
288f9098
JM
218762012-04-11 Jim Meyering <meyering@redhat.com>
21877
90020f5a
MF
21878 [BZ #11959]
21879 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21880 It is not necessarily an error to ignore fwrite's return
21881 value. One can reliably use ferror to test for errors after
21882 the fact.
288f9098 21883
4be2b570
L
218842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21885
21886 * bits/types.h (__snseconds_t): New type.
21887 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21888
21889 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21891 (__SNSECONDS_T_TYPE): Likewise.
21892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21893 (__SNSECONDS_T_TYPE): Likewise.
21894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21895 (__SNSECONDS_T_TYPE): Likewise.
21896
288f9098 218972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21898
21899 [BZ #2636]
21900 * manual/time.texi (Processor Time): Return type of times is
21901 elapsed real time since an arbitrary point in the past.
21902 (CPU Time): Move CLK_TCK from here...
21903 (Processor Time): ...to here. Correct description.
21904 * manual/conf.texi (Constants for Sysconf): Correct description of
21905 _SC_CLK_TCK.
21906
d7dd4413
DM
219072012-04-10 David S. Miller <davem@davemloft.net>
21908
21909 [BZ #13967]
21910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21911 where the is a gap between DT_REL(A) and DT_JMPREL.
21912
b46068fc
L
219132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21914
21915 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21918
73d65cc3
SP
219192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21920
21921 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21922 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21923 (dl_main): Handle --inhibit-cache.
21924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21925 _dl_inhibit_cache.
21926 * elf/dl-load.c (_dl_map_object): Use it.
21927 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21928
bcc8d661
JM
219292012-04-09 Joseph Myers <joseph@codesourcery.com>
21930
8f9a2fae
JM
21931 [BZ #13872]
21932 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21933 (__ieee754_powl): Saturate large exponents rather than testing for
21934 overflow of y*log2(x).
21935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21936 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21937 exceptions.
21938
bcc8d661
JM
21939 [BZ #11521]
21940 * math/s_ctan.c: Include <float.h>.
21941 (__ctan): Avoid internal overflow or cancellation in calculating
21942 denominator.
21943 * math/s_ctanf.c: Likewise.
21944 * math/s_ctanl.c: Likewise.
21945 * math/s_ctanh.c: Likewise.
21946 * math/s_ctanhf.c: Likewise.
21947 * math/s_ctanhl.c: Likewise.
21948 * math/libm-test.inc (ctan_test): Add more tests.
21949 (ctanh_test): Likewise.
21950 * sysdeps/i386/fpu/libm-test-ulps: Update.
21951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21952
823fbbb4
AJ
219532012-04-09 Andreas Jaeger <aj@suse.de>
21954
03879793
AJ
21955 [BZ #6894]
21956 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21957 is an optional BSD extension.
21958
823fbbb4
AJ
21959 [BZ #10254]
21960 * manual/stdio.texi (Opening Streams): Document additional fopen
21961 parameters.
21962
8de131cb
RM
219632012-04-09 Roland McGrath <roland@hack.frob.com>
21964
21965 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21966 %eax without telling the compiler.
21967
c0ed9d7d
CD
219682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21969
21970 [BZ # 13963]
21971 * manual/install.texi: Use sourceware.org.
21972
c483f6b4
JM
219732012-04-09 Joseph Myers <joseph@codesourcery.com>
21974
d7dd9453
JM
21975 [BZ #13873]
21976 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21977 (__ieee754_pow): Generate overflow and underflow using huge*huge
21978 and tiny*tiny rather than just returning constant infinity or zero
21979 for large exponents.
21980 * math/libm-test.inc (pow_test): Require overflow exceptions for
21981 applicable cases of large exponents.
21982
c483f6b4
JM
21983 [BZ #706]
21984 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21985 (__ieee754_pow): Use iterative multiplication algorithm only for
21986 integer exponents with absolute value below 1024. Check for odd
21987 integer exponents when using algorithm for real exponents.
21988 * math/libm-test.inc (pow_test): Add more tests.
21989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21990
d2de7579
JM
219912012-04-08 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #13705]
21994 * math/libm-test.inc (exp_test): Do not allow overflow exception
21995 on underflow test.
21996
f77f1232
AJ
219972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21998
21999 [BZ #13705]
22000 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22001 instead of __kernel_standard_f.
22002
3884932b
MF
220032012-04-08 Mike Frysinger <vapier@gentoo.org>
22004
22005 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22006 * sysdeps/x86_64/memset_chk.S: Likewise.
22007
54472e9c
AJ
220082012-04-08 Andreas Jaeger <aj@suse.de>
22009
6ab0fbfc
AJ
22010 [BZ #10153]
22011 * manual/startup.texi (Environment Access): Describe return value
22012 for putenv and setenv.
22013
61efba8c
AJ
22014 [BZ #6895]
22015 * manual/filesys.texi (Directory Entries): Add description for
22016 DT_LNK.
22017
95c3f29a
AJ
22018 [BZ #6890]
22019 * manual/filesys.texi (Directory Entries): Clarify that it's file
22020 system not operating system in the description of DT_UNKNOWN.
22021
54472e9c
AJ
22022 [BZ #6578]
22023 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22024
624254b1
SC
220252012-04-08 Stephen Compall <s11@member.fsf.org>
22026
22027 [BZ #6649]
22028 * manual/llio.texi (Opening and Closing Files): Add cross
22029 reference to explain mode argument.
22030
1e4920e0
MF
220312012-04-07 Mike Frysinger <vapier@gentoo.org>
22032
22033 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22034 * sysdeps/x86_64/memset_chk.S: Likewise.
22035
5ed848f3
DM
220362012-04-07 David S. Miller <davem@davemloft.net>
22037
22038 * elf/elf.h (R_SPARC_WDISP10): Define.
22039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22040 R_SPARC_SIZE32.
22041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22042 R_SPARC_SIZE64 and R_SPARC_H34.
22043
96154cd8
CD
220442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22045
22046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22047 conditions and remove no longer applicable assertion.
22048
9904dc47
L
220492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 * bits/byteswap.h: Include <features.h>.
22052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22054
f8887d0a
L
220552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 * bits/byteswap.h (__bswap_16): Removed.
22058 Include <bits/byteswap-16.h> to get __bswap_16.
22059 * sysdeps/i386/bits/byteswap.h: Likewise.
22060 * sysdeps/s390/bits/byteswap.h: Likewise.
22061 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22062 * bits/byteswap-16.h: New file.
22063 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22064 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22065 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22066 * string/Makefile (headers): Add bits/byteswap-16.h.
22067
62470f60
PP
220682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22069
22070 [BZ #13895]
22071 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22072 extra indirection.
22073 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22074 * nss/tst-nss-static.c: New.
22075
4dad7bab
RM
220762012-04-06 Robert Millan <rmh@gnu.org>
22077
22078 [BZ #6486]
22079 * manual/llio.texi (File Position Primitive): lseek
22080 refers to WHENCE when it really means OFFSET.
22081
e9142a17
AJ
220822012-04-06 Andreas Jaeger <aj@suse.de>
22083
2c040eff
AJ
22084 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22085 strncmp declarations.
22086
e9142a17
AJ
22087 * abilist/libc.abilist: Add __poll and __ppoll.
22088
ff9f1c5f
DM
220892012-04-05 David S. Miller <davem@davemloft.net>
22090
dcd2ae90
DM
22091 * scripts/check-local-headers.sh: Accept a host triplet in the
22092 path matched by the exclude regexp.
22093
993eb054
DM
22094 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22095 definition.
22096 * sysdeps/powerpc/powerpc32/dl-machine.h
22097 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22098 * sysdeps/s390/s390-32/dl-machine.h
22099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22100 * sysdeps/sparc/sparc32/dl-machine.h
22101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22102 * sysdeps/sparc/sparc64/dl-machine.h
22103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22104
ff9f1c5f
DM
22105 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22106 lazy binding.
48e2e132 22107 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22108 undefined symbol errors.
22109
48e2e132 22110 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22111 DT_NEEDED entries.
22112
e80d6f94
MM
221132012-04-05 Michael Matz <matz@suse.de>
22114
22115 [BZ #13592]
22116 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22117
349fa79f
AJ
221182012-04-05 Andreas Jaeger <aj@suse.de>
22119
22120 [BZ #13908]
22121 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22122 comment.
22123
f402708f
KK
221242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22125
22126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22127 which ROUND is no valid rounding mode.
22128
2ecccfc9
KK
221292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22130
22131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22132 read again.
22133 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22134
8a53f50f
KK
221352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22136
22137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22138 an exception using FPU order intentionally.
22139
221402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22141
22142 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22143 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22144 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22145 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22146
d653abb7
SJ
221472012-04-05 Simon Josefsson <simon@josefsson.org>
22148
22149 [BZ #12340]
22150 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22151 EINVAL when BUFLEN is too smal.
22152
c3b1bf7d
TS
221532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22154
22155 [BZ #13553]
22156 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22157 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22158
b1aa60f3
AJ
221592012-04-03 Andreas Jaeger <aj@suse.de>
22160
c3b1bf7d 22161 [BZ #13938]
67f60a26
AJ
22162 * manual/setjmp.texi (System V contexts): Fix sentence.
22163
b1aa60f3
AJ
22164 [BZ #13926]
22165 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22166 New macro for this case.
22167 [!__GNUC__] (__bswap_64): New inline function for this case.
22168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22169 * bits/byteswap.h: Likewise.
22170 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22171 ull, guard with __GLIBC_HAVE_LONG_LONG.
22172
22173 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22174 __GLIBC_HAVE_LONG_LONG.
22175
22176 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22177 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22178
39c59c35
TMQMF
221792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22180
22181 [BZ #13691]
22182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22183 inptr and inend, rather than using last_ch.
22184
135ffda8
DM
221852012-04-02 David S. Miller <davem@davemloft.net>
22186
22187 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22188 * stdio-common/printf-parse.h (read_int): Change return type to
22189 'int', return -1 on INT_MAX overflow.
22190 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22191 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22192 overflows INT_MAX. Check for overflow of in-format-string precision
22193 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22194 SIZE_MAX not INT_MAX for integer overflow test.
22195 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22196 skip the construct in the format string but do not record anything.
22197 * stdio-common/bug22.c: Adjust to test both width/prevision
22198 INT_MAX overflow as well as total length INT_MAX overflow. Check
22199 explicitly for proper errno values.
22200
228c019e
TS
222012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22202
302cadd3
TS
22203 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22204 CHAR_MAX.
22205 * string/test-strcmp.c [! WIDE]: Likewise.
22206 * time/tst-mktime2.c: Likewise for INT_MAX.
22207 * string/test-string.h: #include <sys/param.h> for MIN.
22208
228c019e
TS
22209 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22210 * sysdeps/i386/init-first.c (init): Likewise.
22211 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22212 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22213 * sysdeps/sh/init-first.c (init): Likewise.
22214
cfa633f5
UD
222152012-04-01 Ulrich Drepper <drepper@gmail.com>
22216
22217 * po/ru.po: Update from translation team.
d1635ef8 22218 * po/vi.po: Likewise.
cfa633f5 22219
6cd0a5ea
SP
222202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22221
22222 * resolv/nss_dns/dns-host.c: Merge copyright years.
22223
4b43400f
LD
222242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22225
22226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22227 Optimize memcpy with prefetch if
22228 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22229 src, dst pointers have unequal 16 byte alignments.
22230
48c41d04
SP
222312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22232
22233 [BZ #13928]
22234 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22235 from a CNAME entry and return the minimum ttl for the query.
22236 (gaih_getanswer_slice): Likewise.
22237
b8dc394d
JL
222382012-03-30 Jeff Law <law@redhat.com>
22239
22240 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22241 due to long keys.
22242 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22243 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22244
2f5a5ed0
JL
22245 * resolv/nss_dns/dns-host.c: Update copyright year.
22246
1d39e359
UD
222472012-03-30 Ulrich Drepper <drepper@gmail.com>
22248
c030f70c 22249 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22250 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22251
1d39e359
UD
22252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22253 comments for sendmmsg.
22254
222552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22256
22257 [BZ #13691]
22258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22259 with only 1 character between 0x0041 and 0x01b0.
22260 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22261 * wcsmbs/tst-mbsnrtowcs.c: New file.
22262
20fde227
DM
222632012-03-29 David S. Miller <davem@davemloft.net>
22264
22265 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22266 small copies by hand.
22267
984a4237
JL
222682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22269
22270 [BZ #13761]
22271 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22272 _nss_compat_initgroups_dyn): Fall back to malloc/free
22273 for large group memberships.
22274
18c9d62b
DM
222752012-03-28 David S. Miller <davem@davemloft.net>
22276
88d85d4f
DM
22277 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22278 that branches into memcpy.
22279 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22282 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22284 bits.
22285 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22286 implementation too.
22287 * sysdeps/sparc/mempcpy.S: New file.
22288
e5aa83e1
DM
22289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22290 the IFUNC routine in the libc case.
22291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22292
88570753
DM
22293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22295 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22296 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22297 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22298 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22299 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22300 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22301
249d7567
DM
22302 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22303 loop to 256 bytes instead of 64 bytes and fix test signedness.
22304
18c9d62b
DM
22305 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22306 * sysdeps/sparc/sparc32/Makefile: rather than here...
22307 * sysdeps/sparc/sparc64/Makefile: and here.
22308
05f3d1f6
UD
223092012-03-28 Ulrich Drepper <drepper@gmail.com>
22310
22311 * malloc/mallocbug.c: Avoid warnings about unused variables.
22312
86ae07a8
JL
223132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22314
22315 [BZ #13760]
22316 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22317 in the right place. Discard and retry query if response is
22318 larger than input buffer size.
22319
41bf21a1
JM
223202012-03-28 Joseph Myers <joseph@codesourcery.com>
22321
d6270972
JM
22322 [BZ #369]
22323 [BZ #2678]
22324 [BZ #3866]
22325 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22326 x for large integer exponent.
22327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22329 sign of result as needed afterwards.
22330 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22332 result for underflowing pow the same as for overflow.
22333 (__kernel_standard_l): Handle powl overflow and underflow here
22334 rather than calling __kernel_standard.
22335 * math/libm-test.inc (pow_test): Add more tests.
22336
414fca03 22337 [BZ #3868]
41bf21a1
JM
22338 [BZ #13879]
22339 [BZ #13910]
22340 [BZ #13911]
22341 [BZ #13912]
22342 [BZ #13913]
22343 [BZ #13915]
22344 [BZ #13916]
22345 [BZ #13917]
22346 [BZ #13918]
22347 [BZ #13919]
22348 [BZ #13920]
22349 [BZ #13921]
22350 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22351 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22352 (__kernel_standard_l): New function.
22353 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22354 __kernel_standard.
22355 * math/w_acosl.c (__acosl): Likewise.
22356 * math/w_asinl.c (__asinl): Likewise.
22357 * math/w_atan2l.c (__atan2l): Likewise.
22358 * math/w_atanhl.c (__atanhl): Likewise.
22359 * math/w_coshl.c (__coshl): Likewise.
22360 * math/w_exp10l.c (__exp10l): Likewise.
22361 * math/w_exp2l.c (__exp2l): Likewise.
22362 * math/w_fmodl.c (__fmodl): Likewise.
22363 * math/w_hypotl.c (__hypotl): Likewise.
22364 * math/w_j0l.c (__j0l, __y0l): Likewise.
22365 * math/w_j1l.c (__j1l, __y1l): Likewise.
22366 * math/w_jnl.c (__jnl, __ynl): Likewise.
22367 * math/w_lgammal.c (__lgammal): Likewise.
22368 * math/w_log10l.c (__log10l): Likewise.
22369 * math/w_log2l.c (__log2l): Likewise.
22370 * math/w_logl.c (__logl): Likewise.
22371 * math/w_powl.c (__powl): Likewise.
22372 * math/w_remainderl.c (__remainderl): Likewise.
22373 * math/w_scalbl.c (sysv_scalbl): Likewise.
22374 * math/w_sinhl.c (__sinhl): Likewise.
22375 * math/w_sqrtl.c (__sqrtl): Likewise.
22376 * math/w_tgammal.c (__tgammal): Likewise.
22377 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22378 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22379 * math/libm-test.inc (acos_test): Add more tests.
22380 (acosh_test): Likewise.
22381 (asin_test): Likewise.
22382 (atanh_test): Likewise.
22383 (exp_test): Likewise.
22384 (exp10_test): Likewise.
22385 (exp2_test): Likewise.
22386 (expm1_test): Likewise.
22387 (lgamma_test): Likewise.
22388 (log_test): Likewise.
22389 (log10_test): Likewise.
22390 (log1p_test): Likewise.
22391 (log2_test): Likewise.
22392 (pow_test): Do not allow some spurious overflow exceptions.
22393 (sqrt_test): Add more tests.
22394 (tgamma_test): Likewise.
22395 (y0_test): Likewise.
22396 (y1_test): Likewise.
22397 (yn_test): Likewise.
22398
dd62fda6
AB
223992012-03-27 Anton Blanchard <anton@samba.org>
22400
22401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22402 MAP_HUGETLB.
22403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22406
1e3cdfda
AJ
224072012-03-27 David S. Miller <davem@davemloft.net>
22408
b855ab85
DM
22409 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22410
1e3cdfda
AJ
22411 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22412 have-as-vis3 check.
22413
224142012-03-27 Andreas Jaeger <aj@suse.de>
22415
22416 * sysdeps/x86_64/elf/configure.in: Moved to ...
22417 * sysdeps/x86_64/configure.in: ... here.
22418 * sysdeps/x86_64/elf/start.S: Moved to ...
22419 * sysdeps/x86_64/start.S: ... here.
22420 * sysdeps/x86_64/elf/configure: Delete.
22421
22422 * sysdeps/x86_64/configure.in: Merge contents from
22423 sysdeps/i386/configure.in (without i686 check).
22424
22425 * sysdeps/i386/elf/Versions: Merge into ...
22426 * sysdeps/i386/Versions: ... this.
22427 * sysdeps/i386/elf/Versions: Delete file.
22428 * sysdeps/i386/elf/start.S: Moved to ...
22429 * sysdeps/i386/start.S: ...here.
22430 * sysdeps/i386/elf/configure.in: Merge into...
22431 * sysdeps/i386/configure.in: ...here.
22432 * sysdeps/i386/elf/configure.in: Delete file.
22433 * sysdeps/i386/elf/configure: Delete file.
22434
22435 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22436 * debug/backtracesyms.c: ... here.
22437 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22438 * debug/backtracesymsfd.c: ... here.
22439 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22440 * sysdeps/generic/ifunc-sel.h: ... here.
22441
22442 * sysdeps/unix/i386/start.c: Delete file.
22443 * sysdeps/unix/sparc/start.c: Delete file.
22444 * sysdeps/unix/start.c: Delete file.
22445
22446 * sysdeps/sh/elf/configure.in: Moved to ...
22447 * sysdeps/sh/configure.in: ... here.
22448 * sysdeps/sh/elf/start.S: Moved to ...
22449 * sysdeps/sh/start.S: ... here.
22450 * sysdeps/sh/elf/configure: Delete file.
22451
22452 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22453 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22454 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22455 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22456 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22457 * sysdeps/powerpc/powerpc64/start.S: here.
22458 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22459 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22460 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22461 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22462 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22463
22464 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22465 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22466 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22467 * sysdeps/powerpc/powerpc32/start.S: ... here.
22468 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22469 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22470 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22471
22472 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22473 * sysdeps/powerpc/ifunc-sel.h: ... here.
22474 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22475 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22476
22477 * sysdeps/sparc/elf/configure.in: Moved to ...
22478 * sysdeps/sparc/configure.in: ... here.
22479 * sysdeps/sparc/elf/configure: Delete file.
22480 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22481 * sysdeps/sparc/sparc32/start.S: ... here.
22482 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22483 * sysdeps/sparc/sparc64/start.S: ... here.
22484 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22485 * sysdeps/sparc/sparc32/Makefile: ... this.
22486 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22487 * sysdeps/sparc/sparc64/Makefile: ... this.
22488
22489 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22490 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22491 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22492 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22493 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22494 * sysdeps/s390/s390-32/setjmp.S: ... here.
22495 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22496 * sysdeps/s390/s390-32/configure.in: ... here.
22497 * sysdeps/s390/s390-32/elf/configure: Delete file.
22498 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22499 * sysdeps/s390/s390-32/start.S: ... here.
22500
22501 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22502 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22503 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22504 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22505 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22506 * sysdeps/s390/s390-64/setjmp.S: ... here.
22507 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22508 * sysdeps/s390/s390-64/configure.in: ... here
22509 * sysdeps/s390/s390-64/elf/configure: Delete file.
22510 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22511 * sysdeps/s390/s390-64/start.S: ... here.
22512 * sysdeps/s390/s390-64/elf/configure: Delete.
22513
22514 * configure.in: Remove support for elf directories in sysdeps.
22515
22516 * configure: Regenerated.
22517 * sysdeps/i386/configure: Regenerated.
22518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22520 * sysdeps/s390/s390-32/configure: Regenerated.
22521 * sysdeps/s390/s390-64/configure: Regenerated.
22522 * sysdeps/sh/configure: Regenerated.
22523 * sysdeps/sparc/configure: Regenerated.
22524 * sysdeps/x86_64/configure: Regenerated.
22525
a3f61311
AS
225262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22527
c876e002
AS
22528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22529
a3f61311
AS
22530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22531 denormal result into account.
22532
ac4c54f0
RM
225332012-03-25 Roland McGrath <roland@hack.frob.com>
22534
22535 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22536 Reported by Allan McRae <allan@archlinux.org>.
22537
6a9b9c02
JL
225382012-03-23 Jeff Law <law@redhat.com>
22539
22540 * nss/getnssent.c (__nss_getent): Fix typo.
22541
4c42a0c1
DM
225422012-03-23 David S. Miller <davem@davemloft.net>
22543
22544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22545
1532c7ac
L
225462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22547
22548 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22549 to pad to uint64_t for each field.
22550 (dl_tls_index): Replace unsigned long with uint64_t.
22551
3ff42526
PP
225522012-03-23 Daniel Jacobowitz <dmj@google.com>
22553 Paul Pluzhnikov <ppluzhnikov@google.com>
22554
22555 [BZ #6528]
22556 * grp/Makefile (otherlibs): Don't set it.
22557 * inet/Makefile (otherlibs): Likewise.
22558 * login/Makefile (otherlibs): Likewise.
22559 * nscd/Makefile (otherlibs): Likewise.
22560 * posix/Makefile (otherlibs): Likewise.
22561 * pwd/Makefile (otherlibs): Likewise.
22562 * rt/Makefile (otherlibs): Likewise.
22563 * sunrpc/Makefile (otherlibs): Likewise.
22564 * nss/Makefile (otherlibs): Likewise.
22565 Add libnss_files to routines and static-only-routines.
22566 ($(objpfx)getent): Remove rule.
22567 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22568 static-only-routines.
22569
7c69cd14
JM
225702012-03-22 Joseph Myers <joseph@codesourcery.com>
22571
22572 [BZ #13892]
22573 * math/s_cexp.c: Include <float.h>.
22574 (__cexp): Handle exp result overflowing not necessarily
22575 overflowing both real and imaginary parts of result.
22576 * math/s_cexpf.c: Likewise.
22577 * math/s_cexpl.c: Likewise.
22578 * math/libm-test.inc (cexp_test): Add more tests.
22579 * sysdeps/i386/fpu/libm-test-ulps: Update.
22580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581
81b035fe
L
225822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22583
22584 * include/link.h (ELFW): New macro.
22585 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22586 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22587
1da7940c
L
225882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22589
22590 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22591 with uint64_t.
22592
b749dbb9
L
225932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22594
22595 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22596 declaration.
22597 (struct La_x32_retval): Likewise.
22598
2ff87f3f
L
225992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22600
22601 * sysdeps/x86_64/preconfigure.in: New file.
22602 * sysdeps/x86_64/preconfigure: New generated file.
22603
c0df8e69
JM
226042012-03-22 Joseph Myers <joseph@codesourcery.com>
22605
48e44791
JM
22606 [BZ #13824]
22607 * math/e_exp2l.c: Include <float.h>.
22608 (__ieee754_exp2l): Handle overflow and underflow cases
22609 separately. Only pass fractional part of argument to
22610 __ieee754_expl.
22611 * math/libm-test.inc (exp2_test): Add more tests.
22612
c0df8e69
JM
22613 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22614 negating x to take absolute value.
22615 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22616 Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22619 Likewise.
22620 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22621 computing low part if x was negated.
22622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22623
c8e43ba7
L
226242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22625
22626 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22627 la_x32_gnu_pltexit.
22628 (pltexit): Cast int_retval to ptrdiff_t.
22629 * elf/tst-auditmod3b.c: Likewise.
22630 * elf/tst-auditmod4b.c: Likewise.
22631 * elf/tst-auditmod5b.c: Likewise.
22632 * elf/tst-auditmod6b.c: Likewise.
22633 * elf/tst-auditmod6c.c: Likewise.
22634 * elf/tst-auditmod7b.c: Likewise.
22635
22636 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22637 and x32_gnu_pltexit.
22638
22639 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22640 __ELF_NATIVE_CLASS.
22641 (La_x32_regs): New macro.
22642 (La_x32_retval): Likewise.
22643 (la_x32_gnu_pltenter): New function prototype.
22644 (la_x32_gnu_pltexit): Likewise.
22645
7998fa78
AS
226462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22647
dcb33988
AS
22648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22649 exponent.
22650
233fc563
AS
22651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22652
7998fa78
AS
22653 * configure.in (libc_cv_cc_nofma): Check for option to disable
22654 generation of FMA instructions.
22655 * configure: Regenerate.
22656 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22657 * sysdeps/ieee754/dbl-64/Makefile: New file.
22658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22659 Remove brandred-fma4.
22660 (CFLAGS-brandred-fma4.c): Remove.
22661 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22663 define.
22664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22665 define.
22666
8e95c99a
L
226672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22668
22669 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22670 LLONG_MAX != LONG_MAX.
22671 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22672 (_fitoa_word): Likewise.
22673 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22674 LLONG_MAX != LONG_MAX.
22675 * stdio-common/_itowa.h: Include <_itoa.h>.
22676 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22677 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22678 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22679 only if not defined.
22680 (_ITOA_WORD_TYPE): Likewise.
22681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22682 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22683
6f4db457
DM
226842012-03-21 David S. Miller <davem@davemloft.net>
22685
22686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22687
7785fe5a
L
226882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22691 of x86_64 when setting libc_cv_slibdir, libdir and
22692 libc_cv_localedir.
22693 * sysdeps/unix/sysv/linux/configure: Regenerated.
22694
4535cd55
JM
226952012-03-21 Joseph Myers <joseph@codesourcery.com>
22696
22697 * manual/lang.texi (Old Varargs): Remove section.
22698 (How Variadic): Update menu.
22699 (va_start): Do not mention varargs.h.
22700
17228132
TS
227012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22702 Joseph Myers <joseph@codesourcery.com>
22703
22704 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22705 link test.
22706 * configure: Regenerated.
22707
8149f976
TS
227082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22709
05f3d1f6
UD
22710 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22711 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22712 conformtest.pl
8149f976 22713
1a4ac776
JM
227142012-03-21 Joseph Myers <joseph@codesourcery.com>
22715
be22ce65
JM
22716 * NOTES: Remove.
22717 * Makefile (files-for-dist): Remove NOTES.
22718 (NOTES): Remove rule.
22719 * README: Don't refer to NOTES.
22720 * manual/creature.texi: Don't include macros.texi.
22721 * manual/intro.texi (creature.texi): Remove comment referring to
22722 NOTES.
22723
40b601fb
JM
22724 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22725 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22726 * configure: Regenerated.
22727 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22728 LIBC_TRY_CC_OPTION.
22729 (libc_cv_as_i686): Likewise.
22730 (libc_cv_cc_avx): Likewise.
22731 (libc_cv_cc_sse2avx): Likewise.
22732 (libc_cv_cc_fma4): Likewise.
22733 (libc_cv_cc_novzeroupper): Likewise.
22734 * sysdeps/i386/configure: Regenerated.
22735
1a4ac776
JM
22736 [BZ #13883]
22737 * sysdeps/i386/fpu/s_cexp.S: Remove.
22738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22739 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22740 * math/libm-test.inc (cexp_test): Add more tests.
22741 * sysdeps/i386/fpu/libm-test-ulps: Update.
22742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22743
a458e7fe
AM
227442012-03-21 Allan McRae <allan@archlinux.org>
22745
22746 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22747
0cb7efc5
JM
227482012-03-21 Joseph Myers <joseph@codesourcery.com>
22749
22750 [BZ #13871]
22751 * math/w_exp2.c: Do not include <float.h>.
22752 (o_threshold, u_threshold): Remove.
22753 (__exp2): Calculate result before checking finiteness and calling
22754 __kernel_standard.
22755 * math/w_exp2f.c: Likewise.
22756 * math/w_exp2l.c: Likewise.
22757 * math/libm-test.inc (exp2_test): Require overflow exception for
22758 1e6 input.
2460d3aa
JM
22759
22760 [BZ #3866]
22761 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22762 range of signed 64-bit integers before using fistpll. Remove
22763 checks for whether integers fit in mantissa bits.
22764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22765 the range of signed 32-bit integers before using fistpl. Remove
22766 checks for whether integers fit in mantissa bits.
22767 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22768 (__ieee754_powl): Test for y outside the range of signed 64-bit
22769 integers before using fistpll. Reduce 64-bit values to 63-bit
22770 ones as needed.
22771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22772 divide-by-zero is raised for zero to large negative powers.
22773 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22774 (__ieee754_powl): Test for y outside the range of signed 64-bit
22775 integers before using fistpll. Reduce 64-bit values to 63-bit
22776 ones as needed.
22777 * math/libm-test.inc (pow_test): Add more tests.
22778
eb96ffb0
L
227792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22782 <stdio-common/_itoa.h>.
22783 * debug/segfault.c: Likewise.
22784 * elf/dl-cache.c: Likewise.
22785 * elf/dl-minimal.c: Likewise.
22786 * elf/dl-misc.c: Likewise.
22787 * elf/dl-sysdep.c: Likewise.
22788 * elf/dl-version.c: Likewise.
22789 * elf/rtld.c: Likewise.
22790 * hurd/hurdsock.c: Likewise.
22791 * hurd/lookup-retry.c: Likewise.
22792 * malloc/malloc.c: Likewise.
22793 * malloc/mtrace.c: Likewise.
22794 * nscd/nscd_getgr_r.c: Likewise.
22795 * nscd/nscd_getpw_r.c: Likewise.
22796 * nscd/nscd_getserv_r.c: Likewise.
22797 * posix/getopt_init.c: Likewise.
22798 * posix/wordexp.c: Likewise.
22799 * stdio-common/_itoa.c: Likewise.
22800 * stdio-common/printf_fphex.c: Likewise.
22801 * stdio-common/vfprintf.c: Likewise.
22802 * string/_strerror.c: Likewise.
22803 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22804 * sysdeps/i386/i686/hp-timing.h: Likewise.
22805 * sysdeps/mach/_strerror.c: Likewise.
22806 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22807 * sysdeps/mach/hurd/sethostid.c: Likewise.
22808 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22809 * sysdeps/mach/xpg-strerror.c: Likewise.
22810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22812 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22813 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22814 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22815 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22817 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22818 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22819 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22820 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22821 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22822 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22823 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22824 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22826 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22827 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22830 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22831
22832 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22833
22834 * stdio-common/_itoa.h: Moved to ...
22835 * sysdeps/generic/_itoa.h: Here.
22836
22837 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22838
22839 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22840 instead of "_itoa.h" and "_itowa.h".
22841 * stdio-common/vfprintf.: Likewise.
22842
d1af992d
L
228432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22846 <bits/wordsize.h>.
22847 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22848 (__signbit): Likwise.
22849 (llrintf): Likwise.
22850 (llrint): Likwise.
22851
114883e0
L
228522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22853
22854 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22855 __WORDSIZE != 64.
22856
c135cc1b
JM
228572012-03-20 Joseph Myers <joseph@codesourcery.com>
22858
22859 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22860 OVERFLOW_EXCEPTION_OK.
22861 * math/libm-test.inc ("Philosophy"): Update comment about
22862 exception testing.
22863 (OVERFLOW_EXCEPTION): Define.
22864 (OVERFLOW_EXCEPTION_OK): Likewise.
22865 (INVALID_EXCEPTION_OK): Renumber.
22866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22867 (IGNORE_ZERO_INF_SIGN): Likewise.
22868 (test_exceptions): Handle FE_OVERFLOW.
22869 (exp10_test): Expect overflow exceptions.
22870 (exp2_test): Likewise.
22871 (expm1_test): Likewise.
22872 (nextafter_test): Likewise.
22873 (pow_test): Likewise.
22874 (scalbn_test): Likewise.
22875 (scalbln_test): Likewise.
22876
95443d88
L
228772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/x86_64/bits/atomic.h
22880 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22881 64bit integer.
22882 (atomic_exchange_acq): Likewise.
22883 (__arch_exchange_and_add_body): Likewise.
22884 (__arch_add_body): Likewise.
22885 (atomic_add_negative): Likewise.
22886 (atomic_add_zero): Likewise.
22887
490df6c4
L
228882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22889
c2722551 22890 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22891 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22892
5e52b189
L
228932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22896 Check __x86_64__ instead of __WORDSIZE.
22897
a9879d4c
L
228982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22899
22900 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22901
5df98260
DM
229022012-03-19 David S. Miller <davem@davemloft.net>
22903
e1497744
DM
22904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22905
5df98260
DM
22906 * sysdeps/sparc/fpu/fenv_private.h: New file.
22907 * sysdeps/sparc/fpu/math_private.h: Use it.
22908 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22909 Remove.
22910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22911 (libc_feholdexcept_setroundl): Remove.
22912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22913 Remove.
22914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22916
b4c35121
L
229172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22918
22919 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22920 int64_t instead of long int.
22921 (INSERT_WORDS64): Likwise.
22922
56965fd7
L
229232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22926 _Unwind_GetCFA return to _Unwind_Ptr first.
22927
83d1aec8
JM
229282012-03-19 Joseph Myers <joseph@codesourcery.com>
22929
1897ad44
JM
22930 [BZ #13629]
22931 * math/s_clog.c: Include <float.h>.
22932 (__clog): Scale large or subnormal inputs.
22933 * math/s_clogf.c: Likewise.
22934 * math/s_clogl.c: Likewise.
22935 * math/s_clog10.c: Include <float.h>.
22936 (M_LOG10_2): Define.
22937 (__clog10): Scale large or subnormal inputs.
22938 * math/s_clog10f.c: Likewise.
22939 * math/s_clog10l.c: Likewise.
22940 * math/libm-test.inc (clog_test): Add more tests.
22941 (clog10_test): Likewise.
22942 * sysdeps/i386/fpu/libm-test-ulps: Update.
22943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22944
7726d6a9
JM
22945 [BZ #11451]
22946 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22947 x and y.
22948 * math/libm-test.inc (atan2_test): Add another test.
22949
83d1aec8
JM
22950 * Makerules (common-objdir-compile): Remove.
22951 * sysdeps/unix/Makefile (config-generated): Do not add
22952 $(unix-generated) to variable.
22953 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22954 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22955 Remove rule.
22956 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22957 Likewise.
22958 [generic bits/local_lim.h] (before-compile): Do not append to
22959 variable.
22960 [generic bits/local_lim.h] (common-generated): Likewise.
22961 [generic sys/param.h] (before-compile): Do not append to variable.
22962 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22963 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22966 include.
22967 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22968 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22969 [generic sys/param.h] ($(addprefix
22970 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22971 [generic sys/param.h] (common-generated): Do not append to
22972 variable.
22973 [generic sys/param.h] (sysdep_headers): Likewise.
22974 [generic bits/errno.h] (before-compile): Do not append to
22975 variable.
22976 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22977 rule.
22978 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22979 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22980 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22981 [generic bits/errno.h] (common-generated): Do not append to
22982 variable.
22983 [generic bits/ioctls.h] (before-compile): Do not append to
22984 variable.
22985 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22986 rule.
22987 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22988 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22990 rule.
22991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22992 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22993 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22994 [generic bits/ioctls.h] (common-generated): Do not append to
22995 variable.
22996 [generic sys/syscall.h] (syscall.h): Remove variable.
22997 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22998 rule.
22999 [generic sys/syscall.h] (before-compile): Do not append to
23000 variable.
23001 [generic sys/syscall.h] (common-generated): Likewise.
23002 * sysdeps/unix/errnos-tmpl.c: Remove file.
23003 * sysdeps/unix/errnos.awk: Likewise.
23004 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23005 * sysdeps/unix/ioctls.awk: Likewise.
23006 * sysdeps/unix/mk-local_lim.c: Likewise.
23007 * sysdeps/unix/snarf-ioctls: Likewise.
23008
4851a949
RH
230092012-03-19 Richard Henderson <rth@twiddle.net>
23010
bd37f2ee
RH
23011 * sysdeps/i386/fpu/fenv_private.h: New file.
23012 * sysdeps/i386/fpu/math_private.h: Use it.
23013 (math_opt_barrier, math_force_eval): Remove.
23014 (libc_feholdexcept_setround_53bit): Remove.
23015 (libc_feupdateenv_53bit): Remove.
23016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23017 (math_opt_barrier, math_force_eval): Remove.
23018 (libc_feholdexcept): Remove.
23019 (libc_feholdexcept_setround): Remove.
23020 (libc_fetestexcept, libc_fesetenv): Remove.
23021 (libc_feupdateenv_test): Remove.
23022 (libc_feupdateenv, libc_feholdsetround): Remove.
23023 (libc_feresetround): Remove.
23024
d0adc922
RH
23025 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23026 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23027
0fe0f1f8
RH
23028 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23029 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23030 (libc_feupdateenv_testl): New.
23031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23032 (libc_feupdateenv_testf): New.
23033 (libc_feupdateenv): Use libc_feupdateenv_test.
23034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23036
eb92c487
RH
23037 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23038 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23039 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23040 (libc_feresetround_noex): New.
23041 (libc_feresetround_noexf): New.
23042 (libc_feresetround_noexl): New.
23043 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23044 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23045 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23046 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23047 SET_RESTORE_ROUND.
23048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23050 (__cos): Likewise.
23051 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23053 SET_RESTORE_ROUND_NOEX.
23054 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23055 SET_RESTORE_ROUND_NOEXF.
23056 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23057 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23058 (libc_feholdsetroundf): New.
23059 (libc_feresetround, libc_feresetroundf): New.
23060
7d2e8012
RH
23061 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23062 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23063 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23064
b4dabbb4
RH
23065 * sysdeps/generic/math_private.h: Include <fenv.h>.
23066 (default_libc_feholdexcept): New.
23067 (default_libc_feholdexcept_setround): New.
23068 (default_libc_fesetenv, default_libc_feupdateenv): New.
23069 (libc_feholdexcept): Only define if undefined.
23070 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23071 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23072 (libc_feholdexcept_setroundl): Likewise.
23073 (libc_feholdexcept_setround_53bit): Likewise.
23074 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23075 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23076 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23077 (libc_feupdateenv_53bit): Likewise.
23078 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23079 (libc_feholdexcept): Convert from macro to inline function.
23080 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23081 (libc_fesetenv, libc_feupdateenv): Likewise.
23082
4851a949
RH
23083 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23084 not previously defined.
23085 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23086 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23087 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23089 * sysdeps/ieee754/flt-32/math_private.h: New file.
23090 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23091 math_private.h below SET_FLOAT_WORD.
23092 (__isnan, __isinf_ns, __finite): Remove.
23093 (__isnanf, __isinf_nsf, __finitef): Remove.
23094
e79d442e
AS
230952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23096
23097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23098
90b80344
DM
230992012-03-17 David S. Miller <davem@davemloft.net>
23100
23101 [BZ #6471]
23102 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23103 for 2.16.
23104
edc21804
DM
231052012-03-16 David S. Miller <davem@davemloft.net>
23106
77e927af
DM
23107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23108 warnings.
23109
374976dd
DM
23110 [BZ #6471]
23111 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23112 properly.
23113 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23114 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23115 sysdep_routines when subdir is sysvipc.
23116 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23117 __getshmlba helper.
23118
edc21804
DM
23119 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23120
473c3ef3
L
231212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23124 [__LP64__].
23125
eb0f39b6
L
231262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23129 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23130 (__lround): Renamed to ...
23131 (__llround): This. Replace long int with long long int.
23132 Define lround functions as aliases of llround functions.
23133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23134
6b6cd74b
L
231352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23136
23137 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23138 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23139 adresses to uintptr_t. Replace "long int" and "unsigned long
23140 int" with "greg_t" on va_arg.
23141
f1a77b01
L
231422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23143
23144 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23145 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23146
23147 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23148 Move e_machine check before EI_CLASS check. Handle x32
23149 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23150 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23151 SKIP_EM_IA_64 and include
23152 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23153
23154 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23155 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23156 (add_system_dir): New macro.
23157
23158 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23160
11b90b9f
JM
231612012-03-16 Joseph Myers <joseph@codesourcery.com>
23162
c36e1d23
JM
23163 [BZ #2551]
23164 [BZ #2552]
23165 [BZ #2553]
23166 [BZ #2554]
23167 [BZ #2562]
23168 [BZ #2563]
23169 [BZ #2565]
23170 [BZ #2566]
23171 [BZ #2576]
23172 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23173 (y0): Likewise.
23174 * math/w_j0f.c (j0f): Likewise.
23175 (y0f): Likewise.
23176 * math/w_j0l.c (__j0l): Likewise.
23177 (__y0l): Likewise.
23178 * math/w_j1.c (j1): Likewise.
23179 (y1): Likewise.
23180 * math/w_j1f.c (j1f): Likewise.
23181 (y1f): Likewise.
23182 * math/w_j1l.c (__j1l): Likewise.
23183 (__y1l): Likewise.
23184 * math/w_jn.c (jn): Likewise.
23185 (yn): Likewise.
23186 * math/w_jnf.c (jnf): Likewise.
23187 (ynf): Likewise.
23188 * math/w_jnl.c (__jnl): Likewise.
23189 (__ynl): Likewise.
23190 * math/libm-test.inc (j0_test): Add more tests.
23191 (j1_test): Likewise.
23192 (jn_test): Likewise. Add trailing semicolon to existing test.
23193 (y0_test): Likewise.
23194 (y1_test): Likewise.
23195 * sysdeps/i386/fpu/libm-test-ulps: Update.
23196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197
11b90b9f
JM
23198 [BZ #13851]
23199 [BZ #13854]
23200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23201 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23202 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23203 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23204 (__tanl): Set errno for infinite argument.
23205 * sysdeps/i386/fpu/mptan.c: Remove.
23206 * sysdeps/i386/fpu/s_tan.S: Likewise.
23207 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23208 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23209 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23210 * math/libm-test.inc (tan_test): Add more tests and enable more
23211 tests for double and long double.
23212 * sysdeps/i386/fpu/libm-test-ulps: Update.
23213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23214
6a1bd2a1
JK
232152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23216
23217 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23218 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23219
10a803e0
RM
232202012-03-16 Roland McGrath <roland@hack.frob.com>
23221
23222 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23223 * configure.in: Use it for both main tree and add-ons.
23224 * configure: Regenerated.
23225
f196c7f7
L
232262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23229
8848d99d
JM
232302012-03-16 Joseph Myers <joseph@codesourcery.com>
23231
96cbe7f4
JM
23232 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23233 in comment.
23234
8848d99d
JM
23235 [BZ #13851]
23236 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23237 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23241 infinite argument.
23242 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23244 != 0 for prec == 2.
23245 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23246 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23247 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23248 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23249 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23250 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23251 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23252 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23253 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23254 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23255 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23256 * math/libm-test.inc (cos_test): Add more tests and enable more
23257 tests for long double.
23258 (sin_test): Likewise.
23259 (sincos_test): Likewise.
23260 * sysdeps/i386/fpu/libm-test-ulps: Update.
23261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23262
dd7f4703
DM
232632012-03-16 David S. Miller <davem@davemloft.net>
23264
23265 * sysdeps/sparc/fpu/math_private.h: New file.
23266
006f1daa
DM
232672012-03-15 David S. Miller <davem@davemloft.net>
23268
c0c83bc8
DM
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23270 file.
e6a62e18 23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23273 file.
e6a62e18
DM
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23280 sysdep routines.
23281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23282
88cb87d9
DM
23283 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23284 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23285
006f1daa 23286 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23288 sparc-ifunc.h
006f1daa 23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23291 Likewise.
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23293 Likewise.
006f1daa
DM
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23298 Likewise.
006f1daa
DM
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23304 Likewise.
23305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23306 Likewise.
006f1daa
DM
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23331
11e0098e
AS
233322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23333
23334 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23335 scaling.
23336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23337
e85b09d0
AJ
233382012-03-15 Andreas Jaeger <aj@suse.de>
23339
23340 [BZ #13852]
23341 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23342 ieee754/flt-32 implementation for sin, cos and sincos.
23343 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23344 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23345 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23346 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23347 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23348 ieee754/flt-32 implementation for tan.
23349
23350 * math/libm-test.inc (cos_test): Enable some large input tests for
23351 float as well
23352 (sin_test): Likewise.
23353 (sincos_test): Likewise.
23354 (tan_test): Add tests for large input.
23355
23356 * sysdeps/i386/fpu/libm-test-ulps: Update.
23357
81c64153
AJ
233582012-03-15 Andreas Jaeger <aj@suse.de>
23359
23360 [BZ #13658]
23361 * math/libm-test.inc (cos_test): Add more test cases.
23362 (sin_test): Likewise.
23363 (sincos_test): Likewise.
23364
7bbfa5c6
AJ
233652012-03-15 Andreas Jaeger <aj@suse.de>
23366
23367 [BZ #13837]
23368 * math/libm-test.inc (cos_test): Add a test case for large input
23369 value.
23370 (sin_test): Likewise.
23371 (sincos_test): Likewise.
23372
233732012-03-15 Andreas Jaeger <aj@suse.de>,
23374 Joseph Myers <joseph@codesourcery.com>
23375
23376 [BZ #13658]
0671f479 23377 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23378 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23379 * sysdeps/i386/fpu/branred.c: Likewise.
23380 * sysdeps/i386/fpu/dosincos.c: Likewise.
23381 * sysdeps/i386/fpu/mpa.c: Likewise.
23382 * sysdeps/i386/fpu/s_cos.S: Likewise.
23383 * sysdeps/i386/fpu/s_sin.S: Likewise.
23384 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23385 * sysdeps/i386/fpu/sincos32.c: Likewise.
23386
23387 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23388 Define.
23389 (libc_feupdateenv_53bit): Define.
23390 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23391 Define.
23392 (libc_feupdateenv_53bit): Define.
23393
23394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23395 53 bit (without extend i386 double precision).
23396
23397 * math/libm-test.inc (sincos_test): Add tests for large input.
23398 (sin): Likewise.
23399 (cos): Likewise.
23400
23401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23402
9cad04ea
AS
234032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23404
23405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23406
f7062b9a
DM
234072012-03-15 David S. Miller <davem@davemloft.net>
23408
23409 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23411 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23412 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23425 file.
f7062b9a 23426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23428 file.
f7062b9a 23429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23431 file.
f7062b9a 23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23434 file.
f7062b9a
DM
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23437 fmin/fmax sysdep routines.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23439
7bd951ff
DM
234402012-03-14 David S. Miller <davem@davemloft.net>
23441
559398ab
DM
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23471 routines.
23472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23473 file.
559398ab 23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23476 file.
559398ab 23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23479 file.
559398ab 23480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23482 file.
559398ab 23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23485 file.
559398ab 23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23488 file.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23490 file.
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23492 file.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23494 file.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23496 New file.
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23498 file.
23499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23500 file.
559398ab 23501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23503 file.
559398ab 23504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23506 file.
559398ab 23507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23509 file.
559398ab 23510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23512 VIS3 routines.
559398ab
DM
23513
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23515 New file.
23516
5a1c1e32
DM
23517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23518
eae47a36
DM
23519 * sysdeps/sparc/configure.in: New file.
23520 * sysdeps/sparc/configure: Generate.
23521 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23522 * configure: Regenerate.
23523 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23524 * config.make.in (have-as-vis3): New.
23525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23526 available use -Av9d instead of -Av9a.
23527 * sysdeps/sparc/sparc64/Makefile: Likewise.
23528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23530 New file.
23531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23532 file.
23533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23534 New file.
23535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23536 file.
eae47a36
DM
23537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23542
c0c83bc8
DM
23543 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23544 fzeros/fnegs to load 0x80000000 into a float register instead of
23545 using the stack.
7bd951ff
DM
23546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23547
bd951ccb
JM
235482012-03-14 Joseph Myers <joseph@codesourcery.com>
23549
23550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23551 bits/syscall.h.
23552 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23553 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23554 ($(inst_includedir)/bits/syscall.h): Remove rule.
23555 ($(objpfx)bits/syscall.d): Include instead of
23556 $(objpfx)syscall-list.d.
23557 (generated): Change syscall-list.h and syscall-list.d to
23558 bits/syscall.h and bits/syscall.d.
23559
bb4e6db2
RM
235602012-03-14 Roland McGrath <roland@hack.frob.com>
23561
23562 [BZ #13846]
23563 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23564
aa4a2ae1
JM
235652012-03-14 Joseph Myers <joseph@codesourcery.com>
23566
e456826d
JM
23567 [BZ #13841]
23568 * math/s_csqrt.c: Include <float.h>.
23569 (__csqrt): Scale large or subnormal inputs.
23570 * math/s_csqrtf.c: Likewise.
23571 * math/s_csqrtl.c: Likewise.
23572 * math/libm-test.inc (csqrt_test): Add more tests.
23573 * sysdeps/i386/fpu/libm-test-ulps: Update.
23574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23575
aa4a2ae1
JM
23576 [BZ #13840]
23577 * math/libm-test.inc (hypot_test): Add more tests.
23578
7c10fd35
DM
235792012-03-13 David S. Miller <davem@davemloft.net>
23580
23581 [BZ #13840]
23582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23583 double-precision for the calculation instead of scaling.
23584
f453b98b
JM
235852012-03-13 Joseph Myers <joseph@codesourcery.com>
23586
23587 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23588 manipulate bits before adding and subtracting TWO52[sx].
23589 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23591 Likewise.
23592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23593
09a3453f
DM
235942012-03-13 David S. Miller <davem@davemloft.net>
23595
8e59da90
DM
23596 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23597 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23599 rtld-global-offsets.h
23600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23601
2a8ab7f2
DM
23602 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23603 large parameters.
23604
10f62770
DM
23605 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23606
5f0bdb18
DM
23607 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23608 'err' in the ifdef scope in which it is actually used.
23609
09a3453f
DM
23610 * nss/nss_db/db-init.c: Include string.h
23611
b4b2eb5e
DM
236122012-03-12 David S. Miller <davem@davemloft.net>
23613
98bb2f1c
DM
23614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23615 masking out of the most significant byte of random value used.
23616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23617 Fix coding style in previous change.
23618
b4b2eb5e
DM
23619 * sysdeps/unix/sysv/linux/kernel-features.h
23620 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23621 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23622 expression.
23623 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23624 later.
23625
6e226b09
DM
236262012-03-11 David S. Miller <davem@davemloft.net>
23627
a1bcbd40
DM
23628 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23629 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23631 for 'resultvar' otherwise things get truncated on 64-bit.
23632
cb9d6174
DM
23633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23634 Fix masking out of the most significant byte of random value used.
23635
6e226b09
DM
23636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23637
058c132d
AS
236382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23639
23640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23641
2d2cd515
DM
236422012-03-09 David S. Miller <davem@davemloft.net>
23643
23644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23645 variables with appropriate CPP guards.
23646 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23647 frame pointer, not the stack pointer. Correct layout comments. Fix test
23648 on resulting framesize and the management of the outregs buffer for pltexit.
23649 Preserve floating point return values across _dl_call_pltexit call.
23650 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23651 framesize and the management of the outregs buffer for pltexit.
23652 Preserve floating point return values across _dl_call_pltexit
23653 call.
23654 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23655 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23656 (print_exit): Fix format string for return register value.
23657
9a07f9d0
JM
236582012-03-10 Joseph Myers <joseph@codesourcery.com>
23659
23660 * sunrpc/Makefile (others): Add rpcgen.
23661 ($(objpfx)rpcgen): Remove special build rule and dependency on
23662 libc.
23663 * sunrpc/rpcgen.c: New file.
23664
547b5e30
PE
236652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23666
c524201a
PE
23667 [BZ #13673]
23668 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23669 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23670 * sysdeps/i386/crti.S: Likewise.
23671 * sysdeps/i386/crtn.S: Likewise.
23672 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23673 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23674 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23675 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23676 * sysdeps/sh/crti.S: Likewise.
23677 * sysdeps/sh/crtn.S: Likewise.
23678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23679
7b6235f2
PE
23680 [BZ #13673]
23681 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23682 with URL.
23683 * locale/programs/locfile-kw.gperf: Likewise.
23684 * locale/programs/charmap-kw.h: Regenerated.
23685 * locale/programs/locfile-kw.h: Likewise.
23686
547b5e30
PE
23687 [BZ #13673]
23688 * intl/plural.y: Replace FSF snail mail address with URL.
23689 * intl/plural.c: Regenerated.
23690
5f0a5dae
RH
236912012-03-09 Richard Henderson <rth@twiddle.net>
23692
23693 * include/math_private.h: Remove file.
23694 * math/math_private.h: Move file ...
23695 * sysdeps/generic/math_private.h: ... here.
23696
b8c03620
RH
23697 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23698 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23700
4e234f5d 23701 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23702 and <math_private.h>.
23703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23820 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23826 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23830 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23834 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23841 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23843 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23846 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23847 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23851 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23852 * sysdeps/ieee754/k_standard.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24002 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24013 * sysdeps/ieee754/s_lib_version.c: Likewise.
24014 * sysdeps/ieee754/s_matherr.c: Likewise.
24015 * sysdeps/ieee754/s_signgam.c: Likewise.
24016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24019 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24020 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24022 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24023 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24024 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24027 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24030 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24037
1991fa03
JM
240382012-03-09 Joseph Myers <joseph@codesourcery.com>
24039
24040 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24041 * sunrpc/rpc_main.c: Likewise.
24042 * sunrpc/rpc_svcout.c: Likewise.
24043
60d6f5a6
DM
240442012-03-09 David S. Miller <davem@davemloft.net>
24045
24046 * include/math_private.h: New file.
24047
4962050e
JM
240482012-03-09 Joseph Myers <joseph@codesourcery.com>
24049
02a6f887
JM
24050 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24051 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24052 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24053 from <bits/socket_type.h>.
24054 (enum __socket_type): Don't define here.
24055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24057 bits/socket_type.h.
24058
c6e013c1
JM
24059 [BZ #13566]
24060 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24061 checking __USE_GNU.
24062
4962050e
JM
24063 * Makerules ($(inst_includedir)/%.h): New rule.
24064 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24065 (install-others): Remove variable setting.
24066 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24067
38842f45
RH
240682012-03-08 Richard Henderson <rth@twiddle.net>
24069
67bb6da6
RH
24070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24071 from macro to inline function; merge with the
24072 !__LIBC_INTERNAL_MATH_INLINES version.
24073 (__ieee754_sqrtf): Likewise.
24074
15194b4b
RH
24075 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24076 to inline function.
24077 (__rintf, __floor, __floorf): Likewise.
24078
64e21ede
RH
24079 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24080 macro to inline function.
24081 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24082
38842f45
RH
24083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24084 not <math/math_private.h>.
24085
c64bf5fe
DM
240862012-03-08 David S. Miller <davem@davemloft.net>
24087
24088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24089 copyright year.
24090 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24091
82d86f28
TS
240922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24093
24094 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24095 normalization.
24096 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24097 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24098
aea5d727
UD
240992012-03-08 Ulrich Drepper <drepper@gmail.com>
24100
24101 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24102 be defined individually, they must be defined as a block. Define
24103 S for printing a string instead of hidint the different by using a
24104 macro for adding the 'l'.
24105 * stdio-common/tst-fphex-wide.c: Adjust.
24106
70bca0a3
MP
241072012-03-07 Marek Polacek <polacek@redhat.com>
24108
24109 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24110
65b81130
MP
241112012-03-08 Marek Polacek <polacek@redhat.com>
24112
24113 [BZ #13806]
24114 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24115 * stdio-common/tst-fphex.c: Define a few macros to make the
24116 test reusable. Use them.
24117 * stdio-common/tst-fphex-wide.c: New file.
24118
07037eeb
JM
241192012-03-08 Joseph Myers <joseph@codesourcery.com>
24120
a7a93d50
JM
24121 [BZ #6911]
24122 * manual/macros.texi (gnusystems): New macro.
24123 (nongnusystems): Likewise.
24124 (gnulinuxhurdsystems): Likewise.
24125 (gnuhurdsystems): Likewise..
24126 (gnulinuxsystems): Likewise.
24127 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24128 variants of the GNU system, not "GNU system".
24129 * manual/conf.texi: Likewise.
24130 * manual/errno.texi: Likewise. Update example of errno macro
24131 expansion.
24132 * manual/filesys.texi: Likewise.
24133 (getumask): Document as specific to GNU/Hurd.
24134 * manual/install.texi: Likewise. Reword some references to
24135 GNU/Linux.
24136 * manual/intro.texi: Likewise.
24137 * manual/io.texi: Likewise.
24138 (File Name Portability): Detail which constraints are inapplicable
24139 to all GNU systems and which are only inapplicable to GNU/Hurd.
24140 * manual/job.texi: Likewise.
24141 * manual/llio.texi: Likewise.
24142 (O_NOCTTY): Document as present on GNU/Linux.
24143 * manual/maint.texi: Likewise.
24144 * manual/memory.texi: Likewise.
24145 * manual/pattern.texi: Likewise.
24146 * manual/pipe.texi: Likewise.
24147 * manual/process.texi: Likewise.
24148 * manual/resource.texi: Likewise.
24149 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24150 child on GNU/Hurd.
24151 * manual/setjmp.texi: Likewise.
24152 * manual/signal.texi: Likewise.
24153 * manual/startup.texi: Likewise.
24154 * manual/stdio.texi: Likewise.
24155 * manual/terminal.texi: Likewise.
24156 (ONLCR): Document as POSIX.
24157 (OXTABS): Document availability on GNU/Linux as XTABS.
24158 (ONOEOT): Document availability separately from other bits.
24159 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24160 * manual/time.texi: Likewise.
24161 * manual/users.texi: Likewise.
24162 * INSTALL: Regenerated.
24163 * sysdeps/gnu/errlist.c: Regenerated.
24164
07037eeb
JM
24165 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24166 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24167 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24168 puts.
24169 * configure: Regenerated.
24170
d1d3431a
JM
241712012-03-07 Joseph Myers <joseph@codesourcery.com>
24172
af6a1e37
JM
24173 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24174 default includes instead of AC_HEADER_CHECK.
24175 * sysdeps/i386/configure: Regenerated.
24176
d1d3431a
JM
24177 [BZ #10716]
24178 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24179 * math/s_cacoshf.c (__cacoshf): Likewise.
24180 * math/s_cacoshl.c (__cacoshl): Likewise.
24181 * math/s_casinh.c (__casinh): Set signs of result from argument.
24182 * math/s_casinhf.c (__casinhf): Likewise.
24183 * math/s_casinhl.c (__casinhl): Likewise.
24184 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24185 (casinh_test): Add more tests.
24186 * sysdeps/i386/fpu/libm-test-ulps: Update.
24187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24188
482ff4da
UD
241892012-03-07 Ulrich Drepper <drepper@gmail.com>
24190
872fda05
UD
24191 * po/zh_TW.po: Update from translation team.
24192
a4300c7a
UD
24193 * login/Makefile (distribute): Remove variable.
24194 * catgets/Makefile: Likewise.
24195 * mach/Makefile: Likewise.
24196 * malloc/Makefile: Likewise.
24197 * misc/Makefile: Likewise.
24198 * iconv/Makefile: Likewise.
24199 * nscd/Makefile: Likewise.
24200 * hurd/Makefile: Likewise.
24201 * manual/Makefile: Likewise.
24202 * locale/Makefile: Likewise.
24203 * intl/Makefile: Likewise.
24204 * conform/Makefile: Likewise.
24205 * nss/Makefile: Likewise.
24206 * time/Makefile: Likewise.
24207 * soft-fp/Makefile: Likewise.
24208 * dirent/Makefile: Likewise.
24209 * gmon/Makefile: Likewise.
24210 * po/Makefile: Likewise.
24211 * rt/Makefile: Likewise.
24212 * socket/Makefile: Likewise.
24213 * math/Makefile: Likewise.
24214 * signal/Makefile: Likewise.
24215 * debug/Makefile: Likewise.
24216 * elf/Makefile: Likewise.
24217 * timezone/Makefile: Likewise.
24218 * stdlib/Makefile: Likewise.
24219 * iconvdata/Makefile: Likewise.
24220 * sunrpc/Makefile: Likewise.
24221 * io/Makefile: Likewise.
24222 * argp/Makefile: Likewise.
24223 * inet/Makefile: Likewise.
24224 * hesiod/Makefile: Likewise.
24225 * grp/Makefile: Likewise.
24226 * csu/Makefile: Likewise.
24227 * wctype/Makefile: Likewise.
24228 * crypt/Makefile: Likewise.
24229 * libio/Makefile: Likewise.
24230 * string/Makefile: Likewise.
24231 * nis/Makefile: Likewise.
24232 * resolv/Makefile: Likewise.
24233 * stdio-common/Makefile: Likewise.
24234 * wcsmbs/Makefile: Likewise.
24235 * dlfcn/Makefile: Likewise.
24236 * posix/Makefile: Likewise.
24237
3b7c4e74 24238 [BZ #6959]
482ff4da
UD
24239 * timezone/Makefile: Don't install timezone files, just the programs
24240 and scripts.
24241
f72ed77d
UD
242422012-03-06 Ulrich Drepper <drepper@gmail.com>
24243
a000466f
UD
24244 * nss/databases.def: Add missing gshadow entry.
24245
f72ed77d
UD
24246 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24247
a53b7a4e
MP
242482012-03-06 Marek Polacek <polacek@redhat.com>
24249
24250 [BZ #13726]
24251 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24252 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24253 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24254 * stdio-common/tst-long-dbl-fphex.c: New file.
24255
e9258400
DM
242562012-03-06 David S. Miller <davem@davemloft.net>
24257
24258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24259 (set_obp_int): New function.
24260 (get_obp_int): New function.
24261 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24263 Avoid unused variable warnings on 'val' and use builtin_expect.
24264 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24265 __builtin_expect.
e9258400
DM
24266 (INLINE_CLONE_SYSCALL): Likewise.
24267
3bd2c723
DM
242682012-03-05 David S. Miller <davem@davemloft.net>
24269
24270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24271
bbb78d03
AS
242722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24273
884c5db4
AS
24274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24275
bbb78d03
AS
24276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24277 only for |x| >= 40.
24278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24279
1c9f702a 242802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24281
24282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24283 Replace gettimeofday with __vdso_gettimeofday.
24284
7be16f82
RM
24285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24286 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24287 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24288
24289 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24290 time with __vdso_time.
24291
ed58a00f
JM
242922012-03-05 Joseph Myers <joseph@codesourcery.com>
24293
24294 * manual/lang.texi (size_t): Note types to which size_t may be
24295 equivalent with the GNU C Library, but do not describe when
24296 differences between them are significant.
24297
30ee4ced
AJ
242982012-03-05 Andreas Jaeger <aj@suse.de>
24299
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301
b7cd39e8
JM
243022012-03-05 Joseph Myers <joseph@codesourcery.com>
24303
24304 [BZ #3976]
24305 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24306 (__ieee754_pow): Save and restore rounding mode and use
24307 round-to-nearest for main computations.
24308 * math/libm-test.inc (pow_test_tonearest): New function.
24309 (pow_test_towardzero): Likewise.
24310 (pow_test_downward): Likewise.
24311 (pow_test_upward): Likewise.
24312 (main): Call the new functions.
24313 * sysdeps/i386/fpu/libm-test-ulps: Update.
24314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24315
24316 [BZ #3976]
24317 * math/libm-test.inc (cosh_test_tonearest): New function.
24318 (cosh_test_towardzero): Likewise.
24319 (cosh_test_downward): Likewise.
24320 (cosh_test_upward): Likewise.
24321 (sinh_test_tonearest): Likewise.
24322 (sinh_test_towardzero): Likewise.
24323 (sinh_test_downward): Likewise.
24324 (sinh_test_upward): Likewise.
24325 (main): Call the new functions.
24326 * sysdeps/i386/fpu/libm-test-ulps: Update.
24327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24328
6c6a98c9
TV
243292012-03-05 Tom de Vries <tom@codesourcery.com>
24330
24331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24332 default stack guard is set in last bytes.
24333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24334
21bb2d2e 243352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24336
21bb2d2e 24337 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24338
21bb2d2e
AJ
24339 [BZ #13656]
24340 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24341 possibly allocate from heap instead of stack.
24342 * stdio-common/bug-vfprintf-nargs.c: New file.
24343 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24344
c6922934
AS
243452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24346
24347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24348
bc957d53
MP
243492012-03-03 Marek Polacek <polacek@redhat.com>
24350
24351 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24352 * math/math_private.h: Likewise.
24353 * stdlib/tst-strtod.c: Likewise.
24354 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24355 * sysdeps/x86_64/bits/atomic.h: Likewise.
24356
6358490d
DM
243572012-03-02 David S. Miller <davem@davemloft.net>
24358
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24363 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24364 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24366 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24367
01ae168d
RM
243682012-03-02 Roland McGrath <roland@hack.frob.com>
24369
d9a17c07
RM
24370 [BZ #13792]
24371 * manual/examples/README: New file, says the example source files
24372 can be used under GPL>=2.
24373 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24374 line containing just "*/".
24375 * manual/examples/add.c: Add copyright header (GPL>=2).
24376 * manual/examples/argp-ex1.c: Likewise.
24377 * manual/examples/argp-ex2.c: Likewise.
24378 * manual/examples/argp-ex3.c: Likewise.
24379 * manual/examples/argp-ex4.c: Likewise.
24380 * manual/examples/atexit.c: Likewise.
24381 * manual/examples/db.c: Likewise.
24382 * manual/examples/dir.c: Likewise.
24383 * manual/examples/dir2.c: Likewise.
24384 * manual/examples/execinfo.c: Likewise.
24385 * manual/examples/filecli.c: Likewise.
24386 * manual/examples/filesrv.c: Likewise.
24387 * manual/examples/fmtmsgexpl.c: Likewise.
24388 * manual/examples/genpass.c: Likewise.
24389 * manual/examples/inetcli.c: Likewise.
24390 * manual/examples/inetsrv.c: Likewise.
24391 * manual/examples/isockad.c: Likewise.
24392 * manual/examples/longopt.c: Likewise.
24393 * manual/examples/memopen.c: Likewise.
24394 * manual/examples/memstrm.c: Likewise.
24395 * manual/examples/mkfsock.c: Likewise.
24396 * manual/examples/mkisock.c: Likewise.
24397 * manual/examples/mygetpass.c: Likewise.
24398 * manual/examples/pipe.c: Likewise.
24399 * manual/examples/popen.c: Likewise.
24400 * manual/examples/rprintf.c: Likewise.
24401 * manual/examples/search.c: Likewise.
24402 * manual/examples/select.c: Likewise.
24403 * manual/examples/setjmp.c: Likewise.
24404 * manual/examples/sigh1.c: Likewise.
24405 * manual/examples/sigusr.c: Likewise.
24406 * manual/examples/stpcpy.c: Likewise.
24407 * manual/examples/strdupa.c: Likewise.
24408 * manual/examples/strftim.c: Likewise.
24409 * manual/examples/strncat.c: Likewise.
24410 * manual/examples/subopt.c: Likewise.
24411 * manual/examples/swapcontext.c: Likewise.
24412 * manual/examples/termios.c: Likewise.
24413 * manual/examples/testopt.c: Likewise.
24414 * manual/examples/testpass.c: Likewise.
24415 * manual/examples/timeval_subtract.c: Likewise.
24416
01ae168d
RM
24417 [BZ #13792]
24418 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24419 function to ...
24420 * manual/timeval_subtract.c.texi: ... here, new file.
24421
49efa33d
DM
244222012-03-02 David S. Miller <davem@davemloft.net>
24423
24424 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24425
28afd92d
JM
244262012-03-02 Joseph Myers <joseph@codesourcery.com>
24427
804360ed
JM
24428 [BZ #3976]
24429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24430 (__sin): Save and restore rounding mode and use round-to-nearest
24431 for all computations.
24432 (__cos): Save and restore rounding mode and use round-to-nearest
24433 for all computations.
24434 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24435 <fenv.h>.
24436 (tan): Save and restore rounding mode and use round-to-nearest for
24437 all computations.
24438 * math/libm-test.inc (cos_test_tonearest): New function.
24439 (cos_test_towardzero): Likewise.
24440 (cos_test_downward): Likewise.
24441 (cos_test_upward): Likewise.
24442 (sin_test_tonearest): Likewise.
24443 (sin_test_towardzero): Likewise.
24444 (sin_test_downward): Likewise.
24445 (sin_test_upward): Likewise.
24446 (tan_test_tonearest): Likewise.
24447 (tan_test_towardzero): Likewise.
24448 (tan_test_downward): Likewise.
24449 (tan_test_upward): Likewise.
24450 (main): Call the new functions.
24451 * sysdeps/i386/fpu/libm-test-ulps: Update.
24452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24453
a6d06d7b
JM
24454 [BZ #10135]
24455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24456 small n, then large n, before computing and testing k+n.
24457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24459 Likewise.
24460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24461 Likewise.
24462 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24470 * math/libm-test.inc (scalbn_test): Add more tests.
24471 (scalbln_test): Likewise.
24472
07e12bb3
JM
24473 * manual/filesys.texi (mode_t): Describe constraints on size and
24474 signedness, not exact equivalence to a particular type.
24475 (ino_t): Likewise.
24476 (ino64_t): Likewise.
24477 (dev_t): Likewise.
24478 (nlink_t): Likewise.
24479 (blkcnt_t): Likewise.
24480 (blkcnt64_t): Likewise.
24481 * manual/llio.texi (off_t): Likewise.
24482
28afd92d
JM
24483 [BZ #3976]
24484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24485 (__ieee754_exp): Save and restore rounding mode and use
24486 round-to-nearest for all computations.
24487 * math/libm-test.inc (exp_test_tonearest): New function.
24488 (exp_test_towardzero): Likewise.
24489 (exp_test_downward): Likewise.
24490 (exp_test_upward): Likewise.
24491 (main): Call the new functions.
24492 * sysdeps/i386/fpu/libm-test-ulps: Update.
24493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24494
b1eeb65d
CD
244952012-03-01 Chris Demetriou <cgd@google.com>
24496
24497 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24498 have predictable order.
24499
53362a4b
DM
245002012-03-01 David S. Miller <davem@davemloft.net>
24501
3c969083
DM
24502 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24503
759707de
DM
24504 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24505 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24506 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24507 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24508
dfdb8ff2
DM
24509 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24510 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24511 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24513 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24514 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24515 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24516 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24517 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24518
ead89f96
DM
24519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24520
7f66bd07
DM
24521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24522 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24524
53362a4b
DM
24525 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24533 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24534 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24535 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24541 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24542 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24543 * sysdeps/sparc/elf/configure: Regenerated.
24544
7b1902cb
JM
245452012-03-01 Joseph Myers <joseph@codesourcery.com>
24546
bec039bc
JM
24547 * configure.in (AS, LD): Require binutils 2.20 or later.
24548 * configure: Regenerated.
24549 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24550 as required minimum version.
24551 * INSTALL: Regenerated.
24552
7b1902cb
JM
24553 [BZ #2541]
24554 [BZ #4108]
24555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24556 before squaring exponent.
24557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24558 bottom long double and 27 bits of top long double before squaring
24559 exponent.
24560 * math/libm-test.inc (erfc_test): Add more tests.
24561 * sysdeps/i386/fpu/libm-test-ulps: Update.
24562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24564
f775c276
KT
245652012-03-01 Kai Tietz <ktietz@redhat.com>
24566
24567 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24568 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24569 containing bit-fields.
24570 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24571 * soft-fp/single.h (_FP_UNION_S): Likewise.
24572 * soft-fp/double.h (_FP_UNION_D): Likewise.
24573
5b8a4d4a
JM
245742012-02-29 Joseph Myers <joseph@codesourcery.com>
24575
0bab47b6
JM
24576 [BZ #13786]
24577 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24578 not include ../strcmp.S.
24579 [USE_AS_STRNCASECMP_L]: Likewise.
24580 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24581 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24582 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24583 (__strncasecmp_l_ia32): Define as alias to
24584 __strncasecmp_l_nonascii.
24585
0fcad3e2
JM
24586 [BZ #5794]
24587 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24588 * sysdeps/i386/fpu/libm-test-ulps: Update.
24589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24590
5b8a4d4a
JM
24591 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24593
8fdceb2e
JL
245942012-02-29 Jeff Law <law@redhat.com>
24595
24596 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24597 out of bounds read.
24598
1f393a11
MP
245992012-02-29 Marek Polacek <polacek@redhat.com>
24600
24601 [BZ #13706]
24602 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24603 * elf/Makefile: Add rules to run tst-unused-dep.out.
24604
8847f037
DM
246052012-02-28 David S. Miller <davem@davemloft.net>
24606
24607 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24608 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24613
169d7f11
JM
246142012-02-29 Joseph Myers <joseph@codesourcery.com>
24615
24616 * math/libm-test.inc (llround_test): Move one test from
24617 lround_test. Use TEST_f_L in moved test.
24618 (lround_test): Move misplaced test to llround_test. Add testcase
24619 from bug 2561.
24620
39adf059
UD
246212012-02-28 Ulrich Drepper <drepper@gmail.com>
24622
24623 * sysdeps/x86_64/fpu/e_expf.S: New file.
24624 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24625
71b5d1c5
SB
246262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24627
24628 [BZ #13637]
24629 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24630 of remain_len that may cause incomplete multi-byte character and
24631 false match.
24632 * posix/bug-regex33.c: New file.
24633 * posix/Makefile (tests): Add bug-regex33.
24634
1f77f049
JM
246352012-02-28 Joseph Myers <joseph@codesourcery.com>
24636
24637 * manual/macros.texi: New file.
24638 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24639 * manual/libc.texinfo: Include macros.texi.
24640 * manual/creatute.texi: Likewise.
24641 * manual/install.texi: Likewise.
24642 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24643 @glibcadj{} in references to the GNU C Library.
24644 * manual/charset.texi: Likewise.
24645 * manual/conf.texi: Likewise.
24646 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24647 when not using those macros.
24648 * manual/creature.texi: Likewise.
24649 * manual/crypt.texi: Likewise.
24650 * manual/errno.texi: Likewise.
24651 * manual/filesys.texi: Likewise.
24652 * manual/header.texi: Likewise.
24653 * manual/install.texi: Likewise.
24654 * manual/intro.texi: Likewise.
24655 * manual/io.texi: Likewise.
24656 * manual/job.texi: Likewise.
24657 * manual/lang.texi: Likewise.
24658 * manual/libc.texiinfo: Likewise.
24659 * manual/llio.texi: Likewise.
24660 * manual/locale.texi: Likewise.
24661 * manual/maint.texi: Likewise.
24662 * manual/math.texi: Likewise.
24663 * manual/memory.texi: Likewise.
24664 * manual/message.texi: Likewise.
24665 * manual/nss.texi: Likewise.
24666 * manual/pattern.texi: Likewise.
24667 * manual/process.texi: Likewise.
24668 * manual/resource.texi: Likewise.
24669 * manual/search.texi: Likewise.
24670 * manual/setjmp.texi: Likewise.
24671 * manual/signal.texi: Likewise.
24672 * manual/socket.texi: Likewise.
24673 * manual/startup.texi: Likewise.
24674 * manual/stdio.texi: Likewise.
24675 * manual/string.texi: Likewise.
24676 * manual/sysinfo.texi: Likewise.
24677 * manual/syslog.texi: Likewise.
24678 * manual/terminal.texi: Likewise.
24679 * manual/time.texi: Likewise.
24680 * manual/users.texi: Likewise.
24681 * INSTALL: Regenerated.
24682 * NOTES: Regenerated.
d40c5d54 24683 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24684
450bf206
AS
246852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24686
24687 * include/dirent.h: Include <dirstream.h> before
24688 <dirent/dirent.h>.
24689
741a235b
DM
246902012-02-28 David S. Miller <davem@davemloft.net>
24691
24692 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24693 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24694 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24696
d6b5aa58
DM
246972012-02-27 David S. Miller <davem@davemloft.net>
24698
1aff59a3
DM
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24701 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24703
d6b5aa58
DM
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24705 frame pointer instead of stack pointer relative arg slot.
24706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24709
433f48bf
CD
247102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24711
24712 [BZ #3992]
24713 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24714
d674b76d
DM
247152012-02-27 David S. Miller <davem@davemloft.net>
24716
24717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24722 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24723 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24725
0e7727f7
JM
247262012-02-27 Joseph Myers <joseph@codesourcery.com>
24727
24728 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24729 later. Allow versions 5-9.
43be4ca2 24730 * configure: Regenerated.
0e7727f7
JM
24731 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24732 required minimum version and 4.6 as recommended version. Do not
24733 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24734 * INSTALL: Regenerated.
0e7727f7 24735
a78bc654
DM
247362012-02-27 David S. Miller <davem@davemloft.net>
24737
428d5830
DM
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24744 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24746
a78bc654
DM
24747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24748 manipulate bits before adding and subtracting TWO112[sx].
24749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24750
4579f81c
RM
247512012-02-27 Roland McGrath <roland@hack.frob.com>
24752
36c8acb4
RM
24753 [BZ #13775]
24754 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24755 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24756 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24757 being in POSIX, because they are in 1003.1-2008.
24758
84ad622b
RM
24759 * rt/tst-aio.c: Include <fcntl.h>.
24760 * rt/tst-aio7.c: Likewise.
24761 * rt/tst-aio64.c: Likewise.
24762
4579f81c
RM
24763 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24764
abd923db
JM
247652012-02-27 Joseph Myers <joseph@codesourcery.com>
24766
24767 * manual/install.texi (--with-headers): Describe headers as
24768 interface headers, not private headers.
24769 (Specific advice for GNU/Linux systems): Describe use of headers
24770 from "make headers_install", not private headers from older
24771 kernels.
43be4ca2 24772 * INSTALL: Regenerated.
abd923db
JM
24773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24774 Change to 2.6.19.
24775 * sysdeps/unix/sysv/linux/configure: Regenerated.
24776
6664049b
JM
24777 * manual/llio.texi (fclean): Remove documentation.
24778
bb8b6697
JM
24779 * manual/Makefile (libc-texi-generated): New variable. Include
24780 version.texi.
24781 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24782 $(libc-texi-generated), not duplicated list of files.
24783 (version.texi, stamp-version): New rules.
24784 (realclean): Remove $(libc-texi-generated), not individual files
24785 from that list. Do not remove dir-add.texinfo.
24786 * manual/libc.texinfo: Comment out uses of edition numbers and
24787 references to printed manual. Remove last-updated dates.
24788 (EDITION): Comment out.
24789 (ISBN): Likewise.
24790 (VERSION, UPDATED): Remove.
24791 (version.texi): Include.
24792
12e5c3b9
AS
247932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24794
24795 * sysdeps/posix/spawni.c: Include <signal.h>.
24796 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24797 * sysdeps/pthread/aio_fsync.c: Likewise.
24798
4efeffc1 247992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24800
ba63ba08
UD
24801 * conform/Makefile (tests): Run only when not cross-compiling and
24802 when fast-check is not defined.
24803
d94a4670
UD
24804 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24805 * conform/data/limits.h-data: Fixes for POSIX2008.
24806 * conform/run-conformtest.sh: Run all tests.
24807 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24808 headers.
24809 * include/bits/dlfcn.h: Likewise.
24810 * include/langinfo.h: Likewise.
24811 * include/monetary.h: Likewise.
24812 * include/sys/poll.h: Likewise.
24813
24814 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24815 for __USE_GNU.
24816 * posix/spawn.h: Define __need_sigset_t.
24817 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24818 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24819 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24820 to get sigevent_t only.
24821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24822 only for __USE_GNU.
24823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24825 process_vm_writev only for __USE_GNU.
24826 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24827
24828 * conform/Makefile: For now ignore errors from run-conformtest.
24829 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24830 POSIX to avoid namespace pollution. Don't prepend headers.
24831 * conform/data/aio.h-data: Fixes for POSIX testing.
24832 * conform/data/fcntl.h-data: Likewise.
24833 * conform/data/glob.h-data: Likewise.
24834 * conform/data/grp.h-data: Likewise.
24835 * conform/data/pthread.h-data: Likewise.
24836 * conform/data/pwd.h-data: Likewise.
24837 * conform/data/signal.h-data: Likewise.
24838 * conform/data/spawn.h-data: Likewise.
24839 * conform/data/stdio.h-data: Likewise.
24840 * conform/data/stdlib.h-data: Likewise.
24841 * conform/data/stropts.h-data: Likewise.
24842 * conform/data/sys/mman.h-data: Likewise.
24843 * conform/data/sys/stat.h-data: Likewise.
24844 * conform/data/sys/types.h-data: Likewise.
24845 * conform/data/sys/wait.h-data: Likewise.
24846 * conform/data/time.h-data: Likewise.
24847 * conform/data/unistd.h-data: Likewise.
24848 * conform/data/utime.h-data: Likewise.
24849
24850 * io/sys/stat.h: fchmod was always in POSIX.
24851 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24852 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24853 * rt/aio.h: Define __need_timespec before including <time.h>.
24854 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24855 struct. Add forward declaration of pthread_attr_t and use it in
24856 sigevent.
24857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24859 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24860 always remove CLK_TCK definition.
24861
c20105c3
AS
248622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24863
24864 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24865
7a270350
UD
248662012-02-25 Ulrich Drepper <drepper@gmail.com>
24867
31341567
UD
24868 * conform/run-conformtest.sh: New file.
24869 * conform/Makefile: Run run-conformtest for tests.
24870 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24871 support.
24872
24873 * conform/data/uchar.h-data: New file.
24874 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24875 * conform/data/arpa/inet.h-data: Likewise.
24876 * conform/data/assert.h-data: Likewise.
24877 * conform/data/complex.h-data: Likewise.
24878 * conform/data/cpio.h-data: Likewise.
24879 * conform/data/ctype.h-data: Likewise.
24880 * conform/data/dirent.h-data: Likewise.
24881 * conform/data/dlfcn.h-data: Likewise.
24882 * conform/data/errno.h-data: Likewise.
24883 * conform/data/fcntl.h-data: Likewise.
24884 * conform/data/float.h-data: Likewise.
24885 * conform/data/fmtmsg.h-data: Likewise.
24886 * conform/data/fnmatch.h-data: Likewise.
24887 * conform/data/ftw.h-data: Likewise.
24888 * conform/data/glob.h-data: Likewise.
24889 * conform/data/grp.h-data: Likewise.
24890 * conform/data/iconv.h-data: Likewise.
24891 * conform/data/inttypes.h-data: Likewise.
24892 * conform/data/langinfo.h-data: Likewise.
24893 * conform/data/libgen.h-data: Likewise.
24894 * conform/data/limits.h-data: Likewise.
24895 * conform/data/locale.h-data: Likewise.
24896 * conform/data/math.h-data: Likewise.
24897 * conform/data/monetary.h-data: Likewise.
24898 * conform/data/mqueue.h-data: Likewise.
24899 * conform/data/ndbm.h-data: Likewise.
24900 * conform/data/net/if.h-data: Likewise.
24901 * conform/data/netdb.h-data: Likewise.
24902 * conform/data/netinet/in.h-data: Likewise.
24903 * conform/data/nl_types.h-data: Likewise.
24904 * conform/data/poll.h-data: Likewise.
24905 * conform/data/pthread.h-data: Likewise.
24906 * conform/data/pwd.h-data: Likewise.
24907 * conform/data/regex.h-data: Likewise.
24908 * conform/data/sched.h-data: Likewise.
24909 * conform/data/search.h-data: Likewise.
24910 * conform/data/semaphore.h-data: Likewise.
24911 * conform/data/setjmp.h-data: Likewise.
24912 * conform/data/signal.h-data: Likewise.
24913 * conform/data/spawn.h-data: Likewise.
24914 * conform/data/stdarg.h-data: Likewise.
24915 * conform/data/stdio.h-data: Likewise.
24916 * conform/data/stdlib.h-data: Likewise.
24917 * conform/data/string.h-data: Likewise.
24918 * conform/data/strings.h-data: Likewise.
24919 * conform/data/stropts.h-data: Likewise.
24920 * conform/data/sys/ipc.h-data: Likewise.
24921 * conform/data/sys/mman.h-data: Likewise.
24922 * conform/data/sys/msg.h-data: Likewise.
24923 * conform/data/sys/resource.h-data: Likewise.
24924 * conform/data/sys/select.h-data: Likewise.
24925 * conform/data/sys/sem.h-data: Likewise.
24926 * conform/data/sys/shm.h-data: Likewise.
24927 * conform/data/sys/socket.h-data: Likewise.
24928 * conform/data/sys/stat.h-data: Likewise.
24929 * conform/data/sys/statvfs.h-data: Likewise.
24930 * conform/data/sys/time.h-data: Likewise.
24931 * conform/data/sys/timeb.h-data: Likewise.
24932 * conform/data/sys/times.h-data: Likewise.
24933 * conform/data/sys/types.h-data: Likewise.
24934 * conform/data/sys/uio.h-data: Likewise.
24935 * conform/data/sys/un.h-data: Likewise.
24936 * conform/data/sys/utsname.h-data: Likewise.
24937 * conform/data/sys/wait.h-data: Likewise.
24938 * conform/data/syslog.h-data: Likewise.
24939 * conform/data/tar.h-data: Likewise.
24940 * conform/data/termios.h-data: Likewise.
24941 * conform/data/utime.h-data: Likewise.
24942 * conform/data/utmpx.h-data: Likewise.
24943 * conform/data/varargs.h-data: Likewise.
24944 * conform/data/wchar.h-data: Likewise.
24945 * conform/data/wctype.h-data: Likewise.
24946 * conform/data/wordexp.h-data: Likewise.
24947
24948 * include/stropts.h: New file.
24949 * include/uchar.h: New file.
24950 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24951 * include/assert.h: Likewise.
24952 * include/ctype.h: Likewise.
24953 * include/dirent.h: Likewise.
24954 * include/dlfcn.h: Likewise.
24955 * include/fcntl.h: Likewise.
24956 * include/fnmatch.h: Likewise.
24957 * include/glob.h: Likewise.
24958 * include/grp.h: Likewise.
24959 * include/libio.h: Likewise.
24960 * include/locale.h: Likewise.
24961 * include/math.h: Likewise.
24962 * include/net/if.h: Likewise.
24963 * include/netdb.h: Likewise.
24964 * include/netinet/in.h: Likewise.
24965 * include/pthread.h: Likewise.
24966 * include/pwd.h: Likewise.
24967 * include/regex.h: Likewise.
24968 * include/sched.h: Likewise.
24969 * include/search.h: Likewise.
24970 * include/setjmp.h: Likewise.
24971 * include/signal.h: Likewise.
24972 * include/stdio.h: Likewise.
24973 * include/stdlib.h: Likewise.
24974 * include/string.h: Likewise.
24975 * include/sys/cdefs.h: Likewise.
24976 * include/sys/mman.h: Likewise.
24977 * include/sys/msg.h: Likewise.
24978 * include/sys/resource.h: Likewise.
24979 * include/sys/select.h: Likewise.
24980 * include/sys/socket.h: Likewise.
24981 * include/sys/stat.h: Likewise.
24982 * include/sys/statvfs.h: Likewise.
24983 * include/sys/time.h: Likewise.
24984 * include/sys/times.h: Likewise.
24985 * include/sys/uio.h: Likewise.
24986 * include/sys/utsname.h: Likewise.
24987 * include/sys/wait.h: Likewise.
24988 * include/termios.h: Likewise.
24989 * include/time.h: Likewise.
24990 * include/ulimit.h: Likewise.
24991 * include/unistd.h: Likewise.
24992 * include/utime.h: Likewise.
24993 * include/wchar.h: Likewise.
24994 * include/wctype.h: Likewise.
24995 * include/wordexp.h: Likewise.
24996
24997 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24998
7a270350
UD
24999 * time/time.h: TIME_UTC must be a macro.
25000 Make timespec_get available for ISO C11 only as well.
25001
7724defc
UD
250022012-02-24 Ulrich Drepper <drepper@gmail.com>
25003
25004 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25005 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25006
6b1d1d46
JM
250072012-02-24 Joseph Myers <joseph@codesourcery.com>
25008
25009 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25010
0f8bbd69
JM
250112012-02-24 Joseph Myers <joseph@codesourcery.com>
25012
25013 * manual/texinfo.tex: Update to version 2012-01-19.16.
25014
66ab80bc
JM
250152012-02-24 Joseph Myers <joseph@codesourcery.com>
25016
25017 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25018
74981cc5
RM
250192012-02-24 Roland McGrath <roland@hack.frob.com>
25020
ee968201
RM
25021 [BZ #13738]
25022 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25023 * manual/fdl-1.3.texi: New file.
25024 * manual/fdl-1.1.texi: File removed.
25025
74981cc5
RM
25026 [BZ #13738]
25027 * manual/libc.texinfo (FDL_VERSION): New @set.
25028 Use it for mention of FDL in cover text.
25029 (Documentation License): Use it in @include file name.
25030
7bb764bc
JM
250312012-02-22 Joseph Myers <joseph@codesourcery.com>
25032 Roland McGrath <roland@hack.frob.com>
25033
25034 [BZ #5461]
25035 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25036 not LONG_LONG_MAX and LONG_LONG_MIN.
25037 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25038 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25039 name.
25040 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25041
6cbeae47
JM
250422012-02-22 Joseph Myers <joseph@codesourcery.com>
25043
25044 [BZ #2547]
25045 [BZ #11365]
25046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25047 manipulate bits before adding and subtracting TWO23[sx].
25048 * math/libm-test.inc (nearbyint_test): Add more tests.
25049
fe45ce09
JM
250502012-02-22 Joseph Myers <joseph@codesourcery.com>
25051
25052 [BZ #2548]
25053 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25054 bits before adding and subtracting TWO23[sx].
25055 * math/libm-test.inc (rint_test): Add more tests.
25056 (rint_test_tonearest): Likewise.
25057 (rint_test_towardzero): Likewise.
25058 (rint_test_downward): Likewise.
25059 (rint_test_upward: Likewise.
25060
ff3b3d82
JM
250612012-02-22 Joseph Myers <joseph@codesourcery.com>
25062
25063 [BZ #10110]
25064 * include/stdc-predef.h: New file. Extracted from features.h.
25065 * include/features.h: Include stdc-predef.h.
25066 * Makefile (headers): Add stdc-predef.h.
25067 * CONFORMANCE (Compiler limitations): Update.
25068
ef0aab35
JM
250692012-02-22 Joseph Myers <joseph@codesourcery.com>
25070
25071 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25072
58639409
DM
250732012-02-21 David S. Miller <davem@davemloft.net>
25074
25075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25077
c0e70b25
DM
250782012-02-20 David S. Miller <davem@davemloft.net>
25079
25080 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25081 using a normal save/restore sequence, rather than allocating a
25082 dummy stack frame just to store a frame pointer and restore.
25083 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25084
fb06851d
JM
250852012-02-21 Joseph Myers <joseph@codesourcery.com>
25086
25087 * manual/install.texi: Fix stray word in line-wrapped comment.
25088
7a8b71c3
DM
250892012-02-20 David S. Miller <davem@davemloft.net>
25090
d510c123
DM
25091 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25092 both binutils and gcc support GOTDATA.
25093
0722d7c2
DM
25094 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25095 "rd %pc" in the PIC register setup sequences.
25096
3d2b3019
DM
25097 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25100 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25101 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25106 (SYSCALL_ERROR_HANDLER): Likewise.
25107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25110 (SYSCALL_ERROR_HANDLER): Likewise.
25111
c80098a9
DM
25112 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25113 (HAVE_GCC_GOTDATA): New.
25114 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25115 relocation support in both binutils and gcc.
25116 * sysdeps/sparc/elf/configure: Regenerate.
25117
3a2545a0
DM
25118 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25119 * sysdeps/sparc/sparc32/elf/configure: Delete.
25120 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25121 * sysdeps/sparc/sparc64/elf/configure: Delete.
25122 * sysdeps/sparc/elf/configure.in: New file.
25123 * sysdeps/sparc/elf/configure: Generate.
25124
7a8b71c3
DM
25125 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25126 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25127 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25128 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25129 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25130
f1e86fca
JM
251312012-02-21 Joseph Myers <joseph@codesourcery.com>
25132
25133 * manual/install.texi: Do not mention specific glibc version
25134 numbers.
25135 * manual/libc.texinfo (VERSION, UPDATED): Update.
25136 (@copying): Use @copyright{} and range of years.
25137
0e7dfaef
JM
251382012-02-21 Joseph Myers <joseph@codesourcery.com>
25139
25140 [BZ #13695]
25141 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25142 [crti.S not in sysdirs] (generated): Do not append.
25143 [crti.S not in sysdirs] (omit-deps): Likewise.
25144 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25145 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25146 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25147 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25148 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25149 Likewise.
25150 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25151 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25152 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25153 * csu/defs.awk: Remove file.
25154 * sysdeps/generic/initfini.c: Likewise.
25155 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25156 variable.
25157 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25158 Likewise.
25159
599af3ca
JM
251602012-02-20 Joseph Myers <joseph@codesourcery.com>
25161
25162 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25167 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25168 <bits/epoll.h>.
25169 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25170 (__EPOLL_PACKED): Define to empty if not defined by
25171 <bits/epoll.h>.
25172 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25174 bits/epoll.h.
25175
0e499750
JM
251762012-02-20 Joseph Myers <joseph@codesourcery.com>
25177
25178 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25179 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25180 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25182 <bits/timerfd.h>.
25183 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25185 bits/timerfd.h.
25186
5ad91f6e
JM
251872012-02-20 Joseph Myers <joseph@codesourcery.com>
25188
25189 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25190 in C locale.
25191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195
06b99b02
AJ
251962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25197
25198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25200
7638c0fd
AS
252012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25202
25203 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25204 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25205 defined.
25206 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25207 Likewise.
25208 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25209 entry for 2.16.
25210
92221550
AJ
252112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25212
25213 * math/w_acos.c: Use non-signaling floating-point comparisons.
25214 * math/w_acosf.c: Likewise.
25215 * math/w_acosh.c: Likewise.
25216 * math/w_acoshf.c: Likewise.
25217 * math/w_acoshl.c: Likewise.
25218 * math/w_acosl.c: Likewise.
25219 * math/w_asin.c: Likewise.
25220 * math/w_asinf.c: Likewise.
25221 * math/w_asinl.c: Likewise.
25222 * math/w_atanh.c: Likewise.
25223 * math/w_atanhf.c: Likewise.
25224 * math/w_atanhl.c: Likewise.
25225 * math/w_exp2.c: Likewise.
25226 * math/w_exp2f.c: Likewise.
25227 * math/w_exp2l.c: Likewise.
25228 * math/w_j0.c: Likewise.
25229 * math/w_j0f.c: Likewise.
25230 * math/w_j0l.c: Likewise.
25231 * math/w_j1.c: Likewise.
25232 * math/w_j1f.c: Likewise.
25233 * math/w_j1l.c: Likewise.
25234 * math/w_jn.c: Likewise.
25235 * math/w_jnf.c: Likewise.
25236 * math/w_log.c: Likewise.
25237 * math/w_log10.c: Likewise.
25238 * math/w_log10f.c: Likewise.
25239 * math/w_log10l.c: Likewise.
25240 * math/w_log2.c: Likewise.
25241 * math/w_log2f.c: Likewise.
25242 * math/w_log2l.c: Likewise.
25243 * math/w_logf.c: Likewise.
25244 * math/w_logl.c: Likewise.
25245 * math/w_sqrt.c: Likewise.
25246 * math/w_sqrtf.c: Likewise.
25247 * math/w_sqrtl.c: Likewise.
25248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25249 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25253
ebaf36eb
JM
252542012-02-19 Joseph Myers <joseph@codesourcery.com>
25255
25256 [BZ #9739]
25257 * manual/string.texi (strnlen): Use correct parameter name in
25258 equivalent expression.
25259
71c254a6
JM
252602012-02-19 Joseph Myers <joseph@codesourcery.com>
25261
25262 [BZ #11174]
25263 * manual/users.texi (seteuid): Consistently use neweuid for
25264 argument name.
25265
16d2c631
JM
252662012-02-19 Joseph Myers <joseph@codesourcery.com>
25267
25268 [BZ #13704]
25269 * manual/nss.texi (Services in the NSS configuration): Correct
25270 list of services in example configuration file.
25271
cd837b09
NB
252722012-02-19 Nick Bowler <nbowler@draconx.ca>
25273
25274 [BZ #11322]
25275 * manual/arith.texi: Remove statements about negative zero
25276 behaving identically to zero.
25277
02c4bbad
JM
252782012-02-18 Joseph Myers <joseph@codesourcery.com>
25279
25280 [BZ #5993]
25281 * manual/install.texi: Do not document upgrading from libc5.
25282
366842e7
JM
252832012-02-18 Joseph Myers <joseph@codesourcery.com>
25284
25285 [BZ #4596]
25286 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25287
dd54084d
DM
252882012-02-18 David S. Miller <davem@davemloft.net>
25289
25290 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25291 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25292 %o7 across the call.
25293 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25294 instead.
25295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25296 SETUP_PIC_REG_LEAF.
25297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25298 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25299 * sysdeps/sparc/crtn.S: Likewise.
25300
2bcc53a3
UD
253012012-02-17 Ulrich Drepper <drepper@gmail.com>
25302
25303 * aout/Makefile: Remove.
25304
09c093b5
RK
253052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25306
25307 [BZ #13058]
25308 * manual/examples/argp-ex1.c (main): Format definition in GNU
25309 style.
25310 * manual/examples/argp-ex2.c (main): Likewise.
25311 * manual/examples/argp-ex3.c (main): Likewise.
25312 * manual/examples/argp-ex4.c (main): Likewise.
25313 * manual/examples/longopt.c (main): Use new-style prototype
25314 definition.
25315 * manual/examples/strncat.c (main): Specify return type and use
25316 (void) for arguments.
25317 * manual/examples/subopt.c (main): Use char **argv argument.
25318
2ee633a2
JM
253192012-02-17 Joseph Myers <joseph@codesourcery.com>
25320
25321 [BZ #5077]
25322 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25323 rounding modes.
25324
0520adde
FB
253252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25326
25327 [BZ #6907]
25328 * manual/string.texi (strchr): Change when strchrnul is
25329 recommended.
25330
3f4081cd
DGM
253312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25332
25333 [BZ #174]
25334 * manual/locale.texi (setlocale): Document LOCPATH.
25335
d1b10e78
JM
253362012-02-17 Joseph Myers <joseph@codesourcery.com>
25337
25338 [BZ #10210]
25339 * manual/process.texi (execle): Move @dots{} before last argument.
25340
79c6869c
PB
253412012-02-17 Paul Bolle <pebolle@tiscali.nl>
25342
25343 [BZ #12047]
25344 * manual/charset.texi (Generic Charset Conversion): Fix typo
25345 (LC_TYPE -> LC_CTYPE).
25346
cc6e48bc
NB
253472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25348
25349 [BZ #5805]
25350 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25351 (scalbnf): Likewise.
25352 (scalbnl): Likewise.
25353 (scalbln): Likewise.
25354 (scalblnf): Likewise.
25355 (scalblnl): Likewise.
25356 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25357 (vwarnx): Likewise.
25358 (verr): Likewise.
25359 (verrx): Likewise.
25360 * manual/filesys.texi (telldir): Use braces around return type.
25361 * manual/llio.texi (mmap): Add space after comma.
25362 (mmap64): Likewise.
25363 * manual/math.texi (jn): Use @var{} on parameter names.
25364 (jnf): Likewise.
25365 (jnl): Likewise.
25366 (yn): Likewise.
25367 (ynf): Likewise.
25368 (ynl): Likewise.
25369 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25370 line.
25371 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25372 "...".
25373 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25374 (sched_get_priority_max): Likewise.
25375 * manual/signal.texi (sigvec): Add space after comma.
25376 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25377 names.
25378 (if_indextoname): Likewise.
25379 (if_freenameindex): Likewise.
25380 (sendto): Use ',' instead of '.' in prototype.
25381 * manual/startup.texi (syscall): Use @dots{} instead of literal
25382 "...".
25383 * manual/stdio.texi (__fpending): Separate initial words of
25384 paragraph from @deftypefun line.
25385 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25386 "...".
25387 (vsyslog): Use @var{} on parameter names.
25388 * manual/terminal.texi (stty): Use @var{} on parameter names.
25389 * manual/users.texi (getutmp): Use @var{} on parameter names.
25390 (getutmpx): Likewise.
25391
5b23062f
JM
253922012-02-17 Joseph Myers <joseph@codesourcery.com>
25393
25394 [BZ #6884]
25395 * manual/stdio.texi (fopen): Fix typos in description of
25396 ",ccs=STRING".
25397
8dee4833
AJ
253982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25399
25400 [BZ #4026]
25401 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25402 get clock_id definition.
25403
9078ce93
TS
254042012-02-17 Thomas Schwinge <thomas@schwinge.name>
25405
25406 [BZ #4822]
25407 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25408 (madvise): Cast every argument to void on its own.
25409
3835c55f
JM
254102012-02-17 Joseph Myers <joseph@codesourcery.com>
25411
25412 [BZ #9902]
25413 * manual/startup.texi (Exit Status): Fix typo.
25414
35c47e37
JM
254152012-02-17 Joseph Myers <joseph@codesourcery.com>
25416
25417 [BZ #10140]
25418 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25419 * manual/examples/argp-ex2.c: Likewise.
25420 * manual/examples/argp-ex3.c: Likewise.
25421
e3b69ca7
RH
254222012-02-16 Richard Henderson <rth@redhat.com>
25423
25424 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25425 * sysdeps/s390/s390-32/initfini.c: Remove.
25426 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25427 * sysdeps/s390/s390-64/initfini.c: Remove.
25428
df83af67
KK
254292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25430
25431 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25432 compiler output for sysdeps/generic/initfini.c.
25433 * sysdeps/sh/elf/initfini.c: Remove file.
25434
f63f3380
DM
254352012-02-16 David S. Miller <davem@davemloft.net>
25436
fb59b3a4
DM
25437 [BZ #11494]
25438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25439
f63f3380
DM
25440 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25441 * sysdeps/sparc/crti.S: New file.
25442 * sysdeps/sparc/crtn.S: New file.
25443 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25444 * sysdeps/sparc/sparc64/Makefile: Likewise.
25445
df6a4a4a
MF
254462012-02-15 Mike Frysinger <vapier@gentoo.org>
25447
6dd8f3dc 25448 [BZ #3335]
df6a4a4a
MF
25449 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25450
1cac7236
RM
254512012-02-15 Roland McGrath <roland@hack.frob.com>
25452
d2c736f8
RM
25453 [BZ #4822]
25454 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25455
1cac7236
RM
25456 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25457 (write, read, close): Likewise.
25458 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25459
8e475601
JM
254602012-02-15 Joseph Myers <joseph@codesourcery.com>
25461
25462 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25463 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25464 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25465 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25466 <bits/signalfd.h>.
25467 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25469 bits/signalfd.h.
25470
ed656b40
MP
254712012-02-14 Marek Polacek <polacek@redhat.com>
25472
25473 * sysdeps/x86_64/crti.S: New file.
25474 * sysdeps/x86_64/crtn.S: New file.
25475 * sysdeps/x86_64/elf/initfini.c: Remove file.
25476
2a979d3a
JM
254772012-02-13 Joseph Myers <joseph@codesourcery.com>
25478
25479 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25480 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25481 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25482 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25483 <bits/inotify.h>.
25484 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25486 bits/inotify.h.
25487
2a418ac3
JM
254882012-02-13 Joseph Myers <joseph@codesourcery.com>
25489
25490 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25492 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25493 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25494 <bits/eventfd.h>.
25495 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25497 bits/eventfd.h.
25498
fb779be7
TS
254992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25500
e19e83c5
RM
25501 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25502 __feraiseexcept instead of feraiseexcept.
7c35ffed 25503
fb779be7
TS
25504 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25505 nanosleep invocations.
25506 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25507 strings, and add error checking for a nanosleep invocations.
25508
59ba27a6
PE
255092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25510
25511 Replace FSF snail mail address with URLs, as per GNU coding standards.
25512 Most of the snail mail addresses were wrong anyway, and omitting
25513 them makes the source code easier to maintain. Almost all of the
25514 changes are to license notices and to locale LC_IDENTIFICATION
25515 addresses, except for this one:
25516 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25517 not its snail mail address.
25518
57b957eb
RH
255192012-02-09 Richard Henderson <rth@twiddle.net>
25520
af850b1c
RH
25521 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25522 of kernel-features.h.
25523
57b957eb
RH
25524 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25525
6b73181a
MP
255262012-02-08 Marek Polacek <polacek@redhat.com>
25527
25528 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25529 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25530 * sysdeps/gnu/_G_config.h: Likewise.
25531 * sysdeps/generic/_G_config.h: Likewise.
25532
26ecc33a
AS
255332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25534
6c6dbc63
AS
25535 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25536 tests.
25537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25538
e216c012
AS
25539 * sysdeps/powerpc/powerpc32/crti.S: New file.
25540 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25541 * sysdeps/powerpc/powerpc64/crti.S: New file.
25542 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25543
26ecc33a
AS
25544 * Makeconfig (have-initfini): Don't set.
25545 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25546 * configure.in (nopic_initfini): Don't substitute.
25547 * config.h.in (HAVE_INITFINI): Don't #undef.
25548 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25549 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25550
3add8e13
JM
255512012-02-08 Joseph Myers <joseph@codesourcery.com>
25552
25553 Support crti.S and crtn.S provided directly by architectures.
25554 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25555 [crti.S in sysdirs] (omit-deps): Likewise.
25556 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25557 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25558 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25559 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25560 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25561 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25562 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25563 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25564 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25565 compiler output for sysdeps/generic/initfini.c.
25566 * sysdeps/i386/elf/Makefile: Remove file.
25567 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25568
a22f12b4
MP
255692012-02-07 Marek Polacek <polacek@redhat.com>
25570
25571 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25572 * sysdeps/gnu/_G_config.h: Likewise.
25573 * sysdeps/mach/hurd/_G_config.h: Likewise.
25574
148cf100
MP
255752012-02-07 Marek Polacek <polacek@redhat.com>
25576
25577 * math/Makefile (tests): Add tst-CMPLX2.
25578 * math/tst-CMPLX2.c: New file.
25579
cfdc0dd7
AS
255802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25581
84ba42c4
AS
25582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25583
cfdc0dd7
AS
25584 * math/libm-test.inc (jn_test): Add missing L suffix.
25585
622c86f4
MP
255862012-02-06 Marek Polacek <polacek@redhat.com>
25587
25588 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25589 * sysdeps/i386/fpu/e_powf.S: Likewise.
25590 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25592 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25593 * sysdeps/i386/fpu/e_pow.S: Likewise.
25594 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25596 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25598 * sysdeps/i386/fpu/e_log2.S: Likewise.
25599 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25600 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25601 * sysdeps/i386/fpu/e_powl.S: Likewise.
25602 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25605 * sysdeps/i386/fpu/e_logl.S: Likewise.
25606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25607 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25612 * sysdeps/i386/fpu/e_log.S: Likewise.
25613 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25615 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25616 * sysdeps/i386/fpu/e_logf.S: Likewise.
25617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25619 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25622 * sysdeps/i386/fpu/e_log10.S: Likewise.
25623 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25625 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25626 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25629 * sysdeps/i386/asm-syntax.h: Likewise.
25630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25633 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25634 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25639 * sysdeps/powerpc/sysdep.h: Likewise.
25640 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25642
d4a54ac6
JM
256432012-02-06 Joseph Myers <joseph@codesourcery.com>
25644
25645 [BZ #411]
25646 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25647
314054ea
JM
256482012-02-06 Joseph Myers <joseph@codesourcery.com>
25649
25650 * sysdeps/i386/sysdep.h: Include <features.h>.
25651 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25652 version.
25653
d8e0ca50
JM
256542012-02-05 Joseph Myers <joseph@codesourcery.com>
25655
25656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25657 Define.
25658 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25659 LOAD_PIC_REG_STR.
25660
b1da7dd9
JM
256612012-02-03 Joseph Myers <joseph@codesourcery.com>
25662
25663 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25664 (SETUP_PIC_REG): Use GET_PC_THUNK.
25665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25666 macro.
25667
9a1d9254
JM
256682012-02-03 Joseph Myers <joseph@codesourcery.com>
25669
25670 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25671 for non-PIC compilation.
25672 (SETUP_PIC_REG): Add .p2align directive.
25673 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25674 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25675 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25676 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25688 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25689 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25695 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25696 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25708 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25710 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25711 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25712 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25713 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25714
65dc3b75
JM
257152012-02-03 Joseph Myers <joseph@codesourcery.com>
25716
25717 * math/tst-CMPLX.c: Include <stdio.h>.
25718
d55bf177
JM
257192012-01-31 Joseph Myers <joseph@codesourcery.com>
25720
25721 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25722 float.
25723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25724 * sysdeps/sparc/bits/mathdef.h: Likewise.
25725
69db4f8f
MP
257262012-01-31 Marek Polacek <polacek@redhat.com>
25727
25728 * libio/libio.h: Don't define _PARAMS.
25729 * locale/programs/config.h: Don't define PARAMS.
25730 * stdlib/strtol_l.c: Likewise.
25731 (__strtol_l): Remove PARAMS from the prototype.
25732
41b81892
UD
257332012-01-31 Ulrich Drepper <drepper@gmail.com>
25734
3b49edc0
UD
25735 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25736 names. Just use the correct names. Remove unnecessary wrapper
25737 functions.
25738 * malloc/arena.c: Likewise.
25739 * malloc/hooks.c: Likewise.
25740
41b81892
UD
25741 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25742 ARENA_TEST says not to. Simplify test for creation of a new arena.
25743 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25744
27a25b6e
UD
257452012-01-30 Ulrich Drepper <drepper@gmail.com>
25746
25747 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25748 into tail calls.
25749 (update_get_addr): New function.
25750 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25751 GET_ADDR_MODULE parameter.
25752
c8a89e7d
JM
257532012-01-30 Joseph Myers <joseph@codesourcery.com>
25754
25755 * crypt/cert.c: Remove __STDC__ conditionals.
25756 * crypt/crypt-entry.c: Likewise.
25757 * crypt/crypt_util.c: Likewise.
25758 * libio/filedoalloc.c: Likewise.
25759 * libio/fileops.c: Likewise.
25760 * libio/genops.c: Likewise.
25761 * libio/iofclose.c: Likewise.
25762 * libio/iofdopen.c: Likewise.
25763 * libio/iofopen.c: Likewise.
25764 * libio/iofopen64.c: Likewise.
25765 * libio/iogetdelim.c: Likewise.
25766 * libio/iopopen.c: Likewise.
25767 * libio/obprintf.c: Likewise.
25768 * libio/oldfileops.c: Likewise.
25769 * libio/oldiofclose.c: Likewise.
25770 * libio/oldiofdopen.c: Likewise.
25771 * libio/oldiofopen.c: Likewise.
25772 * libio/oldiopopen.c: Likewise.
25773 * libio/wfiledoalloc.c: Likewise.
25774 * libio/wgenops.c: Likewise.
25775 * locale/programs/xmalloc.c: Likewise.
25776 * misc/syslog.c: Likewise.
25777 * stdio-common/xbug.c: Likewise.
25778 * string/memchr.c: Likewise.
25779 * string/memcmp.c: Likewise.
25780 * string/memrchr.c: Likewise.
25781 * string/rawmemchr.c: Likewise.
25782 * sysdeps/posix/getcwd.c: Likewise.
25783 * time/strftime_l.c: Likewise.
25784
3b100462
JM
257852012-01-30 Joseph Myers <joseph@codesourcery.com>
25786
25787 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25788 * config.make.in (config-cflags-sse2avx): Define.
25789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25790 Fix typo.
25791
607998af
CM
257922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25793
25794 * scripts/config.guess: Update from upstream config git repository.
25795 * scripts/config.sub: Likewise.
25796
3601428f
CM
257972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25798
3ac8b282
CM
25799 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25800 (EM_NUM): Update.
25801 (R_TILEPRO_*, R_TILEGX_*): New macros.
25802
e034841e
CM
25803 * scripts/firstversions.awk: Fix bug in version range handling.
25804
540d7568
CM
25805 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25806
3601428f
CM
25807 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25808
463de862
CM
25809 * include/sys/epoll.h: New file.
25810 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25811 libc_hidden_def.
25812
73139a76
UD
258132012-01-28 Ulrich Drepper <drepper@gmail.com>
25814
96bc5b45
UD
25815 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25816 Avoid unnecessary __WORDSIZE == 64 test.
25817 (fmaxf): Use VEX format if possible.
25818 (fmax): Likewise.
25819 (fminf): Likewise.
25820 (fmin): Likewise.
25821
56f6f6a2
UD
25822 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25823 * math/math_private.h: Remove libc_fegetround* and
25824 libc_fesetround*.
25825 * sysdeps/i386/configure.in: Check for -msse2avx.
25826 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25827 also if SSE2AVX is defined.
25828 Remove libc_fegetround* and libc_fesetround*.
25829 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25830 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25832 of HAS_YMM_USABLE.
25833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25838
73139a76
UD
25839 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25840
d73f93a4
AZ
258412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842
25843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25844 size is not set.
25845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25846
6ee65ed6
UD
258472012-01-27 Ulrich Drepper <drepper@gmail.com>
25848
25849 [BZ #13618]
25850 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25851 relocation.
25852 * Makeconfig (libm): Define.
25853 * elf/Makefile: Add rules to build and run tst-relsort1.
25854 * elf/tst-relsort1.c: New file.
25855 * elf/tst-relsort1mod1.c: New file.
25856 * elf/tst-relsort1mod2.c: New file.
25857
8db21882
JM
258582012-01-27 Joseph Myers <joseph@codesourcery.com>
25859
25860 * math/s_ldexp.c: Remove __STDC__ conditionals.
25861 * math/s_ldexpf.c: Likewise.
25862 * math/s_ldexpl.c: Likewise.
25863 * math/s_nextafter.c: Likewise.
25864 * math/s_nexttowardf.c: Likewise.
25865 * math/s_significand.c: Likewise.
25866 * math/s_significandf.c: Likewise.
25867 * math/s_significandl.c: Likewise.
25868 * math/w_jnl.c: Likewise.
25869 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25870 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25871 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25872 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25873 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25909 * sysdeps/ieee754/k_standard.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25959 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25970 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25972 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25989 * sysdeps/ieee754/s_matherr.c: Likewise.
25990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25994
965a54a4
JM
259952012-01-26 Joseph Myers <joseph@codesourcery.com>
25996
25997 * crypt/md5.h: Remove __STDC__ conditionals.
25998 * libio/libioP.h: Likewise.
25999 * locale/programs/config.h: Likewise.
26000 * sysdeps/generic/sysdep.h: Likewise.
26001 * sysdeps/i386/asm-syntax.h: Likewise.
26002 * sysdeps/s390/asm-syntax.h: Likewise.
26003 * sysdeps/unix/sysdep.h: Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26006
7071ad79
JM
260072012-01-26 Joseph Myers <joseph@codesourcery.com>
26008
26009 * libio/libio.h: Remove __STDC__ conditionals.
26010 * malloc/obstack.h: Likewise.
26011 * math/complex.h: Likewise.
26012 * math/math.h: Likewise.
26013 * sysdeps/generic/_G_config.h: Likewise.
26014 * sysdeps/gnu/_G_config.h: Likewise.
26015 * sysdeps/mach/hurd/_G_config.h: Likewise.
26016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26018 * sysdeps/sparc/bits/mathdef.h: Likewise.
26019
afc5ed09
UD
260202012-01-26 Ulrich Drepper <drepper@gmail.com>
26021
26022 [BZ #13583]
26023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26024 Clean up HAS_* macros.
afc5ed09 26025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26026 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26027 possible.
26028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26029 HAS_AVX.
26030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26035
bdb6de1d
JM
260362012-01-25 Joseph Myers <joseph@codesourcery.com>
26037
26038 * elf/tst-unique3.cc (gets): Remove declaration.
26039 * elf/tst-unique3lib.cc (gets): Likewise.
26040 * elf/tst-unique3lib2.cc (gets): Likewise.
26041 * elf/tst-unique4.cc (gets): Likewise.
26042
b15549e6
UD
260432012-01-24 Ulrich Drepper <drepper@gmail.com>
26044
26045 * include/stdio.h: Add C++ protection. Add gets declarations and
26046 definitions.
26047 * debug/tst-chk1.c: Don't declare gets here.
26048 * stdio-common/tst-gets.c: Likewise.
26049
a037381f
JM
260502012-01-24 Joseph Myers <joseph@codesourcery.com>
26051
26052 * posix/glob: Remove directory.
26053
f1d4aa75
JM
260542012-01-24 Joseph Myers <joseph@codesourcery.com>
26055
26056 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26057
81c0c964
PT
260582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26059
26060 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26061 of the non-standard EPFNOSUPPORT.
26062
0ea698ae
ST
260632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26064
26065 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26066 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26067 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26068
d220b117
UD
260692012-01-21 Ulrich Drepper <drepper@gmail.com>
26070
26071 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26072
3e1aa84e
UD
260732012-01-20 Ulrich Drepper <drepper@gmail.com>
26074
26075 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26076 transient errors.
26077 * nscd/grpcache.c (cache_addgr): Likewise.
26078 * nscd/hstcache.c (cache_addhst): Likewise.
26079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26080 * nscd/pwdcache.c (cache_addpw): Likewise.
26081 * nscd/servicescache.c (cache_addserv): Likewise.
26082
400aa020
UD
260832012-01-16 Ulrich Drepper <drepper@gmail.com>
26084
d77e7869
UD
26085 * malloc/malloc.c: Various cleanups.
26086 * malloc/hooks.c: Likewise.
26087
400aa020
UD
26088 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26089 * stdlib/bug-fmtmsg1.c: New file.
26090
26091 * stdlib/fmtmsg.c (init): Add missing unlock.
26092 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26093
e0a309cf
MP
260942012-01-12 Marek Polacek <polacek@redhat.com>
26095
26096 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26097 and _GNU_SOURCE.
26098
929d11c7
WS
260992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26100
26101 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26103 macro to ensure uniqueness of label name.
26104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26106
41d0e869
UD
261072012-01-11 Ulrich Drepper <drepper@gmail.com>
26108
0cc5ed3b
UD
26109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26110
41d0e869
UD
26111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26115
a47a831a
UD
261162012-01-10 Ulrich Drepper <drepper@gmail.com>
26117
daa891c0
UD
26118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26119
26120 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26123
e58ef0f2
UD
26124 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26125
a47a831a 26126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26127 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26130
26131 * math/bits/math-finite.h: Add ldexp support.
26132
a0bfc9c7
MP
261332012-01-10 Marek Polacek <polacek@redhat.com>
26134
26135 * locale/programs/localedef.h (show_archive_content): Add noreturn
26136 attribute.
26137
d6e97a1d
UD
261382012-01-09 Ulrich Drepper <drepper@gmail.com>
26139
26140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26141
d5835c26
UD
261422012-01-08 Ulrich Drepper <drepper@gmail.com>
26143
e5f484c6
UD
26144 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26145
d5835c26
UD
26146 * io/Makefile (headers): Add bits/poll2.h.
26147
d1f741e9
WS
261482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26149
26150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26151 typo #include statement.
26152
ec09c1c4
UD
261532012-01-08 Ulrich Drepper <drepper@gmail.com>
26154
26155 * include/sys/cdefs.h: Define __attribute_alloc_size.
26156 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26157 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26158 * elf/pldd.c: Likewise.
26159 * iconv/iconv_charmap.c: Likewise.
26160 * iconv/iconvconfig.c: Likewise.
26161 * iconv/strtab.c: Likewise.
26162 * locale/programs/locale.c: Likewise.
26163 * locale/programs/localedef.h: Likewise.
26164 * locale/programs/simple-hash.c: Likewise.
26165 * nscd/nscd.h: Likewise.
26166 * nss/makedb.c: Likewise.
26167 * sysdeps/generic/ldconfig.h: Likewise.
26168 * locale/programs/localedef.c: Remove xmalloc prototype.
26169 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26170
20b38e03
PP
261712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26172
26173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26174 appropriate.
26175
a0da5fe1
UD
261762012-01-08 Ulrich Drepper <drepper@gmail.com>
26177
1d5a644a 26178 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26179 * math/tst-CMPLX.c: New file.
1d5a644a 26180
8784a6db
UD
26181 * math/complex.h (CMPLXL): Fix typo.
26182
d9a216c0
UD
26183 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26184 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26185 GLIBC_2.16.
26186 * debug/tst-chk1.c: Add poll and ppoll tests.
26187 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26188 * include/sys/poll.h: Add hidden proto for ppoll.
26189 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26190 * sysdeps/mach/hurd/ppoll.c: Likewise.
26191 * io/ppoll.c: Likewise.
26192 * debug/poll_chk.c: New file.
26193 * debug/ppoll_chk.c: New file.
26194 * include/bits/poll2.h: New file.
26195 * io/bits/poll2.h: New file.
26196
ac097f5c
UD
26197 [BZ #1350]
26198 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26199
2119dcfa
UD
26200 * configure.in: static is always set to yes. Remove.
26201 * config.make.in: Don't set build-static.
26202 * Makeconfig: Remove use of build-static.
26203 * dlfcn/Makefile: Likewise.
26204 * elf/Makefile: Likewise.
26205 * math/Makefile: Likewise.
26206 * misc/Makefile: Likewise.
26207 * nptl/Makefile: Likewise.
26208 * sysdeps/mach/hurd/Makefile: Likewise.
26209
121766a9
UD
26210 * configure.in: PWD_P is not used anymore.
26211 * config.make.in: Remove PWD_P entry.
26212
51a1d39c 26213 * configure.in: Remove last remnants of RANLIB.
8720d066 26214 No need to check for signed size_t anymore.
215f4bdc
UD
26215 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26216 and IA-64.
3857022a 26217 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26218 * aclocal.m4: Likewise.
26219
d3ed7225
UD
26220 * wcsmbs/mbrtoc16.c: Implement using towc function.
26221 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26222 * wcsmbs/wcsmbsload.c: Likewise.
26223 * iconv/gconv_simple.c: Likewise.
26224 * iconv/gconv_int.h: Likewise.
26225 * iconv/gconv_builtin.h: Likewise.
26226 * iconv/iconv_prog.c: Remove CHAR16 handling.
26227
26228 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26229
26230 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26231
a0da5fe1
UD
26232 * configure.in: Remove --with-elf and --enable-bounded options.
26233 Dont set base_machine for ia64. More non-ELF conditions removed.
26234 Remove testing and setting of leading underscore information.
26235 * config.make.in (build-bounded): Set to no.
26236 * config.h.in: Remove NO_UNDERSCORES entry.
26237 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26238 them.
26239 * csu/start.c: Remove !NO_UNDERSCORE code.
26240 * locale/localeinfo.h: Likewise.
26241 * sysdeps/generic/machine-gmon.h: Likewise.
26242 * sysdeps/generic/sysdep.h: Likewise.
26243 * sysdeps/i386/sysdep.h: Likewise.
26244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26245 * sysdeps/mach/sysdep.h: Likewise.
26246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26248 * sysdeps/sh/sysdep.h: Likewise.
26249 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26250 * sysdeps/unix/i386/sysdep.S: Likewise.
26251 * sysdeps/unix/sparc/start.c: Likewise.
26252 * sysdeps/unix/sparc/sysdep.S: Likewise.
26253 * sysdeps/unix/sparc/sysdep.h: Likewise.
26254 * sysdeps/unix/start.c: Likewise.
26255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26256 * sysdeps/x86_64/sysdep.h: Likewise.
26257
df78418a
UD
262582012-01-07 Ulrich Drepper <drepper@gmail.com>
26259
a784e502
UD
26260 [BZ #13553]
26261 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26262 for non-gcc.
26263 * argp/argp-fmtstream.h: Use const instead __const.
26264 * argp/argp.h: Likewise.
26265 * assert/assert.h: Likewise.
26266 * bits/fenv.h: Likewise.
26267 * bits/sched.h: Likewise.
26268 * bits/sigset.h: Likewise.
26269 * bits/sigthread.h: Likewise.
26270 * catgets/nl_types.h: Likewise.
26271 * conform/data/pthread.h-data: Likewise.
26272 * crypt/crypt-private.h: Likewise.
26273 * crypt/crypt.h: Likewise.
26274 * crypt/crypt_util.c: Likewise.
26275 * ctype/ctype.h: Likewise.
26276 * debug/execinfo.h: Likewise.
26277 * debug/mbsnrtowcs_chk.c: Likewise.
26278 * debug/mbsrtowcs_chk.c: Likewise.
26279 * debug/wcsnrtombs_chk.c: Likewise.
26280 * debug/wcsrtombs_chk.c: Likewise.
26281 * debug/wcstombs_chk.c: Likewise.
26282 * dirent/dirent.h: Likewise.
26283 * dlfcn/dlfcn.h: Likewise.
26284 * elf/neededtest4.c: Likewise.
26285 * grp/grp.h: Likewise.
26286 * gshadow/gshadow.h: Likewise.
26287 * iconv/gconv.h: Likewise.
26288 * iconv/gconv_int.h: Likewise.
26289 * iconv/gconv_simple.c: Likewise.
26290 * iconv/iconv.h: Likewise.
26291 * iconv/loop.c: Likewise.
26292 * iconv/skeleton.c: Likewise.
26293 * include/aio.h: Likewise.
26294 * include/aliases.h: Likewise.
26295 * include/argz.h: Likewise.
26296 * include/arpa/inet.h: Likewise.
26297 * include/assert.h: Likewise.
26298 * include/dirent.h: Likewise.
26299 * include/dlfcn.h: Likewise.
26300 * include/execinfo.h: Likewise.
26301 * include/fcntl.h: Likewise.
26302 * include/fenv.h: Likewise.
26303 * include/glob.h: Likewise.
26304 * include/grp.h: Likewise.
26305 * include/libintl.h: Likewise.
26306 * include/mntent.h: Likewise.
26307 * include/netdb.h: Likewise.
26308 * include/pwd.h: Likewise.
26309 * include/rpc/netdb.h: Likewise.
26310 * include/sched.h: Likewise.
26311 * include/search.h: Likewise.
26312 * include/shadow.h: Likewise.
26313 * include/signal.h: Likewise.
26314 * include/stdio.h: Likewise.
26315 * include/stdlib.h: Likewise.
26316 * include/string.h: Likewise.
26317 * include/sys/socket.h: Likewise.
26318 * include/sys/stat.h: Likewise.
26319 * include/sys/statfs.h: Likewise.
26320 * include/sys/statvfs.h: Likewise.
26321 * include/sys/syslog.h: Likewise.
26322 * include/sys/time.h: Likewise.
26323 * include/sys/uio.h: Likewise.
26324 * include/time.h: Likewise.
26325 * include/unistd.h: Likewise.
26326 * include/utmp.h: Likewise.
26327 * include/wchar.h: Likewise.
26328 * include/wctype.h: Likewise.
26329 * inet/aliases.h: Likewise.
26330 * inet/arpa/inet.h: Likewise.
26331 * inet/netinet/ether.h: Likewise.
26332 * inet/netinet/in.h: Likewise.
26333 * intl/libintl.h: Likewise.
26334 * io/bits/fcntl2.h: Likewise.
26335 * io/fcntl.h: Likewise.
26336 * io/ftw.h: Likewise.
26337 * io/sys/poll.h: Likewise.
26338 * io/sys/stat.h: Likewise.
26339 * io/sys/statfs.h: Likewise.
26340 * io/sys/statvfs.h: Likewise.
26341 * io/utime.h: Likewise.
26342 * libio/bits/stdio.h: Likewise.
26343 * libio/bits/stdio2.h: Likewise.
26344 * libio/libio.h: Likewise.
26345 * libio/libioP.h: Likewise.
26346 * libio/stdio.h: Likewise.
26347 * locale/lc-ctype.c: Likewise.
26348 * locale/locale.h: Likewise.
26349 * login/utmp.h: Likewise.
26350 * malloc/arena.c: Likewise.
26351 * malloc/malloc.c: Likewise.
26352 * malloc/malloc.h: Likewise.
26353 * malloc/mcheck.c: Likewise.
26354 * malloc/mtrace.c: Likewise.
26355 * math/bits/mathcalls.h: Likewise.
26356 * math/fenv.h: Likewise.
26357 * math/math_private.h: Likewise.
26358 * misc/bits/error.h: Likewise.
26359 * misc/bits/syslog.h: Likewise.
26360 * misc/err.h: Likewise.
26361 * misc/error.h: Likewise.
26362 * misc/fstab.h: Likewise.
26363 * misc/mntent.h: Likewise.
26364 * misc/regexp.h: Likewise.
26365 * misc/search.h: Likewise.
26366 * misc/sgtty.h: Likewise.
26367 * misc/sys/mman.h: Likewise.
26368 * misc/sys/syslog.h: Likewise.
26369 * misc/sys/uio.h: Likewise.
26370 * misc/sys/xattr.h: Likewise.
26371 * misc/ttyent.h: Likewise.
26372 * nis/rpcsvc/ypclnt.h: Likewise.
26373 * nss/nss.h: Likewise.
26374 * posix/bits/unistd.h: Likewise.
26375 * posix/fnmatch.h: Likewise.
26376 * posix/glob.h: Likewise.
26377 * posix/sched.h: Likewise.
26378 * posix/spawn.h: Likewise.
26379 * posix/sys/wait.h: Likewise.
26380 * posix/unistd.h: Likewise.
26381 * posix/wordexp.h: Likewise.
26382 * pwd/pwd.h: Likewise.
26383 * resolv/netdb.h: Likewise.
26384 * resource/sys/resource.h: Likewise.
26385 * rt/aio.h: Likewise.
26386 * rt/bits/mqueue2.h: Likewise.
26387 * rt/mqueue.h: Likewise.
26388 * shadow/shadow.h: Likewise.
26389 * signal/signal.h: Likewise.
26390 * socket/send.c: Likewise.
26391 * socket/sendto.c: Likewise.
26392 * socket/sys/socket.h: Likewise.
26393 * stdio-common/printf.h: Likewise.
26394 * stdlib/bits/stdlib.h: Likewise.
26395 * stdlib/fmtmsg.h: Likewise.
26396 * stdlib/monetary.h: Likewise.
26397 * stdlib/stdlib.h: Likewise.
26398 * stdlib/ucontext.h: Likewise.
26399 * streams/stropts.h: Likewise.
26400 * string/argz.h: Likewise.
26401 * string/bits/string2.h: Likewise.
26402 * string/string.h: Likewise.
26403 * string/strings.h: Likewise.
26404 * sunrpc/rpc/auth.h: Likewise.
26405 * sunrpc/rpc/auth_des.h: Likewise.
26406 * sunrpc/rpc/clnt.h: Likewise.
26407 * sunrpc/rpc/netdb.h: Likewise.
26408 * sunrpc/rpc/pmap_clnt.h: Likewise.
26409 * sunrpc/rpc/xdr.h: Likewise.
26410 * sysdeps/generic/inttypes.h: Likewise.
26411 * sysdeps/generic/net/if.h: Likewise.
26412 * sysdeps/generic/sys/swap.h: Likewise.
26413 * sysdeps/gnu/net/if.h: Likewise.
26414 * sysdeps/gnu/utmpx.h: Likewise.
26415 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26416 * sysdeps/i386/i486/bits/string.h: Likewise.
26417 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26418 * sysdeps/s390/bits/string.h: Likewise.
26419 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26420 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26421 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26422 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26423 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26424 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26425 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26426 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26427 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26428 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26429 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26430 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26431 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26433 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26441 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26442 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26443 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26444 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26447 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26449 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26450 * sysvipc/sys/ipc.h: Likewise.
26451 * sysvipc/sys/msg.h: Likewise.
26452 * sysvipc/sys/sem.h: Likewise.
26453 * sysvipc/sys/shm.h: Likewise.
26454 * termios/termios.h: Likewise.
26455 * time/sys/time.h: Likewise.
26456 * time/time.h: Likewise.
26457 * wcsmbs/bits/wchar2.h: Likewise.
26458 * wcsmbs/uchar.h: Likewise.
26459 * wcsmbs/wchar.h: Likewise.
26460 * wctype/wctype.h: Likewise.
26461
0269750c
UD
26462 [BZ #13551]
26463 * Makeconfig: Remove all but ELF support including AIX support.
26464 * Makerules: Likewise.
26465 * config.h.in: Likewise.
26466 * config.make.in: Likewise.
26467 * configure: Likewise.
26468 * configure.in: Likewise.
26469 * csu/Makefile: Likewise.
26470 * csu/version.c: Likewise.
26471 * debug/Makefile: Likewise.
26472 * dlfcn/Makefile: Likewise.
26473 * elf/Makefile: Likewise.
26474 * extra-lib.mk: Likewise.
26475 * iconv/Makefile: Likewise.
26476 * include/libc-symbols.h: Likewise.
26477 * include/shlib-compat.h: Likewise.
26478 * resolv/Makefile: Likewise.
26479 * resolv/res_libc.c: Likewise.
26480 * rt/Makefile: Likewise.
26481 * sysdeps/i386/asm-syntax.h: Likewise.
26482 * sysdeps/i386/sysdep.h: Likewise.
26483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26484 * sysdeps/mach/sysdep.h: Likewise.
26485 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26486 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26487 * sysdeps/s390/asm-syntax.h: Likewise.
26488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26490 * sysdeps/sh/sysdep.h: Likewise.
26491 * sysdeps/unix/sparc/sysdep.h: Likewise.
26492 * sysdeps/wordsize-32/divdi3.c: Likewise.
26493 * sysdeps/x86_64/sysdep.h: Likewise.
26494
00bbd29b
UD
26495 * argp/Versions: Remove _argp_unlock_xxx.
26496
26497 [BZ #13559]
26498 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26499 * abilist/libBrokenLocale.abilist: Likewise.
26500 * abilist/libanl.abilist: Likewise.
26501 * abilist/libc.abilist: Likewise.
26502 * abilist/libcrypt.abilist: Likewise.
26503 * abilist/libdl.abilist: Likewise.
26504 * abilist/libm.abilist: Likewise.
26505 * abilist/libnsl.abilist: Likewise.
26506 * abilist/libpthread.abilist: Likewise.
26507 * abilist/libresolv.abilist: Likewise.
26508 * abilist/librt.abilist: Likewise.
26509 * abilist/libthread_db.abilist: Likewise.
26510 * abilist/libutil.abilist: Likewise.
26511 * abilist/libnss_db.abilist: New file.
26512
26513 * scripts/abilist.awk: Add support for indirect functions.
26514
a2693a0e
UD
26515 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26516
3f05895f
UD
26517 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26518
ecb6fb48
UD
26519 * shlib-versions: Remove entries for ports architectures.
26520
664f8cb9
UD
26521 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26522 files in ports.
26523 * elf/stackguard-macros.h: Remove support for IA-64.
26524 * elf/tst-auditmod1.c: Likewise.
26525 * sysdeps/generic/ldsodefs.h: Likewise.
26526
7ae81d88
UD
26527 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26528 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26529 configure files.
26530
bdeba135
UD
26531 [BZ #13552]
26532 * configure.in: Remove --enable-omitfp support.
26533 * FAQ.in: Adjust.
26534 * config.make.in: Likewise.
26535 * Makeconfig: Likewise.
26536 * manual/install.texi: Likewise.
26537
d75a0a62
UD
26538 In case anyone cares, the IA-64 architecture could move to ports.
26539 * sysdeps/ia64/*: Removed.
26540 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26541 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26542
dcc9756b
UD
26543 [BZ #13555]
26544 * configure.in: Remove entries for unsupported architectures.
26545
d3761ebc 26546 [BZ #13533]
9954432e
UD
26547 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26548 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26549 routines.
26550 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26551 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26552 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26553 fall back to using wcrtomb.
26554 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26555 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26556 renaming.
26557 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26558 * wcsmbs/tst-c16c32-1.c: New file.
26559
26560 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26561 local variable.
26562
c3a87236
UD
26563 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26564
28926a1b
UD
26565 * elf/tst-unique3.cc: Add explicit declaration of gets.
26566 * elf/tst-unique3lib.cc: Likewise.
26567 * elf/tst-unique3lib2.cc: Likewise.
26568 * elf/tst-unique4.cc: Likewise.
26569
df78418a
UD
26570 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26571
8ecd6b2a
JM
265722012-01-06 Joseph Myers <joseph@codesourcery.com>
26573
26574 [BZ #13566]
26575 * assert/assert.h (static_assert): Don't define for C++.
26576 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26577 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26578
9f115170
UD
265792012-01-03 Ulrich Drepper <drepper@gmail.com>
26580
5e0d0300
UD
26581 * iconv/loop.c (single loop): Fix assertion in storing of
26582 remaining bytes.
26583
9f115170
UD
26584 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26585
81fb02b0
UD
265862012-01-01 Ulrich Drepper <drepper@gmail.com>
26587
26588 * posix/getconf.c: Update copyright year.
26589 * nss/getent.c: Likewise.
a316c1f6 26590 * nss/makedb.c: Likewise.
81fb02b0
UD
26591 * iconv/iconvconfig.c: Likewise.
26592 * iconv/iconv_prog.c: Likewise.
26593 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26594 * elf/pldd.c: Likewise.
26595 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26596 * catgets/gencat.c: Likewise.
26597 * csu/version.c: Likewise.
26598 * elf/ldd.bash.in: Likewise.
26599 * elf/sprof.c (print_version): Likewise.
26600 * locale/programs/locale.c: Likewise.
26601 * locale/programs/localedef.c: Likewise.
a316c1f6 26602 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26603 * nscd/nscd.c (print_version): Likewise.
26604 * debug/xtrace.sh: Likewise.
26605 * malloc/memusage.sh: Likewise.
26606 * malloc/mtrace.pl: Likewise.
26607 * debug/catchsegv.sh: Likewise.
26608
2ba92745
JJ
266092011-12-30 Jakub Jelinek <jakub@redhat.com>
26610
26611 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26612 pure attribute.
26613
dadebdae
UD
266142011-12-24 Ulrich Drepper <drepper@gmail.com>
26615
d3761ebc 26616 [BZ #13533]
db6af3eb
UD
26617 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26618 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26619 transformations.
26620 * iconv/gconv_int.h: Likewise.
26621 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26622 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26623 from libc for GLIBC_2.16.
26624 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26625 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26626 * wcsmbs/uchar.h: Really define mbstate_t.
26627 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26628 * wcsmbs/c16rtomb.c: New file.
26629 * wcsmbs/mbrtoc16.c: New file.
26630 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26631 for C/POSIX locale.
26632 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26633 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26634
dadebdae
UD
26635 * wcsmbs/wchar.h: Add missing __restrict.
26636
67371b56
UD
266372011-12-23 Ulrich Drepper <drepper@gmail.com>
26638
74033a25
UD
26639 [BZ #13532]
26640 * time/Makefile (routines): Add timespec_get.
26641 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26642 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26643 timespec for ISO C11.
26644 * time/timespec_get.c: New file.
26645 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26646 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26647
380d7e87
UD
26648 [BZ #13531]
26649 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26650 * stdlib/stdlib.h: Declare aligned_alloc.
26651 * Versions.def: Add GLIBC_2.16 for libc.
26652 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26653
4e9e7a35
UD
26654 [BZ 13527]
26655 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26656 ISO C11.
26657
380d7e87 26658 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26659 code.
26660
03a71829
UD
26661 [BZ #13528]
26662 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26663
839e283e
UD
26664 [BZ #13529]
26665 * assert/assert.h (static_assert): Define.
26666
ce5294e2 26667 * version.h: Update for 2.16 development version.
90fa7312 26668
8d44e150 26669 [BZ #13526]
d7809905
UD
26670 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26671 _ISOC11_SOURCE.
26672
c0da14cd
UD
26673 * version.h (RELEASE): Bump for 2.15 release.
26674 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26675
530a3249
MP
26676 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26677 Patch by Marek Polacek <mpolacek@redhat.com>.
26678
67371b56
UD
26679 * bits/byteswap.h: Protect long long constants with __extension__.
26680 * sysdeps/i386/bits/byteswap.h: Likewise.
26681 * sysdeps/ia64/bits/byteswap.h: Likewise.
26682 * sysdeps/s390/bits/byteswap.h: Likewise.
26683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26684
15db4de1
LD
266852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26686
26687 [BZ #13540]
bbe315ea
LD
26688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26689 destination buffer.
15db4de1
LD
26690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26691
2b2596b1
MP
266922011-12-23 Marek Polacek <polacek@redhat.com>
26693
26694 * elf/dl-addr.c (determine_info): Add inline keyword.
26695 * elf/tst-auditmod4b.c (check_avx): Likewise.
26696 * elf/tst-auditmod6b.c (check_avx): Likewise.
26697 * elf/tst-auditmod6c.c (check_avx): Likewise.
26698 * elf/tst-auditmod7b.c (check_avx): Likewise.
26699
70c6c246
UD
267002011-12-23 Ulrich Drepper <drepper@gmail.com>
26701
26702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26703 !__SSE_MATH__.
26704
c044cf14
LD
267052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26706
15db4de1 26707 [BZ #13540]
c044cf14
LD
26708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26709 processing for last bytes.
26710
6b13d9d9
BH
267112011-08-06 Bruno Haible <bruno@clisp.org>
26712
d455f537
BH
26713 [BZ #13061]
26714 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26715 U+0385, not to U+1FEE.
26716
6b13d9d9
BH
26717 [BZ #13062]
26718 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26719 entry for U+00A5 U+0301.
26720
db910efd
UD
267212011-12-22 Ulrich Drepper <drepper@gmail.com>
26722
27deeafc
UD
26723 [BZ #13166]
26724 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26725 buffer for the output is too small.
26726
aed9d171
UD
26727 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26728 optimization.
26729
db910efd
UD
26730 [BZ #13185]
26731 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26732 SSE flags if possible.
26733
2bd779ae
LD
267342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26735
e7f9dac3 26736 [BZ #13540]
2bd779ae
LD
26737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26738 processing for last bytes.
26739
154bfc16
JM
267402011-12-22 Joseph Myers <joseph@codesourcery.com>
26741
26742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26743 (syscall-list-default-options, syscall-list-default-condition)
26744 (syscall-list-includes): Define.
26745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26746 list of ABIs and options and #if conditions for each ABI. Do not
26747 handle common syscalls between ABIs specially.
26748 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26749 Remove.
26750 (syscall-list-variants, syscall-list-32bit-options)
26751 (syscall-list-32bit-condition, syscall-list-64bit-options)
26752 (syscall-list-64bit-condition): Define.
26753 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26754 (syscall-list-variants, syscall-list-32bit-options)
26755 (syscall-list-32bit-condition, syscall-list-64bit-options)
26756 (syscall-list-64bit-condition): Define.
26757 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26758 Remove.
26759 (syscall-list-variants, syscall-list-32bit-options)
26760 (syscall-list-32bit-condition, syscall-list-64bit-options)
26761 (syscall-list-64bit-condition): Define.
26762 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26763 Remove.
26764 (syscall-list-variants, syscall-list-32bit-options)
26765 (syscall-list-32bit-condition, syscall-list-64bit-options)
26766 (syscall-list-64bit-condition): Define.
26767
21eaf3a5
UD
267682011-12-22 Ulrich Drepper <drepper@gmail.com>
26769
16c6f992
UD
26770 * locale/iso-639.def: Add brx entry.
26771
41043168
UD
26772 [BZ #13328]
26773 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26774 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26775
21eaf3a5
UD
26776 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26777 __feraiseexcept_renamed.
26778
e3a851a2
UD
267792011-12-21 Ulrich Drepper <drepper@gmail.com>
26780
4920765e
UD
26781 [BZ #13538]
26782 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26783 EPOLLET with unsigned values.
26784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26786
e3a851a2
UD
26787 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26788 to large cancellation.
26789 * math/s_cacoshf.c: Likewise.
26790 * math/s_cacoshl.c: Likewise.
26791
b27e24b8
RK
267922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26793
26794 [BZ #13305]
aebefeee 26795 [BZ #12786]
b27e24b8
RK
26796 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26797 * math/s_cacoshf.c: Likewise.
26798 * math/s_cacoshl.c: Likewise.
26799
ee190f67
UD
268002011-12-21 Ulrich Drepper <drepper@gmail.com>
26801
26802 [BZ #13439]
26803 * iconv/gconv.h: Define __GCONV_SWAP.
26804 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26805 * iconvdata/utf-16.c: Likewise.
26806 * iconvdata/utf-32.c: Likewise.
26807
707f25df
AS
268082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26809
26810 [BZ #13524]
26811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26812 numerator after shifting it by one limb.
26813
d2daaa1e
RÁE
268142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26815
26816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26817 under [__USE_EXTERN_INLINES].
26818
a4647e72
UD
268192011-12-17 Ulrich Drepper <drepper@gmail.com>
26820
26821 [BZ #13446]
26822 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26823
f0b264f1
AZ
268242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26825
26826 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26827 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26828 optimized code.
26829 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26831 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26832 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26833 for strncasecmp/strncasecmp_l compilation.
26834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26835 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26836
8ef4f244
MP
268372011-12-08 Marek Polacek <mpolacek@redhat.com>
26838
26839 [BZ #13484]
26840 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26841 of __asm__.
26842
97ac2654
UD
268432011-12-17 Ulrich Drepper <drepper@gmail.com>
26844
26845 [BZ #13506]
26846 * time/tzfile.c (__tzfile_read): Check values from file header.
26847
91d2a845
WS
268482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26849
26850 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26851 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26852 * powerpc/powerpc32/dl-start.S: Likewise.
26853 * powerpc/powerpc32/elf/start.S: Likewise.
26854 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26855 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26856 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26857 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26858 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26859 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26860 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26861 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26862 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26863 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26864 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26865 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26866 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26867 * powerpc/powerpc32/memset.S: Likewise.
26868 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26869 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26870 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26871 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26872 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26873 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26874 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26875 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26876 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26877 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26881
a1267ba1
AZ
268822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26883
26884 * math/libm-test.inc: Added more nearbyint tests.
26885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26889
ad8ac1bd
RL
268902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26891
26892 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26893 FD_CLOEXEC.
26894
1d3e4b61
UD
268952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26896
26897 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26898 Add wcscpy-ssse3 wcscpy-c.
26899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26900 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26901 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26902 * sysdeps/x86_64/wcschr.S: New file.
26903 * sysdeps/x86_64/wcsrchr.S: New file.
26904 * string/test-strcmp.c: Remove checking of wcscmp function for
26905 wrong alignments.
26906 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26907 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26908 wcsrchr-sse2 wcsrchr-c.
26909 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26910 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26911 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26912 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26913 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26914 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26915 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26916 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26918 * wcsmbc/wcschr.c (WCSCHR): New macro.
26919
5b330a2d
UD
269202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26921
26922 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26923 * wcsmbs/test-wcsrchr.c: New file.
26924 * string/test-strrchr.c: Add wcsrchr support.
26925 (WIDE): New macro.
26926 * wcsmbs/test-wcscpy.c: New file.
26927 * string/test-strcpy.c: Add wcscpy support.
26928 (WIDE): New macro.
26428b7c 26929
f039c043
UD
269302011-12-10 Ulrich Drepper <drepper@gmail.com>
26931
26932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26933 the inner loop.
26934
850fb039
AS
269352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26936
26937 [BZ #13472]
26938 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26939
4efbd5cb
UD
269402011-12-04 Ulrich Drepper <drepper@gmail.com>
26941
52ff5dd0 26942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26943 Minor optimizations.
52ff5dd0 26944
4efbd5cb
UD
26945 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26946 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26948
8a426e12
UD
269492011-12-03 Ulrich Drepper <drepper@gmail.com>
26950
aff2453d
UD
26951 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26952 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26953 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26954 for gcc to avoid warnings.
26955 * inet/Makefile (tests): Add tst-checks.
26956 * inet/tst-checks.c: New file.
26957
26958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26959 warning.
26960
26961 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26962 __wmemcmp_sse2.
26963
26964 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26965 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26966
8a426e12
UD
26967 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26968
9bea3473
UD
269692011-12-02 Ulrich Drepper <drepper@gmail.com>
26970
3a965496
UD
26971 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26972 problem.
26973
9bea3473
UD
26974 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26975
f101631b
UD
269762011-11-29 Joseph Myers <joseph@codesourcery.com>
26977
26978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26979 conditional on GCC version.
26980 (__arch_compare_and_exchange_val_8_acq)
26981 (__arch_compare_and_exchange_val_16_acq)
26982 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26983 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26984 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26985
a98275aa
UD
269862011-12-02 Joseph Myers <joseph@codesourcery.com>
26987
26988 * sysdeps/sh/backtrace.c: New file.
26989
d4cc29a2
AS
269902011-12-02 Andreas Schwab <schwab@redhat.com>
26991
26992 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26993 parenthesis.
26994
6257af2d
AS
269952011-12-01 Andreas Schwab <schwab@redhat.com>
26996
26997 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26998 falling back to utime.
26999
b5f44c1a
AS
270002011-11-30 Andreas Schwab <schwab@redhat.com>
27001
27002 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27003 expectations for float.
27004
f3a6cc0a
AS
270052011-11-29 Andreas Schwab <schwab@redhat.com>
27006
27007 * locale/weight.h (findidx): Add parameter len.
27008 * locale/weightwc.h (findidx): Likewise.
27009 * posix/fnmatch_loop.c (FCT): Adjust caller.
27010 * posix/regcomp.c (build_equiv_class): Likewise.
27011 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27012 * posix/regexec.c (check_node_accept_bytes): Likewise.
27013 * string/strcoll_l.c (STRCOLL): Likewise.
27014 * string/strxfrm_l.c (STRXFRM): Likewise.
27015
9d65ea3a
UD
270162011-11-17 Ulrich Drepper <drepper@gmail.com>
27017
27018 * Makefile.in: Remove CVSOPT handling.
27019 * configure.in: Remove use of AC_REVISION.
27020 * iconvdata/Makefile (distribute): No need to filter out CVS.
27021 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27022 handling.
27023
5583a086
AS
270242011-11-16 Andreas Schwab <schwab@redhat.com>
27025
27026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27027 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27028 [USE_AS_STRNCASECMP_L]: Likewise.
27029 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27030 NO_TLS_DIRECT_SEG_REFS.
27031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27032 Fix argument offsets for non-PIC.
27033 [USE_AS_STRNCASECMP_L]: Likewise.
27034 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27035 NO_TLS_DIRECT_SEG_REFS.
27036
d62a8200
UD
270372011-11-15 Ulrich Drepper <drepper@gmail.com>
27038
9d65ea3a 27039 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27040 O_CLOEXEC.
27041 * locale/loadlocale.c (_nl_load_locale): Likewise.
27042
09f93bd3
AS
270432011-11-15 Andreas Schwab <schwab@redhat.com>
27044
446514f9
AS
27045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27046 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27048 (SYSCALL_GETTIME): Set errno on error.
27049
09f93bd3
AS
27050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27051 count references to noai6ai_cached.
27052
312be3f9
UD
270532011-11-15 Ulrich Drepper <drepper@gmail.com>
27054
27055 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27056
27057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27058 FD_CLOEXEC for /proc/self/maps.
27059
27060 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27061 FD_CLOEXEC for /proc/meminfo.
27062
27063 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27064 gai.conf.
27065
27066 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27067 FD_CLOEXEC for given file.
27068
27069 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27070
27071 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27072 FD_CLOEXEC for /etc/hosts.
27073 (_gethtent): Likewise.
27074
27075 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27076
27077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27078 cancellation and set FD_CLOEXEC for /etc/netgroup.
27079
27080 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27081 reading /etc/publickey.
27082
27083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27084 allow cancellation when reading /etc/group.
27085
27086 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27087 cancellation.
27088 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27089
27090 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27091 when using data file.
27092
27093 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27094
27095 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27096 (write_nis_obj): Use "c" and "e" in fopen.
27097
27098 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27099
27100 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27101
27102 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27103
27104 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27105
27106 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27107 locale.alias.
27108
27109 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27110
27111 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27112
27113 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27114
27115 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27116 file parsing and set FD_CLOEXEC.
27117
82af0fa8
UD
271182011-11-14 Ulrich Drepper <drepper@gmail.com>
27119
27120 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27121
a5fb313c
AS
271222011-11-14 Andreas Schwab <schwab@redhat.com>
27123
27124 * malloc/arena.c (arena_get2): Don't call reused_arena when
27125 _int_new_arena failed.
27126
6abf3465
UD
271272011-11-14 Ulrich Drepper <drepper@gmail.com>
27128
27129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27130 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27135 to compile strcasecmp and strncasecmp.
27136 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27137 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27138
27139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27140
76e3966e
UD
271412011-11-13 Ulrich Drepper <drepper@gmail.com>
27142
27143 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27144 locale-defines.sym to gen-as-const-headers.
27145 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27146 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27148 to compile strcasecmp and strncasecmp.
27149 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27150 strcasecmp_l and strncasecmp_l.
27151 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27152 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27153 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27155 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27157 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27158 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27159 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27160 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27161 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27162
ab26144e
UD
271632011-11-12 Ulrich Drepper <drepper@gmail.com>
27164
7edb22ef
UD
27165 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27166 result of SYSDEP_GETTIME_CPU to retval.
27167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27168 parameter list to macro. Remove trailing semicolon. Adjust users.
27169
9694fc44
UD
27170 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27171 variable.
27172
8ad89ef8
UD
27173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27174 mantissa words.
27175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27176
0c822ef9
UD
27177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27178 from unused variable.
27179
874e0564
UD
27180 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27181 DWARF definitions.
27182 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27183 for assembling.
27184
3a2edc79
UD
27185 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27186 over namespaces.
27187
f3c2577f
UD
27188 * sunrpc/rpc_prot.c (rejected): Fix case value.
27189
294ce126
UD
27190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27191 unsigned long long int to avoid warnings in shift.
27192
5e2b63c6
UD
27193 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27194 of use of trans.
27195 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27196 variable tmp.
27197
e7f4b08e
UD
27198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27200 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27201
ab26144e
UD
27202 * nis/nis_table.c (nis_list): Use variable of correct type for
27203 result of __follow_path call.
27204
8a6d5255
AZ
272052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27206
27207 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27208 of math functions ceil, trunc, floor, round, and sqrt, when
27209 avaliable on the platform.
27210 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27211 name clash.
27212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27215
aaddc98c
MP
272162011-10-30 Marek Polacek <mpolacek@redhat.com>
27217
27218 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27220
95b7042b
RM
272212011-11-11 Roland McGrath <roland@hack.frob.com>
27222
27223 * include/unistd.h: Fix __readlink return type.
27224 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27225
57769839
UD
272262011-11-11 Ulrich Drepper <drepper@gmail.com>
27227
27228 * stdlib/ucontext.h: Undo last change for makecontext.
27229
edc5984d
AS
272302011-11-11 Andreas Schwab <schwab@redhat.com>
27231
98591e58
AS
27232 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27233
edc5984d
AS
27234 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27235 * setjmp/setjmp.h: Mark functions as non-leaf.
27236 * setjmp/bits/setjmp2.h: Likewise.
27237 * stdlib/ucontext.h: Likewise.
27238
77cdc054
AS
272392011-11-10 Andreas Schwab <schwab@redhat.com>
27240
27241 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27242 (reused_arena): Don't check arena limit.
27243 (arena_get2): Atomically check arena limit.
27244
fe72eebd
UD
272452011-11-08 Ulrich Drepper <drepper@gmail.com>
27246
5f078c32
UD
27247 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27248 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27249
fe72eebd
UD
27250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27251 instructions.
27252
ae1bc2fa
AS
272532011-11-07 Andreas Schwab <schwab@redhat.com>
27254
7583a88d
AS
27255 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27256 handler when locking.
27257
ae1bc2fa
AS
27258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27259 Fix size of allocated buffer.
27260
10fb0bfa
AS
272612011-11-04 Andreas Schwab <schwab@redhat.com>
27262
998832a4
AS
27263 [BZ #10103]
27264 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27265 declarations for long double functions.
27266 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27267
10fb0bfa
AS
27268 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27269
3d7ba52b
AS
272702011-11-03 Andreas Schwab <schwab@redhat.com>
27271
a9ae54a1
AS
27272 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27273 installed.
27274
3d7ba52b
AS
27275 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27276 is disabled.
27277
bc8db248
ST
272782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27279
27280 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27281
45b96dd6
AS
272822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27283
647776f6
AS
27284 * include/alloca.h (stackinfo_alloca_round): Define.
27285 (extend_alloca): Use it.
27286 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27287 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27288 here.
27289
d91a8b93
AS
27290 * scripts/check-local-headers.sh: Ignore libaudit.h.
27291
45b96dd6
AS
27292 * nscd/Makefile (extra-objs): Make recursively expanded.
27293
432d41ce
UD
272942011-11-01 Ulrich Drepper <drepper@gmail.com>
27295
34372fc6
UD
27296 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27298
fadb59f8
UD
27299 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27300 * posix/tst-rfc3484-2.c: Likewise.
27301 * posix/tst-rfc3484-3.c: Likewise.
27302
78239589
UD
27303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27304 process_vm_writev.
27305 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27306 process_vm_writev.
27307 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27308 process_vm_writev from libc using GLIBC_2.15 version.
27309
432d41ce
UD
27310 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27311
02f9c6cf
PP
273122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27313
27314 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27315 stack usage.
27316
3a2c0242
UD
273172011-10-31 Ulrich Drepper <drepper@gmail.com>
27318
f4ec4833
UD
27319 [BZ #13367]
27320 * nss/getent.c (initgroups_keys): Show error message in case no group
27321 names are given.
27322
3a2c0242
UD
27323 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27324 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27325 __bump_nl_timestamp.
27326 * nscd/connections (nscd_init): When host database is served open
27327 netlink socket and request notification about configuration changes.
27328 (main_loop_poll): Track netlink file descriptor and bump timestamp
27329 in case data becomes available.
27330 (main_loop_epoll): Likewise.
27331 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27332 (database_pers_head): Add extra_data fileds.
27333 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27335 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27336 Adjust caller.
27337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27338 in6ai data, call __free_in6ai.
27339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27340 Add -DHAVE_NETLINK.
27341 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27342 interface information. Reuse previous data if netlink timestamp
27343 is not changed.
27344 (__bump_nl_timestamp): New function.
27345 (__free_in6ai): New function.
27346
636064eb
UD
273472011-10-30 Ulrich Drepper <drepper@gmail.com>
27348
27349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27350 close_not_cancel_no_status here.
27351 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27352
9beb2334
UD
273532011-10-29 Ulrich Drepper <drepper@gmail.com>
27354
6ef76f3b
UD
27355 [BZ #13276]
27356 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27357 return value.
27358
0ffc4f3e 27359 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27360 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27361 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27362
cb95113e
UD
273632011-07-03 Andreas Jaeger <aj@suse.de>
27364
27365 [BZ #10709]
27366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27367 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27368 * math/libm-test.inc (sin_test): Add test case.
27369
a1b560ff
UD
273702011-10-29 Ulrich Drepper <drepper@gmail.com>
27371
c9aaface
UD
27372 [BZ #13337]
27373 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27374 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27375
d272e7f1
UD
27376 * elf/chroot_canon.c (chroot_canon): Cleanups.
27377
1bc33071
UD
27378 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27379
1760874d
TJ
27380 [BZ #13335]
27381 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27382 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27383
51d91b18
UD
27384 * string/test-strchr.c: Make usable for strchrnul testing.
27385 * string/test-strchrnul.c: New file.
27386 * string/Makefile (strop-tests): Add strchrnul.
27387
a1b560ff 27388 * po/it.po: Update from translation team.
b611fb81 27389 * po/es.po: Likewise.
a1b560ff 27390
a5b81e1f
UD
273912011-10-28 Ulrich Drepper <drepper@gmail.com>
27392
fd52bc6d
UD
27393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27394 the three constants needed as parameters. Drop the others.
27395 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27396 __m128i_strloadu_tolower.
52e4b9eb
UD
27397 Create and initialize variable zero and use it in all the places
27398 where _mm_setzero_si128 was used.
fd52bc6d 27399
a5b81e1f
UD
27400 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27401 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27402 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27404 anymore.
27405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27408 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27410 __mpranred, __mptan.
27411 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27412 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27413 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27414 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27420
b4343346
AS
274212011-10-28 Andreas Schwab <schwab@redhat.com>
27422
0c92d8a8
AS
27423 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27424 redefine if SHARED.
27425 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27426
b4343346
AS
27427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27428 wide char related routines to wcsmbs subdir.
27429
3871f58f
AS
274302011-10-27 Andreas Schwab <schwab@redhat.com>
27431
27432 [BZ #13344]
27433 * misc/sys/cdefs.h (__THROWNL): Define.
27434 * posix/unistd.h: Use __THREADNL instead of __THREAD
27435 for memory synchronization functions.
27436
94d44d9f
RM
274372011-10-26 Roland McGrath <roland@hack.frob.com>
27438
21b64b15 27439 [BZ #13349]
94d44d9f
RM
27440 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27441 doesn't exist.
27442 * manual/stdio.texi (Obstack Streams): Node removed.
27443
f6ce9294
AS
274442011-10-26 Andreas Schwab <schwab@redhat.com>
27445
80479147
AS
27446 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27449
f6ce9294
AS
27450 * math/math_private.h (math_force_eval): Allow non-addressable
27451 arguments.
27452 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27453
618280a1
UD
274542011-10-25 Ulrich Drepper <drepper@gmail.com>
27455
e0016b11
UD
27456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27457 file is not needed.
27458
27459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27466 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27467 Add AVX variants.
27468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27473 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27476 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27477 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27478 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27479 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27485 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27486 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27487
27488 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27489 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27490
618280a1
UD
27491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27492 place. Use VEX encoding when compiling for AVX.
27493
37822576
AS
274942011-10-25 Andreas Schwab <schwab@redhat.com>
27495
1f1e1947
AS
27496 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27498
37822576
AS
27499 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27500
31ea014d
UD
275012011-10-25 Ulrich Drepper <drepper@gmail.com>
27502
d7826aa1 27503 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27504 useless if() expression.
d7826aa1
UD
27505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27506 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27507 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27521 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27523 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27524
31ea014d
UD
27525 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27526
16437fec
AS
275272011-10-25 Andreas Schwab <schwab@redhat.com>
27528
27529 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27530 condition.
27531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27532
31d3cc00
UD
275332011-10-25 Ulrich Drepper <drepper@gmail.com>
27534
27535 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27536 .text section. Avoid duplicate constants.
27537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27564 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27582
58985aa9
UD
275832011-10-24 Ulrich Drepper <drepper@gmail.com>
27584
202c9deb
UD
27585 * sysdeps/x86_64/dla.h: Move to ...
27586 * sysdeps/x86_64/fpu/dla.h: ...here.
27587 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27588 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27589
af968f62
UD
27590 * config.make.in: Add have-mfma4 entry.
27591 * configure.in: Substitute libc_cv_cc_fma4.
27592 * math/Makefile (dbl-only-routines): Add sincostab.
27593 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27594 Use __sincostab not sincos.
27595 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27596 name is a macro.
27597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27601 using __copysign.
27602 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27603 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27604 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27605 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27606 and __inv.
27607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27608 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27609 __copysign.
27610 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27611 define aliases when function name is a macro.
27612 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27613 sysdeps/ieee754/dbl-64/sincos.tbl.
27614 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27615 fma4-enabled routines.
27616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27617 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27628 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27629 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27631 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27632 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27633 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27634 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27636 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27637 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27646
58985aa9
UD
27647 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27648 rename.
27649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27657
a201fbcf
AS
276582011-10-24 Andreas Schwab <schwab@redhat.com>
27659
27660 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27661
fc2ee42a
LD
276622011-10-23 Ulrich Drepper <drepper@gmail.com>
27663
bb3129bd
UD
27664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27665
0275fff8
UD
27666 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27667 prediction.
27668 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27669
2fa2ae85
UD
27670 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27671 Remove unused variable magic_bits.
27672 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27673
fc2ee42a
LD
27674 * string/strnlen.c: Define and use STRNLEN macro.
27675 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27676 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27678 * wcsmbs/wcslen.c: Define and use WCSLEN.
27679 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27680 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27681 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27682 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27683 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27684 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27685 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27686
ce7dd29f
LD
276872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27688
27689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27690 strnlen-sse2-no-bsf.
27691 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27693 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27694 Add strnlen support.
27695 (USE_AS_STRNLEN): New macro.
27696 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27698 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27699 * sysdeps/x86_64/wcslen.S: New file.
27700
979c70a3
MZ
277012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27702
27703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27704 XMM-moves are used for copying on small sizes.
27705
2d09f82f
LD
277062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27707
27708 * wcsmbs/Makefile (strop-tests): Add wcschr.
27709 * wcsmbs/test-wcschr.c: New file.
27710 * string/test-strchr.c: Update.
27711 Add wcschr support.
27712 (WIDE): New macro.
27713
619fccca
LD
277142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27715
2d09f82f 27716 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27717 * wcsmbs/test-wcslen.c: New file.
27718 * string/test-strlen.c: Update.
27719 Add wcslen support.
27720 (WIDE): New macro.
27721
09f699ea
UD
277222011-10-23 Ulrich Drepper <drepper@gmail.com>
27723
27724 * po/it.po: Update from translation team.
27725
95584d3b
LD
277262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27727
27728 * sysdeps/x86_64/wcscmp.S: Update.
27729 Fix wrong comparison semantics.
27730 wcscmp shall use signed comparison not unsigned.
27731 Don't use substraction to avoid overflow bug.
27732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27733 * wcsmbc/wcscmp.c: Likewise.
27734 * string/test-strcmp.c: Likewise.
27735 Add new tests to check cases with negative values.
27736
c8b3296b
UD
277372011-10-23 Ulrich Drepper <drepper@gmail.com>
27738
27739 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27740 * sysdeps/x86_64/dla.h: ...here. New file.
27741 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27750
246ad57a
AS
277512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27752
27753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27754 __ynl_finite aliases.
27755
a1a87169
UD
277562011-10-22 Ulrich Drepper <drepper@gmail.com>
27757
0d355eb7
UD
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27759
a1a87169
UD
27760 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27761 define DLA_FMA.
27762 [DLA_FMA] (EMULV): Use DLA_FMA.
27763 [DLA_FMA] (MUL12): Use EMULV.
27764 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27765 that are not needed.
27766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27773
ee2aafe0
AS
277742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27775
27776 * math/s_nan.c: Undef __nan.
27777 * math/s_nanf.c: Undef __nanf.
27778 * math/s_nanl.c: Undef __nanl.
27779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27780 "math_private.h".
27781
bc62c2fb
UD
277822011-10-22 Ulrich Drepper <drepper@gmail.com>
27783
77425c63
UD
27784 * math/s_catan.c: Add branch predictions.
27785 * math/s_catanf.c: Likewise.
27786 * math/s_catanh.c: Likewise.
27787 * math/s_catanhf.c: Likewise.
27788 * math/s_catanhl.c: Likewise.
27789 * math/s_catanl.c: Likewise.
27790 * math/s_cexp.c: Likewise.
27791 * math/s_cexpf.c: Likewise.
27792 * math/s_cexpl.c: Likewise.
27793 * math/s_clog.c: Likewise.
27794 * math/s_clog10.c: Likewise.
27795 * math/s_clog10f.c: Likewise.
27796 * math/s_clog10l.c: Likewise.
27797 * math/s_clogf.c: Likewise.
27798 * math/s_clogl.c: Likewise.
27799 * math/s_csqrt.c: Likewise.
27800 * math/s_csqrtf.c: Likewise.
27801 * math/s_csqrtl.c: Likewise.
27802 * math/s_ctanf.c: Likewise.
27803 * math/s_ctanh.c: Likewise.
27804 * math/s_ctanhf.c: Likewise.
27805 * math/s_ctanhl.c: Likewise.
27806 * math/s_ctanl.c: Likewise.
27807
bc62c2fb
UD
27808 * math/math_private.h: Define __nan, __nanf, __nanl.
27809 * math/s_cacosh.c: Include <math_private.h>.
27810 * math/s_cacoshl.c: Likewise.
27811 * math/s_casinh.c: Likewise.
27812 * math/s_casinhf.c: Likewise.
27813 * math/s_casinhl.c: Likewise.
27814 * math/s_ccos.c: Rely entire on ccosh.
27815 * math/s_ccosf.c: Rely entire on ccoshf.
27816 * math/s_ccosl.c: Rely entirely on ccoshl.
27817 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27818 Remove tests for FE_INVALID.
27819 * math/s_ccoshf.c: Likewise.
27820 * math/s_ccoshl.c: Likewise.
27821 * math/s_csin.c: Likewise.
27822 * math/s_csinf.c: Likewise.
27823 * math/s_csinh.c Likewise.
27824 * math/s_csinhf.c: Likewise.
27825 * math/s_csinhl.c: Likewise.
27826 * math/s_csinl.c: Likewise.
27827 * math/s_ctan.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27829 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27831
8ec250a4
UD
278322011-10-21 Ulrich Drepper <drepper@gmail.com>
27833
c196fed8
UD
27834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27835 compilation problems.
27836
8ec250a4
UD
27837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27838 __builtin_expect.
27839
8d4f46c6
UD
278402011-10-20 Ulrich Drepper <drepper@gmail.com>
27841
ed72b654
UD
27842 * sysdeps/i386/configure.in: Test for -mfma4 option.
27843 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27844 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27845 COMMON_CPUID_INDEX_80000001.
27846 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27847 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27848 use it if FMA3 is not supported.
27849 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27850
8d4f46c6
UD
27851 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27852 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27853
d45c60c2
AS
278542011-10-20 Andreas Schwab <schwab@redhat.com>
27855
27856 [BZ #12892]
27857 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27858 it would create a cycle with a link time dependency.
27859
d9a4d2ab
UD
278602011-10-19 Ulrich Drepper <drepper@gmail.com>
27861
855d1560
UD
27862 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27863 instruction.
27864 * string/Makefile (strop-tests): Add rawmemchr.
27865 * string/test-rawmemchr.c: New file.
27866
d9a4d2ab
UD
27867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27869 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27870 when compiling str{,n}casecmp and when AVX is available. Hook up
27871 new optimized code in initializers.
27872
8f3b1ffe
AS
278732011-10-19 Andreas Schwab <schwab@redhat.com>
27874
27875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27876 __feraiseexcept instead of feraiseexcept.
27877
d38f1dba
UD
278782011-10-18 Ulrich Drepper <drepper@gmail.com>
27879
d9a8d0ab
UD
27880 * math/math_private.h: Define defaults for libc_fetestexcept and
27881 libc_feupdateenv.
27882 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27883 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27887 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27888 libc_fetestexcept and libc_feupdateenv.
27889
4855e3dd
UD
27890 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27891 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27892 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27893 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27894 libc_feholdexcept_setround.
27895
581d30e3
UD
27896 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27897 Add s_nearbyint-c and s_nearbyintf-c.
27898 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27899 nearbyintf inlines.
27900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27904
d38f1dba
UD
27905 * math/math_private.h: Define defaults for libc_fegetround,
27906 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27907 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27908 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27910 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27911 standard functions.
27912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27913 Remove comments and hacks for old compiler versions.
27914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27915 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27916 libc_feholdexceptl.
27917
caa6c9d8
AS
279182011-10-18 Andreas Schwab <schwab@redhat.com>
27919
27920 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27921 (__feraiseexcept_renamed): Add __NTH.
27922 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27923 namespace violations.
27924
97c066e6
UD
279252011-10-17 Ulrich Drepper <drepper@gmail.com>
27926
99ce7b04
UD
27927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27928
1004d182
UD
27929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27930
228a984d
UD
27931 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27932 recently added interfaces.
27933 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27934
c8553a6a
UD
27935 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27936 about macro parameter expansion.
27937
ed22dcf6
UD
27938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27939 __NO_MATH_INLINES is defined. Cleanups.
27940
27941 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27942 and __floorf is target has SSE4.1.
27943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27947
b171c137
UD
27948 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27949 name.
27950 (floorf): Likewise.
27951
97c066e6
UD
27952 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27953
629f62ef
AS
279542011-10-17 Andreas Schwab <schwab@redhat.com>
27955
49a43d80
AS
27956 * misc/sys/cdefs.h: Fix last change.
27957
629f62ef
AS
27958 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27959 database lookup.
27960
e453f6cd
UD
279612011-10-16 Ulrich Drepper <drepper@gmail.com>
27962
aa78043a
UD
27963 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27964
ad0f5cad
UD
27965 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27975 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27977 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27979 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27980 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27982 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27984 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27985 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27986 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27987
27988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27989 ceil, ceilf, floor, floorf.
27990
27991 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27992 Perform IRELATIVE relocations last.
27993
e453f6cd
UD
27994 * elf/do-rel.h: Add another parameter nrelative, replacing the
27995 local variable with the same name. Change name of the function
27996 to end in Rel or Rela (uppercase).
27997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27998 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27999 elf_dynamic_do_##reloc function.
28000
fd5bdc09
UD
280012011-10-15 Ulrich Drepper <drepper@gmail.com>
28002
79b195b5
UD
28003 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28004 is sufficient, at least on modern CPUs.
28005
d4a28569
UD
28006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28007
b61099b5
UD
28008 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28010
bcf01e6d
UD
28011 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28012 __expl_finite.
28013 * math/bits/math-finite.h: Add entries for exp.
28014 * math/e_expl.c: Add __*_finite alias.
28015 * sysdeps/i386/fpu/e_exp.S: Likewise.
28016 * sysdeps/i386/fpu/e_expf.S: Likewise.
28017 * sysdeps/i386/fpu/e_expl.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28025
ba1a0d59
UD
28026 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28027 is sufficient, at least on modern CPUs.
28028
fd5bdc09
UD
28029 * ctype/ctype-info.c (__ctype_init): Define.
28030 * include/ctype.h (__ctype_init): Declare.
28031 (__ctype_b_loc): The variable is always initialized.
28032 (__ctype_toupper_loc): Likewise.
28033 (__ctype_tolower_loc): Likewise.
28034 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28035 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28036
7872cfb0
AS
280372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28038
b468825a
AS
28039 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28040
7872cfb0
AS
28041 * configure.in: Also look in $cxxmachine/include for C++ system
28042 headers.
28043
be13f7bf
LD
280442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28045
28046 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28047 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28048 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28049 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28051 (USE_AS_WMEMCMP): New macro.
28052 Fixing indents.
28053 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28054 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28055 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28056 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28058 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28059 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28061 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28062 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28064 (USE_AS_WMEMCMP): New macro.
28065 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28066 * sysdeps/string/test-memcmp.c: Update.
28067 Fix simple_wmemcmp.
28068 Add new tests.
28069 * wcsmbs/wmemcmp.c: Update.
28070 (WMEMCMP): New macro.
28071 Fix overflow bug.
28072
556a2007
AJ
280732011-10-12 Andreas Jaeger <aj@suse.de>
28074
28075 [BZ #13268]
28076 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28077
538faaa7
UD
280782011-10-15 Ulrich Drepper <drepper@gmail.com>
28079
ab6737ff
UD
28080 * libio/iofwide.c (do_length): Avoid warning.
28081
538faaa7
UD
28082 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28083
396a21b1
UD
280842011-10-14 Ulrich Drepper <drepper@gmail.com>
28085
cdf2901f
UD
28086 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28087
38ad40ce
UD
28088 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28089 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28090 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28091 * sysdeps/i386/i686/fpu/e_log.S: New file.
28092 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28093 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28094
396a21b1
UD
28095 * ctype/ctype.h: Add support for inlined isXXX functions when
28096 compiling C++ code.
28097
6b1f68c9
AS
280982011-10-14 Andreas Schwab <schwab@redhat.com>
28099
349290c0
AS
28100 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28101
6b1f68c9
AS
28102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28103
f2282d42
RM
281042011-10-13 Roland McGrath <roland@hack.frob.com>
28105
28106 [BZ #13291]
28107 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28108
5298ffa8
AS
281092011-10-13 Andreas Schwab <schwab@redhat.com>
28110
714fad23
AS
28111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28112 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28113 feraiseexcept.
28114
81dcc7fb
AS
28115 * sysdeps/x86_64/memrchr.S: Check for zero size.
28116
5298ffa8
AS
28117 * string/stratcliff.c: Add memrchr tests.
28118
951fbcec
LD
281192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28120
28121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28122 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28123 rawmemchr-sse2 rawmemchr-sse2-bsf.
28124 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28125 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28126 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28127 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28128 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28131 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28134 * string/memrchr.c (MEMRCHR): New macro.
28135
0ac5ae23
UD
281362011-10-12 Ulrich Drepper <drepper@gmail.com>
28137
28138 Add integration with gcc's -ffinite-math-only and optimize wrapper
28139 functions in libm.
28140 * Versions.def: Define GLIBC_2.15 version for libm.
28141 * math/Makefile (headers): Add bits/math-finite.h.
28142 * math/bits/math-finite.h: New file.
28143 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28144 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28145 * math/e_acoshl.c: Add __*_finite alias.
28146 * math/e_acosl.c: Likewise.
28147 * math/e_asinl.c: Likewise.
28148 * math/e_atan2l.c: Likewise.
28149 * math/e_atanhl.c: Likewise.
28150 * math/e_coshl.c: Likewise.
28151 * math/e_exp10.c: Likewise.
28152 * math/e_exp10f.c: Likewise.
28153 * math/e_exp10l.c: Likewise.
28154 * math/e_exp2l.c: Likewise.
28155 * math/e_fmodl.c: Likewise.
28156 * math/e_gammal_r.c: Likewise.
28157 * math/e_hypotl.c: Likewise.
28158 * math/e_j0l.c: Likewise.
28159 * math/e_j1l.c: Likewise.
28160 * math/e_jnl.c: Likewise.
28161 * math/e_lgammal_r.c: Likewise.
28162 * math/e_log10l.c: Likewise.
28163 * math/e_log2l.c: Likewise.
28164 * math/e_logl.c: Likewise.
28165 * math/e_powl.c: Likewise.
28166 * math/e_sinhl.c: Likewise.
28167 * math/e_sqrtl.c: Likewise.
28168 * math/e_scalb.c: Completely rewritten and optimized.
28169 * math/e_scalbf.c: Likewise.
28170 * math/e_scalbl.c: Likewise.
28171 * math/w_acos.c: Likewise.
28172 * math/w_acosf.c: Likewise.
28173 * math/w_acosl.c: Likewise.
28174 * math/w_acosh.c: Likewise.
28175 * math/w_acoshf.c: Likewise.
28176 * math/w_acoshl.c: Likewise.
28177 * math/w_asin.c: Likewise.
28178 * math/w_asinf.c: Likewise.
28179 * math/w_asinl.c: Likewise.
28180 * math/w_atan2.c: Likewise.
28181 * math/w_atan2f.c: Likewise.
28182 * math/w_atan2l.c: Likewise.
28183 * math/w_atanh.c: Likewise.
28184 * math/w_atanhf.c: Likewise.
28185 * math/w_atanhl.c: Likewise.
28186 * math/w_exp10.c: Likewise.
28187 * math/w_exp10f.c: Likewise.
28188 * math/w_exp10l.c: Likewise.
28189 * math/w_fmod.c: Likewise.
28190 * math/w_fmodf.c: Likewise.
28191 * math/w_fmodl.c: Likewise.
28192 * math/w_j0.c: Likewise.
28193 * math/w_j0f.c: Likewise.
28194 * math/w_j0l.c: Likewise.
28195 * math/w_j1.c: Likewise.
28196 * math/w_j1f.c: Likewise.
28197 * math/w_j1l.c: Likewise.
28198 * math/w_jn.c: Likewise.
28199 * math/w_jnf.c: Likewise.
28200 * math/w_log.c: Likewise.
28201 * math/w_logf.c: Likewise.
28202 * math/w_logl.c: Likewise.
28203 * math/w_log10.c: Likewise.
28204 * math/w_log10f.c: Likewise.
28205 * math/w_log10l.c: Likewise.
28206 * math/w_log2.c: Likewise.
28207 * math/w_log2f.c: Likewise.
28208 * math/w_log2l.c: Likewise.
28209 * math/w_pow.c: Likewise.
28210 * math/w_powf.c: Likewise.
28211 * math/w_powl.c: Likewise.
28212 * math/w_remainder.c: Likewise.
28213 * math/w_remainderf.c: Likewise.
28214 * math/w_remainderl.c: Likewise.
28215 * math/w_scalb.c: Likewise.
28216 * math/w_scalbf.c: Likewise.
28217 * math/w_scalbl.c: Likewise.
28218 * math/w_sqrt.c: Likewise.
28219 * math/w_sqrtf.c: Likewise.
28220 * math/w_sqrtl.c: Likewise.
28221 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28222 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28223 used.
28224 * math/math_private.h: Declare __kernel_standard_f.
28225 * math/w_cosh.c: Remove cruft and optimize a bit.
28226 * math/w_coshf.c: Likewise.
28227 * math/w_coshl.c: Likewise.
28228 * math/w_exp2.c: Likewise.
28229 * math/w_exp2f.c: Likewise.
28230 * math/w_exp2l.c: Likewise.
28231 * math/w_hypot.c: Likewise.
28232 * math/w_hypotf.c: Likewise.
28233 * math/w_hypotl.c: Likewise.
28234 * math/w_lgamma.c: Likewise.
28235 * math/w_lgamma_r.c: Likewise.
28236 * math/w_lgammaf.c: Likewise.
28237 * math/w_lgammaf_r.c: Likewise.
28238 * math/w_lgammal.c: Likewise.
28239 * math/w_lgammal_r.c: Likewise.
28240 * math/w_sinh.c: Likewise.
28241 * math/w_sinhf.c: Likewise.
28242 * math/w_sinhl.c: Likewise.
28243 * math/w_tgamma.c: Likewise.
28244 * math/w_tgammaf.c: Likewise.
28245 * math/w_tgammal.c: Likewise.
28246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28248 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28249 Minor optimizations. Pretty printing. Remove cruft.
28250 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28254 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28255 * sysdeps/i386/fpu/e_asin.S: Likewise.
28256 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28257 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28258 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28259 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28263 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28264 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28265 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28266 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28267 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28268 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28269 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28270 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28271 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28272 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28273 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28274 * sysdeps/i386/fpu/e_log.S: Likewise.
28275 * sysdeps/i386/fpu/e_log10.S: Likewise.
28276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28278 * sysdeps/i386/fpu/e_log2.S: Likewise.
28279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28281 * sysdeps/i386/fpu/e_logf.S: Likewise.
28282 * sysdeps/i386/fpu/e_logl.S: Likewise.
28283 * sysdeps/i386/fpu/e_pow.S: Likewise.
28284 * sysdeps/i386/fpu/e_powf.S: Likewise.
28285 * sysdeps/i386/fpu/e_powl.S: Likewise.
28286 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28287 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28288 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28292 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28293 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28294 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28309 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28316 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28319 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28321 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28322 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28333 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28335 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28392 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28393 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28394 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28395 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28396 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28397 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28398 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28403 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28405 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28406 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28407 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28408 (__isnanf): Likewise.
28409 (__isinf_ns): Likewise.
28410 (__isinf_nsf): Likewise.
28411 (__finite): Likewise.
28412 (__finitef): Likewise.
28413 (__ieee754_sqrt): Define as macro.
28414 (__ieee754_sqrtf): Define as macro.
28415 (__ieee754_sqrtl): Define as macro.
28416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28417 inlined copy.
28418 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28419 __FINITE_MATH_ONLY__ consistent.
28420 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28421
12cc2fcd
AS
284222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28423
a843a204
AS
28424 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28425 of rawmemchr.
28426
12cc2fcd
AS
28427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28428
c853acd5
UD
284292011-10-09 Ulrich Drepper <drepper@gmail.com>
28430
28431 * po/ja.po: Update from translation team.
28432
c658d255
RM
284332011-10-08 Roland McGrath <roland@hack.frob.com>
28434
110946e4
RM
28435 * locale/programs/locarchive.c (prepare_address_space): New function.
28436 (create_archive, enlarge_archive, open_archive): Use it.
28437
50604220
RM
28438 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28439 inside [SHARED], where it is used.
28440
c658d255
RM
28441 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28442
28443 * nss/getent.c (netgroup_keys): Remove unused variable.
28444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28445
6a621eb7
UD
284462011-10-08 Ulrich Drepper <drepper@gmail.com>
28447
7edb55ce
UD
28448 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28449 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28452 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28453 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28454 * math/Makefile (libm-calls): Add s_isinf_ns.
28455 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28456 * math/multc3.c: Likewise.
28457 * math/s_casin.c: Likewise.
28458 * math/s_casinf.c: Likewise.
28459 * math/s_casinl.c: Likewise.
28460 * math/s_ccos.c: Likewise.
28461 * math/s_ccosf.c: Likewise.
28462 * math/s_ccosl.c: Likewise.
28463 * math/s_ctan.c: Likewise.
28464 * math/s_ctanf.c: Likewise.
28465 * math/s_ctanh.c: Likewise.
28466 * math/s_ctanhf.c: Likewise.
28467 * math/s_ctanhl.c: Likewise.
28468 * math/s_ctanl.c: Likewise.
28469 * math/w_fmod.c: Likewise.
28470 * math/w_fmodf.c: Likewise.
28471 * math/w_fmodl.c: Likewise.
28472 * math/w_remainder.c: Likewise.
28473 * math/w_remainderf.c: Likewise.
28474 * math/w_remainderl.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28476 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28479 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28480 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28481 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28482 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28483
187da0ae
UD
28484 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28485 of the number.
28486 * stdio-common/printf_fphex.c: Likewise.
28487 * stdio-common/printf_size.c: Likewise.
28488
9277c064
UD
28489 * math/e_exp10.c: Include math_private.h using <...> not "...".
28490 * math/e_exp10f.c: Likewise.
28491 * math/e_exp10l.c: Likewise.
28492 * math/e_exp2l.c: Likewise.
28493 * math/e_j0l.c: Likewise.
28494 * math/e_j1l.c: Likewise.
28495 * math/e_jnl.c: Likewise.
28496 * math/e_lgammal_r.c: Likewise.
28497 * math/e_rem_pio2l.c: Likewise.
28498 * math/e_scalb.c: Likewise.
28499 * math/e_scalbf.c: Likewise.
28500 * math/e_scalbl.c: Likewise.
28501 * math/k_cosl.c: Likewise.
28502 * math/k_sinl.c: Likewise.
28503 * math/k_tanl.c: Likewise.
28504 * math/s_cacoshf.c: Likewise.
28505 * math/s_catan.c: Likewise.
28506 * math/s_catanf.c: Likewise.
28507 * math/s_catanh.c: Likewise.
28508 * math/s_catanhf.c: Likewise.
28509 * math/s_catanhl.c: Likewise.
28510 * math/s_catanl.c: Likewise.
28511 * math/s_ccosh.c: Likewise.
28512 * math/s_ccoshf.c: Likewise.
28513 * math/s_ccoshl.c: Likewise.
28514 * math/s_cexp.c: Likewise.
28515 * math/s_cexpf.c: Likewise.
28516 * math/s_cexpl.c: Likewise.
28517 * math/s_clog.c: Likewise.
28518 * math/s_clog10.c: Likewise.
28519 * math/s_clog10f.c: Likewise.
28520 * math/s_clog10l.c: Likewise.
28521 * math/s_clogf.c: Likewise.
28522 * math/s_clogl.c: Likewise.
28523 * math/s_csin.c: Likewise.
28524 * math/s_csinf.c: Likewise.
28525 * math/s_csinh.c: Likewise.
28526 * math/s_csinhf.c: Likewise.
28527 * math/s_csinhl.c: Likewise.
28528 * math/s_csinl.c: Likewise.
28529 * math/s_csqrt.c: Likewise.
28530 * math/s_csqrtf.c: Likewise.
28531 * math/s_csqrtl.c: Likewise.
28532 * math/s_ctan.c: Likewise.
28533 * math/s_ctanf.c: Likewise.
28534 * math/s_ctanh.c: Likewise.
28535 * math/s_ctanhf.c: Likewise.
28536 * math/s_ctanhl.c: Likewise.
28537 * math/s_ctanl.c: Likewise.
28538 * math/s_ldexp.c: Likewise.
28539 * math/s_ldexpf.c: Likewise.
28540 * math/s_ldexpl.c: Likewise.
28541 * math/s_significand.c: Likewise.
28542 * math/s_significandf.c: Likewise.
28543 * math/s_significandl.c: Likewise.
28544 * math/w_acos.c: Likewise.
28545 * math/w_acosf.c: Likewise.
28546 * math/w_acosh.c: Likewise.
28547 * math/w_acoshf.c: Likewise.
28548 * math/w_acoshl.c: Likewise.
28549 * math/w_acosl.c: Likewise.
28550 * math/w_asin.c: Likewise.
28551 * math/w_asinf.c: Likewise.
28552 * math/w_asinl.c: Likewise.
28553 * math/w_atan2.c: Likewise.
28554 * math/w_atan2f.c: Likewise.
28555 * math/w_atan2l.c: Likewise.
28556 * math/w_atanh.c: Likewise.
28557 * math/w_atanhf.c: Likewise.
28558 * math/w_atanhl.c: Likewise.
28559 * math/w_cosh.c: Likewise.
28560 * math/w_coshf.c: Likewise.
28561 * math/w_coshl.c: Likewise.
28562 * math/w_dremf.c: Likewise.
28563 * math/w_exp10.c: Likewise.
28564 * math/w_exp10f.c: Likewise.
28565 * math/w_exp10l.c: Likewise.
28566 * math/w_exp2.c: Likewise.
28567 * math/w_exp2f.c: Likewise.
28568 * math/w_fmod.c: Likewise.
28569 * math/w_fmodf.c: Likewise.
28570 * math/w_fmodl.c: Likewise.
28571 * math/w_hypot.c: Likewise.
28572 * math/w_hypotf.c: Likewise.
28573 * math/w_hypotl.c: Likewise.
28574 * math/w_j0.c: Likewise.
28575 * math/w_j0f.c: Likewise.
28576 * math/w_j0l.c: Likewise.
28577 * math/w_j1.c: Likewise.
28578 * math/w_j1f.c: Likewise.
28579 * math/w_j1l.c: Likewise.
28580 * math/w_jn.c: Likewise.
28581 * math/w_jnf.c: Likewise.
28582 * math/w_jnl.c: Likewise.
28583 * math/w_lgamma.c: Likewise.
28584 * math/w_lgamma_r.c: Likewise.
28585 * math/w_lgammaf.c: Likewise.
28586 * math/w_lgammaf_r.c: Likewise.
28587 * math/w_lgammal.c: Likewise.
28588 * math/w_lgammal_r.c: Likewise.
28589 * math/w_log.c: Likewise.
28590 * math/w_log10.c: Likewise.
28591 * math/w_log10f.c: Likewise.
28592 * math/w_log10l.c: Likewise.
28593 * math/w_log2.c: Likewise.
28594 * math/w_log2f.c: Likewise.
28595 * math/w_log2l.c: Likewise.
28596 * math/w_logf.c: Likewise.
28597 * math/w_logl.c: Likewise.
28598 * math/w_pow.c: Likewise.
28599 * math/w_powf.c: Likewise.
28600 * math/w_powl.c: Likewise.
28601 * math/w_remainder.c: Likewise.
28602 * math/w_remainderf.c: Likewise.
28603 * math/w_remainderl.c: Likewise.
28604 * math/w_scalb.c: Likewise.
28605 * math/w_scalbf.c: Likewise.
28606 * math/w_scalbl.c: Likewise.
28607 * math/w_sinh.c: Likewise.
28608 * math/w_sinhf.c: Likewise.
28609 * math/w_sinhl.c: Likewise.
28610 * math/w_sqrt.c: Likewise.
28611 * math/w_sqrtf.c: Likewise.
28612 * math/w_sqrtl.c: Likewise.
28613 * math/w_tgamma.c: Likewise.
28614 * math/w_tgammaf.c: Likewise.
28615 * math/w_tgammal.c: Likewise.
28616
6a621eb7
UD
28617 * po/ja.po: Update from translation team.
28618
bf582445
AJ
286192011-09-29 Andreas Jaeger <aj@suse.de>
28620
f9efbf3a
AJ
28621 [BZ #13179]
28622 * sunrpc/netname.c (netname2host): Fix logic.
28623
bf582445
AJ
28624 [BZ #6779]
28625 [BZ #6783]
28626 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28627 correctly.
28628 * math/w_remainder.c (__remainder): Likewise.
28629 * math/w_remainderf.c (__remainderf): Likewise.
28630 * math/libm-test.inc (remainder_test): Add test cases.
28631
48693bea
AK
286322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28633
28634 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28635 sdiv_qrnnd.
28636
42622229
LD
286372011-10-07 Ulrich Drepper <drepper@gmail.com>
28638
28639 * string/test-memcmp.c: Avoid unncessary #defines.
28640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28641
093ecf92
LD
286422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28643
28644 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28645 Use new sse2 version for core i3 - i7 as it's faster
28646 than sse42 version.
28647 (bit_Prefer_PMINUB_for_stringop): New.
28648 * sysdeps/x86_64/rawmemchr.S: Update.
28649 Replace with faster SSE2 version.
28650 * sysdeps/x86_64/memrchr.S: New file.
28651 * sysdeps/x86_64/memchr.S: Update.
28652 Replace with faster SSE2 version.
28653
fde56e5c
MP
286542011-09-12 Marek Polacek <mpolacek@redhat.com>
28655
28656 * elf/dl-load.c (lose): Add cast to avoid warning.
28657
21fd49a9
UD
286582011-10-07 Ulrich Drepper <drepper@gmail.com>
28659
5a06e643
UD
28660 * po/ca.po: Update from translation team.
28661
684ae515
UD
28662 * inet/getnetgrent_r.c: Hook up nscd.
28663 * nscd/Makefile (routines): Add nscd_netgroup.
28664 (nscd-modules): Add netgroupcache.
28665 (CFLAGS-netgroupcache.c): Define.
28666 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28667 (cache_search): Add const to second parameter.
28668 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28669 INNETGR.
28670 (dbs): Add netgrdb entry.
28671 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28672 (verify_persistent_db): Handle netgrdb.
28673 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28674 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28675 GETFDNETGR.
28676 (netgroup_response_header): Define.
28677 (innetgroup_response_header): Define.
28678 (datahead): Add netgroup_response_header and innetgroup_response_header
28679 elements.
28680 * nscd/nscd.conf: Add entries for netgroup cache.
28681 * nscd/nscd.h (dbtype): Add netgrdb.
28682 (_PATH_NSCD_NETGROUP_DB): Define.
28683 (netgroup_iov_disabled): Declare.
28684 (xmalloc, xcalloc, xrealloc): Move declarations here.
28685 (cache_search): Adjust prototype.
28686 Add netgroup-related prototypes.
28687 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28688 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28689 (__nscd_innetgr): Declare.
28690 * nscd/selinux.c (perms): Use access_vector_t as element type and
28691 add netgroup-related initializers.
28692 * nscd/netgroupcache.c: New file.
28693 * nscd/nscd_netgroup.c: New file.
28694 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28695 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28696 For four parameters use innetgr.
28697 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28698 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28699 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28700 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28701
21fd49a9
UD
28702 * nscd/connections.c (register_traced_file): Don't register file
28703 for disabled databases.
28704
054c0457
UD
287052011-10-06 Ulrich Drepper <drepper@gmail.com>
28706
32b63198
UD
28707 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28708
054c0457
UD
28709 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28710 from tree and freeing node.
28711
64031225
JO
287122011-09-25 Jiri Olsa <jolsa@redhat.com>
28713
28714 * nss/nsswitch.c (__nss_database_lookup): Handle
28715 nss_parse_service_list out of memory case.
28716
0490345c
JO
287172011-09-15 Jiri Olsa <jolsa@redhat.com>
28718
28719 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28720 out of memory case.
28721
3a62d00d
AS
287222011-10-04 Andreas Schwab <schwab@redhat.com>
28723
28724 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28725 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28726 pass it down.
28727 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28728 elf_machine_rela, elf_machine_lazy_rel.
28729 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28730 (ELF_DYNAMIC_DO_REL): Likewise.
28731 (ELF_DYNAMIC_DO_RELA): Likewise.
28732 (ELF_DYNAMIC_RELOCATE): Likewise.
28733 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28734 to ELF_DYNAMIC_DO_REL.
28735 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28736 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28737 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28738 elf_machine_rela.
28739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28740 skip_ifunc, don't call ifunc function if non-zero.
28741 (elf_machine_rela): Likewise.
28742 (elf_machine_lazy_rel): Likewise.
28743 (elf_machine_lazy_rela): Likewise.
28744 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28745 (elf_machine_lazy_rel): Likewise.
28746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28747 Likewise.
28748 (elf_machine_lazy_rel): Likewise.
28749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28750 Likewise.
28751 (elf_machine_lazy_rel): Likewise.
28752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28753 (elf_machine_lazy_rel): Likewise.
28754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28755 (elf_machine_lazy_rel): Likewise.
28756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28757 (elf_machine_lazy_rel): Likewise.
28758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28759 (elf_machine_lazy_rel): Likewise.
28760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28761 (elf_machine_lazy_rel): Likewise.
28762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28763 (elf_machine_lazy_rel): Likewise.
28764
68577918
UD
287652011-09-28 Ulrich Drepper <drepper@gmail.com>
28766
28767 * nss/nss_files/files-init.c (_nss_files_init): Use static
28768 initialization for all the *_traced_file variables.
28769
68822d74
AS
287702011-09-28 Andreas Schwab <schwab@redhat.com>
28771
28772 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28773
2056100b
RM
287742011-09-27 Roland McGrath <roland@hack.frob.com>
28775
28776 [BZ #13226]
28777 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28778
32c76b63
AS
287792011-09-27 Andreas Schwab <schwab@redhat.com>
28780
28781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28782 Reread the line before reparsing it.
28783
bf972c9d
AS
287842011-09-26 Andreas Schwab <schwab@redhat.com>
28785
28786 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28787
e057a1b5
JM
287882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28789 Maxim Kuvyrkov <maxim@codesourcery.com>
28790 Joseph Myers <joseph@codesourcery.com>
28791
28792 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28793 if needed for __stack_chk_guard.
28794
bc7e1c36
RM
287952011-09-19 Roland McGrath <roland@hack.frob.com>
28796
ecb1482f
RM
28797 * sysdeps/posix/spawni.c (script_execute): Always define it.
28798 It will be optimized away if unused.
28799 (maybe_script_execute): New function.
28800 (__spawni): Call it.
28801
bc7e1c36
RM
28802 * Makerules: Don't include tls.make.
28803 (config-tls): Always set to thread.
28804 * tls.make.c: File removed.
28805
1c3b002b
MF
288062011-09-19 Mike Frysinger <vapier@gentoo.org>
28807
28808 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28809 * config.make.in (CPPFLAGS-config): New substituted variable.
28810
2840865d
UD
288112011-09-15 Ulrich Drepper <drepper@gmail.com>
28812
88738eb6
UD
28813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28814
cbf645a6 28815 [BZ #13192]
2840865d
UD
28816 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28817 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28818
b402e91a
RM
288192011-09-15 Roland McGrath <roland@hack.frob.com>
28820
28821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28822 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28824 (CALL_FAIL): Likewise.
28825 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28826 (CALL_FAIL): Macro removed.
28827 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28828
4c1a1f71
UD
288292011-09-15 Ulrich Drepper <drepper@gmail.com>
28830
28831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28832 for __FINITE_MATH_ONLY__ == 1.
28833
edc121be
AS
288342011-09-15 Andreas Schwab <schwab@redhat.com>
28835
28836 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28837 __ieee754_sqrt instead of sqrt.
28838 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28839 __ieee754_sqrtf instead of sqrtf.
28840 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28841 __floorf instead of floorf.
28842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28843 __floorf, __truncf instead of floorf, truncf.
28844
cd205654
UD
288452011-09-14 Ulrich Drepper <drepper@gmail.com>
28846
ee4d0315
UD
28847 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28848
cd205654
UD
28849 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28850 __extern_always_inline.
28851 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28852 32-bit.
28853
48b67d71
AS
288542011-09-14 Andreas Schwab <schwab@redhat.com>
28855
28856 * elf/rtld.c (dl_main): Also relocate in dependency order when
28857 doing symbol dependency testing.
28858
1ae12c75
AS
288592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28860
28861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28862 Always define `refsym'.
28863
995a80df
AS
288642011-09-13 Andreas Schwab <schwab@redhat.com>
28865
e529793b
AS
28866 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28867 (__FD_ELT): Renamed from __FDELT.
28868 * misc/bits/select2.h (__FD_ELT): Likewise.
28869 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28870 __FD_MASK instead of __FDELT, __FDMASK.
28871 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28872 Likewise.
28873 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28874 Likewise.
28875
52d4fef8
AS
28876 * elf/Makefile (gen-ldd): Fix pattern.
28877
995a80df
AS
28878 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28879 (init_tls): Likewise.
28880
8682f8b0
UD
288812011-09-12 Ulrich Drepper <drepper@gmail.com>
28882
28883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28884
de82006d
AS
288852011-09-12 Andreas Schwab <schwab@redhat.com>
28886
a7c8e6a1
AS
28887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28888 `struct cmsghdr *' instead of `void *'.
28889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28890 Likewise.
28891
0f31fe77
AS
288922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28893
28894 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28895 if non-absolute.
28896 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28897 ldd_rewrite_script.
0f31fe77 28898
32b4c839
UD
288992011-09-11 Ulrich Drepper <drepper@gmail.com>
28900
83cd1420
UD
28901 * configure.in: Remove --with-tls option.
28902 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28903 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28904 out in case it is missing.
28905 * sysdeps/ia64/elf/configure.in: Likewise.
28906 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28907 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28908 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28909 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28910 * sysdeps/sh/elf/configure.in: Likewise.
28911 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28913 * sysdeps/x86_64/elf/configure.in: Likewise.
28914 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28915 * sysdeps/mach/hurd/tls.h: Likewise.
28916
633f745d
UD
28917 [BZ #13067]
28918 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28919
f318beb8
UD
28920 [BZ #13090]
28921 * configure.in: Fix use of AC_INIT.
28922
32b4c839
UD
28923 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28924
3ce1f295
UD
289252011-09-10 Ulrich Drepper <drepper@gmail.com>
28926
bb016596
UD
28927 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28928 __set_errno.
8e58439c
UD
28929 * malloc/hooks.c: Likewise.
28930
aebae053 28931 [BZ #11929]
02d46fc4
UD
28932 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28933 variables statically.
28934 (narenas): Initialize.
28935 (list_lock): Initialize.
bb016596
UD
28936 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28937 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28938 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28939 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28940 Add initializers to main_arena and mp_.
28941 (malloc_state): Remove pagesize member. Change all users to use
28942 GLRO(dl_pagesize).
28943
28944 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28945 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28946 is always initialized.
28947
22a89187
UD
28948 * malloc/malloc.c: Removed unused configurations and dead code.
28949 * malloc/arena.c: Likewise.
28950 * malloc/hooks.c: Likewise.
02d46fc4 28951 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28952
d063d164
UD
28953 * include/tls.h: Removed. USE___THREAD must always be defined.
28954 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28955 * elf/dl-libc.c: Likewise.
28956 * elf/dl-tsd.c: Likewise.
28957 * include/errno.h: Likewise.
28958 * include/netdb.h: Likewise.
28959 * include/resolv.h: Likewise.
28960 * inet/herrno-loc.c: Likewise.
28961 * inet/herrno.c: Likewise.
28962 * malloc/arena.c: Likewise.
28963 * malloc/hooks.c: Likewise.
28964 * malloc/malloc.c: Likewise.
28965 * resolv/res-state.c: Likewise.
28966 * resolv/res_libc.c: Likewise.
28967 * sysdeps/i386/dl-machine.h: Likewise.
28968 * sysdeps/ia64/dl-machine.h: Likewise.
28969 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28970 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28971 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28972 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28973 * sysdeps/sh/dl-machine.h: Likewise.
28974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28976 * sysdeps/unix/i386/sysdep.S: Likewise.
28977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28978 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28988 * sysdeps/x86_64/dl-machine.h: Likewise.
28989 * tls.make.c: Likewise.
28990
3ce1f295
UD
28991 * configure.in: Remove --with-__thread option. Make tests for
28992 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28993 tls_model attribute fail if no support is available. Remove
28994 USE_IN_LIBIO.
28995 * Makeconfig: Adjust for dropped configure option. All features are
28996 now mandatory.
28997 * Makerules: Likewise.
28998 * Versions.def: Likewise.
28999 * argp/argp-fmtstream.c: Likewise.
29000 * argp/argp-fmtstream.h: Likewise.
29001 * argp/argp-help.c: Likewise.
29002 * assert/assert.c: Likewise.
29003 * config.h.in: Likewise.
29004 * config.make.in: Likewise.
29005 * configure: Likewise.
29006 * configure.in: Likewise.
29007 * csu/Versions: Likewise.
29008 * csu/init.c: Likewise.
29009 * elf/tst-audit2.c: Likewise.
29010 * elf/tst-tls10.c: Likewise.
29011 * elf/tst-tls10.h: Likewise.
29012 * elf/tst-tls11.c: Likewise.
29013 * elf/tst-tls12.c: Likewise.
29014 * elf/tst-tls14.c: Likewise.
29015 * elf/tst-tlsmod11.c: Likewise.
29016 * elf/tst-tlsmod12.c: Likewise.
29017 * elf/tst-tlsmod13.c: Likewise.
29018 * elf/tst-tlsmod13a.c: Likewise.
29019 * elf/tst-tlsmod14a.c: Likewise.
29020 * elf/tst-tlsmod15b.c: Likewise.
29021 * elf/tst-tlsmod16a.c: Likewise.
29022 * elf/tst-tlsmod16b.c: Likewise.
29023 * elf/tst-tlsmod7.c: Likewise.
29024 * elf/tst-tlsmod8.c: Likewise.
29025 * elf/tst-tlsmod9.c: Likewise.
29026 * gmon/gmon.c: Likewise.
29027 * grp/fgetgrent_r.c: Likewise.
29028 * grp/putgrent.c: Likewise.
29029 * hurd/fopenport.c: Likewise.
29030 * include/libc-symbols.h: Likewise.
29031 * include/tls.h: Likewise.
29032 * intl/gettextP.h: Likewise.
29033 * intl/loadinfo.h: Likewise.
29034 * locale/global-locale.c: Likewise.
29035 * locale/localeinfo.h: Likewise.
29036 * mach/devstream.c: Likewise.
29037 * malloc/arena.c: Likewise.
29038 * malloc/set-freeres.c: Likewise.
29039 * misc/err.c: Likewise.
29040 * misc/getttyent.c: Likewise.
29041 * misc/mntent_r.c: Likewise.
29042 * posix/getopt.c: Likewise.
29043 * posix/wordexp.c: Likewise.
29044 * pwd/fgetpwent_r.c: Likewise.
29045 * resolv/Versions: Likewise.
29046 * resolv/res_hconf.c: Likewise.
29047 * shadow/fgetspent_r.c: Likewise.
29048 * shadow/putspent.c: Likewise.
29049 * stdio-common/printf_fphex.c: Likewise.
29050 * stdio-common/tmpfile.c: Likewise.
29051 * stdlib/abort.c: Likewise.
29052 * stdlib/fmtmsg.c: Likewise.
29053 * sunrpc/auth_unix.c: Likewise.
29054 * sunrpc/clnt_perr.c: Likewise.
29055 * sunrpc/clnt_tcp.c: Likewise.
29056 * sunrpc/clnt_udp.c: Likewise.
29057 * sunrpc/clnt_unix.c: Likewise.
29058 * sunrpc/openchild.c: Likewise.
29059 * sunrpc/svc_simple.c: Likewise.
29060 * sunrpc/svc_tcp.c: Likewise.
29061 * sunrpc/svc_udp.c: Likewise.
29062 * sunrpc/svc_unix.c: Likewise.
29063 * sunrpc/xdr.c: Likewise.
29064 * sunrpc/xdr_array.c: Likewise.
29065 * sunrpc/xdr_rec.c: Likewise.
29066 * sunrpc/xdr_ref.c: Likewise.
29067 * sunrpc/xdr_stdio.c: Likewise.
29068
1248c1c4
PB
290692011-09-09 Ulrich Drepper <drepper@gmail.com>
29070
29071 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29072
290732011-07-03 Andreas Jaeger <aj@suse.de>
29074
29075 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29077 regenerate with gen-libm-tests.pl.
29078
290792010-05-12 Petr Baudis <pasky@suse.cz>
29080
29081 [BZ #11589]
29082 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29083 around j0() zero points by switching to j1().
29084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29088
f22e1074
UD
290892011-09-09 Ulrich Drepper <drepper@gmail.com>
29090
f19009c1
UD
29091 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29092 instead of 0.
29093 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29094 instead of 0.
f19009c1
UD
29095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29096 Patch in part by Pavel Roskin <proski@gnu.org>.
29097
3f8cc204
UD
29098 [BZ #13138]
29099 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29100 realloc.
29101 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29102 Free memory block if necessary.
29103
f22e1074
UD
29104 [BZ #12847]
29105 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29106 be NULL. Don't lock in this case.
29107
0a2349f9
RM
291082011-09-09 Roland McGrath <roland@hack.frob.com>
29109
29110 * elf/elf.h (ELFOSABI_GNU): New macro.
29111 (ELFOSABI_LINUX): Define to that.
29112
f3cdd467
DZ
291132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29114
29115 * string/strncat.c (strncat): Undef the symbol in case it has been
29116 defined in bits/string.h.
29117
74718d13
UD
291182011-09-09 Ulrich Drepper <drepper@gmail.com>
29119
633e9e0f
UD
29120 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29121
0a2349f9 29122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29123 link map.
29124
f9924780
AJ
291252011-08-17 Andreas Jaeger <aj@suse.de>
29126
29127 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29128
7f5517aa
PP
291292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29130 Ian Lance Taylor <iant@google.com>
29131
29132 * math/libm-test.inc (lround_test): New testcase.
29133 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29134
762011fe
UD
291352011-09-08 Ulrich Drepper <drepper@gmail.com>
29136
92963737
UD
29137 * Makefile: Remove support for automatic cvs check-ins.
29138 * Makerules: Likewise.
29139 * config.make.in: Likewise.
29140 * configure.in: Likewise.
29141 * intl/Makefile: Likewise.
29142 * locale/Makefile: Likewise.
29143 * po/Makefile: Likewise.
29144 * posix/Makefile: Likewise.
29145 * sysdeps/gnu/Makefile: Likewise.
29146 * sysdeps/mach/hurd/Makefile: Likewise.
29147 * sysdeps/sparc/sparc32/Makefile: Likewise.
29148
b0727fd8
JS
29149 [BZ #13118]
29150 * posix/Makefile (bug-regex32-ENV): Define.
29151 Patch by John Stanley <jpsinthemix@verizon.net>.
29152
a0f33f99
UD
29153 * misc/Makefile (headers): Add bits/select2.h.
29154 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29155 * misc/bits/select2.h: New file.
29156 * include/bits/select2.h: New file.
29157 * debug/Makefile (routines): Add fdelt_chk.
29158 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29159 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29160 FD_ISSET.
29161 * debug/fdelt_chk.c: New file.
29162
762011fe
UD
29163 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29164 * wcsmbs/test-wmemcmp.c: Likewise.
29165 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29166 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29167
291682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29169
29170 * string/Makefile (strop-tests): Add memcmp.
29171 * string/test-wmemcmp.c: New file.
29172 * string/test-memcmp.c: Add wmemcmp support.
29173
7f513ec8
RM
291742011-09-08 Roland McGrath <roland@hack.frob.com>
29175
0442afb4
RM
29176 [BZ #13153]
29177 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29178 2011-07-19 change.
29179
7f513ec8
RM
29180 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29181 garbage value in a __mach_port_mod_refs call in the cases of the
29182 task-self and thread-self ports.
29183
a12b2239
ST
291842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29185
29186 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29187
610f9ab4
AS
291882011-09-08 Andreas Schwab <schwab@redhat.com>
29189
7f513ec8 29190 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29191
48882a1a
LD
291922011-09-07 Ulrich Drepper <drepper@gmail.com>
29193
b49865be
UD
29194 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29195
fdc86bc9
UD
29196 * elf/dl-libc.c (dlerror_run): Pass back error code from
29197 dl_catch_error.
29198
c966526a
UD
29199 [BZ #13123]
29200 * elf/dl-load.c (lose): Free l_origin if it is valid.
29201
48882a1a
LD
29202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29203 names.
29204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29209 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29210
77a2a8b4
AZ
292112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29212
29213 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29214 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29217 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29218 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29219 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29220 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29221 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29222 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29223
24f579d8
AM
292242011-08-15 Alan Modra <amodra@gmail.com>
29225
29226 [BZ #13092]
29227 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29228 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29229 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29230 ppc_mcount to static-only-routines.
29231 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29232 __mcount_internal.
29233 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29234 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29235
3d4837df
UD
292362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29237
29238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29239 for finite and infinity parameters.
29240
22700377
WS
292412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29242
29243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29244 and add nop instructions for throughput optimization.
29245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29246
5025581e
WS
292472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29248
29249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29250 aligned copy for power7 with vector-scalar instructions.
29251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29252
08a300c9
L
292532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29254
29255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29256 AVX check.
29257
59178ef9
AS
292582011-09-07 Andreas Schwab <schwab@redhat.com>
29259
29260 [BZ #13144]
29261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29262 last change.
29263
e38ba7ab
UD
292642011-09-07 Ulrich Drepper <drepper@gmail.com>
29265
29266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29267 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29268 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29270 clock_gettime.
29271
d53a73ac
UD
292722011-09-06 Ulrich Drepper <drepper@gmail.com>
29273
fc8bffcc
UD
29274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29275 Forgot to demangle the pointer.
29276
ceaa0c5d
UD
29277 * sysdeps/i386/sysdep.h: Define atom_text_section.
29278 * sysdeps/x86_64/sysdep.h: Likewise.
29279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29280 section with atom_text_section.
29281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29286
a77d3c17
UD
29287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29289 already be defined. Change to take two parameters and don't assign
29290 result to variable. Adjust all users.
29291 Define INTERNAL_GETTIME if not already defined.
29292 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29293 call.
29294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29295 HAVE_CLOCK_GETTIME_VSYSCALL.
29296 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29297
d53a73ac
UD
29298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29299 gettimeofday vsyscall, just use time.
29300
a8f84144
AS
293012011-09-06 Andreas Schwab <schwab@redhat.com>
29302
29303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29304 <errno.h>.
29305
ef606249
UD
293062011-09-06 Ulrich Drepper <drepper@gmail.com>
29307
29308 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29309 syscall on x86-64.
29310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29311 syscall.
29312 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29314 syscall if possible.
29315
6585cb60
UD
293162011-09-05 Ulrich Drepper <drepper@gmail.com>
29317
29318 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29319 e_ident. Don't pass to find_mapsXX.
29320 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29321
a5f524e4
LD
293222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29323
29324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29325 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29326 * sysdeps/x86_64/multiarch/strchr.S: Update.
29327 Check bit_slow_BSF bit.
29328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29331
554881ef
UD
293322011-09-05 Ulrich Drepper <drepper@gmail.com>
29333
d96de963
UD
29334 [BZ #13134]
29335 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29336 before glibc 2.15.
29337 (tryshell): Define.
29338 (__spawni): Change last parameter to be flag. Test
29339 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29340 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29341 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29342 * posix/spawni.c: Likewise.
29343 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29344 * posix/spawnp.c: Likewise. Change normal version to use
29345 SPAWN_XFLAGS_USE_PATH.
29346 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29347 SPAWN_XFLAGS_TRY_SHELL.
29348
d48e5868
UD
29349 [BZ #13150]
29350 * posix/glob.h: Remove gcc 1.x support.
29351
554881ef
UD
29352 [BZ #13068]
29353 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29354
693fb948
LD
293552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29356
29357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29358 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29359 strrchr-sse2-bsf
29360 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29361 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29366
1b48c537
UD
293672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29368
49d42c37
UD
29369 * sysdeps/x86_64/wcscmp.S: New file.
29370
1b48c537
UD
29371 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29372 wcscmp-c wcscmp-sse2
29373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29374 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29376 * wcsmbs/wcscmp.c: Allow renaming.
29377
15c95c5d
DM
293782011-09-05 David S. Miller <davem@davemloft.net>
29379
29380 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29381 stack slot, rather than the struct return pointer slot.
29382 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29383 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29386
2f0ad8f3
UD
293872011-09-05 Ulrich Drepper <drepper@gmail.com>
29388
d88ae418
UD
29389 * po/ja.po: Update from translation team.
29390
2f0ad8f3
UD
29391 [BZ #13144]
29392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29393 kernel in 64-bit binaries.
29394
5f4318d1
DM
293952011-09-01 David S. Miller <davem@davemloft.net>
29396
29397 * elf/elf.h (HWCAP_SPARC_*): Move to..
29398 * sysdeps/sparc/sysdep.h: this new file and add new values.
29399 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29400 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29401 _DL_HWCAP_COUNT to 24.
29402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29403 entries.
29404 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29405 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29406 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29408 instead of magic constants.
29409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29410
3ba57516
DM
294112011-08-31 David S. Miller <davem@davemloft.net>
29412
29413 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29415 Reimplement to do errno handling inline.
29416 (SYSCALL_ERROR_HANDLER): New macro.
29417 (__SYSCALL_STRING): Do not do errno handling in asm.
29418 (__CLONE_SYSCALL_STRING): Delete.
29419 (__INTERNAL_SYSCALL_STRING): Delete.
29420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29421 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29422 (PSEUDO): Reimplement to do errno handling inline.
29423 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29424 (SYSCALL_ERROR_HANDLER): New macro.
29425 (__SYSCALL_STRING): Do not do errno handling in asm.
29426 (__CLONE_SYSCALL_STRING): Delete.
29427 (__INTERNAL_SYSCALL_STRING): Delete.
29428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29429 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29430 i386.
29431 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29432 (inline_syscall*): Add 'err' argument.
29433 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29434 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29435 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29436 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29437
29438 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29440
2bc17433
AS
294412011-08-30 Andreas Schwab <schwab@redhat.com>
29442
29443 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29444
fbeb5f4d
JO
294452011-08-29 Jiri Olsa <jolsa@redhat.com>
29446
29447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29448 directive.
29449
ad69cc26
DM
294502011-08-24 David S. Miller <davem@davemloft.net>
29451
29452 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29453
39dd69df
AS
294542011-08-24 Andreas Schwab <schwab@redhat.com>
29455
29456 * elf/Makefile: Add rules to build and run unload8 test.
29457 * elf/unload8.c: New file.
29458 * elf/unload8mod1.c: New file.
29459 * elf/unload8mod1x.c: New file.
29460 * elf/unload8mod2.c: New file.
29461 * elf/unload8mod3.c: New file.
29462
29463 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29464 it wasn't used.
29465
2c0b250a
DM
294662011-08-23 David S. Miller <davem@davemloft.net>
29467
29468 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29469 subtract stack bias.
29470 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29471 %sp not %fp in calculations.
29472 (_JMPBUF_UNWINDS_ADJ): Likewise.
29473
22044b48
DM
29474 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29475 (aio_suspend): Call it to force an exception region around the
29476 AIO_MISC_WAIT() invocation.
29477
2cae4995
AS
294782011-08-23 Andreas Schwab <schwab@redhat.com>
29479
29480 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29481 backslash.
29482
873a772e
AJ
294832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29484
29485 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29486 protection macro.
29487 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29488 and <dl-machine.h>.
29489 (Elf64_FuncDesc): Remove.
29490
25ad0df1
DM
294912011-08-22 David S. Miller <davem@davemloft.net>
29492
29493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29494 sigaltstack check, add missing cfi directives.
29495 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29496 missing cfi directives, and sigaltstack handling.
29497
e888bcbe
AS
294982011-08-16 Andreas Schwab <schwab@redhat.com>
29499
29500 [BZ #11724]
29501 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29502 object is seen twice.
29503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29504
29505 * elf/Makefile (distribute): Add tst-initorder2.c.
29506 (tests): Add tst-initorder2.
29507 (modules-names): Add tst-initorder2a tst-initorder2b
29508 tst-initorder2c tst-initorder2d. Add rules to build them.
29509 ($(objpfx)tst-initorder2.out): New rule.
29510 * elf/tst-initorder2.c: New file.
29511 * elf/tst-initorder2.exp: New file.
29512
87162f46
AS
295132011-08-22 Andreas Schwab <schwab@redhat.com>
29514
70538b7f
AS
29515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29516
f55ffe58
AS
29517 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29518 dependencies back to end of function.
29519
87162f46
AS
29520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29521 $(elfobjdir)/ld.so.
29522
91b392a4
UD
295232011-08-21 Ulrich Drepper <drepper@gmail.com>
29524
29525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29526 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29528 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29530 of __vdso_gettimeofday.
29531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29532 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29533 attribute_hidden.
29534 (_libc_vdso_platform_setup): Remove initialization of
29535 __vdso_gettimeofday and __vdso_time.
29536
5c43483f
UD
295372011-08-20 Ulrich Drepper <drepper@gmail.com>
29538
775a77e7
UD
29539 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29540 and fgetc_unlocked.
29541 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29542 getc_unlocked.
89f447ed 29543
49c74ba9
UD
29544 * elf/dl-open.c (add_to_global): Report additions to the global scope
29545 for LD_DEBUG=scopes.
29546 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29547 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29548
5c43483f
UD
29549 [BZ #13114]
29550 * stdio-common/Makefile (tests): Add bug24.
29551 * stdio-common/bug24.c: New file.
29552
a101b025
AJ
295532011-08-19 Andreas Jaeger <aj@suse.de>
29554
29555 [BZ #13114]
29556 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29557 non-existant file when using close-on-exec mode.
29558
c88f1766
UD
295592011-08-20 Ulrich Drepper <drepper@gmail.com>
29560
0276a718
UD
29561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29562 the very first instruction.
29563
c88f1766
UD
29564 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29565 the CFI state in the end.
29566 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29567 inclusion of dl-trampoline.h.
29568 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29569
51ccffa0
AS
295702011-08-19 Andreas Schwab <schwab@redhat.com>
29571
94d7165f
AS
29572 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29573 expectations for long double.
29574
51ccffa0
AS
29575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29576 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29577
fd708658 295782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29579
29580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29581 artificual limit depends upon the system page size.
29582
44f0a71e
UD
295832011-08-17 Ulrich Drepper <drepper@gmail.com>
29584
29585 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29586 * resolv/Makefile: Define CFLAGS-libresolv.
29587
8de79a24
AS
295882011-08-17 Andreas Schwab <schwab@redhat.com>
29589
29590 * nss/makedb.c (compute_tables): Make variables used in nested
29591 function static.
29592
27724598
UD
295932011-08-17 Ulrich Drepper <drepper@gmail.com>
29594
c5305d88
UD
29595 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29596 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29597 if buffer was too small.
29598
27724598
UD
29599 * elf/pldd.c (main): Attach to all threads in the process.
29600 Rewrite /proc handling to use *at functions.
29601
076fe015
UD
296022011-08-16 Ulrich Drepper <drepper@gmail.com>
29603
174baab3
UD
29604 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29605 specifies first scope to show.
29606 (dl_open_worker): Update callers. Move printing scope of new
29607 object to before the relocation.
44f0a71e 29608 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29609 * sysdeps/generic/ldsodefs.h: Update declaration.
29610
076fe015
UD
29611 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29612 string for the scope number.
29613
a60df2c3
UD
296142011-08-14 Ulrich Drepper <drepper@gmail.com>
29615
29616 * nscd/servicescache.c (cache_addserv): Make sure written is always
29617 initialized.
29618
5e4287d1
RM
296192011-08-14 Roland McGrath <roland@hack.frob.com>
29620
85ae0589
RM
29621 * sysdeps/i386/i486/bits/atomic.h
29622 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29623 statement expression, so as to suppress "set but not used" warning.
29624 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29625
69f63097
RM
29626 * string/strncat.c (STRNCAT): Use prototype definition.
29627
675456ef
RM
29628 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29629 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29630 -Iprograms here.
29631 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29632 (localedef-modules): Add localedef.
29633 (locale-modules): Add locale.
29634
5e4287d1
RM
29635 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29636 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29637 to avoid a warning.
29638
9c96ff23
DM
296392011-08-14 David S. Miller <davem@davemloft.net>
29640
29641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29642 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29643
f9ddf089
UD
296442011-08-13 Ulrich Drepper <drepper@gmail.com>
29645
44f0a71e 29646 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29647 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29648 * elf/rtld.c (dl_main): Set l_name of vDSO.
29649 Call _dl_show_scope when DL_DEBUG_SCOPES.
29650 (process_dl_debug): Recognize scopes flag and also set it for all.
29651 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29652 Declare _dl_show_scope.
29653
1dc27704
UD
29654 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29655 (do_dlopen): Pass caller_dlopen to dl_open.
29656 (__libc_dlopen_mode): Initialize caller_dlopen.
29657
f9ddf089
UD
29658 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29659 of libc. Make tolower call locale-independent. Optimize a bit by
29660 using isdigit instead of isalnum.
29661 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29662
9ac533d3
UD
296632011-08-12 Ulrich Drepper <drepper@gmail.com>
29664
29665 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29666 was a dependency or dynamically loaded.
29667
89edf2e9
UD
296682011-08-11 Ulrich Drepper <drepper@gmail.com>
29669
8e999d29
UD
29670 * intl/l10nflist.c: Allow architecture-specific pop function.
29671 * sysdeps/x86_64/l10nflist.c: New file.
29672
89edf2e9
UD
29673 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29674 classification.
29675
14d96785
AS
296762011-08-10 Andreas Schwab <schwab@redhat.com>
29677
29678 * include/dirent.h: Add libc_hidden_proto for scandirat and
29679 scandirat64. Don't declare __scandirat64.
29680 * dirent/scandirat.c: Add libc_hidden_def.
29681 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29682 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29683
6761ac04
DM
296842011-08-10 David S. Miller <davem@davemloft.net>
29685
29686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29687 enum.
29688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29691
c55fbd1e
UD
296922011-08-09 Ulrich Drepper <drepper@gmail.com>
29693
29694 * Versions.def [libc]: Add GLIBC_2.15.
29695 * dirent/Makefile (routines): Add scandirat and scandirat64.
29696 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29697 GLIBC_2.15.
29698 * dirent/dirent.h: Declare scandirat and scandirat64.
29699 * dirent/scandirat.c: New file.
29700 * dirent/scandirat64.c: New file.
29701 * sysdeps/wordsize-64/scandirat.c: New file.
29702 * sysdeps/wordsize-64/scandirat64.c: New file.
29703 * dirent/opendir.c: Define opendirat.
29704 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29705 using scandirat.
29706 * dirent/scandir64.c: Adjust for scandir.c change.
29707 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29708 __scandirat64, and __scandir_cancel_handler.
29709 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29710 additional parameter and use openat instead of open (outside of ld.so).
29711 Add new __opendir as wrapper around __opendirat.
29712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29713 here without requiring old scandirat implementation.
29714
879165f2
UD
297152011-08-08 Ulrich Drepper <drepper@gmail.com>
29716
29717 * dirent/scandir.c (cancel_handler): Renamed to
29718 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29719 defined. Adjust users.
29720 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29721 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29722
cb7e923b
UD
297232011-08-04 Ulrich Drepper <drepper@gmail.com>
29724
16292edd
UD
29725 * string/test-string.h (IMPL): Use __STRING to expand name and then
29726 stringify it.
29727
cb7e923b
UD
29728 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29729 of cleanups.
29730
cff82933
LD
297312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29732
29733 * string/Makefile: Update.
29734 (strop-tests): Append strncat.
29735 * string/test-wcscmp.c: New file.
29736 New comprehensive test for wcscmp.
29737 * string/test-strcmp.c: Update.
29738 (WIDE): New define.
29739
9be9bfcc
AS
297402011-07-22 Andreas Schwab <schwab@redhat.com>
29741
29742 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29743 line.
29744
2e96f1c7
AS
297452011-07-26 Andreas Schwab <schwab@redhat.com>
29746
29747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29748 encoding to ACE if AI_IDN.
29749
85188888
JJ
297502011-08-01 Jakub Jelinek <jakub@redhat.com>
29751
29752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29753 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29754
5fa16e9b
LD
297552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29756
29757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29758 Fix overflow bug in strncat.
29759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29760
29761 * string/test-strncat.c: Update.
29762 Add new tests for checking overflow bugs.
29763
297642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29765
29766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29767 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29768 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29769 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29771 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29772 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29773 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29774 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29775
29776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29777 (USE_AS_STRCAT): Define.
29778 Add strcat and strncat support.
29779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29780
8c1a459f
AS
297812011-07-25 Andreas Schwab <schwab@redhat.com>
29782
29783 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29784 __n bigger than INT_MAX+1.
29785 (__strncmp_g): Likewise.
29786
bba33c28
UD
297872011-07-23 Ulrich Drepper <drepper@gmail.com>
29788
798be72d
UD
29789 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29790 * libio/stido.h: Likewise.
29791
8accd4dc
UD
29792 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29793 (AF_NFC): Define.
29794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29795 (AF_NFC): Define.
29796
cbff0d96
UD
29797 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29802
9191c04a
UD
29803 [BZ #13021]
29804 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29805 installed.
29806
bba33c28
UD
29807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29808 typo.
29809 (_dl_x86_64_save_sse): Likewise.
29810
90f139dd
UD
298112011-07-22 Ulrich Drepper <drepper@gmail.com>
29812
1aae088a
UD
29813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29814 OSXSAVE.
29815 (_dl_x86_64_save_sse): Likewise.
29816
8e2045f5
UD
29817 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29818
90f139dd
UD
29819 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29820
1d002f25
AS
298212011-07-21 Andreas Schwab <schwab@redhat.com>
29822
29823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29824 change.
29825 (_dl_x86_64_save_sse): Use correct AVX check.
29826
21137f89
UD
298272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29828
29829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29830 bug in strncpy/strncat.
29831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29832
a65c0b7a
UD
298332011-07-21 Ulrich Drepper <drepper@gmail.com>
29834
29835 * string/tester.c (test_strcat): Add tests for different alignments
29836 of source and destination.
29837 (test_strncat): Likewise.
29838
6986b98a
UD
298392011-07-20 Ulrich Drepper <drepper@gmail.com>
29840
90bb2039
UD
29841 [BZ #12852]
29842 * posix/glob.c (glob): Check passed in values before using them in
29843 expressions to avoid some overflows.
29844 (glob_in_dir): Likewise.
29845
5644ef54
UD
29846 [BZ #13007]
29847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29848 check for AVX enablement so that we don't crash with old kernels and
29849 new hardware.
29850 * elf/tst-audit4.c: Add same checks here.
29851 * elf/tst-audit6.c: Likewise.
29852
29853 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29854
bfc9dc9b
AS
298552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29856
29857 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29858
702e64bb
UD
298592011-07-20 Ulrich Drepper <drepper@gmail.com>
29860
29861 * po/cs.po: Update from translation team.
29862 * po/bg.po: Likewise.
29863
295e904f
MP
298642011-07-12 Marek Polacek <mpolacek@redhat.com>
29865
29866 * misc/sys/cdefs.h: Add support for const attribute.
29867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29868 to gnu_dev_{major,minor,makedev} functions.
29869
3ff94596
MP
298702011-07-20 Marek Polacek <mpolacek@redhat.com>
29871
29872 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29873
28b59fca
AS
298742011-07-20 Andreas Schwab <schwab@redhat.com>
29875
29876 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29877 strlen results.
29878
19df733e
AK
298792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29880
29881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29882 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29883 register in order to avoid conflicts with the soft frame pointer
29884 being held in r11 when necessary.
29885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29886 (INTERNAL_VSYSCALL_NCS): Likewise.
29887
c8835729
MP
298882011-07-14 Marek Polacek <mpolacek@redhat.com>
29889
29890 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29891 * elf/dl-fini.c (_dl_fini): Adjust caller.
29892 * elf/dl-close.c (_dl_close_worker): Likewise.
29893 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29894
b902330c
MP
298952011-07-15 Marek Polacek <mpolacek@redhat.com>
29896
8991e135
MP
29897 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29898 "aux_cache->nlibs < 0".
29899
b902330c
MP
29900 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29901 in the reload-count case.
29902
99710781
LD
299032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29904
29905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29906 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29907 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29908 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29909 * sysdeps/x86_64/multiarch/strcat.S: New file.
29910 * sysdeps/x86_64/multiarch/strncat.S: New file.
29911 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29913 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29914 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29916 (USE_AS_STRCAT): Define.
29917 Add strcat and strncat support.
29918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29921 * string/strncat.c: Update.
29922 (USE_AS_STRNCAT): Define.
29923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29924 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29925 and i7.
29926 * sysdeps/x86_64/multiarch/init-arch.h
29927 (bit_Prefer_PMINUB_for_stringop): New.
29928 (index_Prefer_PMINUB_for_stringop): Likewise.
29929 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29930 bit_Prefer_PMINUB_for_stringop.
29931
7dc6bd90
UD
299322011-07-19 Ulrich Drepper <drepper@gmail.com>
29933
29934 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29935 buffer64.
29936 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29937 of casting of buffer.
29938 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29939 buffer32 and buffer64.
29940 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29941 writes instead of casting of buffer.
29942 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29943 buffer32.
29944 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29945 casting of buffer.
29946
e0e72284
AS
299472011-07-19 Andreas Schwab <schwab@redhat.com>
29948
29949 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29950
feb1eb0b
UD
299512011-07-19 Ulrich Drepper <drepper@gmail.com>
29952
29953 * nscd/nscd.c (termination_handler): Don't do anything for a database
29954 if it has not yet been initialized.
29955
298711ff
UD
299562011-07-18 Ulrich Drepper <drepper@gmail.com>
29957
29958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29959
299602011-07-15 Marek Polacek <mpolacek@redhat.com>
29961
29962 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29963
f9d68389
UD
299642011-07-18 Ulrich Drepper <drepper@gmail.com>
29965
29966 * po/nl.po: Update from translation team.
29967 * po/sv.po: Likewise.
29968
db290cf5
RM
299692011-07-16 Roland McGrath <roland@hack.frob.com>
29970
29971 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29972 now disallowed by GCC.
5c550700 29973
fd5e21c7
RM
29974 * configure.in (use-default-link): Default to yes if a test -shared
29975 link meets our qualifications.
29976 * configure: Regenerated.
29977
5c550700
RM
29978 * config.make.in (output-format): New variable.
29979 * configure.in: Check for ld --print-output-format support.
29980 * configure: Regenerated.
29981 * Makerules ($(common-objpfx)format.lds)
29982 [$(output-format) != unknown]: Just use $(output-format),
29983 instead of the linker-script munging.
29984
9fa2c032
RM
299852011-07-14 Roland McGrath <roland@hack.frob.com>
29986
a6928d51
RM
29987 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29988 of $(common-objpfx)shlib.lds.
29989 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29990
661607b3
RM
29991 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29992 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29993
9fa2c032
RM
29994 * configure.in (-z relro check): Adjust test code to add a large
29995 writable data section after it.
29996 * configure: Regenerated.
29997
defe9061
RM
299982011-07-11 Roland McGrath <roland@hack.frob.com>
29999
30000 * configure.in (-z relro check): Fix test code to make the variable
30001 truly const.
30002 * configure: Regenerated.
30003
319b9ad4
UD
300042011-07-11 Ulrich Drepper <drepper@gmail.com>
30005
30006 * nscd/nscd.h (struct traced_file): Define.
30007 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30008 elements. Add traced_files.
30009 (inotify_fd): Declare.
30010 (register_traced_file): Declare.
30011 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30012 (inotify_fd): Export.
30013 (resolv_conf_descr): Remove.
30014 (nscd_init): Move inotify descriptor creation to main.
30015 Don't register files for notification here.
30016 (register_traced_file): New function.
30017 (invalidate_cache): Don't use reset_res to determine whether to call
30018 res_init, go through the list of registered files.
30019 (main_loop_poll): The inotify descriptors are now stored in the
30020 structures for the traced files.
30021 (main_loop_epoll): Likewise
30022 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30023 to __nss_disable_nscd.
30024 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30025 for a database anymore. Check the records for all the registered
30026 files instead.
30027 * nss/Makefile (libnss_files-routines): Add files-init.
30028 (libnss_db-routines): Add db-init.
30029 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30030 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30031 * nss/nss_db/db-init.c: New file.
30032 * nss/nss_files/files-init.c: New file.
30033 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30034 __nss_lookup_function.
30035 (__nss_lookup_function): Call nss_load_library.
30036 (nss_load_all_libraries): New function.
30037 (__nss_disable_nscd): Take parameter with callback function for files
30038 to register. Set is_nscd. Load all the DSOs for the NSS modules
30039 used for the cached services.
30040 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30041 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30042 options for features to all the files in nscd.
30043
30044 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30045
23bee3e8
RM
300462011-07-10 Roland McGrath <roland@hack.frob.com>
30047
30048 * csu/elf-init.c (__libc_csu_init): Comment typo.
30049
46a5b7f0
UD
300502011-07-09 Ulrich Drepper <drepper@gmail.com>
30051
30052 * po/pl.po: Update from translation team.
30053 * po/ja.po: Likewise.
30054 * po/ru.po: Likewise.
30055 * po/ko.po: Likewise.
30056 * po/fr.po: Likewise.
30057
d30cf5bb
RM
300582011-07-09 Roland McGrath <roland@hack.frob.com>
30059
113ddea4
RM
30060 * configure.in (.ctors/.dtors header and trailer check):
30061 Use an empirical test on a built program.
30062 * configure: Regenerated.
30063
574920b4
RM
30064 * configure.in (-z relro check): Use an empirical test on a built DSO.
30065 Detect, but do not require, on ia64.
30066 * configure: Regenerated.
30067
d30cf5bb
RM
30068 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30069 Update tests that use readelf to use $READELF instead.
30070 * configure: Regenerated.
30071
8538fdb3
UD
300722011-07-08 Ulrich Drepper <drepper@gmail.com>
30073
30074 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30075 if the result is not used.
30076
04d08991
AJ
300772011-07-05 Andreas Jaeger <aj@suse.de>
30078
30079 [BZ#9696]
30080 * stdlib/tst-strtod.c: Add testcase.
30081
de283087
AD
300822011-07-07 Ulrich Drepper <drepper@gmail.com>
30083
4e5f31c8 30084 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30085 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30086 The latter has a higher limit. Take additional parameter to pass to
30087 the new function.
30088 (__pathconf): Pass file to __statfs_link_max.
30089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30090 __statfs_link_max.
30091 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30092 __statfs_link_max.
30093
de283087
AD
30094 [BZ #12868]
30095 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30097 Handle Lustre.
30098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30099 (__statfs_filesize_max): Likewise.
30100 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30101
c75fa153
AJ
301022011-07-05 Andreas Jaeger <aj@suse.de>
30103
30104 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30105
1a544854
UD
301062011-07-06 Marek Polacek <mpolacek@redhat.com>
30107
30108 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30109 `status' variable.
30110 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30111 Likewise.
30112
6f0eec67
UD
301132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30114
30115 * Makefile (strop-tests): Add strncat.
30116 * string/test-strncat.c: New file.
30117
aae30307
UD
301182011-06-30 Marek Polacek <mpolacek@redhat.com>
30119
30120 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30121
c0cfb5eb
UD
301222011-06-21 Andreas Jaeger <aj@suse.de>
30123
30124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30125 Copy rule from iconvdata/Makefile.
30126
01636b21
UD
301272011-07-06 Ulrich Drepper <drepper@gmail.com>
30128
30129 [BZ #12922]
30130 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30131 but no long options are defined, just return 'W'.
30132
9895c8bc
UD
301332011-06-22 Marek Polacek <mpolacek@redhat.com>
30134
30135 [BZ #9696]
30136 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30137
5d4cf042
UD
301382011-07-06 Ulrich Drepper <drepper@gmail.com>
30139
30140 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30141 netgroups to read.
960e5535 30142 (innetgr): Likewise.
5d4cf042 30143
751eb97e
RM
301442011-07-05 Roland McGrath <roland@hack.frob.com>
30145
30146 * config.make.in (install_root): Default to $(DESTDIR).
30147
f15f1e45
UD
301482011-07-05 Ulrich Drepper <drepper@gmail.com>
30149
30150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30151
4e34ac6a
RM
301522011-07-02 Roland McGrath <roland@hack.frob.com>
30153
5e9b6af4
RM
30154 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30155
84f9ea0f
RM
30156 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30157 containing directory rather than embedding absolute directory names.
30158
ea5ee9f7
RM
30159 * scripts/check-local-headers.sh: Rewritten using awk.
30160 Match by word, not by line. Print error messages for matches.
30161 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30162
1b74661a
RM
30163 * Makerules [shlib-lds-flags empty]:
30164 ($(common-objpfx)libc_pic.opts): New target.
30165 ($(common-objpfx)libc_pic.os.clean): New target.
30166 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30167
30168 * config.make.in (OBJCOPY): New variable.
30169 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30170 * configure: Regenerated.
30171
f781ef40
RM
30172 * config.make.in (use-default-link): New variable.
30173 * configure.in (use_default_link): Grok --with-default-link to set it.
30174 * configure: Regenerated.
30175 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30176 (shlib-lds, shlib-lds-flags): Define to empty.
30177
2d4fa81e
RM
30178 * Makerules (shlib-lds): New variable.
30179 (shlib-lds-flags): New variable.
30180 (build-shlib, build-moduile, build-module-asneeded): Use it.
30181 ($(common-objpfx)libc.so): Use $(shlib-lds).
30182 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30183 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30184
31fffa6b
RM
30185 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30186 DT_FLAGS/DT_FLAGS_1 with zero flags.
30187
4e34ac6a
RM
30188 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30189 linker script munging.
30190
fcfc776b
UD
301912011-07-02 Ulrich Drepper <drepper@gmail.com>
30192
30193 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30194 as 128-bit value.
30195 * crypt/sha512.c (sha512_process_block): Perform total addition using
30196 128-bit if possible.
30197 (__sha512_finish_ctx): Likewise.
30198 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30199 as 64-bit value.
30200 * crypt/sha256.c (SWAP64): Define.
30201 (sha256_process_block): Perform total addition using 64-bit if
30202 possible.
30203 (__sha256_finish_ctx): Likewise.
30204
99231d9a
UD
302052011-07-01 Ulrich Drepper <drepper@gmail.com>
30206
30207 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30209 * nscd/hstcache.c (cache_addhst): Likewise.
30210 * nscd/grpcache.c (cache_addgr): Likewise.
30211 * nscd/aicache.c (addhstaiX): Likewise
30212 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30213
445b4a53
TK
302142011-07-01 Thorsten Kukuk <kukuk@suse.de>
30215
30216 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30218 * nscd/hstcache.c (cache_addhst): Likewise.
30219 * nscd/grpcache.c (cache_addgr): Likewise.
30220 * nscd/aicache.c (addhstaiX): Likewise
30221
6d4d8e8e
AS
302222011-07-01 Andreas Schwab <schwab@redhat.com>
30223
30224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30225 domain only when needed.
30226
89f654c5
AS
302272011-06-30 Andreas Schwab <schwab@redhat.com>
30228
30229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30230 is always restored.
30231
cf3b23ff
UD
302322011-06-29 Ulrich Drepper <drepper@gmail.com>
30233
30234 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30235 are re-adding the entry.
30236 * nscd/servicescache.c (cache_addserv): Likewise.
30237
751626f9
AJ
302382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30239
30240 * sysdeps/generic/dl-irel.h: fix protection against multiple
30241 inclusions.
30242 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30243
9113ea1f
UD
302442011-06-28 Ulrich Drepper <drepper@gmail.com>
30245
5c0b8d90
UD
30246 [BZ #12935]
30247 * malloc/memusage.sh: Fix quoting in message.
30248 * debug/xtrace.sh: Likewise.
30249
9113ea1f
UD
30250 * configure.in: Remove support for --experimental-malloc option, make
30251 it the default.
30252 * config.make.in: Likewise.
30253 * malloc/Makefile: Likewise.
30254
a4172181
AS
302552011-06-27 Andreas Schwab <schwab@redhat.com>
30256
30257 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30258 two-byte characters.
30259
78a7eee7
RM
302602011-06-27 Roland McGrath <roland@hack.frob.com>
30261
62bede13
RM
30262 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30263 AC_CACHE_CHECK invocation.
30264 * configure: Regenerated.
30265
78a7eee7
RM
30266 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30267
5ce33a62
UD
302682011-06-27 Ulrich Drepper <drepper@gmail.com>
30269
034807a9
UD
30270 [BZ #12350]
30271 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30272 bit from old_res_options.
30273
4902da17
UD
30274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30275
5ce33a62
UD
30276 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30277 value type for setfct.
30278
c2344f56
L
302792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30282 __gettimeofday instead of gettimeofday.
30283
68468076
UD
302842011-06-26 Ulrich Drepper <drepper@gmail.com>
30285
30286 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30287
acb0d739
L
302882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30289
30290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30291
30292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30293 info.
30294
8912479f
L
302952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30296
30297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30298 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30299 strcpy-sse2-unaligned strncpy-sse2-unaligned
30300 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30301 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30302 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30303 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30304 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30307 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30308 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30309 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30310 (STRCPY): Support SSE2 and SSSE3 versions.
30311
d5495a11
UD
303122011-06-24 Ulrich Drepper <drepper@gmail.com>
30313
30314 [BZ #12874]
30315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30316 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30317 kernels which artificially limit size of requests.
30318
0b1cbaae
L
303192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30322 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30323 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30324 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30325 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30326 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30327 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30328 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30331 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30332 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30333 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30334 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30335 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30337 Enable unaligned load optimization for Intel Core i3, i5 and i7
30338 processors.
30339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30340 Define.
30341 (index_Fast_Unaligned_Load): Define.
30342 (HAS_FAST_UNALIGNED_LOAD): Define.
30343
07f494a0
MP
303442011-06-23 Marek Polacek <mpolacek@redhat.com>
30345
30346 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30347
fa3fc0fe
UD
303482011-06-22 Ulrich Drepper <drepper@gmail.com>
30349
30350 [BZ #12907]
30351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30352 until it is clear that the information is realy needed.
30353 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30354
e12df166
AS
303552011-06-22 Andreas Schwab <schwab@redhat.com>
30356
30357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30358
852eb34d
UD
303592011-06-22 Ulrich Drepper <drepper@gmail.com>
30360
84e2a551
UD
30361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30362 /sys/devices/system/cpu/online if it is usable.
30363
852eb34d
UD
30364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30365 reading the information from the /proc filesystem to once a second.
30366
6e502e19
UD
303672011-06-21 Andreas Jaeger <aj@suse.de>
30368
30369 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30370 NULL after inclusion of kernel headers.
30371
75d39ff2
UD
303722011-06-21 Ulrich Drepper <drepper@gmail.com>
30373
51f9aa6a
UD
30374 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30375 calls to internal_setent.
30376
c0244a9d
UD
30377 [BZ #12885]
30378 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30379 addresses using gethostbyname4_r ignore IPv4 addresses.
30380
c5e3c2ae
UD
30381 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30382 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30383
75d39ff2
UD
30384 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30385
42675c6f
DM
303862011-06-20 David S. Miller <davem@davemloft.net>
30387
30388 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30389 inclusions.
30390 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30391
30392 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30393 (elf_irel): Use it.
30394 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30395 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30396 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30397 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30398 * sysdeps/x86_64/dl-irel.h: Likewise.
30399
30400 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30401 * elf/dl-sym.c: Likewise.
30402
57912a71
UD
304032011-06-15 Ulrich Drepper <drepper@gmail.com>
30404
30405 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30406 need to dereference resplen2.
30407
ee22793d
AS
304082011-06-14 Andreas Schwab <schwab@redhat.com>
30409
30410 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30411
a9e836b0
UD
304122011-06-15 Ulrich Drepper <drepper@gmail.com>
30413
77fb9117
UD
30414 * Makeconfig: Define vardbdir and inst_vardbdir.
30415 * nss/Makefile: Add rules to install db-Makefile.
30416
40c1b22c
UD
30417 * nss/nss_db/db-XXX.c: Cleanup.
30418
9f2da732
UD
30419 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30420 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30421 GLIBC_PRIVATE.
30422 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30423 * nss/makedb.c: Implement -g option to specify that value strings
30424 are generated and should not be added to table iterated over for
30425 get*ent calls.
30426 * nss/nss_db/db-initgroups.c: New file.
30427
82e9a1f7
UD
30428 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30429 interface.
30430
c41af17e
UD
30431 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30432 (internal_getgrouplist): Adjust to name change.
30433 Update use_initgroups_entry if this is not the first call.
30434 * nss/databases.def: Add initgroups entry.
30435
a9e836b0
UD
30436 * nss/makedb.c (compute_tables): Check result of multiple hash table
30437 sizes to minimize maximum chain length.
30438
2666d441
UD
304392011-06-14 Ulrich Drepper <drepper@gmail.com>
30440
30441 * Versions.def: Add entry for libnss_db.
30442 * shlib-versions: Likewise.
30443 * nss/Makefile: Add rules to build libnss_db.
30444 * nss/Versions: Add libnss_db information. Organize libnss_files
30445 entries better.
30446 * nss/db-Makefile: Add gshadow support. Change rules for the new
30447 makedb progra. Some minor improvements to generate smaller files.
30448 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30449 here from...
30450 * nss/makedb.c: ...here.
30451 Improve database format to be smaller and require less memory at
30452 runtime.
30453 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30454 db anymore.
30455 * nss/nss_db/db-netgrp.c: Likewise.
30456 * nss/nss_db/db-open.c: Likewise.
30457 * nss/nss_files/flies-XXX.x: Adjust comments.
30458 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30459 * nss/nss_files/files-grp.c: Likewise.
30460 * nss/nss_files/files-hosts.c: Likewise.
30461 * nss/nss_files/files-network.c: Likewise.
30462 * nss/nss_files/files-proto.c: Likewise.
30463 * nss/nss_files/files-pwd.c: Likewise.
30464 * nss/nss_files/files-rpc.c: Likewise.
30465 * nss/nss_files/files-service.c: Likewise.
30466 * nss/nss_files/files-sgrp.c: Likewise.
30467 * nss/nss_files/files-spwd.c: Likewise.
30468 * nss/nss_db/db-alias.c: Removed.
30469 * nss/nss_db/dummy-db.h: Removed.
30470
9ee76b5a
UD
304712011-06-02 Ulrich Drepper <drepper@gmail.com>
30472
30473 * nss/makedb.c: Rewritten to not use database library.
30474 * nss/Makefile: Update to build new makedb program.
30475
c71ca1f8
AJ
304762011-06-14 Andreas Jaeger <aj@suse.de>
30477
30478 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30479 memset declaration.
30480
3154bfb8
UD
304812011-06-10 Andreas Schwab <schwab@redhat.com>
30482
30483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30484 tmpbuf.
30485
b350afab
RM
304862011-06-10 Roland McGrath <roland@hack.frob.com>
30487
decd4e50
RM
30488 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30489 * elf/Makefile ($(objpfx)ld.so): Likewise.
30490
5615eaf2
RM
30491 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30492 Don't list ld.so twice in dependencies.
30493
30494 * posix/bug-regex31.c: Include <stdlib.h>.
30495
30496 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30497
30498 * nis/nss_compat/compat-spwd.c
30499 (getspent_next_nss_netgr): Remove unused variable.
30500 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30501
30502 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30503 nonmembers" output to use the right array.
30504
30505 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30506
30507 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30508
30509 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30510 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30511 * catgets/gencat.c (read_input_file): Likewise.
30512 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30513
30514 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30515 variable definition inside #if's controlling its use.
30516
30517 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30518
30519 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30520
30521 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30522
30523 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30524 unreachable code.
30525
30526 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30527
b68e08db
RM
30528 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30529 * configure: Regenerated.
30530
b350afab
RM
30531 * Makerules: Revert last change.
30532 * elf/Makefile: Likewise.
30533
28368601
RM
305342011-06-09 Roland McGrath <roland@hack.frob.com>
30535
30536 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30537 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30538 (reloc-link): Likewise.
30539
11988f8f
UD
305402011-06-09 Ulrich Drepper <drepper@gmail.com>
30541
30542 * elf/Makefile: Add rules to build pldd.
30543 * elf/pldd.c: New file.
30544 * elf/pldd-xx.c: New file.
30545
e80fab37
UD
305462011-06-07 Ulrich Drepper <drepper@gmail.com>
30547
30548 * version.h: Update for 2.15 development version.
30549
9b849836
DM
305502011-06-07 David S. Miller <davem@davemloft.net>
30551
30552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30553 ifuncs.
30554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30555 elf_machine_lazy_rel): Likewise.
30556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30558 elf_machine_lazy_rel): Likewise.
30559 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30560 dl_hwcap via passed in argument.
30561 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30562 Likewise.
30563
5a31b283
AK
305642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30565
30566 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30567
069e52f8
RM
305682011-06-06 Roland McGrath <roland@hack.frob.com>
30569
30570 [BZ #12849]
30571 * manual/fdl-1.1.texi: New file, verbatim from:
30572 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30573 * manual/lgpl-2.1.texi: New file, verbatim from:
30574 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30575 * manual/Makefile (licenses): New variable, list those new file names.
30576 (texis): Use it.
30577 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30578
30579 * manual/fdl.texi: File removed.
30580 * manual/lesser.texi: File removed.
30581 * manual/libc.texinfo (Copying, Documentation License):
30582 Use new @include file names, put @appendix directive before @include.
30583
f16846a5
JJ
305842011-06-04 Jakub Jelinek <jakub@redhat.com>
30585
30586 [BZ #12841]
30587 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30588 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30589 (mq_open): Add __NTH.
30590
3d29045b
L
305912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30592
30593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30594 Assume Intel Core i3/i5/i7 processor if AVX is available.
30595
8c297311
UD
305962011-05-31 Ulrich Drepper <drepper@gmail.com>
30597
30598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30599 typo.
30600
c8fc0c91
UD
306012011-05-31 Andreas Schwab <schwab@redhat.com>
30602
30603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30604 memory. Use alloca_account. Fix memory leak when retrying.
30605
5b27a807
UD
306062011-05-31 Ulrich Drepper <drepper@gmail.com>
30607
356f8bc6
UD
30608 * version.h (RELEASE): Bump for 2.14 release.
30609 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30610
5b27a807
UD
30611 * config.make.in (RANLIB): Remove entry.
30612
01f16ab0
UD
306132011-05-30 Ulrich Drepper <drepper@gmail.com>
30614
41fce8bd
UD
30615 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30616 (libc.pot): Work around missing support for .ksh extension in xgettext.
30617
4769ae77
UD
30618 [BZ #12684]
30619 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30620 if both request failed.
30621 (send_dg): In case of server errors clear resplen or *resplen2.
30622
6b1e7d19
UD
30623 [BZ #12454]
30624 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30625 when there are multiple maps.
30626 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30627 (_dl_fini): Remove test here.
30628
01f16ab0
UD
30629 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30630
b1ebd700
UD
306312011-05-29 Ulrich Drepper <drepper@gmail.com>
30632
7ae22829
UD
30633 [BZ #12350]
30634 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30635 bit from old_res_options.
30636 (gaih_inet): Likewise.
30637
553149f6 30638 [BZ #11099]
18a84741 30639 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30640 as signed.
30641
652ffab1
UD
30642 * resolv/res_init.c (res_setoptions): Make the code more compact.
30643
16985fd0
UD
30644 [BZ #11558]
30645 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30646 set RES_USEVC.
30647
0464f746
UD
30648 [BZ #11634]
30649 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30650
7d17596c
UD
30651 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30652
cf6bbbd7
UD
30653 [BZ #11781]
30654 * malloc/malloc.h: Declare malloc hook variables as volatile.
30655
13f1ab36
UD
30656 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30657 in last patch.
30658
b1ebd700
UD
30659 [BZ #11799]
30660 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30661 raise in the comment.
80e2212d
UD
30662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30664 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30665
ce67228d
UD
306662011-05-28 Ulrich Drepper <drepper@gmail.com>
30667
8887a920
UD
30668 [BZ #12811]
30669 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30670 grow the buffers more if it already has to be sufficient.
30671 (build_wcs_upper_buffer): Likewise.
30672 * posix/regexec.c (check_matching): Likewise.
30673 (clean_state_log_if_needed): Likewise.
30674 (extend_buffers): Don't enlarge buffers beyond size of the input
30675 buffer.
30676 Patches mostly by Emil Wojak <emil@wojak.eu>.
30677 * posix/bug-regex32.c: New file.
30678 * posix/Makefile (tests): Add bug-regex32.
30679
4f031072
UD
30680 * locale/findlocale.c (_nl_find_locale): Return right away if
30681 _nl_explode_name failed.
30682 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30683
d0478f0c
UD
30684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30685
de81b246
UD
30686 * debug/xtrace.sh: Unify messages.
30687 * malloc/memusage.sh: Likewise.
30688
c738465a
UD
30689 [BZ #12813]
30690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30691 time symbol from vDSO. Substitute with vsyscall if not available.
30692 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30693 __vdso_time.
30694
f1f929d7
UD
30695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30696 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30697 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30698 Add sendmmsg and internal_sendmmsg.
30699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30702
ce67228d
UD
30703 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30704 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30706
e57420c6
UD
307072011-05-27 Ulrich Drepper <drepper@gmail.com>
30708
a8509ca5
UD
30709 [BZ #12813]
30710 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30711 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30712 available.
30713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30714 __vdso_getcpu.
30715
e57420c6
UD
30716 [BZ #12814]
30717 * iconvdata/Makefile (tests): Add bug-iconv9.
30718 * iconvdata/bug-iconv9.c: New file.
30719
4d07db15
AS
307202011-05-27 Andreas Schwab <schwab@redhat.com>
30721
30722 [BZ #12814]
30723 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30724
ea486f69
JJ
307252011-05-25 Jakub Jelinek <jakub@redhat.com>
30726
30727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30728 (struct user_regs_struct): Change intcs field back to cs.
30729
6f038433
UD
307302011-05-25 Ulrich Drepper <drepper@gmail.com>
30731
30732 * po/ja.po: Update from translation team.
30733
67f86a25
UD
307342011-05-23 Ulrich Drepper <drepper@gmail.com>
30735
30736 [BZ #12795]
30737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30739
def7fbd6
AS
307402011-05-20 Andreas Schwab <schwab@redhat.com>
30741
30742 * stdlib/longlong.h: Update from GCC.
30743
f50ef8f1
AS
307442011-05-23 Andreas Schwab <schwab@redhat.com>
30745
30746 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30747 parameter name.
30748 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30749 Add parameter name.
30750 (__sysconf): Pass it down.
30751
de7ce8f1
UD
307522011-05-22 Ulrich Drepper <drepper@gmail.com>
30753
f2962a71
UD
30754 [BZ #12671]
30755 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30756 some situations.
30757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30758 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30759 add in in __libc_use_alloca calls. Adjust callers.
30760 (glob): Use malloc in some situations.
30761
de7ce8f1
UD
30762 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30763 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30764 pltexit.
30765
aec84f53
UD
307662011-05-21 Ulrich Drepper <drepper@gmail.com>
30767
05bb4a68
UD
30768 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30769 and CLOCK_BOOTTIME_ALARM.
30770
7ea72f99
UD
30771 [BZ #12782]
30772 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30773 is returned.
30774
7e4afad5
UD
30775 * string/_strerror.c (__strerror_r): Print negative errors as signed
30776 numbers.
30777
8e211fec
UD
30778 [BZ #12777]
30779 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30780 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30781 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30782
f7d82dc9
UD
30783 * configure.in: Fix typo in redirection and correct removal of test
30784 files in two cases.
30785
cc9e536d
UD
30786 [BZ #12788]
30787 * locale/setlocale.c (new_composite_name): Fix test to check for
30788 identical name of all categories.
30789
aec84f53
UD
30790 [BZ #12792]
30791 * libio/filedoalloc.c (local_isatty): New function.
30792 (_IO_file_doallocate): Use local_isatty.
30793 * stdio-common/perror.c (perror): In case a new stream is used
30794 forward the stream error.
30795 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30796 error flag.
30797
78e64fdc
RT
307982011-05-20 Ulrich Drepper <drepper@gmail.com>
30799
34a9094f
UD
30800 [BZ #11869]
30801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30802 alloca.
30803 * include/alloca.h (extend_alloca_account): Define.
30804
78e64fdc
RT
30805 [BZ #11857]
30806 * posix/regex.h: Fix comments with documentation of user-accessible
30807 fields after compilation and describe correct free'ing of pattern
30808 after re_compile_pattern.
30809 Patch by Reuben Thomas <rrt@sc3d.org>.
30810
457bddfc
RA
308112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30812
30813 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30814 and -mno-altivec to prevent the compiler from using Altivec and/or
30815 VSX instructions when the corresponding registers are not available.
30816
a4527b51
AS
308172011-05-19 Andreas Schwab <schwab@redhat.com>
30818
30819 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30820
ed690b2f
UD
308212011-05-19 Ulrich Drepper <drepper@gmail.com>
30822
30823 * libio/freopen.c (freopen): Use __dup2, not dup2.
30824 * libio/freopen64.c (freopen64): Likewise.
30825
8db73634
L
308262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30827
30828 [BZ #12775]
30829 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30830 * math/Makefile (tests): Add test-powl.
30831 (CFLAGS-test-powl.c): Define.
30832 * math/test-powl.c: New file.
30833
0a197a9d
L
308342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30835
30836 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30837
ee30c380
UD
308382011-05-17 Ulrich Drepper <drepper@gmail.com>
30839
30840 [BZ #11837]
30841 * iconvdata/gb18030.c: Update to GB18020-2005.
30842
6ce75379
UD
308432011-05-16 Ulrich Drepper <drepper@gmail.com>
30844
a4b89fd8
AR
30845 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30846 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30847 Patch by Aharon Robbins <arnold@skeeve.com>.
30848
ea389b12
UD
30849 [BZ #11892]
30850 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30851 on the stack.
30852
68a3f91f
UD
30853 [BZ #11895]
30854 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30855 through underflows.
30856
15cc7dd1
UD
30857 [BZ #12766]
30858 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30859 point to strings before performing equality test for error_one_per_line
30860 mode.
30861
f3799213
UD
30862 [BZ #11697]
30863 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30864
d79a9c94
UD
30865 [BZ #11820]
30866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30867 (struct user_fpregs_struct): Avoid __uint*_t types.
30868
56e5eb46
UD
30869 [BZ #6420]
30870 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30871 symbol info. Use it instead of calling _dl_addr locally.
30872 (lock_and_info): New function.
30873 (tr_freehook): Call lock_and_info and pass symbol info as additional
30874 parameter to tr_where.
30875 (tr_mallochook): Likewise.
30876 (tr_reallochook): Likewise.
30877 (tr_memalignhook): Likewise.
30878
6ce75379
UD
30879 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30880 used and couldn't be at all thread-safe.
30881
f8a3b5bf
UD
308822011-05-15 Ulrich Drepper <drepper@gmail.com>
30883
94b7cc37
UD
30884 * libio/freopen.c (freopen): Don't close old file descriptor
30885 before the new one is opened. Instead dup the new file descriptor
30886 to the old one after the new stream is created.
30887 * libio/freopen64.c (freopen64): Likewise.
30888 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30889 * libio/fileops.c (_IO_new_file_close_it): Handle new
30890 _IO_FLAGS2_NOCLOSE flag.
30891 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30892 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30893 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30894 _IO_FLAGS2_NOCLOSE flag.
30895 * include/unistd.h: Add hidden_proto for dup3.
30896 Define __have_dup3.
30897 * io/dup3.c: Define hidden symbol.
30898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30899
bd25564e
UD
30900 [BZ #7101]
30901 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30902 when an incomplete long option is used.
30903 * posix/tst-getopt_long1.c: New file.
30904 * posix/Makefile (tests): Add tst-getopt_long1.
30905
c84cfef4
UD
30906 [BZ #10138]
30907 * scripts/config.guess: Update from autoconf-2.68.
30908 * scripts/config.sub: Likewise.
30909
3b85df27
UD
30910 [BZ #10157]
30911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30912 tests into ...
30913 (has_cpuclock): ...this. New function.
30914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30915 macro here based on has_cpuclock code.
30916
15a856b1
UD
30917 [BZ #10149]
30918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30919 First byte (not low byte) is now always NUL.
30920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30921
05f399e6
UD
30922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30923 Use non-cancelable interfaces.
30924
10a52685 30925 [BZ #9809]
94ecc67d
UD
30926 * locale/iso-639.def: Add entry for Sorani.
30927
f8a3b5bf
UD
30928 [BZ #11901]
30929 * include/stdlib.h: Move include protection to the right place.
30930 Define abort_msg_s. Declare __abort_msg with it.
30931 * stdlib/abort.c (__abort_msg): Adjust type.
30932 * assert/assert.c (__assert_fail_base): New function. Majority
30933 of code from __assert_fail. Allocate memory for __abort_msg with
30934 mmap.
30935 (__assert_fail): Now call __assert_fail_base.
30936 * assert/assert-perr.c: Remove bulk of implementation. Use
30937 __assert_fail_base.
30938 * include/assert.hL Declare __assert_fail_base.
30939 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30940 mmap.
30941 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30942
1af4e298
UD
309432011-05-14 Ulrich Drepper <drepper@gmail.com>
30944
f8a3b5bf 30945 [BZ #11952]
d26dfc60
MG
30946 [BZ #12453]
30947 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30948 until all modules are registered in the DTV.
30949 * elf/Makefile: Add rules to build and run tst-tls19.
30950 * elf/tst-tls19.c: New file.
30951 * elf/tst-tls19mod1.c: New file.
30952 * elf/tst-tls19mod2.c: New file.
30953 * elf/tst-tls19mod3.c: New file.
30954 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30955
2fc54d6f
UD
30956 [BZ #12083]
30957 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30958 correctly.
30959
98d76b46
UD
30960 [BZ #12601]
30961 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30962 two-byte sequence errors.
30963 * iconvdata/Makefile (tests): Add bug-iconv8.
30964 * iconvdata/bug-iconv8.c: New file.
30965
da3c19ef
UD
30966 [BZ #12626]
30967 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30968 buf2 definition.
30969
ca408c15
UD
30970 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30971
d6f67f7d
UD
30972 [BZ #12432]
30973 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30974 (dummy_getcfa): New function.
30975 (init): Get _Unwind_GetCFA address, use dummy if not found.
30976 (backtrace_helper): In recursion check, also check whether CFA changes.
30977 (__backtrace): Completely initialize arg.
30978
1af4e298 30979 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30980 storing incomplete byte sequence in state object. Avoid testing for
30981 guaranteed too small input if we know there is enough data available.
1af4e298 30982
da62f81b
AS
309832011-05-11 Andreas Schwab <schwab@redhat.com>
30984
30985 * Makeconfig (+link-pie): Indent.
30986 * Rules (binaries-pie): Define if $(have-fpie) and
30987 $(build-shared).
30988 (binaries-shared): Also filter out $(binaries-pie).
30989 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30990 * nscd/Makefile (others-pie): Add nscd.
30991 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30992 ($(objpfx)nscd): Remove command override.
30993 * login/Makefile (others-pie): Add pt_chown.
30994 ($(objpfx)pt_chown): Remove command override.
30995 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30996 remove command overrides.
30997
fcabc0f8
UD
309982011-05-13 Ulrich Drepper <drepper@gmail.com>
30999
20030ae6
UD
31000 * libio/tst_putwc.c: Fix error messages.
31001
fcabc0f8
UD
31002 [BZ #12724]
31003 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31004 currently writing and seek to current position when not.
31005 * libio/Makefile (tests): Add bug-fclose1.
31006 * libio/bug-fclose1.c: New file.
31007
320a5dc0
PB
310082011-05-12 Ulrich Drepper <drepper@gmail.com>
31009
31010 [BZ #12511]
31011 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31012 don't set DF_1_NODELETE here.
31013 (do_lookup_x): When entering new entry test for copy relocation
31014 and if necessary set DF_1_NODELETE flag.
31015 * elf/tst-unique4.cc: New file.
31016 * elf/tst-unique4.h: New file.
31017 * elf/tst-unique4lib.cc: New file.
31018 * elf/Makefile: Add rules to build and run tst-unique4.
31019 Patch by Piotr Bury <pbury@goahead.com>.
31020
22836f52
UD
310212011-05-11 Ulrich Drepper <drepper@gmail.com>
31022
f574184a
UD
31023 [BZ #12052]
31024 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31025
e1fb097f
UD
31026 [BZ #12625]
31027 * misc/mntent_r.c (addmntent): Flush the stream after the output
31028
22836f52
UD
31029 [BZ #12393]
31030 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31031 (is_trusted_path_normalize): Skip initial colon. Append slash
31032 to empty buffer. Duplicate is_trusted_path code but allow
31033 constructed patch to be prefix.
31034 (is_dst): Allow $ORIGIN followed by /.
31035 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31036 Correct testing of result of is_trusted_path_normalize
31037 (decompose_rpath): Fix warning.
31038
7b3b0b2a
UD
310392011-05-10 Ulrich Drepper <drepper@gmail.com>
31040
31041 [BZ #11257]
31042 * grp/initgroups.c (internal_getgrouplist): When we found the service
31043 list through the initgroups entry in nsswitch.conf do not always
31044 continue on a successful lookup. Don't always use the
eac80ce2 31045 __nss_group_database value if it is set.
7b3b0b2a
UD
31046 * nss/nsswitch.conf (initgroups): Change action for successful db
31047 lookup to continue for compatibility.
31048
2a81eaa5
UD
310492011-05-09 Ulrich Drepper <drepper@gmail.com>
31050
be97a69e
UD
31051 [BZ #11532]
31052 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31053 and CP774 modules.
31054 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31055 and CP774 modules.
31056 * iconvdata/tst-tables.sh: Likewise.
31057 * iconvdata/cp770.c: New file.
31058 * iconvdata/cp771.c: New file.
31059 * iconvdata/cp772.c: New file.
31060 * iconvdata/cp773.c: New file.
31061 * iconvdata/cp774.c: New file.
31062 * iconvdata/testdata/CP770: New file.
31063 * iconvdata/testdata/CP770..UTF8: New file.
31064 * iconvdata/testdata/CP771: New file.
31065 * iconvdata/testdata/CP771..UTF8: New file.
31066 * iconvdata/testdata/CP772: New file.
31067 * iconvdata/testdata/CP772..UTF8: New file.
31068 * iconvdata/testdata/CP773: New file.
31069 * iconvdata/testdata/CP773..UTF8: New file.
31070 * iconvdata/testdata/CP774: New file.
31071 * iconvdata/testdata/CP774..UTF8: New file.
31072
31073 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31074 END CHARMAP line.
31075 * iconvdata/gen-8bit-gap.sh: Likewise.
31076 * iconvdata/gen-8bit.sh: Likewise.
31077
c1e9e399
UD
31078 * locale/iso-639.def: Add ary entry.
31079
24c55fb3 31080 [BZ #11258]
96b4b1b0
UD
31081 * locale/C-translit.h.in: Add U20A1 transliteration.
31082
bdc2f971
KB
31083 [BZ #12178]
31084 * locale/iso-639.def: Add wae entry.
31085 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31086
2952b117
UD
31087 [BZ #12545]
31088 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31089 for n.
31090
2a81eaa5
UD
31091 [BZ #12711]
31092 * locale/C-translit.h.in: Add entry for U20B9.
31093 Patch by pravin.d.s@gmail.com.
31094
28377d1b
UD
310952011-05-08 Ulrich Drepper <drepper@gmail.com>
31096
7fb90fb8
UD
31097 [BZ #12713]
31098 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31099 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31100 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31101 in rtld. Use *stat64.
7fb90fb8 31102 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31103 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31104 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31105 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31106 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31107 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31108 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31109 __fstatat64 macros.
7fb90fb8
UD
31110 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31111 * dirent/rewinddir.c: Add libc_hidden_def.
31112 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31113 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31114
28377d1b
UD
31115 * include/dirent.h (__alloc_dir): Add flags parameter.
31116 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31117 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31118 __alloc_dir.
31119 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31120 from fdopendir if O_CLOEXEC is already set.
31121
66bdbaa4
AM
311222011-03-15 Alan Modra <amodra@gmail.com>
31123
31124 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31125 l_tls_firstbyte_offset non-zero. Save padding offset in
31126 l_tls_firstbyte_offset for later use.
31127 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31128 freeing static tls block.
31129
95721191
JN
311302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31131
31132 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31133 where #ifdef was intended. The intent is to prevent ARG_MAX from
31134 being defined by the kernel headers.
31135
f87dfb1f
UD
311362011-05-07 Ulrich Drepper <drepper@gmail.com>
31137
31138 [BZ #12734]
31139 * resolv/resolv.h: Define RES_NOTLDQUERY.
31140 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31141 no-tld-query and set RES_NOTLDQUERY.
31142 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31143 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31144 modern BIND to search name as TLD unless forbidden.
31145
47c3cd7a
UD
311462011-05-07 Petr Baudis <pasky@suse.cz>
31147 Ulrich Drepper <drepper@gmail.com>
31148
31149 [BZ #12393]
31150 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31151 (is_trusted_path): ...to here.
c1e9ea35 31152 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31153 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31154 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31155
8a35c912
PP
311562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31157
31158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31159 __BEGIN/__END_DECLS.
31160
acd41f47
UD
311612011-05-06 Ulrich Drepper <drepper@gmail.com>
31162
31163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31164 NSS_STATUS_NOTFOUND if no record was found.
31165
597df647
AS
311662011-05-05 Andreas Schwab <schwab@redhat.com>
31167
31168 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31169 (headers-not-in-tirpc): Remove rpc/netdb.h
31170 * resolv/netdb.h: Revert last change.
31171
b9af1301
PP
311722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31173
31174 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31175 circular dependency between libgcc.a and libc.a.
31176
4e34d5f5
AS
311772011-05-05 Andreas Schwab <schwab@redhat.com>
31178
31179 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31180 * nis/Makefile: Don't install rpcsvc/*.
31181 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31182 instead of <rpc/types.h>.
31183 (MAXHOSTNAMELEN): Define.
31184
00ee369c
AS
311852011-05-03 Andreas Schwab <schwab@redhat.com>
31186
31187 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31188
0b592a30
MB
311892011-04-28 Maciej Babinski <mbabinski@google.com>
31190
31191 [BZ #12714]
31192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31193 gethostbyname4_r when IPv6 results are possible.
31194
6e04cbbe
UD
311952011-05-02 Ulrich Drepper <drepper@gmail.com>
31196
31197 [BZ #12723]
31198 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31199 _PC_PIPE_BUF handling.
31200
e4ecafe0
BH
312012011-04-30 Bruno Haible <bruno@clisp.org>
31202
31203 [BZ #12717]
31204 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31205 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31206 to 'int'.
31207 * inet/getnameinfo.c (getnameinfo): Likewise.
31208
125ee683
UD
312092011-04-29 Ulrich Drepper <drepper@gmail.com>
31210
31211 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31212 to groups setting in database lookup.
31213 * nss/nsswitch.conf: Add initgroups entry.
31214
b722481a
EB
312152011-04-22 Ulrich Drepper <drepper@gmail.com>
31216
31217 [BZ #12685]
31218 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31219 mode string.
31220 Patch by Eric Blake <eblake@redhat.com>.
31221
4df46dbd
L
312222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 * sunrpc/Makefile (need-export-routines): Add svc_run.
31225 (routines): Remove svc_run.
31226 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31227 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31228 * sunrpc/svc_run.c (svc_run): Likewise.
31229 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31230
e84142d2
UD
312312011-04-21 Ulrich Drepper <drepper@gmail.com>
31232
31233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31234 problem in reallocation in last patch.
31235
877175d8
UD
312362011-04-20 Ulrich Drepper <drepper@gmail.com>
31237
31238 * sunrpc/Makefile: Move inclusion of Rules.
31239
ab8eed78
UD
312402011-04-19 Ulrich Drepper <drepper@gmail.com>
31241
31242 * nss/nss_files/files-initgroups.c: New file.
31243 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31244 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31245 _nss_files_initgroups_dyn.
31246
e3d8f584
RS
312472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31248
31249 * elf/elf.h (R_ARM_IRELATIVE): Define.
31250
af190f45
UD
312512011-04-19 Ulrich Drepper <drepper@gmail.com>
31252
31253 * po/ru.po: Update from translation team.
31254
53cf59ef
UD
312552011-04-17 Ulrich Drepper <drepper@gmail.com>
31256
31257 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31258 dependencies.
31259
4c559bcd
MF
312602011-02-06 Mike Frysinger <vapier@gentoo.org>
31261
31262 [BZ #12653]
31263 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31264 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31265 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31268
4420675c
AS
312692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31270
31271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31272 differing bytes.
31273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31276
75ea32ab
UD
312772011-04-17 Ulrich Drepper <drepper@gmail.com>
31278
31279 [BZ #12420]
31280 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31281 storing it.
31282 * stdlib/bug-getcontext.c: New file.
31283 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31284
27390476
AK
312852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31286
31287 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31288 instructions into .machine "z9-109".
31289 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31290 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31291
10442705
AK
312922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31293
31294 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31295 between environment variables and auxiliary vector.
31296
7b57bfe5
UD
312972011-04-16 Ulrich Drepper <drepper@gmail.com>
31298
31299 * Makefile: Add rules to build linkobj/libc.so.
31300 * include/libc-symbols.h: Define libc_hidden_nolink.
31301 * include/rpc/auth.h: Mark functions which are to be hidden.
31302 * include/rpc/auth_des.h: Likewise.
31303 * include/rpc/auth_unix.h: Likewise.
31304 * include/rpc/clnt.h: Likewise.
31305 * include/rpc/des_crypt.h: Likewise.
31306 * include/rpc/key_prot.h: Likewise.
31307 * include/rpc/pmap_clnt.h: Likewise.
31308 * include/rpc/pmap_prot.h: Likewise.
31309 * include/rpc/pmap_rmt.h: Likewise.
31310 * include/rpc/rpc_msg.h: Likewise.
31311 * include/rpc/svc.h: Likewise.
31312 * include/rpc/svc_auth.h: Likewise.
31313 * include/rpc/xdr.h: Likewise.
31314 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31315 * nss/Makefile: Likewise.
31316 * sunrpc/Makefile: Don't install headers. Build library with normal
31317 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31318 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31319 for the compat linking library. Remove use of INTDEF/INTUSE.
31320 * sunrpc/auth_none.c: Likewise.
31321 * sunrpc/auth_unix.c: Likewise.
31322 * sunrpc/authdes_prot.c: Likewise.
31323 * sunrpc/authuxprot.c: Likewise.
31324 * sunrpc/clnt_gen.c: Likewise.
31325 * sunrpc/clnt_perr.c: Likewise.
31326 * sunrpc/clnt_raw.c: Likewise.
31327 * sunrpc/clnt_simp.c: Likewise.
31328 * sunrpc/clnt_tcp.c: Likewise.
31329 * sunrpc/clnt_udp.c: Likewise.
31330 * sunrpc/clnt_unix.c: Likewise.
31331 * sunrpc/des_crypt.c: Likewise.
31332 * sunrpc/des_soft.c: Likewise.
31333 * sunrpc/get_myaddr.c: Likewise.
31334 * sunrpc/key_call.c: Likewise.
31335 * sunrpc/key_prot.c: Likewise.
31336 * sunrpc/netname.c: Likewise.
31337 * sunrpc/pm_getmaps.c: Likewise.
31338 * sunrpc/pm_getport.c: Likewise.
31339 * sunrpc/pmap_clnt.c: Likewise.
31340 * sunrpc/pmap_prot.c: Likewise.
31341 * sunrpc/pmap_prot2.c: Likewise.
31342 * sunrpc/pmap_rmt.c: Likewise.
31343 * sunrpc/publickey.c: Likewise.
31344 * sunrpc/rpc_cmsg.c: Likewise.
31345 * sunrpc/rpc_common.c: Likewise.
31346 * sunrpc/rpc_dtable.c: Likewise.
31347 * sunrpc/rpc_prot.c: Likewise.
31348 * sunrpc/rpc_thread.c: Likewise.
31349 * sunrpc/rtime.c: Likewise.
31350 * sunrpc/svc.c: Likewise.
31351 * sunrpc/svc_auth.c: Likewise.
31352 * sunrpc/svc_authux.c: Likewise.
31353 * sunrpc/svc_raw.c: Likewise.
31354 * sunrpc/svc_run.c: Likewise.
31355 * sunrpc/svc_simple.c: Likewise.
31356 * sunrpc/svc_tcp.c: Likewise.
31357 * sunrpc/svc_udp.c: Likewise.
31358 * sunrpc/svc_unix.c: Likewise.
31359 * sunrpc/svcauth_des.c: Likewise.
31360 * sunrpc/xcrypt.c: Likewise.
31361 * sunrpc/xdr.c: Likewise.
31362 * sunrpc/xdr_array.c: Likewise.
31363 * sunrpc/xdr_float.c: Likewise.
31364 * sunrpc/xdr_intXX_t.c: Likewise.
31365 * sunrpc/xdr_mem.c: Likewise.
31366 * sunrpc/xdr_rec.c: Likewise.
31367 * sunrpc/xdr_ref.c: Likewise.
31368 * sunrpc/xdr_sizeof.c: Likewise.
31369 * sunrpc/xdr_stdio.c: Likewise.
31370
e6c61494
UD
313712011-04-10 Ulrich Drepper <drepper@gmail.com>
31372
31373 [BZ #12650]
31374 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31375 * sysdeps/ia64/dl-tls.h: Likewise.
31376 * sysdeps/powerpc/dl-tls.h: Likewise.
31377 * sysdeps/s390/dl-tls.h: Likewise.
31378 * sysdeps/sh/dl-tls.h: Likewise.
31379 * sysdeps/sparc/dl-tls.h: Likewise.
31380 * sysdeps/x86_64/dl-tls.h: Likewise.
31381 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31382
34fe483e
AS
313832011-03-14 Andreas Schwab <schwab@redhat.com>
31384
31385 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31386 rpath element also skip the following colon.
31387 (expand_dynamic_string_token): Add is_path parameter and pass
31388 down to DL_DST_REQUIRED and _dl_dst_substitute.
31389 (decompose_rpath): Call expand_dynamic_string_token with
31390 non-zero is_path. Ignore empty rpaths.
31391 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31392 with zero is_path.
31393
f12a32e6
AS
313942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31395
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31397 Make cancelable.
31398
38a7d692
UD
313992011-04-09 Ulrich Drepper <drepper@gmail.com>
31400
31401 [BZ #12655]
31402 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31403 Patch by Filipe David Manana <fdmanana@apache.org>.
31404
e451d22b
AS
314052011-04-07 Andreas Schwab <schwab@redhat.com>
31406
31407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31408 Maintain aligned stack.
31409 (CHECK_RSP): Remove unused macro.
31410
dedc7c7b
UD
314112011-04-03 Ulrich Drepper <drepper@gmail.com>
31412
31413 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31415
94521213
UD
314162011-04-02 Ulrich Drepper <drepper@gmail.com>
31417
31418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31419
8cb700c0 31420 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31421
0354e355
L
314222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31423
31424 [BZ #12518]
31425 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31426 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31427 * sysdeps/x86_64/memmove.c: New file.
31428 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31429 (memcpy): Renamed to ...
31430 (__new_memcpy): This.
31431 (memcpy): Provide GLIBC_2_14 memcpy.
31432 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31433 (memcpy): Provide GLIBC_2_2_5 memcpy.
31434
8593482f
UD
314352011-04-01 Ulrich Drepper <drepper@gmail.com>
31436
31437 [BZ #12631]
31438 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31439
81a5726b
AS
314402011-03-30 Andreas Schwab <schwab@redhat.com>
31441
31442 * misc/syncfs.c: New file.
31443 * misc/Makefile (routines): Add syncfs.
31444 * posix/unistd.h: Declare syncfs.
31445 * sysdeps/unix/syscalls.list: Add syncfs.
31446
00e5419f
AS
314472011-04-01 Andreas Schwab <schwab@redhat.com>
31448
31449 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31450 open_by_handle_at.
31451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31458
748876bf
UD
314592011-04-01 Ulrich Drepper <drepper@gmail.com>
31460
658e451d
UD
31461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31468
748876bf
UD
31469 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31470 sync_file_range.c with -fexceptions.
31471 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31472 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31473 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31474 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31475 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31478 sync_file_range as cancellation point
31479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31480 now a wrapper around __call_sync_file_range with cancellation handling.
31481 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31483 function name to __call_sync_file_range.
31484 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31485 Add call_sync_file_range.
748876bf 31486
6e63d5e1
AS
314872011-04-01 Andreas Schwab <schwab@redhat.com>
31488
31489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31490 bits/timex.h.
6e63d5e1 31491
46998f74
UD
314922011-04-01 Ulrich Drepper <drepper@gmail.com>
31493
4c1423ed
UD
31494 * iconv/iconv.h: Fix typo in comment.
31495 * io/fcntl.h: Likewise.
31496 * libio/stdio.h: Likewise.
31497 * posix/spawn.h: Likewise.
31498 * posix/unistd.h: Likewise.
31499 * stdlib/stdlib.h: Likewise.
31500 * time/time.h: Likewise.
31501 * wcsmbs/wchar.h: Likewise.
31502
158648c0
UD
31503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31504 open_by_handle): Add.
31505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31506 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31507 Augment a few comments.
31508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31513 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31514 open_by_handle.
31515
46998f74
UD
31516 * io/fcntl.h (AT_EMPTY_PATH): Define.
31517
83fe108b
UD
315182011-03-30 Ulrich Drepper <drepper@gmail.com>
31519
31520 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31521 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31522 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31523 to...
31524 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31525 * Versions.def: Add GLIBC_2.14.
31526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31527 Export.
83fe108b 31528
bb242059
UD
315292011-03-22 Ulrich Drepper <drepper@gmail.com>
31530
31531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31532 round counter.
31533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31534
c97a1282
L
315352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 [BZ #12597]
31538 * string/test-strncmp.c (do_page_test): New function.
31539 (check2): Likewise.
31540 (test_main): Call check2.
31541 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31542
2a115601
UD
315432011-03-20 Ulrich Drepper <drepper@gmail.com>
31544
31545 [BZ #12587]
31546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31547 Handle cache information in CPU leaf 4.
31548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31549
8126d904
UD
315502011-03-18 Ulrich Drepper <drepper@gmail.com>
31551
042c49c6 31552 [BZ #12583]
8126d904
UD
31553 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31554 character representation.
31555 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31556
ccfe366e
RA
315572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31558
31559 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31560 END(__isnan) to END(__isnanf) to match function entry point/label
31561 EALIGN(__isnanf,...).
31562
c6e13027
JJ
315632011-03-10 Jakub Jelinek <jakub@redhat.com>
31564
31565 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31566
33f85a3f
UD
315672011-03-10 Ulrich Drepper <drepper@gmail.com>
31568
028478fa
UD
31569 [BZ #12510]
31570 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31571 copy from the symbol referenced in the relocation to initialize the
31572 used variable.
31573 Patch by Piotr Bury <pbury@goahead.com>.
31574 * elf/Makefile: Add rules to build and tst-unique3.
31575 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31576 * elf/tst-unique3.cc: New file.
31577 * elf/tst-unique3.h: New file.
31578 * elf/tst-unique3lib.cc: New file.
31579 * elf/tst-unique3lib2.cc: New file.
31580
33f85a3f
UD
31581 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31582
03592fc7
MF
315832011-03-10 Mike Frysinger <vapier@gentoo.org>
31584
31585 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31586 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31587 to _start.
03592fc7 31588
6a5ee102
UD
315892011-03-06 Ulrich Drepper <drepper@gmail.com>
31590
31591 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31592 to-be-loaded object along a path to loader is ld.so.
31593
7e4ba49c
HJ
315942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31595 Ulrich Drepper <drepper@gmail.com>
31596
31597 * sysdeps/x86_64/memset.S: After aligning destination, code
31598 branches to different locations depending on the value of
31599 misalignment, when multiarch is enabled. Fix this.
31600
316012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31602
31603 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31604 Set _x86_64_preferred_memory_instruction for AMD processsors.
31605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31606 Set bit_Prefer_SSE_for_memop for AMD processors.
31607
13a804de
UD
316082011-03-04 Ulrich Drepper <drepper@gmail.com>
31609
31610 * libio/fmemopen.c (fmemopen): Optimize a bit.
31611
9d25c392
AS
316122011-03-03 Andreas Schwab <schwab@redhat.com>
31613
31614 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31615
a5543c6a
RM
316162011-03-03 Roland McGrath <roland@redhat.com>
31617
31618 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31619
012d35f7
DM
316202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31621
7e4ba49c 31622 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31623 __bzero_ultra1 instead of __memset_ultra1.
31624
4bff6e01
AS
316252011-02-23 Andreas Schwab <schwab@redhat.com>
31626 Ulrich Drepper <drepper@gmail.com>
31627
31628 [BZ #12509]
31629 * include/link.h (struct link_map): Add l_orig_initfini.
31630 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31631 returning unsuccessfully.
31632 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31633 close of a file loaded at startup, restore the original l_initfini
31634 list.
31635 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31636 list, store the pointer.
31637 * elf/Makefile ($(objpfx)noload-mem): New rule.
31638 (noload-ENV): Define.
31639 (tests): Add $(objpfx)noload-mem.
31640 * elf/noload.c: Include <memcheck.h>.
31641 (main): Call mtrace. Close all opened handles.
31642
f2092faf
AS
316432011-02-17 Andreas Schwab <schwab@redhat.com>
31644
31645 [BZ #12454]
31646 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31647 dependencies are missing.
31648
6c8a2e88
ST
316492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31650
f2092faf 31651 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31652 Hurd needs munmap.
31653 * sysdeps/mach/hurd/ifreq.h: New file.
31654
84a42118
PB
316552011-01-27 Petr Baudis <pasky@suse.cz>
31656 Ulrich Drepper <drepper@gmail.com>
31657
071f805e 31658 [BZ 12445]#
84a42118
PB
31659 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31660 to extend_alloca().
31661 * stdio-common/bug23.c: New file.
31662 * stdio-common/Makefile (tests): Add bug23.
31663
e23fe25b
AS
316642010-09-28 Andreas Schwab <schwab@redhat.com>
31665 Ulrich Drepper <drepper@gmail.com>
31666
31667 [BZ #12489]
31668 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31669 before performing relro protection. At old place add assertion
31670 to make sure nothing changed.
31671
d3f02e10
NS
316722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31673 Glauber de Oliveira Costa <glommer@gmail.com>
31674
31675 * elf/elf.h: Add new ARM TLS relocs.
31676
d55fd7a5
RA
316772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31678
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31680 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31681 cast from r3.
31682 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31683 'tests' variable.
31684 * sysdeps/wordsize-64/tst-writev.c: New file.
31685
2206397e
RA
316862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31687
31688 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31689 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31690 insns in _dl_start to prevent a TOC reference before relocs are
31691 resolved.
31692
e9433893
UD
316932011-02-15 Ulrich Drepper <drepper@gmail.com>
31694
31695 [BZ #12469]
31696 * Makeconfig: Remove RANLIB definition.
31697 * Makerules: Don't use RANLIB.
31698 * aclocal.m4: Remove ranlib test.
31699 * configure.in: No need to check for ranlib.
31700 * elf/rtld-Rules: Don't use RANLIB.
31701
f75286c6
ST
317022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31703
8e31c82d
ST
31704 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31705 protection macro.
31706 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31707 inclusion protection macro.
31708
f75286c6
ST
31709 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31710 SIGRTMIN and SIGRTMAX and print information in that case only when
31711 SIGRTMIN is defined.
31712
c1d0e639
JJ
317132011-02-11 Jakub Jelinek <jakub@redhat.com>
31714
31715 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31716 arginfo fn returning -1.
31717
31718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31719 and thousands string is zero terminated.
31720
edf9294e
AS
317212011-02-03 Andreas Schwab <schwab@redhat.com>
31722
31723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31724 sysdeps/unix/sysv/linux/bits/socket.h.
31725
2b7e92df
ST
317262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31727
edf9294e
AS
31728 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31729 (__CPU_COUNT): Remove old macros.
31730 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31731 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31732 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31733 (__sched_cpualloc, __sched_cpufree): Add declarations.
31734
a4c7ea7b
UD
317352011-02-05 Ulrich Drepper <drepper@gmail.com>
31736
31737 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31738 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31739 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31740 (readdhstai): Return value of addhstaiX call.
31741 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31742 (addgrbyX): Return value returned by cache_addgr.
31743 (readdgrbyname): Return value returned by addgrbyX.
31744 (readdgrbygid): Likewise.
31745 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31746 (addpwbyX): Return value returned by cache_addpw.
31747 (readdpwbyname): Return value returned by addhstbyX.
31748 (readdpwbyuid): Likewise.
31749 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31750 (addservbyX): Return value returned by cache_addserv.
31751 (readdservbyname): Return value returned by addservbyX:
31752 (readdservbyport): Likewise.
31753 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31754 (addhstbyX): Return value returned by cache_addhst.
31755 (readdhstbyname): Return value returned by addhstbyX.
31756 (readdhstbyaddr): Likewise.
31757 (readdhstbynamev6): Likewise.
31758 (readdhstbyaddrv6): Likewise.
31759 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31760 (readdinitgroups): Return value returned by addinitgroupsX.
31761 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31762 (prune_cache): Keep track of timeout value of re-added entries.
31763 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31764 * nscd/nscd.h: Adjust prototypes of readd* functions.
31765
a0bf67cc
RM
317662011-02-04 Roland McGrath <roland@redhat.com>
31767
31768 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31769 (nis_stats): Likewise.
31770 * nis/nis_modify.c (nis_modify): Likewise.
31771 * nis/nis_remove.c (nis_remove): Likewise.
31772 * nis/nis_add.c (nis_add): Likewise.
31773
31774 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31775
31776 * posix/fnmatch_loop.c: Add some consts.
31777
31778 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31779
435b95eb
L
317802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 [BZ #12460]
31783 * config.make.in (config-cflags-novzeroupper): Define.
31784 * configure.in: Substitute libc_cv_cc_novzeroupper.
31785 * elf/Makefile (AVX-CFLAGS): Define.
31786 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31787 (CFLAGS-tst-auditmod4a.c): Likewise.
31788 (CFLAGS-tst-auditmod4b.c): Likewise.
31789 (CFLAGS-tst-auditmod6b.c): Likewise.
31790 (CFLAGS-tst-auditmod6c.c): Likewise.
31791 (CFLAGS-tst-auditmod7b.c): Likewise.
31792 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31793
8517b15e
UD
317942011-02-02 Ulrich Drepper <drepper@gmail.com>
31795
31796 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31797 function to the callback.
31798 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31799
10a656fe
AS
318002011-02-02 Andreas Schwab <schwab@redhat.com>
31801
31802 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31803 of errno.
31804
968dad0a
UD
318052011-01-19 Ulrich Drepper <drepper@gmail.com>
31806
9f94d2ea 31807 [BZ #11724]
968dad0a
UD
31808 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31809 of constructors.
31810 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31811 of destructors.
31812 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31813
31814 [BZ #11724]
31815 * elf/Makefile: Add rules to build and run new test.
31816 * elf/tst-initorder.c: New file.
31817 * elf/tst-initorder.exp: New file.
31818 * elf/tst-initordera1.c: New file.
31819 * elf/tst-initordera2.c: New file.
31820 * elf/tst-initordera3.c: New file.
31821 * elf/tst-initordera4.c: New file.
31822 * elf/tst-initorderb1.c: New file.
31823 * elf/tst-initorderb2.c: New file.
31824 * elf/tst-order-a1.c: New file.
31825 * elf/tst-order-a2.c: New file.
31826 * elf/tst-order-a3.c: New file.
31827 * elf/tst-order-a4.c: New file.
31828 * elf/tst-order-b1.c: New file.
31829 * elf/tst-order-b2.c: New file.
31830 * elf/tst-order-main.c: New file.
31831 New test case by George Gensure <werkt0@gmail.com>.
31832
86e92359
UD
318332010-10-01 Andreas Schwab <schwab@redhat.com>
31834
31835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31836 decoding ACE if AI_CANONIDN.
31837
5d5732b0
UD
318382011-01-18 Ulrich Drepper <drepper@gmail.com>
31839
31840 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31841
a77e8cbc
UD
318422011-01-17 Ulrich Drepper <drepper@gmail.com>
31843
6392473f
UD
31844 * version.h (RELEASE): Bump for 2.13 release.
31845 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31846
620a0529
UD
31847 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31848
18ba70a5
UD
31849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31850 MADV_NOHUGEPAGE.
32465c3e
UD
31851 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31857
c0dafcf1
UD
31858 * posix/getconf.c: Update copyright year.
31859 * catgets/gencat.c: Likewise.
31860 * csu/version.c: Likewise.
31861 * debug/catchsegv.sh: Likewise.
31862 * debug/xtrace.sh: Likewise.
31863 * elf/ldconfig.c: Likewise.
31864 * elf/ldd.bash.in: Likewise.
31865 * elf/sprof.c (print_version): Likewise.
31866 * iconv/iconv_prog.c: Likewise.
31867 * iconv/iconvconfig.c: Likewise.
31868 * locale/programs/locale.c: Likewise.
31869 * locale/programs/localedef.c: Likewise.
31870 * malloc/memusage.sh: Likewise.
31871 * malloc/mtrace.pl: Likewise.
31872 * nscd/nscd.c (print_version): Likewise.
31873 * nss/getent.c: Likewise.
31874
a77e8cbc
UD
31875 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31876 PF_CAIF, and PF_ALG.
31877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31878
77e8bddf
AS
318792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31880
1f20b93a
AS
31881 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31882 (modules-names): Use them.
31883 (ifunc-test-modules, ifunc-pie-tests): Define.
31884 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31885 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31886 (test-extras): Likewise.
31887 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31888 $(compile-command.c).
31889 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31890 (all-built-dso): Define.
31891 (check-textrel.out, check-execstack.out): Depend on it.
31892
77e8bddf
AS
31893 * configure.in: Don't override --enable-multi-arch.
31894
bc425b33
UD
318952011-01-15 Ulrich Drepper <drepper@gmail.com>
31896
31897 [BZ #6812]
31898 * nscd/hstcache.c (tryagain): Define.
31899 (cache_addhst): Return tryagain not notfound for temporary errors.
31900 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31901 failed.
31902
794c3ad3
UD
319032011-01-14 Ulrich Drepper <drepper@gmail.com>
31904
70181fdd
UD
31905 [BZ #10563]
31906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31907 to make the syscall.
31908 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31909
794c3ad3
UD
31910 [BZ #12378]
31911 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31912 and fall back to matching as normal character if the string ends before
31913 the matching ']' is found. This is what POSIX requires.
31914 * posix/testfnm.c: Adjust test result.
31915 * posix/globtest.sh: Adjust test result. Add new test.
31916 * posix/tst-fnmatch.input: Likewise.
31917 * posix/tst-fnmatch2.c: Add new test.
31918
68dc9497
AS
319192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31920
31921 * elf/Makefile (check-execstack): Revert last change. Depend on
31922 check-execstack.h.
31923 (check-execstack.h): New target.
31924 (generated): Add check-execstack.h.
31925 * elf/check-execstack.c: Include "check-execstack.h".
31926 (main): Revert last change.
31927 (handle_file): Return zero if GNU_STACK is absent and
31928 DEFAULT_STACK_PERMS doesn't include PF_X.
31929
451f001b
UD
319302011-01-13 Ulrich Drepper <drepper@gmail.com>
31931
cfa28e56
UD
31932 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31933 in child fails because the descriptor is already closed.
8cf8ce17
UD
31934 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31935 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31937
1086d70d
UD
31938 [BZ #12397]
31939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31940 syscall.
31941
451f001b
UD
31942 [BZ #10484]
31943 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31944 temporary buffer used to handle multi lookups locally.
a85b5cb4 31945 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31946
08769175
UD
319472011-01-12 Ulrich Drepper <drepper@gmail.com>
31948
31949 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31950 loader is ld.so.
31951
5e49c52e
UD
319522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31953
31954 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31955 alignment for SSE2.
31956
60522a5f
UD
319572011-01-12 Ulrich Drepper <drepper@gmail.com>
31958
31959 [BZ #12394]
31960 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31961 characters. When rounding increased number of integer digits recompute
31962 number of groups.
31963 * stdio-common/tst-grouping.c: New file.
31964 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31965
f257bbd7
UD
319662011-01-09 Ulrich Drepper <drepper@gmail.com>
31967
31968 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31969 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31970
31971 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31972 void.
31973 * bits/select.h: Likewise.
31974
fa9c15cb
UD
319752011-01-08 Ulrich Drepper <drepper@gmail.com>
31976
31977 * po/ja.po: Update from translation team.
31978
16c2895f
DM
319792011-01-04 David S. Miller <davem@sunset.davemloft.net>
31980
31981 [BZ #11155]
31982 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31983 implementation just like for lxstat, fxstatat, et al.
31984
2543fef2
JM
319852010-12-27 Jim Meyering <meyering@redhat.com>
31986
31987 [BZ #12348]
31988 * posix/regexec.c (build_trtable): Return failure indication upon
31989 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31990
98727dbe
UD
319912010-12-25 Ulrich Drepper <drepper@gmail.com>
31992
5bd6dc5c
UD
31993 [BZ #12201]
31994 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31995 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31998
97983464
UD
31999 [BZ #12207]
32000 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32001
98727dbe
UD
32002 [BZ #12204]
32003 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32004 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32005
4a531bb0
L
320062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32007
32008 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32009 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32010 script has SORT_BY_INIT_PRIORITY.
32011 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32012 NO_CTORS_DTORS_SECTIONS is defined.
32013 * elf/soinit.c: Likewise.
32014 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32015 NO_CTORS_DTORS_SECTIONS is defined.
32016 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32017 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32018 * sysdeps/sh/init-first.c: Likewise.
32019 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32020
07eb4b71
UD
320212010-12-24 Ulrich Drepper <drepper@gmail.com>
32022
32023 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32024 always use the slow path.
32025
30950a5f
RA
320262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32027
32028 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32029 similar rule which adds the sysdep directories to the header search in
32030 order to pick up the correct platform stackinfo.h.
32031 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32032 perform test if it is, otherwise return successfully without testing.
32033 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32034 DEFAULT_STACK_PERMS define in stackinfo.h.
32035 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32036 defined in stackinfo.h.
32037 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32038 DEFAULT_STACK_PERMS defined in stackinfo.h.
32039 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32040 * sysdeps/ia64/stackinfo.h: Likewise.
32041 * sysdeps/s390/stackinfo.h: Likewise.
32042 * sysdeps/sh/stackinfo.h: Likewise.
32043 * sysdeps/sparc/stackinfo.h: Likewise.
32044 * sysdeps/x86_64/stackinfo.h: Likewise.
32045 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32046 PF_X for powerpc64. Retain PF_X for powerpc32.
32047
db753e2c
UD
320482010-12-19 Ulrich Drepper <drepper@gmail.com>
32049
14b697f7
UD
32050 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32051 accurately.
db753e2c
UD
32052 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32053 GETDENTS_64BIT_ALIGNED.
32054
28300719
UD
320552010-12-14 Ulrich Drepper <dreper@gmail.com>
32056
14b697f7 32057 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32058
4f197237
AS
320592010-12-10 Andreas Schwab <schwab@redhat.com>
32060
dbb0472f
AS
32061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32062 _GNU_SOURCE.
32063
4f197237
AS
32064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32065 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32066 Remove __restrict.
32067 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32068 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32069
fb88ac72
UD
320702010-12-09 Ulrich Drepper <drepper@gmail.com>
32071
32072 [BZ #11655]
32073 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32074 are initialized.
32075
42acbb92
JJ
320762010-12-09 Jakub Jelinek <jakub@redhat.com>
32077
32078 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32079
c038d98d
UD
320802010-12-03 Ulrich Drepper <drepper@gmail.com>
32081
32082 * po/it.po: Update from translation team.
32083
3a4a2499
L
320842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32085
32086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32087 unused codes.
32088
1e24cf6e
UD
320892010-11-30 Ulrich Drepper <drepper@gmail.com>
32090
32091 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32092
a7690819
AS
320932010-11-24 Andreas Schwab <schwab@redhat.com>
32094
32095 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32096 specially.
32097 (gaih_getanswer_slice): Likewise.
32098
3bf8d1b1
JJ
320992010-10-20 Jakub Jelinek <jakub@redhat.com>
32100
32101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32102
6db52fbb
PB
321032010-05-31 Petr Baudis <pasky@suse.cz>
32104
32105 [BZ #11149]
32106 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32107 silently even in the chroot mode.
32108
eaca7569
UD
321092010-11-22 Ulrich Drepper <drepper@gmail.com>
32110
32111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32112 last patch a bit. Pretty printing
32113
3056dcdb
UD
321142010-05-31 Petr Baudis <pasky@suse.cz>
32115
32116 [BZ #10085]
32117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32118 initialization of skip_initgroups_dyn.
32119
cf7c9078
UD
321202010-11-19 Ulrich Drepper <drepper@gmail.com>
32121
32122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32124
a1fb5e3e
UD
321252010-11-16 Ulrich Drepper <drepper@gmail.com>
32126
32127 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32128
3540d66b
AS
321292010-11-11 Andreas Schwab <schwab@redhat.com>
32130
32131 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32132 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32133 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32134 ($(objpfx)tst-fnmatch-mem): New rule.
32135 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32136 * posix/tst-fnmatch.c (main): Call mtrace.
32137
13b69574
L
321382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32141 Support Intel processor model 6 and model 0x2c.
32142
da93d214
LM
321432010-11-10 Luis Machado <luisgpm@br.ibm.com>
32144
32145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32146 signed comparison.
32147
8ca52c6e
L
321482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32149
32150 [BZ #12205]
32151 * string/test-strncasecmp.c (check_result): New function.
32152 (do_one_test): Use it.
32153 (check1): New function.
32154 (test_main): Use it.
32155 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32156 Support strcasecmp and strncasecmp.
32157
69da074d
UD
321582010-11-08 Ulrich Drepper <drepper@gmail.com>
32159
32160 [BZ #12194]
32161 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32163
ff02d528
L
321642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32165
32166 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32167 IFUNC support.
32168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32169 memset-x86-64.
32170 * sysdeps/x86_64/multiarch/bzero.S: New file.
32171 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32172 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32173 * sysdeps/x86_64/multiarch/memset.S: New file.
32174 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32176 Set bit_Prefer_SSE_for_memop for Intel processors.
32177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32178 Define.
32179 (index_Prefer_SSE_for_memop): Define.
32180 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32181
344d0b54
LM
321822010-11-04 Luis Machado <luisgpm@br.ibm.com>
32183
32184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32186
c0dde15b
UD
321872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32188
32189 [BZ #12191]
32190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32191 (__x86_64_raw_data_cache_size_half): Likewise.
32192 (__x86_64_raw_shared_cache_size): Likewise.
32193 (__x86_64_raw_shared_cache_size_half): Likewise.
32194
32195 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32196 (__x86_64_raw_data_cache_size_half): Likewise.
32197 (__x86_64_raw_shared_cache_size): Likewise.
32198 (__x86_64_raw_shared_cache_size_half): Likewise.
32199 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32200 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32201 and __x86_64_raw_shared_cache_size_half. Round
32202 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32203 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32204 to multiple of 256 bytes.
32205
0e516e0e
MS
322062010-11-03 Ulrich Drepper <drepper@gmail.com>
32207
32208 [BZ #12167]
32209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32210 of inacessible symlinks. Verify result of symlink before returning it.
32211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32212 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32213
0e012e87
ER
322142010-10-28 Erich Ritz <erichritz@gmail.com>
32215
32216 * math/math.h (isinf): Fix typo in comment.
32217
de0ff7bc
UD
322182010-11-01 Ulrich Drepper <drepper@gmail.com>
32219
32220 * po/da.po: Update from translation team.
32221
fa41c84d
UD
322222010-10-26 Ulrich Drepper <drepper@gmail.com>
32223
32224 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32225 is added to the list.
32226
f0967738
AK
322272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32228 Ulrich Drepper <drepper@gmail.com>
32229
32230 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32231 the global list here. Move code to...
32232 (_dl_add_to_namespace_list): ...here. New function.
32233 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32234 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32235 * elf/dl-load.c (lose): Don't remove the element from the list.
32236 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32237 (_dl_map_object): Likewise.
32238
322392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32240
32241 [BZ #12159]
32242 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32243 into all bytes of SSE register.
32244 Patch by Richard Li <richardpku@gmail.com>.
32245
f0967738 322462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32247
32248 [BZ #12140]
32249 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32250 perturbing.
32251
d0b9e94f
MB
322522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32253
32254 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32255 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32259 submachine.
32260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32261
8e9f92e9
AS
322622010-10-22 Andreas Schwab <schwab@redhat.com>
32263
32264 * include/dlfcn.h (__RTLD_SECURE): Define.
32265 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32266 mode & __RTLD_SECURE instead.
32267 (open_path): Rename preloaded parameter to secure.
32268 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32269 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32270 * elf/dl-deps.c (openaux): Likewise.
32271 * elf/rtld.c (struct map_args): Remove is_preloaded.
32272 (map_doit): Don't use it.
32273 (dl_main): Likewise.
32274 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32275 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32276
bc96fbda
AS
322772010-09-09 Andreas Schwab <schwab@redhat.com>
32278
32279 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32280 (sysd-rules-targets): Remove duplicates.
32281 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32282 rtld-%.$o dependency.
32283
22cd1c9b
AS
322842010-10-18 Andreas Schwab <schwab@redhat.com>
32285
32286 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32287 _dl_map_object do it.
32288
18edac48
UD
322892010-10-19 Ulrich Drepper <drepper@gmail.com>
32290
32291 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32292 fast fma builtins, define the macros in the C99 standard.
32293 (FP_FAST_FMAF): Likewise.
32294 (FP_FAST_FMAL): Likewise.
32295 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32296
32297 * bits/mathdef.h: Update copyright year.
32298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32299
d2050124
MM
323002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32301
32302 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32303 builtins, define the macros in the C99 standard.
32304 (FP_FAST_FMAF): Likewise.
32305 (FP_FAST_FMAL): Likewise.
32306 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32307 multiply/add.
32308 (FP_FAST_FMAF): Likewise.
32309
475facd1
JJ
323102010-10-15 Jakub Jelinek <jakub@redhat.com>
32311
32312 [BZ #3268]
32313 * math/libm-test.inc (fma_test): Some new testcases.
32314 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32316 y and infinite z. Do multiplication by C already in long double.
32317 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32319 y and infinite z. Do bitwise or of inexact bit into u.d.
32320 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32321 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32322 * sysdeps/i386/fpu/s_fma.S: Removed.
32323 * sysdeps/i386/fpu/s_fmal.S: Removed.
32324
7c08a05c
JJ
323252010-10-16 Jakub Jelinek <jakub@redhat.com>
32326
32327 [BZ #3268]
32328 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32330 computation is not scheduled after fetestexcept. Fix value
32331 of minimum denormal long double.
32332
f3f7372d
JJ
323332010-10-14 Jakub Jelinek <jakub@redhat.com>
32334
32335 [BZ #3268]
32336 * math/libm-test.inc (fma_test): Add some more tests.
32337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32338 correctly.
32339
14d43591
AS
323402010-10-15 Andreas Schwab <schwab@redhat.com>
32341
32342 * scripts/data/localplt-s390-linux-gnu.data: New file.
32343 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32344
5e908464
JJ
323452010-10-13 Jakub Jelinek <jakub@redhat.com>
32346
32347 [BZ #3268]
32348 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32349 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32350 instead of dbl-64.
32351 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32352 inlines.
32353 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32355 if one of x and y is very large and the other is subnormal.
32356 * sysdeps/s390/fpu/s_fmaf.c: New file.
32357 * sysdeps/s390/fpu/s_fma.c: New file.
32358 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32359 * sysdeps/powerpc/fpu/s_fma.S: New file.
32360 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32361 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32362 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32363
323642010-10-12 Jakub Jelinek <jakub@redhat.com>
32365
32366 [BZ #3268]
32367 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32368 fma tests.
32369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32370 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32371 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32372 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32373 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32376
b833d51f
UD
323772010-10-12 Ulrich Drepper <drepper@redhat.com>
32378
32379 [BZ #12078]
32380 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32381 * posix/bug-regex31.input: Add test case.
32382
1751705d
UD
323832010-10-11 Ulrich Drepper <drepper@gmail.com>
32384
e9b9cbf5
UD
32385 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32386 * posix/bug-regex31.input: New file.
32387
32388 [BZ #12078]
32389 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32390 (parse_sub_exp): Fix last change, use postorder.
32391
ef06edbe
UD
32392 * posix/bug-regex31.c: New file.
32393 * posix/Makefile: Add rules to build and run bug-regex31.
32394
a129c80d
UD
32395 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32396
32397 [BZ #12078]
32398 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32399
b76b818e
UD
32400 [BZ #12108]
32401 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32402 to have entries in sys_siglist.
32403
1751705d
UD
32404 [BZ #12093]
32405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32406 be NULL.
32407
9ff8d36f
JJ
324082010-10-07 Jakub Jelinek <jakub@redhat.com>
32409
32410 [BZ #3268]
32411 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32412 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32413 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32414 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32416 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32417 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32418 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32419 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32420 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32421 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32424 * math/ftestexcept.c (fetestexcept): Likewise.
32425 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32426 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32427 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32428 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32429 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32430 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32432
af325969
UD
324332010-10-11 Ulrich Drepper <drepper@gmail.com>
32434
c579b202 32435 [BZ #12107]
af325969
UD
32436 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32437 newline.
32438
67a67b95
UD
324392010-10-06 Ulrich Drepper <drepper@gmail.com>
32440
32441 * string/bug-strstr1.c: New file.
32442 * string/Makefile: Add rules to build and run bug-strstr1.
32443
5fb308bc
EB
324442010-10-05 Eric Blake <eblake@redhat.com>
32445
32446 [BZ #12092]
32447 * string/str-two-way.h (two_way_long_needle): Always clear memory
32448 when skipping input due to the shift table.
32449
45db99c7
UD
324502010-10-03 Ulrich Drepper <drepper@gmail.com>
32451
3b111893
UD
32452 [BZ #12005]
32453 * malloc/mcheck.c: Handle large requests.
32454
45db99c7
UD
32455 [BZ #12077]
32456 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32457 for strncmp and strncasecmp.
32458 * string/stratcliff.c: Add tests for strcmp and strncmp.
32459 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32460
cf7a1eb8
NI
324612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32462
32463 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32464 __set_fpscr.
32465
6484ba5e
AJ
324662010-09-30 Andreas Jaeger <aj@suse.de>
32467
32468 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32469 (CGROUP_SUPER_MAGIC): Define.
32470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32471 Handle btrfs and cgroup file systems.
32472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32473 Likewise.
32474
91c42559
LM
324752010-09-27 Luis Machado <luisgpm@br.ibm.com>
32476
32477 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32478 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32479
87a97932
AK
324802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32481
32482 [BZ #12067]
32483 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32484 trying to locate the ELF header.
32485
c21cc9bc
AS
324862010-09-27 Andreas Schwab <schwab@redhat.com>
32487
32488 [BZ #11611]
32489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32490 Mask out sign-bit copies when constructing f_fsid.
32491
315970f6
PB
324922010-09-24 Petr Baudis <pasky@suse.cz>
32493
32494 * debug/stack_chk_fail_local.c: Add missing licence exception.
32495 * debug/warning-nop.c: Likewise.
32496
1ac7a2c7
JM
324972010-09-15 Joseph Myers <joseph@codesourcery.com>
32498
32499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32500 implementing getdents64 using getdents syscall, set d_type if
32501 __ASSUME_GETDENTS32_D_TYPE.
32502
56801c50
AS
325032010-09-16 Andreas Schwab <schwab@redhat.com>
32504
32505 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32506 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32507
dda51327
UD
325082010-09-21 Ulrich Drepper <drepper@redhat.com>
32509
32510 [BZ #12037]
32511 * posix/unistd.h: Undo change of feature selection for ftruncate from
32512 2010-01-11.
32513
8ffcee4a
UD
325142010-09-20 Ulrich Drepper <drepper@redhat.com>
32515
a545ecd9 32516 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32517 detection.
32518
e24f0a8b
AS
325192010-09-20 Andreas Schwab <schwab@redhat.com>
32520
32521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32522 fanotify_mark.
32523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32524
7291c56f
AS
325252010-09-14 Andreas Schwab <schwab@redhat.com>
32526
32527 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32528 variables after CHECK_SP call.
32529 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32530
bc5fb037
AS
325312010-09-13 Andreas Schwab <schwab@redhat.com>
32532 Ulrich Drepper <drepper@redhat.com>
32533
32534 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32535 re-relocationg ld.so.
32536 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32537 _dl_init_paths call.
32538 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32539 here anymore.
32540
e66e7419
UD
325412010-09-14 Ulrich Drepper <drepper@redhat.com>
32542
32543 * resolv/res_init.c (__res_vinit): Count the default server we added.
32544
c044aa75
CLT
325452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32546 Ulrich Drepper <drepper@redhat.com>
32547
32548 [BZ #11968]
32549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32550 (____longjmp_chk): Use %ebx for saving value across system call.
32551 Add unwind info.
32552
32cf4069
AS
325532010-09-06 Andreas Schwab <schwab@redhat.com>
32554
32555 * manual/Makefile: Don't mix pattern rules with normal rules.
32556
817328ee
AS
325572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32558
32559 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32560 operation.
32561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32562 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32563 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32564 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32566 Likewise.
32567
29fddf61
UD
325682010-09-04 Ulrich Drepper <drepper@redhat.com>
32569
32570 [BZ #11979]
32571 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32572 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32573
0959ffc9
UD
325742010-09-02 Ulrich Drepper <drepper@redhat.com>
32575
32576 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32577 * sysdeps/x86_64/addmul_1.S: Likewise.
32578 * sysdeps/x86_64/lshift.S: Likewise.
32579 * sysdeps/x86_64/mul_1.S: Likewise.
32580 * sysdeps/x86_64/rshift.S: Likewise.
32581 * sysdeps/x86_64/sub_n.S: Likewise.
32582 * sysdeps/x86_64/submul_1.S: Likewise.
32583
ece29840
ST
325842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32585
0959ffc9
UD
32586 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32587 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32588 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32589 * bits/sched.h [__need_schedparam]
ece29840 32590 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32591 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32592 (__defined_schedparam): Define to 1.
ece29840
ST
32593 (__sched_param): New structure, identical to sched_param.
32594 (__need_schedparam): Undefine.
32595
e53a31fe
MF
325962010-08-31 Mike Frysinger <vapier@gentoo.org>
32597
fdc0c10d
MF
32598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32599 (epoll_create1): Declare.
32600
e53a31fe
MF
32601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32602
a726d796
AS
326032010-08-31 Andreas Schwab <schwab@redhat.com>
32604
32605 [BZ #7066]
32606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32607 shifting retval into place.
32608
2f3e3dc7
UD
326092010-09-01 Ulrich Drepper <drepper@redhat.com>
32610
f2933da9
UD
32611 * nis/rpcsvc/nis.h: Update copyright notice.
32612 * nis/rpcsvc/nis.x: Likewise.
32613 * nis/rpcsvc/nis_callback.h: Likewise.
32614 * nis/rpcsvc/nis_callback.x: Likewise.
32615 * nis/rpcsvc/nis_object.x: Likewise.
32616 * nis/rpcsvc/nis_tags.h: Likewise.
32617 * nis/rpcsvc/yp.h: Likewise.
32618 * nis/rpcsvc/yp.x: Likewise.
32619 * nis/rpcsvc/ypupd.h: Likewise.
32620 * nis/yp_xdr.c: Likewise.
32621 * nis/ypupdate_xdr.c: Likewise.
32622
2f3e3dc7
UD
32623 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32624 mainly the body of pmap_getport. Add parameters to specify timeouts.
32625 (pmap_getport): Use __libc_rpc_getport.
32626 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32627 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32628 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32629
f3dcc2f9
AS
326302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32631
32632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32633 fanotify_mark.
32634
6d34eb5b
RM
326352010-08-27 Roland McGrath <roland@redhat.com>
32636
32637 * sysdeps/i386/i686/multiarch/Makefile
32638 (CFLAGS-varshift.c): New variable.
32639
9ea3de11
UD
326402010-08-27 Ulrich Drepper <drepper@redhat.com>
32641
c96d23fc
UD
32642 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32643 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32644
9ea3de11
UD
32645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32646
32647 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32648
623aac7f
L
326492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32650
32651 * sysdeps/x86_64/strlen.S: Unroll the loop.
32652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32653 strlen-sse2 strlen-sse2-bsf.
32654 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32655 __strlen_no_bsf if bit_Slow_BSF is set.
32656 (__strlen_sse42): Removed.
32657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32658 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32659
8b2b7715
RM
326602010-08-25 Roland McGrath <roland@redhat.com>
32661
32662 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32663 * sysdeps/x86_64/multiarch/varshift.c: New file.
32664 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32665 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32666 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32667 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32668
e73015f2
L
326692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32672 strlen-sse2 strlen-sse2-bsf.
32673 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32674 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32675 (__strlen_sse2): Removed.
32676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32679 bit_Slow_BSF for Atom.
32680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32681 (index_Slow_BSF): Define.
32682 (HAS_SLOW_BSF): Define.
32683
df24a73e
UD
326842010-08-25 Ulrich Drepper <drepper@redhat.com>
32685
32686 [BZ #10851]
32687 * resolv/res_init.c (__res_vinit): When no server address at all
32688 is given default to loopback.
32689
f2ac4868
RM
326902010-08-24 Roland McGrath <roland@redhat.com>
32691
09055553
RM
32692 * configure.in: Remove config-name.h generation.
32693 * configure: Regenerated.
32694 * config-name.in: File removed.
32695 * scripts/config-uname.sh: New file.
32696 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32697 ($(objdir)config-name.h): New target.
32698
f2ac4868
RM
32699 * sunrpc/rpc_parse.h: Avoid nested comment.
32700
73f27d5e
RH
327012010-08-24 Richard Henderson <rth@redhat.com>
32702 Ulrich Drepper <drepper@redhat.com>
32703 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32707 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32708 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32709 _mm_alignr_epi8 with _mm_loadu_si128.
32710 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32711 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32712 (__m128i_shift_right): Removed.
32713 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32714 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32715 * sysdeps/x86_64/multiarch/varshift.h: New file.
32716 * sysdeps/x86_64/multiarch/varshift.S: New file.
32717
84b9230c
MF
327182010-08-21 Mike Frysinger <vapier@gentoo.org>
32719
32720 * configure.in: Move assembler checks to before sysdep dir checking.
32721
9bbd0ddc
PB
327222010-08-20 Petr Baudis <pasky@suse.cz>
32723
32724 * LICENSES: Sync the sunrpc license.
32725
9da4bb31
UD
327262010-08-19 Ulrich Drepper <drepper@redhat.com>
32727
a7ab6ec8
UD
32728 * sunrpc/auth_des.c: Update copyright notice once again.
32729 * sunrpc/auth_none.c: Likewise.
32730 * sunrpc/auth_unix.c: Likewise.
32731 * sunrpc/authdes_prot.c: Likewise.
32732 * sunrpc/authuxprot.c: Likewise.
32733 * sunrpc/bindrsvprt.c: Likewise.
32734 * sunrpc/clnt_gen.c: Likewise.
32735 * sunrpc/clnt_perr.c: Likewise.
32736 * sunrpc/clnt_raw.c: Likewise.
32737 * sunrpc/clnt_simp.c: Likewise.
32738 * sunrpc/clnt_tcp.c: Likewise.
32739 * sunrpc/clnt_udp.c: Likewise.
32740 * sunrpc/clnt_unix.c: Likewise.
32741 * sunrpc/des_crypt.c: Likewise.
32742 * sunrpc/des_soft.c: Likewise.
32743 * sunrpc/get_myaddr.c: Likewise.
32744 * sunrpc/getrpcport.c: Likewise.
32745 * sunrpc/key_call.c: Likewise.
32746 * sunrpc/key_prot.c: Likewise.
32747 * sunrpc/openchild.c: Likewise.
32748 * sunrpc/pm_getmaps.c: Likewise.
32749 * sunrpc/pm_getport.c: Likewise.
32750 * sunrpc/pmap_clnt.c: Likewise.
32751 * sunrpc/pmap_prot.c: Likewise.
32752 * sunrpc/pmap_prot2.c: Likewise.
32753 * sunrpc/pmap_rmt.c: Likewise.
32754 * sunrpc/rpc/auth.h: Likewise.
32755 * sunrpc/rpc/auth_unix.h: Likewise.
32756 * sunrpc/rpc/clnt.h: Likewise.
32757 * sunrpc/rpc/des_crypt.h: Likewise.
32758 * sunrpc/rpc/key_prot.h: Likewise.
32759 * sunrpc/rpc/netdb.h: Likewise.
32760 * sunrpc/rpc/pmap_clnt.h: Likewise.
32761 * sunrpc/rpc/pmap_prot.h: Likewise.
32762 * sunrpc/rpc/pmap_rmt.h: Likewise.
32763 * sunrpc/rpc/rpc.h: Likewise.
32764 * sunrpc/rpc/rpc_des.h: Likewise.
32765 * sunrpc/rpc/rpc_msg.h: Likewise.
32766 * sunrpc/rpc/svc.h: Likewise.
32767 * sunrpc/rpc/svc_auth.h: Likewise.
32768 * sunrpc/rpc/types.h: Likewise.
32769 * sunrpc/rpc/xdr.h: Likewise.
32770 * sunrpc/rpc_clntout.c: Likewise.
32771 * sunrpc/rpc_cmsg.c: Likewise.
32772 * sunrpc/rpc_common.c: Likewise.
32773 * sunrpc/rpc_cout.c: Likewise.
32774 * sunrpc/rpc_dtable.c: Likewise.
32775 * sunrpc/rpc_hout.c: Likewise.
32776 * sunrpc/rpc_main.c: Likewise.
32777 * sunrpc/rpc_parse.c: Likewise.
32778 * sunrpc/rpc_parse.h: Likewise.
32779 * sunrpc/rpc_prot.c: Likewise.
32780 * sunrpc/rpc_sample.c: Likewise.
32781 * sunrpc/rpc_scan.c: Likewise.
32782 * sunrpc/rpc_scan.h: Likewise.
32783 * sunrpc/rpc_svcout.c: Likewise.
32784 * sunrpc/rpc_tblout.c: Likewise.
32785 * sunrpc/rpc_util.c: Likewise.
32786 * sunrpc/rpc_util.h: Likewise.
32787 * sunrpc/rpcinfo.c: Likewise.
32788 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32789 * sunrpc/rpcsvc/key_prot.x: Likewise.
32790 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32791 * sunrpc/rpcsvc/mount.x: Likewise.
32792 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32793 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32794 * sunrpc/rpcsvc/rex.x: Likewise.
32795 * sunrpc/rpcsvc/rstat.x: Likewise.
32796 * sunrpc/rpcsvc/rusers.x: Likewise.
32797 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32798 * sunrpc/rpcsvc/spray.x: Likewise.
32799 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32800 * sunrpc/rtime.c: Likewise.
32801 * sunrpc/svc.c: Likewise.
32802 * sunrpc/svc_auth.c: Likewise.
32803 * sunrpc/svc_authux.c: Likewise.
32804 * sunrpc/svc_raw.c: Likewise.
32805 * sunrpc/svc_run.c: Likewise.
32806 * sunrpc/svc_simple.c: Likewise.
32807 * sunrpc/svc_tcp.c: Likewise.
32808 * sunrpc/svc_udp.c: Likewise.
32809 * sunrpc/svc_unix.c: Likewise.
32810 * sunrpc/svcauth_des.c: Likewise.
32811 * sunrpc/xcrypt.c: Likewise.
32812 * sunrpc/xdr.c: Likewise.
32813 * sunrpc/xdr_array.c: Likewise.
32814 * sunrpc/xdr_float.c: Likewise.
32815 * sunrpc/xdr_mem.c: Likewise.
32816 * sunrpc/xdr_rec.c: Likewise.
32817 * sunrpc/xdr_ref.c: Likewise.
32818 * sunrpc/xdr_sizeof.c: Likewise.
32819 * sunrpc/xdr_stdio.c: Likewise.
32820
9da4bb31
UD
32821 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32822 handling.
32823
bdaa77bc
AS
328242010-08-19 Andreas Schwab <schwab@redhat.com>
32825
32826 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32827
fe2f79db
LM
328282010-08-19 Luis Machado <luisgpm@br.ibm.com>
32829
32830 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32831 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32833 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32835 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32837 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32840 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32842 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32844
b9b42ee0
AB
328452010-07-26 Anton Blanchard <anton@samba.org>
32846
32847 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32848 * malloc/arena.c (heap_trim): Likewise.
32849
1c06ba31
UD
328502010-08-16 Ulrich Drepper <drepper@redhat.com>
32851
32852 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32853 here. Not...
32854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32855 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32856
f8392f40
L
328572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32858
32859 * sysdeps/i386/elf/Makefile: New file.
32860
3162f12e
AS
328612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32862
32863 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32864 from fanotify_init.
32865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32867
28c90b2c
UD
328682010-08-15 Ulrich Drepper <drepper@redhat.com>
32869
32870 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32871 of strncasecmp_l.
1feccb6c 32872 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32873
ca6bb004
UD
328742010-08-14 Ulrich Drepper <drepper@redhat.com>
32875
e9f82e0d
UD
32876 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32877 strncase_l-nonascii.
32878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32879 Add strncase_l-ssse3.
32880 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32881 * sysdeps/x86_64/strcmp.S: Likewise.
32882 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32883 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32884 * sysdeps/x86_64/strncase.S: New file.
32885 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32886 * sysdeps/x86_64/strncase_l.S: New file.
32887 * string/Makefile (strop-tests): Add strncasecmp.
32888 * string/test-strncasecmp.c: New file.
32889
32890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32891 warning.
32892
ca6bb004
UD
32893 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32895
052fa7b3
AS
328962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32897
32898 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32899
962dba78
UD
329002010-08-12 Ulrich Drepper <drepper@redhat.com>
32901
32902 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32905
bebff237
AM
329062010-05-01 Alan Modra <amodra@gmail.com>
32907
32908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32909 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32910 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32911 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32912 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32913 tidying. Don't tail-call __sigjmp_save for static lib.
32914 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32915 save location.
32916 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32917 (CALL_MCOUNT): Add eh info, and nop after bl.
32918 (TAIL_CALL_SYSCALL_ERROR): New macro.
32919 (PSEUDO_RET): Use it.
32920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32921 Correct save location of integer regs and cr.
32922 (_dl_profile_resolve): Correct cr save location. Delete nops
32923 after bl when SHARED. Reduce cfi size a little by better
32924 placement of cfi directives.
32925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32926 make a stack frame. Instead use parm save area as a temp.
32927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32928 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32930 Don't make a stack frame for parent, use parm save area.
32931 Increase child stack frame to 112 bytes. Don't save unused reg,
32932 and adjust reg usage. Set up cfi on error recovery and
32933 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32935 (__makecontext): Add dummy nop after jump to exit.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32937 Use correct parm save area and cr save, reduce stack frame.
32938 Correct cfi for possible PSEUDO_RET frame setup.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32940 Branch to local label emitted by PSEUDO_RET rather than
32941 __syscall_error.
32942
02637374
AS
329432010-08-12 Andreas Schwab <schwab@redhat.com>
32944
32945 [BZ #11904]
32946 * locale/programs/locale.c (print_assignment): New function.
32947 (show_locale_vars): Use it.
32948
c3e2f19b
UD
329492010-08-11 Ulrich Drepper <drepper@redhat.com>
32950
3cdaa6ad
UD
32951 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32952 field.
32953 (struct statfs64): Likewise.
32954 (_STATFS_F_FLAGS): Define.
32955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32957 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32958 (ST_VALID): Define locally.
32959 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32960 __statvfs_getflags, use the provided value.
32961 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32962 __ASSUME_STATFS_F_FLAGS.
32963
754f7da3
UD
32964 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32965
10b3bedc
UD
32966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32967 Add sys/fanotify.h.
32968 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32969 fanotify_mask for GLIBC_2.13.
32970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32971 fanotify_init and fanotify_mark.
32972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32973 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32974
c08fb0d7
UD
32975 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32976 Add prlimit.
32977 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32978 prlimit64 for GLIBC_2.13.
32979 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32980 prlimit64.
32981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32982 syscall.
32983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32984 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32988 add prlimit alias.
32989 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32990
15bac72b
UD
32991 [BZ #11903]
32992 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32993 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32994
c3e2f19b
UD
32995 * nss/Makefile: Add rules to build and run tst-nss-test1.
32996 * shlib-versions: Add entry for libnss_test1.
32997 * nss/nss_test1.c: New file.
32998 * nss/tst-nss-test1.c: New file.
32999
33000 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33001 (__nss_configure_lookup): Set appropriate entry in
33002 __nss_configure_lookup to true.
33003 * nss/nsswitch.h: Define enum with indeces of databases in
33004 databases and __nss_database_custom arrays. Declare
33005 __nss_database_custom.
33006 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33007 to avoid using nscd when custom rules are installed.
33008 * nss/getXXbyYY_r.c: Likewise.
33009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33010
33011 * nss/nss_files/files-parse.c: Whitespace fixes.
33012
f15ce4d8
UD
330132010-08-09 Ulrich Drepper <drepper@redhat.com>
33014
33015 [BZ #11883]
33016 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33017 * posix/fnmatch_loop.c: Likewise.
33018
d22e4cc9
AK
330192010-07-17 Andi Kleen <ak@linux.intel.com>
33020
33021 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33022 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33023 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33024 * Versions.def [GLIBC_2.13]: Add.
33025
805bc17d
UD
330262010-08-06 Ulrich Drepper <drepper@redhat.com>
33027
33028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33029 Also fail if tpwd after pwuid call is NULL.
33030
5a42321d
ST
330312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33032
33033 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33034 when converting to ms.
33035
fd3ebeda
ST
330362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33037
33038 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33039 EOPNOTSUPP errors with ENOTTY.
33040 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33041 EOPNOTSUPP errors with ENOTTY.
33042
73507d3a
UD
330432010-07-31 Ulrich Drepper <drepper@redhat.com>
33044
33045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33046 Add strcasecmp_l-ssse3.
33047 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33048 strcasecmp.
33049 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33052
fe36dd02
UD
330532010-07-30 Ulrich Drepper <drepper@redhat.com>
33054
66f6765a
UD
33055 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33056
42e08a54
UD
33057 * string/Makefile (strop-tests): Add strcasecmp.
33058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33059 strcasecmp_l-nonascii.
33060 (gen-as-const-headers): Add locale-defines.sym.
33061 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33062 * sysdeps/x86_64/strcasecmp.S: New file.
33063 * sysdeps/x86_64/strcasecmp_l.S: New file.
33064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33065 * sysdeps/x86_64/locale-defines.sym: New file.
33066 * string/test-strcasecmp.c: New file.
33067
fe36dd02
UD
33068 * string/test-strcasestr.c: Test both ends of the range of characters.
33069 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33070
48cbc0d6
RM
330712010-07-29 Roland McGrath <roland@redhat.com>
33072
76e6d6bc 33073 [BZ #11856]
48cbc0d6
RM
33074 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33075
880113d9
UD
330762010-07-27 Ulrich Drepper <drepper@redhat.com>
33077
33078 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33079 for ld.so.
33080
deb9cabb
AS
330812010-07-27 Andreas Schwab <schwab@redhat.com>
33082
33083 * manual/memory.texi (Malloc Tunable Parameters): Document
33084 M_PERTURB.
33085
1c7570ff
RM
330862010-07-26 Roland McGrath <roland@redhat.com>
33087
33088 [BZ #11840]
33089 * configure.in (-fgnu89-inline check): Set and substitute
33090 gnu89_inline, not libc_cv_gnu89_inline.
33091 * configure: Regenerated.
33092 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33093
24fb0f88
UD
330942010-07-26 Ulrich Drepper <drepper@redhat.com>
33095
33096 * string/test-strnlen.c: New file.
33097 * string/Makefile (strop-tests): Add strnlen.
33098 * string/tester.c (test_strnlen): Add a few more test cases.
33099 * string/tst-strlen.c: Better error reporting.
33100
33101 * sysdeps/x86_64/strnlen.S: New file.
33102
8e96b93a
UD
331032010-07-24 Ulrich Drepper <drepper@redhat.com>
33104
33105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33106 lower-latency instructions.
33107
dbc676d4
UD
331082010-07-23 Ulrich Drepper <drepper@redhat.com>
33109
33110 * string/test-strcasestr.c: New file.
33111 * string/test-strstr.c: New file.
33112 * string/Makefile (strop-tests): Add strstr and strcasestr.
33113 * string/str-two-way.h: Don't undefine MAX.
33114 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33115
f6a31e0e
AS
331162010-07-21 Andreas Schwab <schwab@redhat.com>
33117
33118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33119 strcasestr-nonascii.
33120 (CFLAGS-strcasestr-nonascii.c): Define.
33121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33123 Remove unused attribute.
33124
5dbc3b6c
RM
331252010-07-20 Roland McGrath <roland@redhat.com>
33126
33127 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33128 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33129 ld.so.cache was broken. With it, there is no way to disable dsocaps
33130 like LD_HWCAP_MASK can disable hwcaps.
33131
23d101d8
EPM
331322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33133
33134 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33135
cc9f2e47
UD
331362010-07-16 Ulrich Drepper <drepper@redhat.com>
33137
33138 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33139 call in strcasestr.
33140 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33141 __strcasestr_sse42_nonascii.
33142 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33143 strcasestr-nonascii.c.
33144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33145
77c1b069
LM
331462010-06-15 Luis Machado <luisgpm@br.ibm.com>
33147
33148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33152
440566c3
UD
331532010-07-09 Ulrich Drepper <drepper@redhat.com>
33154
33155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33156 fcntl.
33157
5be9d05d
AS
331582010-07-06 Andreas Schwab <schwab@redhat.com>
33159
c30b7ee2 33160 [BZ #11577]
5be9d05d
AS
33161 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33162 dl_signal_cerror.
33163
8a492a67
UD
331642010-07-06 Ulrich Drepper <drepper@redhat.com>
33165
33166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33167 _PC_PIPE_BUF using F_GETPIPE_SZ.
33168
713df3d5
RM
331692010-07-05 Roland McGrath <roland@redhat.com>
33170
33171 * manual/arith.texi (Rounding Functions): Fix rint description
33172 implicit in round description.
33173
702e8f14
UD
331742010-07-02 Ulrich Drepper <drepper@redhat.com>
33175
33176 * elf/Makefile: Fix linking for a few tests to make recent linker
33177 happy.
33178
52ed8be9
AS
331792010-06-30 Andreas Schwab <schwab@redhat.com>
33180
33181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33182 $(common-objpfx)libc_nonshared.a.
33183
f47c9a11
LM
331842010-06-21 Luis Machado <luisgpm@br.ibm.com>
33185
33186 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33187 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33188 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33190 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33191 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33208 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33209 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33210 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33211 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33212 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33213 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33214 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33215 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33216 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33217 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33218 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33219 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33234
6fb8cbcb
L
332352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33236
33237 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33238 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33239 * string/memmove.c (memmove): Renamed to ...
33240 (MEMMOVE): ...this. Default to memmove.
33241 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33242 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33243 (END_CHK): Define.
33244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33245 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33246 mempcpy-ssse3-back memmove-ssse3-back.
33247 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33250 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33251 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33252 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33253 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33254 * sysdeps/x86_64/multiarch/memmove.c: New file.
33255 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33256 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33257 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33258 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33261 Define.
33262 (index_Fast_Copy_Backward): Define.
33263 (HAS_ARCH_FEATURE): Define.
33264 (HAS_FAST_REP_STRING): Define.
33265 (HAS_FAST_COPY_BACKWARD): Define.
33266
4e733bac 332672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33268
33269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33270 Restore proper fallback handling.
33271
63c4ed22
UD
332722010-06-19 Ulrich Drepper <drepper@redhat.com>
33273
ac2b484c
UD
33274 [BZ #11701]
33275 * posix/group_member.c (__group_member): Correct checking loop.
33276
63c4ed22
UD
33277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33278 OOM in getpwuid_r correctly. Return error number when the caller
33279 should return, otherwise -1.
33280 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33281 call returning > 0 value.
33282 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33283
765ade4b
AS
332842010-06-07 Andreas Schwab <schwab@redhat.com>
33285
33286 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33287 libc_nonshared.a from targets in modules-names.
33288
80da2e09
KS
332892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33290
33291 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33292 requires it.
33293
158db122
LM
332942010-06-10 Luis Machado <luisgpm@br.ibm.com>
33295
33296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33300
caa78cf8
AS
333012010-06-02 Andreas Schwab <schwab@redhat.com>
33302
33303 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33304
b2ef2c01
UD
333052010-06-14 Ulrich Drepper <drepper@redhat.com>
33306
33307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33308 and F_GETPIPE_SZ.
33309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33315
fbd643b6
RM
333162010-06-14 Roland McGrath <roland@redhat.com>
33317
33318 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33319
f32f2869
JJ
333202010-06-07 Jakub Jelinek <jakub@redhat.com>
33321
33322 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33323 __REDIRECT followed by __THROW.
33324 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33325 * posix/getopt.h (getopt): Likewise.
33326
2a50c078
EPM
333272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33328
33329 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33330 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33331 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33332 in AT_FLAGS.
33333 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33334 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33335
eb5ad2eb
LM
333362010-05-28 Luis Machado <luisgpm@br.ibm.com>
33337
33338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33339
3c88fe1e
L
333402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33341
33342 [BZ #11640]
33343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33344 Properly check family and model.
33345
d2f73151
TY
333462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33347
33348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33349
ebd2e13d
LM
333502010-05-24 Luis Machado <luisgpm@br.ibm.com>
33351
33352 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33353
b32b8b45
UD
333542010-05-21 Ulrich Drepper <drepper@redhat.com>
33355
33356 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33357 symbol reference.
33358
9acbe24d
AS
333592010-05-19 Andreas Schwab <schwab@redhat.com>
33360
33361 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33362 symbol reference.
33363
f0ccf6ea
AS
333642010-05-21 Andreas Schwab <schwab@redhat.com>
33365
3d04ff3a
AS
33366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33367 and internal_recvmmsg.
33368 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33371 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33372
f0ccf6ea
AS
33373 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33376
5b08ac57
AS
333772010-05-20 Andreas Schwab <schwab@redhat.com>
33378
33379 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33380
4828935d
LM
333812010-05-17 Luis Machado <luisgpm@br.ibm.com>
33382
33383 POWER7 optimizations.
33384 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33385 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33386
373d545e
UD
333872010-05-19 Ulrich Drepper <drepper@redhat.com>
33388
33389 * version.h: Update for 2.13 development version.
33390
21a2b1ae
AS
333912010-05-12 Andrew Stubbs <ams@codesourcery.com>
33392
33393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33394 exceptions. Return 0.
33395
3f7dcb2b
RM
333962010-05-07 Roland McGrath <roland@redhat.com>
33397
33398 * elf/ldconfig.c (main): Add a const.
33399
5f24d53a 334002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33401
a160f8d8
UD
33402 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33403 (args_options): Add no-idn option.
33404 (ahosts_keys_int): Add idn_flags to ai_flags.
33405 (parse_option): Handle 'i' option to clear idn_flags.
33406
5f24d53a
UD
33407 * malloc/malloc.c (_int_free): Possible race in the most recently
33408 added check. Only act on the data if no current modification
33409 happened.
265bb1ce
UD
33410
33411See ChangeLog.17 for earlier changes.