]> sourceware.org Git - glibc.git/blame - ChangeLog
Hardcode locale archive page size as 4096.
[glibc.git] / ChangeLog
CommitLineData
975569d0
JM
12013-10-03 Joseph Myers <joseph@codesourcery.com>
2
d3d23756
JM
3 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4 page size instead of calling getpagesize.
5
975569d0
JM
6 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7 (LOCFILE_ALIGN_MASK): Likewise.
8 (LOCFILE_ALIGN_UP): Likewise.
9 (LOCFILE_ALIGNED_P): Likewise.
10 * locale/programs/ld-collate.c (collate_output): Use the new
11 macros instead of __alignof__ (int32_t).
12 * locale/weight.h (findidx): Likewise.
13
b1fe1f2b
OB
142013-10-03 Ondřej Bílka <neleai@seznam.cz>
15
16 [BZ #431]
17 * manual/string.texi: Fix strncat and wcsncat.
18
5f855e35
BM
192013-10-03 Brooks Moses <bmoses@google.com>
20
21 [BZ #15915]
22 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23 * Makerules: ...here, and adjust associated comments.
24
3cef6009
WN
252013-10-02 Will Newton <will.newton@linaro.org>
26
27 * malloc/Makefile: Add tst-pvalloc.
28 * malloc/tst-pvalloc.c: New file.
29
7815420b
WN
302013-10-02 Will Newton <will.newton@linaro.org>
31
32 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33 improve test coverage.
34
4868b204
WN
352013-10-02 Will Newton <will.newton@linaro.org>
36
37 * malloc/Makefile: Add tst-posix_memalign.
38 * malloc/tst-posix_memalign.c: New file.
39
29c793b3
EB
402013-10-01 Eric Blake <eblake@redhat.com>
41
42 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43 Use __THROWNL rather than __THROW on static functions.
44
fd967522
PM
452013-09-30 Petr Machata <pmachata@redhat.com>
46
47 * elf/elf.h (R_AARCH64_ABS16): New macro.
48 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
53 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
64 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
65 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
66 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
67 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
68 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
69 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
70 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
71 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
72 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
73 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
74 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
75 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
76 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
77 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
78 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
79 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
80 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
81 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
82 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
83 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
84 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
85 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
86 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
87 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
88 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
89 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
90 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
91 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
92 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
93 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
94 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
95 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
96 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
97 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
98 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
99 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
100 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
101 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
102 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
103 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
104 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
105 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
106 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
107 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
108 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
109 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
110 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
111 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
112 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
113 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
114 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
115 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
116 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
117 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
118 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
119 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
120 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
121 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
122 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
123 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
124 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
125 (R_AARCH64_TLSDESC_LDR): Likewise.
126 (R_AARCH64_TLSDESC_ADD): Likewise.
127 (R_AARCH64_TLSDESC_CALL): Likewise.
128
b2179107
AS
1292013-09-30 Andreas Schwab <schwab@suse.de>
130
131 [BZ #15048]
132 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
133 the nss database lookup.
134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
136
47f28d0a
MF
1372013-09-28 Mike Frysinger <vapier@gentoo.org>
138
139 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
140
1412013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
142
143 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
144 ${Bash-specific parameter/pattern/string} parameter expansion.
145 * sysdeps/unix/make-syscalls.sh: Likewise.
146
f4518a17
KK
1472013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
148
149 * sysdeps/sh/stackguard-macros.h: New file.
150
dc1a95c7
OB
1512013-09-26 Ondřej Bílka <neleai@seznam.cz>
152
153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
155 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
156 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
158 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
159
5ebbff8f
AZ
1602013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
163 Fix thread ID register.
164
4fd2cf9f
JM
1652013-09-25 Joseph Myers <joseph@codesourcery.com>
166
167 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
168 [POSIX || UNIX98]: Require rather than permitting all symbols from
169 <time.h>.
170 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
171 element of struct sched_param.
172 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
173 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
174 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
175 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
176 constant.
177
12c22bc4
OL
1782013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
179
180 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
181 argument calculation.
182
a03d8ea7
JM
1832013-09-24 Joseph Myers <joseph@codesourcery.com>
184
185 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
186 Expect macro.
187 [POSIX] (pthread_attr_t): Do not require type.
188 [POSIX] (pthread_cond_t): Likewise.
189 [POSIX] (pthread_condattr_t): Likewise.
190 [POSIX] (pthread_key_t): Likewise.
191 [POSIX] (pthread_mutex_t): Likewise.
192 [POSIX] (pthread_mutexattr_t): Likewise.
193 [POSIX] (pthread_once_t): Likewise.
194 [POSIX] (pthread_t): Likewise.
195 [POSIX-based standards] (pthread_atfork): Expect function.
196
6055173a
JM
1972013-09-24 Joseph Myers <joseph@codesourcery.com>
198 Richard Sandiford <richard@codesourcery.com>
199
200 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
201 (swap_endianness_p): New extern variable.
202 (set_big_endian): New inline function.
203 (maybe_swap_uint32): Likewise.
204 (maybe_swap_uint32_array): Likewise.
205 (maybe_swap_uint32_obstack): Likewise.
206 * locale/programs/locfile.c: Include <stdbool.h>.
207 (swap_endianness_p): New variable.
208 (add_locale_uint32): Call maybe_swap_uint32.
209 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
210 (write_locale_data): Call maybe_swap_uint32_array.
211 * locale/programs/ld-collate.c (obstack_int32_grow): Call
212 maybe_swap_uint32.
213 (obstack_int32_grow_fast): Likewise.
214 (output_weightwc): Call maybe_swap_uint32_obstack.
215 (collate_output): Likewise.
216 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
217 (OPT_LITTLE_ENDIAN): Likewise.
218 (options): Add --little-endian and --big-endian options.
219 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
220 * locale/programs/locarchive.c: Include "locfile.h".
221 (GET): New macro.
222 (SET): Likewise.
223 (INC): Likewise.
224 (create_archive): Use the new macros to access fields of
225 structures directly mapped from or written to locale archives.
226 (oldlocrecentcmp): Likewise.
227 (enlarge_archive): Likewise.
228 (insert_name): Likewise.
229 (add_alias): Likewise.
230 (add_locale): Likewise.
231 (delete_locales_from_archive): Likewise.
232 (show_archive_content): Likewise.
233 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
234 locale data.
235
39bf0bb4
RM
2362013-09-24 Roland McGrath <roland@hack.frob.com>
237
238 * manual/freemanuals.texi: Updated from (newly) canonical copy at
239 http://www.gnu.org/doc/freemanuals.texi.
240 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
241
f02eed10
WN
2422013-09-24 Will Newton <will.newton@linaro.org>
243
244 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
245 macro.
246
a3a6c312
JM
2472013-09-23 Joseph Myers <joseph@codesourcery.com>
248
249 * locale/hashval.h (compute_hashval): Interpret bytes of key as
250 unsigned char.
251
107375ac
MR
2522013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
253
254 * manual/threads.texi (POSIX Threads): Fix a typo.
255
141f3a77
SP
2562013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
257
303e567a
SP
258 [BZ #14547]
259 * string/tst-strcoll-overflow.c: New test case.
260 * string/Makefile (xtests): Add tst-strcoll-overflow.
261 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
262 cache if string sizes may cause integer overflow.
263
141f3a77
SP
264 [BZ #14547]
265 * string/strcoll_l.c (coll_seq): New members rule, idx,
266 save_idx and back_us.
267 (get_next_seq_nocache): New function.
268 (do_compare_nocache): New function.
269 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
270 when malloc fails.
271
c61b4d41
CD
2722013-09-23 Carlos O'Donell <carlos@redhat.com>
273
0b1f8e35
CD
274 [BZ #15754]
275 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
276 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
277 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
278
c61b4d41
CD
279 [BZ #15754]
280 * elf/Makefile (tests): Add tst-ptrguard1.
281 (tests-static): Add tst-ptrguard1-static.
282 (tst-ptrguard1-ARGS): Define.
283 (tst-ptrguard1-static-ARGS): Define.
284 * elf/tst-ptrguard1.c: New file.
285 * elf/tst-ptrguard1-static.c: New file.
286 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
287 * sysdeps/i386/stackguard-macros.h: Likewise.
288 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
289 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
290 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
291 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
292 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
293 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
294
2952013-09-23 Hector Marco <hecmargi@upv.es>
296 Ismael Ripoll <iripoll@disca.upv.es>
297 Carlos O'Donell <carlos@redhat.com>
298
299 [BZ #15754]
300 * sysdeps/generic/stackguard-macros.h: Define
301 __pointer_chk_guard_local and POINTER_CHK_GUARD.
302 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
303 Define __pointer_chk_guard_local.
304 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
305 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
306
f5f4e7b4
VV
3072013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
308
309 [BZ #15859]
310 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
311
5bb43a43
AS
3122013-09-20 Andreas Schwab <schwab@linux-m68k.org>
313
314 * include/string.h (__ffs): Declare as hidden.
315 * string/ffs.c (__ffs): Define as hidden.
316 * sysdeps/i386/ffs.c (__ffs): Likewise.
317 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
318 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
319 * sysdeps/s390/ffs.c (__ffs): Likewise.
320 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
321
3ea5be54
AO
3222013-09-20 Alexandre Oliva <aoliva@redhat.com>
323
ffb89e53
AO
324 * NEWS: Mention malloc probes.
325
322dea08
AO
326 * malloc/arena.c (new_heap): New memory_heap_new probe.
327 (grow_heap): New memory_heap_more probe.
328 (shrink_heap): New memory_heap_less probe.
329 (heap_trim): New memory_heap_free probe.
330 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
331 (systrim): New memory_sbrk_less probe.
332 * manual/probes.texi: Document them.
333
655673f3
AO
334 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
335 * manual/probes.texi: Document it.
336
35fed6f1
AO
337 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
338 (__libc_realloc): Add memory_realloc_retry probe.
339 (__libc_memalign): Add memory_memalign_retry probe.
340 (__libc_valloc): Add memory_valloc_retry probe.
341 (__libc_pvalloc): Add memory_pvalloc_retry probe.
342 (__libc_calloc): Add memory_calloc_retry probe.
343 * manual/probes.texi: Document them.
344
6999d38c
AO
345 * malloc/arena.c (get_free_list): Add probe
346 memory_arena_reuse_free_list.
347 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
348 and memory_arena_reuse.
349 (arena_get2) [!PER_THREAD]: Likewise.
350 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
351 memory_arena_reuse_realloc.
352 * manual/probes.texi: Document them.
353
0653427f
AO
354 * malloc/malloc.c (__libc_free): Add
355 memory_mallopt_free_dyn_thresholds probe.
356 (__libc_mallopt): Add multiple memory_mallopt probes.
357 * manual/probes.texi: Document them.
358
3ea5be54
AO
359 * malloc/malloc.c: Include stap-probe.h.
360 (__libc_mallopt): Add memory_mallopt probe.
361 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
362 * manual/probes.texi: New.
363 * manual/Makefile (chapters): Add probes.
364 * manual/threads.texi: Set next node.
365
e35696c3 3662013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 367
e35696c3
CL
368 [BZ #15963, #13985]
369 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
370 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
371 Add `Chinese' to `nan' entry name.
372
4aafb73c
SP
3732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
374
375 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
376 (POLYNOMIAL): Likewise.
377 (TAYLOR_SINCOS): Likewise.
378 (TAYLOR_SLOW): Likewise.
379 (__sin): Use TAYLOR_SINCOS.
380 (__cos): Likewise.
381 (slow): Use TAYLOR_SLOW.
382 (sloww): Likewise.
383 (bsloww): Likewise.
384 (csloww): Likewise.
385
d84f25c7
LD
3862013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
387
388 * stdlib/strtod_l.c: Fix buffer overrun.
389
5eea0404
SP
3902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
391
7849ff93
SP
392 * benchtests/Makefile (bench): Add sincos.
393 * benchtests/bench-sincos.c: New file.
394
cfa3c886
SP
395 * math/libm-test.inc (cos_test_data): New test inputs.
396 (sin_test_data): Likewise.
397
b348e1e3
SP
398 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
399 macro.
400 (__sin): Use it.
401 (__cos): Likewise.
402 (slow1): Likewise.
403 (slow2): Likewise.
404 (sloww1): Likewise.
405 (sloww2): Likewise.
406 (bsloww1): Likewise.
407 (bsloww2): Likewise.
408 (cslow2): Likewise.
409 (csloww1): Likewise.
410 (csloww2): Likewise.
411
6cce25f8
SP
412 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
413 function.
414 (__sin): Use it.
415 (__cos): Likewise.
416
5eea0404
SP
417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
418 gotos.
419 (__cos): Likewise.
420
9c21573c
MR
4212013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
422
423 * config.h.in (HAVE_MIPS_NAN2008): New macro.
424 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
425 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
426 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
427 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
428 * elf/cache.c (print_entry): Handle the new cache flags.
429
24d22e65
JM
4302013-09-18 Joseph Myers <joseph@codesourcery.com>
431 Aldy Hernandez <aldyh@redhat.com>
432
433 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
434 Change condition to [_SOFT_FLOAT].
435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
447 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
450 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
451 declaration.
452
d13ef066
JM
4532013-09-18 Joseph Myers <joseph@codesourcery.com>
454
2e071de0
JM
455 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
456 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
457 (__longjmp): Use LOAD_GP to load saved GPRs.
458 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
459 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
460 (__sigsetjmp): Use SAVE_GP to save GPRs.
461
d13ef066
JM
462 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
463 Do not append -msoft-float.
464 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
465
97a0650b
SP
4662013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
467
468 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
469
11ca09e9
JM
4702013-09-17 Joseph Myers <joseph@codesourcery.com>
471
472 [BZ #15966]
473 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
474 (_FPU_GETCW): Use initial "__" on variable and field names but not
475 on macro parameter name.
476 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
477 parentheses around reference to macro parameter.
478
08ffcf34
RS
4792013-09-13 Richard Sandiford <richard@codesourcery.com>
480
481 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
482 prototype.
483 (ctype_startup): Use uint32_t in cast and sizeof for
484 ctype->charnames.
485
ae7080d3
JL
4862013-09-11 Jia Liu <proljc@gmail.com>
487
488 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
489 __daddr_t_defined.
490 [__FreeBSD__]: Likewise.
491
5905e7b3
OB
4922013-09-11 Ondřej Bílka <neleai@seznam.cz>
493
494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
495 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
496 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
497 (strchr): Remove __strchr_sse42 ifunc selection.
498 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
499 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
500
b987c776
WN
5012013-09-11 Will Newton <will.newton@linaro.org>
502
503 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
504 parameter to RES. Remove hardcoded 1000 value.
505 * benchtests/bench-skeleton.c (main): Pass RES parameter
506 to TIMING_INIT and multiply result by 1000.
507
ddf985af
AZ
5082013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
509
510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
511
ffdd3181
AS
5122013-09-11 Andreas Schwab <schwab@suse.de>
513
514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
515 if not defined.
516 (O_TMPFILE) [__USE_GNU]: Define.
517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
518 Define.
519
b73ed247
WN
5202013-09-11 Will Newton <will.newton@linaro.org>
521
522 [BZ #15857]
523 * malloc/malloc.c (__libc_memalign): Check the value of bytes
524 does not overflow.
525
55e17aad
WN
5262013-09-11 Will Newton <will.newton@linaro.org>
527
528 [BZ #15856]
529 * malloc/malloc.c (__libc_valloc): Check the value of bytes
530 does not overflow.
531
1159a193
WN
5322013-09-11 Will Newton <will.newton@linaro.org>
533
534 [BZ #15855]
535 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
536 does not overflow.
537
5905e7b3 5382013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
539
540 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
542 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
543 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
544 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
545
cdfc721b
AM
5462013-09-10 Allan McRae <allan@archlinux.org>
547
aa04af00
AM
548 [BZ #15748]
549 * manual/arith.texi (Parsing of Floats): Clarify
550 cross-reference.
551
cdfc721b
AM
552 [BZ #15849]
553 * manual/install.texi (Running make install): Mention
554 --enable-pt-chown.
555 * INSTALL: Regenerated.
556
95e7cf29
MR
5572013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
558
559 * csu/init-first.c (_init): Remove the !SHARED condition around
560 FPU control word initialization.
561 * elf/dl-support.c (_dl_fpu_control): New variable.
562 (_dl_aux_init) <AT_FPUCW>: Initialize it.
563 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
564 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
565 * math/test-fpucw-static.c: New file.
566 * math/test-fpucw-ieee.c: New file.
567 * math/test-fpucw-ieee-static.c: New file.
568 * math/Makefile (tests): Add `test-fpucw-ieee' and
569 `$(tests-static)'.
570 (tests-static): New variable.
571 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
572 dependency to...
573 [($(build-shared),yes)]
574 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
575 ... this.
576 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
577 New dependency.
578
83e43bf0
AM
5792013-09-09 Allan McRae <allan@archlinux.org>
580
a9f5ce09
AM
581 [BZ #15939]
582 * manual/string.texi (Collation Functions): Fix typo in
583 strcoll example.
584 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
585
34829bc2
AM
586 [BZ #15893]
587 * stdlib/isomac.c (get_null_defines): Fix memory leak.
588
3932737d
AM
589 [BZ #15892]
590 * libio/memstream.c (open_memstream): Fix memory leak.
591 * libio/wmemstream.c (open_wmemstream): Likewise.
592
83e43bf0
AM
593 [BZ #15895]
594 * nscd/netgroupcache.c: Fix nesting of ifdefs.
595
0c66b8e9
WN
5962013-09-09 Will Newton <will.newton@linaro.org>
597
598 * malloc/Makefile: Add tst-realloc to tests.
599 * malloc/tst-realloc.c: New file.
600
f6b00fd1
AM
6012013-09-09 Allan McRae <allan@archlinux.org>
602
603 [BZ #15844]
604 * COPYING: Update from GNU website to fix FSF address.
605 * COPYING.LIB: Likewise.
606
eec55e16
DM
6072013-09-06 David S. Miller <davem@davemloft.net>
608
609 * po/zh_TW.po: Update Chinese (traditional) translation from
610 translation project.
611
1ecbb381
RS
6122013-09-06 Richard Sandiford <richard@codesourcery.com>
613 Joseph Myers <joseph@codesourcery.com>
614
615 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
616 "localeinfo.h".
617 (obstack_chunk_alloc): New macro.
618 (obstack_chunk_free): Likewise.
619 (record_offset): New function.
620 (init_locale_data): Likewise.
621 (align_locale_data): Likewise.
622 (add_locale_empty): Likewise.
623 (add_locale_raw_data): Likewise.
624 (add_locale_raw_obstack): Likewise.
625 (add_locale_string): Likewise.
626 (add_locale_wstring): Likewise.
627 (add_locale_uint32): Likewise.
628 (add_locale_uint32_array): Likewise.
629 (add_locale_char): Likewise.
630 (start_locale_structure): Likewise.
631 (end_locale_structure): Likewise.
632 (start_locale_prelude): Likewise.
633 (end_locale_prelude): Likewise.
634 (write_locale_data): Take locale_file structure rather than an
635 iovec.
636 * locale/programs/locfile.h: Include "obstack.h".
637 (struct locale_file): Change to store locale file contents instead
638 of header.
639 (init_locale_data): New prototype.
640 (align_locale_data): Likewise.
641 (add_locale_empty): Likewise.
642 (add_locale_raw_data): Likewise.
643 (add_locale_raw_obstack): Likewise.
644 (add_locale_string): Likewise.
645 (add_locale_wstring): Likewise.
646 (add_locale_uint32): Likewise.
647 (add_locale_uint32_array): Likewise.
648 (add_locale_char): Likewise.
649 (start_locale_structure): Likewise.
650 (end_locale_structure): Likewise.
651 (start_locale_prelude): Likewise.
652 (end_locale_prelude): Likewise.
653 (write_locale_data): Update prototype.
654 * locale/programs/3level.h (struct TABLE): Remove result field.
655 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
656 Use new locale_file interface.
657 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
658 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
659 * locale/programs/ld-address.c (address_output): Use new
660 locale_file interface.
661 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
662 NO_ADD_LOCALE.
663 (collate_finish): Don't call collseq_table_finalize.
664 (collate_output): Use new locale_file interface.
665 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
666 in file.
667 (NO_FINALIZE): Change to NO_ADD_LOCALE.
668 (TABLE): Move defines earlier in file.
669 (ELEMENT): Likewise.
670 (DEFAULT): Likewise.
671 (wctrans_table_add): Move macro and inline function earlier in
672 file.
673 (struct wctype_table): Move type earlier in file.
674 (add_locale_wctype_table): New static prototype.
675 (struct locale_ctype_t): Use logical types instead of struct iovec
676 pointers for members.
677 (ctype_output): Use new locale_file interface.
678 (wctype_table_finalize): Change to add_locale_wctype_table. Use
679 new locale_file interface.
680 (allocate_arrays): Update for use of new locale_file interface.
681 * locale/programs/ld-identification.c (identification_output): Use
682 new locale_file interface.
683 * locale/programs/ld-measurement.c (measurement_output): Likewise.
684 * locale/programs/ld-messages.c (messages_output): Likewise.
685 * locale/programs/ld-monetary.c (monetary_output): Likewise.
686 * locale/programs/ld-name.c (name_output): Likewise.
687 * locale/programs/ld-numeric.c (numeric_output): Likewise.
688 * locale/programs/ld-paper.c (paper_output): Likewise.
689 * locale/programs/ld-telephone.c (telephone_output): Likewise.
690 * locale/programs/ld-time.c (time_output): Likewise.
691
e029e2e5
AZ
6922013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * benchtests/Makefile: Add memrchr benchmark.
695 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
696 benchmark as memrchr.
697 * benchtests/bench-memrchr-ifunc.c: New file.
698 * benchtests/bench-memrchr.c: New file.
699
bbf6e8e4
WN
7002013-09-06 Will Newton <will.newton@linaro.org>
701
702 * benchtests/Makefile (string-bench): Add memcpy.
703
6c82a2f8
CD
7042013-09-05 Carlos O'Donell <carlos@redhat.com>
705 Cong Wang <amwang@redhat.com>
706
707 * sysdeps/unix/sysv/linux/bits/in.h
708 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
709 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
710 before __USE_KERNEL_IPV6_DEFS uses.
711 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
712 IPPROTO_BEETPH.
713 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
714 sockaddr_in6, or ipv6_mreq.
715
5430fc65
AZ
7162013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717
718 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
719 memory access for final bytes in some large inputs.
720 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
721
4660856c
AZ
7222013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * string/test-memrchr.c: New file.
725 * string/test-memrchr-ifunc.c: New file.
726 * string/Makefile: Add new memrchr testcase.
727
bb8ea713
MF
7282013-09-05 Mike Frysinger <vapier@gentoo.org>
729
730 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
731 fanotify_init returns EPERM.
732
b92a20b5
JM
7332013-09-04 Joseph Myers <joseph@codesourcery.com>
734
735 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
736 errors.
737 (top level): Treat second token from macro or constant entries for
738 allowed headers as allowed.
739 * include/complex.h: Condition internal declarations on
740 [!_ISOMAC].
741 * include/fenv.h: Condition include of <stdbool.h> and internal
742 declarations on [!_ISOMAC].
7447ccd9
CL
743
7442013-09-04 Chris Leonard <cjl@sugarlabs,.org>
745
3e181dda 746 [BZ #15923]
7447ccd9
CL
747 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
748
3f2e46a4
JM
7492013-09-04 Joseph Myers <joseph@codesourcery.com>
750
751 * configure.in (--enable-versioning): Remove configure option.
752 (libc_cv_asm_symver_directive): Remove configure test.
753 (libc_cv_ld_version_script_option): Likewise.
754 (VERSIONING): Remove variable and AC_SUBST.
755 (DO_VERSIONING): Remove AC_DEFINE.
756 * configure: Regenerated.
757 * config.h.in (DO_VERSIONING): Remove macro.
758 * Makerules [$(versioning) = yes]: Change conditionals to
759 [$(build-shared) = yes].
760 * config.make.in (versioning): Remove variable.
761 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
762 [$(build-shared) = yes].
763 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
764 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
765 * elf/Makefile [$(versioning) = yes]: Change conditionals to
766 [$(build-shared) = yes].
767 * extra-lib.mk [$(versioning) = yes]: Likewise.
768 * hurd/Makefile [$(versioning) = yes]: Likewise.
769 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
770 [SHARED].
771 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
772 [SHARED].
773 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
774 [SHARED && !NO_HIDDEN].
775 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
776 [SHARED].
777 [SHARED && DO_VERSIONING]: Likewise..
778 * libio/Makefile [$(versioning) = yes]: Change conditionals to
779 [$(build-shared) = yes].
780 * manual/install.texi (--disable-versioning): Remove
781 documentation.
782 * INSTALL: Regenerated.
783 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
784 to [SHARED].
785 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
786 [$(build-shared) = yes].
787 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
788 * sysdeps/i386/i686/multiarch/strstr-c.c
789 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
790 [SHARED && !NO_HIDDEN].
791 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
792 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
793 * sysdeps/powerpc/powerpc32/dl-machine.c
794 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
795 * sysdeps/powerpc/powerpc32/sysdep.h
796 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
797 to [SHARED && PIC && !NO_HIDDEN].
798 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
799 conditional to [SHARED].
800
44558701
WN
8012013-09-04 Will Newton <will.newton@linaro.org>
802
803 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
804 * benchtests/bench-string.h: Include bench-timing.h instead
805 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
806 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
807 call to HP_TIMING_DIFF_INIT.
808 * benchtests/bench-memccpy.c: Use bench-timing.h macros
809 instead of hp-timing.h macros.
810 * benchtests/bench-memchr.c: Likewise.
811 * benchtests/bench-memcmp.c: Likewise.
812 * benchtests/bench-memcpy.c: Likewise.
813 * benchtests/bench-memmem.c: Likewise.
814 * benchtests/bench-memmove.c: Likewise.
815 * benchtests/bench-memset.c: Likewise.
816 * benchtests/bench-rawmemchr.c: Likewise.
817 * benchtests/bench-strcasecmp.c: Likewise.
818 * benchtests/bench-strcasestr.c: Likewise.
819 * benchtests/bench-strcat.c: Likewise.
820 * benchtests/bench-strchr.c: Likewise.
821 * benchtests/bench-strcmp.c: Likewise.
822 * benchtests/bench-strcpy.c: Likewise.
823 * benchtests/bench-strcpy_chk.c: Likewise.
824 * benchtests/bench-strlen.c: Likewise.
825 * benchtests/bench-strncasecmp.c: Likewise.
826 * benchtests/bench-strncat.c: Likewise.
827 * benchtests/bench-strncmp.c: Likewise.
828 * benchtests/bench-strncpy.c: Likewise.
829 * benchtests/bench-strnlen.c: Likewise.
830 * benchtests/bench-strpbrk.c: Likewise.
831 * benchtests/bench-strrchr.c: Likewise.
832 * benchtests/bench-strspn.c: Likewise.
833 * benchtests/bench-strstr.c: Likewise.
834
cae16d66
WN
8352013-09-04 Will Newton <will.newton@linaro.org>
836
837 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
838
ffa3cd7f
JM
8392013-09-03 Joseph Myers <joseph@codesourcery.com>
840
841 [BZ #15427]
842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
843 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
844 * math/libm-test.inc (lgamma_test_data): Add more tests.
845 * sysdeps/i386/fpu/libm-test-ulps: Update.
846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
847
8f02859f
OB
8482013-09-03 Ondřej Bílka <neleai@seznam.cz>
849
850 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
852 Add ifunc.
853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
854 Add strcmp-sse2-unaligned
855 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
856
18d43716
MF
8572013-09-02 Mike Frysinger <vapier@gentoo.org>
858
859 * Versions.def (libc): Add GLIBC_2.19.
860
ac444012
MF
8612013-09-02 Mike Frysinger <vapier@gentoo.org>
862
863 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
864 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
865
b7835e32
JM
8662013-09-02 Joseph Myers <joseph@codesourcery.com>
867
868 [BZ #14155]
869 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
870 intermediate calculations in recurrence.
871 (__ieee754_ynf): Likewise.
872 * math/libm-test.inc (jn_test_data): Do not allow spurious
873 underflow exception. Add more tests.
874 (yn_test_data): Add more tests.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
8220f4f0
OB
8782013-09-02 Ondřej Bílka <neleai@seznam.cz>
879
880 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
881
f24a6d08
OB
8822013-08-30 Ondřej Bílka <neleai@seznam.cz>
883
884 * csu/init-first.c: Fix then/than typos.
885 * locale/programs/ld-collate.c: Likewise.
886 * locale/programs/linereader.h: Likewise.
887 * manual/charset.texi: Likewise.
888 * manual/filesys.texi: Likewise.
889 * manual/stdio.texi: Likewise.
890 * manual/string.texi: Likewise.
891 * stdlib/fmtmsg.c: Likewise.
892 * sysdeps/i386/stpncpy.S: Likewise.
893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
894 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
895 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
896 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
897
382466e0
OB
8982013-08-30 Ondřej Bílka <neleai@seznam.cz>
899
900 * elf/dl-open.c: Fix typos.
901 * iconvdata/gbbig5.c: Likewise.
902 * iconvdata/iso-2022-jp.c: Likewise.
903 * iconv/gconv_int.h: Likewise.
904 * iconv/loop.c: Likewise.
905 * nis/rpcsvc/nis.h: Likewise.
906 * resolv/ns_name.c: Likewise.
907 * stdio-common/vfscanf.c: Likewise.
908 * streams/stropts.h: Likewise.
909 * sunrpc/rpc_thread.c: Likewise.
910 * sysdeps/i386/strpbrk.S: Likewise.
911 * sysdeps/ieee754/k_standard.c: Likewise.
912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
914 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
915 * sysdeps/mach/hurd/profil.c: Likewise.
916 * sysdeps/s390/dl-procinfo.h: Likewise.
917 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
918 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
920 * sysdeps/x86_64/dl-trampoline.S: Likewise.
921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
922
0186c6e9
OB
9232013-08-30 Ondřej Bílka <neleai@seznam.cz>
924
925 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
927
d4e16af1
OB
9282013-08-29 Ondřej Bílka <neleai@seznam.cz>
929
930 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
931 aix specific files.
932 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
940
88335980
TS
9412013-08-29 Thomas Schwinge <thomas@codesourcery.com>
942 Roland McGrath <roland@hack.frob.com>
943
944 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
945 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
946
ed479b02
ST
9472013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
948
949 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
950 __executable_start symbol instead of _start.
951
f1cc4c86
TS
9522013-08-29 Thomas Schwinge <thomas@codesourcery.com>
953
d821f07c
TS
954 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
955 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
956 Move macros to...
957 * sysdeps/gnu/ldsodefs.h: ... this new file.
958
c54290cf
TS
959 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
960 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
961 instead of ELFOSABI_LINUX.
962
0007fc9b 963 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
964 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
965 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
966 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
967 Likewise.
968 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
969 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
970 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
971 Likewise.
972 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
973 (ibm_extended_long_double): Add ieee_nan member.
974 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
975 (do_test): New function.
976
f1cc4c86
TS
977 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
978 TEST_TRUNC.
979 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
980 functions, renamed from truncdfsf_test, trunctfsf_test,
981 trunctfdf_test.
982 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
983 functions.
984 (do_test): Run all these.
985
6f65e668
OB
9862013-08-29 Ondřej Bílka <neleai@seznam.cz>
987
988 * argp/argp-help.c: Fix typos.
989 * argp/argp-parse.c: Likewise.
990 * debug/backtracesyms.c: Likewise.
991 * elf/elf.h: Likewise.
992 * malloc/malloc.c: Likewise.
993 * nis/nis_print.c: Likewise.
994 * resolv/res_comp.c: Likewise.
995 * stdlib/stdlib.h: Likewise.
996 * sunrpc/clnt_tcp.c: Likewise.
997 * sunrpc/clnt_udp.c: Likewise.
998 * sunrpc/clnt_unix.c: Likewise.
999 * sysdeps/unix/bsd/ptsname.c: Likewise.
1000 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1001 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1003 Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1005 Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1007 Likewise.
6f65e668
OB
1008 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1009
3a309239
SP
10102013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1011
1012 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1014
3b813b29
MF
10152013-08-27 Mike Frysinger <vapier@gentoo.org>
1016
1017 [BZ #15897]
1018 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1019 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1020 ($(objpfx)bug-dl-leaf): New rule.
1021 ($(objpfx)bug-dl-leaf.so): Likewise.
1022 ($(objpfx)bug-dl-leaf.out): Likewise.
1023 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1024 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1025 * dlfcn/bug-dl-leaf.c: New test.
1026 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1027 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1028 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1029 (dlclose): Likewise.
1030 (dlmopen): Likewise.
1031
8cc3269f
RM
10322013-08-27 Roland McGrath <roland@hack.frob.com>
1033
7f9d0034
RM
1034 * include/netdb.h [!_ISOMAC]:
1035 Don't include <tls.h>.
1036 (h_errno, __libc_h_errno): Move declaration and macros out of
1037 [_LIBC_REENTRANT].
1038
fb431262
RM
1039 * include/resolv.h [_RESOLV_H_]:
1040 Don't include <tls.h>.
1041 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1042 * resolv/res_libc.c: Don't include <tls.h>.
1043 (_res): Use __attribute__ ((nocommon)) in place of
1044 __attribute__ ((section (".bss"))).
1045
bd81123a
RM
1046 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1047 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1048
c4e42566
RM
1049 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1050
f890a59b
RM
1051 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1052 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1053
1054 * resolv/res_mkquery.c: Include <sys/time.h>.
1055
5d1f0a09
RM
1056 * inet/ifreq.c: Moved to ...
1057 * sysdeps/unix/ifreq.c: ... here.
1058 * inet/ifreq.c: New file, true stub version.
1059
6fcf28b3
RM
1060 * socket/sa_len.c: New file.
1061 * socket/Makefile (aux): Add it.
1062 * sysdeps/unix/sysv/linux/Makefile
1063 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1064 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1065 and #include <socket/sa_len.c>.
1066 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1067 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1068
e041fb8b
RM
1069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1070 * bits/socket.h: ... here.
1071
8cc3269f
RM
1072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1073 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1074 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1075
5d228a43
AS
10762013-08-27 Andreas Schwab <schwab@suse.de>
1077
45b8accc
AS
1078 [BZ #15736]
1079 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1080 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1081 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1082 * string/test-strcasecmp.c (test_main): Run tests in several
1083 locales.
1084 * string/test-strncasecmp.c (test_main): Likewise.
1085
5d228a43
AS
1086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1087 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1088 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1090 (__strncasecmp_ssse3) [PIC]: Likewise.
1091
59d112a4
RM
10922013-08-26 Roland McGrath <roland@hack.frob.com>
1093
53234cc3
RM
1094 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1095
59d112a4
RM
1096 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1097 instead of explicitly declaring xdecrypt.
1098 * nis/nss_nis/nis-publickey.c: Likewise.
1099
595aba70
SP
11002013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1101
1102 [BZ #15890]
1103 * nscd/aicache.c: Include res_hconf.h.
1104 (addhstaiX): Initialize res_hconf.
1105
ffabd393
AS
11062013-08-26 Andreas Schwab <schwab@suse.de>
1107
1108 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1109 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1110
e0a69f5c
SP
11112013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
1113 * nscd/aicache.c (addhstaiX): Fix indentation.
1114
8c12f01d
MF
11152013-08-25 Mike Frysinger <vapier@gentoo.org>
1116
1117 * configure.ac: Quote $build_pt_chown test.
1118 * configure: Regenerated.
1119
8fe89494
JM
11202013-08-23 Joseph Myers <joseph@codesourcery.com>
1121
1122 [BZ #15532]
1123 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1124 * math/s_cexpf.c (__cexpf): Likewise.
1125 * math/s_cexpl.c (__cexpl): Likewise.
1126 * math/libm-test.inc (cexp_test_data): Correct expected return
1127 value for NaN + i0. Add another test.
1128
75b181d6
DM
11292013-08-22 David S. Miller <davem@davemloft.net>
1130
1131 * po/ca.po: Update Catalan translation from translation project.
936241e4 1132 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1133
acd06bb1
JM
11342013-08-21 Joseph Myers <joseph@codesourcery.com>
1135
1136 [BZ #15797]
1137 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1138 is infinite, not alongside NaN test.
1139 * math/s_fdimf.c (__fdimf): Likewise.
1140 * math/s_fdiml.c (__fdiml): Likewise.
1141 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1142 errno is unchanged.
1143
c0c3f78a
OB
11442013-08-21 Ondřej Bílka <neleai@seznam.cz>
1145
1146 * argp/argp-help.c: Fix typos.
1147 * crypt/speeds.c: Likewise.
1148 * csu/check_fds.c: Likewise.
1149 * elf/dl-load.c: Likewise.
1150 * elf/dl-open.c: Likewise.
1151 * elf/reldep3.c: Likewise.
1152 * elf/reldep.c: Likewise.
1153 * elf/sprof.c: Likewise.
1154 * iconv/iconv_charmap.c: Likewise.
1155 * iconv/skeleton.c: Likewise.
1156 * iconv/strtab.c: Likewise.
1157 * io/lockf64.c: Likewise.
1158 * libio/libioP.h: Likewise.
1159 * resolv/gai_notify.c: Likewise.
1160 * resolv/ns_name.c: Likewise.
1161 * resolv/ns_samedomain.c: Likewise.
1162 * resolv/res_send.c: Likewise.
1163 * stdlib/random.c: Likewise.
1164 * sunrpc/rpc/xdr.h: Likewise.
1165 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1166 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1167 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1168 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1170 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1173 * sysdeps/mach/hurd/check_fds.c: Likewise.
1174 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1175 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1177 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1178 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1179 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1180 * sysdeps/pthread/aio_notify.c: Likewise.
1181 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1182 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1185 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1186
46ed1038
LD
11872013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1188
1189 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1190 version if bit_Slow_SSE4_2 is set.
1191 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1192 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1193
d400dcac
AZ
11942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195
1196 [BZ #15867]
1197 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1198 trampoline stack frame information.
1199 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1201 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1202 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1203 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1204 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1205 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1206 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1207 sa_flags value.
1208 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1209 interrupting a syscall and set with option SA_SIGINFO.
1210
42c8fdd8
JM
12112013-08-20 Joseph Myers <joseph@codesourcery.com>
1212
c980f2f4
JM
1213 [BZ #15531]
1214 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1215 argument is infinite.
1216 * math/s_cprojf.c (__cprojf): Likewise.
1217 * math/s_cprojl.c (__cprojl): Likewise.
1218 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1219 * math/libm-test.inc (cproj_test_data): Add more tests.
1220
0716c4fc
JM
1221 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1222
42c8fdd8
JM
1223 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1224 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1225 size. Use __ffs to determine corresponding shift.
1226
b31469d0
JM
12272013-08-20 Joseph Myers <joseph@codesourcery.com>
1228 Roland McGrath <roland@hack.frob.com>
1229
1230 * Makefile (INSTALL): Remove trailing blank lines from output of
1231 makeinfo.
1232
4e39af6e
AK
12332013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1234
1235 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1236 Align 32 bit compat elf_greg to 8 bytes.
1237
f315524e
AA
12382013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1239
1240 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1241
1326ba1a
SP
12422013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1243
1244 * string/strcoll_l.c (coll_seq): New structure.
1245 (get_next_seq_cached): New function.
1246 (get_next_seq): New function.
1247 (do_compare): New function.
1248 (STRCOLL): Use GNU style definition. Simplify implementation
1249 by using get_next_seq, get_next_seq_cached and do_compare.
1250
91ce4085
FW
12512013-08-16 Florian Weimer <fweimer@redhat.com>
1252
1253 [BZ #14699]
1254 CVE-2013-4237
1255 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1256 member.
1257 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1258 member.
1259 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1260 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1261 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1262 conditional.
1263 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1264 GETDENTS_64BIT_ALIGNED.
1265 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1266 * manual/filesys.texi (Reading/Closing Directory): Document
1267 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1268 strongly.
1269 * manual/conf.texi (Limits for Files): Add portability note to
1270 NAME_MAX, PATH_MAX.
1271 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1272
ca0a6bc4
AS
12732013-08-13 Andreas Schwab <schwab@suse.de>
1274
1275 [BZ #15749]
1276 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1277 of fabs.
1278 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1279 LDBL_MAX_EXP >= 16384]: Add tests for it.
1280
6c1fd795
DM
12812013-08-12 David S. Miller <davem@davemloft.net>
1282
1283 * version.h (RELEASE): Set to "development".
1284 (VERSION): Set to "2.18.90".
1285 * NEWS: Add 2.19 section.
1286
31ad488d
DM
12872013-08-03 David S. Miller <davem@davemloft.net>
1288
1289 * po/ko.po: Update Korean translation from translation project.
1290
db24e684
DM
12912013-08-01 David S. Miller <davem@davemloft.net>
1292
1293 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1294 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1295 Bilka.
1296
f723285b
DM
12972013-07-30 David S. Miller <davem@davemloft.net>
1298
1299 * po/fr.po: Update French translation from translation project.
1300
3cbc52db
DM
13012013-07-28 David S. Miller <davem@davemloft.net>
1302
30bbc0cc
DM
1303 * po/cs.po: Update Czech translation from translation project.
1304
3cbc52db
DM
1305 * po/sv.po: Update Swedish translation from translation project.
1306
d492e6d0
DM
13072013-07-27 David S. Miller <davem@davemloft.net>
1308
f1a7f492
DM
1309 * po/eo.po: Update Esperanto translation from translation project.
1310
90e62a4a
DM
1311 * po/vi.po: Update Vietnamese translation from translation project.
1312
d492e6d0
DM
1313 * po/de.po: Update German translation from translation project.
1314
d4baa62d
DM
13152013-07-26 David S. Miller <davem@davemloft.net>
1316
641aa7b4
DM
1317 * po/bg.po: Update Bulgarian translation from translation project.
1318
d4baa62d
DM
1319 * po/nl.po: Update Dutch translation from translation project.
1320 * po/pl.po: Update Polish translation from translation project.
1321 * po/ru.po: Update Russian translation from translation project.
1322
61a9dcb9
DM
13232013-07-24 David S. Miller <davem@davemloft.net>
1324
1325 * po/libc.pot: Update.
1326
7b1f8b58
AZ
13272013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328
1329 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1330 variable page size.
1331 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1333 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1334
a8fc7a03
AK
13352013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1336
1337 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1338
e4608715
CD
13392013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1340 Andreas Schwab <schwab@suse.de>
1341 Roland McGrath <roland@hack.frob.com>
1342 Joseph Myers <joseph@codesourcery.com>
1343 Carlos O'Donell <carlos@redhat.com>
1344
1345 [BZ #15755]
1346 * config.h.in: Define HAVE_PT_CHOWN.
1347 * config.make.in (build-pt-chown): New variable.
1348 * configure.in (--enable-pt_chown): New configure option.
1349 * configure: Regenerate.
1350 * login/Makefile: Include Makeconfig. Build pt_chown only if
1351 build-pt-chown is enabled.
1352 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1353 pt_chown to fix pty ownership.
1354 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1355 CLOSE_ALL_FDS.
1356 * manual/install.texi (Configuring and compiling): Mention
1357 --enable-pt_chown. Add @findex for grantpt.
1358 * INSTALL: Regenerate.
1359
da2d62df
DM
13602013-07-20 David S. Miller <davem@davemloft.net>
1361
1362 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1363 difference between 32-bit and 64-bit.
1364
d7e06450
CD
13652013-07-15 Carlos O'Donell <carlos@redhat.com>
1366
1367 [BZ #15711]
1368 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1369 Avoid system header dependency with -ffreestanding.
1370 ($(objpfx)bits/syscall%d): Likewise.
1371
f959cfd7
DM
13722013-07-13 David S. Miller <davem@davemloft.net>
1373
1374 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1375 underflows from atanl/atan2l due to bug 15319.
1376 (casinh_test_data): Likewise.
1377
c61f8513
DM
13782013-07-07 David S. Miller <davem@davemloft.net>
1379
1380 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1381
72c90ed0
JA
13822013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1383
1384 * sysdeps/i386/fpu/libm-test-ulps: Update.
1385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1386
52dfbe13
SP
13872013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1388
1389 * configure.in (--enable-lock-elision): Fix message text.
1390 * INSTALL: Regenerate.
1391 * configure: Regenerate.
1392
3f169543
AZ
13932013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394
1395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1396
521c6785
AJ
13972013-07-03 Andreas Jaeger <aj@suse.de>
1398
1399 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1400 define.
1401 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1402 (ptrace_peeksiginfo_args): Add.
1403 (__ptrace_peeksiginfo_flags): Add.
1404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1405 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1407
d2cc15cb
AM
14082013-07-03 Allan McRae <allan@archlinux.org>
1409
1410 * sysdeps/i386/fpu/libm-test-ulps: Update.
1411
3aaeeca7
DM
14122013-07-02 David S. Miller <davem@davemloft.net>
1413
1414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1415
5314ed1a
MT
14162013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1417
1418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1419
67338156
JM
14202013-07-02 Joseph Myers <joseph@codesourcery.com>
1421
1422 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1424
1717da59
AK
14252013-07-02 Andi Kleen <ak@linux.intel.com>
1426
1427 * config.h.in (ENABLE_LOCK_ELISION): Add.
1428 * configure.in (--enable-lock-elision): Add option.
1429 * manual/install.texi: Document --enable lock elision.
1430 * configure: Regenerate
1431 * INSTALL: Regenerate.
1432
1c81621c
L
14332013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1434
1435 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1436 SSE4.2 strcasecmp for libc.a.
1437 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1438
77f01ab5
JM
14392013-07-02 Joseph Myers <joseph@codesourcery.com>
1440
1441 [BZ #13304]
1442 * soft-fp/op-common.h (_FP_FMA): New macro.
1443 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1444 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1445 (_FP_MUL_MEAT_1_imm): ... here.
1446 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1447 (_FP_MUL_MEAT_1_wide): ... here.
1448 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1449 (_FP_MUL_MEAT_1_hard): ... here.
1450 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1451 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1452 (_FP_MUL_MEAT_2_wide): ... here.
1453 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1454 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1455 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1456 (_FP_MUL_MEAT_2_gmp): ... here.
1457 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1458 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1459 (_FP_MUL_MEAT_4_wide): ... here.
1460 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1461 (_FP_MUL_MEAT_4_gmp): ... here.
1462 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1463 (_FP_WFRACBITS_DW_S): Likewise.
1464 (_FP_WFRACXBITS_DW_S): Likewise.
1465 (_FP_HIGHBIT_DW_S): Likewise.
1466 (FP_FMA_S): Likewise.
1467 (_FP_FRAC_HIGH_DW_S): Likewise.
1468 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1469 (_FP_WFRACBITS_DW_D): Likewise.
1470 (_FP_WFRACXBITS_DW_D): Likewise.
1471 (_FP_HIGHBIT_DW_D): Likewise.
1472 (FP_FMA_D): Likewise.
1473 (_FP_FRAC_HIGH_DW_D): Likewise.
1474 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1475 (_FP_WFRACBITS_DW_E): Likewise.
1476 (_FP_WFRACXBITS_DW_E): Likewise.
1477 (_FP_HIGHBIT_DW_E): Likewise.
1478 (FP_FMA_E): Likewise.
1479 (_FP_FRAC_HIGH_DW_E): Likewise.
1480 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1481 (_FP_WFRACBITS_DW_Q): Likewise.
1482 (_FP_WFRACXBITS_DW_Q): Likewise.
1483 (_FP_HIGHBIT_DW_Q): Likewise.
1484 (FP_FMA_Q): Likewise.
1485 (_FP_FRAC_HIGH_DW_Q): Likewise.
1486 * soft-fp/fmasf4.c: New file.
1487 * soft-fp/fmadf4.c: Likewise.
1488 * soft-fp/fmatf4.c: Likewise.
1489
6308fd9a
LD
14902013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1491
1492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1493 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1494 Silvermont.
1495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1496 macro.
1497 (index_Slow_SSE4_2): Likewise.
1498 (index_Prefer_PMINUB_for_stringop): Likewise.
1499 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1500 bit_Slow_SSE4_2 is set.
1501 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1502 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1503
89cd9569
RA
15042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1507 rtld_global._dl_hwcap2.
1508 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1509 POWER8.
1510 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1511 POWER8 feature descriptions defined in _dl_hwcap2.
1512 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1513 string handling for POWER8 feature bits.
1514 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1515 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1516 _dl_powerpc_cap_flags.
1517 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1518 * sysdeps/powerpc/rtld-global-offsets.sym
1519 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1520 _dl_hwcap2 in the rtld_global_ro structure.
1521
1ae8bfe0
RA
15222013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1523
1524 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1525 hardware capabilities in support of AT_HWCAP2.
1526 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1527 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1528 GLRO(dl_hwcap2).
1529 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1530 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1531 explicitly the unknown a_type display mechanism is used.
1532 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1533 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1534 struct member.
1535 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1536 to macro prototype for AT_HWCAP2 support.
1537 * sysdeps/i386/dl-procinfo.h: Likewise.
1538 * sysdeps/s390/dl-procinfo.h: Likewise.
1539 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1540 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1541 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1542 return -1 for unknown a_type display fallback.
1543 * sysdeps/sparc/dl-procinfo.h: Likewise.
1544 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1545 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1546
8fbec010
JM
15472013-06-28 Joseph Myers <joseph@codesourcery.com>
1548
1549 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1550 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1551
0432680e
PY
15522013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1553
1554 [BZ #12492]
1555 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1556 mprotect making __stack_prot writable.
1557
ce61a2ad
NF
15582013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1559 Joseph Myers <joseph@codesourcery.com>
1560
1561 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1562 as being properly aligned.
1563
f91f1c0f
MR
15642013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1565
3d0f5d0c
MR
1566 * dlfcn/modstatic5.c: New file.
1567 * dlfcn/tststatic5.c: New file.
1568 * dlfcn/Makefile (tests): Add tststatic5.
1569 (tests-static): Likewise.
1570 (modules-names): Add modstatic5.
1571 (tststatic5-ENV): New variable.
1572 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1573
f91f1c0f
MR
1574 [BZ #15022]
1575 * elf/dl-support.c (_dl_main_map): New variable.
1576 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1577 (_dl_nns, _dl_load_adds): Set to 1.
1578 (_dl_initial_searchlist): Refer to _dl_main_map.
1579 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1580 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1581 call to _dl_get_origin.
1582 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1583 around call_map.
1584 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1585 * dlfcn/modstatic3.c: New file.
1586 * dlfcn/tststatic3.c: New file.
1587 * dlfcn/tststatic4.c: New file.
1588 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1589 (tests-static): Likewise.
1590 (modules-names): Add modstatic3.
1591 (tststatic3-ENV, tststatic4-ENV): New variables.
1592 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1593 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1594
cbe7d24b
JM
15952013-06-26 Joseph Myers <joseph@codesourcery.com>
1596
1597 * configure.in (CC): Require GCC version 4.4 or later.
1598 * configure: Regenerated.
1599 * manual/install.texi (Tools for Compilation): Update GCC version
1600 requirement.
1601 * INSTALL: Regenerated.
1602
11b8a0e1
LD
16032013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1604
1605 [BZ #15674]
bb5bb87c
L
1606 * string/test-memcmp.c (check2): New.
1607 (main): Call check2.
1608
11b8a0e1
LD
1609 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1610
b0037103
MR
16112013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1612
1613 [BZ #15022]
1614 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1615 over to...
1616 (dl_open_worker) [!SHARED]: ... here.
1617
c18c701d
RA
16182013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1619
1620 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1621
1d17fa5f
RH
16222013-06-25 Richard Henderson <rth@redhat.com>
1623
1624 * locale/programs/locarchive.c: Include <libc-internal.h>
1625
8fcb833a
JM
16262013-06-25 Joseph Myers <joseph@codesourcery.com>
1627
1628 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1629 trailing whitespace removed.
1630
17db6e8d
MF
16312013-06-24 Mike Frysinger <vapier@gentoo.org>
1632
1633 [BZ #10283]
17db6e8d
MF
1634 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1635 * locale/programs/locarchive.c: Include libc-mmap.h.
1636 (prepare_address_space): Take two new outputs (the mmap base and len).
1637 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1638 values.
1639 (create_archive): Declare new mmap base and len values for
1640 prepare_address_space, and store the result in ah.
1641 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1642 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1643 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1644 Declare new mmap base and len values for
1645 prepare_address_space, and store the result in new_ah.
1646 (open_archive): Declare new mmap base and len values for
1647 prepare_address_space, and store the result in ah.
1648 (close_archive): If ah->mmap_base is not NULL, use that and
1649 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1650 * sysdeps/generic/libc-mmap.h: New file.
1651
d605071e
MF
16522013-06-24 Mike Frysinger <vapier@gentoo.org>
1653
1654 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1655 (ALIGN_UP): Likewise.
1656 (PTR_ALIGN_DOWN): Likewise.
1657 (PTR_ALIGN_UP): Likewise.
1658
2f063a6e
RA
16592013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1660
1661 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1662 entry mapped to PPC_PLATFORM_POWER8.
1663 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1664 POWER8.
1665 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1666 (_dl_string_platform): Add case for exporting platform position for
1667 POWER8.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1669 search path to sysdeps/powerpc/powerpc32/power8 directory.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1671 search path to sysdeps/powerpc/powerpc64/power8 directory.
1672 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1673 power7 directories.
1674 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1675 power7 directories.
1676
a31ee4b3
SP
16772013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
a74ca98f
SP
1679 * INSTALL: Regenerate.
1680
a31ee4b3
SP
1681 * nscd/connections.c (nscd_init): Fix comment.
1682
695c378f
JM
16832013-06-22 Joseph Myers <joseph@codesourcery.com>
1684
d8412221
JM
1685 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1686
695c378f
JM
1687 [BZ #15667]
1688 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1689 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1690
d1d54715
MR
16912013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1692
1693 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1694 DL_DST_REQ_STATIC.
1695 (DL_DST_REQ_STATIC): Remove macro.
1696
8fdda7af
JM
16972013-06-21 Joseph Myers <joseph@codesourcery.com>
1698
1699 [BZ #7006]
1700 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1701 with a shift of 0 bits.
1702
f3bc5e5a
MR
17032013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1704
1705 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1706 $(tststatic-ENV).
1707
be09e8c9
KK
17082013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1709
1710 [BZ #15655]
1711 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1712
85c2e611
AZ
17132013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714
1715 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1716 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1717 accepts -fno-tree-loop-distribute-patterns.
1718 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1719 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1720 recursive call.
1721 * string/memset.c (memset): Likewise.
1722 * string/test-memmove.c (simple_memmove): Disable loop transformation
1723 to library calls.
1724 * string/test-memset.c (simple_memset): Likewise.
1725 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1726 * benchtests/bench-memset.c (simple_memset): Likewise.
1727 * configure: Regenerated.
1728
c91e0825
JM
17292013-06-20 Joseph Myers <joseph@codesourcery.com>
1730
b8c792af
JM
1731 * math/test-misc.c (main): Ignore fesetround failure when failures
1732 of subsequent rounding tests would be ignored.
1733
c91e0825
JM
1734 [BZ #15654]
1735 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1736 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1737 * math/fegetenv.c (__fegetenv): Return 0.
1738 * math/fegetexcept.c (fegetexcept): Return 0.
1739 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1740 FE_TONEAREST.
1741 * math/feholdexcpt.c (feholdexcept): Return 0.
1742 * math/fesetenv.c (__fesetenv): Return 0.
1743 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1744 argument FE_TONEAREST.
1745 * math/feupdateenv.c (__feupdateenv): Return 0.
1746 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1747
bfcacbde
RM
17482013-06-18 Roland McGrath <roland@hack.frob.com>
1749
1750 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1751 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1752 ($(objpfx)rtld-%.os rules): Use them.
1753
e55a9b25
AZ
17542013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1755
1756 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1757 fields.
1758
346d65b3
RM
17592013-06-17 Roland McGrath <roland@hack.frob.com>
1760
12086fb4
RM
1761 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1762 length of target pattern, then descending length of dependency pattern.
1763 * configure.in (AWK): Require gawk 3.1.2 or newer.
1764 * manual/install.texi (Tools for Compilation): Say that we do.
1765 * configure: Regenerated.
1766
346d65b3
RM
1767 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1768 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1769 * scripts/sysd-rules.awk: ... this new script.
1770 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1771 than a glob-style pattern.
1772
1a846317
JM
17732013-06-17 Joseph Myers <joseph@codesourcery.com>
1774
1775 * math/test-misc.c (main): Do not treat incorrectly rounded
1776 conversions as failure unless ROUNDING_TESTS passes.
1777
8fc75e6f
JM
17782013-06-15 Joseph Myers <joseph@codesourcery.com>
1779
3711a167
JM
1780 [BZ #15631]
1781 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1782 restore exception state around main square root computation, then
1783 check for inexactness explicitly.
1784
8fc75e6f
JM
1785 * math/libm-test.inc (fma_test_data): Add another test.
1786
61dd6208
SP
17872013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1788
adf23d2c
SP
1789 * manual/threads.texi (Non-POSIX Extensions): New document
1790 node. Document pthread_getattr_default_np and
1791 pthread_setattr_default_np.
1792
61dd6208
SP
1793 * Versions.def (libpthread): Add GLIBC_2.18.
1794 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1796 Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1798 Likewise.
1799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1800 Likewise.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1802 Likewise.
1803 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1804 Likewise.
1805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1806 Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1808 Likewise.
1809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1810 Likewise.
1811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1812 Likewise.
1813
d086fc7b
LD
18142013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1815
1816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1817 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1818
747ef469
SP
18192013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 H.J. Lu <hjl.tools@gmail.com>
1821
1822 [BZ #15627]
1823 * sysdeps/x86_64/rtld-memset.c: Remove file.
1824 * sysdeps/x86_64/rtld-memset.S: New file.
1825
1b2feed2
JM
18262013-06-14 Joseph Myers <joseph@codesourcery.com>
1827
1828 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1829 (test_in_one_mode): Take arguments for whether the rounding mode
1830 is supported for each floating-point type.
1831 (do_test): Pass new arguments to test_in_one_mode using
1832 ROUNDING_TESTS.
1833
a58ad3f8
RM
18342013-06-13 Roland McGrath <roland@hack.frob.com>
1835
1836 * posix/tst-waitid.c (do_test): Distinguish different instances of
1837 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1838 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1839 before entering the kernel for waitpid.
1840
c204ab28
SP
18412013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1842
1843 * NEWS: Fix note on clock function precision. Text by Roland
1844 McGrath.
1845
f4a29fba
RM
18462013-06-13 Roland McGrath <roland@hack.frob.com>
1847
1848 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1849 it into place only when and if the sanity check passes.
1850
1f24b9ad
JM
18512013-06-13 Joseph Myers <joseph@codesourcery.com>
1852
1853 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1854 output for whether conversion result is exact. Take argument
1855 indicating whether type is IBM long double.
1856 (round_for_all): Change need_exact field to ibm_ld.
1857 * stdlib/tst-strtod-round.c (struct exactness): New type.
1858 (struct test): Change bool ld_ok field to struct exactness exact.
1859 (TEST): Update all definitions for change to field.
1860 (tests): Regenerate array contents.
1861 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1862 field value. Check for IBM long double here.
1863 (do_test): Update calls to test_in_one_mode.
1864
58206c68
SP
18652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1866
1867 [BZ #12515]
1868 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1869 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1870
2d6f4c5b 18712013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1872
1873 [BZ #15605]
1874 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1875 generated by the compiler on loop optimizations.
1876 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1877 general definitions.
1878
94f2c076
JM
18792013-06-12 Joseph Myers <joseph@codesourcery.com>
1880
1881 * math/bug-nextafter.c: Include <math-tests.h>.
1882 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1883 the relevant type.
1884 * math/bug-nexttoward.c: Include <math-tests.h>.
1885 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1886 the relevant type.
1887 * math/test-misc.c: Include <math-tests.h>.
1888 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1889 the relevant type.
1890
e0e50a0a
AJ
18912013-06-12 Andreas Jaeger <aj@suse.de>
1892
1893 * po/ia.po: Update Interlingua translation from translation
1894 project.
1895
25061094
SP
18962013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1897
1898 * include/fenv.h: Include stdbool.h.
1899 (struct rm_ctx): New structure.
1900 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1901 Define macro.
1902 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1903 (SET_RESTORE_ROUNDF): Likewise.
1904 (SET_RESTORE_ROUNDL): Likewise.
1905 (SET_RESTORE_ROUND_NOEX): Likewise.
1906 (SET_RESTORE_ROUND_NOEXF): Likewise.
1907 (SET_RESTORE_ROUND_NOEXL): Likewise.
1908 (SET_RESTORE_ROUND_53BIT): Likewise.
1909 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1910 (libc_feresetround_noexf_ctx): Likewise.
1911 (libc_feresetround_noexl_ctx): Likewise.
1912 (libc_feholdsetround_53bit_ctx): Likewise.
1913 (libc_feresetround_53bit_ctx): Likewise.
1914 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1915 (libc_feholdexcept_setround_sse_ctx): New function.
1916 (libc_fesetenv_sse_ctx): Likewise.
1917 (libc_feupdateenv_sse_ctx): Likewise.
1918 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1919 (libc_feholdexcept_setround_387_ctx): Likewise.
1920 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1921 (libc_feholdsetround_387_prec_ctx): Likewise.
1922 (libc_feholdsetround_387_ctx): Likewise.
1923 (libc_feholdsetround_387_53bit_ctx): Likewise.
1924 (libc_feholdsetround_sse_ctx): Likewise.
1925 (libc_feresetround_sse_ctx): Likewise.
1926 (libc_feresetround_387_ctx): Likewise.
1927 (libc_feupdateenv_387_ctx): Likewise.
1928 (libc_feholdexcept_setroundf_ctx): Define macro.
1929 (libc_fesetenvf_ctx): Likewise.
1930 (libc_feupdateenvf_ctx): Likewise.
1931 (libc_feholdsetroundf_ctx): Likewise.
1932 (libc_feresetroundf_ctx): Likewise.
1933 (libc_feholdexcept_setround_ctx): Likewise.
1934 (libc_fesetenv_ctx): Likewise.
1935 (libc_feupdateenv_ctx): Likewise.
1936 (libc_feholdsetround_ctx): Likewise.
1937 (libc_feresetround_ctx): Likewise.
1938 (libc_feholdexcept_setroundl_ctx): Likewise.
1939 (libc_feupdateenvl_ctx): Likewise.
1940 (libc_feholdsetroundl_ctx): Likewise.
1941 (libc_feresetroundl_ctx): Likewise.
1942 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1943 (libc_feresetround_53bit_ctx): Likewise.
1944
59b30555
SP
19452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1946
1947 * locale/iso-639.def: Convert to UTF-8.
1948
f1d73d30
JM
19492013-06-11 Joseph Myers <joseph@codesourcery.com>
1950
1951 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1952 (EXCEPTION_TESTS_double): Likewise.
1953 (EXCEPTION_TESTS_long_double): Likewise.
1954 (EXCEPTION_TESTS): Likewise.
1955 * math/libm-test.inc (test_exceptions): Only test exceptions if
1956 EXCEPTION_TESTS (FLOAT).
1957
94aca5e7
SP
19582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
1960 * benchtests/Makefile (string-bench): Add strcpy_chk and
1961 stpcpy_chk.
1962 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1963 * benchtests/bench-stpcpy_chk.c: New file.
1964 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1965 * benchtests/bench-strcpy_chk.c: New file.
1966 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1967 code.
1968 (do_test): Likewise.
1969
fac0c5f2
RA
19702013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1971
1972 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1973 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1974 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1975 with tabs where appropriate.
1976 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1977 dl-procinfo.h.
1978 [PPC_PLATFORM_PPC440]: Likewise.
1979 [PPC_PLATFORM_PPC464]: Likewise.
1980 [PPC_PLATFORM_PPC476]: Likewise.
1981 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1982 ppc464, and ppc476 platform strings merging from ports/
1983 dl-procinfo.h.
1984
f22bc486
AS
19852013-06-11 Andreas Schwab <schwab@suse.de>
1986
1987 [BZ #14991]
1988 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1989 (from_ucs4_idx): Regenerate.
1990 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1991 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1992 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1993 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1994 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1995 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1996 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1997 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1998 from FROM_LOOP and TO_LOOP specific macros.
1999 (BODY): Handle combining characters.
2000 * iconvdata/BIG5HKSCS.irreversible: Update.
2001 * iconvdata/BIG5HKSCS.precomposed: New file.
2002 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2003 characters.
2004 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2005
c1f75dc3
SP
20062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2007
4eacded2
SP
2008 * include/sys/time.h: Fix indentation and add copyright header.
2009
fec799f8
SP
2010 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2011 (do_test): Likewise.
2012 * string/test-memchr.c (do_one_test): Likewise.
2013 (do_test): Likewise.
2014 * string/test-memcmp.c (do_one_test): Likewise.
2015 (do_test): Likewise.
2016 * string/test-memcpy.c (do_one_test): Likewise.
2017 (do_test): Likewise.
2018 * string/test-memmem.c (do_one_test): Likewise.
2019 (do_test): Likewise.
2020 (do_random_tests): Likewise.
2021 * string/test-memmove.c (do_one_test): Likewise.
2022 (do_test): Likewise.
2023 * string/test-memset.c (do_one_test): Likewise.
2024 (do_test): Likewise.
2025 * string/test-rawmemchr.c (do_one_test): Likewise.
2026 (do_test): Likewise.
2027 * string/test-strcasecmp.c (do_one_test): Likewise.
2028 (do_test): Likewise.
2029 * string/test-strcasestr.c (do_one_test): Likewise.
2030 (do_test): Likewise.
2031 * string/test-strcat.c (do_one_test): Likewise.
2032 (do_test): Likewise.
2033 * string/test-strchr.c (do_one_test): Likewise.
2034 (do_test): Likewise.
2035 * string/test-strcmp.c (do_one_test): Likewise.
2036 (do_test): Likewise.
2037 * string/test-strcpy.c (do_one_test): Likewise.
2038 (do_test): Likewise.
2039 * string/test-string.h: Likewise.
2040 (test_init): Likewise.
2041 * string/test-strlen.c (do_one_test): Likewise.
2042 (do_test): Likewise.
2043 * string/test-strncasecmp.c (do_one_test): Likewise.
2044 (do_test): Likewise.
2045 * string/test-strncat.c (do_one_test): Likewise.
2046 (do_test): Likewise.
2047 * string/test-strncmp.c (do_one_test): Likewise.
2048 (do_test_limit): Likewise.
2049 (do_test): Likewise.
2050 * string/test-strncpy.c (do_one_test): Likewise.
2051 (do_test): Likewise.
2052 * string/test-strnlen.c (do_one_test): Likewise.
2053 (do_test): Likewise.
2054 * string/test-strpbrk.c (do_one_test): Likewise.
2055 (do_test): Likewise.
2056 * string/test-strrchr.c (do_one_test): Likewise.
2057 (do_test): Likewise.
2058 * string/test-strspn.c (do_one_test): Likewise.
2059 (do_test): Likewise.
2060 * string/test-strstr.c (do_one_test): Likewise.
2061 (do_test): Likewise.
2062
97020474
SP
2063 * benchtests/Makefile (string-bench): Add string benchmarks.
2064 * benchtests/bench-bcopy-ifunc.c: New file.
2065 * benchtests/bench-bcopy.c: New file.
2066 * benchtests/bench-bzero-ifunc.c: New file.
2067 * benchtests/bench-bzero.c: New file.
2068 * benchtests/bench-memccpy-ifunc.c: New file.
2069 * benchtests/bench-memccpy.c: New file.
2070 * benchtests/bench-memchr-ifunc.c: New file.
2071 * benchtests/bench-memchr.c: New file.
2072 * benchtests/bench-memcmp-ifunc.c: New file.
2073 * benchtests/bench-memcmp.c: New file.
2074 * benchtests/bench-memmem-ifunc.c: New file.
2075 * benchtests/bench-memmem.c: New file.
2076 * benchtests/bench-memmove-ifunc.c: New file.
2077 * benchtests/bench-memmove.c: New file.
2078 * benchtests/bench-mempcpy-ifunc.c: New file.
2079 * benchtests/bench-mempcpy.c: New file.
2080 * benchtests/bench-memset-ifunc.c: New file.
2081 * benchtests/bench-memset.c: New file.
2082 * benchtests/bench-rawmemchr-ifunc.c: New file.
2083 * benchtests/bench-rawmemchr.c: New file.
2084 * benchtests/bench-stpcpy-ifunc.c: New file.
2085 * benchtests/bench-stpcpy.c: New file.
2086 * benchtests/bench-stpncpy-ifunc.c: New file.
2087 * benchtests/bench-stpncpy.c: New file.
2088 * benchtests/bench-strcasecmp-ifunc.c: New file.
2089 * benchtests/bench-strcasecmp.c: New file.
2090 * benchtests/bench-strcasestr-ifunc.c: New file.
2091 * benchtests/bench-strcasestr.c: New file.
2092 * benchtests/bench-strcat-ifunc.c: New file.
2093 * benchtests/bench-strcat.c: New file.
2094 * benchtests/bench-strchr-ifunc.c: New file.
2095 * benchtests/bench-strchr.c: New file.
2096 * benchtests/bench-strchrnul-ifunc.c: New file.
2097 * benchtests/bench-strchrnul.c: New file.
2098 * benchtests/bench-strcmp-ifunc.c: New file.
2099 * benchtests/bench-strcmp.c: New file.
2100 * benchtests/bench-strcpy-ifunc.c: New file.
2101 * benchtests/bench-strcpy.c: New file.
2102 * benchtests/bench-strcspn-ifunc.c: New file.
2103 * benchtests/bench-strcspn.c: New file.
2104 * benchtests/bench-strlen-ifunc.c: New file.
2105 * benchtests/bench-strlen.c: New file.
2106 * benchtests/bench-strncasecmp-ifunc.c: New file.
2107 * benchtests/bench-strncasecmp.c: New file.
2108 * benchtests/bench-strncat-ifunc.c: New file.
2109 * benchtests/bench-strncat.c: New file.
2110 * benchtests/bench-strncmp-ifunc.c: New file.
2111 * benchtests/bench-strncmp.c: New file.
2112 * benchtests/bench-strncpy-ifunc.c: New file.
2113 * benchtests/bench-strncpy.c: New file.
2114 * benchtests/bench-strnlen-ifunc.c: New file.
2115 * benchtests/bench-strnlen.c: New file.
2116 * benchtests/bench-strpbrk-ifunc.c: New file.
2117 * benchtests/bench-strpbrk.c: New file.
2118 * benchtests/bench-strrchr-ifunc.c: New file.
2119 * benchtests/bench-strrchr.c: New file.
2120 * benchtests/bench-strspn-ifunc.c: New file.
2121 * benchtests/bench-strspn.c: New file.
2122 * benchtests/bench-strstr-ifunc.c: New file.
2123 * benchtests/bench-strstr.c: New file.
2124
c1f75dc3
SP
2125 * benchtests/Makefile: Disable parallel execution of targets.
2126 (string-bench): Add memcpy.
2127 (benchset): New variable to store a list of benchmark sets.
2128 (bench-func): Renamed from bench.
2129 (bench-set): New target.
2130 (bench): Depend on bench-func and bench-set.
2131 * benchtests/README: Add section on benchmark sets.
2132 * benchtests/bench-memcpy-ifunc.c: New file.
2133 * benchtests/bench-memcpy.c: New file.
2134 * benchtests/bench-string.h: New file.
2135
50fd745b
AS
21362013-06-11 Andreas Schwab <schwab@suse.de>
2137
2138 [BZ #15577]
2139 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2140 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2141 values in the triple.
2142 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2143 terminator in the group key.
2144
3ee7e9fe
AJ
21452013-06-11 Andreas Jaeger <aj@suse.de>
2146
2147 * po/zh_TW.po: Update Chinese (traditional) translation from
2148 translation project.
2149
89fb6835
SP
21502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2151
2152 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2153 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2154 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2155 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2156 (clock_getcpuclockid): Likewise.
2157 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2158 Add weak_alias and libc_hidden_def.
2159 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2160 * rt/clock_gettime.c (clock_gettime): Rename to
2161 __clock_gettime. Add weak_alias and libc_hidden_def.
2162 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2163 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2164 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2165 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2166 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2167 Likewise.
2168 * rt/clock_settime.c (clock_settime): Rename to
2169 __clock_settime. Add weak_alias and libc_hidden_def.
2170 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2171
0efa6f8b
JM
21722013-06-10 Joseph Myers <joseph@codesourcery.com>
2173
b8c61b4b
JM
2174 * mach/err_boot.sub: Remove trailing whitespace.
2175 * mach/err_ipc.sub: Likewise.
2176 * mach/err_mach.sub: Likewise.
2177
0efa6f8b
JM
2178 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2179 (ROUNDING_TESTS_double): Likewise.
2180 (ROUNDING_TESTS_long_double): Likewise.
2181 (ROUNDING_TESTS): Likewise.
2182 * math/libm-test.inc: Include <math-tests.h>.
2183 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2184 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2185 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2186 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2187
50b818bf
SP
21882013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2189
2190 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2191 of assigning.
2192
60d2f8f3
JM
21932013-06-08 Joseph Myers <joseph@codesourcery.com>
2194
4902d2c3
JM
2195 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2196 otherwise empty TRANS lines.
2197 * sysdeps/gnu/errlist.c: Regenerated.
2198
60d2f8f3
JM
2199 * catgets/gencat.c (error_print): Use (void) in function
2200 definition.
2201 * crypt/crypt_util.c (__init_des): Likewise.
2202 * crypt/speeds.c (Stop): Likewise.
2203 (main): Likewise.
2204 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2205 * inet/ruserpass.c (token): Likewise.
2206 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2207 * intl/localealias.c (extend_alias_table): Likewise.
2208 * intl/plural-exp.c (init_germanic_plural): Likewise.
2209 * libio/fcloseall.c (__fcloseall): Likewise.
2210 * libio/genops.c (_IO_flush_all): Likewise.
2211 (_IO_flush_all_linebuffered): Likewise.
2212 (_IO_cleanup): Likewise.
2213 (_IO_iter_begin): Likewise.
2214 (_IO_iter_end): Likewise.
2215 (_IO_list_lock): Likewise.
2216 (_IO_list_unlock): Likewise.
2217 (_IO_list_resetlock): Likewise.
2218 * libio/getchar.c (getchar): Likewise.
2219 * libio/getchar_u.c (getchar_unlocked): Likewise.
2220 * libio/getwchar.c (getwchar): Likewise.
2221 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2222 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2223 * login/getpt.c (__getpt): Likewise.
2224 * login/tst-utmp.c (main): Likewise.
2225 * malloc/hooks.c (__malloc_check_init): Likewise.
2226 * malloc/malloc.c (__malloc_stats): Likewise.
2227 * malloc/mtrace.c (tr_break): Likewise.
2228 (mtrace): Likewise.
2229 (muntrace): Likewise.
2230 * misc/fstab.c (endfsent): Likewise.
2231 * misc/getclktck.c (__getclktck): Likewise.
2232 * misc/getdtsz.c (__getdtablesize): Likewise.
2233 * misc/gethostid.c (gethostid): Likewise.
2234 * misc/getpagesize.c (__getpagesize): Likewise.
2235 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2236 (__get_nprocs): Likewise.
2237 (__get_phys_pages): Likewise.
2238 (__get_avphys_pages): Likewise.
2239 * misc/getttyent.c (getttyent): Likewise.
2240 (setttyent): Likewise.
2241 (endttyent): Likewise.
2242 * misc/getusershell.c (getusershell): Likewise.
2243 (endusershell): Likewise.
2244 (setusershell): Likewise.
2245 (initshells): Likewise.
2246 * misc/hsearch.c (__hdestroy): Likewise.
2247 * misc/sync.c (sync): Likewise.
2248 * misc/syslog.c (closelog_internal): Likewise.
2249 (closelog): Likewise.
2250 * misc/ttyslot.c (ttyslot): Likewise.
2251 * misc/vhangup.c (vhangup): Likewise.
2252 * posix/fork.c (__fork): Likewise.
2253 * posix/getegid.c (__getegid): Likewise.
2254 * posix/geteuid.c (__geteuid): Likewise.
2255 * posix/getgid.c (__getgid): Likewise.
2256 * posix/getpid.c (__getpid): Likewise.
2257 * posix/getppid.c (__getppid): Likewise.
2258 * posix/getuid.c (__getuid): Likewise.
2259 * posix/pause.c (pause): Likewise.
2260 * posix/setpgrp.c (setpgrp): Likewise.
2261 * posix/setsid.c (__setsid): Likewise.
2262 * posix/test-vfork.c (noop): Likewise.
2263 * resolv/gethnamaddr.c (_endhtent): Likewise.
2264 (_gethtent): Likewise.
2265 (ht_endhostent): Likewise.
2266 (gethostent): Likewise.
2267 (dns_service): Likewise.
2268 * stdlib/drand48.c (drand48): Likewise.
2269 * stdlib/lrand48.c (lrand48): Likewise.
2270 * stdlib/mrand48.c (mrand48): Likewise.
2271 * stdlib/rand.c (rand): Likewise.
2272 * stdlib/random.c (__random): Likewise.
2273 * stdlib/setenv.c (clearenv): Likewise.
2274 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2275 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2276 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2277 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2278 (__get_nprocs): Likewise.
2279 (__get_phys_pages): Likewise.
2280 (__get_avphys_pages): Likewise.
2281 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2282 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2283 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2284 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2285 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2286 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2287 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2288 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2289 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2290 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2291 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2292 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2293 * sysdeps/posix/clock.c (clock): Likewise.
2294 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2295 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2296 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2297 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2298 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2300 (__get_nprocs_conf): Likewise.
2301 (__get_phys_pages): Likewise.
2302 (__get_avphys_pages): Likewise.
2303 * time/clock.c (clock): Likewise.
2304 * time/tzset.c (__tzname_max): Likewise.
2305
2e09a79a
JM
23062013-06-07 Joseph Myers <joseph@codesourcery.com>
2307
2308 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2309 (__bswap_32): Do not use "register".
2310 * crypt/crypt.c (_ufc_doit_r): Likewise.
2311 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2312 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2313 * gmon/gmon.c (__monstartup): Likewise.
2314 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2315 * hurd/hurdmalloc.c (more_memory): Likewise.
2316 (malloc): Likewise.
2317 (free): Likewise.
2318 (realloc): Likewise.
2319 (malloc_fork_prepare): Likewise.
2320 (malloc_fork_parent): Likewise.
2321 (malloc_fork_child): Likewise.
2322 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2323 (_svcauth_des): Likewise.
2324 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2325 * inet/inet_net.c (inet_network): Likewise.
2326 * inet/inet_netof.c (inet_netof): Likewise.
2327 * inet/rcmd.c (__validuser2_sa): Likewise.
2328 * io/fts.c (fts_open): Likewise.
2329 (fts_load): Likewise.
2330 (fts_close): Likewise.
2331 (fts_read): Likewise.
2332 (fts_children): Likewise.
2333 (fts_build): Likewise.
2334 (fts_stat): Likewise.
2335 (fts_sort): Likewise.
2336 (fts_alloc): Likewise.
2337 (fts_lfree): Likewise.
2338 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2339 (_IO_file_xsgetn): Likewise.
2340 (_IO_file_xsgetn_mmap): Likewise.
2341 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2342 (_IO_cookie_write): Likewise.
2343 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2344 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2345 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2346 * malloc/obstack.c (_obstack_begin): Likewise.
2347 (_obstack_begin_1): Likewise.
2348 (_obstack_newchunk): Likewise.
2349 (_obstack_allocated_p): Likewise.
2350 (obstack_free): Likewise.
2351 (_obstack_memory_used): Likewise.
2352 * misc/getttyent.c (getttynam): Likewise.
2353 (getttyent): Likewise.
2354 (skip): Likewise.
2355 (value): Likewise.
2356 * misc/getusershell.c (initshells): Likewise.
2357 * misc/syslog.c (__vsyslog_chk): Likewise.
2358 * misc/ttyslot.c (ttyslot): Likewise.
2359 * nis/nis_hash.c (__nis_hash): Likewise.
2360 * posix/fnmatch_loop.c (FCT): Likewise.
2361 * posix/getconf.c (print_all): Likewise.
2362 (main): Likewise.
2363 * posix/getopt.c (exchange): Likewise.
2364 * posix/glob.c (globfree): Likewise.
2365 (prefix_array): Likewise.
2366 (__glob_pattern_type): Likewise.
2367 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2368 (NS_GET32): Likewise.
2369 (NS_PUT16): Likewise.
2370 (NS_PUT32): Likewise.
2371 * resolv/gethnamaddr.c (getanswer): Likewise.
2372 (gethostbyname2): Likewise.
2373 (gethostbyaddr): Likewise.
2374 (_gethtent): Likewise.
2375 (_gethtbyname2): Likewise.
2376 (_gethtbyaddr): Likewise.
2377 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2378 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2379 * resolv/res_init.c (__res_vinit): Likewise.
2380 (net_mask): Likewise.
2381 * resolv/res_mkquery.c (outchar): Likewise.
2382 (PRINT): Likewise.
2383 * stdio-common/printf_fp.c (outchar): Likewise.
2384 (PRINT): Likewise.
2385 * stdio-common/printf_fphex.c (outchar): Likewise.
2386 (PRINT): Likewise.
2387 * stdio-common/printf_size.c (outchar): Likewise.
2388 (PRINT): Likewise.
2389 * stdio-common/test_rdwr.c (main): Likewise.
2390 * stdio-common/tfformat.c (matches): Likewise.
2391 * stdio-common/vfprintf.c (outchar): Likewise.
2392 (printf_unknown): Likewise.
2393 (buffered_vfprintf): Likewise.
2394 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2395 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2396 (ReadFile): Likewise.
2397 * stdlib/qsort.c (SWAP): Likewise.
2398 (_quicksort): Likewise.
2399 * stdlib/setenv.c (__add_to_environ): Likewise.
2400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2401 * stdlib/strtol_l.c (__strtol_l): Likewise.
2402 * stdlib/tst-strtod.c (main): Likewise.
2403 * stdlib/tst-strtol.c (main): Likewise.
2404 * stdlib/tst-strtoll.c (main): Likewise.
2405 * string/bits/string2.h (__strcmp_cc): Likewise.
2406 (__strcmp_cg): Likewise.
2407 (__strcspn_c1): Likewise.
2408 (__strcspn_c2): Likewise.
2409 (__strcspn_c3): Likewise.
2410 (__strspn_c1): Likewise.
2411 (__strspn_c2): Likewise.
2412 (__strspn_c3): Likewise.
2413 (__strsep_1c): Likewise.
2414 (__strsep_2c): Likewise.
2415 (__strsep_3c): Likewise.
2416 * string/memccpy.c (__memccpy): Likewise.
2417 * string/stpcpy.c (__stpcpy): Likewise.
2418 * string/strcmp.c (strcmp): Likewise.
2419 * string/strrchr.c (strrchr): Likewise.
2420 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2421 Likewise.
2422 * sysdeps/mach/hurd/getcwd.c
2423 (_hurd_canonicalize_directory_name_internal): Likewise.
2424 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2425 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2426 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2427 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2428 Likewise, in both definitions.
2429 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2430 definitions.
2431 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2432 64] (__bswap_64): Likewise.
2433 * time/test_time.c (main): Likewise.
2434 * time/tzfile.c (__tzfile_read): Likewise.
2435 (__tzfile_compute): Likewise.
2436 * time/tzset.c (__tzset_parse_tz): Likewise.
2437 (tzset_internal): Likewise.
2438 (compute_change): Likewise.
2439 * wcsmbs/wcscat.c (__wcscat): Likewise.
2440 * wcsmbs/wcschr.c (wcschr): Likewise.
2441 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2442 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2443 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2444 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2445 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2446 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2447 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2448 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2449 * wcsmbs/wmemset.c (wmemset): Likewise.
2450
9e54314b
JM
24512013-06-06 Joseph Myers <joseph@codesourcery.com>
2452
2453 * scripts/config.guess: Update to version 2013-05-16.
2454 * scripts/config.sub: Update to version 2013-04-24.
2455 * scripts/install-sh: Update to version 2011-11-20.07.
2456 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2457 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2458
350635a5
OB
24592013-06-06 Ondřej Bílka <neleai@seznam.cz>
2460
2461 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2462 * elf/sln.c: Likewise.
2463 * hurd/hurd/ioctl.h: Likewise.
2464 * hurd/hurdmalloc.c: Likewise.
2465 * hurd/xattr.c: Likewise.
2466 * include/shlib-compat.h: Likewise.
2467 * inet/ruserpass.c: Likewise.
2468 * libio/iofgets_u.c: Likewise.
2469 * libio/iofgetws_u.c: Likewise.
2470 * locale/programs/ld-identification.c: Likewise.
2471 * locale/programs/ld-time.c: Likewise.
2472 * mach/msg-destroy.c: Likewise.
2473 * nss/nss_files/files-netgrp.c: Likewise.
2474 * resolv/res_data.c: Likewise.
2475 * soft-fp/op-1.h: Likewise.
2476 * soft-fp/op-2.h: Likewise.
2477 * soft-fp/op-4.h: Likewise.
2478 * soft-fp/op-common.h: Likewise.
2479 * stdio-common/printf_fphex.c: Likewise.
2480 * stdlib/strtod_l.c: Likewise.
2481 * sunrpc/rpc/clnt.h: Likewise.
2482 * sysdeps/generic/framestate.c: Likewise.
2483 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2484 * sysdeps/i386/bsd-setjmp.S: Likewise.
2485 * sysdeps/i386/__longjmp.S: Likewise.
2486 * sysdeps/i386/setjmp.S: Likewise.
2487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2488 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2504 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2505 * sysdeps/ieee754/support.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2507 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2508 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2509 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2510 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2511 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2512 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2513 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2514 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2515 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2516 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2517 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2518 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2519 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2520 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2521 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2522 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2524
44a988af
OB
25252013-06-05 Ondřej Bílka <neleai@seznam.cz>
2526
25506f09 2527 * posix/transbug.c: Remove executable mode.
44a988af 2528
9c84384c
JM
25292013-06-05 Joseph Myers <joseph@codesourcery.com>
2530
2531 * crypt/speeds.c: Remove trailing whitespace.
2532 * dlfcn/default.c: Likewise.
2533 * elf/ifuncdep2.c: Likewise.
2534 * elf/ifuncmain1.c: Likewise.
2535 * elf/ifuncmain1vis.c: Likewise.
2536 * elf/testobj.h: Likewise.
2537 * elf/tst-stackguard1.c: Likewise.
2538 * gmon/sys/gmon.h: Likewise.
2539 * hurd/hurdmsg.c: Likewise.
2540 * hurd/new-fd.c: Likewise.
2541 * hurd/ports-get.c: Likewise.
2542 * iconvdata/ibm1008_420.c: Likewise.
2543 * inet/tst-getni1.c: Likewise.
2544 * inet/tst-getni2.c: Likewise.
2545 * libio/ioungetc.c: Likewise.
2546 * libio/wfiledoalloc.c: Likewise.
2547 * manual/libm-err-tab.pl: Likewise.
2548 * math/w_dremf.c: Likewise.
2549 * misc/ftruncate.c: Likewise.
2550 * posix/bug-glob2.c: Likewise.
2551 * posix/tst-pcre.c: Likewise.
2552 * posix/wait4.c: Likewise.
2553 * resolv/README: Likewise.
2554 * resolv/res_debug.h: Likewise.
2555 * resolv/tst-inet_ntop.c: Likewise.
2556 * setjmp/bug269-setjmp.c: Likewise.
2557 * soft-fp/extended.h: Likewise.
2558 * soft-fp/op-1.h: Likewise.
2559 * soft-fp/op-2.h: Likewise.
2560 * soft-fp/op-4.h: Likewise.
2561 * soft-fp/op-8.h: Likewise.
2562 * soft-fp/testit.c: Likewise.
2563 * stdio-common/bug16.c: Likewise.
2564 * stdlib/random.c: Likewise.
2565 * sunrpc/rpcsvc/rquota.x: Likewise.
2566 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2567 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2569 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2570 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2571 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2572 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2573 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2575 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2576 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2582 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2584 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2585 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2592 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2593 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2595 * sysdeps/ieee754/s_lib_version.c: Likewise.
2596 * sysdeps/mach/hurd/check_fds.c: Likewise.
2597 * sysdeps/mach/hurd/getsockname.c: Likewise.
2598 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2599 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2600 * sysdeps/powerpc/bits/link.h: Likewise.
2601 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2602 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2603 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2604 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2605 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2606 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2607 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2608 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2609 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2620 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2625 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2629 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2630 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2633 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2634 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2635 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2648 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2653 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2657 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2660 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2665 * sysdeps/powerpc/sysdep.h: Likewise.
2666 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2667 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2668 * sysdeps/sh/dl-trampoline.S: Likewise.
2669 * sysdeps/sh/memset.S: Likewise.
2670 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2671 * sysdeps/sh/strlen.S: Likewise.
2672 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2673 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2674 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2675 * sysdeps/sparc/sparc32/rem.S: Likewise.
2676 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2677 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2678 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2679 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2680 * sysdeps/sparc/sparc32/urem.S: Likewise.
2681 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2682 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2683 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2684 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2686 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2687 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2688 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2689 * sysdeps/unix/bsd/times.c: Likewise.
2690 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2691 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2695 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2697 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2700 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2701 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2703 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2705 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2706 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2707 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2708 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2709 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2710 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2711 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2713 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2714 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2716 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2718 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2719 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2720 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2721 * sysdeps/x86_64/strcspn.S: Likewise.
2722
869378a5
RA
27232013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2724
2725 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2726 generated file. Regenerate properly from gen-translit.pl.
2727 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2728 locale/C-translit.h.
2729
840e2943
AS
27302013-06-05 Andreas Schwab <schwab@suse.de>
2731
2732 [BZ #15100]
2733 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2734 week as 6 instead of -1.
2735 * time/tst-strptime.c (day_tests): Add test case.
2736
4c60cb0c
SP
27372013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2738
2739 * sysdeps/generic/math_private.h
2740 (libc_feholdexcept_setround_53bit): Replace with
2741 libc_feholdsetround_53bit.
2742 (libc_feupdateenv_53bit): Replace with
2743 libc_feresetround_53bit.
2744 (SET_RESTORE_ROUND_53BIT): Adjust.
2745
d180203e
SP
27462013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
96df079a
SP
2748 * string/test-strchrnul.c: Add copyright header.
2749
d180203e
SP
2750 * posix/tst-getaddrinfo4.c: Increase test timeout.
2751
8b0ccb2d
CD
27522013-06-03 Carlos O'Donell <carlos@redhat.com>
2753
2754 [BZ #15536]
2755 * math/libm-test.inc (MAX_EXP): Remove
2756 (MIN_EXP): Define.
2757 (ulp): Use MIN_EXP - MANT_DIG.
2758 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2759
3b3c4d40
CD
27602013-05-31 Carlos O'Donell <carlos@redhat.com>
2761
2762 * po/be.po: Revert last change.
2763 * po/zh_CN.po: Likewise.
2764 * po/header.pot: Likewise.
2765
fab7ce3f
JM
27662013-05-31 Joseph Myers <joseph@codesourcery.com>
2767
2768 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2769 link-libc-deps to empty as target-specific variable.
2770 * Makerules (link-libc-args): New variable.
2771 (libc-for-link): Likewise.
2772 (link-libc-deps): Likewise.
2773 (lib%.so): Depend on $(link-libc-deps). Link with
2774 $(link-libc-args).
2775 (build-module): Link with $(link-libc-args).
2776 (build-module-asneeded): Likewise.
2777 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2778 list of objects.
2779 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2780 target-specific variable.
2781 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2782 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2783 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2784 libc.
2785 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2786 libc and ld.so.
2787 ($(objpfx)libpcprofile.so): Likewise.
2788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2789 libc_nonshared.a.
2790 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2791 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2792 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2793 $(link-libc-deps).
2794 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2795 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2796 * login/Makefile ($(objpfx)libutil.so): Likewise.
2797 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2798 * math/Makefile ($(objpfx)libm.so): Likewise.
2799 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2800 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2801 variable instead of depending directly on libc.
2802 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2803 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2804 $(link-libc-deps).
2805 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2806 libc.
2807 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2808 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2809 ($(objpfx)libanl.so): Likewise.
2810 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2811 ld.so.
2812 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2813 $(link-libc-deps).
2814 * sysdeps/i386/fpu/Makefile: Remove file.
2815 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2816 ($(objpfx)libm.so): Remove dependency on ld.so.
2817
eca5920c
PF
28182013-05-30 Patsy Franklin <pfrankli@redhat.com>
2819
2820 [BZ # 15553]
2821 * nis/yp_xdr.c (XDRMAXNAME): Define.
2822 (XDRMAXRECORD): Define.
2823 (xdr_domainname): Use XDRMAXNAME.
2824 (xdr_mapname): Likewise.
2825 (xdr_peername): Likewise.
2826 (xdr_keydat): Use XDRMAXRECORD.
2827 (xdr_valdat): Likewise.
2828
28292013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2830
2831 [BZ #14256]
2832 * manual/errno.texi (ESTALE): Update to account for more than
2833 just NFS file systems.
2834 * sysdeps/gnu/errlist.c: Regenerated.
2835
b9375348
SP
28362013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2837
2838 [BZ #15465]
2839 * elf/Makefile (tests): Add tst-null-argv.
2840 (modules-names): Add tst-null-argv-lib.
2841 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2842 (tst-null-argv-ENV): Set environment for tst-null-argv.
2843 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2844 (RTLD_PROGNAME): New macro.
2845 * elf/tst-null-argv.c: New test case.
2846 * elf/tst-null-argv-lib.c: Library for test case.
2847 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2848 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2849 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2850 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2851 * elf/dl-init.c (call_init): Likewise.
2852 (_dl_init): Likewise.
2853 * elf/dl-load.c (print_search_path): Likewise.
2854 (_dl_map_object): Likewise.
2855 * elf/dl-lookup.c (do_lookup_x): Likewise.
2856 (add_dependency): Likewise.
2857 (_dl_lookup_symbol_x): Likewise.
2858 (_dl_debug_bindings): Likewise.
2859 * elf/dl-open.c (_dl_show_scope): Likewise.
2860 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2861 * elf/dl-version.c (match_symbol): Likewise.
2862 (_dl_check_map_versions): Likewise.
2863 * elf/rtld.c (dl_main): Likewise.
2864 (print_unresolved): Use RTLD_PROGNAME.
2865 (print_missing_version): Likewise.
2866 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2867 (elf_machine_rela): Likewise.
2868 * sysdeps/powerpc/powerpc32/dl-machine.c
2869 (__process_machine_rela): Likewise.
2870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2871 Likewise.
2872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2873 Likewise.
2874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2875 Likewise.
2876 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2878 Likewise.
2879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2880 Likewise.
2881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2882
8a9f20c8
CD
28832013-05-28 Carlos O'Donell <carlos@redhat.com>
2884
2885 * po/be.po: Add descriptive title.
2886 * po/zh_CN.po: Likewise.
2887 * po/header.pot: Likewise.
2888
0e60d68e
MF
28892013-05-28 Mike Frysinger <vapier@gentoo.org>
2890
2891 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2892 error message.
2893 (enlarge_archive): Likewise.
2894
56b672e9
BN
28952013-05-28 Ben North <ben@redfrontdoor.org>
2896
2897 * manual/arith.texi (frexp): It is the magnitude of the return
2898 value which lies in [0.5, 1), not the return value itself.
2899
5e056687
AZ
29002013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2901
2902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2903
2b66ef5d
TS
29042013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2905
528c2405
TS
2906 * stdio-common/bug26.c (main): Correct fscanf template.
2907
07b4c13d
TS
2908 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2909 declare _dl_skip_args.
2910
ec9dd97c
TS
2911 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2912 Don't declare.
2913
2b66ef5d
TS
2914 * manual/platform.texi: Add missing @end deftypefun.
2915
4f8dfe27
JM
29162013-05-24 Joseph Myers <joseph@codesourcery.com>
2917
0323d086
JM
2918 [BZ #15529]
2919 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2920 bit of mantissa of 2^16382.
2921 * math/libm-test.inc (hypot_test_data): Add more tests.
2922
dd4259b9
JM
2923 * math/libm-test.inc: Add drem and pow10 to list of tested
2924 functions.
2925 (pow10_test): New function.
2926 (drem_test): Likewise.
2927 (drem_test_tonearest): Likewise.
2928 (drem_test_towardzero): Likewise.
2929 (drem_test_downward): Likewise.
2930 (drem_test_upward): Likewise.
2931 (main): Call the new functions.
2932
4f8dfe27
JM
2933 * math/libm-test.inc (finite_test_data): Remove.
2934 (finite_test): Run tests from isfinite_test_data.
2935 (gamma_test_data): Remove.
2936 (gamma_test): Run tests from lgamma_test_data.
2937 * sysdeps/i386/fpu/libm-test-ulps: Update.
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2939
d116b7c4
AZ
29402013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2941
2942 * manual/platform.texi: Add PowerPC PPR function set documentation.
2943 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2944 implementation.
2945
e96e3767
CD
29462013-05-24 Carlos O'Donell <carlos@redhat.com>
2947
2948 * math/libm-test.inc (MAX_EXP): Define.
2949 (ULPDIFF): Define.
2950 (ulp): New function.
2951 (check_float_internal): Use ULPDIFF.
2952 (cpow_test): Disable failing test.
2953 (check_ulp): Test ulp() implemetnation.
2954 (main): Call check_ulp before starting tests.
2955
b679a606
JM
29562013-05-24 Joseph Myers <joseph@codesourcery.com>
2957
e8bdba36
JM
2958 * math/gen-libm-test.pl (generate_testfile): Do not handle
2959 START_DATA and END_DATA.
2960 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2961 END_DATA.
2962 (acos_tonearest_test_data): Likewise.
2963 (acos_towardzero_test_data): Likewise.
2964 (acos_downward_test_data): Likewise.
2965 (acos_upward_test_data): Likewise.
2966 (acosh_test_data): Likewise.
2967 (asin_test_data): Likewise.
2968 (asin_tonearest_test_data): Likewise.
2969 (asin_towardzero_test_data): Likewise.
2970 (asin_downward_test_data): Likewise.
2971 (asin_upward_test_data): Likewise.
2972 (asinh_test_data): Likewise.
2973 (atan_test_data): Likewise.
2974 (atanh_test_data): Likewise.
2975 (atan2_test_data): Likewise.
2976 (cabs_test_data): Likewise.
2977 (cacos_test_data): Likewise.
2978 (cacosh_test_data): Likewise.
2979 (carg_test_data): Likewise.
2980 (casin_test_data): Likewise.
2981 (casinh_test_data): Likewise.
2982 (catan_test_data): Likewise.
2983 (catanh_test_data): Likewise.
2984 (cbrt_test_data): Likewise.
2985 (ccos_test_data): Likewise.
2986 (ccosh_test_data): Likewise.
2987 (ceil_test_data): Likewise.
2988 (cexp_test_data): Likewise.
2989 (cimag_test_data): Likewise.
2990 (clog_test_data): Likewise.
2991 (clog10_test_data): Likewise.
2992 (conj_test_data): Likewise.
2993 (copysign_test_data): Likewise.
2994 (cos_test_data): Likewise.
2995 (cos_tonearest_test_data): Likewise.
2996 (cos_towardzero_test_data): Likewise.
2997 (cos_downward_test_data): Likewise.
2998 (cos_upward_test_data): Likewise.
2999 (cosh_test_data): Likewise.
3000 (cosh_tonearest_test_data): Likewise.
3001 (cosh_towardzero_test_data): Likewise.
3002 (cosh_downward_test_data): Likewise.
3003 (cosh_upward_test_data): Likewise.
3004 (cpow_test_data): Likewise.
3005 (cproj_test_data): Likewise.
3006 (creal_test_data): Likewise.
3007 (csin_test_data): Likewise.
3008 (csinh_test_data): Likewise.
3009 (csqrt_test_data): Likewise.
3010 (ctan_test_data): Likewise.
3011 (ctan_tonearest_test_data): Likewise.
3012 (ctan_towardzero_test_data): Likewise.
3013 (ctan_downward_test_data): Likewise.
3014 (ctan_upward_test_data): Likewise.
3015 (ctanh_test_data): Likewise.
3016 (ctanh_tonearest_test_data): Likewise.
3017 (ctanh_towardzero_test_data): Likewise.
3018 (ctanh_downward_test_data): Likewise.
3019 (ctanh_upward_test_data): Likewise.
3020 (erf_test_data): Likewise.
3021 (erfc_test_data): Likewise.
3022 (exp_test_data): Likewise.
3023 (exp_tonearest_test_data): Likewise.
3024 (exp_towardzero_test_data): Likewise.
3025 (exp_downward_test_data): Likewise.
3026 (exp_upward_test_data): Likewise.
3027 (exp10_test_data): Likewise.
3028 (exp2_test_data): Likewise.
3029 (expm1_test_data): Likewise.
3030 (fabs_test_data): Likewise.
3031 (fdim_test_data): Likewise.
3032 (finite_test_data): Likewise.
3033 (floor_test_data): Likewise.
3034 (fma_test_data): Likewise.
3035 (fma_towardzero_test_data): Likewise.
3036 (fma_downward_test_data): Likewise.
3037 (fma_upward_test_data): Likewise.
3038 (fmax_test_data): Likewise.
3039 (fmin_test_data): Likewise.
3040 (fmod_test_data): Likewise.
3041 (fpclassify_test_data): Likewise.
3042 (frexp_test_data): Likewise.
3043 (gamma_test_data): Likewise.
3044 (hypot_test_data): Likewise.
3045 (ilogb_test_data): Likewise.
3046 (isfinite_test_data): Likewise.
3047 (isgreater_test_data): Likewise.
3048 (isgreaterequal_test_data): Likewise.
3049 (isinf_test_data): Likewise.
3050 (isless_test_data): Likewise.
3051 (islessequal_test_data): Likewise.
3052 (islessgreater_test_data): Likewise.
3053 (isnan_test_data): Likewise.
3054 (isnormal_test_data): Likewise.
3055 (issignaling_test_data): Likewise.
3056 (isunordered_test_data): Likewise.
3057 (j0_test_data): Likewise.
3058 (j1_test_data): Likewise.
3059 (jn_test_data): Likewise.
3060 (ldexp_test_data): Likewise.
3061 (lgamma_test_data): Likewise.
3062 (lrint_test_data): Likewise.
3063 (lrint_tonearest_test_data): Likewise.
3064 (lrint_towardzero_test_data): Likewise.
3065 (lrint_downward_test_data): Likewise.
3066 (lrint_upward_test_data): Likewise.
3067 (llrint_test_data): Likewise.
3068 (llrint_tonearest_test_data): Likewise.
3069 (llrint_towardzero_test_data): Likewise.
3070 (llrint_downward_test_data): Likewise.
3071 (llrint_upward_test_data): Likewise.
3072 (log_test_data): Likewise.
3073 (log10_test_data): Likewise.
3074 (log1p_test_data): Likewise.
3075 (log2_test_data): Likewise.
3076 (logb_test_data): Likewise.
3077 (logb_downward_test_data): Likewise.
3078 (lround_test_data): Likewise.
3079 (llround_test_data): Likewise.
3080 (modf_test_data): Likewise.
3081 (nearbyint_test_data): Likewise.
3082 (nextafter_test_data): Likewise.
3083 (nexttoward_test_data): Likewise.
3084 (pow_test_data): Likewise.
3085 (pow_tonearest_test_data): Likewise.
3086 (pow_towardzero_test_data): Likewise.
3087 (pow_downward_test_data): Likewise.
3088 (pow_upward_test_data): Likewise.
3089 (remainder_test_data): Likewise.
3090 (remainder_tonearest_test_data): Likewise.
3091 (remainder_towardzero_test_data): Likewise.
3092 (remainder_downward_test_data): Likewise.
3093 (remainder_upward_test_data): Likewise.
3094 (remquo_test_data): Likewise.
3095 (rint_test_data): Likewise.
3096 (rint_tonearest_test_data): Likewise.
3097 (rint_towardzero_test_data): Likewise.
3098 (rint_downward_test_data): Likewise.
3099 (rint_upward_test_data): Likewise.
3100 (round_test_data): Likewise.
3101 (scalb_test_data): Likewise.
3102 (scalbn_test_data): Likewise.
3103 (scalbln_test_data): Likewise.
3104 (signbit_test_data): Likewise.
3105 (sin_test_data): Likewise.
3106 (sin_tonearest_test_data): Likewise.
3107 (sin_towardzero_test_data): Likewise.
3108 (sin_downward_test_data): Likewise.
3109 (sin_upward_test_data): Likewise.
3110 (sincos_test_data): Likewise.
3111 (sinh_test_data): Likewise.
3112 (sinh_tonearest_test_data): Likewise.
3113 (sinh_towardzero_test_data): Likewise.
3114 (sinh_downward_test_data): Likewise.
3115 (sinh_upward_test_data): Likewise.
3116 (sqrt_test_data): Likewise.
3117 (tan_test_data): Likewise.
3118 (tan_tonearest_test_data): Likewise.
3119 (tan_towardzero_test_data): Likewise.
3120 (tan_downward_test_data): Likewise.
3121 (tan_upward_test_data): Likewise.
3122 (tanh_test_data): Likewise.
3123 (tgamma_test_data): Likewise.
3124 (trunc_test_data): Likewise.
3125 (y0_test_data): Likewise.
3126 (y1_test_data): Likewise.
3127 (yn_test_data): Likewise.
3128 (significand_test_data): Likewise.
3129
b679a606
JM
3130 * math/gen-libm-test.pl (@functions): Remove variable.
3131 (generate_testfile): Don't handle START and END lines.
3132 * math/libm-test.inc (START): New macro.
3133 (END): Likewise.
3134 (END_COMPLEX): Likewise.
3135 (acos_test): Use END macro without arguments.
3136 (acos_test_tonearest): Likewise.
3137 (acos_test_towardzero): Likewise.
3138 (acos_test_downward): Likewise.
3139 (acos_test_upward): Likewise.
3140 (acosh_test): Likewise.
3141 (asin_test): Likewise.
3142 (asin_test_tonearest): Likewise.
3143 (asin_test_towardzero): Likewise.
3144 (asin_test_downward): Likewise.
3145 (asin_test_upward): Likewise.
3146 (asinh_test): Likewise.
3147 (atan_test): Likewise.
3148 (atanh_test): Likewise.
3149 (atan2_test): Likewise.
3150 (cabs_test): Likewise.
3151 (cacos_test): Use END_COMPLEX macro without arguments.
3152 (cacosh_test): Likewise.
3153 (carg_test): Use END macro without arguments.
3154 (casin_test): Use END_COMPLEX macro without arguments.
3155 (casinh_test): Likewise.
3156 (catan_test): Likewise.
3157 (catanh_test): Likewise.
3158 (cbrt_test): Use END macro without arguments.
3159 (ccos_test): Use END_COMPLEX macro without arguments.
3160 (ccosh_test): Likewise.
3161 (ceil_test): Use END macro without arguments.
3162 (cexp_test): Use END_COMPLEX macro without arguments.
3163 (cimag_test): Use END macro without arguments.
3164 (clog_test): Use END_COMPLEX macro without arguments.
3165 (clog10_test): Likewise.
3166 (conj_test): Likewise.
3167 (copysign_test): Use END macro without arguments.
3168 (cos_test): Likewise.
3169 (cos_test_tonearest): Likewise.
3170 (cos_test_towardzero): Likewise.
3171 (cos_test_downward): Likewise.
3172 (cos_test_upward): Likewise.
3173 (cosh_test): Likewise.
3174 (cosh_test_tonearest): Likewise.
3175 (cosh_test_towardzero): Likewise.
3176 (cosh_test_downward): Likewise.
3177 (cosh_test_upward): Likewise.
3178 (cpow_test): Use END_COMPLEX macro without arguments.
3179 (cproj_test): Likewise.
3180 (creal_test): Use END macro without arguments.
3181 (csin_test): Use END_COMPLEX macro without arguments.
3182 (csinh_test): Likewise.
3183 (csqrt_test): Likewise.
3184 (ctan_test): Likewise.
3185 (ctan_test_tonearest): Likewise.
3186 (ctan_test_towardzero): Likewise.
3187 (ctan_test_downward): Likewise.
3188 (ctan_test_upward): Likewise.
3189 (ctanh_test): Likewise.
3190 (ctanh_test_tonearest): Likewise.
3191 (ctanh_test_towardzero): Likewise.
3192 (ctanh_test_downward): Likewise.
3193 (ctanh_test_upward): Likewise.
3194 (erf_test): Use END macro without arguments.
3195 (erfc_test): Likewise.
3196 (exp_test): Likewise.
3197 (exp_test_tonearest): Likewise.
3198 (exp_test_towardzero): Likewise.
3199 (exp_test_downward): Likewise.
3200 (exp_test_upward): Likewise.
3201 (exp10_test): Likewise.
3202 (exp2_test): Likewise.
3203 (expm1_test): Likewise.
3204 (fabs_test): Likewise.
3205 (fdim_test): Likewise.
3206 (finite_test): Likewise.
3207 (floor_test): Likewise.
3208 (fma_test): Likewise.
3209 (fma_test_towardzero): Likewise.
3210 (fma_test_downward): Likewise.
3211 (fma_test_upward): Likewise.
3212 (fmax_test): Likewise.
3213 (fmin_test): Likewise.
3214 (fmod_test): Likewise.
3215 (fpclassify_test): Likewise.
3216 (frexp_test): Likewise.
3217 (gamma_test): Likewise.
3218 (hypot_test): Likewise.
3219 (ilogb_test): Likewise.
3220 (isfinite_test): Likewise.
3221 (isgreater_test): Likewise.
3222 (isgreaterequal_test): Likewise.
3223 (isinf_test): Likewise.
3224 (isless_test): Likewise.
3225 (islessequal_test): Likewise.
3226 (islessgreater_test): Likewise.
3227 (isnan_test): Likewise.
3228 (isnormal_test): Likewise.
3229 (issignaling_test): Likewise.
3230 (isunordered_test): Likewise.
3231 (j0_test): Likewise.
3232 (j1_test): Likewise.
3233 (jn_test): Likewise.
3234 (ldexp_test): Likewise.
3235 (lgamma_test): Likewise.
3236 (lrint_test): Likewise.
3237 (lrint_test_tonearest): Likewise.
3238 (lrint_test_towardzero): Likewise.
3239 (lrint_test_downward): Likewise.
3240 (lrint_test_upward): Likewise.
3241 (llrint_test): Likewise.
3242 (llrint_test_tonearest): Likewise.
3243 (llrint_test_towardzero): Likewise.
3244 (llrint_test_downward): Likewise.
3245 (llrint_test_upward): Likewise.
3246 (log_test): Likewise.
3247 (log10_test): Likewise.
3248 (log1p_test): Likewise.
3249 (log2_test): Likewise.
3250 (logb_test): Likewise.
3251 (logb_test_downward): Likewise.
3252 (lround_test): Likewise.
3253 (llround_test): Likewise.
3254 (modf_test): Likewise.
3255 (nearbyint_test): Likewise.
3256 (nextafter_test): Likewise.
3257 (nexttoward_test): Likewise.
3258 (pow_test): Likewise.
3259 (pow_test_tonearest): Likewise.
3260 (pow_test_towardzero): Likewise.
3261 (pow_test_downward): Likewise.
3262 (pow_test_upward): Likewise.
3263 (remainder_test): Likewise.
3264 (remainder_test_tonearest): Likewise.
3265 (remainder_test_towardzero): Likewise.
3266 (remainder_test_downward): Likewise.
3267 (remainder_test_upward): Likewise.
3268 (remquo_test): Likewise.
3269 (rint_test): Likewise.
3270 (rint_test_tonearest): Likewise.
3271 (rint_test_towardzero): Likewise.
3272 (rint_test_downward): Likewise.
3273 (rint_test_upward): Likewise.
3274 (round_test): Likewise.
3275 (scalb_test): Likewise.
3276 (scalbn_test): Likewise.
3277 (scalbln_test): Likewise.
3278 (signbit_test): Likewise.
3279 (sin_test): Likewise.
3280 (sin_test_tonearest): Likewise.
3281 (sin_test_towardzero): Likewise.
3282 (sin_test_downward): Likewise.
3283 (sin_test_upward): Likewise.
3284 (sincos_test): Likewise.
3285 (sinh_test): Likewise.
3286 (sinh_test_tonearest): Likewise.
3287 (sinh_test_towardzero): Likewise.
3288 (sinh_test_downward): Likewise.
3289 (sinh_test_upward): Likewise.
3290 (sqrt_test): Likewise.
3291 (tan_test): Likewise.
3292 (tan_test_tonearest): Likewise.
3293 (tan_test_towardzero): Likewise.
3294 (tan_test_downward): Likewise.
3295 (tan_test_upward): Likewise.
3296 (tanh_test): Likewise.
3297 (tgamma_test): Likewise.
3298 (trunc_test): Likewise.
3299 (y0_test): Likewise.
3300 (y1_test): Likewise.
3301 (yn_test): Likewise.
3302 (significand_test): Likewise.
3303
bae143d2
OB
33042013-05-24 Ondřej Bílka <neleai@seznam.cz>
3305
3306 [BZ #15381]
3307 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3308
9323d39b
EM
33092013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3310
d4ea44a0 3311 [BZ #14894]
9323d39b
EM
3312 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3313 __ppc_mdoio and __ppc_mdoom.
3314 * manual/platform.texi: Document new functions __ppc_yield,
3315 __ppc_mdoio and __ppc_mdoom.
3316
13e23af7
CD
33172013-05-22 Carlos O'Donell <carlos@redhat.com>
3318
3319 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3320 (main): Mention "tls" pseudo-hwcap is legacy.
3321 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3322
351fe550
JM
33232013-05-22 Joseph Myers <joseph@codesourcery.com>
3324
3325 * math/gen-libm-test.pl (parse_args): Output only string of
3326 arguments as text for test name, not full call or descriptions of
3327 tests for extra outputs.
3328 (generate_testfile): Do not pass function name to parse_args.
3329 Generate this_func variable from START.
3330 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3331 field to arg_str.
3332 (struct test_ff_f_data): Likewise.
3333 (test_ff_f_data_nexttoward): Likewise.
3334 (struct test_fi_f_data): Likewise.
3335 (struct test_fl_f_data): Likewise.
3336 (struct test_if_f_data): Likewise.
3337 (struct test_fff_f_data): Likewise.
3338 (struct test_c_f_data): Likewise.
3339 (struct test_f_f1_data): Likewise. Remove field extra_name.
3340 (struct test_fF_f1_data): Likewise.
3341 (struct test_ffI_f1_data): Likewise.
3342 (struct test_c_c_data): Rename test_name field to arg_str.
3343 (struct test_cc_c_data): Likewise.
3344 (struct test_f_i_data): Likewise.
3345 (struct test_ff_i_data): Likewise.
3346 (struct test_f_l_data): Likewise.
3347 (struct test_f_L_data): Likewise.
3348 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3349 and extra2_name.
3350 (COMMON_TEST_SETUP): New macro.
3351 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3352 (COMMON_TEST_CLEANUP): Likewise.
3353 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3354 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3355 macros.
3356 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3357 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3358 macros.
3359 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3360 (RUN_TEST_fff_f): Take argument string. Call new setup and
3361 cleanup macros.
3362 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3363 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3364 macros.
3365 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3366 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3367 macros.
3368 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3369 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3370 cleanup macros.
3371 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3372 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3373 cleanup macros.
3374 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3375 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3376 cleanup macros.
3377 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3378 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3379 macros.
3380 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3381 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3382 macros.
3383 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3384 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3385 macros.
3386 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3387 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3388 cleanup macros.
3389 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3390 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3391 cleanup macros.
3392 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3393 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3394 macros.
3395 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3396 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3397 cleanup macros.
3398 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3399 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3400 macros.
3401 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3402 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3403 macros.
3404 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3405 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3406 cleanup macros.
3407 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3408
85118d4d
EBM
34092013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3410
3411 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3412 to _sifields.sigfault.
3413 (si_addr_lsb): Define new macro.
3414 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3415 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3416 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3417
7a44c18f
CD
34182013-05-03 Carlos O'Donell <carlos at redhat.com>
3419
3420 [BZ #15441]
3421 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3422 returns -1.
3423 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3424 null return -1.
3425 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3426 loading the domain.
3427
b50a7181
JM
34282013-05-22 Joseph Myers <joseph@codesourcery.com>
3429
3430 * math/gen-libm-test.pl (parse_args): Do not include expected
3431 result in test name.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3433 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3434 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3435 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3436 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3438
051063c8
SP
34392013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3440
3ce9e010
SP
3441 * benchtests/Makefile: Sort function entries.
3442
051063c8
SP
3443 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3444 tanh, asinh, acosh, atanh.
3445 * benchtests/acos-inputs: New file.
3446 * benchtests/acosh-inputs: New file.
3447 * benchtests/asin-inputs: New file.
3448 * benchtests/asinh-inputs: New file.
3449 * benchtests/atanh-inputs: New file.
3450 * benchtests/cosh-inputs: New file.
3451 * benchtests/log-inputs: New file.
3452 * benchtests/sinh-inputs: New file.
3453 * benchtests/tanh-inputs: New file.
3454
47c22455
DL
34552013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3456
3457 [BZ #15339]
3458 * posix/tst-getaddrinfo4.c: New test.
3459 * posix/Makefile (tests): Add it.
3460
3d04f5db
SP
34612013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3462
3463 [BZ #15339]
3464 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3465 when no services were used.
3466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3467 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3468
d5dd6189
AS
34692013-05-21 Andreas Schwab <schwab@suse.de>
3470
3471 [BZ #15014]
3472 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3473 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3474 successful.
3475 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3476 redundant variable declarations and reallocation of buffer when
3477 parsing as IPv6 address. Always set NSS status when called from
3478 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3479 buffer too small. Correct computation of needed size.
3480 * nss/Makefile (tests): Add test-digits-dots.
3481 * nss/test-digits-dots.c: New test.
3482
fef94eab
SP
34832013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3484
3485 * benchtests/Makefile: Remove instructions for adding
3486 benchmark tests.
3487 * benchtests/README: New file to explain how to execute and
3488 enhance the benchmark tests.
3489
e39adf43
AS
34902013-05-21 Andreas Schwab <schwab@suse.de>
3491
3492 [BZ #15493]
3493 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3494 * setjmp/tst-sigsetjmp.c: New test.
3495
b2b671b6
OB
34962013-05-20 Ondřej Bílka <neleai@seznam.cz>
3497
3498 * sysdeps/x86_64/memset.S (memset): New implementation.
3499 (__bzero): Likewise.
3500 (__memset_tail): New function.
3501
2d48b41c
OB
35022013-05-20 Ondřej Bílka <neleai@seznam.cz>
3503
3504 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3505 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3506 __memcpy_sse2_unaligned ifunc selection.
3507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3508 Add memcpy-sse2-unaligned.S.
3509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3510 Add: __memcpy_sse2_unaligned.
3511
f16cc3eb
JM
35122013-05-19 Joseph Myers <joseph@codesourcery.com>
3513
3e694268
JM
3514 [BZ #15490]
3515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3516 math_force_eval before restoring floating-point envrionment.
3517 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3519 Likewise.
3520 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3521 <math_private.h>.
3522 (__nearbyintl): Use math_force_eval before restoring
3523 floating-point environment.
3524 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3525
db62a907
JM
3526 * math/gen-libm-test.pl (special_functions): Remove.
3527 (parse_args): Don't handle TEST_extra. Handle functions with no
3528 return value.
3529 * math/libm-test.inc (struct test_sincos_data): Replace with
3530 struct test_fFF_11_data.
3531 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3532 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3533 (sincos_test_data): Change element type to struct
3534 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3535 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3536 RUN_TEST_LOOP_sincos.
3537 * math/README.libm-test: Don't mention special handling of
3538 individual functions.
3539 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3545
f16cc3eb
JM
3546 * math/gen-libm-test.pl (get_variable): Remove function.
3547 (parse_args): Don't show pointer parameters to call in test
3548 names. Use "extra output N" in test names for extra outputs
3549 rather than naming variables.
3550
3779b5b6
JM
35512013-05-18 Joseph Myers <joseph@codesourcery.com>
3552
2ee094ff
JM
3553 [BZ #15488]
3554 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3555 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3556 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3557 double tests.
3558 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3559 disable.
3560 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3561 check_long_double.
3562
3779b5b6
JM
3563 * math/gen-libm-test.pl (@tests): Remove variable.
3564 ($count): Likewise.
3565 (new_test): Remove function.
3566 (show_exceptions): New function.
3567 (special_functions): Use show_exceptions instead of new_test.
3568 (parse_args): Likewise.
3569 (generate_testfile): Pass only function name in generated call to
3570 print_max_error or print_complex_max_error.
3571 (get_ulps): Do not handle complex tests specially.
3572 (output_test): Rename to ...
3573 (get_all_ulps_for_test): ... this. Return a string rather than
3574 printing to a file. Require ulps to be present.
3575 (output_ulps): Generate arrays rather than #defines.
3576 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3577 (struct ulp_data): New type.
3578 (BUILD_COMPLEX_ULP): Remove macro.
3579 (compare_ulp_data): New function.
3580 (find_ulps): Likewise.
3581 (find_test_ulps): Likewise.
3582 (find_function_ulps): Likewise.
3583 (find_complex_function_ulps): Likewise.
3584 (print_max_error): Determine allowed ulps using
3585 find_function_ulps.
3586 (print_complex_max_error): Determine allowed ulps using
3587 find_complex_function_ulps.
3588 (check_float_internal): Determine max ulps using find_test_ulps.
3589 (check_float): Do not take max_ulp parameter. Update call to
3590 check_float_internal.
3591 (check_complex): Likewise.
3592 (check_int): Do not take max_ulp parameter.
3593 (check_long): Likewise.
3594 (check_bool): Likewise.
3595 (check_longlong): Likewise.
3596 (struct test_f_f_data): Remove max_ulp field.
3597 (struct test_ff_f_data): Likewise.
3598 (struct test_ff_f_data_nexttoward): Likewise.
3599 (struct test_fi_f_data): Likewise.
3600 (struct test_fl_f_data): Likewise.
3601 (struct test_if_f_data): Likewise.
3602 (struct test_fff_f_data): Likewise.
3603 (struct test_c_f_data): Likewise.
3604 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3605 (struct test_fF_f1_data): Likewise.
3606 (struct test_ffI_f1_data): Likewise.
3607 (struct test_c_c_data): Remove max_ulp field.
3608 (struct test_cc_c_data): Likewise.
3609 (struct test_f_i_data): Likewise.
3610 (struct test_ff_i_data): Likewise.
3611 (struct test_f_l_data): Likewise.
3612 (struct test_f_L_data): Likewise.
3613 (struct test_sincos_data): Likewise.
3614 (RUN_TEST_f_f): Do not handle ulps.
3615 (RUN_TEST_LOOP_f_f): Likewise.
3616 (RUN_TEST_2_f): Likewise.
3617 (RUN_TEST_LOOP_2_f): Likewise.
3618 (RUN_TEST_fff_f): Likewise.
3619 (RUN_TEST_LOOP_fff_f): Likewise.
3620 (RUN_TEST_c_f): Likewise.
3621 (RUN_TEST_LOOP_c_f): Likewise.
3622 (RUN_TEST_f_f1): Likewise.
3623 (RUN_TEST_LOOP_f_f1): Likewise.
3624 (RUN_TEST_fF_f1): Likewise.
3625 (RUN_TEST_LOOP_fF_f1): Likewise.
3626 (RUN_TEST_fI_f1): Likewise.
3627 (RUN_TEST_LOOP_fI_f1): Likewise.
3628 (RUN_TEST_ffI_f1): Likewise.
3629 (RUN_TEST_LOOP_ffI_f1): Likewise.
3630 (RUN_TEST_c_c): Likewise.
3631 (RUN_TEST_LOOP_c_c): Likewise.
3632 (RUN_TEST_cc_c): Likewise.
3633 (RUN_TEST_LOOP_cc_c): Likewise.
3634 (RUN_TEST_f_i): Likewise.
3635 (RUN_TEST_LOOP_f_i): Likewise.
3636 (RUN_TEST_f_i_tg): Likewise.
3637 (RUN_TEST_LOOP_f_i_tg): Likewise.
3638 (RUN_TEST_ff_i_tg): Likewise.
3639 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3640 (RUN_TEST_f_b): Likewise.
3641 (RUN_TEST_LOOP_f_b): Likewise.
3642 (RUN_TEST_f_b_tg): Likewise.
3643 (RUN_TEST_LOOP_f_b_tg): Likewise.
3644 (RUN_TEST_f_l): Likewise.
3645 (RUN_TEST_LOOP_f_l): Likewise.
3646 (RUN_TEST_f_L): Likewise.
3647 (RUN_TEST_LOOP_f_L): Likewise.
3648 (RUN_TEST_sincos): Likewise.
3649 (RUN_TEST_LOOP_sincos): Likewise.
3650
8269107f
JM
36512013-05-17 Joseph Myers <joseph@codesourcery.com>
3652
bb38759d
JM
3653 [BZ #15480]
3654 [BZ #15485]
3655 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3656 main case of finite arguments, set rounding mode to FE_TONEAREST
3657 and discard exceptions.
3658 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3659 exceptions.
3660 (remainder_tonearest_test_data): New variable.
3661 (remainder_test_tonearest): New function.
3662 (remainder_towardzero_test_data): New variable.
3663 (remainder_test_towardzero): New function.
3664 (remainder_downward_test_data): New variable.
3665 (remainder_test_downward): New function.
3666 (remainder_upward_test_data): New variable.
3667 (remainder_test_upward): New function.
3668 (main): Call the new test functions.
3669
a00bdcf0
JM
3670 * math/libm-test.inc (struct test_f_f1_data): Remove field
3671 extra_init.
3672 (struct test_fF_f1_data): Likewise.
3673 (struct test_ffI_f1_data): Likewise.
3674 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3675 based on value of EXTRA_EXPECTED.
3676 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3677 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3678 EXTRA_VAR based on value of EXTRA_EXPECTED.
3679 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3680 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3681 EXTRA_VAR based on value of EXTRA_EXPECTED.
3682 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3683 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3684 EXTRA_VAR based on value of EXTRA_EXPECTED.
3685 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3686 * math/gen-libm-test.pl (parse_args): Don't output initializers
3687 for extra output values.
3688
de407f79
JM
3689 * math/libm-test.inc (check_int): Expect result to be exactly
3690 equal to expected value and do not handle ulps.
3691 (check_long): Likewise.
3692 (check_longlong): Likewise.
3693
8269107f
JM
3694 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3695 exceptions.
3696 (cimag_test_data): Likewise.
3697 (conj_test_data): Likewise.
3698 (copysign_test_data): Likewise.
3699 (cproj_test_data): Likewise.
3700 (creal_test_data): Likewise.
3701 (fabs_test_data): Likewise.
3702 (fdim_test_data): Likewise.
3703 (finite_test_data): Likewise.
3704 (floor_test_data): Likewise.
3705 (fmax_test_data): Likewise.
3706 (fmin_test_data): Likewise.
3707 (fmod_test_data): Likewise.
3708 (fpclassify_test_data): Likewise.
3709 (frexp_test_data): Likewise.
3710 (ilogb_test_data): Likewise.
3711 (isfinite_test_data): Likewise.
3712 (isgreater_test_data): Likewise.
3713 (isgreaterequal_test_data): Likewise.
3714 (isinf_test_data): Likewise.
3715 (isless_test_data): Likewise.
3716 (islessequal_test_data): Likewise.
3717 (islessgreater_test_data): Likewise.
3718 (isnan_test_data): Likewise.
3719 (isnormal_test_data): Likewise.
3720 (issignaling_test_data): Likewise.
3721 (isunordered_test_data): Likewise.
3722 (ldexp_test_data): Likewise.
3723 (lrint_test_data): Likewise.
3724 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3725 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3726 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3727 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3728 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3729 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3730 test input.
3731 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3732 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3733 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3734 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3735 that test input.
3736 (lrint_downward_test_data): Test for "inexact" exceptions.
3737 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3738 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3739 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3740 test input.
3741 (lrint_upward_test_data): Test for "inexact" exceptions.
3742 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3743 test input.
3744 (llrint_test_data): Test for "inexact" exceptions.
3745 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3746 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3747 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3748 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3749 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3750 (llrint_downward_test_data): Test for "inexact" exceptions.
3751 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3752 (llrint_upward_test_data): Test for "inexact" exceptions.
3753 (logb_test_data): Likewise.
3754 (logb_downward_test_data): Likewise.
3755 (nextafter_test_data): Likewise.
3756 (nexttoward_test_data): Likewise.
3757 (remainder_test_data): Likewise.
3758 (remquo_test_data): Likewise.
3759 (scalbn_test_data): Likewise.
3760 (scalbln_test_data): Likewise.
3761 (signbit_test_data): Likewise.
3762 (sqrt_test_data): Likewise.
3763 (significand_test_data): Likewise.
3764
48a18de1
SP
37652013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3766
3767 [BZ #15424]
3768 * benchtests/bench-modf.c (struct args): Mark arg0 as
3769 volatile.
3770 * scripts/bench.pl: Mark members of struct args as volatile.
3771
13d3b41a
AZ
37722013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3773
68191c1d 3774 [BZ # 15497]
13d3b41a
AZ
3775 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3776 negative infinity on POWER6 or lower.
3777 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3778
2848b105
MR
37792013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3780
3781 [BZ #15442]
3782 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3783 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3784 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3785 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3786 (_FP_SETQNAN): New macro.
3787 (_FP_SETQNAN_SEMIRAW): Likewise.
3788 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3789 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3790 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3791 (FP_EXTEND): Use _FP_FRAC_SNANP.
3792 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3793 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3794 into account.
3795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3796 New macro.
3797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3798 Likewise.
3799
323e5cb7
JM
38002013-05-16 Joseph Myers <joseph@codesourcery.com>
3801
c58b274f
JM
3802 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3803 with DIVIDE_BY_ZERO_EXCEPTION.
3804 (gamma_test_data): Likewise.
3805 (lgamma_test_data): Likewise.
3806 (log_test_data): Likewise.
3807 (log10_test_data): Likewise.
3808 (log2_test_data): Likewise.
3809 (tgamma_test_data): Likewise.
3810
0ab34904
JM
3811 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3812 (acos_test_tonearest): Likewise.
3813 (acos_test_towardzero): Likewise.
3814 (acos_test_downward): Likewise.
3815 (acos_test_upward): Likewise.
3816 (acosh_test): Likewise.
3817 (asin_test): Likewise.
3818 (asin_test_tonearest): Likewise.
3819 (asin_test_towardzero): Likewise.
3820 (asin_test_downward): Likewise.
3821 (asin_test_upward): Likewise.
3822 (asinh_test): Likewise.
3823 (atan_test): Likewise.
3824 (atanh_test): Likewise.
3825 (atan2_test): Likewise.
3826 (cabs_test): Likewise.
3827 (cacos_test): Likewise.
3828 (cacosh_test): Likewise.
3829 (casin_test): Likewise.
3830 (casinh_test): Likewise.
3831 (catan_test): Likewise.
3832 (catanh_test): Likewise.
3833 (cbrt_test): Likewise.
3834 (ccos_test): Likewise.
3835 (ccosh_test): Likewise.
3836 (cexp_test): Likewise.
3837 (clog_test): Likewise.
3838 (clog10_test): Likewise.
3839 (cos_test): Likewise.
3840 (cos_test_tonearest): Likewise.
3841 (cos_test_towardzero): Likewise.
3842 (cos_test_downward): Likewise.
3843 (cos_test_upward): Likewise.
3844 (cosh_test): Likewise.
3845 (cosh_test_tonearest): Likewise.
3846 (cosh_test_towardzero): Likewise.
3847 (cosh_test_downward): Likewise.
3848 (cosh_test_upward): Likewise.
3849 (cpow_test): Likewise.
3850 (csin_test): Likewise.
3851 (csinh_test): Likewise.
3852 (csqrt_test): Likewise.
3853 (ctan_test): Likewise.
3854 (ctan_test_tonearest): Likewise.
3855 (ctan_test_towardzero): Likewise.
3856 (ctan_test_downward): Likewise.
3857 (ctan_test_upward): Likewise.
3858 (ctanh_test): Likewise.
3859 (ctanh_test_tonearest): Likewise.
3860 (ctanh_test_towardzero): Likewise.
3861 (ctanh_test_downward): Likewise.
3862 (ctanh_test_upward): Likewise.
3863 (erf_test): Likewise.
3864 (erfc_test): Likewise.
3865 (exp_test): Likewise.
3866 (exp_test_tonearest): Likewise.
3867 (exp_test_towardzero): Likewise.
3868 (exp_test_downward): Likewise.
3869 (exp_test_upward): Likewise.
3870 (exp10_test): Likewise.
3871 (exp2_test): Likewise.
3872 (expm1_test): Likewise.
3873 (fmod_test): Likewise.
3874 (gamma_test): Likewise.
3875 (hypot_test): Likewise.
3876 (j0_test): Likewise.
3877 (j1_test): Likewise.
3878 (jn_test): Likewise.
3879 (lgamma_test): Likewise.
3880 (log_test): Likewise.
3881 (log10_test): Likewise.
3882 (log1p_test): Likewise.
3883 (log2_test): Likewise.
3884 (logb_test_downward): Likewise.
3885 (pow_test): Likewise.
3886 (pow_test_tonearest): Likewise.
3887 (pow_test_towardzero): Likewise.
3888 (pow_test_downward): Likewise.
3889 (pow_test_upward): Likewise.
3890 (remainder_test): Likewise.
3891 (remquo_test): Likewise.
3892 (sin_test): Likewise.
3893 (sin_test_tonearest): Likewise.
3894 (sin_test_towardzero): Likewise.
3895 (sin_test_downward): Likewise.
3896 (sin_test_upward): Likewise.
3897 (sincos_test): Likewise.
3898 (sinh_test): Likewise.
3899 (sinh_test_tonearest): Likewise.
3900 (sinh_test_towardzero): Likewise.
3901 (sinh_test_downward): Likewise.
3902 (sinh_test_upward): Likewise.
3903 (sqrt_test): Likewise.
3904 (tan_test): Likewise.
3905 (tan_test_tonearest): Likewise.
3906 (tan_test_towardzero): Likewise.
3907 (tan_test_downward): Likewise.
3908 (tan_test_upward): Likewise.
3909 (tanh_test): Likewise.
3910 (tgamma_test): Likewise.
3911 (y0_test): Likewise.
3912 (y1_test): Likewise.
3913 (yn_test): Likewise.
3914
323e5cb7
JM
3915 * math/gen-libm-test.pl (adjust_arg): Remove function.
3916 (special_function): Remove argument $in_func. Only handle
3917 generating output for tables of tests, not inside functions.
3918 (parse_args): Likewise.
3919 (generate_testfile): Remove variable $in_func. Update call to
3920 parse_args.
3921 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3922 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3923 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3924 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3925 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3926 (MAX_VALUE_INIT): Rename macro to max_value.
3927 (MIN_VALUE_INIT): Rename macro to min_value.
3928 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3929 (plus_zero): Remove variable.
3930 (minus_zero): Likewise.
3931 (plus_infty): Likewise.
3932 (minus_infty): Likewise.
3933 (qnan_value): Likewise.
3934 (max_value): Likewise.
3935 (min_value): Likewise.
3936 (min_subnorm_value): Likewise.
3937
e054f494
RA
39382013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3939
3940 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3941 uint64_t or uint32_t usage.
3942 * crypt/sha256-block.c: Likewise.
3943 * crypt/sha256-crypt.c: Likewise.
3944 * crypt/sha256.c: Likewise.
3945 * crypt/sha512-block.c: Likewise.
3946 * crypt/sha512-crypt.c: Likewise.
3947 * crypt/sha512.c: Likewise.
3948 * debug/backtrace-tst.c: Likewise.
3949 * debug/pcprofiledump.c: Likewise.
3950 * elf/cache.c: Likewise.
3951 * elf/dl-cache.c: Likewise.
3952 * elf/dl-misc.c: Likewise.
3953 * elf/dl-profile.c: Likewise.
3954 * elf/dl-support.c: Likewise.
3955 * elf/ldconfig.c: Likewise.
3956 * elf/sprof.c: Likewise.
3957 * iconv/dummy-repertoire.c: Likewise.
3958 * iconv/iconv_charmap.c: Likewise.
3959 * iconv/skeleton.c: Likewise.
3960 * iconvdata/8bit-generic.c: Likewise.
3961 * iconvdata/cp737.h: Likewise.
3962 * iconvdata/cp775.h: Likewise.
3963 * iconvdata/ibm1008.h: Likewise.
3964 * iconvdata/ibm1025.h: Likewise.
3965 * iconvdata/ibm1046.h: Likewise.
3966 * iconvdata/ibm1097.h: Likewise.
3967 * iconvdata/ibm1112.h: Likewise.
3968 * iconvdata/ibm1122.h: Likewise.
3969 * iconvdata/ibm1123.h: Likewise.
3970 * iconvdata/ibm1124.h: Likewise.
3971 * iconvdata/ibm1129.h: Likewise.
3972 * iconvdata/ibm1130.h: Likewise.
3973 * iconvdata/ibm1132.h: Likewise.
3974 * iconvdata/ibm1133.h: Likewise.
3975 * iconvdata/ibm1137.h: Likewise.
3976 * iconvdata/ibm1140.h: Likewise.
3977 * iconvdata/ibm1141.h: Likewise.
3978 * iconvdata/ibm1142.h: Likewise.
3979 * iconvdata/ibm1143.h: Likewise.
3980 * iconvdata/ibm1144.h: Likewise.
3981 * iconvdata/ibm1145.h: Likewise.
3982 * iconvdata/ibm1146.h: Likewise.
3983 * iconvdata/ibm1147.h: Likewise.
3984 * iconvdata/ibm1148.h: Likewise.
3985 * iconvdata/ibm1149.h: Likewise.
3986 * iconvdata/ibm1153.h: Likewise.
3987 * iconvdata/ibm1154.h: Likewise.
3988 * iconvdata/ibm1155.h: Likewise.
3989 * iconvdata/ibm1156.h: Likewise.
3990 * iconvdata/ibm1157.h: Likewise.
3991 * iconvdata/ibm1158.h: Likewise.
3992 * iconvdata/ibm1160.h: Likewise.
3993 * iconvdata/ibm1161.h: Likewise.
3994 * iconvdata/ibm1162.h: Likewise.
3995 * iconvdata/ibm1163.h: Likewise.
3996 * iconvdata/ibm1164.h: Likewise.
3997 * iconvdata/ibm1166.h: Likewise.
3998 * iconvdata/ibm1167.h: Likewise.
3999 * iconvdata/ibm12712.h: Likewise.
4000 * iconvdata/ibm1390.h: Likewise.
4001 * iconvdata/ibm1399.h: Likewise.
4002 * iconvdata/ibm16804.h: Likewise.
4003 * iconvdata/ibm4517.h: Likewise.
4004 * iconvdata/ibm4899.h: Likewise.
4005 * iconvdata/ibm4909.h: Likewise.
4006 * iconvdata/ibm4971.h: Likewise.
4007 * iconvdata/ibm5347.h: Likewise.
4008 * iconvdata/ibm803.h: Likewise.
4009 * iconvdata/ibm856.h: Likewise.
4010 * iconvdata/ibm901.h: Likewise.
4011 * iconvdata/ibm902.h: Likewise.
4012 * iconvdata/ibm9030.h: Likewise.
4013 * iconvdata/ibm9066.h: Likewise.
4014 * iconvdata/ibm921.h: Likewise.
4015 * iconvdata/ibm922.h: Likewise.
4016 * iconvdata/ibm9448.h: Likewise.
4017 * iconvdata/isiri-3342.h: Likewise.
4018 * iconvdata/jis0201.h: Likewise.
4019 * include/link.h: Likewise.
4020 * include/netdb.h: Likewise.
4021 * inet/check_native.c: Likewise.
4022 * inet/check_pf.c: Likewise.
4023 * inet/getipv4sourcefilter.c: Likewise.
4024 * inet/getnameinfo.c: Likewise.
4025 * inet/getsourcefilter.c: Likewise.
4026 * inet/htonl.c: Likewise.
4027 * inet/setipv4sourcefilter.c: Likewise.
4028 * inet/setsourcefilter.c: Likewise.
4029 * inet/test-inet6_opt.c: Likewise.
4030 * inet/tst-network.c: Likewise.
4031 * locale/C-collate.c: Likewise.
4032 * locale/C-ctype.c: Likewise.
4033 * locale/C-time.c: Likewise.
4034 * locale/C-translit.h: Likewise.
4035 * locale/loadarchive.c: Likewise.
4036 * locale/programs/3level.h: Likewise.
4037 * locale/programs/charmap.c: Likewise.
4038 * locale/programs/charmap.h: Likewise.
4039 * locale/programs/ld-address.c: Likewise.
4040 * locale/programs/ld-collate.c: Likewise.
4041 * locale/programs/ld-ctype.c: Likewise.
4042 * locale/programs/ld-identification.c: Likewise.
4043 * locale/programs/ld-measurement.c: Likewise.
4044 * locale/programs/ld-messages.c: Likewise.
4045 * locale/programs/ld-monetary.c: Likewise.
4046 * locale/programs/ld-name.c: Likewise.
4047 * locale/programs/ld-numeric.c: Likewise.
4048 * locale/programs/ld-paper.c: Likewise.
4049 * locale/programs/ld-telephone.c: Likewise.
4050 * locale/programs/ld-time.c: Likewise.
4051 * locale/programs/linereader.c: Likewise.
4052 * locale/programs/locale.c: Likewise.
4053 * locale/programs/locarchive.c: Likewise.
4054 * locale/programs/locfile.h: Likewise.
4055 * locale/programs/repertoire.c: Likewise.
4056 * locale/programs/simple-hash.c: Likewise.
4057 * locale/programs/simple-hash.h: Likewise.
4058 * malloc/memusage.c: Likewise.
4059 * malloc/memusagestat.c: Likewise.
4060 * nis/nis_defaults.c: Likewise.
4061 * nis/nis_hash.c: Likewise.
4062 * nis/nis_print.c: Likewise.
4063 * nis/nis_xdr.c: Likewise.
4064 * nscd/connections.c: Likewise.
4065 * nscd/hstcache.c: Likewise.
4066 * nscd/nscd_gethst_r.c: Likewise.
4067 * nscd/nscd_getserv_r.c: Likewise.
4068 * nscd/nscd_helper.c: Likewise.
4069 * nscd/servicescache.c: Likewise.
4070 * nss/makedb.c: Likewise.
4071 * nss/nss_db/db-XXX.c: Likewise.
4072 * nss/nss_db/db-initgroups.c: Likewise.
4073 * nss/nss_db/db-netgrp.c: Likewise.
4074 * nss/nss_files/files-network.c: Likewise.
4075 * nss/nss_files/files-parse.c: Likewise.
4076 * posix/bug-regex5.c: Likewise.
4077 * posix/fnmatch_loop.c: Likewise.
4078 * posix/regcomp.c: Likewise.
4079 * posix/regexec.c: Likewise.
4080 * posix/tst-rfc3484-2.c: Likewise.
4081 * posix/tst-rfc3484-3.c: Likewise.
4082 * posix/tst-rfc3484.c: Likewise.
4083 * resolv/nss_dns/dns-canon.c: Likewise.
4084 * resolv/nss_dns/dns-network.c: Likewise.
4085 * resolv/res_init.c: Likewise.
4086 * resolv/res_mkquery.c: Likewise.
4087 * resolv/tst-aton.c: Likewise.
4088 * stdlib/cxa_atexit.c: Likewise.
4089 * stdlib/cxa_finalize.c: Likewise.
4090 * stdlib/gen-fpioconst.c: Likewise.
4091 * stdlib/strtol_l.c: Likewise.
4092 * string/tst-endian.c: Likewise.
4093 * sunrpc/auth_des.c: Likewise.
4094 * sunrpc/clnt_udp.c: Likewise.
4095 * sunrpc/rtime.c: Likewise.
4096 * sunrpc/svcauth_des.c: Likewise.
4097 * sunrpc/xdr.c: Likewise.
4098 * sunrpc/xdr_intXX_t.c: Likewise.
4099 * sunrpc/xdr_rec.c: Likewise.
4100 * sysdeps/generic/ldconfig.h: Likewise.
4101 * sysdeps/generic/ldsodefs.h: Likewise.
4102 * sysdeps/generic/memusage.h: Likewise.
4103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4113 * sysdeps/posix/getaddrinfo.c: Likewise.
4114 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4116 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4118 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4119 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4120 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4121 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4122 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4124 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4125 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4126 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4127 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4128 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4129 * sysdeps/x86_64/dl-tls.h: Likewise.
4130 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4131 * time/alt_digit.c: Likewise.
4132 * time/era.c: Likewise.
4133 * wcsmbs/tst-c16c32-1.c: Likewise.
4134
8c75f674
JM
41352013-05-16 Joseph Myers <joseph@codesourcery.com>
4136
4137 * math/libm-test.inc (struct test_sincos_data): New type.
4138 (RUN_TEST_LOOP_sincos): New macro.
4139 (sincos_test_data): New variable.
4140 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4141
e6e49e59
RH
41422013-05-16 Richard Henderson <rth@redhat.com>
4143
4144 * math/atest-exp2.c (LIMB64): New macro.
4145 (CONSTSZ): New macro.
4146 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4147 (hexdig): Move ...
4148 (print_mpn_fp): ... to function scope.
4149 (read_mpn_hex): Remove.
4150 (get_log2): Remove.
4151 (exp2_mpn): Use mp_log2.
4152 (main): Use mp_exp1.
4153
15c7c18d
JM
41542013-05-16 Joseph Myers <joseph@codesourcery.com>
4155
105a07df
JM
4156 * math/libm-test.inc: Remove comment about not testing "inexact"
4157 exceptions.
4158 (INEXACT_EXCEPTION): New macro.
4159 (NO_INEXACT_EXCEPTION): Likewise.
4160 (INVALID_EXCEPTION_OK): Update value.
4161 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4162 (OVERFLOW_EXCEPTION_OK): Likewise.
4163 (UNDERFLOW_EXCEPTION_OK): Likewise.
4164 (IGNORE_ZERO_INF_SIGN): Likewise.
4165 (ERRNO_UNCHANGED): Likewise.
4166 (ERRNO_EDOM): Likewise.
4167 (ERRNO_ERANGE): Likewise.
4168 (test_exceptions): Handle testing "inexact" exceptions.
4169 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4170 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4171 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4172 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4173 INEXACT_EXCEPTION.
4174 (rint_towardzero_test_data): Likewise.
4175 (rint_downward_test_data): Likewise.
4176 (rint_upward_test_data): Likewise.
4177
e9eee333
JM
4178 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4179 with OVERFLOW_EXCEPTION.
4180 (exp10_test_data): Likewise.
4181 (exp2_test_data): Likewise.
4182 (expm1_test_data): Likewise.
4183 (lgamma_test_data): Likewise.
4184 (pow_test_data): Likewise.
4185 (tgamma_test_data): Likewise.
4186 (yn_test_data): Remove duplicate test of overflow.
4187
1c38ff73
JM
4188 * math/libm-test.inc (struct test_cc_c_data): New type.
4189 (RUN_TEST_LOOP_cc_c): New macro.
4190 (cpow_test_data): New variable.
4191 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4192
15c7c18d
JM
4193 * math/libm-test.inc (struct test_f_L_data): New type.
4194 (RUN_TEST_LOOP_f_L): New macro.
4195 (llrint_test_data): New variable.
4196 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4197 (llrint_tonearest_test_data): New variable.
4198 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4199 (llrint_towardzero_test_data): New variable.
4200 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4201 (llrint_downward_test_data): New variable.
4202 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4203 (llrint_upward_test_data): New variable.
4204 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4205 (llround_test_data): New variable.
4206 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4207
f137ff13
PC
42082013-05-13 Peter Collingbourne <pcc@google.com>
4209
4210 * math/atest-exp2.c (get_log2): Remove const attribute.
4211
3608cb24
JM
42122013-05-15 Joseph Myers <joseph@codesourcery.com>
4213
4214 * math/libm-test.inc (struct test_f_l_data): New type.
4215 (RUN_TEST_LOOP_f_l): New macro.
4216 (lrint_test_data): New variable.
4217 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4218 (lrint_tonearest_test_data): New variable.
4219 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4220 (lrint_towardzero_test_data): New variable.
4221 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4222 (lrint_downward_test_data): New variable.
4223 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4224 (lrint_upward_test_data): New variable.
4225 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4226 (lround_test_data): New variable.
4227 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4228
39b1f617
PC
42292013-05-15 Peter Collingbourne <pcc@google.com>
4230
1deff3dc
PC
4231 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4232 (EXTRACT_WORDS64) Use where appropriate.
4233 (INSERT_WORDS64) Likewise.
4234
791f3ba0
PC
4235 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4236 constraints with x constraints.
4237 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4238
39b1f617
PC
4239 * malloc/obstack.c (_obstack_compat): Add initializer.
4240
12fba011
EM
42412013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4242
4243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4244 si_trapno and add si_addr_lsb to _sifields.sigfault.
4245 (si_trapno): Remove macro.
4246 (si_addr_lsb): Define new macro.
4247 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4248
d369f531
JM
42492013-05-15 Joseph Myers <joseph@codesourcery.com>
4250
b861c6c4
JM
4251 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4252 instead of TEST_f_l.
4253 (llrint_test_tonearest): Likewise.
4254 (llrint_test_towardzero): Likewise.
4255 (llrint_test_downward): Likewise.
4256 (llrint_test_upward): Likewise.
4257 (llround_test): Likewise.
4258
7abeee12
JM
4259 * math/libm-test.inc (struct test_f_i_data): Add comment.
4260 (RUN_TEST_LOOP_f_b): New macro.
4261 (RUN_TEST_LOOP_f_b_tg): Likewise.
4262 (finite_test_data): New variable.
4263 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4264 (isfinite_test_data): New variable.
4265 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4266 (isinf_test_data): New variable.
4267 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4268 (isnan_test_data): New variable.
4269 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4270 (isnormal_test_data): New variable.
4271 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4272 (issignaling_test_data): New variable.
4273 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4274 (signbit_test_data): New variable.
4275 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4276
cbe8c4d3
JM
4277 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4278 with INVALID_EXCEPTION.
4279 (acosh_test_data): Likewise.
4280 (asin_test_data): Likewise.
4281 (atanh_test_data): Likewise.
4282 (fmod_test_data): Likewise.
4283 (log_test_data): Likewise.
4284 (log10_test_data): Likewise.
4285 (log2_test_data): Likewise.
4286 (pow_test_data): Likewise.
4287 (sqrt_test_data): Likewise.
4288 (y0_test_data): Likewise.
4289 (y1_test_data): Likewise.
4290 (yn_test_data): Likewise.
4291
5575c0e5
JM
4292 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4293 function contents.
4294
d369f531
JM
4295 * math/libm-test.inc (struct test_ff_i_data): New type.
4296 (RUN_TEST_LOOP_ff_i_tg): New macro.
4297 (isgreater_test_data): New variable.
4298 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4299 (isgreaterequal_test_data): New variable.
4300 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4301 (isless_test_data): New variable.
4302 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4303 (islessequal_test_data): New variable.
4304 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4305 (islessgreater_test_data): New variable.
4306 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4307 (isunordered_test_data): New variable.
4308 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4309
781fd748
DM
43102013-05-14 David S. Miller <davem@davemloft.net>
4311
4312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4313
87aa21df
JM
43142013-05-14 Joseph Myers <joseph@codesourcery.com>
4315
5e908270
JM
4316 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4317
f71172e5
JM
4318 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4319 extra_test to int.
4320 (struct test_f_i_data): Change type of max_ulp to int.
4321
8cfa635a
JM
4322 * math/libm-test.inc (test_ffI_f1_data): New type.
4323 (RUN_TEST_LOOP_ffI_f1): New macro.
4324 (remquo_test_data): New variable.
4325 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4326
2bcb36b2
JM
4327 * setjmp/tst-setjmp-fp.c: New file.
4328 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4329 (link-libm): New variable.
4330 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4331
acbd839a
JM
4332 * math/libm-test.inc (struct test_f_i_data): New type.
4333 (RUN_TEST_LOOP_f_i): New macro.
4334 (RUN_TEST_LOOP_f_i_tg): Likewise.
4335 (fpclassify_test_data): New variable.
4336 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4337 (ilogb_test_data): New variable.
4338 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4339
e414d745
JM
4340 * math/libm-test.inc (scalbln_test): Correct function name in END
4341 call.
4342
d9c2a0fd
JM
4343 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4344 (RUN_TEST_LOOP_fI_f1): New macro.
4345 (frexp_test_data): New variable.
4346 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4347
9dc9095d
JM
4348 * math/libm-test.inc (struct test_fF_f1_data): New type.
4349 (RUN_TEST_LOOP_fF_f1): New macro.
4350 (modf_test_data): New variable.
4351 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4352
87aa21df
JM
4353 * math/libm-test.inc (struct test_f_f1_data): New type.
4354 (RUN_TEST_LOOP_f_f1): New macro.
4355 (gamma_test_data): New variable.
4356 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4357 (lgamma_test_data): New variable.
4358 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4359
141af660
CD
43602013-05-13 Carlos O'Donell <carlos@redhat.com>
4361
4362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4363 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4364 (main): Comment "tls" pseudo-hwcap.
4365
6d33265c
JM
43662013-05-13 Joseph Myers <joseph@codesourcery.com>
4367
68fc074c
JM
4368 * math/libm-test.inc (struct test_fl_f_data): New type.
4369 (RUN_TEST_LOOP_fl_f): New variable.
4370 (scalbln_test_data): New variable.
4371 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4372
243216e1
JM
4373 * math/libm-test.inc (struct test_fi_f_data): New type.
4374 (RUN_TEST_LOOP_fi_f): New macro.
4375 (ldexp_test_data): New variable.
4376 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4377 (scalbn_test_data): New variable.
4378 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4379
6a1992e2
JM
4380 * math/libm-test.inc (struct test_c_f_data): New type.
4381 (RUN_TEST_LOOP_c_f): New macro.
4382 (cabs_test_data): New variable.
4383 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4384 (carg_test_data): New variable.
4385 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4386 (cimag_test_data): New variable.
4387 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4388 (creal_test_data): New variable.
4389 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4390
0e400df5
JM
4391 * math/libm-test.inc (struct test_if_f_data): New type.
4392 (RUN_TEST_LOOP_if_f): New macro.
4393 (jn_test_data): New variable.
4394 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4395 (yn_test_data): New variable.
4396 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4397
6d33265c
JM
4398 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4399
f98ece5f
AZ
44002013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401
4402 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4403 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4404
0f7d347b
SP
44052013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4406
43fe811b
SP
4407 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4408 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4409 (bench-deps): Add bench-timing.h.
4410 * benchtests-bench-skeleton.c: Include bench-timing.h.
4411 (main): Use TIMING_* macros instead of clock_gettime.
4412 * benchtests/bench-timing.h: New file.
4413
0f7d347b
SP
4414 [BZ #14582]
4415 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4416 Renamed from _LIB_VERSION.
4417 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4418
601a3a5f
JM
44192013-05-12 Joseph Myers <joseph@codesourcery.com>
4420
4f184d30
JM
4421 * math/libm-test.inc (struct test_fff_f_data): New type.
4422 (RUN_TEST_LOOP_fff_f): New macro.
4423 (fma_test_data): New variable.
4424 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4425 (fma_towardzero_test_data): New variable.
4426 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4427 (fma_downward_test_data): New variable.
4428 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4429 (fma_upward_test_data): New variable.
4430 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4431
08198877
JM
4432 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4433 (struct test_c_c_data): New type.
4434 (RUN_TEST_LOOP_c_c): New macro.
4435 (cacos_test_data): New variable.
4436 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4437 (cacosh_test_data): New variable.
4438 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4439 (casin_test_data): New variable.
4440 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4441 (casinh_test_data): New variable.
4442 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4443 (catan_test_data): New variable.
4444 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4445 (catanh_test_data): New variable.
4446 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4447 (ccos_test_data): New variable.
4448 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4449 (ccosh_test_data): New variable.
4450 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4451 (cexp_test_data): New variable.
4452 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4453 (clog_test_data): New variable.
4454 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4455 (clog10_test_data): New variable.
4456 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4457 (conj_test_data): New variable.
4458 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4459 (cproj_test_data): New variable.
4460 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4461 (csin_test_data): New variable.
4462 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4463 (csinh_test_data): New variable.
4464 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4465 (csqrt_test_data): New variable.
4466 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4467 (ctan_test_data): New variable.
4468 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4469 (ctan_tonearest_test_data): New variable.
4470 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4471 (ctan_towardzero_test_data): New variable.
4472 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4473 (ctan_downward_test_data): New variable.
4474 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4475 (ctan_upward_test_data): New variable.
4476 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4477 (ctanh_test_data): New variable.
4478 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4479 (ctanh_tonearest_test_data): New variable.
4480 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4481 (ctanh_towardzero_test_data): New variable.
4482 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4483 (ctanh_downward_test_data): New variable.
4484 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4485 (ctanh_upward_test_data): New variable.
4486 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4487 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4488 of BUILD_COMPLEX.
4489
601a3a5f
JM
4490 * math/libm-test.inc (struct test_ff_f_data): New type.
4491 (struct test_ff_f_data_nexttoward): Likewise.
4492 (RUN_TEST_LOOP_2_f): New macro.
4493 (RUN_TEST_LOOP_ff_f): Likewise.
4494 (atan2_test_data): New variable.
4495 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4496 (copysign_test_data): New variable.
4497 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4498 (fdim_test_data): New variable.
4499 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4500 (fmax_test_data): New variable.
4501 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4502 (fmin_test_data): New variable.
4503 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4504 (fmod_test_data): New variable.
4505 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4506 (hypot_test_data): New variable.
4507 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4508 (nextafter_test_data): New variable.
4509 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4510 (nexttoward_test_data): New variable.
4511 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4512 (pow_test_data): New variable.
4513 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4514 (pow_tonearest_test_data): New variable.
4515 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4516 (pow_towardzero_test_data): New variable.
4517 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4518 (pow_downward_test_data): New variable.
4519 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4520 (pow_upward_test_data): New variable.
4521 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4522 (remainder_test_data): New variable.
4523 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4524 (scalb_test_data): New variable.
4525 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527
74c57478
JM
45282013-05-11 Joseph Myers <joseph@codesourcery.com>
4529
8329e4da
JM
4530 * math/libm-test.inc (fma_test): Use max_value instead of local
4531 variable fltmax.
4532 (nextafter_test): Likewise.
4533
74c57478
JM
4534 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4535 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4536 (acos_downward_test_data): New variable.
4537 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4538 (acos_upward_test_data): New variable.
4539 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4540 (acosh_test_data): New variable.
4541 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4542 (asin_test_data): New variable.
4543 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4544 (asin_tonearest_test_data): New variable.
4545 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4546 (asin_towardzero_test_data): New variable.
4547 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4548 (asin_downward_test_data): New variable.
4549 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4550 (asin_upward_test_data): New variable.
4551 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4552 (asinh_test_data): New variable.
4553 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4554 (atan_test_data): New variable.
4555 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4556 (atanh_test_data): New variable.
4557 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4558 (cbrt_test_data): New variable.
4559 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4560 (ceil_test_data): New variable.
4561 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4562 (cos_test_data): New variable.
4563 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4564 (cos_tonearest_test_data): New variable.
4565 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4566 (cos_towardzero_test_data): New variable.
4567 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4568 (cos_downward_test_data): New variable.
4569 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4570 (cos_upward_test_data): New variable.
4571 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4572 (cosh_test_data): New variable.
4573 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4574 (cosh_tonearest_test_data): New variable.
4575 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4576 (cosh_towardzero_test_data): New variable.
4577 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4578 (cosh_downward_test_data): New variable.
4579 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4580 (cosh_upward_test_data): New variable.
4581 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4582 (erf_test_data): New variable.
4583 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4584 (erfc_test_data): New variable.
4585 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4586 (exp_test_data): New variable.
4587 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4588 (exp_tonearest_test_data): New variable.
4589 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4590 (exp_towardzero_test_data): New variable.
4591 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4592 (exp_downward_test_data): New variable.
4593 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4594 (exp_upward_test_data): New variable.
4595 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4596 (exp10_test_data): New variable.
4597 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4598 (exp2_test_data): New variable.
4599 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4600 (expm1_test_data): New variable.
4601 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4602 (fabs_test_data): New variable.
4603 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4604 (floor_test_data): New variable.
4605 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4606 (j0_test_data): New variable.
4607 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4608 (j1_test_data): New variable.
4609 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4610 (log_test_data): New variable.
4611 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4612 (log10_test_data): New variable.
4613 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4614 (log1p_test_data): New variable.
4615 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4616 (log2_test_data): New variable.
4617 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4618 (logb_test_data): New variable.
4619 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4620 (logb_downward_test_data): New variable.
4621 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4622 (nearbyint_test_data): New variable.
4623 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4624 (rint_test_data): New variable.
4625 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4626 (rint_tonearest_test_data): New variable.
4627 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4628 (rint_towardzero_test_data): New variable.
4629 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4630 (rint_downward_test_data): New variable.
4631 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4632 (rint_upward_test_data): New variable.
4633 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4634 (round_test_data): New variable.
4635 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4636 (sin_test_data): New variable.
4637 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4638 (sin_tonearest_test_data): New variable.
4639 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4640 (sin_towardzero_test_data): New variable.
4641 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4642 (sin_downward_test_data): New variable.
4643 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4644 (sin_upward_test_data): New variable.
4645 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4646 (sinh_test_data): New variable.
4647 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4648 (sinh_tonearest_test_data): New variable.
4649 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4650 (sinh_towardzero_test_data): New variable.
4651 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4652 (sinh_downward_test_data): New variable.
4653 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4654 (sinh_upward_test_data): New variable.
4655 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4656 (sqrt_test_data): New variable.
4657 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4658 (tan_test_data): New variable.
4659 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4660 (tan_tonearest_test_data): New variable.
4661 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4662 (tan_towardzero_test_data): New variable.
4663 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4664 (tan_downward_test_data): New variable.
4665 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4666 (tan_upward_test_data): New variable.
4667 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4668 (tanh_test_data): New variable.
4669 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4670 (tgamma_test_data): New variable.
4671 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4672 (trunc_test_data): New variable.
4673 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4674 (y0_test_data): New variable.
4675 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4676 (y1_test_data): New variable.
4677 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4678 (significand_test_data): New variable.
4679 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4680
7187d844
CG
46812013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4682
4683 [BZ #12387]
4684 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4685
f63fae73
PT
46862013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4687
4688 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4689
8a67a4b3
AJ
46902013-05-10 Andreas Jaeger <aj@suse.de>
4691
4692 [BZ #15448]
4693 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4694 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4695
51df539d
JM
46962013-05-10 Joseph Myers <joseph@codesourcery.com>
4697
4698 * math/gen-libm-test.pl (adjust_arg): New function.
4699 (special_functions): Handle generating output in both functions
4700 and arrays.
4701 (parse_args): Likewise.
4702 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4703 $in_func argument to parse_args.
4704 * math/libm-test.inc (struct test_f_f_data): New type.
4705 (IF_ROUND_INIT_): New macro.
4706 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4707 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4708 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4709 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4710 (ROUND_RESTORE_): Likewise.
4711 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4712 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4713 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4714 (ROUND_RESTORE_FE_UPWARD): Likewise.
4715 (RUN_TEST_LOOP_f_f): New macro.
4716 (acos_test_data): New variable.
4717 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4718 (acos_tonearest_test_data): New variable.
4719 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4720
5c637fe5
SP
47212013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4722
4723 * benchtests/bench-skeleton.c (startup): Fix coding style.
4724
ab2b9461
JM
47252013-05-10 Joseph Myers <joseph@codesourcery.com>
4726
4727 [BZ #6809]
4728 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4729 negative infinity argument.
4730 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4731 negative infinity argument.
4732 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4733 negative infinity argument.
4734 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4735 domain errors.
4736
4c0fe6fe
FW
47372013-05-10 Florian Weimer <fweimer@redhat.com>
4738
4739 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4740 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4741 * iconv/iconv_prog.c (main): Likewise.
4742 * locale/programs/charmap-dir.c (charmap_readdir)
4743 (fopen_uncompressed): Likewise.
4744 * locale/programs/locfile.c (siblings_uncached)
4745 (write_locale_data): Use lstat64 instead of lstat.
4746 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4747 stat.
4748
a3375d29
AJ
47492013-05-10 Andreas Jaeger <aj@suse.de>
4750
4751 [BZ #15395]
4752 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4753 localization.
4754 Include <locale.h>.
4755
36129722
CD
47562013-05-09 Carlos O'Donell <carlos@redhat.com>
4757
4758 * elf/dl-close.c (_dl_close_worker): Add comments.
4759
faa7f811
JM
47602013-05-09 Joseph Myers <joseph@codesourcery.com>
4761
ed41ffef
JM
4762 [BZ #15359]
4763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4764 high part of pi/2.
4765 (__ieee754_rem_pio2l): Update comments.
4766
d0213cd0
JM
4767 [BZ #15429]
4768 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4769 high part of pi/2.
4770 (__ieee754_rem_pio2l): Update comments.
4771
0d3e777a
JM
4772 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4773 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4774
24f56066
JM
4775 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4776 M_PI_4l.
4777
faa7f811
JM
4778 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4779 (M_PI_34_LOG10El): Likewise.
4780 (M_PI2_LOG10El): Likewise.
4781 (M_PI4_LOG10El): Likewise.
4782 (M_PI_LOG10El): Likewise.
4783
e9a5e0fd
AZ
47842013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785
4786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4787
d8cd06db
JM
47882013-05-08 Joseph Myers <joseph@codesourcery.com>
4789
a0d9f9d7
JM
4790 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4791 (MINUS_ZERO_INIT): Likewise.
4792 (PLUS_INFTY_INIT): Likewise.
4793 (MINUS_INFTY_INIT): Likewise.
4794 (QNAN_VALUE_INIT): Likewise.
4795 (MAX_VALUE_INIT): Likewise.
4796 (MIN_VALUE_INIT): Likewise.
4797 (MIN_SUBNORM_VALUE_INIT): Likewise.
4798 (plus_zero): Initialize with PLUS_ZERO_INIT.
4799 (minus_zero): Initialize with MINUS_ZERO_INIT.
4800 (plus_infty): Initialize with PLUS_INFTY_INIT.
4801 (minus_infty): Initialize with MINUS_INFTY_INIT.
4802 (qnan_value): Initialize with QNAN_VALUE_INIT.
4803 (max_value): Initialize with MAX_VALUE_INIT.
4804 (min_value): Initialize with MIN_VALUE_INIT.
4805 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4806
ae08db3b
JM
4807 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4808 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4809 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4810 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4811
f44bf14a
JM
4812 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4813 (RUN_TEST_2_f): Likewise.
4814 (RUN_TEST_ff_f): Likewise.
4815 (RUN_TEST_fi_f): Likewise.
4816 (RUN_TEST_fl_f): Likewise.
4817 (RUN_TEST_fff_f): Likewise.
4818 (RUN_TEST_c_f): Likewise.
4819 (RUN_TEST_f_f1): Likewise.
4820 (RUN_TEST_fF_f1): Likewise.
4821 (RUN_TEST_fI_f1): Likewise.
4822 (RUN_TEST_ffI_f1): Likewise.
4823 (RUN_TEST_c_c): Likewise.
4824 (RUN_TEST_cc_c): Likewise.
4825 (RUN_TEST_f_i): Likewise.
4826 (RUN_TEST_f_i_tg): Likewise.
4827 (RUN_TEST_ff_i_tg): Likewise.
4828 (RUN_TEST_f_b): Likewise.
4829 (RUN_TEST_f_b_tg): Likewise.
4830 (RUN_TEST_f_l): Likewise.
4831 (RUN_TEST_f_L): Likewise.
4832 (RUN_TEST_sincos): Likewise.
4833 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4834 whether to show exceptions. Do not include ");\n" in return
4835 value.
4836 (special_functions): Output call to RUN_TEST_sincos instead of
4837 check_float calls. Update calls to new_test.
4838 (parse_args): Output call to single RUN_TEST_* macro instead of
4839 check_* calls and other assignments. Update calls to new_test.
4840
d8cd06db
JM
4841 [BZ #2546]
4842 [BZ #2560]
4843 [BZ #5159]
4844 [BZ #15426]
4845 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4846 input to result for tgamma overflow.
4847 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4848 (gamma_coeff): New variable.
4849 (NCOEFF): New macro.
4850 (gamma_positive): New function.
4851 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4852 underflow here. Use gamma_positive instead of exp (lgamma) for
4853 other arguments.
4854 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4855 (gamma_coeff): New variable.
4856 (NCOEFF): New macro.
4857 (gammaf_positive): New function.
4858 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4859 underflow here. Use gamma_positive instead of exp (lgamma) for
4860 other arguments.
4861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4862 (gamma_coeff): New variable.
4863 (NCOEFF): New macro.
4864 (gammal_positive): New function.
4865 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4866 underflow here. Use gamma_positive instead of exp (lgamma) for
4867 other arguments.
4868 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4869 (gamma_coeff): New variable.
4870 (NCOEFF): New macro.
4871 (gammal_positive): New function.
4872 (__ieee754_gammal_r): Handle positive infinity, overflow and
4873 underflow here. Handle NaN the same as positive infinity. Remove
4874 check x < 0xffffffff for negative integers. Use gamma_positive
4875 instead of exp (lgamma) for other arguments.
4876 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4877 (gamma_coeff): New variable.
4878 (NCOEFF): New macro.
4879 (gammal_positive): New function.
4880 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4881 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4885 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4886 * sysdeps/generic/math_private.h (__gamma_productf): New
4887 prototype.
4888 (__gamma_product): Likewise.
4889 (__gamma_productl): Likewise.
4890 * math/Makefile (libm-calls): Add gamma_product.
4891 * math/libm-test.inc (tgamma_test): Add more tests.
4892 * sysdeps/i386/fpu/libm-test-ulps: Update.
4893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4894
bb7cf681
OB
48952013-05-08 Ondřej Bílka <neleai@seznam.cz>
4896
4897 * benchtests/bench-skeleton.c (main): Preheat CPU.
4898
ba853947
AJ
48992013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4900
4901 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4902
8347c74c
RM
49032013-05-07 Roland McGrath <roland@hack.frob.com>
4904
4905 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4906 and _dl_skip_args_internal.
4907
e8dd4791
CD
49082013-05-07 Carlos O'Donell <carlos@redhat.com>
4909
4910 * manual/message.texi (Message Translation): Talk about users.
4911 Message to key mapping impacts design.
4912
c7405830
RM
49132013-05-06 Roland McGrath <roland@hack.frob.com>
4914
a9173057
RM
4915 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4916
976e2f03
RM
4917 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4918
9723ffc5
RM
4919 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4920 * sysdeps/wordsize-64/glob64.c: ... here.
4921
962e6658
RM
4922 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4923 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4924 New macros.
4925
ee586a6d
RM
4926 * debug/getlogin_r_chk.c: Moved to ...
4927 * login/getlogin_r_chk.c: ... here.
4928 * debug/Makefile (routines): Move getlogin_r_chk to ...
4929 * login/Makefile (routines): ... here.
4930 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4931 * login/Versions (libc: GLIBC_2.4): ... here.
4932
355f9165
RM
4933 * io/poll.c (__poll): Renamed from poll.
4934 Add libc_hidden_def.
4935 (poll): Define as weak alias.
4936
bd9ffde6
RM
4937 * debug/ptsname_r_chk.c: Moved to ...
4938 * login/ptsname_r_chk.c: ... here.
4939 * debug/Makefile (routines): Move ptsname_r_chk to ...
4940 * login/Makefile (routines): ... here.
4941 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4942 * login/Versions (libc: GLIBC_2.4): ... here.
4943
8fb16a04
RM
4944 * posix/getlogin.c: Moved to ...
4945 * login/getlogin.c: ... here.
4946 * posix/getlogin_r.c: Moved to ...
4947 * login/getlogin_r.c: ... here.
4948 * posix/getlogin_r.c: Moved to ...
4949 * login/getlogin_r.c: ... here.
4950 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4951 * login/Makefile (routines): ... here.
4952 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4953 * login/Versions (libc: GLIBC_2.0): ... here.
4954
b99b892f
RM
4955 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4956 (setrlimit): Define as weak alias.
4957
c7405830
RM
4958 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4959 Call __ names for open, ftruncate, and close.
4960 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4961 (truncate): Define as weak alias.
4962
5bf96de5
JM
49632013-05-06 Joseph Myers <joseph@codesourcery.com>
4964
9ea3513c
JM
4965 * math/gen-libm-test.pl (parse_args): Initialize x before each
4966 test of frexp, modf and remquo.
4967
5bf96de5
JM
4968 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4969 test signgam value.
4970
16e616a7
AZ
49712013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4972
4973 [BZ #15418]
4974 [BZ #15419]
4975 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4976 internal tests.
4977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4978
d5e82754
RM
49792013-05-06 Roland McGrath <roland@hack.frob.com>
4980
4981 * elf/dl-writev.h: New file.
4982 * elf/dl-misc.c: Include it.
4983 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4984 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4985
a7548d41
JM
49862013-05-04 Joseph Myers <joseph@codesourcery.com>
4987
b7dab1e4
JM
4988 * math/libm-test.inc (noXFails): Remove variable.
4989 (noXPasses): Likewise.
4990 (BUILD_COMPLEX_INT): Remove macro.
4991 (print_screen): Remove xfail argument.
4992 (print_screen_max_error): Likewise.
4993 (update_stats): Likewise.
4994 (print_max_error): Likewise. Update calls to other affected
4995 functions.
4996 (print_complex_max_error): Likewise.
4997 (test_single_exception): Update calls to print_screen.
4998 (test_single_errno): Likewise.
4999 (check_float_internal): Remove xfail argument. Update calls to
5000 other affected functions.
5001 (check_float): Likewise.
5002 (check_complex): Likewise.
5003 (check_int): Likewise.
5004 (check_long): Likewise.
5005 (check_bool): Likewise.
5006 (check_longlong): Likewise.
5007 (main): Don't print noXFails and noXPasses.
5008 * math/gen-libm-test.pl (top level): Don't mention expected
5009 failure handling in comment.
5010 (new_test): Don't handle expected failures.
5011 (parse_args): Don't mention expected failure handling in comment.
5012 (generate_testfile): Don't handle expected failures.
5013 (parse_ulps): Likewise.
5014 (print_ulps_file): Likewise.
5015 (get_failure): Remove function.
5016 (output_test): Don't handle expected failures.
5017 * make/README.libm-test: Don't mention expected failure handling.
5018
a7548d41
JM
5019 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5020 (minus_zero): Likewise.
5021 (plus_infty): Likewise.
5022 (minus_infty): Likewise.
5023 (qnan_value): Likewise.
5024 (max_value): Likewise.
5025 (min_value): Likewise.
5026 (min_subnorm_value): Likewise.
5027 (initialize): Do not initialize those variables dynamically.
5028
60bfd54c
RM
50292013-05-03 Roland McGrath <roland@hack.frob.com>
5030
cc0e6ed8
RM
5031 * io/open.c (__open_2): Moved to ...
5032 * io/open_2.c: ... this new file.
5033 * io/open64.c (__open64_2): Moved to ...
5034 * io/open64_2.c: ... this new file.
5035 * io/openat.c (__openat_2): Moved to ...
5036 * io/openat_2.c: ... this new file.
5037 * io/openat64.c (__openat64_2): Moved to ...
5038 * io/openat64_2.c: ... this new file.
5039 * io/Makefile (routines): Add them.
5040 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5041 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5042 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5043 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5044 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5045 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5046 (__openat64): Add hidden_ver.
5047 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5048 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5049
60bfd54c
RM
5050 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5051 Separately conditionalize setting of GLRO(dl_sysinfo) so
5052 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5053 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5054
83e7640f
AZ
50552013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056
5057 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5058 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5059 definition.
5060 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5061 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5062 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5063 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5064 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5065
d5dc2af3
JM
50662013-05-03 Joseph Myers <joseph@codesourcery.com>
5067
c31a5b1e
JM
5068 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5069 test signgam value.
5070
d5dc2af3
JM
5071 * math/libm-test.inc (hypot_test): Do not use
5072 IGNORE_ZERO_INF_SIGN.
5073
164fd39d
AJ
50742013-05-03 Andreas Jaeger <aj@suse.de>
5075
5076 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5077 Linux 3.9.
5078 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5079 (PF_MAX): Adjust for VSOCK change.
5080
8237f48c
AZ
50812013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5084
9df02941
CD
50852013-05-02 Carlos O'Donell <carlos@redhat.com>
5086
5087 [BZ #15264]
5088 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5089 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5090 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5091
d422395e
DM
50922013-05-02 David S. Miller <davem@davemloft.net>
5093
5094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5095
a07c5731
OB
50962013-05-01 Ondřej Bílka <neleai@seznam.cz>
5097
5098 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5099
1324e37f
RM
51002013-05-01 Roland McGrath <roland@hack.frob.com>
5101
5102 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5103
0695940b
RS
51042013-05-01 Richard Smith <richard@metafoo.co.uk>
5105
bb5f27ad 5106 [BZ #14952]
0695940b
RS
5107 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5108 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5109 Use __attribute__ ((__gnu_inline__)).
5110 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5111 Don't use __attribute__ ((__gnu_inline__)).
5112
10de07f5
JM
51132013-05-01 Joseph Myers <joseph@codesourcery.com>
5114
5115 [BZ #15423]
5116 * math/s_catan.c (__catan): Handle small real or imaginary part of
5117 input specially to avoid spurious underflow.
5118 * math/s_catanf.c (__catanf): Likewise.
5119 * math/s_catanh.c (__catanh): Likewise.
5120 * math/s_catanhf.c (__catanhf): Likewise.
5121 * math/s_catanhl.c (__catanhl): Likewise.
5122 * math/s_catanl.c (__catanl): Likewise.
5123 * math/libm-test.inc (catan_test): Add more tests.
5124 (catanh_test): Likewise.
5125 * sysdeps/i386/fpu/libm-test-ulps: Update.
5126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5127
cb4d5414
AZ
51282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5129
5130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5131
caf84319
JM
51322013-04-30 Joseph Myers <joseph@codesourcery.com>
5133
5134 [BZ #15416]
5135 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5136 accurately for denominator in atan2.
5137 * math/s_catanf.c (__catanf): Likewise.
5138 * math/s_catanh.c (__catanh): Likewise.
5139 * math/s_catanhf.c (__catanhf): Likewise.
5140 * math/s_catanhl.c (__catanhl): Likewise.
5141 * math/s_catanl.c (__catanl): Likewise.
5142 * math/libm-test.inc (catan_test): Add more tests.
5143 (catanh_test): Likewise.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
d569c6ee
SP
51472013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5148
6dbe713d
SP
5149 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5150
f0ee064b
SP
5151 * benchtests/Makefile (bench): Remove slow benchmarks.
5152 * benchtests/atan-inputs: Add slow benchmark inputs.
5153 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5154 (BENCH_FUNC): Accept variant offset.
5155 (VARIANT): Define.
5156 * benchtests/bench-skeleton.c (main): Run benchmark for each
5157 variant.
5158 * benchtests/cos-inputs: Add slow benchmark inputs.
5159 * benchtests/exp-inputs: Likewise.
5160 * benchtests/pow-inputs: Likewise.
5161 * benchtests/sin-inputs: Likewise.
5162 * benchtests/slowatan-inputs: Remove.
5163 * benchtests/slowatan.c: Remove.
5164 * benchtests/slowcos-inputs: Remove.
5165 * benchtests/slowcos.c: Remove.
5166 * benchtests/slowexp-inputs: Remove.
5167 * benchtests/slowexp.c: Remove.
5168 * benchtests/slowpow-inputs: Remove.
5169 * benchtests/slowpow.c: Remove.
5170 * benchtests/slowsin-inputs: Remove.
5171 * benchtests/slowsin.c: Remove.
5172 * benchtests/slowtan-inputs: Remove.
5173 * benchtests/slowtan.c: Remove.
5174 * benchtests/tan-inputs: Add slow benchmark inputs.
5175 * scripts/bench.pl: Parse comments and directives.
5176
d569c6ee
SP
5177 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5178 in CPPFLAGS.
5179 ($(objpfx)bench-%.c): Remove *-ITER.
5180 * benchtests/bench-modf.c: Remove definition of ITER.
5181 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5182 (main): Loop for DURATION seconds instead of fixed number of
5183 iterations.
5184 * scripts/bench.pl: Don't expect iterations in parameters.
5185
a6a242fe
RM
51862013-04-29 Roland McGrath <roland@hack.frob.com>
5187
5188 * io/fchdir.c (__fchdir): Renamed from fchdir.
5189 (fchdir): Define as weak alias.
5190
f2da7793
JM
51912013-04-29 Joseph Myers <joseph@codesourcery.com>
5192
5193 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5194 (ERRNO_EDOM): Likewise.
5195 (ERRNO_ERANGE): Likewise.
5196 (noErrnoTests): New variable.
5197 (init_max_error): Set errno to 0.
5198 (test_single_errno): New function.
5199 (test_errno): Likewise.
5200 (check_float_internal): Call test_errno. Set errno to 0.
5201 (check_complex): Refer to errno tests in comment.
5202 (check_int): Call test_errno. Set errno to 0.
5203 (check_long): Likewise.
5204 (check_bool): Likewise.
5205 (check_longlong): Likewise.
5206 (cos_test): Use ERRNO_* flags for errno tests instead of
5207 check_int.
5208 (expm1_test): Likewise.
5209 (fmod_test): Likewise.
5210 (ilogb_test): Likewise.
5211 (lgamma_test): Likewise.
5212 (pow_test): Likewise.
5213 (remainder_test): Likewise.
5214 (sin_test): Likewise.
5215 (tan_test): Likewise.
5216 (yn_test): Likewise.
5217 (initialize): Set errno to 0.
5218 (main): Print number of errno tests.
5219 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5220
b1a36ceb
AJ
52212013-04-29 Andreas Jaeger <aj@suse.de>
5222
c3ed8088
AJ
5223 [BZ #15084]
5224 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5225 and RES_USEVC.
5226
f1a24198
AJ
5227 [BZ #15085]
5228 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5229 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5230 unimplemented.
5231
9ce3b2cb
AJ
5232 [BZ #15380]
5233 * stdlib/random.c (__initstate): Return NULL if
5234 __initstate fails.
5235
f1a24198 5236 [BZ #15086]
b1a36ceb
AJ
5237 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5238 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5239 RES_SNGLKUPREOP.
5240
7e7b6f36
AZ
52412013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242
5243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5244
4d14f449
JM
52452013-04-29 Joseph Myers <joseph@codesourcery.com>
5246
5247 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5248 of individual tests.
5249 (casin_test): Likewise.
5250 (casinh_test): Likewise.
5251
5b4217d7
JM
52522013-04-27 Joseph Myers <joseph@codesourcery.com>
5253
5254 [BZ #15409]
5255 * math/s_catan.c (__catan): Handle arguments with large real or
5256 imaginary part separately without squaring.
5257 * math/s_catanf.c (__catanf): Likewise.
5258 * math/s_catanh.c (__catanh): Likewise.
5259 * math/s_catanhf.c (__catanhf): Likewise.
5260 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5261 and redefine.
5262 (__catanhl): Handle arguments with large real or imaginary part
5263 separately without squaring.
5264 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5265 and redefine.
5266 (__catanl): Handle arguments with large real or imaginary part
5267 separately without squaring.
5268 * math/libm-test.inc (catan_test): Add more tests.
5269 (catanh_test): Likewise.
5270 * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272
4220c3ef
AJ
52732013-04-27 Andreas Jaeger <aj@suse.de>
5274
5275 [BZ #15007]
5276 * stdlib/stdlib.h: Update guards for qecvt.
5277 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5278 <stdlib.h>.
5279
4721b2d1
AM
52802013-04-27 Allan McRae <allan@archlinux.org>
5281
5282 * sysdeps/i386/fpu/libm-test-ulps: Update.
5283
f0302940
JM
52842013-04-26 Joseph Myers <joseph@codesourcery.com>
5285
9457fd95
JM
5286 [BZ #15406]
5287 * math/s_catan.c: Include <float.h>.
5288 (__catan): Ensure underflow exception occurs for underflowed
5289 result.
5290 * math/s_catanf.c: Include <float.h>.
5291 (__catanf): Ensure underflow exception occurs for underflowed
5292 result.
5293 * math/s_catanh.c: Include <float.h>.
5294 (__catanh): Ensure underflow exception occurs for underflowed
5295 result.
5296 * math/s_catanhf.c: Include <float.h>.
5297 (__catanhf): Ensure underflow exception occurs for underflowed
5298 result.
5299 * math/s_catanhl.c: Include <float.h>.
5300 (__catanhl): Ensure underflow exception occurs for underflowed
5301 result.
5302 * math/s_catanl.c: Include <float.h>.
5303 (__catanl): Ensure underflow exception occurs for underflowed
5304 result.
5305 * math/libm-test.inc (catan_test): Add more tests.
5306 (catanh_test): Likewise.
5307
f0302940
JM
5308 [BZ #15405]
5309 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5310 underflowed result.
5311 * math/s_ccoshf.c (__ccoshf): Likewise.
5312 * math/s_ccoshl.c (__ccoshl): Likewise.
5313 * math/s_csin.c (__csin): Likewise.
5314 * math/s_csinf.c (__csinf): Likewise.
5315 * math/s_csinh.c (__csinh): Likewise.
5316 * math/s_csinhf.c (__csinhf): Likewise.
5317 * math/s_csinhl.c (__csinhl): Likewise.
5318 * math/s_csinl.c (__csinl): Likewise.
5319 * math/libm-test.inc (ccos_test): Add more tests.
5320 (ccosh_test): Likewise.
5321 (csin_test): Likewise.
5322 (csinh_test): Likewise.
5323
aa630f59
AZ
53242013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5325
5326 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5327 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5328 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5329 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5330 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5331 powerpc/power5+/fpu folders.
5332 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5333
5334
1b835983
MT
53352013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5336
5337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5338
73709b26
JM
53392013-04-25 Joseph Myers <joseph@codesourcery.com>
5340
5341 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5342 additions to variable.
5343 [$(config-machine) = x86_64] (modules-names): Likewise.
5344 ($(objpfx)tst-audit3): Remove dependency.
5345 ($(objpfx)tst-audit3.out): Likewise.
5346 ($(objpfx)tst-audit4): Likewise.
5347 ($(objpfx)tst-audit4.out): Likewise.
5348 ($(objpfx)tst-audit5): Likewise.
5349 ($(objpfx)tst-audit5.out): Likewise.
5350 ($(objpfx)tst-audit6): Likewise.
5351 ($(objpfx)tst-audit6.out): Likewise.
5352 ($(objpfx)tst-audit7): Likewise.
5353 ($(objpfx)tst-audit7.out): Likewise.
5354 (tst-audit3-ENV): Remove variable.
5355 (tst-audit4-ENV): Likewise.
5356 (tst-audit5-ENV): Likewise.
5357 (tst-audit6-ENV): Likewise.
5358 (tst-audit7-ENV): Likewise.
5359 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5360 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5361 addition to variable.
5362 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5363 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5364 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5365 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5366 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5367 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5368 tst-audit3, tst-audit4 and tst-audit5.
5369 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5370 tst-audit6 and tst-audit7.
5371 [$(subdir) = elf] (modules-names): Add audit modules for those
5372 tests.
5373 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5374 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5375 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5376 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5377 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5378 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5379 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5380 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5381 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5382 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5383 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5384 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5385 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5386 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5387 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5388 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5389 Likewise.
5390 [$(subdir) = elf && $(config-cflags-avx) = yes]
5391 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5392 [$(subdir) = elf && $(config-cflags-avx) = yes]
5393 (CFLAGS-tst-auditmod4a.c): Likewise.
5394 [$(subdir) = elf && $(config-cflags-avx) = yes]
5395 (CFLAGS-tst-auditmod4b.c): Likewise.
5396 [$(subdir) = elf && $(config-cflags-avx) = yes]
5397 (CFLAGS-tst-auditmod6b.c): Likewise.
5398 [$(subdir) = elf && $(config-cflags-avx) = yes]
5399 (CFLAGS-tst-auditmod6c.c): Likewise.
5400 [$(subdir) = elf && $(config-cflags-avx) = yes]
5401 (CFLAGS-tst-auditmod7b.c): Likewise.
5402 * elf/tst-audit3.c: Move to ...
5403 * sysdeps/x86_64/tst-audit3.c: ... here.
5404 * elf/tst-audit4.c: Move to ...
5405 * sysdeps/x86_64/tst-audit4.c: ... here.
5406 * elf/tst-audit5.c: Move to ...
5407 * sysdeps/x86_64/tst-audit5.c: ... here.
5408 * elf/tst-audit6.c: Move to ...
5409 * sysdeps/x86_64/tst-audit6.c: ... here.
5410 * elf/tst-audit7.c: Move to ...
5411 * sysdeps/x86_64/tst-audit7.c: ... here.
5412 * elf/tst-auditmod3a.c: Move to ...
5413 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5414 * elf/tst-auditmod3b.c: Move to ...
5415 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5416 * elf/tst-auditmod4a.c: Move to ...
5417 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5418 * elf/tst-auditmod4b.c: Move to ...
5419 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5420 * elf/tst-auditmod5a.c: Move to ...
5421 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5422 * elf/tst-auditmod5b.c: Move to ...
5423 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5424 * elf/tst-auditmod6a.c: Move to ...
5425 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5426 * elf/tst-auditmod6b.c: Move to ...
5427 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5428 * elf/tst-auditmod6c.c: Move to ...
5429 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5430 * elf/tst-auditmod7a.c: Move to ...
5431 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5432 * elf/tst-auditmod7b.c: Move to ...
5433 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5434
1ef74943
PP
54352013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5436
5437 [BZ #15366]
5438 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5439 define unconditionally.
5440 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5441 define unconditionally.
5442 (INT8_C, INT16_C, etc.): Likewise.
5443
93fd48c5
MR
54442013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5445
ae9552cf
MR
5446 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5447 __ehdr_start with hidden visibility.
5448
93fd48c5
MR
5449 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5450
418601aa
CD
54512013-04-24 Carlos O'Donell <carlos@redhat.com>
5452
5453 * math/libm-test.inc (cos_test): Use accurate hex constants.
5454 (sincost_test): Likewise.
5455
2f38fbfe
JM
54562013-04-24 Joseph Myers <joseph@codesourcery.com>
5457
5e221800
JM
5458 * math/libm-test.inc (catan_test): Add more tests.
5459 (catanh_test): Likewise.
5460
77f143fd
JM
5461 * math/s_catanf.c (__catanf): Use suffixed floating-point
5462 constants.
5463 * math/s_catanhf.c (__catanhf): Likewise.
5464 * math/s_catanhl.c (__catanhl): Likewise.
5465 * math/s_catanl.c (__catanl): Likewise.
5466
2f38fbfe
JM
5467 [BZ #15394]
5468 * math/s_catan.c (__catan): Calculate imaginary part of result
5469 with log1p not log unless computing log of number close to 0.
5470 * math/s_catanf.c (__catanf): Likewise.
5471 * math/s_catanl.c (__catanl): Likewise.
5472 * math/s_catanh.c (__catanh): Calculate real part of result with
5473 log1p not log unless computing log of number close to 0.
5474 * math/s_catanhf.c (__catanhf): Likewise.
5475 * math/s_catanhl.c (__catanhl): Likewise.
5476 * math/libm-test.inc (catan_test): Add more tests.
5477 (catanh_test): Likewise.
5478 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5480
45d69176
SP
54812013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5482
5483 * benchtests/Makefile: Mention files in which fast and slow
5484 paths of math functions are implemented.
5485
87f51853
RM
54862013-04-23 Roland McGrath <roland@hack.frob.com>
5487
5488 * sysdeps/posix/timespec_get.c: New file.
5489
3c026539
AZ
54902013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5491
5492 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5493 POWER.
5494 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5495 for POWER.
5496 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5497 powerpc/power5/fpu folders.
5498 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5499 * benchtests/Makefile: Add modf testcase.
5500 * benchtests/bench-modf.c: New file: Benchmark test for mo
5501
ff491d14
SP
55022013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 [BZ #14888]
5505 * time/Makefile (tests): Add tst-strptime-whitespace.
5506 * time/strptime_l.c (get_number): Use ISSPACE.
5507 (__strptime_internal): Likewise.
5508 * time/tst-strptime-whitespace.c: New test case.
5509
7ed3f4e8
AS
55102013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5511
5512 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5513 member.
5514 (_nss_files_init): Set it here.
5515
5c95f7b6
HC
55162013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5517
5518 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5519 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5520 unsigned.
5521
d34c9158
JBG
55222013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5523
5524 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5525
2169712d
SP
55262013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5527
5528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5529 size just once.
5530
29c5de99
DM
55312013-04-21 David S. Miller <davem@davemloft.net>
5532
5533 * po/ru.po: Update Russion translation from translation project.
5534
ccdad15d
AC
55352013-04-17 Adam Conrad <adconrad@0c3.net>
5536
5537 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5538 and setfsgid.
5539
0f122b8d
CD
55402013-04-17 Carlos O'Donell <carlos@redhat.com>
5541
5c5b07da 5542 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5543 * configure: Regenerate.
5c5b07da 5544 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5545 Add example to error message.
5546 * sysdeps/i386/configure: Regenerate.
5547
037714dd
SP
55482013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5549
5550 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5551 slowtan.
5552 * benchtests/cos-inputs: New file.
5553 * benchtests/slowcos-inputs: New file.
5554 * benchtests/slowcos.c: New file.
5555 * benchtests/slowtan-inputs: New file.
5556 * benchtests/slowtan.c: New file.
5557 * benchtests/tan-inputs: New file.
5558
e913141d
RM
55592013-04-16 Roland McGrath <roland@hack.frob.com>
5560
5561 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5562 considered kosher.
5563
a2964074
SP
55642013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
4856bcd2
SP
5566 * benchtests/Makefile: Include cppflags-iterator.mk to add
5567 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5568
a2964074
SP
5569 * Makefile.in (bench-clean): New target.
5570 * benchtests/Makefile (bench-clean): Likewise.
5571
9fbf9aca
DH
55722013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5573
5574 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5575
207d1e2a
TS
55762013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5577
5578 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5579
306dfba9
AS
55802013-04-15 Andreas Schwab <schwab@suse.de>
5581
5582 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5584 * nscd/pwdcache.c (cache_addpw): Likewise.
5585 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5586 more than recsize.
5587
206a6699
SP
55882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5589
5590 * benchtests/Makefile (bench): Write all output to
5591 bench-out.tmp together.
5592
0582f6b3
AS
55932013-04-15 Andreas Schwab <schwab@suse.de>
5594
5595 * nscd/nscd.c (main): Don't fork again after closing files.
5596
acb4325f
SP
55972013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5598
5cb26d0a
SP
5599 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5600
acb4325f
SP
5601 * benchtests/Rules (bench-deps): Collect dependencies into a
5602 single variable. Add Makefile to dependencies.
5603 ($(objpfx)bench-%.c): Depend on bench-deps.
5604
47792506
RM
56052013-04-12 Roland McGrath <roland@hack.frob.com>
5606 Xavier Roche <roche+kml2@exalead.com>
5607
5608 [BZ #15361]
5609 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5610 just that it's a file descriptor.
5611 * manual/llio.texi (Synchronizing AIO Operations): Update description
5612 for EBADF error from aio_fsync.
5613
8fc1bee5
SP
56142013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5615
5616 * Rules (bench): Move target definition...
5617 * benchtests/Makefile: ... here.
5618
aba5e333
CD
56192013-04-11 Carlos O'Donell <carlos@redhat.com>
5620
5621 * math/libm-test.inc (cos_test): Fix PI/2 test.
5622 (sincos_test): Likewise.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5624 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5625
273cdee8
AS
56262013-04-11 Andreas Schwab <schwab@suse.de>
5627
6ecec3b6
AS
5628 [BZ #13988]
5629 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5630 accept exponent character only when digits were seen.
5631 * stdio-common/Makefile (tests): Add bug26.
5632 * stdio-common/bug26.c: New file.
5633
273cdee8
AS
5634 [BZ #14293]
5635 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5636 non-freeable.
5637
8da491f5
SP
56382013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5639
01dc6df9
SP
5640 * Makeconfig (rtld-prefix): Define built linker prefix.
5641 * Rules (run-bench): Use it.
5642 * math/Makefile (run-regen-ulps): Likewise.
5643
8da491f5
SP
5644 * Rules (bench): Remove eval.
5645
abe7f530
SP
56462013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5647 Roland McGrath <roland@hack.frob.com>
5648 Ondrej Bilka <neleai@seznam.cz>
5649
5650 [BZ #15346]
5651 * time/getdate.c: Include ctype.h and alloca.h.
5652 (__getdate_r): Trim leading and trailing spaces of input.
5653 * time/tst-getdate.c (tests): Add tests with leading and
5654 trailing spaces.
5655
61c23e62
RM
56562013-04-08 Roland McGrath <roland@hack.frob.com>
5657
5658 [BZ #14280]
5659 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5660 when computing value.
5661
7208a313
CD
56622013-04-06 Carlos O'Donell <carlos@redhat.com>
5663
085b2d41
CD
5664 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5665 Use testrun.sh to run libm tests.
5666
7208a313
CD
5667 [BZ #15309]
5668 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5669
872c0acd
MM
56702013-04-06 Marko Myllynen <myllynen@redhat.com>
5671
5672 [BZ #15264]
5673 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5674
26510bdd
CD
56752013-04-06 Carlos O'Donell <carlos@redhat.com>
5676
5677 * Makefile.in (regen-ulps): New target.
5678 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5679 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5680 [ifneq (no,$(PERL)] (regen-ulps): New target.
5681 [ifeq (no,$(PERL)] (regen-ulps): New target.
5682 * math/libm-test.inc (ulps_file_name): Define.
5683 (output_dir): New variable.
5684 (options): Add "output-dir" option.
5685 (parse_opt): Handle 'o' case.
5686 (main): If output_dir is non-NULL use it as a prefix
5687 otherwise use "".
5688 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5689
a01f19c8
CD
56902013-04-06 Carlos O'Donell <carlos@redhat.com>
5691
5692 [BZ #10060, #10062]
5693 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5694 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5695 fail configure if __sync_val_compare_and_swap is not inlined.
5696 * sysdeps/i386/configure: Regenerate.
5697 * configure.in: Build for i686 when configured for i386.
5698 * configure: Regenerate.
5699 * README: Remove i386 reference.
5700
b7a329a5
CD
57012013-04-06 Carlos O'Donell <carlos@redhat.com>
5702
5703 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5705
bf0f50df
TS
57062013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5707
ee091edf
TS
5708 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5709 (lmsnanval): New variables.
5710 (F): Add conversion tests.
5711 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5712 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5713
a8b792d6
TS
5714 * stdio-common/tstdiomisc.c (F): Properly collect individual
5715 tests' results.
5716
a1cbf437
TS
5717 [BZ #14686, #15336]
5718 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5719 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5720 Instead, use input NaN values or generate a qNaN by arithmetic
5721 operation. Also fix bugs to comply with the standard.
5722 * math/libm-test.inc (remainder_test): Add more tests.
5723
8b43a0c9
TS
5724 [BZ #15335, #15342]
5725 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5727 input NaN values or generate a qNaN by arithmetic operation.
5728
d91da4ce
TS
5729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5730 unreachable code.
5731
bf0f50df
TS
5732 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5733 definitions.
5734
05e166c8
JM
57352013-04-03 Joseph Myers <joseph@codesourcery.com>
5736
5737 [BZ #14478]
5738 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5739 underflowed result.
5740 * math/s_cexpf.c (__cexpf): Likewise.
5741 * math/s_cexpl.c (__cexpl): Likewise.
5742 * math/libm-test.inc (cexp_test): Add more tests.
5743
1cef1b19
AS
57442013-04-03 Andreas Schwab <schwab@suse.de>
5745
5746 [BZ #15330]
5747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5748 order arrays from heap if bigger than alloca cutoff.
5749
74d87055
TS
57502013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5751
5752 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5753 (SNAN_TESTS_double): Refer to GCC PR56831.
5754 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5755 GCC PR56828.
5756
d755bba4
SP
57572013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
90d5d5bb
SP
5759 * Rules (bench): Move bench.out after the run is complete.
5760
73e0cd5d
SP
5761 * Rules (bench): Echo currently running benchmark.
5762
64aabd4b
SP
5763 * benchtests/Makefile (bench): Add atan and slowatan.
5764 * benchtests/atan-inputs: New file.
5765 * benchtests/slowatan-inputs: New file.
5766 * benchtests/slowatan.c: New file.
5767
c871eccd
SP
5768 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5770 its value.
5771
d755bba4
SP
5772 [BZ #15305]
5773 * sysdeps/unix/sysv/linux/kernel-features.h
5774 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5775 __ASSUME_XFS_RESTRICTED_CHOWN.
5776 * sysdeps/unix/sysv/linux/pathconf.c
5777 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5778 Save and restore errno.
5779
52ce4860
JM
57802013-04-02 Joseph Myers <joseph@codesourcery.com>
5781
5782 [BZ #15327]
5783 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5784 arguments using __kernel_casinh.
5785 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5786 arguments using __kernel_casinhf.
5787 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5788 arguments using __kernel_casinhl.
5789 * math/libm-test.inc (cacosh_test): Add more tests.
5790 * sysdeps/i386/fpu/libm-test-ulps: Update.
5791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5792
81f311c2
SP
57932013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
e7906a47
SP
5795 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5797
92e3664b
SP
5798 * bench/Makefile (bench): Add sin and slowsin.
5799 * benchtests/sin-inputs: New file.
5800 * benchtests/slowsin-inputs: New file.
5801 * benchtests/slowsin.c: New file.
5802
81f311c2
SP
5803 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5804 (bench): Add slowexp and slowpow.
5805 (exp-ITER): Increase iterations.
5806 (pow-ITER): Likewise.
5807 * benchtests/exp-inputs: Change input.
5808 * benchtests/pow-inputs: Likewise.
5809 * benchtests/slowexp-inputs: New file.
5810 * benchtests/slowexp.c: New file.
5811 * benchtests/slowpow-inputs: New file.
5812 * benchtests/slowpow.c: New file.
5813
ab0f1aa9
AZ
58142013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5817 instructions.
5818 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5819 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5820 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5821 * benchtests/Makefile: Add rint benchtest.
5822 * benchtests/rint-inputs: Input for rint benchtest.
5823
57267616
TS
58242013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5825
5826 * Versions.def (libm): Add GLIBC_2.18.
5827 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5828 hidden libm prototypes.
5829 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5830 * math/Makefile (libm-calls): Add s_issignaling.
5831 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5832 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5833 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5834 declaration.
5835 * math/math.h [__USE_GNU] (issignaling): New macro.
5836 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5837 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5839 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5842 * manual/arith.texi (issignaling): New section.
5843 * manual/libm-err-tab.pl (@all_functions): Update comment.
5844 * math/gen-libm-test.pl (parse_args): Apply special handling for
5845 issignaling.
5846 * math/libm-test.inc (print_float, issignaling_test): New
5847 functions.
5848 (check_float_internal): Add issignaling checks.
5849 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5850 default definition.
5851 * sysdeps/powerpc/math-tests.h: New file.
5852 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5853 tests.
5854 * math/test-snan.c (TEST_FUNC): Likewise.
5855
6142896d
DM
58562013-03-30 David S. Miller <davem@davemloft.net>
5857
5858 * po/de.po: Update from translation team.
5859
ccc8cadf
JM
58602013-03-30 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #10357]
5863 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5864 imaginary part less than 1.0 and real part less than 0.5
5865 specially.
5866 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5867 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5868 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5869 (cacos_test): Add more tests.
5870 (casin_test): Likewise.
5871 (casinh_test): Likewise.
5872 * sysdeps/i386/fpu/libm-test-ulps: Update.
5873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5874
0f6a8d4b
SP
58752013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5876
0d1029de
SP
5877 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5878 ONE with its value.
5879
c2d94018
SP
5880 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5881 (__pow_mp): Replace ONE and MONE with their values.
5882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5884 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5885 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5886 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5887 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5888
27ec37f1
SP
5889 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5890
a64d7e0e
SP
5891 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5892 (__pow_mp): Replace ZERO and MZERO with their values.
5893 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5895 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5897 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5898 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5899 (__sqr): Likewise.
5900
d26dd3eb
SP
5901 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5902
0f6a8d4b
SP
5903 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5904
e57b0c61
RM
59052013-03-28 Roland McGrath <roland@hack.frob.com>
5906
5907 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5908 Declare with __attribute__ ((weak)).
5909 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5910 Call __call_tls_dtors only if it's not NULL.
5911
356b3480
RM
59122013-03-28 Roland McGrath <roland@hack.frob.com>
5913
288f7d79
RM
5914 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5915 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5916 magic __ehdr_start linker symbol if it's defined.
5917 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5918 them up here if it was already done.
5919
dc0a0263
RM
5920 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5921 (_dl_aux_init): Use const in cast when setting it.
5922 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5923 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5924 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5925
3d3436ae
RM
5926 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5927 Declare them here.
5928 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5929 * csu/libc-tls.c: Nor here.
5930 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5931
356b3480
RM
5932 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5933 (__libc_message): Never call vsyslog.
5934
b0f1246a
AM
59352013-03-28 Alan Modra <amodra@gmail.com>
5936
5937 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5938 Define as empty.
5939 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5940 Likewise.
5941
fbbe2b9a
AZ
59422013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5943
5944 [BZ #15214]
5945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5946 underflow.
5947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5948
1728ab37
SP
59492013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5950
7a86be6e
SP
5951 [BZ #15304]
5952 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5953 Don't add gid passed as argument.
5954
1728ab37
SP
5955 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5956
3a7182a1
JM
59572013-03-27 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #15307]
5960 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5961 imaginary part between 1.0 and 1.5 and real part less than 0.5
5962 specially.
5963 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5964 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5965 * math/libm-test.inc (cacos_test): Add more tests.
5966 (casin_test): Likewise.
5967 (casinh_test): Likewise.
5968 * sysdeps/i386/fpu/libm-test-ulps: Update.
5969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5970
6f2e90e7
SP
59712013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
5739f705
SP
5973 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5974 constants.
5975 (norm): Likewise.
5976 (denorm): Likewise.
5977 (__dbl_mp): Likewise.
5978 (add_magnitudes): Likewise.
5979 (sub_magnitudes): Likewise.
5980 (__add): Likewise.
5981 (__sub): Likewise.
5982 (__mul): Likewise.
5983 (__sqr): Likewise.
5984 (__inv): Likewise.
5985 (__dvd): Likewise.
5986
e375e83d
SP
5987 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5988 commented code.
5989 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5990 (__dubcos): Likewise.
5991 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5992 (__ieee754_acos): Likewise.
5993 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5994 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5995 (__exp1): Likewise.
5996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5998 (log1): Likewise.
5999 (my_log2): Likewise.
6000 (checkint): Likewise.
6001 * sysdeps/ieee754/dbl-64/e_remainder.c
6002 (__ieee754_remainder): Likewise.
6003 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6005 (bsloww): Likewise.
6006 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6007
6f2e90e7
SP
6008 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6009 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6010 MANTISSA_STORE_T to store computations on mantissa. Use
6011 macros for rounding and division.
6012 (denorm): Likewise.
6013 (__dbl_mp): Likewise.
6014 (add_magnitudes): Likewise.
6015 (sub_magnitudes): Likewise.
6016 (__mul): Likewise.
6017 (__sqr): Likewise.
6018 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6019 powers of two in terms of TWOPOW macro.
6020 (mp_no): Make type of mantissa as MANTISSA_T.
6021 [!RADIXI]: Define RADIXI.
6022 [!TWO52]: Define TWO52.
6023 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6024
fce14d4e
AZ
60252013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6028 llroundl symbol when building for PPC32.
6029
9ad027fb
MW
60302013-03-24 Mark H Weaver <mhw@netris.org>
6031
6032 * manual/arith.texi (Normalization Functions): Fix prototypes for
6033 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6034
e42a38dd
AZ
60352013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036
6037 [BZ #13889]
6038 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6039 high value to check if expl overflow.
6040 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6041 to check for underflow and overflow.
6042 * math/libm-test.inc: Add exp test.
6043
2e0fb521
DL
60442013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6045
6046 [BZ #11120]
6047 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6048 with NOT_IN_libc.
6049
b5784d95
AZ
60502013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6053 symbol.
6054
5aa4a1a1
TS
60552013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6056
bdef0be7
TS
6057 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6058 wrap blocks consisting of several statements.
6059
5aa4a1a1
TS
6060 * sysdeps/generic/math-tests.h: New file.
6061 * sysdeps/i386/fpu/math-tests.h: Likewise.
6062 * math/test-snan.c: Include it.
6063 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6064
98c48fe5
JM
60652013-03-21 Joseph Myers <joseph@codesourcery.com>
6066
6067 [BZ #15285]
6068 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6069 (__ieee754_j0l): Do not improve calculations using cos of twice
6070 input for inputs above LDBL_MAX / 2.0L.
6071 (__ieee754_y0l): Likewise.
6072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6073 (__ieee754_j1l): Do not improve calculations using cos of twice
6074 input for inputs above LDBL_MAX / 2.0L.
6075 (__ieee754_y1l): Likewise.
6076 * math/libm-test.inc (j0_test): Add another test.
6077 (j1_test): Likewise.
6078 (y0_test): Likewise.
6079 (y1_test): Likewise.
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081
3775a8bc
SP
60822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6083
6084 * Rules ($(objpfx)bench-%.c): Include code from a C source
6085 file.
6086
0a1b2ae6
JM
60872013-03-21 Joseph Myers <joseph@codesourcery.com>
6088
6089 [BZ #15287]
6090 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6091 imaginary part 1.0 and real part less than 0.5 specially.
6092 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6093 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6094 * math/libm-test.inc (cacos_test): Add more tests.
6095 (casin_test): Likewise.
6096 (casinh_test): Likewise.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
b33d4ce4
SP
61002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6101
6102 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6103 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6104
bef0b507
JM
61052013-03-20 Joseph Myers <joseph@codesourcery.com>
6106
6107 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6108 * config.make.in (config-cflags-sse4): Remove variable.
6109 (config-cflags-avx): Likewise.
6110 (config-cflags-sse2avx): Likewise.
6111 (config-cflags-novzeroupper): Likewise.
6112 (config-asflags-i686): Likewise.
6113 (have-mfma4): Likewise.
6114 (have-as-vis3): Likewise.
6115 (MIG): Likewise.
6116 * configure.in (MIG): Do not AC_SUBST.
6117 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6118 (libc_cv_cc_sse4): Do not AC_SUBST.
6119 (libc_cv_cc_avx): Likewise.
6120 (libc_cv_cc_sse2avx): Likewise.
6121 (libc_cv_cc_novzeroupper): Likewise.
6122 (libc_cv_cc_fma4): Likewise.
6123 (libc_cv_as_i686): Likewise.
6124 (libc_cv_sparc_as_vis3): Likewise.
6125 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6126 LIBC_CONFIG_VAR.
6127 (config-asflags-i686): Likewise.
6128 (config-cflags-avx): Likewise.
6129 (config-cflags-sse2avx): Likewise.
6130 (have-mfma4): Likewise.
6131 (config-cflags-novzeroupper): Likewise.
6132 * sysdeps/mach/configure.in (MIG): Likewise.
6133 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6134 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6135 LIBC_CONFIG_VAR.
6136 (config-cflags-avx): Likewise.
6137 (config-cflags-sse2avx): Likewise.
6138 (have-mfma4): Likewise.
6139 (config-cflags-novzeroupper): Likewise.
6140 * configure: Regenerated.
6141 * sysdeps/i386/configure: Likewise.
6142 * sysdeps/mach/configure: Likewise.
6143 * sysdeps/sparc/configure: Likewise.
6144 * sysdeps/x86_64/configure: Likewise.
6145
912cc4b3
RM
61462013-03-20 Roland McGrath <roland@hack.frob.com>
6147
6148 [BZ #14812]
6149 * locale/programs/localedef.c (options): Put N_ translation marker
6150 on argument names, not just descriptions.
6151
04eed2b0
MS
61522013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6153
6154 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6155
a065ceff
OB
61562013-03-20 Ondřej Bílka <neleai@seznam.cz>
6157
9bb2a810 6158 [BZ #14176]
a065ceff
OB
6159 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6160
a600e5ce
RM
61612013-03-19 Roland McGrath <roland@hack.frob.com>
6162
6163 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6164 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6165 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6166 [!BEFORE_ABORT] (before_abort): New function.
6167 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6168 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6169 (writev_for_fatal): New function.
6170 (WRITEV_FOR_FATAL): New macro; call that.
6171 (backtrace_and_maps): New function.
6172 (BEFORE_ABORT): New macro; call that.
6173 (struct str_list): Type removed.
6174 (__libc_message, __libc_fatal): Functions removed.
6175 Include <sysdeps/posix/libc_fatal.c> instead.
6176
6b18bea6
JM
61772013-03-19 Joseph Myers <joseph@codesourcery.com>
6178
6179 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6180 constants.
6181 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6182 double constants.
6183
aaa8cb4b
AS
61842013-03-19 Andreas Schwab <schwab@suse.de>
6185
44673770
AS
6186 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6187 * sysdeps/gnu/configure: Regenerate.
6188
aaa8cb4b
AS
6189 * configure.in: Substitute libc_cv_rtlddir.
6190 * configure: Regenerate.
6191 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6192 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6193 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6194 * elf/Makefile (install-others, CFLAGS-interp.c)
6195 (ldso_install, common-ldd-rewrite): Likewise.
6196 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6197 $(inst_slibdir)/$(rtld-installed-name).
6198 * scripts/rellns-sh: Add -p option.
6199 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6200 for source.
6201
d3cfc668
SP
62022013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6203
6204 * manual/nptl.texi: Renamed to ...
6205 * manual/threads.texi: ... this.
6206 * manual/Makefile (chapters): Update.
6207
0e2b9cdd
RM
62082013-03-18 Roland McGrath <roland@hack.frob.com>
6209
6210 [BZ #14812]
6211 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6212 on argument names, not just descriptions.
0e2b9cdd
RM
6213 * malloc/memusagestat.c (options): Likewise.
6214 * nss/getent.c (options): Likewise.
63270c24
RM
6215
62162013-03-18 Benno Schulenberg <bensberg@justemail.net>
6217
6218 [BZ #14812]
6219 * iconv/iconv_prog.c (options): Put N_ translation marker
6220 on argument names, not just descriptions.
6221 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6222
b2e1393c
OB
62232013-03-18 Ondrej Bilka <neleai@seznam.cz>
6224
6225 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6226 implementation which is faster on all x86_64 architectures.
6227 Tested on AMD, Intel Nehalem, SNB, IVB.
6228 * sysdeps/x86_64/strnlen.S: Likewise.
6229
6230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6231 Remove all multiarch strlen and strnlen versions.
6232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6233 Remove strlen and strnlen related parts.
6234
6235 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6236 Inline strlen part.
6237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6238
6239 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6240 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6241 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6242 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6243 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6244 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6245
ec4ff04d
CD
62462013-03-17 Carlos O'Donell <carlos@redhat.com>
6247
6248 * manual/memory.texi (Malloc Tunable Parameters):
6249 Sort parameters alphabetically. Add comments for missing entries.
6250
cd18e90a
DM
62512013-03-17 David S. Miller <davem@davemloft.net>
6252
6253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6254
2a185d32
JM
62552013-03-16 Joseph Myers <joseph@codesourcery.com>
6256
d2f9799e
JM
6257 [BZ #15283]
6258 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6259 for arguments at most half maximum finite value.
6260 * math/libm-test.inc (j0_test): Add more tests.
6261 (j1_test): Likewise.
6262 (y0_test): Likewise.
6263 (y1_test): Likewise.
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266
2a185d32
JM
6267 [BZ #14155]
6268 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6269 1 / x and functions P and Q for arguments above 0x1p256L.
6270 (__ieee754_y0l): Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6272 (__ieee754_y1l): Likewise.
6273 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6274 (j1_test): Likewise.
6275 (y0_test): Likewise.
6276 (y1_test): Likewise.
6277
6cbec759
TS
62782013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6279
6280 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6281 variable.
6282
bc16e260
RM
62832013-03-15 Roland McGrath <roland@hack.frob.com>
6284
aefc9b8c
RM
6285 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6286 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6287 zero since it's initialized to EXEC_PAGESIZE.
6288
bc16e260
RM
6289 * sysdeps/unix/sysv/linux/ldsodefs.h
6290 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6291 * sysdeps/generic/ldsodefs.h: ... here.
6292
a57da955
TS
62932013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6294
af00a34d
TS
6295 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6296
495ded2c
TS
6297 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6298 math/test-snan.c.
6299 * math/test-snan.c: Renamed from
6300 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6301 * math/Makefile (tests): Add test-snan.
6302 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6303 test-powerpc-snan.
6304
777b0332
TS
6305 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6306 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6307 functions.
6308 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6309 __builtin_nan family of functions.
6310 * math/libm-test.inc (initialize): Initialize qnan_value with
6311 __builtin_nan family of functions.
6312 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6313 Remove variables.
6314 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6315 Remove functions.
6316 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6317 storage class. Initialize qNaN_var and sNaN_var with
6318 __builtin_nan and __builtin_nans families of functions,
6319 respectively.
6320
64d063b8
TS
6321 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6322 (sqrt_test): Remove duplicate test with qNaN input.
6323 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6324 (round_test, signbit_test, significand_test): Note missing +/-Inf
6325 as well as qNaN tests.
6326
67e971f1
TS
6327 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6328 qNaN_var. Fix a few strings, too.
6329 * math/libm-test.inc (nan_value): Rename to qnan_value.
6330 * math/gen-libm-test.pl (%beautify): Adjust to that.
6331 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6332 * math/test-misc.c (main): Likewise.
6333 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6334 to __qnan_bytes, and __qnan_union, respectively.
6335 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6336 Likewise.
6337 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6338 and lqnanval, respectively.
6339 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6340 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6341 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6342 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6343
64487e12
TS
6344 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6345 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6346 doubles.
6347
e015e27b
TS
6348 * math/test-misc.c (main): Fix copy'n'pastos.
6349 * misc/tst-efgcvt.c (special): Likewise.
6350
a57da955
TS
6351 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6352 Remove declarations.
6353
1e380345
SP
63542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6355
6356 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6357 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6358 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6359 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6360
ef26eece
AZ
63612013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6362
6363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6364 macro to return vdso values correctly in IFUNC implementations.
6365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6366 Optimization by using IFUNC.
6367
8cfdb7e0
SP
63682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6369 Richard Henderson <rth@redhat.com>
6370 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6371
6372 * Makefile.in (bench): New target.
6373 * NEWS: Mention the benchmark framework.
6374 * Rules (bench): Likewise.
6375 (binaries-bench): Generate binaries for functions to
6376 benchmark.
6377 * benchtests/Makefile: New makefile for benchmark tests.
6378 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6379 programs.
6380 * benchtests/exp-inputs: New input file for EXP function.
6381 * benchtests/pow-inputs: New input file for POW function.
6382 * scripts/bench.pl: New script to generate source files for
6383 benchmark programs.
6384
bcda9880
SP
63852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
d22ca8cd
SP
6387 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6388 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6389 computations on mantissa. Use macros for rounding and
6390 division.
6391 (denorm): Likewise.
6392 (__dbl_mp): Likewise.
6393 (add_magnitudes): Likewise.
6394 (sub_magnitudes): Likewise.
6395 (__mul): Likewise.
6396 (__sqr): Likewise.
6397 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6398 powers of two in terms of TWOPOW macro.
6399 (mp_no): Make type of mantissa as MANTISSA_T.
6400 [!RADIXI]: Define RADIXI.
6401 [!TWO52]: Define TWO52.
6402 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6403
bcda9880
SP
6404 * manual/nptl.texi (cindex): Modify threads to pthreads.
6405
06d5adfb
JM
64062013-03-15 Joseph Myers <joseph@codesourcery.com>
6407
6408 * sysdeps/x86_64/preconfigure: Regenerated.
6409
41c7328e
JM
64102013-03-14 Joseph Myers <joseph@codesourcery.com>
6411
6412 [BZ #14155]
6413 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6414 0x1p28 and above.
6415 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6416 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6417 0x1p28 and above.
6418 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6419 * math/libm-test.inc (j0_test): Do not allow one spurious
6420 underflow exception.
6421 (y1_test): Likewise.
6422
e25cfa60
SP
64232013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6424
0409959c
SP
6425 * manual/Makefile (chapters): Add nptl.
6426 * manual/debug.texi (Debugging Support): Add link to Threads
6427 chapter.
6428 * manual/nptl.texi: New file.
6429
e25cfa60
SP
6430 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6431
58a1335e
PB
64322013-03-14 Petr Baudis <pasky@ucw.cz>
6433
6434 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6435 for non-NULL pointer before the memory validity test. Pointed
6436 out by Holger Brunck <holger.brunck@keymile.com>.
6437
9dc7c64f
AS
64382013-03-13 Andreas Schwab <schwab@suse.de>
6439
6440 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6441 instead of .os.
6442
54206aa6
JM
64432013-03-13 Joseph Myers <joseph@codesourcery.com>
6444
6445 * timezone/zic.c: Update from tzcode 2013b.
6446
e98cdb38
CD
64472013-03-12 Carlos O'Donell <carlos@redhat.com>
6448
6449 * manual/install.texi (Configuring and compiling):
6450 Mention i686 and i586.
6451 * INSTALL: Regenerate.
6452
9967e003
RM
64532013-03-12 Roland McGrath <roland@hack.frob.com>
6454
6455 * sysdeps/init_array/elf-init.c: New file.
6456 * csu/elf-init.c
6457 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6458 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6459
6460 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6461 __gmon_start__ as global, but as static with a .preinit_array pointer.
6462 * sysdeps/init_array/gmon-start.c: New file. Use that.
6463 * sysdeps/init_array/crti.S: New file, empty except for comments.
6464 * sysdeps/init_array/crtn.S: Likewise.
6465
e6b5a293 64662013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6467
6468 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6469 definining bcopy.
80f844c9
OB
6470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6471 Remove Prefer_SSE_for_memop.
6472 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6473 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6474 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6476 memset-x86-64.
80f844c9 6477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6478 Remove bzero, memset ifunc support.
80f844c9
OB
6479 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6480 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6481 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6482 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6483
fb6b0fcb
AS
64842013-03-11 Andreas Schwab <schwab@suse.de>
6485
6486 [BZ #15234]
6487 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6488 by SHLIB_COMPAT.
6489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6490 (GLIBC_2.16): Remove pthread_atfork.
6491
3e6bd4b1
PP
64922013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6493
6494 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6495 (ptestcases.h): Likewise.
6496
222d7f00
RM
64972013-03-08 Roland McGrath <roland@hack.frob.com>
6498
6499 * Makeconfig ($(common-objpfx)config.status): Depend on
6500 sysdeps/*/preconfigure{,.in} too.
6501
1ba4f030
JM
65022013-03-08 Joseph Myers <joseph@codesourcery.com>
6503
a222d91a
JM
6504 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6505 (__free_hook): Use void * instead of __malloc_ptr_t.
6506 (__malloc_hook): Likewise.
6507 (__realloc_hook): Likewise.
6508 (__memalign_hook): Likewise.
6509 (__after_morecore_hook): Likewise.
6510 * malloc/arena.c (save_malloc_hook): Likewise.
6511 (save_free_hook): Likewise.
6512 * malloc/hooks.c (malloc_hook_ini): Likewise.
6513 (realloc_hook_ini): Likewise.
6514 (memalign_hook_ini): Likewise.
6515 * malloc/malloc.c (malloc_hook_ini): Likewise.
6516 (realloc_hook_ini): Likewise.
6517 (memalign_hook_ini): Likewise.
6518 (__free_hook): Likewise.
6519 (__malloc_hook): Likewise.
6520 (__realloc_hook): Likewise.
6521 (__memalign_hook): Likewise.
6522 (__libc_malloc): Likewise.
6523 (__libc_free): Likewise.
6524 (__libc_realloc): Likewise.
6525 (__libc_memalign): Likewise.
6526 (__libc_valloc): Likewise.
6527 (__libc_pvalloc): Likewise.
6528 (__libc_calloc): Likewise.
6529 (__posix_memalign): Likewise.
6530 * malloc/morecore.c (__sbrk): Likewise.
6531 (__default_morecore): Likewise.
6532
5cc45e10
JM
6533 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6534
dd54b864
JM
6535 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6536 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6537 __malloc_ptrdiff_t.
6538
1ba4f030
JM
6539 * malloc/malloc.h (__malloc_size_t): Remove macro.
6540 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6541 __malloc_size_t.
6542 (old_memalign_hook): Likewise.
6543 (old_realloc_hook): Likewise.
6544 (struct hdr): Likewise.
6545 (flood): Likewise.
6546 (mallochook): Likewise.
6547 (memalignhook): Likewise.
6548 (reallochook): Likewise.
6549 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6550 (tr_old_realloc_hook): Likewise.
6551 (tr_old_memalign_hook): Likewise.
6552 (tr_mallochook): Likewise.
6553 (tr_reallochook): Likewise.
6554 (tr_memalignhook): Likewise.
6555
edf66e57
AZ
65562013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557
6558 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6559 default_ldbl_pack and using as default implementation.
6560 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6561 implementation.
6562 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6563 redundant definition.
6564 (ldbl_insert_mantissa): Likewise.
6565 (ldbl_canonicalize): Likewise.
6566 (ldbl_nearbyint): Likewise.
6567 (ldbl_pack): Rename to ldbl_pack_ppc.
6568 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6569 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6570 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6571
6d9145d8
SP
65722013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6573
6574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6575 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6577 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6579 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6580 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6581 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6582
4dd4e157
AJ
65832013-03-07 Andreas Jaeger <aj@suse.de>
6584
6585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6586 bits/mman-linux.h.
6587
adbb8027
SP
65882013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6589
ce544b5b
SP
6590 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6591 Include mpa.h and declare __MPEXP.
6592 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6594 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6595 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6597 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6598 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6599
4cc149fd
SP
6600 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6601 (__slowpow): Use long double EXPL and LOGL functions to
6602 compute POW.
6603 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6604 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6605 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6606 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6607 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6609
e6ebd4a7
SP
6610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6611 intermediate variable to calculate exponent.
6612 (__sqr): Likewise.
6613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6614 Likewise.
6615 (__sqr): Likewise.
6616
82a9811d
SP
6617 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6618 [!NO__SQR]: Define __sqr.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6620 and NO__SQR. Remove all code except __mul and __sqr. Include
6621 sysdeps/ieee754/dbl-64/mpa.c.
6622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6623
adbb8027
SP
6624 [BZ #12723]
6625 * posix/Makefile (tests): Add tst-pathconf.
6626 * posix/tst-pathconf.c: New test case.
6627 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6628 _PC_PIPE_BUF.
6629 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6630
39120df9
PF
66312013-03-06 Patsy Franklin <pfrankli@redhat.com>
6632
6633 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6634
67525cb8
AJ
66352013-03-06 Andreas Jaeger <aj@suse.de>
6636
664a9ce4
AJ
6637 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6638 definition via __MAP_ANONYMOUS.
6639
8e39047d
AJ
6640 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6641 it's not part of Linux headers.
6642
67525cb8
AJ
6643 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6644 (MAP_HUGE_MASK): Define.
6645
6646 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6647 Define.
6648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6650 Define.
6651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6652 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6653 Define.
6654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6655 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6656 Define.
6657 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6658
6659 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6660 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6661 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6662 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6663 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6664 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6665
6666 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6667 Handle f2fs.
6668
6669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6670 Handle f2fs and efivarfs.
6671
6672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6673 f2fs.
6674
6675 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6676 (EFIVARFS_MAGIC): Add.
6677 (F2FS_LINK_MAX): Add.
6678
e1b42695
PP
66792013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6680
6681 * stdio-common/vfprintf.c: Replace __builtin_expect with
6682 __glibc_unlikely.
6683
2d67d91a
JM
66842013-03-06 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #13550]
6687 * sysdeps/generic/bp-sym.h: Remove file.
6688 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6689 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6690 <bp-sym.h> and <bp-asm.h>.
6691 (__longjmp): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6693 and <bp-asm.h>.
6694 (memcpy): Don't use BP_SYM.
6695 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6696 <bp-sym.h> and <bp-asm.h>.
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6699 <bp-asm.h>.
6700 (memcpy): Don't use BP_SYM.
6701 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6702 <bp-asm.h>.
6703 (memset): Don't use BP_SYM.
6704 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6705 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6706 (__bzero): Don't use BP_SYM.
6707 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6708 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6710 <bp-sym.h> and <bp-asm.h>.
6711 (memcmp): Don't use BP_SYM. Remove comment about bounded
6712 pointers.
6713 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (memcpy): Don't use BP_SYM.
6716 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6717 <bp-sym.h> and <bp-asm.h>.
6718 (memset): Don't use BP_SYM.
6719 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6721 (__bzero): Don't use BP_SYM.
6722 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6723 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6725 <bp-sym.h> and <bp-asm.h>.
6726 (strncmp): Don't use BP_SYM. Remove comment about bounded
6727 pointers.
6728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (memcpy): Don't use BP_SYM.
6731 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6732 <bp-sym.h> and <bp-asm.h>.
6733 (memset): Don't use BP_SYM.
6734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6736 (__bzero): Don't use BP_SYM.
6737 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6738 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (__memchr): Don't use BP_SYM.
6742 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6743 <bp-sym.h> and <bp-asm.h>.
6744 (memcmp): Don't use BP_SYM. Remove comment about bounded
6745 pointers.
6746 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6747 <bp-sym.h> and <bp-asm.h>.
6748 (memcpy): Don't use BP_SYM.
6749 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6750 <bp-sym.h> and <bp-asm.h>.
6751 (__mempcpy): Don't use BP_SYM.
6752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6753 <bp-sym.h> and <bp-asm.h>.
6754 (__memrchr): Don't use BP_SYM.
6755 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6756 <bp-sym.h> and <bp-asm.h>.
6757 (memset): Don't use BP_SYM.
6758 (__bzero): Likewise.
6759 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6760 <bp-sym.h> and <bp-asm.h>.
6761 (__rawmemchr): Don't use BP_SYM.
6762 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6763 <bp-sym.h> and <bp-asm.h>.
6764 (__STRCMP): Don't use BP_SYM.
6765 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (strchr): Don't use BP_SYM.
6768 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6769 <bp-sym.h> and <bp-asm.h>.
6770 (__strchrnul): Don't use BP_SYM.
6771 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (strlen): Don't use BP_SYM.
6774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6775 <bp-sym.h> and <bp-asm.h>.
6776 (strncmp): Don't use BP_SYM. Remove comment about bounded
6777 pointers.
6778 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6779 <bp-sym.h> and <bp-asm.h>.
6780 (__strnlen): Don't use BP_SYM.
6781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6782 <bp-sym.h> and <bp-asm.h>.
6783 (__GI__setjmp): Don't use BP_SYM.
6784 (_setjmp): Likewise.
6785 (__sigsetjmp): Likewise.
6786 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6787 (L(start_addresses)): Don't use BP_SYM.
6788 (_start): Likewise.
6789 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6790 <bp-asm.h>.
6791 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6792 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6793 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6794 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6795 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6796 <bp-asm.h>.
6797 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6798 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6799 about bounded pointers.
6800 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6801 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6802 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6803 <bp-asm.h>.
6804 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6805 about bounded pointers. Remove GKM FIXME comments.
6806 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6807 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6808 <bp-asm.h>.
6809 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6810 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6811 Remove GKM FIXME comments.
6812 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6813 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6814 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6815 <bp-asm.h>.
6816 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6817 about bounded pointers. Remove GKM FIXME comment.
6818 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6819 and <bp-asm.h>.
6820 (strncmp): Don't use BP_SYM. Remove comment about bounded
6821 pointers.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6823 <bp-sym.h> and <bp-asm.h>.
6824 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6826 <bp-sym.h> and <bp-asm.h>.
6827 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6828 comment.
6829
cdcf361f
PP
68302013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6831
6832 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6833 call free(NULL).
6834
3c4a2b15
DM
68352013-03-05 David S. Miller <davem@davemloft.net>
6836
6837 * po/es.po: Update from translation team.
6838
cdcf361f 68392013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6840
6841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6842 <bits/mman-linux.h>.
6843 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6844 is fine.
6845 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6846 <bits/mman-linux.h> to end of file.
6847 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6848 is fine.
6849 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6850 <bits/mman-linux.h> to end of file.
6851 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6852 is fine.
6853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6854 <bits/mman-linux.h> to end of file.
6855
6856 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6857 (MCL_CURRENT, MCL_FUTURE): Define here.
6858
5f67c04f
AK
68592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6860
8a4473cc 6861 [BZ #15232]
5f67c04f
AK
6862 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6863 attribute_hidden.
6864 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6865
c3e94a95
AK
68662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6867
6868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6869 fourth parameter needed for rt_sigprocmask syscall.
6870 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6872 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6874 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6875 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6876
cfb6382a
JM
68772013-03-04 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #13550]
6880 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6881 comment about bounded pointers.
6882 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6883 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6884
539d8e01
AJ
68852013-03-04 Andreas Jaeger <aj@suse.de>
6886
6887 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6888 common definitions.
6889
6890 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6891 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6892 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6894 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6896
2e167a70 68972013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6898
6899 [BZ #15055]
6900 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6901 __ieee754_sqrl instead of __sqrl.
6902
68508633
JM
69032013-03-01 Joseph Myers <joseph@codesourcery.com>
6904
6905 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6906 * sysdeps/powerpc/fpu_control.h: ... here.
6907 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6908 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6909 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6910 * sysdeps/powerpc/bits/mathinline.h: ... here.
6911
7775448e
RM
69122013-03-01 Roland McGrath <roland@hack.frob.com>
6913
6914 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6915 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6916 to just [NEED_DL_SYSINFO_DSO].
6917 * elf/dl-support.c: Likewise.
6918 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6919 * elf/rtld.c (dl_main): Likewise.
6920 * elf/setup-vdso.h (setup_vdso): Likewise.
6921 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6922 * sysdeps/unix/sysv/linux/dl-sysdep.c
6923 (_dl_discover_osversion): Likewise.
6924
4e9b5995
CD
69252013-03-01 Carlos O'Donell <carlos@redhat.com>
6926
6927 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6928 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6929
e23872c8
SP
69302013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6931
e5c74c63
SP
6932 * NEWS: Mention libm performance improvements and non-x86 PI
6933 futex support.
6934
e23872c8
SP
6935 * csu/libc-start.c (__pthread_initialize_minimal): Change
6936 function arguments.
6937 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6938
b5510883
JM
69392013-02-28 Joseph Myers <joseph@codesourcery.com>
6940
6941 [BZ #13550]
6942 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6943 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6944 <bp-sym.h> and <bp-asm.h>.
6945 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6947 and <bp-asm.h>.
6948 (memcpy): Don't use BP_SYM.
6949 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6950 <bp-asm.h>.
6951 (__mpn_add_n): Don't use BP_SYM.
6952 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6953 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6954 and <bp-asm.h>.
6955 (__mpn_addmul_1): Don't use BP_SYM.
6956 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6957 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6958 <bp-sym.h>.
6959 (_setjmp): Don't use BP_SYM.
6960 (__novmx_setjmp): Likewise.
6961 (__GI__setjmp): Likewise.
6962 (__vmx_setjmp): Likewise.
6963 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6964 <bp-sym.h>.
6965 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6966 (__bzero): Don't use BP_SYM.
6967 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6968 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6969 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (memcpy): Don't use BP_SYM.
6972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6973 <bp-sym.h> and <bp-asm.h>.
6974 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6976 <bp-sym.h> and <bp-asm.h>.
6977 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6978 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6979 <bp-asm.h>.
6980 (__mpn_lshift): Don't use BP_SYM.
6981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6982 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6983 <bp-asm.h>.
6984 (memset): Don't use BP_SYM.
6985 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6986 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6987 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6988 <bp-asm.h>.
6989 (__mpn_mul_1): Don't use BP_SYM.
6990 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6991 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (memcmp): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (memcpy): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (memset): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (strncmp): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (memcpy): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (memset): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7010 <bp-sym.h> and <bp-asm.h>.
7011 (__memchr): Don't use BP_SYM.
7012 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (memcmp): Don't use BP_SYM.
7015 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7016 <bp-sym.h> and <bp-asm.h>.
7017 (memcpy): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7019 <bp-sym.h> and <bp-asm.h>.
7020 (__mempcpy): Don't use BP_SYM.
7021 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7022 <bp-sym.h> and <bp-asm.h>.
7023 (__memrchr): Don't use BP_SYM.
7024 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7025 <bp-sym.h> and <bp-asm.h>.
7026 (memset): Don't use BP_SYM.
7027 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7028 <bp-sym.h> and <bp-asm.h>.
7029 (__rawmemchr): Don't use BP_SYM.
7030 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7031 <bp-sym.h> and <bp-asm.h>.
7032 (__STRCMP): Don't use BP_SYM.
7033 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7034 <bp-sym.h> and <bp-asm.h>.
7035 (strchr): Don't use BP_SYM.
7036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7037 <bp-sym.h> and <bp-asm.h>.
7038 (__strchrnul): Don't use BP_SYM.
7039 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7040 <bp-sym.h> and <bp-asm.h>.
7041 (strlen): Don't use BP_SYM.
7042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7043 <bp-sym.h> and <bp-asm.h>.
7044 (strncmp): Don't use BP_SYM.
7045 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7046 <bp-sym.h> and <bp-asm.h>.
7047 (__strnlen): Don't use BP_SYM.
7048 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7049 <bp-asm.h>.
7050 (__mpn_rshift): Don't use BP_SYM.
7051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7052 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7053 <bp-sym.h> and <bp-asm.h>.
7054 (__sigsetjmp): Don't use BP_SYM.
7055 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7056 (L(start_addresses)): Don't use BP_SYM.
7057 (_start): Likewise.
7058 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7059 <bp-asm.h>.
7060 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7061 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7062 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7063 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7064 <bp-asm.h>.
7065 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7066 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7067 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7068 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7069 <bp-asm.h>.
7070 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7071 comments.
7072 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7073 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7074 <bp-asm.h>.
7075 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7076 FIXME comments.
7077 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7078 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7079 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7080 <bp-asm.h>.
7081 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7082 comment.
7083 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7084 and <bp-asm.h>.
7085 (strncmp): Don't use BP_SYM,
7086 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7087 <bp-asm.h>.
7088 (__mpn_sub_n): Don't use BP_SYM.
7089 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7090 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7091 and <bp-asm.h>.
7092 (__mpn_submul_1): Don't use BP_SYM.
7093 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7095 <bp-sym.h> and <bp-asm.h>.
7096 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7098 <bp-sym.h> and <bp-asm.h>.
7099 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7100 comment.
7101
8d19fe64
SP
71022013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
7104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7105 Use ZK to minimize writes to Z.
7106 (sub_magnitudes): Simplify code a bit.
7107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7108 Use ZK to minimize writes to Z.
7109 (sub_magnitudes): Simplify code a bit.
7110
85bd816a
RM
71112013-02-27 Roland McGrath <roland@hack.frob.com>
7112
7113 * csu/gmon-start.c: Add special exception to license text.
7114
b5977bf2
RH
71152013-02-27 Richard Henderson <rth@redhat.com>
7116
7117 * scripts/config.guess: Update from config.git.
7118 * scripts/config.sub: Likewise.
7119
11d6e2f2
SP
71202013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7121
09c14ed2
SP
7122 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7123
a688864e
SP
7124 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7125
6295157a
SP
7126 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7127
b8de2202
SP
7128 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7129
11d6e2f2
SP
7130 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7131
7e80ddb8
RM
71322013-02-26 Roland McGrath <roland@hack.frob.com>
7133
7134 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7135 [$(build-shared = yes].
7e80ddb8 7136
7da6d9ed
SP
71372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7138
45f05884
SP
7139 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7140 (__mul): Reduce iterations for calculating mantissa.
7141
2236d359
SP
7142 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7143 MPTWO.
7144 (__mpranred): Likewise.
7145
7da6d9ed
SP
7146 [BZ #15160]
7147 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7148 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7149
b7688c42
PE
71502013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7151
7152 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7153 Define __attribute__.
7154
53a5c423
SP
71552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7158 unused.
7159 * posix/regex_internal.h (__attribute): Remove.
7160 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7161 (re_string_context_at): Likewise.
7162 (bitset_not): Use __attribute__ and mark function as possibly
7163 unused.
7164 (bitset_merge): Likewise.
7165 (bitset_mask): Likewise.
7166 (re_string_char_size_at): Likewise.
7167 (re_string_wchar_at): Likewise.
7168 (re_string_elem_size_at): Likewise.
7169
60f5a8b5
SP
71702013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7171
2a983a2e
SP
7172 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7173 code.
7174 (cc32): Likewise.
7175
e69804d1
SP
7176 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7177 (__acr): Likewise.
7178 (__cpy): Likewise.
7179 (norm): Likewise.
7180 (denorm): Likewise.
7181 (__dbl_mp): Likewise.
7182 (add_magnitudes): Likewise.
7183 (sub_magnitudes): Likewise.
7184 (__mul): Likewise.
7185 (__inv): Likewise.
7186
2f22a1e8
SP
7187 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7188 style.
7189
8930ddc7
SP
7190 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7191 style.
7192
dc60cb11
SP
7193 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7194 code.
7195
60f5a8b5
SP
7196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7197 up changes with default code.
7198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7199 Likewise.
7200
b4d1fd33
AM
72012013-02-24 Allan McRae <allan@archlinux.org>
7202
faf6f8bc
AM
7203 * manual/socket.texi (The Internet Namespace): Order menu items
7204 to match that in the file.
7205
b4d1fd33
AM
7206 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7207 node listing of the info page menu.
7208
2366713d
JM
72092013-02-21 Joseph Myers <joseph@codesourcery.com>
7210
7211 [BZ #13550]
7212 * sysdeps/i386/bp-asm.h: Remove file.
7213 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7214 (PARMS): Do not use macros from bp-asm.h.
7215 (S1): Likewise.
7216 (S2): Likewise.
7217 (SIZE): Likewise.
7218 (__mpn_add_n): Do not use BP_SYM
7219 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7220 "bp-asm.h".
7221 (PARMS): Do not use macros from bp-asm.h.
7222 (S1): Likewise.
7223 (SIZE): Likewise.
7224 (__mpn_addmul_1): Do not use BP_SYM
7225 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7226 "bp-asm.h".
7227 (PARMS): Do not use macros from bp-asm.h.
7228 (SIGMSK): Likewise.
7229 (_setjmp): Likewise. Do not use BP_SYM.
7230 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7231 "bp-asm.h".
7232 (PARMS): Do not use macros from bp-asm.h.
7233 (SIGMSK): Likewise.
7234 (setjmp): Likewise. Do not use BP_SYM.
7235 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7236 "bp-asm.h".
7237 (PARMS): Do not use macros from bp-asm.h.
7238 (__frexp): Do not use BP_SYM.
7239 (frexp): Likewise.
7240 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7241 "bp-asm.h".
7242 (PARMS): Do not use macros from bp-asm.h.
7243 (__frexpf): Do not use BP_SYM.
7244 (frexpf): Likewise.
7245 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7246 "bp-asm.h".
7247 (PARMS): Do not use macros from bp-asm.h.
7248 (__frexpl): Do not use BP_SYM.
7249 (frexpl): Likewise.
7250 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7251 "bp-asm.h".
7252 (PARMS): Do not use macros from bp-asm.h.
7253 (__remquo): Do not use BP_SYM.
7254 (remquo): Likewise.
7255 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7256 "bp-asm.h".
7257 (PARMS): Do not use macros from bp-asm.h.
7258 (__remquof): Do not use BP_SYM.
7259 (remquof): Likewise.
7260 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7261 "bp-asm.h".
7262 (PARMS): Do not use macros from bp-asm.h.
7263 (__remquol): Do not use BP_SYM.
7264 (remquol): Likewise.
7265 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7266 "bp-asm.h".
7267 (PARMS): Do not use macros from bp-asm.h.
7268 (DEST): Likewise.
7269 (SRC): Likewise.
7270 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7271 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7272 "bp-asm.h".
7273 (PARMS): Do not use macros from bp-asm.h.
7274 (strlen): Do not use BP_SYM.
7275 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7276 "bp-asm.h".
7277 (PARMS): Do not use macros from bp-asm.h.
7278 (S1): Likewise.
7279 (S2): Likewise.
7280 (SIZE): Likewise.
7281 (__mpn_add_n): Do not use BP_SYM.
7282 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7283 "bp-asm.h".
7284 (PARMS): Do not use macros from bp-asm.h.
7285 (S1): Likewise.
7286 (SIZE): Likewise.
7287 (__mpn_addmul_1): Do not use BP_SYM.
7288 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7289 weak_alias.
7290 (bzero): Likewise.
7291 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7292 "bp-asm.h".
7293 (PARMS): Do not use macros from bp-asm.h.
7294 (S): Likewise.
7295 (SIZE): Likewise.
7296 (__mpn_lshift): Do not use BP_SYM.
7297 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7298 "bp-asm.h".
7299 (PARMS): Do not use macros from bp-asm.h.
7300 (DEST): Likewise.
7301 (SRC): Likewise.
7302 (LEN): Likewise.
7303 (memcpy): Likewise. Do not use BP_SYM.
7304 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7305 libc_hidden_def and weak_alias.
7306 (mempcpy): Do not use BP_SYM in weak_alias.
7307 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7308 "bp-asm.h".
7309 (PARMS): Do not use macros from bp-asm.h.
7310 (DEST): Likewise.
7311 (LEN): Likewise.
7312 [!BZERO_P] (CHR): Likewise.
7313 (memset): Likewise. Do not use BP_SYM.
7314 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7315 "bp-asm.h".
7316 (PARMS): Do not use macros from bp-asm.h.
7317 (S1): Likewise.
7318 (SIZE): Likewise.
7319 (__mpn_mul_1): Do not use BP_SYM.
7320 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7321 "bp-asm.h".
7322 (PARMS): Do not use macros from bp-asm.h.
7323 (S): Likewise.
7324 (SIZE): Likewise.
7325 (__mpn_rshift): Do not use BP_SYM.
7326 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7327 "bp-asm.h".
7328 (PARMS): Do not use macros from bp-asm.h.
7329 (STR): Likewise.
7330 (CHR): Likewise.
7331 (strchr): Likewise. Do not use BP_SYM.
7332 (index): Do not use BP_SYM in weak_alias.
7333 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7334 "bp-asm.h".
7335 (PARMS): Do not use macros from bp-asm.h.
7336 (DEST): Likewise.
7337 (SRC): Likewise.
7338 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7339 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7340 "bp-asm.h".
7341 (PARMS): Do not use macros from bp-asm.h.
7342 (strlen): Do not use BP_SYM.
7343 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7344 "bp-asm.h".
7345 (PARMS): Do not use macros from bp-asm.h.
7346 (S1): Likewise.
7347 (S2): Likewise.
7348 (SIZE): Likewise.
7349 (__mpn_sub_n): Do not use BP_SYM.
7350 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7351 "bp-asm.h".
7352 (PARMS): Do not use macros from bp-asm.h.
7353 (S1): Likewise.
7354 (SIZE): Likewise.
7355 (__mpn_submul_1): Do not use BP_SYM.
7356 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7357 "bp-asm.h".
7358 (PARMS): Do not use macros from bp-asm.h.
7359 (S1): Likewise.
7360 (S2): Likewise.
7361 (SIZE): Likewise.
7362 (__mpn_add_n): Do not use BP_SYM.
7363 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7364 weak_alias.
7365 (bzero): Likewise.
7366 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7367 "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7369 (BLK2): Likewise.
7370 (LEN): Likewise.
7371 (memcmp): Do not use BP_SYM.
7372 (bcmp): Do not use BP_SYM in weak_alias.
7373 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7374 "bp-asm.h".
7375 (PARMS): Do not use macros from bp-asm.h.
7376 (DEST): Likewise.
7377 (SRC): Likewise.
7378 (LEN): Likewise.
7379 (memcpy): Likewise. Do not use BP_SYM.
7380 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7381 "bp-asm.h".
7382 (PARMS): Do not use macros from bp-asm.h.
7383 (DEST): Likewise.
7384 (SRC): Likewise.
7385 (LEN): Likewise.
7386 (memmove): Likewise. Do not use BP_SYM.
7387 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7388 "bp-asm.h".
7389 (PARMS): Do not use macros from bp-asm.h.
7390 (DEST): Likewise.
7391 (SRC): Likewise.
7392 (LEN): Likewise.
7393 (__mempcpy): Likewise. Do not use BP_SYM.
7394 (mempcpy): Do not use BP_SYM in weak_alias.
7395 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7396 "bp-asm.h".
7397 (PARMS): Do not use macros from bp-asm.h.
7398 (DEST): Likewise.
7399 (LEN): Likewise.
7400 [!BZERO_P] (CHR): Likewise.
7401 (memset): Likewise. Do not use BP_SYM.
7402 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7403 "bp-asm.h".
7404 (PARMS): Do not use macros from bp-asm.h.
7405 (STR2): Likewise.
7406 (strcmp): Do not use BP_SYM.
7407 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7408 "bp-asm.h".
7409 (PARMS): Do not use macros from bp-asm.h.
7410 (STR): Likewise.
7411 (DELIM): Likewise.
7412 [USE_AS_STRTOK_R] (SAVE): Likewise.
7413 (FUNCTION): Likewise. Do not use BP_SYM.
7414 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7415 aliases.
7416 (strtok_r): Likewise.
7417 (__GI___strtok_r): Likewise.
7418 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7419 (PARMS): Do not use macros from bp-asm.h.
7420 (S): Likewise.
7421 (SIZE): Likewise.
7422 (__mpn_lshift): Do not use BP_SYM.
7423 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7424 (PARMS): Do not use macros from bp-asm.h.
7425 (STR): Likewise.
7426 (CHR): Likewise.
7427 (__memchr): Do not use BP_SYM.
7428 (memchr): Do not use BP_SYM in weak_alias.
7429 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7430 (PARMS): Do not use macros from bp-asm.h.
7431 (BLK2): Likewise.
7432 (LEN): Likewise.
7433 (memcmp): Do not use BP_SYM.
7434 (bcmp): Do not use BP_SYM in weak_alias.
7435 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7436 (PARMS): Do not use macros from bp-asm.h.
7437 (S1): Likewise.
7438 (SIZE): Likewise.
7439 (__mpn_mul_1): Do not use BP_SYM.
7440 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7441 "bp-asm.h".
7442 (PARMS): Do not use macros from bp-asm.h.
7443 (STR): Likewise.
7444 (CHR): Likewise.
7445 (__rawmemchr): Do not use BP_SYM.
7446 (rawmemchr): Do not use BP_SYM in weak_alias.
7447 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7448 (PARMS): Do not use macros from bp-asm.h.
7449 (S): Likewise.
7450 (SIZE): Likewise.
7451 (__mpn_rshift): Do not use BP_SYM.
7452 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7453 (PARMS): Do not use macros from bp-asm.h.
7454 (SIGMSK): Likewise.
7455 (__sigsetjmp): Likewise. Do not use BP_SYM.
7456 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7457 (_start): Do not use BP_SYM.
7458 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7459 (PARMS): Do not use macros from bp-asm.h.
7460 (DEST): Likewise.
7461 (SRC): Likewise.
7462 (__stpcpy): Likewise. Do not use BP_SYM.
7463 (stpcpy): Do not use BP_SYM in weak_alias.
7464 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7465 "bp-asm.h".
7466 (PARMS): Do not use macros from bp-asm.h.
7467 (DEST): Likewise.
7468 (SRC): Likewise.
7469 (LEN): Likewise.
7470 (__stpncpy): Likewise. Do not use BP_SYM.
7471 (stpncpy): Do not use BP_SYM in weak_alias.
7472 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7473 (PARMS): Do not use macros from bp-asm.h.
7474 (STR): Likewise.
7475 (CHR): Likewise.
7476 (strchr): Likewise. Do not use BP_SYM.
7477 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7478 "bp-asm.h".
7479 (PARMS): Do not use macros from bp-asm.h.
7480 (STR): Likewise.
7481 (CHR): Likewise.
7482 (__strchrnul): Likewise. Do not use BP_SYM.
7483 (strchrnul): Do not use BP_SYM in weak_alias.
7484 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7485 "bp-asm.h".
7486 (PARMS): Do not use macros from bp-asm.h.
7487 (STOP): Likewise.
7488 (strcspn): Do not use BP_SYM.
7489 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7490 "bp-asm.h".
7491 (PARMS): Do not use macros from bp-asm.h.
7492 (STR): Likewise.
7493 (STOP): Likewise.
7494 (strpbrk): Likewise. Do not use BP_SYM.
7495 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 (PARMS): Do not use macros from bp-asm.h.
7498 (STR): Likewise.
7499 (CHR): Likewise.
7500 (strrchr): Likewise. Do not use BP_SYM.
7501 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7502 (PARMS): Do not use macros from bp-asm.h.
7503 (SKIP): Likewise.
7504 (strspn): Do not use BP_SYM.
7505 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7506 (PARMS): Do not use macros from bp-asm.h.
7507 (STR): Likewise.
7508 (DELIM): Likewise.
7509 (SAVE): Likewise.
7510 (FUNCTION): Likewise. Do not use BP_SYM.
7511 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7512 aliases.
7513 (strtok_r): Likewise.
7514 (__GI___strtok_r): Likewise.
7515 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7516 (PARMS): Do not use macros from bp-asm.h.
7517 (S1): Likewise.
7518 (S2): Likewise.
7519 (SIZE): Likewise.
7520 (__mpn_sub_n): Do not use BP_SYM.
7521 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7522 "bp-asm.h".
7523 (PARMS): Do not use macros from bp-asm.h.
7524 (S1): Likewise.
7525 (SIZE): Likewise.
7526 (__mpn_submul_1): Do not use BP_SYM.
7527 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7528 <bp-sym.h>.
7529 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7530 and <bp-asm.h>.
7531 (PARMS): Do not use macros from bp-asm.h.
7532 (FLAGS): Likewise.
7533 (PTID): Likewise.
7534 (TLS): Likewise.
7535 (CTID): Likewise.
7536 (__clone): Do not use BP_SYM.
7537 (clone): Do not use BP_SYM in weak_alias.
7538 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7539 and <bp-asm.h>.
7540 (PARMS): Do not use macros from bp-asm.h.
7541 (LEN): Likewise.
7542 (__mmap64): Do not use BP_SYM.
7543 (mmap64): Do not use BP_SYM in weak_alias.
7544 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7545 <bp-sym.h> and <bp-asm.h>.
7546 (PARMS): Do not use macros from bp-asm.h.
7547 (__posix_fadvise64_l64): Do not use BP_SYM.
7548 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7549 (PARMS): Do not use macros from bp-asm.h.
7550 (NSOPS): Likewise.
7551 (semtimedop): Do not use BP_SYM.
7552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7553 and <bp-asm.h>.
7554
582a3cff
AM
75552013-02-21 Allan McRae <allan@archlinux.org>
7556
7557 * manual/message.texi (Charset conversion in gettext):
7558 Move @end statement to beginning of line.
7559
bab8a695
SP
75602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7561
80945231
SP
7562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7563 static.
7564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7565 Likewise.
7566
bab8a695
SP
7567 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7568 (denorm): Likewise.
7569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7571
e21d7aa7
AK
75722013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7573
7574 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7575 tail-call to the resolved function if pltexit isn't needed.
7576
4c7a4263
SP
75772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7578
7579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7580 or Y being zero as being unlikely.
7581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7582 Likewise.
7583
41f49342
CD
75842013-02-20 Carlos O'Donell <carlos@redhat.com>
7585
7586 * manual/nss.texi (System Databases and Name Service Switch):
7587 Remove frobnicate @pxref.
7588
50022a93
TS
75892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7590
7591 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7592 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7593
08cbd996
PM
75942013-02-20 Petr Machata <pmachata@redhat.com>
7595
7596 * elf/elf.h (R_ARM_TARGET1): New macro.
7597 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7598 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7599 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7600 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7601 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7602 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7603 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7604 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7605 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7606 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7607 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7608 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7609 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7610 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7611 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7612 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7613 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7614 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7615 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7616 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7617 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7618 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7619 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7620 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7621 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7622 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7623 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7624 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7625 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7626 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7627 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7628 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7629 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7630 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7631 (R_ARM_THM_GOT_BREL12): Likewise.
7632 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7633 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7634 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7635 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7636 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7637 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7638 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7639 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7640 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7641
c7b275d6
TS
76422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7643
7644 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7645 __attribute_used__ to __attribute__ ((unused)).
7646
20cd7fb3
SP
76472013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7648
7649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7650 powerpc mpa.c.
7651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7652 comment formatting.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7654
92945b52
JM
76552013-02-19 Joseph Myers <joseph@codesourcery.com>
7656
7657 [BZ #13550]
7658 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7659 Remove macro.
7660 (ENTER): Remove both macro definitions.
7661 (LEAVE): Likewise.
7662 (CHECK_BOUNDS_LOW): Likewise.
7663 (CHECK_BOUNDS_HIGH): Likewise.
7664 (CHECK_BOUNDS_BOTH): Likewise.
7665 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7666 (RETURN_BOUNDED_POINTER): Likewise.
7667 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7668 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7669 (POP_ERRNO_LOCATION_RETURN): Likewise.
7670 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7671 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7672 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7673 macros.
7674 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7675 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7676 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7677 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7678 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7679 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7680 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7681 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7682 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7683 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7684 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7685 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7686 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7687 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7688 removed macros.
7689 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7690 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7691 macros.
7692 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7693 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7694 * sysdeps/i386/i586/memset.S (memset): Likewise.
7695 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7696 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7697 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7698 macros.
7699 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7700 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7701 Change uses of L(2) to L(out).
7702 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7703 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7704 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7705 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7706 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7707 removed macros.
7708 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7709 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7710 macros.
7711 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7712 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7713 (RETURN): Do not use macro LEAVE.
7714 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7715 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7716 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7717 * sysdeps/i386/i686/memset.S (memset): Likewise.
7718 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7719 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7720 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7721 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7722 Likewise.
7723 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7724 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7725 L(1_2) and L(1_3) into L(1).
7726 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7727 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7728 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7729 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7730 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7731 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7732 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7733 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7734 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7735 macros.
7736 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7737 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7738 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7739 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7740 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7741 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7742 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7743 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7744 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7745 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7746 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7747 * sysdeps/i386/strspn.S (strspn): Likewise.
7748 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7749 conditional code.
7750 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7751 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7752 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7753 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7754 L(1_3) into L(1_1).
7755 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7756 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7757 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7758 macros.
7759 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7760
2389741a
JJ
77612013-02-19 Jakub Jelinek <jakub@redhat.com>
7762
7763 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7764 macro.
7765
2016b3cd
SP
77662013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7767
e4f22324
SP
7768 * math/atest-exp.c (exp_mpn): Remove ROUND.
7769 * math/atest-exp2.c (exp_mpn): Likewise.
7770 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7771
2016b3cd
SP
7772 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7773 * stdlib/tst-tls-atexit-lib.c: Likewise.
7774 * stdlib/tst-tls-atexit.c: Likewise.
7775
4be9b544
MF
77762013-02-18 Mike Frysinger <vapier@gentoo.org>
7777
7778 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7779 and __attribute_alloc_size__.
7780
2f62b9ee
MF
77812013-02-18 Mike Frysinger <vapier@gentoo.org>
7782
7783 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7784 __attribute_alloc_size__.
7785 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7786 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7787
6ff444c4
MF
77882013-02-18 Mike Frysinger <vapier@gentoo.org>
7789
7790 * include/programs/xmalloc.h: New file.
7791 * catgets/gencat.c: Include it.
7792 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7793 * elf/pldd.c: Likewise.
7794 * iconv/iconv_charmap.c: Likewise.
7795 * iconv/iconvconfig.c: Likewise.
7796 * iconv/strtab.c: Likewise.
7797 * locale/programs/locale.c: Likewise.
7798 * locale/programs/localedef.h: Likewise.
7799 * locale/programs/simple-hash.c: Likewise.
7800 * nscd/nscd.h: Likewise.
7801 * nss/makedb.c: Likewise.
7802 * sysdeps/generic/ldconfig.h: Likewise.
7803
be179c8a
SP
78042013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7805
ba384f6e
SP
7806 * Versions.def: Add GLIBC_2.18.
7807 * include/link.h (struct link_map): New member l_tls_dtor_count.
7808 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7809 (__call_tls_dtors): Likewise.
7810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7811 __cxa_thread_atexit_impl.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7813 Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7815 Likewise.
7816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7817 Likewise.
7818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7819 Likewise.
7820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7822 Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7824 Likewise.
7825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7827 Likewise.
7828 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7829 (tests): Add test case tst-tls-atexit.
7830 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7831 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7832 (GLIBC_PRIVATE): Add __call_tls_dtors.
7833 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7834 for libstdc++.
7835 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7836 * stdlib/tst-tls-atexit.c: New test case.
7837 * stdlib/tst-tls-atexit-lib.c: New test case.
7838
ffaa74cf 7839 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7840
be179c8a
SP
7841 * elf/Versions (ld): Add _dl_find_dso_for_object.
7842 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7843 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7844 (dl_open_worker): Use _dl_find_dso_for_object.
7845 * elf/dl-sym.c (do_sym): Likewise.
7846 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7847
f78b5caa
AK
78482013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7849
7850 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7851 Syntactic changes only.
7852 (_dl_runtime_profile): Do a tail-call to the resolved function.
7853
29691210
JM
78542013-02-17 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #13550]
7857 * sysdeps/x86_64/bp-asm.h: Remove file.
7858 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7859 <bp-sym.h> and <bp-asm.h>.
7860 (__clone): Do not use BP_SYM.
7861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7862 <bp-sym.h> and <bp-asm.h>.
7863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7864 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7865 "bp-asm.h".
7866 (_setjmp): Do not use BP_SYM.
7867 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7868 "bp-asm.h".
7869 (setjmp): Do not use BP_SYM.
7870 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7871 libc_hidden_def.
7872 (mempcpy): Do not use BP_SYM in weak_alias.
7873 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7874 "bp-asm.h".
7875 (strchr): Do not use BP_SYM.
7876 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7877 "bp-asm.h".
7878 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7879 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7880 (_start): Do not use BP_SYM.
7881 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7882 "bp-asm.h".
7883 (strcat): Do not use BP_SYM.
7884 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7885 "bp-asm.h".
7886 (STRCMP): Do not use BP_SYM.
7887 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7888 "bp-asm.h".
7889 (STRCPY): Do not use BP_SYM.
7890 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7891 "bp-asm.h".
7892 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7893 "bp-asm.h".
7894 (FUNCTION): Do not use BP_SYM.
7895 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7896 weak_alias.
7897 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7898
f238fd19
AJ
78992013-02-17 Andreas Jaeger <aj@suse.de>
7900
7901 * time/Versions: Sort entries.
7902 * string/Versions: Likewise.
7903 * resolv/Versions: Likewise.
7904 * posix/Versions: Likewise.
7905 * iconv/Versions: Likewise.
7906 * elf/Versions: Likewise.
7907 * wcsmbs/Versions: Likewise.
7908
bd07f23c 79092013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7910
22af19f9
SP
7911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7912 loop termination condition.
7913
4709fe76
SP
7914 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7915 variable to calculate EZ.
7916 (__sqr): Likewise.
2d0e0f29
SP
7917
7918 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7919 the lower precision input.
7920
daaa7713
JM
79212013-02-15 Joseph Myers <joseph@codesourcery.com>
7922
7923 [BZ #13550]
7924 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7925 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7926 (run-via-rtld-prefix): Do not handle %-bp tests.
7927 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7928 (all-object-suffixes): Remove .ob.
7929 (bppfx): Remove variable.
7930 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7931 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7932 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7933 [$(build-bounded) = yes] (libtype.ob): Likewise.
7934 * Makerules (elide-routines.ob): Remove variable.
7935 (do-tests-clean): Do not handle *-bp.out.
7936 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7937 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7938 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7939 (tests): Do not include $(tests-bp.out).
7940 (xtests): Do not include $(xtests-bp.out).
7941 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7942 [$(build-bounded) = yes] ($(addprefix
7943 $(objpfx),$(binaries-bounded))): Remove rule.
7944 ($(objpfx)%-bp.out): Remove rule.
7945 * config.make.in (build-bounded): Remove variable.
7946 * crypt/Makefile [$(build-bounded) = yes]
7947 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7948 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7949 append to variable.
7950 [$(build-bounded) = yes] (install-lib): Likewise.
7951 [$(build-bounded) = yes] (generated): Likewise.
7952 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7953 Remove rule.
7954 * intl/Makefile [$(build-bounded) = yes]
7955 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7956 * math/Makefile [$(build-bounded) = yes]
7957 ($(tests:%=$(objpfx)%-bp): Likewise.
7958 * misc/Makefile [$(build-bounded) = yes]
7959 ($(objpfx)tst-tsearch-bp): Likewise.
7960 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7961 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7962 Remove dependency.
7963 * string/Makefile (o-objects.ob): Remove variable.
7964 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7965 (CFLAGS-.ob): Remove variable.
7966 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7967 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7968 both definitions of variable.
7969 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7970 (ASFLAGS-.ob): Remove variable.
7971
e97ed6dd
JM
79722013-02-14 Joseph Myers <joseph@codesourcery.com>
7973
2bdd4ca6
JM
7974 [BZ #13550]
7975 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7976 Remove __BOUNDED_POINTERS__ from condition.
7977 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7978 * string/bits/string2.h [!__NO_STRING_INLINES &&
7979 !__BOUNDED_POINTERS__]: Likewise.
7980 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7981 Likewise.
7982 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7983 Remove conditional code.
7984 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7985 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7986 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7987 condition.
7988
e97ed6dd
JM
7989 [BZ #13550]
7990 * csu/libc-start.c: Do not include <bp-sym.h>.
7991 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7992 * elf/dl-open.c: Do not include <bp-sym.h>.
7993 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7994 * math/fegetenv.c: Do not include <bp-sym.h>.
7995 (fegetenv): Do not use BP_SYM in versioned symbols.
7996 * nptl/sysdeps/pthread/bits/libc-lockP.h
7997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7998 <bp-sym.h>.
7999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8000 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8002 (__pthread_mutex_destroy): Likewise.
8003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8004 (__pthread_mutex_lock): Likewise.
8005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8006 (__pthread_mutex_trylock): Likewise.
8007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8008 (__pthread_mutex_unlock): Likewise.
8009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8010 (__pthread_mutexattr_init): Likewise.
8011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8012 (__pthread_mutexattr_destroy): Likewise.
8013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8014 (__pthread_mutexattr_settype): Likewise.
8015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8016 (__pthread_rwlock_init): Likewise.
8017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8018 (__pthread_rwlock_destroy): Likewise.
8019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8020 (__pthread_rwlock_rdlock): Likewise.
8021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8022 (__pthread_rwlock_tryrdlock): Likewise.
8023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8024 (__pthread_rwlock_wrlock): Likewise.
8025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8026 (__pthread_rwlock_trywrlock): Likewise.
8027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8028 (__pthread_rwlock_unlock): Likewise.
8029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8030 (__pthread_key_create): Likewise.
8031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8032 (__pthread_setspecific): Likewise.
8033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8034 (__pthread_getspecific): Likewise.
8035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8036 Likewise.
8037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8038 (_pthread_cleanup_push_defer): Likewise.
8039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8040 (_pthread_cleanup_pop_restore): Likewise.
8041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8042 (pthread_setcancelstate): Likewise.
8043 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8044 <bp-sym.h>.
8045 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8046 (memchr): Do not use BP_SYM in weak_alias.
8047 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8048 (fegetenv): Do not use BP_SYM in versioned symbols.
8049 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8050 (fesetenv): Do not use BP_SYM in versioned symbols.
8051 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8052 (feupdateenv): Do not use BP_SYM in versioned symbols.
8053 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8054 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8055 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8056 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8057 (open64): Do not use BP_SYM in weak_alias.
8058 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8059 (fegetenv): Do not use BP_SYM in versioned symbols.
8060 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8061 (fesetenv): Do not use BP_SYM in versioned symbols.
8062 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8063 (feupdateenv): Do not use BP_SYM in versioned symbols.
8064 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8065 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8066 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8067 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8068 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8069 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8070 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8071 <bp-sym.h>.
8072 (__libc_start_main): Do not use BP_SYM.
8073
d6752ccd
SP
80742013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8075
cb57ce60
SP
8076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8077 redundant return line.
8078 (norm): Likewise.
8079 (denorm): Likewise.
8080 (dbl_mp): Likewise.
8081 (sub_magnitudes): Likewise.
8082 (__add): Likewise.
8083 (__sub): Likewise.
8084 (__mul): Likewise.
8085 (__inv): Likewise.
8086 (__dvd): Likewise.
8087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8088 (norm): Likewise.
8089 (denorm): Likewise.
8090 (dbl_mp): Likewise.
8091 (sub_magnitudes): Likewise.
8092 (__add): Likewise.
8093 (__sub): Likewise.
8094 (__mul): Likewise.
8095 (__inv): Likewise.
8096 (__dvd): Likewise.
8097
f414520d
SP
8098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8099 instead of __mul.
8100 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8101 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8102 (cc32): Likewise.
8103
d6752ccd
SP
8104 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8105 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8107 of __mul for squares.
8108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8109 function
8110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8111 Likewise.
8112 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8113 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8114
70d9946a
JM
81152013-02-13 Joseph Myers <joseph@codesourcery.com>
8116
8117 [BZ #13550]
8118 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8119 code.
8120 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8121 prototype or function definition. Rename ubp_* variables and
8122 parameters. Remove argv definitions conditional on
8123 [__BOUNDED_POINTERS__].
8124 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8125 * elf/dl-runtime.c (_dl_fixup): Likewise.
8126 * include/set-hooks.h (RUN_HOOK): Likewise.
8127 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8128 definition.
8129 * string/strcpy.c (strcpy): Do not use __unbounded.
8130 * sysdeps/generic/frame.h (struct layout): Likewise.
8131 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8132 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8133 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8134 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8135 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8136 (__backtrace): Likewise.
8137 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8138 use __ptrvalue.
8139 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8140 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8141 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8142 Likewise.
8143 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8144 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8145 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8146 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8147 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8148 Do not use __unbounded.
8149 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8150 Rename __unboundedrlimits parameter to rlimits in prototype.
8151 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8152 Do not use __unbounded.
8153 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8154 not use __ptrvalue.
8155 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8156 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8157 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8158 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8159 __ptrvalue or __unbounded.
8160 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8161 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8162 use __unbounded.
8163 (__new_msgctl): Do not use __ptrvalue.
8164 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8165 __unbounded.
8166 (__libc_msgrcv): Do not use __ptrvalue.
8167 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8168 startup_info): Do not use __unbounded.
8169 (__libc_start_main): Likewise. Rename ubp_* variables and
8170 parameters. Remove argv definitions conditional on
8171 [__BOUNDED_POINTERS__].
8172 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8173 __ptrvalue.
8174 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8175 use __unbounded.
8176 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8177 or __ptrvalue.
8178 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8179 use __unbounded.
8180 (__new_shmctl): Do not use __ptrvalue.
8181 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8182 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8183 Likewise.
8184 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8186 (__libc_sigaction): Likewise.
8187 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8188 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8189 Likewise.
8190 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8191
cc7834d6
OB
81922013-02-13 Ondřej Bílka <neleai@seznam.cz>
8193
ffb1ec7b 8194 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8195
8196 * string/mempcpy.c: Implement by calling memcpy.
8197
bdf02814
SP
81982013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
c2af38aa
SP
8200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8201
4e92d59e
SP
8202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8203 evaluation.
8204
909279a5
SP
8205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8206 values in the mantissa.
8207
bdf02814
SP
8208 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8209 minimize writes to Z.
8210 (sub_magnitudes): Simplify code a bit.
8211
cd525923
RM
82122013-02-12 Roland McGrath <roland@hack.frob.com>
8213
8214 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8215 from the message. The linker prefixes all warnings with that already.
8216
7e2f0d2d
AS
82172013-02-12 Andreas Schwab <schwab@suse.de>
8218
a445af0b
AS
8219 [BZ #15078]
8220 * posix/regexec.c (extend_buffers): Add parameter min_len.
8221 (check_matching): Pass minimum needed length.
8222 (clean_state_log_if_needed): Likewise.
8223 (get_subexp): Likewise.
8224 * posix/Makefile (tests): Add bug-regex34.
8225 (bug-regex34-ENV): Define.
8226 * posix/bug-regex34.c: New file.
8227
7e2f0d2d
AS
8228 [BZ #11561]
8229 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8230 elements compare against the byte sequence of it, not its name.
8231 * posix/Makefile (tests): Add bug-regex35.
8232 (bug-regex35-ENV): Define.
8233 * posix/bug-regex35.c: New file.
8234
a175b684
TV
82352013-02-11 Tom de Vries <tom@codesourcery.com>
8236
8237 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8238 comment.
8239 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8240 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8241 (CHECK_EOL): Add undef.
8242
310998fe 82432013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8244
8245 * bits/stdlib-bsearch.h: New file.
8246 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8247 * stdlib/stdlib.h: Likewise.
41eda41d 8248
8ded91fb
RM
82492013-02-11 Roland McGrath <roland@hack.frob.com>
8250
8251 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8252 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8253 declaration.
8254 * manual/search.texi (Array Search Function): Add missing const in
8255 lfind prototype.
8256 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8257 declaration to use rlim_t.
8258 (Basic Scheduling Functions): Remove erroneous const from
8259 sched_getparam prototype. Remove erroneous * from
8260 sched_get_priority_max and sched_get_priority_min prototypes.
8261 (Resource Usage): Fix summary @comment on vtimes to refer to
8262 sys/vtimes.h rather than vtimes.h.
8263 Add missing *s in vtimes prototype.
8264 (Limits on Resources): Fix ulimit prototype to return long int.
8265 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8266 prototypes to use long int rather than double.
8267 (BSD Random): Fix initstate and setstate to use char *, not void *.
8268 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8269 prototype to make second argument 'struct aiocb64 *const[]'.
8270 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8271 (Status of AIO Operations): Remove erroneous const in aio_return and
8272 aio_return64 prototypes.
8273 (Synchronizing I/O): Fix sync prototype to return void.
8274 * manual/startup.texi (Suboptions): Remove an erroneous const in
8275 getsubopt prototype.
8276 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8277 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8278 use size_t rather than int.
8279 (Scanning All Users): Likewise for getpwent_r.
8280 (Setting Groups): Add missing const to setgroups prototype.
8281 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8282 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8283 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8284 'const void *' rather than 'const char *'.
8285 (Host Address Functions): Likewise for inet_ntop.
8286 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8287 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8288 ssize_t for return value.
8289 (Sending Data): Likewise for send, sendto, sendmsg.
8290 (Socket Option Functions): Add a missing const in setsockopt prototype.
8291 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8292 use wchar_t for the argument.
8293 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8294 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8295 take no arguments.
8296 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8297 double/float/long double for second argument.
8298 Fix return types of significand, significandf, significandl.
8299 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8300 argument in fchmod prototype.
8301 (File Owner): Use uid_t and gid_t in fchown prototype.
8302 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8303 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8304 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8305 use 'const struct dirent **' as argument types to CMP function pointer
8306 argument.
8307 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8308 (File Times): Fix summary magic @comment for struct utimbuf and utime
8309 to refer to utime.h, not time.h.
8310 * manual/string.texi (Argz Functions): Add missing const in
8311 argz_extract and argz_next prototypes.
8312 (Finding Tokens in a String): Likewise for basename.
8313 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8314 (Copying and Concatenation): Fix typo in wmemmove prototype.
8315 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8316 (Signal Stack): Remove erroneous const in sigstack prototype.
8317 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8318 prototype.
8319 (Simple Calendar Time): Likewise for stime.
8320 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8321 prototype.
8322 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8323 say sys/sysctl.h instead.
8324 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8325 and vsyslog prototypes.
8326
fe77fe6d
TV
83272013-02-11 Tom de Vries <tom@codesourcery.com>
8328
8329 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8330 Remove.
8331
3a09b620
RM
83322013-02-11 Roland McGrath <roland@hack.frob.com>
8333
8334 * misc/sys/mman.h: Fix typo in mremap comment.
8335
550a0b89
RM
83362013-02-08 Roland McGrath <roland@hack.frob.com>
8337
8338 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8339 the '\0' terminator.
8340
a2da1673
JM
83412013-02-08 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #13550]
8344 * debug/segfault.c: Don't include <bp-checks.h>.
8345 * sysdeps/generic/bp-checks.h: Remove file.
8346 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8347 (__GETDENTS): Don't use CHECK_N.
8348 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8349 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8350 (__getgroups): Don't use CHECK_N.
8351 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8352 (setgroups): Don't use CHECK_N.
8353 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8354 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8355 (__libc_msgrcv): Don't use CHECK_N.
8356 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8357 (__libc_msgsnd): Don't use CHECK_N.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8359 <bp-checks.h>.
8360 (__libc_pread): Don't use CHECK_N.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8362 include <bp-checks.h>.
8363 (__libc_pread64): Don't use CHECK_N.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8365 include <bp-checks.h>.
8366 (__libc_pwrite): Don't use CHECK_N.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8368 include <bp-checks.h>.
8369 (__libc_pwrite64): Don't use CHECK_N.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8371 <bp-checks.h>.
8372 (__libc_pread): Don't use CHECK_N.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8374 include <bp-checks.h>.
8375 (__libc_pread64): Don't use CHECK_N.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8377 include <bp-checks.h>.
8378 (__libc_pwrite): Don't use CHECK_N.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8380 include <bp-checks.h>.
8381 (__libc_pwrite64): Don't use CHECK_N.
8382 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8383 (do_pread): Don't use CHECK_N.
8384 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8385 (do_pread64): Don't use CHECK_N.
8386 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8387 (do_pwrite): Don't use CHECK_N.
8388 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8389 (do_pwrite64): Don't use CHECK_N.
8390 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8391 (__libc_readv): Don't use CHECK_N.
8392 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8393 (semop): Don't use CHECK_N.
8394 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8395 <bp-checks.h>.
8396 (semtimedop): Don't use CHECK_N.
8397 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8398 (__libc_pread): Don't use CHECK_N.
8399 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8400 <bp-checks.h>.
8401 (__libc_pread64): Don't use CHECK_N.
8402 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8403 <bp-checks.h>.
8404 (__libc_pwrite): Don't use CHECK_N.
8405 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8406 <bp-checks.h>.
8407 (__libc_pwrite64): Don't use CHECK_N.
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8409 <bp-checks.h>.
8410 (__libc_msgrcv): Don't use CHECK_N.
8411 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8412 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8413 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8414 (__libc_writev): Don't use CHECK_N.
8415
b84660a8
RM
84162013-02-08 Roland McGrath <roland@hack.frob.com>
8417
7f3e75f8
RM
8418 * string/strcpy.c: Removed unused variable.
8419
b84660a8
RM
8420 * Makeconfig (+sysdep-includes): Define with := rather than =.
8421 Use an existing include/ subdir of each sysdeps dir before it.
8422
471514d3
CD
84232013-02-08 Carlos O'Donell <carlos@redhat.com>
8424
8425 * nscd/connection.c (register_traced_file): Comment function.
8426 [HAVE_INOTIFY] (union __inev): Define.
8427 [HAVE_INOTIFY] (inotify_check_files): New function.
8428 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8429 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8430 clear_db_cache.
8431 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8432
b2d3c3be
CD
84332013-02-08 Carlos O'Donell <carlos@redhat.com>
8434
8435 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8436 loaded if not already and that a failure is permanent.
8437
b39949d2
CD
84382013-02-08 Carlos O'Donell <carlos@redhat.com>
8439
ddacd1db 8440 [BZ #15006]
b39949d2
CD
8441 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8442 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8443
b2c9eff4
JM
84442013-02-08 Joseph Myers <joseph@codesourcery.com>
8445
f3aae3f3
JM
8446 [BZ #13550]
8447 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8448 (CHECK_1_NULL_OK): Likewise.
8449 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8450 (__fxstat): Do not use CHECK_1.
8451 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8452 <bp-checks.h>.
8453 (___fxstat64): Do not use CHECK_1.
8454 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8455 <bp-checks.h>.
8456 (__fxstatat): Do not use CHECK_1.
8457 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8458 <bp-checks.h>.
8459 (__fxstatat64): Do not use CHECK_1.
8460 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8461 <bp-checks.h>.
8462 (__fxstat): Do not use CHECK_1.
8463 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8464 <bp-checks.h>.
8465 (__fxstatat): Do not use CHECK_1.
8466 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8467 <bp-checks.h>.
8468 (__getresgid): Do not use CHECK_1.
8469 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8470 <bp-checks.h>.
8471 (__getresuid): Do not use CHECK_1.
8472 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8473 <bp-checks.h>.
8474 (__lxstat): Do not use CHECK_1.
8475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8476 <bp-checks.h>.
8477 (__old_msgctl): Do not use CHECK_1.
8478 (__new_msgctl): Likewise.
8479 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8480 <bp-checks.h>.
8481 (__new_setrlimit): Do not use CHECK_1.
8482 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8483 <bp-checks.h>.
8484 (__old_shmctl): Do not use CHECK_1.
8485 (__new_shmctl): Likewise.
8486 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8487 <bp-checks.h>.
8488 (__xstat): Do not use CHECK_1.
8489 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8490 (__lxstat): Do not use CHECK_1.
8491 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8492 <bp-checks.h>.
8493 (___lxstat64): Do not use CHECK_1.
8494 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8495 (__old_msgctl): Do not use CHECK_1.
8496 (__new_msgctl): Likewise.
8497 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8498 <bp-checks.h>.
8499 (__gettimeofday): Do not use CHECK_1.
8500 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8501 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8502 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8503 <bp-checks.h>.
8504 (__gettimeofday): Do not use CHECK_1.
8505 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8506 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8507 (__new_shmctl): Do not use CHECK_1.
8508 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8509 <bp-checks.h>.
8510 (do_sigtimedwait): Do not use CHECK_1.
8511 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8512 <bp-checks.h>.
8513 (do_sigwaitinfo): Do not use CHECK_1.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8515 <bp-checks.h>.
8516 (msgctl): Do not use CHECK_1.
8517 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8518 <bp-checks.h>.
8519 (shmctl): Do not use CHECK_1.
8520 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8521 (ustat): Do not use CHECK_1.
8522 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8523 <bp-checks.h>.
8524 (__fxstat): Do not use CHECK_1.
8525 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8526 <bp-checks.h>.
8527 (__fxstatat): Do not use CHECK_1.
8528 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8529 <bp-checks.h>.
8530 (__lxstat): Do not use CHECK_1.
8531 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8532 <bp-checks.h>.
8533 (__xstat): Do not use CHECK_1.
8534 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8535 (__xstat): Do not use CHECK_1.
8536 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8537 (___xstat64): Do not use CHECK_1.
8538
b2c9eff4
JM
8539 [BZ #13550]
8540 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8541 definitions.
8542 (CHECK_BOUNDS_HIGH): Likewise.
8543 * string/strcpy.c: Do not include <bp-checks.h>.
8544 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8545
f1d70dad
RM
85462013-02-07 Roland McGrath <roland@hack.frob.com>
8547
8548 * nscd/nscd-client.h (__nscd_drop_map_ref):
8549 Add __attribute__ ((unused)).
8550 * nis/nss-nisplus.h (niserr2nss): Likewise.
8551
8552 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8553 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8554
8555 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8556 Remove inline keyword.
8557 * include/rounding-mode.h (round_away): Likewise.
8558 * libio/wfileops.c (adjust_wide_data): Likewise.
8559 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8560 (__m128i_strloadu_tolower): Likewise.
8561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8562 (__m128i_strloadu_tolower): Likewise.
8563 * time/mktime.c (ydhms_diff): Likewise.
8564 * locale/elem-hash.h (elem_hash): Likewise.
8565 * locale/setlocale.c (setdata): Likewise.
8566 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8567 (re_string_wchar_at): Likewise.
8568 (bitset_not, bitset_merge, bitset_mask): Likewise.
8569 [!(__GNUC__ > 3)] (inline): Remove macro.
8570 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8571 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8572 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8573 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8574 * string/memcmp.c (memcmp_bytes): Likewise.
8575 * locale/programs/locarchive.c (compute_hashval): Likewise.
8576 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8577 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8578 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8579 * nss/getent.c (print_rpc, print_protocols): Likewise.
8580 (print_passwd, print_group, print_aliases): Likewise.
8581 * nis/nss-nisplus.h (niserr2nss): Likewise.
8582 * nscd/connections.c (restart_p): Likewise.
8583 Change return type to bool.
8584
eab55bfb
RM
85852013-02-05 Roland McGrath <roland@hack.frob.com>
8586
7bd642f5
RM
8587 * Makeconfig (all-Depend-files): Add existing
8588 $(sorted-subdirs:=/Depend) files.
8589 (all-subdirs): Remove nss.
8590 * sysdeps/unix/inet/Subdirs: Add it here instead.
8591 * hesiod/Depend: New file.
8592
573c29b2
RM
8593 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8594 instead of calling alloca.
8595
b2e25af0
RM
8596 * io/lseek.c (__lseek): Rename to __libc_lseek.
8597 Define __lseek as an alias.
8598
eab55bfb
RM
8599 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8600
9a0d1941
CD
86012013-02-04 Carlos O'Donell <carlos@redhat.com>
8602
8603 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8604 else clause and remove check for non-standard endianness.
8605
b83bbec4
DM
86062013-02-04 David S. Miller <davem@davemloft.net>
8607
8608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8609
6277fdab
JM
86102013-02-04 Joseph Myers <joseph@codesourcery.com>
8611
8612 [BZ #13550]
8613 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8614 (__ubp_memchr): Remove prototype.
8615 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8616 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8617 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8618 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8619 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8620 Remove alias.
8621 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8622 (__ubp_memchr): Likewise.
8623 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8624 (__ubp_memchr): Likewise.
8625 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8626 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8627 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8628 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8629 CHECK_STRING.
8630 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8631 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8632 (__getcwd): Do not use CHECK_STRING.
8633 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8634 <bp-checks.h>.
8635 (__real_chown): Do not use CHECK_STRING.
8636 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8637 <bp-checks.h>.
8638 (fchownat): Do not use CHECK_STRING.
8639 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8640 CHECK_STRING.
8641 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8642 <bp-checks.h>.
8643 (__lchown): Do not use CHECK_STRING.
8644 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8645 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8646 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8647 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8649 include <bp-checks.h>.
8650 (truncate64): Do not use CHECK_STRING.
8651 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8652 <bp-checks.h>.
8653 (__real_chown): Do not use CHECK_STRING.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8655 <bp-checks.h>.
8656 (__lchown): Do not use CHECK_STRING.
8657 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8658 <bp-checks.h>.
8659 (__chown): Do not use CHECK_STRING.
8660 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8661 <bp-checks.h>.
8662 (truncate64): Do not use CHECK_STRING.
8663 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8664 Likewise.
8665 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8666 (__xmknod): Do not use CHECK_STRING.
8667 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8668 <bp-checks.h>.
8669 (__xmknodat): Do not use CHECK_STRING.
8670 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8671 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8672
903ae060
AS
86732013-02-04 Andreas Schwab <schwab@suse.de>
8674
8675 [BZ #14142]
8676 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8677 * include/netdb.h: Likewise for h_errno.
8678 * elf/tst-stackguard1.c: Include <tls.h>.
8679
542f9466
JK
86802013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8681
8682 * elf/link.h (struct link_map): Extend the l_addr comment.
8683 * include/link.h (struct link_map): Likewise.
8684
e782a927
JM
86852013-02-01 Joseph Myers <joseph@codesourcery.com>
8686
8687 [BZ #13550]
8688 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8689 (BOUNDED_1): Remove macro.
8690 * debug/backtrace.c: Don't include <bp-checks.h>.
8691 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8692 (__backtrace): Likewise.
8693 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8694 <bp-checks.h>.
8695 (__backtrace): Don't use BOUNDED_1.
8696 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8697 <bp-checks.h>.
8698 (__backtrace): Don't use BOUNDED_1.
8699 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8700 (__backtrace): Don't use BOUNDED_1.
8701 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8702 (shmat): Don't use BOUNDED_N.
8703
8cf28c5e
JM
87042013-01-31 Joseph Myers <joseph@codesourcery.com>
8705
3a7ac8a0
JM
8706 [BZ #13550]
8707 * sysdeps/generic/bp-start.h: Remove file.
8708 * csu/libc-start.c: Don't include <bp-start.h>.
8709 (LIBC_START_MAIN): Set up __environ directly instead of using
8710 INIT_ARGV_and_ENVIRON.
8711 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8712 <bp-start.h>.
8713
f3499f95
JM
8714 [BZ #13550]
8715 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8716 definitions.
8717 (CHECK_FCNTL): Likewise.
8718 (CHECK_N_PAGES): Likewise.
8719
32a45bea
JM
8720 [BZ #13550]
8721 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8722 definitions.
8723 (CHECK_SIGSET_NULL_OK): Likewise.
8724 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8725 <bp-checks.h>.
8726 (sigpending): Don't use CHECK_SIGSET.
8727 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8728 <bp-checks.h>.
8729 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8730 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8731 <bp-checks.h>.
8732 (do_sigsuspend): Don't use CHECK_SIGSET.
8733 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8734 use CHECK_SIGSET.
8735 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8736 (do_sigwait): Don't use CHECK_SIGSET.
8737 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8738 use CHECK_SIGSET.
8739 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8740 include <bp-checks.h>.
8741 (sigpending): Don't use CHECK_SIGSET.
8742 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8743 include <bp-checks.h>.
8744 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8745 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8746 <bp-checks.h>.
8747 (sigpending): Don't use CHECK_SIGSET.
8748 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8749 <bp-checks.h>.
8750 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8751
2e8a5c8c
JM
8752 [BZ #13550]
8753 * sysdeps/generic/bp-semctl.h: Remove file.
8754 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8755 <bp-checks.h> and <bp-semctl.h>.
8756 (__old_semctl): Don't use CHECK_SEMCTL.
8757 (__new_semctl): Likewise.
8758 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8759 and <bp-semctl.h>.
8760 (__old_semctl): Don't use CHECK_SEMCTL.
8761 (__new_semctl): Likewise.
8762 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8763 <bp-checks.h> and <bp-semctl.h>.
8764 (__old_semctl): Don't use CHECK_SEMCTL.
8765 (__new_semctl): Likewise.
8766 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8767 <bp-checks.h> and <bp-semctl.h>.
8768 (semctl): Don't use CHECK_SEMCTL.
8769
c2d54929
JM
8770 [BZ #13550]
8771 * Makerules (elide-bp-thunks): Remove variable.
8772 (elide-routines.oS): Don't use $(elide-bp-thunks).
8773 (elide-routines.os): Likewise.
8774 (elide-routines.o): Likewise.
8775 (elide-routines.op): Likewise.
8776 (elide-routines.og): Likewise.
8777 (objects): Don't use $(bp-thunks).
8778 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8779 include.
8780 (common-generated): Do not add s-proto-bp.d.
8781 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8782 (int): Likewise.
8783 (typ): Likewise.
8784 Do not generate makefile rules for bounded-pointer thunks.
8785 * sysdeps/generic/bp-thunks.h: Remove file.
8786 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8787 * sysdeps/unix/s-proto-bp.S: Likewise.
8788
8cf28c5e
JM
8789 [BZ #15062]
8790 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8791 parts of result separately when argument is not close to line from
8792 -i to i and one part of argument is small.
8793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8795 * math/libm-test.inc (cacos_test): Add more tests.
8796 (casin_test): Likewise.
8797 (casinh_test): Likewise.
8798 * sysdeps/i386/fpu/libm-test-ulps: Update.
8799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800
c4e33b8d
DM
88012013-01-31 David S. Miller <davem@davemloft.net>
8802
8803 * po/de.po: Update from translation team.
8804
3b60b421
MK
88052013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8806
8807 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8808
bb931195
TS
88092013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8810
b5a5da23
TS
8811 * configure.in (_AC_PROG_CC_C89): New definition.
8812 * configure: Regenerate.
8813
bb931195
TS
8814 * configure.in (AC_PROG_CPP): New definition.
8815 * configure: Regenerate.
8816
8c53a12c
JM
88172013-01-23 Joseph Myers <joseph@codesourcery.com>
8818
8819 * debug/tst-backtrace.h: New file.
8820 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8821 (ret): Remove variable.
8822 (x): Likewise.
8823 (FAIL): Remove macro.
8824 (NO_INLINE): Likewise.
8825 (fn1): Use match function instead of strstr.
8826 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8827 (ret): Remove variable.
8828 (x): Likewise.
8829 (FAIL): Remove macro.
8830 (NO_INLINE): Likewise.
8831 (fn): Use match function instead of strstr.
8832 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8833 (ret): Remove variable.
8834 (x): Likewise.
8835 (FAIL): Remove macro.
8836 (NO_INLINE): Likewise.
8837 (handle_signal): Use match function instead of strstr.
8838 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8839 (ret): Remove variable.
8840 (x): Likewise.
8841 (FAIL): Remove macro.
8842 (NO_INLINE): Likewise.
8843 (handle_signal): Use match function instead of strstr.
8844
4858fa2a
RM
88452013-01-23 Roland McGrath <roland@hack.frob.com>
8846
8847 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8848
bae8e7f5
DM
88492013-01-23 David S. Miller <davem@davemloft.net>
8850
8851 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8852 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8853 argument of CAS if possible.
8854 * sysdeps/sparc/sparc64/bits/atomic.h
8855 (__arch_compare_and_exchange_val_32_acq): Likewise.
8856 (__arch_compare_and_exchange_val_64_acq): Likewise.
8857
9cbbc4ae
PT
88582013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8859
8860 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8861 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8862 Include <limits.h>.
67b3f58c 8863 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8864
5655a0b5
AC
88652013-01-23 Adam Conrad <adconrad@0c3.net>
8866
8867 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8868 (LDFLAGS-tst-array5): Likewise.
8869
052aff95
JM
88702013-01-23 Joseph Myers <joseph@codesourcery.com>
8871
8872 [BZ #15036]
8873 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8874 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8875 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8876 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8877
7c1e01aa
DM
88782013-01-21 David S. Miller <davem@davemloft.net>
8879
8880 * sysdeps/sparc/backtrace.c: New file.
8881 * sysdeps/sparc/sparc32/backtrace.h: New file.
8882 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8883 * sysdeps/sparc/sparc64/backtrace.h: New file.
8884 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8885 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8886 -funwind-tables.
8887
ab087e0a
AS
88882013-01-21 Andreas Schwab <schwab@suse.de>
8889
8890 [BZ #15020]
8891 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8892 closed its stdout.
8893
ed689c2f
AS
88942013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8895
8896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8897 "mpa2.h".
8898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8899
31d470ac
JM
89002013-01-18 Joseph Myers <joseph@codesourcery.com>
8901 Mark Mitchell <mark@codesourcery.com>
8902 Tom de Vries <tom@codesourcery.com>
8903 Paul Pluzhnikov <ppluzhnikov@google.com>
8904
8905 * debug/tst-backtrace2.c: New file.
8906 * debug/tst-backtrace3.c: Likewise.
8907 * debug/tst-backtrace4.c: Likewise.
8908 * debug/tst-backtrace5.c: Likewise.
8909 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8910 (CFLAGS-tst-backtrace3.c): Likewise.
8911 (CFLAGS-tst-backtrace4.c): Likewise.
8912 (CFLAGS-tst-backtrace5.c): Likewise.
8913 (LDFLAGS-tst-backtrace2): Likewise.
8914 (LDFLAGS-tst-backtrace3): Likewise.
8915 (LDFLAGS-tst-backtrace4): Likewise.
8916 (LDFLAGS-tst-backtrace5): Likewise.
8917 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8918 tst-backtrace4 and tst-backtrace5.
8919
90567f30 89202013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8921 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8922
8923 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8924 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8925 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8926 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8928 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8929 "+r" and remove output regs list as redundant. Add explicit inline
8930 asm to specify register of return val to work around compiler codegen
8931 bug. Remove (int) cast on return value. Add return type parameter to
8932 use in macro so that this macro does not truncate return value for
8933 64-bit values.
8934 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8935 pass to INTERNAL_VSYSCALL_NCS.
8936 (INLINE_VSYSCALL): Add 'long int' as return type to
8937 INTERNAL_VSYSCALL_NCS macro invocation.
8938 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8939 INTERNAL_VSYSCALL_NCS macro invocation.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8941
d3b9ea61
SP
89422013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8943
0b57daeb
SP
8944 [BZ #14496]
8945 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8946 Fix application of SIMD FP exception mask.
8947
caa99d06
SP
8948 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8949 mp_no from a power of two.
8950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8951 __mpexp_twomm1. Use __pow_mp.
8952
d3b9ea61
SP
8953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8954 multiplication.
8955
1dbaee3c
DM
89562013-01-17 David S. Miller <davem@davemloft.net>
8957
8958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8959
728d7b43
JM
89602013-01-17 Joseph Myers <joseph@codesourcery.com>
8961
8962 [BZ #15023]
8963 * include/complex.h: Condition contents on [!_COMPLEX_H].
8964 (__kernel_casinhf): New prototype.
8965 (__kernel_casinh): Likewise.
8966 (__kernel_casinhl): Likewise.
8967 * math/Makefile (libm_calls): Add k_casinh.
8968 * math/k_casinh.c: New file.
8969 * math/k_casinhf.c: Likewise.
8970 * math/k_casinhl.c: Likewise.
8971 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8972 finite nonzero arguments.
8973 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8974 finite nonzero arguments.
8975 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8976 finite nonzero arguments.
8977 * math/s_casinh.c: Do not include <float.h>.
8978 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8979 * math/s_casinhf.c: Do not include <float.h>.
8980 (__casinhf): Move code for finite nonzero arguments to
8981 k_casinhf.c.
8982 * math/s_casinhl.c: Do not include <float.h>.
8983 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8984 redefine.
8985 (__casinhl): Move code for finite nonzero arguments to
8986 k_casinhl.c.
8987 * math/libm-test.inc (cacos_test): Add more tests.
8988 * sysdeps/i386/fpu/libm-test-ulps: Update.
8989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8990
2a26ef3a
PT
89912013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8992
8993 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8994 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8995 [!HAVE_MREMAP]: Remove [defined linux] case.
8996 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8997
a897655d
SP
89982013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8999
9000 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9001
881ebe89 90022013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9003
9004 * elf/elf.h (R_386_SIZE32): New relocation.
9005 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9006 R_386_SIZE32.
9007 (elf_machine_rela): Likewise.
9008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9009 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9010
59981e9b
JM
90112013-01-17 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9014 (FP_FAST_FMA): Do not define.
9015 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9016 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9017 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9018 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9019 !_SOFT_FLOAT]: Likewise.
9020 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9021 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9022 value.
9023 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9024 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9025 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9026 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9027 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9028 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9029 file.
9030
cfa8054f
AS
90312013-01-16 Andreas Schwab <schwab@suse.de>
9032
9033 [BZ #14327]
9034 * include/stdlib.h (__mktemp): Add declaration.
9035 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9036 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9037
dd930cc5
SP
90382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9039
881ebe89
SP
9040 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9041 definitions.
9042 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9043 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9044 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9045 definitions here.
9046 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9047 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9048 definitions.
9049 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9050 and ONE.
9051 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9052 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9053 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9054 definitions.
9055 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9056 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9057 definitions.
9058 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9059
dd930cc5
SP
9060 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9061
c19a9f89
DM
90622013-01-15 David S. Miller <davem@davemloft.net>
9063
1aa61767
DM
9064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9065 trunc{,f} to libm-sysdep_routes.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9068 file.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9071 file.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9073 file.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9079 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9080 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9081 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9082
c42d5e98
DM
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9084 nearbyint{,f} to libm-sysdep_routes.
9085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9087 New file.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9089 file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9091 New file.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9093 file.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9097 file.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9100 file.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9102 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9103 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9104
c19a9f89
DM
9105 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9106 libc_feholdexcept and libc_fesetenv.
9107
357679d2
MF
91082013-01-15 Mike Frysinger <vapier@gentoo.org>
9109
9110 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9111
65a82e3d
DM
91122013-01-14 David S. Miller <davem@davemloft.net>
9113
8b954ab9
DM
9114 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9115 (SPARC_ASM_VIS2_IFUNC): Likewise.
9116 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9118 use of 'siam' instruction.
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9120 Likewise.
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9122 Likewise.
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9124 Likewise.
9125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9130 file.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9132 file.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9134 file.
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9136 file.
9137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9142 new VIS2 routines.
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9146 Likewise.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9152 routines to libm-sysdep_routines.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9154
65a82e3d
DM
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9156 fdim/fdimf to libm-sysdep_routines.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9158 file.
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9161 file.
9162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9165 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9166 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9167 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9168 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9169
e34ab705
SP
91702013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9171
2a91b573
SP
9172 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9173 to optimize copies.
9174
1066a534
SP
9175 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9178
e34ab705
SP
9179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9180 local variable MPTWO.
9181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9182 Likewise.
9183
aba5e596
MF
91842013-01-13 Mike Frysinger <vapier@gentoo.org>
9185
9186 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9187 GLOB_NOESCAPE.
9188
e557e9e5
MF
91892013-01-13 Mike Frysinger <vapier@gentoo.org>
9190
9191 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9192
0428cec9
MF
91932013-01-13 Mike Frysinger <vapier@gentoo.org>
9194
9195 * manual/pattern.texi (glob_t): Document gl_flags.
9196 (glob64_t): Likewise.
9197
8794a964
DM
91982013-01-11 David S. Miller <davem@davemloft.net>
9199
66438c3f
RM
9200 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9201 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9202 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9203 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9204 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9205 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9206 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9207 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9208 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9209 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9210 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9211 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9212 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9213
4ae4244d
DM
9214 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9215 sparc V9 rather than using V8 code.
9216 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9217 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9218
8794a964
DM
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9220 Move to...
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9222 Here.
9223
6270516e
RM
92242013-01-11 Roland McGrath <roland@hack.frob.com>
9225
9226 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9227 not in the main loop.
9228 * configure: Regenerated.
9229
6a57d931
JM
92302013-01-11 Joseph Myers <joseph@codesourcery.com>
9231
9232 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9233 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9234 to just #else.
9235 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9236 [!__GLIBC_HAVE_LONG_LONG] case.
9237 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9238 condition to just #else.
9239 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9240 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9241 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9242 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9243 unconditional.
9244 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9245 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9246 #elif condition to just #else.
9247 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9248 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9249 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9250 #elif condition to just #else.
9251
0e8529e9
SE
92522013-01-11 Steve Ellcey <sellcey@mips.com>
9253
9254 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9255 (EF_MIPS_ARCH_64): Fix value.
9256 (EF_MIPS_ARCH_32R2): New.
9257 (EF_MIPS_ARCH_64R2): New.
9258
740b3dbe
L
92592013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 * Makeconfig (+link-pie-before-libc): New.
9262 (+link-pie-after-libc): Likewise.
9263 (+link-pie-tests): Likewise.
9264 (+link-pie): Rewritten.
9265 (link-before-libc): Remove $(config-LDFLAGS).
9266 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9267 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9268 (config-LDFLAGS): Renamed to ...
9269 (rtld-LDFLAGS): This.
9270 (rtld-tests-LDFLAGS): New macro.
9271 (link-libc-rpath-link): Likewise.
9272 (link-libc-tests-rpath-link): Likewise.
9273 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9274 (link-libc): Prepand $(link-libc-rpath-link).
9275 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9276 (test-program-prefix): New macro.
9277 (test-via-rtld-prefix): Likewise.
9278 (test-program-cmd): Likewise.
9279 (host-test-program-cmd): Likewise.
9280 * Makefile ($(common-objpfx)testrun.sh): Replace
9281 $(run-program-prefix) with $(test-program-prefix).
9282 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9283 $(rtld-LDFLAGS).
9284 ($(common-objpfx)shlib.lds): Likewise.
9285 (build-module-helper): Likewise.
9286 ($(common-objpfx)format.lds): Likewise.
9287 * Rules (binaries-pie-tests): New.
9288 (binaries-pie-notests): Likewise.
9289 (binaries-pie): Rewritten.
9290 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9291 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9292 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9293 (make-test-out): Replace $(host-built-program-cmd) with
9294 $(host-test-program-cmd).
9295 * config.make.in (build-hardcoded-path-in-tests): New variable.
9296 * configure.in (--enable-hardcoded-path-in-tests): New configure
9297 option.
9298 (hardcoded_path_in_tests): New AC_SUBST.
9299 * configure: Regenerated.
9300 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9301 $(built-program-cmd) with $(test-program-cmd).
9302 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9303 (test_program_cmd): This.
9304 * elf/Makefile ($(objpfx)order.out): Run test with
9305 $(test-program-prefix).
9306 ($(objpfx)order2.out): Likewise.
9307 ($(objpfx)tst-initorder.out): Likewise.
9308 ($(objpfx)tst-initorder2.out): Likewise.
9309 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9310 $(test-program-cmd).
9311 ($(objpfx)tst-array1-static.out): Likewise.
9312 ($(objpfx)tst-array2.out): Likewise.
9313 ($(objpfx)tst-array3.out): Likewise.
9314 ($(objpfx)tst-array4.out): Likewise.
9315 ($(objpfx)tst-array5.out): Likewise.
9316 ($(objpfx)tst-array5-static.out): Likewise.
9317 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9318 $(test-program-cmd).
9319 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9320 $(run-program-prefix) with $(test-program-prefix).
9321 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9322 (test_program_prefix): This.
9323 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9324 $(run-program-prefix) with $(test-program-prefix).
9325 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9326 (test_program_prefix): This.
9327 * iconvdata/tst-tables.sh: Likewise.
9328 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9329 $(run-program-prefix) with $(test-program-prefix).
9330 ($(objpfx)tst-translit.out): Likewise.
9331 ($(objpfx)tst-gettext2.out): Likewise.
9332 ($(objpfx)tst-gettext4.out): Likewise.
9333 ($(objpfx)tst-gettext6.out): Likewise.
9334 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9335 (test_program_prefix): This.
9336 * intl/tst-gettext2.sh: Likewise.
9337 * intl/tst-gettext4.sh Likewise.
9338 * intl/tst-gettext6.sh: Likewise.
9339 * intl/tst-translit.sh: Likewise.
9340 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9341 with $(test-program-cmd).
9342 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9343 $(run-program-prefix) with $(test-program-prefix).
9344 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9345 (test_program_prefix): This.
9346 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9347 $(run-program-prefix) with $(test-program-prefix).
9348 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9349 (test_program_prefix): This.
9350 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9351 * posix/Makefile ($(objpfx)globtest.out): Replace
9352 $(run-via-rtld-prefix) and $(test-wrapper) with
9353 $(test-program-prefix) and $(test-via-rtld-prefix).
9354 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9355 $(test-program-prefix).
9356 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9357 $(host-test-program-cmd).
9358 (tst-spawn-ARGS): Likewise.
9359 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9360 $(test-program-prefix).
9361 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9362 (test_via_rtld_prefix): This.
9363 (test_wrapper): Renamed to ...
9364 (test_program_prefix): This.
9365 (run_program_prefix): Replaced by test_program_prefix.
9366 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9367 (test_program_prefix): This.
9368 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9369 with $(host-test-program-cmd).
9370 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9371 $(run-program-prefix) with $(test-program-prefix).
9372 ($(objpfx)tst-printf.out): Likewise.
9373 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9374 $(test-program-cmd).
9375 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9376 (test_program_prefix): This.
9377 * stdio-common/tst-unbputc.sh: Likewise.
9378 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9379 $(run-program-prefix) with $(test-program-prefix).
9380 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9381 (test_program_prefix): This.
9382 * string/Makefile ($(objpfx)tst-svc.out): Replace
9383 $(built-program-cmd) with $(test-program-cmd).
9384
c6fe55cf
AJ
93852013-01-11 Andreas Jaeger <aj@suse.de>
9386
9387 [BZ #15003]
9388 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9389 value. Sync with Linux 3.7.
9390
9e6919c8
DM
93912013-01-10 David S. Miller <davem@davemloft.net>
9392
9393 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9394 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9395 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9396
1c9f1a02
RM
93972013-01-10 Roland McGrath <roland@hack.frob.com>
9398
9399 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9400 never set.
9401 * configure: Regenerated.
9402
b9de2dde
DM
94032013-01-10 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9406 sparc V9 rather than using V8 code.
9407 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9408 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9409
e7f68ef4
RM
94102013-01-10 Roland McGrath <roland@hack.frob.com>
9411
9412 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9413 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9414 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9415 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9416 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9417 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9418 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9419 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9420 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9421 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9422 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9423 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9424 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9425 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9426 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9427 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9428 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9429 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9430 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9431 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9432 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9433 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9434 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9435 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9436 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9437 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9438 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9439
5a47cc9c
DM
94402013-01-10 David S. Miller <davem@davemloft.net>
9441
9442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9443
4cf8f209
L
94442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 * posix/Makefile (tests-static): New variable.
9447 (tests): Add $(tests-static).
9448 (tst-exec-static-ARGS): New variable.
9449 (tst-spawn-static-ARGS): Likewise.
9450 * posix/tst-exec-static.c: New file.
9451 * posix/tst-spawn-static.c: Likewise.
9452 * posix/tst-exec.c: Support run directly.
9453 * posix/tst-spawn.c: Likewise.
9454
fed0faa1
JM
94552013-01-10 Joseph Myers <joseph@codesourcery.com>
9456
828beb13
JM
9457 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9458 long.
9459 * math/bits/mathcalls.h (llrint): Likewise.
9460 (llround): Likewise.
9461 * stdlib/stdlib.h (struct drand48_data): Likewise.
9462 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9463 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9465 Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9467 Likewise.
9468 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9469 (elf_greg_t): Likewise.
9470 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9471 (__jmp_buf): Likewise.
9472 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9473 definitions.
9474 (llrint): Likewise, for all definitions.
9475 (llrintl): Likewise.
9476
fed0faa1
JM
9477 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9478 Remove [__GNUC__] condition.
9479 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9480 condition to just [__USE_ISOC99].
9481 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9482
1a20cb20
L
94832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9484
9485 [BZ #14200]
9486 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9487 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9488 defined.
9489 (_POSIX_V6_ILP32_OFF32): Likewise.
9490 (_XBS5_ILP32_OFF32): Likewise.
9491 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9492 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9493
751b85f7
SP
94942013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
7490eb81
SP
9496 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9497
751b85f7
SP
9498 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9499 doubles __mpexp_twomm1. Adjust usage.
9500 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9501 Remove.
9502
988197f0
AS
95032013-01-10 Andreas Schwab <schwab@suse.de>
9504
9505 [BZ #14964]
9506 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9507 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9508
e83d7298
DM
95092013-01-09 David S. Miller <davem@davemloft.net>
9510
034ed64b 9511 [BZ #15003]
e83d7298
DM
9512 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9513 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9514 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9515 TCP_FASTOPEN): Define.
9516 (tcp_repair_opt): New structure.
9517 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9518 enum values.
9519 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9520 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9521 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9522 (tcp_cookie_transactions): New structure.
9523
d5e0b9bd
AB
95242013-01-09 Anton Blanchard <anton@samba.org>
9525
9526 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9527 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9528 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9529 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9530
0c07e3ea
JM
95312013-01-09 Joseph Myers <joseph@codesourcery.com>
9532
9533 * include/features.h (__USE_ANSI): Remove.
9534
232f7002
RM
95352013-01-09 Roland McGrath <roland@hack.frob.com>
9536
ad98e30c
RM
9537 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9538
232f7002
RM
9539 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9540
950c99ca
SP
95412013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
b5792741
SP
9543 * sysdeps/s390/fpu/libm-test-ulps: Update.
9544
47cf2278
SP
9545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9546
950c99ca
SP
9547 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9548 (__acr): Likewise.
9549 (__cpy): Likewise.
9550 (norm): Likewise.
9551 (denorm): Likewise.
9552 (__mp_dbl): Likewise.
9553 (__dbl_mp): Likewise.
9554 (add_magnitudes): Likewise.
9555 (sub_magnitudes): Likewise.
9556 (__add): Likewise.
9557 (__sub): Likewise.
9558 (__mul): Likewise.
9559 (__inv): Likewise.
9560 (__dvd): Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9562 (__acr): Likewise.
9563 (__cpy): Likewise.
9564 (norm): Likewise.
9565 (denorm): Likewise.
9566 (__mp_dbl): Likewise.
9567 (__dbl_mp): Likewise.
9568 (add_magnitudes): Likewise.
9569 (sub_magnitudes): Likewise.
9570 (__add): Likewise.
9571 (__sub): Likewise.
9572 (__mul): Likewise.
9573 (__inv): Likewise.
9574 (__dvd): Likewise.
9575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9576 (__acr): Likewise.
9577 (__cpy): Likewise.
9578 (norm): Likewise.
9579 (denorm): Likewise.
9580 (__mp_dbl): Likewise.
9581 (__dbl_mp): Likewise.
9582 (add_magnitudes): Likewise.
9583 (sub_magnitudes): Likewise.
9584 (__add): Likewise.
9585 (__sub): Likewise.
9586 (__mul): Likewise.
9587 (__inv): Likewise.
9588 (__dvd): Likewise.
9589
eede9df9
JM
95902013-01-08 Joseph Myers <joseph@codesourcery.com>
9591
9592 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9593 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9594 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9595 2 && __USE_EXTERN_INLINES]: Likewise.
9596
c40ea3d9
AJ
95972013-01-08 Andreas Jaeger <aj@suse.de>
9598
9599 [BZ# 14985]
9600 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9601 Remove.
9602 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9603 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9604
2ccdea26
AB
96052013-01-07 Anton Blanchard <anton@samba.org>
9606
9607 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9608 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9609 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9610 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9611 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9613 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9614 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9616 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9618 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9625 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9626 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9628 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9631 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9632 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9633 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9634 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9636 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9637 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9640 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9641 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9642 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9643 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9646 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9647 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9649 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9650
a9708fed
JM
96512013-01-07 Joseph Myers <joseph@codesourcery.com>
9652
375607b9
JM
9653 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9654 (__MALLOC_PMT): Likewise.
9655 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9656 [__GNUC__], only on [_LIBC].
9657 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9658 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9659 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9660 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9661 forward declaration.
9662 (realloc_hook_ini): Likewise.
9663 (memalign_hook_ini): Likewise.
9664 (__libc_memalign): Do not use __MALLOC_PMT in variable
9665 declaration.
9666 (__libc_valloc): Likewise.
9667 (__libc_pvalloc): Likewise.
9668 (__libc_calloc): Likewise.
9669 (__posix_memalign): Likewise.
9670
a9708fed
JM
9671 [BZ #14996]
9672 * math/s_casinh.c: Include <float.h>.
9673 (__casinh): Do not do computation with squaring and square root
9674 for large arguments.
9675 * math/s_casinhf.c: Include <float.h>.
9676 (__casinhf): Do not do computation with squaring and square root
9677 for large arguments.
9678 * math/s_casinhl.c: Include <float.h>.
9679 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9680 (__casinhl): Do not do computation with squaring and square root
9681 for large arguments.
9682 * math/libm-test.inc (casin_test): Add more tests.
9683 (casinh_test): Likewise.
9684 * sysdeps/i386/fpu/libm-test-ulps: Update.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686
afec409a
L
96872013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9690 (__x86_64_raw_data_cache_size): Likewise.
9691 (__x86_64_data_cache_size_half): Likewise.
9692 (__x86_64_raw_data_cache_size_half): Likewise.
9693 (__x86_64_shared_cache_size): Likewise.
9694 (__x86_64_raw_shared_cache_size): Likewise.
9695 (__x86_64_shared_cache_size_half): Likewise.
9696 (__x86_64_raw_shared_cache_size_half): Likewise.
9697 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9698 to ...
9699 (__x86_data_cache_size): This.
9700 (__x86_64_raw_data_cache_size): Renamed to ...
9701 (__x86_raw_data_cache_size): This.
9702 (__x86_64_data_cache_size_half): Renamed to ...
9703 (__x86_data_cache_size_half): This.
9704 (__x86_64_raw_data_cache_size_half): Renamed to ...
9705 (__x86_raw_data_cache_size_half): This.
9706 (__x86_64_shared_cache_size): Renamed to ...
9707 (__x86_shared_cache_size): This.
9708 (__x86_64_raw_shared_cache_size): Renamed to ...
9709 (__x86_raw_shared_cache_size): This.
9710 (__x86_64_shared_cache_size_half): Renamed to ...
9711 (__x86_shared_cache_size_half): This.
9712 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9713 (__x86_raw_shared_cache_size_half): This.
9714 * sysdeps/x86_64/memcpy.S: Updated.
9715 * sysdeps/x86_64/memset.S: Likewise.
9716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9717 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9719
0b3986d0
DM
97202013-01-04 David S. Miller <davem@davemloft.net>
9721
9722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9723
e47686e9
AS
97242013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9725
d643bac1
AS
9726 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9727 1 to avoid redefinition warning.
9728 (__USE_GNU): Don't define.
9729 (init_signaling_nan): Protoize.
9730
e47686e9
AS
9731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9732
b18decba
SP
97332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
fffb407f
SP
9735 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9737 (__cpymn): Likewise.
9738 (norm): Remove commented code.
9739 (denorm): Likewise.
9740 (__mp_dbl): Likewise.
9741 (__inv): Likewise.
9742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9743 (__cpymn): Likewise.
9744 (norm): Remove commented code.
9745 (denorm): Likewise.
9746 (__mp_dbl): Likewise.
9747 (__inv): Likewise.
9748
b18decba
SP
9749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9750 mp_no value for 1.0 and 2.0.
9751 (norm): Use RADIXI instead of radixi.d.
9752 (denorm): Likewise.
9753 (__mul): Use 0.0 instead of zero.d.
9754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9755 mp_no value for 1.0 and 2.0.
9756 (norm): Use RADIXI instead of radixi.d.
9757 (denorm): Likewise.
9758 (__mul): Use 0.0 instead of zero.d.
9759
cdc1c96f
JM
97602013-01-04 Joseph Myers <joseph@codesourcery.com>
9761
9762 [BZ #14994]
9763 * math/s_casinh.c (__casinh): Reduce finite argument to first
9764 quadrant then set signs of results at the end.
9765 * math/s_casinhf.c (__casinhf): Likewise.
9766 * math/s_casinhl.c (__casinhl): Likewise.
9767 * math/libm-test.inc (casin_test): Add more tests.
9768 (casinh_test): Likewise.
9769 * sysdeps/i386/fpu/libm-test-ulps: Update.
9770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9771
302913e1
SP
97722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9773
6420d207
SP
9774 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9775
a9e48ab4
SP
9776 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9777
b7837264
SP
9778 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9779 declarations.
9780 (denorm): Likewise.
9781 (__mp_dbl): Likewise.
9782 (__inv): Likewise.
9783
f8af25d2
SP
9784 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9785 and adjust the header comment.
9786
302913e1
SP
9787 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9788 variable name from declaration.
9789
5d7dd1ca
L
97902013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9793 Initialize COMMON_CPUID_INDEX_7 element.
9794 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9795 (CPUID_RTM): Likewise.
9796 (HAS_RTM): Likewise.
9797 (COMMON_CPUID_INDEX_7): New enum.
9798
2f5f40f4
AS
97992013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9800
9801 [BZ #14981]
9802 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9803 size is zero, record memory as freed.
9804
4056f4a0
AJ
98052013-01-03 Andreas Jaeger <aj@suse.de>
9806
9807 * po/ia.po: Add new Interlingua translation.
9808
ab15736f 98092012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9810
9811 * locale/programs/localedef.c: Fix description of '--posix' flag.
9812
568035b7
JM
98132013-01-02 Joseph Myers <joseph@codesourcery.com>
9814
e6898b8d
JM
9815 * NEWS: Update dates in second copyright notice.
9816 * README: Update copyright dates in example.
9817 * manual/libc.texinfo: Update copyright dates.
9818 * scripts/test-installation.pl: Update copyright date in --version
9819 output.
9820
0e2f9562
JM
9821 * hurd/ctty-input.c: Fix copyright notice formatting.
9822 * hurd/ctty-output.c: Likewise.
9823 * hurd/dtable.c: Likewise.
9824 * hurd/hurd-raise.c: Likewise.
9825 * hurd/hurdprio.c: Likewise.
9826 * hurd/msgportdemux.c: Likewise.
9827 * misc/sys/file.h: Likewise.
9828 * misc/sys/ioctl.h: Likewise.
9829 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9830 * sysdeps/mach/hurd/chdir.c: Likewise.
9831 * sysdeps/mach/hurd/fchdir.c: Likewise.
9832 * sysdeps/mach/hurd/rename.c: Likewise.
9833 * sysdeps/mach/hurd/rmdir.c: Likewise.
9834 * sysdeps/mach/hurd/seekdir.c: Likewise.
9835 * sysdeps/mach/hurd/setsid.c: Likewise.
9836 * sysdeps/posix/wait3.c: Likewise.
9837
568035b7
JM
9838 * All files with FSF copyright notices: Update copyright dates
9839 using scripts/update-copyrights.
9840 * intl/plural.c: Regenerated.
9841 * locale/programs/charmap-kw.h: Likewise.
9842 * locale/programs/locfile-kw.h: Likewise.
9843
da08f647
SP
98442013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9845
0f5477af
SP
9846 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9847 four values.
9848
44e0d4c2
SP
9849 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9850 calculation loop and add branch prediction.
9851
4d55b4e5
SP
9852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9853 check access beyond bounds of m1np.
9854
da08f647
SP
9855 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9856 MPTWO.
9857 (__inv): Remove local variable MPTWO to use the global
9858 constant.
9859 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9861 variable MPTWO.
9862 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9863 MP3HALFS static const.
9864
8e051029
DM
98652013-01-01 David S. Miller <davem@davemloft.net>
9866
9867 * po/ca.po: Update from translation team.
9868
f4cf5f2d
JM
98692013-01-01 Joseph Myers <joseph@codesourcery.com>
9870
9871 * scripts/update-copyrights: New file.
9872 * Makeconfig: Reformat copyright notice.
9873 * ctype/ctype.h: Likewise.
9874 * debug/swprintf_chk.c: Likewise.
9875 * elf/dl-cache.c: Likewise.
9876 * elf/dl-debug.c: Likewise.
9877 * elf/dl-object.c: Likewise.
9878 * grp/initgroups.c: Likewise.
9879 * hurd/Makefile: Likewise.
9880 * hurd/hurd/signal.h: Likewise.
9881 * hurd/hurdfault.c: Likewise.
9882 * hurd/hurdioctl.c: Likewise.
9883 * hurd/hurdlookup.c: Likewise.
9884 * hurd/intr-msg.c: Likewise.
9885 * iconv/gconv_open.c: Likewise.
9886 * libio/swprintf.c: Likewise.
9887 * locale/lc-ctype.c: Likewise.
9888 * locale/nl_langinfo.c: Likewise.
9889 * mach/Machrules: Likewise.
9890 * mach/Makefile: Likewise.
9891 * malloc/obstack.h: Likewise.
9892 * manual/Makefile: Likewise.
9893 * manual/tsort.awk: Likewise.
9894 * misc/bits/stab.def: Likewise.
9895 * nis/nis_print_group_entry.c: Likewise.
9896 * nis/nis_table.c: Likewise.
9897 * nis/nss_compat/compat-pwd.c: Likewise.
9898 * nis/nss_compat/compat-spwd.c: Likewise.
9899 * po/Makefile: Likewise.
9900 * posix/fnmatch.c: Likewise.
9901 * posix/regex.h: Likewise.
9902 * resolv/Makefile: Likewise.
9903 * resolv/nss_dns/dns-network.c: Likewise.
9904 * resolv/res_hconf.c: Likewise.
9905 * scripts/gen-sorted.awk: Likewise.
9906 * soft-fp/soft-fp.h: Likewise.
9907 * stdio-common/printf.h: Likewise.
9908 * stdlib/monetary.h: Likewise.
9909 * stdlib/random.c: Likewise.
9910 * stdlib/random_r.c: Likewise.
9911 * sysdeps/generic/Makefile: Likewise.
9912 * sysdeps/gnu/Makefile: Likewise.
9913 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9941 * sysdeps/mach/hurd/errnos.awk: Likewise.
9942 * sysdeps/mach/hurd/fork.c: Likewise.
9943 * sysdeps/mach/hurd/getcwd.c: Likewise.
9944 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9945 * sysdeps/mach/hurd/mmap.c: Likewise.
9946 * sysdeps/mach/hurd/utimes.c: Likewise.
9947 * sysdeps/mach/hurd/xmknod.c: Likewise.
9948 * sysdeps/posix/profil.c: Likewise.
9949 * sysdeps/posix/readdir_r.c: Likewise.
9950 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9951 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9952 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9953 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9955 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9956 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9959 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9961 * sysdeps/pthread/lio_listio.c: Likewise.
9962 * sysdeps/sparc/dl-procinfo.h: Likewise.
9963 * sysdeps/unix/i386/sysdep.S: Likewise.
9964 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9965 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9966 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9967 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9969 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9970 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9971 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9972 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9973 * sysdeps/wordsize-32/divdi3.c: Likewise.
9974 * time/sys/time.h: Likewise.
9975 * wcsmbs/Makefile: Likewise.
9976
0549fbba
DM
99772013-01-01 David S. Miller <davem@davemloft.net>
9978
a141f1a7
DM
9979 * po/fr.po: Update from translation team.
9980
0549fbba
DM
9981 * catgets/gencat.c: Update copyright year.
9982 * csu/version.c: Likewise.
9983 * debug/catchsegv.sh: Likewise.
9984 * debug/pcprofiledump.c: Likewise.
9985 * debug/xtrace.sh: Likewise.
9986 * elf/ldconfig.c: Likewise.
9987 * elf/ldd.bash.in: Likewise.
9988 * elf/pldd.c: Likewise.
9989 * elf/sotruss.ksh: Likewise.
9990 * elf/sprof.c: Likewise.
9991 * iconv/iconv_prog.c: Likewise.
9992 * iconv/iconvconfig.c: Likewise.
9993 * locale/programs/locale.c: Likewise.
9994 * locale/programs/localedef.c: Likewise.
9995 * login/programs/pt_chown.c: Likewise.
9996 * malloc/memusage.sh: Likewise.
9997 * malloc/memusagestat.c: Likewise.
9998 * malloc/mtrace.pl: Likewise.
9999 * nscd/nscd.c: Likewise.
10000 * nss/getent.c: Likewise.
10001 * nss/makedb.c: Likewise.
10002 * posix/getconf.c: Likewise.
10003
18ea052c
SP
100042012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10005
10006 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10007 numbers.
10008
9c89fca6
MF
100092012-12-30 Mike Frysinger <vapier@gentoo.org>
10010
10011 * math/bits/mathcalls.h (modf): Use __nonnull.
10012
085ec079
SP
100132012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
10015 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10016 (split): Use macro CN instead of the bare value.
10017 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10018 could be used.
10019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10020 instead of the bare value.
10021 (power1): Likewise.
10022
6d9f97e1
SP
100232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10024
d63f73be
SP
10025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10026 __ATAN_TWOM.
10027 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10028
6d9f97e1
SP
10029 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10030 their values.
10031 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10032 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10033 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10034 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10035
4c4febf5
AJ
100362012-12-28 Andreas Jaeger <aj@suse.de>
10037
af5843ef
AJ
10038 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10039 values are from Linux 3.7.
10040
4c4febf5
AJ
10041 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10042 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10043
99136f82
SP
100442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10045
2f216c3c 10046 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10047 TRUE case.
10048
99136f82
SP
10049 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10050 (norm): Likewise.
10051 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10052 variables with preprocessor constants.
10053 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10054 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10055 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10056
7fffbdff
BH
100572012-12-27 Bruno Haible <bruno@clisp.org>
10058
10059 [BZ #14317]
10060 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10061 only if needed.
10062
b76eb5f0
SP
100632012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10064
31a7fe5c
SP
10065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10066 and use variable directly.
10067 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10068
b76eb5f0
SP
10069 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10070 MPONE.
10071 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10072 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10073 variable MPONE.
10074 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10076 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10077 include directive. Remove local variable MPONE.
10078 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10079 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10080 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10081
2c8bfe7d
DM
100822012-12-25 David S. Miller <davem@davemloft.net>
10083
10084 * version.h (RELEASE): Set to "development".
10085 (VERSION): Set to "2.17.90".
10086 * NEWS: Add 2.18 section.
10087
147d03b0
DM
100882012-12-21 David S. Miller <davem@davemloft.net>
10089
10090 * po/hr.po: Update from translation team.
10091
a8ebb2b9
AK
100922012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10093
10094 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10095
95b4f1b6
SE
100962012-12-19 Steve Ellcey <sellcey@mips.com>
10097
b2d94007 10098 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10099
cedb2a90
MS
101002012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10101
10102 * manual/contrib.texi (Contributors): Spelling correction.
10103
bbf527d6
DM
101042012-12-15 David S. Miller <davem@davemloft.net>
10105
10106 * po/ru.po: Update from translation team.
10107
bc38c906
DM
101082012-12-13 David S. Miller <davem@davemloft.net>
10109
85429b1a
DM
10110 * NEWS: Mention IFUNC testsuite enhancements.
10111
d283e353
DM
10112 * po/pl.po: Update from translation team.
10113 * po/bg.po: Likewise.
10114
bc38c906
DM
10115 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10116 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10117
a181b0d7
DM
101182012-12-11 David S. Miller <davem@davemloft.net>
10119
4641d57e
DM
10120 * po/sv.po: Update from translation team.
10121
f7bc6495
DM
10122 * po/vi.po: Update from translation team.
10123
6fc9048f
DM
10124 * po/cs.po: Update from translation team.
10125
a181b0d7
DM
10126 * po/de.po: Update from translation team.
10127 * po/eo.po: Likewise.
10128 * po/nl.po: Likewise.
10129
f70bfe80
SP
101302012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10131
3c8b4190
SP
10132 [BZ #14246]
10133 * manual/argp.texi (Argp Helper Functions): Move node to follow
10134 Argp Parsing State.
10135
f70bfe80
SP
10136 [BZ #14872]
10137 * manual/conf.texi (Limits on File System Capacity): Mention if
10138 terminating null is included in the max size.
10139
188f0adf
AJ
101402012-12-10 Andreas Jaeger <aj@suse.de>
10141
10142 * po/cs.po: Update from translation team.
10143
56e7d3ad
SP
101442012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
10146 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10147 void pointer and cast to uintptr_t.
10148 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10149 path.
10150 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10151 * sysdeps/s390/s390-64/memset.S: Likewise.
10152
76f2d2ea 101532012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10154
10155 [BZ #14833]
10156 * menual/message.texi (Message Translation): Fix typos.
10157 (Helper programs for gettext): Likewise.
10158
67cbf9a2
AS
101592012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10160
10161 [BZ #14898]
10162 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10163 Change to -1.
10164
682d0e9a
DM
101652012-12-07 David S. Miller <davem@davemloft.net>
10166
10167 * po/libc.pot: Update.
10168
573cd484
RH
101692012-12-07 Richard Henderson <rth@redhat.com>
10170
7e9da188 10171 [BZ #10114]
573cd484
RH
10172 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10173 normal/normal case to before the switch.
10174 (_FP_DIV): Likewise.
10175
e933a943
MF
101762012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10177 Mike Frysinger <vapier@gentoo.org>
10178
10179 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10180 check for __NR_fadvise64_64.
10181
82123268
CM
101822012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10183
10184 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10185 0, not just to plain "0" as a statement.
10186 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10187 with cw.
10188
d9814526
JM
101892012-12-06 Joseph Myers <joseph@codesourcery.com>
10190
10191 * NEWS: Use sourceware.org in Bugzilla URL.
10192
7728c574
SP
101932012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10194
f16946dd
SP
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10196 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10197
5704bbcb
SP
10198 * stdio-common/tst-put-error.c (do_test): Add newline to the
10199 padded test to ensure flush.
10200
17aa0516
JL
102012012-12-05 Jeff Law <law@redhat.com>
10202
10203 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10204
363313b5
JM
102052012-12-05 Joseph Myers <joseph@codesourcery.com>
10206
effbd42a
JM
10207 * README: Don't refer to ports add-on as distributed separately.
10208 Mention AArch64 in list of systems supported in the ports add-on.
10209
87600365
JM
10210 * LICENSES: Add more non-FSF copyright and license notices.
10211
a0d7066a
JM
10212 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10213 ((unused)).
10214
66ca5a5b
JM
10215 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10216
363313b5
JM
10217 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10218 10000 as width of padded output.
10219
b37984ad
JM
102202012-12-04 Joseph Myers <joseph@codesourcery.com>
10221
9003570a
JM
10222 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10223
b37984ad
JM
10224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10225 variable LX with __attribute__ ((unused)).
10226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10227 Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10231 with __attribute__ ((unused)).
10232
c8df52ec
DM
102332012-12-04 David S. Miller <davem@abraco.davemloft.net>
10234
10235 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10236
b3b099af
JM
102372012-12-04 Joseph Myers <joseph@codesourcery.com>
10238
c33aa6e3
JM
10239 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10240 (CFLAGS-nldbl-acos.c): New variable.
10241 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10309 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10310 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10311 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10312 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10313 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10314 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10315 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10316 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10317 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10318 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10319 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10320 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10321 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10322 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10323 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10324 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10325 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10326 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10327 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10328 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10329 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10330 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10331 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10332 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10333 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10334 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10335 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10336 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10337 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10338
20f0018d
JM
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10340 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10341
b3b099af
JM
10342 [BZ #14914]
10343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10344 whole low double instead of just low 47 bits when splitting values
10345 into two parts.
10346
029264d1
AM
103472012-12-03 Allan McRae <allan@archlinux.org>
10348
10349 * manual/stdio.texi (Predefined Printf Handlers): Remove
10350 @hsep and @vsep usage.
10351
c9d6789e
MF
103522012-12-03 Mike Frysinger <vapier@gentoo.org>
10353
10354 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10355 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10356
4b7634a5
JL
103572012-12-03 Jeff Law <law@redhat.com>
10358
10359 * time/sys/time.h (settimeofday): Do not mark TV argument
10360 as __nonnull.
10361
eb6cbd24
MF
103622012-12-01 Mike Frysinger <vapier@gentoo.org>
10363
10364 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10365 when currently writing and seek to current position when not.
10366 * libio/Makefile (tests): Remove bug-fclose1.
10367 * libio/bug-fclose1.c: Delete.
10368
f638872a
JM
103692012-12-01 Joseph Myers <joseph@codesourcery.com>
10370
10371 * manual/arith.texi (feenableexcept): Fix typo.
10372 (fedisableexcept): Likewise.
10373
48085d14
RM
103742012-11-30 Roland McGrath <roland@hack.frob.com>
10375
10376 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10377 second, differently-typed declaration, rather than a cast.
10378
1a538b9f
SP
103792012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10380
10381 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10382 * include/rpc/svc.h: ... here.
10383
d07f2ff1 103842012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10385
10386 [BZ #13013]
10387 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10388 depending n and resplen2 to catch cases where answer
10389 equals answerp2.
10390
c93ec1f0
CD
103912012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10392
10393 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10394 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10395
37db69de
MF
103962012-11-29 Mike Frysinger <vapier@gentoo.org>
10397
10398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10399
e10c4e4f
RM
104002012-11-29 Roland McGrath <roland@hack.frob.com>
10401
10402 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10403
2af1b328
JL
104042012-11-28 Jeff Law <law@redhat.com>
10405
10406 [BZ #13761]
10407 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10408 dataset_temporary. Track alloca usage into alloca_used.
10409 If dataset is large allocate and release it via malloc/free.
10410
111db5b1
FW
104112012-06-04 Florian Weimer <fweimer@redhat.com>
10412
f06cc227 10413 [BZ #14197]
111db5b1
FW
10414 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10415
dd694abd
DM
104162012-11-28 David S. Miller <davem@davemloft.net>
10417
10418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10419
9984dd01
JM
104202012-11-28 Joseph Myers <joseph@codesourcery.com>
10421
10422 [BZ #14803]
10423 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10424 of pi/2 rounded to nearest to 64 bits.
10425 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10426 nearest to 64 bits.
10427 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10428 bits.
10429
14bc93a9
JL
104302012-11-28 Jeff Law <law@redhat.com>
10431 Martin Osvald <mosvald@redhat.com>
10432
10433 [BZ #14889]
10434 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10435 * sunrpc/svc.c: Include time.h.
10436 (__svc_accept_failed): New function.
10437 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10438 any reason other than EINTR, call __svc_accept_failed.
10439 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10440 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10441
e3c6aa3a
AS
104422012-11-28 Andreas Schwab <schwab@suse.de>
10443
10444 * scripts/abilist.awk: Also handle indirect functions in .opd
10445 section.
10446
1bead169
JM
104472012-11-28 Joseph Myers <joseph@codesourcery.com>
10448
10449 [BZ #13881]
10450 * sysdeps/x86/fpu/powl_helper.c: New file.
10451 * sysdeps/x86/fpu/Makefile: Likewise.
10452 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10453 (p3): New object.
10454 (__ieee754_powl): Use __powl_helper for finite arguments except
10455 integer exponents below 8.
10456 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10457 (p3): New object.
10458 (__ieee754_powl): Use __powl_helper for finite arguments except
10459 integer exponents below 8.
10460 * math/libm-test.inc (pow_test): Add more tests and enable some
10461 previously disabled tests.
10462 * sysdeps/i386/fpu/libm-test-ulps: Update.
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464
0817d63d
SP
104652012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10466 Carlos O'Donell <carlos_odonell@mentor.com>
10467
10468 * nss/makedb.c (is_prime): Assert that input is odd and greater
10469 than 4. Note that fact in a comment too.
10470 (next_prime): Add 4 to input.
10471
de2fd463
SP
104722012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10473
10474 [BZ #11741]
10475 * libio/Makefile (tests): Add test case tst-fwrite-error.
10476 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10477 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10478 * libio/tst-fwrite-error.c: New test case.
10479
c515fb51
L
104802012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10481
10482 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10483 before casting to void *.
10484 * include/libc-internal.h (__pointer_type): New macro.
10485 (__integer_if_pointer_type_sub): Likewise.
10486 (__integer_if_pointer_type): Likewise.
10487 (cast_to_integer): Likewise.
10488 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10489 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10490 before casting to atomic64_t.
10491 (atomic_exchange_acq): Likewise.
10492 (__arch_exchange_and_add_body): Likewise.
10493 (__arch_add_body): Likewise.
10494 (atomic_add_negative): Likewise.
10495 (atomic_add_zero): Likewise.
10496
4cf77aa9
JM
104972012-11-26 Joseph Myers <joseph@codesourcery.com>
10498
10499 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10500 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10501 (add_fdes): Likewise.
10502 (linear_search_fdes): Likewise.
10503 (binary_search_unencoded_fdes): Likewise.
10504
d260b3b4
AS
105052012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10506
10507 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10508
67060746
AC
105092012-11-24 Adam Conrad <adconrad@0c3.net>
10510
10511 * configure.in: Autodetect C++ header directories.
10512 * configure: Regenerated.
10513
800938a1
MF
105142012-11-23 Mike Frysinger <vapier@gentoo.org>
10515
10516 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10517
4e6e34e6
AS
105182012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10519
10520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10521
7c7feb47
JM
105222012-11-22 Joseph Myers <joseph@codesourcery.com>
10523
7184dcdf
JM
10524 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10525 LDBL_MANT_DIG == 106]: Disable some tests.
10526 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10527 Likewise.
10528 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10529 Likewise.
10530
0a42601f
JM
10531 [BZ #14871]
10532 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10533 input for small inputs. Return +/- pi/2 for large inputs.
10534 * math/libm-test.inc (atan_test): Add more tests.
10535
79c9b9fe
JM
10536 * sysdeps/generic/unwind-dw2-fde-glibc.c
10537 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10538 __attribute__ ((unused)).
10539
c60d3bf2
JM
10540 [BZ #14645]
10541 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10542 x * y if x and y are nonzero and z is zero.
10543
ef1e0867
JM
10544 [BZ #14811]
10545 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10546 nonzero exponents with absolute value below 0x1p-117 to +/-
10547 0x1p-117.
10548
1468ded3
JM
10549 [BZ #14869]
10550 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10551 up arguments below 2**-450, not just those below 2**-500.
10552 * math/libm-test.inc (hypot_test): Add another test.
10553
8e27e3cc
JM
10554 [BZ #14868]
10555 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10556 Return a+b for ratio over 2**120, not 2**60.
10557 * math/libm-test.inc (hypot_test): Add another test.
10558
c9c0279b
JM
10559 * math/libm-test.inc (clog_test): Use
10560 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10561 (clog10_test): Likewise.
10562
7c7feb47
JM
10563 [BZ #6778]
10564 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10565
fff1530e
AS
105662012-11-22 Andreas Schwab <schwab@suse.de>
10567
10568 * sysdeps/i386/fpu/libm-test-ulps: Update.
10569
94558d30
PT
105702012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10571
10572 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10573 printf output with newline.
10574
7e1be741
L
105752012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10576
6bfea974
L
10577 [BZ #14865]
10578 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10579 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10580 -z nodlopen, -z initfirst and -z execstack support.
10581 * configure: Regenerated.
10582
7e1be741
L
10583 * elf/elf.h (DF_1_NODIRECT): New macro.
10584 (DF_1_IGNMULDEF): Likewise.
10585 (DF_1_NOKSYMS): Likewise.
10586 (DF_1_NOHDR): Likewise.
10587 (DF_1_EDITED): Likewise.
10588 (DF_1_NORELOC): Likewise.
10589 (DF_1_SYMINTPOSE): Likewise.
10590 (DF_1_GLOBAUDIT): Likewise.
10591 (DF_1_SINGLETON): Likewise.
10592 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10593 DT_1_SUPPORTED_MASK bits.
10594 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10595
105ce2ce
CD
105962012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10597
10598 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10599
123be9de
TS
106002012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10601
d072f3f7
TS
10602 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10603 macro.
10604
123be9de
TS
10605 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10606 (sendmmsg): Move declarations...
10607 * socket/sys/socket.h: ... here.
10608 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10609 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10610 include it from...
10611 * socket/recvmmsg.c: ... this new file.
10612 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10613 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10614 definition of __sendmmsg hidden.
10615 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10616 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10617 Move ENOSYS stub into and include it from...
10618 * socket/sendmmsg.c: ... this new file.
10619 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10620 (sysdep_routines): Move recvmmsg and sendmmsg...
10621 * socket/Makefile (routines): ... here.
10622 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10623 (GLIBC_PRIVATE): Add __sendmmsg.
10624 * include/sys/socket.h (__sendmmsg): Add declarations.
10625 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10626 sendmmsg.
10627
cf9a5d18
JM
106282012-11-20 Joseph Myers <joseph@codesourcery.com>
10629
10630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10631 variable I1 with __attribute__ ((unused)).
10632 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10633
ecd4caf9
JM
106342012-11-19 Joseph Myers <joseph@codesourcery.com>
10635
be14d48f
JM
10636 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10637 DUMMY variables with __attribute__ ((unused)).
10638
ecd4caf9
JM
10639 * bits/byteswap.h: Include <bits/types.h>.
10640 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10641
986cab95
PT
106422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10643
10644 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10645 string_t. Do not manually set errno.
10646 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10647 length with __strnlen. Make sure to both set errno and return it on
10648 failure.
10649
6d33cc9d
DM
106502012-11-19 David S. Miller <davem@davemloft.net>
10651
10652 With help from Joseph Myers.
10653 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10654 very large arguments properly.
10655 * math/libm-test.inc (atan_test): New tests.
10656 (atan2_test): New tests.
10657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10659
ee663277
JM
106602012-11-19 Joseph Myers <joseph@codesourcery.com>
10661
877f2d8e
JM
10662 [BZ #14856]
10663 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10664 Define to 3.
10665
116fc08a
JM
10666 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10667 [POSIX] (EADDRNOTAVAIL): Likewise.
10668 [POSIX] (EAFNOSUPPORT): Likewise.
10669 [POSIX] (EALREADY): Likewise.
10670 [POSIX] (ECONNABORTED): Likewise.
10671 [POSIX] (ECONNREFUSED): Likewise.
10672 [POSIX] (ECONNRESET): Likewise.
10673 [POSIX] (EDESTADDRREQ): Likewise.
10674 [POSIX] (EDQUOT): Likewise.
10675 [POSIX] (EHOSTUNREACH): Likewise.
10676 [POSIX] (EIDRM): Likewise.
10677 [POSIX] (EISCONN): Likewise.
10678 [POSIX] (ELOOP): Likewise.
10679 [POSIX] (EMULTIHOP): Likewise.
10680 [POSIX] (ENETDOWN): Likewise.
10681 [POSIX] (ENETUNREACH): Likewise.
10682 [POSIX] (ENOBUFS): Likewise.
10683 [POSIX] (ENODATA): Likewise.
10684 [POSIX] (ENOLINK): Likewise.
10685 [POSIX] (ENOMSG): Likewise.
10686 [POSIX] (ENOPROTOOPT): Likewise.
10687 [POSIX] (ENOSR): Likewise.
10688 [POSIX] (ENOSTR): Likewise.
10689 [POSIX] (ENOTCONN): Likewise.
10690 [POSIX] (ENOTSOCK): Likewise.
10691 [POSIX] (EOPNOTSUPP): Likewise.
10692 [POSIX] (EOVERFLOW): Likewise.
10693 [POSIX] (EPROTO): Likewise.
10694 [POSIX] (EPROTONOSUPPORT): Likewise.
10695 [POSIX] (EPROTOTYPE): Likewise.
10696 [POSIX] (ESTALE): Likewise.
10697 [POSIX] (ETIME): Likewise.
10698 [POSIX] (ETXTBSY): Likewise.
10699 [POSIX] (EWOULDBLOCK): Likewise.
10700 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10701 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10702 [POSIX] (SEEK_CUR): Likewise.
10703 [POSIX] (SEEK_END): Likewise.
10704 [POSIX || UNIX98] (mode_t): Do not require.
10705 [POSIX] (off_t): Likewise.
10706 [POSIX] (pid_t): Likewise.
10707 [POSIX] (sys/stat.h): Do not allow header.
10708 [POSIX] (unistd.h): Likewise.
10709 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10710 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10712 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10713 require.
10714 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10715 sigevent): Specify elements.
10716 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10717 entry.
10718 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10719 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10720
a483863f
JM
10721 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10722 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10723 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10724 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10725 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10726 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10727 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10728 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10730 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10731 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10732 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10733 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10734 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10735 Likewise.
10736 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10737 Likewise.
10738 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10739 Likewise.
10740 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10741 Likewise.
10742 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10743 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10744 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10745 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10747 Specify lower bound on value.
10748 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10752 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10753 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10754 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10755 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10756 value.
10757 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10758 as optional.
10759 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10773 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10774 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10775 entry.
10776 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10777 optional.
10778 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10779 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10780 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10781 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10782 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10784 Likewise.
10785 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10787 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10788 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10789 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10790 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10791 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10792 as optional.
10793 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10794 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10795 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10796 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10797 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10798 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10799 specify as optional.
10800 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10801 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10802 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10803 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10804 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10805 [XPG3] (NL_LANGMAX): Likewise.
10806 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10807 [POSIX || XPG3] (NL_NMAX): Likewise.
10808 [POSIX || XPG3] (NL_SETMAX): Likewise.
10809 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10810 [XPG3] (NZERO): Likewise.
10811 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10812 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10813 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10814 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10815 (REG_ERANGE): Expect.
10816 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10817 optional-constant.
10818 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10819 Use (void) in prototype.
10820 [POSIX] (*_t): Allow.
10821 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10822 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10823 (WRDE_BADVAL): Expect.
10824
5ba924e3
JM
10825 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10826 expect.
10827 [XPG3 || XPG4] (O_RSYNC): Likewise.
10828 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10829 Likewise.
10830 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10831 [XPG3 || XPG4] (sigqueue): Likewise.
10832 [XPG3 || XPG4] (sigtimedwait): Likewise.
10833 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10834 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10835 [XPG3 || XPG4] (vsnprintf): Likewise.
10836 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10837 Likewise.
10838 [XPG3 || XPG4] (blksize_t): Likewise.
10839 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10840 Likewise.
10841 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10842 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10843 [XPG3 || XPG4] (struct itimerspec): Likewise.
10844 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10845 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10846 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10847 [XPG3 || XPG4] (clockid_t): Likewise.
10848 [XPG3 || XPG4] (timer_t): Likewise.
10849 [XPG3 || XPG4] (clock_getres): Likewise.
10850 [XPG3 || XPG4] (clock_gettime): Likewise.
10851 [XPG3 || XPG4] (clock_settime): Likewise.
10852 [XPG3 || XPG4] (nanosleep): Likewise.
10853 [XPG3 || XPG4] (timer_create): Likewise.
10854 [XPG3 || XPG4] (timer_delete): Likewise.
10855 [XPG3 || XPG4] (timer_gettime): Likewise.
10856 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10857 [XPG3 || XPG4] (timer_settime): Likewise.
10858 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10859 [XPG3 || XPG4] (getlogin_r): Likewise.
10860 [XPG3 || XPG4] (pread): Likewise.
10861 [XPG3 || XPG4] (pthread_atfork): Likewise.
10862 [XPG3 || XPG4] (pwrite): Likewise.
10863
ee663277
JM
10864 [BZ #14835]
10865 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10866 <bits/siginfo.h>.
10867
942caa16
PT
108682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10869
e19af380
PT
10870 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10871 finalizing MALLSTREAM.
10872
942caa16
PT
10873 * sysdeps/mach/hurd/syncfs.c: New file.
10874
cfde9b46
SP
108752012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10876
10877 [BZ #14719]
10878 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10879 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10880 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10881 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10882 (_nss_dns_gethostbyname4_r): Likewise.
10883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10884 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10885
f6da27e5
PH
108862012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10887
10888 [BZ #13763]
10889 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10890
6665d4a2
SM
108912012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10892
1f51ee92
SM
10893 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10894 * elf/cache.c (print_entry): Print ",AArch64" for
10895 FLAG_AARCH64_LIB64
10896
6665d4a2
SM
10897 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10898 * elf/cache.c (print_entry): Print ",hard-float" for
10899 FLAG_ARM_LIBHF.
10900
05b227bd
DM
109012012-11-18 David S. Miller <davem@davemloft.net>
10902
10903 With help from Joseph Myers.
10904 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10905 cutoff to 2**-13.
10906 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10907 cutoff to 2**-25.
10908 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10909 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10910 small.
10911 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10912 * math/libm-test.inc (y0_test): New tests.
10913 (y1_test): New tests.
10914 * sysdeps/i386/fpu/libm-test-ulps: Update.
10915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10917
786b0b67
AS
109182012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10919
10920 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10921 64-bit targets.
10922 * configure: Regenerated.
10923
8e18b86d
DM
109242012-11-17 David S. Miller <davem@davemloft.net>
10925
10926 [BZ #14811]
10927 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10928 nonzero exponents with absolute value below 0x1p-128 to +/-
10929 0x1p-128.
10930
531f1ae0
JM
109312012-11-17 Joseph Myers <joseph@codesourcery.com>
10932
12df29e2
JM
10933 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10934
150dc1a0
JM
10935 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10936
531f1ae0
JM
10937 * posix/getconf-speclist.c: New file.
10938 * posix/posix-envs.def: Likewise.
10939 * posix/confstr.c (START_ENV_GROUP): New macro.
10940 (END_ENV_GROUP): Likewise.
10941 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10942 (KNOWN_PRESENT_ENV_STRING): Likewise.
10943 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10944 (UNKNOWN_ENVIRONMENT): Likewise.
10945 (confstr): Include posix-envs.def instead of handling
10946 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10947 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10948 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10949 (END_ENV_GROUP): Likewise.
10950 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10951 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10952 (UNKNOWN_ENVIRONMENT): Likewise.
10953 (__sysconf): Include posix-envs.def instead of handling associated
10954 cases directly here.
10955 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10956 preprocessing getconf-speclist.c rather than running getconf or
10957 generating empty file.
10958
a93f9cbc
PT
109592012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10960
10961 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10962
d64d9f87
AL
109632012-11-16 Andrej Lajovic <natrij@gmail.com>
10964
10965 [BZ #14672]
10966 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10967
447885eb
DM
109682012-11-16 David S. Miller <davem@davemloft.net>
10969
10970 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10971 smaller than LDBL_EPSILON/2.0L, just return xm1.
10972
bcbf9830
L
109732012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * elf/tst-array1.c (init): Set constructor priority to 1000.
10976 (fini): Set destructor priority to 1000.
10977 * elf/tst-array2dep.c: Likewise.
10978
2b766585
SP
109792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10980
10981 [BZ #11741]
10982 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10983 (_IO_new_file_xsputn): Also return EOF if none of the input
10984 data was written when overflow failed.
10985 * libio/iopadn.c (_IO_padn): Likewise.
10986 * libio/iowpadn.c (_IO_wpadn): Likewise.
10987 * stdio-common/tst-put-error.c: Add copyright notice.
10988 (do_test): Add case for printing padded string.
10989 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10990 _IO_padn returned error.
10991 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10992 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10993 return EOF.
10994
b1848fde
SP
109952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10996
10997 * libio/libioP.h: Add comment note that the references to C++
10998 bits are now obsolete.
10999
2fd89785
MS
110002012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11001
11002 * math/libm-test.inc (check_complex): Use asprintf.
11003
e3ea5409
JM
110042012-11-14 Joseph Myers <joseph@codesourcery.com>
11005
11006 * debug/pcprofiledump.c (print_version): Update copyright year.
11007 * malloc/memusagestat.c (print_version): Likewise.
11008
2e64d265
L
110092012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 [BZ #14831]
11012 * elf/Makefile (tests): Add tst-audit8.
11013 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11014 ($(objpfx)tst-audit8.out): New target.
11015 (tst-audit8-ENV): New variable.
11016 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11017 audit if l_reloc_result is NULL.
11018 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11019 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11020 * elf/tst-audit8.c: New file.
11021
c485e4d2
MS
110222012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11023
11024 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11025 * misc/Makefile (CFLAGS-select.c): Define.
11026 * posix/Makefile (CFLAGS-pause.c): Define.
11027
3a0d900a
DM
110282012-11-13 David S. Miller <davem@davemloft.net>
11029
11030 * crypt/Makefile: Move test targets after toplevel Rules
11031 inclusion. Grab any necessary sysdep routines when linking.
11032 * crypt/md5.c (md5_process_block): Remove define, we will always
11033 name it __md5_process_block.
11034 (md5_finish_ctx): Update md5_process_block call.
11035 (md5_stream): Likewise.
11036 (md5_process_bytes): Likewise.
11037 (md5_process_block): Rename to __md5_process_block and move to ...
11038 * crypt/md5-block.c: ... here.
11039 * crypt/sha256.c (sha256_process_block): Move to ...
11040 * crypt/sha256-block.c: ... here.
11041 * crypt/sha512.c (sha512_process_block): Move to ...
11042 * crypt/sha512-block.c: ... here.
11043 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11044 path.
11045 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11046 * sysdeps/sparc/sparc64/multiarch/Makefile
11047 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11048 crypt subdir.
11049 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11050 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11051 multiarch changes.
11052 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11053 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11054 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11055 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11056 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11057 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11058 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11059 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11061 file.
11062 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11063 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11064 file.
11065 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11066
8ca89318
JM
110672012-11-13 Joseph Myers <joseph@codesourcery.com>
11068
e27d476a
JM
11069 * timezone/tzselect.ksh: Update from tzcode git revision
11070 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11071 * timezone/zdump.c: Likewise.
11072 * timezone/zic.c: Likewise.
11073 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11074 in TZVERSION setting, not $(PKGVERSION).
11075 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11076 REPORT_BUGS_TO settings.
11077
8ca89318
JM
11078 [BZ #14838]
11079 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11080 macro.
11081
47594329
MS
110822012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11083
11084 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11085 detection to immediately after _FP_ROUND().
11086 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11087 bits are 0.
11088
640ac3f1
DM
110892012-11-11 David S. Miller <davem@davemloft.net>
11090
11091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11092 inttypes.h
11093 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11094 __close rather than their public counterparts.
11095
3d2577bb
JM
110962012-11-10 Joseph Myers <joseph@codesourcery.com>
11097
11098 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11099 file.
11100 [UNIX98] (sem_timedwait): Do not expect.
11101 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11102 [XPG4 || UNIX98] (sockatmark): Do not expect.
11103 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11104 (clock_getcpuclockid): Do not expect.
11105 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11106 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11107 Do not expect.
11108 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11109 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11110 [UNIX98] (vwscanf): Likewise.
11111 [UNIX98] (vswscanf): Likewise.
11112
fb1ae1ee
JM
111132012-11-09 Joseph Myers <joseph@codesourcery.com>
11114
9ec6f8bd
JM
11115 * timezone/version.h: Remove file.
11116 * timezone/README: Do not refer to version.h.
11117 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11118 $(objpfx)version.h.
11119 ($(objpfx)zdump.o): Likewise.
c3f81911 11120 ($(objpfx)version.h): New target.
9ec6f8bd 11121
0aa8f8a1
JM
11122 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11123 2012i.
11124 * timezone/README: Don't mention modification to tzselect.ksh.
11125 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11126 work on unmodified tzselect.ksh. Substitute version numbers in
11127 tzselect.ksh.
11128
4e87147f
JM
11129 * Makefile (format-me): Remove.
11130 (INSTALL): Adjust indentation. Use commands directly instead of
11131 using $(format-me).
11132
8b748aed
JM
11133 * aclocal.m4 (ACX_PKGVERSION): New macro.
11134 (ACX_BUGURL): Likewise.
11135 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11136 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11137 (REPORT_BUGS_TO): Likewise.
11138 * configure: Regenerated.
11139 * config.h.in (PKGVERSION): New macro.
11140 (REPORT_BUGS_TO): Likewise.
11141 * config.make.in (PKGVERSION): New variable.
11142 (PKGVERSION_TEXI): Likewise.
11143 (REPORT_BUGS_TO): Likewise.
11144 (REPORT_BUGS_TEXI): Likewise.
11145 * Makefile (format-me): Use -I$(common-objpfx)manual.
11146 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11147 ($(common-objpfx)manual/%): New target.
11148 (manual/%): Remove target.
11149 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11150 (print_version): Use PKGVERSION.
11151 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11152 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11153 and REPORT_BUGS_TO.
11154 ($(objpfx)xtrace): Likewise.
11155 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11156 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11157 (print_version): Use PKGVERSION.
11158 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11159 (do_version): Use PKGVERSION.
11160 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11161 REPORT_BUGS_TO.
11162 (common-ldd-rewrite): Likewise.
11163 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11164 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11165 (print_version): Use PKGVERSION.
11166 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11167 * elf/pldd.c (argp_program_bug_address): Remove variable.
11168 (more_help): New function.
11169 (argp): Use more_help.
11170 (print_version): Use PKGVERSION.
11171 * elf/sln.c (main): Use PKGVERSION.
11172 (usage): Use REPORT_BUGS_TO.
11173 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11174 (top level): Use PKGVERSION.
11175 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11176 (print_version): Use PKGVERSION.
11177 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11178 (print_version): Use PKGVERSION.
11179 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11180 (print_version): Use PKGVERSION.
11181 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11182 (print_version): Use PKGVERSION.
11183 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11184 (print_version): Use PKGVERSION.
11185 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11186 (print_version): Use PKGVERSION.
11187 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11188 and BUGURL.
11189 ($(objpfx)memusage): Likewise.
11190 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11191 (do_version): Use PKGVERSION.
11192 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11193 (print_version): Use PKGVERSION.
11194 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11195 ($PKGVERSION): New variable.
11196 ($REPORT_BUGS_TO): Likewise.
11197 (usage): Use $REPORT_BUGS_TO.
11198 (top level): Use $PKGVERSION.
11199 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11200 ($(objpfx)pkgvers.texi): New rule.
11201 ($(objpfx)stamp-pkgvers): Likewise.
11202 * manual/install.texi: Include pkgvers.texi.
11203 (--with-pkgversion): Document new configure option.
11204 (--with-bugurl): Likewise.
11205 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11206 than necessarily for this particular distribution. Use
11207 REPORT_BUGS_TO for where to report bugs.
11208 * INSTALL: Regenerated.
11209 * manual/libc.texinfo: Include pkgvers.texi.
11210 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11211 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11212 (print_version): Use PKGVERSION.
11213 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11214 (print_version): Use PKGVERSION.
11215 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11216 (print_version): Use PKGVERSION.
11217 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11218 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11219 macro.
11220 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11221 (print_version): Use PKGVERSION.
11222 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11223 (print_version): Use PKGVERSION.
11224 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11225 and PKGVERSION.
11226
92e4b6a9
JM
11227 * timezone/checktab.awk: Update from tzcode 2012i.
11228 * timezone/ialloc.c: Likewise.
11229 * timezone/private.h: Likewise.
11230 * timezone/scheck.c: Likewise.
11231 * timezone/tzfile.h: Likewise.
11232 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11233 (TZVERSION): Hardcode tzcode version number.
11234 * timezone/zdump.c: Update from tzcode 2012i.
11235 * timezone/zic.c: Likewise.
11236 * timezone/version.h: New file.
11237 * timezone/README: Describe version.h. Update upstream location.
11238
9bde902c
JM
11239 [BZ #14824]
11240 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11241 (mktemp): Enable declaration.
11242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11246 Likewise.
11247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11248 Likewise.
11249 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11250 Likewise.
11251 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11252 Likewise.
11253 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11254 Likewise.
11255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11256 Likewise.
11257
fb1ae1ee
JM
11258 [BZ #14821]
11259 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11260 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11261 for copies of such integer values.
11262 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11263 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11264
2c1adbcb
AJ
112652012-11-09 Andreas Jaeger <aj@suse.de>
11266
11267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11268 definitions and declarations that are provided by
11269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11270
d0f8457e
AK
112712012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11272
3a235abb 11273 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11274 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11275 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11276 definition.
11277
57241e26
MS
112782012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11279
11280 * elf/elf.h: Update comment before AArch64 relocations.
11281
60e8270d
DM
112822012-11-07 David S. Miller <davem@davemloft.net>
11283
11284 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11285 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11286 (__start_context): Declare.
11287 (__makecontext_ret): Delete.
11288 (__makecontext): Hook up __start_context instead of
11289 __makecontext_ret.
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11291 (sysdep_routines): Add __start_context when in stdlib.
11292
0fbb0fbc
JM
112932012-11-07 Joseph Myers <joseph@codesourcery.com>
11294
11295 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11296 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11297 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11298 hardcoded "nm".
11299 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11300 (READELF): New variable. Use it instead of hardcoded "readelf".
11301
eb48db7e
L
113022012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11303
11304 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11305 * sysdeps/x86/Makefile: Here.
11306 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11307 * sysdeps/x86/tst-xmmymm.sh: This.
11308
05bcf62a
JM
113092012-11-07 Joseph Myers <joseph@codesourcery.com>
11310
c4b6cf53
JM
11311 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11312 expectations.
11313 [UNIX98] (pthread_barrier_t): Do not expect.
11314 [UNIX98] (pthread_barrierattr_t): Likewise.
11315 [UNIX98] (pthread_spinlock_t): Likewise.
11316 [UNIX98] (pthread_barrier_destroy): Likewise.
11317 [UNIX98] (pthread_barrier_init): Likewise.
11318 [UNIX98] (pthread_barrier_wait): Likewise.
11319 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11320 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11321 [UNIX98] (pthread_barrierattr_init): Likewise.
11322 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11323 [UNIX98] (pthread_getcpuclockid): Likewise.
11324 [UNIX98] (pthread_mutex_timedlock): Likewise.
11325 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11326 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11327 [UNIX98] (pthread_sigmask): Likewise.
11328 [UNIX98] (pthread_spin_destroy): Likewise.
11329 [UNIX98] (pthread_spin_init): Likewise.
11330 [UNIX98] (pthread_spin_lock): Likewise.
11331 [UNIX98] (pthread_spin_trylock): Likewise.
11332 [UNIX98] (pthread_spin_unlock): Likewise.
11333 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11334 Do not expect.
11335 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11337 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11338 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11339 [XPG3 || XPG4] (pthread_key_t): Likewise.
11340 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11341 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11342 [XPG3 || XPG4] (pthread_once_t): Likewise.
11343 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11344 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11346 [XPG3 || XPG4] (pthread_t): Likewise.
11347
cbe6e120
JM
11348 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11349 not expect.
11350 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11351
1b126443
JM
11352 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11353 Change function return type to int.
11354
b961a573
JM
11355 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11356 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11357 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11358 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11359 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11360 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11361 [!POSIX] (posix_madvise): Likewise.
11362 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11363 && !UNIX98].
11364 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11365 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11366 (mode_t): Likewise.
11367 (posix_mem_offset): Likewise.
11368 (posix_typed_mem_get_info): Likewise.
11369 (posix_typed_mem_open): Likewise.
11370
9e188909
JM
11371 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11372 Change condition to [XOPEN2K8].
11373
05bcf62a
JM
11374 * conform/conformtest.pl: Preprocess allow-header data with -x c
11375 instead of from stdin.
11376 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11377 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11378 [C99-based standards] (cerfc): Likewise.
11379 [C99-based standards] (cexp2): Likewise.
11380 [C99-based standards] (cexpm1): Likewise.
11381 [C99-based standards] (clog10): Likewise.
11382 [C99-based standards] (clog1p): Likewise.
11383 [C99-based standards] (clog2): Likewise.
11384 [C99-based standards] (clgamma): Likewise.
11385 [C99-based standards] (ctgamma): Likewise.
11386 [C99-based standards] (cerff): Likewise.
11387 [C99-based standards] (cerfcf): Likewise.
11388 [C99-based standards] (cexp2f): Likewise.
11389 [C99-based standards] (cexpm1f): Likewise.
11390 [C99-based standards] (clog10f): Likewise.
11391 [C99-based standards] (clog1pf): Likewise.
11392 [C99-based standards] (clog2f): Likewise.
11393 [C99-based standards] (clgammaf): Likewise.
11394 [C99-based standards] (ctgammaf): Likewise.
11395 [C99-based standards] (cerfl): Likewise.
11396 [C99-based standards] (cerfcl): Likewise.
11397 [C99-based standards] (cexp2l): Likewise.
11398 [C99-based standards] (cexpm1l): Likewise.
11399 [C99-based standards] (clog10l): Likewise.
11400 [C99-based standards] (clog1pl): Likewise.
11401 [C99-based standards] (clog2l): Likewise.
11402 [C99-based standards] (clgammal): Likewise.
11403 [C99-based standards] (ctgammal): Likewise.
11404 * conform/data/inttypes.h-data [C99-based standards]: Include
11405 stdint.h-data. Remove all expectations for stdint.h contents.
11406 [C99-based standards] (PRI*): Do not allow.
11407 [C99-based standards] (SCN*): Likewise.
11408 [C99-based standards] (*_t): Likewise.
11409 [C99-based-standards] (PRId8): Expect macro.
11410 [C99-based-standards] (PRIi8): Likewise.
11411 [C99-based-standards] (PRIo8): Likewise.
11412 [C99-based-standards] (PRIu8): Likewise.
11413 [C99-based-standards] (PRIx8): Likewise.
11414 [C99-based-standards] (PRIX8): Likewise.
11415 [C99-based-standards] (SCNd8): Likewise.
11416 [C99-based-standards] (SCNi8): Likewise.
11417 [C99-based-standards] (SCNo8): Likewise.
11418 [C99-based-standards] (SCNu8): Likewise.
11419 [C99-based-standards] (SCNx8): Likewise.
11420 [C99-based-standards] (PRIdLEAST8): Likewise.
11421 [C99-based-standards] (PRIiLEAST8): Likewise.
11422 [C99-based-standards] (PRIoLEAST8): Likewise.
11423 [C99-based-standards] (PRIuLEAST8): Likewise.
11424 [C99-based-standards] (PRIxLEAST8): Likewise.
11425 [C99-based-standards] (PRIXLEAST8): Likewise.
11426 [C99-based-standards] (SCNdLEAST8): Likewise.
11427 [C99-based-standards] (SCNiLEAST8): Likewise.
11428 [C99-based-standards] (SCNoLEAST8): Likewise.
11429 [C99-based-standards] (SCNuLEAST8): Likewise.
11430 [C99-based-standards] (SCNxLEAST8): Likewise.
11431 [C99-based-standards] (PRIdFAST8): Likewise.
11432 [C99-based-standards] (PRIiFAST8): Likewise.
11433 [C99-based-standards] (PRIoFAST8): Likewise.
11434 [C99-based-standards] (PRIuFAST8): Likewise.
11435 [C99-based-standards] (PRIxFAST8): Likewise.
11436 [C99-based-standards] (PRIXFAST8): Likewise.
11437 [C99-based-standards] (SCNdFAST8): Likewise.
11438 [C99-based-standards] (SCNiFAST8): Likewise.
11439 [C99-based-standards] (SCNoFAST8): Likewise.
11440 [C99-based-standards] (SCNuFAST8): Likewise.
11441 [C99-based-standards] (SCNxFAST8): Likewise.
11442 [C99-based-standards] (PRId16): Likewise.
11443 [C99-based-standards] (PRIi16): Likewise.
11444 [C99-based-standards] (PRIo16): Likewise.
11445 [C99-based-standards] (PRIu16): Likewise.
11446 [C99-based-standards] (PRIx16): Likewise.
11447 [C99-based-standards] (PRIX16): Likewise.
11448 [C99-based-standards] (SCNd16): Likewise.
11449 [C99-based-standards] (SCNi16): Likewise.
11450 [C99-based-standards] (SCNo16): Likewise.
11451 [C99-based-standards] (SCNu16): Likewise.
11452 [C99-based-standards] (SCNx16): Likewise.
11453 [C99-based-standards] (PRIdLEAST16): Likewise.
11454 [C99-based-standards] (PRIiLEAST16): Likewise.
11455 [C99-based-standards] (PRIoLEAST16): Likewise.
11456 [C99-based-standards] (PRIuLEAST16): Likewise.
11457 [C99-based-standards] (PRIxLEAST16): Likewise.
11458 [C99-based-standards] (PRIXLEAST16): Likewise.
11459 [C99-based-standards] (SCNdLEAST16): Likewise.
11460 [C99-based-standards] (SCNiLEAST16): Likewise.
11461 [C99-based-standards] (SCNoLEAST16): Likewise.
11462 [C99-based-standards] (SCNuLEAST16): Likewise.
11463 [C99-based-standards] (SCNxLEAST16): Likewise.
11464 [C99-based-standards] (PRIdFAST16): Likewise.
11465 [C99-based-standards] (PRIiFAST16): Likewise.
11466 [C99-based-standards] (PRIoFAST16): Likewise.
11467 [C99-based-standards] (PRIuFAST16): Likewise.
11468 [C99-based-standards] (PRIxFAST16): Likewise.
11469 [C99-based-standards] (PRIXFAST16): Likewise.
11470 [C99-based-standards] (SCNdFAST16): Likewise.
11471 [C99-based-standards] (SCNiFAST16): Likewise.
11472 [C99-based-standards] (SCNoFAST16): Likewise.
11473 [C99-based-standards] (SCNuFAST16): Likewise.
11474 [C99-based-standards] (SCNxFAST16): Likewise.
11475 [C99-based-standards] (PRId32): Likewise.
11476 [C99-based-standards] (PRIi32): Likewise.
11477 [C99-based-standards] (PRIo32): Likewise.
11478 [C99-based-standards] (PRIu32): Likewise.
11479 [C99-based-standards] (PRIx32): Likewise.
11480 [C99-based-standards] (PRIX32): Likewise.
11481 [C99-based-standards] (SCNd32): Likewise.
11482 [C99-based-standards] (SCNi32): Likewise.
11483 [C99-based-standards] (SCNo32): Likewise.
11484 [C99-based-standards] (SCNu32): Likewise.
11485 [C99-based-standards] (SCNx32): Likewise.
11486 [C99-based-standards] (PRIdLEAST32): Likewise.
11487 [C99-based-standards] (PRIiLEAST32): Likewise.
11488 [C99-based-standards] (PRIoLEAST32): Likewise.
11489 [C99-based-standards] (PRIuLEAST32): Likewise.
11490 [C99-based-standards] (PRIxLEAST32): Likewise.
11491 [C99-based-standards] (PRIXLEAST32): Likewise.
11492 [C99-based-standards] (SCNdLEAST32): Likewise.
11493 [C99-based-standards] (SCNiLEAST32): Likewise.
11494 [C99-based-standards] (SCNoLEAST32): Likewise.
11495 [C99-based-standards] (SCNuLEAST32): Likewise.
11496 [C99-based-standards] (SCNxLEAST32): Likewise.
11497 [C99-based-standards] (PRIdFAST32): Likewise.
11498 [C99-based-standards] (PRIiFAST32): Likewise.
11499 [C99-based-standards] (PRIoFAST32): Likewise.
11500 [C99-based-standards] (PRIuFAST32): Likewise.
11501 [C99-based-standards] (PRIxFAST32): Likewise.
11502 [C99-based-standards] (PRIXFAST32): Likewise.
11503 [C99-based-standards] (SCNdFAST32): Likewise.
11504 [C99-based-standards] (SCNiFAST32): Likewise.
11505 [C99-based-standards] (SCNoFAST32): Likewise.
11506 [C99-based-standards] (SCNuFAST32): Likewise.
11507 [C99-based-standards] (SCNxFAST32): Likewise.
11508 [C99-based-standards] (PRId64): Likewise.
11509 [C99-based-standards] (PRIi64): Likewise.
11510 [C99-based-standards] (PRIo64): Likewise.
11511 [C99-based-standards] (PRIu64): Likewise.
11512 [C99-based-standards] (PRIx64): Likewise.
11513 [C99-based-standards] (PRIX64): Likewise.
11514 [C99-based-standards] (SCNd64): Likewise.
11515 [C99-based-standards] (SCNi64): Likewise.
11516 [C99-based-standards] (SCNo64): Likewise.
11517 [C99-based-standards] (SCNu64): Likewise.
11518 [C99-based-standards] (SCNx64): Likewise.
11519 [C99-based-standards] (PRIdLEAST64): Likewise.
11520 [C99-based-standards] (PRIiLEAST64): Likewise.
11521 [C99-based-standards] (PRIoLEAST64): Likewise.
11522 [C99-based-standards] (PRIuLEAST64): Likewise.
11523 [C99-based-standards] (PRIxLEAST64): Likewise.
11524 [C99-based-standards] (PRIXLEAST64): Likewise.
11525 [C99-based-standards] (SCNdLEAST64): Likewise.
11526 [C99-based-standards] (SCNiLEAST64): Likewise.
11527 [C99-based-standards] (SCNoLEAST64): Likewise.
11528 [C99-based-standards] (SCNuLEAST64): Likewise.
11529 [C99-based-standards] (SCNxLEAST64): Likewise.
11530 [C99-based-standards] (PRIdFAST64): Likewise.
11531 [C99-based-standards] (PRIiFAST64): Likewise.
11532 [C99-based-standards] (PRIoFAST64): Likewise.
11533 [C99-based-standards] (PRIuFAST64): Likewise.
11534 [C99-based-standards] (PRIxFAST64): Likewise.
11535 [C99-based-standards] (PRIXFAST64): Likewise.
11536 [C99-based-standards] (SCNdFAST64): Likewise.
11537 [C99-based-standards] (SCNiFAST64): Likewise.
11538 [C99-based-standards] (SCNoFAST64): Likewise.
11539 [C99-based-standards] (SCNuFAST64): Likewise.
11540 [C99-based-standards] (SCNxFAST64): Likewise.
11541 [C99-based-standards] (PRIdMAX): Likewise.
11542 [C99-based-standards] (PRIiMAX): Likewise.
11543 [C99-based-standards] (PRIoMAX): Likewise.
11544 [C99-based-standards] (PRIuMAX): Likewise.
11545 [C99-based-standards] (PRIxMAX): Likewise.
11546 [C99-based-standards] (PRIXMAX): Likewise.
11547 [C99-based-standards] (SCNdMAX): Likewise.
11548 [C99-based-standards] (SCNiMAX): Likewise.
11549 [C99-based-standards] (SCNoMAX): Likewise.
11550 [C99-based-standards] (SCNuMAX): Likewise.
11551 [C99-based-standards] (SCNxMAX): Likewise.
11552 [C99-based-standards] (PRIdPTR): Likewise.
11553 [C99-based-standards] (PRIiPTR): Likewise.
11554 [C99-based-standards] (PRIoPTR): Likewise.
11555 [C99-based-standards] (PRIuPTR): Likewise.
11556 [C99-based-standards] (PRIxPTR): Likewise.
11557 [C99-based-standards] (PRIXPTR): Likewise.
11558 [C99-based-standards] (SCNdPTR): Likewise.
11559 [C99-based-standards] (SCNiPTR): Likewise.
11560 [C99-based-standards] (SCNoPTR): Likewise.
11561 [C99-based-standards] (SCNuPTR): Likewise.
11562 [C99-based-standards] (SCNxPTR): Likewise.
11563 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11564 allow.
11565 * conform/data/stdint.h-data: Update comments to clarify
11566 requirements.
11567 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11568 type.
11569 [C99-based standards] (INT8_MAX): Likewise.
11570 [C99-based standards] (INT16_MIN): Likewise.
11571 [C99-based standards] (INT16_MAX): Likewise.
11572 [C99-based standards] (INT32_MIN): Likewise.
11573 [C99-based standards] (INT32_MAX): Likewise.
11574 [C99-based standards] (INT64_MIN): Likewise.
11575 [C99-based standards] (INT64_MAX): Likewise.
11576 [C99-based standards] (UINT8_MAX): Likewise.
11577 [C99-based standards] (UINT16_MAX): Likewise.
11578 [C99-based standards] (UINT32_MAX): Likewise.
11579 [C99-based standards] (UINT64_MAX): Likewise.
11580 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11581 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11582 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11583 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11584 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11585 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11586 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11587 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11588 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11589 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11590 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11591 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11592 [C99-based standards] (INT_FAST8_MIN): Likewise.
11593 [C99-based standards] (INT_FAST8_MAX): Likewise.
11594 [C99-based standards] (INT_FAST16_MIN): Likewise.
11595 [C99-based standards] (INT_FAST16_MAX): Likewise.
11596 [C99-based standards] (INT_FAST32_MIN): Likewise.
11597 [C99-based standards] (INT_FAST32_MAX): Likewise.
11598 [C99-based standards] (INT_FAST64_MIN): Likewise.
11599 [C99-based standards] (INT_FAST64_MAX): Likewise.
11600 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11601 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11602 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11603 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11604 [C99-based standards] (INTPTR_MIN): Likewise.
11605 [C99-based standards] (INTPTR_MAX): Likewise.
11606 [C99-based standards] (UINTPTR_MAX): Likewise.
11607 [C99-based standards] (INTMAX_MIN): Likewise.
11608 [C99-based standards] (INTMAX_MAX): Likewise.
11609 [C99-based standards] (UINTMAX_MAX): Likewise.
11610 [C99-based standards] (PTRDIFF_MIN): Likewise.
11611 [C99-based standards] (PTRDIFF_MAX): Likewise.
11612 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11613 [C99-based standards] (SIZE_MAX): Likewise.
11614 [C99-based standards] (WCHAR_MAX): Likewise.
11615 [C99-based standards] (WINT_MAX): Likewise.
11616 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11617 constraint on value.
11618 [C99-based standards] (WCHAR_MIN): Likewise.
11619 [C99-based standards] (WINT_MIN): Likewise.
11620 [C99-based standards] (*_t): Allow.
11621 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11622 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11623 Include math.h-data and complex.h-data. Remove all expectations
11624 of math.h and complex.h contents.
11625 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11626 at end of line.
11627 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11628 (struct tm): Expect tag.
11629 [C99-based-standards] (wcstof): Expect function.
11630 [C99-based-standards] (wcstold): Likewise.
11631 [C99-based-standards] (wcstoll): Likewise.
11632 [C99-based-standards] (wcstoull): Likewise.
11633 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11634 macro-int-constant. Specify type.
11635 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11636 constraint on value.
11637 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11638 Specify type.
11639 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11640 Specify value.
11641 [ISO C standards]: Do not allow headers.
11642 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11643 wcs[abcdefghijklmnopqrstuvwxyz]*.
11644 [ISO C standards] (*_t): Do not allow.
11645 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11646 Expect function.
11647 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11648 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11649 Specify type.
11650 [ISO C standards]: Do not allow headers.
11651 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11652 is[abcdefghijklmnopqrstuvwxyz]*.
11653 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11654 to[abcdefghijklmnopqrstuvwxyz]*.
11655 [ISO C standards] (*_t): Do not allow.
11656 * conform/data/stdalign.h-data: New file.
11657 * conform/data/stdbool.h-data: Likewise.
11658 * conform/data/stdnoreturn.h-data: Likewise.
11659
7514feb8
RM
116602012-11-07 Roland McGrath <roland@hack.frob.com>
11661
11662 [BZ #14815]
11663 * manual/filesys.texi (Directory Entries): Typo fix.
11664 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11665
19b2ecfc
MS
116662012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11667
11668 * elf/elf.h (EM_AARCH64): New macro.
11669 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11670 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11671 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11672 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11673 (R_AARCH64_TLSDESC): Likewise.
11674 (NT_ARM_TLS): Likewise.
11675 (NT_ARM_HW_BREAK): Likewise.
11676 (NT_ARM_HW_WATCH): Likewise.
11677
60e235ee
JM
116782012-11-07 Joseph Myers <joseph@codesourcery.com>
11679
11680 [BZ #14811]
11681 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11682 (__ieee754_powl): Saturate nonzero exponents with absolute value
11683 below 0x1p-79 to +/- 0x1p-79.
11684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11685 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11686 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11687 nonzero exponents with absolute value below 0x1p-32 to +/-
11688 0x1p-32.
11689 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11690 (__ieee754_powl): Saturate nonzero exponents with absolute value
11691 below 0x1p-79 to +/- 0x1p-79.
11692 * math/libm-test.inc (pow_test): Add more tests.
11693
0ab234b7
AK
116942012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11695
11696 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11697 _dl_s390_cap_flags with kernel. Increase string length.
11698 (_dl_s390_platforms): Add z196 and zEC12.
11699
45832f74
JM
117002012-11-07 Joseph Myers <joseph@codesourcery.com>
11701
11702 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11703 Change XOPEN21K to XOPEN2K.
11704
19218757
MK
117052012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11706
11707 * string/memmove.c: Use memcpy when possible.
11708
c5f45721
AJ
117092012-11-06 Andreas Jaeger <aj@suse.de>
11710
11711 * po/eo.po: Update from translation team.
11712
82477c28
JM
117132012-11-06 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #14793]
11716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11717 exponent and small x and y exponents, scale x or y up. Increase
11718 by 2 the exponent used in scaling up.
11719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11721 * math/libm-test.inc (fma_test): Add more tests.
11722 (fma_test_towardzero): Likewise.
11723 (fma_test_downward): Likewise.
11724 (fma_test_upward): Likewise.
11725
99252c8c
JM
117262012-11-05 Joseph Myers <joseph@codesourcery.com>
11727
acfa885f
JM
11728 [BZ #14805]
11729 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11730 fenv_t *.
11731
99252c8c
JM
11732 [BZ #14801]
11733 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11734 namespace for names of struct fields.
11735 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11736 fenv_t fields.
11737 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11738 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11739
d6d98dea
ST
117402012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11741
11742 [BZ #3665]
11743 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11744
e10bb107
TS
117452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11746
11747 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11748 PTR_DEMANGLE.
11749
11750 [BZ #5246]
11751 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11752 PTR_DEMANGLE.
11753
a0c2940d
JM
117542012-11-04 Joseph Myers <joseph@codesourcery.com>
11755
11756 [BZ #14797]
11757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11758 definitely overflow as x * y not x * y + z.
11759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11761 * math/libm-test.inc (fma_test): Add more tests.
11762 (fma_test_towardzero): Likewise.
11763 (fma_test_downward): Likewise.
11764 (fma_test_upward): Likewise.
11765
b830319d
TS
117662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11767
11768 [BZ #157]
11769
11770 * include/stub-tag.h: Remove file.
11771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11772 '#include' of it.
11773 * manual/maint.texi (Porting): Don't reference it.
11774 * Makerules ($(objpfx)stubs): Likewise.
11775 * dirent/closedir.c: Don't include <stub-tag.h>.
11776 * dirent/dirfd.c: Likewise.
11777 * dirent/fdopendir.c: Likewise.
11778 * dirent/getdents.c: Likewise.
11779 * dirent/getdents64.c: Likewise.
11780 * dirent/opendir.c: Likewise.
11781 * dirent/readdir.c: Likewise.
11782 * dirent/readdir64.c: Likewise.
11783 * dirent/readdir64_r.c: Likewise.
11784 * dirent/readdir_r.c: Likewise.
11785 * dirent/rewinddir.c: Likewise.
11786 * dirent/seekdir.c: Likewise.
11787 * dirent/telldir.c: Likewise.
11788 * gmon/profil.c: Likewise.
11789 * grp/setgroups.c: Likewise.
11790 * inet/if_index.c: Likewise.
11791 * io/access.c: Likewise.
11792 * io/chdir.c: Likewise.
11793 * io/chmod.c: Likewise.
11794 * io/chown.c: Likewise.
11795 * io/close.c: Likewise.
11796 * io/dup.c: Likewise.
11797 * io/dup2.c: Likewise.
11798 * io/dup3.c: Likewise.
11799 * io/euidaccess.c: Likewise.
11800 * io/faccessat.c: Likewise.
11801 * io/fchdir.c: Likewise.
11802 * io/fchmod.c: Likewise.
11803 * io/fchmodat.c: Likewise.
11804 * io/fchown.c: Likewise.
11805 * io/fchownat.c: Likewise.
11806 * io/fcntl.c: Likewise.
11807 * io/flock.c: Likewise.
11808 * io/fstatfs.c: Likewise.
11809 * io/fstatfs64.c: Likewise.
11810 * io/fstatvfs.c: Likewise.
11811 * io/fstatvfs64.c: Likewise.
11812 * io/futimens.c: Likewise.
11813 * io/fxstat.c: Likewise.
11814 * io/fxstat64.c: Likewise.
11815 * io/fxstatat.c: Likewise.
11816 * io/fxstatat64.c: Likewise.
11817 * io/getcwd.c: Likewise.
11818 * io/isatty.c: Likewise.
11819 * io/lchmod.c: Likewise.
11820 * io/lchown.c: Likewise.
11821 * io/link.c: Likewise.
11822 * io/linkat.c: Likewise.
11823 * io/lseek.c: Likewise.
11824 * io/lseek64.c: Likewise.
11825 * io/lxstat64.c: Likewise.
11826 * io/mkdir.c: Likewise.
11827 * io/mkdirat.c: Likewise.
11828 * io/mkfifo.c: Likewise.
11829 * io/mkfifoat.c: Likewise.
11830 * io/open.c: Likewise.
11831 * io/open64.c: Likewise.
11832 * io/openat.c: Likewise.
11833 * io/openat64.c: Likewise.
11834 * io/pipe.c: Likewise.
11835 * io/pipe2.c: Likewise.
11836 * io/poll.c: Likewise.
11837 * io/posix_fadvise.c: Likewise.
11838 * io/posix_fadvise64.c: Likewise.
11839 * io/posix_fallocate.c: Likewise.
11840 * io/posix_fallocate64.c: Likewise.
11841 * io/read.c: Likewise.
11842 * io/readlink.c: Likewise.
11843 * io/readlinkat.c: Likewise.
11844 * io/rmdir.c: Likewise.
11845 * io/sendfile.c: Likewise.
11846 * io/sendfile64.c: Likewise.
11847 * io/statfs.c: Likewise.
11848 * io/statfs64.c: Likewise.
11849 * io/statvfs.c: Likewise.
11850 * io/statvfs64.c: Likewise.
11851 * io/symlink.c: Likewise.
11852 * io/symlinkat.c: Likewise.
11853 * io/ttyname.c: Likewise.
11854 * io/ttyname_r.c: Likewise.
11855 * io/umask.c: Likewise.
11856 * io/unlink.c: Likewise.
11857 * io/unlinkat.c: Likewise.
11858 * io/utime.c: Likewise.
11859 * io/utimensat.c: Likewise.
11860 * io/write.c: Likewise.
11861 * io/xmknod.c: Likewise.
11862 * io/xmknodat.c: Likewise.
11863 * io/xstat.c: Likewise.
11864 * io/xstat64.c: Likewise.
11865 * login/getpt.c: Likewise.
11866 * login/grantpt.c: Likewise.
11867 * login/unlockpt.c: Likewise.
11868 * math/e_acoshl.c: Likewise.
11869 * math/e_acosl.c: Likewise.
11870 * math/e_asinl.c: Likewise.
11871 * math/e_atan2l.c: Likewise.
11872 * math/e_atanhl.c: Likewise.
11873 * math/e_coshl.c: Likewise.
11874 * math/e_expl.c: Likewise.
11875 * math/e_fmodl.c: Likewise.
11876 * math/e_gammal_r.c: Likewise.
11877 * math/e_hypotl.c: Likewise.
11878 * math/e_j0l.c: Likewise.
11879 * math/e_j1l.c: Likewise.
11880 * math/e_jnl.c: Likewise.
11881 * math/e_lgammal_r.c: Likewise.
11882 * math/e_log10l.c: Likewise.
11883 * math/e_log2l.c: Likewise.
11884 * math/e_logl.c: Likewise.
11885 * math/e_powl.c: Likewise.
11886 * math/e_rem_pio2l.c: Likewise.
11887 * math/e_sinhl.c: Likewise.
11888 * math/e_sqrtl.c: Likewise.
11889 * math/fclrexcpt.c: Likewise.
11890 * math/fedisblxcpt.c: Likewise.
11891 * math/feenablxcpt.c: Likewise.
11892 * math/fegetenv.c: Likewise.
11893 * math/fegetexcept.c: Likewise.
11894 * math/fegetround.c: Likewise.
11895 * math/feholdexcpt.c: Likewise.
11896 * math/fesetenv.c: Likewise.
11897 * math/fesetround.c: Likewise.
11898 * math/feupdateenv.c: Likewise.
11899 * math/fgetexcptflg.c: Likewise.
11900 * math/fraiseexcpt.c: Likewise.
11901 * math/fsetexcptflg.c: Likewise.
11902 * math/ftestexcept.c: Likewise.
11903 * math/k_cosl.c: Likewise.
11904 * math/k_rem_pio2l.c: Likewise.
11905 * math/k_sinl.c: Likewise.
11906 * math/k_tanl.c: Likewise.
11907 * math/s_asinhl.c: Likewise.
11908 * math/s_atanl.c: Likewise.
11909 * math/s_cbrtl.c: Likewise.
11910 * math/s_erfl.c: Likewise.
11911 * math/s_expm1l.c: Likewise.
11912 * math/s_log1pl.c: Likewise.
11913 * math/s_tanhl.c: Likewise.
11914 * misc/acct.c: Likewise.
11915 * misc/brk.c: Likewise.
11916 * misc/chflags.c: Likewise.
11917 * misc/chroot.c: Likewise.
11918 * misc/fchflags.c: Likewise.
11919 * misc/fgetxattr.c: Likewise.
11920 * misc/flistxattr.c: Likewise.
11921 * misc/fremovexattr.c: Likewise.
11922 * misc/fsetxattr.c: Likewise.
11923 * misc/fsync.c: Likewise.
11924 * misc/ftruncate.c: Likewise.
11925 * misc/futimes.c: Likewise.
11926 * misc/futimesat.c: Likewise.
11927 * misc/getdomain.c: Likewise.
11928 * misc/getdtsz.c: Likewise.
11929 * misc/gethostid.c: Likewise.
11930 * misc/gethostname.c: Likewise.
11931 * misc/getloadavg.c: Likewise.
11932 * misc/getpagesize.c: Likewise.
11933 * misc/getsysstats.c: Likewise.
11934 * misc/getxattr.c: Likewise.
11935 * misc/gtty.c: Likewise.
11936 * misc/ioctl.c: Likewise.
11937 * misc/lgetxattr.c: Likewise.
11938 * misc/listxattr.c: Likewise.
11939 * misc/llistxattr.c: Likewise.
11940 * misc/lremovexattr.c: Likewise.
11941 * misc/lsetxattr.c: Likewise.
11942 * misc/lutimes.c: Likewise.
11943 * misc/madvise.c: Likewise.
11944 * misc/mincore.c: Likewise.
11945 * misc/mlock.c: Likewise.
11946 * misc/mlockall.c: Likewise.
11947 * misc/mmap.c: Likewise.
11948 * misc/mprotect.c: Likewise.
11949 * misc/msync.c: Likewise.
11950 * misc/munlock.c: Likewise.
11951 * misc/munlockall.c: Likewise.
11952 * misc/munmap.c: Likewise.
11953 * misc/preadv.c: Likewise.
11954 * misc/preadv64.c: Likewise.
11955 * misc/ptrace.c: Likewise.
11956 * misc/pwritev.c: Likewise.
11957 * misc/pwritev64.c: Likewise.
11958 * misc/readv.c: Likewise.
11959 * misc/reboot.c: Likewise.
11960 * misc/remap_file_pages.c: Likewise.
11961 * misc/removexattr.c: Likewise.
11962 * misc/revoke.c: Likewise.
11963 * misc/select.c: Likewise.
11964 * misc/setdomain.c: Likewise.
11965 * misc/setegid.c: Likewise.
11966 * misc/seteuid.c: Likewise.
11967 * misc/sethostid.c: Likewise.
11968 * misc/sethostname.c: Likewise.
11969 * misc/setregid.c: Likewise.
11970 * misc/setreuid.c: Likewise.
11971 * misc/setxattr.c: Likewise.
11972 * misc/sstk.c: Likewise.
11973 * misc/stty.c: Likewise.
11974 * misc/swapoff.c: Likewise.
11975 * misc/swapon.c: Likewise.
11976 * misc/sync.c: Likewise.
11977 * misc/syncfs.c: Likewise.
11978 * misc/syscall.c: Likewise.
11979 * misc/truncate.c: Likewise.
11980 * misc/ualarm.c: Likewise.
11981 * misc/usleep.c: Likewise.
11982 * misc/ustat.c: Likewise.
11983 * misc/utimes.c: Likewise.
11984 * misc/vhangup.c: Likewise.
11985 * misc/writev.c: Likewise.
11986 * posix/_exit.c: Likewise.
11987 * posix/alarm.c: Likewise.
11988 * posix/execve.c: Likewise.
11989 * posix/fexecve.c: Likewise.
11990 * posix/fork.c: Likewise.
11991 * posix/fpathconf.c: Likewise.
11992 * posix/getaddrinfo.c: Likewise.
11993 * posix/getegid.c: Likewise.
11994 * posix/geteuid.c: Likewise.
11995 * posix/getgid.c: Likewise.
11996 * posix/getgroups.c: Likewise.
11997 * posix/getlogin.c: Likewise.
11998 * posix/getlogin_r.c: Likewise.
11999 * posix/getpgid.c: Likewise.
12000 * posix/getpid.c: Likewise.
12001 * posix/getppid.c: Likewise.
12002 * posix/getresgid.c: Likewise.
12003 * posix/getresuid.c: Likewise.
12004 * posix/getsid.c: Likewise.
12005 * posix/getuid.c: Likewise.
12006 * posix/glob64.c: Likewise.
12007 * posix/nanosleep.c: Likewise.
12008 * posix/pathconf.c: Likewise.
12009 * posix/pause.c: Likewise.
12010 * posix/posix_madvise.c: Likewise.
12011 * posix/pread.c: Likewise.
12012 * posix/pread64.c: Likewise.
12013 * posix/pwrite.c: Likewise.
12014 * posix/pwrite64.c: Likewise.
12015 * posix/sched_getaffinity.c: Likewise.
12016 * posix/sched_getp.c: Likewise.
12017 * posix/sched_gets.c: Likewise.
12018 * posix/sched_primax.c: Likewise.
12019 * posix/sched_primin.c: Likewise.
12020 * posix/sched_rr_gi.c: Likewise.
12021 * posix/sched_setaffinity.c: Likewise.
12022 * posix/sched_setp.c: Likewise.
12023 * posix/sched_sets.c: Likewise.
12024 * posix/sched_yield.c: Likewise.
12025 * posix/setgid.c: Likewise.
12026 * posix/setlogin.c: Likewise.
12027 * posix/setpgid.c: Likewise.
12028 * posix/setresgid.c: Likewise.
12029 * posix/setresuid.c: Likewise.
12030 * posix/setsid.c: Likewise.
12031 * posix/setuid.c: Likewise.
12032 * posix/sleep.c: Likewise.
12033 * posix/spawni.c: Likewise.
12034 * posix/sysconf.c: Likewise.
12035 * posix/times.c: Likewise.
12036 * posix/wait.c: Likewise.
12037 * posix/wait3.c: Likewise.
12038 * posix/wait4.c: Likewise.
12039 * posix/waitpid.c: Likewise.
12040 * resolv/gai_sigqueue.c: Likewise.
12041 * resource/getpriority.c: Likewise.
12042 * resource/getrlimit.c: Likewise.
12043 * resource/getrusage.c: Likewise.
12044 * resource/nice.c: Likewise.
12045 * resource/setpriority.c: Likewise.
12046 * resource/setrlimit.c: Likewise.
12047 * resource/ulimit.c: Likewise.
12048 * rt/aio_cancel.c: Likewise.
12049 * rt/aio_fsync.c: Likewise.
12050 * rt/aio_read.c: Likewise.
12051 * rt/aio_sigqueue.c: Likewise.
12052 * rt/aio_suspend.c: Likewise.
12053 * rt/aio_write.c: Likewise.
12054 * rt/clock_getres.c: Likewise.
12055 * rt/clock_gettime.c: Likewise.
12056 * rt/clock_nanosleep.c: Likewise.
12057 * rt/clock_settime.c: Likewise.
12058 * rt/lio_listio.c: Likewise.
12059 * rt/mq_close.c: Likewise.
12060 * rt/mq_getattr.c: Likewise.
12061 * rt/mq_notify.c: Likewise.
12062 * rt/mq_open.c: Likewise.
12063 * rt/mq_receive.c: Likewise.
12064 * rt/mq_send.c: Likewise.
12065 * rt/mq_setattr.c: Likewise.
12066 * rt/mq_timedreceive.c: Likewise.
12067 * rt/mq_timedsend.c: Likewise.
12068 * rt/mq_unlink.c: Likewise.
12069 * rt/shm_open.c: Likewise.
12070 * rt/shm_unlink.c: Likewise.
12071 * rt/timer_create.c: Likewise.
12072 * rt/timer_delete.c: Likewise.
12073 * rt/timer_getoverr.c: Likewise.
12074 * rt/timer_gettime.c: Likewise.
12075 * rt/timer_settime.c: Likewise.
12076 * setjmp/__longjmp.c: Likewise.
12077 * setjmp/setjmp.c: Likewise.
12078 * signal/kill.c: Likewise.
12079 * signal/killpg.c: Likewise.
12080 * signal/raise.c: Likewise.
12081 * signal/sigaction.c: Likewise.
12082 * signal/sigaltstack.c: Likewise.
12083 * signal/sigblock.c: Likewise.
12084 * signal/sigignore.c: Likewise.
12085 * signal/sigintr.c: Likewise.
12086 * signal/signal.c: Likewise.
12087 * signal/sigpause.c: Likewise.
12088 * signal/sigpending.c: Likewise.
12089 * signal/sigqueue.c: Likewise.
12090 * signal/sigreturn.c: Likewise.
12091 * signal/sigset.c: Likewise.
12092 * signal/sigsetmask.c: Likewise.
12093 * signal/sigstack.c: Likewise.
12094 * signal/sigsuspend.c: Likewise.
12095 * signal/sigtimedwait.c: Likewise.
12096 * signal/sigvec.c: Likewise.
12097 * signal/sigwait.c: Likewise.
12098 * signal/sigwaitinfo.c: Likewise.
12099 * signal/sysv_signal.c: Likewise.
12100 * socket/accept.c: Likewise.
12101 * socket/accept4.c: Likewise.
12102 * socket/bind.c: Likewise.
12103 * socket/connect.c: Likewise.
12104 * socket/getpeername.c: Likewise.
12105 * socket/getsockname.c: Likewise.
12106 * socket/getsockopt.c: Likewise.
12107 * socket/isfdtype.c: Likewise.
12108 * socket/listen.c: Likewise.
12109 * socket/recv.c: Likewise.
12110 * socket/recvfrom.c: Likewise.
12111 * socket/recvmsg.c: Likewise.
12112 * socket/send.c: Likewise.
12113 * socket/sendmsg.c: Likewise.
12114 * socket/sendto.c: Likewise.
12115 * socket/setsockopt.c: Likewise.
12116 * socket/shutdown.c: Likewise.
12117 * socket/sockatmark.c: Likewise.
12118 * socket/socket.c: Likewise.
12119 * socket/socketpair.c: Likewise.
12120 * stdio-common/ctermid.c: Likewise.
12121 * stdio-common/cuserid.c: Likewise.
12122 * stdio-common/remove.c: Likewise.
12123 * stdio-common/rename.c: Likewise.
12124 * stdio-common/renameat.c: Likewise.
12125 * stdio-common/tempname.c: Likewise.
12126 * stdlib/getcontext.c: Likewise.
12127 * stdlib/makecontext.c: Likewise.
12128 * stdlib/setcontext.c: Likewise.
12129 * stdlib/swapcontext.c: Likewise.
12130 * stdlib/system.c: Likewise.
12131 * streams/fattach.c: Likewise.
12132 * streams/fdetach.c: Likewise.
12133 * streams/getmsg.c: Likewise.
12134 * streams/getpmsg.c: Likewise.
12135 * streams/putmsg.c: Likewise.
12136 * streams/putpmsg.c: Likewise.
12137 * sysdeps/unix/bsd/getpt.c: Likewise.
12138 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12139 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12140 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12142 Likewise.
12143 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12144 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12145 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12146 * sysvipc/msgctl.c: Likewise.
12147 * sysvipc/msgget.c: Likewise.
12148 * sysvipc/msgrcv.c: Likewise.
12149 * sysvipc/msgsnd.c: Likewise.
12150 * sysvipc/semctl.c: Likewise.
12151 * sysvipc/semget.c: Likewise.
12152 * sysvipc/semop.c: Likewise.
12153 * sysvipc/semtimedop.c: Likewise.
12154 * sysvipc/shmat.c: Likewise.
12155 * sysvipc/shmctl.c: Likewise.
12156 * sysvipc/shmdt.c: Likewise.
12157 * sysvipc/shmget.c: Likewise.
12158 * termios/tcdrain.c: Likewise.
12159 * termios/tcflow.c: Likewise.
12160 * termios/tcflush.c: Likewise.
12161 * termios/tcgetattr.c: Likewise.
12162 * termios/tcgetpgrp.c: Likewise.
12163 * termios/tcsendbrk.c: Likewise.
12164 * termios/tcsetattr.c: Likewise.
12165 * termios/tcsetpgrp.c: Likewise.
12166 * time/adjtime.c: Likewise.
12167 * time/clock.c: Likewise.
12168 * time/getitimer.c: Likewise.
12169 * time/gettimeofday.c: Likewise.
12170 * time/setitimer.c: Likewise.
12171 * time/settimeofday.c: Likewise.
12172 * time/stime.c: Likewise.
12173 * time/time.c: Likewise.
12174
121752012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12176
a20492cf
PT
12177 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12178 /usr/old/bin.
12179
72e182e3
PT
12180 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12181 instead of spaces.
12182 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12183
fbeafede
JM
121842012-11-03 Joseph Myers <joseph@codesourcery.com>
12185
5b5b04d6
JM
12186 [BZ #14796]
12187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12188 FE_TONEAREST before applying Dekker multiplication and Knuth
12189 addition. Clear inexact exceptions and check for exact zero
12190 results afterwards.
12191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12192 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12194 * math/libm-test.inc (fma_test): Add more tests.
12195 (fma_test_towardzero): Likewise.
12196 (fma_test_downward): Likewise.
12197 (fma_test_upward): Likewise.
12198 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12199 function.
12200 (libc_fesetround): New macro.
12201 (libc_fesetroundf): Likewise.
12202 (libc_fesetroundl): Likewise.
12203 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12204 function.
12205 (libc_fesetround_387): Likewise.
12206 (libc_fesetroundf): New macro.
12207 (libc_fesetround): Likewise.
12208 (libc_fesetroundl): Likewise.
12209 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12210 function.
12211 (libc_fesetroundf): New macro.
12212 (libc_fesetround): Likewise.
12213 (libc_fesetroundl): Likewise.
12214 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12215 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12216 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12217 libm_hidden_ver.
12218 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12219 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12220 libm_hidden_def.
12221 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12222 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12223 libm_hidden_ver.
12224 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12225 libm_hidden_def.
12226
fbeafede
JM
12227 [BZ #3439]
12228 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12229 integer constant usable in #if and use that to give value to enum
12230 constant.
12231 (FE_DIVBYZERO): Likewise.
12232 (FE_UNDERFLOW): Likewise.
12233 (FE_OVERFLOW): Likewise.
12234 (FE_INVALID): Likewise.
12235 (FE_INVALID_SNAN): Likewise.
12236 (FE_INVALID_ISI): Likewise.
12237 (FE_INVALID_IDI): Likewise.
12238 (FE_INVALID_ZDZ): Likewise.
12239 (FE_INVALID_IMZ): Likewise.
12240 (FE_INVALID_COMPARE): Likewise.
12241 (FE_INVALID_SOFTWARE): Likewise.
12242 (FE_INVALID_SQRT): Likewise.
12243 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12244 (FE_TONEAREST): Likewise.
12245 (FE_TOWARDZERO): Likewise.
12246 (FE_UPWARD): Likewise.
12247 (FE_DOWNWARD): Likewise.
12248 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12249 (FE_DIVBYZERO): Likewise.
12250 (FE_OVERFLOW): Likewise.
12251 (FE_UNDERFLOW): Likewise.
12252 (FE_INEXACT): Likewise.
12253 (FE_TONEAREST): Likewise.
12254 (FE_DOWNWARD): Likewise.
12255 (FE_UPWARD): Likewise.
12256 (FE_TOWARDZERO): Likewise.
12257 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12258 (FE_UNDERFLOW): Likewise.
12259 (FE_OVERFLOW): Likewise.
12260 (FE_DIVBYZERO): Likewise.
12261 (FE_INVALID): Likewise.
12262 (FE_TONEAREST): Likewise.
12263 (FE_TOWARDZERO): Likewise.
12264 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12265 (FE_OVERFLOW): Likewise.
12266 (FE_UNDERFLOW): Likewise.
12267 (FE_DIVBYZERO): Likewise.
12268 (FE_INEXACT): Likewise.
12269 (FE_TONEAREST): Likewise.
12270 (FE_TOWARDZERO): Likewise.
12271 (FE_UPWARD): Likewise.
12272 (FE_DOWNWARD): Likewise.
12273 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12274 (FE_DIVBYZERO): Likewise.
12275 (FE_OVERFLOW): Likewise.
12276 (FE_UNDERFLOW): Likewise.
12277 (FE_INEXACT): Likewise.
12278 (FE_TONEAREST): Likewise.
12279 (FE_DOWNWARD): Likewise.
12280 (FE_UPWARD): Likewise.
12281 (FE_TOWARDZERO): Likewise.
12282
105ca950
CM
122832012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12284
12285 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12286
a542b389
AS
122872012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12290 commands. Quote $PWD.
12291 (blacklist_exports): Don't use remove_newlines. Replace "declare
12292 -x" by "export".
12293 (remove_newlines): Remove.
12294
f62c8abc
L
122952012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12296
12297 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12298 * stdlib/stdlib.h (atof): Moved to ...
12299 * include/bits/stdlib-float.h: Here. New file.
12300 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12301 * stdlib/bits/stdlib-float.h: New file.
12302 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12303 -mno-sse -mno-mmx.
12304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12305 <xmmintrin.h>.
12306
0155d5b2
JM
123072012-11-02 Joseph Myers <joseph@codesourcery.com>
12308
a68d0680
JM
12309 * conform/conformtest.pl (@headers): Add fenv.h.
12310 * conform/data/fenv.h-data: New file.
12311 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12312 include of <math/fenv.h>.
12313
caf7f573
JM
12314 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12315 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12316 && !UNIX98]. Enables tests for XOPEN2K8.
12317 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12318 POSIX2008]: Likewise.
12319
6c073ad6
JM
12320 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12321 (struct rusage): Do not expect type or its members.
12322
0155d5b2
JM
12323 [BZ #3439]
12324 * math/math.h (FP_NAN): Define macro to integer constant usable in
12325 #if and use that to give value to enum constant.
12326 (FP_INFINITE): Likewise.
12327 (FP_ZERO): Likewise.
12328 (FP_SUBNORMAL): Likewise.
12329 (FP_NORMAL): Likewise.
12330
b5dcacb4
AS
123312012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12332
12333 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12334 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12335 arguments.
12336
f7934be8
RM
123372012-11-02 Roland McGrath <roland@hack.frob.com>
12338
12339 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12340 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12341 autoconf-time if not.
12342 * configure.in: Remove AC_PREREQ.
12343
d7d08bde
TMQMF
123442012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12345
12346 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12347 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12348 of the internal implementation.
12349
dcdae19a
JM
123502012-11-02 Joseph Myers <joseph@codesourcery.com>
12351
12352 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12353 except include of <misc/sys/syslog.h>.
12354
d6cffd3e
AS
123552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12356
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12358 function returns with a NULL context exit with zero.
12359
b3563932
TMQMF
123602012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12361
12362 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12363
b288a93d
L
123642012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12367 (run_program_cmd): This.
12368 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12369 (tst_langinfo): New variable. Use it.
12370
a2421a68
SAS
123712012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12372
12373 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12374 floating point opcodes.
12375
6f796e1b
TS
123762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12377
7402596b
TS
12378 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12379 variable.
12380
d0d4f868
TS
12381 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12382
6f796e1b
TS
12383 * sysdeps/mach/hurd/powerpc: Remove directory.
12384 * sysdeps/mach/powerpc: Likewise.
12385
4da224a2
AS
123862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 * scripts/check-local-headers.sh: Ignore c++ headers.
12389
341dd673
TS
123902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12391
12392 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12393 __libc_cleanup_region_start argument.
12394
473611b2
JM
123952012-11-01 Joseph Myers <joseph@codesourcery.com>
12396
12397 [BZ #14784]
12398 [BZ #14785]
12399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12400 x * y using scaling, not as x * y + z.
12401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12403 * math/libm-test.inc (fma_test): Add more tests.
12404 (fma_test_towardzero): Likewise.
12405 (fma_test_downward): Likewise.
12406 (fma_test_upward): Likewise.
12407
4078da3d
TS
124082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12409
12410 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12411
903252aa
JM
124122012-10-31 Joseph Myers <joseph@codesourcery.com>
12413
12414 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12415 New variable.
12416
cbc818d0
TS
124172012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12418
12419 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12420
5a03cb1e
AS
124212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12422
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12424 Fix sort order.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12426 Likewise.
12427
90aff2ff
TMQMF
124282012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12429
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12431 Fix the order of the list for glibc 2.17.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12433 Likewise.
12434
1818fcb7
AS
124352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12436
12437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12438
ef82f4da
JM
124392012-10-31 Joseph Myers <joseph@codesourcery.com>
12440
16a0e2ec
JM
12441 [BZ #14610]
12442 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12443 for low part of x being zero before using __atanl (y).
12444 * math/libm-test.inc (atan2_test): Add another test.
12445
0eb69512
JM
12446 * manual/install.texi (Configuring and compiling): Document
12447 general use of test-wrapper and test-wrapper-env.
12448 * INSTALL: Regenerated.
12449
ef82f4da
JM
12450 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12451 (__fma): Do not extract and scale down low bits on after-rounding
12452 systems when result rounded to normal precision would have normal
12453 exponent.
12454 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12455 (__fmal): Do not extract and scale down low bits on after-rounding
12456 systems when result rounded to normal precision would have normal
12457 exponent.
12458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12459 (__fmal): Do not extract and scale down low bits on after-rounding
12460 systems when result rounded to normal precision would have normal
12461 exponent.
12462 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12463 macro.
12464 (fma_test): Add more tests.
12465 (fma_test_towardzero): Likewise.
12466 (fma_test_downward): Likewise.
12467 (fma_test_upward): Likewise.
12468
954ef0d9
L
124692012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12470
12471 * sysdeps/i386/tininess.h: Renamed to ...
12472 * sysdeps/x86/tininess.h: This.
12473 * sysdeps/x86_64/tininess.h: Removed.
12474
df61ffb2
JM
124752012-10-30 Joseph Myers <joseph@codesourcery.com>
12476
12477 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12478 input. Use $(build-program-cmd).
12479 ($(objpfx)tst-array1-static.out): Likewise.
12480 ($(objpfx)tst-array2.out): Likewise.
12481 ($(objpfx)tst-array3.out): Likewise.
12482 ($(objpfx)tst-array4.out): Likewise.
12483 ($(objpfx)tst-array5.out): Likewise.
12484 ($(objpfx)tst-array5-static.out): Likewise.
12485
01767843
CM
124862012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12487
47cc1490
CM
12488 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12489 if defined.
12490
01767843
CM
12491 * nss/nsswitch.h (nss_interface_function): Provide new
12492 macro for use with NSS functions.
12493 * grp/initgroups.c: Use new macro.
12494 * nss/getXXbyYY.c: Likewise.
12495 * nss/getXXbyYY_r.c: Likewise.
12496 * nss/getXXent.c: Likewise.
12497 * nss/getXXent_r.c: Likewise.
12498 * sysdeps/posix/getaddrinfo.c: Likewise.
12499
8321aa97
AJ
125002012-10-30 Andreas Jaeger <aj@suse.de>
12501
12502 * po/ru.po: Update Russion translation from translation project.
12503
2a27fd6d
JM
125042012-10-30 Joseph Myers <joseph@codesourcery.com>
12505
8627a232
JM
12506 [BZ #14152]
12507 [BZ #14783]
12508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12509 result and shift together with sticky bit instead of replicating
12510 round-to-nearest rounding.
12511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12513 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12514 missing underflow exceptions.
12515 (fma_test_towardzero): Add more tests.
12516 (fma_test_downward): Likewise.
12517 (fma_test_upward): Likewise.
12518
2a27fd6d
JM
12519 [BZ #14047]
12520 * sysdeps/generic/tininess.h: New file.
12521 * sysdeps/i386/tininess.h: Likewise.
12522 * sysdeps/sh/tininess.h: Likewise.
12523 * sysdeps/x86_64/tininess.h: Likewise.
12524 * stdlib/tst-strtod-underflow.c: Likewise.
12525 * stdlib/tst-tininess.c: Likewise.
12526 * stdlib/strtod_l.c: Include <tininess.h>.
12527 (round_and_return): Do not set errno for exact underflow cases.
12528 Force an underflow exception when setting errno for underflow.
12529 Determine underflow based on rounding to normal precision if
12530 TININESS_AFTER_ROUNDING.
12531 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12532 ERANGE for exact underflow cases.
12533 * stdlib/Makefile (tests): Add tst-tininess and
12534 tst-strtod-underflow.
12535 ($(objpfx)tst-tininess): Use $(link-libm).
12536 ($(objpfx)tst-strtod-underflow): Likewise.
12537
e7170363
AJ
125382012-10-30 Andreas Jaeger <aj@suse.de>
12539
e5088dc6
AJ
12540 [BZ#14767]
12541 * elf/Makefile (tests): Remove conditional for have-initfini-array
12542 since this is now always required and the variable does not exist
12543 anymore.
12544 (tests-static): Likewise.
12545 (modules-names): Likewise.
12546
e7170363 12547 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12548
12549 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12550 merged with constructor/destructor.
12551 (init_array): Likewise.
12552 * elf/tst-array2dep.c (fini_array): Likewise.
12553 (init_array): Likewise.
12554
60457d8a
MF
125552012-10-29 Mike Frysinger <vapier@gentoo.org>
12556
12557 * manual/message.texi: Delete @cartouche tags.
12558
8bece752
PT
125592012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12560
94ce799f
PT
12561 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12562 EOPNOTSUPP.
12563 * sysdeps/mach/hurd/fsync.c: Likewise.
12564
8bece752
PT
12565 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12566 [_POSIX_REALTIME_SIGNALS]: Change condition to
12567 [_POSIX_REALTIME_SIGNALS > 0].
12568
86ebe6b1
AJ
125692012-10-27 Andreas Jaeger <aj@suse.de>
12570
12571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12572 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12574 [__WORDSIZE != 64]: Likewise.
12575
54399c08
L
125762012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12577
12578 * iconvdata/tst-table.sh: Remove ${SHELL}.
12579 * iconvdata/tst-tables.sh: Likewise.
12580
e2211bed
DM
125812012-10-25 David S. Miller <davem@davemloft.net>
12582
12583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12584 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12585 of strtoull.
12586
f303f97c
DM
12587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12588 ifunc-impl-list.c
12589 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12590 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12591 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12592 file.
12593
1e9d84cd
RM
125942012-10-25 Roland McGrath <roland@hack.frob.com>
12595
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12597 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12598 __getdirentries.
12599
df381762
JM
126002012-10-25 Joseph Myers <joseph@codesourcery.com>
12601 Jim Blandy <jimb@codesourcery.com>
12602
12603 * scripts/cross-test-ssh.sh: New file.
12604 * manual/install.texi (Configuring and compiling): Document use of
12605 cross-test-ssh.sh.
12606 * INSTALL: Regenerated.
12607
bff64913
PT
126082012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12609
12610 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12611 EOPNOTSUPP.
12612
25fe8932
JM
126132012-10-25 Joseph Myers <joseph@codesourcery.com>
12614
12615 * Makeconfig (run-program-prefix): Fix comment.
12616
cc1290d0
JM
126172012-10-24 Joseph Myers <joseph@codesourcery.com>
12618 Jim Blandy <jimb@codesourcery.com>
12619
12620 * Makeconfig (test-wrapper): New variable,
12621 (test-wrapper-env): Likewise.
12622 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12623 (run-built-tests): Define to yes.
12624 (run-program-prefix): Use $(test-wrapper).
12625 (built-program-cmd): Likewise.
12626 * Rules (make-test-out): Use $(test-wrapper-env) and
12627 $(host-built-program-cmd).
12628 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12629 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12630 tst-pathopt.sh.
12631 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12632 $(test-wrapper-env) to tst-rtld-load-self.sh.
12633 ($(objpfx)order2.out): Use $(test-wrapper).
12634 ($(objpfx)tst-initorder.out): Likewise.
12635 ($(objpfx)tst-initorder2.out): Likewise.
12636 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12637 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12638 (test_wrapper_env): New variable. Use it to run ld.so.
12639 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12640 Use it to run ld.so.
12641 (test_wrapper_env): Likewise.
12642 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12643 $(test-wrapper) to run-iconv-test.sh.
12644 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12645 (ICONV): Use $test_wrapper.
12646 * posix/Makefile ($(objpfx)globtest.out): Pass
12647 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12648 globtest.sh, not $(run-program-prefix).
12649 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12650 (test_wrapper): Likewise.
12651 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12652 set together with run_via_rtld_prefix.
12653 (run_program_prefix): Define in terms of test_wrapper and
12654 run_via_rtld_prefix.
12655
6e6249d0
RM
126562012-10-24 Roland McGrath <roland@hack.frob.com>
12657
12658 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12659 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12660 Targets removed.
12661
12662 [BZ #14743]
12663 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12664 Declare __clock_getres, __clock_gettime, __clock_settime,
12665 __clock_nanosleep, and __clock_getcpuclockid.
12666 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12667 Remove librt_hidden_def (clock_gettime).
12668 * sysdeps/unix/clock_gettime.c: Likewise.
12669 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12671 * rt/clock_getres.c: Define __clock_getres as an alias.
12672 * sysdeps/posix/clock_getres.c: Likewise.
12673 * rt/clock_settime.c: Define __clock_settime as an alias.
12674 * sysdeps/unix/clock_settime.c: Likewise.
12675 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12676 * sysdeps/unix/clock_nanosleep.c: Likewise.
12677 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12678 * rt/clock-compat.c: New file.
12679 * rt/Makefile (librt-routines): Add clock-compat and move
12680 $(clock-routines) to ...
12681 (routines): ... here, new variable.
12682 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12683 Don't add get_clockfreq here.
12684 * rt/Versions (libc: GLIBC_2.17): New version set.
12685 Add clock_* symbols here.
12686 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12687 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12688 (GLIBC_2.17): Add clock_* symbols.
12689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12693 Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12695 Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12700 * NEWS: Mention the move.
12701
12702 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12703 Use __open, __read, __close rather than their public counterparts.
12704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12705 (__get_clockfreq_via_cpuinfo): Likewise.
12706 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12707 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12708
12709 * config.h.in (HAVE_IFUNC): New #undef.
12710 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12711 was successful.
12712 * configure: Regenerated.
12713
0cae3f4b
MF
127142012-10-24 Mike Frysinger <vapier@gentoo.org>
12715
12716 * configure.in: Move READELF check to start of file.
12717 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12718 libc_cv_asm_gnu_indirect_function in the process.
12719 * configure: Regenerated.
12720
8175a253
MF
127212012-10-24 Mike Frysinger <vapier@gentoo.org>
12722
12723 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12724 send the output to /dev/null.
12725 (libc_cv_cc_with_libunwind): Likewise.
12726 (libc_cv_as_noexecstack): Likewise.
12727 * configure: Regenerate.
12728
0708a7d1
JM
127292012-10-24 Joseph Myers <joseph@codesourcery.com>
12730
10b40d85
JM
12731 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12732
0708a7d1
JM
12733 * posix/globtest.sh (TMPDIR): Do not set.
12734 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12735 (testout): Likewise.
12736
9fddec1a
AJ
127372012-10-24 Andreas Jaeger <aj@suse.de>
12738
3a8db22f
AJ
12739 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12740 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12741 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12742 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12743 posix_fadvise64, posix_fallocate64.
12744
9fddec1a
AJ
12745 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12746 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12747 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12748 Likewise.
12749 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12750 Likewise.
12751 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12752
12753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12754 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12755 <bits/fcntl-linux.h>.
12756 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12757
12758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12759 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12760 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12761 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12762 [__WORDSIZE != 64]: Likewise.
12763
ebfd1bbd
JM
127642012-10-23 Joseph Myers <joseph@codesourcery.com>
12765
03ac099f
JM
12766 * Makeconfig (run-built-tests): New variable.
12767 * Rules [$(cross-compiling) = yes]: Change condition to
12768 [$(run-built-tests) = no].
12769 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12770 to [$(run-built-tests) = yes].
12771 * elf/Makefile [$(cross-compiling) = no]: Likewise
12772 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12773 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12774 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12775 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12776 * io/Makefile [$(cross-compiling) = no]: Likewise.
12777 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12778 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12779 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12780 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12781 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12782 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12783 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12784 * string/Makefile [$(cross-compiling) = no]: Likewise.
12785
ebfd1bbd
JM
12786 * posix/Makefile ($(objpfx)globtest.out): Pass
12787 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12788 $(rtld-installed-name).
12789 * posix/globtest.sh (elf_objpfx): Remove variable.
12790 (rtld_installed_name): Likewise.
12791 (library_path): Likewise.
12792 (run_program_prefix): New variable. Use for running globtest
12793 binary.
12794
166bca24
JB
127952012-10-23 Jim Blandy <jimb@codesourcery.com>
12796 Joseph Myers <joseph@codesourcery.com>
12797
12798 * Makeconfig (host-built-program-cmd): New variable.
12799 * elf/Makefile (tst-stackguard1-ARGS): Use
12800 $(host-built-program-cmd).
12801 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12802 (tst-spawn-ARGS): Likewise.
12803 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12804
88866099
JM
128052012-10-23 Joseph Myers <joseph@codesourcery.com>
12806 Jim Blandy <jimb@codesourcery.com>
12807
12808 * Makeconfig (run-via-rtld-prefix): New variable.
12809 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12810 (built-program-cmd): Likewise.
12811
b4b4c296
AJ
128122012-10-22 Andreas Jaeger <aj@suse.de>
12813
12814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12815 __O_RSYNC if it exists, otherwise to O_SYNC.
12816
6fb54a22
JB
128172012-10-22 Jim Blandy <jimb@codesourcery.com>
12818 Joseph Myers <joseph@codesourcery.com>
12819
12820 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12821 /dev/null.
12822 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12823 from /dev/null
12824 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12825 /dev/null.
12826
481b90b9
AJ
128272012-10-22 Andreas Jaeger <aj@suse.de>
12828
2a0e2669
AJ
12829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12830 Define always.
12831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12832
76e38f9a
AJ
12833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12834 bits/fcntl-linux.h.
12835
7cd37b43
AJ
12836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12837 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12838
481b90b9
AJ
12839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12840 to __O_LARGEFILE.
12841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12842 to __O_LARGEFILE.
12843
aba75984
JB
128442012-10-21 Jim Blandy <jimb@codesourcery.com>
12845 Joseph Myers <joseph@codesourcery.com>
12846
12847 * config.make.in (NM): New variable.
12848
88d4247f
AJ
128492012-10-21 Andreas Jaeger <aj@suse.de>
12850
12851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12852 definitions and declarations that are provided by
12853 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12854
f2eed205
L
128552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12856
12857 [BZ #14683]
12858 * elf/Makefile (tests-static): Add tst-leaks1-static.
12859 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12860 ($(objpfx)tst-leaks1-static): New rule.
12861 ($(objpfx)tst-leaks1-static-mem): Likewise.
12862 (tst-leaks1-static-ENV): New macro.
12863 * elf/dl-open.c (dl_open_worker): Check the main application
12864 only if SHARED is defined.
12865 * elf/tst-leaks1-static.c: New file.
12866
335e6931
AJ
128672012-10-20 Andreas Jaeger <aj@suse.de>
12868
12869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12870 generic values for Linux.
12871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12872 and declarations that are provided by <bits/fcntl-linux.h> and
12873 include <bits/fcntl-linux.h>.
12874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12876
ac5c94d3
RM
128772012-10-20 Roland McGrath <roland@hack.frob.com>
12878
12879 * io/fcntl.h: Move include of <bits/types.h> to the top and
12880 include it unconditionally.
12881
de54b33a
L
128822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12883
228cfb01
L
12884 * wcsmbs/Makefile (tests-ifunc): New variable.
12885 (tests): Add $(tests-ifunc).
12886 * wcsmbs/test-wcschr-ifunc.c: New file.
12887 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12888 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12889 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12890 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12891 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12892
69f07e5f
L
12893 * string/Makefile (tests-ifunc): New variable.
12894 (tests): Add $(tests-ifunc).
12895 * string/test-memccpy.c (TEST_NAME): New macro.
12896 * string/test-memchr.c (TEST_NAME): Likewise.
12897 * string/test-memcmp.c (TEST_NAME): Likewise.
12898 * string/test-memcpy.c (TEST_NAME): Likewise.
12899 * string/test-memmem.c (TEST_NAME): Likewise.
12900 * string/test-memmove.c (TEST_NAME): Likewise.
12901 * string/test-memset.c (TEST_NAME): Likewise.
12902 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12903 * string/test-stpcpy.c (TEST_NAME): Likewise.
12904 * string/test-stpncpy.c (TEST_NAME): Likewise.
12905 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12906 * string/test-strcasestr.c (TEST_NAME): Likewise.
12907 * string/test-strcat.c (TEST_NAME): Likewise.
12908 * string/test-strchr.c (TEST_NAME): Likewise.
12909 * string/test-strcmp.c(TEST_NAME): Likewise.
12910 * string/test-strcpy.c (TEST_NAME): Likewise.
12911 * string/test-strcspn.c (TEST_NAME): Likewise.
12912 * string/test-strlen.c (TEST_NAME): Likewise.
12913 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12914 * string/test-strncmp.c (TEST_NAME): Likewise.
12915 * string/test-strncpy.c (TEST_NAME): Likewise.
12916 * string/test-strnlen.c (TEST_NAME): Likewise.
12917 * string/test-strpbrk.c (TEST_NAME): Likewise.
12918 * string/test-strrchr.c (TEST_NAME): Likewise.
12919 * string/test-strspn.c (TEST_NAME): Likewise.
12920 * string/test-strstr.c (TEST_NAME): Likewise.
12921 * string/test-bcopy-ifunc.c: New file.
12922 * string/test-bzero-ifunc.c: Likewise.
12923 * string/test-memccpy-ifunc.c: Likewise.
12924 * string/test-memchr-ifunc.c: Likewise.
12925 * string/test-memcmp-ifunc.c: Likewise.
12926 * string/test-memcpy-ifunc.c: Likewise.
12927 * string/test-memmem-ifunc.c: Likewise.
12928 * string/test-memmove-ifunc.c: Likewise.
12929 * string/test-mempcpy-ifunc.c: Likewise.
12930 * string/test-memset-ifunc.c: Likewise.
12931 * string/test-rawmemchr-ifunc.c: Likewise.
12932 * string/test-stpcpy-ifunc.c: Likewise.
12933 * string/test-stpncpy-ifunc.c: Likewise.
12934 * string/test-strcasecmp-ifunc.c: Likewise.
12935 * string/test-strcasestr-ifunc.c: Likewise.
12936 * string/test-strcat-ifunc.c: Likewise.
12937 * string/test-strchr-ifunc.c: Likewise.
12938 * string/test-strchrnul-ifunc.c: Likewise.
12939 * string/test-strcmp-ifunc.c: Likewise.
12940 * string/test-strcpy-ifunc.c: Likewise.
12941 * string/test-strcspn-ifunc.c: Likewise.
12942 * string/test-strlen-ifunc.c: Likewise.
12943 * string/test-strncasecmp-ifunc.c: Likewise.
12944 * string/test-strncat-ifunc.c: Likewise.
12945 * string/test-strncmp-ifunc.c: Likewise.
12946 * string/test-strncpy-ifunc.c: Likewise.
12947 * string/test-strnlen-ifunc.c: Likewise.
12948 * string/test-strpbrk-ifunc.c: Likewise.
12949 * string/test-strrchr-ifunc.c: Likewise.
12950 * string/test-strspn-ifunc.c: Likewise.
12951 * string/test-strstr-ifunc.c: Likewise.
12952
de54b33a
L
12953 * debug/Makefile (tests-ifunc): New variable.
12954 (tests): Add $(tests-ifunc).
12955 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12956 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12957 * debug/test-stpcpy_chk-ifunc.c: New file.
12958 * debug/test-strcpy_chk-ifunc.c: Likewise.
12959
88481c16
SP
129602012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
12962 [BZ #13601]
12963 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12964 header is not read in.
12965
135948bd
JM
129662012-10-19 Joseph Myers <joseph@codesourcery.com>
12967
89f1c388
JM
12968 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12969 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12970 directly. Pass built executable to script as
12971 $(built-program-cmd).
12972 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12973 $testprogram without using LD_LIBRARY_PATH and $ldso.
12974
e40a0d21
JM
12975 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12976 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12977 $(rtld-installed-name).
12978 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12979 (rtld_installed_name): Likewise.
12980 (library_path): Likewise.
12981 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12982 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12983 $(run-program-prefix) to tst-tables.sh.
12984 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12985 it to run tst-table-from and tst-table-to.
12986 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12987 Pass it to tst-table.sh.
12988 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12989 $(run-program-prefix) to tst-gettext.sh.
12990 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12991 tst-translit.sh.
12992 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12993 tst-gettext2.sh.
12994 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12995 to run tst-gettext.
12996 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12997 to run tst-gettext2.
12998 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12999 to run tst-translit.
13000 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13001 $(run-program-prefix) to tst-mtrace.sh.
13002 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13003 to run tst-mtrace.
13004 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13005 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13006 $(rtld-installed-name).
13007 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13008 (rtld_installed_name): Likewise.
13009 (run_program_prefix): New variable. Use it to run wordexp-test.
13010
728e272a
JM
13011 * Makeconfig (ARCH): Remove all definitions.
13012 (machine): Likewise.
13013 [ARCH]: Remove conditional code.
13014 [!objdir]: Give error.
13015 [!objdir] (objpfx): Remove.
13016 [!objdir] (common-objpfx): Likewise.
13017 [!objdir] (common-objdir): Likewise.
13018 * configure.in (config_makefile): Remove. Hardcode Makefile in
13019 AC_CONFIG_FILES call.
13020 * configure: Regenerated.
13021
d528cdcf
JM
13022 [BZ #13888]
13023 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13024 or TMPDIR.
13025 (testout): Likewise.
13026
135948bd
JM
13027 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13028 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13029 $(rtld-installed-name).
13030 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13031 (rtld_installed_name): Likwise.
13032 (runit): Remove function.
13033 (run_getconf): New variable, Use it for running getconf binary.
13034
38c78296
L
130352012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 [BZ #14716]
13038 * string/test-memmem.c (check_result): New function.
13039 (do_one_test): Use it.
13040 (check1): New function.
13041 (test_main): Use it.
13042
d077f65f
MT
130432012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13044
13045 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13046
ced52c71
JM
130472012-10-18 Joseph Myers <joseph@codesourcery.com>
13048
13049 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13050 (_G_LSEEK64): Likewise.
13051 (_G_MMAP64): Likewise.
13052 (_G_FSTAT64): Likewise.
13053 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13054 (_G_LSEEK64): Likewise.
13055 (_G_MMAP64): Likewise.
13056 (_G_FSTAT64): Likewise.
13057 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13058 unconditional. Call __mmap64 directly.
13059 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13060 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13061 __lseek64 directly.
13062 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13063 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13064 __mmap64 directly.
13065 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13066 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13067 __lseek64 directly.
13068 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13069 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13070 __lseek64 directly.
13071 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13072 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13073 __lseek64 directly.
13074 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13075 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13076 __fxstat64 directly.
13077 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13078 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13079 unconditional.
13080 (freopen64) [!_G_OPEN64]: Remove conditional code.
13081 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13082 unconditional.
13083 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13084 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13085 unconditional.
13086 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13087 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13088 unconditional.
13089 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13090 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13091 unconditional.
13092 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13093 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13094 unconditional.
13095 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13096 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13097 unconditional.
13098 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13099 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13100 unconditional.
13101 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13102
b741de23
SP
131032012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13104
13105 [BZ #12140]
13106 * manual/memory.texi (Malloc Tunable Parameters): Add note
13107 about free list pointers overwriting some perturb bytes.
13108 Wording suggested by Roland McGrath.
13109
f9b9d9c9
JM
131102012-10-17 Joseph Myers <joseph@codesourcery.com>
13111
13112 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13113 (lgamma_test): Likewise.
13114 (tgamma_test): Likewise.
13115
172a631a
FW
131162012-10-16 Florian Weimer <fweimer@redhat.com>
13117
13118 [BZ #14700]
13119 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13120 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13121
e9f37252
MK
131222012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13123
13124 * NEWS: Mention BZ #14716.
13125 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13126 when removing AVAILABLE1_USES_J macro.
13127
d394eb74
L
131282012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13131 (__bswap_64): __uint64_t for unsigned 64-bit int.
13132
ca38dc17
AS
131332012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13134
13135 * include/string.h (memmem): Declare libc hidden alias.
13136 * string/memmem.c (memmem): Define libc hidden alias.
13137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13138 __read, __close instead of open, read, close.
13139
9a387d1f
L
131402012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13141
ac49ecaf
L
13142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13143 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13144 global and hidden.
13145 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13146 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13147 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13148 Likewise.
13149 (__rawmemchr_sse2): Likewise.
13150 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13151 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13152 (__strchr_sse2): Likewise.
13153 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13154 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13155 (__strcasecmp_sse2): Likewise.
13156 (__strncasecmp_sse2): Likewise.
13157 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13158 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13159 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13160 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13161 (__strrchr_sse2): Likewise.
13162 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13163 ifunc-impl-list.c.
13164 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13165 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13166 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13167 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13168 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13170 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13171 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13172 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13173 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13174 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13175 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13176 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13177 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13178 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13179 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13180 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13181 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13182 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13183 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13184 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13185 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13186 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13187 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13188 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13189 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13190 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13191 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13192 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13193 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13194
b090e8ea
L
13195 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13196 global and hidden.
13197 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13198 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13199 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13200 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13201 Likewise.
13202 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13203 Likewise.
13204 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13205 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13206 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13207 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13208 ifunc-impl-list.c.
13209 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13211 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13212 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13214 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13215 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13216 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13217 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13218 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13219 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13220 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13221 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13222 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13224 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13225 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13226 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13227 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13228 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13229 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13230 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13231 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13232 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13233 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13234 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13235 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13236 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13237 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13238 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13239 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13240 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13241 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13242 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13243 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13244 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13247 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13248 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13249 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13250
11dd4af6
L
13251 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13252 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13253 * include/ifunc-impl-list.h: New file.
13254 * misc/ifunc-impl-list.c: Likewise.
13255 * misc/Makefile (routines): Add ifunc-impl-list.
13256 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13257 * string/test-string.h: Include <ifunc-impl-list.h>.
13258 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13259 impl_array): New variables.
13260 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13261 are defined.
13262 (test_init): Call __libc_ifunc_impl_list to initialize
13263 func_list if TEST_IFUNC and TEST_NAME are defined.
13264
9a387d1f
L
13265 * string/Makefile (strop-tests): Add bcopy and bzero.
13266 * string/test-bcopy.c: New file.
13267 * string/test-bzero.c: Likewise.
13268 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13269 defined.
13270 * string/test-memset.c: Support bzero test if TEST_BZERO is
13271 defined.
13272 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13273 __libc_memmove.
13274 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13275 __libc_memset.
13276 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13277 of memset.
13278
472371b9
JM
132792012-10-10 Joseph Myers <joseph@codesourcery.com>
13280
1e4a9536
JM
13281 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13282 * configure: Regenerated.
13283
d173d12e
JM
13284 * Makeconfig (+link-static-before-libc): Don't include
13285 $(link-static-libc).
13286
472371b9
JM
13287 * libio/libio.h (_IO_pos_t): Remove.
13288
89a3ad0b
AO
132892012-10-10 Alexandre Oliva <aoliva@redhat.com>
13290
13291 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13292 McGrath.
13293
e7451425
AO
132942012-10-10 Alexandre Oliva <aoliva@redhat.com>
13295
13296 * crypt/crypt-entry.c: Include fips-private.h.
13297 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13298 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13299 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13300 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13301
4ba74a35
AO
133022012-10-10 Alexandre Oliva <aoliva@redhat.com>
13303
13304 * crypt/crypt-private.h: Include stdbool.h.
13305 (_ufc_setup_salt_r): Return bool.
13306 * crypt/crypt-entry.c: Include errno.h.
13307 (__crypt_r): Return NULL with EINVAL for bad salt.
13308 * crypt/crypt_util.c (bad_for_salt): New.
13309 (_ufc_setup_salt_r): Check that salt is long enough and within
13310 the specified alphabet.
13311 * crypt/badsalttest.c: New file.
13312 * crypt/Makefile (tests): Add it.
13313 ($(objpfx)badsalttest): New.
13314
f96f1242
MK
133152012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13316
13317 * NEWS: Add entry for BZ #14602.
13318
0e8e0c1c
JM
133192012-10-09 Joseph Myers <joseph@codesourcery.com>
13320
13321 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13322 type-generic.
13323 * math/libm-test.inc: Update comment listing what functions and
13324 macros are tested.
13325 (isgreater_test): New function.
13326 (isgreaterequal_test): Likewise.
13327 (isless_test): Likewise.
13328 (islessequal_test): Likewise.
13329 (islessgreater_test): Likewise.
13330 (isunordered_test): Likewise.
13331 (main): Call the new functions.
13332
273edc5e
RM
133332012-10-09 Roland McGrath <roland@hack.frob.com>
13334
b8493de0
RM
13335 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13336 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13337 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13338 * sysdeps/i386/configure: Regenerated.
13339 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13340 * sysdeps/mach/configure: Regenerated.
13341 * sysdeps/mach/hurd/configure: Regenerated.
13342 * sysdeps/powerpc/configure: Regenerated.
13343 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13344 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13345 * sysdeps/s390/s390-32/configure: Regenerated.
13346 * sysdeps/s390/s390-64/configure: Regenerated.
13347 * sysdeps/sh/configure: Regenerated.
13348 * sysdeps/sparc/configure: Regenerated.
13349 * sysdeps/unix/sysv/linux/configure: Regenerated.
13350 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13351 * sysdeps/x86_64/configure: Regenerated.
13352
273edc5e
RM
13353 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13354 defined. Don't check if MAP is NULL.
13355
c8450f70
JM
133562012-10-09 Joseph Myers <joseph@codesourcery.com>
13357
13358 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13359 (_G_stat64): Likewise.
13360 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13361 (_G_stat64): Likewise.
13362 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13363 instead of struct _G_stat64.
13364 * libio/fileops.c (mmap_remap_check): Likewise.
13365 (decide_maybe_mmap): Likewise.
13366 (_IO_new_file_seekoff): Likewise.
13367 (_IO_file_stat): Likewise.
13368 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13369 _G_off64_t.
13370 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13371 instead of struct _G_stat64.
13372 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13373
57e605ba
MK
133742012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13375
13376 [BZ #14602]
13377 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13378 Replace with ...
13379 (CHECK_EOL): New macro.
13380 (two_way_short_needle): Check beginning of haystack for EOL. Use
13381 CHECK_EOL.
13382 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13383 Replace with CHECK_EOL.
13384 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13385 Replace with CHECK_EOL.
13386
ef1bb361
JM
133872012-10-08 Joseph Myers <joseph@codesourcery.com>
13388
13389 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13390 type-generic.
13391 * math/libm-test.inc: Update comment listing what functions and
13392 macros are tested.
13393 (finite_test): New function.
13394 (isinf_test): Likewise.
13395 (isnan_test): Likewise.
13396 (fpclassify_test): Test subnormal input.
13397 (isfinite_test): Likewise.
13398 (isnormal_test): Likewise.
13399 (main): Call the new functions.
13400
55f11534
JN
134012012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13402
13403 [BZ #14660]
13404 * Makerules (%.dynsym): Force C locale when running
13405 $(OBJDUMP) --dynamic-syms.
13406
1ab29350
AS
134072012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13408
13409 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13410 <stdint.h>.
13411
f1ecb7ef
DM
134122012-10-06 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13415 upper 32-bits of the length value in %o2 since we use branch-on-register
13416 tests which consider the entire 64-bit register.
13417
5d41d91a
L
134182012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * string/test-strstr.c (check2): Add a test for page boundary.
13421
3baddb72
DM
134222012-10-05 David S. Miller <davem@davemloft.net>
13423
13424 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13425 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13426 file.
13427 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13428 sysdep_routines.
13429 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13430 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13431 and bzero when HWCAP_SPARC_CRYPTO is present.
13432
9cee5585
L
134332012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13434
d7e0dab9
L
13435 [BZ #14602]
13436 * string/test-strstr.c (check2): New function.
13437 (test_main): Call check2.
13438
03759f47
L
13439 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13440 and bug-strchr1.
13441 * string/bug-strcasestr1.c (do_test): Moved to ...
13442 * string/test-strcasestr.c (check1): Here. New function.
13443 (do_one_test): Break out result checking code into ...
13444 (check_result): This. New function.
13445 (do_one_test): Call check_result.
13446 (test_main): Call check1.
13447 * string/bug-strchr1.c (do_test): Moved to ...
13448 * string/test-strchr.c (check1): Here. New function.
13449 (do_one_test): Break out result checking code into ...
13450 (check_result): This. New function.
13451 (do_one_test): Call check_result.
13452 (test_main): Call check1.
13453 * string/bug-strstr1.c (main): Moved to ...
046f153e 13454 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13455 (do_one_test): Break out result checking code into ...
13456 (check_result): This. New function.
13457 (do_one_test): Call check_result.
13458 (test_main): Call check1.
13459 * string/bug-strcasestr1.c: Removed.
13460 * string/bug-strchr1.c: Likewise.
13461 * string/bug-strstr1.c: Likewise.
13462
53cea63e
L
13463 * elf/Makefile (dl-routines): Add hwcaps.
13464 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13465 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13466 (_dl_important_hwcaps): Moved to ...
13467 * elf/dl-hwcaps.c: Here. New file.
13468 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13469
9cee5585 13470 [BZ #14557]
bb859b06
L
13471 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13472 if IS_IN_rtld isn't defined.
13473
9cee5585
L
13474 * elf/dl-support.c (_dl_sysinfo_map): New.
13475 Include "get-dynamic-info.h" and "setup-vdso.h".
13476 (_dl_non_dynamic_init): Call setup_vdso.
13477 * elf/dynamic-link.h: Don't include <assert.h>.
13478 (elf_get_dynamic_info): Moved to ...
13479 * elf/get-dynamic-info.h: Here. New file.
13480 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13481 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13482 * elf/setup-vdso.h: Here. New file.
13483 * elf/rtld.c: Include "setup-vdso.h".
13484 (dl_main): Call setup_vdso.
13485
23c31b76
JM
134862012-10-05 Joseph Myers <joseph@codesourcery.com>
13487
28234b07
JM
13488 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13489 creal in comment listing functions tested. List finite, isinf,
13490 isnan, isless, islessequal, isgreater, isgreaterequal,
13491 islessgreater, isunordered, lgamma_r and pow10 as functions and
13492 macros not tested. Mention which functions not tested are aliases
13493 for other functions. Fix typo. Note that signs of NaNs are not
13494 tested.
13495
23c31b76
JM
13496 * scripts/config.guess: Update from config.git.
13497 * scripts/config.sub: Likewise.
13498
9043e228
RM
134992012-10-04 Roland McGrath <roland@hack.frob.com>
13500
13501 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13502 * misc/madvise.c (madvise): Renamed to __madvise.
13503 Make madvise a weak alias.
13504 * include/sys/mman.h: Declare __madvise.
13505 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13506 * sysdeps/unix/syscalls.list
13507 (madvise): Make __madvise the strong name, and madvise a weak alias.
13508 * sysdeps/unix/sysv/linux/syscalls.list
13509 (madvise, mmap): Remove redundant entries.
13510 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13511 * malloc/malloc.c (mtrim): Likewise.
13512 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13513
f57f8055
RM
135142012-10-03 Roland McGrath <roland@hack.frob.com>
13515
13516 * sysdeps/mach/hurd/dl-cache.c: File removed.
13517 * config.h.in (USE_LDCONFIG): New #undef.
13518 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13519 * configure: Regenerated.
13520 * elf/Makefile (dl-routines): Add dl-cache only under
13521 [$(use-ldconfig) = yes].
13522 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13523 cache on [USE_LDCONFIG].
13524 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13525 [USE_LDCONFIG].
13526 * elf/rtld.c (dl_main): Likewise.
13527
5bb0c10a
PT
135282012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13529
13530 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13531 _SC_LEVEL4_CACHE_LINESIZE.
13532
010188c6
RM
135332012-10-03 Roland McGrath <roland@hack.frob.com>
13534
13535 * sysdeps/unix/bsd/confstr.h: File removed.
13536
b6c5ec07
AO
135372012-10-02 Alexandre Oliva <aoliva@redhat.com>
13538
13539 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13540 sys/sdt-config.h.
13541
408223d4
RM
135422012-10-02 Roland McGrath <roland@hack.frob.com>
13543
13544 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13545 Make 'mapoff' field ElfW(Off) rather than off_t.
13546
bb9510dc
DL
135472012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13548
fc997c6e
DL
13549 * nscd/Makefile: Remove nscd-cflags and all its users.
13550 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13551 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13552
bb9510dc
DL
13553 [BZ #10631]
13554 * malloc.c (malloc_printerr): Clarify error message.
13555
05699367
L
135562012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13557
13558 [BZ #14648]
13559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13560 Set bit_FMA_Usable if FMA is supported.
13561 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13562 macro.
13563 (bit_FMA4_Usable): Updated.
13564 (index_FMA_Usable): New macro.
13565 (CPUID_FMA): Likewise
13566 (HAS_FMA): Defined with bit_FMA_Usable.
13567
51367701
RM
135682012-10-01 Roland McGrath <roland@hack.frob.com>
13569
13570 * bits/types.h (__swblk_t): Type removed.
13571 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13572 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13574 (__SWBLK_T_TYPE): Likewise.
13575 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13576 (__SWBLK_T_TYPE): Likewise.
13577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13578 (__SWBLK_T_TYPE): Likewise.
13579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13580 (__SWBLK_T_TYPE): Likewise.
13581
4d57bf63 135822012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13583 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13584
13585 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13586 (xdr_mapname): Use YPMAXMAP as maxsize.
13587 (xdr_peername): Use YPMAXPEER as maxsize.
13588 (xdr_keydat): Use YPAXRECORD as maxsize.
13589 (xdr_valdat): Use YPMAXRECORD as maxsize.
13590
93c65d43
RM
135912012-10-01 Roland McGrath <roland@hack.frob.com>
13592
497a03d6
RM
13593 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13594
93c65d43
RM
13595 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13596 * csu/init-first.c: ... here.
13597 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13598 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13599 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13600 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13601 * sysdeps/i386/init-first.c: File removed.
13602 * sysdeps/sh/init-first.c: File removed.
13603
bec749fd
JM
136042012-10-01 Joseph Myers <joseph@codesourcery.com>
13605
13606 [BZ #14645]
13607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13608 if x * y might underflow to zero and z is zero.
13609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13611 * math/libm-test.inc (min_subnorm_value): New variable.
13612 (fma_test): Add more tests.
13613 (fma_test_towardzero): Likewise.
13614 (fma_test_downward): Likewise
13615 (fma_test_upward): Likewise.
13616 (initialize): Set min_subnorm_value.
13617
8ec5b013
JM
136182012-09-29 Joseph Myers <joseph@codesourcery.com>
13619
13620 [BZ #14638]
13621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13622 0 + 0.
13623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13624 mode for addition resulting in exact zero.
13625 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13627 exact 0 + 0.
13628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13630 * math/libm-test.inc (fma_test): Add more tests.
13631 (fma_test_towardzero): New function.
13632 (fma_test_downward): Likewise.
13633 (fma_test_upward): Likewise.
13634 (main): Call the new functions.
13635
b1fa802e
DM
136362012-09-28 David S. Miller <davem@davemloft.net>
13637
13638 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13639
d3b9fd9e
RM
136402012-09-28 Roland McGrath <roland@hack.frob.com>
13641
ea4d37b3
RM
13642 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13643 instead of SIGALRM.
13644
ac51c949
RM
13645 * sysdeps/gnu/_G_config.h: Moved to ...
13646 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13647 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13648 * sysdeps/generic/_G_config.h: ... here.
13649
28c195f7
RM
13650 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13651
848917f9
RM
13652 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13653
6bacf05b
RM
13654 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13655 Conditionalize target on [libnss_test1.so-version].
13656
91363dbb
RM
13657 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13658
cc87f7d8
RM
13659 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13660 (elfobjdir): Move out of conditionals.
13661
b1c608fe
RM
13662 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13663 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13664 (__nss_lookup_function): Conditionalize label remove_from_tree on
13665 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13666
1d9a6d96
DM
136672012-09-28 David S. Miller <davem@davemloft.net>
13668
13669 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13670 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13671 file.
13672 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13673 sysdep_routines.
13674 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13676 when HWCAP_SPARC_CRYPTO is present.
13677
72581615
PT
136782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13679
13680 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13681
715a900c
JL
136822012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13683
13684 [BZ #6530]
13685 * stdio-common/vfprintf.c (process_string_arg): Revert
13686 2000-07-22 change.
13687
136882011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13689
13690 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13691 for testcase.
13692 * stdio-common/tst-sprintf.c: Include <locale.h>
13693 (main): Test sprintf's handling of incomplete multibyte
13694 characters.
13695
9bac1d86
L
136962012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13697
13698 * elf/dl-runtime.c (VERSYMIDX): Removed.
13699 * elf/dl-version.c (VERSYMIDX): Likewise.
13700 * elf/do-rel.h (VERSYMIDX): Likewise.
13701 (VALIDX): Likewise.
13702 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13703 * elf/rtld.c (VALIDX): Likewise.
13704 (ADDRIDX): Likewise.
9bac1d86
L
13705 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13706 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13707 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13708 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13709 (VALIDX): Likewise.
13710 (ADDRIDX): Likewise.
9bac1d86 13711
b31606c0
PT
137122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13713
13714 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13715
11541177
JL
137162012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13717
13718 [BZ #11438]
13719 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13720 to global scope.
13721 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13722 addresses are in the same scope as 192.0.2/24.
13723 * posix/gai.conf: Document new scope table defaults.
13724
adb26fae
SP
137252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13726
13727 [BZ #5298]
13728 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13729 for ftell. Compute offsets from write pointers instead.
13730 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13731
4573c6b0
SP
137322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13733
13734 [BZ #14543]
13735 * libio/Makefile (tests): New test case tst-fseek.
13736 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13737 combination works in wide mode.
13738 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13739 state when the external buffer state changes.
13740
aa9bbfe6
DM
137412012-09-27 David S. Miller <davem@davemloft.net>
13742
13743 [BZ #14376]
13744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13745 pass reloc->r_addend in as the 'high' argument to
13746 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13747
784421e7
DM
13748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13749
c39bc8b8
PT
137502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13751
13752 * rt/tst-aio2.c: Include <pthread.h>.
13753 * rt/tst-aio3.c: Likewise.
13754
1ccc2399
SE
137552012-09-27 Steve Ellcey <sellcey@mips.com>
13756
13757 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13758
31ed4153
L
137592012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13760
25f5f885
L
13761 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13762 contents on [SHARED].
31ed4153 13763
b7bfe116
MP
137642012-09-26 Marek Polacek <polacek@redhat.com>
13765
13766 [BZ #14530]
13767 [BZ #13741]
13768 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13769 for C++ and GCC <4.3 as well as for non GCC compilers.
13770
43c4edba
MT
137712012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13772
13773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13774
6a1bf82f
RM
137752012-09-25 Roland McGrath <roland@hack.frob.com>
13776
13777 * Makefile.in (all, install): Declare with .PHONY.
13778 Reported by Michael Hope <michael.hope@linaro.org>.
13779
8ad11b9a
TMQMF
137802012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13781
13782 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13783 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13784 system header.
13785 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13786 Likewise.
13787 (sydep_routines): Add the new and the internal functions.
13788 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13789 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13791 (GLIBC_2.17): Add the new function.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13793 (GLIBC_2.17): Likewise.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13795 (GLIBC_2.17): Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13797 (GLIBC_2.17): Likewise.
13798 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13799
7e2fca8d
AM
138002012-09-25 Alan Modra <amodra@gmail.com>
13801
13802 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13803 Add release barrier before setting once_control to say
13804 initialisation is done. Add hints on lwarx. Use macro in
13805 place of isync.
13806 (clear_once_control): Add release barrier.
13807
b87c4b24
JM
138082012-09-25 Joseph Myers <joseph@codesourcery.com>
13809
d032e0d2
JM
13810 [BZ #13629]
13811 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13812 specially.
13813 * math/s_clog10.c (__clog10): Likewise.
13814 * math/s_clog10f.c (__clog10f): Likewise.
13815 * math/s_clog10l.c (__clog10l): Likewise.
13816 * math/s_clogf.c (__clogf): Likewise.
13817 * math/s_clogl.c (__clogl): Likewise.
13818 * math/Makefile (libm-calls): Add x2y2m1.
13819 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13820 (__x2y2m1): Likewise.
13821 (__x2y2m1l): Likewise.
13822 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13823 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13828 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13829 * sysdeps/i386/fpu/libm-test-ulps: Update.
13830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13831
b87c4b24
JM
13832 [BZ #14621]
13833 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13834 int as type of variable DEPTH.
13835 (glob): Use size_t instead of int as type of variables NEWCOUNT
13836 and OLD_PATHC.
13837
6d3bf199
LD
138382012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13839
22bf5c17
LD
13840 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13841 Add s_sincosf-sse2.
13842 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13843 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13844 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13845 macros for using routine as __sincosf_ia32.
13846 Use macro for function declaration and weak_alias.
13847 * sysdeps/i386/fpu/libm-test-ulps: Update.
13848
13849 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13851
13852 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13853 subnormal argument.
13854 * math/s_cexpf.c (__cexpf): Likewise.
13855 * math/s_csinf.c (__csinf): Likewise.
13856 * math/s_csinhf.c (__csinhf): Likewise.
13857 * math/s_ctanf.c (__ctanf): Likewise.
13858 * math/s_ctanhf.c (__ctanhf): Likewise.
13859 * math/s_ccosh.c (__ccoshf): Likewise.
13860 * math/s_cexp.c (__cexpl): Likewise.
13861 * math/s_csin.c (__csin): Likewise.
13862 * math/s_csinh.c (__csinh): Likewise.
13863 * math/s_ctan.c (__ctan): Likewise.
13864 * math/s_ctanh.c (ctanh): Likewise.
13865 * math/s_ccoshl.c (__ccoshl): Likewise.
13866 * math/s_cexpl.c (__cexpl): Likewise.
13867 * math/s_csinl.c (__csinl): Likewise.
13868 * math/s_csinhl.c (__csinhl): Likewise.
13869 * math/s_ctanl.c (__ctanl): Likewise.
13870 * math/s_ctanhl.c (__ctanhl): Likewise.
13871
203e5603
JM
138722012-09-25 Joseph Myers <joseph@codesourcery.com>
13873
13874 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13875 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13876 (_IO_off_t): Define to __off_t, not _G_off_t.
13877 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13878 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13879 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13880 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13881 type of __dummy and __dummy2 fields.
13882 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13883 (_G_ssize_t): Likewise.
13884 (_G_off_t): Likewise.
13885 (_G_pid_t): Likewise.
13886 (_G_uid_t): Likewise.
13887 (_G_wchar_t): Likewise.
13888 (_G_wint_t): Likewise.
13889 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13890 (_G_ssize_t): Likewise.
13891 (_G_off_t): Likewise.
13892 (_G_pid_t): Likewise.
13893 (_G_uid_t): Likewise.
13894 (_G_wchar_t): Likewise.
13895 (_G_wint_t): Likewise.
13896 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13897 (_G_ssize_t): Likewise.
13898 (_G_off_t): Likewise.
13899 (_G_pid_t): Likewise.
13900 (_G_uid_t): Likewise.
13901 (_G_wchar_t): Likewise.
13902 (_G_wint_t): Likewise.
13903
9fab36eb
SP
139042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13905
13906 * malloc/arena.c: Include malloc-sysdep.h.
13907 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13908 is sufficient to shrink the heap or an unmap is needed.
13909 * sysdeps/generic/malloc-sysdep.h: New file. Define
13910 new function check_may_shrink_heap.
13911 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13912 new function check_may_shrink_heap.
13913
2b4f00d1
SP
139142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13915
13916 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13917 comments.
13918
9a9028b1
DL
139192012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13920
57c69bef
DL
13921 * catgets/test-gencat.sh: Add "set -e".
13922 * elf/tst-pathopt.sh: Likewise.
13923 * grp/tst_fgetgrent.sh: Likewise.
13924 * iconvdata/run-iconv-test.sh: Likewise.
13925 * intl/tst-gettext.sh: Likewise.
13926 * intl/tst-gettext2.sh: Likewise.
13927 * intl/tst-gettext4.sh: Likewise.
13928 * intl/tst-gettext6.sh: Likewise.
13929 * intl/tst-translit.sh: Likewise.
13930 * io/ftwtest-sh: Likewise.
13931 * libio/test-freopen.sh: Likewise.
13932 * malloc/tst-mtrace.sh: Likewise.
13933 * posix/globtest.sh: Likewise.
13934 * posix/tst-getconf.sh: Likewise.
13935 * posix/wordexp-tst.sh: Likewise.
13936 * stdio-common/tst-printf.sh: Likewise.
13937 * stdio-common/tst-unbputc.sh: Likewise.
13938 * stdlib/tst-fmtmsg.sh: Likewise.
13939 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13940 * catgets/Makefile: Do not specify -e option when running
13941 testsuite shell scripts.
13942 * elf/Makefile: Likewise.
13943 * grp/Makefile: Likewise.
13944 * iconvdata/Makefile: Likewise.
13945 * intl/Makefile: Likewise.
13946 * io/Makefile: Likewise.
13947 * libio/Makefile: Likewise.
13948 * malloc/Makefile: Likewise.
13949 * posix/Makefile: Likewise.
13950 * stdio-common/Makefile: Likewise.
13951 * stdlib/Makefile: Likewise.
13952 * sysdeps/x86_64/Makefile: Likewise.
13953
9a9028b1
DL
13954 * io/ftwtest-sh: Add copyright header.
13955 * posix/globtest.sh: Likewise.
13956 * posix/tst-getconf.sh: Likewise.
13957 * posix/wordexp-tst.sh: Likewise.
13958 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13959
ced6f16e
L
139602012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13961
94b32c39
L
13962 [BZ #13679]
13963 * Makeconfig (+link): Defined as $(+link-static) if
13964 $(build-shared) isn't yes.
13965 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13966 isn't yes.
13967 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13968
189e935b
L
13969 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13970
ced6f16e
L
13971 [BZ #14562]
13972 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13973 new chunk size with MALLOC_ALIGN_MASK.
13974
a9f8e53a
JM
139752012-09-24 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #5044]
13978 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13979 <rounding-mode.h>.
13980 (__printf_fphex): Determine rounding using get_rounding_mode and
13981 round_away.
13982 * stdio-common/tst-printf-round.c (struct hex_test): New
13983 structure.
13984 (hex_tests): New variable.
13985 (test_hex_in_one_mode): New function.
13986 (do_test): Also run tests for hex float output.
13987
43153109
JM
139882012-09-21 Joseph Myers <joseph@codesourcery.com>
13989
13990 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13991 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13992 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13993 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13994 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13995 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13996 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13997 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13998
8a26625d
JM
139992012-09-20 Joseph Myers <joseph@codesourcery.com>
14000
14001 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14002 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14003 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14004 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14005
f3fd569c
DL
140062012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14007
14008 [BZ #14579]
14009 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14010 mode only.
14011 * elf/tst-rtld-load-self.sh: New test.
14012 * elf/Makefile: Run it.
14013
63bbedd4
JM
140142012-09-18 Joseph Myers <joseph@codesourcery.com>
14015
14016 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14017 (tst-writev-ENV): Remove.
14018 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14019
626f8b6a
CM
140202012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14021
14022 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14023
b7aaa4d6
JM
140242012-09-17 Joseph Myers <joseph@codesourcery.com>
14025
14026 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14027 unconditional.
14028 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14029 Likewise.
14030 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14031 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14032 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14033 Likewise.
14034
65513990
L
140352012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14036
14037 [BZ #14587]
14038 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14039 * config.make.in (have-cpp-asm-debuginfo): Removed.
14040 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14041 * configure: Regenerated.
14042
784761be
JM
140432012-09-14 Joseph Myers <joseph@codesourcery.com>
14044
14045 [BZ #5044]
14046 * stdio-common/printf_fp.c: Include <stdbool.h> and
14047 <rounding-mode.h>.
14048 (___printf_fp): Determine rounding using get_rounding_mode and
14049 round_away.
14050 * stdio-common/tst-printf-round.c: New file.
14051 * stdio-common/Makefile (tests): Add tst-printf-round.
14052 (link-libm): New variable.
14053 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14054
9503345f
L
140552012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14056
14057 [BZ #14576]
14058 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14059 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14060 Likewise.
14061 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14062 Likewise.
14063
ad35fc00
JM
140642012-09-13 Joseph Myers <joseph@codesourcery.com>
14065
14066 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14067 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14068 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14069 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14070
6c9b0f68
JM
140712012-09-12 Joseph Myers <joseph@codesourcery.com>
14072
14073 [BZ #14518]
14074 * include/rounding-mode.h: New file.
14075 * sysdeps/generic/get-rounding-mode.h: Likewise.
14076 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14077 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14078 (MAX_VALUE): New macro.
14079 (MIN_VALUE): Likewise.
14080 (overflow_value): New function.
14081 (underflow_value): Likewise.
14082 (round_and_return): Use overflow_value and underflow_value to
14083 determine return values in overflow and underflow cases. Use
14084 round_away to determine rounding depending on rounding mode.
14085 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14086 determine return values in overflow and underflow cases.
14087 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14088 (struct test_results): New structure.
14089 (struct test): Use struct test_results to store expected results
14090 for all rounding modes.
14091 (TEST): Include expected results for all rounding modes.
14092 (test_in_one_mode): New function.
14093 (do_test): Use test_in_one_mode to compute and check results.
14094 Check results for all rounding modes.
14095 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14096 $(link-libm).
14097
19fcedd5
AM
140982012-12-09 Allan McRae <allan@archlinux.org>
14099
1e9d84cd 14100 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14101
8bbfd2f1
JM
141022012-09-11 Joseph Myers <joseph@codesourcery.com>
14103
14104 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14105 (_G_int32_t): Likewise.
14106 (_G_uint16_t): Likewise.
14107 (_G_uint32_t): Likewise.
14108 (_G_HAVE_BOOL): Likewise.
14109 (_G_HAVE_ATEXIT): Likewise.
14110 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14111 (_G_HAVE_IO_FILE_OPEN): Likewise.
14112 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14113 (_G_int32_t): Likewise.
14114 (_G_uint16_t): Likewise.
14115 (_G_uint32_t): Likewise.
14116 (_G_HAVE_BOOL): Likewise.
14117 (_G_HAVE_ATEXIT): Likewise.
14118 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14119 (_G_HAVE_IO_FILE_OPEN): Likewise.
14120 * sysdeps/mach/hurd/_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
b1dc5912
L
141292012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14130
14131 * csu/libc-tls.c: Update copyright years.
14132
0e886ef9
JM
141332012-09-10 Joseph Myers <joseph@codesourcery.com>
14134
28361c5e
JM
14135 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14136 [!_G_USING_THUNKS]: Remove conditional code.
14137 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14138 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14139
0e886ef9
JM
14140 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14141 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14142 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14143 (_G_VTABLE_LABEL_PREFIX): Likewise.
14144 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14145 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14146 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14147 (_G_VTABLE_LABEL_PREFIX): Likewise.
14148 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14149 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14150 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14151 (_G_VTABLE_LABEL_PREFIX): Likewise.
14152 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14153
bcba7aa2
L
141542012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * libio/Makefile: Include ../Makeconfig before tests.
14157 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14158 only if $(build-shared) is yes.
14159
06585ee8
L
14160 * iconv/gconv_db.c: Update copyright years.
14161
80ccd52c
LD
141622012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14163
14164 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14165 unwind info if defined PIC. Fix special cases description.
14166 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14167
14168 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14169 DP_HI_MASK entry.
14170 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14171
691bc9c1
L
141722012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14173
3d9b46b3
L
14174 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14175
de2139a9
L
14176 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14177 is NULL.
14178
5ca78dd0
L
14179 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14180 (LDLIBS-tst-chk4): This.
14181 (LDFLAGS-tst-chk5): Renamed to ...
14182 (LDLIBS-tst-chk5): This.
14183 (LDFLAGS-tst-chk6): Renamed to ...
14184 (LDLIBS-tst-chk6): This.
14185 (LDFLAGS-tst-lfschk4): Renamed to ...
14186 (LDLIBS-tst-lfschk4): This.
14187 (LDFLAGS-tst-lfschk5): Renamed to ...
14188 (LDLIBS-tst-lfschk5): This.
14189 (LDFLAGS-tst-lfschk6): Renamed to ...
14190 (LDLIBS-tst-lfschk6): This.
14191
691bc9c1
L
14192 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14193 on $(common-objpfx)soversions.mk.
14194
65cafb1c
JM
141952012-09-07 Joseph Myers <joseph@codesourcery.com>
14196
14197 [BZ #10014]
14198 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14199 example host name.
14200
c78ab094
SP
142012012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14202
14203 * malloc/arena.c (arena_get_retry): New function that gets
14204 another arena for the caller to try its request on.
14205 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14206 current arena cannot fulfill the request.
14207 (__libc_memalign): Likewise.
14208 (__libc_memalign): Likewise.
14209 (__libc_pvalloc): Likewise.
14210 (__libc_calloc): Likewise.
14211
01f49f59
JT
142122012-09-05 John Tobey <john.tobey@gmail.com>
14213
14214 [BZ #13542]
14215 * manual/arith.texi (Operations on Complex): Fix description
14216 of carg branch cut.
14217
4c23fed5
JM
142182012-09-06 Joseph Myers <joseph@codesourcery.com>
14219
1d3c8572
JM
14220 [BZ #10014]
14221 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14222 host name.
14223
4c23fed5
JM
14224 [BZ #10038]
14225 * manual/memory.texi (Memory): Make order of menu items match
14226 order of sections.
14227
04570aaa
L
142282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14229
14230 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14231 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14232 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14233
b80af2f4
L
142342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * csu/libc-tls.c (static_dtv): Renamed to ...
14237 (_dl_static_dtv): This. Make it global.
14238 (_dl_initial_dtv): Removed.
14239 (__libc_setup_tls): Updated.
14240 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14241 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14242 DL_INITIAL_DTV.
14243
2abe9f15
PM
142442012-09-06 Petr Machata <pmachata@redhat.com>
14245
14246 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14247 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14248 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14249 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14250
0948c3af
L
142512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 [BZ #14545]
14254 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14255 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14256 freeing dtv[-1].
14257
a5055ad1
L
142582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 [BZ #14544]
14261 * Makeconfig (link-static-before-libc): Replace $(+prector)
14262 with $(+prectorT).
14263 (link-static-after-libc): Replace $(+postctor) with
14264 $(+postctorT).
14265 (link-bounded): Replace $(+prector)/$(+postctor) with
14266 $(+prectorT)/$(+postctorT).
14267 (+prectorT): New macro.
14268 (+postctorT): Likewise.
14269
ed8c2ecd
JM
142702012-09-06 Joseph Myers <joseph@codesourcery.com>
14271
14272 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14273 (round_str): Handle values above the maximum for IBM long double
14274 as inexact.
14275 * stdlib/tst-strtod-round.c (tests): Regenerated.
14276
14c996c8
AK
142772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14278
14279 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14280 assembler flag.
14281 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14282 zarch_nohighgprs around the zarch optimized routines.
14283 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14284 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14285 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14286 for zarch.
14287
430d6ce6
DM
142882012-09-05 David S. Miller <davem@davemloft.net>
14289
14290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14291
ff04dda4
DM
14292 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14293 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14294 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14295 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14296 entries.
14297
24d4e01b
AO
142982012-09-05 Alexandre Oliva <aoliva@redhat.com>
14299
14300 * malloc/arena.c: Fold copyright years.
14301 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14302
61d58174
AO
143032012-09-05 Alexandre Oliva <aoliva@redhat.com>
14304
14305 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14306
20196a5e
AO
143072012-09-05 Alexandre Oliva <aoliva@redhat.com>
14308
14309 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14310
5c447383
AO
143112012-09-05 Alexandre Oliva <aoliva@redhat.com>
14312
14313 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14314 change internal state upon failure.
14315
fad64255
AO
143162012-09-05 Alexandre Oliva <aoliva@redhat.com>
14317
14318 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14319 * malloc/memusage.c (mmap): Likewise.
14320 (mmap64, mremap): Likewise. Adjust name in comment.
14321
1ffb8c90
SP
143222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
14324 * libio/fileops.c: Fix typos in comments.
14325 * libio/oldfileops.c: Likewise.
14326 * libio/wfileops.c: Likewise.
14327
6ef9cc37
SP
143282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14329
14330 [BZ #1349]
14331 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14332 (tst-malloc-usable-ENV): Set environment for test case.
14333 * malloc/hooks.c (malloc_check_get_size): New function to get
14334 requested size.
14335 * malloc/malloc.c (musable): Use malloc_check_get_size.
14336 * malloc/tst-malloc-usable.c: New test case.
14337
4d038ae3
AS
143382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14339
14340 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14341
c4e85184
AM
143422012-09-05 Allan McRae <allan@archlinux.org>
14343
b9dafc56 14344 [BZ #13966]
c4e85184
AM
14345 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14346 determine header location.
14347 * configure: Regenerated.
14348
e1343020
AS
143492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14350
14351 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14352 float format.
14353 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14354 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14355 format.
e1343020
AS
14356 (test): Regenerate.
14357
0a9f1987
DM
143582012-09-04 David S. Miller <davem@davemloft.net>
14359
14360 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14361 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14362 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14363
29237804
FW
143642012-09-04 Florian Weimer <fweimer@redhat.com>
14365
14366 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14367 failures.
14368
edb3cb88
FW
14369 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14370
60160d83
JM
143712012-09-04 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #9914]
14374 * libio/iogetdelim.c: Include <limits.h>.
14375 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14376 + len + 1 would overflow.
14377
bcd6c8dc
AJ
143782012-09-03 Andreas Jaeger <aj@suse.de>
14379
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14381 * sysdeps/i386/fpu/libm-test-ulps: Update.
14382
4ffffbd2
LD
143832012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14384
14385 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14386 Add s_sinf-sse2, s_conf-sse2.
14387
14388 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14389 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14390 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14391 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14392
14393 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14394 for using routine as __sinf_ia32.
14395 Use macro for function declaration and weak_alias.
14396 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14397 for using routine as __cosf_ia32.
14398 Use macro for function declaration and weak_alias.
14399
14400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14401 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14402
14403 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14404 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14406
14407 * math/libm-test.inc (cos_test): Add more test cases.
14408 (sin_test): Likewise.
14409 (sincos_test): Likewise.
14410
511fa286
AK
144112012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14412
14413 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14414 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14415 hidden.
14416 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14417
5f30cfec
L
144182012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 [BZ #14538]
14421 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14422 first element of the GOT.
14423 (elf_machine_load_address): Return the difference between
14424 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14425
0786794f
AM
144262012-09-01 Allan McRae <allan@archlinux.org>
14427
5f30cfec
L
14428 [BZ #13412]
14429 * configure.in (AWK): Require gawk version 3.0 or later.
14430 * configure: Regenerated.
0786794f 14431
26889eac
JM
144322012-09-01 Joseph Myers <joseph@codesourcery.com>
14433
14434 * sysdeps/unix/sysv/linux/kernel-features.h
14435 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14437 [__NR_clock_getres]: Make code unconditional.
14438 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14439 (clock_getcpuclockid): Remove code left unreachable by removal of
14440 conditionals.
14441 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14442 code unconditional.
14443 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14444 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14445 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14446 Make code unconditional.
14447 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14449 * sysdeps/unix/sysv/linux/clock_settime.c
14450 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14451 conditional code.
14452 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14453 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14454
d22e28b0
L
144552012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 [BZ #14476]
14458 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14459 scripts/test-installation.pl.
14460
14461 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14462 and $ld_so_version if it is set.
14463
050af9c4
SP
144642012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14465
14466 [BZ #14516]
14467 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14468 failure if reading from procfs failed.
14469 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14470
ad845c0b
JM
144712012-08-27 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/unix/sysv/linux/kernel-features.h
14474 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14475 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14476 Remove conditional code.
14477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14479 Remove conditional code.
14480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14481 * sysdeps/unix/sysv/linux/i386/fxstat.c
14482 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14485 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14487 * sysdeps/unix/sysv/linux/i386/lxstat.c
14488 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14490 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14491 Remove conditional code.
14492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14493 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14494 Remove conditional code.
14495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14496 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14497 <kernel-features.h>.
14498 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14499 Remove.
14500 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14501 Remove conditional code.
14502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14503 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14504 Remove conditional.
14505
5dbf56af
MF
145062012-08-27 Mike Frysinger <vapier@gentoo.org>
14507
14508 [BZ #5400]
14509 * NEWS: Add fixed bug number.
14510
d6e70f43
JM
145112012-08-27 Joseph Myers <joseph@codesourcery.com>
14512
7efb4737
JM
14513 [BZ #14519]
14514 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14515 underflowing exponent in case of negative sign.
14516 * stdlib/tst-strtod-round-data: Add more tests.
14517 * stdlib/tst-strtod-round.c (tests): Regenerated.
14518
af92131a
JM
14519 [BZ #3479]
14520 * stdlib/strtod_l.c (NDIG): Remove.
14521 (HEXNDIG): Likewise.
14522 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14523 smallest representable value.
14524 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14525 lie within an exact representation of 1/2 ulp of the result.
14526 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14527 unconditionally.
14528 (TENS_P9_IDX): Define unconditionally.
14529 (TENS_P9_SIZE): Likewise.
14530 (TENS_P10_IDX): Likewise.
14531 (TENS_P10_SIZE): Likewise.
14532 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14533 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14534 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14535 entries for 10^2^13 and 10^2^14.
14536 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14537 (TENS_P13_IDX): Define.
14538 (TENS_P13_SIZE): Likewise.
14539 (TENS_P14_IDX): Likewise.
14540 (TENS_P14_SIZE): Likewise.
14541 (_fpioconst_pow10): Change array size to
14542 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14543 unconditional.
14544 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14545 1024]: Add entries for 10^2^13 and 10^2^14.
14546 [LAST_POW10 > _LAST_POW10]: Remove #error.
14547 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14548 (_fpioconst_pow10): Change array size to
14549 FPIOCONST_POW10_ARRAY_SIZE.
14550 * stdlib/gen-fpioconst.c: New file.
14551 * stdlib/gen-tst-strtod-round.c: Likewise.
14552 * stdlib/tst-strtod-round-data: Likewise.
14553 * stdlib/tst-strtod-round.c: Likewise.
14554 * stdlib/Makefile (tests): Add tst-strtod-round.
14555
d6e70f43
JM
14556 [BZ #14459]
14557 * stdlib/strtod_l.c: Include <stdint.h>.
14558 (NDEBUG): Do not define.
14559 (round_and_return): Change EXPONENT parameter to type intmax_t.
14560 Rearrange calculations to avoid internal overflow possibilities.
14561 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14562 Rearrange calculations to avoid internal overflow possibilities.
14563 Assert that number fits inside MPNSIZE limbs.
14564 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14565 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14566 calculations and add assertions to avoid internal overflow
14567 possibilities. Add casts to avoid signed/unsigned operations.
14568 * stdlib/tst-strtod-overflow.c: New file.
14569 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14570
1f529f7d
MP
145712012-08-25 Marek Polacek <polacek@redhat.com>
14572
14573 * time/time.h: Fix some typos in comments.
14574
59a629f1
RM
145752012-08-23 Roland McGrath <roland@hack.frob.com>
14576
14577 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14578 * posix/tst-rfc3484-2.c: Likewise.
14579 * posix/tst-rfc3484-3.c: Likewise.
14580
d3bafbc9
SM
145812012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14582
14583 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14584 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14585
4efcc022
JM
145862012-08-23 Joseph Myers <joseph@codesourcery.com>
14587
14588 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14589 #include of fxstatat64.c.
14590
3cc3ef96
RM
145912012-08-22 Roland McGrath <roland@hack.frob.com>
14592
f04e2132
RM
14593 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14594 * shadow/getspent_r.c: Likewise.
14595 * shadow/getspnam.c: Likewise.
14596 * shadow/getspnam_r.c: Likewise.
14597 * gshadow/getsgent.c: Likewise.
14598 * gshadow/getsgent_r.c: Likewise.
14599 * gshadow/getsgnam.c: Likewise.
14600 * gshadow/getsgnam_r.c: Likewise.
14601 * inet/getnetbyad.c: Likewise.
14602 * inet/getnetbyad_r.c: Likewise.
14603 * inet/getnetbynm.c: Likewise.
14604 * inet/getnetbynm_r.c: Likewise.
14605 * inet/getnetent.c: Likewise.
14606 * inet/getnetent_r.c: Likewise.
14607 * inet/getproto.c: Likewise.
14608 * inet/getproto_r.c: Likewise.
14609 * inet/getprtent.c: Likewise.
14610 * inet/getprtent_r.c: Likewise.
14611 * inet/getprtname.c: Likewise.
14612 * inet/getprtname_r.c: Likewise.
14613 * inet/getrpcbyname.c: Likewise.
14614 * inet/getrpcbyname_r.c: Likewise.
14615 * inet/getrpcbynumber.c: Likewise.
14616 * inet/getrpcbynumber_r.c: Likewise.
14617 * inet/getrpcent.c: Likewise.
14618 * inet/getrpcent_r.c: Likewise.
14619 * inet/getaliasent.c: Likewise.
14620 * inet/getaliasent_r.c: Likewise.
14621 * inet/getaliasname.c: Likewise.
14622 * inet/getaliasname_r.c: Likewise.
14623 * nscd/getgrgid_r.c: Likewise.
14624 * nscd/getgrnam_r.c: Likewise.
14625 * nscd/gethstbyad_r.c: Likewise.
14626 * nscd/gethstbynm3_r.c: Likewise.
14627 * nscd/getpwnam_r.c: Likewise.
14628 * nscd/getpwuid_r.c: Likewise.
14629 * nscd/getsrvbynm_r.c: Likewise.
14630 * nscd/getsrvbypt_r.c: Likewise.
14631 * nscd/gai.c: Likewise.
14632
c53d909c
RM
14633 * configure.in (build_nscd): New substituted variable, set
14634 by --disable-build-nscd and defaults to $use_nscd.
14635 * configure: Regenerated.
14636 * config.make.in (build-nscd): New substituted variable.
14637 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14638 Change conditional to require [$(build-nscd) = yes] as well.
14639 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14640
3cc3ef96
RM
14641 [BZ# 13696]
14642 * configure.in (use_nscd): New substituted variable, set by
14643 --disable-nscd. If enabled, define USE_NSCD.
14644 * configure: Regenerated.
14645 * config.h.in: Add USE_NSCD.
14646 * config.make.in (use-nscd): New substituted variable.
14647 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14648 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14649 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14650 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14651 (CFLAGS-getgrnam_r.c): Likewise.
14652 (CFLAGS-initgroups.c): Likewise.
14653 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14654 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14655 Variables removed.
14656 * inet/getnetgrent_r.c
14657 (nscd_setnetgrent): New function, broken out of ...
14658 (setnetgrent): ... here. Call it.
14659 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14660 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14661 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14662 * nscd/Makefile (routines, aux): Move definitions after include of
14663 Makeconfig. Conditionalize on [$(use-nscd) != no].
14664 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14665 Conditionalize on [USE_NSCD].
14666 (is_nscd, nscd_init_cb): Likewise.
14667 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14668 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14669 * nss/nss_db/db-init.c: Likewise.
14670 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14671 [USE_NSCD].
14672 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14673 (make_request): Use it.
14674 (cache_valid_p): New function.
14675 (__check_pf): Use it.
14676 * NEWS: Add item for --disable-nscd.
14677
07e51550
DL
146782012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14679
14680 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14681 to support sed >= 4.2.1-20-ga9bf076.
14682 * configure: Regenerated.
14683
35a5b08b
RM
146842012-08-22 Roland McGrath <roland@hack.frob.com>
14685
14686 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14687 Conditionalize whole body on [IREL].
14688
8479f23a
JL
146892012-08-22 Jeff Law <law@redhat.com>
14690
14691 [BZ #14505]
14692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14693 if the family is PF_UNSPEC.
14694
48da0b21
MF
146952012-08-22 Mike Frysinger <vapier@gentoo.org>
14696
14697 * Makerules (lib-version): Rename from V.
14698 (install-lib-nosubdir): Change V to lib-version.
14699
15d0da8c
WS
147002012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14701
14702 [BZ #14252]
14703 * powerpc32/power6/wcschr.c: New file.
14704 * powerpc32/power6/wcscpy.c: New file.
14705 * powerpc32/power6/wcsrchr.c: New file.
14706 * powerpc64/power6/wcschr.c: New file.
14707 * powerpc64/power6/wcscpy.c: New file.
14708 * powerpc64/power6/wcsrchr.c: New file.
14709
bcca0895
MK
147102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14711
14712 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14713 (two_way_short_needle): Use it.
5a4aaa33
RM
14714 * string/strstr.c (AVAILABLE1_USES_J): Define.
14715 * string/strcasestr.c: Likewise.
99677e57
MK
14716
14717 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14718 array references.
14719 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14720
400726de
MK
14721 [BZ #11607]
14722 * NEWS: Add an entry.
14723 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14724 define their defaults.
14725 (two_way_short_needle): Detect end-of-string on-the-fly.
14726 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14727 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14728 * string/bug-strcasestr1.c: New test.
14729 * string/Makefile: Run it.
14730
20a71f2c
MK
147312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14732
14733 [BZ #11607]
14734 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14735 the first character.
14736
21ad0558
RM
147372012-08-21 Roland McGrath <roland@hack.frob.com>
14738
14739 * csu/elf-init.c (__libc_csu_irel): Function removed.
14740 * csu/libc-start.c (apply_irel): New function.
14741 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14742
0e1d9911
JM
147432012-08-21 Joseph Myers <joseph@codesourcery.com>
14744
14745 * sysdeps/unix/sysv/linux/kernel-features.h
14746 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14747 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14748 <kernel-features.h>.
14749 [__NR_fadvise64_64]: Make code unconditional.
14750 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14751 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14752 !__NR_fadvise64_64)]: Likewise.
14753 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14754 !__NR_fadvise64_64))]: Likewise.
14755 [__NR_fadvise64]: Make code unconditional.
14756 [!__NR_fadvise64]: Remove conditional code.
14757 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14758 <kernel-features.h>.
14759 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14760 unconditional.
14761 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14762 conditional code.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14764 not include <kernel-features.h>.
14765 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14766 unconditional.
14767 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14768 conditional code.
14769 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14770 include <kernel-features.h>.
14771 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14772 unconditional.
14773 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14774 conditional code.
14775
14a50c9d
WS
147762012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14777
14778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14779 slight instruction rearrangements per scrollpipe analysis.
14780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14781
c0f4faf0
RM
147822012-08-20 Roland McGrath <roland@hack.frob.com>
14783
696da859
RM
14784 * manual/syslog.texi (syslog; vsyslog, closelog):
14785 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14786 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14787
c0f4faf0
RM
14788 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14789 DSOCAPS to match condition on defining it.
14790
348363b2
JM
147912012-08-20 Joseph Myers <joseph@codesourcery.com>
14792
a35cbf28
JM
14793 * sysdeps/unix/sysv/linux/kernel-features.h
14794 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14796 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14797 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14799 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14800 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14802 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14803 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14804
445f7ecd
JM
14805 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14806 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14807
348363b2
JM
14808 * sysdeps/unix/sysv/linux/kernel-features.h
14809 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14810 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14811 unconditional.
14812 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14813 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14814 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14815 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14816 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14817 Make code unconditional.
14818 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14819 (__mmap64) [!__NR_mmap2]: Likewise.
14820 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14821 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14822 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14823 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14824 [__NR_mmap2]: Make code unconditional.
14825 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14826 (__mmap64) [!__NR_mmap2]: Likewise.
14827
bc5bc0e5
AK
148282012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14829
14830 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14831
88d506de
AJ
148322012-08-18 Andreas Jaeger <aj@suse.de>
14833
14834 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14835
493387d2
MF
148362012-08-18 Mike Frysinger <vapier@gentoo.org>
14837
14838 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14839 * include/unistd.h (__have_sock_cloexec): Likewise.
14840 (__have_pipe2): Likewise.
14841 (__have_dup3): Likewise.
14842
a277af22
MF
148432012-08-18 Mike Frysinger <vapier@gentoo.org>
14844
14845 [BZ #9685]
14846 * include/unistd.h (__have_pipe2): Change define into an extern int.
14847 (__have_dup3): Likewise.
14848 * socket/have_sock_cloexec.c: Include fcntl.h.
14849 (__have_pipe2): New variable.
14850 (__have_dup3): Likewise.
14851
fdab8fd3
MF
148522012-08-17 Mike Frysinger <vapier@gentoo.org>
14853
14854 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14855
31035e80
MP
148562012-08-17 Marek Polacek <polacek@redhat.com>
14857
14858 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14859 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14860
3bd9e993
RM
148612012-08-17 Roland McGrath <roland@hack.frob.com>
14862
c91c505f
RM
14863 * configure.in: Add AC_SUBST for sysheaders.
14864 * configure: Regenerated.
14865 * config.make.in (sysheaders): New substituted variable.
14866
7c6f9d53
RM
14867 * sysdeps/unix/mkfifo.c: Moved ...
14868 * sysdeps/posix/mkfifo.c: ... here.
14869 * sysdeps/unix/mkfifoat.c: Moved ...
14870 * sysdeps/posix/mkfifoat.c: ... here.
14871
14872 * sysdeps/unix/utime.c: Moved ...
14873 * sysdeps/posix/utime.c: ... here.
14874
14875 * sysdeps/unix/time.c: Moved ...
14876 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14877 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14878 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14879
14880 * sysdeps/unix/nice.c: Moved ...
14881 * sysdeps/posix/nice.c: ... here.
14882
14883 * sysdeps/unix/alarm.c: Moved ...
14884 * sysdeps/posix/alarm.c: ... here.
14885
3bd9e993
RM
14886 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14887
d1f09384
JL
148882012-08-17 Jeff Law <law@redhat.com>
14889
14890 * intl/Makefile (codeset_mo): New variable.
14891 ($(codeset_mo)): New target.
14892 (tst-codeset.out): Depend on that. Remove explicit rule.
14893 (tst-gettext3.out, tst-gettext5.out): Likewise.
14894 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14895 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14896 * intl/tst-codeset.sh: Remove.
14897 * intl/tst-gettext3.sh: Likewise.
14898 * intl/tst-gettext5.sh: Likewise.
14899
2ae1ae5c
RM
149002012-08-17 Roland McGrath <roland@hack.frob.com>
14901
c31fdb83
RM
14902 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14903 * sysdeps/unix/syscalls.list: ... here.
14904
a0844057
RM
14905 * sysdeps/posix/getaddrinfo.c
14906 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14907 (gaiconf_init, gaiconf_reload): Use them.
14908 [!_STATBUF_ST_NSEC]
14909 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14910 Define using time_t rather than struct timespec.
14911
750c1f2a
RM
14912 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14913 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14914 Macros removed.
14915 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14916 [!NO_THREADS].
14917 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14918 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14919 Likewise.
14920
2ae1ae5c
RM
14921 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14922 __libc_cleanup_push argument.
14923
e66a42f5
RM
14924 * bits/param.h: New file.
14925 * misc/sys/param.h: New file.
14926 * include/sys/param.h: New file.
14927 * misc/Makefile (headers): Add bits/param.h.
14928 * sysdeps/generic/sys/param.h: File removed.
14929 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14930 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14931 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14932 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14933
b7c08a66
RM
14934 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14935 last change.
14936
b2e1c562
RM
14937 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14938 [_IO_MTSAFE_IO].
14939 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14940 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14941 New macros.
14942
c75ccd4c
RM
14943 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14944 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14945 rather than -D_IO_MTSAFE_IO conditionally.
14946 * stdio-common/Makefile (CPPFLAGS): Likewise.
14947 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14948 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14949 Use $(libio-mtsafe).
14950 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14951 of -D_IO_MTSAFE_IO.
14952 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14953 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14954 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14955 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14956 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14957 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14958 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14959 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14960 (CFLAGS-fread_u_chk.c): Likewise.
14961 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14962 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14963 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14964 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14965 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14966 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14967 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14968 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14969 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14970
14971 * libio/Makefile: Test [$(libc-reentrant) = yes]
14972 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14973
14974 * Makeconfig
14975 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14976 * sysdeps/pthread/configure: File removed.
14977 * sysdeps/pthread/Makeconfig: New file.
14978 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14979 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14980
d9195db8
GB
149812012-08-16 Gary Benson <gbenson@redhat.com>
14982
14983 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14984 unmapping the first object in a namespace.
14985
86466cd9
RM
149862012-08-16 Roland McGrath <roland@hack.frob.com>
14987
14988 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14989 (__internal_setnetgrent): ... this. Add internal_function to
14990 definition. Add libc_hidden_def.
14991 (setnetgrent): Update caller.
14992 (internal_endnetgrent): Renamed to ...
14993 (__internal_endnetgrent): ... this. Add internal_function to
14994 definition. Add libc_hidden_def.
14995 (endnetgrent): Update caller.
14996 (internal_getnetgrent_r): Renamed to ...
14997 (__internal_getnetgrent_r): ... this. Add internal_function to
14998 definition. Add libc_hidden_def.
14999 (__getnetgrent_r): Update caller.
15000 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15001
c3c8283c
JM
150022012-08-16 Joseph Myers <joseph@codesourcery.com>
15003
15004 * stdlib/longlong.h: Update from GCC.
15005
db1ee0a8
RM
150062012-08-16 Roland McGrath <roland@hack.frob.com>
15007
15008 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15009 on _QL, which is set by umul_ppmm but never used.
15010 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15011 variables, which are set by GMP macros but never used.
15012 * stdio-common/_itowa.c (_itowa): Likewise.
15013 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15014 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15015
30f69637
CD
150162012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15017
15018 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15019 struct La_sh_regs is not constant.
15020 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15021 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15022 and struct La_sparc64_regs are not constant.
15023
93a78ac4
JM
150242012-08-16 Joseph Myers <joseph@codesourcery.com>
15025
15026 * sysdeps/unix/sysv/linux/kernel-features.h
15027 (__ASSUME_POSIX_TIMERS): Remove.
15028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15031 Make code unconditional.
15032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15033 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15034 Make code unconditional.
15035 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15036 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15037 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15038 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15039 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15040 Make code unconditional.
15041 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15042 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15043 (__libc_missing_posix_timers): Remove.
15044
dd924cd7
RM
150452012-08-15 Roland McGrath <roland@hack.frob.com>
15046
4b4f2771
RM
15047 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15048 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15049
601c888b
RM
15050 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15051
176790a7
RM
15052 * elf/dl-sym.c: Include <stdlib.h>.
15053
329bc018
RM
15054 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15055 constants, which avoids warnings in 32-bit builds.
15056
e04e272d
RM
15057 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15058 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15059
952bf94a
RM
15060 * misc/lseek.c: File moved to ...
15061 * io/lseek.c: ... here.
15062
7c99b50a
RM
15063 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15064
dd924cd7
RM
15065 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15066 shifting LEN more than 31 bits at once.
15067
b3f479a8
LD
150682012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15069
15070 [BZ #14195]
8c4ae0d4
RM
15071 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15072 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15073 * string/test-strncasecmp.c (check1): Renamed to...
15074 (bz12205): ...this.
15075 (bz14195): Add new testcase for two empty input strings and N > 0.
15076 (test_main): Call new testcase, adapt for renamed function.
15077
9c55864e
AJ
150782012-08-15 Andreas Jaeger <aj@suse.de>
15079
15080 [BZ #14090]
15081 * crypt/md5test2.c: New test, based on test supplied by Serge
15082 Belyshev <belyshev@depni.sinp.msu.ru>.
15083 * crypt/Makefile (xtests): Add md5test-giant..
15084 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15085
02dcb6c5
PE
150862012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15087
15088 [BZ #14090]
15089 * crypt/md5.c (md5_process_block): Don't assume the buffer
15090 length is less than 2**32.
15091 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15092 length is less than 2**64.
15093
a3f95dcc
RM
150942012-08-15 Roland McGrath <roland@hack.frob.com>
15095
be75d758
RM
15096 * string/str-two-way.h: Include <sys/param.h>.
15097 (MAX): Macro removed.
15098
7312ca90
RM
15099 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15100 Move #define and #undef of memmove to just before and after
15101 including <string.h>.
15102
9a0a5486
RM
15103 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15104 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15105 and after including <string.h>. Move declarations of
15106 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15107 to before #include "string/memmove.c".
15108
67cc348d
RM
15109 * include/dirent.h: Declare __getdirentries.
15110
a3f95dcc
RM
15111 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15112 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15113
ca98e171
MF
151142012-08-14 Mike Frysinger <vapier@gentoo.org>
15115
15116 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15117 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15118 * sysdeps/i386/configure: Regenerated.
15119 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15120 STABS_CURRENT_FILE, and STABS_FUN.
15121 (END): Remove call to STABS_FUN_END.
15122 (STABS_CURRENT_FILE1): Delete.
15123 (STABS_CURRENT_FILE): Likewise.
15124 (STABS_FUN): Likewise.
15125 (STABS_FUN_END): Likewise.
15126 (STABS_FUN2): Likewise.
15127 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15128 * sysdeps/x86_64/configure: Regenerated.
15129
5908bf46
RM
151302012-08-14 Roland McGrath <roland@hack.frob.com>
15131
15132 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15133 * elf/dl-lookup.c: Likewise.
5908bf46 15134
f2c05b9e
JM
151352012-08-14 Joseph Myers <joseph@codesourcery.com>
15136
15137 * sysdeps/unix/sysv/linux/kernel-features.h
15138 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15139 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15140 unconditionally.
15141 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15142 unconditionally.
15143 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15144 condition on __ASSUME_CLONE_THREAD_FLAGS.
15145
e11f5155
AJ
151462012-08-14 Andreas Jaeger <aj@suse.de>
15147
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149
51a9ba86
MK
151502012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15151
2fdd4f78
AJ
15152 * include/atomic.h (atomic_exchange_and_add): Split into ...
15153 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15154 New atomic macros.
51a9ba86 15155
ba6cba9e
MT
151562012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15157
15158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15159
42443a47
JL
151602012-08-13 Jeff Law <law@redhat.com>
15161
15162 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15163 null byte in the output string.
15164
121dce05
JM
151652012-08-10 Joseph Myers <joseph@codesourcery.com>
15166
15167 * sysdeps/unix/sysv/linux/kernel-features.h
15168 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15169 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15170 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15171 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15172 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15173 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15174 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15175
bf51f568
JL
151762012-08-09 Jeff Law <law@redhat.com>
15177
15178 [BZ #13939]
15179 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15180 When avoid_arena is set, don't retry in the that arena. Pick the
15181 next one, whatever it might be.
15182 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15183 (arena_lock): Pass in new parameter to arena_get2.
15184 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15185 arena_get2.
15186 (__libc_malloc): Unify retrying after main arena failure with
15187 __libc_memalign version.
15188 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15189
f85fa270
L
151902012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15191
15192 [BZ #14166]
15193 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15194 to __redirect_strstr.
15195 (__strstr_sse42): Use typeof __redirect_strstr.
15196 (__strstr_ia32): Likewise.
15197 (__libc_strstr): New prototype.
15198 (strstr): Renamed to ...
15199 (__libc_strstr): This.
15200 (strstr): New strong alias of __libc_strstr.
15201 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15203 __redirect_time.
15204 Include <time.h>.
15205 (__libc_time): New prototype.
15206 (time_ifunc): Replace time with __libc_time.
15207 (time): New strong alias and hidden definition of __libc_time.
15208 (__GI_time): Remove strong alias.
15209 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15210 Include <stddef.h>.
15211 (memmove): Redefined to __redirect_memmove.
15212 (__memmove_sse2): Use typeof __redirect_memmove.
15213 (__memmove_ssse3): Likewise.
15214 (__memmove_ssse3_back): Likewise.
15215 (__libc_memmove): New prototype.
15216 (memmove): Renamed to ...
15217 (__libc_memmove): This.
15218 (memmove): New strong alias of __libc_memmove.
15219
33b4a91e
MS
152202012-08-08 Mark Salter <msalter@redhat.com>
15221
15222 * elf/elf.h
15223 (R_MN10300_TLS_GD): Define.
15224 (R_MN10300_TLS_LD): Likewise.
15225 (R_MN10300_TLS_LDO): Likewise.
15226 (R_MN10300_TLS_GOTIE): Likewise.
15227 (R_MN10300_TLS_IE): Likewise.
15228 (R_MN10300_TLS_LE): Likewise.
15229 (R_MN10300_TLS_DTPMOD): Likewise.
15230 (R_MN10300_TLS_DTPOFF): Likewise.
15231 (R_MN10300_TLS_TPOFF): Likewise.
15232 (R_MN10300_SYM_DIFF): Likewise.
15233 (R_MN10300_ALIGN): Likewise.
15234 (R_MN10300_NUM): Update.
15235
b36137f1
JM
152362012-08-08 Joseph Myers <joseph@codesourcery.com>
15237
15238 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15239 Remove.
15240
cdd915fd
RM
152412012-08-08 Roland McGrath <roland@hack.frob.com>
15242
a2433aac
RM
15243 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15244
cdd915fd
RM
15245 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15246 sysdeps/unix -> sysdeps/posix move.
15247 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15248
bf9b740a
AM
152492012-08-07 Allan McRae <allan@archlinux.org>
15250
15251 [BZ #14303]
15252 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15253 (SUNOS_CPP): Likewise.
15254 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15255 not found.
15256 (open_input): Call CPP using execvp.
15257
93df14ee
JM
152582012-08-07 Joseph Myers <joseph@codesourcery.com>
15259
15260 * sysdeps/unix/sysv/linux/kernel-features.h
15261 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15262 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15263 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15264 (__ASSUME_WAITID_SYSCALL): Likewise.
15265 * sysdeps/unix/sysv/linux/dl-execstack.c
15266 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15267 code unconditional.
15268 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15269 conditional code.
15270 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15271 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15272 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15273 code.
15274 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15275 unconditional.
15276 [__ASSUME_WAITID_SYSCALL]: Likewise.
15277 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15278
d34689de
RM
152792012-08-07 Roland McGrath <roland@hack.frob.com>
15280
a281decc
RM
15281 * sysdeps/unix/closedir.c: Renamed to ...
15282 * sysdeps/posix/closedir.c: ... here.
15283 * sysdeps/unix/dirfd.c: Renamed to ...
15284 * sysdeps/posix/dirfd.c: ... here.
15285 * sysdeps/unix/dirstream.h: Renamed to ...
15286 * sysdeps/posix/dirstream.h: ... here.
15287 * sysdeps/unix/fdopendir.c: Renamed to ...
15288 * sysdeps/posix/fdopendir.c: ... here.
15289 * sysdeps/unix/opendir.c: Renamed to ...
15290 * sysdeps/posix/opendir.c: ... here.
15291 * sysdeps/unix/readdir.c: Renamed to ...
15292 * sysdeps/posix/readdir.c: ... here.
15293 * sysdeps/unix/readdir_r.c: Renamed to ...
15294 * sysdeps/posix/readdir_r.c: ... here.
15295 * sysdeps/unix/rewinddir.c: Renamed to ...
15296 * sysdeps/posix/rewinddir.c: ... here.
15297 * sysdeps/unix/seekdir.c: Renamed to ...
15298 * sysdeps/posix/seekdir.c: ... here.
15299 * sysdeps/unix/telldir.c: Renamed to ...
15300 * sysdeps/posix/telldir.c: ... here.
15301 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15302 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15303 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15304 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15305
22895b47
RM
15306 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15307 * bits/fcntl.h: ... here.
15308
707a53b6
RM
15309 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15310 not 0.
15311 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15312 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15313 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15314 (struct flock): Move l_start, l_len to the beginning.
15315 Use __pid_t for l_pid.
15316 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15317 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15318 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15319 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15320 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15321 [__USE_LARGEFILE64] (struct flock64): New type.
15322 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15323
f0bd3e25
RM
15324 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15325 * bits/dirent.h: ... here.
15326
d34689de
RM
15327 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15328 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15329
6dad2c06
JM
153302012-08-07 Joseph Myers <joseph@codesourcery.com>
15331
15332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15333 Change from 2.6.0 to 2.6.16.
15334 * sysdeps/unix/sysv/linux/configure: Regenerated.
15335 * sysdeps/unix/sysv/linux/kernel-features.h
15336 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15337 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15338 version.
15339 (__ASSUME_UTIMES): Likewise.
15340 (__ASSUME_CLONE_STOPPED): Remove.
15341 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15342 architectures, not kernel version.
15343 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15344 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15345 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15346 (__ASSUME_WAITID_SYSCALL): Likewise.
15347 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15348 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15349 * README: State 2.6.16 as minimum Linux kernel version. Do not
15350 refer to older versions.
15351
03af9520
RM
153522012-08-06 Roland McGrath <roland@hack.frob.com>
15353
8e49df1d
RM
15354 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15355 Define alphasort64 as an alias.
15356 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15357 Define versionsort64 as an alias.
15358 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15359 Define scandir64 as an alias.
15360 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15361 Define scandirat64 as an alias.
15362 * dirent/alphasort64.c (alphasort64):
15363 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15364 * dirent/versionsort64.c: Likewise.
15365 * dirent/scandir64.c: Likewise.
15366 * dirent/scandirat64.c: Likewise.
15367 * sysdeps/wordsize-64/alphasort.c: File removed.
15368 * sysdeps/wordsize-64/alphasort64.c: File removed.
15369 * sysdeps/wordsize-64/scandir.c: File removed.
15370 * sysdeps/wordsize-64/scandir64.c: File removed.
15371 * sysdeps/wordsize-64/scandirat.c: File removed.
15372 * sysdeps/wordsize-64/scandirat64.c: File removed.
15373 * sysdeps/wordsize-64/versionsort.c: File removed.
15374 * sysdeps/wordsize-64/versionsort64.c: File removed.
15375 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15376 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15382 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15383
15384 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15386 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15387 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15388 [defined __arch64__ || defined __sparcv9]
15389 (__INO_T_MATCHES_INO64_T): New macro.
15390 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15391 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15392 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15393 * sysdeps/unix/sysv/linux/bits/dirent.h
15394 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15395 (_DIRENT_MATCHES_DIRENT64): New macro.
15396
03af9520
RM
15397 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15398 Define lockf64 as an alias.
15399 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15400 Define fseeko64 as an alias.
15401 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15402 Define ftello64 as an alias.
15403 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15404 Define _IO_fgetpos64 and fgetpos64 as aliases.
15405 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15406 Define _IO_fsetpos64 and fsetpos64 as aliases.
15407 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15408 Conditionalize body on this.
15409 * libio/fseeko64.c: Likewise.
15410 * libio/ftello64.c: Likewise.
15411 * libio/iofgetpos64.c: Likewise.
15412 * libio/iofsetpos64.c: Likewise.
15413 * sysdeps/wordsize-64/lockf.c: File removed.
15414 * sysdeps/wordsize-64/lockf64.c: File removed.
15415 * sysdeps/wordsize-64/fseeko.c: File removed.
15416 * sysdeps/wordsize-64/fseeko64.c: File removed.
15417 * sysdeps/wordsize-64/ftello.c: File removed.
15418 * sysdeps/wordsize-64/ftello64.c: File removed.
15419 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15420 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15421 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15422 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15424 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15426 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15428 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15430 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15433
15434 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15436 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15438 [defined __arch64__ || defined __sparcv9]
15439 (__OFF_T_MATCHES_OFF64_T): New macro.
15440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15441 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15443 (__OFF_T_MATCHES_OFF64_T): New macro.
15444
c5757acd
L
154452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 * stdlib/secure-getenv.c (__secure_getenv): Replace
15448 GLIBC_2_16 with GLIBC_2_17.
15449
3a31811e
L
154502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15454
faa2bccb
DM
154552012-08-03 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15458
85fe1997
JM
154592012-08-03 Joseph Myers <joseph@codesourcery.com>
15460
15461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15462 Remove.
15463 (__ASSUME_CORRECT_SI_PID): Likewise.
15464 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15465 (__ASSUME_TMPFS_NAME): Likewise.
15466 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15467 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15468 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15469 (HAVE_AUX_SECURE): Make definition unconditional.
15470 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15471 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15472
4f75b7a0
RM
154732012-08-03 Roland McGrath <roland@hack.frob.com>
15474
15475 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15476 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15477 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15478 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15479 __eloop_threshold instead of SYMLOOP_MAX.
15480
15481 * sysdeps/generic/eloop-threshold.h: New file.
15482 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15483 of MAXSYMLINKS.
15484 * elf/chroot_canon.c (chroot_canon): Likewise.
15485
7aab07e4
JM
154862012-08-03 Joseph Myers <joseph@codesourcery.com>
15487
15488 [BZ #13717]
15489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15490 Change to 2.6.0 everywhere.
15491 * sysdeps/unix/sysv/linux/configure: Regenerated.
15492 * sysdeps/unix/sysv/linux/kernel-features.h
15493 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15494 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15495 kernel versions.
15496 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15497 (__ASSUME_FUTEX_REQUEUE): Remove.
15498 (__ASSUME_STATFS64): Define unconditionally.
15499 (__ASSUME_AT_SECURE): Likewise.
15500 (__ASSUME_CORRECT_SI_PID): Likewise.
15501 (__ASSUME_TGKILL): Define without depending on kernel version for
15502 i386.
15503 (__ASSUME_UTIMES): Likewise.
15504 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15505 kernel version.
15506 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15507 (__ASSUME_TMPFS_NAME): Likewise.
15508 * README: Update reference to Linux kernel versions.
15509
b67e9372
MP
155102012-08-02 Marek Polacek <polacek@redhat.com>
15511
1f529f7d 15512 [BZ# 14150]
b67e9372
MP
15513 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15514 libc_cv_asm_type_prefix with %.
15515 * configure: Regenerated.
d2441631
RM
15516 * include/libc-symbols.h: Remove comment about
15517 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15518 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15519 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15520 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15521 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15522 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15523 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15524 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15525 * elf/tst-unique2mod1.c: Likewise.
15526 * elf/tst-unique1mod2.c: Likewise.
15527 * elf/tst-unique1mod1.c: Likewise.
15528 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15529 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15530 Replace ASM_TYPE_DIRECTIVE with .type.
15531 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15532 * sysdeps/i386/sysdep.h: Likewise.
15533 * sysdeps/x86_64/sysdep.h: Likewise.
15534 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15536 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15537 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15538 * sysdeps/powerpc/powerpc32/sysdep.h:
15539 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15540 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15542 * sysdeps/i386/fpu/e_powf.S: Likewise.
15543 * sysdeps/i386/fpu/e_expl.S: Likewise.
15544 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15545 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15546 * sysdeps/i386/fpu/e_pow.S: Likewise.
15547 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15548 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15549 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15550 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15551 * sysdeps/i386/fpu/e_log2.S: Likewise.
15552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15554 * sysdeps/i386/fpu/e_powl.S: Likewise.
15555 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15556 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15557 * sysdeps/i386/fpu/e_logl.S: Likewise.
15558 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15559 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15560 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15561 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15562 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15563 * sysdeps/i386/fpu/e_log.S: Likewise.
15564 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15565 * sysdeps/i386/fpu/e_logf.S: Likewise.
15566 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15567 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15569 * sysdeps/i386/fpu/e_log10.S: Likewise.
15570 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15572 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15573 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15574 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15575 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15577 * sysdeps/i386/i686/strtok.S: Likewise.
15578 * sysdeps/i386/i386-mcount.S: Likewise.
15579 * sysdeps/i386/strtok.S: Likewise.
15580 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15581 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15582 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15583 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15584 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15585 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15586 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15587 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15588 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15589 * sysdeps/x86_64/_mcount.S: Likewise.
15590 * sysdeps/x86_64/strtok.S: Likewise.
15591 * sysdeps/sh/_mcount.S: Likewise.
15592
2747bf9a
RM
155932012-08-01 Roland McGrath <roland@hack.frob.com>
15594
15595 * libio/iofopen.c: Include <fcntl.h>.
15596 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15597 (_IO_fopen64, fopen64): Define as aliases.
15598 * libio/iofopen64.c: Include <fcntl.h>.
15599 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15600 Conditionalize body on this.
15601 * sysdeps/wordsize-64/iofopen.c: File removed.
15602 * sysdeps/wordsize-64/iofopen64.c: File removed.
15603
3fb791b8
MP
156042012-08-01 Marek Polacek <polacek@redhat.com>
15605
15606 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15607 Use dlfcn directly instead of a variable.
15608 (binfmt-subdir): Do not define.
15609 (dlfcn): Likewise.
15610
a9f1039f
JM
156112012-08-01 Joseph Myers <joseph@codesourcery.com>
15612
23bddc06
JM
15613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15614 Remove all definitions.
15615 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15616 <kernel-features.h>.
15617 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15618 (miss_F_GETOWN_EX): Remove all definitions.
15619 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15620 macro definition.
15621 [!__ASSUME_FCNTL64]: Remove conditional code.
15622 [__ASSUME_FCNTL64]: Make code unconditional.
15623 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15624 <kernel-features.h>.
15625 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15626 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15627 (lockf64) [__NR_fcntl64]: Make code unconditional.
15628 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15629
a9f1039f
JM
15630 * sysdeps/unix/sysv/linux/kernel-features.h
15631 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15632 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15633 Make code unconditional.
15634 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15635 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15637 [__NR_vfork]: Make code unconditional.
15638 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15639 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15641 [__NR_vfork]: Make code unconditional.
15642 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15643 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15644
09c0ee5f
RM
156452012-08-01 Roland McGrath <roland@hack.frob.com>
15646
48aec5b9
RM
15647 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15648 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15649
cd97c966
RM
15650 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15651 Define mkstemp64 as an alias.
3f55550c
RM
15652 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15653 Define mkstemps64 as an alias.
cd97c966
RM
15654 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15655 Define mkostemp64 as an alias.
b8625cfc
RM
15656 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15657 Define mkostemps64 as an alias.
cd97c966
RM
15658 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15659 Conditionalize body on this.
15660 * misc/mkostemp64.c: Likewise.
b8625cfc 15661 * misc/mkostemps64.c: Likewise.
3f55550c 15662 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15663 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15664 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15665 * sysdeps/wordsize-64/mkostemp.c: File removed.
15666 * sysdeps/wordsize-64/mkstemp.c: File removed.
15667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15669 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15670 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15671
09c0ee5f
RM
15672 [BZ #14138]
15673 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15674 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15675 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15676 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15677
15678 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15679 compat_symbol macros from <shlib-compat.h> rather than the underlying
15680 default_symbol_version and symbol_version macros, so that DEFAULT
15681 lines in shlib-versions are respected.
15682 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15683
7e66ee51
FW
156842012-08-01 Florian Weimer <fweimer@redhat.com>
15685
15686 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15687 Declare with warn_unused_result.
15688 (setgid, setregid, setegid, setresgid): Likewise.
15689 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15690 Likewise.
15691 * WUR-REPORT: Remove set*id functions.
15692
d2a54255
PT
156932012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15694
15695 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15696
7ecdb005
RM
156972012-07-31 Roland McGrath <roland@hack.frob.com>
15698
b4180a5e 15699 [BZ #10191]
789bd351
RM
15700 * include/sys/socket.h (__libc_accept, __libc_accept4):
15701 Add attribute_hidden.
15702 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15703
40ce302d
RM
15704 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15705 use of PTR_MANGLE.
15706 * inet/getnetgrent_r.c (setup): Likewise.
15707
7ecdb005
RM
15708 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15709
e2eabb2c
DM
157102012-07-31 David S. Miller <davem@davemloft.net>
15711
15712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15713
d0419dbf
JM
157142012-07-31 Joseph Myers <joseph@codesourcery.com>
15715
15716 [BZ #13629]
15717 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15718 value between 1.0 and 2.0 and smaller part has absolute value less
15719 than 1.0.
15720 * math/s_clog10.c (__clog10): Likewise.
15721 * math/s_clog10f.c (__clog10f): Likewise.
15722 * math/s_clog10l.c (__clog10l): Likewise.
15723 * math/s_clogf.c (__clogf): Likewise.
15724 * math/s_clogl.c (__clogl): Likewise.
15725 * math/libm-test.inc (clog_test): Add more tests.
15726 (clog10_test): Likewise.
15727 * sysdeps/i386/fpu/libm-test-ulps: Update.
15728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15729
2bc13872
FW
157302012-07-31 Florian Weimer <fweimer@redhat.com>
15731
15732 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15733 Exit with zero in case no suitable GID is found, and write a
15734 message to standard error.
15735
bea9b193
RM
157362012-07-30 Roland McGrath <roland@hack.frob.com>
15737
15738 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15739 rather than to 1.
15740 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15741 (MAXPATHLEN): Removed.
15742 (NOGROUP, NODEV): New macros.
15743 (setbit, clrbit, isset, isclr): New macros.
15744 (howmany, roundup, powerof2): New macros.
15745 (DEV_BSIZE): New macro.
15746
15747 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15748 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15749
15750 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15751 definition on [!__NO_LONG_DOUBLE_MATH].
15752
15753 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15754 PTR_MANGLE and PTR_DEMANGLE.
15755
15756 * socket/accept4.c (accept4): Rename to __libc_accept4.
15757 Define accept4 as a weak alias.
15758
15759 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15760 on [_DIRENT_HAVE_D_TYPE].
15761 * io/ftw.c (ftw_dir): Likewise.
15762
15763 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15764
15765 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15766
15767 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15768 Use the BSD numbers rather than the arbitrary ones we had.
15769 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15770 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15771 (SIGXCPU, SIGXFSZ): New macros.
15772 (_NSIG): Now 32.
15773
15774 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15775 initializer on [_LIBC_REENTRANT].
15776
15777 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15778 definitions inside [_POSIX_MAPPED_FILES].
15779
15780 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15781
15782 * dirent/opendir.c: Include <fcntl.h>.
15783
15784 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15785 (__libc_getspecific): Likewise.
15786 (__libc_key_create): Likewise.
15787
15788 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15789 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15790 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15791 (tmpfile64): Define as alias.
15792 * sysdeps/wordsize-64/tmpfile.c: File removed.
15793 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15796
15797 * stdio-common/vfscanf.c: Include <stdbool.h>.
15798 * nss/makedb.c: Likewise.
15799 * stdio-common/_i18n_number.h: Likewise.
15800 * argp/argp-help.c: Likewise.
15801 * posix/wordexp.c: Likewise.
15802 * sysdeps/posix/spawni.c: Likewise.
15803 * nss/nss_files/files-initgroups.c: Likewise.
15804 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15805 * nss/nss_files/files-initgroups.c: Likewise.
15806 * nss/nss_db/db-netgrp.c: Likewise.
15807 * nss/nss_db/db-initgroups.c: Likewise.
15808 * io/fchmodat.c: Include <sys/stat.h>.
15809
15810 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15811 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15812
15813 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15814 [HAVE_MMAP].
15815
15816 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15817 Add multiple inclusion protection.
15818
e5abc686
DM
158192012-07-27 David S. Miller <davem@davemloft.net>
15820
15821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15822
815e6fa3
GB
158232012-07-27 Gary Benson <gbenson@redhat.com>
15824
15825 [BZ #14298]
15826 * elf/rtld.c: Include <stap-probe.h>.
15827 (dl_main): Added static probes "init_start" and "init_complete".
15828 * elf/dl-load.c: Include <stap-probe.h>.
15829 (lose): Take new parameter "nsid".
15830 Added static probe "map_failed".
15831 (_dl_map_object_from_fd): Pass namespace id to lose.
15832 Added static probe "map_start".
15833 (open_verify): Pass namespace id to lose.
15834 * elf/dl-open.c: Include <stap-probe.h>.
15835 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15836 and "reloc_complete".
15837 * elf/dl-close.c: Include <stap-probe.h>.
15838 (_dl_close_worker): Added static probes "unmap_start" and
15839 "unmap_complete".
15840 * elf/rtld-debugger-interface.txt: New file documenting the above.
15841
9f98c16c
RM
158422012-07-26 Roland McGrath <roland@hack.frob.com>
15843
15844 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15845 rather than a string variable.
15846 * sunrpc/rpc_main.c (h_output): Likewise.
15847 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15848
f3c22df3
PT
158492012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15850
15851 * inet/check_native.c: New file.
15852
3129cfc6
JM
158532012-07-26 Joseph Myers <joseph@codesourcery.com>
15854
da865e95
JM
15855 [BZ #13629]
15856 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15857 if larger part has absolute value 1.0.
15858 * math/s_clog10.c (__clog10): Likewise.
15859 * math/s_clog10f.c (__clog10f): Likewise.
15860 * math/s_clog10l.c (__clog10l): Likewise.
15861 * math/s_clogf.c (__clogf): Likewise.
15862 * math/s_clogl.c (__clogl): Likewise.
15863 * math/libm-test.inc (clog_test): Add more tests.
15864 (clog10_test): Likewise.
15865 * sysdeps/i386/fpu/libm-test-ulps: Update.
15866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867
3129cfc6
JM
15868 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15869 (pltexit): Likewise.
15870 (La_regs): Likewise.
15871 (La_retval): Likewise.
15872 (int_retval): Likewise.
15873 Update #error for removed macros to refer only to definitions in
15874 tst-audit.h.
15875 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15876 macro.
15877 (pltexit): Likewise.
15878 (La_regs): Likewise.
15879 (La_retval): Likewise.
15880 (int_retval): Likewise.
15881 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15882 macro.
15883 (pltexit): Likewise.
15884 (La_regs): Likewise.
15885 (La_retval): Likewise.
15886 (int_retval): Likewise.
15887 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15888 macro.
15889 (pltexit): Likewise.
15890 (La_regs): Likewise.
15891 (La_retval): Likewise.
15892 (int_retval): Likewise.
15893 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15894 macro.
15895 (pltexit): Likewise.
15896 (La_regs): Likewise.
15897 (La_retval): Likewise.
15898 (int_retval): Likewise.
15899 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15900 macro.
15901 (pltexit): Likewise.
15902 (La_regs): Likewise.
15903 (La_retval): Likewise.
15904 (int_retval): Likewise.
15905 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15906 macro.
15907 (pltexit): Likewise.
15908 (La_regs): Likewise.
15909 (La_retval): Likewise.
15910 (int_retval): Likewise.
15911 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15912 macro definitions in tst-audit.h.
15913 * sysdeps/i386/tst-audit.h: New file.
15914 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15915 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15916 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15917 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15918 * sysdeps/sh/tst-audit.h: Likewise.
15919 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15920 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15921 * sysdeps/x86_64/tst-audit.h: Likewise.
15922
bfc07087
AJ
159232012-07-26 Andreas Jaeger <aj@suse.de>
15924
b1b2aaf8
AJ
15925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15926 ptrace.
15927
15928 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15929 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15930 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15931 PTRACE_O_MASK.
15932 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15933 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15935
bfc07087
AJ
15936 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15937 value.
15938
15939 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15940 _sigsys.
15941 (si_call_addr, si_syscall, si_arch): Define new macro.
15942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15943 _sigsys.
15944 (si_call_addr, si_syscall, si_arch): Define new marcro.
15945 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15946 _sigsys.
15947 (si_call_addr, si_syscall, si_arch): Define new macro.
15948 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15949 _sigsys.
15950 (si_call_addr, si_syscall, si_arch): Define new macro.
15951
89b4b02f
JM
159522012-07-25 Joseph Myers <joseph@codesourcery.com>
15953
15954 [BZ #13717]
15955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15956 Change to 2.4.21 where previously 2.4.1.
15957 * sysdeps/unix/sysv/linux/configure: Regenerated.
15958 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15959 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15960 Linux kernel version.
15961 (__ASSUME_STD_AUXV): Remove.
15962 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15963 kernel version.
15964 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15965 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15966 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15967 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15968 (__ASSUME_NETLINK_SUPPORT): Likewise.
15969 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15970 (__no_netlink_support): Remove conditional definition.
15971 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15972 Remove.
15973 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15974 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15975 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15976 (if_nameindex_ioctl): Remove.
15977 (if_nameindex_netlink): Do not handle __no_netlink_support.
15978 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15979 code.
15980 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15981 Remove conditional code.
15982 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15983 code.
15984 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15985 unconditional.
15986 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15987 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15988 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15989 Remove.
15990 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15991 [!__ASSUME_STD_AUXV]: Remove conditional code.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15993 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15994 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15996 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15997 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15998 code.
15999 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16001 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16002 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16003 conditional code.
16004 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16006 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16007 code.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16009 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16010 conditional code.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16012 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16013 code unconditional.
16014 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16015 conditional code.
16016 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16017 unconditional.
16018 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16019 conditional code.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16021 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16022 unconditional.
16023 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16024 conditional code.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16026 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16027 code unconditional.
16028 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16029 conditional code.
16030 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16031 unconditional.
16032 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16033 conditional code.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16035 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16036 code unconditional.
16037 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16038 conditional code.
16039 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16040 unconditional.
16041 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16042 conditional code.
16043
842a39cd
AS
160442012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16045
16046 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16047 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16048 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16049 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16050 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16051 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16052 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16053 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16054 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16055 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16056 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16057 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16058 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16059 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16069
84b3fd84
FW
160702012-07-25 Florian Weimer <fweimer@redhat.com>
16071
16072 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16073 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16074 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16075 Introduce __libc_secure_getenv.
0c7936d5
FW
16076 * stdlib/Versions (2.17): Add secure_getenv
16077 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16078 * stdlib/secure-getenv.c: Rename __secure_getenv to
16079 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16080 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16081 * stdlib/tst-secure-getenv.c: New.
16082 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16083 * manual/startup.texi (Environment Access): Document
16084 secure_getenv.
84b3fd84
FW
16085 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16086 __libc_secure_getenv.
16087 * inet/ruserpass.c (ruserpass): Likewise.
16088 * malloc/mtrace.c (mtrace): Likewise.
16089 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16090 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16091 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16092 * sysdeps/posix/tempname.c: Likewise. Evaluate
16093 HAVE_SECURE_GETENV.
16094 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16095 __secure_getenv to __libc_secure_getenv.
84b3fd84 16096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16098 Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16100 Likewise.
16101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16108
56e49b71
JM
161092012-07-25 Joseph Myers <joseph@codesourcery.com>
16110
16111 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16112 (struct La_i86_retval): Likewise.
16113 (struct La_x86_64_regs): Likewise.
16114 (struct La_x86_64_retval): Likewise.
16115 (struct La_x32_regs): Likewise.
16116 (struct La_x32_retval): Likewise.
16117 (struct La_ppc32_regs): Likewise.
16118 (struct La_ppc32_retval): Likewise.
16119 (struct La_ppc64_regs): Likewise.
16120 (struct La_ppc64_retval): Likewise.
16121 (struct La_sh_regs): Likewise.
16122 (struct La_sh_retval): Likewise.
16123 (struct La_s390_32_regs): Likewise.
16124 (struct La_s390_32_retval): Likewise.
16125 (struct La_s390_64_regs): Likewise.
16126 (struct La_s390_64_retval): Likewise.
16127 (struct La_sparc32_regs): Likewise.
16128 (struct La_sparc32_retval): Likewise.
16129 (struct La_sparc64_regs): Likewise.
16130 (struct La_sparc64_retval): Likewise.
16131 (struct audit_ifaces): Remove architecture-specific pltenter and
16132 pltexit members.
16133 * sysdeps/i386/ldsodefs.h: New file.
16134 * sysdeps/powerpc/ldsodefs.h: Likewise.
16135 * sysdeps/s390/ldsodefs.h: Likewise.
16136 * sysdeps/sh/ldsodefs.h: Likewise.
16137 * sysdeps/sparc/ldsodefs.h: Likewise.
16138 * sysdeps/x86_64/ldsodefs.h: Likewise.
16139
354691b7
MP
161402012-07-25 Marek Polacek <polacek@redhat.com>
16141
16142 [BZ #6808]
16143 * math/libm-test.inc (yn_test): Add another test.
16144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16145 to ERANGE when the result is +-Inf.
16146 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16147 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16149 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16150
bf9e2071
JM
161512012-07-24 Joseph Myers <joseph@codesourcery.com>
16152
16153 * conform/data/time.h-data (NULL): Use macro-constant. Require
16154 equal to 0.
16155 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16156 clock_t.
16157 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16158
57633811
TS
161592012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16160
16161 * configure.in <sysdeps resolving>: Correct printing
16162 Implies_before.
16163 * configure: Regenerate.
16164
c23c33b0
TS
161652012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16166
16167 * math/w_ilogb.c: Include <limits.h>.
16168 * math/w_ilogbl.c: Likewise.
16169
b5982523
JM
161702012-07-20 Joseph Myers <joseph@codesourcery.com>
16171
16172 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16173 va_copy. Document allowing for unavailable va_copy only as
16174 pre-C99 compatibility.
16175 * manual/string.texi (Copying and Concatenation): Use va_copy
16176 instead of __va_copy in concat example.
16177
ac4ea442
PT
161782012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16179
16180 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16181 (__sendto): Use create_address_port. Initialize APORT and deallocate
16182 it if not null.
16183
f98eafbd
PT
16184 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16185 with O_NOLINK passed to __file_name_lookup.
16186
898c7aab
PT
16187 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16188 with O_NOLINK passed to __file_name_lookup.
16189
0ced335a
PT
16190 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16191 negative N or less than NGIDS.
16192
b3404dbd
PT
16193 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16194 type to string_t. Set ERANGE as errno and return it if NAME is not big
16195 enough. Use memcpy instead of strncpy.
16196
0f48659e
JM
161972012-07-20 Joseph Myers <joseph@codesourcery.com>
16198
16199 * elf/Makefile (check-data): Remove.
16200 (localplt.data): New vpath directive.
16201 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16202 instead of $(check-data).
16203 * scripts/data/localplt-generic.data: Move to ...
16204 * sysdeps/generic/localplt.data: ... here.
16205 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16206 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16207 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16209 ... here.
16210 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16212 ... here.
16213 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16215 ... here.
16216 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16218 ... here.
16219 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16221 ... here.
16222 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16224 ... here.
16225
d37cbdaa
AZ
162262012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16227
16228 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16229 PPC32 and PPC64 files.
16230 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16231 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16232
46f85fc2
AK
162332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16234
16235 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16236 __makecontext_ret to ...
16237 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16238 ... here and call exit if uc_link is NULL. New file.
16239 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16240 __makecontext_ret.S.
16241 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16242 __makecontext_ret to ...
16243 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16244 ... here and call exit if uc_link is NULL. New file.
16245 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16246 __makecontext_ret.S.
16247
08f43f9b
AK
162482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16249
16250 * elf/elf.h (R_390_IRELATIVE): New definition.
16251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16252 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16253 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16254 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16255 (elf_machine_lazy_rel): Likewise.
16256 * sysdeps/s390/dl-irel.h: New file.
16257 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16258 * sysdeps/s390/s390-64/memset.S: New asm code.
16259 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16260 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16262 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16263 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16264 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16265 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16266 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16267 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16268 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16269 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16270 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16271 * sysdeps/s390/s390-32/memset.S: New asm code.
16272 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16273
3b05db33
MP
162742012-07-17 Marek Polacek <polacek@redhat.com>
16275
16276 [BZ #14349]
16277 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16278 * sysdeps/s390/s390-64/configure.in: Likewise.
16279 * sysdeps/sparc/configure.in: Likewise.
16280 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16281 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16282 * sysdeps/i386/configure.in: Likewise.
16283 * sysdeps/x86_64/configure.in: Likewise.
16284 * sysdeps/sh/configure.in: Likewise.
16285 * sysdeps/s390/s390-32/configure: Regenerated.
16286 * sysdeps/s390/s390-64/configure: Likewise.
16287 * sysdeps/x86_64/configure: Likewise.
16288 * sysdeps/sh/configure: Likewise.
16289 * sysdeps/powerpc/powerpc64/configure: Likewise.
16290 * sysdeps/powerpc/powerpc32/configure: Likewise.
16291 * sysdeps/sparc/configure: Likwise.
16292 * sysdeps/i386/configure: Likewise.
16293
a66877c6
MP
16294 * elf/dl-open.c: Comment fixes.
16295
cfc82fd8
JM
162962012-07-17 Joseph Myers <joseph@codesourcery.com>
16297
bd29910a
JM
16298 * Makefile [CXX] (check-data): Remove.
16299 [CXX] (c++-types.data): New vpath directive.
16300 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16301 vpath. Do not allow for C++ type data being missing.
16302 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16303 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16304 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16305 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16306 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16307 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16308 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16310 ... here.
16311 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16313 ... here.
16314 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16316 ... here.
16317 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16319 ... here.
16320 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16322 ... here.
16323 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16325 ... here.
16326 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16328 ... here.
16329 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16331
cfc82fd8
JM
16332 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16333 definitions to architecture-specific files.
16334 (TLS_IE): Likewise.
16335 (TLS_LD): Likewise.
16336 (TLS_GD): Likewise.
16337 * sysdeps/i386/tls-macros.h: New file.
16338 * sysdeps/powerpc/tls-macros.h: Likewise.
16339 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16340 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16341 * sysdeps/sh/tls-macros.h: Likewise.
16342 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16343 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16344 * sysdeps/x86_64/tls-macros.h: Likewise.
16345
f7db3170
TS
163462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16347
07cbfc23
TS
16348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16349 zero value for regular exit case.
16350
f7db3170
TS
16351 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16352 (__start_context): Preserve zero value for regular exit case.
16353
dc97c227
TS
163542012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16355 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16356
16357 * manual/setjmp.texi (setcontext): Clarify normal process
16358 termination when uc_link is the null pointer.
16359 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16360 exit call.
16361
d0cd7d02
AS
163622012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16363
16364 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16365 preprocessor. Test for each exception mask separately.
16366
dd318934
AJ
163672012-07-16 Andreas Jaeger <aj@suse.de>
16368
16369 * po/ru.po: Update from translation team.
16370
8048311a
JM
163712012-07-15 Joseph Myers <joseph@codesourcery.com>
16372
16373 * conform/data/string.h-data (NULL): Use macro-constant. Require
16374 equal to 0.
16375 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16376 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16377 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16378 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16380
b637d46e
AJ
163812012-07-13 Andreas Jaeger <aj@suse.de>
16382
16383 * po/fr.po: Update from translation team.
16384
541428fe
MP
163852012-07-12 Marek Polacek <polacek@redhat.com>
16386
16387 [BZ #14173]
16388 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16390 loop condition.
16391
ec332e94
JM
163922012-07-12 Joseph Myers <joseph@codesourcery.com>
16393
16394 [BZ #13717]
16395 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16396 Change to 2.4.1 where previously 2.4.0.
16397 * sysdeps/unix/sysv/linux/configure: Regenerated.
16398 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16399 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16400 version.
16401 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16402 (__ASSUME_AT_CLKTCK): Remove.
16403 (__ASSUME_AT_PAGESIZE): Likewise.
16404 (__ASSUME_AT_XID): Likewise.
16405 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16406 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16407 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16408 unconditionally.
16409 (HAVE_AUX_PAGESIZE): Likewise.
16410 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16411 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16412 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16413
7b6e99be
JB
164142012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16415
16416 [BZ #14307]
16417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16418 the temporary buffer used to invoke __gethostbyname2_r,
16419 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16420 host_data / struct gaih_addrtuple.
16421 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16422 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16423 header file nss/nsswitch.h.
16424 * nss/nsswitch.h (global scope): Add definition of implementation
16425 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16426 resolv/nss_dns/dns-host.c).
16427
608404eb
AJ
164282012-07-11 Andreas Jaeger <aj@suse.de>
16429
16430 * po/fr.po: Update from translation team.
16431
71220aca
AJ
16432 * po/sv.po: Update from translation team
16433 * po/fr.po: Another update from translation team.
16434
28cfe843
AZ
164352012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436
16437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16438 for subnormals or multiply small sinh result by itself.
16439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16441
6b90f981
DM
164422012-07-11 David S. Miller <davem@davemloft.net>
16443
16444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16445
c6825772
AS
164462012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16447
16448 [BZ #14347]
16449 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16450 (INTERNAL_MARK): Shift it here.
16451
7b8e0d49
MP
164522012-07-10 Marek Polacek <polacek@redhat.com>
16453
16454 [BZ #14151]
16455 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16456 libc_cv_asm_global_directive with .globl.
16457 * configure: Regenerated.
16458 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16459 with .globl.
16460 * sysdeps/i386/configure: Regenerated.
16461 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16462 with .globl.
16463 * sysdeps/x86_64/configure: Regenerated.
16464 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16465 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16466 * elf/tst-unique2mod2.c: Likewise.
16467 * elf/tst-unique2mod1.c: Likewise.
16468 * elf/tst-unique1mod2.c: Likewise.
16469 * elf/tst-unique1mod1.c: Likewise.
16470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16471 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16472 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16474 * sysdeps/mach/sysdep.h: Likewise.
16475 * sysdeps/i386/sysdep.h: Likewise.
16476 * sysdeps/i386/i386-mcount.S: Likewise.
16477 * sysdeps/x86_64/_mcount.S: Likewise.
16478 * sysdeps/x86_64/sysdep.h: Likewise.
16479 * sysdeps/sh/_mcount.S: Likewise.
16480 * sysdeps/sh/sysdep.h: Likewise.
16481 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16484 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16485 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16486 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16488 * locale/localeinfo.h: Likewise.
16489 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16490 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16491
6c55cda3
RM
164922012-07-09 Roland McGrath <roland@hack.frob.com>
16493
16494 [BZ #14336]
16495 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16496 system".
16497 * manual/message.texi (The Uniforum approach): Likewise.
16498 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16499 (glibc iconv Implementation): Likewise.
16500
638a572e
JM
165012012-07-09 Joseph Myers <joseph@codesourcery.com>
16502
16503 [BZ #14337]
16504 * math/s_clog.c (__clog): Avoid scaling a value down where that
16505 could result in underflow.
16506 * math/s_clog10.c (__clog10): Likewise.
16507 * math/s_clog10f.c (__clog10f): Likewise.
16508 * math/s_clog10l.c (__clog10l): Likewise.
16509 * math/s_clogf.c (__clogf): Likewise.
16510 * math/s_clogl.c (__clogl): Likewise.
16511 * math/libm-test.inc (clog_test): Add more tests.
16512 (clog10_test): Likewise.
16513 * sysdeps/i386/fpu/libm-test-ulps: Update.
16514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16515
261f4859
AS
165162012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16517
0abaf3e4
AS
16518 [BZ #14283]
16519 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16520 by 7 not 8 to examine high bit of fractional part.
16521
261f4859
AS
16522 [BZ #14042]
16523 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16524 for call to __mcount_internal.
16525 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16526 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16527 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16528
f17ac40d
JM
165292012-07-06 Joseph Myers <joseph@codesourcery.com>
16530
9ad63c23
JM
16531 [BZ #14154]
16532 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16533 approximation for values within 0x1p-13f of an odd multiple of
16534 pi/4.
16535 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16536 exception. Add more tests.
16537 * sysdeps/i386/fpu/libm-test-ulps: Update.
16538
f17ac40d
JM
16539 [BZ #6778]
16540 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16541 inputs and return -1 for them. Do not check for +Inf in case not
16542 reachable for +Inf.
16543 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16544 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16545 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16546 and return -1 for them. Do not check for +Inf in case not
16547 reachable for +Inf.
16548 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16549 define.
16550 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16551 and return -1 for them. Do not check for +Inf in case not
16552 reachable for +Inf.
16553 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16554 spurious underflow.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557
fb21f89b
MF
165582012-07-06 Mike Frysinger <vapier@gentoo.org>
16559
16560 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16561
cdfe2c5e
JM
165622012-07-05 Joseph Myers <joseph@codesourcery.com>
16563
16564 [BZ #14157]
16565 [BZ #14331]
16566 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16567 could result in spurious underflow. Scale down values above
16568 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16569 * math/s_csqrtf.c (__csqrtf): Likewise.
16570 * math/s_csqrtl.c (__csqrtl): Likewise.
16571 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16572 spurious underflow.
16573 * sysdeps/i386/fpu/libm-test-ulps: Update.
16574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16575
70d35b67
AS
165762012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16577
704bc459
AS
16578 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16579 xopen-msg.sed.
16580 * catgets/xopen-msg.awk: New file.
16581 * catgets/xopen-msg.sed: Removed.
16582
70d35b67
AS
16583 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16584 po2text.sed.
16585 * intl/po2test.awk: New file.
16586 * intl/po2test.sed: Removed.
16587
ca61cf32
JM
165882012-07-04 Joseph Myers <joseph@codesourcery.com>
16589
16590 [BZ #14328]
16591 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16592 or multiply small sinh result by itself.
16593 * math/s_ctanf.c (__ctanf): Likewise.
16594 * math/s_ctanh.c (__ctanh): Likewise.
16595 * math/s_ctanhf.c (__ctanhf): Likewise.
16596 * math/s_ctanhl.c (__ctanhl): Likewise.
16597 * math/s_ctanl.c (__ctanl): Likewise.
16598 * math/libm-test.inc (ctan_test_tonearest): New function.
16599 (ctan_test_towardzero): Likewise.
16600 (ctan_test_downward): Likewise.
16601 (ctan_test_upward): Likewise.
16602 (ctanh_test_tonearest): Likewise.
16603 (ctanh_test_towardzero): Likewise.
16604 (ctanh_test_downward): Likewise.
16605 (ctanh_test_upward): Likewise.
16606 (main): Call these new functions.
16607 * sysdeps/i386/fpu/libm-test-ulps: Update.
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609
ca48a46a
MF
166102012-07-03 Mike Frysinger <vapier@gentoo.org>
16611
16612 * .gitignore: Delete /ports entry.
16613
9d63d37d
AJ
166142012-07-03 Andreas Jaeger <aj@suse.de>
16615
16616 * po/bg.po: Update from translation team.
16617 * po/cs.po: Likewise.
16618 * po/de.po: Likewise.
16619 * po/hr.po: Likewise.
16620 * po/nl.pl: Likewise.
16621 * po/pl.po: Likewise.
16622 * po/vi.po: Likewise.
16623
370ca3d2
JM
166242012-07-03 Joseph Myers <joseph@codesourcery.com>
16625
95f5a9a8
JM
16626 * Makeconfig [!+link] (+link-before-libc): New variable.
16627 [!+link] (+link-after-libc): Likewise.
16628 [!+link] (+link-tests): Likewise.
16629 [!+link] (+link): Define in terms of $(+link-before-libc) and
16630 $(+link-after-libc).
16631 [!+link-static] (+link-static-before-libc): New variable.
16632 [!+link-static] (+link-static-after-libc): Likewise.
16633 [!+link-static] (+link-static-tests): Likewise.
16634 [!+link-static] (+link-static): Define in terms of
16635 $(+link-static-before-libc) and $(+link-static-after-libc).
16636 [build-shared] (link-libc-before-gnulib): New variable.
16637 [build-shared] (link-libc-tests): Likewise.
16638 [build-shared] (link-libc): Define in terms of
16639 $(link-libc-before-gnulib).
16640 [!build-shared] (link-libc-tests): New variable.
16641 (link-libc-static-tests): New variable.
16642 [!gnulib] (gnulib-arch): New variable.
16643 [!gnulib] (gnulib-tests): Likewise.
16644 [!gnulib] (static-gnulib-arch): Likewise.
16645 [!gnulib] (static-gnulib-tests): Likewise.
16646 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16647 Define with "=" instead of ":=".
16648 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16649 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16650 * Rules (binaries-all-notests): New variable.
16651 (binaries-all-tests): Likewise.
16652 (binaries-static-notests): Likewise.
16653 (binaries-static-tests): Likewise.
16654 (binaries-all): Define using $(binaries-all-notests) and
16655 $(binaries-all-tests).
16656 (binaries-static): Define using $(binaries-static-notests) and
16657 $(binaries-static-tests).
16658 (binaries-shared-tests): New variable.
16659 (binaries-shared-notests): Likewise.
16660 (binaries-shared): Remove variable.
16661 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16662 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16663 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16664 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16665 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16666 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16667 * elf/Makefile (sln-modules): New variable.
16668 (extra-objs): Add $(sln-modules:=.o).
16669 (ldconfig-modules): Add static-stubs.
16670 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16671 * elf/static-stubs.c: New file.
16672
7a845b2c
JM
16673 [BZ #14283]
16674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16675 by 7 not 8 to examine high bit of fractional part. Use volatile
16676 variables when splitting into final array of floats if
16677 __FLT_EVAL_METHOD__ != 0.
16678 * math/libm-test.inc (cos_test): Add another test.
16679 (sin_test): Likewise.
16680 * sysdeps/i386/fpu/libm-test-ulps: Update.
16681
e2283f38
JM
16682 [BZ #14273]
16683 * math/libm-test.inc (cosh_test): Add more tests.
16684
370ca3d2
JM
16685 * version.h (RELEASE): Set to "development".
16686 (VERSION): Set to "2.16.90".
16687
ee9247c3
CD
166882012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16689
16690 * NEWS: Update copyright. Remove last-updated date.
16691 Mention math library bug fixes and timezone data changes.
16692 * README: Mention GNU/Hurd, x32, and HPPA support status.
16693
4648c381
TS
166942012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16695
16696 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16697
aac78a43
AJ
166982012-06-27 Andreas Jaeger <aj@suse.de>
16699
16700 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16701
ed3dbfad
AJ
167022012-06-25 Andreas Jaeger <aj@suse.de>
16703
16704 * sysdeps/s390/fpu/libm-test-ulps: Update.
16705
4d0ee855
AS
167062012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16707 Thomas Schwinge <thomas@codesourcery.com>
16708
16709 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16710 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16712 fanotify_mark.
16713
af1bce34
TS
167142012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16715
a9fa33ba
TS
16716 * sysdeps/mach/start.c: Remove file.
16717 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16718 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16719 * sysdeps/sh/init-first.c: Likewise.
16720
58f902b8
TS
16721 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16722 registers for frame unwinding purposes, add CFI directives.
16723 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16724 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16725 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16726 Likewise.
16727
1518f58b
TS
16728 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16729 __fortify_fail returning.
16730 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16731
db9b5059
TS
16732 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16733 sysdeps/sh/____longjmp_chk.S.
16734 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16735 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16736 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16737 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16738
967705fe
TS
16739 * sysdeps/sh/abort-instr.h: New file.
16740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16741 process in case exit returns.
16742
a9def8c4
TS
16743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16744 initialize the GOT register before use.
16745
2a649725
TS
16746 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16747 calculation of ARGC > 4.
16748
af1bce34
TS
16749 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16750 meaningful names to some local labels.
16751
d230f50a
KK
167522012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16753 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16754
16755 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16756 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16757 (__arch_compare_and_exchange_val_16_acq): Likewise.
16758 (__arch_compare_and_exchange_val_32_acq): Likewise.
16759 (atomic_exchange_and_add): Fix gUSA sequence.
16760 (atomic_add): Likewise.
16761 (atomic_add_negative): Likewise.
16762 (atomic_add_zero): Likewise.
16763 (atomic_bit_test_set): Likewise.
16764
0479b305
AS
167652012-06-22 Andreas Schwab <schwab@redhat.com>
16766
16767 [BZ #13579]
16768 * include/link.h (struct link_map): Add l_free_initfini.
16769 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16770 l_initfini.
16771 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16772 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16773 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16774 set.
16775
0e3933b9
CD
167762012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16777
16778 * configure.in: Use AC_LANG_SOURCE.
16779 * configure: Regenerate.
16780
4248b1b1
RM
167812012-06-22 Roland McGrath <roland@hack.frob.com>
16782
16783 * configure.in (libc_cv_localstatedir): New substituted variable.
16784 * configure: Regenerated.
16785 * config.make.in (localstatedir): New variable, substituted from
16786 libc_cv_localstatedir.
16787 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16788 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16789 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16790 * sysdeps/gnu/configure: Regenerated.
16791
006dd861
JL
167922012-06-21 Jeff Law <law@redhat.com>
16793
16794 [BZ #14277]
16795 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16796 free. Simplify list management for _LIBC case.
16797
79662d42
JM
167982012-06-21 Joseph Myers <joseph@codesourcery.com>
16799
b7abb4bf
JM
16800 [BZ #14273]
16801 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16802 Clear sign bit of 64-bit integer value before comparing against
16803 overflow value.
16804
79662d42
JM
16805 * sysdeps/mach/configure: Regenerated.
16806
1f150908
L
168072012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16808
16809 [BZ #14278]
16810 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16811
28363bbf
JL
168122012-06-21 Jeff Law <law@redhat.com>
16813
16814 [BZ #13882]
16815 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16816 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16817 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16818 * elf/dl-open.c (dl_open_worker): Likewise.
16819
09615db4
CD
168202012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16821
16822 * scripts/list-sources.sh: Scan PORTS for translations.
16823 * po/libc.pot: Regenerated.
16824
2174c6dd
AJ
168252012-06-21 Andreas Jaeger <aj@suse.de>
16826
16827 [BZ #12194]
16828 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16829 warning.
16830 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16831 * bits/byteswap-16.h (__bswap_16): Likewise.
16832 * bits/byteswap.h (__bswap_constant_16): Likewise.
16833
3ee947b1
L
168342012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16835
16836 [BZ #14117]
a2f34833
L
16837 * sysdeps/i386/fpu_control.h: Removed.
16838 * sysdeps/x86_64/fpu_control.h: Moved to ...
16839 * sysdeps/x86/fpu_control.h: Here.
16840
3ee947b1
L
16841 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16842 (_FPU_SETCW): Likewise.
16843
ed1825f8
L
168442012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16845
25f1282a
L
16846 [BZ #14117]
16847 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16848 * sysdeps/x86/fpu/bits/mathinline.h: This.
16849 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16850
ed1825f8
L
16851 [BZ #14050]
16852 [BZ #14117]
16853 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16854 functions if __x86_64__ is defined.
16855
36d54b74
CLT
168562012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16857
16858 * string/endian.h: Add !__ASSEMBLER__ condition for including
16859 conversion interfaces.
16860
10285c21
JM
168612012-06-15 Joseph Myers <joseph@codesourcery.com>
16862
16863 [BZ #14241]
16864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16865 of ABS(x) in calculating zero to negative powers other than odd
16866 integers.
16867 * math/libm-test.inc (pow_test): Add more tests.
16868
06c5abbd
AJ
168692012-06-15 Andreas Jaeger <aj@suse.de>
16870
16871 * manual/contrib.texi (Contributors): Update entry of Liubov
16872 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16873 Machado Filho.
16874
a3aeac40
CH
168752012-06-15 Cyril Hrubis <metan@ucw.cz>
16876
16877 * string/string.h: Add __wur to GNU version of strerror_r.
16878
49bdf4c1
L
168792012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16880
16881 [BZ #14229]
16882 * string/Makefile (tests): Add tst-strtok_r.
16883 * string/tst-strtok_r.c: New file.
16884 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16885 RAX_LP/RDX_LP on SAVE_PTR.
16886
834f9b8d
RM
168872012-06-14 Roland McGrath <roland@hack.frob.com>
16888
16889 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16890
75fa1921
JM
168912012-06-14 Joseph Myers <joseph@codesourcery.com>
16892
16893 * libm_test.inc (csqrt_test): Allow more spurious underflow
16894 exceptions.
16895 (j0_test): Likewise.
16896 (j1_test): Likewise.
16897 (y0_test): Likewise.
16898 (y1_test): Likewise.
16899
771766df
CD
169002012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16901
16902 * po/Makefile (libc.pot): Use UTF-8 charset.
16903
ceb9e56b
PP
169042012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16905
16906 [BZ #14210]
16907 Suppress sign-conversion warning from FD_SET.
16908 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16909 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16910 not unsigned long int.
16911 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16912
ddb28975
L
169132012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16914
16915 [BZ #14050]
16916 [BZ #14117]
16917 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16918 __extern_always_inline instead of __extern_inline.
16919 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16920 (__signbit): Likewise.
16921 (__signbitl): Support C++ namespace.
16922 (lrintf): New inline function.
16923 (lrint): Likewise.
16924 (llrintf): Likewise.
16925 (llrint): Likewise.
16926 (fmaxf): Likewise.
16927 (fmax): Likewise.
16928 (fminf): Likewise.
16929 (fmin): Likewise.
16930 (rint): Likewise.
16931 (rintf): Likewise.
16932 (ceil): Likewise.
16933 (ceilf): Likewise.
16934 (floor): Likewise.
16935 (floorf): Likewise.
16936 (nearbyint): Likewise.
16937 (nearbyintf): Likewise.
16938
d7b4fb26
TS
169392012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16940
16941 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16942 non-default versions.
16943
eb55f5c2
RM
169442012-06-11 Roland McGrath <roland@hack.frob.com>
16945
16946 [BZ #14218]
16947 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16948
366af02c
TS
169492012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16950
99ff6e5c
TS
16951 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16952 (FE_UPWARD, FE_DOWNWARD): Don't define.
16953 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16955
366af02c
TS
16956 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16957 reading it.
16958 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16959 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16960
793ea851
KK
169612012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16962
16963 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16965 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16966 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16967
a728a38f
L
169682012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16969
16970 [BZ #14117]
c08010c7
L
16971 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16972 * sysdeps/i386/fpu/Implies: New file.
16973 * sysdeps/x86_64/fpu/Implies: Likewise.
16974 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16975 * sysdeps/x86/fpu/bits/fenv.h: This.
16976
a728a38f
L
16977 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16978 __SSE_MATH__.
16979
6e230d11
SP
169802012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16981
16982 [BZ #14134]
16983 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16984 character 0xffff that matches the last element of the
16985 conversion table.
16986
1b671feb
AZ
169872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16988
16989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16990 fmodl commit.
16991
6043738b
AZ
169922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16993
16994 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16995 values higher than 25.6283.
16996
34ae0b32
AZ
169972012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16998
16999 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17000 subnormal exponent extraction and add some __builtin_expect.
17001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17002 Fix for subnormal mantissa calculation.
17003
1214ec8f
MF
170042012-06-04 Mike Frysinger <vapier@gentoo.org>
17005
17006 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17007 cpu2 is -1 and errno is not ENOSYS.
17008
f3d1f93c
L
170092012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17010
17011 [BZ #14117]
0e4a3cd7
L
17012 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17013 * sysdeps/x86/bits/string.h: This.
17014 * sysdeps/x86_64/bits/string.h: Removed.
17015
6704c645
L
17016 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17017 if not compiling for x86-64, but compiling for >= i486.
17018
48495318
L
17019 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17020 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17021
14adcbfc
L
17022 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17023 New macro from Linux kernel 3.4.0.
17024 (FP_XSTATE_MAGIC2): Likewise.
17025 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17026 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17027 (struct _fpx_sw_bytes): New struct.
17028 (struct _xsave_hdr): Likewise.
17029 (struct _ymmh_state): Likewise.
17030 (struct _xstate): Likewise.
17031
68e408ab
L
17032 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17033 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17035 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17036 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17037 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17038
f3d1f93c
L
17039 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17040 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17041 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17042 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17043 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17044 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17045
d9dc34cd
TMQMF
170462012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17047
17048 [BZ #13743]
17049 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17050 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17051 (sysdep_headers): Include sys/platform/ppc.h.
17052 * sysdeps/powerpc/test-gettimebase.c: Test for
17053 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17054 * manual/Makefile (appendices): Include platform.texi.
17055 * manual/contrib.texi (Contributors): Update @node pointers.
17056 * manual/maint.texi (Maintenance): Likewise.
17057 (Platform): New node.
17058 * manual/platform.texi: New file. Document the new features.
17059
4af3879c
SP
170602012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17061 Jakub Jelinek <jakub@redhat.com>
17062
17063 [BZ #14188]
17064 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17065 where __builtin_expect is unavailable.
17066
2fd6ff13
DM
170672012-06-03 David S. Miller <davem@davemloft.net>
17068
17069 * stdlib/longlong.h: Updated from GCC.
17070
173f7220
AS
170712012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17072
17073 [BZ #14042]
17074 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17075 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17076 __mcount_internal.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17078 (GLIBC_2.16): Likewise.
17079
f34a1c6f
L
170802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17083
88a4576f
JM
170842012-06-01 Joseph Myers <joseph@codesourcery.com>
17085
ea32bcdd
JM
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17087 (default-abi): New variable.
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17090 variable.
17091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17092 Likewise.
17093 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17094 Likewise.
17095 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17096 Likewise.
17097
88a4576f
JM
17098 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17099 definition. Document in comment.
17100
402fe938
DM
171012012-06-01 David S. Miller <davem@davemloft.net>
17102
17103 * stdlib/longlong.h: Updated from GCC.
17104
3553723f
L
171052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 [BZ #14117]
3bd872c4
L
17108 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17109 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17110 sys/debugreg.h sys/io.h here.
17111 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17112 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17113 sys/io.h.
17114 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17115 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17116 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17117 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17118 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17119 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17120
3553723f
L
17121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17122 Define only if __x86_64__ is defined.
17123
4842e4fe
JM
171242012-06-01 Joseph Myers <joseph@codesourcery.com>
17125
c5bfe3d5
JM
17126 [BZ #14048]
17127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17128 Use int64_t for variable i.
17129 * math/libm-test.inc (fmod_test): Add more tests.
17130
4842e4fe
JM
17131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17132 z computation is not scheduled after fetestexcept.
17133 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17134 Use math_force_eval instead of asm to ensure calculation scheduled
17135 before exception test.
17136 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17137 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17138
efb73488
AJ
171392012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17140
17141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17142 computation is not scheduled after fetestexcept.
17143
29bcce7c
L
171442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 [BZ #14117]
17147 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17148 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17149
73a68f94
AZ
171502012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17151
17152 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17153 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17154
67b6df78
L
171552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17156
edf2933a 17157 [BZ #14117]
ebc64a18
L
17158 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17159 <bits/wordsize.h>.
17160 (__WCHAR_MIN): Support __WORDSIZE == 64.
17161 (__WCHAR_MAX): Likewise.
17162
edf2933a
L
17163 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17165
57c6cf40
L
17166 [BZ #14183]
17167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17168 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17169
67b6df78 17170 [BZ #14117]
8eb6281e
L
17171 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17172 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17173
aac639f4
L
17174 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17175 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17176
67b6df78
L
17177 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17178 Defined to 1 if __x86_64__ isn't defined.
17179 (_STAT_VER_LINUX_OLD): New.
17180 (st_atime): Remove duplicate.
17181 (st_mtime): Likewise.
17182 (st_ctime): Likewise.
17183
1c2cfe81
DM
171842012-05-31 David S. Miller <davem@davemloft.net>
17185
17186 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17187 entries.
17188
5be8418c
AS
171892012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17190
e7725326
AS
17191 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17192 gen-libm-test.pl.
17193
5be8418c
AS
17194 [BZ #14132]
17195 * elf/dl-reloc.c: Include <_itoa.h>.
17196 (_dl_reloc_bad_type): Remove use of INTUSE.
17197 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17198 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17199 * stdio-common/psiginfo.c (psiginfo): Likewise.
17200 * stdio-common/psignal.c (psignal): Likewise.
17201 * string/strsignal.c (strsignal): Likewise.
17202 * include/signal.h (_sys_siglist): Declare hidden proto.
17203 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17204 INTVARDEF with libc_hidden_data_def.
17205 * stdio-common/itoa-udigits.c: Likewise.
17206 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17207 (_itoa_lower_digits_internal): Remove declaration.
17208 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17209 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17210 (_sys_sigabbrev_internal): Remove aliases.
17211 (_sys_siglist): Define hidden alias.
17212
507352f1
MT
172132012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17214
17215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17216 bits/sysctl.h.
17217
42bbb1c3
L
172182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17219
17220 [BZ #14117]
6bd784b6
L
17221 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17222 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17223
8bca20f0
L
17224 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17225 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17226 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17227 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17229 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17230
f9e890a9
L
17231 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17233 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17234
471101a1
L
17235 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17236 with __addr.
17237 (insw): Likewise.
17238 (insl): Likewise.
17239 (outsb): Likewise.
17240 (outsw): Likewise.
17241 (outsl): Likewise.
17242
6451c862
L
17243 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17244 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17245 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17246
a254b8c9
L
17247 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17248 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17249 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17250 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17252 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17253
b8dfdd92
L
17254 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17255 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17256
578cd270
L
17257 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17258 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17259
de662f5f
L
17260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17262 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17263
25653439
L
17264 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17265 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17266 to ...
17267 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17268
6bad24a0
L
17269 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17270 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17271 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17272
42bbb1c3
L
17273 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17274 for x86-64.
17275 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17276
2d10d547
JM
172772012-05-31 Joseph Myers <joseph@codesourcery.com>
17278
17279 * math/math.h (M_El): Use two more decimal places.
17280 (M_LOG2El): Likewise.
17281 (M_LOG10El): Likewise.
17282 (M_LN2l): Likewise.
17283 (M_LN10l): Likewise.
17284 (M_PIl): Likewise.
17285 (M_PI_2l): Likewise.
17286 (M_PI_4l): Likewise.
17287 (M_1_PIl): Likewise.
17288 (M_2_PIl): Likewise.
17289 (M_2_SQRTPIl): Likewise.
17290 (M_SQRT2l): Likewise.
17291 (M_SQRT1_2l): Likewise.
17292
f230c29b
DM
172932012-05-31 David S. Miller <davem@davemloft.net>
17294
17295 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17296 values between float registers.
17297 * sysdeps/sparc/sparc64/memset.S: Likewise.
17298 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17299
fed806c3
MF
173002012-05-31 Mike Frysinger <vapier@gentoo.org>
17301
17302 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17303 -D_FORTIFY_SOURCE=1.
17304 (CPPFLAGS-tst-longjmp_chk.c): Define.
17305 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17306 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17307 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17308 CFLAGS-tst-wchar-h.c.
17309
30917259
MP
173102012-05-31 Marek Polacek <polacek@redhat.com>
17311
17312 [BZ #14132]
17313 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17314 __endmntent_internal): Remove declaration.
17315 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17316 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17317 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17318
1c58d5dc
DM
173192012-05-30 David S. Miller <davem@davemloft.net>
17320
17321 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17322 (___Q_simulate_exceptions): Use real FP ops rather than writing
17323 into the %fsr.
17324 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17325 Likewise.
17326
7dc00e0d
L
173272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17328
17329 [BZ #14117]
0bd53985
L
17330 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17331 * sysdeps/x86/bits/xtitypes.h: This.
17332
3a257e66
L
17333 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17334 * sysdeps/x86/bits/wordsize.h: This.
17335
62f62904
L
17336 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17337 * sysdeps/x86/bits/huge_vall.h: This.
17338
404fe9d9
L
17339 * sysdeps/i386/bits/select.h: Removed.
17340 * sysdeps/x86_64/bits/select.h: Renamed to ...
17341 * sysdeps/x86/bits/select.h: This.
17342
d48d0446
L
17343 * sysdeps/i386/bits/setjmp.h: Removed.
17344 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17345 * sysdeps/x86/bits/setjmp.h: This.
17346
7dc00e0d
L
17347 * sysdeps/i386/bits/mathdef.h: Removed.
17348 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17349 * sysdeps/x86/bits/mathdef.h: This.
17350
03277f8f
AS
173512012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17352
17353 [BZ #14132]
17354 * include/sys/socket.h (__connect_internal)
17355 (__libc_sa_len_internal): Remove declaration.
17356 (__connect, __libc_sa_len): Declare hidden_proto.
17357 (SA_LEN): Remove use of INTUSE.
17358 * socket/connect.c: Add libc_hidden_def.
17359 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17360 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17361 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17362 alias.
17363 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17364 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17365 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17366 of adding _internal alias.
17367
13764867
L
173682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 [BZ #14117]
6bd97696
L
17371 * sysdeps/i386/bits/link.h: Removed.
17372 * sysdeps/i386/bits/linkmap.h: Likewise.
17373 * sysdeps/x86_64/bits/link.h: Renamed to ...
17374 * sysdeps/x86/bits/link.h: This.
17375 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17376 * sysdeps/x86/bits/linkmap.h: This.
17377
f726f0bb
L
17378 * sysdeps/i386/bits/endian.h: Removed.
17379 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17380 * sysdeps/x86/bits/endian.h: This.
17381
13764867
L
17382 * sysdeps/i386/bits/byteswap.h: Removed.
17383 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17384 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17385 * sysdeps/x86/bits/byteswap.h: This.
17386 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17387 * sysdeps/x86/bits/byteswap-16.h: This.
17388 * sysdeps/i386/Implies: Add x86.
17389 * sysdeps/x86_64/Implies: Likewise.
17390
ae251b0b
DM
173912012-05-30 David S. Miller <davem@davemloft.net>
17392
17393 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17394 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17395 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17396 (FP_TRAPPING_EXCEPTIONS): Define.
17397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17398 (FP_TRAPPING_EXCEPTIONS): Define.
17399 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17400 subnormals only when inexact has been signalled or underflow
17401 exceptions are enabled.
17402 (_FP_PACK_CANONICAL): Likewise.
17403
d5c90867
L
174042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 [BZ #14183]
17407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17408 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17409
63f1549e
RH
174102012-05-30 Richard Henderson <rth@twiddle.net>
17411
8d8f2279
RH
17412 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17413 with #ifndef NOT_IN_libc.
17414
63f1549e
RH
17415 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17416 marked to avoid plt entry.
17417
0ab0291b
L
174182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 [BZ #14112]
17421 * Makeconfig (default-abi): New macro.
17422 (abi-includes): Likewise.
17423 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17424 $(abi-$(default-abi)-lib-soname) for soname if defined.
17425 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17426 abi-variants.
17427 * Makefile (installed-stubs): Likewise.
17428 * include/stubs-biarch.h: Removed.
17429 * scripts/lib-names.awk: Only handle one library at a time.
17430 * scripts/soversions.awk: Remove WORDSIZE support.
17431 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17432 entries.
17433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17434 Removed.
17435 (syscall-list-default-condition): Likewise.
17436 (syscall-list-default-condition): Likewise.
17437 (syscall-list-includes): Likewise.
17438 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17439 syscall-list-* with abi-*. Handle undefined abi-variants.
17440 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17441 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17442 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17443 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17444 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17445 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17446 Removed.
17447 (syscall-list-32-options): Likewise.
17448 (syscall-list-32-condition): Likewise.
17449 (syscall-list-64-options): Likewise.
17450 (syscall-list-64-condition): Likewise.
17451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17452 macro.
17453 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17454 Renamed to ...
17455 (abi-*): This.
17456 (abi-64-ld-soname): New macro.
17457 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17459 Renamed to ...
17460 (abi-*): This.
17461 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17462 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17463
4da0431d
JM
174642012-05-30 Joseph Myers <joseph@codesourcery.com>
17465
3a85279c
JM
17466 * sysdeps/unix/sysv/linux/kernel-features.h
17467 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17468 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17469 include <kernel-features.h>.
17470 [!__NR_ftruncate64]: Remove conditional code.
17471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17472 [__NR_ftruncate64]: Make code unconditional.
17473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17474 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17475 include <kernel-features.h>.
17476 [!__NR_ftruncate64]: Remove conditional code.
17477 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17478 [__NR_ftruncate64]: Make code unconditional.
17479 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17481 include <kernel-features.h>.
17482 [!__NR_ftruncate64]: Remove conditional code.
17483 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17484 [__NR_ftruncate64]: Make code unconditional.
17485 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17487 include <kernel-features.h>.
17488 [!__NR_ftruncate64]: Remove conditional code.
17489 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17490 [__NR_ftruncate64]: Make code unconditional.
17491 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17492
4da0431d
JM
17493 * configure.in (libc_cv_fpie): Weaken to a compile test using
17494 LIBC_TRY_CC_OPTION.
17495 * configure: Regenerated.
17496
11ef492c
AK
174972012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17498
17499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17503 Refreshed.
17504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17510 Refreshed.
17511
d66ef399
DM
175122012-05-27 David S. Miller <davem@davemloft.net>
17513
17514 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17515 (___Q_zero): New.
17516 (__Q_simulate_exceptions): Return void. Change to simulate
17517 exceptions by writing into the %fsr.
17518 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17519 (__Qp_handle_exceptions): Likewise.
17520 (numbers): Delete.
17521 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17522 __Qp_handle_exceptions.
17523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17524 __Qp_handle_exceptions.
17525 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17526 as unused and give dummy FP_RND_NEAREST initializer.
17527 (FP_INHIBIT_RESULTS): Define.
17528 (___Q_simulate_exceptions): Update declaration.
17529 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17530 formatting.
17531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17532 as unused and give dummy FP_RND_NEAREST initializer.
17533 (__Qp_handle_exceptions): Update declaration.
17534 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17535 formatting.
17536
04fb54b5
TS
175372012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17538
17539 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17540 the temporary FPU control word.
17541 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17542 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17544 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17545 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17546 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17547 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17548 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17549 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17550 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17551 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17552
3f99608f
KK
175532012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17554
17555 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17556 fields.
17557
65a4de4e
CLT
175582012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17559
17560 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17561 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17562 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17563 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17564 Likewise.
17565 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17566 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17567 Likewise.
17568
15749d40
UD
175692012-05-27 Ulrich Drepper <drepper@gmail.com>
17570
17571 * po/h.po: Update from translation team.
17572
25dbcb27
AS
175732012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17574
3d3f8e55
AS
17575 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17576
25dbcb27
AS
17577 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17578 handling of denormals.
17579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17580 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17581 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17582 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17586 Likewise.
17587
7ad47a80 175882012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17589
17590 [BZ #14152]
17591 * math/libm-test.inc (fma_test): Don't always expect underflow
17592 exception.
17593
9c6ea9fa
SP
175942012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17595
17596 [BZ #12416]
17597 * elf/tst-execstack.c: Include stackinfo.h.
17598 (do_test): Adjust test case to ensure that pthread_getattr_np
17599 behaviour remains the same after marking stack executable.
17600
a8239222
JM
176012012-05-25 Joseph Myers <joseph@codesourcery.com>
17602
17603 * sysdeps/unix/sysv/linux/kernel-features.h
17604 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17605 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17606 kernel-features.h.
17607 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17608 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17609 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17610 kernel-features.h.
17611 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17612 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17613
918b5606
L
176142012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17615
17616 * configure.in: Define the default includes to being none.
17617 * configure: Regenerated.
17618
3a097cc7
RM
176192012-05-25 Roland McGrath <roland@hack.frob.com>
17620
8422c9a5
RM
17621 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17622 * sysdeps/x86_64/setjmp.S: Likewise.
17623 * sysdeps/i386/bsd-setjmp.S: Likewise.
17624 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17625 * sysdeps/i386/setjmp.S: Likewise.
17626 * sysdeps/i386/__longjmp.S: Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17628 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17629
3a097cc7
RM
17630 * include/stap-probe.h: New file.
17631 * configure.in: Handle --enable-systemtap.
17632 * configure: Regenerated.
17633 * config.h.in (USE_STAP_PROBE): New #undef.
17634 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17635 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17636 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17637
21708942
JM
176382012-05-25 Joseph Myers <joseph@codesourcery.com>
17639
17640 [BZ #13717]
17641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17642 to 2.4.0 where earlier.
17643 * sysdeps/unix/sysv/linux/configure: Regenerated.
17644 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17645 <kernel-features.h>.
17646 [__ASSUME_32BITUIDS]: Make code unconditional.
17647 [!__ASSUME_32BITUIDS]: Remove conditional code.
17648 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17649 <kernel-features.h>.
17650 [__ASSUME_32BITUIDS]: Make code unconditional.
17651 [!__ASSUME_32BITUIDS]: Remove conditional code.
17652 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17653 [__ASSUME_32BITUIDS]: Make code unconditional.
17654 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17655 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17656 <kernel-features.h>.
17657 [__ASSUME_32BITUIDS]: Make code unconditional.
17658 [!__ASSUME_32BITUIDS]: Remove conditional code.
17659 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17660 <kernel-features.h>.
17661 [__ASSUME_32BITUIDS]: Make code unconditional.
17662 [!__ASSUME_32BITUIDS]: Remove conditional code.
17663 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17664 <kernel-features.h>.
17665 [__ASSUME_32BITUIDS]: Make code unconditional.
17666 [!__ASSUME_32BITUIDS]: Remove conditional code.
17667 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17668 <kernel-features.h>.
17669 [__ASSUME_32BITUIDS]: Make code unconditional.
17670 [!__ASSUME_32BITUIDS]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
17696 <kernel-features.h>.
17697 [__NR_setresgid] (__setresgid): Do not declare.
17698 [__ASSUME_32BITUIDS]: Make code unconditional.
17699 [!__ASSUME_32BITUIDS]: Remove conditional code.
17700 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17701 <kernel-features.h>.
17702 [__NR_setresuid] (__setresuid): Do not declare.
17703 [__ASSUME_32BITUIDS]: Make code unconditional.
17704 [!__ASSUME_32BITUIDS]: Remove conditional code.
17705 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17706 <kernel-features.h>.
17707 [__ASSUME_32BITUIDS]: Make code unconditional.
17708 [!__ASSUME_32BITUIDS]: Remove conditional code.
17709 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17710 <kernel-features.h>.
17711 [__ASSUME_32BITUIDS]: Make code unconditional.
17712 [!__ASSUME_32BITUIDS]: Remove conditional code.
17713 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17714 <kernel-features.h>.
17715 [__ASSUME_32BITUIDS]: Make code unconditional.
17716 [!__ASSUME_32BITUIDS]: Remove conditional code.
17717 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17718 <kernel-features.h>.
17719 [__ASSUME_32BITUIDS]: Make code unconditional.
17720 [!__ASSUME_32BITUIDS]: Remove conditional code.
17721 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
17746 (__ASSUME_SETRESUID_SYSCALL): Remove.
17747 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17748 (__ASSUME_32BITUIDS): Likewise.
17749 (__ASSUME_LDT_WORKS): Likewise.
17750 (__ASSUME_O_DIRECTORY): Likewise.
17751 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17752 architecture but not kernel version.
17753 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17754 (__ASSUME_MMAP2_SYSCALL): Likewise.
17755 (__ASSUME_STAT64_SYSCALL): Likewise.
17756 (__ASSUME_IPC64): Likewise.
17757 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17758 <kernel-features.h>.
17759 [__ASSUME_32BITUIDS]: Make code unconditional.
17760 [!__ASSUME_32BITUIDS]: Remove conditional code.
17761 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17762 <kernel-features.h>.
17763 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17764 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17765 132096]: Remove conditional code.
17766 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17768 <kernel-features.h>.
17769 [__ASSUME_32BITUIDS]: Make code unconditional.
17770 [!__ASSUME_32BITUIDS]: Remove conditional code.
17771 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17772 <kernel-features.h>.
17773 [__ASSUME_32BITUIDS]: Make code unconditional.
17774 [!__ASSUME_32BITUIDS]: Remove conditional code.
17775 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17776 <kernel-features.h>.
17777 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17778 unconditional.
17779 (__setresgid): Do not declare.
17780 [__ASSUME_32BITUIDS]: Make code unconditional.
17781 [!__ASSUME_32BITUIDS]: Remove conditional code.
17782 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17783 <kernel-features.h>.
17784 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17785 unconditional.
17786 (__setresuid): Do not declare.
17787 [__ASSUME_32BITUIDS]: Make code unconditional.
17788 [!__ASSUME_32BITUIDS]: Remove conditional code.
17789 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17790 <kernel-features.h>.
17791 [__ASSUME_32BITUIDS]: Make code unconditional.
17792 [!__ASSUME_32BITUIDS]: Remove conditional code.
17793 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17794 <kernel-features.h>.
17795 [__ASSUME_32BITUIDS]: Make code unconditional.
17796 [!__ASSUME_32BITUIDS]: Remove conditional code.
17797
a386f1cc
RH
177982012-05-25 Richard Henderson <rth@twiddle.net>
17799
17800 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17801 dl_hwcap to ifunc resolver.
17802 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17803 elf_ifunc_invoke.
17804 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17805 dl_hwcap to ifunc resolver.
17806 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17807
b6550497
JM
178082012-05-24 Joseph Myers <joseph@codesourcery.com>
17809
17810 [BZ #14153]
17811 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17812 for |x| <= 2**-26, not 2**-57.
17813 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17814 exception.
17815
b0bc23a1
JL
178162012-05-24 Jeff Law <law@redhat.com>
17817
17818 * stdio-common/Makefile (tests): Add bug25.
17819 * stdio-common/bug25.c: New test.
17820
347c92e9
L
178212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17822
17823 [BZ #13576]
17824 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17825 multiple of MALLOC_ALIGNMENT in size.
17826 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17827
6bcc8b3f
JM
178282012-05-24 Joseph Myers <joseph@codesourcery.com>
17829
17830 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17831 Require >= 256.
17832 (FILENAME_MAX): Use macro-int-constant.
17833 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17834 (_IOFBF): Use macro-int-constant.
17835 (_IOLBF): Likewise.
17836 (_IONBF): Likewise.
17837 (SEEK_CUR): Likewise.
17838 (SEEK_END): Likewise.
17839 (SEEK_SET): Likewise.
17840 (TMP_MAX): Likewise.
17841 (EOF): Use macro-int-constant. Require < 0.
17842 (NULL): Use macro-constant. Require == 0.
17843 (stdin): Require type to be FILE *.
17844 (stdout): Likewise.
17845 (stderr): Likewise.
17846 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17847 macro-int-constant.
17848 (EXIT_SUCCESS): Likewise.
17849 (NULL): Use macro-constant. Require == 0.
17850 (RAND_MAX): Use macro-int-constant.
17851 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17852 [C99-based standards] (strtof): Require function.
17853 [C99-based standards] (strtold): Likewise.
17854 [C99-based standards] (strtoll): Likewise.
17855 [C99-based standards] (strtoull): Likewise.
17856 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17857 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17858 [ISO || ISO99 || ISO11] (math.h): Likewise.
17859 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17860 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17862
d18ea0c5
AS
178632012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17864
17865 [BZ #14132]
56d25bb8
AS
17866 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17867 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17868 * intl/dgettext.c (DCGETTEXT): Likewise.
17869 * intl/gettext.c (DCGETTEXT): Likewise.
17870 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17871 * posix/regex_internal.h (gettext): Likewise.
17872 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17873 Remove declaration.
17874 * include/argz.h (__argz_count_internal)
17875 (__argz_stringify_internal): Remove declaration.
17876 (__argz_count, __argz_stringify): Declare hidden proto.
17877 * intl/dcgettext.c: Remove use of INTDEF.
17878 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17879 * string/argz-stringify.c: Likewise.
17880 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17881 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17882 Declare hidden proto.
d18ea0c5
AS
17883 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17884 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17885 Declare hidden proto.
17886 * include/stdio.h (__asprintf_internal): Don't declare.
17887 (__asprintf): Don't define as macro. Declare hidden proto.
17888 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17889 (__fsetlocking): Declare hidden proto.
17890 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17891 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17892 hidden proto.
17893 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17894 (_IO_setlinebuf): Remove use of INTUSE.
17895 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17896 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17897 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17898 Remove declaration.
17899 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17900 (_IO_do_flush): Remove use of INTUSE.
17901 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17902 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17903 (_IO_adjust_column, _IO_least_wmarker)
17904 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17905 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17906 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17907 (_IO_default_doallocate, _IO_wdefault_doallocate)
17908 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17909 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17910 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17911 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17912 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17913 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17914 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17915 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17916 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17917 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17918 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17919 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17920 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17921 proto.
17922 (_IO_flush_all_internal, _IO_adjust_column_internal)
17923 (_IO_default_uflow_internal, _IO_default_finish_internal)
17924 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17925 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17926 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17927 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17928 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17929 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17930 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17931 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17932 (_IO_file_close_internal, _IO_file_close_it_internal)
17933 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17934 (_IO_file_init_internal, _IO_file_attach_internal)
17935 (_IO_file_fopen_internal, _IO_file_read_internal)
17936 (_IO_file_sync_internal, _IO_file_seek_internal)
17937 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17938 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17939 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17940 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17941 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17942 (_IO_list_all_internal, _IO_link_in_internal)
17943 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17944 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17945 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17946 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17947 (_IO_do_write_internal, _IO_padn_internal)
17948 (_IO_getline_info_internal, _IO_getline_internal)
17949 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17950 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17951 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17952 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17953 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17954 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17955 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17956 with libc_hidden_ver, remove use of INTUSE.
17957 * libio/genops.c: Likewise.
17958 * libio/freopen.c: Likewise.
17959 * libio/freopen64.c: Likewise.
17960 * libio/iofclose.c: Likewise.
17961 * libio/iofdopen.c: Likewise.
17962 * libio/iofflush.c: Likewise.
17963 * libio/iofflush_u.c: Likewise.
17964 * libio/iofgets.c: Likewise.
17965 * libio/iofgets_u.c: Likewise.
17966 * libio/iofopen.c: Likewise.
17967 * libio/iofopncook.c: Likewise.
17968 * libio/iofread.c: Likewise.
17969 * libio/iofread_u.c: Likewise.
17970 * libio/ioftell.c: Likewise.
17971 * libio/iofwrite.c: Likewise.
17972 * libio/iogetline.c: Likewise.
17973 * libio/iogets.c: Likewise.
17974 * libio/iogetwline.c: Likewise.
17975 * libio/iopadn.c: Likewise.
17976 * libio/iopopen.c: Likewise.
17977 * libio/ioseekoff.c: Likewise.
17978 * libio/ioseekpos.c: Likewise.
17979 * libio/iosetbuffer.c: Likewise.
17980 * libio/iosetvbuf.c: Likewise.
17981 * libio/ioungetc.c: Likewise.
17982 * libio/ioungetwc.c: Likewise.
17983 * libio/iovdprintf.c: Likewise.
17984 * libio/iovsprintf.c: Likewise.
17985 * libio/iovsscanf.c: Likewise.
17986 * libio/memstream.c: Likewise.
17987 * libio/obprintf.c: Likewise.
17988 * libio/oldfileops.c: Likewise.
17989 * libio/oldiofclose.c: Likewise.
17990 * libio/oldiofdopen.c: Likewise.
17991 * libio/oldiofopen.c: Likewise.
17992 * libio/oldiopopen.c: Likewise.
17993 * libio/oldstdfiles.c: Likewise.
17994 * libio/putc.c: Likewise.
17995 * libio/setbuf.c: Likewise.
17996 * libio/setlinebuf.c: Likewise.
17997 * libio/stdfiles.c: Likewise.
17998 * libio/strops.c: Likewise.
17999 * libio/vasprintf.c: Likewise.
18000 * libio/vscanf.c: Likewise.
18001 * libio/vsnprintf.c: Likewise.
18002 * libio/vswprintf.c: Likewise.
18003 * libio/wfiledoalloc.c: Likewise.
18004 * libio/wfileops.c: Likewise.
18005 * libio/wgenops.c: Likewise.
18006 * libio/wmemstream.c: Likewise.
18007 * libio/wstrops.c: Likewise.
18008 * libio/__fpurge.c: Likewise.
18009 * libio/__fsetlocking.c: Likewise.
18010 * assert/assert.c: Likewise.
18011 * debug/fgets_chk.c: Likewise.
18012 * debug/fgets_u_chk.c: Likewise.
18013 * debug/fread_chk.c: Likewise.
18014 * debug/fread_u_chk.c: Likewise.
18015 * debug/gets_chk.c: Likewise.
18016 * debug/obprintf_chk.c: Likewise.
18017 * debug/vasprintf_chk.c: Likewise.
18018 * debug/vdprintf_chk.c: Likewise.
18019 * debug/vsnprintf_chk.c: Likewise.
18020 * debug/vsprintf_chk.c: Likewise.
18021 * malloc/mtrace.c: Likewise.
18022 * misc/error.c: Likewise.
18023 * misc/syslog.c: Likewise.
18024 * stdio-common/asprintf.c: Likewise.
18025 * stdio-common/fxprintf.c: Likewise.
18026 * stdio-common/getw.c: Likewise.
18027 * stdio-common/isoc99_fscanf.c: Likewise.
18028 * stdio-common/isoc99_scanf.c: Likewise.
18029 * stdio-common/isoc99_vfscanf.c: Likewise.
18030 * stdio-common/isoc99_vscanf.c: Likewise.
18031 * stdio-common/isoc99_vsscanf.c: Likewise.
18032 * stdio-common/printf-prs.c: Likewise.
18033 * stdio-common/printf_fp.c: Likewise.
18034 * stdio-common/printf_fphex.c: Likewise.
18035 * stdio-common/printf_size.c: Likewise.
18036 * stdio-common/putw.c: Likewise.
18037 * stdio-common/scanf.c: Likewise.
18038 * stdio-common/sprintf.c: Likewise.
18039 * stdio-common/tmpfile.c: Likewise.
18040 * stdio-common/vfprintf.c: Likewise.
18041 * stdio-common/vfscanf.c: Likewise.
18042 * stdlib/strfmon_l.c: Likewise.
18043 * sunrpc/openchild.c: Likewise.
18044 * sunrpc/xdr_stdio.c: Likewise.
18045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18046 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18047
d6c33fda
RM
180482012-05-24 Roland McGrath <roland@hack.frob.com>
18049
c1487492
RM
18050 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18051
18052 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18053 in the third column, to generate for the shared library an IFUNC
18054 that uses _dl_vdso_vsym.
18055 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18056 * Makeconfig (object-suffixes-noshared): New variable.
18057
18058 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18059 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18060 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18061 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18062
d6c33fda
RM
18063 [BZ #14132]
18064 * include/sys/time.h (__gettimeofday): Remove macro.
18065 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18066 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18067 Remove INTDEF.
18068 (__gettimeofday): Add libc_hidden_def.
18069 (gettimeofday): Add libc_hidden_weak.
18070 * sysdeps/mach/gettimeofday.c: Likewise.
18071 * sysdeps/posix/gettimeofday.c: Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18073 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18075 (__gettimeofday_internal): Remove strong_alias.
18076 (__gettimeofday): Add libc_hidden_def.
18077 (gettimeofday): Add libc_hidden_weak.
18078 * sysdeps/unix/syscalls.list (gettimeofday):
18079 Remove __gettimeofday_internal alias.
18080
b5a2bbe6
L
180812012-05-24 Daniel Jacobowitz <drow@false.org>
18082 H.J. Lu <hongjiu.lu@intel.com>
18083
18084 [BZ #12495]
18085 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18086 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18087 (largebin_index_32_big): New.
18088 (largebin_index): Use it for 16-byte alignment.
18089 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18090 correction with front_misalign.
18091
cfba4fda
L
180922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18093
7f907421
L
18094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18096 Likewise.
18097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18098 Likewise.
18099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18100 Likewise.
18101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18102 Likewise.
18103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18104 Likewise.
18105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18106 Likewise.
18107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18108 Likewise.
18109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18110 Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18112 Likewise.
18113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18114 Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18118 Likewise.
18119
cfba4fda
L
18120 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18121 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18122
80bad0cc
JM
181232012-05-24 Joseph Myers <joseph@codesourcery.com>
18124
7a25eb06
JM
18125 [BZ #10846]
18126 [BZ #14036]
18127 * math/libm-test.inc (exp_test): Add test from bug 14036.
18128 (pow_test): Add test from bug 10846.
18129
795405f9
JM
18130 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18131 and other flags.
18132 (special_function): Do not include flags in test name.
18133 (parse_args): Likewise.
18134 * sysdeps/i386/fpu/libm-test-ulps: Update.
18135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18136 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18137 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18139
80bad0cc
JM
18140 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18141 exceptions.
18142 * math/libm-test.inc ("Philosophy"): Update comment about
18143 exception testing.
18144 (UNDERFLOW_EXCEPTION): New macro.
18145 (UNDERFLOW_EXCEPTION_OK): Likewise.
18146 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18147 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18148 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18149 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18150 (INVALID_EXCEPTION_OK): Update value.
18151 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18152 (OVERFLOW_EXCEPTION_OK): Likewise.
18153 (IGNORE_ZERO_INF_SIGN): Likewise.
18154 (test_exceptions): Handle underflow exceptions.
18155 (acos_test): Update for underflow exception expectations.
18156 (cexp_test): Likewise.
18157 (clog_test): Likewise.
18158 (clog10_test): Likewise.
18159 (csqrt_test): Likewise.
18160 (ctan_test): Likewise.
18161 (ctanh_test): Likewise.
18162 (exp_test): Likewise.
18163 (exp10_test): Likewise.
18164 (exp2_test): Likewise.
18165 (expm1_test): Likewise.
18166 (fma_test): Likewise.
18167 (j0_test): Likewise.
18168 (jn_test): Likewise.
18169 (nexttoward_test): Likewise.
18170 (pow_test): Likewise.
18171 (scalbn_test): Likewise.
18172 (scalbln_test): Likewise.
18173 (tan_test): Likewise.
18174 (y1_test): Likewise.
18175 * sysdeps/i386/fpu/libm-test-ulps: Update.
18176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18177
9e0e3d0b
DM
181782012-05-23 David S. Miller <davem@davemloft.net>
18179
18180 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18181 (__libc_sigaction): Remove unused local variables.
18182
ccd0a08f
L
181832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18186
62bdf9a6
PE
181872012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18188
f8591f80
PE
18189 mktime: avoid signed integer overflow
18190 * time/mktime.c (__mktime_internal): Do not mishandle the case
18191 where diff == INT_MIN.
18192
94c7d826
PE
18193 mktime: simplify computation of average
18194 * time/mktime.c (ranged_convert): Use new time_t_avg function
18195 instead of rolling our own (probably-slower) code.
18196
ce73d683
PE
18197 mktime: do not assume signed right shift propagates sign bit
18198 * time/mktime.c (isdst_differ): New static function.
18199 (__mktime_internal): No need to normalize tm_isdst now.
18200 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18201 tm_isdst values.
18202
72a22e59
PE
18203 mktime: merge another wrapv change from gnulib
18204 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18205 from some compilers.
18206
68605433
PE
18207 mktime: remove incorrect attempt at unusual arithmetics
18208 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18209 The code didn't really work on such machines anyway.
18210 (TYPE_MINIMUM): Assume two's complement.
18211 (twos_complement_arithmetic): Verify that long_int and time_t
18212 are two's complement (or unsigned, in the latter case).
18213
03cf7fe3
PE
18214 mktime: check signed shifts on long_int and time_t, too
18215 * time/mktime.c (SHR): Check that shifts work as desired
18216 on the types long_int and time_t too, as SHR is used on
18217 such types.
18218
f04dfbc2
PE
18219 mktime: do not assume 'long' is wide enough
18220 * time/mktime.c (verify): Move decl up.
18221 (long_int): New type.
18222 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18223 to remove assumption in the code that 'long' is wide enough to
18224 store year values. This assumption is not true on x32 and on
18225 some non-glibc platforms.
18226
62bdf9a6
PE
18227 mktime: merge wrapv change from gnulib
18228 * time/mktime.c (WRAPV): New macro.
18229 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18230 (guess_time_tm, __mktime_internal): Do not assume that signed
18231 integer overflow wraps around; modern compilers generate code
18232 where this assumption is no longer valid.
18233
5e292e4f
L
182342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18237 Replace "jmp L(pseudo_end)" with "ret".
18238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18239 Likewise.
18240
8caf8c87
AJ
182412012-05-23 Andreas Jaeger <aj@suse.de>
18242
18243 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18244 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18245
1a09dc56
AJ
182462012-05-23 Andreas Jaeger <aj@suse.de>
18247 Maximilian Attems <max@stro.at>
18248
18249 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18250 New macros.
18251
1c87aba0
L
182522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18253
18254 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18255 code so that pseudo_end is just ret and the stack pointer is
18256 correct also for static library in error case.
18257
40e45bd5
JM
182582012-05-23 Joseph Myers <joseph@codesourcery.com>
18259
c2670533
JM
18260 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18261 move to syscalls.list.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18266
40e45bd5
JM
18267 * manual/install.texi (Running make install): Do not mention Linux
18268 kernel version for which pt_chown is not needed.
18269 (Linux): Do not mention problems with nscd with 2.0 kernels.
18270 * INSTALL: Regenerated.
18271
be08eda5
AJ
182722012-05-23 Andreas Jaeger <aj@suse.de>
18273
18274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18275 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18276 macro.
18277 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18279 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18281 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18283 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18285 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18286 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18287 * sysdeps/unix/sysv/linux/bits/in.h
18288 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18289
a6a056bb
RM
182902012-05-22 Roland McGrath <roland@hack.frob.com>
18291
18292 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18293 (PREPARE_VERSION): Just use assert instead, it will be elided
18294 under [NDEBUG] anyway.
18295
c9009328
L
182962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18297
18298 * sysdeps/unix/sysv/linux/Makefile: Include
18299 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18300 (sysdep_routines): Remove sysctl.
c9009328
L
18301 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18302 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18303 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18304 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18305 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18306
73338355
AJ
183072012-05-22 Andreas Jaeger <aj@suse.de>
18308
18309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18310 that pseudo_end is just ret and the stack pointer is correct also
18311 for static library in error case.
18312
d44638b0
PP
183132012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18314
18315 [BZ #14122]
18316 * nss/nsswitch.c (defconfig_entries): New variable.
18317 (__nss_database_lookup): Don't leak defconfig entries.
18318 (nss_parse_service_list): Don't leak on error paths.
18319 (free_database_entries): New function.
18320 (free_defconfig): New function.
18321 (free_mem): Move common code to free_database_entries.
18322
31a39bd8
L
183232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18324
da0331a8
L
18325 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18326 Add arch_prctl.
18327 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18328
31a39bd8
L
18329 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18330 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18332 New macro.
18333 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18334 (INTERNAL_SYSCALL_TYPES): Likewise.
18335 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18336 (LOAD_REGS_TYPES_[1-6]): Likewise.
18337 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18338 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18339
45470df3
AZ
183402012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18341
18342 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18343 copysignl for GLIBC_2_0.
18344 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18345 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18347 logbl for GLIBC_2_0.
18348 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18349 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18350
98a61bcb
L
183512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18352
a4f6e481
L
18353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18355
f63d5db6
L
18356 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18357 Use "neg %eax".
18358
98a61bcb
L
18359 * time/mktime.c: Update copyright years.
18360
95770f14
PE
183612012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18362
6226efbd
PE
18363 mktime: merge comment-quoting-style change from gnulib
18364 * time/mktime.c: Quote 'like this' in comments.
18365 The GNU coding standards suggest that we no longer quote `like this',
18366 as "`" and "'" are typically rendered asymmetrically nowadays.
18367 The typical gnulib style is to quote 'like this' when quoting
18368 code, and "like this" when quoting English.
18369
b99e4f78
PE
18370 * time/mktime.c (compile-command): Add "-I.".
18371
643e01e6
PE
18372 mktime: merge mktime-internal.h change from gnulib
18373 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18374
2554247d
PE
18375 mktime: merge time_r change from gnulib
18376 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18377
826dd0ab
PE
18378 mktime: merge DEBUG change from gnulib
18379 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18380 case system <time.h> has a #define.
18381
bd83aabe
PE
18382 mktime: merge <sys/types.h> change from gnulib
18383 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18384 since <time.t> is now guaranteed to define time_t.
18385
95770f14
PE
18386 mktime: merge HAVE_CONFIG_H change from gnulib
18387 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18388
5e1a27a9
L
183892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18390
0e44a77e
L
18391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18392 Use "neg %eax".
18393
5e1a27a9
L
18394 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18395 __rlim_t cast.
18396 (struct rusage): Use anonymous union to pad each field to
18397 __syscall_slong_t.
18398
46259bec
DM
183992012-05-21 David S. Miller <davem@davemloft.net>
18400
18401 * Makefules (o-iterator): Remove .s cases.
18402 (compile-command.s): Delete.
18403 (COMPILE.s): Delete.
18404 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18405
59f0c22e
JM
184062012-05-21 Joseph Myers <joseph@codesourcery.com>
18407
18408 * configure.in (libc_cv_predef_stack_protector): Only consider
18409 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18410 * configure: Regenerated.
18411
20c07380
L
184122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18413
bbb3154b
L
18414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18415 New macro. Use R*LP on int and pointer.
18416 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18417 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18418 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18419 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18420
20c07380
L
18421 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18422 [__WORDSIZE_TIME64_COMPAT32] instead of
18423 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18424 (struct utmp): Likewise.
18425 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18426 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18427 Renamed to ...
18428 (__WORDSIZE_TIME64_COMPAT32): This.
18429 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18430 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18431 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18433 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18434 (__WORDSIZE_TIME64_COMPAT32): New macro.
18435
d8d1017e
AJ
184362012-05-21 Andreas Jaeger <aj@suse.de>
18437
18438 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18439 only if [SHARED]. Add prototype for __wcschr_ia32.
18440
6c7fb145
RM
184412012-05-21 Roland McGrath <roland@hack.frob.com>
18442
18443 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18444 of %rbp unmolested in the jmp_buf while mangling the low bits.
18445 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18446 unmolested high bits of %rbp while demangling the low bits.
18447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18448
66274218
AJ
184492012-05-21 Andreas Jaeger <aj@suse.de>
18450
07c58f8f
AJ
18451 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18452 * sunrpc/svc_simple.c: Use it for registerrpc.
18453 * sunrpc/xcrypt.c: Use it for passwd2des.
18454
66274218
AJ
18455 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18456
61f65140
L
184572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18458
18459 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18460 Don't define if [__SYSCALL_WORDSIZE != 32].
18461 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18462 New macro.
18463
5fefb436
AJ
184642012-05-21 Bruno Haible <bruno@clisp.org>
18465 Andreas Jaeger <aj@suse.de>
18466
18467 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18468 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18469 inptr and inend for must_buffer_ch.
18470 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18471 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18472 * stdio-common/Makefile (tests): Remove bug15.
18473 (bug15-ENV): Remove macro.
18474 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18475 anymore.
18476
d8e272ab
AJ
184772012-05-19 Andreas Jaeger <aj@suse.de>
18478 Roland McGrath <roland@hack.frob.com>
18479
18480 * manual/contrib.texi: Completely rewritten. It contains now an
18481 alphabetical list of contributors and their contributions.
18482
4a56a162
RH
184832012-05-21 Richard Henderson <rth@twiddle.net>
18484
18485 * misc/getauxval.c (__getauxval): Use unsigned long int.
18486 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18487 (getauxval): Use unsigned long int.
18488
d024d23c
L
184892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18490
18491 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18492
cbc00a03
RM
184932012-05-21 Roland McGrath <roland@hack.frob.com>
18494
18495 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18496 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18497 __alignof__ (long double).
18498
478143fa
AZ
184992012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18500
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18502
c7683a6d
RH
185032012-05-20 Richard Henderson <rth@twiddle.net>
18504
18505 * misc/getauxval.c: New file.
18506 * misc/sys/auxv.h: New file.
18507 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18508 (routines): Add getauxval.
18509 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18510 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18511 * elf/dl-sysdep.c (_dl_auxv): Remove.
18512 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18513 * elf/dl-support.c (_dl_auxv): New variable.
18514 (_dl_aux_init): Initialize it.
18515 * manual/startup.texi (Auxiliary Vector): New node.
18516 * sysdeps/generic/bits/hwcap.h: New file.
18517 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18518 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18519 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18520 * sysdeps/sparc/sysdep.h: ... here. Include it.
18521 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18524 Update.
c7683a6d
RH
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18533
a6f1845d
AZ
185342012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18535
18536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18537
cbcbe830
DM
185382012-05-19 David S. Miller <davem@davemloft.net>
18539
18540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18541
e0b16cc2
JM
185422012-05-19 Joseph Myers <joseph@codesourcery.com>
18543
18544 [BZ #14123]
18545 * math/s_ccosh.c: Include <float.h>
18546 (__ccosh): Avoid internal overflow calculating sinh and cosh
18547 values before multiplying by sin and cos values.
18548 * math/s_ccoshf.c: Likewise.
18549 * math/s_ccoshl.c: Likewise.
18550 * math/s_csin.c: Likewise.
18551 * math/s_csinf.c: Likewise.
18552 * math/s_csinl.c: Likewise.
18553 * math/s_csinh.c: Likewise.
18554 * math/s_csinhf.c: Likewise.
18555 * math/s_csinhl.c: Likewise.
18556 * math/libm-test.inc (ccos_test): Add more tests.
18557 (ccosh_test): Likewise.
18558 (csin_test): Likewise.
18559 (csinh_test): Likewise.
18560 * sysdeps/i386/fpu/libm-test-ulps: Update.
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18562
6ad13e08
L
185632012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18564
f66f0ce8
L
18565 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18566 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18567
6ad13e08
L
18568 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18569
b1d072a7
JM
185702012-05-19 Joseph Myers <joseph@codesourcery.com>
18571
18572 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18573 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18574 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18575 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18576 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18577 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18578 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18579 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18580 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18581 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18582 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18583 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18584 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18585 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18586 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18587 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18588 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18589 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18590 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18591 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18592 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18593 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18594 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18595 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18596 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18597 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18598 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18599 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18600 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18601 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18602 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18603
9eae47cb
AJ
186042012-05-18 Andreas Jaeger <aj@suse.de>
18605
18606 * csu/.gitignore: Delete.
18607
bb07f69f
L
186082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18609
18610 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18611 (timex): Use __syscall_slong_t.
18612
e6bdb741
AJ
186132012-05-18 Andreas Jaeger <aj@suse.de>
18614 Carlos O'Donell <carlos_odonell@mentor.com>
18615
18616 * manual/install.texi (Configuring and compiling): Update
18617 description about files modified in the source directory.
d6c33fda 18618 * INSTALL: Regenerated.
e6bdb741 18619
1b74487e
L
186202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18623 value. Use "or" to set return value to -1.
18624 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18625 negate return value.
18626
a88b64b9
TMQMF
186272012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18628
18629 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18630 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18631 failure if the compiler has Graphite support disabled.
18632 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18633 Likewise.
18634 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18635 CFLAGS-memmove.c): Likewise.
18636 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18637 Likewise.
18638
3707636e
L
186392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18640
610b8622
L
18641 * sysdeps/x86_64/x32/_itoa.h: New file.
18642
7cd195df
L
18643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18644 getdents system call only if kernel and user dirents have the
18645 same d_ino and d_off.
18646
94b07d20
L
18647 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18648 LLONG_MAX != LONG_MAX.
18649 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18650 (_fitoa_word): Likewise.
18651
18298070
L
18652 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18653 years.
18654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18657
553c7ea4
L
18658 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18659 include <bits/wordsize.h>. Check __x86_64__ instead of
18660 __WORDSIZE.
18661 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18662 if __x86_64__ is defined. Use anonymous union on fpstate.
18663
3707636e
L
18664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18665 anonymous union.
18666
b53ef01a
AS
186672012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18668
37fb1dc0
AS
18669 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18670 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18671 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18672 Refer to _rtld_local_ro instead of _rtld_global_ro.
18673 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18674 Likewise.
18675 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18676 Likewise.
18677 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18678 Likewise.
18679 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18680 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18681 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18682
b53ef01a
AS
18683 * sysdeps/powerpc/powerpc32/dl-machine.c
18684 (__elf_machine_runtime_setup) [PROF]: Don't reference
18685 _dl_prof_resolve.
18686
7a185db2
AJ
186872012-05-18 Andreas Jaeger <aj@suse.de>
18688
18689 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18690 function only available for GCCs before 3.4 since GCC 3.4
18691 introduced a builtin.
18692 (lrint): Likewise.
18693 (llrintf): Likewise.
18694 (llrint): Likewise.
18695 (fmaxf): Likewise.
18696 (fmax): Likewise.
18697 (fminf): Likewise.
18698 (fmin): Likewise.
18699 (rint): Likewise.
18700 (rintf): Likewise.
18701 (nearbyint): Likewise.
18702 (nearbyintf): Likewise.
18703 (ceil): Likewise.
18704 (ceilf): Likewise.
18705 (floor): Likewise.
18706 (floorf): Likewise.
18707
3e5aef87
L
187082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18709
428bd707
L
18710 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18711 on both fields and cast pointer to __syscall_ulong_t.
18712
3e5aef87
L
18713 * bits/types.h (__fsword_t): New type.
18714 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18715 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18717 (__FSWORD_T_TYPE): Likewise.
18718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18719 (__FSWORD_T_TYPE): Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18721 (__FSWORD_T_TYPE): Likewise.
18722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18723 (__FSWORD_T_TYPE): Likewise.
18724 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18725 __SWORD_TYPE with __fsword_t.
18726 (statfs64): Likewise.
18727
1ba7c3dc
DM
187282012-05-17 David S. Miller <davem@davemloft.net>
18729
18730 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18731
59910343
AJ
187322012-05-17 Andreas Jaeger <aj@suse.de>
18733
18734 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18735 warning.
18736
2e4c1e9e
L
187372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18740
de7f5ce7
AJ
187412012-05-17 Andreas Jaeger <aj@suse.de>
18742
18743 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18744 when it is used.
18745
286abc3d
CM
187462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18747
18748 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18749
477cc68e
L
187502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18751
18752 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18753 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18754
1a0994f5
CD
187552012-05-17 Andreas Jaeger <aj@suse.de>
18756 Carlos O'Donell <carlos_odonell@mentor.com>
18757
18758 [BZ #14059]
18759 * sysdeps/x86_64/multiarch/init-arch.h
18760 (bit_YMM_Usable): Rename to...
18761 (bit_AVX_Usable): ... this.
18762 (bit_FMA4_Usable): New macro.
18763 (bit_XMM_state): New macro.
18764 (bit_YMM_state): New macro.
18765 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18766 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18767 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18768 (CPUID_OSXSAVE): New macro.
18769 (CPUID_AVX): New macro.
18770 (CPUID_FMA4): New macro.
18771 (index_YMM_Usable): Rename to...
18772 (index_AVX_Usable): ... this.
18773 (HAS_AVX): Use HAS_ARCH_FEATURE.
18774 (HAS_FMA4): Likewise.
18775 (HAS_YMM_USABLE): Remove.
18776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18777 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18778 are present.
18779 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18780 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18781 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18782 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18783 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18784
0af797de
CM
187852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18786
18787 * math/libm-test.c: Support platforms without multiple rounding modes.
18788 * math/bug-nextafter.c: Support platforms without FP exceptions.
18789 * math/bug-nexttoward.c: Likewise.
18790 * math/test-fenv.c: Likewise.
18791 * math/test-misc.c: Likewise.
18792 * stdlib/bug-getcontext.c: Likewise.
18793
e39745ff
AJ
187942012-05-17 Andreas Jaeger <aj@suse.de>
18795
18796 * manual/examples/search.c (critter_cmp): Change signature to
18797 avoid warnings.
18798 * manual/string.texi (Collation Functions): Likewise.
18799
48970aba
L
188002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 * bits/types.h: Fold copyright years.
18803 * bits/typesizes.h: Likewise.
18804 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18808 * time/time.h: Likewise.
18809
bedee953
PP
188102012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18811
18812 [BZ #208]
18813 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18814 in instead of returning them. Return void.
18815 (__libc_mallinfo): Accumulate over all arenas.
18816 (__malloc_stats): Adjust for change in int_mallinfo interface.
18817
61653dfb
RM
188182012-05-16 Roland McGrath <roland@hack.frob.com>
18819
30b99d79
RM
18820 [BZ #10375]
18821 * configure.in (NM): Add AC_CHECK_TOOL for it.
18822 (libc_extra_cflags): New substituted variable.
18823 Check for -fstack-protector being used implicitly.
18824 * configure: Regenerated.
18825 * config.make.in (config-extra-cflags): New variable,
18826 gets @libc_extra_cflags@.
18827 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18828
61653dfb
RM
18829 [BZ #10375]
18830 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18831 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18832 * configure: Regenerated.
18833 * config.make.in (CPPUNDEFS): New substituted variable.
18834 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18835 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18836 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18837
661768bb
L
188382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18839
18840 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18841 (mq_attr): Use __syscall_slong_t.
18842
d4261567
L
188432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18844
18845 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18846 Check __x86_64__ instead of __WORDSIZE.
18847 (_STAT_VER_LINUX): Likewise.
18848 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18849 __syscall_ulong_t and __syscall_slong_t.
18850 (stat64): Likewise.
18851
cf3ff365
L
188522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18853
18854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18855
76cf3e4d
L
188562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18857
18858 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18859
a637753a
L
188602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18861
18862 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18863 __syscall_ulong_t.
18864
d5e05119
L
18865 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18866 include <bits/wordsize.h>. Check __x86_64__ instead of
18867 __WORDSIZE.
18868 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18869 defined.
18870 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18871
f62ee380
L
18872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18873 include <bits/wordsize.h>. Check __x86_64__ instead of
18874 __WORDSIZE.
18875 (user_regs_struct): Use "__extension__ unsigned long long"
18876 instead of "unsigned long" if __x86_64__ is defined.
18877 (user): Likewise. Pad after pointer field if __ILP32__ is
18878 defined.
18879
4e124ced
JM
188802012-05-16 Joseph Myers <joseph@codesourcery.com>
18881
6a3951a0
JM
18882 * configure.in (makeinfo): Require version 4.5 or later. Allow
18883 versions 5 to 9.
18884 * configure: Regenerated.
18885 * manual/install.texi (texinfo): Increase version requirement to
18886 4.5 or later.
18887 * INSTALL: Regenerated.
18888
4e124ced
JM
18889 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18890
953ca31a
L
188912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18894
617aca05
L
18895 * sysdeps/x86_64/x32/ffs.c: New file.
18896
5762f7ae
L
18897 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18898 __syscall_ulong_t.
18899 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18900 defined. Use __syscall_ulong_t.
18901 (shminfo): Use __syscall_ulong_t.
18902 (shm_info): Likewise.
18903
a26b6856
L
18904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18905 __syscall_ulong_t.
18906
cb2b9ef7
L
18907 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18908 <bits/wordsize.h>.
18909 (msgqnum_t): Use __syscall_ulong_t.
18910 (msglen_t): Likewise.
18911 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18912 __syscall_ulong_t.
18913
34683bb0
L
18914 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18915 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18916
84a68786
L
18917 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18918
48baa5f1
L
18919 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18920 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18921
180be88b
L
18922 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18923 __syscall_slong_t.
18924
5e90c8ad
L
18925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18926 include <bits/wordsize.h>. Check __x86_64__ instead of
18927 __WORDSIZE.
18928
23dfb58b
L
18929 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18930 "unsigned long long int" if __x86_64__ is defined.
18931 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18932
ce5d54b0
L
18933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18934 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18935 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18936
13dc9eac
L
18937 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18938 <stdint.h>.
18939 (GET_PC): Cast to uintptr_t first.
18940 (GET_FRAME): Likewise.
18941 (GET_STACK): Likewise.
18942
a7895d15
L
18943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18946 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18952 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18953 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18954 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18958 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18969 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18972
656416c9
AS
189732012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18974
5bd66283
AS
18975 * Makerules (+depfiles): Also collect depfiles from .oS in
18976 $(extra-objs).
18977 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18978 .oS, $(libnldbl-routines)).
18979
656416c9
AS
18980 * Makerules (native-compile-mkdep-flags): Define.
18981 * sunrpc/Makefile (extra-objs): Add $(addprefix
18982 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18983 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18984 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18985 calling $(make-target-directory).
18986
a46f2169
L
189872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18988
18989 * bits/types.h (__snseconds_t): Removed.
18990 * time/time.h (struct timespec): Replace __snseconds_t with
18991 __syscall_slong_t.
18992 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18993 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18994 Likewise.
18995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18996 (__SNSECONDS_T_TYPE): Likewise.
18997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18998 (__SNSECONDS_T_TYPE): Likewise.
18999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19000 (__SNSECONDS_T_TYPE): Likewise.
19001
6af6528b
L
190022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 * sysdeps/mach/hurd/bits/typesizes.h
19005 (__SYSCALL_SLONG_TYPE): New macro.
19006 (__SYSCALL_ULONG_TYPE): Likewise.
19007
de986b56
L
190082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19009
19010 * bits/types.h (__syscall_slong_t): New type.
19011 (__syscall_ulong_t): Likewise.
19012
19013 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19014 (__SYSCALL_ULONG_TYPE): Likewise.
19015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19016 (__SYSCALL_SLONG_TYPE): Likewise.
19017 (__SYSCALL_ULONG_TYPE): Likewise.
19018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19019 (__SYSCALL_SLONG_TYPE): Likewise.
19020 (__SYSCALL_ULONG_TYPE): Likewise.
19021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19022 (__SYSCALL_SLONG_TYPE): Likewise.
19023 (__SYSCALL_ULONG_TYPE): Likewise.
19024
85736dc7
L
190252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19026
19027 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19028 Add sigaltstack-offsets.sym.
19029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19030 <sigaltstack-offsets.h>.
19031 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19032 longjmp_msg pointer.
19033 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19034 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19035 signal stack.
19036 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19037
cc03b296
JM
190382012-05-15 Joseph Myers <joseph@codesourcery.com>
19039
a9538892
JM
19040 * elf/stackguard-macros.h: Remove file.
19041 * sysdeps/generic/stackguard-macros.h: New file.
19042 * sysdeps/i386/stackguard-macros.h: Likewise.
19043 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19044 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19045 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19046 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19047 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19048 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19049 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19050 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19051 <elf/stackguard-macros.h>.
19052
cc03b296
JM
19053 [BZ #14109]
19054 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19055 __aligned__ in attribute.
19056 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19057 (gregset_t): Likewise.
19058
93171016
L
190592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19060
19061 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19062 * sysdeps/x86_64/64/Implies-after: Here. New file.
19063 * sysdeps/x86_64/x32/Implies-after: New file.
19064
d86813a0
L
190652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19068 and access return value for _dl_profile_fixup. Use R10_LP to
19069 load frame size.
19070
2953ec75
L
190712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19072
19073 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19074
3b550e9e
L
190752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19076
19077 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19078 * sysdeps/x86_64/x32/sysdep.h: New file.
19079
eda41706
L
190802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19081
19082 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19083 * sysdeps/x86_64/setjmp.S: Likewise.
19084
9ea01d93
AZ
190852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19086
19087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19088 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19089 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19091 remove unused global constant.
19092
02a91938
CM
190932012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19094
19095 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19096 include of <not-cancel.h>.
19097
6540185f
RM
190982012-05-15 Roland McGrath <roland@hack.frob.com>
19099
19100 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19101
509072a0
AJ
191022012-05-15 Jeff Law <law@redhat.com>
19103 Andreas Jaeger <aj@suse.de>
19104
19105 [BZ #13594]
19106 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19107 out from...
19108 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19109 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19110 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19111 code changing __hst_map_handle.map.
19112
ba75122d
RM
191132012-05-15 Roland McGrath <roland@hack.frob.com>
19114
19115 * configure.in (sysnames): Look for Implies-before and Implies-after
19116 files.
19117 * configure: Regenerated.
19118
890d8bd8
L
191192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19120
19121 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19122 8-byte data alignment with LP_SIZE alignment.
19123
f6ee6623
L
191242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19125
19126 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19127 into R10_LP.
19128
ea2626f6
L
191292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19130
19131 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19132
085f715e
L
191332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19134
19135 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19136 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19138 Likewise.
19139 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19140
be8498fc
L
191412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19144 (stackinfo_sub_sp): Likewise.
19145
70bc83b9
L
191462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19147
19148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19149 RAX_LP.
19150
9bc0b730
L
191512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19154 into R*_LP.
19155
6d2850e7
L
191562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19157
19158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19159 sizes into R*_LP.
19160
3cb84561
L
191612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19162
19163 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19164
54e2ed81
L
191652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19168 into R11_LP and load __x86_64_shared_cache_size_half into
19169 R8_LP.
19170
8a17f349
L
191712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19174 R8_LP.
19175
777b1eea
AZ
191762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19177
19178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19179 logb for POWER7.
19180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19181 logbf for POWER7.
19182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19183 logbl for POWER7.
19184 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19185 powerpc32/power7/fpu/s_logb.c via #include.
19186 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19187 powerpc32/power7/fpu/s_logbf.c via #include.
19188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19189 powerpc32/power7/fpu/s_logbl.c via #include.
19190
d20d4ac2
JM
191912012-05-15 Joseph Myers <joseph@codesourcery.com>
19192
19193 * README.libm: Remove file.
19194
6cdef1ab
L
191952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19196
19197 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19198 count for x32. Use R*_LP and omit operand-size suffix.
19199
0b254d8f
L
192002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19201
19202 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19203 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19204 * sysdeps/x86_64/x32/shlib-versions: New file.
19205
ceb809dc
RM
192062012-05-14 Roland McGrath <roland@hack.frob.com>
19207
19208 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19209 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19210 Use _dl_fatal_printf instead.
19211
37f1abd4
JM
192122012-05-14 Joseph Myers <joseph@codesourcery.com>
19213
19214 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19215 set if not set by the user. Do not allow for being unset.
19216 * sysdeps/unix/sysv/linux/configure: Regenerated.
19217
11de3a33
L
192182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19219
19220 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19221 the `q' suffix from lea and replace .quad with ASM_ADDR.
19222
e02f153a
L
192232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19226 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19227 instead of $17.
19228 (PTR_DEMANGLE): Likewise.
19229
520ae0fd
L
192302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19233 (LP_OP): Likewise.
19234 (ASM_ADDR): Likewise.
19235 (RAX_LP): Likewise.
19236 (RBP_LP): Likewise.
19237 (RBX_LP): Likewise.
19238 (RCX_LP): Likewise.
19239 (RDI_LP): Likewise.
19240 (RSI_LP): Likewise.
19241 (RSP_LP): Likewise.
19242 (R8_LP): Likewise.
19243 (R9_LP): Likewise.
19244 (R10_LP): Likewise.
19245 (R10_LP): Likewise.
19246 (R11_LP): Likewise.
19247 (R12_LP): Likewise.
19248 (R13_LP): Likewise.
19249 (R14_LP): Likewise.
19250 (R15_LP): Likewise.
19251
b985be81
L
192522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 * sysdeps/x86_64/x32/dl-machine.h: New file.
19255
6a4888ff
AJ
192562012-05-14 Andreas Jaeger <aj@suse.de>
19257
19258 * manual/Makefile (subdir): Remove export of subdir.
19259 (all): Remove target.
19260 (.PHONY): Remove all from list.
19261 (mkinstalldirs): Remove.
19262 (.PHONY): Remove installdirs from list.
19263 ($(inst_infodir)/libc.info): Use make-target-directory.
19264 (installdirs): Remove.
19265 (subdir_%): Remove.
19266 (glibc-targets): Remove.
19267 (lib): Remove.
19268 (stubs): Remove.
19269 ($(objpfx)stubs ../po/manual.pot): Remove.
19270 ($(objpfx)stamp%): Remove.
19271 (make-target-directory): Remove.
19272 (subdir_install): Remove.
19273 (routines): Remove.
19274 (aux): Remove.
19275 (sources): Remove.
19276 (objects): Remove.
19277 (headers): Remove.
19278
19279 [BZ #13750]
19280 * manual/.gitignore: Remove, it's not needed anymore.
19281 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19282 all files in it.
19283 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19284 directory.
19285 (texis): Renamed to $(objpfx)texis.
19286 (texis-path): New, contains path to generated files.
19287 (chapters.%): Use texis-path for complete path, add extra argument
19288 libc-texinfo.sh.
19289 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19290 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19291 (summary,texi, stamp-summary): Use complete path of
19292 files. Generate files in build dir.
19293 (dir-add.texi): Build in build dir.
19294 (libm-err.texi,stamp-libm-err): Likewise.
19295 (version.texi, stamp-version): Likewise.
19296 (.%c.texi): Likewise.
19297 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19298 (mostlyclean): Remove target.
19299 (realclean): Remove target.
19300 (generated): Add new variable with contents from mostlyclean and
19301 realclean, remove entries duplicated in common-mostlyclean, add
19302 stamp-libm-err and stamp-version.
19303 (generated-dirs): Add libc directory.
19304 ($(inst_infodir)/libc.info): Install files from build dir.
19305
19306 * manual/install.texi (Configuring and compiling): Adjust since
19307 the info files are not part of the tar ball anymore.
19308
7ac77294
AJ
193092012-05-14 Andreas Jaeger <aj@suse.de>
19310
19311 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19312 variable.
19313
ffb7875d
JM
193142012-05-14 Joseph Myers <joseph@codesourcery.com>
19315
19316 [BZ #13717]
19317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19318 to 2.2.0 where earlier.
19319 * sysdeps/unix/sysv/linux/configure: Regenerated.
19320 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19321 Remove conditional code.
19322 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19323 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19324 Remove conditional code.
19325 [!__NR_lchown]: Likewise.
19326 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19327 [__NR_lchown]: Likewise.
19328 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19329 comment referencing __ASSUME_LCHOWN_SYSCALL.
19330 * sysdeps/unix/sysv/linux/i386/sigaction.c
19331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19333 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19334 Remove conditional code.
19335 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19336 (__protocol_available): Remove #if 0 code.
19337 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19338 conditional code.
19339 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19340 * sysdeps/unix/sysv/linux/kernel-features.h
19341 (__ASSUME_GETCWD_SYSCALL): Don't define.
19342 (__ASSUME_REALTIME_SIGNALS): Likewise.
19343 (__ASSUME_PREAD_SYSCALL): Likewise.
19344 (__ASSUME_PWRITE_SYSCALL): Likewise.
19345 (__ASSUME_POLL_SYSCALL): Likewise.
19346 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19347 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19348 non-SPARC.
19349 (__ASSUME_SIOCGIFNAME): Don't define.
19350 (__ASSUME_MSG_NOSIGNAL): Likewise.
19351 (__ASSUME_SENDFILE): Define unconditionally.
19352 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19353 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19354 conditional code.
19355 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19357 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19358 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19360 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19361 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19363 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19375 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19386 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19387 Remove conditional code.
19388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19389 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19390 Remove conditional code.
19391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19392 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19393 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19394 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19395 Remove conditional code.
19396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19397 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19398 Remove conditional code.
19399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19400 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19401 Remove conditional code.
19402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19403 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19404 Remove conditional code.
19405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19406 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19407 Remove conditional code.
19408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19409 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19412 * sysdeps/unix/sysv/linux/sigaction.c
19413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19415 * sysdeps/unix/sysv/linux/sigpending.c
19416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19418 * sysdeps/unix/sysv/linux/sigprocmask.c
19419 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19420 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19421 * sysdeps/unix/sysv/linux/sigsuspend.c
19422 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19423 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19424 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19425 (__libc_missing_rt_sigs): Remove.
19426 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19427 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19428 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19429 Remove conditional code.
19430 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19431 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19432 return 1.
19433 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19434 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19435 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19436 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19437
1bfb7291
AJ
194382012-05-14 Andreas Jaeger <aj@suse.de>
19439
caae5a81
AJ
19440 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19441 it's not used in glibc.
19442 (__coshm1): Likewise.
19443 (__acosh1p): Likewise.
19444 (__sgn): Likewise.
19445
1bfb7291
AJ
19446 * manual/string.texi (Copying and Concatenation): Add missing
19447 variable in concat example.
19448 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19449
c044d724
L
194502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19451
144c5467 19452 [BZ #14103]
c044d724
L
19453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19454 __builtin_clzl with __builtin_clzll.
19455
2523c62b
L
194562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19457
19458 [BZ #14104]
19459 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19460 libc_freeres_ptr.
19461
d7bb4c42
LD
194622012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19463
19464 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19465 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19466 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19467 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19468
9dc4e1fb
MF
194692012-05-14 Mike Frysinger <vapier@gentoo.org>
19470
19471 * NEWS: Update ia64 info.
19472
c7df0112
AS
194732012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19474
19475 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19476 used as bcopy.
19477
dc70356c
TS
194782012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19479
19480 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19481 * sysdeps/unix/syscalls.list (dup3): Likewise.
19482 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19483 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19484
9fb1a21f
L
194852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19486
19487 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19488 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19489
4822a2a5
L
194902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19491
19492 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19493 thread pointer.
19494 (TLS_IE): Use mov/add instead of movq/addq to load thread
19495 pointer.
19496 (TLS_GD_PREFIX): New.
19497 (TLS_GD): Use it.
19498
842b81d6
DM
194992012-05-11 David S. Miller <davem@davemloft.net>
19500
19501 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19502 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19503 (_FPU_SETCW): Likewise.
19504
1cf463cd
L
195052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19506
19507 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19508 is 32-byte aligned.
19509
60cc4a18
AS
195102012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19511
19512 [BZ #11837]
19513 * iconvdata/gb18030.c: Update tables.
19514 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19515 characters specially.
19516 (BODY for TO_LOOP): Add encoding of missing ranges.
19517
febb44a4
TS
195182012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19519
19520 [BZ #13673]
19521 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19522 * sysdeps/mach/hurd/dup3.c: Likewise.
19523 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19524 * sysdeps/powerpc/memmove.c:: Likewise.
19525
0a10fb9e
L
195262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19527
19528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19529 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19530
df8a552f
L
195312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * elf/elf.h (R_X86_64_RELATIVE64): New.
19534 (R_X86_64_NUM): Updated.
19535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19536 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19537 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19538 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19539 tst-quad1pie tst-quad2pie
19540 (modules-names): Add tst-quadmod1 tst-quadmod2.
19541 ($(objpfx)tst-quad1): New dependency.
19542 ($(objpfx)tst-quad2): Likewise.
19543 ($(objpfx)tst-quad1pie): Likewise.
19544 ($(objpfx)tst-quad2pie): Likewise.
19545 * sysdeps/x86_64/tst-quad1.c: New file.
19546 * sysdeps/x86_64/tst-quad1pie.c: New file.
19547 * sysdeps/x86_64/tst-quad2.c: Likewise.
19548 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19549 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19550 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19551 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19552 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19553
f34d6f84
ST
195542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19555
f42d41d1
ST
19556 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19557 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19558 * streams/stropts.h (t_scalar_t): Define type.
19559
3c3571fc
ST
19560 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19561 (_PATH_PRESERVE): Set to "/var/lib".
19562 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19563
61f06bd3
ST
19564 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19565 instead of int.
19566
918d4d71
ST
19567 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19568 if __dir_mkfile succeeded.
19569
f34d6f84
ST
19570 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19571 checking for _hurd_dtablesize. Unlock it right after having
19572 finished _hurd_dtable allocation.
19573
10589b4a
TS
195742012-05-10 Thomas Schwinge <thomas@schwinge.name>
19575
674cdbc7
TS
19576 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19577 * sysdeps/mach/hurd/configure: Regenerated.
19578 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19579 special-casing to...
19580 * sysdeps/gnu/configure.in: ... this new file.
19581 * sysdeps/unix/sysv/linux/configure: Regenerated.
19582 * sysdeps/gnu/configure: New generated file.
19583
8e41b99f
TS
19584 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19585 for Linux: use nsec instead of usec, as well as:
19586 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19587 members of type struct timespec.
19588 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19589 New macros.
19590 (struct stat64): Likewise.
19591 (_STATBUF_ST_NSEC): New macro.
19592 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19593
10589b4a
TS
19594 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19595 __strtoul_internal rather than strtoul.
19596
63643c85
PT
195972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19598
19599 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19600 and reject them.
19601
3faebe6a
ST
196022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19603
19604 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19605 which preserves existing values.
19606 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19607
c6474b07
PT
196082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19609
19610 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19611 TIMEOUT values. Return EINVAL for NFDS values either negative or
19612 greater than FD_SETSIZE.
19613
1043890b
ST
196142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19615
19616 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19617 allocated, call __vm_protect to finish enabling the existing space, and
19618 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19619 allocate the remainder.
19620
37ed8b9b
PT
196212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19622
19623 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19624 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19625
db653660
ST
196262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19627
37ed8b9b
PT
19628 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19629 sysdeps/mach/hurd/readlink.c.
b29d4053 19630
db653660
ST
19631 * posix/tst-sysconf.c (posix_options): Only use
19632 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19633 _POSIX_SYNCHRONIZED_IO when they are defined
19634 * sysdeps/mach/hurd/bits/posix_opt.h:
19635 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19636 (_XOPEN_REALTIME): Undefine macro.
19637 (_XOPEN_REALTIME_THREADS): Undefine macro.
19638 (_XOPEN_SHM): Undefine macro.
19639 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19640 macro to -1.
19641 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19642 macro to -1.
19643 (_POSIX_ASYNC_IO): Undefine macro.
19644 (_POSIX_PRIORITIZED_IO): Undefine macro.
19645 (_POSIX_SPIN_LOCKS): Define macro to -1.
19646
ee16e894
ST
19647 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19648 SA_NODEFER, SA_RESETHAND.
19649 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19650 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19651 F_DUPFD_CLOEXEC.
19652
6103ae3b
TS
196532012-05-10 Thomas Schwinge <thomas@schwinge.name>
19654
19655 * elf/Makefile (pldd-modules): Define unconditionally.
19656
80b4e5f3
TS
196572012-05-10 Thomas Schwinge <thomas@schwinge.name>
19658
19659 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19660
edadcbd6
ST
196612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19662
19663 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19664 Return ENOENT when name is empty.
19665 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19666
80694780
TS
196672012-05-10 Thomas Schwinge <thomas@schwinge.name>
19668
1792c087
TS
19669 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19670
80694780
TS
19671 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19672
6b645f0d
ST
196732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19674
80694780
TS
19675 Fix mlock in all cases except non-readable pages.
19676 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19677 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19678
6b645f0d
ST
19679 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19680 (__mkdir): When path is `/', just fail with EEXIST.
19681 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19682
e468f8a3
TS
196832012-05-10 Thomas Schwinge <thomas@schwinge.name>
19684
19685 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19686 <sys/uio.h> (for writev).
19687 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19688 and <sys/param.h> (for MIN).
19689
a4186cff
PT
196902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19691
19692 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19693 REQUESTED_TIME. Properly set the remaining time and return EINTR
19694 if interrupted.
19695
510bbf14
TS
196962012-05-10 Thomas Schwinge <thomas@schwinge.name>
19697
19698 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19699 Depend on against $(link-rpcuserlibs).
19700
5d5722e8
ST
197012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19702
a4186cff
PT
19703 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19704 (__libc_stack_end): Do not use attribute_relro.
19705 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19706 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19707 to libthread-provided value.
a4186cff
PT
19708 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19709 attribute_relro.
5d5722e8 19710
37233df9
TS
197112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19712
be971a2b
TS
19713 [BZ #3748]
19714 * bits/libc-lock.h (__libc_once_get): New macro.
19715 * sysdeps/mach/bits/libc-lock.h: Likewise.
19716 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19718 instead of using implementation details.
19719
37233df9
TS
19720 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19721 * libio/freopen.c: Likewise.
19722 * libio/freopen64.c: Likewise.
19723 * misc/syslog.c: Likewise.
19724 * nscd/connections.c: Likewise.
19725 * nscd/netgroupcache.c: Likewise.
19726 * sysdeps/posix/getcwd.c: Likewise.
19727
38de94a5
RM
197282012-05-10 Roland McGrath <roland@hack.frob.com>
19729
19730 * math/w_ilogbf.c: Add #include <limits.h>.
19731
67530489
ST
197322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19733
a4186cff 19734 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19735 path instead of returning without unlocking.
19736
67530489
ST
19737 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19738 immediate-write ioctls.
19739 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19740
5aa3a74a
TS
197412012-05-10 Thomas Schwinge <thomas@schwinge.name>
19742
18bad2ae
TS
19743 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19744 __builtin_frame_address instead of making assumptions about the
19745 location of the return address relative to DATA. Force early load of
19746 the return address.
19747 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19748 __builtin_frame_address.
19749
5aa3a74a
TS
19750 dup3 for GNU Hurd.
19751 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19752 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19753 implement dup3 and do some further code clean-ups.
19754 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19755 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19756
ecd0de9a
ST
197572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19758
cd9fa985
ST
19759 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19760
a4186cff
PT
19761 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19762 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19763 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19764 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19765 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19766 d->port.lock.
802ca5a5 19767
a4186cff
PT
19768 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19769 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19770 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19771
bcf55240
TS
197722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19773
6960eb42
TS
19774 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19775 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19776 definitions.
19777
eb43375f
TS
19778 accept4 for GNU Hurd.
19779 * include/sys/socket.h (__libc_accept4): New prototype.
19780 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19781 to implement __libc_accept4.
19782 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19783 __libc_accept4.
19784 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19785
bcf55240
TS
19786 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19787 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19788 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19789 signal-defines.sym.
19790
6178c55b
ST
197912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19792
a4186cff 19793 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19794
6f080c2f
TS
197952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19796
19797 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19798 assertion on O_CLOEXEC flag.
19799 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19800 * hurd/intern-fd.c: Likewise.
19801 * hurd/port2fd.c: Likewise.
19802
bcfe3a54
ST
198032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19804
19805 [BZ #3906]
19806 * bits/in.h (IPV6_PKTINFO): Define new macro.
19807 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19808
89c9aa49
AZ
198092012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19810
19811 [BZ #13954]
19812 [BZ #13955]
19813 [BZ #13956]
19814 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19816 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19817 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19819 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19820 * math/libm-test.inc (logb_test) : Additional logb tests.
19821
021db4be
AJ
198222012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19823 Andreas Jaeger <aj@suse.de>
19824
19825 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19826 * configure: Regenerated.
19827 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19828 * config.make.in (link-obsolete-rpc): New substituted variable.
19829 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19830 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19831 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19832 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19833 so that libc.a contains the symbols.
19834 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19835 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19836 * sunrpc/auth_none.c: Likewise.
19837 * sunrpc/auth_unix.c: Likewise.
19838 * sunrpc/authdes_prot.c: Likewise.
19839 * sunrpc/authuxprot.c: Likewise.
19840 * sunrpc/clnt_gen.c: Likewise.
19841 * sunrpc/clnt_perr.c: Likewise.
19842 * sunrpc/clnt_raw.c: Likewise.
19843 * sunrpc/clnt_simp.c: Likewise.
19844 * sunrpc/clnt_tcp.c: Likewise.
19845 * sunrpc/clnt_udp.c: Likewise.
19846 * sunrpc/clnt_unix.c: Likewise.
19847 * sunrpc/des_crypt.c: Likewise.
19848 * sunrpc/des_soft.c: Likewise.
19849 * sunrpc/get_myaddr.c: Likewise.
19850 * sunrpc/key_call.c: Likewise.
19851 * sunrpc/key_prot.c: Likewise.
19852 * sunrpc/netname.c: Likewise.
19853 * sunrpc/pm_getmaps.c: Likewise.
19854 * sunrpc/pm_getport.c: Likewise.
19855 * sunrpc/pmap_clnt.c: Likewise.
19856 * sunrpc/pmap_prot.c: Likewise.
19857 * sunrpc/pmap_prot2.c: Likewise.
19858 * sunrpc/pmap_rmt.c: Likewise.
19859 * sunrpc/publickey.c: Likewise.
19860 * sunrpc/rpc_cmsg.c: Likewise.
19861 * sunrpc/rpc_common.c: Likewise.
19862 * sunrpc/rpc_dtable.c: Likewise.
19863 * sunrpc/rpc_prot.c: Likewise.
19864 * sunrpc/rpc_thread.c: Likewise.
19865 * sunrpc/rtime.c: Likewise.
19866 * sunrpc/svc.c: Likewise.
19867 * sunrpc/svc_auth.c: Likewise.
19868 * sunrpc/svc_raw.c: Likewise.
19869 * sunrpc/svc_run.c: Likewise.
19870 * sunrpc/svc_tcp.c: Likewise.
19871 * sunrpc/svc_udp.c: Likewise.
19872 * sunrpc/svc_unix.c: Likewise.
19873 * sunrpc/svcauth_des.c: Likewise.
19874 * sunrpc/xcrypt.c: Likewise.
19875 * sunrpc/xdr.c: Likewise.
19876 * sunrpc/xdr_array.c: Likewise.
19877 * sunrpc/xdr_float.c: Likewise.
19878 * sunrpc/xdr_intXX_t.c: Likewise.
19879 * sunrpc/xdr_mem.c: Likewise.
19880 * sunrpc/xdr_rec.c: Likewise.
19881 * sunrpc/xdr_ref.c: Likewise.
19882 * sunrpc/xdr_sizeof.c: Likewise.
19883 * sunrpc/xdr_stdio.c: Likewise.
19884
b5c086a2
RM
198852012-05-10 Roland McGrath <roland@hack.frob.com>
19886
19887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19888 change. Update copyright years.
19889
6d74dd09
JM
198902012-05-10 Joseph Myers <joseph@codesourcery.com>
19891
19892 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19893
28e72501
MK
198942012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19895 Joseph Myers <joseph@codesourcery.com>
19896 Paul Pluzhnikov <ppluzhnikov@google.com>
19897
19898 [BZ #14012]
19899 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19900 requiring rpcgen.
19901 [cross-compiling] (extra-libs): Likewise.
19902 [cross-compiling] (extra-libs-others): Likewise.
19903 [cross-compiling] (librpcsvc-routines): Likewise.
19904 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19905 [cross-compiling] (omit-deps): Likewise.
19906 (sunrpc-CPPFLAGS): New variable.
19907 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19908 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19909 (cross-rpcgen-objs): New variable.
19910 (extra-objs): Append $(cross-rpcgen-objs).
19911 ($(cross-rpcgen-objs)): New rule.
19912 ($(objpfx)cross-rpcgen): Likewise.
19913 (rpcgen-cmd): Define to use $(built-program-file). Expand
19914 comment.
19915 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19916 ($(objpfx)x%.stmp): Likewise.
19917 * sunrpc/proto.h [IS_IN_build] (_): Define.
19918 [IS_IN_build] (_libc_intl_domainname): Likewise.
19919
c8c59454
L
199202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19921
19922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19923 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19924 and R_X86_64_TPOFF64.
19925
6f27cd16
JM
199262012-05-10 Joseph Myers <joseph@codesourcery.com>
19927
19928 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19929 sysdeps/unix/sysv/syscalls.list.
19930 (stime): Likewise.
19931 (utime): Likewise.
19932 * sysdeps/unix/sysv/syscalls.list: Remove file.
19933
02467e1c
PE
199342012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19935
19936 [BZ #3440]
19937 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19938 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19939 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19940 (__LC_IDENTIFICATION): Make these macros useful in #if
19941 expressions, as required by C99.
19942
da392631
AS
199432012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19944
19945 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19946 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19947 after this.
19948
8115f29b
L
199492012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19950
19951 * stdlib/longlong.h: Updated from GCC.
19952
bdd74070
AJ
199532012-05-09 Andreas Jaeger <aj@suse.de>
19954
edfe0dbe
AJ
19955 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19956 default is first entry.
19957 (run_mode): Set type.
19958 (main): Remove informal message about syslog.
19959 (options): Fix typo.
19960
bcfe3a54
ST
19961 [BZ #14053]
19962 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19963 to asm.
bcfe3a54
ST
19964 (lrint): Likewise.
19965 (llrintf): Likewise.
19966 (llrint): Likewise.
19967 (rint): Likewise.
19968 (rintf): Likewise.
19969 (nearbyint): Likewise.
19970 (nearbyintf): Likewise.
bdd74070 19971
91d8d69e
AJ
199722012-05-09 Andreas Jaeger <aj@suse.de>
19973 Pedro Alves <palves@redhat.com>
19974
19975 * nscd/nscd.c (run_mode): Use enum.
19976 (main): Cleanup coding style issue.
19977
bb90b80b
AJ
199782012-05-09 Alexandre Oliva <aoliva@redhat.com>
19979 Andreas Jaeger <aj@suse.de>
19980
bcfe3a54
ST
19981 * nscd/nscd.c (go_background): Replaced with...
19982 (run_mode): ... this.
bb90b80b 19983 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19984 (options): Add -F --foreground.
19985 (main): Implement it.
19986 (parse_opt): Parse it.
bb90b80b 19987
1a4b75a1
AJ
199882012-05-09 Andreas Jaeger <aj@suse.de>
19989
19990 [BZ #14083]
19991 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19992 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19993 -Wconversion warning.
19994 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19995 Likewise.
19996
b1cc2472
JM
199972012-05-09 Joseph Myers <joseph@codesourcery.com>
19998
19999 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20000 == 0.
20001 (LC_ALL): Use macro-int-constant.
20002 (LC_COLLATE): Likewise.
20003 (LC_CTYPE): Likewise.
20004 (LC_MESSAGES): Likewise.
20005 (LC_MONETARY): Likewise.
20006 (LC_NUMERIC): Likewise.
20007 (LC_TIME): Likewise.
20008 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20009 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20011 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20012 Specify type.
20013 [C99-based standards] (float_t): Expect type.
20014 [C99-based standards] (double_t): Expect type.
20015 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20016 type.
20017 [C99-based standards] (HUGE_VALL): Likewise.
20018 [C99-based standards] (INFINITY): Likewise.
20019 [C99-based standards] (NAN): Likewise.
20020 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20021 [C99-based standards] (FP_NAN): Likewise.
20022 [C99-based standards] (FP_NORMAL): Likewise.
20023 [C99-based standards] (FP_SUBNORMAL): Likewise.
20024 [C99-based standards] (FP_ZERO): Likewise.
20025 [C99-based standards] (FP_FAST_FMA): Use
20026 optional-macro-int-constant. Specify type. Require == 1.
20027 [C99-based standards] (FP_FAST_FMAF): Likewise.
20028 [C99-based standards] (FP_FAST_FMAL): Likewise.
20029 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20030 [C99-based standards] (FP_ILOGBNAN): Likewise.
20031 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20032 Specify type.
20033 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20034 [C99-based standards] (math_errhandling): Specify type.
20035 [ISO99 || ISO11] (signgam): Do not allow.
20036 [non-C99-based standards] (copysignf): Do not allow.
20037 [non-C99-based standards] (exp2f): Likewise.
20038 [non-C99-based standards] (log2f): Likewise.
20039 [non-C99-based standards] (modff): Allow.
20040 [non-C99-based standards] (erff): Do not allow.
20041 [non-C99-based standards] (erfcf): Likewise.
20042 [non-C99-based standards] (gammaf): Likewise.
20043 [non-C99-based standards] (hypotf): Likewise.
20044 [non-C99-based standards] (j0f): Likewise.
20045 [non-C99-based standards] (j1f): Likewise.
20046 [non-C99-based standards] (jnf): Likewise.
20047 [non-C99-based standards] (lgammaf): Likewise.
20048 [non-C99-based standards] (tgammaf): Likewise.
20049 [non-C99-based standards] (y0f): Likewise.
20050 [non-C99-based standards] (y1f): Likewise.
20051 [non-C99-based standards] (ynf): Likewise.
20052 [non-C99-based standards] (isnanf): Likewise.
20053 [non-C99-based standards] (acoshf): Likewise.
20054 [non-C99-based standards] (asinhf): Likewise.
20055 [non-C99-based standards] (atanhf): Likewise.
20056 [non-C99-based standards] (cbrtf): Likewise.
20057 [non-C99-based standards] (expm1f): Likewise.
20058 [non-C99-based standards] (ilogbf): Likewise.
20059 [non-C99-based standards] (log1pf): Likewise.
20060 [non-C99-based standards] (logbf): Likewise.
20061 [non-C99-based standards] (nextafterf): Likewise.
20062 [non-C99-based standards] (remainderf): Likewise.
20063 [non-C99-based standards] (rintf): Likewise.
20064 [non-C99-based standards] (scalbf): Likewise.
20065 [non-C99-based standards] (copysignl): Likewise.
20066 [non-C99-based standards] (exp2l): Likewise.
20067 [non-C99-based standards] (log2l): Likewise.
20068 [non-C99-based standards] (modfl): Allow.
20069 [non-C99-based standards] (erfl): Do not allow.
20070 [non-C99-based standards] (erfcl): Likewise.
20071 [non-C99-based standards] (gammal): Likewise.
20072 [non-C99-based standards] (hypotl): Likewise.
20073 [non-C99-based standards] (j0l): Likewise.
20074 [non-C99-based standards] (j1l): Likewise.
20075 [non-C99-based standards] (jnl): Likewise.
20076 [non-C99-based standards] (lgammal): Likewise.
20077 [non-C99-based standards] (tgammal): Likewise.
20078 [non-C99-based standards] (y0l): Likewise.
20079 [non-C99-based standards] (y1l): Likewise.
20080 [non-C99-based standards] (ynl): Likewise.
20081 [non-C99-based standards] (isnanl): Likewise.
20082 [non-C99-based standards] (acoshl): Likewise.
20083 [non-C99-based standards] (asinhl): Likewise.
20084 [non-C99-based standards] (atanhl): Likewise.
20085 [non-C99-based standards] (cbrtl): Likewise.
20086 [non-C99-based standards] (expm1l): Likewise.
20087 [non-C99-based standards] (ilogbl): Likewise.
20088 [non-C99-based standards] (log1pl): Likewise.
20089 [non-C99-based standards] (logbl): Likewise.
20090 [non-C99-based standards] (nextafterl): Likewise.
20091 [non-C99-based standards] (remainderl): Likewise.
20092 [non-C99-based standards] (rintl): Likewise.
20093 [non-C99-based standards] (scalbl): Likewise.
20094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20095 [non-C99-based standards] (FP_*): Do not allow.
20096 [C99-based standards] (FP_*): Change to
20097 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20098 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20099 allow.
20100 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20101 (SIG_ERR): Likewise.
20102 [X/Open-based standards] (SIG_HOLD): Likewise.
20103 (SIG_IGN): Likewise.
20104 (SIGABRT): Use macro-int-constant. Specify type. Require
20105 positive value.
20106 (SIGFPE): Likewise.
20107 (SIGILL): Likewise.
20108 (SIGINT): Likewise.
20109 (SIGSEGV): Likewise.
20110 (SIGTER): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20113 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20114 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20115 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20116 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20117 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20118 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20119 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20120 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20121 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20122 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20123 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20124 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20125 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20126 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20127 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20128 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20129 [X/Open-based standards] (SIGTRAP): Likewise.
20130 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20131 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20132 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20133 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20134 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20135 allow.
20136
b9f1922d
IW
201372012-05-08 Ian Wienand <ianw@vmware.com>
20138
20139 [BZ #14080]
20140 * time/tzset.c (__tzset_parse_tz): Update default rules for
20141 daylight time changes in the Energy Policy Act of 2005.
20142
1db86e88
AJ
201432012-05-09 Andreas Jaeger <aj@suse.de>
20144
20145 [BZ #13983]
20146 * elf/ldconfig.c (parse_conf): Change string to make clear that
20147 ldconfig only issued a warning if ld.so.conf does not exist.
20148
dee4a4e3
DM
201492012-05-08 David S. Miller <davem@davemloft.net>
20150
ee0db190
DM
20151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20152 movxtod instead of popping the value on the stack.
20153
dee4a4e3
DM
20154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20155
6a43ec98
CD
201562012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20157
20158 * config.h.in: Add HAVE_ARM_PCS_VFP.
20159
05c2c961
RMG
201602012-05-08 Roland Mc Grath <roland@hack.frob.com>
20161
bcfe3a54
ST
20162 [BZ #13979]
20163 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20164 checking but the checks are disabled for any reason.
05c2c961 20165
4b30f61a
L
201662012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20167
20168 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20169 and ELF64_R_TYPE with ELFW(R_TYPE).
20170
eee2bc67
JM
201712012-05-08 Joseph Myers <joseph@codesourcery.com>
20172
7ea5391a
JM
20173 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20174 (ulimit): Likewise.
20175
eee2bc67
JM
20176 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20177 (settimeofday): Likewise.
20178
abb66a67
MF
201792012-05-08 Mike Frysinger <vapier@gentoo.org>
20180
20181 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20182 a struct th_u2 inside the union, and move tu_block/tu_code into
20183 a new th_u3 union of tu_block/tu_code inside of that. Move
20184 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20185 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20186 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20187 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20188 (th_stuff): Change to th_u1.tu_stuff.
20189 (th_data): Define.
20190 (th_msg): Change to th_u1.th_u2.tu_data.
20191
7f18b530
DM
201922012-05-07 David S. Miller <davem@davemloft.net>
20193
05760585
DM
20194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20195
7f18b530
DM
20196 [BZ #14074]
20197 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20198 (SETUP_PIC_REG): Use it.
20199 (SETUP_PIC_REG_LEAF): Use it.
20200
495fd99f
JM
202012012-05-07 Joseph Myers <joseph@codesourcery.com>
20202
20203 [BZ #13885]
20204 [BZ #13923]
20205 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20206 USE_AS_EXPM1L.
20207 (EXPL_FINITE): Likewise.
20208 (FLDLOG): Likewise.
20209 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20210 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20211 e_expl.S.
20212 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20213 USE_AS_EXPM1L.
20214 (EXPL_FINITE): Likewise.
20215 (FLDLOG): Likewise.
20216 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20217 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20218 e_expl.S.
20219 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20220 test of -max_value argument for long double.
20221 * sysdeps/i386/fpu/libm-test-ulps: Update.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20223
6693d694
DM
202242012-05-06 David S. Miller <davem@davemloft.net>
20225
20226 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20227 quad soft-float symbols whose references which are compiler
20228 generated.
20229 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20230
6c23e11c
JM
202312012-05-06 Joseph Myers <joseph@codesourcery.com>
20232
d8b82cad
JM
20233 [BZ #13884]
20234 [BZ #13914]
20235 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20236 USE_AS_EXP10L.
20237 (EXPL_FINITE): Likewise.
20238 (FLDLOG): Likewise.
20239 (c0): Likewise.
20240 (c1): Likewise.
20241 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20242 Adjust comments for base varying.
20243 (__expl_finite): Change alias to EXPL_FINITE.
20244 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20245 e_expl.S.
20246 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20247 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20249 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20250 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20251 USE_AS_EXP10L.
20252 (EXPL_FINITE): Likewise.
20253 (FLDLOG): Likewise.
20254 (c0): Likewise.
20255 (c1): Likewise.
20256 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20257 Adjust comments for base varying.
20258 (__expl_finite): Change alias to EXPL_FINITE.
20259 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20260 tests for bugs.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20262
6c23e11c
JM
20263 [BZ #14064]
20264 * math/libm-test.inc (check_float_internal): Correct ulp
20265 calculation for subnormal expected results.
20266
29ba805c
AJ
202672012-05-06 Andreas Jaeger <aj@suse.de>
20268
20269 * Makeconfig (+math-flags): New, set to -frounding-math.
20270 (+cflags): Add +math-flags so that all of glibc gets compiled with
20271 it.
20272
20273 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20274
7b17aeda
JM
202752012-05-05 Joseph Myers <joseph@codesourcery.com>
20276
5779f134
JM
20277 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20278 Disable one test.
20279
41498f4d
JM
20280 [BZ #13787]
20281 [BZ #13922]
20282 [BZ #14036]
20283 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20284 (__ieee754_expl): Allow for and saturate large arguments.
20285 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20286 (u_threshold): Likewise.
20287 (__exp): Call __ieee754_exp before checking for overflow and
20288 underflow.
20289 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20290 (u_threshold): Likewise.
20291 (__expf): Call __ieee754_expf before checking for overflow and
20292 underflow.
20293 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20294 (u_threshold): Likewise.
20295 (__expl): Call __ieee754_expl before checking for overflow and
20296 underflow.
20297 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20298 (__ieee754_expl): Allow for and saturate large arguments.
20299 * math/libm-test.inc (exp_test): Add another test. Do not allow
20300 missing overflow exception on overflow.
20301 (expm1_test): Do not allow missing overflow exception on overflow.
20302
6698b8bf
JM
20303 * sysdeps/i386/fpu/e_expl.c: Move to ...
20304 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20305 rather than using inline asm.
20306 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20307 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20308 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20309
7b17aeda
JM
20310 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20311 (nice): Likewise.
20312 (poll): Likewise.
20313 (signal): Likewise.
20314 (time): Likewise.
20315 (times): Likewise.
20316
f7c85819
JM
203172012-05-04 Joseph Myers <joseph@codesourcery.com>
20318
20319 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20320 sysdeps/unix/common/syscalls.list.
20321 (fchmod): Likewise.
20322 (fchown): Likewise.
20323 (ftruncate): Likewise.
20324 (getrusage): Likewise.
20325 (gettimeofday): Likewise.
20326 (setpgid): Likewise.
20327 (setregid): Likewise.
20328 (setreuid): Likewise.
20329 (sigaction): Likewise.
20330 (truncate): Likewise.
20331 (vhangup): Likewise.
20332 * sysdeps/unix/common/syscalls.list: Remove file.
20333 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20334 * sysdeps/unix/sysv/linux/Implies: Likewise.
20335
336270d0
L
203362012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20337
20338 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20340 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20341 Moved to ...
20342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20343 Here.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20345 to ...
20346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20347 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20348 to ...
20349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20350 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20351 to ...
20352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20353 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20354 to ...
20355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20356 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20357 to ...
20358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20359 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20360 to ...
20361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20362 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20363 to ...
20364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20365 Here.
20366 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20367 to ...
20368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20369 Here.
20370 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20371 to ...
20372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20373 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20374 Moved to ...
20375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20376 Here.
20377 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20378 to ...
20379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20380
d128e450
JM
203812012-05-04 Joseph Myers <joseph@codesourcery.com>
20382
fa8ee516
JM
20383 * sysdeps/unix/common/bits/dirent.h: Remove file.
20384 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20385
d128e450
JM
20386 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20387 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20388 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20389 * sysdeps/unix/bsd/isatty.c: Likewise.
20390 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20391 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20392 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20393
ff8faaf0 203942012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20395
62881be4 20396 [BZ #13563]
31dc8730
AZ
20397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20398 long double comparison inaccuracies.
20399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20401
6fef930c
AS
204022012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20403
20404 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20406
8f203e6c
JM
204072012-05-04 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #14049]
20410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20411 nonzero digits before rounding a hex value.
20412 * stdlib/tst-strtod.c (tests): Add another test.
20413
5197d9c2
AK
204142012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20415
20416 * sysdeps/s390/fpu/libm-test-ulps: Update.
20417
f0c1dedf
AJ
204182012-05-03 Andreas Jaeger <aj@suse.de>
20419
20420 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20421 does not get optimized out.
20422 (malloc_opt_barrier): New.
20423
a65ef2ae 204242012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20425 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20426
2b942cb7 20427 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20428 intermediate file deletion.
2b942cb7 20429 (generated): Add .symlist files.
a65ef2ae 20430
54b71e02
JM
204312012-05-03 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #13775]
20434 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20435 Redirect under this condition.
20436 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20437 [__USE_GNU] (__dprintf_chk): Not under this condition.
20438 [__USE_GNU] (__vdprintf_chk): Likewise.
20439 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20440 under this condition.
20441 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20442 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20443 [__USE_XOPEN2K8] (vdprintf): Likewise.
20444 [__USE_GNU] (__dprintf_chk): Not under this condition.
20445 [__USE_GNU] (__vdprintf_chk): Likewise.
20446 [__USE_GNU] (dprintf): Likewise.
20447 [__USE_GNU] (vdprintf): Likewise.
20448
d3dfcc41
RM
204492012-05-03 Roland McGrath <roland@hack.frob.com>
20450
20451 * elf/Makefile (common-generated): Set this instead of generated for
20452 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20453 $(all-built-dso)-derived lists.
20454
7ac30cc5
AJ
204552012-05-03 Andreas Jaeger <aj@suse.de>
20456
0c51e550
AJ
20457 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458
7ac30cc5
AJ
20459 * FAQ: Removed.
20460 * FAQ.in: Likewise.
20461 * scripts/gen-FAQ.pl: Likewise.
20462 * manual/install.texi (Installation): Point to online location of
20463 FAQ.
20464 * Makefile (files-for-dist): Remove FAQ.
20465 (FAQ): Remove.
20466
d4c2917f
AM
204672012-05-02 Allan McRae <allan@archlinux.org>
20468
20469 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20470 (LDFLAGS-reldepmod5.so): Likewise.
20471 (LDFLAGS-reldep6mod1.so): Likewise.
20472 (LDFLAGS-reldep6mod4.so): Likewise.
20473 (LDFLAGS-reldep8mod3.so): Likewise.
20474 (LDFLAGS-unload4mod1.so): Likewise.
20475 (LDFLAGS-unload4mod2.so): Likewise.
20476 (LDFLAGS-tst-initorder): Likewise.
20477 (LDFLAGS-tst-initordera2.so): Likewise.
20478 (LDFLAGS-tst-initordera3.so): Likewise.
20479 (LDFLAGS-tst-initordera4.so): Likewise.
20480 (LDFLAGS-tst-initorderb2.so): Likewise.
20481 (LDFLAGS-noload): Likewise.
20482 (LDFLAGS-next): Likewise.
20483 (LDFLAGS-order2mod1.so): Likewise.
20484 (LDFLAGS-order2mod2.so): Likewise.
20485 (LDFLAGS-tst-initorder2): Likewise.
20486 (LDFLAGS-tst-initorder2a.so): Likewise.
20487 (LDFLAGS-tst-initorder2b.so): Likewise.
20488 (LDFLAGS-tst-initorder2c.so): Likewise.
20489 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20490
d77f993f
DM
204912012-05-02 David S. Miller <davem@davemloft.net>
20492
20493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20494
171a70b4
PP
204952012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20496
20497 [BZ #14055]
20498 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20499
0be196ad
AJ
205002012-05-02 Andreas Jaeger <aj@suse.de>
20501
20502 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20503 since we manipulate rounding mode.
20504 (CPPFLAGS-test-idouble.c): Likewise.
20505 (CPPFLAGS-test-ifloat.c): Likewise.
20506 (CFLAGS-test-ldouble.c): Likewise.
20507 (CFLAGS-test-double.c): Likewise.
20508 (CFLAGS-test-float.c): Likewise.
20509 (CFLAGS-test-misc.c): Likewise.
20510 (CFLAGS-test-test-fenv.c): Likewise.
20511
4f9d04aa
AZ
205122012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513
2b942cb7
RM
20514 [BZ #2550]
20515 [BZ #2570]
20516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20517 comparisons to determine direction to adjust input.
4f9d04aa 20518
82a79e7d
RM
205192012-05-01 Roland McGrath <roland@hack.frob.com>
20520
f5a01ca9
RM
20521 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20522 output to the target.
20523
90fe4186
RM
20524 * scripts/localplt.awk: New file.
20525 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20526 (check-localplt-CFLAGS): Variable removed.
20527 ($(all-built-dso:=.jmprel)): New static pattern rule.
20528 (generated): Add those targets.
20529 (localplt-built-dso): New variable.
20530 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20531
20532 * elf/check-localplt.c: File removed.
20533
82397ed6
RM
20534 * scripts/check-execstack.awk: New file.
20535 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20536 (check-execstack-CFLAGS): Variable removed.
20537 ($(objpfx)check-execstack.h): Target removed.
20538 ($(objpfx)execstack-default): New target.
20539 (generated): Add that instead of check-execstack.h.
20540 ($(all-built-dso:=.phdr)): New static pattern rule.
20541 (generated): Add those targets.
20542 * elf/check-execstack.c: File removed.
20543
82a79e7d
RM
20544 * scripts/check-textrel.awk: New file.
20545 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20546 (check-textrel-CFLAGS): Variable removed.
20547 (all-built-dso): Use := to define.o
20548 ($(all-built-dso:=.dyn)): New static pattern rule.
20549 (generated): Add those targets.
20550 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20551 * config.make.in (READELF): New substituted variable.
20552 * elf/check-textrel.c: File removed.
20553
62fde54f 205542012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20555
615605c9
JM
20556 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20557 allow.
20558 * conform/data/ctype.h-data [C99-based standards] (isblank):
20559 Expect function.
20560 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20561 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20563 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20564 Specify type. Require positive value.
20565 (EILSEQ): Likewise.
20566 (ERANGE): Likewise.
20567 [ISO || POSIX] (EILSEQ): Do not expect.
20568 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20569 Specify type. Require positive value.
20570 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20623 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20625 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20636 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20637 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20638 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20639 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20642 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20644 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20645 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20646 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20647 Require >= 2.
20648 (FLT_ROUNDS): Expect as macro, not constant.
20649 (FLT_MANT_DIG): Use macro-int-constant.
20650 (DBL_MANT_DIG): Likewise.
20651 (LDBL_MANT_DIG): Likewise.
20652 (FLT_DIG): Likewise.
20653 (DBL_DIG): Likewise.
20654 (LDBL_DIG): Likewise.
20655 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20656 (DBL_MIN_EXP): Likewise.
20657 (LDBL_MIN_EXP): Likewise.
20658 (FLT_MAX_EXP): Use macro-int-constant.
20659 (DBL_MAX_EXP): Likewise.
20660 (LDBL_MAX_EXP): Likewise.
20661 (FLT_MAX_10_EXP): Likewise.
20662 (DBL_MAX_10_EXP): Likewise.
20663 (LDBL_MAX_10_EXP): Likewise.
20664 (FLT_MAX): Use macro-constant.
20665 (DBL_MAX): Likewise.
20666 (LDBL_MAX): Likewise.
20667 (FLT_EPSILON): Use macro-constant. Give upper bound.
20668 (DBL_EPSILON): Likewise.
20669 (LDBL_EPSILON): Likewise.
20670 (FLT_MIN): Likewise.
20671 (DBL_MIN): Likewise.
20672 (LDBL_MIN): Likewise.
20673 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20674 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20675 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20676 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20677 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20678 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20679 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20680 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20681 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20682 [ISO11] (FLT_TRUE_MIN): Likewise.
20683 [ISO11] (LDBL_TRUE_MIN): Likewise.
20684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20685 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20686 (SCHAR_MIN): Use macro-int-constant. Specify type.
20687 (SCHAR_MAX): Likewise.
20688 (UCHAR_MAX): Likewise.
20689 (CHAR_MIN): Likewise.
20690 (CHAR_MAX): Likewise.
20691 (MB_LEN_MAX): Use macro-int-constant.
20692 (SHRT_MIN): Use macro-int-constant. Specify type.
20693 (SHRT_MAX): Likewise.
20694 (USHRT_MAX): Likewise.
20695 (INT_MAX): Likewise.
20696 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20697 bound negative.
20698 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20699 bound with "U".
20700 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20701 bound with "L".
20702 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20703 bound negative. Suffix upper bound with "L".
20704 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20705 bound with "UL".
20706 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20707 Specify type.
20708 [C99-based standards] (LLONG_MAX): Likewise.
20709 [C99-based standards] (ULLONG_MAX): Likewise.
20710 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20711 == 0.
20712 [ISO11] (max_align_t): Require type.
20713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20714
c9140a62
JM
20715 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20716 from $CFLAGS, without defining away __attribute__ calls.
20717 (checknamespace): Use $CFLAGS_namespace.
20718
9af0bf29
JM
20719 * conform/conformtest.pl (@keywords): Only include C99 keywords
20720 for standards based on C99 or C11.
20721
343222a2
JM
20722 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20723 Disable tests.
20724 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20725 UNIX98]: Likewise.
20726
661f8cf0
JM
20727 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20728 usability of symbols in #if.
20729
ee74b9cb
JM
20730 * conform/conformtest.pl: If macro or constant types start
20731 "promoted:", expect the symbol to be of the following type
20732 promoted by the integer promotions.
62fde54f 20733
aafc49b3
JM
20734 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20735 in one place. Also handle "macro-constant".
20736
fefdf574
JM
20737 * conform/conformtest.pl: Only accept expected macro values with
20738 "==". Parse all "macro" lines in one place.
20739 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20740
f2d922fe
JM
20741 * conform/conformtest.pl: Handle braced types on "constant" lines
20742 instead of handling "typed-constant".
20743 * conform/data/signal.h-data: Use "constant" instead of
20744 "typed-constant".
20745
d22956c9
JM
20746 * conform/conformtest.pl: Handle "optional-" at start of lines in
20747 one place rather than duplicating several cases. Handle each
20748 format of "macro" line with initial "optional-".
20749
028e2e38
JM
20750 * conform/conformtest.pl: Only accept expected constant or
20751 optional-constant values with "==". Parse all "constant" lines in
20752 one place. Parse all "optional-constant" lines in one place.
20753 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20754 * conform/data/fmtmsg.h-data: Likewise.
20755 * conform/data/netinet/in.h-data: Likewise.
20756 * conform/data/tar.h-data: Likewise.
20757 * conform/data/limits.h-data: Use "==" form on "constant" and
20758 "optional-constant" lines.
20759
1b8f2850
JM
20760 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20761 Use -std=c99 for XOPEN2K.
20762 (@knownproblems): Remove.
20763 (newtoken): Don't check %isknown.
20764
a05a144b
JM
20765 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20766 Do not expect macro.
20767 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20776 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20778 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20779 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20780 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20781 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20795 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20797 [XPG3] (acosh): Likewise.
20798 [XPG3] (asinh): Likewise.
20799 [XPG3] (atanh): Likewise.
20800 [XPG3] (cbrt): Likewise.
20801 [XPG3] (expm1): Likewise.
20802 [XPG3] (ilogb): Likewise.
20803 [XPG3] (log1p): Likewise.
20804 [XPG3] (logb): Likewise.
20805 [XPG3] (nextafter): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20808 [XPG3] (remainder): Likewise.
20809 [XPG3] (rint): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20817 [UNIX98 || XOPEN2K] (scalb): Expect.
20818 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20819 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20952 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20953 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20954 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20955
73c5ebe3
JM
20956 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20957 _XOPEN_SOURCE_EXTENDED for XPG4.
20958
39c33b6c
JM
20959 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20960
62fde54f
JM
20961 * Makeconfig (localtime): Remove variable.
20962 (inst_localtime-file): Likewise.
20963
0741d64c
AS
209642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20965
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20967 Update.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20969 Update.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20971 Update.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20973 Update.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20975 Update.
20976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20977 Update.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20979 Update.
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20981 Update.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20983 Update.
20984
7cb029ee
JM
209852012-05-01 Joseph Myers <joseph@codesourcery.com>
20986
20987 [BZ #2550]
20988 [BZ #2570]
20989 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20990 comparisons to determine direction to adjust input.
20991 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20992 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20994 Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20996 Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20998 Likewise.
20999 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21000 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21001 Likewise.
21002 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21003 Likewise.
21004 * math/libm-test.inc (nexttoward_test): Add more tests.
21005
412bd966
AS
210062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21007
21008 [BZ #14040]
21009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21010 in version GLIBC_2.1, not GLIBC_2.0.
21011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21012 Likewise.
21013
9568c0c2
JM
210142012-04-30 Joseph Myers <joseph@codesourcery.com>
21015
adfbc8ac
JM
21016 [BZ #13942]
21017 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21018 (1 - x) * (1 + x).
21019 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21020 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21021 * math/libm-test.inc (acos_test): Add more tests.
21022 (asin_test): Likewise.
21023 * sysdeps/i386/fpu/libm-test-ulps: Update.
21024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21025
5ba3cc69
JM
21026 [BZ #14034]
21027 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21028 of square root.
21029 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21030 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21031 * math/libm-test.inc (acos_test_tonearest): New function.
21032 (acos_test_towardzero): Likewise.
21033 (acos_test_downward): Likewise.
21034 (acos_test_upward): Likewise.
21035 (asin_test_tonearest): Likewise.
21036 (asin_test_towardzero): Likewise.
21037 (asin_test_downward): Likewise.
21038 (asin_test_upward): Likewise.
21039 (main): Call the new functions.
21040 * sysdeps/i386/fpu/libm-test-ulps: Update.
21041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21042
9568c0c2
JM
21043 [BZ #13884]
21044 [BZ #13924]
21045 * math/e_exp10.c: Include <float.h>.
21046 (__ieee754_exp10): Handle underflow here rather than multiplying
21047 large negative argument by M_LN10.
21048 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21049 of __ieee754_expf.
21050 * math/e_exp10l.c: Include <float.h>.
21051 (__ieee754_exp10l): Handle underflow here rather than multiplying
21052 large negative argument by M_LN10l.
21053 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21054 spurious overflow exception on underflow.
21055
5ac3ea17
MP
210562012-04-29 Marek Polacek <polacek@redhat.com>
21057
21058 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21059 (__fortify_function): New macro.
21060 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21061 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21062 __extern_always_inline.
21063 * libio/bits/stdio2.h: Likewise.
21064 * libio/bits/stdio.h: Likewise.
21065 * string/string.h: Likewise.
21066 * string/bits/string3.h: Likewise.
21067 * include/stdio.h: Likewise.
21068 * stdlib/bits/stdlib.h: Likewise.
21069 * stdlib/stdlib.h: Likewise.
21070 * rt/bits/mqueue2.h: Likewise.
21071 * rt/mqueue.h: Likewise.
21072 * posix/bits/unistd.h: Likewise.
21073 * posix/unistd.h: Likewise.
21074 * io/bits/poll2.h: Likewise.
21075 * io/bits/fcntl2.h: Likewise.
21076 * io/fcntl.h: Likewise.
21077 * io/sys/poll.h: Likewise.
21078 * misc/bits/syslog.h: Likewise.
21079 * misc/bits/syslog-ldbl.h: Likewise.
21080 * misc/sys/syslog.h: Likewise.
21081 * socket/bits/socket2.h: Likewise.
21082 * socket/sys/socket.h: Likewise.
21083 * debug/tst-chk1.c: Likewise.
21084 * wcsmbs/bits/wchar2.h: Likewise.
21085 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21086 * wcsmbs/wchar.h: Likewise.
21087
ecf0ebfb
AJ
210882012-04-29 Andreas Jaeger <aj@suse.de>
21089
21090 * Makerules (tests): Remove enable-check-abi protection.
21091 (check-abi-warn): Remove.
21092 (check-abi-%): Remove check-abi-warn usage.
21093
21094 * configure.in: Remove check-abi configure option.
21095 * configure: Regenerated.
21096 * config.make.in (enable-check-abi): Remove.
21097
6d5c57fa
AS
210982012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21099
24c5d07e 21100 [BZ #14033]
ded5180a
AS
21101 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21102 double functions to double *_finite functions.
21103
7e0d315d
AS
21104 [BZ #13941]
21105 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21106 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21107 LDBL_MIN_EXP.
21108 * stdio-common/Makefile (tests): Add tst-sprintf3.
21109 * stdio-common/tst-sprintf3.c: New file.
21110
6d5c57fa
AS
21111 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21112 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21113
0749ff8b
JM
211142012-04-28 Joseph Myers <joseph@codesourcery.com>
21115
21116 * conform/conformtest.pl: Remove duplicate typed-constant
21117 handling.
21118
8dbd5d7b
DM
211192012-04-28 David S. Miller <davem@davemloft.net>
21120
21121 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21122 (check-abi-%): Remove AWK script prerequisite and explicit
21123 abilist directory.
21124 (check-abi): Rewrite to just diff the symlist with the abilist.
21125 (config-tls, config-abi-config): Delete, no longer used.
21126 (update-abi-%): Remove AWK script and explicit abilist directory.
21127 (update-abi): Rewrite to simply compare and conditionally copy the
21128 symlist and the sysdep abilist file. Remove update-abi-config
21129 checks.
21130 * abilist/ld.abilist: Remove.
21131 * abilist/libBrokenLocale.abilist: Remove.
21132 * abilist/libanl.abilist: Remove.
21133 * abilist/libcrypt.abilist: Remove.
21134 * abilist/libdl.abilist: Remove.
21135 * abilist/librt.abilist: Remove.
21136 * abilist/libthread_db.abilist: Remove.
21137 * abilist/libutil.abilist: Remove.
21138 * scripts/extract-abilist.awk: Remove.
21139 * scripts/merge-abilist.awk: Remove.
21140 * sysdeps/generic/libcidn.abilist: New file.
21141 * sysdeps/generic/libnss_compat.abilist: New file.
21142 * sysdeps/generic/libnss_db.abilist: New file.
21143 * sysdeps/generic/libnss_dns.abilist: New file.
21144 * sysdeps/generic/libnss_files.abilist: New file.
21145 * sysdeps/generic/libnss_hesiod.abilist: New file.
21146 * sysdeps/generic/libnss_nis.abilist: New file.
21147 * sysdeps/generic/libnss_nisplus.abilist: New file.
21148 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21149 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21150 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21151 file.
21152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21153 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21154 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21155 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21156 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21157 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21158 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21159 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21160 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21161 file.
21162 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21164 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21166 file.
21167 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21168 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21169 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21170 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21171 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21172 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21173 file.
21174 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21175 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21176 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21177 file.
21178 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21180 New file.
21181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21182 New file.
21183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21184 New file.
21185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21186 New file.
21187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21188 New file.
21189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21190 New file.
21191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21192 New file.
21193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21194 New file.
21195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21196 New file.
21197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21198 New file.
21199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21200 New file.
21201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21202 New file.
21203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21204 New file.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21206 file.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21208 New file.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21210 New file.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21212 file.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21214 New file.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21216 New file.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21218 file.
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21220 New file.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21222 New file.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21224 New file.
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21226 New file.
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21228 New file.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21230 New file.
21231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21233 file.
21234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21235 New file.
21236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21237 file.
21238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21239 file.
21240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21241 file.
21242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21243 file.
21244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21245 file.
21246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21247 New file.
21248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21249 file.
21250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21251 file.
21252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21253 New file.
21254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21255 file.
21256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21258 file.
21259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21260 New file.
21261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21262 file.
21263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21264 file.
21265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21266 file.
21267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21268 file.
21269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21270 file.
21271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21272 New file.
21273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21274 file.
21275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21276 file.
21277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21278 New file.
21279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21280 file.
21281 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21282 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21283 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21284 file.
21285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21286 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21287 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21288 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21289 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21290 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21291 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21292 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21293 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21294 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21297 file.
21298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21299 New file.
21300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21301 file.
21302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21303 file.
21304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21305 file.
21306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21307 file.
21308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21309 file.
21310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21311 New file.
21312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21313 New file.
21314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21315 file.
21316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21317 New file.
21318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21319 file.
21320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21322 file.
21323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21324 New file.
21325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21326 file.
21327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21328 file.
21329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21330 file.
21331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21332 file.
21333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21334 file.
21335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21336 New file.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21338 New file.
21339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21340 file.
21341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21342 New file.
21343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21344 file.
21345
41d73a1b
JM
213462012-04-28 Joseph Myers <joseph@codesourcery.com>
21347
21348 * conform/conformtest.pl: Fix typo in handling typed-constant from
21349 allow-header.
21350
28aeeda4
JM
213512012-04-27 Joseph Myers <joseph@codesourcery.com>
21352
adae8f5e
JM
21353 * README: Cut down references to pre-2.6 Linux kernels and
21354 Linuxthreads. Update lists of configurations in libc and ports
21355 and sort alphabetically. Say "or newer" with Linux kernel version
21356 requirements.
21357
28aeeda4
JM
21358 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21359
a462cb63
RA
213602012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21361
21362 [BZ #887]
21363 * math/libm-test.inc (logb_test_downward): New test to expose
21364 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21365 rounding mode.
21366
6ad3493e
JM
213672012-04-27 Joseph Myers <joseph@codesourcery.com>
21368
21369 [BZ #14027]
21370 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21371 to be done.
21372 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21373 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21374
2ce4f015
JM
213752012-04-26 Joseph Myers <joseph@codesourcery.com>
21376
5aeb141a
JM
21377 * sysdeps/unix/i386/brk.S: Remove file.
21378 * sysdeps/unix/i386/dl-brk.S: Likewise.
21379 * sysdeps/unix/i386/pipe.S: Likewise.
21380 * sysdeps/unix/i386/sigreturn.S: Likewise.
21381 * sysdeps/unix/i386/syscall.S: Likewise.
21382 * sysdeps/unix/i386/vfork.S: Likewise.
21383 * sysdeps/unix/i386/wait.S: Likewise.
21384
7143acae
JM
21385 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21386 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21387
2ce4f015
JM
21388 * configure.in (arm*-none*): Do not allow without
21389 --enable-hacker-mode.
21390 (netbsd*): Remove case setting base_os.
21391 (386bsd*): Likewise.
21392 (freebsd*): Likewise.
21393 (bsdi*): Likewise.
21394 (osf*): Likewise.
21395 (sunos*): Likewise.
21396 (ultrix*): Likewise.
21397 (newsos*): Likewise.
21398 (dynix*): Likewise.
21399 (*bsd*): Likewise.
21400 (sysv*): Likewise.
21401 (isc*): Likewise.
21402 (esix*): Likewise.
21403 (sco*): Likewise.
21404 (minix*): Likewise.
21405 (irix4*): Likewise.
21406 (irix6*): Likewise.
21407 (solaris[2-9]*): Likewise.
21408 (none): Likewise.
21409 * configure: Regenerated.
21410
0ac229c8
AZ
214112012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21412
21413 [BZ #11521]
21414 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21415 overflow or cancellation in calculating denominator.
21416 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21418 down expression to avoid unexpected rounding in newer GCCs.
21419 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21420
33f244f4
DM
214212012-04-26 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21424 long-double compat symbols.
21425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21438
cfa1f3e8
DM
214392012-04-25 David S. Miller <davem@davemloft.net>
21440
21441 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21442 HWCAP_* values only after the memory barriers have been defined.
21443 (atomic_full_barrier): Define.
21444 (atomic_read_barrier): Define.
21445 (atomic_write_barrier): Define.
21446
6e236b92
SP
214472012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21448
21449 * shlib-versions: Add libgcc_s version information.
21450 * sysdeps/generic/libgcc_s.h: Remove.
21451 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21452 libgcc_s.h.
21453 * sysdeps/gnu/unwind-resume.c: Likewise.
21454 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21455
aab39a09
DM
214562012-04-25 David S. Miller <davem@davemloft.net>
21457
21458 * sysdeps/unix/sparc/brk.S: Delete.
21459 * sysdeps/unix/sparc/dl-brk.S: Delete.
21460 * sysdeps/unix/sparc/pipe.S: Delete.
21461 * sysdeps/unix/sparc/sysdep.S: Delete.
21462 * sysdeps/unix/sparc/sysdep.h: Delete.
21463 * sysdeps/unix/sparc/vfork.S: Delete.
21464 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21465 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21467 ret_ERRVAL, r0, r1, MOVE): Define.
21468 (JUMPTARGET): Remove.
21469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21470 sysdeps/unix/sparc/sysdep.h
21471 (ENTRY, END): Remove.
21472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21473
a3cc4f48
JM
214742012-04-25 Joseph Myers <joseph@codesourcery.com>
21475
2ed8cda2
JM
21476 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21477 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21478 -DIS_IN_build.
21479
35d76d59
JM
21480 * timezone/README: Update upstream location and email address for
21481 tzcode and tzdata.
21482 * timezone/zdump.c: Update from tzcode 2012b.
21483 * timezone/zic.c: Likewise.
21484
a3cc4f48
JM
21485 * configure.in (libc_cv_as_needed): Remove test.
21486 * configure: Regenerated.
21487 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21488 conditional definition.
21489 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21490 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21491 * config.make.in (have-as-needed): Remove variable.
21492
ceab42c3
SP
214932012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21494 Paul Pluzhnikov <ppluzhnikov@google.com>
21495
21496 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21497 strings correctly.
21498
3ce2865f
CLT
214992012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21500
21501 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21502 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21503 * sysdeps/sh/strlen.S: Likewise.
21504
f37e0d68
JM
215052012-04-24 Joseph Myers <joseph@codesourcery.com>
21506
ae186e9a
JM
21507 * sysdeps/unix/fork.S: Remove file.
21508 * sysdeps/unix/i386/fork.S: Likewise.
21509 * sysdeps/unix/sparc/fork.S: Likewise.
21510
b96914af
JM
21511 * sysdeps/unix/system.c: Remove file.
21512 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21513
f37e0d68
JM
21514 * sysdeps/unix/getegid.S: Remove file.
21515 * sysdeps/unix/geteuid.S: Likewise.
21516
87ef29ca
RM
215172012-04-24 Roland McGrath <roland@hack.frob.com>
21518
83bcd236
RM
21519 * scripts/check-localplt.awk: New file.
21520 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21521 of diff.
21522 * scripts/data/localplt-generic.data: Add a comment.
21523
87ef29ca
RM
21524 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21525 NODE when __dir_mkfile failed.
21526 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21527 Reported by Ludovic Courtès <ludo@gnu.org>.
21528
e5a6e567
AJ
215292012-04-24 Andreas Jaeger <aj@suse.de>
21530
21531 * Makerules (common-clean): Also remove gen-as-const-headers
21532 files.
21533
c1820385
JM
215342012-04-24 Joseph Myers <joseph@codesourcery.com>
21535
21536 * Makerules (native-compile): Do not change working directory for
21537 build. Use $(OUTPUT_OPTION) in command.
21538 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21539
94e02fc4
AZ
215402012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21541
21542 [BZ #13886]
21543 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21544 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21545 * math/libm-test.inc (floor_test): Add more tests.
21546 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21547
3a533ca3
JM
215482012-04-24 Joseph Myers <joseph@codesourcery.com>
21549
940ab4b3
JM
21550 * sysdeps/unix/getdents.c: Remove file.
21551 * sysdeps/unix/sysv/getdents.c: Likewise.
21552 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21553
90e037bd
JM
21554 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21555 sysdeps/unix/mman/syscalls.list.
21556 (mmap): Likewise.
21557 (mprotect): Likewise.
21558 (msync): Likewise.
21559 (munmap): Likewise.
21560 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21561 * sysdeps/unix/mman/syscalls.list: Remove.
21562 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21563
3a533ca3
JM
21564 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21565 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21566 * configure: Regenerated.
21567 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21568 $(libgcc_s_suffix).
21569 * config.make.in (libgcc_s_suffix): Remove variable.
21570
1ad743de
JM
215712012-04-23 Joseph Myers <joseph@codesourcery.com>
21572
4ad451e2
JM
21573 * sysdeps/unix/sysv/gethostname.c: Move to ...
21574 * sysdeps/posix/gethostname.c: ... here.
21575
5e37ce39
JM
21576 * sysdeps/unix/execve.S: Remove file.
21577
1ad743de
JM
21578 * sysdeps/unix/_exit.S: Remove file.
21579
4e681b5b
AJ
215802012-04-23 Andreas Jaeger <aj@suse.de>
21581
21582 [BZ #13739]
21583 * manual/Makefile: Remove make dist support, there's no
21584 need for a stand-alone documentation tar ball.
21585 (TEXI2DVI): Define always, it's not in Makeconfig.
21586 (dist): Removed.
21587 (tar-it): Removed.
21588 (edition): Removed.
21589 (glibc-doc-$(edition).tar): Removed
21590 (%.Z): Removed.
21591 (%.gz): Removed.
21592 (%.uu): Removed.
21593 (ETAGS): Remove, it's in Makeconfig.
21594 (move-if-change): Remove, it's in Makeconfig.
21595
38686a03 215962012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21597
21598 [BZ #13970]
21599 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21600 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21601 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21602 (strtod_l, strtof_l, strtold_l): Remove __wur.
21603 It is not necessarily an error to ignore strtol's return value.
21604 One can reliably look at the stored endptr to decide whether
21605 the number had valid syntax.
21606
7c0616fa
AJ
216072012-04-21 Andreas Jaeger <aj@suse.de>
21608
803cb6b7 21609 [BZ #13739]
7c0616fa
AJ
21610 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21611
b0fe253f
JM
216122012-04-21 Joseph Myers <joseph@codesourcery.com>
21613
21614 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21615 * sysdeps/unix/sysv/Versions: Remove file.
21616
8280f22d
MT
216172012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21618
21619 [BZ #13927]
21620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21621
75ce411f 216222012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21623
21624 [BZ #7064]
21625 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21626 version from __vm86.
21627
097d59fa
JM
216282012-04-20 Joseph Myers <joseph@codesourcery.com>
21629
a90f3bcb
JM
21630 * sysdeps/unix/common/lxstat.c: Remove file.
21631 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21632
edc7ea78
JM
21633 * sysdeps/unix/sysv/Makefile: Remove file.
21634
cb78c221
JM
21635 * sysdeps/unix/sysv/direct.h: Remove file.
21636
efa6a45f
JM
21637 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21638 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21639 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21640 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21641 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21642 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21643 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21644
9c9f2d0c
JM
21645 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21646
4541c83b
JM
21647 * sysdeps/unix/xmknod.c: Remove file.
21648 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21649
f5d153a0
JM
21650 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21651
aa746595
JM
21652 * sysdeps/unix/sysv/i386/time.S: Remove file.
21653
cce5905e
JM
21654 * sysdeps/unix/fxstat.c: Remove file.
21655 * sysdeps/unix/xstat.c: Likewise.
21656 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21657
37fa3841
JM
21658 * sysdeps/unix/sysv/sigaction.c: Remove file.
21659
ff1962a3
JM
21660 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21661 (sysdep_headers): Remove variable.
21662 [termio.h not in sysdep_headers] (generated): Likewise.
21663 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21664 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21665 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21666 * sysdeps/unix/sysv/tcflow.c: Likewise.
21667 * sysdeps/unix/sysv/tcflush.c: Likewise.
21668 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21669 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21670 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21671 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21672 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21673
e7740d31
JM
21674 * sysdeps/unix/siglist.c: Remove file.
21675
ee06f18b
JM
21676 * sysdeps/unix/getppid.S: Remove file.
21677
097d59fa
JM
21678 * sysdeps/unix/mkdir.c: Remove file.
21679 * sysdeps/unix/rmdir.c: Likewise.
21680
ff3d51ec
AS
216812012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21682
21683 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21684 ERR_MAX value.
21685 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21686 errlist-compat value.
21687
50f81fd7
DM
216882012-04-18 David S. Miller <davem@davemloft.net>
21689
21690 * sysdeps/generic/memcopy.h (reg_char): Delete.
21691 * debug/strcat_chk.c: Use char, not reg_char.
21692 * debug/strcpy_chk.c: Likewise.
21693 * debug/strncat_chk.c: Likewise.
21694 * debug/strncpy_chk.c: Likewise.
21695 * string/memchr.c: Likewise.
21696 * string/memrchr.c: Likewise.
21697 * string/rawmemchr.c: Likewise.
21698 * string/strcat.c: Likewise.
21699 * string/strchr.c: Likewise.
21700 * string/strchrnul.c: Likewise.
21701 * string/strcmp.c: Likewise.
21702 * string/strcpy.c: Likewise.
21703 * string/strncat.c: Likewise.
21704 * string/strncmp.c: Likewise.
21705 * string/strncpy.c: Likewise.
21706
8ff41c46
WS
217072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21708
21709 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21710 __builtin_memcopy is called when src and dest ranges are known to not
21711 overlap.
21712
6b652f46
WS
217132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21714
21715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21716 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21717 fwd_align_merge macro call.
21718 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21719 bwd_align_merge macro call.
21720 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21721
b282631e
WS
217222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21723
21724 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21725 bwd_align_merge macros.
21726 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21727 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21729
95aa737c
DM
217302012-04-18 David S. Miller <davem@davemloft.net>
21731
21732 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21733
7a99a614
AJ
217342012-04-18 Andreas Jaeger <aj@suse.de>
21735
21736 [BZ# 6794]
21737 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21738 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21739 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21740
21741 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21742 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21743 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21744
21745 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21746 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21747 Adjust for changed ldbl-128 files.
21748
21749 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21750 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21751 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21752
e5270c23
DM
217532012-04-17 David S. Miller <davem@davemloft.net>
21754
21755 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21756
fb5e92c9
AS
217572012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21758
21759 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21760 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21761 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21762 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21763 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21764 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21765
76da7265
AZ
217662012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21767
21768 [BZ #6794]
21769 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21770 * math/libm-test.inc: Add ilogb errno and exception tests.
21771 * math/w_ilogb.c: New file: ilogb wrapper.
21772 * math/w_ilogbf.c: New file: ilogbf wrapper.
21773 * math/w_ilogbl.c: New file: ilogbl wrapper.
21774 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21775 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21776 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21777 exception being thrown with 0.0 as argument.
21778 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21779 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21780 exception being thrown with 0.0 as argument.
21781 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21782 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21783 exception being thrown with 0.0 as argument.
21784 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21785 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21786 exception being thrown with 0.0 as argument.
21787 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21788 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21789 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21790 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21792 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21793 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21794 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21795 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21796
0396e69d
PB
217972012-04-17 Petr Baudis <pasky@ucw.cz>
21798
21799 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21800 with altivec.
21801
750b5926
MP
218022012-04-16 Marek Polacek <polacek@redhat.com>
21803
21804 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21805
751728a1
MP
218062012-04-16 Marek Polacek <polacek@redhat.com>
21807
21808 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21809 operands of fdivp instruction.
21810
34a27407
L
218112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21812
21813 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21814 * elf/tst-auditmod3b.c: Likewise.
21815 * elf/tst-auditmod4b.c: Likewise.
21816 * elf/tst-auditmod5b.c: Likewise.
21817 * elf/tst-auditmod6b.c: Likewise.
21818 * elf/tst-auditmod6c.c: Likewise.
21819 * elf/tst-auditmod7b.c: Likewise.
21820 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21821 * sysdeps/x86_64/preconfigure.in: Likewise.
21822 * sysdeps/x86_64/preconfigure: Regenerated.
21823
7e73e17d
L
218242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21827 __ILP32__.
21828
c7a6ab72
AB
218292012-04-13 Antoine Balestrat <merkil33@gmail.com>
21830
21831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21832 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21833
a9e8e0e0
CL
218342012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21835
21836 [BZ #13973]
21837 * locale/iso-639.def: Fix gl language name. Spotted by
21838 Yaron Shahrabani.
21839
ec98af7d
RM
218402012-04-12 Roland McGrath <roland@hack.frob.com>
21841
21842 [BZ #2074]
21843 * libio/libio.h (__io_write_fn): Update comment.
21844
247c3ede
PB
218452012-04-12 Petr Baudis <pasky@ucw.cz>
21846
21847 [BZ #2074]
21848 * stdio.texi (Hook Functions): The user provided writer function
21849 is not allowed to return -1.
21850
55939d6d
DM
218512012-04-11 David S. Miller <davem@davemloft.net>
21852
21853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21854
90020f5a
MF
218552012-04-11 Mike Frysinger <vapier@gentoo.org>
21856
21857 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21858 Add a leading slash to rtkaio.
21859
288f9098
JM
218602012-04-11 Jim Meyering <meyering@redhat.com>
21861
90020f5a
MF
21862 [BZ #11959]
21863 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21864 It is not necessarily an error to ignore fwrite's return
21865 value. One can reliably use ferror to test for errors after
21866 the fact.
288f9098 21867
4be2b570
L
218682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * bits/types.h (__snseconds_t): New type.
21871 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21872
21873 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21875 (__SNSECONDS_T_TYPE): Likewise.
21876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21877 (__SNSECONDS_T_TYPE): Likewise.
21878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21879 (__SNSECONDS_T_TYPE): Likewise.
21880
288f9098 218812012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21882
21883 [BZ #2636]
21884 * manual/time.texi (Processor Time): Return type of times is
21885 elapsed real time since an arbitrary point in the past.
21886 (CPU Time): Move CLK_TCK from here...
21887 (Processor Time): ...to here. Correct description.
21888 * manual/conf.texi (Constants for Sysconf): Correct description of
21889 _SC_CLK_TCK.
21890
d7dd4413
DM
218912012-04-10 David S. Miller <davem@davemloft.net>
21892
21893 [BZ #13967]
21894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21895 where the is a gap between DT_REL(A) and DT_JMPREL.
21896
b46068fc
L
218972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21900 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21901 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21902
73d65cc3
SP
219032012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21904
21905 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21906 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21907 (dl_main): Handle --inhibit-cache.
21908 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21909 _dl_inhibit_cache.
21910 * elf/dl-load.c (_dl_map_object): Use it.
21911 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21912
bcc8d661
JM
219132012-04-09 Joseph Myers <joseph@codesourcery.com>
21914
8f9a2fae
JM
21915 [BZ #13872]
21916 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21917 (__ieee754_powl): Saturate large exponents rather than testing for
21918 overflow of y*log2(x).
21919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21920 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21921 exceptions.
21922
bcc8d661
JM
21923 [BZ #11521]
21924 * math/s_ctan.c: Include <float.h>.
21925 (__ctan): Avoid internal overflow or cancellation in calculating
21926 denominator.
21927 * math/s_ctanf.c: Likewise.
21928 * math/s_ctanl.c: Likewise.
21929 * math/s_ctanh.c: Likewise.
21930 * math/s_ctanhf.c: Likewise.
21931 * math/s_ctanhl.c: Likewise.
21932 * math/libm-test.inc (ctan_test): Add more tests.
21933 (ctanh_test): Likewise.
21934 * sysdeps/i386/fpu/libm-test-ulps: Update.
21935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21936
823fbbb4
AJ
219372012-04-09 Andreas Jaeger <aj@suse.de>
21938
03879793
AJ
21939 [BZ #6894]
21940 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21941 is an optional BSD extension.
21942
823fbbb4
AJ
21943 [BZ #10254]
21944 * manual/stdio.texi (Opening Streams): Document additional fopen
21945 parameters.
21946
8de131cb
RM
219472012-04-09 Roland McGrath <roland@hack.frob.com>
21948
21949 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21950 %eax without telling the compiler.
21951
c0ed9d7d
CD
219522012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21953
21954 [BZ # 13963]
21955 * manual/install.texi: Use sourceware.org.
21956
c483f6b4
JM
219572012-04-09 Joseph Myers <joseph@codesourcery.com>
21958
d7dd9453
JM
21959 [BZ #13873]
21960 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21961 (__ieee754_pow): Generate overflow and underflow using huge*huge
21962 and tiny*tiny rather than just returning constant infinity or zero
21963 for large exponents.
21964 * math/libm-test.inc (pow_test): Require overflow exceptions for
21965 applicable cases of large exponents.
21966
c483f6b4
JM
21967 [BZ #706]
21968 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21969 (__ieee754_pow): Use iterative multiplication algorithm only for
21970 integer exponents with absolute value below 1024. Check for odd
21971 integer exponents when using algorithm for real exponents.
21972 * math/libm-test.inc (pow_test): Add more tests.
21973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21974
d2de7579
JM
219752012-04-08 Joseph Myers <joseph@codesourcery.com>
21976
21977 [BZ #13705]
21978 * math/libm-test.inc (exp_test): Do not allow overflow exception
21979 on underflow test.
21980
f77f1232
AJ
219812012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21982
21983 [BZ #13705]
21984 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21985 instead of __kernel_standard_f.
21986
3884932b
MF
219872012-04-08 Mike Frysinger <vapier@gentoo.org>
21988
21989 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21990 * sysdeps/x86_64/memset_chk.S: Likewise.
21991
54472e9c
AJ
219922012-04-08 Andreas Jaeger <aj@suse.de>
21993
6ab0fbfc
AJ
21994 [BZ #10153]
21995 * manual/startup.texi (Environment Access): Describe return value
21996 for putenv and setenv.
21997
61efba8c
AJ
21998 [BZ #6895]
21999 * manual/filesys.texi (Directory Entries): Add description for
22000 DT_LNK.
22001
95c3f29a
AJ
22002 [BZ #6890]
22003 * manual/filesys.texi (Directory Entries): Clarify that it's file
22004 system not operating system in the description of DT_UNKNOWN.
22005
54472e9c
AJ
22006 [BZ #6578]
22007 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22008
624254b1
SC
220092012-04-08 Stephen Compall <s11@member.fsf.org>
22010
22011 [BZ #6649]
22012 * manual/llio.texi (Opening and Closing Files): Add cross
22013 reference to explain mode argument.
22014
1e4920e0
MF
220152012-04-07 Mike Frysinger <vapier@gentoo.org>
22016
22017 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22018 * sysdeps/x86_64/memset_chk.S: Likewise.
22019
5ed848f3
DM
220202012-04-07 David S. Miller <davem@davemloft.net>
22021
22022 * elf/elf.h (R_SPARC_WDISP10): Define.
22023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22024 R_SPARC_SIZE32.
22025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22026 R_SPARC_SIZE64 and R_SPARC_H34.
22027
96154cd8
CD
220282012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22029
22030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22031 conditions and remove no longer applicable assertion.
22032
9904dc47
L
220332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * bits/byteswap.h: Include <features.h>.
22036 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22037 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22038
f8887d0a
L
220392012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22040
22041 * bits/byteswap.h (__bswap_16): Removed.
22042 Include <bits/byteswap-16.h> to get __bswap_16.
22043 * sysdeps/i386/bits/byteswap.h: Likewise.
22044 * sysdeps/s390/bits/byteswap.h: Likewise.
22045 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22046 * bits/byteswap-16.h: New file.
22047 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22048 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22049 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22050 * string/Makefile (headers): Add bits/byteswap-16.h.
22051
62470f60
PP
220522012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22053
22054 [BZ #13895]
22055 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22056 extra indirection.
22057 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22058 * nss/tst-nss-static.c: New.
22059
4dad7bab
RM
220602012-04-06 Robert Millan <rmh@gnu.org>
22061
22062 [BZ #6486]
22063 * manual/llio.texi (File Position Primitive): lseek
22064 refers to WHENCE when it really means OFFSET.
22065
e9142a17
AJ
220662012-04-06 Andreas Jaeger <aj@suse.de>
22067
2c040eff
AJ
22068 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22069 strncmp declarations.
22070
e9142a17
AJ
22071 * abilist/libc.abilist: Add __poll and __ppoll.
22072
ff9f1c5f
DM
220732012-04-05 David S. Miller <davem@davemloft.net>
22074
dcd2ae90
DM
22075 * scripts/check-local-headers.sh: Accept a host triplet in the
22076 path matched by the exclude regexp.
22077
993eb054
DM
22078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22079 definition.
22080 * sysdeps/powerpc/powerpc32/dl-machine.h
22081 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22082 * sysdeps/s390/s390-32/dl-machine.h
22083 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22084 * sysdeps/sparc/sparc32/dl-machine.h
22085 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22086 * sysdeps/sparc/sparc64/dl-machine.h
22087 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22088
ff9f1c5f
DM
22089 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22090 lazy binding.
48e2e132 22091 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22092 undefined symbol errors.
22093
48e2e132 22094 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22095 DT_NEEDED entries.
22096
e80d6f94
MM
220972012-04-05 Michael Matz <matz@suse.de>
22098
22099 [BZ #13592]
22100 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22101
349fa79f
AJ
221022012-04-05 Andreas Jaeger <aj@suse.de>
22103
22104 [BZ #13908]
22105 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22106 comment.
22107
f402708f
KK
221082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22109
22110 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22111 which ROUND is no valid rounding mode.
22112
2ecccfc9
KK
221132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22114
22115 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22116 read again.
22117 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22118
8a53f50f
KK
221192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22120
22121 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22122 an exception using FPU order intentionally.
22123
221242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22125
22126 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22127 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22128 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22129 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22130
d653abb7
SJ
221312012-04-05 Simon Josefsson <simon@josefsson.org>
22132
22133 [BZ #12340]
22134 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22135 EINVAL when BUFLEN is too smal.
22136
c3b1bf7d
TS
221372012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22138
22139 [BZ #13553]
22140 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22141 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22142
b1aa60f3
AJ
221432012-04-03 Andreas Jaeger <aj@suse.de>
22144
c3b1bf7d 22145 [BZ #13938]
67f60a26
AJ
22146 * manual/setjmp.texi (System V contexts): Fix sentence.
22147
b1aa60f3
AJ
22148 [BZ #13926]
22149 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22150 New macro for this case.
22151 [!__GNUC__] (__bswap_64): New inline function for this case.
22152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22153 * bits/byteswap.h: Likewise.
22154 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22155 ull, guard with __GLIBC_HAVE_LONG_LONG.
22156
22157 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22158 __GLIBC_HAVE_LONG_LONG.
22159
22160 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22161 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22162
39c59c35
TMQMF
221632012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22164
22165 [BZ #13691]
22166 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22167 inptr and inend, rather than using last_ch.
22168
135ffda8
DM
221692012-04-02 David S. Miller <davem@davemloft.net>
22170
22171 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22172 * stdio-common/printf-parse.h (read_int): Change return type to
22173 'int', return -1 on INT_MAX overflow.
22174 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22175 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22176 overflows INT_MAX. Check for overflow of in-format-string precision
22177 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22178 SIZE_MAX not INT_MAX for integer overflow test.
22179 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22180 skip the construct in the format string but do not record anything.
22181 * stdio-common/bug22.c: Adjust to test both width/prevision
22182 INT_MAX overflow as well as total length INT_MAX overflow. Check
22183 explicitly for proper errno values.
22184
228c019e
TS
221852012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22186
302cadd3
TS
22187 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22188 CHAR_MAX.
22189 * string/test-strcmp.c [! WIDE]: Likewise.
22190 * time/tst-mktime2.c: Likewise for INT_MAX.
22191 * string/test-string.h: #include <sys/param.h> for MIN.
22192
228c019e
TS
22193 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22194 * sysdeps/i386/init-first.c (init): Likewise.
22195 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22196 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22197 * sysdeps/sh/init-first.c (init): Likewise.
22198
cfa633f5
UD
221992012-04-01 Ulrich Drepper <drepper@gmail.com>
22200
22201 * po/ru.po: Update from translation team.
d1635ef8 22202 * po/vi.po: Likewise.
cfa633f5 22203
6cd0a5ea
SP
222042012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22205
22206 * resolv/nss_dns/dns-host.c: Merge copyright years.
22207
4b43400f
LD
222082012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22209
22210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22211 Optimize memcpy with prefetch if
22212 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22213 src, dst pointers have unequal 16 byte alignments.
22214
48c41d04
SP
222152012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22216
22217 [BZ #13928]
22218 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22219 from a CNAME entry and return the minimum ttl for the query.
22220 (gaih_getanswer_slice): Likewise.
22221
b8dc394d
JL
222222012-03-30 Jeff Law <law@redhat.com>
22223
22224 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22225 due to long keys.
22226 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22227 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22228
2f5a5ed0
JL
22229 * resolv/nss_dns/dns-host.c: Update copyright year.
22230
1d39e359
UD
222312012-03-30 Ulrich Drepper <drepper@gmail.com>
22232
c030f70c 22233 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22234 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22235
1d39e359
UD
22236 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22237 comments for sendmmsg.
22238
222392012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22240
22241 [BZ #13691]
22242 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22243 with only 1 character between 0x0041 and 0x01b0.
22244 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22245 * wcsmbs/tst-mbsnrtowcs.c: New file.
22246
20fde227
DM
222472012-03-29 David S. Miller <davem@davemloft.net>
22248
22249 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22250 small copies by hand.
22251
984a4237
JL
222522012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22253
22254 [BZ #13761]
22255 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22256 _nss_compat_initgroups_dyn): Fall back to malloc/free
22257 for large group memberships.
22258
18c9d62b
DM
222592012-03-28 David S. Miller <davem@davemloft.net>
22260
88d85d4f
DM
22261 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22262 that branches into memcpy.
22263 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22266 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22268 bits.
22269 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22270 implementation too.
22271 * sysdeps/sparc/mempcpy.S: New file.
22272
e5aa83e1
DM
22273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22274 the IFUNC routine in the libc case.
22275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22276
88570753
DM
22277 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22278 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22279 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22280 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22281 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22282 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22283 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22284 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22285
249d7567
DM
22286 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22287 loop to 256 bytes instead of 64 bytes and fix test signedness.
22288
18c9d62b
DM
22289 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22290 * sysdeps/sparc/sparc32/Makefile: rather than here...
22291 * sysdeps/sparc/sparc64/Makefile: and here.
22292
05f3d1f6
UD
222932012-03-28 Ulrich Drepper <drepper@gmail.com>
22294
22295 * malloc/mallocbug.c: Avoid warnings about unused variables.
22296
86ae07a8
JL
222972012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22298
22299 [BZ #13760]
22300 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22301 in the right place. Discard and retry query if response is
22302 larger than input buffer size.
22303
41bf21a1
JM
223042012-03-28 Joseph Myers <joseph@codesourcery.com>
22305
d6270972
JM
22306 [BZ #369]
22307 [BZ #2678]
22308 [BZ #3866]
22309 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22310 x for large integer exponent.
22311 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22312 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22313 sign of result as needed afterwards.
22314 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22315 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22316 result for underflowing pow the same as for overflow.
22317 (__kernel_standard_l): Handle powl overflow and underflow here
22318 rather than calling __kernel_standard.
22319 * math/libm-test.inc (pow_test): Add more tests.
22320
414fca03 22321 [BZ #3868]
41bf21a1
JM
22322 [BZ #13879]
22323 [BZ #13910]
22324 [BZ #13911]
22325 [BZ #13912]
22326 [BZ #13913]
22327 [BZ #13915]
22328 [BZ #13916]
22329 [BZ #13917]
22330 [BZ #13918]
22331 [BZ #13919]
22332 [BZ #13920]
22333 [BZ #13921]
22334 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22335 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22336 (__kernel_standard_l): New function.
22337 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22338 __kernel_standard.
22339 * math/w_acosl.c (__acosl): Likewise.
22340 * math/w_asinl.c (__asinl): Likewise.
22341 * math/w_atan2l.c (__atan2l): Likewise.
22342 * math/w_atanhl.c (__atanhl): Likewise.
22343 * math/w_coshl.c (__coshl): Likewise.
22344 * math/w_exp10l.c (__exp10l): Likewise.
22345 * math/w_exp2l.c (__exp2l): Likewise.
22346 * math/w_fmodl.c (__fmodl): Likewise.
22347 * math/w_hypotl.c (__hypotl): Likewise.
22348 * math/w_j0l.c (__j0l, __y0l): Likewise.
22349 * math/w_j1l.c (__j1l, __y1l): Likewise.
22350 * math/w_jnl.c (__jnl, __ynl): Likewise.
22351 * math/w_lgammal.c (__lgammal): Likewise.
22352 * math/w_log10l.c (__log10l): Likewise.
22353 * math/w_log2l.c (__log2l): Likewise.
22354 * math/w_logl.c (__logl): Likewise.
22355 * math/w_powl.c (__powl): Likewise.
22356 * math/w_remainderl.c (__remainderl): Likewise.
22357 * math/w_scalbl.c (sysv_scalbl): Likewise.
22358 * math/w_sinhl.c (__sinhl): Likewise.
22359 * math/w_sqrtl.c (__sqrtl): Likewise.
22360 * math/w_tgammal.c (__tgammal): Likewise.
22361 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22362 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22363 * math/libm-test.inc (acos_test): Add more tests.
22364 (acosh_test): Likewise.
22365 (asin_test): Likewise.
22366 (atanh_test): Likewise.
22367 (exp_test): Likewise.
22368 (exp10_test): Likewise.
22369 (exp2_test): Likewise.
22370 (expm1_test): Likewise.
22371 (lgamma_test): Likewise.
22372 (log_test): Likewise.
22373 (log10_test): Likewise.
22374 (log1p_test): Likewise.
22375 (log2_test): Likewise.
22376 (pow_test): Do not allow some spurious overflow exceptions.
22377 (sqrt_test): Add more tests.
22378 (tgamma_test): Likewise.
22379 (y0_test): Likewise.
22380 (y1_test): Likewise.
22381 (yn_test): Likewise.
22382
dd62fda6
AB
223832012-03-27 Anton Blanchard <anton@samba.org>
22384
22385 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22386 MAP_HUGETLB.
22387 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22388 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22390
1e3cdfda
AJ
223912012-03-27 David S. Miller <davem@davemloft.net>
22392
b855ab85
DM
22393 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22394
1e3cdfda
AJ
22395 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22396 have-as-vis3 check.
22397
223982012-03-27 Andreas Jaeger <aj@suse.de>
22399
22400 * sysdeps/x86_64/elf/configure.in: Moved to ...
22401 * sysdeps/x86_64/configure.in: ... here.
22402 * sysdeps/x86_64/elf/start.S: Moved to ...
22403 * sysdeps/x86_64/start.S: ... here.
22404 * sysdeps/x86_64/elf/configure: Delete.
22405
22406 * sysdeps/x86_64/configure.in: Merge contents from
22407 sysdeps/i386/configure.in (without i686 check).
22408
22409 * sysdeps/i386/elf/Versions: Merge into ...
22410 * sysdeps/i386/Versions: ... this.
22411 * sysdeps/i386/elf/Versions: Delete file.
22412 * sysdeps/i386/elf/start.S: Moved to ...
22413 * sysdeps/i386/start.S: ...here.
22414 * sysdeps/i386/elf/configure.in: Merge into...
22415 * sysdeps/i386/configure.in: ...here.
22416 * sysdeps/i386/elf/configure.in: Delete file.
22417 * sysdeps/i386/elf/configure: Delete file.
22418
22419 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22420 * debug/backtracesyms.c: ... here.
22421 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22422 * debug/backtracesymsfd.c: ... here.
22423 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22424 * sysdeps/generic/ifunc-sel.h: ... here.
22425
22426 * sysdeps/unix/i386/start.c: Delete file.
22427 * sysdeps/unix/sparc/start.c: Delete file.
22428 * sysdeps/unix/start.c: Delete file.
22429
22430 * sysdeps/sh/elf/configure.in: Moved to ...
22431 * sysdeps/sh/configure.in: ... here.
22432 * sysdeps/sh/elf/start.S: Moved to ...
22433 * sysdeps/sh/start.S: ... here.
22434 * sysdeps/sh/elf/configure: Delete file.
22435
22436 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22437 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22438 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22439 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22440 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22441 * sysdeps/powerpc/powerpc64/start.S: here.
22442 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22443 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22444 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22445 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22446 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22447
22448 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22449 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22450 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22451 * sysdeps/powerpc/powerpc32/start.S: ... here.
22452 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22453 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22454 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22455
22456 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22457 * sysdeps/powerpc/ifunc-sel.h: ... here.
22458 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22459 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22460
22461 * sysdeps/sparc/elf/configure.in: Moved to ...
22462 * sysdeps/sparc/configure.in: ... here.
22463 * sysdeps/sparc/elf/configure: Delete file.
22464 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22465 * sysdeps/sparc/sparc32/start.S: ... here.
22466 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22467 * sysdeps/sparc/sparc64/start.S: ... here.
22468 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22469 * sysdeps/sparc/sparc32/Makefile: ... this.
22470 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22471 * sysdeps/sparc/sparc64/Makefile: ... this.
22472
22473 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22474 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22475 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22476 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22477 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22478 * sysdeps/s390/s390-32/setjmp.S: ... here.
22479 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22480 * sysdeps/s390/s390-32/configure.in: ... here.
22481 * sysdeps/s390/s390-32/elf/configure: Delete file.
22482 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22483 * sysdeps/s390/s390-32/start.S: ... here.
22484
22485 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22486 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22487 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22488 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22489 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22490 * sysdeps/s390/s390-64/setjmp.S: ... here.
22491 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22492 * sysdeps/s390/s390-64/configure.in: ... here
22493 * sysdeps/s390/s390-64/elf/configure: Delete file.
22494 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22495 * sysdeps/s390/s390-64/start.S: ... here.
22496 * sysdeps/s390/s390-64/elf/configure: Delete.
22497
22498 * configure.in: Remove support for elf directories in sysdeps.
22499
22500 * configure: Regenerated.
22501 * sysdeps/i386/configure: Regenerated.
22502 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22503 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22504 * sysdeps/s390/s390-32/configure: Regenerated.
22505 * sysdeps/s390/s390-64/configure: Regenerated.
22506 * sysdeps/sh/configure: Regenerated.
22507 * sysdeps/sparc/configure: Regenerated.
22508 * sysdeps/x86_64/configure: Regenerated.
22509
a3f61311
AS
225102012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22511
c876e002
AS
22512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22513
a3f61311
AS
22514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22515 denormal result into account.
22516
ac4c54f0
RM
225172012-03-25 Roland McGrath <roland@hack.frob.com>
22518
22519 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22520 Reported by Allan McRae <allan@archlinux.org>.
22521
6a9b9c02
JL
225222012-03-23 Jeff Law <law@redhat.com>
22523
22524 * nss/getnssent.c (__nss_getent): Fix typo.
22525
4c42a0c1
DM
225262012-03-23 David S. Miller <davem@davemloft.net>
22527
22528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22529
1532c7ac
L
225302012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22531
22532 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22533 to pad to uint64_t for each field.
22534 (dl_tls_index): Replace unsigned long with uint64_t.
22535
3ff42526
PP
225362012-03-23 Daniel Jacobowitz <dmj@google.com>
22537 Paul Pluzhnikov <ppluzhnikov@google.com>
22538
22539 [BZ #6528]
22540 * grp/Makefile (otherlibs): Don't set it.
22541 * inet/Makefile (otherlibs): Likewise.
22542 * login/Makefile (otherlibs): Likewise.
22543 * nscd/Makefile (otherlibs): Likewise.
22544 * posix/Makefile (otherlibs): Likewise.
22545 * pwd/Makefile (otherlibs): Likewise.
22546 * rt/Makefile (otherlibs): Likewise.
22547 * sunrpc/Makefile (otherlibs): Likewise.
22548 * nss/Makefile (otherlibs): Likewise.
22549 Add libnss_files to routines and static-only-routines.
22550 ($(objpfx)getent): Remove rule.
22551 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22552 static-only-routines.
22553
7c69cd14
JM
225542012-03-22 Joseph Myers <joseph@codesourcery.com>
22555
22556 [BZ #13892]
22557 * math/s_cexp.c: Include <float.h>.
22558 (__cexp): Handle exp result overflowing not necessarily
22559 overflowing both real and imaginary parts of result.
22560 * math/s_cexpf.c: Likewise.
22561 * math/s_cexpl.c: Likewise.
22562 * math/libm-test.inc (cexp_test): Add more tests.
22563 * sysdeps/i386/fpu/libm-test-ulps: Update.
22564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565
81b035fe
L
225662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 * include/link.h (ELFW): New macro.
22569 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22570 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22571
1da7940c
L
225722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22575 with uint64_t.
22576
b749dbb9
L
225772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22580 declaration.
22581 (struct La_x32_retval): Likewise.
22582
2ff87f3f
L
225832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22584
22585 * sysdeps/x86_64/preconfigure.in: New file.
22586 * sysdeps/x86_64/preconfigure: New generated file.
22587
c0df8e69
JM
225882012-03-22 Joseph Myers <joseph@codesourcery.com>
22589
48e44791
JM
22590 [BZ #13824]
22591 * math/e_exp2l.c: Include <float.h>.
22592 (__ieee754_exp2l): Handle overflow and underflow cases
22593 separately. Only pass fractional part of argument to
22594 __ieee754_expl.
22595 * math/libm-test.inc (exp2_test): Add more tests.
22596
c0df8e69
JM
22597 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22598 negating x to take absolute value.
22599 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22600 Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22603 Likewise.
22604 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22605 computing low part if x was negated.
22606 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22607
c8e43ba7
L
226082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22609
22610 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22611 la_x32_gnu_pltexit.
22612 (pltexit): Cast int_retval to ptrdiff_t.
22613 * elf/tst-auditmod3b.c: Likewise.
22614 * elf/tst-auditmod4b.c: Likewise.
22615 * elf/tst-auditmod5b.c: Likewise.
22616 * elf/tst-auditmod6b.c: Likewise.
22617 * elf/tst-auditmod6c.c: Likewise.
22618 * elf/tst-auditmod7b.c: Likewise.
22619
22620 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22621 and x32_gnu_pltexit.
22622
22623 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22624 __ELF_NATIVE_CLASS.
22625 (La_x32_regs): New macro.
22626 (La_x32_retval): Likewise.
22627 (la_x32_gnu_pltenter): New function prototype.
22628 (la_x32_gnu_pltexit): Likewise.
22629
7998fa78
AS
226302012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22631
dcb33988
AS
22632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22633 exponent.
22634
233fc563
AS
22635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22636
7998fa78
AS
22637 * configure.in (libc_cv_cc_nofma): Check for option to disable
22638 generation of FMA instructions.
22639 * configure: Regenerate.
22640 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22641 * sysdeps/ieee754/dbl-64/Makefile: New file.
22642 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22643 Remove brandred-fma4.
22644 (CFLAGS-brandred-fma4.c): Remove.
22645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22647 define.
22648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22649 define.
22650
8e95c99a
L
226512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22652
22653 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22654 LLONG_MAX != LONG_MAX.
22655 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22656 (_fitoa_word): Likewise.
22657 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22658 LLONG_MAX != LONG_MAX.
22659 * stdio-common/_itowa.h: Include <_itoa.h>.
22660 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22661 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22662 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22663 only if not defined.
22664 (_ITOA_WORD_TYPE): Likewise.
22665 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22666 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22667
6f4db457
DM
226682012-03-21 David S. Miller <davem@davemloft.net>
22669
22670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22671
7785fe5a
L
226722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22673
22674 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22675 of x86_64 when setting libc_cv_slibdir, libdir and
22676 libc_cv_localedir.
22677 * sysdeps/unix/sysv/linux/configure: Regenerated.
22678
4535cd55
JM
226792012-03-21 Joseph Myers <joseph@codesourcery.com>
22680
22681 * manual/lang.texi (Old Varargs): Remove section.
22682 (How Variadic): Update menu.
22683 (va_start): Do not mention varargs.h.
22684
17228132
TS
226852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22686 Joseph Myers <joseph@codesourcery.com>
22687
22688 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22689 link test.
22690 * configure: Regenerated.
22691
8149f976
TS
226922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22693
05f3d1f6
UD
22694 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22695 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22696 conformtest.pl
8149f976 22697
1a4ac776
JM
226982012-03-21 Joseph Myers <joseph@codesourcery.com>
22699
be22ce65
JM
22700 * NOTES: Remove.
22701 * Makefile (files-for-dist): Remove NOTES.
22702 (NOTES): Remove rule.
22703 * README: Don't refer to NOTES.
22704 * manual/creature.texi: Don't include macros.texi.
22705 * manual/intro.texi (creature.texi): Remove comment referring to
22706 NOTES.
22707
40b601fb
JM
22708 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22709 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22710 * configure: Regenerated.
22711 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22712 LIBC_TRY_CC_OPTION.
22713 (libc_cv_as_i686): Likewise.
22714 (libc_cv_cc_avx): Likewise.
22715 (libc_cv_cc_sse2avx): Likewise.
22716 (libc_cv_cc_fma4): Likewise.
22717 (libc_cv_cc_novzeroupper): Likewise.
22718 * sysdeps/i386/configure: Regenerated.
22719
1a4ac776
JM
22720 [BZ #13883]
22721 * sysdeps/i386/fpu/s_cexp.S: Remove.
22722 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22723 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22724 * math/libm-test.inc (cexp_test): Add more tests.
22725 * sysdeps/i386/fpu/libm-test-ulps: Update.
22726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22727
a458e7fe
AM
227282012-03-21 Allan McRae <allan@archlinux.org>
22729
22730 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22731
0cb7efc5
JM
227322012-03-21 Joseph Myers <joseph@codesourcery.com>
22733
22734 [BZ #13871]
22735 * math/w_exp2.c: Do not include <float.h>.
22736 (o_threshold, u_threshold): Remove.
22737 (__exp2): Calculate result before checking finiteness and calling
22738 __kernel_standard.
22739 * math/w_exp2f.c: Likewise.
22740 * math/w_exp2l.c: Likewise.
22741 * math/libm-test.inc (exp2_test): Require overflow exception for
22742 1e6 input.
2460d3aa
JM
22743
22744 [BZ #3866]
22745 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22746 range of signed 64-bit integers before using fistpll. Remove
22747 checks for whether integers fit in mantissa bits.
22748 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22749 the range of signed 32-bit integers before using fistpl. Remove
22750 checks for whether integers fit in mantissa bits.
22751 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22752 (__ieee754_powl): Test for y outside the range of signed 64-bit
22753 integers before using fistpll. Reduce 64-bit values to 63-bit
22754 ones as needed.
22755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22756 divide-by-zero is raised for zero to large negative powers.
22757 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22758 (__ieee754_powl): Test for y outside the range of signed 64-bit
22759 integers before using fistpll. Reduce 64-bit values to 63-bit
22760 ones as needed.
22761 * math/libm-test.inc (pow_test): Add more tests.
22762
eb96ffb0
L
227632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22766 <stdio-common/_itoa.h>.
22767 * debug/segfault.c: Likewise.
22768 * elf/dl-cache.c: Likewise.
22769 * elf/dl-minimal.c: Likewise.
22770 * elf/dl-misc.c: Likewise.
22771 * elf/dl-sysdep.c: Likewise.
22772 * elf/dl-version.c: Likewise.
22773 * elf/rtld.c: Likewise.
22774 * hurd/hurdsock.c: Likewise.
22775 * hurd/lookup-retry.c: Likewise.
22776 * malloc/malloc.c: Likewise.
22777 * malloc/mtrace.c: Likewise.
22778 * nscd/nscd_getgr_r.c: Likewise.
22779 * nscd/nscd_getpw_r.c: Likewise.
22780 * nscd/nscd_getserv_r.c: Likewise.
22781 * posix/getopt_init.c: Likewise.
22782 * posix/wordexp.c: Likewise.
22783 * stdio-common/_itoa.c: Likewise.
22784 * stdio-common/printf_fphex.c: Likewise.
22785 * stdio-common/vfprintf.c: Likewise.
22786 * string/_strerror.c: Likewise.
22787 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22788 * sysdeps/i386/i686/hp-timing.h: Likewise.
22789 * sysdeps/mach/_strerror.c: Likewise.
22790 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22791 * sysdeps/mach/hurd/sethostid.c: Likewise.
22792 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22793 * sysdeps/mach/xpg-strerror.c: Likewise.
22794 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22795 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22796 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22797 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22798 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22799 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22800 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22801 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22802 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22803 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22804 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22805 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22806 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22807 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22808 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22809 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22810 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22811 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22812 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22813 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22814 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22815
22816 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22817
22818 * stdio-common/_itoa.h: Moved to ...
22819 * sysdeps/generic/_itoa.h: Here.
22820
22821 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22822
22823 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22824 instead of "_itoa.h" and "_itowa.h".
22825 * stdio-common/vfprintf.: Likewise.
22826
d1af992d
L
228272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22828
22829 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22830 <bits/wordsize.h>.
22831 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22832 (__signbit): Likwise.
22833 (llrintf): Likwise.
22834 (llrint): Likwise.
22835
114883e0
L
228362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22837
22838 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22839 __WORDSIZE != 64.
22840
c135cc1b
JM
228412012-03-20 Joseph Myers <joseph@codesourcery.com>
22842
22843 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22844 OVERFLOW_EXCEPTION_OK.
22845 * math/libm-test.inc ("Philosophy"): Update comment about
22846 exception testing.
22847 (OVERFLOW_EXCEPTION): Define.
22848 (OVERFLOW_EXCEPTION_OK): Likewise.
22849 (INVALID_EXCEPTION_OK): Renumber.
22850 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22851 (IGNORE_ZERO_INF_SIGN): Likewise.
22852 (test_exceptions): Handle FE_OVERFLOW.
22853 (exp10_test): Expect overflow exceptions.
22854 (exp2_test): Likewise.
22855 (expm1_test): Likewise.
22856 (nextafter_test): Likewise.
22857 (pow_test): Likewise.
22858 (scalbn_test): Likewise.
22859 (scalbln_test): Likewise.
22860
95443d88
L
228612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 * sysdeps/x86_64/bits/atomic.h
22864 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22865 64bit integer.
22866 (atomic_exchange_acq): Likewise.
22867 (__arch_exchange_and_add_body): Likewise.
22868 (__arch_add_body): Likewise.
22869 (atomic_add_negative): Likewise.
22870 (atomic_add_zero): Likewise.
22871
490df6c4
L
228722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22873
c2722551 22874 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22875 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22876
5e52b189
L
228772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22880 Check __x86_64__ instead of __WORDSIZE.
22881
a9879d4c
L
228822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22885
5df98260
DM
228862012-03-19 David S. Miller <davem@davemloft.net>
22887
e1497744
DM
22888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22889
5df98260
DM
22890 * sysdeps/sparc/fpu/fenv_private.h: New file.
22891 * sysdeps/sparc/fpu/math_private.h: Use it.
22892 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22893 Remove.
22894 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22895 (libc_feholdexcept_setroundl): Remove.
22896 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22897 Remove.
22898 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22899 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22900
b4c35121
L
229012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22902
22903 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22904 int64_t instead of long int.
22905 (INSERT_WORDS64): Likwise.
22906
56965fd7
L
229072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22908
22909 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22910 _Unwind_GetCFA return to _Unwind_Ptr first.
22911
83d1aec8
JM
229122012-03-19 Joseph Myers <joseph@codesourcery.com>
22913
1897ad44
JM
22914 [BZ #13629]
22915 * math/s_clog.c: Include <float.h>.
22916 (__clog): Scale large or subnormal inputs.
22917 * math/s_clogf.c: Likewise.
22918 * math/s_clogl.c: Likewise.
22919 * math/s_clog10.c: Include <float.h>.
22920 (M_LOG10_2): Define.
22921 (__clog10): Scale large or subnormal inputs.
22922 * math/s_clog10f.c: Likewise.
22923 * math/s_clog10l.c: Likewise.
22924 * math/libm-test.inc (clog_test): Add more tests.
22925 (clog10_test): Likewise.
22926 * sysdeps/i386/fpu/libm-test-ulps: Update.
22927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22928
7726d6a9
JM
22929 [BZ #11451]
22930 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22931 x and y.
22932 * math/libm-test.inc (atan2_test): Add another test.
22933
83d1aec8
JM
22934 * Makerules (common-objdir-compile): Remove.
22935 * sysdeps/unix/Makefile (config-generated): Do not add
22936 $(unix-generated) to variable.
22937 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22938 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22939 Remove rule.
22940 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22941 Likewise.
22942 [generic bits/local_lim.h] (before-compile): Do not append to
22943 variable.
22944 [generic bits/local_lim.h] (common-generated): Likewise.
22945 [generic sys/param.h] (before-compile): Do not append to variable.
22946 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22947 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22948 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22949 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22950 include.
22951 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22952 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22953 [generic sys/param.h] ($(addprefix
22954 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22955 [generic sys/param.h] (common-generated): Do not append to
22956 variable.
22957 [generic sys/param.h] (sysdep_headers): Likewise.
22958 [generic bits/errno.h] (before-compile): Do not append to
22959 variable.
22960 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22961 rule.
22962 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22963 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22964 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22965 [generic bits/errno.h] (common-generated): Do not append to
22966 variable.
22967 [generic bits/ioctls.h] (before-compile): Do not append to
22968 variable.
22969 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22970 rule.
22971 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22972 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22973 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22974 rule.
22975 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22976 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22977 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22978 [generic bits/ioctls.h] (common-generated): Do not append to
22979 variable.
22980 [generic sys/syscall.h] (syscall.h): Remove variable.
22981 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22982 rule.
22983 [generic sys/syscall.h] (before-compile): Do not append to
22984 variable.
22985 [generic sys/syscall.h] (common-generated): Likewise.
22986 * sysdeps/unix/errnos-tmpl.c: Remove file.
22987 * sysdeps/unix/errnos.awk: Likewise.
22988 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22989 * sysdeps/unix/ioctls.awk: Likewise.
22990 * sysdeps/unix/mk-local_lim.c: Likewise.
22991 * sysdeps/unix/snarf-ioctls: Likewise.
22992
4851a949
RH
229932012-03-19 Richard Henderson <rth@twiddle.net>
22994
bd37f2ee
RH
22995 * sysdeps/i386/fpu/fenv_private.h: New file.
22996 * sysdeps/i386/fpu/math_private.h: Use it.
22997 (math_opt_barrier, math_force_eval): Remove.
22998 (libc_feholdexcept_setround_53bit): Remove.
22999 (libc_feupdateenv_53bit): Remove.
23000 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23001 (math_opt_barrier, math_force_eval): Remove.
23002 (libc_feholdexcept): Remove.
23003 (libc_feholdexcept_setround): Remove.
23004 (libc_fetestexcept, libc_fesetenv): Remove.
23005 (libc_feupdateenv_test): Remove.
23006 (libc_feupdateenv, libc_feholdsetround): Remove.
23007 (libc_feresetround): Remove.
23008
d0adc922
RH
23009 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23010 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23011
0fe0f1f8
RH
23012 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23013 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23014 (libc_feupdateenv_testl): New.
23015 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23016 (libc_feupdateenv_testf): New.
23017 (libc_feupdateenv): Use libc_feupdateenv_test.
23018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23020
eb92c487
RH
23021 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23022 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23023 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23024 (libc_feresetround_noex): New.
23025 (libc_feresetround_noexf): New.
23026 (libc_feresetround_noexl): New.
23027 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23028 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23029 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23030 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23031 SET_RESTORE_ROUND.
23032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23034 (__cos): Likewise.
23035 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23036 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23037 SET_RESTORE_ROUND_NOEX.
23038 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23039 SET_RESTORE_ROUND_NOEXF.
23040 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23041 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23042 (libc_feholdsetroundf): New.
23043 (libc_feresetround, libc_feresetroundf): New.
23044
7d2e8012
RH
23045 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23046 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23047 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23048
b4dabbb4
RH
23049 * sysdeps/generic/math_private.h: Include <fenv.h>.
23050 (default_libc_feholdexcept): New.
23051 (default_libc_feholdexcept_setround): New.
23052 (default_libc_fesetenv, default_libc_feupdateenv): New.
23053 (libc_feholdexcept): Only define if undefined.
23054 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23055 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23056 (libc_feholdexcept_setroundl): Likewise.
23057 (libc_feholdexcept_setround_53bit): Likewise.
23058 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23059 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23060 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23061 (libc_feupdateenv_53bit): Likewise.
23062 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23063 (libc_feholdexcept): Convert from macro to inline function.
23064 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23065 (libc_fesetenv, libc_feupdateenv): Likewise.
23066
4851a949
RH
23067 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23068 not previously defined.
23069 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23070 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23071 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23072 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23073 * sysdeps/ieee754/flt-32/math_private.h: New file.
23074 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23075 math_private.h below SET_FLOAT_WORD.
23076 (__isnan, __isinf_ns, __finite): Remove.
23077 (__isnanf, __isinf_nsf, __finitef): Remove.
23078
e79d442e
AS
230792012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23080
23081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23082
90b80344
DM
230832012-03-17 David S. Miller <davem@davemloft.net>
23084
23085 [BZ #6471]
23086 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23087 for 2.16.
23088
edc21804
DM
230892012-03-16 David S. Miller <davem@davemloft.net>
23090
77e927af
DM
23091 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23092 warnings.
23093
374976dd
DM
23094 [BZ #6471]
23095 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23096 properly.
23097 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23098 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23099 sysdep_routines when subdir is sysvipc.
23100 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23101 __getshmlba helper.
23102
edc21804
DM
23103 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23104
473c3ef3
L
231052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23106
23107 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23108 [__LP64__].
23109
eb0f39b6
L
231102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23111
23112 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23113 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23114 (__lround): Renamed to ...
23115 (__llround): This. Replace long int with long long int.
23116 Define lround functions as aliases of llround functions.
23117 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23118
6b6cd74b
L
231192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23120
23121 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23122 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23123 adresses to uintptr_t. Replace "long int" and "unsigned long
23124 int" with "greg_t" on va_arg.
23125
f1a77b01
L
231262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23129 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23130
23131 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23132 Move e_machine check before EI_CLASS check. Handle x32
23133 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23134 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23135 SKIP_EM_IA_64 and include
23136 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23137
23138 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23139 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23140 (add_system_dir): New macro.
23141
23142 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23143 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23144
11b90b9f
JM
231452012-03-16 Joseph Myers <joseph@codesourcery.com>
23146
c36e1d23
JM
23147 [BZ #2551]
23148 [BZ #2552]
23149 [BZ #2553]
23150 [BZ #2554]
23151 [BZ #2562]
23152 [BZ #2563]
23153 [BZ #2565]
23154 [BZ #2566]
23155 [BZ #2576]
23156 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23157 (y0): Likewise.
23158 * math/w_j0f.c (j0f): Likewise.
23159 (y0f): Likewise.
23160 * math/w_j0l.c (__j0l): Likewise.
23161 (__y0l): Likewise.
23162 * math/w_j1.c (j1): Likewise.
23163 (y1): Likewise.
23164 * math/w_j1f.c (j1f): Likewise.
23165 (y1f): Likewise.
23166 * math/w_j1l.c (__j1l): Likewise.
23167 (__y1l): Likewise.
23168 * math/w_jn.c (jn): Likewise.
23169 (yn): Likewise.
23170 * math/w_jnf.c (jnf): Likewise.
23171 (ynf): Likewise.
23172 * math/w_jnl.c (__jnl): Likewise.
23173 (__ynl): Likewise.
23174 * math/libm-test.inc (j0_test): Add more tests.
23175 (j1_test): Likewise.
23176 (jn_test): Likewise. Add trailing semicolon to existing test.
23177 (y0_test): Likewise.
23178 (y1_test): Likewise.
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23181
11b90b9f
JM
23182 [BZ #13851]
23183 [BZ #13854]
23184 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23185 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23186 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23187 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23188 (__tanl): Set errno for infinite argument.
23189 * sysdeps/i386/fpu/mptan.c: Remove.
23190 * sysdeps/i386/fpu/s_tan.S: Likewise.
23191 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23192 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23193 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23194 * math/libm-test.inc (tan_test): Add more tests and enable more
23195 tests for double and long double.
23196 * sysdeps/i386/fpu/libm-test-ulps: Update.
23197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23198
6a1bd2a1
JK
231992012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23200
23201 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23202 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23203
10a803e0
RM
232042012-03-16 Roland McGrath <roland@hack.frob.com>
23205
23206 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23207 * configure.in: Use it for both main tree and add-ons.
23208 * configure: Regenerated.
23209
f196c7f7
L
232102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23211
23212 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23213
8848d99d
JM
232142012-03-16 Joseph Myers <joseph@codesourcery.com>
23215
96cbe7f4
JM
23216 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23217 in comment.
23218
8848d99d
JM
23219 [BZ #13851]
23220 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23221 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23225 infinite argument.
23226 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23228 != 0 for prec == 2.
23229 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23230 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23231 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23232 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23233 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23234 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23235 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23236 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23237 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23238 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23239 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23240 * math/libm-test.inc (cos_test): Add more tests and enable more
23241 tests for long double.
23242 (sin_test): Likewise.
23243 (sincos_test): Likewise.
23244 * sysdeps/i386/fpu/libm-test-ulps: Update.
23245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23246
dd7f4703
DM
232472012-03-16 David S. Miller <davem@davemloft.net>
23248
23249 * sysdeps/sparc/fpu/math_private.h: New file.
23250
006f1daa
DM
232512012-03-15 David S. Miller <davem@davemloft.net>
23252
c0c83bc8
DM
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23254 file.
e6a62e18 23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23257 file.
e6a62e18
DM
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23264 sysdep routines.
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23266
88cb87d9
DM
23267 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23268 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23269
006f1daa 23270 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23272 sparc-ifunc.h
006f1daa 23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23275 Likewise.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23277 Likewise.
006f1daa
DM
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23282 Likewise.
006f1daa
DM
23283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23288 Likewise.
23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23290 Likewise.
006f1daa
DM
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23315
11e0098e
AS
233162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23317
23318 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23319 scaling.
23320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23321
e85b09d0
AJ
233222012-03-15 Andreas Jaeger <aj@suse.de>
23323
23324 [BZ #13852]
23325 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23326 ieee754/flt-32 implementation for sin, cos and sincos.
23327 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23328 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23329 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23330 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23331 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23332 ieee754/flt-32 implementation for tan.
23333
23334 * math/libm-test.inc (cos_test): Enable some large input tests for
23335 float as well
23336 (sin_test): Likewise.
23337 (sincos_test): Likewise.
23338 (tan_test): Add tests for large input.
23339
23340 * sysdeps/i386/fpu/libm-test-ulps: Update.
23341
81c64153
AJ
233422012-03-15 Andreas Jaeger <aj@suse.de>
23343
23344 [BZ #13658]
23345 * math/libm-test.inc (cos_test): Add more test cases.
23346 (sin_test): Likewise.
23347 (sincos_test): Likewise.
23348
7bbfa5c6
AJ
233492012-03-15 Andreas Jaeger <aj@suse.de>
23350
23351 [BZ #13837]
23352 * math/libm-test.inc (cos_test): Add a test case for large input
23353 value.
23354 (sin_test): Likewise.
23355 (sincos_test): Likewise.
23356
233572012-03-15 Andreas Jaeger <aj@suse.de>,
23358 Joseph Myers <joseph@codesourcery.com>
23359
23360 [BZ #13658]
0671f479 23361 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23362 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23363 * sysdeps/i386/fpu/branred.c: Likewise.
23364 * sysdeps/i386/fpu/dosincos.c: Likewise.
23365 * sysdeps/i386/fpu/mpa.c: Likewise.
23366 * sysdeps/i386/fpu/s_cos.S: Likewise.
23367 * sysdeps/i386/fpu/s_sin.S: Likewise.
23368 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23369 * sysdeps/i386/fpu/sincos32.c: Likewise.
23370
23371 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23372 Define.
23373 (libc_feupdateenv_53bit): Define.
23374 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23375 Define.
23376 (libc_feupdateenv_53bit): Define.
23377
23378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23379 53 bit (without extend i386 double precision).
23380
23381 * math/libm-test.inc (sincos_test): Add tests for large input.
23382 (sin): Likewise.
23383 (cos): Likewise.
23384
23385 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23386
9cad04ea
AS
233872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23388
23389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23390
f7062b9a
DM
233912012-03-15 David S. Miller <davem@davemloft.net>
23392
23393 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23409 file.
f7062b9a 23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23412 file.
f7062b9a 23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23415 file.
f7062b9a 23416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23418 file.
f7062b9a
DM
23419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23421 fmin/fmax sysdep routines.
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23423
7bd951ff
DM
234242012-03-14 David S. Miller <davem@davemloft.net>
23425
559398ab
DM
23426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23455 routines.
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23457 file.
559398ab 23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23460 file.
559398ab 23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23463 file.
559398ab 23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23466 file.
559398ab 23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23469 file.
559398ab 23470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23472 file.
23473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23474 file.
23475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23476 file.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23478 file.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23480 New file.
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23482 file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23484 file.
559398ab 23485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23487 file.
559398ab 23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23490 file.
559398ab 23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23493 file.
559398ab 23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23496 VIS3 routines.
559398ab
DM
23497
23498 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23499 New file.
23500
5a1c1e32
DM
23501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23502
eae47a36
DM
23503 * sysdeps/sparc/configure.in: New file.
23504 * sysdeps/sparc/configure: Generate.
23505 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23506 * configure: Regenerate.
23507 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23508 * config.make.in (have-as-vis3): New.
23509 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23510 available use -Av9d instead of -Av9a.
23511 * sysdeps/sparc/sparc64/Makefile: Likewise.
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23514 New file.
23515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23516 file.
23517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23518 New file.
23519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23520 file.
eae47a36
DM
23521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23526
c0c83bc8
DM
23527 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23528 fzeros/fnegs to load 0x80000000 into a float register instead of
23529 using the stack.
7bd951ff
DM
23530 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23531
bd951ccb
JM
235322012-03-14 Joseph Myers <joseph@codesourcery.com>
23533
23534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23535 bits/syscall.h.
23536 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23537 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23538 ($(inst_includedir)/bits/syscall.h): Remove rule.
23539 ($(objpfx)bits/syscall.d): Include instead of
23540 $(objpfx)syscall-list.d.
23541 (generated): Change syscall-list.h and syscall-list.d to
23542 bits/syscall.h and bits/syscall.d.
23543
bb4e6db2
RM
235442012-03-14 Roland McGrath <roland@hack.frob.com>
23545
23546 [BZ #13846]
23547 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23548
aa4a2ae1
JM
235492012-03-14 Joseph Myers <joseph@codesourcery.com>
23550
e456826d
JM
23551 [BZ #13841]
23552 * math/s_csqrt.c: Include <float.h>.
23553 (__csqrt): Scale large or subnormal inputs.
23554 * math/s_csqrtf.c: Likewise.
23555 * math/s_csqrtl.c: Likewise.
23556 * math/libm-test.inc (csqrt_test): Add more tests.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23559
aa4a2ae1
JM
23560 [BZ #13840]
23561 * math/libm-test.inc (hypot_test): Add more tests.
23562
7c10fd35
DM
235632012-03-13 David S. Miller <davem@davemloft.net>
23564
23565 [BZ #13840]
23566 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23567 double-precision for the calculation instead of scaling.
23568
f453b98b
JM
235692012-03-13 Joseph Myers <joseph@codesourcery.com>
23570
23571 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23572 manipulate bits before adding and subtracting TWO52[sx].
23573 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23575 Likewise.
23576 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23577
09a3453f
DM
235782012-03-13 David S. Miller <davem@davemloft.net>
23579
8e59da90
DM
23580 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23581 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23583 rtld-global-offsets.h
23584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23585
2a8ab7f2
DM
23586 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23587 large parameters.
23588
10f62770
DM
23589 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23590
5f0bdb18
DM
23591 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23592 'err' in the ifdef scope in which it is actually used.
23593
09a3453f
DM
23594 * nss/nss_db/db-init.c: Include string.h
23595
b4b2eb5e
DM
235962012-03-12 David S. Miller <davem@davemloft.net>
23597
98bb2f1c
DM
23598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23599 masking out of the most significant byte of random value used.
23600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23601 Fix coding style in previous change.
23602
b4b2eb5e
DM
23603 * sysdeps/unix/sysv/linux/kernel-features.h
23604 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23605 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23606 expression.
23607 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23608 later.
23609
6e226b09
DM
236102012-03-11 David S. Miller <davem@davemloft.net>
23611
a1bcbd40
DM
23612 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23613 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23614 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23615 for 'resultvar' otherwise things get truncated on 64-bit.
23616
cb9d6174
DM
23617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23618 Fix masking out of the most significant byte of random value used.
23619
6e226b09
DM
23620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23621
058c132d
AS
236222012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23623
23624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23625
2d2cd515
DM
236262012-03-09 David S. Miller <davem@davemloft.net>
23627
23628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23629 variables with appropriate CPP guards.
23630 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23631 frame pointer, not the stack pointer. Correct layout comments. Fix test
23632 on resulting framesize and the management of the outregs buffer for pltexit.
23633 Preserve floating point return values across _dl_call_pltexit call.
23634 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23635 framesize and the management of the outregs buffer for pltexit.
23636 Preserve floating point return values across _dl_call_pltexit
23637 call.
23638 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23639 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23640 (print_exit): Fix format string for return register value.
23641
9a07f9d0
JM
236422012-03-10 Joseph Myers <joseph@codesourcery.com>
23643
23644 * sunrpc/Makefile (others): Add rpcgen.
23645 ($(objpfx)rpcgen): Remove special build rule and dependency on
23646 libc.
23647 * sunrpc/rpcgen.c: New file.
23648
547b5e30
PE
236492012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23650
c524201a
PE
23651 [BZ #13673]
23652 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23653 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23654 * sysdeps/i386/crti.S: Likewise.
23655 * sysdeps/i386/crtn.S: Likewise.
23656 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23657 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23660 * sysdeps/sh/crti.S: Likewise.
23661 * sysdeps/sh/crtn.S: Likewise.
23662 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23663
7b6235f2
PE
23664 [BZ #13673]
23665 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23666 with URL.
23667 * locale/programs/locfile-kw.gperf: Likewise.
23668 * locale/programs/charmap-kw.h: Regenerated.
23669 * locale/programs/locfile-kw.h: Likewise.
23670
547b5e30
PE
23671 [BZ #13673]
23672 * intl/plural.y: Replace FSF snail mail address with URL.
23673 * intl/plural.c: Regenerated.
23674
5f0a5dae
RH
236752012-03-09 Richard Henderson <rth@twiddle.net>
23676
23677 * include/math_private.h: Remove file.
23678 * math/math_private.h: Move file ...
23679 * sysdeps/generic/math_private.h: ... here.
23680
b8c03620
RH
23681 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23682 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23683 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23684
4e234f5d 23685 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23686 and <math_private.h>.
23687 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23688 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23689 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23690 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23691 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23779 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23784 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23785 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23787 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23788 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23789 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23792 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23794 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23797 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23799 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23800 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23801 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23802 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23803 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23804 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23806 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23807 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23808 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23809 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23810 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23813 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23814 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23815 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23817 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23818 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23820 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23824 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23825 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23826 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23828 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23829 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23830 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23831 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23832 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23833 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23834 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23835 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23836 * sysdeps/ieee754/k_standard.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23959 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23985 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23986 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23987 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23997 * sysdeps/ieee754/s_lib_version.c: Likewise.
23998 * sysdeps/ieee754/s_matherr.c: Likewise.
23999 * sysdeps/ieee754/s_signgam.c: Likewise.
24000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24002 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24003 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24004 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24005 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24006 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24007 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24008 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24009 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24010 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24011 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24012 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24013 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24014 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24015 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24016 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24017 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24021
1991fa03
JM
240222012-03-09 Joseph Myers <joseph@codesourcery.com>
24023
24024 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24025 * sunrpc/rpc_main.c: Likewise.
24026 * sunrpc/rpc_svcout.c: Likewise.
24027
60d6f5a6
DM
240282012-03-09 David S. Miller <davem@davemloft.net>
24029
24030 * include/math_private.h: New file.
24031
4962050e
JM
240322012-03-09 Joseph Myers <joseph@codesourcery.com>
24033
02a6f887
JM
24034 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24035 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24036 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24037 from <bits/socket_type.h>.
24038 (enum __socket_type): Don't define here.
24039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24041 bits/socket_type.h.
24042
c6e013c1
JM
24043 [BZ #13566]
24044 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24045 checking __USE_GNU.
24046
4962050e
JM
24047 * Makerules ($(inst_includedir)/%.h): New rule.
24048 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24049 (install-others): Remove variable setting.
24050 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24051
38842f45
RH
240522012-03-08 Richard Henderson <rth@twiddle.net>
24053
67bb6da6
RH
24054 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24055 from macro to inline function; merge with the
24056 !__LIBC_INTERNAL_MATH_INLINES version.
24057 (__ieee754_sqrtf): Likewise.
24058
15194b4b
RH
24059 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24060 to inline function.
24061 (__rintf, __floor, __floorf): Likewise.
24062
64e21ede
RH
24063 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24064 macro to inline function.
24065 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24066
38842f45
RH
24067 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24068 not <math/math_private.h>.
24069
c64bf5fe
DM
240702012-03-08 David S. Miller <davem@davemloft.net>
24071
24072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24073 copyright year.
24074 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24075
82d86f28
TS
240762012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24077
24078 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24079 normalization.
24080 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24081 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24082
aea5d727
UD
240832012-03-08 Ulrich Drepper <drepper@gmail.com>
24084
24085 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24086 be defined individually, they must be defined as a block. Define
24087 S for printing a string instead of hidint the different by using a
24088 macro for adding the 'l'.
24089 * stdio-common/tst-fphex-wide.c: Adjust.
24090
70bca0a3
MP
240912012-03-07 Marek Polacek <polacek@redhat.com>
24092
24093 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24094
65b81130
MP
240952012-03-08 Marek Polacek <polacek@redhat.com>
24096
24097 [BZ #13806]
24098 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24099 * stdio-common/tst-fphex.c: Define a few macros to make the
24100 test reusable. Use them.
24101 * stdio-common/tst-fphex-wide.c: New file.
24102
07037eeb
JM
241032012-03-08 Joseph Myers <joseph@codesourcery.com>
24104
a7a93d50
JM
24105 [BZ #6911]
24106 * manual/macros.texi (gnusystems): New macro.
24107 (nongnusystems): Likewise.
24108 (gnulinuxhurdsystems): Likewise.
24109 (gnuhurdsystems): Likewise..
24110 (gnulinuxsystems): Likewise.
24111 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24112 variants of the GNU system, not "GNU system".
24113 * manual/conf.texi: Likewise.
24114 * manual/errno.texi: Likewise. Update example of errno macro
24115 expansion.
24116 * manual/filesys.texi: Likewise.
24117 (getumask): Document as specific to GNU/Hurd.
24118 * manual/install.texi: Likewise. Reword some references to
24119 GNU/Linux.
24120 * manual/intro.texi: Likewise.
24121 * manual/io.texi: Likewise.
24122 (File Name Portability): Detail which constraints are inapplicable
24123 to all GNU systems and which are only inapplicable to GNU/Hurd.
24124 * manual/job.texi: Likewise.
24125 * manual/llio.texi: Likewise.
24126 (O_NOCTTY): Document as present on GNU/Linux.
24127 * manual/maint.texi: Likewise.
24128 * manual/memory.texi: Likewise.
24129 * manual/pattern.texi: Likewise.
24130 * manual/pipe.texi: Likewise.
24131 * manual/process.texi: Likewise.
24132 * manual/resource.texi: Likewise.
24133 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24134 child on GNU/Hurd.
24135 * manual/setjmp.texi: Likewise.
24136 * manual/signal.texi: Likewise.
24137 * manual/startup.texi: Likewise.
24138 * manual/stdio.texi: Likewise.
24139 * manual/terminal.texi: Likewise.
24140 (ONLCR): Document as POSIX.
24141 (OXTABS): Document availability on GNU/Linux as XTABS.
24142 (ONOEOT): Document availability separately from other bits.
24143 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24144 * manual/time.texi: Likewise.
24145 * manual/users.texi: Likewise.
24146 * INSTALL: Regenerated.
24147 * sysdeps/gnu/errlist.c: Regenerated.
24148
07037eeb
JM
24149 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24150 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24151 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24152 puts.
24153 * configure: Regenerated.
24154
d1d3431a
JM
241552012-03-07 Joseph Myers <joseph@codesourcery.com>
24156
af6a1e37
JM
24157 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24158 default includes instead of AC_HEADER_CHECK.
24159 * sysdeps/i386/configure: Regenerated.
24160
d1d3431a
JM
24161 [BZ #10716]
24162 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24163 * math/s_cacoshf.c (__cacoshf): Likewise.
24164 * math/s_cacoshl.c (__cacoshl): Likewise.
24165 * math/s_casinh.c (__casinh): Set signs of result from argument.
24166 * math/s_casinhf.c (__casinhf): Likewise.
24167 * math/s_casinhl.c (__casinhl): Likewise.
24168 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24169 (casinh_test): Add more tests.
24170 * sysdeps/i386/fpu/libm-test-ulps: Update.
24171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24172
482ff4da
UD
241732012-03-07 Ulrich Drepper <drepper@gmail.com>
24174
872fda05
UD
24175 * po/zh_TW.po: Update from translation team.
24176
a4300c7a
UD
24177 * login/Makefile (distribute): Remove variable.
24178 * catgets/Makefile: Likewise.
24179 * mach/Makefile: Likewise.
24180 * malloc/Makefile: Likewise.
24181 * misc/Makefile: Likewise.
24182 * iconv/Makefile: Likewise.
24183 * nscd/Makefile: Likewise.
24184 * hurd/Makefile: Likewise.
24185 * manual/Makefile: Likewise.
24186 * locale/Makefile: Likewise.
24187 * intl/Makefile: Likewise.
24188 * conform/Makefile: Likewise.
24189 * nss/Makefile: Likewise.
24190 * time/Makefile: Likewise.
24191 * soft-fp/Makefile: Likewise.
24192 * dirent/Makefile: Likewise.
24193 * gmon/Makefile: Likewise.
24194 * po/Makefile: Likewise.
24195 * rt/Makefile: Likewise.
24196 * socket/Makefile: Likewise.
24197 * math/Makefile: Likewise.
24198 * signal/Makefile: Likewise.
24199 * debug/Makefile: Likewise.
24200 * elf/Makefile: Likewise.
24201 * timezone/Makefile: Likewise.
24202 * stdlib/Makefile: Likewise.
24203 * iconvdata/Makefile: Likewise.
24204 * sunrpc/Makefile: Likewise.
24205 * io/Makefile: Likewise.
24206 * argp/Makefile: Likewise.
24207 * inet/Makefile: Likewise.
24208 * hesiod/Makefile: Likewise.
24209 * grp/Makefile: Likewise.
24210 * csu/Makefile: Likewise.
24211 * wctype/Makefile: Likewise.
24212 * crypt/Makefile: Likewise.
24213 * libio/Makefile: Likewise.
24214 * string/Makefile: Likewise.
24215 * nis/Makefile: Likewise.
24216 * resolv/Makefile: Likewise.
24217 * stdio-common/Makefile: Likewise.
24218 * wcsmbs/Makefile: Likewise.
24219 * dlfcn/Makefile: Likewise.
24220 * posix/Makefile: Likewise.
24221
3b7c4e74 24222 [BZ #6959]
482ff4da
UD
24223 * timezone/Makefile: Don't install timezone files, just the programs
24224 and scripts.
24225
f72ed77d
UD
242262012-03-06 Ulrich Drepper <drepper@gmail.com>
24227
a000466f
UD
24228 * nss/databases.def: Add missing gshadow entry.
24229
f72ed77d
UD
24230 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24231
a53b7a4e
MP
242322012-03-06 Marek Polacek <polacek@redhat.com>
24233
24234 [BZ #13726]
24235 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24236 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24237 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24238 * stdio-common/tst-long-dbl-fphex.c: New file.
24239
e9258400
DM
242402012-03-06 David S. Miller <davem@davemloft.net>
24241
24242 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24243 (set_obp_int): New function.
24244 (get_obp_int): New function.
24245 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24246 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24247 Avoid unused variable warnings on 'val' and use builtin_expect.
24248 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24249 __builtin_expect.
e9258400
DM
24250 (INLINE_CLONE_SYSCALL): Likewise.
24251
3bd2c723
DM
242522012-03-05 David S. Miller <davem@davemloft.net>
24253
24254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24255
bbb78d03
AS
242562012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24257
884c5db4
AS
24258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24259
bbb78d03
AS
24260 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24261 only for |x| >= 40.
24262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24263
1c9f702a 242642012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24265
24266 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24267 Replace gettimeofday with __vdso_gettimeofday.
24268
7be16f82
RM
24269 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24270 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24271 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24272
24273 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24274 time with __vdso_time.
24275
ed58a00f
JM
242762012-03-05 Joseph Myers <joseph@codesourcery.com>
24277
24278 * manual/lang.texi (size_t): Note types to which size_t may be
24279 equivalent with the GNU C Library, but do not describe when
24280 differences between them are significant.
24281
30ee4ced
AJ
242822012-03-05 Andreas Jaeger <aj@suse.de>
24283
24284 * sysdeps/i386/fpu/libm-test-ulps: Update.
24285
b7cd39e8
JM
242862012-03-05 Joseph Myers <joseph@codesourcery.com>
24287
24288 [BZ #3976]
24289 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24290 (__ieee754_pow): Save and restore rounding mode and use
24291 round-to-nearest for main computations.
24292 * math/libm-test.inc (pow_test_tonearest): New function.
24293 (pow_test_towardzero): Likewise.
24294 (pow_test_downward): Likewise.
24295 (pow_test_upward): Likewise.
24296 (main): Call the new functions.
24297 * sysdeps/i386/fpu/libm-test-ulps: Update.
24298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24299
24300 [BZ #3976]
24301 * math/libm-test.inc (cosh_test_tonearest): New function.
24302 (cosh_test_towardzero): Likewise.
24303 (cosh_test_downward): Likewise.
24304 (cosh_test_upward): Likewise.
24305 (sinh_test_tonearest): Likewise.
24306 (sinh_test_towardzero): Likewise.
24307 (sinh_test_downward): Likewise.
24308 (sinh_test_upward): Likewise.
24309 (main): Call the new functions.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24312
6c6a98c9
TV
243132012-03-05 Tom de Vries <tom@codesourcery.com>
24314
24315 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24316 default stack guard is set in last bytes.
24317 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24318
21bb2d2e 243192012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24320
21bb2d2e 24321 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24322
21bb2d2e
AJ
24323 [BZ #13656]
24324 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24325 possibly allocate from heap instead of stack.
24326 * stdio-common/bug-vfprintf-nargs.c: New file.
24327 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24328
c6922934
AS
243292012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24330
24331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24332
bc957d53
MP
243332012-03-03 Marek Polacek <polacek@redhat.com>
24334
24335 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24336 * math/math_private.h: Likewise.
24337 * stdlib/tst-strtod.c: Likewise.
24338 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24339 * sysdeps/x86_64/bits/atomic.h: Likewise.
24340
6358490d
DM
243412012-03-02 David S. Miller <davem@davemloft.net>
24342
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24347 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24348 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24349 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24350 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24351
01ae168d
RM
243522012-03-02 Roland McGrath <roland@hack.frob.com>
24353
d9a17c07
RM
24354 [BZ #13792]
24355 * manual/examples/README: New file, says the example source files
24356 can be used under GPL>=2.
24357 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24358 line containing just "*/".
24359 * manual/examples/add.c: Add copyright header (GPL>=2).
24360 * manual/examples/argp-ex1.c: Likewise.
24361 * manual/examples/argp-ex2.c: Likewise.
24362 * manual/examples/argp-ex3.c: Likewise.
24363 * manual/examples/argp-ex4.c: Likewise.
24364 * manual/examples/atexit.c: Likewise.
24365 * manual/examples/db.c: Likewise.
24366 * manual/examples/dir.c: Likewise.
24367 * manual/examples/dir2.c: Likewise.
24368 * manual/examples/execinfo.c: Likewise.
24369 * manual/examples/filecli.c: Likewise.
24370 * manual/examples/filesrv.c: Likewise.
24371 * manual/examples/fmtmsgexpl.c: Likewise.
24372 * manual/examples/genpass.c: Likewise.
24373 * manual/examples/inetcli.c: Likewise.
24374 * manual/examples/inetsrv.c: Likewise.
24375 * manual/examples/isockad.c: Likewise.
24376 * manual/examples/longopt.c: Likewise.
24377 * manual/examples/memopen.c: Likewise.
24378 * manual/examples/memstrm.c: Likewise.
24379 * manual/examples/mkfsock.c: Likewise.
24380 * manual/examples/mkisock.c: Likewise.
24381 * manual/examples/mygetpass.c: Likewise.
24382 * manual/examples/pipe.c: Likewise.
24383 * manual/examples/popen.c: Likewise.
24384 * manual/examples/rprintf.c: Likewise.
24385 * manual/examples/search.c: Likewise.
24386 * manual/examples/select.c: Likewise.
24387 * manual/examples/setjmp.c: Likewise.
24388 * manual/examples/sigh1.c: Likewise.
24389 * manual/examples/sigusr.c: Likewise.
24390 * manual/examples/stpcpy.c: Likewise.
24391 * manual/examples/strdupa.c: Likewise.
24392 * manual/examples/strftim.c: Likewise.
24393 * manual/examples/strncat.c: Likewise.
24394 * manual/examples/subopt.c: Likewise.
24395 * manual/examples/swapcontext.c: Likewise.
24396 * manual/examples/termios.c: Likewise.
24397 * manual/examples/testopt.c: Likewise.
24398 * manual/examples/testpass.c: Likewise.
24399 * manual/examples/timeval_subtract.c: Likewise.
24400
01ae168d
RM
24401 [BZ #13792]
24402 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24403 function to ...
24404 * manual/timeval_subtract.c.texi: ... here, new file.
24405
49efa33d
DM
244062012-03-02 David S. Miller <davem@davemloft.net>
24407
24408 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24409
28afd92d
JM
244102012-03-02 Joseph Myers <joseph@codesourcery.com>
24411
804360ed
JM
24412 [BZ #3976]
24413 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24414 (__sin): Save and restore rounding mode and use round-to-nearest
24415 for all computations.
24416 (__cos): Save and restore rounding mode and use round-to-nearest
24417 for all computations.
24418 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24419 <fenv.h>.
24420 (tan): Save and restore rounding mode and use round-to-nearest for
24421 all computations.
24422 * math/libm-test.inc (cos_test_tonearest): New function.
24423 (cos_test_towardzero): Likewise.
24424 (cos_test_downward): Likewise.
24425 (cos_test_upward): Likewise.
24426 (sin_test_tonearest): Likewise.
24427 (sin_test_towardzero): Likewise.
24428 (sin_test_downward): Likewise.
24429 (sin_test_upward): Likewise.
24430 (tan_test_tonearest): Likewise.
24431 (tan_test_towardzero): Likewise.
24432 (tan_test_downward): Likewise.
24433 (tan_test_upward): Likewise.
24434 (main): Call the new functions.
24435 * sysdeps/i386/fpu/libm-test-ulps: Update.
24436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24437
a6d06d7b
JM
24438 [BZ #10135]
24439 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24440 small n, then large n, before computing and testing k+n.
24441 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24443 Likewise.
24444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24445 Likewise.
24446 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24447 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24452 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24454 * math/libm-test.inc (scalbn_test): Add more tests.
24455 (scalbln_test): Likewise.
24456
07e12bb3
JM
24457 * manual/filesys.texi (mode_t): Describe constraints on size and
24458 signedness, not exact equivalence to a particular type.
24459 (ino_t): Likewise.
24460 (ino64_t): Likewise.
24461 (dev_t): Likewise.
24462 (nlink_t): Likewise.
24463 (blkcnt_t): Likewise.
24464 (blkcnt64_t): Likewise.
24465 * manual/llio.texi (off_t): Likewise.
24466
28afd92d
JM
24467 [BZ #3976]
24468 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24469 (__ieee754_exp): Save and restore rounding mode and use
24470 round-to-nearest for all computations.
24471 * math/libm-test.inc (exp_test_tonearest): New function.
24472 (exp_test_towardzero): Likewise.
24473 (exp_test_downward): Likewise.
24474 (exp_test_upward): Likewise.
24475 (main): Call the new functions.
24476 * sysdeps/i386/fpu/libm-test-ulps: Update.
24477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24478
b1eeb65d
CD
244792012-03-01 Chris Demetriou <cgd@google.com>
24480
24481 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24482 have predictable order.
24483
53362a4b
DM
244842012-03-01 David S. Miller <davem@davemloft.net>
24485
3c969083
DM
24486 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24487
759707de
DM
24488 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24489 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24490 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24491 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24492
dfdb8ff2
DM
24493 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24494 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24495 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24497 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24498 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24499 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24500 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24501 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24502
ead89f96
DM
24503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24504
7f66bd07
DM
24505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24506 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24508
53362a4b
DM
24509 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24510 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24512 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24513 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24516 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24517 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24518 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24519 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24520 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24522 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24523 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24525 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24526 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24527 * sysdeps/sparc/elf/configure: Regenerated.
24528
7b1902cb
JM
245292012-03-01 Joseph Myers <joseph@codesourcery.com>
24530
bec039bc
JM
24531 * configure.in (AS, LD): Require binutils 2.20 or later.
24532 * configure: Regenerated.
24533 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24534 as required minimum version.
24535 * INSTALL: Regenerated.
24536
7b1902cb
JM
24537 [BZ #2541]
24538 [BZ #4108]
24539 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24540 before squaring exponent.
24541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24542 bottom long double and 27 bits of top long double before squaring
24543 exponent.
24544 * math/libm-test.inc (erfc_test): Add more tests.
24545 * sysdeps/i386/fpu/libm-test-ulps: Update.
24546 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24548
f775c276
KT
245492012-03-01 Kai Tietz <ktietz@redhat.com>
24550
24551 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24552 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24553 containing bit-fields.
24554 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24555 * soft-fp/single.h (_FP_UNION_S): Likewise.
24556 * soft-fp/double.h (_FP_UNION_D): Likewise.
24557
5b8a4d4a
JM
245582012-02-29 Joseph Myers <joseph@codesourcery.com>
24559
0bab47b6
JM
24560 [BZ #13786]
24561 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24562 not include ../strcmp.S.
24563 [USE_AS_STRNCASECMP_L]: Likewise.
24564 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24565 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24566 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24567 (__strncasecmp_l_ia32): Define as alias to
24568 __strncasecmp_l_nonascii.
24569
0fcad3e2
JM
24570 [BZ #5794]
24571 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24572 * sysdeps/i386/fpu/libm-test-ulps: Update.
24573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574
5b8a4d4a
JM
24575 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24577
8fdceb2e
JL
245782012-02-29 Jeff Law <law@redhat.com>
24579
24580 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24581 out of bounds read.
24582
1f393a11
MP
245832012-02-29 Marek Polacek <polacek@redhat.com>
24584
24585 [BZ #13706]
24586 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24587 * elf/Makefile: Add rules to run tst-unused-dep.out.
24588
8847f037
DM
245892012-02-28 David S. Miller <davem@davemloft.net>
24590
24591 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24592 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24593 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24595 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24596 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24597
169d7f11
JM
245982012-02-29 Joseph Myers <joseph@codesourcery.com>
24599
24600 * math/libm-test.inc (llround_test): Move one test from
24601 lround_test. Use TEST_f_L in moved test.
24602 (lround_test): Move misplaced test to llround_test. Add testcase
24603 from bug 2561.
24604
39adf059
UD
246052012-02-28 Ulrich Drepper <drepper@gmail.com>
24606
24607 * sysdeps/x86_64/fpu/e_expf.S: New file.
24608 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24609
71b5d1c5
SB
246102012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24611
24612 [BZ #13637]
24613 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24614 of remain_len that may cause incomplete multi-byte character and
24615 false match.
24616 * posix/bug-regex33.c: New file.
24617 * posix/Makefile (tests): Add bug-regex33.
24618
1f77f049
JM
246192012-02-28 Joseph Myers <joseph@codesourcery.com>
24620
24621 * manual/macros.texi: New file.
24622 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24623 * manual/libc.texinfo: Include macros.texi.
24624 * manual/creatute.texi: Likewise.
24625 * manual/install.texi: Likewise.
24626 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24627 @glibcadj{} in references to the GNU C Library.
24628 * manual/charset.texi: Likewise.
24629 * manual/conf.texi: Likewise.
24630 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24631 when not using those macros.
24632 * manual/creature.texi: Likewise.
24633 * manual/crypt.texi: Likewise.
24634 * manual/errno.texi: Likewise.
24635 * manual/filesys.texi: Likewise.
24636 * manual/header.texi: Likewise.
24637 * manual/install.texi: Likewise.
24638 * manual/intro.texi: Likewise.
24639 * manual/io.texi: Likewise.
24640 * manual/job.texi: Likewise.
24641 * manual/lang.texi: Likewise.
24642 * manual/libc.texiinfo: Likewise.
24643 * manual/llio.texi: Likewise.
24644 * manual/locale.texi: Likewise.
24645 * manual/maint.texi: Likewise.
24646 * manual/math.texi: Likewise.
24647 * manual/memory.texi: Likewise.
24648 * manual/message.texi: Likewise.
24649 * manual/nss.texi: Likewise.
24650 * manual/pattern.texi: Likewise.
24651 * manual/process.texi: Likewise.
24652 * manual/resource.texi: Likewise.
24653 * manual/search.texi: Likewise.
24654 * manual/setjmp.texi: Likewise.
24655 * manual/signal.texi: Likewise.
24656 * manual/socket.texi: Likewise.
24657 * manual/startup.texi: Likewise.
24658 * manual/stdio.texi: Likewise.
24659 * manual/string.texi: Likewise.
24660 * manual/sysinfo.texi: Likewise.
24661 * manual/syslog.texi: Likewise.
24662 * manual/terminal.texi: Likewise.
24663 * manual/time.texi: Likewise.
24664 * manual/users.texi: Likewise.
24665 * INSTALL: Regenerated.
24666 * NOTES: Regenerated.
d40c5d54 24667 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24668
450bf206
AS
246692012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24670
24671 * include/dirent.h: Include <dirstream.h> before
24672 <dirent/dirent.h>.
24673
741a235b
DM
246742012-02-28 David S. Miller <davem@davemloft.net>
24675
24676 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24677 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24678 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24679 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24680
d6b5aa58
DM
246812012-02-27 David S. Miller <davem@davemloft.net>
24682
1aff59a3
DM
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24685 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24687
d6b5aa58
DM
24688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24689 frame pointer instead of stack pointer relative arg slot.
24690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24691 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24692 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24693
433f48bf
CD
246942012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24695
24696 [BZ #3992]
24697 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24698
d674b76d
DM
246992012-02-27 David S. Miller <davem@davemloft.net>
24700
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24705 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24706 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24707 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24708 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24709
0e7727f7
JM
247102012-02-27 Joseph Myers <joseph@codesourcery.com>
24711
24712 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24713 later. Allow versions 5-9.
43be4ca2 24714 * configure: Regenerated.
0e7727f7
JM
24715 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24716 required minimum version and 4.6 as recommended version. Do not
24717 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24718 * INSTALL: Regenerated.
0e7727f7 24719
a78bc654
DM
247202012-02-27 David S. Miller <davem@davemloft.net>
24721
428d5830
DM
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24730
a78bc654
DM
24731 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24732 manipulate bits before adding and subtracting TWO112[sx].
24733 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24734
4579f81c
RM
247352012-02-27 Roland McGrath <roland@hack.frob.com>
24736
36c8acb4
RM
24737 [BZ #13775]
24738 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24739 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24740 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24741 being in POSIX, because they are in 1003.1-2008.
24742
84ad622b
RM
24743 * rt/tst-aio.c: Include <fcntl.h>.
24744 * rt/tst-aio7.c: Likewise.
24745 * rt/tst-aio64.c: Likewise.
24746
4579f81c
RM
24747 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24748
abd923db
JM
247492012-02-27 Joseph Myers <joseph@codesourcery.com>
24750
24751 * manual/install.texi (--with-headers): Describe headers as
24752 interface headers, not private headers.
24753 (Specific advice for GNU/Linux systems): Describe use of headers
24754 from "make headers_install", not private headers from older
24755 kernels.
43be4ca2 24756 * INSTALL: Regenerated.
abd923db
JM
24757 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24758 Change to 2.6.19.
24759 * sysdeps/unix/sysv/linux/configure: Regenerated.
24760
6664049b
JM
24761 * manual/llio.texi (fclean): Remove documentation.
24762
bb8b6697
JM
24763 * manual/Makefile (libc-texi-generated): New variable. Include
24764 version.texi.
24765 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24766 $(libc-texi-generated), not duplicated list of files.
24767 (version.texi, stamp-version): New rules.
24768 (realclean): Remove $(libc-texi-generated), not individual files
24769 from that list. Do not remove dir-add.texinfo.
24770 * manual/libc.texinfo: Comment out uses of edition numbers and
24771 references to printed manual. Remove last-updated dates.
24772 (EDITION): Comment out.
24773 (ISBN): Likewise.
24774 (VERSION, UPDATED): Remove.
24775 (version.texi): Include.
24776
12e5c3b9
AS
247772012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24778
24779 * sysdeps/posix/spawni.c: Include <signal.h>.
24780 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24781 * sysdeps/pthread/aio_fsync.c: Likewise.
24782
4efeffc1 247832012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24784
ba63ba08
UD
24785 * conform/Makefile (tests): Run only when not cross-compiling and
24786 when fast-check is not defined.
24787
d94a4670
UD
24788 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24789 * conform/data/limits.h-data: Fixes for POSIX2008.
24790 * conform/run-conformtest.sh: Run all tests.
24791 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24792 headers.
24793 * include/bits/dlfcn.h: Likewise.
24794 * include/langinfo.h: Likewise.
24795 * include/monetary.h: Likewise.
24796 * include/sys/poll.h: Likewise.
24797
24798 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24799 for __USE_GNU.
24800 * posix/spawn.h: Define __need_sigset_t.
24801 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24802 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24803 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24804 to get sigevent_t only.
24805 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24806 only for __USE_GNU.
24807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24808 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24809 process_vm_writev only for __USE_GNU.
24810 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24811
24812 * conform/Makefile: For now ignore errors from run-conformtest.
24813 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24814 POSIX to avoid namespace pollution. Don't prepend headers.
24815 * conform/data/aio.h-data: Fixes for POSIX testing.
24816 * conform/data/fcntl.h-data: Likewise.
24817 * conform/data/glob.h-data: Likewise.
24818 * conform/data/grp.h-data: Likewise.
24819 * conform/data/pthread.h-data: Likewise.
24820 * conform/data/pwd.h-data: Likewise.
24821 * conform/data/signal.h-data: Likewise.
24822 * conform/data/spawn.h-data: Likewise.
24823 * conform/data/stdio.h-data: Likewise.
24824 * conform/data/stdlib.h-data: Likewise.
24825 * conform/data/stropts.h-data: Likewise.
24826 * conform/data/sys/mman.h-data: Likewise.
24827 * conform/data/sys/stat.h-data: Likewise.
24828 * conform/data/sys/types.h-data: Likewise.
24829 * conform/data/sys/wait.h-data: Likewise.
24830 * conform/data/time.h-data: Likewise.
24831 * conform/data/unistd.h-data: Likewise.
24832 * conform/data/utime.h-data: Likewise.
24833
24834 * io/sys/stat.h: fchmod was always in POSIX.
24835 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24836 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24837 * rt/aio.h: Define __need_timespec before including <time.h>.
24838 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24839 struct. Add forward declaration of pthread_attr_t and use it in
24840 sigevent.
24841 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24842 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24843 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24844 always remove CLK_TCK definition.
24845
c20105c3
AS
248462012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24847
24848 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24849
7a270350
UD
248502012-02-25 Ulrich Drepper <drepper@gmail.com>
24851
31341567
UD
24852 * conform/run-conformtest.sh: New file.
24853 * conform/Makefile: Run run-conformtest for tests.
24854 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24855 support.
24856
24857 * conform/data/uchar.h-data: New file.
24858 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24859 * conform/data/arpa/inet.h-data: Likewise.
24860 * conform/data/assert.h-data: Likewise.
24861 * conform/data/complex.h-data: Likewise.
24862 * conform/data/cpio.h-data: Likewise.
24863 * conform/data/ctype.h-data: Likewise.
24864 * conform/data/dirent.h-data: Likewise.
24865 * conform/data/dlfcn.h-data: Likewise.
24866 * conform/data/errno.h-data: Likewise.
24867 * conform/data/fcntl.h-data: Likewise.
24868 * conform/data/float.h-data: Likewise.
24869 * conform/data/fmtmsg.h-data: Likewise.
24870 * conform/data/fnmatch.h-data: Likewise.
24871 * conform/data/ftw.h-data: Likewise.
24872 * conform/data/glob.h-data: Likewise.
24873 * conform/data/grp.h-data: Likewise.
24874 * conform/data/iconv.h-data: Likewise.
24875 * conform/data/inttypes.h-data: Likewise.
24876 * conform/data/langinfo.h-data: Likewise.
24877 * conform/data/libgen.h-data: Likewise.
24878 * conform/data/limits.h-data: Likewise.
24879 * conform/data/locale.h-data: Likewise.
24880 * conform/data/math.h-data: Likewise.
24881 * conform/data/monetary.h-data: Likewise.
24882 * conform/data/mqueue.h-data: Likewise.
24883 * conform/data/ndbm.h-data: Likewise.
24884 * conform/data/net/if.h-data: Likewise.
24885 * conform/data/netdb.h-data: Likewise.
24886 * conform/data/netinet/in.h-data: Likewise.
24887 * conform/data/nl_types.h-data: Likewise.
24888 * conform/data/poll.h-data: Likewise.
24889 * conform/data/pthread.h-data: Likewise.
24890 * conform/data/pwd.h-data: Likewise.
24891 * conform/data/regex.h-data: Likewise.
24892 * conform/data/sched.h-data: Likewise.
24893 * conform/data/search.h-data: Likewise.
24894 * conform/data/semaphore.h-data: Likewise.
24895 * conform/data/setjmp.h-data: Likewise.
24896 * conform/data/signal.h-data: Likewise.
24897 * conform/data/spawn.h-data: Likewise.
24898 * conform/data/stdarg.h-data: Likewise.
24899 * conform/data/stdio.h-data: Likewise.
24900 * conform/data/stdlib.h-data: Likewise.
24901 * conform/data/string.h-data: Likewise.
24902 * conform/data/strings.h-data: Likewise.
24903 * conform/data/stropts.h-data: Likewise.
24904 * conform/data/sys/ipc.h-data: Likewise.
24905 * conform/data/sys/mman.h-data: Likewise.
24906 * conform/data/sys/msg.h-data: Likewise.
24907 * conform/data/sys/resource.h-data: Likewise.
24908 * conform/data/sys/select.h-data: Likewise.
24909 * conform/data/sys/sem.h-data: Likewise.
24910 * conform/data/sys/shm.h-data: Likewise.
24911 * conform/data/sys/socket.h-data: Likewise.
24912 * conform/data/sys/stat.h-data: Likewise.
24913 * conform/data/sys/statvfs.h-data: Likewise.
24914 * conform/data/sys/time.h-data: Likewise.
24915 * conform/data/sys/timeb.h-data: Likewise.
24916 * conform/data/sys/times.h-data: Likewise.
24917 * conform/data/sys/types.h-data: Likewise.
24918 * conform/data/sys/uio.h-data: Likewise.
24919 * conform/data/sys/un.h-data: Likewise.
24920 * conform/data/sys/utsname.h-data: Likewise.
24921 * conform/data/sys/wait.h-data: Likewise.
24922 * conform/data/syslog.h-data: Likewise.
24923 * conform/data/tar.h-data: Likewise.
24924 * conform/data/termios.h-data: Likewise.
24925 * conform/data/utime.h-data: Likewise.
24926 * conform/data/utmpx.h-data: Likewise.
24927 * conform/data/varargs.h-data: Likewise.
24928 * conform/data/wchar.h-data: Likewise.
24929 * conform/data/wctype.h-data: Likewise.
24930 * conform/data/wordexp.h-data: Likewise.
24931
24932 * include/stropts.h: New file.
24933 * include/uchar.h: New file.
24934 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24935 * include/assert.h: Likewise.
24936 * include/ctype.h: Likewise.
24937 * include/dirent.h: Likewise.
24938 * include/dlfcn.h: Likewise.
24939 * include/fcntl.h: Likewise.
24940 * include/fnmatch.h: Likewise.
24941 * include/glob.h: Likewise.
24942 * include/grp.h: Likewise.
24943 * include/libio.h: Likewise.
24944 * include/locale.h: Likewise.
24945 * include/math.h: Likewise.
24946 * include/net/if.h: Likewise.
24947 * include/netdb.h: Likewise.
24948 * include/netinet/in.h: Likewise.
24949 * include/pthread.h: Likewise.
24950 * include/pwd.h: Likewise.
24951 * include/regex.h: Likewise.
24952 * include/sched.h: Likewise.
24953 * include/search.h: Likewise.
24954 * include/setjmp.h: Likewise.
24955 * include/signal.h: Likewise.
24956 * include/stdio.h: Likewise.
24957 * include/stdlib.h: Likewise.
24958 * include/string.h: Likewise.
24959 * include/sys/cdefs.h: Likewise.
24960 * include/sys/mman.h: Likewise.
24961 * include/sys/msg.h: Likewise.
24962 * include/sys/resource.h: Likewise.
24963 * include/sys/select.h: Likewise.
24964 * include/sys/socket.h: Likewise.
24965 * include/sys/stat.h: Likewise.
24966 * include/sys/statvfs.h: Likewise.
24967 * include/sys/time.h: Likewise.
24968 * include/sys/times.h: Likewise.
24969 * include/sys/uio.h: Likewise.
24970 * include/sys/utsname.h: Likewise.
24971 * include/sys/wait.h: Likewise.
24972 * include/termios.h: Likewise.
24973 * include/time.h: Likewise.
24974 * include/ulimit.h: Likewise.
24975 * include/unistd.h: Likewise.
24976 * include/utime.h: Likewise.
24977 * include/wchar.h: Likewise.
24978 * include/wctype.h: Likewise.
24979 * include/wordexp.h: Likewise.
24980
24981 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24982
7a270350
UD
24983 * time/time.h: TIME_UTC must be a macro.
24984 Make timespec_get available for ISO C11 only as well.
24985
7724defc
UD
249862012-02-24 Ulrich Drepper <drepper@gmail.com>
24987
24988 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24989 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24990
6b1d1d46
JM
249912012-02-24 Joseph Myers <joseph@codesourcery.com>
24992
24993 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24994
0f8bbd69
JM
249952012-02-24 Joseph Myers <joseph@codesourcery.com>
24996
24997 * manual/texinfo.tex: Update to version 2012-01-19.16.
24998
66ab80bc
JM
249992012-02-24 Joseph Myers <joseph@codesourcery.com>
25000
25001 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25002
74981cc5
RM
250032012-02-24 Roland McGrath <roland@hack.frob.com>
25004
ee968201
RM
25005 [BZ #13738]
25006 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25007 * manual/fdl-1.3.texi: New file.
25008 * manual/fdl-1.1.texi: File removed.
25009
74981cc5
RM
25010 [BZ #13738]
25011 * manual/libc.texinfo (FDL_VERSION): New @set.
25012 Use it for mention of FDL in cover text.
25013 (Documentation License): Use it in @include file name.
25014
7bb764bc
JM
250152012-02-22 Joseph Myers <joseph@codesourcery.com>
25016 Roland McGrath <roland@hack.frob.com>
25017
25018 [BZ #5461]
25019 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25020 not LONG_LONG_MAX and LONG_LONG_MIN.
25021 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25022 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25023 name.
25024 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25025
6cbeae47
JM
250262012-02-22 Joseph Myers <joseph@codesourcery.com>
25027
25028 [BZ #2547]
25029 [BZ #11365]
25030 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25031 manipulate bits before adding and subtracting TWO23[sx].
25032 * math/libm-test.inc (nearbyint_test): Add more tests.
25033
fe45ce09
JM
250342012-02-22 Joseph Myers <joseph@codesourcery.com>
25035
25036 [BZ #2548]
25037 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25038 bits before adding and subtracting TWO23[sx].
25039 * math/libm-test.inc (rint_test): Add more tests.
25040 (rint_test_tonearest): Likewise.
25041 (rint_test_towardzero): Likewise.
25042 (rint_test_downward): Likewise.
25043 (rint_test_upward: Likewise.
25044
ff3b3d82
JM
250452012-02-22 Joseph Myers <joseph@codesourcery.com>
25046
25047 [BZ #10110]
25048 * include/stdc-predef.h: New file. Extracted from features.h.
25049 * include/features.h: Include stdc-predef.h.
25050 * Makefile (headers): Add stdc-predef.h.
25051 * CONFORMANCE (Compiler limitations): Update.
25052
ef0aab35
JM
250532012-02-22 Joseph Myers <joseph@codesourcery.com>
25054
25055 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25056
58639409
DM
250572012-02-21 David S. Miller <davem@davemloft.net>
25058
25059 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25060 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25061
c0e70b25
DM
250622012-02-20 David S. Miller <davem@davemloft.net>
25063
25064 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25065 using a normal save/restore sequence, rather than allocating a
25066 dummy stack frame just to store a frame pointer and restore.
25067 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25068
fb06851d
JM
250692012-02-21 Joseph Myers <joseph@codesourcery.com>
25070
25071 * manual/install.texi: Fix stray word in line-wrapped comment.
25072
7a8b71c3
DM
250732012-02-20 David S. Miller <davem@davemloft.net>
25074
d510c123
DM
25075 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25076 both binutils and gcc support GOTDATA.
25077
0722d7c2
DM
25078 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25079 "rd %pc" in the PIC register setup sequences.
25080
3d2b3019
DM
25081 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25082 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25083 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25084 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25085 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25087 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25090 (SYSCALL_ERROR_HANDLER): Likewise.
25091 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25092 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25094 (SYSCALL_ERROR_HANDLER): Likewise.
25095
c80098a9
DM
25096 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25097 (HAVE_GCC_GOTDATA): New.
25098 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25099 relocation support in both binutils and gcc.
25100 * sysdeps/sparc/elf/configure: Regenerate.
25101
3a2545a0
DM
25102 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25103 * sysdeps/sparc/sparc32/elf/configure: Delete.
25104 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25105 * sysdeps/sparc/sparc64/elf/configure: Delete.
25106 * sysdeps/sparc/elf/configure.in: New file.
25107 * sysdeps/sparc/elf/configure: Generate.
25108
7a8b71c3
DM
25109 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25110 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25111 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25112 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25113 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25114
f1e86fca
JM
251152012-02-21 Joseph Myers <joseph@codesourcery.com>
25116
25117 * manual/install.texi: Do not mention specific glibc version
25118 numbers.
25119 * manual/libc.texinfo (VERSION, UPDATED): Update.
25120 (@copying): Use @copyright{} and range of years.
25121
0e7dfaef
JM
251222012-02-21 Joseph Myers <joseph@codesourcery.com>
25123
25124 [BZ #13695]
25125 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25126 [crti.S not in sysdirs] (generated): Do not append.
25127 [crti.S not in sysdirs] (omit-deps): Likewise.
25128 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25129 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25130 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25131 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25132 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25133 Likewise.
25134 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25135 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25136 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25137 * csu/defs.awk: Remove file.
25138 * sysdeps/generic/initfini.c: Likewise.
25139 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25140 variable.
25141 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25142 Likewise.
25143
599af3ca
JM
251442012-02-20 Joseph Myers <joseph@codesourcery.com>
25145
25146 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25147 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25148 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25149 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25151 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25152 <bits/epoll.h>.
25153 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25154 (__EPOLL_PACKED): Define to empty if not defined by
25155 <bits/epoll.h>.
25156 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25158 bits/epoll.h.
25159
0e499750
JM
251602012-02-20 Joseph Myers <joseph@codesourcery.com>
25161
25162 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25163 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25164 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25165 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25166 <bits/timerfd.h>.
25167 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25169 bits/timerfd.h.
25170
5ad91f6e
JM
251712012-02-20 Joseph Myers <joseph@codesourcery.com>
25172
25173 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25174 in C locale.
25175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25176 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25177 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25179
06b99b02
AJ
251802012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25181
25182 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25183 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25184
7638c0fd
AS
251852012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25186
25187 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25188 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25189 defined.
25190 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25191 Likewise.
25192 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25193 entry for 2.16.
25194
92221550
AJ
251952012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25196
25197 * math/w_acos.c: Use non-signaling floating-point comparisons.
25198 * math/w_acosf.c: Likewise.
25199 * math/w_acosh.c: Likewise.
25200 * math/w_acoshf.c: Likewise.
25201 * math/w_acoshl.c: Likewise.
25202 * math/w_acosl.c: Likewise.
25203 * math/w_asin.c: Likewise.
25204 * math/w_asinf.c: Likewise.
25205 * math/w_asinl.c: Likewise.
25206 * math/w_atanh.c: Likewise.
25207 * math/w_atanhf.c: Likewise.
25208 * math/w_atanhl.c: Likewise.
25209 * math/w_exp2.c: Likewise.
25210 * math/w_exp2f.c: Likewise.
25211 * math/w_exp2l.c: Likewise.
25212 * math/w_j0.c: Likewise.
25213 * math/w_j0f.c: Likewise.
25214 * math/w_j0l.c: Likewise.
25215 * math/w_j1.c: Likewise.
25216 * math/w_j1f.c: Likewise.
25217 * math/w_j1l.c: Likewise.
25218 * math/w_jn.c: Likewise.
25219 * math/w_jnf.c: Likewise.
25220 * math/w_log.c: Likewise.
25221 * math/w_log10.c: Likewise.
25222 * math/w_log10f.c: Likewise.
25223 * math/w_log10l.c: Likewise.
25224 * math/w_log2.c: Likewise.
25225 * math/w_log2f.c: Likewise.
25226 * math/w_log2l.c: Likewise.
25227 * math/w_logf.c: Likewise.
25228 * math/w_logl.c: Likewise.
25229 * math/w_sqrt.c: Likewise.
25230 * math/w_sqrtf.c: Likewise.
25231 * math/w_sqrtl.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25233 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25234 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25235 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25237
ebaf36eb
JM
252382012-02-19 Joseph Myers <joseph@codesourcery.com>
25239
25240 [BZ #9739]
25241 * manual/string.texi (strnlen): Use correct parameter name in
25242 equivalent expression.
25243
71c254a6
JM
252442012-02-19 Joseph Myers <joseph@codesourcery.com>
25245
25246 [BZ #11174]
25247 * manual/users.texi (seteuid): Consistently use neweuid for
25248 argument name.
25249
16d2c631
JM
252502012-02-19 Joseph Myers <joseph@codesourcery.com>
25251
25252 [BZ #13704]
25253 * manual/nss.texi (Services in the NSS configuration): Correct
25254 list of services in example configuration file.
25255
cd837b09
NB
252562012-02-19 Nick Bowler <nbowler@draconx.ca>
25257
25258 [BZ #11322]
25259 * manual/arith.texi: Remove statements about negative zero
25260 behaving identically to zero.
25261
02c4bbad
JM
252622012-02-18 Joseph Myers <joseph@codesourcery.com>
25263
25264 [BZ #5993]
25265 * manual/install.texi: Do not document upgrading from libc5.
25266
366842e7
JM
252672012-02-18 Joseph Myers <joseph@codesourcery.com>
25268
25269 [BZ #4596]
25270 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25271
dd54084d
DM
252722012-02-18 David S. Miller <davem@davemloft.net>
25273
25274 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25275 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25276 %o7 across the call.
25277 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25278 instead.
25279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25280 SETUP_PIC_REG_LEAF.
25281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25282 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25283 * sysdeps/sparc/crtn.S: Likewise.
25284
2bcc53a3
UD
252852012-02-17 Ulrich Drepper <drepper@gmail.com>
25286
25287 * aout/Makefile: Remove.
25288
09c093b5
RK
252892012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25290
25291 [BZ #13058]
25292 * manual/examples/argp-ex1.c (main): Format definition in GNU
25293 style.
25294 * manual/examples/argp-ex2.c (main): Likewise.
25295 * manual/examples/argp-ex3.c (main): Likewise.
25296 * manual/examples/argp-ex4.c (main): Likewise.
25297 * manual/examples/longopt.c (main): Use new-style prototype
25298 definition.
25299 * manual/examples/strncat.c (main): Specify return type and use
25300 (void) for arguments.
25301 * manual/examples/subopt.c (main): Use char **argv argument.
25302
2ee633a2
JM
253032012-02-17 Joseph Myers <joseph@codesourcery.com>
25304
25305 [BZ #5077]
25306 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25307 rounding modes.
25308
0520adde
FB
253092012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25310
25311 [BZ #6907]
25312 * manual/string.texi (strchr): Change when strchrnul is
25313 recommended.
25314
3f4081cd
DGM
253152012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25316
25317 [BZ #174]
25318 * manual/locale.texi (setlocale): Document LOCPATH.
25319
d1b10e78
JM
253202012-02-17 Joseph Myers <joseph@codesourcery.com>
25321
25322 [BZ #10210]
25323 * manual/process.texi (execle): Move @dots{} before last argument.
25324
79c6869c
PB
253252012-02-17 Paul Bolle <pebolle@tiscali.nl>
25326
25327 [BZ #12047]
25328 * manual/charset.texi (Generic Charset Conversion): Fix typo
25329 (LC_TYPE -> LC_CTYPE).
25330
cc6e48bc
NB
253312012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25332
25333 [BZ #5805]
25334 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25335 (scalbnf): Likewise.
25336 (scalbnl): Likewise.
25337 (scalbln): Likewise.
25338 (scalblnf): Likewise.
25339 (scalblnl): Likewise.
25340 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25341 (vwarnx): Likewise.
25342 (verr): Likewise.
25343 (verrx): Likewise.
25344 * manual/filesys.texi (telldir): Use braces around return type.
25345 * manual/llio.texi (mmap): Add space after comma.
25346 (mmap64): Likewise.
25347 * manual/math.texi (jn): Use @var{} on parameter names.
25348 (jnf): Likewise.
25349 (jnl): Likewise.
25350 (yn): Likewise.
25351 (ynf): Likewise.
25352 (ynl): Likewise.
25353 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25354 line.
25355 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25356 "...".
25357 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25358 (sched_get_priority_max): Likewise.
25359 * manual/signal.texi (sigvec): Add space after comma.
25360 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25361 names.
25362 (if_indextoname): Likewise.
25363 (if_freenameindex): Likewise.
25364 (sendto): Use ',' instead of '.' in prototype.
25365 * manual/startup.texi (syscall): Use @dots{} instead of literal
25366 "...".
25367 * manual/stdio.texi (__fpending): Separate initial words of
25368 paragraph from @deftypefun line.
25369 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25370 "...".
25371 (vsyslog): Use @var{} on parameter names.
25372 * manual/terminal.texi (stty): Use @var{} on parameter names.
25373 * manual/users.texi (getutmp): Use @var{} on parameter names.
25374 (getutmpx): Likewise.
25375
5b23062f
JM
253762012-02-17 Joseph Myers <joseph@codesourcery.com>
25377
25378 [BZ #6884]
25379 * manual/stdio.texi (fopen): Fix typos in description of
25380 ",ccs=STRING".
25381
8dee4833
AJ
253822012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25383
25384 [BZ #4026]
25385 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25386 get clock_id definition.
25387
9078ce93
TS
253882012-02-17 Thomas Schwinge <thomas@schwinge.name>
25389
25390 [BZ #4822]
25391 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25392 (madvise): Cast every argument to void on its own.
25393
3835c55f
JM
253942012-02-17 Joseph Myers <joseph@codesourcery.com>
25395
25396 [BZ #9902]
25397 * manual/startup.texi (Exit Status): Fix typo.
25398
35c47e37
JM
253992012-02-17 Joseph Myers <joseph@codesourcery.com>
25400
25401 [BZ #10140]
25402 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25403 * manual/examples/argp-ex2.c: Likewise.
25404 * manual/examples/argp-ex3.c: Likewise.
25405
e3b69ca7
RH
254062012-02-16 Richard Henderson <rth@redhat.com>
25407
25408 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25409 * sysdeps/s390/s390-32/initfini.c: Remove.
25410 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25411 * sysdeps/s390/s390-64/initfini.c: Remove.
25412
df83af67
KK
254132012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25414
25415 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25416 compiler output for sysdeps/generic/initfini.c.
25417 * sysdeps/sh/elf/initfini.c: Remove file.
25418
f63f3380
DM
254192012-02-16 David S. Miller <davem@davemloft.net>
25420
fb59b3a4
DM
25421 [BZ #11494]
25422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25423
f63f3380
DM
25424 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25425 * sysdeps/sparc/crti.S: New file.
25426 * sysdeps/sparc/crtn.S: New file.
25427 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25428 * sysdeps/sparc/sparc64/Makefile: Likewise.
25429
df6a4a4a
MF
254302012-02-15 Mike Frysinger <vapier@gentoo.org>
25431
6dd8f3dc 25432 [BZ #3335]
df6a4a4a
MF
25433 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25434
1cac7236
RM
254352012-02-15 Roland McGrath <roland@hack.frob.com>
25436
d2c736f8
RM
25437 [BZ #4822]
25438 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25439
1cac7236
RM
25440 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25441 (write, read, close): Likewise.
25442 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25443
8e475601
JM
254442012-02-15 Joseph Myers <joseph@codesourcery.com>
25445
25446 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25447 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25448 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25449 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25450 <bits/signalfd.h>.
25451 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25453 bits/signalfd.h.
25454
ed656b40
MP
254552012-02-14 Marek Polacek <polacek@redhat.com>
25456
25457 * sysdeps/x86_64/crti.S: New file.
25458 * sysdeps/x86_64/crtn.S: New file.
25459 * sysdeps/x86_64/elf/initfini.c: Remove file.
25460
2a979d3a
JM
254612012-02-13 Joseph Myers <joseph@codesourcery.com>
25462
25463 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25464 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25465 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25466 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25467 <bits/inotify.h>.
25468 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25470 bits/inotify.h.
25471
2a418ac3
JM
254722012-02-13 Joseph Myers <joseph@codesourcery.com>
25473
25474 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25475 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25476 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25477 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25478 <bits/eventfd.h>.
25479 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25481 bits/eventfd.h.
25482
fb779be7
TS
254832012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25484
e19e83c5
RM
25485 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25486 __feraiseexcept instead of feraiseexcept.
7c35ffed 25487
fb779be7
TS
25488 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25489 nanosleep invocations.
25490 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25491 strings, and add error checking for a nanosleep invocations.
25492
59ba27a6
PE
254932012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25494
25495 Replace FSF snail mail address with URLs, as per GNU coding standards.
25496 Most of the snail mail addresses were wrong anyway, and omitting
25497 them makes the source code easier to maintain. Almost all of the
25498 changes are to license notices and to locale LC_IDENTIFICATION
25499 addresses, except for this one:
25500 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25501 not its snail mail address.
25502
57b957eb
RH
255032012-02-09 Richard Henderson <rth@twiddle.net>
25504
af850b1c
RH
25505 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25506 of kernel-features.h.
25507
57b957eb
RH
25508 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25509
6b73181a
MP
255102012-02-08 Marek Polacek <polacek@redhat.com>
25511
25512 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25513 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25514 * sysdeps/gnu/_G_config.h: Likewise.
25515 * sysdeps/generic/_G_config.h: Likewise.
25516
26ecc33a
AS
255172012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25518
6c6dbc63
AS
25519 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25520 tests.
25521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25522
e216c012
AS
25523 * sysdeps/powerpc/powerpc32/crti.S: New file.
25524 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25525 * sysdeps/powerpc/powerpc64/crti.S: New file.
25526 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25527
26ecc33a
AS
25528 * Makeconfig (have-initfini): Don't set.
25529 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25530 * configure.in (nopic_initfini): Don't substitute.
25531 * config.h.in (HAVE_INITFINI): Don't #undef.
25532 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25533 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25534
3add8e13
JM
255352012-02-08 Joseph Myers <joseph@codesourcery.com>
25536
25537 Support crti.S and crtn.S provided directly by architectures.
25538 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25539 [crti.S in sysdirs] (omit-deps): Likewise.
25540 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25541 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25542 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25543 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25544 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25545 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25546 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25547 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25548 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25549 compiler output for sysdeps/generic/initfini.c.
25550 * sysdeps/i386/elf/Makefile: Remove file.
25551 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25552
a22f12b4
MP
255532012-02-07 Marek Polacek <polacek@redhat.com>
25554
25555 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25556 * sysdeps/gnu/_G_config.h: Likewise.
25557 * sysdeps/mach/hurd/_G_config.h: Likewise.
25558
148cf100
MP
255592012-02-07 Marek Polacek <polacek@redhat.com>
25560
25561 * math/Makefile (tests): Add tst-CMPLX2.
25562 * math/tst-CMPLX2.c: New file.
25563
cfdc0dd7
AS
255642012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25565
84ba42c4
AS
25566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25567
cfdc0dd7
AS
25568 * math/libm-test.inc (jn_test): Add missing L suffix.
25569
622c86f4
MP
255702012-02-06 Marek Polacek <polacek@redhat.com>
25571
25572 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25573 * sysdeps/i386/fpu/e_powf.S: Likewise.
25574 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25575 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25576 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25577 * sysdeps/i386/fpu/e_pow.S: Likewise.
25578 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25579 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25580 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25581 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25582 * sysdeps/i386/fpu/e_log2.S: Likewise.
25583 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25584 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25585 * sysdeps/i386/fpu/e_powl.S: Likewise.
25586 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25587 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25588 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25589 * sysdeps/i386/fpu/e_logl.S: Likewise.
25590 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25591 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25592 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25593 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25594 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25595 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25596 * sysdeps/i386/fpu/e_log.S: Likewise.
25597 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25598 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25599 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25600 * sysdeps/i386/fpu/e_logf.S: Likewise.
25601 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25602 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25603 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25604 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25605 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25606 * sysdeps/i386/fpu/e_log10.S: Likewise.
25607 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25609 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25610 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25611 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25612 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25613 * sysdeps/i386/asm-syntax.h: Likewise.
25614 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25616 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25617 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25618 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25619 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25620 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25621 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25623 * sysdeps/powerpc/sysdep.h: Likewise.
25624 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25625 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25626
d4a54ac6
JM
256272012-02-06 Joseph Myers <joseph@codesourcery.com>
25628
25629 [BZ #411]
25630 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25631
314054ea
JM
256322012-02-06 Joseph Myers <joseph@codesourcery.com>
25633
25634 * sysdeps/i386/sysdep.h: Include <features.h>.
25635 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25636 version.
25637
d8e0ca50
JM
256382012-02-05 Joseph Myers <joseph@codesourcery.com>
25639
25640 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25641 Define.
25642 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25643 LOAD_PIC_REG_STR.
25644
b1da7dd9
JM
256452012-02-03 Joseph Myers <joseph@codesourcery.com>
25646
25647 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25648 (SETUP_PIC_REG): Use GET_PC_THUNK.
25649 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25650 macro.
25651
9a1d9254
JM
256522012-02-03 Joseph Myers <joseph@codesourcery.com>
25653
25654 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25655 for non-PIC compilation.
25656 (SETUP_PIC_REG): Add .p2align directive.
25657 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25658 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25671 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25672 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25673 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25674 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25675 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25676 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25680 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25685 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25686 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25687 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25688 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25689 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25690 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25691 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25692 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25693 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25694 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25695 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25696 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25697 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25698
65dc3b75
JM
256992012-02-03 Joseph Myers <joseph@codesourcery.com>
25700
25701 * math/tst-CMPLX.c: Include <stdio.h>.
25702
d55bf177
JM
257032012-01-31 Joseph Myers <joseph@codesourcery.com>
25704
25705 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25706 float.
25707 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25708 * sysdeps/sparc/bits/mathdef.h: Likewise.
25709
69db4f8f
MP
257102012-01-31 Marek Polacek <polacek@redhat.com>
25711
25712 * libio/libio.h: Don't define _PARAMS.
25713 * locale/programs/config.h: Don't define PARAMS.
25714 * stdlib/strtol_l.c: Likewise.
25715 (__strtol_l): Remove PARAMS from the prototype.
25716
41b81892
UD
257172012-01-31 Ulrich Drepper <drepper@gmail.com>
25718
3b49edc0
UD
25719 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25720 names. Just use the correct names. Remove unnecessary wrapper
25721 functions.
25722 * malloc/arena.c: Likewise.
25723 * malloc/hooks.c: Likewise.
25724
41b81892
UD
25725 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25726 ARENA_TEST says not to. Simplify test for creation of a new arena.
25727 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25728
27a25b6e
UD
257292012-01-30 Ulrich Drepper <drepper@gmail.com>
25730
25731 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25732 into tail calls.
25733 (update_get_addr): New function.
25734 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25735 GET_ADDR_MODULE parameter.
25736
c8a89e7d
JM
257372012-01-30 Joseph Myers <joseph@codesourcery.com>
25738
25739 * crypt/cert.c: Remove __STDC__ conditionals.
25740 * crypt/crypt-entry.c: Likewise.
25741 * crypt/crypt_util.c: Likewise.
25742 * libio/filedoalloc.c: Likewise.
25743 * libio/fileops.c: Likewise.
25744 * libio/genops.c: Likewise.
25745 * libio/iofclose.c: Likewise.
25746 * libio/iofdopen.c: Likewise.
25747 * libio/iofopen.c: Likewise.
25748 * libio/iofopen64.c: Likewise.
25749 * libio/iogetdelim.c: Likewise.
25750 * libio/iopopen.c: Likewise.
25751 * libio/obprintf.c: Likewise.
25752 * libio/oldfileops.c: Likewise.
25753 * libio/oldiofclose.c: Likewise.
25754 * libio/oldiofdopen.c: Likewise.
25755 * libio/oldiofopen.c: Likewise.
25756 * libio/oldiopopen.c: Likewise.
25757 * libio/wfiledoalloc.c: Likewise.
25758 * libio/wgenops.c: Likewise.
25759 * locale/programs/xmalloc.c: Likewise.
25760 * misc/syslog.c: Likewise.
25761 * stdio-common/xbug.c: Likewise.
25762 * string/memchr.c: Likewise.
25763 * string/memcmp.c: Likewise.
25764 * string/memrchr.c: Likewise.
25765 * string/rawmemchr.c: Likewise.
25766 * sysdeps/posix/getcwd.c: Likewise.
25767 * time/strftime_l.c: Likewise.
25768
3b100462
JM
257692012-01-30 Joseph Myers <joseph@codesourcery.com>
25770
25771 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25772 * config.make.in (config-cflags-sse2avx): Define.
25773 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25774 Fix typo.
25775
607998af
CM
257762012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25777
25778 * scripts/config.guess: Update from upstream config git repository.
25779 * scripts/config.sub: Likewise.
25780
3601428f
CM
257812012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25782
3ac8b282
CM
25783 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25784 (EM_NUM): Update.
25785 (R_TILEPRO_*, R_TILEGX_*): New macros.
25786
e034841e
CM
25787 * scripts/firstversions.awk: Fix bug in version range handling.
25788
540d7568
CM
25789 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25790
3601428f
CM
25791 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25792
463de862
CM
25793 * include/sys/epoll.h: New file.
25794 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25795 libc_hidden_def.
25796
73139a76
UD
257972012-01-28 Ulrich Drepper <drepper@gmail.com>
25798
96bc5b45
UD
25799 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25800 Avoid unnecessary __WORDSIZE == 64 test.
25801 (fmaxf): Use VEX format if possible.
25802 (fmax): Likewise.
25803 (fminf): Likewise.
25804 (fmin): Likewise.
25805
56f6f6a2
UD
25806 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25807 * math/math_private.h: Remove libc_fegetround* and
25808 libc_fesetround*.
25809 * sysdeps/i386/configure.in: Check for -msse2avx.
25810 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25811 also if SSE2AVX is defined.
25812 Remove libc_fegetround* and libc_fesetround*.
25813 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25814 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25816 of HAS_YMM_USABLE.
25817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25818 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25822
73139a76
UD
25823 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25824
d73f93a4
AZ
258252012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25826
25827 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25828 size is not set.
25829 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25830
6ee65ed6
UD
258312012-01-27 Ulrich Drepper <drepper@gmail.com>
25832
25833 [BZ #13618]
25834 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25835 relocation.
25836 * Makeconfig (libm): Define.
25837 * elf/Makefile: Add rules to build and run tst-relsort1.
25838 * elf/tst-relsort1.c: New file.
25839 * elf/tst-relsort1mod1.c: New file.
25840 * elf/tst-relsort1mod2.c: New file.
25841
8db21882
JM
258422012-01-27 Joseph Myers <joseph@codesourcery.com>
25843
25844 * math/s_ldexp.c: Remove __STDC__ conditionals.
25845 * math/s_ldexpf.c: Likewise.
25846 * math/s_ldexpl.c: Likewise.
25847 * math/s_nextafter.c: Likewise.
25848 * math/s_nexttowardf.c: Likewise.
25849 * math/s_significand.c: Likewise.
25850 * math/s_significandf.c: Likewise.
25851 * math/s_significandl.c: Likewise.
25852 * math/w_jnl.c: Likewise.
25853 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25854 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25855 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25856 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25857 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25869 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25870 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25872 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25873 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25874 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25875 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25877 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25878 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25880 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25881 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25882 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25883 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25884 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25887 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25888 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25889 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25890 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25891 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25892 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25893 * sysdeps/ieee754/k_standard.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25955 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25960 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25962 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25963 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25965 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25966 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25967 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25968 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25969 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25970 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25971 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25972 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25973 * sysdeps/ieee754/s_matherr.c: Likewise.
25974 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25975 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25978
965a54a4
JM
259792012-01-26 Joseph Myers <joseph@codesourcery.com>
25980
25981 * crypt/md5.h: Remove __STDC__ conditionals.
25982 * libio/libioP.h: Likewise.
25983 * locale/programs/config.h: Likewise.
25984 * sysdeps/generic/sysdep.h: Likewise.
25985 * sysdeps/i386/asm-syntax.h: Likewise.
25986 * sysdeps/s390/asm-syntax.h: Likewise.
25987 * sysdeps/unix/sysdep.h: Likewise.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25990
7071ad79
JM
259912012-01-26 Joseph Myers <joseph@codesourcery.com>
25992
25993 * libio/libio.h: Remove __STDC__ conditionals.
25994 * malloc/obstack.h: Likewise.
25995 * math/complex.h: Likewise.
25996 * math/math.h: Likewise.
25997 * sysdeps/generic/_G_config.h: Likewise.
25998 * sysdeps/gnu/_G_config.h: Likewise.
25999 * sysdeps/mach/hurd/_G_config.h: Likewise.
26000 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26001 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26002 * sysdeps/sparc/bits/mathdef.h: Likewise.
26003
afc5ed09
UD
260042012-01-26 Ulrich Drepper <drepper@gmail.com>
26005
26006 [BZ #13583]
26007 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26008 Clean up HAS_* macros.
afc5ed09 26009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26010 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26011 possible.
26012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26013 HAS_AVX.
26014 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26015 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26016 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26017 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26018 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26019
bdb6de1d
JM
260202012-01-25 Joseph Myers <joseph@codesourcery.com>
26021
26022 * elf/tst-unique3.cc (gets): Remove declaration.
26023 * elf/tst-unique3lib.cc (gets): Likewise.
26024 * elf/tst-unique3lib2.cc (gets): Likewise.
26025 * elf/tst-unique4.cc (gets): Likewise.
26026
b15549e6
UD
260272012-01-24 Ulrich Drepper <drepper@gmail.com>
26028
26029 * include/stdio.h: Add C++ protection. Add gets declarations and
26030 definitions.
26031 * debug/tst-chk1.c: Don't declare gets here.
26032 * stdio-common/tst-gets.c: Likewise.
26033
a037381f
JM
260342012-01-24 Joseph Myers <joseph@codesourcery.com>
26035
26036 * posix/glob: Remove directory.
26037
f1d4aa75
JM
260382012-01-24 Joseph Myers <joseph@codesourcery.com>
26039
26040 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26041
81c0c964
PT
260422012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26043
26044 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26045 of the non-standard EPFNOSUPPORT.
26046
0ea698ae
ST
260472011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26048
26049 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26050 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26051 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26052
d220b117
UD
260532012-01-21 Ulrich Drepper <drepper@gmail.com>
26054
26055 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26056
3e1aa84e
UD
260572012-01-20 Ulrich Drepper <drepper@gmail.com>
26058
26059 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26060 transient errors.
26061 * nscd/grpcache.c (cache_addgr): Likewise.
26062 * nscd/hstcache.c (cache_addhst): Likewise.
26063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26064 * nscd/pwdcache.c (cache_addpw): Likewise.
26065 * nscd/servicescache.c (cache_addserv): Likewise.
26066
400aa020
UD
260672012-01-16 Ulrich Drepper <drepper@gmail.com>
26068
d77e7869
UD
26069 * malloc/malloc.c: Various cleanups.
26070 * malloc/hooks.c: Likewise.
26071
400aa020
UD
26072 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26073 * stdlib/bug-fmtmsg1.c: New file.
26074
26075 * stdlib/fmtmsg.c (init): Add missing unlock.
26076 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26077
e0a309cf
MP
260782012-01-12 Marek Polacek <polacek@redhat.com>
26079
26080 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26081 and _GNU_SOURCE.
26082
929d11c7
WS
260832012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26084
26085 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26086 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26087 macro to ensure uniqueness of label name.
26088 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26089 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26090
41d0e869
UD
260912012-01-11 Ulrich Drepper <drepper@gmail.com>
26092
0cc5ed3b
UD
26093 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26094
41d0e869
UD
26095 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26096 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26097 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26099
a47a831a
UD
261002012-01-10 Ulrich Drepper <drepper@gmail.com>
26101
daa891c0
UD
26102 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26103
26104 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26106 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26107
e58ef0f2
UD
26108 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26109
a47a831a 26110 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26111 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26112 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26114
26115 * math/bits/math-finite.h: Add ldexp support.
26116
a0bfc9c7
MP
261172012-01-10 Marek Polacek <polacek@redhat.com>
26118
26119 * locale/programs/localedef.h (show_archive_content): Add noreturn
26120 attribute.
26121
d6e97a1d
UD
261222012-01-09 Ulrich Drepper <drepper@gmail.com>
26123
26124 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26125
d5835c26
UD
261262012-01-08 Ulrich Drepper <drepper@gmail.com>
26127
e5f484c6
UD
26128 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26129
d5835c26
UD
26130 * io/Makefile (headers): Add bits/poll2.h.
26131
d1f741e9
WS
261322011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26133
26134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26135 typo #include statement.
26136
ec09c1c4
UD
261372012-01-08 Ulrich Drepper <drepper@gmail.com>
26138
26139 * include/sys/cdefs.h: Define __attribute_alloc_size.
26140 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26141 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26142 * elf/pldd.c: Likewise.
26143 * iconv/iconv_charmap.c: Likewise.
26144 * iconv/iconvconfig.c: Likewise.
26145 * iconv/strtab.c: Likewise.
26146 * locale/programs/locale.c: Likewise.
26147 * locale/programs/localedef.h: Likewise.
26148 * locale/programs/simple-hash.c: Likewise.
26149 * nscd/nscd.h: Likewise.
26150 * nss/makedb.c: Likewise.
26151 * sysdeps/generic/ldconfig.h: Likewise.
26152 * locale/programs/localedef.c: Remove xmalloc prototype.
26153 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26154
20b38e03
PP
261552012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26156
26157 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26158 appropriate.
26159
a0da5fe1
UD
261602012-01-08 Ulrich Drepper <drepper@gmail.com>
26161
1d5a644a 26162 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26163 * math/tst-CMPLX.c: New file.
1d5a644a 26164
8784a6db
UD
26165 * math/complex.h (CMPLXL): Fix typo.
26166
d9a216c0
UD
26167 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26168 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26169 GLIBC_2.16.
26170 * debug/tst-chk1.c: Add poll and ppoll tests.
26171 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26172 * include/sys/poll.h: Add hidden proto for ppoll.
26173 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26174 * sysdeps/mach/hurd/ppoll.c: Likewise.
26175 * io/ppoll.c: Likewise.
26176 * debug/poll_chk.c: New file.
26177 * debug/ppoll_chk.c: New file.
26178 * include/bits/poll2.h: New file.
26179 * io/bits/poll2.h: New file.
26180
ac097f5c
UD
26181 [BZ #1350]
26182 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26183
2119dcfa
UD
26184 * configure.in: static is always set to yes. Remove.
26185 * config.make.in: Don't set build-static.
26186 * Makeconfig: Remove use of build-static.
26187 * dlfcn/Makefile: Likewise.
26188 * elf/Makefile: Likewise.
26189 * math/Makefile: Likewise.
26190 * misc/Makefile: Likewise.
26191 * nptl/Makefile: Likewise.
26192 * sysdeps/mach/hurd/Makefile: Likewise.
26193
121766a9
UD
26194 * configure.in: PWD_P is not used anymore.
26195 * config.make.in: Remove PWD_P entry.
26196
51a1d39c 26197 * configure.in: Remove last remnants of RANLIB.
8720d066 26198 No need to check for signed size_t anymore.
215f4bdc
UD
26199 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26200 and IA-64.
3857022a 26201 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26202 * aclocal.m4: Likewise.
26203
d3ed7225
UD
26204 * wcsmbs/mbrtoc16.c: Implement using towc function.
26205 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26206 * wcsmbs/wcsmbsload.c: Likewise.
26207 * iconv/gconv_simple.c: Likewise.
26208 * iconv/gconv_int.h: Likewise.
26209 * iconv/gconv_builtin.h: Likewise.
26210 * iconv/iconv_prog.c: Remove CHAR16 handling.
26211
26212 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26213
26214 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26215
a0da5fe1
UD
26216 * configure.in: Remove --with-elf and --enable-bounded options.
26217 Dont set base_machine for ia64. More non-ELF conditions removed.
26218 Remove testing and setting of leading underscore information.
26219 * config.make.in (build-bounded): Set to no.
26220 * config.h.in: Remove NO_UNDERSCORES entry.
26221 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26222 them.
26223 * csu/start.c: Remove !NO_UNDERSCORE code.
26224 * locale/localeinfo.h: Likewise.
26225 * sysdeps/generic/machine-gmon.h: Likewise.
26226 * sysdeps/generic/sysdep.h: Likewise.
26227 * sysdeps/i386/sysdep.h: Likewise.
26228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26229 * sysdeps/mach/sysdep.h: Likewise.
26230 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26231 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26232 * sysdeps/sh/sysdep.h: Likewise.
26233 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26234 * sysdeps/unix/i386/sysdep.S: Likewise.
26235 * sysdeps/unix/sparc/start.c: Likewise.
26236 * sysdeps/unix/sparc/sysdep.S: Likewise.
26237 * sysdeps/unix/sparc/sysdep.h: Likewise.
26238 * sysdeps/unix/start.c: Likewise.
26239 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26240 * sysdeps/x86_64/sysdep.h: Likewise.
26241
df78418a
UD
262422012-01-07 Ulrich Drepper <drepper@gmail.com>
26243
a784e502
UD
26244 [BZ #13553]
26245 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26246 for non-gcc.
26247 * argp/argp-fmtstream.h: Use const instead __const.
26248 * argp/argp.h: Likewise.
26249 * assert/assert.h: Likewise.
26250 * bits/fenv.h: Likewise.
26251 * bits/sched.h: Likewise.
26252 * bits/sigset.h: Likewise.
26253 * bits/sigthread.h: Likewise.
26254 * catgets/nl_types.h: Likewise.
26255 * conform/data/pthread.h-data: Likewise.
26256 * crypt/crypt-private.h: Likewise.
26257 * crypt/crypt.h: Likewise.
26258 * crypt/crypt_util.c: Likewise.
26259 * ctype/ctype.h: Likewise.
26260 * debug/execinfo.h: Likewise.
26261 * debug/mbsnrtowcs_chk.c: Likewise.
26262 * debug/mbsrtowcs_chk.c: Likewise.
26263 * debug/wcsnrtombs_chk.c: Likewise.
26264 * debug/wcsrtombs_chk.c: Likewise.
26265 * debug/wcstombs_chk.c: Likewise.
26266 * dirent/dirent.h: Likewise.
26267 * dlfcn/dlfcn.h: Likewise.
26268 * elf/neededtest4.c: Likewise.
26269 * grp/grp.h: Likewise.
26270 * gshadow/gshadow.h: Likewise.
26271 * iconv/gconv.h: Likewise.
26272 * iconv/gconv_int.h: Likewise.
26273 * iconv/gconv_simple.c: Likewise.
26274 * iconv/iconv.h: Likewise.
26275 * iconv/loop.c: Likewise.
26276 * iconv/skeleton.c: Likewise.
26277 * include/aio.h: Likewise.
26278 * include/aliases.h: Likewise.
26279 * include/argz.h: Likewise.
26280 * include/arpa/inet.h: Likewise.
26281 * include/assert.h: Likewise.
26282 * include/dirent.h: Likewise.
26283 * include/dlfcn.h: Likewise.
26284 * include/execinfo.h: Likewise.
26285 * include/fcntl.h: Likewise.
26286 * include/fenv.h: Likewise.
26287 * include/glob.h: Likewise.
26288 * include/grp.h: Likewise.
26289 * include/libintl.h: Likewise.
26290 * include/mntent.h: Likewise.
26291 * include/netdb.h: Likewise.
26292 * include/pwd.h: Likewise.
26293 * include/rpc/netdb.h: Likewise.
26294 * include/sched.h: Likewise.
26295 * include/search.h: Likewise.
26296 * include/shadow.h: Likewise.
26297 * include/signal.h: Likewise.
26298 * include/stdio.h: Likewise.
26299 * include/stdlib.h: Likewise.
26300 * include/string.h: Likewise.
26301 * include/sys/socket.h: Likewise.
26302 * include/sys/stat.h: Likewise.
26303 * include/sys/statfs.h: Likewise.
26304 * include/sys/statvfs.h: Likewise.
26305 * include/sys/syslog.h: Likewise.
26306 * include/sys/time.h: Likewise.
26307 * include/sys/uio.h: Likewise.
26308 * include/time.h: Likewise.
26309 * include/unistd.h: Likewise.
26310 * include/utmp.h: Likewise.
26311 * include/wchar.h: Likewise.
26312 * include/wctype.h: Likewise.
26313 * inet/aliases.h: Likewise.
26314 * inet/arpa/inet.h: Likewise.
26315 * inet/netinet/ether.h: Likewise.
26316 * inet/netinet/in.h: Likewise.
26317 * intl/libintl.h: Likewise.
26318 * io/bits/fcntl2.h: Likewise.
26319 * io/fcntl.h: Likewise.
26320 * io/ftw.h: Likewise.
26321 * io/sys/poll.h: Likewise.
26322 * io/sys/stat.h: Likewise.
26323 * io/sys/statfs.h: Likewise.
26324 * io/sys/statvfs.h: Likewise.
26325 * io/utime.h: Likewise.
26326 * libio/bits/stdio.h: Likewise.
26327 * libio/bits/stdio2.h: Likewise.
26328 * libio/libio.h: Likewise.
26329 * libio/libioP.h: Likewise.
26330 * libio/stdio.h: Likewise.
26331 * locale/lc-ctype.c: Likewise.
26332 * locale/locale.h: Likewise.
26333 * login/utmp.h: Likewise.
26334 * malloc/arena.c: Likewise.
26335 * malloc/malloc.c: Likewise.
26336 * malloc/malloc.h: Likewise.
26337 * malloc/mcheck.c: Likewise.
26338 * malloc/mtrace.c: Likewise.
26339 * math/bits/mathcalls.h: Likewise.
26340 * math/fenv.h: Likewise.
26341 * math/math_private.h: Likewise.
26342 * misc/bits/error.h: Likewise.
26343 * misc/bits/syslog.h: Likewise.
26344 * misc/err.h: Likewise.
26345 * misc/error.h: Likewise.
26346 * misc/fstab.h: Likewise.
26347 * misc/mntent.h: Likewise.
26348 * misc/regexp.h: Likewise.
26349 * misc/search.h: Likewise.
26350 * misc/sgtty.h: Likewise.
26351 * misc/sys/mman.h: Likewise.
26352 * misc/sys/syslog.h: Likewise.
26353 * misc/sys/uio.h: Likewise.
26354 * misc/sys/xattr.h: Likewise.
26355 * misc/ttyent.h: Likewise.
26356 * nis/rpcsvc/ypclnt.h: Likewise.
26357 * nss/nss.h: Likewise.
26358 * posix/bits/unistd.h: Likewise.
26359 * posix/fnmatch.h: Likewise.
26360 * posix/glob.h: Likewise.
26361 * posix/sched.h: Likewise.
26362 * posix/spawn.h: Likewise.
26363 * posix/sys/wait.h: Likewise.
26364 * posix/unistd.h: Likewise.
26365 * posix/wordexp.h: Likewise.
26366 * pwd/pwd.h: Likewise.
26367 * resolv/netdb.h: Likewise.
26368 * resource/sys/resource.h: Likewise.
26369 * rt/aio.h: Likewise.
26370 * rt/bits/mqueue2.h: Likewise.
26371 * rt/mqueue.h: Likewise.
26372 * shadow/shadow.h: Likewise.
26373 * signal/signal.h: Likewise.
26374 * socket/send.c: Likewise.
26375 * socket/sendto.c: Likewise.
26376 * socket/sys/socket.h: Likewise.
26377 * stdio-common/printf.h: Likewise.
26378 * stdlib/bits/stdlib.h: Likewise.
26379 * stdlib/fmtmsg.h: Likewise.
26380 * stdlib/monetary.h: Likewise.
26381 * stdlib/stdlib.h: Likewise.
26382 * stdlib/ucontext.h: Likewise.
26383 * streams/stropts.h: Likewise.
26384 * string/argz.h: Likewise.
26385 * string/bits/string2.h: Likewise.
26386 * string/string.h: Likewise.
26387 * string/strings.h: Likewise.
26388 * sunrpc/rpc/auth.h: Likewise.
26389 * sunrpc/rpc/auth_des.h: Likewise.
26390 * sunrpc/rpc/clnt.h: Likewise.
26391 * sunrpc/rpc/netdb.h: Likewise.
26392 * sunrpc/rpc/pmap_clnt.h: Likewise.
26393 * sunrpc/rpc/xdr.h: Likewise.
26394 * sysdeps/generic/inttypes.h: Likewise.
26395 * sysdeps/generic/net/if.h: Likewise.
26396 * sysdeps/generic/sys/swap.h: Likewise.
26397 * sysdeps/gnu/net/if.h: Likewise.
26398 * sysdeps/gnu/utmpx.h: Likewise.
26399 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26400 * sysdeps/i386/i486/bits/string.h: Likewise.
26401 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26402 * sysdeps/s390/bits/string.h: Likewise.
26403 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26404 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26405 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26406 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26407 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26408 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26409 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26410 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26411 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26412 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26413 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26414 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26415 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26416 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26417 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26418 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26419 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26425 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26426 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26427 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26428 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26429 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26431 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26432 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26433 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26434 * sysvipc/sys/ipc.h: Likewise.
26435 * sysvipc/sys/msg.h: Likewise.
26436 * sysvipc/sys/sem.h: Likewise.
26437 * sysvipc/sys/shm.h: Likewise.
26438 * termios/termios.h: Likewise.
26439 * time/sys/time.h: Likewise.
26440 * time/time.h: Likewise.
26441 * wcsmbs/bits/wchar2.h: Likewise.
26442 * wcsmbs/uchar.h: Likewise.
26443 * wcsmbs/wchar.h: Likewise.
26444 * wctype/wctype.h: Likewise.
26445
0269750c
UD
26446 [BZ #13551]
26447 * Makeconfig: Remove all but ELF support including AIX support.
26448 * Makerules: Likewise.
26449 * config.h.in: Likewise.
26450 * config.make.in: Likewise.
26451 * configure: Likewise.
26452 * configure.in: Likewise.
26453 * csu/Makefile: Likewise.
26454 * csu/version.c: Likewise.
26455 * debug/Makefile: Likewise.
26456 * dlfcn/Makefile: Likewise.
26457 * elf/Makefile: Likewise.
26458 * extra-lib.mk: Likewise.
26459 * iconv/Makefile: Likewise.
26460 * include/libc-symbols.h: Likewise.
26461 * include/shlib-compat.h: Likewise.
26462 * resolv/Makefile: Likewise.
26463 * resolv/res_libc.c: Likewise.
26464 * rt/Makefile: Likewise.
26465 * sysdeps/i386/asm-syntax.h: Likewise.
26466 * sysdeps/i386/sysdep.h: Likewise.
26467 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26468 * sysdeps/mach/sysdep.h: Likewise.
26469 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26470 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26471 * sysdeps/s390/asm-syntax.h: Likewise.
26472 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26473 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26474 * sysdeps/sh/sysdep.h: Likewise.
26475 * sysdeps/unix/sparc/sysdep.h: Likewise.
26476 * sysdeps/wordsize-32/divdi3.c: Likewise.
26477 * sysdeps/x86_64/sysdep.h: Likewise.
26478
00bbd29b
UD
26479 * argp/Versions: Remove _argp_unlock_xxx.
26480
26481 [BZ #13559]
26482 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26483 * abilist/libBrokenLocale.abilist: Likewise.
26484 * abilist/libanl.abilist: Likewise.
26485 * abilist/libc.abilist: Likewise.
26486 * abilist/libcrypt.abilist: Likewise.
26487 * abilist/libdl.abilist: Likewise.
26488 * abilist/libm.abilist: Likewise.
26489 * abilist/libnsl.abilist: Likewise.
26490 * abilist/libpthread.abilist: Likewise.
26491 * abilist/libresolv.abilist: Likewise.
26492 * abilist/librt.abilist: Likewise.
26493 * abilist/libthread_db.abilist: Likewise.
26494 * abilist/libutil.abilist: Likewise.
26495 * abilist/libnss_db.abilist: New file.
26496
26497 * scripts/abilist.awk: Add support for indirect functions.
26498
a2693a0e
UD
26499 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26500
3f05895f
UD
26501 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26502
ecb6fb48
UD
26503 * shlib-versions: Remove entries for ports architectures.
26504
664f8cb9
UD
26505 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26506 files in ports.
26507 * elf/stackguard-macros.h: Remove support for IA-64.
26508 * elf/tst-auditmod1.c: Likewise.
26509 * sysdeps/generic/ldsodefs.h: Likewise.
26510
7ae81d88
UD
26511 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26512 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26513 configure files.
26514
bdeba135
UD
26515 [BZ #13552]
26516 * configure.in: Remove --enable-omitfp support.
26517 * FAQ.in: Adjust.
26518 * config.make.in: Likewise.
26519 * Makeconfig: Likewise.
26520 * manual/install.texi: Likewise.
26521
d75a0a62
UD
26522 In case anyone cares, the IA-64 architecture could move to ports.
26523 * sysdeps/ia64/*: Removed.
26524 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26525 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26526
dcc9756b
UD
26527 [BZ #13555]
26528 * configure.in: Remove entries for unsupported architectures.
26529
d3761ebc 26530 [BZ #13533]
9954432e
UD
26531 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26532 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26533 routines.
26534 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26535 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26536 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26537 fall back to using wcrtomb.
26538 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26539 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26540 renaming.
26541 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26542 * wcsmbs/tst-c16c32-1.c: New file.
26543
26544 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26545 local variable.
26546
c3a87236
UD
26547 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26548
28926a1b
UD
26549 * elf/tst-unique3.cc: Add explicit declaration of gets.
26550 * elf/tst-unique3lib.cc: Likewise.
26551 * elf/tst-unique3lib2.cc: Likewise.
26552 * elf/tst-unique4.cc: Likewise.
26553
df78418a
UD
26554 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26555
8ecd6b2a
JM
265562012-01-06 Joseph Myers <joseph@codesourcery.com>
26557
26558 [BZ #13566]
26559 * assert/assert.h (static_assert): Don't define for C++.
26560 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26561 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26562
9f115170
UD
265632012-01-03 Ulrich Drepper <drepper@gmail.com>
26564
5e0d0300
UD
26565 * iconv/loop.c (single loop): Fix assertion in storing of
26566 remaining bytes.
26567
9f115170
UD
26568 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26569
81fb02b0
UD
265702012-01-01 Ulrich Drepper <drepper@gmail.com>
26571
26572 * posix/getconf.c: Update copyright year.
26573 * nss/getent.c: Likewise.
a316c1f6 26574 * nss/makedb.c: Likewise.
81fb02b0
UD
26575 * iconv/iconvconfig.c: Likewise.
26576 * iconv/iconv_prog.c: Likewise.
26577 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26578 * elf/pldd.c: Likewise.
26579 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26580 * catgets/gencat.c: Likewise.
26581 * csu/version.c: Likewise.
26582 * elf/ldd.bash.in: Likewise.
26583 * elf/sprof.c (print_version): Likewise.
26584 * locale/programs/locale.c: Likewise.
26585 * locale/programs/localedef.c: Likewise.
a316c1f6 26586 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26587 * nscd/nscd.c (print_version): Likewise.
26588 * debug/xtrace.sh: Likewise.
26589 * malloc/memusage.sh: Likewise.
26590 * malloc/mtrace.pl: Likewise.
26591 * debug/catchsegv.sh: Likewise.
26592
2ba92745
JJ
265932011-12-30 Jakub Jelinek <jakub@redhat.com>
26594
26595 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26596 pure attribute.
26597
dadebdae
UD
265982011-12-24 Ulrich Drepper <drepper@gmail.com>
26599
d3761ebc 26600 [BZ #13533]
db6af3eb
UD
26601 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26602 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26603 transformations.
26604 * iconv/gconv_int.h: Likewise.
26605 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26606 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26607 from libc for GLIBC_2.16.
26608 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26609 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26610 * wcsmbs/uchar.h: Really define mbstate_t.
26611 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26612 * wcsmbs/c16rtomb.c: New file.
26613 * wcsmbs/mbrtoc16.c: New file.
26614 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26615 for C/POSIX locale.
26616 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26617 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26618
dadebdae
UD
26619 * wcsmbs/wchar.h: Add missing __restrict.
26620
67371b56
UD
266212011-12-23 Ulrich Drepper <drepper@gmail.com>
26622
74033a25
UD
26623 [BZ #13532]
26624 * time/Makefile (routines): Add timespec_get.
26625 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26626 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26627 timespec for ISO C11.
26628 * time/timespec_get.c: New file.
26629 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26630 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26631
380d7e87
UD
26632 [BZ #13531]
26633 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26634 * stdlib/stdlib.h: Declare aligned_alloc.
26635 * Versions.def: Add GLIBC_2.16 for libc.
26636 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26637
4e9e7a35
UD
26638 [BZ 13527]
26639 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26640 ISO C11.
26641
380d7e87 26642 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26643 code.
26644
03a71829
UD
26645 [BZ #13528]
26646 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26647
839e283e
UD
26648 [BZ #13529]
26649 * assert/assert.h (static_assert): Define.
26650
ce5294e2 26651 * version.h: Update for 2.16 development version.
90fa7312 26652
8d44e150 26653 [BZ #13526]
d7809905
UD
26654 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26655 _ISOC11_SOURCE.
26656
c0da14cd
UD
26657 * version.h (RELEASE): Bump for 2.15 release.
26658 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26659
530a3249
MP
26660 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26661 Patch by Marek Polacek <mpolacek@redhat.com>.
26662
67371b56
UD
26663 * bits/byteswap.h: Protect long long constants with __extension__.
26664 * sysdeps/i386/bits/byteswap.h: Likewise.
26665 * sysdeps/ia64/bits/byteswap.h: Likewise.
26666 * sysdeps/s390/bits/byteswap.h: Likewise.
26667 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26668
15db4de1
LD
266692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26670
26671 [BZ #13540]
bbe315ea
LD
26672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26673 destination buffer.
15db4de1
LD
26674 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26675
2b2596b1
MP
266762011-12-23 Marek Polacek <polacek@redhat.com>
26677
26678 * elf/dl-addr.c (determine_info): Add inline keyword.
26679 * elf/tst-auditmod4b.c (check_avx): Likewise.
26680 * elf/tst-auditmod6b.c (check_avx): Likewise.
26681 * elf/tst-auditmod6c.c (check_avx): Likewise.
26682 * elf/tst-auditmod7b.c (check_avx): Likewise.
26683
70c6c246
UD
266842011-12-23 Ulrich Drepper <drepper@gmail.com>
26685
26686 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26687 !__SSE_MATH__.
26688
c044cf14
LD
266892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26690
15db4de1 26691 [BZ #13540]
c044cf14
LD
26692 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26693 processing for last bytes.
26694
6b13d9d9
BH
266952011-08-06 Bruno Haible <bruno@clisp.org>
26696
d455f537
BH
26697 [BZ #13061]
26698 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26699 U+0385, not to U+1FEE.
26700
6b13d9d9
BH
26701 [BZ #13062]
26702 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26703 entry for U+00A5 U+0301.
26704
db910efd
UD
267052011-12-22 Ulrich Drepper <drepper@gmail.com>
26706
27deeafc
UD
26707 [BZ #13166]
26708 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26709 buffer for the output is too small.
26710
aed9d171
UD
26711 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26712 optimization.
26713
db910efd
UD
26714 [BZ #13185]
26715 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26716 SSE flags if possible.
26717
2bd779ae
LD
267182011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26719
e7f9dac3 26720 [BZ #13540]
2bd779ae
LD
26721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26722 processing for last bytes.
26723
154bfc16
JM
267242011-12-22 Joseph Myers <joseph@codesourcery.com>
26725
26726 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26727 (syscall-list-default-options, syscall-list-default-condition)
26728 (syscall-list-includes): Define.
26729 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26730 list of ABIs and options and #if conditions for each ABI. Do not
26731 handle common syscalls between ABIs specially.
26732 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26733 Remove.
26734 (syscall-list-variants, syscall-list-32bit-options)
26735 (syscall-list-32bit-condition, syscall-list-64bit-options)
26736 (syscall-list-64bit-condition): Define.
26737 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26738 (syscall-list-variants, syscall-list-32bit-options)
26739 (syscall-list-32bit-condition, syscall-list-64bit-options)
26740 (syscall-list-64bit-condition): Define.
26741 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26742 Remove.
26743 (syscall-list-variants, syscall-list-32bit-options)
26744 (syscall-list-32bit-condition, syscall-list-64bit-options)
26745 (syscall-list-64bit-condition): Define.
26746 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26747 Remove.
26748 (syscall-list-variants, syscall-list-32bit-options)
26749 (syscall-list-32bit-condition, syscall-list-64bit-options)
26750 (syscall-list-64bit-condition): Define.
26751
21eaf3a5
UD
267522011-12-22 Ulrich Drepper <drepper@gmail.com>
26753
16c6f992
UD
26754 * locale/iso-639.def: Add brx entry.
26755
41043168
UD
26756 [BZ #13328]
26757 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26758 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26759
21eaf3a5
UD
26760 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26761 __feraiseexcept_renamed.
26762
e3a851a2
UD
267632011-12-21 Ulrich Drepper <drepper@gmail.com>
26764
4920765e
UD
26765 [BZ #13538]
26766 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26767 EPOLLET with unsigned values.
26768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26769 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26770
e3a851a2
UD
26771 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26772 to large cancellation.
26773 * math/s_cacoshf.c: Likewise.
26774 * math/s_cacoshl.c: Likewise.
26775
b27e24b8
RK
267762011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26777
26778 [BZ #13305]
aebefeee 26779 [BZ #12786]
b27e24b8
RK
26780 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26781 * math/s_cacoshf.c: Likewise.
26782 * math/s_cacoshl.c: Likewise.
26783
ee190f67
UD
267842011-12-21 Ulrich Drepper <drepper@gmail.com>
26785
26786 [BZ #13439]
26787 * iconv/gconv.h: Define __GCONV_SWAP.
26788 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26789 * iconvdata/utf-16.c: Likewise.
26790 * iconvdata/utf-32.c: Likewise.
26791
707f25df
AS
267922011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26793
26794 [BZ #13524]
26795 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26796 numerator after shifting it by one limb.
26797
d2daaa1e
RÁE
267982011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26799
26800 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26801 under [__USE_EXTERN_INLINES].
26802
a4647e72
UD
268032011-12-17 Ulrich Drepper <drepper@gmail.com>
26804
26805 [BZ #13446]
26806 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26807
f0b264f1
AZ
268082011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26809
26810 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26811 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26812 optimized code.
26813 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26814 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26815 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26816 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26817 for strncasecmp/strncasecmp_l compilation.
26818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26819 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26820
8ef4f244
MP
268212011-12-08 Marek Polacek <mpolacek@redhat.com>
26822
26823 [BZ #13484]
26824 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26825 of __asm__.
26826
97ac2654
UD
268272011-12-17 Ulrich Drepper <drepper@gmail.com>
26828
26829 [BZ #13506]
26830 * time/tzfile.c (__tzfile_read): Check values from file header.
26831
91d2a845
WS
268322011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26833
26834 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26835 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26836 * powerpc/powerpc32/dl-start.S: Likewise.
26837 * powerpc/powerpc32/elf/start.S: Likewise.
26838 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26839 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26840 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26841 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26842 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26843 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26844 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26845 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26846 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26847 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26848 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26849 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26850 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26851 * powerpc/powerpc32/memset.S: Likewise.
26852 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26853 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26854 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26855 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26856 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26857 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26858 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26859 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26860 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26861 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26862 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26863 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26864 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26865
a1267ba1
AZ
268662011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26867
26868 * math/libm-test.inc: Added more nearbyint tests.
26869 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26873
ad8ac1bd
RL
268742011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26875
26876 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26877 FD_CLOEXEC.
26878
1d3e4b61
UD
268792011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26880
26881 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26882 Add wcscpy-ssse3 wcscpy-c.
26883 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26884 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26885 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26886 * sysdeps/x86_64/wcschr.S: New file.
26887 * sysdeps/x86_64/wcsrchr.S: New file.
26888 * string/test-strcmp.c: Remove checking of wcscmp function for
26889 wrong alignments.
26890 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26891 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26892 wcsrchr-sse2 wcsrchr-c.
26893 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26894 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26895 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26896 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26897 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26898 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26899 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26900 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26901 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26902 * wcsmbc/wcschr.c (WCSCHR): New macro.
26903
5b330a2d
UD
269042011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26905
26906 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26907 * wcsmbs/test-wcsrchr.c: New file.
26908 * string/test-strrchr.c: Add wcsrchr support.
26909 (WIDE): New macro.
26910 * wcsmbs/test-wcscpy.c: New file.
26911 * string/test-strcpy.c: Add wcscpy support.
26912 (WIDE): New macro.
26428b7c 26913
f039c043
UD
269142011-12-10 Ulrich Drepper <drepper@gmail.com>
26915
26916 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26917 the inner loop.
26918
850fb039
AS
269192011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26920
26921 [BZ #13472]
26922 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26923
4efbd5cb
UD
269242011-12-04 Ulrich Drepper <drepper@gmail.com>
26925
52ff5dd0 26926 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26927 Minor optimizations.
52ff5dd0 26928
4efbd5cb
UD
26929 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26930 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26931 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26932
8a426e12
UD
269332011-12-03 Ulrich Drepper <drepper@gmail.com>
26934
aff2453d
UD
26935 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26936 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26937 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26938 for gcc to avoid warnings.
26939 * inet/Makefile (tests): Add tst-checks.
26940 * inet/tst-checks.c: New file.
26941
26942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26943 warning.
26944
26945 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26946 __wmemcmp_sse2.
26947
26948 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26949 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26950
8a426e12
UD
26951 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26952
9bea3473
UD
269532011-12-02 Ulrich Drepper <drepper@gmail.com>
26954
3a965496
UD
26955 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26956 problem.
26957
9bea3473
UD
26958 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26959
f101631b
UD
269602011-11-29 Joseph Myers <joseph@codesourcery.com>
26961
26962 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26963 conditional on GCC version.
26964 (__arch_compare_and_exchange_val_8_acq)
26965 (__arch_compare_and_exchange_val_16_acq)
26966 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26967 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26968 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26969
a98275aa
UD
269702011-12-02 Joseph Myers <joseph@codesourcery.com>
26971
26972 * sysdeps/sh/backtrace.c: New file.
26973
d4cc29a2
AS
269742011-12-02 Andreas Schwab <schwab@redhat.com>
26975
26976 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26977 parenthesis.
26978
6257af2d
AS
269792011-12-01 Andreas Schwab <schwab@redhat.com>
26980
26981 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26982 falling back to utime.
26983
b5f44c1a
AS
269842011-11-30 Andreas Schwab <schwab@redhat.com>
26985
26986 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26987 expectations for float.
26988
f3a6cc0a
AS
269892011-11-29 Andreas Schwab <schwab@redhat.com>
26990
26991 * locale/weight.h (findidx): Add parameter len.
26992 * locale/weightwc.h (findidx): Likewise.
26993 * posix/fnmatch_loop.c (FCT): Adjust caller.
26994 * posix/regcomp.c (build_equiv_class): Likewise.
26995 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26996 * posix/regexec.c (check_node_accept_bytes): Likewise.
26997 * string/strcoll_l.c (STRCOLL): Likewise.
26998 * string/strxfrm_l.c (STRXFRM): Likewise.
26999
9d65ea3a
UD
270002011-11-17 Ulrich Drepper <drepper@gmail.com>
27001
27002 * Makefile.in: Remove CVSOPT handling.
27003 * configure.in: Remove use of AC_REVISION.
27004 * iconvdata/Makefile (distribute): No need to filter out CVS.
27005 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27006 handling.
27007
5583a086
AS
270082011-11-16 Andreas Schwab <schwab@redhat.com>
27009
27010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27011 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27012 [USE_AS_STRNCASECMP_L]: Likewise.
27013 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27014 NO_TLS_DIRECT_SEG_REFS.
27015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27016 Fix argument offsets for non-PIC.
27017 [USE_AS_STRNCASECMP_L]: Likewise.
27018 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27019 NO_TLS_DIRECT_SEG_REFS.
27020
d62a8200
UD
270212011-11-15 Ulrich Drepper <drepper@gmail.com>
27022
9d65ea3a 27023 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27024 O_CLOEXEC.
27025 * locale/loadlocale.c (_nl_load_locale): Likewise.
27026
09f93bd3
AS
270272011-11-15 Andreas Schwab <schwab@redhat.com>
27028
446514f9
AS
27029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27030 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27031 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27032 (SYSCALL_GETTIME): Set errno on error.
27033
09f93bd3
AS
27034 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27035 count references to noai6ai_cached.
27036
312be3f9
UD
270372011-11-15 Ulrich Drepper <drepper@gmail.com>
27038
27039 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27040
27041 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27042 FD_CLOEXEC for /proc/self/maps.
27043
27044 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27045 FD_CLOEXEC for /proc/meminfo.
27046
27047 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27048 gai.conf.
27049
27050 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27051 FD_CLOEXEC for given file.
27052
27053 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27054
27055 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27056 FD_CLOEXEC for /etc/hosts.
27057 (_gethtent): Likewise.
27058
27059 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27060
27061 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27062 cancellation and set FD_CLOEXEC for /etc/netgroup.
27063
27064 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27065 reading /etc/publickey.
27066
27067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27068 allow cancellation when reading /etc/group.
27069
27070 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27071 cancellation.
27072 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27073
27074 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27075 when using data file.
27076
27077 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27078
27079 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27080 (write_nis_obj): Use "c" and "e" in fopen.
27081
27082 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27083
27084 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27085
27086 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27087
27088 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27089
27090 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27091 locale.alias.
27092
27093 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27094
27095 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27096
27097 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27098
27099 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27100 file parsing and set FD_CLOEXEC.
27101
82af0fa8
UD
271022011-11-14 Ulrich Drepper <drepper@gmail.com>
27103
27104 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27105
a5fb313c
AS
271062011-11-14 Andreas Schwab <schwab@redhat.com>
27107
27108 * malloc/arena.c (arena_get2): Don't call reused_arena when
27109 _int_new_arena failed.
27110
6abf3465
UD
271112011-11-14 Ulrich Drepper <drepper@gmail.com>
27112
27113 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27114 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27116 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27118 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27119 to compile strcasecmp and strncasecmp.
27120 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27121 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27122
27123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27124
76e3966e
UD
271252011-11-13 Ulrich Drepper <drepper@gmail.com>
27126
27127 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27128 locale-defines.sym to gen-as-const-headers.
27129 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27130 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27131 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27132 to compile strcasecmp and strncasecmp.
27133 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27134 strcasecmp_l and strncasecmp_l.
27135 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27136 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27137 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27138 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27139 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27140 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27141 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27142 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27143 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27144 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27145 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27146
ab26144e
UD
271472011-11-12 Ulrich Drepper <drepper@gmail.com>
27148
7edb22ef
UD
27149 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27150 result of SYSDEP_GETTIME_CPU to retval.
27151 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27152 parameter list to macro. Remove trailing semicolon. Adjust users.
27153
9694fc44
UD
27154 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27155 variable.
27156
8ad89ef8
UD
27157 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27158 mantissa words.
27159 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27160
0c822ef9
UD
27161 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27162 from unused variable.
27163
874e0564
UD
27164 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27165 DWARF definitions.
27166 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27167 for assembling.
27168
3a2edc79
UD
27169 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27170 over namespaces.
27171
f3c2577f
UD
27172 * sunrpc/rpc_prot.c (rejected): Fix case value.
27173
294ce126
UD
27174 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27175 unsigned long long int to avoid warnings in shift.
27176
5e2b63c6
UD
27177 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27178 of use of trans.
27179 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27180 variable tmp.
27181
e7f4b08e
UD
27182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27183 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27185
ab26144e
UD
27186 * nis/nis_table.c (nis_list): Use variable of correct type for
27187 result of __follow_path call.
27188
8a6d5255
AZ
271892011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27190
27191 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27192 of math functions ceil, trunc, floor, round, and sqrt, when
27193 avaliable on the platform.
27194 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27195 name clash.
27196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27197 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27198 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27199
aaddc98c
MP
272002011-10-30 Marek Polacek <mpolacek@redhat.com>
27201
27202 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27203 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27204
95b7042b
RM
272052011-11-11 Roland McGrath <roland@hack.frob.com>
27206
27207 * include/unistd.h: Fix __readlink return type.
27208 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27209
57769839
UD
272102011-11-11 Ulrich Drepper <drepper@gmail.com>
27211
27212 * stdlib/ucontext.h: Undo last change for makecontext.
27213
edc5984d
AS
272142011-11-11 Andreas Schwab <schwab@redhat.com>
27215
98591e58
AS
27216 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27217
edc5984d
AS
27218 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27219 * setjmp/setjmp.h: Mark functions as non-leaf.
27220 * setjmp/bits/setjmp2.h: Likewise.
27221 * stdlib/ucontext.h: Likewise.
27222
77cdc054
AS
272232011-11-10 Andreas Schwab <schwab@redhat.com>
27224
27225 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27226 (reused_arena): Don't check arena limit.
27227 (arena_get2): Atomically check arena limit.
27228
fe72eebd
UD
272292011-11-08 Ulrich Drepper <drepper@gmail.com>
27230
5f078c32
UD
27231 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27232 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27233
fe72eebd
UD
27234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27235 instructions.
27236
ae1bc2fa
AS
272372011-11-07 Andreas Schwab <schwab@redhat.com>
27238
7583a88d
AS
27239 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27240 handler when locking.
27241
ae1bc2fa
AS
27242 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27243 Fix size of allocated buffer.
27244
10fb0bfa
AS
272452011-11-04 Andreas Schwab <schwab@redhat.com>
27246
998832a4
AS
27247 [BZ #10103]
27248 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27249 declarations for long double functions.
27250 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27251
10fb0bfa
AS
27252 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27253
3d7ba52b
AS
272542011-11-03 Andreas Schwab <schwab@redhat.com>
27255
a9ae54a1
AS
27256 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27257 installed.
27258
3d7ba52b
AS
27259 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27260 is disabled.
27261
bc8db248
ST
272622011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27263
27264 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27265
45b96dd6
AS
272662011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27267
647776f6
AS
27268 * include/alloca.h (stackinfo_alloca_round): Define.
27269 (extend_alloca): Use it.
27270 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27271 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27272 here.
27273
d91a8b93
AS
27274 * scripts/check-local-headers.sh: Ignore libaudit.h.
27275
45b96dd6
AS
27276 * nscd/Makefile (extra-objs): Make recursively expanded.
27277
432d41ce
UD
272782011-11-01 Ulrich Drepper <drepper@gmail.com>
27279
34372fc6
UD
27280 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27282
fadb59f8
UD
27283 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27284 * posix/tst-rfc3484-2.c: Likewise.
27285 * posix/tst-rfc3484-3.c: Likewise.
27286
78239589
UD
27287 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27288 process_vm_writev.
27289 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27290 process_vm_writev.
27291 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27292 process_vm_writev from libc using GLIBC_2.15 version.
27293
432d41ce
UD
27294 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27295
02f9c6cf
PP
272962011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27297
27298 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27299 stack usage.
27300
3a2c0242
UD
273012011-10-31 Ulrich Drepper <drepper@gmail.com>
27302
f4ec4833
UD
27303 [BZ #13367]
27304 * nss/getent.c (initgroups_keys): Show error message in case no group
27305 names are given.
27306
3a2c0242
UD
27307 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27308 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27309 __bump_nl_timestamp.
27310 * nscd/connections (nscd_init): When host database is served open
27311 netlink socket and request notification about configuration changes.
27312 (main_loop_poll): Track netlink file descriptor and bump timestamp
27313 in case data becomes available.
27314 (main_loop_epoll): Likewise.
27315 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27316 (database_pers_head): Add extra_data fileds.
27317 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27318 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27319 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27320 Adjust caller.
27321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27322 in6ai data, call __free_in6ai.
27323 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27324 Add -DHAVE_NETLINK.
27325 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27326 interface information. Reuse previous data if netlink timestamp
27327 is not changed.
27328 (__bump_nl_timestamp): New function.
27329 (__free_in6ai): New function.
27330
636064eb
UD
273312011-10-30 Ulrich Drepper <drepper@gmail.com>
27332
27333 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27334 close_not_cancel_no_status here.
27335 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27336
9beb2334
UD
273372011-10-29 Ulrich Drepper <drepper@gmail.com>
27338
6ef76f3b
UD
27339 [BZ #13276]
27340 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27341 return value.
27342
0ffc4f3e 27343 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27344 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27345 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27346
cb95113e
UD
273472011-07-03 Andreas Jaeger <aj@suse.de>
27348
27349 [BZ #10709]
27350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27351 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27352 * math/libm-test.inc (sin_test): Add test case.
27353
a1b560ff
UD
273542011-10-29 Ulrich Drepper <drepper@gmail.com>
27355
c9aaface
UD
27356 [BZ #13337]
27357 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27358 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27359
d272e7f1
UD
27360 * elf/chroot_canon.c (chroot_canon): Cleanups.
27361
1bc33071
UD
27362 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27363
1760874d
TJ
27364 [BZ #13335]
27365 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27366 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27367
51d91b18
UD
27368 * string/test-strchr.c: Make usable for strchrnul testing.
27369 * string/test-strchrnul.c: New file.
27370 * string/Makefile (strop-tests): Add strchrnul.
27371
a1b560ff 27372 * po/it.po: Update from translation team.
b611fb81 27373 * po/es.po: Likewise.
a1b560ff 27374
a5b81e1f
UD
273752011-10-28 Ulrich Drepper <drepper@gmail.com>
27376
fd52bc6d
UD
27377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27378 the three constants needed as parameters. Drop the others.
27379 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27380 __m128i_strloadu_tolower.
52e4b9eb
UD
27381 Create and initialize variable zero and use it in all the places
27382 where _mm_setzero_si128 was used.
fd52bc6d 27383
a5b81e1f
UD
27384 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27385 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27386 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27387 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27388 anymore.
27389 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27390 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27391 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27392 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27393 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27394 __mpranred, __mptan.
27395 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27396 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27397 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27398 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27399 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27400 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27401 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27402 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27403 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27404
b4343346
AS
274052011-10-28 Andreas Schwab <schwab@redhat.com>
27406
0c92d8a8
AS
27407 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27408 redefine if SHARED.
27409 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27410
b4343346
AS
27411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27412 wide char related routines to wcsmbs subdir.
27413
3871f58f
AS
274142011-10-27 Andreas Schwab <schwab@redhat.com>
27415
27416 [BZ #13344]
27417 * misc/sys/cdefs.h (__THROWNL): Define.
27418 * posix/unistd.h: Use __THREADNL instead of __THREAD
27419 for memory synchronization functions.
27420
94d44d9f
RM
274212011-10-26 Roland McGrath <roland@hack.frob.com>
27422
21b64b15 27423 [BZ #13349]
94d44d9f
RM
27424 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27425 doesn't exist.
27426 * manual/stdio.texi (Obstack Streams): Node removed.
27427
f6ce9294
AS
274282011-10-26 Andreas Schwab <schwab@redhat.com>
27429
80479147
AS
27430 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27431 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27432 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27433
f6ce9294
AS
27434 * math/math_private.h (math_force_eval): Allow non-addressable
27435 arguments.
27436 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27437
618280a1
UD
274382011-10-25 Ulrich Drepper <drepper@gmail.com>
27439
e0016b11
UD
27440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27441 file is not needed.
27442
27443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27444 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27450 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27451 Add AVX variants.
27452 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27453 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27454 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27455 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27456 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27457 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27458 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27459 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27460 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27461 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27462 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27463 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27465 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27466 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27467 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27468 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27469 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27470 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27471
27472 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27473 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27474
618280a1
UD
27475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27476 place. Use VEX encoding when compiling for AVX.
27477
37822576
AS
274782011-10-25 Andreas Schwab <schwab@redhat.com>
27479
1f1e1947
AS
27480 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27481 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27482
37822576
AS
27483 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27484
31ea014d
UD
274852011-10-25 Ulrich Drepper <drepper@gmail.com>
27486
d7826aa1 27487 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27488 useless if() expression.
d7826aa1
UD
27489 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27498 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27499 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27500 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27502 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27504 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27505 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27507 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27508
31ea014d
UD
27509 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27510
16437fec
AS
275112011-10-25 Andreas Schwab <schwab@redhat.com>
27512
27513 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27514 condition.
27515 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27516
31d3cc00
UD
275172011-10-25 Ulrich Drepper <drepper@gmail.com>
27518
27519 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27520 .text section. Avoid duplicate constants.
27521 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27531 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27533 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27538 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27544 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27545 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27546 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27547 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27548 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27549 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27550 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27551 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27552 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27553 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27554 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27555 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27556 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27557 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27558 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27559 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27560 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27561 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27562 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27563 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27564 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27566
58985aa9
UD
275672011-10-24 Ulrich Drepper <drepper@gmail.com>
27568
202c9deb
UD
27569 * sysdeps/x86_64/dla.h: Move to ...
27570 * sysdeps/x86_64/fpu/dla.h: ...here.
27571 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27572 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27573
af968f62
UD
27574 * config.make.in: Add have-mfma4 entry.
27575 * configure.in: Substitute libc_cv_cc_fma4.
27576 * math/Makefile (dbl-only-routines): Add sincostab.
27577 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27578 Use __sincostab not sincos.
27579 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27580 name is a macro.
27581 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27585 using __copysign.
27586 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27587 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27588 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27589 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27590 and __inv.
27591 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27592 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27593 __copysign.
27594 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27595 define aliases when function name is a macro.
27596 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27597 sysdeps/ieee754/dbl-64/sincos.tbl.
27598 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27599 fma4-enabled routines.
27600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27601 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27602 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27603 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27604 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27605 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27606 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27607 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27608 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27609 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27610 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27611 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27612 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27613 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27614 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27615 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27616 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27617 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27618 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27620 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27621 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27623 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27625 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27627 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27628 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27629 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27630
58985aa9
UD
27631 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27632 rename.
27633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27641
a201fbcf
AS
276422011-10-24 Andreas Schwab <schwab@redhat.com>
27643
27644 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27645
fc2ee42a
LD
276462011-10-23 Ulrich Drepper <drepper@gmail.com>
27647
bb3129bd
UD
27648 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27649
0275fff8
UD
27650 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27651 prediction.
27652 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27653
2fa2ae85
UD
27654 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27655 Remove unused variable magic_bits.
27656 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27657
fc2ee42a
LD
27658 * string/strnlen.c: Define and use STRNLEN macro.
27659 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27660 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27662 * wcsmbs/wcslen.c: Define and use WCSLEN.
27663 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27664 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27665 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27666 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27667 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27668 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27669 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27670
ce7dd29f
LD
276712011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27672
27673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27674 strnlen-sse2-no-bsf.
27675 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27677 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27678 Add strnlen support.
27679 (USE_AS_STRNLEN): New macro.
27680 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27681 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27682 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27683 * sysdeps/x86_64/wcslen.S: New file.
27684
979c70a3
MZ
276852011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27686
27687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27688 XMM-moves are used for copying on small sizes.
27689
2d09f82f
LD
276902011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27691
27692 * wcsmbs/Makefile (strop-tests): Add wcschr.
27693 * wcsmbs/test-wcschr.c: New file.
27694 * string/test-strchr.c: Update.
27695 Add wcschr support.
27696 (WIDE): New macro.
27697
619fccca
LD
276982011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27699
2d09f82f 27700 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27701 * wcsmbs/test-wcslen.c: New file.
27702 * string/test-strlen.c: Update.
27703 Add wcslen support.
27704 (WIDE): New macro.
27705
09f699ea
UD
277062011-10-23 Ulrich Drepper <drepper@gmail.com>
27707
27708 * po/it.po: Update from translation team.
27709
95584d3b
LD
277102011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27711
27712 * sysdeps/x86_64/wcscmp.S: Update.
27713 Fix wrong comparison semantics.
27714 wcscmp shall use signed comparison not unsigned.
27715 Don't use substraction to avoid overflow bug.
27716 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27717 * wcsmbc/wcscmp.c: Likewise.
27718 * string/test-strcmp.c: Likewise.
27719 Add new tests to check cases with negative values.
27720
c8b3296b
UD
277212011-10-23 Ulrich Drepper <drepper@gmail.com>
27722
27723 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27724 * sysdeps/x86_64/dla.h: ...here. New file.
27725 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27734
246ad57a
AS
277352011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27736
27737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27738 __ynl_finite aliases.
27739
a1a87169
UD
277402011-10-22 Ulrich Drepper <drepper@gmail.com>
27741
0d355eb7
UD
27742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27743
a1a87169
UD
27744 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27745 define DLA_FMA.
27746 [DLA_FMA] (EMULV): Use DLA_FMA.
27747 [DLA_FMA] (MUL12): Use EMULV.
27748 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27749 that are not needed.
27750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27757
ee2aafe0
AS
277582011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27759
27760 * math/s_nan.c: Undef __nan.
27761 * math/s_nanf.c: Undef __nanf.
27762 * math/s_nanl.c: Undef __nanl.
27763 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27764 "math_private.h".
27765
bc62c2fb
UD
277662011-10-22 Ulrich Drepper <drepper@gmail.com>
27767
77425c63
UD
27768 * math/s_catan.c: Add branch predictions.
27769 * math/s_catanf.c: Likewise.
27770 * math/s_catanh.c: Likewise.
27771 * math/s_catanhf.c: Likewise.
27772 * math/s_catanhl.c: Likewise.
27773 * math/s_catanl.c: Likewise.
27774 * math/s_cexp.c: Likewise.
27775 * math/s_cexpf.c: Likewise.
27776 * math/s_cexpl.c: Likewise.
27777 * math/s_clog.c: Likewise.
27778 * math/s_clog10.c: Likewise.
27779 * math/s_clog10f.c: Likewise.
27780 * math/s_clog10l.c: Likewise.
27781 * math/s_clogf.c: Likewise.
27782 * math/s_clogl.c: Likewise.
27783 * math/s_csqrt.c: Likewise.
27784 * math/s_csqrtf.c: Likewise.
27785 * math/s_csqrtl.c: Likewise.
27786 * math/s_ctanf.c: Likewise.
27787 * math/s_ctanh.c: Likewise.
27788 * math/s_ctanhf.c: Likewise.
27789 * math/s_ctanhl.c: Likewise.
27790 * math/s_ctanl.c: Likewise.
27791
bc62c2fb
UD
27792 * math/math_private.h: Define __nan, __nanf, __nanl.
27793 * math/s_cacosh.c: Include <math_private.h>.
27794 * math/s_cacoshl.c: Likewise.
27795 * math/s_casinh.c: Likewise.
27796 * math/s_casinhf.c: Likewise.
27797 * math/s_casinhl.c: Likewise.
27798 * math/s_ccos.c: Rely entire on ccosh.
27799 * math/s_ccosf.c: Rely entire on ccoshf.
27800 * math/s_ccosl.c: Rely entirely on ccoshl.
27801 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27802 Remove tests for FE_INVALID.
27803 * math/s_ccoshf.c: Likewise.
27804 * math/s_ccoshl.c: Likewise.
27805 * math/s_csin.c: Likewise.
27806 * math/s_csinf.c: Likewise.
27807 * math/s_csinh.c Likewise.
27808 * math/s_csinhf.c: Likewise.
27809 * math/s_csinhl.c: Likewise.
27810 * math/s_csinl.c: Likewise.
27811 * math/s_ctan.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27813 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27814 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27815
8ec250a4
UD
278162011-10-21 Ulrich Drepper <drepper@gmail.com>
27817
c196fed8
UD
27818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27819 compilation problems.
27820
8ec250a4
UD
27821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27822 __builtin_expect.
27823
8d4f46c6
UD
278242011-10-20 Ulrich Drepper <drepper@gmail.com>
27825
ed72b654
UD
27826 * sysdeps/i386/configure.in: Test for -mfma4 option.
27827 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27828 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27829 COMMON_CPUID_INDEX_80000001.
27830 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27831 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27832 use it if FMA3 is not supported.
27833 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27834
8d4f46c6
UD
27835 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27836 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27837
d45c60c2
AS
278382011-10-20 Andreas Schwab <schwab@redhat.com>
27839
27840 [BZ #12892]
27841 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27842 it would create a cycle with a link time dependency.
27843
d9a4d2ab
UD
278442011-10-19 Ulrich Drepper <drepper@gmail.com>
27845
855d1560
UD
27846 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27847 instruction.
27848 * string/Makefile (strop-tests): Add rawmemchr.
27849 * string/test-rawmemchr.c: New file.
27850
d9a4d2ab
UD
27851 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27852 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27853 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27854 when compiling str{,n}casecmp and when AVX is available. Hook up
27855 new optimized code in initializers.
27856
8f3b1ffe
AS
278572011-10-19 Andreas Schwab <schwab@redhat.com>
27858
27859 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27860 __feraiseexcept instead of feraiseexcept.
27861
d38f1dba
UD
278622011-10-18 Ulrich Drepper <drepper@gmail.com>
27863
d9a8d0ab
UD
27864 * math/math_private.h: Define defaults for libc_fetestexcept and
27865 libc_feupdateenv.
27866 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27867 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27868 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27869 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27871 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27872 libc_fetestexcept and libc_feupdateenv.
27873
4855e3dd
UD
27874 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27875 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27876 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27877 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27878 libc_feholdexcept_setround.
27879
581d30e3
UD
27880 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27881 Add s_nearbyint-c and s_nearbyintf-c.
27882 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27883 nearbyintf inlines.
27884 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27885 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27886 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27888
d38f1dba
UD
27889 * math/math_private.h: Define defaults for libc_fegetround,
27890 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27891 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27892 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27893 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27894 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27895 standard functions.
27896 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27897 Remove comments and hacks for old compiler versions.
27898 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27899 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27900 libc_feholdexceptl.
27901
caa6c9d8
AS
279022011-10-18 Andreas Schwab <schwab@redhat.com>
27903
27904 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27905 (__feraiseexcept_renamed): Add __NTH.
27906 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27907 namespace violations.
27908
97c066e6
UD
279092011-10-17 Ulrich Drepper <drepper@gmail.com>
27910
99ce7b04
UD
27911 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27912
1004d182
UD
27913 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27914
228a984d
UD
27915 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27916 recently added interfaces.
27917 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27918
c8553a6a
UD
27919 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27920 about macro parameter expansion.
27921
ed22dcf6
UD
27922 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27923 __NO_MATH_INLINES is defined. Cleanups.
27924
27925 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27926 and __floorf is target has SSE4.1.
27927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27928 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27929 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27930 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27931
b171c137
UD
27932 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27933 name.
27934 (floorf): Likewise.
27935
97c066e6
UD
27936 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27937
629f62ef
AS
279382011-10-17 Andreas Schwab <schwab@redhat.com>
27939
49a43d80
AS
27940 * misc/sys/cdefs.h: Fix last change.
27941
629f62ef
AS
27942 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27943 database lookup.
27944
e453f6cd
UD
279452011-10-16 Ulrich Drepper <drepper@gmail.com>
27946
aa78043a
UD
27947 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27948
ad0f5cad
UD
27949 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27950 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27955 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27956 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27957 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27958 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27959 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27960 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27961 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27962 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27963 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27964 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27965 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27966 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27967 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27968 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27969 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27970 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27971
27972 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27973 ceil, ceilf, floor, floorf.
27974
27975 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27976 Perform IRELATIVE relocations last.
27977
e453f6cd
UD
27978 * elf/do-rel.h: Add another parameter nrelative, replacing the
27979 local variable with the same name. Change name of the function
27980 to end in Rel or Rela (uppercase).
27981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27982 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27983 elf_dynamic_do_##reloc function.
27984
fd5bdc09
UD
279852011-10-15 Ulrich Drepper <drepper@gmail.com>
27986
79b195b5
UD
27987 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27988 is sufficient, at least on modern CPUs.
27989
d4a28569
UD
27990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27991
b61099b5
UD
27992 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27993 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27994
bcf01e6d
UD
27995 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27996 __expl_finite.
27997 * math/bits/math-finite.h: Add entries for exp.
27998 * math/e_expl.c: Add __*_finite alias.
27999 * sysdeps/i386/fpu/e_exp.S: Likewise.
28000 * sysdeps/i386/fpu/e_expf.S: Likewise.
28001 * sysdeps/i386/fpu/e_expl.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28003 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28007 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28008 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28009
ba1a0d59
UD
28010 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28011 is sufficient, at least on modern CPUs.
28012
fd5bdc09
UD
28013 * ctype/ctype-info.c (__ctype_init): Define.
28014 * include/ctype.h (__ctype_init): Declare.
28015 (__ctype_b_loc): The variable is always initialized.
28016 (__ctype_toupper_loc): Likewise.
28017 (__ctype_tolower_loc): Likewise.
28018 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28019 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28020
7872cfb0
AS
280212011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28022
b468825a
AS
28023 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28024
7872cfb0
AS
28025 * configure.in: Also look in $cxxmachine/include for C++ system
28026 headers.
28027
be13f7bf
LD
280282011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28029
28030 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28031 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28032 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28033 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28035 (USE_AS_WMEMCMP): New macro.
28036 Fixing indents.
28037 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28038 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28039 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28040 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28042 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28043 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28044 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28045 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28046 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28048 (USE_AS_WMEMCMP): New macro.
28049 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28050 * sysdeps/string/test-memcmp.c: Update.
28051 Fix simple_wmemcmp.
28052 Add new tests.
28053 * wcsmbs/wmemcmp.c: Update.
28054 (WMEMCMP): New macro.
28055 Fix overflow bug.
28056
556a2007
AJ
280572011-10-12 Andreas Jaeger <aj@suse.de>
28058
28059 [BZ #13268]
28060 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28061
538faaa7
UD
280622011-10-15 Ulrich Drepper <drepper@gmail.com>
28063
ab6737ff
UD
28064 * libio/iofwide.c (do_length): Avoid warning.
28065
538faaa7
UD
28066 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28067
396a21b1
UD
280682011-10-14 Ulrich Drepper <drepper@gmail.com>
28069
cdf2901f
UD
28070 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28071
38ad40ce
UD
28072 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28073 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28074 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28075 * sysdeps/i386/i686/fpu/e_log.S: New file.
28076 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28077 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28078
396a21b1
UD
28079 * ctype/ctype.h: Add support for inlined isXXX functions when
28080 compiling C++ code.
28081
6b1f68c9
AS
280822011-10-14 Andreas Schwab <schwab@redhat.com>
28083
349290c0
AS
28084 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28085
6b1f68c9
AS
28086 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28087
f2282d42
RM
280882011-10-13 Roland McGrath <roland@hack.frob.com>
28089
28090 [BZ #13291]
28091 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28092
5298ffa8
AS
280932011-10-13 Andreas Schwab <schwab@redhat.com>
28094
714fad23
AS
28095 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28096 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28097 feraiseexcept.
28098
81dcc7fb
AS
28099 * sysdeps/x86_64/memrchr.S: Check for zero size.
28100
5298ffa8
AS
28101 * string/stratcliff.c: Add memrchr tests.
28102
951fbcec
LD
281032011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28104
28105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28106 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28107 rawmemchr-sse2 rawmemchr-sse2-bsf.
28108 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28109 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28110 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28111 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28112 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28113 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28114 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28115 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28116 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28117 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28118 * string/memrchr.c (MEMRCHR): New macro.
28119
0ac5ae23
UD
281202011-10-12 Ulrich Drepper <drepper@gmail.com>
28121
28122 Add integration with gcc's -ffinite-math-only and optimize wrapper
28123 functions in libm.
28124 * Versions.def: Define GLIBC_2.15 version for libm.
28125 * math/Makefile (headers): Add bits/math-finite.h.
28126 * math/bits/math-finite.h: New file.
28127 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28128 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28129 * math/e_acoshl.c: Add __*_finite alias.
28130 * math/e_acosl.c: Likewise.
28131 * math/e_asinl.c: Likewise.
28132 * math/e_atan2l.c: Likewise.
28133 * math/e_atanhl.c: Likewise.
28134 * math/e_coshl.c: Likewise.
28135 * math/e_exp10.c: Likewise.
28136 * math/e_exp10f.c: Likewise.
28137 * math/e_exp10l.c: Likewise.
28138 * math/e_exp2l.c: Likewise.
28139 * math/e_fmodl.c: Likewise.
28140 * math/e_gammal_r.c: Likewise.
28141 * math/e_hypotl.c: Likewise.
28142 * math/e_j0l.c: Likewise.
28143 * math/e_j1l.c: Likewise.
28144 * math/e_jnl.c: Likewise.
28145 * math/e_lgammal_r.c: Likewise.
28146 * math/e_log10l.c: Likewise.
28147 * math/e_log2l.c: Likewise.
28148 * math/e_logl.c: Likewise.
28149 * math/e_powl.c: Likewise.
28150 * math/e_sinhl.c: Likewise.
28151 * math/e_sqrtl.c: Likewise.
28152 * math/e_scalb.c: Completely rewritten and optimized.
28153 * math/e_scalbf.c: Likewise.
28154 * math/e_scalbl.c: Likewise.
28155 * math/w_acos.c: Likewise.
28156 * math/w_acosf.c: Likewise.
28157 * math/w_acosl.c: Likewise.
28158 * math/w_acosh.c: Likewise.
28159 * math/w_acoshf.c: Likewise.
28160 * math/w_acoshl.c: Likewise.
28161 * math/w_asin.c: Likewise.
28162 * math/w_asinf.c: Likewise.
28163 * math/w_asinl.c: Likewise.
28164 * math/w_atan2.c: Likewise.
28165 * math/w_atan2f.c: Likewise.
28166 * math/w_atan2l.c: Likewise.
28167 * math/w_atanh.c: Likewise.
28168 * math/w_atanhf.c: Likewise.
28169 * math/w_atanhl.c: Likewise.
28170 * math/w_exp10.c: Likewise.
28171 * math/w_exp10f.c: Likewise.
28172 * math/w_exp10l.c: Likewise.
28173 * math/w_fmod.c: Likewise.
28174 * math/w_fmodf.c: Likewise.
28175 * math/w_fmodl.c: Likewise.
28176 * math/w_j0.c: Likewise.
28177 * math/w_j0f.c: Likewise.
28178 * math/w_j0l.c: Likewise.
28179 * math/w_j1.c: Likewise.
28180 * math/w_j1f.c: Likewise.
28181 * math/w_j1l.c: Likewise.
28182 * math/w_jn.c: Likewise.
28183 * math/w_jnf.c: Likewise.
28184 * math/w_log.c: Likewise.
28185 * math/w_logf.c: Likewise.
28186 * math/w_logl.c: Likewise.
28187 * math/w_log10.c: Likewise.
28188 * math/w_log10f.c: Likewise.
28189 * math/w_log10l.c: Likewise.
28190 * math/w_log2.c: Likewise.
28191 * math/w_log2f.c: Likewise.
28192 * math/w_log2l.c: Likewise.
28193 * math/w_pow.c: Likewise.
28194 * math/w_powf.c: Likewise.
28195 * math/w_powl.c: Likewise.
28196 * math/w_remainder.c: Likewise.
28197 * math/w_remainderf.c: Likewise.
28198 * math/w_remainderl.c: Likewise.
28199 * math/w_scalb.c: Likewise.
28200 * math/w_scalbf.c: Likewise.
28201 * math/w_scalbl.c: Likewise.
28202 * math/w_sqrt.c: Likewise.
28203 * math/w_sqrtf.c: Likewise.
28204 * math/w_sqrtl.c: Likewise.
28205 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28206 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28207 used.
28208 * math/math_private.h: Declare __kernel_standard_f.
28209 * math/w_cosh.c: Remove cruft and optimize a bit.
28210 * math/w_coshf.c: Likewise.
28211 * math/w_coshl.c: Likewise.
28212 * math/w_exp2.c: Likewise.
28213 * math/w_exp2f.c: Likewise.
28214 * math/w_exp2l.c: Likewise.
28215 * math/w_hypot.c: Likewise.
28216 * math/w_hypotf.c: Likewise.
28217 * math/w_hypotl.c: Likewise.
28218 * math/w_lgamma.c: Likewise.
28219 * math/w_lgamma_r.c: Likewise.
28220 * math/w_lgammaf.c: Likewise.
28221 * math/w_lgammaf_r.c: Likewise.
28222 * math/w_lgammal.c: Likewise.
28223 * math/w_lgammal_r.c: Likewise.
28224 * math/w_sinh.c: Likewise.
28225 * math/w_sinhf.c: Likewise.
28226 * math/w_sinhl.c: Likewise.
28227 * math/w_tgamma.c: Likewise.
28228 * math/w_tgammaf.c: Likewise.
28229 * math/w_tgammal.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28232 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28233 Minor optimizations. Pretty printing. Remove cruft.
28234 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28235 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28236 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28237 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28238 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28239 * sysdeps/i386/fpu/e_asin.S: Likewise.
28240 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28241 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28242 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28243 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28244 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28245 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28246 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28247 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28248 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28249 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28250 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28251 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28252 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28253 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28254 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28255 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28256 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28257 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28258 * sysdeps/i386/fpu/e_log.S: Likewise.
28259 * sysdeps/i386/fpu/e_log10.S: Likewise.
28260 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28261 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28262 * sysdeps/i386/fpu/e_log2.S: Likewise.
28263 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28264 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28265 * sysdeps/i386/fpu/e_logf.S: Likewise.
28266 * sysdeps/i386/fpu/e_logl.S: Likewise.
28267 * sysdeps/i386/fpu/e_pow.S: Likewise.
28268 * sysdeps/i386/fpu/e_powf.S: Likewise.
28269 * sysdeps/i386/fpu/e_powl.S: Likewise.
28270 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28271 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28272 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28274 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28276 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28277 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28278 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28287 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28288 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28289 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28290 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28292 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28293 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28295 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28296 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28299 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28300 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28303 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28304 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28305 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28306 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28307 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28308 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28309 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28310 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28311 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28312 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28313 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28314 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28315 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28316 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28317 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28318 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28319 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28320 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28361 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28362 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28364 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28365 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28367 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28370 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28371 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28372 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28373 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28374 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28375 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28376 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28377 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28378 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28379 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28380 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28381 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28382 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28383 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28385 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28387 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28388 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28389 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28390 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28391 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28392 (__isnanf): Likewise.
28393 (__isinf_ns): Likewise.
28394 (__isinf_nsf): Likewise.
28395 (__finite): Likewise.
28396 (__finitef): Likewise.
28397 (__ieee754_sqrt): Define as macro.
28398 (__ieee754_sqrtf): Define as macro.
28399 (__ieee754_sqrtl): Define as macro.
28400 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28401 inlined copy.
28402 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28403 __FINITE_MATH_ONLY__ consistent.
28404 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28405
12cc2fcd
AS
284062011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28407
a843a204
AS
28408 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28409 of rawmemchr.
28410
12cc2fcd
AS
28411 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28412
c853acd5
UD
284132011-10-09 Ulrich Drepper <drepper@gmail.com>
28414
28415 * po/ja.po: Update from translation team.
28416
c658d255
RM
284172011-10-08 Roland McGrath <roland@hack.frob.com>
28418
110946e4
RM
28419 * locale/programs/locarchive.c (prepare_address_space): New function.
28420 (create_archive, enlarge_archive, open_archive): Use it.
28421
50604220
RM
28422 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28423 inside [SHARED], where it is used.
28424
c658d255
RM
28425 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28426
28427 * nss/getent.c (netgroup_keys): Remove unused variable.
28428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28429
6a621eb7
UD
284302011-10-08 Ulrich Drepper <drepper@gmail.com>
28431
7edb55ce
UD
28432 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28433 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28435 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28436 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28437 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28438 * math/Makefile (libm-calls): Add s_isinf_ns.
28439 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28440 * math/multc3.c: Likewise.
28441 * math/s_casin.c: Likewise.
28442 * math/s_casinf.c: Likewise.
28443 * math/s_casinl.c: Likewise.
28444 * math/s_ccos.c: Likewise.
28445 * math/s_ccosf.c: Likewise.
28446 * math/s_ccosl.c: Likewise.
28447 * math/s_ctan.c: Likewise.
28448 * math/s_ctanf.c: Likewise.
28449 * math/s_ctanh.c: Likewise.
28450 * math/s_ctanhf.c: Likewise.
28451 * math/s_ctanhl.c: Likewise.
28452 * math/s_ctanl.c: Likewise.
28453 * math/w_fmod.c: Likewise.
28454 * math/w_fmodf.c: Likewise.
28455 * math/w_fmodl.c: Likewise.
28456 * math/w_remainder.c: Likewise.
28457 * math/w_remainderf.c: Likewise.
28458 * math/w_remainderl.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28460 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28463 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28464 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28465 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28466 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28467
187da0ae
UD
28468 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28469 of the number.
28470 * stdio-common/printf_fphex.c: Likewise.
28471 * stdio-common/printf_size.c: Likewise.
28472
9277c064
UD
28473 * math/e_exp10.c: Include math_private.h using <...> not "...".
28474 * math/e_exp10f.c: Likewise.
28475 * math/e_exp10l.c: Likewise.
28476 * math/e_exp2l.c: Likewise.
28477 * math/e_j0l.c: Likewise.
28478 * math/e_j1l.c: Likewise.
28479 * math/e_jnl.c: Likewise.
28480 * math/e_lgammal_r.c: Likewise.
28481 * math/e_rem_pio2l.c: Likewise.
28482 * math/e_scalb.c: Likewise.
28483 * math/e_scalbf.c: Likewise.
28484 * math/e_scalbl.c: Likewise.
28485 * math/k_cosl.c: Likewise.
28486 * math/k_sinl.c: Likewise.
28487 * math/k_tanl.c: Likewise.
28488 * math/s_cacoshf.c: Likewise.
28489 * math/s_catan.c: Likewise.
28490 * math/s_catanf.c: Likewise.
28491 * math/s_catanh.c: Likewise.
28492 * math/s_catanhf.c: Likewise.
28493 * math/s_catanhl.c: Likewise.
28494 * math/s_catanl.c: Likewise.
28495 * math/s_ccosh.c: Likewise.
28496 * math/s_ccoshf.c: Likewise.
28497 * math/s_ccoshl.c: Likewise.
28498 * math/s_cexp.c: Likewise.
28499 * math/s_cexpf.c: Likewise.
28500 * math/s_cexpl.c: Likewise.
28501 * math/s_clog.c: Likewise.
28502 * math/s_clog10.c: Likewise.
28503 * math/s_clog10f.c: Likewise.
28504 * math/s_clog10l.c: Likewise.
28505 * math/s_clogf.c: Likewise.
28506 * math/s_clogl.c: Likewise.
28507 * math/s_csin.c: Likewise.
28508 * math/s_csinf.c: Likewise.
28509 * math/s_csinh.c: Likewise.
28510 * math/s_csinhf.c: Likewise.
28511 * math/s_csinhl.c: Likewise.
28512 * math/s_csinl.c: Likewise.
28513 * math/s_csqrt.c: Likewise.
28514 * math/s_csqrtf.c: Likewise.
28515 * math/s_csqrtl.c: Likewise.
28516 * math/s_ctan.c: Likewise.
28517 * math/s_ctanf.c: Likewise.
28518 * math/s_ctanh.c: Likewise.
28519 * math/s_ctanhf.c: Likewise.
28520 * math/s_ctanhl.c: Likewise.
28521 * math/s_ctanl.c: Likewise.
28522 * math/s_ldexp.c: Likewise.
28523 * math/s_ldexpf.c: Likewise.
28524 * math/s_ldexpl.c: Likewise.
28525 * math/s_significand.c: Likewise.
28526 * math/s_significandf.c: Likewise.
28527 * math/s_significandl.c: Likewise.
28528 * math/w_acos.c: Likewise.
28529 * math/w_acosf.c: Likewise.
28530 * math/w_acosh.c: Likewise.
28531 * math/w_acoshf.c: Likewise.
28532 * math/w_acoshl.c: Likewise.
28533 * math/w_acosl.c: Likewise.
28534 * math/w_asin.c: Likewise.
28535 * math/w_asinf.c: Likewise.
28536 * math/w_asinl.c: Likewise.
28537 * math/w_atan2.c: Likewise.
28538 * math/w_atan2f.c: Likewise.
28539 * math/w_atan2l.c: Likewise.
28540 * math/w_atanh.c: Likewise.
28541 * math/w_atanhf.c: Likewise.
28542 * math/w_atanhl.c: Likewise.
28543 * math/w_cosh.c: Likewise.
28544 * math/w_coshf.c: Likewise.
28545 * math/w_coshl.c: Likewise.
28546 * math/w_dremf.c: Likewise.
28547 * math/w_exp10.c: Likewise.
28548 * math/w_exp10f.c: Likewise.
28549 * math/w_exp10l.c: Likewise.
28550 * math/w_exp2.c: Likewise.
28551 * math/w_exp2f.c: Likewise.
28552 * math/w_fmod.c: Likewise.
28553 * math/w_fmodf.c: Likewise.
28554 * math/w_fmodl.c: Likewise.
28555 * math/w_hypot.c: Likewise.
28556 * math/w_hypotf.c: Likewise.
28557 * math/w_hypotl.c: Likewise.
28558 * math/w_j0.c: Likewise.
28559 * math/w_j0f.c: Likewise.
28560 * math/w_j0l.c: Likewise.
28561 * math/w_j1.c: Likewise.
28562 * math/w_j1f.c: Likewise.
28563 * math/w_j1l.c: Likewise.
28564 * math/w_jn.c: Likewise.
28565 * math/w_jnf.c: Likewise.
28566 * math/w_jnl.c: Likewise.
28567 * math/w_lgamma.c: Likewise.
28568 * math/w_lgamma_r.c: Likewise.
28569 * math/w_lgammaf.c: Likewise.
28570 * math/w_lgammaf_r.c: Likewise.
28571 * math/w_lgammal.c: Likewise.
28572 * math/w_lgammal_r.c: Likewise.
28573 * math/w_log.c: Likewise.
28574 * math/w_log10.c: Likewise.
28575 * math/w_log10f.c: Likewise.
28576 * math/w_log10l.c: Likewise.
28577 * math/w_log2.c: Likewise.
28578 * math/w_log2f.c: Likewise.
28579 * math/w_log2l.c: Likewise.
28580 * math/w_logf.c: Likewise.
28581 * math/w_logl.c: Likewise.
28582 * math/w_pow.c: Likewise.
28583 * math/w_powf.c: Likewise.
28584 * math/w_powl.c: Likewise.
28585 * math/w_remainder.c: Likewise.
28586 * math/w_remainderf.c: Likewise.
28587 * math/w_remainderl.c: Likewise.
28588 * math/w_scalb.c: Likewise.
28589 * math/w_scalbf.c: Likewise.
28590 * math/w_scalbl.c: Likewise.
28591 * math/w_sinh.c: Likewise.
28592 * math/w_sinhf.c: Likewise.
28593 * math/w_sinhl.c: Likewise.
28594 * math/w_sqrt.c: Likewise.
28595 * math/w_sqrtf.c: Likewise.
28596 * math/w_sqrtl.c: Likewise.
28597 * math/w_tgamma.c: Likewise.
28598 * math/w_tgammaf.c: Likewise.
28599 * math/w_tgammal.c: Likewise.
28600
6a621eb7
UD
28601 * po/ja.po: Update from translation team.
28602
bf582445
AJ
286032011-09-29 Andreas Jaeger <aj@suse.de>
28604
f9efbf3a
AJ
28605 [BZ #13179]
28606 * sunrpc/netname.c (netname2host): Fix logic.
28607
bf582445
AJ
28608 [BZ #6779]
28609 [BZ #6783]
28610 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28611 correctly.
28612 * math/w_remainder.c (__remainder): Likewise.
28613 * math/w_remainderf.c (__remainderf): Likewise.
28614 * math/libm-test.inc (remainder_test): Add test cases.
28615
48693bea
AK
286162011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28617
28618 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28619 sdiv_qrnnd.
28620
42622229
LD
286212011-10-07 Ulrich Drepper <drepper@gmail.com>
28622
28623 * string/test-memcmp.c: Avoid unncessary #defines.
28624 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28625
093ecf92
LD
286262011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28627
28628 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28629 Use new sse2 version for core i3 - i7 as it's faster
28630 than sse42 version.
28631 (bit_Prefer_PMINUB_for_stringop): New.
28632 * sysdeps/x86_64/rawmemchr.S: Update.
28633 Replace with faster SSE2 version.
28634 * sysdeps/x86_64/memrchr.S: New file.
28635 * sysdeps/x86_64/memchr.S: Update.
28636 Replace with faster SSE2 version.
28637
fde56e5c
MP
286382011-09-12 Marek Polacek <mpolacek@redhat.com>
28639
28640 * elf/dl-load.c (lose): Add cast to avoid warning.
28641
21fd49a9
UD
286422011-10-07 Ulrich Drepper <drepper@gmail.com>
28643
5a06e643
UD
28644 * po/ca.po: Update from translation team.
28645
684ae515
UD
28646 * inet/getnetgrent_r.c: Hook up nscd.
28647 * nscd/Makefile (routines): Add nscd_netgroup.
28648 (nscd-modules): Add netgroupcache.
28649 (CFLAGS-netgroupcache.c): Define.
28650 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28651 (cache_search): Add const to second parameter.
28652 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28653 INNETGR.
28654 (dbs): Add netgrdb entry.
28655 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28656 (verify_persistent_db): Handle netgrdb.
28657 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28658 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28659 GETFDNETGR.
28660 (netgroup_response_header): Define.
28661 (innetgroup_response_header): Define.
28662 (datahead): Add netgroup_response_header and innetgroup_response_header
28663 elements.
28664 * nscd/nscd.conf: Add entries for netgroup cache.
28665 * nscd/nscd.h (dbtype): Add netgrdb.
28666 (_PATH_NSCD_NETGROUP_DB): Define.
28667 (netgroup_iov_disabled): Declare.
28668 (xmalloc, xcalloc, xrealloc): Move declarations here.
28669 (cache_search): Adjust prototype.
28670 Add netgroup-related prototypes.
28671 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28672 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28673 (__nscd_innetgr): Declare.
28674 * nscd/selinux.c (perms): Use access_vector_t as element type and
28675 add netgroup-related initializers.
28676 * nscd/netgroupcache.c: New file.
28677 * nscd/nscd_netgroup.c: New file.
28678 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28679 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28680 For four parameters use innetgr.
28681 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28682 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28683 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28684 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28685
21fd49a9
UD
28686 * nscd/connections.c (register_traced_file): Don't register file
28687 for disabled databases.
28688
054c0457
UD
286892011-10-06 Ulrich Drepper <drepper@gmail.com>
28690
32b63198
UD
28691 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28692
054c0457
UD
28693 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28694 from tree and freeing node.
28695
64031225
JO
286962011-09-25 Jiri Olsa <jolsa@redhat.com>
28697
28698 * nss/nsswitch.c (__nss_database_lookup): Handle
28699 nss_parse_service_list out of memory case.
28700
0490345c
JO
287012011-09-15 Jiri Olsa <jolsa@redhat.com>
28702
28703 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28704 out of memory case.
28705
3a62d00d
AS
287062011-10-04 Andreas Schwab <schwab@redhat.com>
28707
28708 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28709 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28710 pass it down.
28711 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28712 elf_machine_rela, elf_machine_lazy_rel.
28713 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28714 (ELF_DYNAMIC_DO_REL): Likewise.
28715 (ELF_DYNAMIC_DO_RELA): Likewise.
28716 (ELF_DYNAMIC_RELOCATE): Likewise.
28717 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28718 to ELF_DYNAMIC_DO_REL.
28719 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28720 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28721 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28722 elf_machine_rela.
28723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28724 skip_ifunc, don't call ifunc function if non-zero.
28725 (elf_machine_rela): Likewise.
28726 (elf_machine_lazy_rel): Likewise.
28727 (elf_machine_lazy_rela): Likewise.
28728 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28729 (elf_machine_lazy_rel): Likewise.
28730 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28731 Likewise.
28732 (elf_machine_lazy_rel): Likewise.
28733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28734 Likewise.
28735 (elf_machine_lazy_rel): Likewise.
28736 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28737 (elf_machine_lazy_rel): Likewise.
28738 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28739 (elf_machine_lazy_rel): Likewise.
28740 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28741 (elf_machine_lazy_rel): Likewise.
28742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28743 (elf_machine_lazy_rel): Likewise.
28744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28745 (elf_machine_lazy_rel): Likewise.
28746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28747 (elf_machine_lazy_rel): Likewise.
28748
68577918
UD
287492011-09-28 Ulrich Drepper <drepper@gmail.com>
28750
28751 * nss/nss_files/files-init.c (_nss_files_init): Use static
28752 initialization for all the *_traced_file variables.
28753
68822d74
AS
287542011-09-28 Andreas Schwab <schwab@redhat.com>
28755
28756 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28757
2056100b
RM
287582011-09-27 Roland McGrath <roland@hack.frob.com>
28759
28760 [BZ #13226]
28761 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28762
32c76b63
AS
287632011-09-27 Andreas Schwab <schwab@redhat.com>
28764
28765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28766 Reread the line before reparsing it.
28767
bf972c9d
AS
287682011-09-26 Andreas Schwab <schwab@redhat.com>
28769
28770 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28771
e057a1b5
JM
287722011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28773 Maxim Kuvyrkov <maxim@codesourcery.com>
28774 Joseph Myers <joseph@codesourcery.com>
28775
28776 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28777 if needed for __stack_chk_guard.
28778
bc7e1c36
RM
287792011-09-19 Roland McGrath <roland@hack.frob.com>
28780
ecb1482f
RM
28781 * sysdeps/posix/spawni.c (script_execute): Always define it.
28782 It will be optimized away if unused.
28783 (maybe_script_execute): New function.
28784 (__spawni): Call it.
28785
bc7e1c36
RM
28786 * Makerules: Don't include tls.make.
28787 (config-tls): Always set to thread.
28788 * tls.make.c: File removed.
28789
1c3b002b
MF
287902011-09-19 Mike Frysinger <vapier@gentoo.org>
28791
28792 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28793 * config.make.in (CPPFLAGS-config): New substituted variable.
28794
2840865d
UD
287952011-09-15 Ulrich Drepper <drepper@gmail.com>
28796
88738eb6
UD
28797 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28798
cbf645a6 28799 [BZ #13192]
2840865d
UD
28800 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28801 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28802
b402e91a
RM
288032011-09-15 Roland McGrath <roland@hack.frob.com>
28804
28805 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28806 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28808 (CALL_FAIL): Likewise.
28809 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28810 (CALL_FAIL): Macro removed.
28811 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28812
4c1a1f71
UD
288132011-09-15 Ulrich Drepper <drepper@gmail.com>
28814
28815 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28816 for __FINITE_MATH_ONLY__ == 1.
28817
edc121be
AS
288182011-09-15 Andreas Schwab <schwab@redhat.com>
28819
28820 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28821 __ieee754_sqrt instead of sqrt.
28822 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28823 __ieee754_sqrtf instead of sqrtf.
28824 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28825 __floorf instead of floorf.
28826 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28827 __floorf, __truncf instead of floorf, truncf.
28828
cd205654
UD
288292011-09-14 Ulrich Drepper <drepper@gmail.com>
28830
ee4d0315
UD
28831 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28832
cd205654
UD
28833 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28834 __extern_always_inline.
28835 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28836 32-bit.
28837
48b67d71
AS
288382011-09-14 Andreas Schwab <schwab@redhat.com>
28839
28840 * elf/rtld.c (dl_main): Also relocate in dependency order when
28841 doing symbol dependency testing.
28842
1ae12c75
AS
288432011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28844
28845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28846 Always define `refsym'.
28847
995a80df
AS
288482011-09-13 Andreas Schwab <schwab@redhat.com>
28849
e529793b
AS
28850 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28851 (__FD_ELT): Renamed from __FDELT.
28852 * misc/bits/select2.h (__FD_ELT): Likewise.
28853 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28854 __FD_MASK instead of __FDELT, __FDMASK.
28855 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28856 Likewise.
28857 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28858 Likewise.
28859
52d4fef8
AS
28860 * elf/Makefile (gen-ldd): Fix pattern.
28861
995a80df
AS
28862 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28863 (init_tls): Likewise.
28864
8682f8b0
UD
288652011-09-12 Ulrich Drepper <drepper@gmail.com>
28866
28867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28868
de82006d
AS
288692011-09-12 Andreas Schwab <schwab@redhat.com>
28870
a7c8e6a1
AS
28871 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28872 `struct cmsghdr *' instead of `void *'.
28873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28874 Likewise.
28875
0f31fe77
AS
288762011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28877
28878 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28879 if non-absolute.
28880 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28881 ldd_rewrite_script.
0f31fe77 28882
32b4c839
UD
288832011-09-11 Ulrich Drepper <drepper@gmail.com>
28884
83cd1420
UD
28885 * configure.in: Remove --with-tls option.
28886 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28887 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28888 out in case it is missing.
28889 * sysdeps/ia64/elf/configure.in: Likewise.
28890 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28891 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28892 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28893 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28894 * sysdeps/sh/elf/configure.in: Likewise.
28895 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28896 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28897 * sysdeps/x86_64/elf/configure.in: Likewise.
28898 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28899 * sysdeps/mach/hurd/tls.h: Likewise.
28900
633f745d
UD
28901 [BZ #13067]
28902 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28903
f318beb8
UD
28904 [BZ #13090]
28905 * configure.in: Fix use of AC_INIT.
28906
32b4c839
UD
28907 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28908
3ce1f295
UD
289092011-09-10 Ulrich Drepper <drepper@gmail.com>
28910
bb016596
UD
28911 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28912 __set_errno.
8e58439c
UD
28913 * malloc/hooks.c: Likewise.
28914
aebae053 28915 [BZ #11929]
02d46fc4
UD
28916 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28917 variables statically.
28918 (narenas): Initialize.
28919 (list_lock): Initialize.
bb016596
UD
28920 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28921 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28922 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28923 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28924 Add initializers to main_arena and mp_.
28925 (malloc_state): Remove pagesize member. Change all users to use
28926 GLRO(dl_pagesize).
28927
28928 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28929 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28930 is always initialized.
28931
22a89187
UD
28932 * malloc/malloc.c: Removed unused configurations and dead code.
28933 * malloc/arena.c: Likewise.
28934 * malloc/hooks.c: Likewise.
02d46fc4 28935 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28936
d063d164
UD
28937 * include/tls.h: Removed. USE___THREAD must always be defined.
28938 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28939 * elf/dl-libc.c: Likewise.
28940 * elf/dl-tsd.c: Likewise.
28941 * include/errno.h: Likewise.
28942 * include/netdb.h: Likewise.
28943 * include/resolv.h: Likewise.
28944 * inet/herrno-loc.c: Likewise.
28945 * inet/herrno.c: Likewise.
28946 * malloc/arena.c: Likewise.
28947 * malloc/hooks.c: Likewise.
28948 * malloc/malloc.c: Likewise.
28949 * resolv/res-state.c: Likewise.
28950 * resolv/res_libc.c: Likewise.
28951 * sysdeps/i386/dl-machine.h: Likewise.
28952 * sysdeps/ia64/dl-machine.h: Likewise.
28953 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28954 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28955 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28956 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28957 * sysdeps/sh/dl-machine.h: Likewise.
28958 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28959 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28960 * sysdeps/unix/i386/sysdep.S: Likewise.
28961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28962 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28967 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28971 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28972 * sysdeps/x86_64/dl-machine.h: Likewise.
28973 * tls.make.c: Likewise.
28974
3ce1f295
UD
28975 * configure.in: Remove --with-__thread option. Make tests for
28976 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28977 tls_model attribute fail if no support is available. Remove
28978 USE_IN_LIBIO.
28979 * Makeconfig: Adjust for dropped configure option. All features are
28980 now mandatory.
28981 * Makerules: Likewise.
28982 * Versions.def: Likewise.
28983 * argp/argp-fmtstream.c: Likewise.
28984 * argp/argp-fmtstream.h: Likewise.
28985 * argp/argp-help.c: Likewise.
28986 * assert/assert.c: Likewise.
28987 * config.h.in: Likewise.
28988 * config.make.in: Likewise.
28989 * configure: Likewise.
28990 * configure.in: Likewise.
28991 * csu/Versions: Likewise.
28992 * csu/init.c: Likewise.
28993 * elf/tst-audit2.c: Likewise.
28994 * elf/tst-tls10.c: Likewise.
28995 * elf/tst-tls10.h: Likewise.
28996 * elf/tst-tls11.c: Likewise.
28997 * elf/tst-tls12.c: Likewise.
28998 * elf/tst-tls14.c: Likewise.
28999 * elf/tst-tlsmod11.c: Likewise.
29000 * elf/tst-tlsmod12.c: Likewise.
29001 * elf/tst-tlsmod13.c: Likewise.
29002 * elf/tst-tlsmod13a.c: Likewise.
29003 * elf/tst-tlsmod14a.c: Likewise.
29004 * elf/tst-tlsmod15b.c: Likewise.
29005 * elf/tst-tlsmod16a.c: Likewise.
29006 * elf/tst-tlsmod16b.c: Likewise.
29007 * elf/tst-tlsmod7.c: Likewise.
29008 * elf/tst-tlsmod8.c: Likewise.
29009 * elf/tst-tlsmod9.c: Likewise.
29010 * gmon/gmon.c: Likewise.
29011 * grp/fgetgrent_r.c: Likewise.
29012 * grp/putgrent.c: Likewise.
29013 * hurd/fopenport.c: Likewise.
29014 * include/libc-symbols.h: Likewise.
29015 * include/tls.h: Likewise.
29016 * intl/gettextP.h: Likewise.
29017 * intl/loadinfo.h: Likewise.
29018 * locale/global-locale.c: Likewise.
29019 * locale/localeinfo.h: Likewise.
29020 * mach/devstream.c: Likewise.
29021 * malloc/arena.c: Likewise.
29022 * malloc/set-freeres.c: Likewise.
29023 * misc/err.c: Likewise.
29024 * misc/getttyent.c: Likewise.
29025 * misc/mntent_r.c: Likewise.
29026 * posix/getopt.c: Likewise.
29027 * posix/wordexp.c: Likewise.
29028 * pwd/fgetpwent_r.c: Likewise.
29029 * resolv/Versions: Likewise.
29030 * resolv/res_hconf.c: Likewise.
29031 * shadow/fgetspent_r.c: Likewise.
29032 * shadow/putspent.c: Likewise.
29033 * stdio-common/printf_fphex.c: Likewise.
29034 * stdio-common/tmpfile.c: Likewise.
29035 * stdlib/abort.c: Likewise.
29036 * stdlib/fmtmsg.c: Likewise.
29037 * sunrpc/auth_unix.c: Likewise.
29038 * sunrpc/clnt_perr.c: Likewise.
29039 * sunrpc/clnt_tcp.c: Likewise.
29040 * sunrpc/clnt_udp.c: Likewise.
29041 * sunrpc/clnt_unix.c: Likewise.
29042 * sunrpc/openchild.c: Likewise.
29043 * sunrpc/svc_simple.c: Likewise.
29044 * sunrpc/svc_tcp.c: Likewise.
29045 * sunrpc/svc_udp.c: Likewise.
29046 * sunrpc/svc_unix.c: Likewise.
29047 * sunrpc/xdr.c: Likewise.
29048 * sunrpc/xdr_array.c: Likewise.
29049 * sunrpc/xdr_rec.c: Likewise.
29050 * sunrpc/xdr_ref.c: Likewise.
29051 * sunrpc/xdr_stdio.c: Likewise.
29052
1248c1c4
PB
290532011-09-09 Ulrich Drepper <drepper@gmail.com>
29054
29055 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29056
290572011-07-03 Andreas Jaeger <aj@suse.de>
29058
29059 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29060 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29061 regenerate with gen-libm-tests.pl.
29062
290632010-05-12 Petr Baudis <pasky@suse.cz>
29064
29065 [BZ #11589]
29066 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29067 around j0() zero points by switching to j1().
29068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29072
f22e1074
UD
290732011-09-09 Ulrich Drepper <drepper@gmail.com>
29074
f19009c1
UD
29075 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29076 instead of 0.
29077 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29078 instead of 0.
f19009c1
UD
29079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29080 Patch in part by Pavel Roskin <proski@gnu.org>.
29081
3f8cc204
UD
29082 [BZ #13138]
29083 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29084 realloc.
29085 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29086 Free memory block if necessary.
29087
f22e1074
UD
29088 [BZ #12847]
29089 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29090 be NULL. Don't lock in this case.
29091
0a2349f9
RM
290922011-09-09 Roland McGrath <roland@hack.frob.com>
29093
29094 * elf/elf.h (ELFOSABI_GNU): New macro.
29095 (ELFOSABI_LINUX): Define to that.
29096
f3cdd467
DZ
290972011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29098
29099 * string/strncat.c (strncat): Undef the symbol in case it has been
29100 defined in bits/string.h.
29101
74718d13
UD
291022011-09-09 Ulrich Drepper <drepper@gmail.com>
29103
633e9e0f
UD
29104 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29105
0a2349f9 29106 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29107 link map.
29108
f9924780
AJ
291092011-08-17 Andreas Jaeger <aj@suse.de>
29110
29111 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29112
7f5517aa
PP
291132011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29114 Ian Lance Taylor <iant@google.com>
29115
29116 * math/libm-test.inc (lround_test): New testcase.
29117 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29118
762011fe
UD
291192011-09-08 Ulrich Drepper <drepper@gmail.com>
29120
92963737
UD
29121 * Makefile: Remove support for automatic cvs check-ins.
29122 * Makerules: Likewise.
29123 * config.make.in: Likewise.
29124 * configure.in: Likewise.
29125 * intl/Makefile: Likewise.
29126 * locale/Makefile: Likewise.
29127 * po/Makefile: Likewise.
29128 * posix/Makefile: Likewise.
29129 * sysdeps/gnu/Makefile: Likewise.
29130 * sysdeps/mach/hurd/Makefile: Likewise.
29131 * sysdeps/sparc/sparc32/Makefile: Likewise.
29132
b0727fd8
JS
29133 [BZ #13118]
29134 * posix/Makefile (bug-regex32-ENV): Define.
29135 Patch by John Stanley <jpsinthemix@verizon.net>.
29136
a0f33f99
UD
29137 * misc/Makefile (headers): Add bits/select2.h.
29138 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29139 * misc/bits/select2.h: New file.
29140 * include/bits/select2.h: New file.
29141 * debug/Makefile (routines): Add fdelt_chk.
29142 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29143 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29144 FD_ISSET.
29145 * debug/fdelt_chk.c: New file.
29146
762011fe
UD
29147 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29148 * wcsmbs/test-wmemcmp.c: Likewise.
29149 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29150 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29151
291522011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29153
29154 * string/Makefile (strop-tests): Add memcmp.
29155 * string/test-wmemcmp.c: New file.
29156 * string/test-memcmp.c: Add wmemcmp support.
29157
7f513ec8
RM
291582011-09-08 Roland McGrath <roland@hack.frob.com>
29159
0442afb4
RM
29160 [BZ #13153]
29161 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29162 2011-07-19 change.
29163
7f513ec8
RM
29164 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29165 garbage value in a __mach_port_mod_refs call in the cases of the
29166 task-self and thread-self ports.
29167
a12b2239
ST
291682011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29169
29170 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29171
610f9ab4
AS
291722011-09-08 Andreas Schwab <schwab@redhat.com>
29173
7f513ec8 29174 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29175
48882a1a
LD
291762011-09-07 Ulrich Drepper <drepper@gmail.com>
29177
b49865be
UD
29178 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29179
fdc86bc9
UD
29180 * elf/dl-libc.c (dlerror_run): Pass back error code from
29181 dl_catch_error.
29182
c966526a
UD
29183 [BZ #13123]
29184 * elf/dl-load.c (lose): Free l_origin if it is valid.
29185
48882a1a
LD
29186 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29187 names.
29188 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29191 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29193 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29194
77a2a8b4
AZ
291952011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29196
29197 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29198 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29199 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29200 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29201 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29202 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29203 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29204 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29205 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29206 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29207
24f579d8
AM
292082011-08-15 Alan Modra <amodra@gmail.com>
29209
29210 [BZ #13092]
29211 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29212 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29213 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29214 ppc_mcount to static-only-routines.
29215 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29216 __mcount_internal.
29217 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29218 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29219
3d4837df
UD
292202011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29221
29222 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29223 for finite and infinity parameters.
29224
22700377
WS
292252011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29226
29227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29228 and add nop instructions for throughput optimization.
29229 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29230
5025581e
WS
292312011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29232
29233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29234 aligned copy for power7 with vector-scalar instructions.
29235 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29236
08a300c9
L
292372011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29240 AVX check.
29241
59178ef9
AS
292422011-09-07 Andreas Schwab <schwab@redhat.com>
29243
29244 [BZ #13144]
29245 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29246 last change.
29247
e38ba7ab
UD
292482011-09-07 Ulrich Drepper <drepper@gmail.com>
29249
29250 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29251 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29252 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29253 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29254 clock_gettime.
29255
d53a73ac
UD
292562011-09-06 Ulrich Drepper <drepper@gmail.com>
29257
fc8bffcc
UD
29258 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29259 Forgot to demangle the pointer.
29260
ceaa0c5d
UD
29261 * sysdeps/i386/sysdep.h: Define atom_text_section.
29262 * sysdeps/x86_64/sysdep.h: Likewise.
29263 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29264 section with atom_text_section.
29265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29266 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29267 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29268 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29269 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29270
a77d3c17
UD
29271 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29272 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29273 already be defined. Change to take two parameters and don't assign
29274 result to variable. Adjust all users.
29275 Define INTERNAL_GETTIME if not already defined.
29276 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29277 call.
29278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29279 HAVE_CLOCK_GETTIME_VSYSCALL.
29280 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29281
d53a73ac
UD
29282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29283 gettimeofday vsyscall, just use time.
29284
a8f84144
AS
292852011-09-06 Andreas Schwab <schwab@redhat.com>
29286
29287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29288 <errno.h>.
29289
ef606249
UD
292902011-09-06 Ulrich Drepper <drepper@gmail.com>
29291
29292 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29293 syscall on x86-64.
29294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29295 syscall.
29296 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29297 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29298 syscall if possible.
29299
6585cb60
UD
293002011-09-05 Ulrich Drepper <drepper@gmail.com>
29301
29302 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29303 e_ident. Don't pass to find_mapsXX.
29304 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29305
a5f524e4
LD
293062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29307
29308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29309 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29310 * sysdeps/x86_64/multiarch/strchr.S: Update.
29311 Check bit_slow_BSF bit.
29312 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29313 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29314 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29315
554881ef
UD
293162011-09-05 Ulrich Drepper <drepper@gmail.com>
29317
d96de963
UD
29318 [BZ #13134]
29319 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29320 before glibc 2.15.
29321 (tryshell): Define.
29322 (__spawni): Change last parameter to be flag. Test
29323 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29324 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29325 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29326 * posix/spawni.c: Likewise.
29327 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29328 * posix/spawnp.c: Likewise. Change normal version to use
29329 SPAWN_XFLAGS_USE_PATH.
29330 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29331 SPAWN_XFLAGS_TRY_SHELL.
29332
d48e5868
UD
29333 [BZ #13150]
29334 * posix/glob.h: Remove gcc 1.x support.
29335
554881ef
UD
29336 [BZ #13068]
29337 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29338
693fb948
LD
293392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29340
29341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29342 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29343 strrchr-sse2-bsf
29344 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29345 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29346 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29348 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29349 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29350
1b48c537
UD
293512011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29352
49d42c37
UD
29353 * sysdeps/x86_64/wcscmp.S: New file.
29354
1b48c537
UD
29355 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29356 wcscmp-c wcscmp-sse2
29357 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29358 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29359 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29360 * wcsmbs/wcscmp.c: Allow renaming.
29361
15c95c5d
DM
293622011-09-05 David S. Miller <davem@davemloft.net>
29363
29364 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29365 stack slot, rather than the struct return pointer slot.
29366 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29367 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29369 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29370
2f0ad8f3
UD
293712011-09-05 Ulrich Drepper <drepper@gmail.com>
29372
d88ae418
UD
29373 * po/ja.po: Update from translation team.
29374
2f0ad8f3
UD
29375 [BZ #13144]
29376 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29377 kernel in 64-bit binaries.
29378
5f4318d1
DM
293792011-09-01 David S. Miller <davem@davemloft.net>
29380
29381 * elf/elf.h (HWCAP_SPARC_*): Move to..
29382 * sysdeps/sparc/sysdep.h: this new file and add new values.
29383 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29384 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29385 _DL_HWCAP_COUNT to 24.
29386 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29387 entries.
29388 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29389 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29390 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29392 instead of magic constants.
29393 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29394
3ba57516
DM
293952011-08-31 David S. Miller <davem@davemloft.net>
29396
29397 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29399 Reimplement to do errno handling inline.
29400 (SYSCALL_ERROR_HANDLER): New macro.
29401 (__SYSCALL_STRING): Do not do errno handling in asm.
29402 (__CLONE_SYSCALL_STRING): Delete.
29403 (__INTERNAL_SYSCALL_STRING): Delete.
29404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29405 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29406 (PSEUDO): Reimplement to do errno handling inline.
29407 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29408 (SYSCALL_ERROR_HANDLER): New macro.
29409 (__SYSCALL_STRING): Do not do errno handling in asm.
29410 (__CLONE_SYSCALL_STRING): Delete.
29411 (__INTERNAL_SYSCALL_STRING): Delete.
29412 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29413 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29414 i386.
29415 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29416 (inline_syscall*): Add 'err' argument.
29417 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29418 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29419 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29420 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29421
29422 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29423 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29424
2bc17433
AS
294252011-08-30 Andreas Schwab <schwab@redhat.com>
29426
29427 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29428
fbeb5f4d
JO
294292011-08-29 Jiri Olsa <jolsa@redhat.com>
29430
29431 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29432 directive.
29433
ad69cc26
DM
294342011-08-24 David S. Miller <davem@davemloft.net>
29435
29436 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29437
39dd69df
AS
294382011-08-24 Andreas Schwab <schwab@redhat.com>
29439
29440 * elf/Makefile: Add rules to build and run unload8 test.
29441 * elf/unload8.c: New file.
29442 * elf/unload8mod1.c: New file.
29443 * elf/unload8mod1x.c: New file.
29444 * elf/unload8mod2.c: New file.
29445 * elf/unload8mod3.c: New file.
29446
29447 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29448 it wasn't used.
29449
2c0b250a
DM
294502011-08-23 David S. Miller <davem@davemloft.net>
29451
29452 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29453 subtract stack bias.
29454 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29455 %sp not %fp in calculations.
29456 (_JMPBUF_UNWINDS_ADJ): Likewise.
29457
22044b48
DM
29458 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29459 (aio_suspend): Call it to force an exception region around the
29460 AIO_MISC_WAIT() invocation.
29461
2cae4995
AS
294622011-08-23 Andreas Schwab <schwab@redhat.com>
29463
29464 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29465 backslash.
29466
873a772e
AJ
294672011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29468
29469 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29470 protection macro.
29471 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29472 and <dl-machine.h>.
29473 (Elf64_FuncDesc): Remove.
29474
25ad0df1
DM
294752011-08-22 David S. Miller <davem@davemloft.net>
29476
29477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29478 sigaltstack check, add missing cfi directives.
29479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29480 missing cfi directives, and sigaltstack handling.
29481
e888bcbe
AS
294822011-08-16 Andreas Schwab <schwab@redhat.com>
29483
29484 [BZ #11724]
29485 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29486 object is seen twice.
29487 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29488
29489 * elf/Makefile (distribute): Add tst-initorder2.c.
29490 (tests): Add tst-initorder2.
29491 (modules-names): Add tst-initorder2a tst-initorder2b
29492 tst-initorder2c tst-initorder2d. Add rules to build them.
29493 ($(objpfx)tst-initorder2.out): New rule.
29494 * elf/tst-initorder2.c: New file.
29495 * elf/tst-initorder2.exp: New file.
29496
87162f46
AS
294972011-08-22 Andreas Schwab <schwab@redhat.com>
29498
70538b7f
AS
29499 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29500
f55ffe58
AS
29501 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29502 dependencies back to end of function.
29503
87162f46
AS
29504 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29505 $(elfobjdir)/ld.so.
29506
91b392a4
UD
295072011-08-21 Ulrich Drepper <drepper@gmail.com>
29508
29509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29510 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29512 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29513 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29514 of __vdso_gettimeofday.
29515 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29516 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29517 attribute_hidden.
29518 (_libc_vdso_platform_setup): Remove initialization of
29519 __vdso_gettimeofday and __vdso_time.
29520
5c43483f
UD
295212011-08-20 Ulrich Drepper <drepper@gmail.com>
29522
775a77e7
UD
29523 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29524 and fgetc_unlocked.
29525 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29526 getc_unlocked.
89f447ed 29527
49c74ba9
UD
29528 * elf/dl-open.c (add_to_global): Report additions to the global scope
29529 for LD_DEBUG=scopes.
29530 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29531 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29532
5c43483f
UD
29533 [BZ #13114]
29534 * stdio-common/Makefile (tests): Add bug24.
29535 * stdio-common/bug24.c: New file.
29536
a101b025
AJ
295372011-08-19 Andreas Jaeger <aj@suse.de>
29538
29539 [BZ #13114]
29540 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29541 non-existant file when using close-on-exec mode.
29542
c88f1766
UD
295432011-08-20 Ulrich Drepper <drepper@gmail.com>
29544
0276a718
UD
29545 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29546 the very first instruction.
29547
c88f1766
UD
29548 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29549 the CFI state in the end.
29550 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29551 inclusion of dl-trampoline.h.
29552 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29553
51ccffa0
AS
295542011-08-19 Andreas Schwab <schwab@redhat.com>
29555
94d7165f
AS
29556 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29557 expectations for long double.
29558
51ccffa0
AS
29559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29560 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29561
fd708658 295622011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29563
29564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29565 artificual limit depends upon the system page size.
29566
44f0a71e
UD
295672011-08-17 Ulrich Drepper <drepper@gmail.com>
29568
29569 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29570 * resolv/Makefile: Define CFLAGS-libresolv.
29571
8de79a24
AS
295722011-08-17 Andreas Schwab <schwab@redhat.com>
29573
29574 * nss/makedb.c (compute_tables): Make variables used in nested
29575 function static.
29576
27724598
UD
295772011-08-17 Ulrich Drepper <drepper@gmail.com>
29578
c5305d88
UD
29579 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29580 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29581 if buffer was too small.
29582
27724598
UD
29583 * elf/pldd.c (main): Attach to all threads in the process.
29584 Rewrite /proc handling to use *at functions.
29585
076fe015
UD
295862011-08-16 Ulrich Drepper <drepper@gmail.com>
29587
174baab3
UD
29588 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29589 specifies first scope to show.
29590 (dl_open_worker): Update callers. Move printing scope of new
29591 object to before the relocation.
44f0a71e 29592 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29593 * sysdeps/generic/ldsodefs.h: Update declaration.
29594
076fe015
UD
29595 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29596 string for the scope number.
29597
a60df2c3
UD
295982011-08-14 Ulrich Drepper <drepper@gmail.com>
29599
29600 * nscd/servicescache.c (cache_addserv): Make sure written is always
29601 initialized.
29602
5e4287d1
RM
296032011-08-14 Roland McGrath <roland@hack.frob.com>
29604
85ae0589
RM
29605 * sysdeps/i386/i486/bits/atomic.h
29606 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29607 statement expression, so as to suppress "set but not used" warning.
29608 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29609
69f63097
RM
29610 * string/strncat.c (STRNCAT): Use prototype definition.
29611
675456ef
RM
29612 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29613 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29614 -Iprograms here.
29615 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29616 (localedef-modules): Add localedef.
29617 (locale-modules): Add locale.
29618
5e4287d1
RM
29619 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29620 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29621 to avoid a warning.
29622
9c96ff23
DM
296232011-08-14 David S. Miller <davem@davemloft.net>
29624
29625 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29626 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29627
f9ddf089
UD
296282011-08-13 Ulrich Drepper <drepper@gmail.com>
29629
44f0a71e 29630 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29631 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29632 * elf/rtld.c (dl_main): Set l_name of vDSO.
29633 Call _dl_show_scope when DL_DEBUG_SCOPES.
29634 (process_dl_debug): Recognize scopes flag and also set it for all.
29635 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29636 Declare _dl_show_scope.
29637
1dc27704
UD
29638 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29639 (do_dlopen): Pass caller_dlopen to dl_open.
29640 (__libc_dlopen_mode): Initialize caller_dlopen.
29641
f9ddf089
UD
29642 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29643 of libc. Make tolower call locale-independent. Optimize a bit by
29644 using isdigit instead of isalnum.
29645 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29646
9ac533d3
UD
296472011-08-12 Ulrich Drepper <drepper@gmail.com>
29648
29649 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29650 was a dependency or dynamically loaded.
29651
89edf2e9
UD
296522011-08-11 Ulrich Drepper <drepper@gmail.com>
29653
8e999d29
UD
29654 * intl/l10nflist.c: Allow architecture-specific pop function.
29655 * sysdeps/x86_64/l10nflist.c: New file.
29656
89edf2e9
UD
29657 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29658 classification.
29659
14d96785
AS
296602011-08-10 Andreas Schwab <schwab@redhat.com>
29661
29662 * include/dirent.h: Add libc_hidden_proto for scandirat and
29663 scandirat64. Don't declare __scandirat64.
29664 * dirent/scandirat.c: Add libc_hidden_def.
29665 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29666 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29667
6761ac04
DM
296682011-08-10 David S. Miller <davem@davemloft.net>
29669
29670 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29671 enum.
29672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29675
c55fbd1e
UD
296762011-08-09 Ulrich Drepper <drepper@gmail.com>
29677
29678 * Versions.def [libc]: Add GLIBC_2.15.
29679 * dirent/Makefile (routines): Add scandirat and scandirat64.
29680 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29681 GLIBC_2.15.
29682 * dirent/dirent.h: Declare scandirat and scandirat64.
29683 * dirent/scandirat.c: New file.
29684 * dirent/scandirat64.c: New file.
29685 * sysdeps/wordsize-64/scandirat.c: New file.
29686 * sysdeps/wordsize-64/scandirat64.c: New file.
29687 * dirent/opendir.c: Define opendirat.
29688 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29689 using scandirat.
29690 * dirent/scandir64.c: Adjust for scandir.c change.
29691 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29692 __scandirat64, and __scandir_cancel_handler.
29693 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29694 additional parameter and use openat instead of open (outside of ld.so).
29695 Add new __opendir as wrapper around __opendirat.
29696 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29697 here without requiring old scandirat implementation.
29698
879165f2
UD
296992011-08-08 Ulrich Drepper <drepper@gmail.com>
29700
29701 * dirent/scandir.c (cancel_handler): Renamed to
29702 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29703 defined. Adjust users.
29704 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29705 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29706
cb7e923b
UD
297072011-08-04 Ulrich Drepper <drepper@gmail.com>
29708
16292edd
UD
29709 * string/test-string.h (IMPL): Use __STRING to expand name and then
29710 stringify it.
29711
cb7e923b
UD
29712 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29713 of cleanups.
29714
cff82933
LD
297152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29716
29717 * string/Makefile: Update.
29718 (strop-tests): Append strncat.
29719 * string/test-wcscmp.c: New file.
29720 New comprehensive test for wcscmp.
29721 * string/test-strcmp.c: Update.
29722 (WIDE): New define.
29723
9be9bfcc
AS
297242011-07-22 Andreas Schwab <schwab@redhat.com>
29725
29726 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29727 line.
29728
2e96f1c7
AS
297292011-07-26 Andreas Schwab <schwab@redhat.com>
29730
29731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29732 encoding to ACE if AI_IDN.
29733
85188888
JJ
297342011-08-01 Jakub Jelinek <jakub@redhat.com>
29735
29736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29737 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29738
5fa16e9b
LD
297392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29740
29741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29742 Fix overflow bug in strncat.
29743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29744
29745 * string/test-strncat.c: Update.
29746 Add new tests for checking overflow bugs.
29747
297482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29749
29750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29751 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29752 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29753 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29754 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29755 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29756 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29757 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29758 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29759
29760 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29761 (USE_AS_STRCAT): Define.
29762 Add strcat and strncat support.
29763 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29764
8c1a459f
AS
297652011-07-25 Andreas Schwab <schwab@redhat.com>
29766
29767 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29768 __n bigger than INT_MAX+1.
29769 (__strncmp_g): Likewise.
29770
bba33c28
UD
297712011-07-23 Ulrich Drepper <drepper@gmail.com>
29772
798be72d
UD
29773 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29774 * libio/stido.h: Likewise.
29775
8accd4dc
UD
29776 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29777 (AF_NFC): Define.
29778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29779 (AF_NFC): Define.
29780
cbff0d96
UD
29781 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29782 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29784 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29786
9191c04a
UD
29787 [BZ #13021]
29788 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29789 installed.
29790
bba33c28
UD
29791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29792 typo.
29793 (_dl_x86_64_save_sse): Likewise.
29794
90f139dd
UD
297952011-07-22 Ulrich Drepper <drepper@gmail.com>
29796
1aae088a
UD
29797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29798 OSXSAVE.
29799 (_dl_x86_64_save_sse): Likewise.
29800
8e2045f5
UD
29801 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29802
90f139dd
UD
29803 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29804
1d002f25
AS
298052011-07-21 Andreas Schwab <schwab@redhat.com>
29806
29807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29808 change.
29809 (_dl_x86_64_save_sse): Use correct AVX check.
29810
21137f89
UD
298112011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29812
29813 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29814 bug in strncpy/strncat.
29815 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29816
a65c0b7a
UD
298172011-07-21 Ulrich Drepper <drepper@gmail.com>
29818
29819 * string/tester.c (test_strcat): Add tests for different alignments
29820 of source and destination.
29821 (test_strncat): Likewise.
29822
6986b98a
UD
298232011-07-20 Ulrich Drepper <drepper@gmail.com>
29824
90bb2039
UD
29825 [BZ #12852]
29826 * posix/glob.c (glob): Check passed in values before using them in
29827 expressions to avoid some overflows.
29828 (glob_in_dir): Likewise.
29829
5644ef54
UD
29830 [BZ #13007]
29831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29832 check for AVX enablement so that we don't crash with old kernels and
29833 new hardware.
29834 * elf/tst-audit4.c: Add same checks here.
29835 * elf/tst-audit6.c: Likewise.
29836
29837 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29838
bfc9dc9b
AS
298392011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29840
29841 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29842
702e64bb
UD
298432011-07-20 Ulrich Drepper <drepper@gmail.com>
29844
29845 * po/cs.po: Update from translation team.
29846 * po/bg.po: Likewise.
29847
295e904f
MP
298482011-07-12 Marek Polacek <mpolacek@redhat.com>
29849
29850 * misc/sys/cdefs.h: Add support for const attribute.
29851 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29852 to gnu_dev_{major,minor,makedev} functions.
29853
3ff94596
MP
298542011-07-20 Marek Polacek <mpolacek@redhat.com>
29855
29856 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29857
28b59fca
AS
298582011-07-20 Andreas Schwab <schwab@redhat.com>
29859
29860 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29861 strlen results.
29862
19df733e
AK
298632011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29864
29865 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29866 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29867 register in order to avoid conflicts with the soft frame pointer
29868 being held in r11 when necessary.
29869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29870 (INTERNAL_VSYSCALL_NCS): Likewise.
29871
c8835729
MP
298722011-07-14 Marek Polacek <mpolacek@redhat.com>
29873
29874 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29875 * elf/dl-fini.c (_dl_fini): Adjust caller.
29876 * elf/dl-close.c (_dl_close_worker): Likewise.
29877 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29878
b902330c
MP
298792011-07-15 Marek Polacek <mpolacek@redhat.com>
29880
8991e135
MP
29881 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29882 "aux_cache->nlibs < 0".
29883
b902330c
MP
29884 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29885 in the reload-count case.
29886
99710781
LD
298872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29888
29889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29890 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29891 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29892 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29893 * sysdeps/x86_64/multiarch/strcat.S: New file.
29894 * sysdeps/x86_64/multiarch/strncat.S: New file.
29895 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29896 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29897 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29898 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29900 (USE_AS_STRCAT): Define.
29901 Add strcat and strncat support.
29902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29903 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29904 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29905 * string/strncat.c: Update.
29906 (USE_AS_STRNCAT): Define.
29907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29908 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29909 and i7.
29910 * sysdeps/x86_64/multiarch/init-arch.h
29911 (bit_Prefer_PMINUB_for_stringop): New.
29912 (index_Prefer_PMINUB_for_stringop): Likewise.
29913 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29914 bit_Prefer_PMINUB_for_stringop.
29915
7dc6bd90
UD
299162011-07-19 Ulrich Drepper <drepper@gmail.com>
29917
29918 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29919 buffer64.
29920 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29921 of casting of buffer.
29922 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29923 buffer32 and buffer64.
29924 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29925 writes instead of casting of buffer.
29926 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29927 buffer32.
29928 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29929 casting of buffer.
29930
e0e72284
AS
299312011-07-19 Andreas Schwab <schwab@redhat.com>
29932
29933 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29934
feb1eb0b
UD
299352011-07-19 Ulrich Drepper <drepper@gmail.com>
29936
29937 * nscd/nscd.c (termination_handler): Don't do anything for a database
29938 if it has not yet been initialized.
29939
298711ff
UD
299402011-07-18 Ulrich Drepper <drepper@gmail.com>
29941
29942 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29943
299442011-07-15 Marek Polacek <mpolacek@redhat.com>
29945
29946 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29947
f9d68389
UD
299482011-07-18 Ulrich Drepper <drepper@gmail.com>
29949
29950 * po/nl.po: Update from translation team.
29951 * po/sv.po: Likewise.
29952
db290cf5
RM
299532011-07-16 Roland McGrath <roland@hack.frob.com>
29954
29955 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29956 now disallowed by GCC.
5c550700 29957
fd5e21c7
RM
29958 * configure.in (use-default-link): Default to yes if a test -shared
29959 link meets our qualifications.
29960 * configure: Regenerated.
29961
5c550700
RM
29962 * config.make.in (output-format): New variable.
29963 * configure.in: Check for ld --print-output-format support.
29964 * configure: Regenerated.
29965 * Makerules ($(common-objpfx)format.lds)
29966 [$(output-format) != unknown]: Just use $(output-format),
29967 instead of the linker-script munging.
29968
9fa2c032
RM
299692011-07-14 Roland McGrath <roland@hack.frob.com>
29970
a6928d51
RM
29971 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29972 of $(common-objpfx)shlib.lds.
29973 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29974
661607b3
RM
29975 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29976 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29977
9fa2c032
RM
29978 * configure.in (-z relro check): Adjust test code to add a large
29979 writable data section after it.
29980 * configure: Regenerated.
29981
defe9061
RM
299822011-07-11 Roland McGrath <roland@hack.frob.com>
29983
29984 * configure.in (-z relro check): Fix test code to make the variable
29985 truly const.
29986 * configure: Regenerated.
29987
319b9ad4
UD
299882011-07-11 Ulrich Drepper <drepper@gmail.com>
29989
29990 * nscd/nscd.h (struct traced_file): Define.
29991 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29992 elements. Add traced_files.
29993 (inotify_fd): Declare.
29994 (register_traced_file): Declare.
29995 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29996 (inotify_fd): Export.
29997 (resolv_conf_descr): Remove.
29998 (nscd_init): Move inotify descriptor creation to main.
29999 Don't register files for notification here.
30000 (register_traced_file): New function.
30001 (invalidate_cache): Don't use reset_res to determine whether to call
30002 res_init, go through the list of registered files.
30003 (main_loop_poll): The inotify descriptors are now stored in the
30004 structures for the traced files.
30005 (main_loop_epoll): Likewise
30006 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30007 to __nss_disable_nscd.
30008 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30009 for a database anymore. Check the records for all the registered
30010 files instead.
30011 * nss/Makefile (libnss_files-routines): Add files-init.
30012 (libnss_db-routines): Add db-init.
30013 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30014 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30015 * nss/nss_db/db-init.c: New file.
30016 * nss/nss_files/files-init.c: New file.
30017 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30018 __nss_lookup_function.
30019 (__nss_lookup_function): Call nss_load_library.
30020 (nss_load_all_libraries): New function.
30021 (__nss_disable_nscd): Take parameter with callback function for files
30022 to register. Set is_nscd. Load all the DSOs for the NSS modules
30023 used for the cached services.
30024 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30025 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30026 options for features to all the files in nscd.
30027
30028 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30029
23bee3e8
RM
300302011-07-10 Roland McGrath <roland@hack.frob.com>
30031
30032 * csu/elf-init.c (__libc_csu_init): Comment typo.
30033
46a5b7f0
UD
300342011-07-09 Ulrich Drepper <drepper@gmail.com>
30035
30036 * po/pl.po: Update from translation team.
30037 * po/ja.po: Likewise.
30038 * po/ru.po: Likewise.
30039 * po/ko.po: Likewise.
30040 * po/fr.po: Likewise.
30041
d30cf5bb
RM
300422011-07-09 Roland McGrath <roland@hack.frob.com>
30043
113ddea4
RM
30044 * configure.in (.ctors/.dtors header and trailer check):
30045 Use an empirical test on a built program.
30046 * configure: Regenerated.
30047
574920b4
RM
30048 * configure.in (-z relro check): Use an empirical test on a built DSO.
30049 Detect, but do not require, on ia64.
30050 * configure: Regenerated.
30051
d30cf5bb
RM
30052 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30053 Update tests that use readelf to use $READELF instead.
30054 * configure: Regenerated.
30055
8538fdb3
UD
300562011-07-08 Ulrich Drepper <drepper@gmail.com>
30057
30058 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30059 if the result is not used.
30060
04d08991
AJ
300612011-07-05 Andreas Jaeger <aj@suse.de>
30062
30063 [BZ#9696]
30064 * stdlib/tst-strtod.c: Add testcase.
30065
de283087
AD
300662011-07-07 Ulrich Drepper <drepper@gmail.com>
30067
4e5f31c8 30068 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30069 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30070 The latter has a higher limit. Take additional parameter to pass to
30071 the new function.
30072 (__pathconf): Pass file to __statfs_link_max.
30073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30074 __statfs_link_max.
30075 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30076 __statfs_link_max.
30077
de283087
AD
30078 [BZ #12868]
30079 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30081 Handle Lustre.
30082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30083 (__statfs_filesize_max): Likewise.
30084 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30085
c75fa153
AJ
300862011-07-05 Andreas Jaeger <aj@suse.de>
30087
30088 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30089
1a544854
UD
300902011-07-06 Marek Polacek <mpolacek@redhat.com>
30091
30092 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30093 `status' variable.
30094 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30095 Likewise.
30096
6f0eec67
UD
300972011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30098
30099 * Makefile (strop-tests): Add strncat.
30100 * string/test-strncat.c: New file.
30101
aae30307
UD
301022011-06-30 Marek Polacek <mpolacek@redhat.com>
30103
30104 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30105
c0cfb5eb
UD
301062011-06-21 Andreas Jaeger <aj@suse.de>
30107
30108 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30109 Copy rule from iconvdata/Makefile.
30110
01636b21
UD
301112011-07-06 Ulrich Drepper <drepper@gmail.com>
30112
30113 [BZ #12922]
30114 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30115 but no long options are defined, just return 'W'.
30116
9895c8bc
UD
301172011-06-22 Marek Polacek <mpolacek@redhat.com>
30118
30119 [BZ #9696]
30120 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30121
5d4cf042
UD
301222011-07-06 Ulrich Drepper <drepper@gmail.com>
30123
30124 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30125 netgroups to read.
960e5535 30126 (innetgr): Likewise.
5d4cf042 30127
751eb97e
RM
301282011-07-05 Roland McGrath <roland@hack.frob.com>
30129
30130 * config.make.in (install_root): Default to $(DESTDIR).
30131
f15f1e45
UD
301322011-07-05 Ulrich Drepper <drepper@gmail.com>
30133
30134 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30135
4e34ac6a
RM
301362011-07-02 Roland McGrath <roland@hack.frob.com>
30137
5e9b6af4
RM
30138 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30139
84f9ea0f
RM
30140 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30141 containing directory rather than embedding absolute directory names.
30142
ea5ee9f7
RM
30143 * scripts/check-local-headers.sh: Rewritten using awk.
30144 Match by word, not by line. Print error messages for matches.
30145 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30146
1b74661a
RM
30147 * Makerules [shlib-lds-flags empty]:
30148 ($(common-objpfx)libc_pic.opts): New target.
30149 ($(common-objpfx)libc_pic.os.clean): New target.
30150 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30151
30152 * config.make.in (OBJCOPY): New variable.
30153 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30154 * configure: Regenerated.
30155
f781ef40
RM
30156 * config.make.in (use-default-link): New variable.
30157 * configure.in (use_default_link): Grok --with-default-link to set it.
30158 * configure: Regenerated.
30159 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30160 (shlib-lds, shlib-lds-flags): Define to empty.
30161
2d4fa81e
RM
30162 * Makerules (shlib-lds): New variable.
30163 (shlib-lds-flags): New variable.
30164 (build-shlib, build-moduile, build-module-asneeded): Use it.
30165 ($(common-objpfx)libc.so): Use $(shlib-lds).
30166 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30167 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30168
31fffa6b
RM
30169 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30170 DT_FLAGS/DT_FLAGS_1 with zero flags.
30171
4e34ac6a
RM
30172 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30173 linker script munging.
30174
fcfc776b
UD
301752011-07-02 Ulrich Drepper <drepper@gmail.com>
30176
30177 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30178 as 128-bit value.
30179 * crypt/sha512.c (sha512_process_block): Perform total addition using
30180 128-bit if possible.
30181 (__sha512_finish_ctx): Likewise.
30182 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30183 as 64-bit value.
30184 * crypt/sha256.c (SWAP64): Define.
30185 (sha256_process_block): Perform total addition using 64-bit if
30186 possible.
30187 (__sha256_finish_ctx): Likewise.
30188
99231d9a
UD
301892011-07-01 Ulrich Drepper <drepper@gmail.com>
30190
30191 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30193 * nscd/hstcache.c (cache_addhst): Likewise.
30194 * nscd/grpcache.c (cache_addgr): Likewise.
30195 * nscd/aicache.c (addhstaiX): Likewise
30196 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30197
445b4a53
TK
301982011-07-01 Thorsten Kukuk <kukuk@suse.de>
30199
30200 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30202 * nscd/hstcache.c (cache_addhst): Likewise.
30203 * nscd/grpcache.c (cache_addgr): Likewise.
30204 * nscd/aicache.c (addhstaiX): Likewise
30205
6d4d8e8e
AS
302062011-07-01 Andreas Schwab <schwab@redhat.com>
30207
30208 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30209 domain only when needed.
30210
89f654c5
AS
302112011-06-30 Andreas Schwab <schwab@redhat.com>
30212
30213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30214 is always restored.
30215
cf3b23ff
UD
302162011-06-29 Ulrich Drepper <drepper@gmail.com>
30217
30218 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30219 are re-adding the entry.
30220 * nscd/servicescache.c (cache_addserv): Likewise.
30221
751626f9
AJ
302222011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30223
30224 * sysdeps/generic/dl-irel.h: fix protection against multiple
30225 inclusions.
30226 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30227
9113ea1f
UD
302282011-06-28 Ulrich Drepper <drepper@gmail.com>
30229
5c0b8d90
UD
30230 [BZ #12935]
30231 * malloc/memusage.sh: Fix quoting in message.
30232 * debug/xtrace.sh: Likewise.
30233
9113ea1f
UD
30234 * configure.in: Remove support for --experimental-malloc option, make
30235 it the default.
30236 * config.make.in: Likewise.
30237 * malloc/Makefile: Likewise.
30238
a4172181
AS
302392011-06-27 Andreas Schwab <schwab@redhat.com>
30240
30241 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30242 two-byte characters.
30243
78a7eee7
RM
302442011-06-27 Roland McGrath <roland@hack.frob.com>
30245
62bede13
RM
30246 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30247 AC_CACHE_CHECK invocation.
30248 * configure: Regenerated.
30249
78a7eee7
RM
30250 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30251
5ce33a62
UD
302522011-06-27 Ulrich Drepper <drepper@gmail.com>
30253
034807a9
UD
30254 [BZ #12350]
30255 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30256 bit from old_res_options.
30257
4902da17
UD
30258 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30259
5ce33a62
UD
30260 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30261 value type for setfct.
30262
c2344f56
L
302632011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30264
30265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30266 __gettimeofday instead of gettimeofday.
30267
68468076
UD
302682011-06-26 Ulrich Drepper <drepper@gmail.com>
30269
30270 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30271
acb0d739
L
302722011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30273
30274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30275
30276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30277 info.
30278
8912479f
L
302792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30282 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30283 strcpy-sse2-unaligned strncpy-sse2-unaligned
30284 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30285 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30286 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30287 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30288 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30289 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30291 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30292 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30293 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30294 (STRCPY): Support SSE2 and SSSE3 versions.
30295
d5495a11
UD
302962011-06-24 Ulrich Drepper <drepper@gmail.com>
30297
30298 [BZ #12874]
30299 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30300 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30301 kernels which artificially limit size of requests.
30302
0b1cbaae
L
303032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30304
30305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30306 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30307 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30308 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30309 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30310 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30311 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30312 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30313 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30314 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30315 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30316 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30317 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30318 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30319 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30321 Enable unaligned load optimization for Intel Core i3, i5 and i7
30322 processors.
30323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30324 Define.
30325 (index_Fast_Unaligned_Load): Define.
30326 (HAS_FAST_UNALIGNED_LOAD): Define.
30327
07f494a0
MP
303282011-06-23 Marek Polacek <mpolacek@redhat.com>
30329
30330 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30331
fa3fc0fe
UD
303322011-06-22 Ulrich Drepper <drepper@gmail.com>
30333
30334 [BZ #12907]
30335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30336 until it is clear that the information is realy needed.
30337 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30338
e12df166
AS
303392011-06-22 Andreas Schwab <schwab@redhat.com>
30340
30341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30342
852eb34d
UD
303432011-06-22 Ulrich Drepper <drepper@gmail.com>
30344
84e2a551
UD
30345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30346 /sys/devices/system/cpu/online if it is usable.
30347
852eb34d
UD
30348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30349 reading the information from the /proc filesystem to once a second.
30350
6e502e19
UD
303512011-06-21 Andreas Jaeger <aj@suse.de>
30352
30353 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30354 NULL after inclusion of kernel headers.
30355
75d39ff2
UD
303562011-06-21 Ulrich Drepper <drepper@gmail.com>
30357
51f9aa6a
UD
30358 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30359 calls to internal_setent.
30360
c0244a9d
UD
30361 [BZ #12885]
30362 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30363 addresses using gethostbyname4_r ignore IPv4 addresses.
30364
c5e3c2ae
UD
30365 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30366 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30367
75d39ff2
UD
30368 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30369
42675c6f
DM
303702011-06-20 David S. Miller <davem@davemloft.net>
30371
30372 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30373 inclusions.
30374 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30375
30376 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30377 (elf_irel): Use it.
30378 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30379 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30380 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30381 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30382 * sysdeps/x86_64/dl-irel.h: Likewise.
30383
30384 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30385 * elf/dl-sym.c: Likewise.
30386
57912a71
UD
303872011-06-15 Ulrich Drepper <drepper@gmail.com>
30388
30389 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30390 need to dereference resplen2.
30391
ee22793d
AS
303922011-06-14 Andreas Schwab <schwab@redhat.com>
30393
30394 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30395
a9e836b0
UD
303962011-06-15 Ulrich Drepper <drepper@gmail.com>
30397
77fb9117
UD
30398 * Makeconfig: Define vardbdir and inst_vardbdir.
30399 * nss/Makefile: Add rules to install db-Makefile.
30400
40c1b22c
UD
30401 * nss/nss_db/db-XXX.c: Cleanup.
30402
9f2da732
UD
30403 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30404 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30405 GLIBC_PRIVATE.
30406 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30407 * nss/makedb.c: Implement -g option to specify that value strings
30408 are generated and should not be added to table iterated over for
30409 get*ent calls.
30410 * nss/nss_db/db-initgroups.c: New file.
30411
82e9a1f7
UD
30412 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30413 interface.
30414
c41af17e
UD
30415 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30416 (internal_getgrouplist): Adjust to name change.
30417 Update use_initgroups_entry if this is not the first call.
30418 * nss/databases.def: Add initgroups entry.
30419
a9e836b0
UD
30420 * nss/makedb.c (compute_tables): Check result of multiple hash table
30421 sizes to minimize maximum chain length.
30422
2666d441
UD
304232011-06-14 Ulrich Drepper <drepper@gmail.com>
30424
30425 * Versions.def: Add entry for libnss_db.
30426 * shlib-versions: Likewise.
30427 * nss/Makefile: Add rules to build libnss_db.
30428 * nss/Versions: Add libnss_db information. Organize libnss_files
30429 entries better.
30430 * nss/db-Makefile: Add gshadow support. Change rules for the new
30431 makedb progra. Some minor improvements to generate smaller files.
30432 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30433 here from...
30434 * nss/makedb.c: ...here.
30435 Improve database format to be smaller and require less memory at
30436 runtime.
30437 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30438 db anymore.
30439 * nss/nss_db/db-netgrp.c: Likewise.
30440 * nss/nss_db/db-open.c: Likewise.
30441 * nss/nss_files/flies-XXX.x: Adjust comments.
30442 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30443 * nss/nss_files/files-grp.c: Likewise.
30444 * nss/nss_files/files-hosts.c: Likewise.
30445 * nss/nss_files/files-network.c: Likewise.
30446 * nss/nss_files/files-proto.c: Likewise.
30447 * nss/nss_files/files-pwd.c: Likewise.
30448 * nss/nss_files/files-rpc.c: Likewise.
30449 * nss/nss_files/files-service.c: Likewise.
30450 * nss/nss_files/files-sgrp.c: Likewise.
30451 * nss/nss_files/files-spwd.c: Likewise.
30452 * nss/nss_db/db-alias.c: Removed.
30453 * nss/nss_db/dummy-db.h: Removed.
30454
9ee76b5a
UD
304552011-06-02 Ulrich Drepper <drepper@gmail.com>
30456
30457 * nss/makedb.c: Rewritten to not use database library.
30458 * nss/Makefile: Update to build new makedb program.
30459
c71ca1f8
AJ
304602011-06-14 Andreas Jaeger <aj@suse.de>
30461
30462 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30463 memset declaration.
30464
3154bfb8
UD
304652011-06-10 Andreas Schwab <schwab@redhat.com>
30466
30467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30468 tmpbuf.
30469
b350afab
RM
304702011-06-10 Roland McGrath <roland@hack.frob.com>
30471
decd4e50
RM
30472 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30473 * elf/Makefile ($(objpfx)ld.so): Likewise.
30474
5615eaf2
RM
30475 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30476 Don't list ld.so twice in dependencies.
30477
30478 * posix/bug-regex31.c: Include <stdlib.h>.
30479
30480 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30481
30482 * nis/nss_compat/compat-spwd.c
30483 (getspent_next_nss_netgr): Remove unused variable.
30484 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30485
30486 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30487 nonmembers" output to use the right array.
30488
30489 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30490
30491 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30492
30493 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30494 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30495 * catgets/gencat.c (read_input_file): Likewise.
30496 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30497
30498 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30499 variable definition inside #if's controlling its use.
30500
30501 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30502
30503 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30504
30505 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30506
30507 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30508 unreachable code.
30509
30510 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30511
b68e08db
RM
30512 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30513 * configure: Regenerated.
30514
b350afab
RM
30515 * Makerules: Revert last change.
30516 * elf/Makefile: Likewise.
30517
28368601
RM
305182011-06-09 Roland McGrath <roland@hack.frob.com>
30519
30520 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30521 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30522 (reloc-link): Likewise.
30523
11988f8f
UD
305242011-06-09 Ulrich Drepper <drepper@gmail.com>
30525
30526 * elf/Makefile: Add rules to build pldd.
30527 * elf/pldd.c: New file.
30528 * elf/pldd-xx.c: New file.
30529
e80fab37
UD
305302011-06-07 Ulrich Drepper <drepper@gmail.com>
30531
30532 * version.h: Update for 2.15 development version.
30533
9b849836
DM
305342011-06-07 David S. Miller <davem@davemloft.net>
30535
30536 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30537 ifuncs.
30538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30539 elf_machine_lazy_rel): Likewise.
30540 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30541 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30542 elf_machine_lazy_rel): Likewise.
30543 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30544 dl_hwcap via passed in argument.
30545 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30546 Likewise.
30547
5a31b283
AK
305482011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30549
30550 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30551
069e52f8
RM
305522011-06-06 Roland McGrath <roland@hack.frob.com>
30553
30554 [BZ #12849]
30555 * manual/fdl-1.1.texi: New file, verbatim from:
30556 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30557 * manual/lgpl-2.1.texi: New file, verbatim from:
30558 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30559 * manual/Makefile (licenses): New variable, list those new file names.
30560 (texis): Use it.
30561 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30562
30563 * manual/fdl.texi: File removed.
30564 * manual/lesser.texi: File removed.
30565 * manual/libc.texinfo (Copying, Documentation License):
30566 Use new @include file names, put @appendix directive before @include.
30567
f16846a5
JJ
305682011-06-04 Jakub Jelinek <jakub@redhat.com>
30569
30570 [BZ #12841]
30571 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30572 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30573 (mq_open): Add __NTH.
30574
3d29045b
L
305752011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30576
30577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30578 Assume Intel Core i3/i5/i7 processor if AVX is available.
30579
8c297311
UD
305802011-05-31 Ulrich Drepper <drepper@gmail.com>
30581
30582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30583 typo.
30584
c8fc0c91
UD
305852011-05-31 Andreas Schwab <schwab@redhat.com>
30586
30587 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30588 memory. Use alloca_account. Fix memory leak when retrying.
30589
5b27a807
UD
305902011-05-31 Ulrich Drepper <drepper@gmail.com>
30591
356f8bc6
UD
30592 * version.h (RELEASE): Bump for 2.14 release.
30593 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30594
5b27a807
UD
30595 * config.make.in (RANLIB): Remove entry.
30596
01f16ab0
UD
305972011-05-30 Ulrich Drepper <drepper@gmail.com>
30598
41fce8bd
UD
30599 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30600 (libc.pot): Work around missing support for .ksh extension in xgettext.
30601
4769ae77
UD
30602 [BZ #12684]
30603 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30604 if both request failed.
30605 (send_dg): In case of server errors clear resplen or *resplen2.
30606
6b1e7d19
UD
30607 [BZ #12454]
30608 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30609 when there are multiple maps.
30610 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30611 (_dl_fini): Remove test here.
30612
01f16ab0
UD
30613 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30614
b1ebd700
UD
306152011-05-29 Ulrich Drepper <drepper@gmail.com>
30616
7ae22829
UD
30617 [BZ #12350]
30618 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30619 bit from old_res_options.
30620 (gaih_inet): Likewise.
30621
553149f6 30622 [BZ #11099]
18a84741 30623 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30624 as signed.
30625
652ffab1
UD
30626 * resolv/res_init.c (res_setoptions): Make the code more compact.
30627
16985fd0
UD
30628 [BZ #11558]
30629 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30630 set RES_USEVC.
30631
0464f746
UD
30632 [BZ #11634]
30633 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30634
7d17596c
UD
30635 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30636
cf6bbbd7
UD
30637 [BZ #11781]
30638 * malloc/malloc.h: Declare malloc hook variables as volatile.
30639
13f1ab36
UD
30640 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30641 in last patch.
30642
b1ebd700
UD
30643 [BZ #11799]
30644 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30645 raise in the comment.
80e2212d
UD
30646 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30648 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30649
ce67228d
UD
306502011-05-28 Ulrich Drepper <drepper@gmail.com>
30651
8887a920
UD
30652 [BZ #12811]
30653 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30654 grow the buffers more if it already has to be sufficient.
30655 (build_wcs_upper_buffer): Likewise.
30656 * posix/regexec.c (check_matching): Likewise.
30657 (clean_state_log_if_needed): Likewise.
30658 (extend_buffers): Don't enlarge buffers beyond size of the input
30659 buffer.
30660 Patches mostly by Emil Wojak <emil@wojak.eu>.
30661 * posix/bug-regex32.c: New file.
30662 * posix/Makefile (tests): Add bug-regex32.
30663
4f031072
UD
30664 * locale/findlocale.c (_nl_find_locale): Return right away if
30665 _nl_explode_name failed.
30666 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30667
d0478f0c
UD
30668 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30669
de81b246
UD
30670 * debug/xtrace.sh: Unify messages.
30671 * malloc/memusage.sh: Likewise.
30672
c738465a
UD
30673 [BZ #12813]
30674 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30675 time symbol from vDSO. Substitute with vsyscall if not available.
30676 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30677 __vdso_time.
30678
f1f929d7
UD
30679 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30680 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30681 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30682 Add sendmmsg and internal_sendmmsg.
30683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30684 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30685 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30686
ce67228d
UD
30687 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30688 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30689 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30690
e57420c6
UD
306912011-05-27 Ulrich Drepper <drepper@gmail.com>
30692
a8509ca5
UD
30693 [BZ #12813]
30694 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30695 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30696 available.
30697 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30698 __vdso_getcpu.
30699
e57420c6
UD
30700 [BZ #12814]
30701 * iconvdata/Makefile (tests): Add bug-iconv9.
30702 * iconvdata/bug-iconv9.c: New file.
30703
4d07db15
AS
307042011-05-27 Andreas Schwab <schwab@redhat.com>
30705
30706 [BZ #12814]
30707 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30708
ea486f69
JJ
307092011-05-25 Jakub Jelinek <jakub@redhat.com>
30710
30711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30712 (struct user_regs_struct): Change intcs field back to cs.
30713
6f038433
UD
307142011-05-25 Ulrich Drepper <drepper@gmail.com>
30715
30716 * po/ja.po: Update from translation team.
30717
67f86a25
UD
307182011-05-23 Ulrich Drepper <drepper@gmail.com>
30719
30720 [BZ #12795]
30721 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30723
def7fbd6
AS
307242011-05-20 Andreas Schwab <schwab@redhat.com>
30725
30726 * stdlib/longlong.h: Update from GCC.
30727
f50ef8f1
AS
307282011-05-23 Andreas Schwab <schwab@redhat.com>
30729
30730 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30731 parameter name.
30732 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30733 Add parameter name.
30734 (__sysconf): Pass it down.
30735
de7ce8f1
UD
307362011-05-22 Ulrich Drepper <drepper@gmail.com>
30737
f2962a71
UD
30738 [BZ #12671]
30739 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30740 some situations.
30741 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30742 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30743 add in in __libc_use_alloca calls. Adjust callers.
30744 (glob): Use malloc in some situations.
30745
de7ce8f1
UD
30746 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30747 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30748 pltexit.
30749
aec84f53
UD
307502011-05-21 Ulrich Drepper <drepper@gmail.com>
30751
05bb4a68
UD
30752 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30753 and CLOCK_BOOTTIME_ALARM.
30754
7ea72f99
UD
30755 [BZ #12782]
30756 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30757 is returned.
30758
7e4afad5
UD
30759 * string/_strerror.c (__strerror_r): Print negative errors as signed
30760 numbers.
30761
8e211fec
UD
30762 [BZ #12777]
30763 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30764 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30765 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30766
f7d82dc9
UD
30767 * configure.in: Fix typo in redirection and correct removal of test
30768 files in two cases.
30769
cc9e536d
UD
30770 [BZ #12788]
30771 * locale/setlocale.c (new_composite_name): Fix test to check for
30772 identical name of all categories.
30773
aec84f53
UD
30774 [BZ #12792]
30775 * libio/filedoalloc.c (local_isatty): New function.
30776 (_IO_file_doallocate): Use local_isatty.
30777 * stdio-common/perror.c (perror): In case a new stream is used
30778 forward the stream error.
30779 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30780 error flag.
30781
78e64fdc
RT
307822011-05-20 Ulrich Drepper <drepper@gmail.com>
30783
34a9094f
UD
30784 [BZ #11869]
30785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30786 alloca.
30787 * include/alloca.h (extend_alloca_account): Define.
30788
78e64fdc
RT
30789 [BZ #11857]
30790 * posix/regex.h: Fix comments with documentation of user-accessible
30791 fields after compilation and describe correct free'ing of pattern
30792 after re_compile_pattern.
30793 Patch by Reuben Thomas <rrt@sc3d.org>.
30794
457bddfc
RA
307952011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30796
30797 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30798 and -mno-altivec to prevent the compiler from using Altivec and/or
30799 VSX instructions when the corresponding registers are not available.
30800
a4527b51
AS
308012011-05-19 Andreas Schwab <schwab@redhat.com>
30802
30803 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30804
ed690b2f
UD
308052011-05-19 Ulrich Drepper <drepper@gmail.com>
30806
30807 * libio/freopen.c (freopen): Use __dup2, not dup2.
30808 * libio/freopen64.c (freopen64): Likewise.
30809
8db73634
L
308102011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30811
30812 [BZ #12775]
30813 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30814 * math/Makefile (tests): Add test-powl.
30815 (CFLAGS-test-powl.c): Define.
30816 * math/test-powl.c: New file.
30817
0a197a9d
L
308182011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30819
30820 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30821
ee30c380
UD
308222011-05-17 Ulrich Drepper <drepper@gmail.com>
30823
30824 [BZ #11837]
30825 * iconvdata/gb18030.c: Update to GB18020-2005.
30826
6ce75379
UD
308272011-05-16 Ulrich Drepper <drepper@gmail.com>
30828
a4b89fd8
AR
30829 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30830 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30831 Patch by Aharon Robbins <arnold@skeeve.com>.
30832
ea389b12
UD
30833 [BZ #11892]
30834 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30835 on the stack.
30836
68a3f91f
UD
30837 [BZ #11895]
30838 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30839 through underflows.
30840
15cc7dd1
UD
30841 [BZ #12766]
30842 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30843 point to strings before performing equality test for error_one_per_line
30844 mode.
30845
f3799213
UD
30846 [BZ #11697]
30847 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30848
d79a9c94
UD
30849 [BZ #11820]
30850 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30851 (struct user_fpregs_struct): Avoid __uint*_t types.
30852
56e5eb46
UD
30853 [BZ #6420]
30854 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30855 symbol info. Use it instead of calling _dl_addr locally.
30856 (lock_and_info): New function.
30857 (tr_freehook): Call lock_and_info and pass symbol info as additional
30858 parameter to tr_where.
30859 (tr_mallochook): Likewise.
30860 (tr_reallochook): Likewise.
30861 (tr_memalignhook): Likewise.
30862
6ce75379
UD
30863 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30864 used and couldn't be at all thread-safe.
30865
f8a3b5bf
UD
308662011-05-15 Ulrich Drepper <drepper@gmail.com>
30867
94b7cc37
UD
30868 * libio/freopen.c (freopen): Don't close old file descriptor
30869 before the new one is opened. Instead dup the new file descriptor
30870 to the old one after the new stream is created.
30871 * libio/freopen64.c (freopen64): Likewise.
30872 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30873 * libio/fileops.c (_IO_new_file_close_it): Handle new
30874 _IO_FLAGS2_NOCLOSE flag.
30875 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30876 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30877 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30878 _IO_FLAGS2_NOCLOSE flag.
30879 * include/unistd.h: Add hidden_proto for dup3.
30880 Define __have_dup3.
30881 * io/dup3.c: Define hidden symbol.
30882 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30883
bd25564e
UD
30884 [BZ #7101]
30885 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30886 when an incomplete long option is used.
30887 * posix/tst-getopt_long1.c: New file.
30888 * posix/Makefile (tests): Add tst-getopt_long1.
30889
c84cfef4
UD
30890 [BZ #10138]
30891 * scripts/config.guess: Update from autoconf-2.68.
30892 * scripts/config.sub: Likewise.
30893
3b85df27
UD
30894 [BZ #10157]
30895 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30896 tests into ...
30897 (has_cpuclock): ...this. New function.
30898 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30899 macro here based on has_cpuclock code.
30900
15a856b1
UD
30901 [BZ #10149]
30902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30903 First byte (not low byte) is now always NUL.
30904 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30905
05f399e6
UD
30906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30907 Use non-cancelable interfaces.
30908
10a52685 30909 [BZ #9809]
94ecc67d
UD
30910 * locale/iso-639.def: Add entry for Sorani.
30911
f8a3b5bf
UD
30912 [BZ #11901]
30913 * include/stdlib.h: Move include protection to the right place.
30914 Define abort_msg_s. Declare __abort_msg with it.
30915 * stdlib/abort.c (__abort_msg): Adjust type.
30916 * assert/assert.c (__assert_fail_base): New function. Majority
30917 of code from __assert_fail. Allocate memory for __abort_msg with
30918 mmap.
30919 (__assert_fail): Now call __assert_fail_base.
30920 * assert/assert-perr.c: Remove bulk of implementation. Use
30921 __assert_fail_base.
30922 * include/assert.hL Declare __assert_fail_base.
30923 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30924 mmap.
30925 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30926
1af4e298
UD
309272011-05-14 Ulrich Drepper <drepper@gmail.com>
30928
f8a3b5bf 30929 [BZ #11952]
d26dfc60
MG
30930 [BZ #12453]
30931 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30932 until all modules are registered in the DTV.
30933 * elf/Makefile: Add rules to build and run tst-tls19.
30934 * elf/tst-tls19.c: New file.
30935 * elf/tst-tls19mod1.c: New file.
30936 * elf/tst-tls19mod2.c: New file.
30937 * elf/tst-tls19mod3.c: New file.
30938 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30939
2fc54d6f
UD
30940 [BZ #12083]
30941 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30942 correctly.
30943
98d76b46
UD
30944 [BZ #12601]
30945 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30946 two-byte sequence errors.
30947 * iconvdata/Makefile (tests): Add bug-iconv8.
30948 * iconvdata/bug-iconv8.c: New file.
30949
da3c19ef
UD
30950 [BZ #12626]
30951 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30952 buf2 definition.
30953
ca408c15
UD
30954 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30955
d6f67f7d
UD
30956 [BZ #12432]
30957 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30958 (dummy_getcfa): New function.
30959 (init): Get _Unwind_GetCFA address, use dummy if not found.
30960 (backtrace_helper): In recursion check, also check whether CFA changes.
30961 (__backtrace): Completely initialize arg.
30962
1af4e298 30963 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30964 storing incomplete byte sequence in state object. Avoid testing for
30965 guaranteed too small input if we know there is enough data available.
1af4e298 30966
da62f81b
AS
309672011-05-11 Andreas Schwab <schwab@redhat.com>
30968
30969 * Makeconfig (+link-pie): Indent.
30970 * Rules (binaries-pie): Define if $(have-fpie) and
30971 $(build-shared).
30972 (binaries-shared): Also filter out $(binaries-pie).
30973 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30974 * nscd/Makefile (others-pie): Add nscd.
30975 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30976 ($(objpfx)nscd): Remove command override.
30977 * login/Makefile (others-pie): Add pt_chown.
30978 ($(objpfx)pt_chown): Remove command override.
30979 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30980 remove command overrides.
30981
fcabc0f8
UD
309822011-05-13 Ulrich Drepper <drepper@gmail.com>
30983
20030ae6
UD
30984 * libio/tst_putwc.c: Fix error messages.
30985
fcabc0f8
UD
30986 [BZ #12724]
30987 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30988 currently writing and seek to current position when not.
30989 * libio/Makefile (tests): Add bug-fclose1.
30990 * libio/bug-fclose1.c: New file.
30991
320a5dc0
PB
309922011-05-12 Ulrich Drepper <drepper@gmail.com>
30993
30994 [BZ #12511]
30995 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30996 don't set DF_1_NODELETE here.
30997 (do_lookup_x): When entering new entry test for copy relocation
30998 and if necessary set DF_1_NODELETE flag.
30999 * elf/tst-unique4.cc: New file.
31000 * elf/tst-unique4.h: New file.
31001 * elf/tst-unique4lib.cc: New file.
31002 * elf/Makefile: Add rules to build and run tst-unique4.
31003 Patch by Piotr Bury <pbury@goahead.com>.
31004
22836f52
UD
310052011-05-11 Ulrich Drepper <drepper@gmail.com>
31006
f574184a
UD
31007 [BZ #12052]
31008 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31009
e1fb097f
UD
31010 [BZ #12625]
31011 * misc/mntent_r.c (addmntent): Flush the stream after the output
31012
22836f52
UD
31013 [BZ #12393]
31014 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31015 (is_trusted_path_normalize): Skip initial colon. Append slash
31016 to empty buffer. Duplicate is_trusted_path code but allow
31017 constructed patch to be prefix.
31018 (is_dst): Allow $ORIGIN followed by /.
31019 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31020 Correct testing of result of is_trusted_path_normalize
31021 (decompose_rpath): Fix warning.
31022
7b3b0b2a
UD
310232011-05-10 Ulrich Drepper <drepper@gmail.com>
31024
31025 [BZ #11257]
31026 * grp/initgroups.c (internal_getgrouplist): When we found the service
31027 list through the initgroups entry in nsswitch.conf do not always
31028 continue on a successful lookup. Don't always use the
eac80ce2 31029 __nss_group_database value if it is set.
7b3b0b2a
UD
31030 * nss/nsswitch.conf (initgroups): Change action for successful db
31031 lookup to continue for compatibility.
31032
2a81eaa5
UD
310332011-05-09 Ulrich Drepper <drepper@gmail.com>
31034
be97a69e
UD
31035 [BZ #11532]
31036 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31037 and CP774 modules.
31038 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31039 and CP774 modules.
31040 * iconvdata/tst-tables.sh: Likewise.
31041 * iconvdata/cp770.c: New file.
31042 * iconvdata/cp771.c: New file.
31043 * iconvdata/cp772.c: New file.
31044 * iconvdata/cp773.c: New file.
31045 * iconvdata/cp774.c: New file.
31046 * iconvdata/testdata/CP770: New file.
31047 * iconvdata/testdata/CP770..UTF8: New file.
31048 * iconvdata/testdata/CP771: New file.
31049 * iconvdata/testdata/CP771..UTF8: New file.
31050 * iconvdata/testdata/CP772: New file.
31051 * iconvdata/testdata/CP772..UTF8: New file.
31052 * iconvdata/testdata/CP773: New file.
31053 * iconvdata/testdata/CP773..UTF8: New file.
31054 * iconvdata/testdata/CP774: New file.
31055 * iconvdata/testdata/CP774..UTF8: New file.
31056
31057 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31058 END CHARMAP line.
31059 * iconvdata/gen-8bit-gap.sh: Likewise.
31060 * iconvdata/gen-8bit.sh: Likewise.
31061
c1e9e399
UD
31062 * locale/iso-639.def: Add ary entry.
31063
24c55fb3 31064 [BZ #11258]
96b4b1b0
UD
31065 * locale/C-translit.h.in: Add U20A1 transliteration.
31066
bdc2f971
KB
31067 [BZ #12178]
31068 * locale/iso-639.def: Add wae entry.
31069 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31070
2952b117
UD
31071 [BZ #12545]
31072 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31073 for n.
31074
2a81eaa5
UD
31075 [BZ #12711]
31076 * locale/C-translit.h.in: Add entry for U20B9.
31077 Patch by pravin.d.s@gmail.com.
31078
28377d1b
UD
310792011-05-08 Ulrich Drepper <drepper@gmail.com>
31080
7fb90fb8
UD
31081 [BZ #12713]
31082 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31083 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31084 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31085 in rtld. Use *stat64.
7fb90fb8 31086 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31087 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31088 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31089 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31090 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31091 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31092 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31093 __fstatat64 macros.
7fb90fb8
UD
31094 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31095 * dirent/rewinddir.c: Add libc_hidden_def.
31096 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31097 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31098
28377d1b
UD
31099 * include/dirent.h (__alloc_dir): Add flags parameter.
31100 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31101 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31102 __alloc_dir.
31103 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31104 from fdopendir if O_CLOEXEC is already set.
31105
66bdbaa4
AM
311062011-03-15 Alan Modra <amodra@gmail.com>
31107
31108 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31109 l_tls_firstbyte_offset non-zero. Save padding offset in
31110 l_tls_firstbyte_offset for later use.
31111 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31112 freeing static tls block.
31113
95721191
JN
311142011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31115
31116 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31117 where #ifdef was intended. The intent is to prevent ARG_MAX from
31118 being defined by the kernel headers.
31119
f87dfb1f
UD
311202011-05-07 Ulrich Drepper <drepper@gmail.com>
31121
31122 [BZ #12734]
31123 * resolv/resolv.h: Define RES_NOTLDQUERY.
31124 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31125 no-tld-query and set RES_NOTLDQUERY.
31126 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31127 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31128 modern BIND to search name as TLD unless forbidden.
31129
47c3cd7a
UD
311302011-05-07 Petr Baudis <pasky@suse.cz>
31131 Ulrich Drepper <drepper@gmail.com>
31132
31133 [BZ #12393]
31134 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31135 (is_trusted_path): ...to here.
c1e9ea35 31136 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31137 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31138 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31139
8a35c912
PP
311402011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31141
31142 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31143 __BEGIN/__END_DECLS.
31144
acd41f47
UD
311452011-05-06 Ulrich Drepper <drepper@gmail.com>
31146
31147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31148 NSS_STATUS_NOTFOUND if no record was found.
31149
597df647
AS
311502011-05-05 Andreas Schwab <schwab@redhat.com>
31151
31152 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31153 (headers-not-in-tirpc): Remove rpc/netdb.h
31154 * resolv/netdb.h: Revert last change.
31155
b9af1301
PP
311562011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31157
31158 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31159 circular dependency between libgcc.a and libc.a.
31160
4e34d5f5
AS
311612011-05-05 Andreas Schwab <schwab@redhat.com>
31162
31163 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31164 * nis/Makefile: Don't install rpcsvc/*.
31165 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31166 instead of <rpc/types.h>.
31167 (MAXHOSTNAMELEN): Define.
31168
00ee369c
AS
311692011-05-03 Andreas Schwab <schwab@redhat.com>
31170
31171 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31172
0b592a30
MB
311732011-04-28 Maciej Babinski <mbabinski@google.com>
31174
31175 [BZ #12714]
31176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31177 gethostbyname4_r when IPv6 results are possible.
31178
6e04cbbe
UD
311792011-05-02 Ulrich Drepper <drepper@gmail.com>
31180
31181 [BZ #12723]
31182 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31183 _PC_PIPE_BUF handling.
31184
e4ecafe0
BH
311852011-04-30 Bruno Haible <bruno@clisp.org>
31186
31187 [BZ #12717]
31188 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31189 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31190 to 'int'.
31191 * inet/getnameinfo.c (getnameinfo): Likewise.
31192
125ee683
UD
311932011-04-29 Ulrich Drepper <drepper@gmail.com>
31194
31195 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31196 to groups setting in database lookup.
31197 * nss/nsswitch.conf: Add initgroups entry.
31198
b722481a
EB
311992011-04-22 Ulrich Drepper <drepper@gmail.com>
31200
31201 [BZ #12685]
31202 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31203 mode string.
31204 Patch by Eric Blake <eblake@redhat.com>.
31205
4df46dbd
L
312062011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 * sunrpc/Makefile (need-export-routines): Add svc_run.
31209 (routines): Remove svc_run.
31210 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31211 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31212 * sunrpc/svc_run.c (svc_run): Likewise.
31213 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31214
e84142d2
UD
312152011-04-21 Ulrich Drepper <drepper@gmail.com>
31216
31217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31218 problem in reallocation in last patch.
31219
877175d8
UD
312202011-04-20 Ulrich Drepper <drepper@gmail.com>
31221
31222 * sunrpc/Makefile: Move inclusion of Rules.
31223
ab8eed78
UD
312242011-04-19 Ulrich Drepper <drepper@gmail.com>
31225
31226 * nss/nss_files/files-initgroups.c: New file.
31227 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31228 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31229 _nss_files_initgroups_dyn.
31230
e3d8f584
RS
312312011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31232
31233 * elf/elf.h (R_ARM_IRELATIVE): Define.
31234
af190f45
UD
312352011-04-19 Ulrich Drepper <drepper@gmail.com>
31236
31237 * po/ru.po: Update from translation team.
31238
53cf59ef
UD
312392011-04-17 Ulrich Drepper <drepper@gmail.com>
31240
31241 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31242 dependencies.
31243
4c559bcd
MF
312442011-02-06 Mike Frysinger <vapier@gentoo.org>
31245
31246 [BZ #12653]
31247 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31248 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31252
4420675c
AS
312532011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31254
31255 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31256 differing bytes.
31257 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31260
75ea32ab
UD
312612011-04-17 Ulrich Drepper <drepper@gmail.com>
31262
31263 [BZ #12420]
31264 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31265 storing it.
31266 * stdlib/bug-getcontext.c: New file.
31267 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31268
27390476
AK
312692011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31270
31271 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31272 instructions into .machine "z9-109".
31273 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31274 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31275
10442705
AK
312762011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31277
31278 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31279 between environment variables and auxiliary vector.
31280
7b57bfe5
UD
312812011-04-16 Ulrich Drepper <drepper@gmail.com>
31282
31283 * Makefile: Add rules to build linkobj/libc.so.
31284 * include/libc-symbols.h: Define libc_hidden_nolink.
31285 * include/rpc/auth.h: Mark functions which are to be hidden.
31286 * include/rpc/auth_des.h: Likewise.
31287 * include/rpc/auth_unix.h: Likewise.
31288 * include/rpc/clnt.h: Likewise.
31289 * include/rpc/des_crypt.h: Likewise.
31290 * include/rpc/key_prot.h: Likewise.
31291 * include/rpc/pmap_clnt.h: Likewise.
31292 * include/rpc/pmap_prot.h: Likewise.
31293 * include/rpc/pmap_rmt.h: Likewise.
31294 * include/rpc/rpc_msg.h: Likewise.
31295 * include/rpc/svc.h: Likewise.
31296 * include/rpc/svc_auth.h: Likewise.
31297 * include/rpc/xdr.h: Likewise.
31298 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31299 * nss/Makefile: Likewise.
31300 * sunrpc/Makefile: Don't install headers. Build library with normal
31301 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31302 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31303 for the compat linking library. Remove use of INTDEF/INTUSE.
31304 * sunrpc/auth_none.c: Likewise.
31305 * sunrpc/auth_unix.c: Likewise.
31306 * sunrpc/authdes_prot.c: Likewise.
31307 * sunrpc/authuxprot.c: Likewise.
31308 * sunrpc/clnt_gen.c: Likewise.
31309 * sunrpc/clnt_perr.c: Likewise.
31310 * sunrpc/clnt_raw.c: Likewise.
31311 * sunrpc/clnt_simp.c: Likewise.
31312 * sunrpc/clnt_tcp.c: Likewise.
31313 * sunrpc/clnt_udp.c: Likewise.
31314 * sunrpc/clnt_unix.c: Likewise.
31315 * sunrpc/des_crypt.c: Likewise.
31316 * sunrpc/des_soft.c: Likewise.
31317 * sunrpc/get_myaddr.c: Likewise.
31318 * sunrpc/key_call.c: Likewise.
31319 * sunrpc/key_prot.c: Likewise.
31320 * sunrpc/netname.c: Likewise.
31321 * sunrpc/pm_getmaps.c: Likewise.
31322 * sunrpc/pm_getport.c: Likewise.
31323 * sunrpc/pmap_clnt.c: Likewise.
31324 * sunrpc/pmap_prot.c: Likewise.
31325 * sunrpc/pmap_prot2.c: Likewise.
31326 * sunrpc/pmap_rmt.c: Likewise.
31327 * sunrpc/publickey.c: Likewise.
31328 * sunrpc/rpc_cmsg.c: Likewise.
31329 * sunrpc/rpc_common.c: Likewise.
31330 * sunrpc/rpc_dtable.c: Likewise.
31331 * sunrpc/rpc_prot.c: Likewise.
31332 * sunrpc/rpc_thread.c: Likewise.
31333 * sunrpc/rtime.c: Likewise.
31334 * sunrpc/svc.c: Likewise.
31335 * sunrpc/svc_auth.c: Likewise.
31336 * sunrpc/svc_authux.c: Likewise.
31337 * sunrpc/svc_raw.c: Likewise.
31338 * sunrpc/svc_run.c: Likewise.
31339 * sunrpc/svc_simple.c: Likewise.
31340 * sunrpc/svc_tcp.c: Likewise.
31341 * sunrpc/svc_udp.c: Likewise.
31342 * sunrpc/svc_unix.c: Likewise.
31343 * sunrpc/svcauth_des.c: Likewise.
31344 * sunrpc/xcrypt.c: Likewise.
31345 * sunrpc/xdr.c: Likewise.
31346 * sunrpc/xdr_array.c: Likewise.
31347 * sunrpc/xdr_float.c: Likewise.
31348 * sunrpc/xdr_intXX_t.c: Likewise.
31349 * sunrpc/xdr_mem.c: Likewise.
31350 * sunrpc/xdr_rec.c: Likewise.
31351 * sunrpc/xdr_ref.c: Likewise.
31352 * sunrpc/xdr_sizeof.c: Likewise.
31353 * sunrpc/xdr_stdio.c: Likewise.
31354
e6c61494
UD
313552011-04-10 Ulrich Drepper <drepper@gmail.com>
31356
31357 [BZ #12650]
31358 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31359 * sysdeps/ia64/dl-tls.h: Likewise.
31360 * sysdeps/powerpc/dl-tls.h: Likewise.
31361 * sysdeps/s390/dl-tls.h: Likewise.
31362 * sysdeps/sh/dl-tls.h: Likewise.
31363 * sysdeps/sparc/dl-tls.h: Likewise.
31364 * sysdeps/x86_64/dl-tls.h: Likewise.
31365 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31366
34fe483e
AS
313672011-03-14 Andreas Schwab <schwab@redhat.com>
31368
31369 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31370 rpath element also skip the following colon.
31371 (expand_dynamic_string_token): Add is_path parameter and pass
31372 down to DL_DST_REQUIRED and _dl_dst_substitute.
31373 (decompose_rpath): Call expand_dynamic_string_token with
31374 non-zero is_path. Ignore empty rpaths.
31375 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31376 with zero is_path.
31377
f12a32e6
AS
313782011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31379
31380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31381 Make cancelable.
31382
38a7d692
UD
313832011-04-09 Ulrich Drepper <drepper@gmail.com>
31384
31385 [BZ #12655]
31386 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31387 Patch by Filipe David Manana <fdmanana@apache.org>.
31388
e451d22b
AS
313892011-04-07 Andreas Schwab <schwab@redhat.com>
31390
31391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31392 Maintain aligned stack.
31393 (CHECK_RSP): Remove unused macro.
31394
dedc7c7b
UD
313952011-04-03 Ulrich Drepper <drepper@gmail.com>
31396
31397 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31398 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31399
94521213
UD
314002011-04-02 Ulrich Drepper <drepper@gmail.com>
31401
31402 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31403
8cb700c0 31404 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31405
0354e355
L
314062011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31407
31408 [BZ #12518]
31409 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31410 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31411 * sysdeps/x86_64/memmove.c: New file.
31412 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31413 (memcpy): Renamed to ...
31414 (__new_memcpy): This.
31415 (memcpy): Provide GLIBC_2_14 memcpy.
31416 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31417 (memcpy): Provide GLIBC_2_2_5 memcpy.
31418
8593482f
UD
314192011-04-01 Ulrich Drepper <drepper@gmail.com>
31420
31421 [BZ #12631]
31422 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31423
81a5726b
AS
314242011-03-30 Andreas Schwab <schwab@redhat.com>
31425
31426 * misc/syncfs.c: New file.
31427 * misc/Makefile (routines): Add syncfs.
31428 * posix/unistd.h: Declare syncfs.
31429 * sysdeps/unix/syscalls.list: Add syncfs.
31430
00e5419f
AS
314312011-04-01 Andreas Schwab <schwab@redhat.com>
31432
31433 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31434 open_by_handle_at.
31435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31440 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31442
748876bf
UD
314432011-04-01 Ulrich Drepper <drepper@gmail.com>
31444
658e451d
UD
31445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31447 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31452
748876bf
UD
31453 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31454 sync_file_range.c with -fexceptions.
31455 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31456 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31457 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31458 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31459 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31460 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31462 sync_file_range as cancellation point
31463 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31464 now a wrapper around __call_sync_file_range with cancellation handling.
31465 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31466 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31467 function name to __call_sync_file_range.
31468 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31469 Add call_sync_file_range.
748876bf 31470
6e63d5e1
AS
314712011-04-01 Andreas Schwab <schwab@redhat.com>
31472
31473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31474 bits/timex.h.
6e63d5e1 31475
46998f74
UD
314762011-04-01 Ulrich Drepper <drepper@gmail.com>
31477
4c1423ed
UD
31478 * iconv/iconv.h: Fix typo in comment.
31479 * io/fcntl.h: Likewise.
31480 * libio/stdio.h: Likewise.
31481 * posix/spawn.h: Likewise.
31482 * posix/unistd.h: Likewise.
31483 * stdlib/stdlib.h: Likewise.
31484 * time/time.h: Likewise.
31485 * wcsmbs/wchar.h: Likewise.
31486
158648c0
UD
31487 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31488 open_by_handle): Add.
31489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31490 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31491 Augment a few comments.
31492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31496 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31497 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31498 open_by_handle.
31499
46998f74
UD
31500 * io/fcntl.h (AT_EMPTY_PATH): Define.
31501
83fe108b
UD
315022011-03-30 Ulrich Drepper <drepper@gmail.com>
31503
31504 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31505 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31506 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31507 to...
31508 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31509 * Versions.def: Add GLIBC_2.14.
31510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31511 Export.
83fe108b 31512
bb242059
UD
315132011-03-22 Ulrich Drepper <drepper@gmail.com>
31514
31515 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31516 round counter.
31517 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31518
c97a1282
L
315192011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31520
31521 [BZ #12597]
31522 * string/test-strncmp.c (do_page_test): New function.
31523 (check2): Likewise.
31524 (test_main): Call check2.
31525 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31526
2a115601
UD
315272011-03-20 Ulrich Drepper <drepper@gmail.com>
31528
31529 [BZ #12587]
31530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31531 Handle cache information in CPU leaf 4.
31532 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31533
8126d904
UD
315342011-03-18 Ulrich Drepper <drepper@gmail.com>
31535
042c49c6 31536 [BZ #12583]
8126d904
UD
31537 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31538 character representation.
31539 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31540
ccfe366e
RA
315412011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31542
31543 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31544 END(__isnan) to END(__isnanf) to match function entry point/label
31545 EALIGN(__isnanf,...).
31546
c6e13027
JJ
315472011-03-10 Jakub Jelinek <jakub@redhat.com>
31548
31549 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31550
33f85a3f
UD
315512011-03-10 Ulrich Drepper <drepper@gmail.com>
31552
028478fa
UD
31553 [BZ #12510]
31554 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31555 copy from the symbol referenced in the relocation to initialize the
31556 used variable.
31557 Patch by Piotr Bury <pbury@goahead.com>.
31558 * elf/Makefile: Add rules to build and tst-unique3.
31559 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31560 * elf/tst-unique3.cc: New file.
31561 * elf/tst-unique3.h: New file.
31562 * elf/tst-unique3lib.cc: New file.
31563 * elf/tst-unique3lib2.cc: New file.
31564
33f85a3f
UD
31565 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31566
03592fc7
MF
315672011-03-10 Mike Frysinger <vapier@gentoo.org>
31568
31569 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31570 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31571 to _start.
03592fc7 31572
6a5ee102
UD
315732011-03-06 Ulrich Drepper <drepper@gmail.com>
31574
31575 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31576 to-be-loaded object along a path to loader is ld.so.
31577
7e4ba49c
HJ
315782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31579 Ulrich Drepper <drepper@gmail.com>
31580
31581 * sysdeps/x86_64/memset.S: After aligning destination, code
31582 branches to different locations depending on the value of
31583 misalignment, when multiarch is enabled. Fix this.
31584
315852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31586
31587 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31588 Set _x86_64_preferred_memory_instruction for AMD processsors.
31589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31590 Set bit_Prefer_SSE_for_memop for AMD processors.
31591
13a804de
UD
315922011-03-04 Ulrich Drepper <drepper@gmail.com>
31593
31594 * libio/fmemopen.c (fmemopen): Optimize a bit.
31595
9d25c392
AS
315962011-03-03 Andreas Schwab <schwab@redhat.com>
31597
31598 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31599
a5543c6a
RM
316002011-03-03 Roland McGrath <roland@redhat.com>
31601
31602 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31603
012d35f7
DM
316042011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31605
7e4ba49c 31606 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31607 __bzero_ultra1 instead of __memset_ultra1.
31608
4bff6e01
AS
316092011-02-23 Andreas Schwab <schwab@redhat.com>
31610 Ulrich Drepper <drepper@gmail.com>
31611
31612 [BZ #12509]
31613 * include/link.h (struct link_map): Add l_orig_initfini.
31614 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31615 returning unsuccessfully.
31616 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31617 close of a file loaded at startup, restore the original l_initfini
31618 list.
31619 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31620 list, store the pointer.
31621 * elf/Makefile ($(objpfx)noload-mem): New rule.
31622 (noload-ENV): Define.
31623 (tests): Add $(objpfx)noload-mem.
31624 * elf/noload.c: Include <memcheck.h>.
31625 (main): Call mtrace. Close all opened handles.
31626
f2092faf
AS
316272011-02-17 Andreas Schwab <schwab@redhat.com>
31628
31629 [BZ #12454]
31630 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31631 dependencies are missing.
31632
6c8a2e88
ST
316332011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31634
f2092faf 31635 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31636 Hurd needs munmap.
31637 * sysdeps/mach/hurd/ifreq.h: New file.
31638
84a42118
PB
316392011-01-27 Petr Baudis <pasky@suse.cz>
31640 Ulrich Drepper <drepper@gmail.com>
31641
071f805e 31642 [BZ 12445]#
84a42118
PB
31643 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31644 to extend_alloca().
31645 * stdio-common/bug23.c: New file.
31646 * stdio-common/Makefile (tests): Add bug23.
31647
e23fe25b
AS
316482010-09-28 Andreas Schwab <schwab@redhat.com>
31649 Ulrich Drepper <drepper@gmail.com>
31650
31651 [BZ #12489]
31652 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31653 before performing relro protection. At old place add assertion
31654 to make sure nothing changed.
31655
d3f02e10
NS
316562011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31657 Glauber de Oliveira Costa <glommer@gmail.com>
31658
31659 * elf/elf.h: Add new ARM TLS relocs.
31660
d55fd7a5
RA
316612011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31662
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31664 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31665 cast from r3.
31666 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31667 'tests' variable.
31668 * sysdeps/wordsize-64/tst-writev.c: New file.
31669
2206397e
RA
316702011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31671
31672 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31673 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31674 insns in _dl_start to prevent a TOC reference before relocs are
31675 resolved.
31676
e9433893
UD
316772011-02-15 Ulrich Drepper <drepper@gmail.com>
31678
31679 [BZ #12469]
31680 * Makeconfig: Remove RANLIB definition.
31681 * Makerules: Don't use RANLIB.
31682 * aclocal.m4: Remove ranlib test.
31683 * configure.in: No need to check for ranlib.
31684 * elf/rtld-Rules: Don't use RANLIB.
31685
f75286c6
ST
316862011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31687
8e31c82d
ST
31688 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31689 protection macro.
31690 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31691 inclusion protection macro.
31692
f75286c6
ST
31693 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31694 SIGRTMIN and SIGRTMAX and print information in that case only when
31695 SIGRTMIN is defined.
31696
c1d0e639
JJ
316972011-02-11 Jakub Jelinek <jakub@redhat.com>
31698
31699 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31700 arginfo fn returning -1.
31701
31702 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31703 and thousands string is zero terminated.
31704
edf9294e
AS
317052011-02-03 Andreas Schwab <schwab@redhat.com>
31706
31707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31708 sysdeps/unix/sysv/linux/bits/socket.h.
31709
2b7e92df
ST
317102011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31711
edf9294e
AS
31712 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31713 (__CPU_COUNT): Remove old macros.
31714 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31715 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31716 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31717 (__sched_cpualloc, __sched_cpufree): Add declarations.
31718
a4c7ea7b
UD
317192011-02-05 Ulrich Drepper <drepper@gmail.com>
31720
31721 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31722 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31723 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31724 (readdhstai): Return value of addhstaiX call.
31725 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31726 (addgrbyX): Return value returned by cache_addgr.
31727 (readdgrbyname): Return value returned by addgrbyX.
31728 (readdgrbygid): Likewise.
31729 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31730 (addpwbyX): Return value returned by cache_addpw.
31731 (readdpwbyname): Return value returned by addhstbyX.
31732 (readdpwbyuid): Likewise.
31733 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31734 (addservbyX): Return value returned by cache_addserv.
31735 (readdservbyname): Return value returned by addservbyX:
31736 (readdservbyport): Likewise.
31737 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31738 (addhstbyX): Return value returned by cache_addhst.
31739 (readdhstbyname): Return value returned by addhstbyX.
31740 (readdhstbyaddr): Likewise.
31741 (readdhstbynamev6): Likewise.
31742 (readdhstbyaddrv6): Likewise.
31743 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31744 (readdinitgroups): Return value returned by addinitgroupsX.
31745 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31746 (prune_cache): Keep track of timeout value of re-added entries.
31747 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31748 * nscd/nscd.h: Adjust prototypes of readd* functions.
31749
a0bf67cc
RM
317502011-02-04 Roland McGrath <roland@redhat.com>
31751
31752 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31753 (nis_stats): Likewise.
31754 * nis/nis_modify.c (nis_modify): Likewise.
31755 * nis/nis_remove.c (nis_remove): Likewise.
31756 * nis/nis_add.c (nis_add): Likewise.
31757
31758 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31759
31760 * posix/fnmatch_loop.c: Add some consts.
31761
31762 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31763
435b95eb
L
317642011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31765
31766 [BZ #12460]
31767 * config.make.in (config-cflags-novzeroupper): Define.
31768 * configure.in: Substitute libc_cv_cc_novzeroupper.
31769 * elf/Makefile (AVX-CFLAGS): Define.
31770 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31771 (CFLAGS-tst-auditmod4a.c): Likewise.
31772 (CFLAGS-tst-auditmod4b.c): Likewise.
31773 (CFLAGS-tst-auditmod6b.c): Likewise.
31774 (CFLAGS-tst-auditmod6c.c): Likewise.
31775 (CFLAGS-tst-auditmod7b.c): Likewise.
31776 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31777
8517b15e
UD
317782011-02-02 Ulrich Drepper <drepper@gmail.com>
31779
31780 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31781 function to the callback.
31782 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31783
10a656fe
AS
317842011-02-02 Andreas Schwab <schwab@redhat.com>
31785
31786 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31787 of errno.
31788
968dad0a
UD
317892011-01-19 Ulrich Drepper <drepper@gmail.com>
31790
9f94d2ea 31791 [BZ #11724]
968dad0a
UD
31792 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31793 of constructors.
31794 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31795 of destructors.
31796 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31797
31798 [BZ #11724]
31799 * elf/Makefile: Add rules to build and run new test.
31800 * elf/tst-initorder.c: New file.
31801 * elf/tst-initorder.exp: New file.
31802 * elf/tst-initordera1.c: New file.
31803 * elf/tst-initordera2.c: New file.
31804 * elf/tst-initordera3.c: New file.
31805 * elf/tst-initordera4.c: New file.
31806 * elf/tst-initorderb1.c: New file.
31807 * elf/tst-initorderb2.c: New file.
31808 * elf/tst-order-a1.c: New file.
31809 * elf/tst-order-a2.c: New file.
31810 * elf/tst-order-a3.c: New file.
31811 * elf/tst-order-a4.c: New file.
31812 * elf/tst-order-b1.c: New file.
31813 * elf/tst-order-b2.c: New file.
31814 * elf/tst-order-main.c: New file.
31815 New test case by George Gensure <werkt0@gmail.com>.
31816
86e92359
UD
318172010-10-01 Andreas Schwab <schwab@redhat.com>
31818
31819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31820 decoding ACE if AI_CANONIDN.
31821
5d5732b0
UD
318222011-01-18 Ulrich Drepper <drepper@gmail.com>
31823
31824 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31825
a77e8cbc
UD
318262011-01-17 Ulrich Drepper <drepper@gmail.com>
31827
6392473f
UD
31828 * version.h (RELEASE): Bump for 2.13 release.
31829 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31830
620a0529
UD
31831 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31832
18ba70a5
UD
31833 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31834 MADV_NOHUGEPAGE.
32465c3e
UD
31835 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31836 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31837 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31838 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31841
c0dafcf1
UD
31842 * posix/getconf.c: Update copyright year.
31843 * catgets/gencat.c: Likewise.
31844 * csu/version.c: Likewise.
31845 * debug/catchsegv.sh: Likewise.
31846 * debug/xtrace.sh: Likewise.
31847 * elf/ldconfig.c: Likewise.
31848 * elf/ldd.bash.in: Likewise.
31849 * elf/sprof.c (print_version): Likewise.
31850 * iconv/iconv_prog.c: Likewise.
31851 * iconv/iconvconfig.c: Likewise.
31852 * locale/programs/locale.c: Likewise.
31853 * locale/programs/localedef.c: Likewise.
31854 * malloc/memusage.sh: Likewise.
31855 * malloc/mtrace.pl: Likewise.
31856 * nscd/nscd.c (print_version): Likewise.
31857 * nss/getent.c: Likewise.
31858
a77e8cbc
UD
31859 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31860 PF_CAIF, and PF_ALG.
31861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31862
77e8bddf
AS
318632011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31864
1f20b93a
AS
31865 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31866 (modules-names): Use them.
31867 (ifunc-test-modules, ifunc-pie-tests): Define.
31868 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31869 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31870 (test-extras): Likewise.
31871 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31872 $(compile-command.c).
31873 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31874 (all-built-dso): Define.
31875 (check-textrel.out, check-execstack.out): Depend on it.
31876
77e8bddf
AS
31877 * configure.in: Don't override --enable-multi-arch.
31878
bc425b33
UD
318792011-01-15 Ulrich Drepper <drepper@gmail.com>
31880
31881 [BZ #6812]
31882 * nscd/hstcache.c (tryagain): Define.
31883 (cache_addhst): Return tryagain not notfound for temporary errors.
31884 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31885 failed.
31886
794c3ad3
UD
318872011-01-14 Ulrich Drepper <drepper@gmail.com>
31888
70181fdd
UD
31889 [BZ #10563]
31890 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31891 to make the syscall.
31892 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31893
794c3ad3
UD
31894 [BZ #12378]
31895 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31896 and fall back to matching as normal character if the string ends before
31897 the matching ']' is found. This is what POSIX requires.
31898 * posix/testfnm.c: Adjust test result.
31899 * posix/globtest.sh: Adjust test result. Add new test.
31900 * posix/tst-fnmatch.input: Likewise.
31901 * posix/tst-fnmatch2.c: Add new test.
31902
68dc9497
AS
319032010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31904
31905 * elf/Makefile (check-execstack): Revert last change. Depend on
31906 check-execstack.h.
31907 (check-execstack.h): New target.
31908 (generated): Add check-execstack.h.
31909 * elf/check-execstack.c: Include "check-execstack.h".
31910 (main): Revert last change.
31911 (handle_file): Return zero if GNU_STACK is absent and
31912 DEFAULT_STACK_PERMS doesn't include PF_X.
31913
451f001b
UD
319142011-01-13 Ulrich Drepper <drepper@gmail.com>
31915
cfa28e56
UD
31916 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31917 in child fails because the descriptor is already closed.
8cf8ce17
UD
31918 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31919 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31920 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31921
1086d70d
UD
31922 [BZ #12397]
31923 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31924 syscall.
31925
451f001b
UD
31926 [BZ #10484]
31927 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31928 temporary buffer used to handle multi lookups locally.
a85b5cb4 31929 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31930
08769175
UD
319312011-01-12 Ulrich Drepper <drepper@gmail.com>
31932
31933 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31934 loader is ld.so.
31935
5e49c52e
UD
319362011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31937
31938 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31939 alignment for SSE2.
31940
60522a5f
UD
319412011-01-12 Ulrich Drepper <drepper@gmail.com>
31942
31943 [BZ #12394]
31944 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31945 characters. When rounding increased number of integer digits recompute
31946 number of groups.
31947 * stdio-common/tst-grouping.c: New file.
31948 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31949
f257bbd7
UD
319502011-01-09 Ulrich Drepper <drepper@gmail.com>
31951
31952 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31953 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31954
31955 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31956 void.
31957 * bits/select.h: Likewise.
31958
fa9c15cb
UD
319592011-01-08 Ulrich Drepper <drepper@gmail.com>
31960
31961 * po/ja.po: Update from translation team.
31962
16c2895f
DM
319632011-01-04 David S. Miller <davem@sunset.davemloft.net>
31964
31965 [BZ #11155]
31966 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31967 implementation just like for lxstat, fxstatat, et al.
31968
2543fef2
JM
319692010-12-27 Jim Meyering <meyering@redhat.com>
31970
31971 [BZ #12348]
31972 * posix/regexec.c (build_trtable): Return failure indication upon
31973 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31974
98727dbe
UD
319752010-12-25 Ulrich Drepper <drepper@gmail.com>
31976
5bd6dc5c
UD
31977 [BZ #12201]
31978 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31979 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31980 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31981 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31982
97983464
UD
31983 [BZ #12207]
31984 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31985
98727dbe
UD
31986 [BZ #12204]
31987 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31988 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31989
4a531bb0
L
319902010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31991
31992 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31993 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31994 script has SORT_BY_INIT_PRIORITY.
31995 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31996 NO_CTORS_DTORS_SECTIONS is defined.
31997 * elf/soinit.c: Likewise.
31998 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31999 NO_CTORS_DTORS_SECTIONS is defined.
32000 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32001 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32002 * sysdeps/sh/init-first.c: Likewise.
32003 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32004
07eb4b71
UD
320052010-12-24 Ulrich Drepper <drepper@gmail.com>
32006
32007 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32008 always use the slow path.
32009
30950a5f
RA
320102010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32011
32012 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32013 similar rule which adds the sysdep directories to the header search in
32014 order to pick up the correct platform stackinfo.h.
32015 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32016 perform test if it is, otherwise return successfully without testing.
32017 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32018 DEFAULT_STACK_PERMS define in stackinfo.h.
32019 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32020 defined in stackinfo.h.
32021 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32022 DEFAULT_STACK_PERMS defined in stackinfo.h.
32023 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32024 * sysdeps/ia64/stackinfo.h: Likewise.
32025 * sysdeps/s390/stackinfo.h: Likewise.
32026 * sysdeps/sh/stackinfo.h: Likewise.
32027 * sysdeps/sparc/stackinfo.h: Likewise.
32028 * sysdeps/x86_64/stackinfo.h: Likewise.
32029 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32030 PF_X for powerpc64. Retain PF_X for powerpc32.
32031
db753e2c
UD
320322010-12-19 Ulrich Drepper <drepper@gmail.com>
32033
14b697f7
UD
32034 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32035 accurately.
db753e2c
UD
32036 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32037 GETDENTS_64BIT_ALIGNED.
32038
28300719
UD
320392010-12-14 Ulrich Drepper <dreper@gmail.com>
32040
14b697f7 32041 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32042
4f197237
AS
320432010-12-10 Andreas Schwab <schwab@redhat.com>
32044
dbb0472f
AS
32045 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32046 _GNU_SOURCE.
32047
4f197237
AS
32048 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32049 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32050 Remove __restrict.
32051 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32052 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32053
fb88ac72
UD
320542010-12-09 Ulrich Drepper <drepper@gmail.com>
32055
32056 [BZ #11655]
32057 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32058 are initialized.
32059
42acbb92
JJ
320602010-12-09 Jakub Jelinek <jakub@redhat.com>
32061
32062 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32063
c038d98d
UD
320642010-12-03 Ulrich Drepper <drepper@gmail.com>
32065
32066 * po/it.po: Update from translation team.
32067
3a4a2499
L
320682010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32069
32070 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32071 unused codes.
32072
1e24cf6e
UD
320732010-11-30 Ulrich Drepper <drepper@gmail.com>
32074
32075 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32076
a7690819
AS
320772010-11-24 Andreas Schwab <schwab@redhat.com>
32078
32079 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32080 specially.
32081 (gaih_getanswer_slice): Likewise.
32082
3bf8d1b1
JJ
320832010-10-20 Jakub Jelinek <jakub@redhat.com>
32084
32085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32086
6db52fbb
PB
320872010-05-31 Petr Baudis <pasky@suse.cz>
32088
32089 [BZ #11149]
32090 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32091 silently even in the chroot mode.
32092
eaca7569
UD
320932010-11-22 Ulrich Drepper <drepper@gmail.com>
32094
32095 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32096 last patch a bit. Pretty printing
32097
3056dcdb
UD
320982010-05-31 Petr Baudis <pasky@suse.cz>
32099
32100 [BZ #10085]
32101 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32102 initialization of skip_initgroups_dyn.
32103
cf7c9078
UD
321042010-11-19 Ulrich Drepper <drepper@gmail.com>
32105
32106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32107 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32108
a1fb5e3e
UD
321092010-11-16 Ulrich Drepper <drepper@gmail.com>
32110
32111 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32112
3540d66b
AS
321132010-11-11 Andreas Schwab <schwab@redhat.com>
32114
32115 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32116 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32117 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32118 ($(objpfx)tst-fnmatch-mem): New rule.
32119 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32120 * posix/tst-fnmatch.c (main): Call mtrace.
32121
13b69574
L
321222010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32123
32124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32125 Support Intel processor model 6 and model 0x2c.
32126
da93d214
LM
321272010-11-10 Luis Machado <luisgpm@br.ibm.com>
32128
32129 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32130 signed comparison.
32131
8ca52c6e
L
321322010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32133
32134 [BZ #12205]
32135 * string/test-strncasecmp.c (check_result): New function.
32136 (do_one_test): Use it.
32137 (check1): New function.
32138 (test_main): Use it.
32139 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32140 Support strcasecmp and strncasecmp.
32141
69da074d
UD
321422010-11-08 Ulrich Drepper <drepper@gmail.com>
32143
32144 [BZ #12194]
32145 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32147
ff02d528
L
321482010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32149
32150 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32151 IFUNC support.
32152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32153 memset-x86-64.
32154 * sysdeps/x86_64/multiarch/bzero.S: New file.
32155 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32156 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32157 * sysdeps/x86_64/multiarch/memset.S: New file.
32158 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32160 Set bit_Prefer_SSE_for_memop for Intel processors.
32161 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32162 Define.
32163 (index_Prefer_SSE_for_memop): Define.
32164 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32165
344d0b54
LM
321662010-11-04 Luis Machado <luisgpm@br.ibm.com>
32167
32168 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32169 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32170
c0dde15b
UD
321712010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 [BZ #12191]
32174 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32175 (__x86_64_raw_data_cache_size_half): Likewise.
32176 (__x86_64_raw_shared_cache_size): Likewise.
32177 (__x86_64_raw_shared_cache_size_half): Likewise.
32178
32179 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32180 (__x86_64_raw_data_cache_size_half): Likewise.
32181 (__x86_64_raw_shared_cache_size): Likewise.
32182 (__x86_64_raw_shared_cache_size_half): Likewise.
32183 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32184 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32185 and __x86_64_raw_shared_cache_size_half. Round
32186 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32187 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32188 to multiple of 256 bytes.
32189
0e516e0e
MS
321902010-11-03 Ulrich Drepper <drepper@gmail.com>
32191
32192 [BZ #12167]
32193 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32194 of inacessible symlinks. Verify result of symlink before returning it.
32195 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32196 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32197
0e012e87
ER
321982010-10-28 Erich Ritz <erichritz@gmail.com>
32199
32200 * math/math.h (isinf): Fix typo in comment.
32201
de0ff7bc
UD
322022010-11-01 Ulrich Drepper <drepper@gmail.com>
32203
32204 * po/da.po: Update from translation team.
32205
fa41c84d
UD
322062010-10-26 Ulrich Drepper <drepper@gmail.com>
32207
32208 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32209 is added to the list.
32210
f0967738
AK
322112010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32212 Ulrich Drepper <drepper@gmail.com>
32213
32214 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32215 the global list here. Move code to...
32216 (_dl_add_to_namespace_list): ...here. New function.
32217 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32218 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32219 * elf/dl-load.c (lose): Don't remove the element from the list.
32220 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32221 (_dl_map_object): Likewise.
32222
322232010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32224
32225 [BZ #12159]
32226 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32227 into all bytes of SSE register.
32228 Patch by Richard Li <richardpku@gmail.com>.
32229
f0967738 322302010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32231
32232 [BZ #12140]
32233 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32234 perturbing.
32235
d0b9e94f
MB
322362010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32237
32238 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32239 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32243 submachine.
32244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32245
8e9f92e9
AS
322462010-10-22 Andreas Schwab <schwab@redhat.com>
32247
32248 * include/dlfcn.h (__RTLD_SECURE): Define.
32249 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32250 mode & __RTLD_SECURE instead.
32251 (open_path): Rename preloaded parameter to secure.
32252 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32253 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32254 * elf/dl-deps.c (openaux): Likewise.
32255 * elf/rtld.c (struct map_args): Remove is_preloaded.
32256 (map_doit): Don't use it.
32257 (dl_main): Likewise.
32258 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32259 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32260
bc96fbda
AS
322612010-09-09 Andreas Schwab <schwab@redhat.com>
32262
32263 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32264 (sysd-rules-targets): Remove duplicates.
32265 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32266 rtld-%.$o dependency.
32267
22cd1c9b
AS
322682010-10-18 Andreas Schwab <schwab@redhat.com>
32269
32270 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32271 _dl_map_object do it.
32272
18edac48
UD
322732010-10-19 Ulrich Drepper <drepper@gmail.com>
32274
32275 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32276 fast fma builtins, define the macros in the C99 standard.
32277 (FP_FAST_FMAF): Likewise.
32278 (FP_FAST_FMAL): Likewise.
32279 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32280
32281 * bits/mathdef.h: Update copyright year.
32282 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32283
d2050124
MM
322842010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32285
32286 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32287 builtins, define the macros in the C99 standard.
32288 (FP_FAST_FMAF): Likewise.
32289 (FP_FAST_FMAL): Likewise.
32290 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32291 multiply/add.
32292 (FP_FAST_FMAF): Likewise.
32293
475facd1
JJ
322942010-10-15 Jakub Jelinek <jakub@redhat.com>
32295
32296 [BZ #3268]
32297 * math/libm-test.inc (fma_test): Some new testcases.
32298 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32300 y and infinite z. Do multiplication by C already in long double.
32301 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32303 y and infinite z. Do bitwise or of inexact bit into u.d.
32304 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32305 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32306 * sysdeps/i386/fpu/s_fma.S: Removed.
32307 * sysdeps/i386/fpu/s_fmal.S: Removed.
32308
7c08a05c
JJ
323092010-10-16 Jakub Jelinek <jakub@redhat.com>
32310
32311 [BZ #3268]
32312 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32314 computation is not scheduled after fetestexcept. Fix value
32315 of minimum denormal long double.
32316
f3f7372d
JJ
323172010-10-14 Jakub Jelinek <jakub@redhat.com>
32318
32319 [BZ #3268]
32320 * math/libm-test.inc (fma_test): Add some more tests.
32321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32322 correctly.
32323
14d43591
AS
323242010-10-15 Andreas Schwab <schwab@redhat.com>
32325
32326 * scripts/data/localplt-s390-linux-gnu.data: New file.
32327 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32328
5e908464
JJ
323292010-10-13 Jakub Jelinek <jakub@redhat.com>
32330
32331 [BZ #3268]
32332 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32333 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32334 instead of dbl-64.
32335 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32336 inlines.
32337 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32339 if one of x and y is very large and the other is subnormal.
32340 * sysdeps/s390/fpu/s_fmaf.c: New file.
32341 * sysdeps/s390/fpu/s_fma.c: New file.
32342 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32343 * sysdeps/powerpc/fpu/s_fma.S: New file.
32344 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32345 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32346 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32347
323482010-10-12 Jakub Jelinek <jakub@redhat.com>
32349
32350 [BZ #3268]
32351 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32352 fma tests.
32353 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32354 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32355 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32356 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32357 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32358 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32359 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32360
b833d51f
UD
323612010-10-12 Ulrich Drepper <drepper@redhat.com>
32362
32363 [BZ #12078]
32364 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32365 * posix/bug-regex31.input: Add test case.
32366
1751705d
UD
323672010-10-11 Ulrich Drepper <drepper@gmail.com>
32368
e9b9cbf5
UD
32369 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32370 * posix/bug-regex31.input: New file.
32371
32372 [BZ #12078]
32373 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32374 (parse_sub_exp): Fix last change, use postorder.
32375
ef06edbe
UD
32376 * posix/bug-regex31.c: New file.
32377 * posix/Makefile: Add rules to build and run bug-regex31.
32378
a129c80d
UD
32379 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32380
32381 [BZ #12078]
32382 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32383
b76b818e
UD
32384 [BZ #12108]
32385 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32386 to have entries in sys_siglist.
32387
1751705d
UD
32388 [BZ #12093]
32389 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32390 be NULL.
32391
9ff8d36f
JJ
323922010-10-07 Jakub Jelinek <jakub@redhat.com>
32393
32394 [BZ #3268]
32395 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32396 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32397 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32398 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32399 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32400 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32401 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32402 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32403 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32404 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32405 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32406 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32407 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32408 * math/ftestexcept.c (fetestexcept): Likewise.
32409 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32410 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32411 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32412 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32413 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32414 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32415 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32416
af325969
UD
324172010-10-11 Ulrich Drepper <drepper@gmail.com>
32418
c579b202 32419 [BZ #12107]
af325969
UD
32420 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32421 newline.
32422
67a67b95
UD
324232010-10-06 Ulrich Drepper <drepper@gmail.com>
32424
32425 * string/bug-strstr1.c: New file.
32426 * string/Makefile: Add rules to build and run bug-strstr1.
32427
5fb308bc
EB
324282010-10-05 Eric Blake <eblake@redhat.com>
32429
32430 [BZ #12092]
32431 * string/str-two-way.h (two_way_long_needle): Always clear memory
32432 when skipping input due to the shift table.
32433
45db99c7
UD
324342010-10-03 Ulrich Drepper <drepper@gmail.com>
32435
3b111893
UD
32436 [BZ #12005]
32437 * malloc/mcheck.c: Handle large requests.
32438
45db99c7
UD
32439 [BZ #12077]
32440 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32441 for strncmp and strncasecmp.
32442 * string/stratcliff.c: Add tests for strcmp and strncmp.
32443 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32444
cf7a1eb8
NI
324452010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32446
32447 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32448 __set_fpscr.
32449
6484ba5e
AJ
324502010-09-30 Andreas Jaeger <aj@suse.de>
32451
32452 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32453 (CGROUP_SUPER_MAGIC): Define.
32454 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32455 Handle btrfs and cgroup file systems.
32456 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32457 Likewise.
32458
91c42559
LM
324592010-09-27 Luis Machado <luisgpm@br.ibm.com>
32460
32461 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32462 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32463
87a97932
AK
324642010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32465
32466 [BZ #12067]
32467 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32468 trying to locate the ELF header.
32469
c21cc9bc
AS
324702010-09-27 Andreas Schwab <schwab@redhat.com>
32471
32472 [BZ #11611]
32473 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32474 Mask out sign-bit copies when constructing f_fsid.
32475
315970f6
PB
324762010-09-24 Petr Baudis <pasky@suse.cz>
32477
32478 * debug/stack_chk_fail_local.c: Add missing licence exception.
32479 * debug/warning-nop.c: Likewise.
32480
1ac7a2c7
JM
324812010-09-15 Joseph Myers <joseph@codesourcery.com>
32482
32483 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32484 implementing getdents64 using getdents syscall, set d_type if
32485 __ASSUME_GETDENTS32_D_TYPE.
32486
56801c50
AS
324872010-09-16 Andreas Schwab <schwab@redhat.com>
32488
32489 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32490 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32491
dda51327
UD
324922010-09-21 Ulrich Drepper <drepper@redhat.com>
32493
32494 [BZ #12037]
32495 * posix/unistd.h: Undo change of feature selection for ftruncate from
32496 2010-01-11.
32497
8ffcee4a
UD
324982010-09-20 Ulrich Drepper <drepper@redhat.com>
32499
a545ecd9 32500 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32501 detection.
32502
e24f0a8b
AS
325032010-09-20 Andreas Schwab <schwab@redhat.com>
32504
32505 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32506 fanotify_mark.
32507 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32508
7291c56f
AS
325092010-09-14 Andreas Schwab <schwab@redhat.com>
32510
32511 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32512 variables after CHECK_SP call.
32513 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32514
bc5fb037
AS
325152010-09-13 Andreas Schwab <schwab@redhat.com>
32516 Ulrich Drepper <drepper@redhat.com>
32517
32518 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32519 re-relocationg ld.so.
32520 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32521 _dl_init_paths call.
32522 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32523 here anymore.
32524
e66e7419
UD
325252010-09-14 Ulrich Drepper <drepper@redhat.com>
32526
32527 * resolv/res_init.c (__res_vinit): Count the default server we added.
32528
c044aa75
CLT
325292010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32530 Ulrich Drepper <drepper@redhat.com>
32531
32532 [BZ #11968]
32533 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32534 (____longjmp_chk): Use %ebx for saving value across system call.
32535 Add unwind info.
32536
32cf4069
AS
325372010-09-06 Andreas Schwab <schwab@redhat.com>
32538
32539 * manual/Makefile: Don't mix pattern rules with normal rules.
32540
817328ee
AS
325412010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32542
32543 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32544 operation.
32545 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32546 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32547 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32548 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32550 Likewise.
32551
29fddf61
UD
325522010-09-04 Ulrich Drepper <drepper@redhat.com>
32553
32554 [BZ #11979]
32555 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32556 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32557
0959ffc9
UD
325582010-09-02 Ulrich Drepper <drepper@redhat.com>
32559
32560 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32561 * sysdeps/x86_64/addmul_1.S: Likewise.
32562 * sysdeps/x86_64/lshift.S: Likewise.
32563 * sysdeps/x86_64/mul_1.S: Likewise.
32564 * sysdeps/x86_64/rshift.S: Likewise.
32565 * sysdeps/x86_64/sub_n.S: Likewise.
32566 * sysdeps/x86_64/submul_1.S: Likewise.
32567
ece29840
ST
325682010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32569
0959ffc9
UD
32570 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32571 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32572 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32573 * bits/sched.h [__need_schedparam]
ece29840 32574 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32575 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32576 (__defined_schedparam): Define to 1.
ece29840
ST
32577 (__sched_param): New structure, identical to sched_param.
32578 (__need_schedparam): Undefine.
32579
e53a31fe
MF
325802010-08-31 Mike Frysinger <vapier@gentoo.org>
32581
fdc0c10d
MF
32582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32583 (epoll_create1): Declare.
32584
e53a31fe
MF
32585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32586
a726d796
AS
325872010-08-31 Andreas Schwab <schwab@redhat.com>
32588
32589 [BZ #7066]
32590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32591 shifting retval into place.
32592
2f3e3dc7
UD
325932010-09-01 Ulrich Drepper <drepper@redhat.com>
32594
f2933da9
UD
32595 * nis/rpcsvc/nis.h: Update copyright notice.
32596 * nis/rpcsvc/nis.x: Likewise.
32597 * nis/rpcsvc/nis_callback.h: Likewise.
32598 * nis/rpcsvc/nis_callback.x: Likewise.
32599 * nis/rpcsvc/nis_object.x: Likewise.
32600 * nis/rpcsvc/nis_tags.h: Likewise.
32601 * nis/rpcsvc/yp.h: Likewise.
32602 * nis/rpcsvc/yp.x: Likewise.
32603 * nis/rpcsvc/ypupd.h: Likewise.
32604 * nis/yp_xdr.c: Likewise.
32605 * nis/ypupdate_xdr.c: Likewise.
32606
2f3e3dc7
UD
32607 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32608 mainly the body of pmap_getport. Add parameters to specify timeouts.
32609 (pmap_getport): Use __libc_rpc_getport.
32610 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32611 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32612 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32613
f3dcc2f9
AS
326142010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32615
32616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32617 fanotify_mark.
32618
6d34eb5b
RM
326192010-08-27 Roland McGrath <roland@redhat.com>
32620
32621 * sysdeps/i386/i686/multiarch/Makefile
32622 (CFLAGS-varshift.c): New variable.
32623
9ea3de11
UD
326242010-08-27 Ulrich Drepper <drepper@redhat.com>
32625
c96d23fc
UD
32626 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32627 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32628
9ea3de11
UD
32629 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32630
32631 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32632
623aac7f
L
326332010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32634
32635 * sysdeps/x86_64/strlen.S: Unroll the loop.
32636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32637 strlen-sse2 strlen-sse2-bsf.
32638 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32639 __strlen_no_bsf if bit_Slow_BSF is set.
32640 (__strlen_sse42): Removed.
32641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32642 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32643
8b2b7715
RM
326442010-08-25 Roland McGrath <roland@redhat.com>
32645
32646 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32647 * sysdeps/x86_64/multiarch/varshift.c: New file.
32648 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32649 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32650 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32651 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32652
e73015f2
L
326532010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32654
32655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32656 strlen-sse2 strlen-sse2-bsf.
32657 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32658 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32659 (__strlen_sse2): Removed.
32660 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32663 bit_Slow_BSF for Atom.
32664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32665 (index_Slow_BSF): Define.
32666 (HAS_SLOW_BSF): Define.
32667
df24a73e
UD
326682010-08-25 Ulrich Drepper <drepper@redhat.com>
32669
32670 [BZ #10851]
32671 * resolv/res_init.c (__res_vinit): When no server address at all
32672 is given default to loopback.
32673
f2ac4868
RM
326742010-08-24 Roland McGrath <roland@redhat.com>
32675
09055553
RM
32676 * configure.in: Remove config-name.h generation.
32677 * configure: Regenerated.
32678 * config-name.in: File removed.
32679 * scripts/config-uname.sh: New file.
32680 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32681 ($(objdir)config-name.h): New target.
32682
f2ac4868
RM
32683 * sunrpc/rpc_parse.h: Avoid nested comment.
32684
73f27d5e
RH
326852010-08-24 Richard Henderson <rth@redhat.com>
32686 Ulrich Drepper <drepper@redhat.com>
32687 H.J. Lu <hongjiu.lu@intel.com>
32688
32689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32691 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32692 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32693 _mm_alignr_epi8 with _mm_loadu_si128.
32694 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32695 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32696 (__m128i_shift_right): Removed.
32697 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32698 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32699 * sysdeps/x86_64/multiarch/varshift.h: New file.
32700 * sysdeps/x86_64/multiarch/varshift.S: New file.
32701
84b9230c
MF
327022010-08-21 Mike Frysinger <vapier@gentoo.org>
32703
32704 * configure.in: Move assembler checks to before sysdep dir checking.
32705
9bbd0ddc
PB
327062010-08-20 Petr Baudis <pasky@suse.cz>
32707
32708 * LICENSES: Sync the sunrpc license.
32709
9da4bb31
UD
327102010-08-19 Ulrich Drepper <drepper@redhat.com>
32711
a7ab6ec8
UD
32712 * sunrpc/auth_des.c: Update copyright notice once again.
32713 * sunrpc/auth_none.c: Likewise.
32714 * sunrpc/auth_unix.c: Likewise.
32715 * sunrpc/authdes_prot.c: Likewise.
32716 * sunrpc/authuxprot.c: Likewise.
32717 * sunrpc/bindrsvprt.c: Likewise.
32718 * sunrpc/clnt_gen.c: Likewise.
32719 * sunrpc/clnt_perr.c: Likewise.
32720 * sunrpc/clnt_raw.c: Likewise.
32721 * sunrpc/clnt_simp.c: Likewise.
32722 * sunrpc/clnt_tcp.c: Likewise.
32723 * sunrpc/clnt_udp.c: Likewise.
32724 * sunrpc/clnt_unix.c: Likewise.
32725 * sunrpc/des_crypt.c: Likewise.
32726 * sunrpc/des_soft.c: Likewise.
32727 * sunrpc/get_myaddr.c: Likewise.
32728 * sunrpc/getrpcport.c: Likewise.
32729 * sunrpc/key_call.c: Likewise.
32730 * sunrpc/key_prot.c: Likewise.
32731 * sunrpc/openchild.c: Likewise.
32732 * sunrpc/pm_getmaps.c: Likewise.
32733 * sunrpc/pm_getport.c: Likewise.
32734 * sunrpc/pmap_clnt.c: Likewise.
32735 * sunrpc/pmap_prot.c: Likewise.
32736 * sunrpc/pmap_prot2.c: Likewise.
32737 * sunrpc/pmap_rmt.c: Likewise.
32738 * sunrpc/rpc/auth.h: Likewise.
32739 * sunrpc/rpc/auth_unix.h: Likewise.
32740 * sunrpc/rpc/clnt.h: Likewise.
32741 * sunrpc/rpc/des_crypt.h: Likewise.
32742 * sunrpc/rpc/key_prot.h: Likewise.
32743 * sunrpc/rpc/netdb.h: Likewise.
32744 * sunrpc/rpc/pmap_clnt.h: Likewise.
32745 * sunrpc/rpc/pmap_prot.h: Likewise.
32746 * sunrpc/rpc/pmap_rmt.h: Likewise.
32747 * sunrpc/rpc/rpc.h: Likewise.
32748 * sunrpc/rpc/rpc_des.h: Likewise.
32749 * sunrpc/rpc/rpc_msg.h: Likewise.
32750 * sunrpc/rpc/svc.h: Likewise.
32751 * sunrpc/rpc/svc_auth.h: Likewise.
32752 * sunrpc/rpc/types.h: Likewise.
32753 * sunrpc/rpc/xdr.h: Likewise.
32754 * sunrpc/rpc_clntout.c: Likewise.
32755 * sunrpc/rpc_cmsg.c: Likewise.
32756 * sunrpc/rpc_common.c: Likewise.
32757 * sunrpc/rpc_cout.c: Likewise.
32758 * sunrpc/rpc_dtable.c: Likewise.
32759 * sunrpc/rpc_hout.c: Likewise.
32760 * sunrpc/rpc_main.c: Likewise.
32761 * sunrpc/rpc_parse.c: Likewise.
32762 * sunrpc/rpc_parse.h: Likewise.
32763 * sunrpc/rpc_prot.c: Likewise.
32764 * sunrpc/rpc_sample.c: Likewise.
32765 * sunrpc/rpc_scan.c: Likewise.
32766 * sunrpc/rpc_scan.h: Likewise.
32767 * sunrpc/rpc_svcout.c: Likewise.
32768 * sunrpc/rpc_tblout.c: Likewise.
32769 * sunrpc/rpc_util.c: Likewise.
32770 * sunrpc/rpc_util.h: Likewise.
32771 * sunrpc/rpcinfo.c: Likewise.
32772 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32773 * sunrpc/rpcsvc/key_prot.x: Likewise.
32774 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32775 * sunrpc/rpcsvc/mount.x: Likewise.
32776 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32777 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32778 * sunrpc/rpcsvc/rex.x: Likewise.
32779 * sunrpc/rpcsvc/rstat.x: Likewise.
32780 * sunrpc/rpcsvc/rusers.x: Likewise.
32781 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32782 * sunrpc/rpcsvc/spray.x: Likewise.
32783 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32784 * sunrpc/rtime.c: Likewise.
32785 * sunrpc/svc.c: Likewise.
32786 * sunrpc/svc_auth.c: Likewise.
32787 * sunrpc/svc_authux.c: Likewise.
32788 * sunrpc/svc_raw.c: Likewise.
32789 * sunrpc/svc_run.c: Likewise.
32790 * sunrpc/svc_simple.c: Likewise.
32791 * sunrpc/svc_tcp.c: Likewise.
32792 * sunrpc/svc_udp.c: Likewise.
32793 * sunrpc/svc_unix.c: Likewise.
32794 * sunrpc/svcauth_des.c: Likewise.
32795 * sunrpc/xcrypt.c: Likewise.
32796 * sunrpc/xdr.c: Likewise.
32797 * sunrpc/xdr_array.c: Likewise.
32798 * sunrpc/xdr_float.c: Likewise.
32799 * sunrpc/xdr_mem.c: Likewise.
32800 * sunrpc/xdr_rec.c: Likewise.
32801 * sunrpc/xdr_ref.c: Likewise.
32802 * sunrpc/xdr_sizeof.c: Likewise.
32803 * sunrpc/xdr_stdio.c: Likewise.
32804
9da4bb31
UD
32805 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32806 handling.
32807
bdaa77bc
AS
328082010-08-19 Andreas Schwab <schwab@redhat.com>
32809
32810 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32811
fe2f79db
LM
328122010-08-19 Luis Machado <luisgpm@br.ibm.com>
32813
32814 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32815 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32816 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32817 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32818 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32819 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32820 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32821 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32822 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32823 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32824 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32825 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32826 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32827 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32828
b9b42ee0
AB
328292010-07-26 Anton Blanchard <anton@samba.org>
32830
32831 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32832 * malloc/arena.c (heap_trim): Likewise.
32833
1c06ba31
UD
328342010-08-16 Ulrich Drepper <drepper@redhat.com>
32835
32836 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32837 here. Not...
32838 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32839 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32840
f8392f40
L
328412010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 * sysdeps/i386/elf/Makefile: New file.
32844
3162f12e
AS
328452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32846
32847 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32848 from fanotify_init.
32849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32851
28c90b2c
UD
328522010-08-15 Ulrich Drepper <drepper@redhat.com>
32853
32854 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32855 of strncasecmp_l.
1feccb6c 32856 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32857
ca6bb004
UD
328582010-08-14 Ulrich Drepper <drepper@redhat.com>
32859
e9f82e0d
UD
32860 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32861 strncase_l-nonascii.
32862 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32863 Add strncase_l-ssse3.
32864 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32865 * sysdeps/x86_64/strcmp.S: Likewise.
32866 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32867 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32868 * sysdeps/x86_64/strncase.S: New file.
32869 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32870 * sysdeps/x86_64/strncase_l.S: New file.
32871 * string/Makefile (strop-tests): Add strncasecmp.
32872 * string/test-strncasecmp.c: New file.
32873
32874 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32875 warning.
32876
ca6bb004
UD
32877 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32878 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32879
052fa7b3
AS
328802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32881
32882 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32883
962dba78
UD
328842010-08-12 Ulrich Drepper <drepper@redhat.com>
32885
32886 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32888 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32889
bebff237
AM
328902010-05-01 Alan Modra <amodra@gmail.com>
32891
32892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32893 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32894 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32895 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32896 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32897 tidying. Don't tail-call __sigjmp_save for static lib.
32898 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32899 save location.
32900 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32901 (CALL_MCOUNT): Add eh info, and nop after bl.
32902 (TAIL_CALL_SYSCALL_ERROR): New macro.
32903 (PSEUDO_RET): Use it.
32904 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32905 Correct save location of integer regs and cr.
32906 (_dl_profile_resolve): Correct cr save location. Delete nops
32907 after bl when SHARED. Reduce cfi size a little by better
32908 placement of cfi directives.
32909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32910 make a stack frame. Instead use parm save area as a temp.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32912 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32914 Don't make a stack frame for parent, use parm save area.
32915 Increase child stack frame to 112 bytes. Don't save unused reg,
32916 and adjust reg usage. Set up cfi on error recovery and
32917 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32919 (__makecontext): Add dummy nop after jump to exit.
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32921 Use correct parm save area and cr save, reduce stack frame.
32922 Correct cfi for possible PSEUDO_RET frame setup.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32924 Branch to local label emitted by PSEUDO_RET rather than
32925 __syscall_error.
32926
02637374
AS
329272010-08-12 Andreas Schwab <schwab@redhat.com>
32928
32929 [BZ #11904]
32930 * locale/programs/locale.c (print_assignment): New function.
32931 (show_locale_vars): Use it.
32932
c3e2f19b
UD
329332010-08-11 Ulrich Drepper <drepper@redhat.com>
32934
3cdaa6ad
UD
32935 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32936 field.
32937 (struct statfs64): Likewise.
32938 (_STATFS_F_FLAGS): Define.
32939 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32941 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32942 (ST_VALID): Define locally.
32943 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32944 __statvfs_getflags, use the provided value.
32945 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32946 __ASSUME_STATFS_F_FLAGS.
32947
754f7da3
UD
32948 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32949
10b3bedc
UD
32950 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32951 Add sys/fanotify.h.
32952 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32953 fanotify_mask for GLIBC_2.13.
32954 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32955 fanotify_init and fanotify_mark.
32956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32957 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32958
c08fb0d7
UD
32959 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32960 Add prlimit.
32961 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32962 prlimit64 for GLIBC_2.13.
32963 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32964 prlimit64.
32965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32966 syscall.
32967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32968 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32969 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32970 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32972 add prlimit alias.
32973 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32974
15bac72b
UD
32975 [BZ #11903]
32976 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32977 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32978
c3e2f19b
UD
32979 * nss/Makefile: Add rules to build and run tst-nss-test1.
32980 * shlib-versions: Add entry for libnss_test1.
32981 * nss/nss_test1.c: New file.
32982 * nss/tst-nss-test1.c: New file.
32983
32984 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32985 (__nss_configure_lookup): Set appropriate entry in
32986 __nss_configure_lookup to true.
32987 * nss/nsswitch.h: Define enum with indeces of databases in
32988 databases and __nss_database_custom arrays. Declare
32989 __nss_database_custom.
32990 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32991 to avoid using nscd when custom rules are installed.
32992 * nss/getXXbyYY_r.c: Likewise.
32993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32994
32995 * nss/nss_files/files-parse.c: Whitespace fixes.
32996
f15ce4d8
UD
329972010-08-09 Ulrich Drepper <drepper@redhat.com>
32998
32999 [BZ #11883]
33000 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33001 * posix/fnmatch_loop.c: Likewise.
33002
d22e4cc9
AK
330032010-07-17 Andi Kleen <ak@linux.intel.com>
33004
33005 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33006 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33007 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33008 * Versions.def [GLIBC_2.13]: Add.
33009
805bc17d
UD
330102010-08-06 Ulrich Drepper <drepper@redhat.com>
33011
33012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33013 Also fail if tpwd after pwuid call is NULL.
33014
5a42321d
ST
330152010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33016
33017 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33018 when converting to ms.
33019
fd3ebeda
ST
330202010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33021
33022 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33023 EOPNOTSUPP errors with ENOTTY.
33024 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33025 EOPNOTSUPP errors with ENOTTY.
33026
73507d3a
UD
330272010-07-31 Ulrich Drepper <drepper@redhat.com>
33028
33029 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33030 Add strcasecmp_l-ssse3.
33031 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33032 strcasecmp.
33033 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33034 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33035 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33036
fe36dd02
UD
330372010-07-30 Ulrich Drepper <drepper@redhat.com>
33038
66f6765a
UD
33039 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33040
42e08a54
UD
33041 * string/Makefile (strop-tests): Add strcasecmp.
33042 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33043 strcasecmp_l-nonascii.
33044 (gen-as-const-headers): Add locale-defines.sym.
33045 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33046 * sysdeps/x86_64/strcasecmp.S: New file.
33047 * sysdeps/x86_64/strcasecmp_l.S: New file.
33048 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33049 * sysdeps/x86_64/locale-defines.sym: New file.
33050 * string/test-strcasecmp.c: New file.
33051
fe36dd02
UD
33052 * string/test-strcasestr.c: Test both ends of the range of characters.
33053 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33054
48cbc0d6
RM
330552010-07-29 Roland McGrath <roland@redhat.com>
33056
76e6d6bc 33057 [BZ #11856]
48cbc0d6
RM
33058 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33059
880113d9
UD
330602010-07-27 Ulrich Drepper <drepper@redhat.com>
33061
33062 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33063 for ld.so.
33064
deb9cabb
AS
330652010-07-27 Andreas Schwab <schwab@redhat.com>
33066
33067 * manual/memory.texi (Malloc Tunable Parameters): Document
33068 M_PERTURB.
33069
1c7570ff
RM
330702010-07-26 Roland McGrath <roland@redhat.com>
33071
33072 [BZ #11840]
33073 * configure.in (-fgnu89-inline check): Set and substitute
33074 gnu89_inline, not libc_cv_gnu89_inline.
33075 * configure: Regenerated.
33076 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33077
24fb0f88
UD
330782010-07-26 Ulrich Drepper <drepper@redhat.com>
33079
33080 * string/test-strnlen.c: New file.
33081 * string/Makefile (strop-tests): Add strnlen.
33082 * string/tester.c (test_strnlen): Add a few more test cases.
33083 * string/tst-strlen.c: Better error reporting.
33084
33085 * sysdeps/x86_64/strnlen.S: New file.
33086
8e96b93a
UD
330872010-07-24 Ulrich Drepper <drepper@redhat.com>
33088
33089 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33090 lower-latency instructions.
33091
dbc676d4
UD
330922010-07-23 Ulrich Drepper <drepper@redhat.com>
33093
33094 * string/test-strcasestr.c: New file.
33095 * string/test-strstr.c: New file.
33096 * string/Makefile (strop-tests): Add strstr and strcasestr.
33097 * string/str-two-way.h: Don't undefine MAX.
33098 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33099
f6a31e0e
AS
331002010-07-21 Andreas Schwab <schwab@redhat.com>
33101
33102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33103 strcasestr-nonascii.
33104 (CFLAGS-strcasestr-nonascii.c): Define.
33105 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33107 Remove unused attribute.
33108
5dbc3b6c
RM
331092010-07-20 Roland McGrath <roland@redhat.com>
33110
33111 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33112 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33113 ld.so.cache was broken. With it, there is no way to disable dsocaps
33114 like LD_HWCAP_MASK can disable hwcaps.
33115
23d101d8
EPM
331162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33117
33118 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33119
cc9f2e47
UD
331202010-07-16 Ulrich Drepper <drepper@redhat.com>
33121
33122 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33123 call in strcasestr.
33124 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33125 __strcasestr_sse42_nonascii.
33126 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33127 strcasestr-nonascii.c.
33128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33129
77c1b069
LM
331302010-06-15 Luis Machado <luisgpm@br.ibm.com>
33131
33132 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33134 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33135 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33136
440566c3
UD
331372010-07-09 Ulrich Drepper <drepper@redhat.com>
33138
33139 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33140 fcntl.
33141
5be9d05d
AS
331422010-07-06 Andreas Schwab <schwab@redhat.com>
33143
c30b7ee2 33144 [BZ #11577]
5be9d05d
AS
33145 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33146 dl_signal_cerror.
33147
8a492a67
UD
331482010-07-06 Ulrich Drepper <drepper@redhat.com>
33149
33150 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33151 _PC_PIPE_BUF using F_GETPIPE_SZ.
33152
713df3d5
RM
331532010-07-05 Roland McGrath <roland@redhat.com>
33154
33155 * manual/arith.texi (Rounding Functions): Fix rint description
33156 implicit in round description.
33157
702e8f14
UD
331582010-07-02 Ulrich Drepper <drepper@redhat.com>
33159
33160 * elf/Makefile: Fix linking for a few tests to make recent linker
33161 happy.
33162
52ed8be9
AS
331632010-06-30 Andreas Schwab <schwab@redhat.com>
33164
33165 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33166 $(common-objpfx)libc_nonshared.a.
33167
f47c9a11
LM
331682010-06-21 Luis Machado <luisgpm@br.ibm.com>
33169
33170 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33171 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33172 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33173 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33174 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33175 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33176 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33177 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33192 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33193 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33194 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33195 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33196 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33197 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33198 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33199 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33200 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33201 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33202 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33203 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33218
6fb8cbcb
L
332192010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33222 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33223 * string/memmove.c (memmove): Renamed to ...
33224 (MEMMOVE): ...this. Default to memmove.
33225 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33226 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33227 (END_CHK): Define.
33228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33229 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33230 mempcpy-ssse3-back memmove-ssse3-back.
33231 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33234 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33235 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33236 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33237 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33238 * sysdeps/x86_64/multiarch/memmove.c: New file.
33239 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33240 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33241 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33242 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33243 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33245 Define.
33246 (index_Fast_Copy_Backward): Define.
33247 (HAS_ARCH_FEATURE): Define.
33248 (HAS_FAST_REP_STRING): Define.
33249 (HAS_FAST_COPY_BACKWARD): Define.
33250
4e733bac 332512010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33252
33253 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33254 Restore proper fallback handling.
33255
63c4ed22
UD
332562010-06-19 Ulrich Drepper <drepper@redhat.com>
33257
ac2b484c
UD
33258 [BZ #11701]
33259 * posix/group_member.c (__group_member): Correct checking loop.
33260
63c4ed22
UD
33261 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33262 OOM in getpwuid_r correctly. Return error number when the caller
33263 should return, otherwise -1.
33264 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33265 call returning > 0 value.
33266 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33267
765ade4b
AS
332682010-06-07 Andreas Schwab <schwab@redhat.com>
33269
33270 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33271 libc_nonshared.a from targets in modules-names.
33272
80da2e09
KS
332732010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33274
33275 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33276 requires it.
33277
158db122
LM
332782010-06-10 Luis Machado <luisgpm@br.ibm.com>
33279
33280 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33281 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33282 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33284
caa78cf8
AS
332852010-06-02 Andreas Schwab <schwab@redhat.com>
33286
33287 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33288
b2ef2c01
UD
332892010-06-14 Ulrich Drepper <drepper@redhat.com>
33290
33291 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33292 and F_GETPIPE_SZ.
33293 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33299
fbd643b6
RM
333002010-06-14 Roland McGrath <roland@redhat.com>
33301
33302 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33303
f32f2869
JJ
333042010-06-07 Jakub Jelinek <jakub@redhat.com>
33305
33306 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33307 __REDIRECT followed by __THROW.
33308 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33309 * posix/getopt.h (getopt): Likewise.
33310
2a50c078
EPM
333112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33312
33313 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33314 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33315 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33316 in AT_FLAGS.
33317 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33318 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33319
eb5ad2eb
LM
333202010-05-28 Luis Machado <luisgpm@br.ibm.com>
33321
33322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33323
3c88fe1e
L
333242010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 [BZ #11640]
33327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33328 Properly check family and model.
33329
d2f73151
TY
333302010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33331
33332 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33333
ebd2e13d
LM
333342010-05-24 Luis Machado <luisgpm@br.ibm.com>
33335
33336 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33337
b32b8b45
UD
333382010-05-21 Ulrich Drepper <drepper@redhat.com>
33339
33340 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33341 symbol reference.
33342
9acbe24d
AS
333432010-05-19 Andreas Schwab <schwab@redhat.com>
33344
33345 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33346 symbol reference.
33347
f0ccf6ea
AS
333482010-05-21 Andreas Schwab <schwab@redhat.com>
33349
3d04ff3a
AS
33350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33351 and internal_recvmmsg.
33352 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33353 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33354 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33355 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33356
f0ccf6ea
AS
33357 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33358 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33359 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33360
5b08ac57
AS
333612010-05-20 Andreas Schwab <schwab@redhat.com>
33362
33363 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33364
4828935d
LM
333652010-05-17 Luis Machado <luisgpm@br.ibm.com>
33366
33367 POWER7 optimizations.
33368 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33369 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33370
373d545e
UD
333712010-05-19 Ulrich Drepper <drepper@redhat.com>
33372
33373 * version.h: Update for 2.13 development version.
33374
21a2b1ae
AS
333752010-05-12 Andrew Stubbs <ams@codesourcery.com>
33376
33377 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33378 exceptions. Return 0.
33379
3f7dcb2b
RM
333802010-05-07 Roland McGrath <roland@redhat.com>
33381
33382 * elf/ldconfig.c (main): Add a const.
33383
5f24d53a 333842010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33385
a160f8d8
UD
33386 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33387 (args_options): Add no-idn option.
33388 (ahosts_keys_int): Add idn_flags to ai_flags.
33389 (parse_option): Handle 'i' option to clear idn_flags.
33390
5f24d53a
UD
33391 * malloc/malloc.c (_int_free): Possible race in the most recently
33392 added check. Only act on the data if no current modification
33393 happened.
265bb1ce
UD
33394
33395See ChangeLog.17 for earlier changes.
This page took 4.197613 seconds and 5 git commands to generate.