]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
malloc/tst-valloc.c: Improve test coverage and use test-skeleton.c.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7815420b
WN
12013-10-02 Will Newton <will.newton@linaro.org>
2
3 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4 improve test coverage.
5
4868b204
WN
62013-10-02 Will Newton <will.newton@linaro.org>
7
8 * malloc/Makefile: Add tst-posix_memalign.
9 * malloc/tst-posix_memalign.c: New file.
10
fd967522
PM
112013-09-30 Petr Machata <pmachata@redhat.com>
12
13 * elf/elf.h (R_AARCH64_ABS16): New macro.
14 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
34 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
53 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
64 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
65 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
66 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
67 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
68 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
69 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
70 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
71 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
72 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
73 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
74 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
75 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
76 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
77 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
78 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
79 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
80 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
81 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
82 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
83 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
84 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
85 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
86 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
87 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
88 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
89 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
90 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
91 (R_AARCH64_TLSDESC_LDR): Likewise.
92 (R_AARCH64_TLSDESC_ADD): Likewise.
93 (R_AARCH64_TLSDESC_CALL): Likewise.
94
b2179107
AS
952013-09-30 Andreas Schwab <schwab@suse.de>
96
97 [BZ #15048]
98 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
99 the nss database lookup.
100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
102
47f28d0a
MF
1032013-09-28 Mike Frysinger <vapier@gentoo.org>
104
105 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
106
1072013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
108
109 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
110 ${Bash-specific parameter/pattern/string} parameter expansion.
111 * sysdeps/unix/make-syscalls.sh: Likewise.
112
f4518a17
KK
1132013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
114
115 * sysdeps/sh/stackguard-macros.h: New file.
116
dc1a95c7
OB
1172013-09-26 Ondřej Bílka <neleai@seznam.cz>
118
119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
121 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
122 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
124 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
125
5ebbff8f
AZ
1262013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127
128 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
129 Fix thread ID register.
130
4fd2cf9f
JM
1312013-09-25 Joseph Myers <joseph@codesourcery.com>
132
133 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
134 [POSIX || UNIX98]: Require rather than permitting all symbols from
135 <time.h>.
136 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
137 element of struct sched_param.
138 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
139 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
140 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
141 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
142 constant.
143
12c22bc4
OL
1442013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
145
146 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
147 argument calculation.
148
a03d8ea7
JM
1492013-09-24 Joseph Myers <joseph@codesourcery.com>
150
151 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
152 Expect macro.
153 [POSIX] (pthread_attr_t): Do not require type.
154 [POSIX] (pthread_cond_t): Likewise.
155 [POSIX] (pthread_condattr_t): Likewise.
156 [POSIX] (pthread_key_t): Likewise.
157 [POSIX] (pthread_mutex_t): Likewise.
158 [POSIX] (pthread_mutexattr_t): Likewise.
159 [POSIX] (pthread_once_t): Likewise.
160 [POSIX] (pthread_t): Likewise.
161 [POSIX-based standards] (pthread_atfork): Expect function.
162
6055173a
JM
1632013-09-24 Joseph Myers <joseph@codesourcery.com>
164 Richard Sandiford <richard@codesourcery.com>
165
166 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
167 (swap_endianness_p): New extern variable.
168 (set_big_endian): New inline function.
169 (maybe_swap_uint32): Likewise.
170 (maybe_swap_uint32_array): Likewise.
171 (maybe_swap_uint32_obstack): Likewise.
172 * locale/programs/locfile.c: Include <stdbool.h>.
173 (swap_endianness_p): New variable.
174 (add_locale_uint32): Call maybe_swap_uint32.
175 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
176 (write_locale_data): Call maybe_swap_uint32_array.
177 * locale/programs/ld-collate.c (obstack_int32_grow): Call
178 maybe_swap_uint32.
179 (obstack_int32_grow_fast): Likewise.
180 (output_weightwc): Call maybe_swap_uint32_obstack.
181 (collate_output): Likewise.
182 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
183 (OPT_LITTLE_ENDIAN): Likewise.
184 (options): Add --little-endian and --big-endian options.
185 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
186 * locale/programs/locarchive.c: Include "locfile.h".
187 (GET): New macro.
188 (SET): Likewise.
189 (INC): Likewise.
190 (create_archive): Use the new macros to access fields of
191 structures directly mapped from or written to locale archives.
192 (oldlocrecentcmp): Likewise.
193 (enlarge_archive): Likewise.
194 (insert_name): Likewise.
195 (add_alias): Likewise.
196 (add_locale): Likewise.
197 (delete_locales_from_archive): Likewise.
198 (show_archive_content): Likewise.
199 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
200 locale data.
201
39bf0bb4
RM
2022013-09-24 Roland McGrath <roland@hack.frob.com>
203
204 * manual/freemanuals.texi: Updated from (newly) canonical copy at
205 http://www.gnu.org/doc/freemanuals.texi.
206 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
207
f02eed10
WN
2082013-09-24 Will Newton <will.newton@linaro.org>
209
210 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
211 macro.
212
a3a6c312
JM
2132013-09-23 Joseph Myers <joseph@codesourcery.com>
214
215 * locale/hashval.h (compute_hashval): Interpret bytes of key as
216 unsigned char.
217
107375ac
MR
2182013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
219
220 * manual/threads.texi (POSIX Threads): Fix a typo.
221
141f3a77
SP
2222013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
223
303e567a
SP
224 [BZ #14547]
225 * string/tst-strcoll-overflow.c: New test case.
226 * string/Makefile (xtests): Add tst-strcoll-overflow.
227 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
228 cache if string sizes may cause integer overflow.
229
141f3a77
SP
230 [BZ #14547]
231 * string/strcoll_l.c (coll_seq): New members rule, idx,
232 save_idx and back_us.
233 (get_next_seq_nocache): New function.
234 (do_compare_nocache): New function.
235 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
236 when malloc fails.
237
c61b4d41
CD
2382013-09-23 Carlos O'Donell <carlos@redhat.com>
239
0b1f8e35
CD
240 [BZ #15754]
241 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
242 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
243 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
244
c61b4d41
CD
245 [BZ #15754]
246 * elf/Makefile (tests): Add tst-ptrguard1.
247 (tests-static): Add tst-ptrguard1-static.
248 (tst-ptrguard1-ARGS): Define.
249 (tst-ptrguard1-static-ARGS): Define.
250 * elf/tst-ptrguard1.c: New file.
251 * elf/tst-ptrguard1-static.c: New file.
252 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
253 * sysdeps/i386/stackguard-macros.h: Likewise.
254 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
255 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
256 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
257 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
258 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
259 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
260
2612013-09-23 Hector Marco <hecmargi@upv.es>
262 Ismael Ripoll <iripoll@disca.upv.es>
263 Carlos O'Donell <carlos@redhat.com>
264
265 [BZ #15754]
266 * sysdeps/generic/stackguard-macros.h: Define
267 __pointer_chk_guard_local and POINTER_CHK_GUARD.
268 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
269 Define __pointer_chk_guard_local.
270 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
271 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
272
f5f4e7b4
VV
2732013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
274
275 [BZ #15859]
276 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
277
5bb43a43
AS
2782013-09-20 Andreas Schwab <schwab@linux-m68k.org>
279
280 * include/string.h (__ffs): Declare as hidden.
281 * string/ffs.c (__ffs): Define as hidden.
282 * sysdeps/i386/ffs.c (__ffs): Likewise.
283 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
284 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
285 * sysdeps/s390/ffs.c (__ffs): Likewise.
286 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
287
3ea5be54
AO
2882013-09-20 Alexandre Oliva <aoliva@redhat.com>
289
ffb89e53
AO
290 * NEWS: Mention malloc probes.
291
322dea08
AO
292 * malloc/arena.c (new_heap): New memory_heap_new probe.
293 (grow_heap): New memory_heap_more probe.
294 (shrink_heap): New memory_heap_less probe.
295 (heap_trim): New memory_heap_free probe.
296 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
297 (systrim): New memory_sbrk_less probe.
298 * manual/probes.texi: Document them.
299
655673f3
AO
300 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
301 * manual/probes.texi: Document it.
302
35fed6f1
AO
303 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
304 (__libc_realloc): Add memory_realloc_retry probe.
305 (__libc_memalign): Add memory_memalign_retry probe.
306 (__libc_valloc): Add memory_valloc_retry probe.
307 (__libc_pvalloc): Add memory_pvalloc_retry probe.
308 (__libc_calloc): Add memory_calloc_retry probe.
309 * manual/probes.texi: Document them.
310
6999d38c
AO
311 * malloc/arena.c (get_free_list): Add probe
312 memory_arena_reuse_free_list.
313 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
314 and memory_arena_reuse.
315 (arena_get2) [!PER_THREAD]: Likewise.
316 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
317 memory_arena_reuse_realloc.
318 * manual/probes.texi: Document them.
319
0653427f
AO
320 * malloc/malloc.c (__libc_free): Add
321 memory_mallopt_free_dyn_thresholds probe.
322 (__libc_mallopt): Add multiple memory_mallopt probes.
323 * manual/probes.texi: Document them.
324
3ea5be54
AO
325 * malloc/malloc.c: Include stap-probe.h.
326 (__libc_mallopt): Add memory_mallopt probe.
327 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
328 * manual/probes.texi: New.
329 * manual/Makefile (chapters): Add probes.
330 * manual/threads.texi: Set next node.
331
e35696c3 3322013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 333
e35696c3
CL
334 [BZ #15963, #13985]
335 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
336 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
337 Add `Chinese' to `nan' entry name.
338
4aafb73c
SP
3392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
340
341 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
342 (POLYNOMIAL): Likewise.
343 (TAYLOR_SINCOS): Likewise.
344 (TAYLOR_SLOW): Likewise.
345 (__sin): Use TAYLOR_SINCOS.
346 (__cos): Likewise.
347 (slow): Use TAYLOR_SLOW.
348 (sloww): Likewise.
349 (bsloww): Likewise.
350 (csloww): Likewise.
351
d84f25c7
LD
3522013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
353
354 * stdlib/strtod_l.c: Fix buffer overrun.
355
5eea0404
SP
3562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
357
7849ff93
SP
358 * benchtests/Makefile (bench): Add sincos.
359 * benchtests/bench-sincos.c: New file.
360
cfa3c886
SP
361 * math/libm-test.inc (cos_test_data): New test inputs.
362 (sin_test_data): Likewise.
363
b348e1e3
SP
364 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
365 macro.
366 (__sin): Use it.
367 (__cos): Likewise.
368 (slow1): Likewise.
369 (slow2): Likewise.
370 (sloww1): Likewise.
371 (sloww2): Likewise.
372 (bsloww1): Likewise.
373 (bsloww2): Likewise.
374 (cslow2): Likewise.
375 (csloww1): Likewise.
376 (csloww2): Likewise.
377
6cce25f8
SP
378 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
379 function.
380 (__sin): Use it.
381 (__cos): Likewise.
382
5eea0404
SP
383 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
384 gotos.
385 (__cos): Likewise.
386
9c21573c
MR
3872013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
388
389 * config.h.in (HAVE_MIPS_NAN2008): New macro.
390 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
391 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
392 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
393 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
394 * elf/cache.c (print_entry): Handle the new cache flags.
395
24d22e65
JM
3962013-09-18 Joseph Myers <joseph@codesourcery.com>
397 Aldy Hernandez <aldyh@redhat.com>
398
399 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
400 Change condition to [_SOFT_FLOAT].
401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
413 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
416 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
417 declaration.
418
d13ef066
JM
4192013-09-18 Joseph Myers <joseph@codesourcery.com>
420
2e071de0
JM
421 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
422 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
423 (__longjmp): Use LOAD_GP to load saved GPRs.
424 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
425 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
426 (__sigsetjmp): Use SAVE_GP to save GPRs.
427
d13ef066
JM
428 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
429 Do not append -msoft-float.
430 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
431
97a0650b
SP
4322013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
433
434 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
435
11ca09e9
JM
4362013-09-17 Joseph Myers <joseph@codesourcery.com>
437
438 [BZ #15966]
439 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
440 (_FPU_GETCW): Use initial "__" on variable and field names but not
441 on macro parameter name.
442 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
443 parentheses around reference to macro parameter.
444
e833b53f
EB
4452013-09-04 Eric Blake <eblake@redhat.com>
446
447 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
448 Use __THROWNL rather than __THROW on static functions.
449
08ffcf34
RS
4502013-09-13 Richard Sandiford <richard@codesourcery.com>
451
452 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
453 prototype.
454 (ctype_startup): Use uint32_t in cast and sizeof for
455 ctype->charnames.
456
ae7080d3
JL
4572013-09-11 Jia Liu <proljc@gmail.com>
458
459 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
460 __daddr_t_defined.
461 [__FreeBSD__]: Likewise.
462
5905e7b3
OB
4632013-09-11 Ondřej Bílka <neleai@seznam.cz>
464
465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
466 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
467 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
468 (strchr): Remove __strchr_sse42 ifunc selection.
469 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
470 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
471
b987c776
WN
4722013-09-11 Will Newton <will.newton@linaro.org>
473
474 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
475 parameter to RES. Remove hardcoded 1000 value.
476 * benchtests/bench-skeleton.c (main): Pass RES parameter
477 to TIMING_INIT and multiply result by 1000.
478
ddf985af
AZ
4792013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480
481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
482
ffdd3181
AS
4832013-09-11 Andreas Schwab <schwab@suse.de>
484
485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
486 if not defined.
487 (O_TMPFILE) [__USE_GNU]: Define.
488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
489 Define.
490
b73ed247
WN
4912013-09-11 Will Newton <will.newton@linaro.org>
492
493 [BZ #15857]
494 * malloc/malloc.c (__libc_memalign): Check the value of bytes
495 does not overflow.
496
55e17aad
WN
4972013-09-11 Will Newton <will.newton@linaro.org>
498
499 [BZ #15856]
500 * malloc/malloc.c (__libc_valloc): Check the value of bytes
501 does not overflow.
502
1159a193
WN
5032013-09-11 Will Newton <will.newton@linaro.org>
504
505 [BZ #15855]
506 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
507 does not overflow.
508
5905e7b3 5092013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
510
511 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
513 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
515 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
516
cdfc721b
AM
5172013-09-10 Allan McRae <allan@archlinux.org>
518
aa04af00
AM
519 [BZ #15748]
520 * manual/arith.texi (Parsing of Floats): Clarify
521 cross-reference.
522
cdfc721b
AM
523 [BZ #15849]
524 * manual/install.texi (Running make install): Mention
525 --enable-pt-chown.
526 * INSTALL: Regenerated.
527
95e7cf29
MR
5282013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
529
530 * csu/init-first.c (_init): Remove the !SHARED condition around
531 FPU control word initialization.
532 * elf/dl-support.c (_dl_fpu_control): New variable.
533 (_dl_aux_init) <AT_FPUCW>: Initialize it.
534 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
535 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
536 * math/test-fpucw-static.c: New file.
537 * math/test-fpucw-ieee.c: New file.
538 * math/test-fpucw-ieee-static.c: New file.
539 * math/Makefile (tests): Add `test-fpucw-ieee' and
540 `$(tests-static)'.
541 (tests-static): New variable.
542 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
543 dependency to...
544 [($(build-shared),yes)]
545 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
546 ... this.
547 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
548 New dependency.
549
83e43bf0
AM
5502013-09-09 Allan McRae <allan@archlinux.org>
551
a9f5ce09
AM
552 [BZ #15939]
553 * manual/string.texi (Collation Functions): Fix typo in
554 strcoll example.
555 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
556
34829bc2
AM
557 [BZ #15893]
558 * stdlib/isomac.c (get_null_defines): Fix memory leak.
559
3932737d
AM
560 [BZ #15892]
561 * libio/memstream.c (open_memstream): Fix memory leak.
562 * libio/wmemstream.c (open_wmemstream): Likewise.
563
83e43bf0
AM
564 [BZ #15895]
565 * nscd/netgroupcache.c: Fix nesting of ifdefs.
566
0c66b8e9
WN
5672013-09-09 Will Newton <will.newton@linaro.org>
568
569 * malloc/Makefile: Add tst-realloc to tests.
570 * malloc/tst-realloc.c: New file.
571
f6b00fd1
AM
5722013-09-09 Allan McRae <allan@archlinux.org>
573
574 [BZ #15844]
575 * COPYING: Update from GNU website to fix FSF address.
576 * COPYING.LIB: Likewise.
577
eec55e16
DM
5782013-09-06 David S. Miller <davem@davemloft.net>
579
580 * po/zh_TW.po: Update Chinese (traditional) translation from
581 translation project.
582
1ecbb381
RS
5832013-09-06 Richard Sandiford <richard@codesourcery.com>
584 Joseph Myers <joseph@codesourcery.com>
585
586 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
587 "localeinfo.h".
588 (obstack_chunk_alloc): New macro.
589 (obstack_chunk_free): Likewise.
590 (record_offset): New function.
591 (init_locale_data): Likewise.
592 (align_locale_data): Likewise.
593 (add_locale_empty): Likewise.
594 (add_locale_raw_data): Likewise.
595 (add_locale_raw_obstack): Likewise.
596 (add_locale_string): Likewise.
597 (add_locale_wstring): Likewise.
598 (add_locale_uint32): Likewise.
599 (add_locale_uint32_array): Likewise.
600 (add_locale_char): Likewise.
601 (start_locale_structure): Likewise.
602 (end_locale_structure): Likewise.
603 (start_locale_prelude): Likewise.
604 (end_locale_prelude): Likewise.
605 (write_locale_data): Take locale_file structure rather than an
606 iovec.
607 * locale/programs/locfile.h: Include "obstack.h".
608 (struct locale_file): Change to store locale file contents instead
609 of header.
610 (init_locale_data): New prototype.
611 (align_locale_data): Likewise.
612 (add_locale_empty): Likewise.
613 (add_locale_raw_data): Likewise.
614 (add_locale_raw_obstack): Likewise.
615 (add_locale_string): Likewise.
616 (add_locale_wstring): Likewise.
617 (add_locale_uint32): Likewise.
618 (add_locale_uint32_array): Likewise.
619 (add_locale_char): Likewise.
620 (start_locale_structure): Likewise.
621 (end_locale_structure): Likewise.
622 (start_locale_prelude): Likewise.
623 (end_locale_prelude): Likewise.
624 (write_locale_data): Update prototype.
625 * locale/programs/3level.h (struct TABLE): Remove result field.
626 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
627 Use new locale_file interface.
628 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
629 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
630 * locale/programs/ld-address.c (address_output): Use new
631 locale_file interface.
632 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
633 NO_ADD_LOCALE.
634 (collate_finish): Don't call collseq_table_finalize.
635 (collate_output): Use new locale_file interface.
636 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
637 in file.
638 (NO_FINALIZE): Change to NO_ADD_LOCALE.
639 (TABLE): Move defines earlier in file.
640 (ELEMENT): Likewise.
641 (DEFAULT): Likewise.
642 (wctrans_table_add): Move macro and inline function earlier in
643 file.
644 (struct wctype_table): Move type earlier in file.
645 (add_locale_wctype_table): New static prototype.
646 (struct locale_ctype_t): Use logical types instead of struct iovec
647 pointers for members.
648 (ctype_output): Use new locale_file interface.
649 (wctype_table_finalize): Change to add_locale_wctype_table. Use
650 new locale_file interface.
651 (allocate_arrays): Update for use of new locale_file interface.
652 * locale/programs/ld-identification.c (identification_output): Use
653 new locale_file interface.
654 * locale/programs/ld-measurement.c (measurement_output): Likewise.
655 * locale/programs/ld-messages.c (messages_output): Likewise.
656 * locale/programs/ld-monetary.c (monetary_output): Likewise.
657 * locale/programs/ld-name.c (name_output): Likewise.
658 * locale/programs/ld-numeric.c (numeric_output): Likewise.
659 * locale/programs/ld-paper.c (paper_output): Likewise.
660 * locale/programs/ld-telephone.c (telephone_output): Likewise.
661 * locale/programs/ld-time.c (time_output): Likewise.
662
e029e2e5
AZ
6632013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
664
665 * benchtests/Makefile: Add memrchr benchmark.
666 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
667 benchmark as memrchr.
668 * benchtests/bench-memrchr-ifunc.c: New file.
669 * benchtests/bench-memrchr.c: New file.
670
bbf6e8e4
WN
6712013-09-06 Will Newton <will.newton@linaro.org>
672
673 * benchtests/Makefile (string-bench): Add memcpy.
674
6c82a2f8
CD
6752013-09-05 Carlos O'Donell <carlos@redhat.com>
676 Cong Wang <amwang@redhat.com>
677
678 * sysdeps/unix/sysv/linux/bits/in.h
679 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
680 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
681 before __USE_KERNEL_IPV6_DEFS uses.
682 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
683 IPPROTO_BEETPH.
684 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
685 sockaddr_in6, or ipv6_mreq.
686
5430fc65
AZ
6872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
690 memory access for final bytes in some large inputs.
691 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
692
4660856c
AZ
6932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694
695 * string/test-memrchr.c: New file.
696 * string/test-memrchr-ifunc.c: New file.
697 * string/Makefile: Add new memrchr testcase.
698
bb8ea713
MF
6992013-09-05 Mike Frysinger <vapier@gentoo.org>
700
701 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
702 fanotify_init returns EPERM.
703
b92a20b5
JM
7042013-09-04 Joseph Myers <joseph@codesourcery.com>
705
706 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
707 errors.
708 (top level): Treat second token from macro or constant entries for
709 allowed headers as allowed.
710 * include/complex.h: Condition internal declarations on
711 [!_ISOMAC].
712 * include/fenv.h: Condition include of <stdbool.h> and internal
713 declarations on [!_ISOMAC].
7447ccd9
CL
714
7152013-09-04 Chris Leonard <cjl@sugarlabs,.org>
716
3e181dda 717 [BZ #15923]
7447ccd9
CL
718 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
719
3f2e46a4
JM
7202013-09-04 Joseph Myers <joseph@codesourcery.com>
721
722 * configure.in (--enable-versioning): Remove configure option.
723 (libc_cv_asm_symver_directive): Remove configure test.
724 (libc_cv_ld_version_script_option): Likewise.
725 (VERSIONING): Remove variable and AC_SUBST.
726 (DO_VERSIONING): Remove AC_DEFINE.
727 * configure: Regenerated.
728 * config.h.in (DO_VERSIONING): Remove macro.
729 * Makerules [$(versioning) = yes]: Change conditionals to
730 [$(build-shared) = yes].
731 * config.make.in (versioning): Remove variable.
732 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
733 [$(build-shared) = yes].
734 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
735 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
736 * elf/Makefile [$(versioning) = yes]: Change conditionals to
737 [$(build-shared) = yes].
738 * extra-lib.mk [$(versioning) = yes]: Likewise.
739 * hurd/Makefile [$(versioning) = yes]: Likewise.
740 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
741 [SHARED].
742 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
743 [SHARED].
744 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
745 [SHARED && !NO_HIDDEN].
746 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
747 [SHARED].
748 [SHARED && DO_VERSIONING]: Likewise..
749 * libio/Makefile [$(versioning) = yes]: Change conditionals to
750 [$(build-shared) = yes].
751 * manual/install.texi (--disable-versioning): Remove
752 documentation.
753 * INSTALL: Regenerated.
754 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
755 to [SHARED].
756 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
757 [$(build-shared) = yes].
758 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
759 * sysdeps/i386/i686/multiarch/strstr-c.c
760 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
761 [SHARED && !NO_HIDDEN].
762 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
763 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
764 * sysdeps/powerpc/powerpc32/dl-machine.c
765 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
766 * sysdeps/powerpc/powerpc32/sysdep.h
767 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
768 to [SHARED && PIC && !NO_HIDDEN].
769 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
770 conditional to [SHARED].
771
44558701
WN
7722013-09-04 Will Newton <will.newton@linaro.org>
773
774 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
775 * benchtests/bench-string.h: Include bench-timing.h instead
776 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
777 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
778 call to HP_TIMING_DIFF_INIT.
779 * benchtests/bench-memccpy.c: Use bench-timing.h macros
780 instead of hp-timing.h macros.
781 * benchtests/bench-memchr.c: Likewise.
782 * benchtests/bench-memcmp.c: Likewise.
783 * benchtests/bench-memcpy.c: Likewise.
784 * benchtests/bench-memmem.c: Likewise.
785 * benchtests/bench-memmove.c: Likewise.
786 * benchtests/bench-memset.c: Likewise.
787 * benchtests/bench-rawmemchr.c: Likewise.
788 * benchtests/bench-strcasecmp.c: Likewise.
789 * benchtests/bench-strcasestr.c: Likewise.
790 * benchtests/bench-strcat.c: Likewise.
791 * benchtests/bench-strchr.c: Likewise.
792 * benchtests/bench-strcmp.c: Likewise.
793 * benchtests/bench-strcpy.c: Likewise.
794 * benchtests/bench-strcpy_chk.c: Likewise.
795 * benchtests/bench-strlen.c: Likewise.
796 * benchtests/bench-strncasecmp.c: Likewise.
797 * benchtests/bench-strncat.c: Likewise.
798 * benchtests/bench-strncmp.c: Likewise.
799 * benchtests/bench-strncpy.c: Likewise.
800 * benchtests/bench-strnlen.c: Likewise.
801 * benchtests/bench-strpbrk.c: Likewise.
802 * benchtests/bench-strrchr.c: Likewise.
803 * benchtests/bench-strspn.c: Likewise.
804 * benchtests/bench-strstr.c: Likewise.
805
cae16d66
WN
8062013-09-04 Will Newton <will.newton@linaro.org>
807
808 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
809
ffa3cd7f
JM
8102013-09-03 Joseph Myers <joseph@codesourcery.com>
811
812 [BZ #15427]
813 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
814 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
815 * math/libm-test.inc (lgamma_test_data): Add more tests.
816 * sysdeps/i386/fpu/libm-test-ulps: Update.
817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
818
8f02859f
OB
8192013-09-03 Ondřej Bílka <neleai@seznam.cz>
820
821 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
822 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
823 Add ifunc.
824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
825 Add strcmp-sse2-unaligned
826 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
827
18d43716
MF
8282013-09-02 Mike Frysinger <vapier@gentoo.org>
829
830 * Versions.def (libc): Add GLIBC_2.19.
831
ac444012
MF
8322013-09-02 Mike Frysinger <vapier@gentoo.org>
833
834 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
835 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
836
b7835e32
JM
8372013-09-02 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #14155]
840 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
841 intermediate calculations in recurrence.
842 (__ieee754_ynf): Likewise.
843 * math/libm-test.inc (jn_test_data): Do not allow spurious
844 underflow exception. Add more tests.
845 (yn_test_data): Add more tests.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
848
8220f4f0
OB
8492013-09-02 Ondřej Bílka <neleai@seznam.cz>
850
851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
852
f24a6d08
OB
8532013-08-30 Ondřej Bílka <neleai@seznam.cz>
854
855 * csu/init-first.c: Fix then/than typos.
856 * locale/programs/ld-collate.c: Likewise.
857 * locale/programs/linereader.h: Likewise.
858 * manual/charset.texi: Likewise.
859 * manual/filesys.texi: Likewise.
860 * manual/stdio.texi: Likewise.
861 * manual/string.texi: Likewise.
862 * stdlib/fmtmsg.c: Likewise.
863 * sysdeps/i386/stpncpy.S: Likewise.
864 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
865 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
868
382466e0
OB
8692013-08-30 Ondřej Bílka <neleai@seznam.cz>
870
871 * elf/dl-open.c: Fix typos.
872 * iconvdata/gbbig5.c: Likewise.
873 * iconvdata/iso-2022-jp.c: Likewise.
874 * iconv/gconv_int.h: Likewise.
875 * iconv/loop.c: Likewise.
876 * nis/rpcsvc/nis.h: Likewise.
877 * resolv/ns_name.c: Likewise.
878 * stdio-common/vfscanf.c: Likewise.
879 * streams/stropts.h: Likewise.
880 * sunrpc/rpc_thread.c: Likewise.
881 * sysdeps/i386/strpbrk.S: Likewise.
882 * sysdeps/ieee754/k_standard.c: Likewise.
883 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
885 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
886 * sysdeps/mach/hurd/profil.c: Likewise.
887 * sysdeps/s390/dl-procinfo.h: Likewise.
888 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
890 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
891 * sysdeps/x86_64/dl-trampoline.S: Likewise.
892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
893
0186c6e9
OB
8942013-08-30 Ondřej Bílka <neleai@seznam.cz>
895
896 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
898
d4e16af1
OB
8992013-08-29 Ondřej Bílka <neleai@seznam.cz>
900
901 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
902 aix specific files.
903 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
907 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
908 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
911
88335980
TS
9122013-08-29 Thomas Schwinge <thomas@codesourcery.com>
913 Roland McGrath <roland@hack.frob.com>
914
915 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
916 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
917
ed479b02
ST
9182013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
919
920 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
921 __executable_start symbol instead of _start.
922
f1cc4c86
TS
9232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
924
d821f07c
TS
925 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
926 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
927 Move macros to...
928 * sysdeps/gnu/ldsodefs.h: ... this new file.
929
c54290cf
TS
930 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
931 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
932 instead of ELFOSABI_LINUX.
933
0007fc9b 934 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
935 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
936 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
937 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
938 Likewise.
939 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
940 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
941 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
942 Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
944 (ibm_extended_long_double): Add ieee_nan member.
945 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
946 (do_test): New function.
947
f1cc4c86
TS
948 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
949 TEST_TRUNC.
950 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
951 functions, renamed from truncdfsf_test, trunctfsf_test,
952 trunctfdf_test.
953 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
954 functions.
955 (do_test): Run all these.
956
6f65e668
OB
9572013-08-29 Ondřej Bílka <neleai@seznam.cz>
958
959 * argp/argp-help.c: Fix typos.
960 * argp/argp-parse.c: Likewise.
961 * debug/backtracesyms.c: Likewise.
962 * elf/elf.h: Likewise.
963 * malloc/malloc.c: Likewise.
964 * nis/nis_print.c: Likewise.
965 * resolv/res_comp.c: Likewise.
966 * stdlib/stdlib.h: Likewise.
967 * sunrpc/clnt_tcp.c: Likewise.
968 * sunrpc/clnt_udp.c: Likewise.
969 * sunrpc/clnt_unix.c: Likewise.
970 * sysdeps/unix/bsd/ptsname.c: Likewise.
971 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
974 Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
976 Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
978 Likewise.
6f65e668
OB
979 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
980
3a309239
SP
9812013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
982
983 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
985
3b813b29
MF
9862013-08-27 Mike Frysinger <vapier@gentoo.org>
987
988 [BZ #15897]
989 * dlfcn/Makefile (tests): Add bug-dl-leaf.
990 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
991 ($(objpfx)bug-dl-leaf): New rule.
992 ($(objpfx)bug-dl-leaf.so): Likewise.
993 ($(objpfx)bug-dl-leaf.out): Likewise.
994 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
995 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
996 * dlfcn/bug-dl-leaf.c: New test.
997 * dlfcn/bug-dl-leaf-lib.c: Likewise.
998 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
999 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1000 (dlclose): Likewise.
1001 (dlmopen): Likewise.
1002
8cc3269f
RM
10032013-08-27 Roland McGrath <roland@hack.frob.com>
1004
7f9d0034
RM
1005 * include/netdb.h [!_ISOMAC]:
1006 Don't include <tls.h>.
1007 (h_errno, __libc_h_errno): Move declaration and macros out of
1008 [_LIBC_REENTRANT].
1009
fb431262
RM
1010 * include/resolv.h [_RESOLV_H_]:
1011 Don't include <tls.h>.
1012 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1013 * resolv/res_libc.c: Don't include <tls.h>.
1014 (_res): Use __attribute__ ((nocommon)) in place of
1015 __attribute__ ((section (".bss"))).
1016
bd81123a
RM
1017 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1018 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1019
c4e42566
RM
1020 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1021
f890a59b
RM
1022 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1023 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1024
1025 * resolv/res_mkquery.c: Include <sys/time.h>.
1026
5d1f0a09
RM
1027 * inet/ifreq.c: Moved to ...
1028 * sysdeps/unix/ifreq.c: ... here.
1029 * inet/ifreq.c: New file, true stub version.
1030
6fcf28b3
RM
1031 * socket/sa_len.c: New file.
1032 * socket/Makefile (aux): Add it.
1033 * sysdeps/unix/sysv/linux/Makefile
1034 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1035 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1036 and #include <socket/sa_len.c>.
1037 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1038 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1039
e041fb8b
RM
1040 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1041 * bits/socket.h: ... here.
1042
8cc3269f
RM
1043 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1044 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1045 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1046
5d228a43
AS
10472013-08-27 Andreas Schwab <schwab@suse.de>
1048
45b8accc
AS
1049 [BZ #15736]
1050 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1051 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1052 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1053 * string/test-strcasecmp.c (test_main): Run tests in several
1054 locales.
1055 * string/test-strncasecmp.c (test_main): Likewise.
1056
5d228a43
AS
1057 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1058 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1059 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1061 (__strncasecmp_ssse3) [PIC]: Likewise.
1062
59d112a4
RM
10632013-08-26 Roland McGrath <roland@hack.frob.com>
1064
53234cc3
RM
1065 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1066
59d112a4
RM
1067 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1068 instead of explicitly declaring xdecrypt.
1069 * nis/nss_nis/nis-publickey.c: Likewise.
1070
595aba70
SP
10712013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1072
1073 [BZ #15890]
1074 * nscd/aicache.c: Include res_hconf.h.
1075 (addhstaiX): Initialize res_hconf.
1076
ffabd393
AS
10772013-08-26 Andreas Schwab <schwab@suse.de>
1078
1079 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1080 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1081
e0a69f5c
SP
10822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1083
1084 * nscd/aicache.c (addhstaiX): Fix indentation.
1085
8c12f01d
MF
10862013-08-25 Mike Frysinger <vapier@gentoo.org>
1087
1088 * configure.ac: Quote $build_pt_chown test.
1089 * configure: Regenerated.
1090
8fe89494
JM
10912013-08-23 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #15532]
1094 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1095 * math/s_cexpf.c (__cexpf): Likewise.
1096 * math/s_cexpl.c (__cexpl): Likewise.
1097 * math/libm-test.inc (cexp_test_data): Correct expected return
1098 value for NaN + i0. Add another test.
1099
75b181d6
DM
11002013-08-22 David S. Miller <davem@davemloft.net>
1101
1102 * po/ca.po: Update Catalan translation from translation project.
936241e4 1103 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1104
acd06bb1
JM
11052013-08-21 Joseph Myers <joseph@codesourcery.com>
1106
1107 [BZ #15797]
1108 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1109 is infinite, not alongside NaN test.
1110 * math/s_fdimf.c (__fdimf): Likewise.
1111 * math/s_fdiml.c (__fdiml): Likewise.
1112 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1113 errno is unchanged.
1114
c0c3f78a
OB
11152013-08-21 Ondřej Bílka <neleai@seznam.cz>
1116
1117 * argp/argp-help.c: Fix typos.
1118 * crypt/speeds.c: Likewise.
1119 * csu/check_fds.c: Likewise.
1120 * elf/dl-load.c: Likewise.
1121 * elf/dl-open.c: Likewise.
1122 * elf/reldep3.c: Likewise.
1123 * elf/reldep.c: Likewise.
1124 * elf/sprof.c: Likewise.
1125 * iconv/iconv_charmap.c: Likewise.
1126 * iconv/skeleton.c: Likewise.
1127 * iconv/strtab.c: Likewise.
1128 * io/lockf64.c: Likewise.
1129 * libio/libioP.h: Likewise.
1130 * resolv/gai_notify.c: Likewise.
1131 * resolv/ns_name.c: Likewise.
1132 * resolv/ns_samedomain.c: Likewise.
1133 * resolv/res_send.c: Likewise.
1134 * stdlib/random.c: Likewise.
1135 * sunrpc/rpc/xdr.h: Likewise.
1136 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1138 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1139 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1140 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1144 * sysdeps/mach/hurd/check_fds.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1146 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1147 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1149 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1150 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1151 * sysdeps/pthread/aio_notify.c: Likewise.
1152 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1153 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1154 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1155 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1156 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1157
46ed1038
LD
11582013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1159
1160 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1161 version if bit_Slow_SSE4_2 is set.
1162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1164
d400dcac
AZ
11652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166
1167 [BZ #15867]
1168 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1169 trampoline stack frame information.
1170 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1172 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1173 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1174 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1175 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1176 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1177 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1178 sa_flags value.
1179 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1180 interrupting a syscall and set with option SA_SIGINFO.
1181
42c8fdd8
JM
11822013-08-20 Joseph Myers <joseph@codesourcery.com>
1183
c980f2f4
JM
1184 [BZ #15531]
1185 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1186 argument is infinite.
1187 * math/s_cprojf.c (__cprojf): Likewise.
1188 * math/s_cprojl.c (__cprojl): Likewise.
1189 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1190 * math/libm-test.inc (cproj_test_data): Add more tests.
1191
0716c4fc
JM
1192 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1193
42c8fdd8
JM
1194 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1195 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1196 size. Use __ffs to determine corresponding shift.
1197
b31469d0
JM
11982013-08-20 Joseph Myers <joseph@codesourcery.com>
1199 Roland McGrath <roland@hack.frob.com>
1200
1201 * Makefile (INSTALL): Remove trailing blank lines from output of
1202 makeinfo.
1203
4e39af6e
AK
12042013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1205
1206 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1207 Align 32 bit compat elf_greg to 8 bytes.
1208
f315524e
AA
12092013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1210
1211 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1212
1326ba1a
SP
12132013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1214
1215 * string/strcoll_l.c (coll_seq): New structure.
1216 (get_next_seq_cached): New function.
1217 (get_next_seq): New function.
1218 (do_compare): New function.
1219 (STRCOLL): Use GNU style definition. Simplify implementation
1220 by using get_next_seq, get_next_seq_cached and do_compare.
1221
91ce4085
FW
12222013-08-16 Florian Weimer <fweimer@redhat.com>
1223
1224 [BZ #14699]
1225 CVE-2013-4237
1226 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1227 member.
1228 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1229 member.
1230 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1231 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1232 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1233 conditional.
1234 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1235 GETDENTS_64BIT_ALIGNED.
1236 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1237 * manual/filesys.texi (Reading/Closing Directory): Document
1238 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1239 strongly.
1240 * manual/conf.texi (Limits for Files): Add portability note to
1241 NAME_MAX, PATH_MAX.
1242 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1243
ca0a6bc4
AS
12442013-08-13 Andreas Schwab <schwab@suse.de>
1245
1246 [BZ #15749]
1247 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1248 of fabs.
1249 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1250 LDBL_MAX_EXP >= 16384]: Add tests for it.
1251
6c1fd795
DM
12522013-08-12 David S. Miller <davem@davemloft.net>
1253
1254 * version.h (RELEASE): Set to "development".
1255 (VERSION): Set to "2.18.90".
1256 * NEWS: Add 2.19 section.
1257
31ad488d
DM
12582013-08-03 David S. Miller <davem@davemloft.net>
1259
1260 * po/ko.po: Update Korean translation from translation project.
1261
db24e684
DM
12622013-08-01 David S. Miller <davem@davemloft.net>
1263
1264 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1265 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1266 Bilka.
1267
f723285b
DM
12682013-07-30 David S. Miller <davem@davemloft.net>
1269
1270 * po/fr.po: Update French translation from translation project.
1271
3cbc52db
DM
12722013-07-28 David S. Miller <davem@davemloft.net>
1273
30bbc0cc
DM
1274 * po/cs.po: Update Czech translation from translation project.
1275
3cbc52db
DM
1276 * po/sv.po: Update Swedish translation from translation project.
1277
d492e6d0
DM
12782013-07-27 David S. Miller <davem@davemloft.net>
1279
f1a7f492
DM
1280 * po/eo.po: Update Esperanto translation from translation project.
1281
90e62a4a
DM
1282 * po/vi.po: Update Vietnamese translation from translation project.
1283
d492e6d0
DM
1284 * po/de.po: Update German translation from translation project.
1285
d4baa62d
DM
12862013-07-26 David S. Miller <davem@davemloft.net>
1287
641aa7b4
DM
1288 * po/bg.po: Update Bulgarian translation from translation project.
1289
d4baa62d
DM
1290 * po/nl.po: Update Dutch translation from translation project.
1291 * po/pl.po: Update Polish translation from translation project.
1292 * po/ru.po: Update Russian translation from translation project.
1293
61a9dcb9
DM
12942013-07-24 David S. Miller <davem@davemloft.net>
1295
1296 * po/libc.pot: Update.
1297
7b1f8b58
AZ
12982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1299
1300 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1301 variable page size.
1302 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1304 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1305
a8fc7a03
AK
13062013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1307
1308 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1309
e4608715
CD
13102013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1311 Andreas Schwab <schwab@suse.de>
1312 Roland McGrath <roland@hack.frob.com>
1313 Joseph Myers <joseph@codesourcery.com>
1314 Carlos O'Donell <carlos@redhat.com>
1315
1316 [BZ #15755]
1317 * config.h.in: Define HAVE_PT_CHOWN.
1318 * config.make.in (build-pt-chown): New variable.
1319 * configure.in (--enable-pt_chown): New configure option.
1320 * configure: Regenerate.
1321 * login/Makefile: Include Makeconfig. Build pt_chown only if
1322 build-pt-chown is enabled.
1323 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1324 pt_chown to fix pty ownership.
1325 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1326 CLOSE_ALL_FDS.
1327 * manual/install.texi (Configuring and compiling): Mention
1328 --enable-pt_chown. Add @findex for grantpt.
1329 * INSTALL: Regenerate.
1330
da2d62df
DM
13312013-07-20 David S. Miller <davem@davemloft.net>
1332
1333 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1334 difference between 32-bit and 64-bit.
1335
d7e06450
CD
13362013-07-15 Carlos O'Donell <carlos@redhat.com>
1337
1338 [BZ #15711]
1339 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1340 Avoid system header dependency with -ffreestanding.
1341 ($(objpfx)bits/syscall%d): Likewise.
1342
f959cfd7
DM
13432013-07-13 David S. Miller <davem@davemloft.net>
1344
1345 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1346 underflows from atanl/atan2l due to bug 15319.
1347 (casinh_test_data): Likewise.
1348
c61f8513
DM
13492013-07-07 David S. Miller <davem@davemloft.net>
1350
1351 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1352
72c90ed0
JA
13532013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1354
1355 * sysdeps/i386/fpu/libm-test-ulps: Update.
1356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1357
52dfbe13
SP
13582013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1359
1360 * configure.in (--enable-lock-elision): Fix message text.
1361 * INSTALL: Regenerate.
1362 * configure: Regenerate.
1363
3f169543
AZ
13642013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365
1366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1367
521c6785
AJ
13682013-07-03 Andreas Jaeger <aj@suse.de>
1369
1370 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1371 define.
1372 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1373 (ptrace_peeksiginfo_args): Add.
1374 (__ptrace_peeksiginfo_flags): Add.
1375 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1377 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1378
d2cc15cb
AM
13792013-07-03 Allan McRae <allan@archlinux.org>
1380
1381 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382
3aaeeca7
DM
13832013-07-02 David S. Miller <davem@davemloft.net>
1384
1385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1386
5314ed1a
MT
13872013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1388
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1390
67338156
JM
13912013-07-02 Joseph Myers <joseph@codesourcery.com>
1392
1393 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1395
1717da59
AK
13962013-07-02 Andi Kleen <ak@linux.intel.com>
1397
1398 * config.h.in (ENABLE_LOCK_ELISION): Add.
1399 * configure.in (--enable-lock-elision): Add option.
1400 * manual/install.texi: Document --enable lock elision.
1401 * configure: Regenerate
1402 * INSTALL: Regenerate.
1403
1c81621c
L
14042013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1407 SSE4.2 strcasecmp for libc.a.
1408 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1409
77f01ab5
JM
14102013-07-02 Joseph Myers <joseph@codesourcery.com>
1411
1412 [BZ #13304]
1413 * soft-fp/op-common.h (_FP_FMA): New macro.
1414 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1415 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1416 (_FP_MUL_MEAT_1_imm): ... here.
1417 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1418 (_FP_MUL_MEAT_1_wide): ... here.
1419 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1420 (_FP_MUL_MEAT_1_hard): ... here.
1421 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1422 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1423 (_FP_MUL_MEAT_2_wide): ... here.
1424 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1425 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1426 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1427 (_FP_MUL_MEAT_2_gmp): ... here.
1428 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1429 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1430 (_FP_MUL_MEAT_4_wide): ... here.
1431 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1432 (_FP_MUL_MEAT_4_gmp): ... here.
1433 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1434 (_FP_WFRACBITS_DW_S): Likewise.
1435 (_FP_WFRACXBITS_DW_S): Likewise.
1436 (_FP_HIGHBIT_DW_S): Likewise.
1437 (FP_FMA_S): Likewise.
1438 (_FP_FRAC_HIGH_DW_S): Likewise.
1439 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1440 (_FP_WFRACBITS_DW_D): Likewise.
1441 (_FP_WFRACXBITS_DW_D): Likewise.
1442 (_FP_HIGHBIT_DW_D): Likewise.
1443 (FP_FMA_D): Likewise.
1444 (_FP_FRAC_HIGH_DW_D): Likewise.
1445 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1446 (_FP_WFRACBITS_DW_E): Likewise.
1447 (_FP_WFRACXBITS_DW_E): Likewise.
1448 (_FP_HIGHBIT_DW_E): Likewise.
1449 (FP_FMA_E): Likewise.
1450 (_FP_FRAC_HIGH_DW_E): Likewise.
1451 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1452 (_FP_WFRACBITS_DW_Q): Likewise.
1453 (_FP_WFRACXBITS_DW_Q): Likewise.
1454 (_FP_HIGHBIT_DW_Q): Likewise.
1455 (FP_FMA_Q): Likewise.
1456 (_FP_FRAC_HIGH_DW_Q): Likewise.
1457 * soft-fp/fmasf4.c: New file.
1458 * soft-fp/fmadf4.c: Likewise.
1459 * soft-fp/fmatf4.c: Likewise.
1460
6308fd9a
LD
14612013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1462
1463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1464 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1465 Silvermont.
1466 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1467 macro.
1468 (index_Slow_SSE4_2): Likewise.
1469 (index_Prefer_PMINUB_for_stringop): Likewise.
1470 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1471 bit_Slow_SSE4_2 is set.
1472 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1474
89cd9569
RA
14752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1476
1477 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1478 rtld_global._dl_hwcap2.
1479 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1480 POWER8.
1481 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1482 POWER8 feature descriptions defined in _dl_hwcap2.
1483 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1484 string handling for POWER8 feature bits.
1485 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1486 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1487 _dl_powerpc_cap_flags.
1488 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1489 * sysdeps/powerpc/rtld-global-offsets.sym
1490 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1491 _dl_hwcap2 in the rtld_global_ro structure.
1492
1ae8bfe0
RA
14932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1494
1495 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1496 hardware capabilities in support of AT_HWCAP2.
1497 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1498 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1499 GLRO(dl_hwcap2).
1500 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1501 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1502 explicitly the unknown a_type display mechanism is used.
1503 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1504 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1505 struct member.
1506 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1507 to macro prototype for AT_HWCAP2 support.
1508 * sysdeps/i386/dl-procinfo.h: Likewise.
1509 * sysdeps/s390/dl-procinfo.h: Likewise.
1510 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1511 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1512 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1513 return -1 for unknown a_type display fallback.
1514 * sysdeps/sparc/dl-procinfo.h: Likewise.
1515 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1516 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1517
8fbec010
JM
15182013-06-28 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1521 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1522
0432680e
PY
15232013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1524
1525 [BZ #12492]
1526 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1527 mprotect making __stack_prot writable.
1528
ce61a2ad
NF
15292013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1530 Joseph Myers <joseph@codesourcery.com>
1531
1532 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1533 as being properly aligned.
1534
f91f1c0f
MR
15352013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1536
3d0f5d0c
MR
1537 * dlfcn/modstatic5.c: New file.
1538 * dlfcn/tststatic5.c: New file.
1539 * dlfcn/Makefile (tests): Add tststatic5.
1540 (tests-static): Likewise.
1541 (modules-names): Add modstatic5.
1542 (tststatic5-ENV): New variable.
1543 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1544
f91f1c0f
MR
1545 [BZ #15022]
1546 * elf/dl-support.c (_dl_main_map): New variable.
1547 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1548 (_dl_nns, _dl_load_adds): Set to 1.
1549 (_dl_initial_searchlist): Refer to _dl_main_map.
1550 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1551 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1552 call to _dl_get_origin.
1553 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1554 around call_map.
1555 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1556 * dlfcn/modstatic3.c: New file.
1557 * dlfcn/tststatic3.c: New file.
1558 * dlfcn/tststatic4.c: New file.
1559 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1560 (tests-static): Likewise.
1561 (modules-names): Add modstatic3.
1562 (tststatic3-ENV, tststatic4-ENV): New variables.
1563 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1564 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1565
cbe7d24b
JM
15662013-06-26 Joseph Myers <joseph@codesourcery.com>
1567
1568 * configure.in (CC): Require GCC version 4.4 or later.
1569 * configure: Regenerated.
1570 * manual/install.texi (Tools for Compilation): Update GCC version
1571 requirement.
1572 * INSTALL: Regenerated.
1573
11b8a0e1
LD
15742013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1575
1576 [BZ #15674]
bb5bb87c
L
1577 * string/test-memcmp.c (check2): New.
1578 (main): Call check2.
1579
11b8a0e1
LD
1580 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1581
b0037103
MR
15822013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1583
1584 [BZ #15022]
1585 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1586 over to...
1587 (dl_open_worker) [!SHARED]: ... here.
1588
c18c701d
RA
15892013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1590
1591 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1592
1d17fa5f
RH
15932013-06-25 Richard Henderson <rth@redhat.com>
1594
1595 * locale/programs/locarchive.c: Include <libc-internal.h>
1596
8fcb833a
JM
15972013-06-25 Joseph Myers <joseph@codesourcery.com>
1598
1599 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1600 trailing whitespace removed.
1601
17db6e8d
MF
16022013-06-24 Mike Frysinger <vapier@gentoo.org>
1603
1604 [BZ #10283]
17db6e8d
MF
1605 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1606 * locale/programs/locarchive.c: Include libc-mmap.h.
1607 (prepare_address_space): Take two new outputs (the mmap base and len).
1608 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1609 values.
1610 (create_archive): Declare new mmap base and len values for
1611 prepare_address_space, and store the result in ah.
1612 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1613 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1614 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1615 Declare new mmap base and len values for
1616 prepare_address_space, and store the result in new_ah.
1617 (open_archive): Declare new mmap base and len values for
1618 prepare_address_space, and store the result in ah.
1619 (close_archive): If ah->mmap_base is not NULL, use that and
1620 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1621 * sysdeps/generic/libc-mmap.h: New file.
1622
d605071e
MF
16232013-06-24 Mike Frysinger <vapier@gentoo.org>
1624
1625 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1626 (ALIGN_UP): Likewise.
1627 (PTR_ALIGN_DOWN): Likewise.
1628 (PTR_ALIGN_UP): Likewise.
1629
2f063a6e
RA
16302013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1631
1632 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1633 entry mapped to PPC_PLATFORM_POWER8.
1634 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1635 POWER8.
1636 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1637 (_dl_string_platform): Add case for exporting platform position for
1638 POWER8.
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1640 search path to sysdeps/powerpc/powerpc32/power8 directory.
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1642 search path to sysdeps/powerpc/powerpc64/power8 directory.
1643 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1644 power7 directories.
1645 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1646 power7 directories.
1647
a31ee4b3
SP
16482013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1649
a74ca98f
SP
1650 * INSTALL: Regenerate.
1651
a31ee4b3
SP
1652 * nscd/connections.c (nscd_init): Fix comment.
1653
695c378f
JM
16542013-06-22 Joseph Myers <joseph@codesourcery.com>
1655
d8412221
JM
1656 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1657
695c378f
JM
1658 [BZ #15667]
1659 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1660 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1661
d1d54715
MR
16622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1663
1664 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1665 DL_DST_REQ_STATIC.
1666 (DL_DST_REQ_STATIC): Remove macro.
1667
8fdda7af
JM
16682013-06-21 Joseph Myers <joseph@codesourcery.com>
1669
1670 [BZ #7006]
1671 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1672 with a shift of 0 bits.
1673
f3bc5e5a
MR
16742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1675
1676 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1677 $(tststatic-ENV).
1678
be09e8c9
KK
16792013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1680
1681 [BZ #15655]
1682 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1683
85c2e611
AZ
16842013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1685
1686 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1687 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1688 accepts -fno-tree-loop-distribute-patterns.
1689 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1690 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1691 recursive call.
1692 * string/memset.c (memset): Likewise.
1693 * string/test-memmove.c (simple_memmove): Disable loop transformation
1694 to library calls.
1695 * string/test-memset.c (simple_memset): Likewise.
1696 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1697 * benchtests/bench-memset.c (simple_memset): Likewise.
1698 * configure: Regenerated.
1699
c91e0825
JM
17002013-06-20 Joseph Myers <joseph@codesourcery.com>
1701
b8c792af
JM
1702 * math/test-misc.c (main): Ignore fesetround failure when failures
1703 of subsequent rounding tests would be ignored.
1704
c91e0825
JM
1705 [BZ #15654]
1706 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1707 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1708 * math/fegetenv.c (__fegetenv): Return 0.
1709 * math/fegetexcept.c (fegetexcept): Return 0.
1710 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1711 FE_TONEAREST.
1712 * math/feholdexcpt.c (feholdexcept): Return 0.
1713 * math/fesetenv.c (__fesetenv): Return 0.
1714 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1715 argument FE_TONEAREST.
1716 * math/feupdateenv.c (__feupdateenv): Return 0.
1717 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1718
bfcacbde
RM
17192013-06-18 Roland McGrath <roland@hack.frob.com>
1720
1721 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1722 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1723 ($(objpfx)rtld-%.os rules): Use them.
1724
e55a9b25
AZ
17252013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726
1727 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1728 fields.
1729
346d65b3
RM
17302013-06-17 Roland McGrath <roland@hack.frob.com>
1731
12086fb4
RM
1732 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1733 length of target pattern, then descending length of dependency pattern.
1734 * configure.in (AWK): Require gawk 3.1.2 or newer.
1735 * manual/install.texi (Tools for Compilation): Say that we do.
1736 * configure: Regenerated.
1737
346d65b3
RM
1738 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1739 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1740 * scripts/sysd-rules.awk: ... this new script.
1741 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1742 than a glob-style pattern.
1743
1a846317
JM
17442013-06-17 Joseph Myers <joseph@codesourcery.com>
1745
1746 * math/test-misc.c (main): Do not treat incorrectly rounded
1747 conversions as failure unless ROUNDING_TESTS passes.
1748
8fc75e6f
JM
17492013-06-15 Joseph Myers <joseph@codesourcery.com>
1750
3711a167
JM
1751 [BZ #15631]
1752 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1753 restore exception state around main square root computation, then
1754 check for inexactness explicitly.
1755
8fc75e6f
JM
1756 * math/libm-test.inc (fma_test_data): Add another test.
1757
61dd6208
SP
17582013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1759
adf23d2c
SP
1760 * manual/threads.texi (Non-POSIX Extensions): New document
1761 node. Document pthread_getattr_default_np and
1762 pthread_setattr_default_np.
1763
61dd6208
SP
1764 * Versions.def (libpthread): Add GLIBC_2.18.
1765 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1767 Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1769 Likewise.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1771 Likewise.
1772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1777 Likewise.
1778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1779 Likewise.
1780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1781 Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1783 Likewise.
1784
d086fc7b
LD
17852013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1786
1787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1788 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1789
747ef469
SP
17902013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1791 H.J. Lu <hjl.tools@gmail.com>
1792
1793 [BZ #15627]
1794 * sysdeps/x86_64/rtld-memset.c: Remove file.
1795 * sysdeps/x86_64/rtld-memset.S: New file.
1796
1b2feed2
JM
17972013-06-14 Joseph Myers <joseph@codesourcery.com>
1798
1799 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1800 (test_in_one_mode): Take arguments for whether the rounding mode
1801 is supported for each floating-point type.
1802 (do_test): Pass new arguments to test_in_one_mode using
1803 ROUNDING_TESTS.
1804
a58ad3f8
RM
18052013-06-13 Roland McGrath <roland@hack.frob.com>
1806
1807 * posix/tst-waitid.c (do_test): Distinguish different instances of
1808 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1809 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1810 before entering the kernel for waitpid.
1811
c204ab28
SP
18122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1813
1814 * NEWS: Fix note on clock function precision. Text by Roland
1815 McGrath.
1816
f4a29fba
RM
18172013-06-13 Roland McGrath <roland@hack.frob.com>
1818
1819 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1820 it into place only when and if the sanity check passes.
1821
1f24b9ad
JM
18222013-06-13 Joseph Myers <joseph@codesourcery.com>
1823
1824 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1825 output for whether conversion result is exact. Take argument
1826 indicating whether type is IBM long double.
1827 (round_for_all): Change need_exact field to ibm_ld.
1828 * stdlib/tst-strtod-round.c (struct exactness): New type.
1829 (struct test): Change bool ld_ok field to struct exactness exact.
1830 (TEST): Update all definitions for change to field.
1831 (tests): Regenerate array contents.
1832 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1833 field value. Check for IBM long double here.
1834 (do_test): Update calls to test_in_one_mode.
1835
58206c68
SP
18362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1837
1838 [BZ #12515]
1839 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1840 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1841
2d6f4c5b 18422013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1843
1844 [BZ #15605]
1845 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1846 generated by the compiler on loop optimizations.
1847 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1848 general definitions.
1849
94f2c076
JM
18502013-06-12 Joseph Myers <joseph@codesourcery.com>
1851
1852 * math/bug-nextafter.c: Include <math-tests.h>.
1853 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1854 the relevant type.
1855 * math/bug-nexttoward.c: Include <math-tests.h>.
1856 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1857 the relevant type.
1858 * math/test-misc.c: Include <math-tests.h>.
1859 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1860 the relevant type.
1861
e0e50a0a
AJ
18622013-06-12 Andreas Jaeger <aj@suse.de>
1863
1864 * po/ia.po: Update Interlingua translation from translation
1865 project.
1866
25061094
SP
18672013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1868
1869 * include/fenv.h: Include stdbool.h.
1870 (struct rm_ctx): New structure.
1871 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1872 Define macro.
1873 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1874 (SET_RESTORE_ROUNDF): Likewise.
1875 (SET_RESTORE_ROUNDL): Likewise.
1876 (SET_RESTORE_ROUND_NOEX): Likewise.
1877 (SET_RESTORE_ROUND_NOEXF): Likewise.
1878 (SET_RESTORE_ROUND_NOEXL): Likewise.
1879 (SET_RESTORE_ROUND_53BIT): Likewise.
1880 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1881 (libc_feresetround_noexf_ctx): Likewise.
1882 (libc_feresetround_noexl_ctx): Likewise.
1883 (libc_feholdsetround_53bit_ctx): Likewise.
1884 (libc_feresetround_53bit_ctx): Likewise.
1885 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1886 (libc_feholdexcept_setround_sse_ctx): New function.
1887 (libc_fesetenv_sse_ctx): Likewise.
1888 (libc_feupdateenv_sse_ctx): Likewise.
1889 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1890 (libc_feholdexcept_setround_387_ctx): Likewise.
1891 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1892 (libc_feholdsetround_387_prec_ctx): Likewise.
1893 (libc_feholdsetround_387_ctx): Likewise.
1894 (libc_feholdsetround_387_53bit_ctx): Likewise.
1895 (libc_feholdsetround_sse_ctx): Likewise.
1896 (libc_feresetround_sse_ctx): Likewise.
1897 (libc_feresetround_387_ctx): Likewise.
1898 (libc_feupdateenv_387_ctx): Likewise.
1899 (libc_feholdexcept_setroundf_ctx): Define macro.
1900 (libc_fesetenvf_ctx): Likewise.
1901 (libc_feupdateenvf_ctx): Likewise.
1902 (libc_feholdsetroundf_ctx): Likewise.
1903 (libc_feresetroundf_ctx): Likewise.
1904 (libc_feholdexcept_setround_ctx): Likewise.
1905 (libc_fesetenv_ctx): Likewise.
1906 (libc_feupdateenv_ctx): Likewise.
1907 (libc_feholdsetround_ctx): Likewise.
1908 (libc_feresetround_ctx): Likewise.
1909 (libc_feholdexcept_setroundl_ctx): Likewise.
1910 (libc_feupdateenvl_ctx): Likewise.
1911 (libc_feholdsetroundl_ctx): Likewise.
1912 (libc_feresetroundl_ctx): Likewise.
1913 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1914 (libc_feresetround_53bit_ctx): Likewise.
1915
59b30555
SP
19162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 * locale/iso-639.def: Convert to UTF-8.
1919
f1d73d30
JM
19202013-06-11 Joseph Myers <joseph@codesourcery.com>
1921
1922 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1923 (EXCEPTION_TESTS_double): Likewise.
1924 (EXCEPTION_TESTS_long_double): Likewise.
1925 (EXCEPTION_TESTS): Likewise.
1926 * math/libm-test.inc (test_exceptions): Only test exceptions if
1927 EXCEPTION_TESTS (FLOAT).
1928
94aca5e7
SP
19292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1930
1931 * benchtests/Makefile (string-bench): Add strcpy_chk and
1932 stpcpy_chk.
1933 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1934 * benchtests/bench-stpcpy_chk.c: New file.
1935 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1936 * benchtests/bench-strcpy_chk.c: New file.
1937 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1938 code.
1939 (do_test): Likewise.
1940
fac0c5f2
RA
19412013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1942
1943 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1944 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1945 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1946 with tabs where appropriate.
1947 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1948 dl-procinfo.h.
1949 [PPC_PLATFORM_PPC440]: Likewise.
1950 [PPC_PLATFORM_PPC464]: Likewise.
1951 [PPC_PLATFORM_PPC476]: Likewise.
1952 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1953 ppc464, and ppc476 platform strings merging from ports/
1954 dl-procinfo.h.
1955
f22bc486
AS
19562013-06-11 Andreas Schwab <schwab@suse.de>
1957
1958 [BZ #14991]
1959 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1960 (from_ucs4_idx): Regenerate.
1961 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1962 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1963 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1964 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1965 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1966 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1967 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1968 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1969 from FROM_LOOP and TO_LOOP specific macros.
1970 (BODY): Handle combining characters.
1971 * iconvdata/BIG5HKSCS.irreversible: Update.
1972 * iconvdata/BIG5HKSCS.precomposed: New file.
1973 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1974 characters.
1975 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1976
c1f75dc3
SP
19772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1978
4eacded2
SP
1979 * include/sys/time.h: Fix indentation and add copyright header.
1980
fec799f8
SP
1981 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1982 (do_test): Likewise.
1983 * string/test-memchr.c (do_one_test): Likewise.
1984 (do_test): Likewise.
1985 * string/test-memcmp.c (do_one_test): Likewise.
1986 (do_test): Likewise.
1987 * string/test-memcpy.c (do_one_test): Likewise.
1988 (do_test): Likewise.
1989 * string/test-memmem.c (do_one_test): Likewise.
1990 (do_test): Likewise.
1991 (do_random_tests): Likewise.
1992 * string/test-memmove.c (do_one_test): Likewise.
1993 (do_test): Likewise.
1994 * string/test-memset.c (do_one_test): Likewise.
1995 (do_test): Likewise.
1996 * string/test-rawmemchr.c (do_one_test): Likewise.
1997 (do_test): Likewise.
1998 * string/test-strcasecmp.c (do_one_test): Likewise.
1999 (do_test): Likewise.
2000 * string/test-strcasestr.c (do_one_test): Likewise.
2001 (do_test): Likewise.
2002 * string/test-strcat.c (do_one_test): Likewise.
2003 (do_test): Likewise.
2004 * string/test-strchr.c (do_one_test): Likewise.
2005 (do_test): Likewise.
2006 * string/test-strcmp.c (do_one_test): Likewise.
2007 (do_test): Likewise.
2008 * string/test-strcpy.c (do_one_test): Likewise.
2009 (do_test): Likewise.
2010 * string/test-string.h: Likewise.
2011 (test_init): Likewise.
2012 * string/test-strlen.c (do_one_test): Likewise.
2013 (do_test): Likewise.
2014 * string/test-strncasecmp.c (do_one_test): Likewise.
2015 (do_test): Likewise.
2016 * string/test-strncat.c (do_one_test): Likewise.
2017 (do_test): Likewise.
2018 * string/test-strncmp.c (do_one_test): Likewise.
2019 (do_test_limit): Likewise.
2020 (do_test): Likewise.
2021 * string/test-strncpy.c (do_one_test): Likewise.
2022 (do_test): Likewise.
2023 * string/test-strnlen.c (do_one_test): Likewise.
2024 (do_test): Likewise.
2025 * string/test-strpbrk.c (do_one_test): Likewise.
2026 (do_test): Likewise.
2027 * string/test-strrchr.c (do_one_test): Likewise.
2028 (do_test): Likewise.
2029 * string/test-strspn.c (do_one_test): Likewise.
2030 (do_test): Likewise.
2031 * string/test-strstr.c (do_one_test): Likewise.
2032 (do_test): Likewise.
2033
97020474
SP
2034 * benchtests/Makefile (string-bench): Add string benchmarks.
2035 * benchtests/bench-bcopy-ifunc.c: New file.
2036 * benchtests/bench-bcopy.c: New file.
2037 * benchtests/bench-bzero-ifunc.c: New file.
2038 * benchtests/bench-bzero.c: New file.
2039 * benchtests/bench-memccpy-ifunc.c: New file.
2040 * benchtests/bench-memccpy.c: New file.
2041 * benchtests/bench-memchr-ifunc.c: New file.
2042 * benchtests/bench-memchr.c: New file.
2043 * benchtests/bench-memcmp-ifunc.c: New file.
2044 * benchtests/bench-memcmp.c: New file.
2045 * benchtests/bench-memmem-ifunc.c: New file.
2046 * benchtests/bench-memmem.c: New file.
2047 * benchtests/bench-memmove-ifunc.c: New file.
2048 * benchtests/bench-memmove.c: New file.
2049 * benchtests/bench-mempcpy-ifunc.c: New file.
2050 * benchtests/bench-mempcpy.c: New file.
2051 * benchtests/bench-memset-ifunc.c: New file.
2052 * benchtests/bench-memset.c: New file.
2053 * benchtests/bench-rawmemchr-ifunc.c: New file.
2054 * benchtests/bench-rawmemchr.c: New file.
2055 * benchtests/bench-stpcpy-ifunc.c: New file.
2056 * benchtests/bench-stpcpy.c: New file.
2057 * benchtests/bench-stpncpy-ifunc.c: New file.
2058 * benchtests/bench-stpncpy.c: New file.
2059 * benchtests/bench-strcasecmp-ifunc.c: New file.
2060 * benchtests/bench-strcasecmp.c: New file.
2061 * benchtests/bench-strcasestr-ifunc.c: New file.
2062 * benchtests/bench-strcasestr.c: New file.
2063 * benchtests/bench-strcat-ifunc.c: New file.
2064 * benchtests/bench-strcat.c: New file.
2065 * benchtests/bench-strchr-ifunc.c: New file.
2066 * benchtests/bench-strchr.c: New file.
2067 * benchtests/bench-strchrnul-ifunc.c: New file.
2068 * benchtests/bench-strchrnul.c: New file.
2069 * benchtests/bench-strcmp-ifunc.c: New file.
2070 * benchtests/bench-strcmp.c: New file.
2071 * benchtests/bench-strcpy-ifunc.c: New file.
2072 * benchtests/bench-strcpy.c: New file.
2073 * benchtests/bench-strcspn-ifunc.c: New file.
2074 * benchtests/bench-strcspn.c: New file.
2075 * benchtests/bench-strlen-ifunc.c: New file.
2076 * benchtests/bench-strlen.c: New file.
2077 * benchtests/bench-strncasecmp-ifunc.c: New file.
2078 * benchtests/bench-strncasecmp.c: New file.
2079 * benchtests/bench-strncat-ifunc.c: New file.
2080 * benchtests/bench-strncat.c: New file.
2081 * benchtests/bench-strncmp-ifunc.c: New file.
2082 * benchtests/bench-strncmp.c: New file.
2083 * benchtests/bench-strncpy-ifunc.c: New file.
2084 * benchtests/bench-strncpy.c: New file.
2085 * benchtests/bench-strnlen-ifunc.c: New file.
2086 * benchtests/bench-strnlen.c: New file.
2087 * benchtests/bench-strpbrk-ifunc.c: New file.
2088 * benchtests/bench-strpbrk.c: New file.
2089 * benchtests/bench-strrchr-ifunc.c: New file.
2090 * benchtests/bench-strrchr.c: New file.
2091 * benchtests/bench-strspn-ifunc.c: New file.
2092 * benchtests/bench-strspn.c: New file.
2093 * benchtests/bench-strstr-ifunc.c: New file.
2094 * benchtests/bench-strstr.c: New file.
2095
c1f75dc3
SP
2096 * benchtests/Makefile: Disable parallel execution of targets.
2097 (string-bench): Add memcpy.
2098 (benchset): New variable to store a list of benchmark sets.
2099 (bench-func): Renamed from bench.
2100 (bench-set): New target.
2101 (bench): Depend on bench-func and bench-set.
2102 * benchtests/README: Add section on benchmark sets.
2103 * benchtests/bench-memcpy-ifunc.c: New file.
2104 * benchtests/bench-memcpy.c: New file.
2105 * benchtests/bench-string.h: New file.
2106
50fd745b
AS
21072013-06-11 Andreas Schwab <schwab@suse.de>
2108
2109 [BZ #15577]
2110 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2111 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2112 values in the triple.
2113 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2114 terminator in the group key.
2115
3ee7e9fe
AJ
21162013-06-11 Andreas Jaeger <aj@suse.de>
2117
2118 * po/zh_TW.po: Update Chinese (traditional) translation from
2119 translation project.
2120
89fb6835
SP
21212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
2123 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2124 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2125 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2127 (clock_getcpuclockid): Likewise.
2128 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2129 Add weak_alias and libc_hidden_def.
2130 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2131 * rt/clock_gettime.c (clock_gettime): Rename to
2132 __clock_gettime. Add weak_alias and libc_hidden_def.
2133 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2134 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2135 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2136 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2137 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2138 Likewise.
2139 * rt/clock_settime.c (clock_settime): Rename to
2140 __clock_settime. Add weak_alias and libc_hidden_def.
2141 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2142
0efa6f8b
JM
21432013-06-10 Joseph Myers <joseph@codesourcery.com>
2144
b8c61b4b
JM
2145 * mach/err_boot.sub: Remove trailing whitespace.
2146 * mach/err_ipc.sub: Likewise.
2147 * mach/err_mach.sub: Likewise.
2148
0efa6f8b
JM
2149 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2150 (ROUNDING_TESTS_double): Likewise.
2151 (ROUNDING_TESTS_long_double): Likewise.
2152 (ROUNDING_TESTS): Likewise.
2153 * math/libm-test.inc: Include <math-tests.h>.
2154 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2155 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2156 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2157 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2158
50b818bf
SP
21592013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
2161 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2162 of assigning.
2163
60d2f8f3
JM
21642013-06-08 Joseph Myers <joseph@codesourcery.com>
2165
4902d2c3
JM
2166 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2167 otherwise empty TRANS lines.
2168 * sysdeps/gnu/errlist.c: Regenerated.
2169
60d2f8f3
JM
2170 * catgets/gencat.c (error_print): Use (void) in function
2171 definition.
2172 * crypt/crypt_util.c (__init_des): Likewise.
2173 * crypt/speeds.c (Stop): Likewise.
2174 (main): Likewise.
2175 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2176 * inet/ruserpass.c (token): Likewise.
2177 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2178 * intl/localealias.c (extend_alias_table): Likewise.
2179 * intl/plural-exp.c (init_germanic_plural): Likewise.
2180 * libio/fcloseall.c (__fcloseall): Likewise.
2181 * libio/genops.c (_IO_flush_all): Likewise.
2182 (_IO_flush_all_linebuffered): Likewise.
2183 (_IO_cleanup): Likewise.
2184 (_IO_iter_begin): Likewise.
2185 (_IO_iter_end): Likewise.
2186 (_IO_list_lock): Likewise.
2187 (_IO_list_unlock): Likewise.
2188 (_IO_list_resetlock): Likewise.
2189 * libio/getchar.c (getchar): Likewise.
2190 * libio/getchar_u.c (getchar_unlocked): Likewise.
2191 * libio/getwchar.c (getwchar): Likewise.
2192 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2193 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2194 * login/getpt.c (__getpt): Likewise.
2195 * login/tst-utmp.c (main): Likewise.
2196 * malloc/hooks.c (__malloc_check_init): Likewise.
2197 * malloc/malloc.c (__malloc_stats): Likewise.
2198 * malloc/mtrace.c (tr_break): Likewise.
2199 (mtrace): Likewise.
2200 (muntrace): Likewise.
2201 * misc/fstab.c (endfsent): Likewise.
2202 * misc/getclktck.c (__getclktck): Likewise.
2203 * misc/getdtsz.c (__getdtablesize): Likewise.
2204 * misc/gethostid.c (gethostid): Likewise.
2205 * misc/getpagesize.c (__getpagesize): Likewise.
2206 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2207 (__get_nprocs): Likewise.
2208 (__get_phys_pages): Likewise.
2209 (__get_avphys_pages): Likewise.
2210 * misc/getttyent.c (getttyent): Likewise.
2211 (setttyent): Likewise.
2212 (endttyent): Likewise.
2213 * misc/getusershell.c (getusershell): Likewise.
2214 (endusershell): Likewise.
2215 (setusershell): Likewise.
2216 (initshells): Likewise.
2217 * misc/hsearch.c (__hdestroy): Likewise.
2218 * misc/sync.c (sync): Likewise.
2219 * misc/syslog.c (closelog_internal): Likewise.
2220 (closelog): Likewise.
2221 * misc/ttyslot.c (ttyslot): Likewise.
2222 * misc/vhangup.c (vhangup): Likewise.
2223 * posix/fork.c (__fork): Likewise.
2224 * posix/getegid.c (__getegid): Likewise.
2225 * posix/geteuid.c (__geteuid): Likewise.
2226 * posix/getgid.c (__getgid): Likewise.
2227 * posix/getpid.c (__getpid): Likewise.
2228 * posix/getppid.c (__getppid): Likewise.
2229 * posix/getuid.c (__getuid): Likewise.
2230 * posix/pause.c (pause): Likewise.
2231 * posix/setpgrp.c (setpgrp): Likewise.
2232 * posix/setsid.c (__setsid): Likewise.
2233 * posix/test-vfork.c (noop): Likewise.
2234 * resolv/gethnamaddr.c (_endhtent): Likewise.
2235 (_gethtent): Likewise.
2236 (ht_endhostent): Likewise.
2237 (gethostent): Likewise.
2238 (dns_service): Likewise.
2239 * stdlib/drand48.c (drand48): Likewise.
2240 * stdlib/lrand48.c (lrand48): Likewise.
2241 * stdlib/mrand48.c (mrand48): Likewise.
2242 * stdlib/rand.c (rand): Likewise.
2243 * stdlib/random.c (__random): Likewise.
2244 * stdlib/setenv.c (clearenv): Likewise.
2245 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2246 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2247 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2248 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2249 (__get_nprocs): Likewise.
2250 (__get_phys_pages): Likewise.
2251 (__get_avphys_pages): Likewise.
2252 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2253 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2254 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2255 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2256 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2257 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2258 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2259 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2260 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2261 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2262 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2263 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2264 * sysdeps/posix/clock.c (clock): Likewise.
2265 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2266 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2267 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2268 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2269 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2270 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2271 (__get_nprocs_conf): Likewise.
2272 (__get_phys_pages): Likewise.
2273 (__get_avphys_pages): Likewise.
2274 * time/clock.c (clock): Likewise.
2275 * time/tzset.c (__tzname_max): Likewise.
2276
2e09a79a
JM
22772013-06-07 Joseph Myers <joseph@codesourcery.com>
2278
2279 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2280 (__bswap_32): Do not use "register".
2281 * crypt/crypt.c (_ufc_doit_r): Likewise.
2282 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2283 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2284 * gmon/gmon.c (__monstartup): Likewise.
2285 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2286 * hurd/hurdmalloc.c (more_memory): Likewise.
2287 (malloc): Likewise.
2288 (free): Likewise.
2289 (realloc): Likewise.
2290 (malloc_fork_prepare): Likewise.
2291 (malloc_fork_parent): Likewise.
2292 (malloc_fork_child): Likewise.
2293 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2294 (_svcauth_des): Likewise.
2295 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2296 * inet/inet_net.c (inet_network): Likewise.
2297 * inet/inet_netof.c (inet_netof): Likewise.
2298 * inet/rcmd.c (__validuser2_sa): Likewise.
2299 * io/fts.c (fts_open): Likewise.
2300 (fts_load): Likewise.
2301 (fts_close): Likewise.
2302 (fts_read): Likewise.
2303 (fts_children): Likewise.
2304 (fts_build): Likewise.
2305 (fts_stat): Likewise.
2306 (fts_sort): Likewise.
2307 (fts_alloc): Likewise.
2308 (fts_lfree): Likewise.
2309 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2310 (_IO_file_xsgetn): Likewise.
2311 (_IO_file_xsgetn_mmap): Likewise.
2312 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2313 (_IO_cookie_write): Likewise.
2314 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2315 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2316 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2317 * malloc/obstack.c (_obstack_begin): Likewise.
2318 (_obstack_begin_1): Likewise.
2319 (_obstack_newchunk): Likewise.
2320 (_obstack_allocated_p): Likewise.
2321 (obstack_free): Likewise.
2322 (_obstack_memory_used): Likewise.
2323 * misc/getttyent.c (getttynam): Likewise.
2324 (getttyent): Likewise.
2325 (skip): Likewise.
2326 (value): Likewise.
2327 * misc/getusershell.c (initshells): Likewise.
2328 * misc/syslog.c (__vsyslog_chk): Likewise.
2329 * misc/ttyslot.c (ttyslot): Likewise.
2330 * nis/nis_hash.c (__nis_hash): Likewise.
2331 * posix/fnmatch_loop.c (FCT): Likewise.
2332 * posix/getconf.c (print_all): Likewise.
2333 (main): Likewise.
2334 * posix/getopt.c (exchange): Likewise.
2335 * posix/glob.c (globfree): Likewise.
2336 (prefix_array): Likewise.
2337 (__glob_pattern_type): Likewise.
2338 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2339 (NS_GET32): Likewise.
2340 (NS_PUT16): Likewise.
2341 (NS_PUT32): Likewise.
2342 * resolv/gethnamaddr.c (getanswer): Likewise.
2343 (gethostbyname2): Likewise.
2344 (gethostbyaddr): Likewise.
2345 (_gethtent): Likewise.
2346 (_gethtbyname2): Likewise.
2347 (_gethtbyaddr): Likewise.
2348 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2349 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2350 * resolv/res_init.c (__res_vinit): Likewise.
2351 (net_mask): Likewise.
2352 * resolv/res_mkquery.c (outchar): Likewise.
2353 (PRINT): Likewise.
2354 * stdio-common/printf_fp.c (outchar): Likewise.
2355 (PRINT): Likewise.
2356 * stdio-common/printf_fphex.c (outchar): Likewise.
2357 (PRINT): Likewise.
2358 * stdio-common/printf_size.c (outchar): Likewise.
2359 (PRINT): Likewise.
2360 * stdio-common/test_rdwr.c (main): Likewise.
2361 * stdio-common/tfformat.c (matches): Likewise.
2362 * stdio-common/vfprintf.c (outchar): Likewise.
2363 (printf_unknown): Likewise.
2364 (buffered_vfprintf): Likewise.
2365 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2366 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2367 (ReadFile): Likewise.
2368 * stdlib/qsort.c (SWAP): Likewise.
2369 (_quicksort): Likewise.
2370 * stdlib/setenv.c (__add_to_environ): Likewise.
2371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2372 * stdlib/strtol_l.c (__strtol_l): Likewise.
2373 * stdlib/tst-strtod.c (main): Likewise.
2374 * stdlib/tst-strtol.c (main): Likewise.
2375 * stdlib/tst-strtoll.c (main): Likewise.
2376 * string/bits/string2.h (__strcmp_cc): Likewise.
2377 (__strcmp_cg): Likewise.
2378 (__strcspn_c1): Likewise.
2379 (__strcspn_c2): Likewise.
2380 (__strcspn_c3): Likewise.
2381 (__strspn_c1): Likewise.
2382 (__strspn_c2): Likewise.
2383 (__strspn_c3): Likewise.
2384 (__strsep_1c): Likewise.
2385 (__strsep_2c): Likewise.
2386 (__strsep_3c): Likewise.
2387 * string/memccpy.c (__memccpy): Likewise.
2388 * string/stpcpy.c (__stpcpy): Likewise.
2389 * string/strcmp.c (strcmp): Likewise.
2390 * string/strrchr.c (strrchr): Likewise.
2391 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2392 Likewise.
2393 * sysdeps/mach/hurd/getcwd.c
2394 (_hurd_canonicalize_directory_name_internal): Likewise.
2395 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2396 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2397 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2398 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2399 Likewise, in both definitions.
2400 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2401 definitions.
2402 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2403 64] (__bswap_64): Likewise.
2404 * time/test_time.c (main): Likewise.
2405 * time/tzfile.c (__tzfile_read): Likewise.
2406 (__tzfile_compute): Likewise.
2407 * time/tzset.c (__tzset_parse_tz): Likewise.
2408 (tzset_internal): Likewise.
2409 (compute_change): Likewise.
2410 * wcsmbs/wcscat.c (__wcscat): Likewise.
2411 * wcsmbs/wcschr.c (wcschr): Likewise.
2412 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2413 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2414 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2415 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2416 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2417 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2418 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2419 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2420 * wcsmbs/wmemset.c (wmemset): Likewise.
2421
9e54314b
JM
24222013-06-06 Joseph Myers <joseph@codesourcery.com>
2423
2424 * scripts/config.guess: Update to version 2013-05-16.
2425 * scripts/config.sub: Update to version 2013-04-24.
2426 * scripts/install-sh: Update to version 2011-11-20.07.
2427 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2428 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2429
350635a5
OB
24302013-06-06 Ondřej Bílka <neleai@seznam.cz>
2431
2432 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2433 * elf/sln.c: Likewise.
2434 * hurd/hurd/ioctl.h: Likewise.
2435 * hurd/hurdmalloc.c: Likewise.
2436 * hurd/xattr.c: Likewise.
2437 * include/shlib-compat.h: Likewise.
2438 * inet/ruserpass.c: Likewise.
2439 * libio/iofgets_u.c: Likewise.
2440 * libio/iofgetws_u.c: Likewise.
2441 * locale/programs/ld-identification.c: Likewise.
2442 * locale/programs/ld-time.c: Likewise.
2443 * mach/msg-destroy.c: Likewise.
2444 * nss/nss_files/files-netgrp.c: Likewise.
2445 * resolv/res_data.c: Likewise.
2446 * soft-fp/op-1.h: Likewise.
2447 * soft-fp/op-2.h: Likewise.
2448 * soft-fp/op-4.h: Likewise.
2449 * soft-fp/op-common.h: Likewise.
2450 * stdio-common/printf_fphex.c: Likewise.
2451 * stdlib/strtod_l.c: Likewise.
2452 * sunrpc/rpc/clnt.h: Likewise.
2453 * sysdeps/generic/framestate.c: Likewise.
2454 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2455 * sysdeps/i386/bsd-setjmp.S: Likewise.
2456 * sysdeps/i386/__longjmp.S: Likewise.
2457 * sysdeps/i386/setjmp.S: Likewise.
2458 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2459 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2476 * sysdeps/ieee754/support.c: Likewise.
2477 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2478 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2479 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2480 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2481 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2482 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2483 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2484 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2485 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2486 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2487 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2488 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2489 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2490 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2491 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2492 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2493 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2495
44a988af
OB
24962013-06-05 Ondřej Bílka <neleai@seznam.cz>
2497
25506f09 2498 * posix/transbug.c: Remove executable mode.
44a988af 2499
9c84384c
JM
25002013-06-05 Joseph Myers <joseph@codesourcery.com>
2501
2502 * crypt/speeds.c: Remove trailing whitespace.
2503 * dlfcn/default.c: Likewise.
2504 * elf/ifuncdep2.c: Likewise.
2505 * elf/ifuncmain1.c: Likewise.
2506 * elf/ifuncmain1vis.c: Likewise.
2507 * elf/testobj.h: Likewise.
2508 * elf/tst-stackguard1.c: Likewise.
2509 * gmon/sys/gmon.h: Likewise.
2510 * hurd/hurdmsg.c: Likewise.
2511 * hurd/new-fd.c: Likewise.
2512 * hurd/ports-get.c: Likewise.
2513 * iconvdata/ibm1008_420.c: Likewise.
2514 * inet/tst-getni1.c: Likewise.
2515 * inet/tst-getni2.c: Likewise.
2516 * libio/ioungetc.c: Likewise.
2517 * libio/wfiledoalloc.c: Likewise.
2518 * manual/libm-err-tab.pl: Likewise.
2519 * math/w_dremf.c: Likewise.
2520 * misc/ftruncate.c: Likewise.
2521 * posix/bug-glob2.c: Likewise.
2522 * posix/tst-pcre.c: Likewise.
2523 * posix/wait4.c: Likewise.
2524 * resolv/README: Likewise.
2525 * resolv/res_debug.h: Likewise.
2526 * resolv/tst-inet_ntop.c: Likewise.
2527 * setjmp/bug269-setjmp.c: Likewise.
2528 * soft-fp/extended.h: Likewise.
2529 * soft-fp/op-1.h: Likewise.
2530 * soft-fp/op-2.h: Likewise.
2531 * soft-fp/op-4.h: Likewise.
2532 * soft-fp/op-8.h: Likewise.
2533 * soft-fp/testit.c: Likewise.
2534 * stdio-common/bug16.c: Likewise.
2535 * stdlib/random.c: Likewise.
2536 * sunrpc/rpcsvc/rquota.x: Likewise.
2537 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2538 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2539 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2540 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2541 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2542 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2544 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2545 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2546 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2547 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2564 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2566 * sysdeps/ieee754/s_lib_version.c: Likewise.
2567 * sysdeps/mach/hurd/check_fds.c: Likewise.
2568 * sysdeps/mach/hurd/getsockname.c: Likewise.
2569 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2570 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2571 * sysdeps/powerpc/bits/link.h: Likewise.
2572 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2573 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2574 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2575 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2576 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2577 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2578 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2579 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2580 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2581 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2582 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2583 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2584 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2587 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2594 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2597 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2604 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2606 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2607 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2608 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2609 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2611 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2614 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2615 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2616 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2617 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2624 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2631 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2636 * sysdeps/powerpc/sysdep.h: Likewise.
2637 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2638 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2639 * sysdeps/sh/dl-trampoline.S: Likewise.
2640 * sysdeps/sh/memset.S: Likewise.
2641 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2642 * sysdeps/sh/strlen.S: Likewise.
2643 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2644 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2645 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2646 * sysdeps/sparc/sparc32/rem.S: Likewise.
2647 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2648 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2649 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2650 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2651 * sysdeps/sparc/sparc32/urem.S: Likewise.
2652 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2653 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2654 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2655 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2656 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2657 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2658 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2659 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2660 * sysdeps/unix/bsd/times.c: Likewise.
2661 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2662 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2669 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2672 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2673 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2674 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2675 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2678 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2679 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2680 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2681 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2682 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2683 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2684 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2685 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2686 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2687 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2689 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2690 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2691 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2692 * sysdeps/x86_64/strcspn.S: Likewise.
2693
869378a5
RA
26942013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2695
2696 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2697 generated file. Regenerate properly from gen-translit.pl.
2698 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2699 locale/C-translit.h.
2700
840e2943
AS
27012013-06-05 Andreas Schwab <schwab@suse.de>
2702
2703 [BZ #15100]
2704 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2705 week as 6 instead of -1.
2706 * time/tst-strptime.c (day_tests): Add test case.
2707
4c60cb0c
SP
27082013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2709
2710 * sysdeps/generic/math_private.h
2711 (libc_feholdexcept_setround_53bit): Replace with
2712 libc_feholdsetround_53bit.
2713 (libc_feupdateenv_53bit): Replace with
2714 libc_feresetround_53bit.
2715 (SET_RESTORE_ROUND_53BIT): Adjust.
2716
d180203e
SP
27172013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2718
96df079a
SP
2719 * string/test-strchrnul.c: Add copyright header.
2720
d180203e
SP
2721 * posix/tst-getaddrinfo4.c: Increase test timeout.
2722
8b0ccb2d
CD
27232013-06-03 Carlos O'Donell <carlos@redhat.com>
2724
2725 [BZ #15536]
2726 * math/libm-test.inc (MAX_EXP): Remove
2727 (MIN_EXP): Define.
2728 (ulp): Use MIN_EXP - MANT_DIG.
2729 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2730
3b3c4d40
CD
27312013-05-31 Carlos O'Donell <carlos@redhat.com>
2732
2733 * po/be.po: Revert last change.
2734 * po/zh_CN.po: Likewise.
2735 * po/header.pot: Likewise.
2736
fab7ce3f
JM
27372013-05-31 Joseph Myers <joseph@codesourcery.com>
2738
2739 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2740 link-libc-deps to empty as target-specific variable.
2741 * Makerules (link-libc-args): New variable.
2742 (libc-for-link): Likewise.
2743 (link-libc-deps): Likewise.
2744 (lib%.so): Depend on $(link-libc-deps). Link with
2745 $(link-libc-args).
2746 (build-module): Link with $(link-libc-args).
2747 (build-module-asneeded): Likewise.
2748 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2749 list of objects.
2750 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2751 target-specific variable.
2752 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2753 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2754 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2755 libc.
2756 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2757 libc and ld.so.
2758 ($(objpfx)libpcprofile.so): Likewise.
2759 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2760 libc_nonshared.a.
2761 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2762 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2763 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2764 $(link-libc-deps).
2765 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2766 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2767 * login/Makefile ($(objpfx)libutil.so): Likewise.
2768 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2769 * math/Makefile ($(objpfx)libm.so): Likewise.
2770 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2771 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2772 variable instead of depending directly on libc.
2773 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2774 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2775 $(link-libc-deps).
2776 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2777 libc.
2778 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2779 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2780 ($(objpfx)libanl.so): Likewise.
2781 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2782 ld.so.
2783 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2784 $(link-libc-deps).
2785 * sysdeps/i386/fpu/Makefile: Remove file.
2786 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2787 ($(objpfx)libm.so): Remove dependency on ld.so.
2788
eca5920c
PF
27892013-05-30 Patsy Franklin <pfrankli@redhat.com>
2790
2791 [BZ # 15553]
2792 * nis/yp_xdr.c (XDRMAXNAME): Define.
2793 (XDRMAXRECORD): Define.
2794 (xdr_domainname): Use XDRMAXNAME.
2795 (xdr_mapname): Likewise.
2796 (xdr_peername): Likewise.
2797 (xdr_keydat): Use XDRMAXRECORD.
2798 (xdr_valdat): Likewise.
2799
28002013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2801
2802 [BZ #14256]
2803 * manual/errno.texi (ESTALE): Update to account for more than
2804 just NFS file systems.
2805 * sysdeps/gnu/errlist.c: Regenerated.
2806
b9375348
SP
28072013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2808
2809 [BZ #15465]
2810 * elf/Makefile (tests): Add tst-null-argv.
2811 (modules-names): Add tst-null-argv-lib.
2812 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2813 (tst-null-argv-ENV): Set environment for tst-null-argv.
2814 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2815 (RTLD_PROGNAME): New macro.
2816 * elf/tst-null-argv.c: New test case.
2817 * elf/tst-null-argv-lib.c: Library for test case.
2818 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2819 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2820 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2821 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2822 * elf/dl-init.c (call_init): Likewise.
2823 (_dl_init): Likewise.
2824 * elf/dl-load.c (print_search_path): Likewise.
2825 (_dl_map_object): Likewise.
2826 * elf/dl-lookup.c (do_lookup_x): Likewise.
2827 (add_dependency): Likewise.
2828 (_dl_lookup_symbol_x): Likewise.
2829 (_dl_debug_bindings): Likewise.
2830 * elf/dl-open.c (_dl_show_scope): Likewise.
2831 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2832 * elf/dl-version.c (match_symbol): Likewise.
2833 (_dl_check_map_versions): Likewise.
2834 * elf/rtld.c (dl_main): Likewise.
2835 (print_unresolved): Use RTLD_PROGNAME.
2836 (print_missing_version): Likewise.
2837 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2838 (elf_machine_rela): Likewise.
2839 * sysdeps/powerpc/powerpc32/dl-machine.c
2840 (__process_machine_rela): Likewise.
2841 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2842 Likewise.
2843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2844 Likewise.
2845 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2846 Likewise.
2847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2849 Likewise.
2850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2851 Likewise.
2852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2853
8a9f20c8
CD
28542013-05-28 Carlos O'Donell <carlos@redhat.com>
2855
2856 * po/be.po: Add descriptive title.
2857 * po/zh_CN.po: Likewise.
2858 * po/header.pot: Likewise.
2859
0e60d68e
MF
28602013-05-28 Mike Frysinger <vapier@gentoo.org>
2861
2862 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2863 error message.
2864 (enlarge_archive): Likewise.
2865
56b672e9
BN
28662013-05-28 Ben North <ben@redfrontdoor.org>
2867
2868 * manual/arith.texi (frexp): It is the magnitude of the return
2869 value which lies in [0.5, 1), not the return value itself.
2870
5e056687
AZ
28712013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
2873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2874
2b66ef5d
TS
28752013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2876
528c2405
TS
2877 * stdio-common/bug26.c (main): Correct fscanf template.
2878
07b4c13d
TS
2879 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2880 declare _dl_skip_args.
2881
ec9dd97c
TS
2882 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2883 Don't declare.
2884
2b66ef5d
TS
2885 * manual/platform.texi: Add missing @end deftypefun.
2886
4f8dfe27
JM
28872013-05-24 Joseph Myers <joseph@codesourcery.com>
2888
0323d086
JM
2889 [BZ #15529]
2890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2891 bit of mantissa of 2^16382.
2892 * math/libm-test.inc (hypot_test_data): Add more tests.
2893
dd4259b9
JM
2894 * math/libm-test.inc: Add drem and pow10 to list of tested
2895 functions.
2896 (pow10_test): New function.
2897 (drem_test): Likewise.
2898 (drem_test_tonearest): Likewise.
2899 (drem_test_towardzero): Likewise.
2900 (drem_test_downward): Likewise.
2901 (drem_test_upward): Likewise.
2902 (main): Call the new functions.
2903
4f8dfe27
JM
2904 * math/libm-test.inc (finite_test_data): Remove.
2905 (finite_test): Run tests from isfinite_test_data.
2906 (gamma_test_data): Remove.
2907 (gamma_test): Run tests from lgamma_test_data.
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2910
d116b7c4
AZ
29112013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912
2913 * manual/platform.texi: Add PowerPC PPR function set documentation.
2914 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2915 implementation.
2916
e96e3767
CD
29172013-05-24 Carlos O'Donell <carlos@redhat.com>
2918
2919 * math/libm-test.inc (MAX_EXP): Define.
2920 (ULPDIFF): Define.
2921 (ulp): New function.
2922 (check_float_internal): Use ULPDIFF.
2923 (cpow_test): Disable failing test.
2924 (check_ulp): Test ulp() implemetnation.
2925 (main): Call check_ulp before starting tests.
2926
b679a606
JM
29272013-05-24 Joseph Myers <joseph@codesourcery.com>
2928
e8bdba36
JM
2929 * math/gen-libm-test.pl (generate_testfile): Do not handle
2930 START_DATA and END_DATA.
2931 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2932 END_DATA.
2933 (acos_tonearest_test_data): Likewise.
2934 (acos_towardzero_test_data): Likewise.
2935 (acos_downward_test_data): Likewise.
2936 (acos_upward_test_data): Likewise.
2937 (acosh_test_data): Likewise.
2938 (asin_test_data): Likewise.
2939 (asin_tonearest_test_data): Likewise.
2940 (asin_towardzero_test_data): Likewise.
2941 (asin_downward_test_data): Likewise.
2942 (asin_upward_test_data): Likewise.
2943 (asinh_test_data): Likewise.
2944 (atan_test_data): Likewise.
2945 (atanh_test_data): Likewise.
2946 (atan2_test_data): Likewise.
2947 (cabs_test_data): Likewise.
2948 (cacos_test_data): Likewise.
2949 (cacosh_test_data): Likewise.
2950 (carg_test_data): Likewise.
2951 (casin_test_data): Likewise.
2952 (casinh_test_data): Likewise.
2953 (catan_test_data): Likewise.
2954 (catanh_test_data): Likewise.
2955 (cbrt_test_data): Likewise.
2956 (ccos_test_data): Likewise.
2957 (ccosh_test_data): Likewise.
2958 (ceil_test_data): Likewise.
2959 (cexp_test_data): Likewise.
2960 (cimag_test_data): Likewise.
2961 (clog_test_data): Likewise.
2962 (clog10_test_data): Likewise.
2963 (conj_test_data): Likewise.
2964 (copysign_test_data): Likewise.
2965 (cos_test_data): Likewise.
2966 (cos_tonearest_test_data): Likewise.
2967 (cos_towardzero_test_data): Likewise.
2968 (cos_downward_test_data): Likewise.
2969 (cos_upward_test_data): Likewise.
2970 (cosh_test_data): Likewise.
2971 (cosh_tonearest_test_data): Likewise.
2972 (cosh_towardzero_test_data): Likewise.
2973 (cosh_downward_test_data): Likewise.
2974 (cosh_upward_test_data): Likewise.
2975 (cpow_test_data): Likewise.
2976 (cproj_test_data): Likewise.
2977 (creal_test_data): Likewise.
2978 (csin_test_data): Likewise.
2979 (csinh_test_data): Likewise.
2980 (csqrt_test_data): Likewise.
2981 (ctan_test_data): Likewise.
2982 (ctan_tonearest_test_data): Likewise.
2983 (ctan_towardzero_test_data): Likewise.
2984 (ctan_downward_test_data): Likewise.
2985 (ctan_upward_test_data): Likewise.
2986 (ctanh_test_data): Likewise.
2987 (ctanh_tonearest_test_data): Likewise.
2988 (ctanh_towardzero_test_data): Likewise.
2989 (ctanh_downward_test_data): Likewise.
2990 (ctanh_upward_test_data): Likewise.
2991 (erf_test_data): Likewise.
2992 (erfc_test_data): Likewise.
2993 (exp_test_data): Likewise.
2994 (exp_tonearest_test_data): Likewise.
2995 (exp_towardzero_test_data): Likewise.
2996 (exp_downward_test_data): Likewise.
2997 (exp_upward_test_data): Likewise.
2998 (exp10_test_data): Likewise.
2999 (exp2_test_data): Likewise.
3000 (expm1_test_data): Likewise.
3001 (fabs_test_data): Likewise.
3002 (fdim_test_data): Likewise.
3003 (finite_test_data): Likewise.
3004 (floor_test_data): Likewise.
3005 (fma_test_data): Likewise.
3006 (fma_towardzero_test_data): Likewise.
3007 (fma_downward_test_data): Likewise.
3008 (fma_upward_test_data): Likewise.
3009 (fmax_test_data): Likewise.
3010 (fmin_test_data): Likewise.
3011 (fmod_test_data): Likewise.
3012 (fpclassify_test_data): Likewise.
3013 (frexp_test_data): Likewise.
3014 (gamma_test_data): Likewise.
3015 (hypot_test_data): Likewise.
3016 (ilogb_test_data): Likewise.
3017 (isfinite_test_data): Likewise.
3018 (isgreater_test_data): Likewise.
3019 (isgreaterequal_test_data): Likewise.
3020 (isinf_test_data): Likewise.
3021 (isless_test_data): Likewise.
3022 (islessequal_test_data): Likewise.
3023 (islessgreater_test_data): Likewise.
3024 (isnan_test_data): Likewise.
3025 (isnormal_test_data): Likewise.
3026 (issignaling_test_data): Likewise.
3027 (isunordered_test_data): Likewise.
3028 (j0_test_data): Likewise.
3029 (j1_test_data): Likewise.
3030 (jn_test_data): Likewise.
3031 (ldexp_test_data): Likewise.
3032 (lgamma_test_data): Likewise.
3033 (lrint_test_data): Likewise.
3034 (lrint_tonearest_test_data): Likewise.
3035 (lrint_towardzero_test_data): Likewise.
3036 (lrint_downward_test_data): Likewise.
3037 (lrint_upward_test_data): Likewise.
3038 (llrint_test_data): Likewise.
3039 (llrint_tonearest_test_data): Likewise.
3040 (llrint_towardzero_test_data): Likewise.
3041 (llrint_downward_test_data): Likewise.
3042 (llrint_upward_test_data): Likewise.
3043 (log_test_data): Likewise.
3044 (log10_test_data): Likewise.
3045 (log1p_test_data): Likewise.
3046 (log2_test_data): Likewise.
3047 (logb_test_data): Likewise.
3048 (logb_downward_test_data): Likewise.
3049 (lround_test_data): Likewise.
3050 (llround_test_data): Likewise.
3051 (modf_test_data): Likewise.
3052 (nearbyint_test_data): Likewise.
3053 (nextafter_test_data): Likewise.
3054 (nexttoward_test_data): Likewise.
3055 (pow_test_data): Likewise.
3056 (pow_tonearest_test_data): Likewise.
3057 (pow_towardzero_test_data): Likewise.
3058 (pow_downward_test_data): Likewise.
3059 (pow_upward_test_data): Likewise.
3060 (remainder_test_data): Likewise.
3061 (remainder_tonearest_test_data): Likewise.
3062 (remainder_towardzero_test_data): Likewise.
3063 (remainder_downward_test_data): Likewise.
3064 (remainder_upward_test_data): Likewise.
3065 (remquo_test_data): Likewise.
3066 (rint_test_data): Likewise.
3067 (rint_tonearest_test_data): Likewise.
3068 (rint_towardzero_test_data): Likewise.
3069 (rint_downward_test_data): Likewise.
3070 (rint_upward_test_data): Likewise.
3071 (round_test_data): Likewise.
3072 (scalb_test_data): Likewise.
3073 (scalbn_test_data): Likewise.
3074 (scalbln_test_data): Likewise.
3075 (signbit_test_data): Likewise.
3076 (sin_test_data): Likewise.
3077 (sin_tonearest_test_data): Likewise.
3078 (sin_towardzero_test_data): Likewise.
3079 (sin_downward_test_data): Likewise.
3080 (sin_upward_test_data): Likewise.
3081 (sincos_test_data): Likewise.
3082 (sinh_test_data): Likewise.
3083 (sinh_tonearest_test_data): Likewise.
3084 (sinh_towardzero_test_data): Likewise.
3085 (sinh_downward_test_data): Likewise.
3086 (sinh_upward_test_data): Likewise.
3087 (sqrt_test_data): Likewise.
3088 (tan_test_data): Likewise.
3089 (tan_tonearest_test_data): Likewise.
3090 (tan_towardzero_test_data): Likewise.
3091 (tan_downward_test_data): Likewise.
3092 (tan_upward_test_data): Likewise.
3093 (tanh_test_data): Likewise.
3094 (tgamma_test_data): Likewise.
3095 (trunc_test_data): Likewise.
3096 (y0_test_data): Likewise.
3097 (y1_test_data): Likewise.
3098 (yn_test_data): Likewise.
3099 (significand_test_data): Likewise.
3100
b679a606
JM
3101 * math/gen-libm-test.pl (@functions): Remove variable.
3102 (generate_testfile): Don't handle START and END lines.
3103 * math/libm-test.inc (START): New macro.
3104 (END): Likewise.
3105 (END_COMPLEX): Likewise.
3106 (acos_test): Use END macro without arguments.
3107 (acos_test_tonearest): Likewise.
3108 (acos_test_towardzero): Likewise.
3109 (acos_test_downward): Likewise.
3110 (acos_test_upward): Likewise.
3111 (acosh_test): Likewise.
3112 (asin_test): Likewise.
3113 (asin_test_tonearest): Likewise.
3114 (asin_test_towardzero): Likewise.
3115 (asin_test_downward): Likewise.
3116 (asin_test_upward): Likewise.
3117 (asinh_test): Likewise.
3118 (atan_test): Likewise.
3119 (atanh_test): Likewise.
3120 (atan2_test): Likewise.
3121 (cabs_test): Likewise.
3122 (cacos_test): Use END_COMPLEX macro without arguments.
3123 (cacosh_test): Likewise.
3124 (carg_test): Use END macro without arguments.
3125 (casin_test): Use END_COMPLEX macro without arguments.
3126 (casinh_test): Likewise.
3127 (catan_test): Likewise.
3128 (catanh_test): Likewise.
3129 (cbrt_test): Use END macro without arguments.
3130 (ccos_test): Use END_COMPLEX macro without arguments.
3131 (ccosh_test): Likewise.
3132 (ceil_test): Use END macro without arguments.
3133 (cexp_test): Use END_COMPLEX macro without arguments.
3134 (cimag_test): Use END macro without arguments.
3135 (clog_test): Use END_COMPLEX macro without arguments.
3136 (clog10_test): Likewise.
3137 (conj_test): Likewise.
3138 (copysign_test): Use END macro without arguments.
3139 (cos_test): Likewise.
3140 (cos_test_tonearest): Likewise.
3141 (cos_test_towardzero): Likewise.
3142 (cos_test_downward): Likewise.
3143 (cos_test_upward): Likewise.
3144 (cosh_test): Likewise.
3145 (cosh_test_tonearest): Likewise.
3146 (cosh_test_towardzero): Likewise.
3147 (cosh_test_downward): Likewise.
3148 (cosh_test_upward): Likewise.
3149 (cpow_test): Use END_COMPLEX macro without arguments.
3150 (cproj_test): Likewise.
3151 (creal_test): Use END macro without arguments.
3152 (csin_test): Use END_COMPLEX macro without arguments.
3153 (csinh_test): Likewise.
3154 (csqrt_test): Likewise.
3155 (ctan_test): Likewise.
3156 (ctan_test_tonearest): Likewise.
3157 (ctan_test_towardzero): Likewise.
3158 (ctan_test_downward): Likewise.
3159 (ctan_test_upward): Likewise.
3160 (ctanh_test): Likewise.
3161 (ctanh_test_tonearest): Likewise.
3162 (ctanh_test_towardzero): Likewise.
3163 (ctanh_test_downward): Likewise.
3164 (ctanh_test_upward): Likewise.
3165 (erf_test): Use END macro without arguments.
3166 (erfc_test): Likewise.
3167 (exp_test): Likewise.
3168 (exp_test_tonearest): Likewise.
3169 (exp_test_towardzero): Likewise.
3170 (exp_test_downward): Likewise.
3171 (exp_test_upward): Likewise.
3172 (exp10_test): Likewise.
3173 (exp2_test): Likewise.
3174 (expm1_test): Likewise.
3175 (fabs_test): Likewise.
3176 (fdim_test): Likewise.
3177 (finite_test): Likewise.
3178 (floor_test): Likewise.
3179 (fma_test): Likewise.
3180 (fma_test_towardzero): Likewise.
3181 (fma_test_downward): Likewise.
3182 (fma_test_upward): Likewise.
3183 (fmax_test): Likewise.
3184 (fmin_test): Likewise.
3185 (fmod_test): Likewise.
3186 (fpclassify_test): Likewise.
3187 (frexp_test): Likewise.
3188 (gamma_test): Likewise.
3189 (hypot_test): Likewise.
3190 (ilogb_test): Likewise.
3191 (isfinite_test): Likewise.
3192 (isgreater_test): Likewise.
3193 (isgreaterequal_test): Likewise.
3194 (isinf_test): Likewise.
3195 (isless_test): Likewise.
3196 (islessequal_test): Likewise.
3197 (islessgreater_test): Likewise.
3198 (isnan_test): Likewise.
3199 (isnormal_test): Likewise.
3200 (issignaling_test): Likewise.
3201 (isunordered_test): Likewise.
3202 (j0_test): Likewise.
3203 (j1_test): Likewise.
3204 (jn_test): Likewise.
3205 (ldexp_test): Likewise.
3206 (lgamma_test): Likewise.
3207 (lrint_test): Likewise.
3208 (lrint_test_tonearest): Likewise.
3209 (lrint_test_towardzero): Likewise.
3210 (lrint_test_downward): Likewise.
3211 (lrint_test_upward): Likewise.
3212 (llrint_test): Likewise.
3213 (llrint_test_tonearest): Likewise.
3214 (llrint_test_towardzero): Likewise.
3215 (llrint_test_downward): Likewise.
3216 (llrint_test_upward): Likewise.
3217 (log_test): Likewise.
3218 (log10_test): Likewise.
3219 (log1p_test): Likewise.
3220 (log2_test): Likewise.
3221 (logb_test): Likewise.
3222 (logb_test_downward): Likewise.
3223 (lround_test): Likewise.
3224 (llround_test): Likewise.
3225 (modf_test): Likewise.
3226 (nearbyint_test): Likewise.
3227 (nextafter_test): Likewise.
3228 (nexttoward_test): Likewise.
3229 (pow_test): Likewise.
3230 (pow_test_tonearest): Likewise.
3231 (pow_test_towardzero): Likewise.
3232 (pow_test_downward): Likewise.
3233 (pow_test_upward): Likewise.
3234 (remainder_test): Likewise.
3235 (remainder_test_tonearest): Likewise.
3236 (remainder_test_towardzero): Likewise.
3237 (remainder_test_downward): Likewise.
3238 (remainder_test_upward): Likewise.
3239 (remquo_test): Likewise.
3240 (rint_test): Likewise.
3241 (rint_test_tonearest): Likewise.
3242 (rint_test_towardzero): Likewise.
3243 (rint_test_downward): Likewise.
3244 (rint_test_upward): Likewise.
3245 (round_test): Likewise.
3246 (scalb_test): Likewise.
3247 (scalbn_test): Likewise.
3248 (scalbln_test): Likewise.
3249 (signbit_test): Likewise.
3250 (sin_test): Likewise.
3251 (sin_test_tonearest): Likewise.
3252 (sin_test_towardzero): Likewise.
3253 (sin_test_downward): Likewise.
3254 (sin_test_upward): Likewise.
3255 (sincos_test): Likewise.
3256 (sinh_test): Likewise.
3257 (sinh_test_tonearest): Likewise.
3258 (sinh_test_towardzero): Likewise.
3259 (sinh_test_downward): Likewise.
3260 (sinh_test_upward): Likewise.
3261 (sqrt_test): Likewise.
3262 (tan_test): Likewise.
3263 (tan_test_tonearest): Likewise.
3264 (tan_test_towardzero): Likewise.
3265 (tan_test_downward): Likewise.
3266 (tan_test_upward): Likewise.
3267 (tanh_test): Likewise.
3268 (tgamma_test): Likewise.
3269 (trunc_test): Likewise.
3270 (y0_test): Likewise.
3271 (y1_test): Likewise.
3272 (yn_test): Likewise.
3273 (significand_test): Likewise.
3274
bae143d2
OB
32752013-05-24 Ondřej Bílka <neleai@seznam.cz>
3276
3277 [BZ #15381]
3278 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3279
9323d39b
EM
32802013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3281
d4ea44a0 3282 [BZ #14894]
9323d39b
EM
3283 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3284 __ppc_mdoio and __ppc_mdoom.
3285 * manual/platform.texi: Document new functions __ppc_yield,
3286 __ppc_mdoio and __ppc_mdoom.
3287
13e23af7
CD
32882013-05-22 Carlos O'Donell <carlos@redhat.com>
3289
3290 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3291 (main): Mention "tls" pseudo-hwcap is legacy.
3292 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3293
351fe550
JM
32942013-05-22 Joseph Myers <joseph@codesourcery.com>
3295
3296 * math/gen-libm-test.pl (parse_args): Output only string of
3297 arguments as text for test name, not full call or descriptions of
3298 tests for extra outputs.
3299 (generate_testfile): Do not pass function name to parse_args.
3300 Generate this_func variable from START.
3301 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3302 field to arg_str.
3303 (struct test_ff_f_data): Likewise.
3304 (test_ff_f_data_nexttoward): Likewise.
3305 (struct test_fi_f_data): Likewise.
3306 (struct test_fl_f_data): Likewise.
3307 (struct test_if_f_data): Likewise.
3308 (struct test_fff_f_data): Likewise.
3309 (struct test_c_f_data): Likewise.
3310 (struct test_f_f1_data): Likewise. Remove field extra_name.
3311 (struct test_fF_f1_data): Likewise.
3312 (struct test_ffI_f1_data): Likewise.
3313 (struct test_c_c_data): Rename test_name field to arg_str.
3314 (struct test_cc_c_data): Likewise.
3315 (struct test_f_i_data): Likewise.
3316 (struct test_ff_i_data): Likewise.
3317 (struct test_f_l_data): Likewise.
3318 (struct test_f_L_data): Likewise.
3319 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3320 and extra2_name.
3321 (COMMON_TEST_SETUP): New macro.
3322 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3323 (COMMON_TEST_CLEANUP): Likewise.
3324 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3325 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3326 macros.
3327 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3328 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3329 macros.
3330 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3331 (RUN_TEST_fff_f): Take argument string. Call new setup and
3332 cleanup macros.
3333 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3334 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3335 macros.
3336 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3337 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3338 macros.
3339 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3340 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3341 cleanup macros.
3342 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3343 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3344 cleanup macros.
3345 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3346 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3347 cleanup macros.
3348 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3349 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3350 macros.
3351 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3352 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3353 macros.
3354 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3355 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3356 macros.
3357 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3358 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3359 cleanup macros.
3360 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3361 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3362 cleanup macros.
3363 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3364 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3365 macros.
3366 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3367 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3368 cleanup macros.
3369 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3370 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3371 macros.
3372 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3373 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3374 macros.
3375 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3376 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3377 cleanup macros.
3378 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3379
85118d4d
EBM
33802013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3381
3382 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3383 to _sifields.sigfault.
3384 (si_addr_lsb): Define new macro.
3385 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3387 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3388
7a44c18f
CD
33892013-05-03 Carlos O'Donell <carlos at redhat.com>
3390
3391 [BZ #15441]
3392 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3393 returns -1.
3394 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3395 null return -1.
3396 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3397 loading the domain.
3398
b50a7181
JM
33992013-05-22 Joseph Myers <joseph@codesourcery.com>
3400
3401 * math/gen-libm-test.pl (parse_args): Do not include expected
3402 result in test name.
3403 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3405 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3407 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3409
051063c8
SP
34102013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3411
3ce9e010
SP
3412 * benchtests/Makefile: Sort function entries.
3413
051063c8
SP
3414 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3415 tanh, asinh, acosh, atanh.
3416 * benchtests/acos-inputs: New file.
3417 * benchtests/acosh-inputs: New file.
3418 * benchtests/asin-inputs: New file.
3419 * benchtests/asinh-inputs: New file.
3420 * benchtests/atanh-inputs: New file.
3421 * benchtests/cosh-inputs: New file.
3422 * benchtests/log-inputs: New file.
3423 * benchtests/sinh-inputs: New file.
3424 * benchtests/tanh-inputs: New file.
3425
47c22455
DL
34262013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3427
3428 [BZ #15339]
3429 * posix/tst-getaddrinfo4.c: New test.
3430 * posix/Makefile (tests): Add it.
3431
3d04f5db
SP
34322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3433
3434 [BZ #15339]
3435 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3436 when no services were used.
3437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3438 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3439
d5dd6189
AS
34402013-05-21 Andreas Schwab <schwab@suse.de>
3441
3442 [BZ #15014]
3443 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3444 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3445 successful.
3446 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3447 redundant variable declarations and reallocation of buffer when
3448 parsing as IPv6 address. Always set NSS status when called from
3449 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3450 buffer too small. Correct computation of needed size.
3451 * nss/Makefile (tests): Add test-digits-dots.
3452 * nss/test-digits-dots.c: New test.
3453
fef94eab
SP
34542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3455
3456 * benchtests/Makefile: Remove instructions for adding
3457 benchmark tests.
3458 * benchtests/README: New file to explain how to execute and
3459 enhance the benchmark tests.
3460
e39adf43
AS
34612013-05-21 Andreas Schwab <schwab@suse.de>
3462
3463 [BZ #15493]
3464 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3465 * setjmp/tst-sigsetjmp.c: New test.
3466
b2b671b6
OB
34672013-05-20 Ondřej Bílka <neleai@seznam.cz>
3468
3469 * sysdeps/x86_64/memset.S (memset): New implementation.
3470 (__bzero): Likewise.
3471 (__memset_tail): New function.
3472
2d48b41c
OB
34732013-05-20 Ondřej Bílka <neleai@seznam.cz>
3474
3475 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3476 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3477 __memcpy_sse2_unaligned ifunc selection.
3478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3479 Add memcpy-sse2-unaligned.S.
3480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3481 Add: __memcpy_sse2_unaligned.
3482
f16cc3eb
JM
34832013-05-19 Joseph Myers <joseph@codesourcery.com>
3484
3e694268
JM
3485 [BZ #15490]
3486 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3487 math_force_eval before restoring floating-point envrionment.
3488 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3490 Likewise.
3491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3492 <math_private.h>.
3493 (__nearbyintl): Use math_force_eval before restoring
3494 floating-point environment.
3495 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3496
db62a907
JM
3497 * math/gen-libm-test.pl (special_functions): Remove.
3498 (parse_args): Don't handle TEST_extra. Handle functions with no
3499 return value.
3500 * math/libm-test.inc (struct test_sincos_data): Replace with
3501 struct test_fFF_11_data.
3502 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3503 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3504 (sincos_test_data): Change element type to struct
3505 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3506 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3507 RUN_TEST_LOOP_sincos.
3508 * math/README.libm-test: Don't mention special handling of
3509 individual functions.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3511 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3512 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3513 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3514 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3516
f16cc3eb
JM
3517 * math/gen-libm-test.pl (get_variable): Remove function.
3518 (parse_args): Don't show pointer parameters to call in test
3519 names. Use "extra output N" in test names for extra outputs
3520 rather than naming variables.
3521
3779b5b6
JM
35222013-05-18 Joseph Myers <joseph@codesourcery.com>
3523
2ee094ff
JM
3524 [BZ #15488]
3525 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3526 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3527 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3528 double tests.
3529 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3530 disable.
3531 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3532 check_long_double.
3533
3779b5b6
JM
3534 * math/gen-libm-test.pl (@tests): Remove variable.
3535 ($count): Likewise.
3536 (new_test): Remove function.
3537 (show_exceptions): New function.
3538 (special_functions): Use show_exceptions instead of new_test.
3539 (parse_args): Likewise.
3540 (generate_testfile): Pass only function name in generated call to
3541 print_max_error or print_complex_max_error.
3542 (get_ulps): Do not handle complex tests specially.
3543 (output_test): Rename to ...
3544 (get_all_ulps_for_test): ... this. Return a string rather than
3545 printing to a file. Require ulps to be present.
3546 (output_ulps): Generate arrays rather than #defines.
3547 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3548 (struct ulp_data): New type.
3549 (BUILD_COMPLEX_ULP): Remove macro.
3550 (compare_ulp_data): New function.
3551 (find_ulps): Likewise.
3552 (find_test_ulps): Likewise.
3553 (find_function_ulps): Likewise.
3554 (find_complex_function_ulps): Likewise.
3555 (print_max_error): Determine allowed ulps using
3556 find_function_ulps.
3557 (print_complex_max_error): Determine allowed ulps using
3558 find_complex_function_ulps.
3559 (check_float_internal): Determine max ulps using find_test_ulps.
3560 (check_float): Do not take max_ulp parameter. Update call to
3561 check_float_internal.
3562 (check_complex): Likewise.
3563 (check_int): Do not take max_ulp parameter.
3564 (check_long): Likewise.
3565 (check_bool): Likewise.
3566 (check_longlong): Likewise.
3567 (struct test_f_f_data): Remove max_ulp field.
3568 (struct test_ff_f_data): Likewise.
3569 (struct test_ff_f_data_nexttoward): Likewise.
3570 (struct test_fi_f_data): Likewise.
3571 (struct test_fl_f_data): Likewise.
3572 (struct test_if_f_data): Likewise.
3573 (struct test_fff_f_data): Likewise.
3574 (struct test_c_f_data): Likewise.
3575 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3576 (struct test_fF_f1_data): Likewise.
3577 (struct test_ffI_f1_data): Likewise.
3578 (struct test_c_c_data): Remove max_ulp field.
3579 (struct test_cc_c_data): Likewise.
3580 (struct test_f_i_data): Likewise.
3581 (struct test_ff_i_data): Likewise.
3582 (struct test_f_l_data): Likewise.
3583 (struct test_f_L_data): Likewise.
3584 (struct test_sincos_data): Likewise.
3585 (RUN_TEST_f_f): Do not handle ulps.
3586 (RUN_TEST_LOOP_f_f): Likewise.
3587 (RUN_TEST_2_f): Likewise.
3588 (RUN_TEST_LOOP_2_f): Likewise.
3589 (RUN_TEST_fff_f): Likewise.
3590 (RUN_TEST_LOOP_fff_f): Likewise.
3591 (RUN_TEST_c_f): Likewise.
3592 (RUN_TEST_LOOP_c_f): Likewise.
3593 (RUN_TEST_f_f1): Likewise.
3594 (RUN_TEST_LOOP_f_f1): Likewise.
3595 (RUN_TEST_fF_f1): Likewise.
3596 (RUN_TEST_LOOP_fF_f1): Likewise.
3597 (RUN_TEST_fI_f1): Likewise.
3598 (RUN_TEST_LOOP_fI_f1): Likewise.
3599 (RUN_TEST_ffI_f1): Likewise.
3600 (RUN_TEST_LOOP_ffI_f1): Likewise.
3601 (RUN_TEST_c_c): Likewise.
3602 (RUN_TEST_LOOP_c_c): Likewise.
3603 (RUN_TEST_cc_c): Likewise.
3604 (RUN_TEST_LOOP_cc_c): Likewise.
3605 (RUN_TEST_f_i): Likewise.
3606 (RUN_TEST_LOOP_f_i): Likewise.
3607 (RUN_TEST_f_i_tg): Likewise.
3608 (RUN_TEST_LOOP_f_i_tg): Likewise.
3609 (RUN_TEST_ff_i_tg): Likewise.
3610 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3611 (RUN_TEST_f_b): Likewise.
3612 (RUN_TEST_LOOP_f_b): Likewise.
3613 (RUN_TEST_f_b_tg): Likewise.
3614 (RUN_TEST_LOOP_f_b_tg): Likewise.
3615 (RUN_TEST_f_l): Likewise.
3616 (RUN_TEST_LOOP_f_l): Likewise.
3617 (RUN_TEST_f_L): Likewise.
3618 (RUN_TEST_LOOP_f_L): Likewise.
3619 (RUN_TEST_sincos): Likewise.
3620 (RUN_TEST_LOOP_sincos): Likewise.
3621
8269107f
JM
36222013-05-17 Joseph Myers <joseph@codesourcery.com>
3623
bb38759d
JM
3624 [BZ #15480]
3625 [BZ #15485]
3626 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3627 main case of finite arguments, set rounding mode to FE_TONEAREST
3628 and discard exceptions.
3629 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3630 exceptions.
3631 (remainder_tonearest_test_data): New variable.
3632 (remainder_test_tonearest): New function.
3633 (remainder_towardzero_test_data): New variable.
3634 (remainder_test_towardzero): New function.
3635 (remainder_downward_test_data): New variable.
3636 (remainder_test_downward): New function.
3637 (remainder_upward_test_data): New variable.
3638 (remainder_test_upward): New function.
3639 (main): Call the new test functions.
3640
a00bdcf0
JM
3641 * math/libm-test.inc (struct test_f_f1_data): Remove field
3642 extra_init.
3643 (struct test_fF_f1_data): Likewise.
3644 (struct test_ffI_f1_data): Likewise.
3645 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3646 based on value of EXTRA_EXPECTED.
3647 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3648 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3649 EXTRA_VAR based on value of EXTRA_EXPECTED.
3650 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3651 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3652 EXTRA_VAR based on value of EXTRA_EXPECTED.
3653 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3654 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3655 EXTRA_VAR based on value of EXTRA_EXPECTED.
3656 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3657 * math/gen-libm-test.pl (parse_args): Don't output initializers
3658 for extra output values.
3659
de407f79
JM
3660 * math/libm-test.inc (check_int): Expect result to be exactly
3661 equal to expected value and do not handle ulps.
3662 (check_long): Likewise.
3663 (check_longlong): Likewise.
3664
8269107f
JM
3665 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3666 exceptions.
3667 (cimag_test_data): Likewise.
3668 (conj_test_data): Likewise.
3669 (copysign_test_data): Likewise.
3670 (cproj_test_data): Likewise.
3671 (creal_test_data): Likewise.
3672 (fabs_test_data): Likewise.
3673 (fdim_test_data): Likewise.
3674 (finite_test_data): Likewise.
3675 (floor_test_data): Likewise.
3676 (fmax_test_data): Likewise.
3677 (fmin_test_data): Likewise.
3678 (fmod_test_data): Likewise.
3679 (fpclassify_test_data): Likewise.
3680 (frexp_test_data): Likewise.
3681 (ilogb_test_data): Likewise.
3682 (isfinite_test_data): Likewise.
3683 (isgreater_test_data): Likewise.
3684 (isgreaterequal_test_data): Likewise.
3685 (isinf_test_data): Likewise.
3686 (isless_test_data): Likewise.
3687 (islessequal_test_data): Likewise.
3688 (islessgreater_test_data): Likewise.
3689 (isnan_test_data): Likewise.
3690 (isnormal_test_data): Likewise.
3691 (issignaling_test_data): Likewise.
3692 (isunordered_test_data): Likewise.
3693 (ldexp_test_data): Likewise.
3694 (lrint_test_data): Likewise.
3695 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3696 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3697 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3698 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3699 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3700 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3701 test input.
3702 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3703 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3704 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3705 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3706 that test input.
3707 (lrint_downward_test_data): Test for "inexact" exceptions.
3708 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3709 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3710 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3711 test input.
3712 (lrint_upward_test_data): Test for "inexact" exceptions.
3713 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3714 test input.
3715 (llrint_test_data): Test for "inexact" exceptions.
3716 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3717 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3718 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3719 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3720 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3721 (llrint_downward_test_data): Test for "inexact" exceptions.
3722 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3723 (llrint_upward_test_data): Test for "inexact" exceptions.
3724 (logb_test_data): Likewise.
3725 (logb_downward_test_data): Likewise.
3726 (nextafter_test_data): Likewise.
3727 (nexttoward_test_data): Likewise.
3728 (remainder_test_data): Likewise.
3729 (remquo_test_data): Likewise.
3730 (scalbn_test_data): Likewise.
3731 (scalbln_test_data): Likewise.
3732 (signbit_test_data): Likewise.
3733 (sqrt_test_data): Likewise.
3734 (significand_test_data): Likewise.
3735
48a18de1
SP
37362013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 [BZ #15424]
3739 * benchtests/bench-modf.c (struct args): Mark arg0 as
3740 volatile.
3741 * scripts/bench.pl: Mark members of struct args as volatile.
3742
13d3b41a
AZ
37432013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744
68191c1d 3745 [BZ # 15497]
13d3b41a
AZ
3746 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3747 negative infinity on POWER6 or lower.
3748 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3749
2848b105
MR
37502013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3751
3752 [BZ #15442]
3753 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3754 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3755 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3756 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3757 (_FP_SETQNAN): New macro.
3758 (_FP_SETQNAN_SEMIRAW): Likewise.
3759 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3760 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3761 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3762 (FP_EXTEND): Use _FP_FRAC_SNANP.
3763 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3764 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3765 into account.
3766 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3767 New macro.
3768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3769 Likewise.
3770
323e5cb7
JM
37712013-05-16 Joseph Myers <joseph@codesourcery.com>
3772
c58b274f
JM
3773 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3774 with DIVIDE_BY_ZERO_EXCEPTION.
3775 (gamma_test_data): Likewise.
3776 (lgamma_test_data): Likewise.
3777 (log_test_data): Likewise.
3778 (log10_test_data): Likewise.
3779 (log2_test_data): Likewise.
3780 (tgamma_test_data): Likewise.
3781
0ab34904
JM
3782 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3783 (acos_test_tonearest): Likewise.
3784 (acos_test_towardzero): Likewise.
3785 (acos_test_downward): Likewise.
3786 (acos_test_upward): Likewise.
3787 (acosh_test): Likewise.
3788 (asin_test): Likewise.
3789 (asin_test_tonearest): Likewise.
3790 (asin_test_towardzero): Likewise.
3791 (asin_test_downward): Likewise.
3792 (asin_test_upward): Likewise.
3793 (asinh_test): Likewise.
3794 (atan_test): Likewise.
3795 (atanh_test): Likewise.
3796 (atan2_test): Likewise.
3797 (cabs_test): Likewise.
3798 (cacos_test): Likewise.
3799 (cacosh_test): Likewise.
3800 (casin_test): Likewise.
3801 (casinh_test): Likewise.
3802 (catan_test): Likewise.
3803 (catanh_test): Likewise.
3804 (cbrt_test): Likewise.
3805 (ccos_test): Likewise.
3806 (ccosh_test): Likewise.
3807 (cexp_test): Likewise.
3808 (clog_test): Likewise.
3809 (clog10_test): Likewise.
3810 (cos_test): Likewise.
3811 (cos_test_tonearest): Likewise.
3812 (cos_test_towardzero): Likewise.
3813 (cos_test_downward): Likewise.
3814 (cos_test_upward): Likewise.
3815 (cosh_test): Likewise.
3816 (cosh_test_tonearest): Likewise.
3817 (cosh_test_towardzero): Likewise.
3818 (cosh_test_downward): Likewise.
3819 (cosh_test_upward): Likewise.
3820 (cpow_test): Likewise.
3821 (csin_test): Likewise.
3822 (csinh_test): Likewise.
3823 (csqrt_test): Likewise.
3824 (ctan_test): Likewise.
3825 (ctan_test_tonearest): Likewise.
3826 (ctan_test_towardzero): Likewise.
3827 (ctan_test_downward): Likewise.
3828 (ctan_test_upward): Likewise.
3829 (ctanh_test): Likewise.
3830 (ctanh_test_tonearest): Likewise.
3831 (ctanh_test_towardzero): Likewise.
3832 (ctanh_test_downward): Likewise.
3833 (ctanh_test_upward): Likewise.
3834 (erf_test): Likewise.
3835 (erfc_test): Likewise.
3836 (exp_test): Likewise.
3837 (exp_test_tonearest): Likewise.
3838 (exp_test_towardzero): Likewise.
3839 (exp_test_downward): Likewise.
3840 (exp_test_upward): Likewise.
3841 (exp10_test): Likewise.
3842 (exp2_test): Likewise.
3843 (expm1_test): Likewise.
3844 (fmod_test): Likewise.
3845 (gamma_test): Likewise.
3846 (hypot_test): Likewise.
3847 (j0_test): Likewise.
3848 (j1_test): Likewise.
3849 (jn_test): Likewise.
3850 (lgamma_test): Likewise.
3851 (log_test): Likewise.
3852 (log10_test): Likewise.
3853 (log1p_test): Likewise.
3854 (log2_test): Likewise.
3855 (logb_test_downward): Likewise.
3856 (pow_test): Likewise.
3857 (pow_test_tonearest): Likewise.
3858 (pow_test_towardzero): Likewise.
3859 (pow_test_downward): Likewise.
3860 (pow_test_upward): Likewise.
3861 (remainder_test): Likewise.
3862 (remquo_test): Likewise.
3863 (sin_test): Likewise.
3864 (sin_test_tonearest): Likewise.
3865 (sin_test_towardzero): Likewise.
3866 (sin_test_downward): Likewise.
3867 (sin_test_upward): Likewise.
3868 (sincos_test): Likewise.
3869 (sinh_test): Likewise.
3870 (sinh_test_tonearest): Likewise.
3871 (sinh_test_towardzero): Likewise.
3872 (sinh_test_downward): Likewise.
3873 (sinh_test_upward): Likewise.
3874 (sqrt_test): Likewise.
3875 (tan_test): Likewise.
3876 (tan_test_tonearest): Likewise.
3877 (tan_test_towardzero): Likewise.
3878 (tan_test_downward): Likewise.
3879 (tan_test_upward): Likewise.
3880 (tanh_test): Likewise.
3881 (tgamma_test): Likewise.
3882 (y0_test): Likewise.
3883 (y1_test): Likewise.
3884 (yn_test): Likewise.
3885
323e5cb7
JM
3886 * math/gen-libm-test.pl (adjust_arg): Remove function.
3887 (special_function): Remove argument $in_func. Only handle
3888 generating output for tables of tests, not inside functions.
3889 (parse_args): Likewise.
3890 (generate_testfile): Remove variable $in_func. Update call to
3891 parse_args.
3892 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3893 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3894 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3895 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3896 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3897 (MAX_VALUE_INIT): Rename macro to max_value.
3898 (MIN_VALUE_INIT): Rename macro to min_value.
3899 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3900 (plus_zero): Remove variable.
3901 (minus_zero): Likewise.
3902 (plus_infty): Likewise.
3903 (minus_infty): Likewise.
3904 (qnan_value): Likewise.
3905 (max_value): Likewise.
3906 (min_value): Likewise.
3907 (min_subnorm_value): Likewise.
3908
e054f494
RA
39092013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3910
3911 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3912 uint64_t or uint32_t usage.
3913 * crypt/sha256-block.c: Likewise.
3914 * crypt/sha256-crypt.c: Likewise.
3915 * crypt/sha256.c: Likewise.
3916 * crypt/sha512-block.c: Likewise.
3917 * crypt/sha512-crypt.c: Likewise.
3918 * crypt/sha512.c: Likewise.
3919 * debug/backtrace-tst.c: Likewise.
3920 * debug/pcprofiledump.c: Likewise.
3921 * elf/cache.c: Likewise.
3922 * elf/dl-cache.c: Likewise.
3923 * elf/dl-misc.c: Likewise.
3924 * elf/dl-profile.c: Likewise.
3925 * elf/dl-support.c: Likewise.
3926 * elf/ldconfig.c: Likewise.
3927 * elf/sprof.c: Likewise.
3928 * iconv/dummy-repertoire.c: Likewise.
3929 * iconv/iconv_charmap.c: Likewise.
3930 * iconv/skeleton.c: Likewise.
3931 * iconvdata/8bit-generic.c: Likewise.
3932 * iconvdata/cp737.h: Likewise.
3933 * iconvdata/cp775.h: Likewise.
3934 * iconvdata/ibm1008.h: Likewise.
3935 * iconvdata/ibm1025.h: Likewise.
3936 * iconvdata/ibm1046.h: Likewise.
3937 * iconvdata/ibm1097.h: Likewise.
3938 * iconvdata/ibm1112.h: Likewise.
3939 * iconvdata/ibm1122.h: Likewise.
3940 * iconvdata/ibm1123.h: Likewise.
3941 * iconvdata/ibm1124.h: Likewise.
3942 * iconvdata/ibm1129.h: Likewise.
3943 * iconvdata/ibm1130.h: Likewise.
3944 * iconvdata/ibm1132.h: Likewise.
3945 * iconvdata/ibm1133.h: Likewise.
3946 * iconvdata/ibm1137.h: Likewise.
3947 * iconvdata/ibm1140.h: Likewise.
3948 * iconvdata/ibm1141.h: Likewise.
3949 * iconvdata/ibm1142.h: Likewise.
3950 * iconvdata/ibm1143.h: Likewise.
3951 * iconvdata/ibm1144.h: Likewise.
3952 * iconvdata/ibm1145.h: Likewise.
3953 * iconvdata/ibm1146.h: Likewise.
3954 * iconvdata/ibm1147.h: Likewise.
3955 * iconvdata/ibm1148.h: Likewise.
3956 * iconvdata/ibm1149.h: Likewise.
3957 * iconvdata/ibm1153.h: Likewise.
3958 * iconvdata/ibm1154.h: Likewise.
3959 * iconvdata/ibm1155.h: Likewise.
3960 * iconvdata/ibm1156.h: Likewise.
3961 * iconvdata/ibm1157.h: Likewise.
3962 * iconvdata/ibm1158.h: Likewise.
3963 * iconvdata/ibm1160.h: Likewise.
3964 * iconvdata/ibm1161.h: Likewise.
3965 * iconvdata/ibm1162.h: Likewise.
3966 * iconvdata/ibm1163.h: Likewise.
3967 * iconvdata/ibm1164.h: Likewise.
3968 * iconvdata/ibm1166.h: Likewise.
3969 * iconvdata/ibm1167.h: Likewise.
3970 * iconvdata/ibm12712.h: Likewise.
3971 * iconvdata/ibm1390.h: Likewise.
3972 * iconvdata/ibm1399.h: Likewise.
3973 * iconvdata/ibm16804.h: Likewise.
3974 * iconvdata/ibm4517.h: Likewise.
3975 * iconvdata/ibm4899.h: Likewise.
3976 * iconvdata/ibm4909.h: Likewise.
3977 * iconvdata/ibm4971.h: Likewise.
3978 * iconvdata/ibm5347.h: Likewise.
3979 * iconvdata/ibm803.h: Likewise.
3980 * iconvdata/ibm856.h: Likewise.
3981 * iconvdata/ibm901.h: Likewise.
3982 * iconvdata/ibm902.h: Likewise.
3983 * iconvdata/ibm9030.h: Likewise.
3984 * iconvdata/ibm9066.h: Likewise.
3985 * iconvdata/ibm921.h: Likewise.
3986 * iconvdata/ibm922.h: Likewise.
3987 * iconvdata/ibm9448.h: Likewise.
3988 * iconvdata/isiri-3342.h: Likewise.
3989 * iconvdata/jis0201.h: Likewise.
3990 * include/link.h: Likewise.
3991 * include/netdb.h: Likewise.
3992 * inet/check_native.c: Likewise.
3993 * inet/check_pf.c: Likewise.
3994 * inet/getipv4sourcefilter.c: Likewise.
3995 * inet/getnameinfo.c: Likewise.
3996 * inet/getsourcefilter.c: Likewise.
3997 * inet/htonl.c: Likewise.
3998 * inet/setipv4sourcefilter.c: Likewise.
3999 * inet/setsourcefilter.c: Likewise.
4000 * inet/test-inet6_opt.c: Likewise.
4001 * inet/tst-network.c: Likewise.
4002 * locale/C-collate.c: Likewise.
4003 * locale/C-ctype.c: Likewise.
4004 * locale/C-time.c: Likewise.
4005 * locale/C-translit.h: Likewise.
4006 * locale/loadarchive.c: Likewise.
4007 * locale/programs/3level.h: Likewise.
4008 * locale/programs/charmap.c: Likewise.
4009 * locale/programs/charmap.h: Likewise.
4010 * locale/programs/ld-address.c: Likewise.
4011 * locale/programs/ld-collate.c: Likewise.
4012 * locale/programs/ld-ctype.c: Likewise.
4013 * locale/programs/ld-identification.c: Likewise.
4014 * locale/programs/ld-measurement.c: Likewise.
4015 * locale/programs/ld-messages.c: Likewise.
4016 * locale/programs/ld-monetary.c: Likewise.
4017 * locale/programs/ld-name.c: Likewise.
4018 * locale/programs/ld-numeric.c: Likewise.
4019 * locale/programs/ld-paper.c: Likewise.
4020 * locale/programs/ld-telephone.c: Likewise.
4021 * locale/programs/ld-time.c: Likewise.
4022 * locale/programs/linereader.c: Likewise.
4023 * locale/programs/locale.c: Likewise.
4024 * locale/programs/locarchive.c: Likewise.
4025 * locale/programs/locfile.h: Likewise.
4026 * locale/programs/repertoire.c: Likewise.
4027 * locale/programs/simple-hash.c: Likewise.
4028 * locale/programs/simple-hash.h: Likewise.
4029 * malloc/memusage.c: Likewise.
4030 * malloc/memusagestat.c: Likewise.
4031 * nis/nis_defaults.c: Likewise.
4032 * nis/nis_hash.c: Likewise.
4033 * nis/nis_print.c: Likewise.
4034 * nis/nis_xdr.c: Likewise.
4035 * nscd/connections.c: Likewise.
4036 * nscd/hstcache.c: Likewise.
4037 * nscd/nscd_gethst_r.c: Likewise.
4038 * nscd/nscd_getserv_r.c: Likewise.
4039 * nscd/nscd_helper.c: Likewise.
4040 * nscd/servicescache.c: Likewise.
4041 * nss/makedb.c: Likewise.
4042 * nss/nss_db/db-XXX.c: Likewise.
4043 * nss/nss_db/db-initgroups.c: Likewise.
4044 * nss/nss_db/db-netgrp.c: Likewise.
4045 * nss/nss_files/files-network.c: Likewise.
4046 * nss/nss_files/files-parse.c: Likewise.
4047 * posix/bug-regex5.c: Likewise.
4048 * posix/fnmatch_loop.c: Likewise.
4049 * posix/regcomp.c: Likewise.
4050 * posix/regexec.c: Likewise.
4051 * posix/tst-rfc3484-2.c: Likewise.
4052 * posix/tst-rfc3484-3.c: Likewise.
4053 * posix/tst-rfc3484.c: Likewise.
4054 * resolv/nss_dns/dns-canon.c: Likewise.
4055 * resolv/nss_dns/dns-network.c: Likewise.
4056 * resolv/res_init.c: Likewise.
4057 * resolv/res_mkquery.c: Likewise.
4058 * resolv/tst-aton.c: Likewise.
4059 * stdlib/cxa_atexit.c: Likewise.
4060 * stdlib/cxa_finalize.c: Likewise.
4061 * stdlib/gen-fpioconst.c: Likewise.
4062 * stdlib/strtol_l.c: Likewise.
4063 * string/tst-endian.c: Likewise.
4064 * sunrpc/auth_des.c: Likewise.
4065 * sunrpc/clnt_udp.c: Likewise.
4066 * sunrpc/rtime.c: Likewise.
4067 * sunrpc/svcauth_des.c: Likewise.
4068 * sunrpc/xdr.c: Likewise.
4069 * sunrpc/xdr_intXX_t.c: Likewise.
4070 * sunrpc/xdr_rec.c: Likewise.
4071 * sysdeps/generic/ldconfig.h: Likewise.
4072 * sysdeps/generic/ldsodefs.h: Likewise.
4073 * sysdeps/generic/memusage.h: Likewise.
4074 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4084 * sysdeps/posix/getaddrinfo.c: Likewise.
4085 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4086 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4087 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4089 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4090 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4091 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4092 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4093 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4095 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4096 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4097 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4098 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4100 * sysdeps/x86_64/dl-tls.h: Likewise.
4101 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4102 * time/alt_digit.c: Likewise.
4103 * time/era.c: Likewise.
4104 * wcsmbs/tst-c16c32-1.c: Likewise.
4105
8c75f674
JM
41062013-05-16 Joseph Myers <joseph@codesourcery.com>
4107
4108 * math/libm-test.inc (struct test_sincos_data): New type.
4109 (RUN_TEST_LOOP_sincos): New macro.
4110 (sincos_test_data): New variable.
4111 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4112
e6e49e59
RH
41132013-05-16 Richard Henderson <rth@redhat.com>
4114
4115 * math/atest-exp2.c (LIMB64): New macro.
4116 (CONSTSZ): New macro.
4117 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4118 (hexdig): Move ...
4119 (print_mpn_fp): ... to function scope.
4120 (read_mpn_hex): Remove.
4121 (get_log2): Remove.
4122 (exp2_mpn): Use mp_log2.
4123 (main): Use mp_exp1.
4124
15c7c18d
JM
41252013-05-16 Joseph Myers <joseph@codesourcery.com>
4126
105a07df
JM
4127 * math/libm-test.inc: Remove comment about not testing "inexact"
4128 exceptions.
4129 (INEXACT_EXCEPTION): New macro.
4130 (NO_INEXACT_EXCEPTION): Likewise.
4131 (INVALID_EXCEPTION_OK): Update value.
4132 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4133 (OVERFLOW_EXCEPTION_OK): Likewise.
4134 (UNDERFLOW_EXCEPTION_OK): Likewise.
4135 (IGNORE_ZERO_INF_SIGN): Likewise.
4136 (ERRNO_UNCHANGED): Likewise.
4137 (ERRNO_EDOM): Likewise.
4138 (ERRNO_ERANGE): Likewise.
4139 (test_exceptions): Handle testing "inexact" exceptions.
4140 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4141 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4142 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4143 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4144 INEXACT_EXCEPTION.
4145 (rint_towardzero_test_data): Likewise.
4146 (rint_downward_test_data): Likewise.
4147 (rint_upward_test_data): Likewise.
4148
e9eee333
JM
4149 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4150 with OVERFLOW_EXCEPTION.
4151 (exp10_test_data): Likewise.
4152 (exp2_test_data): Likewise.
4153 (expm1_test_data): Likewise.
4154 (lgamma_test_data): Likewise.
4155 (pow_test_data): Likewise.
4156 (tgamma_test_data): Likewise.
4157 (yn_test_data): Remove duplicate test of overflow.
4158
1c38ff73
JM
4159 * math/libm-test.inc (struct test_cc_c_data): New type.
4160 (RUN_TEST_LOOP_cc_c): New macro.
4161 (cpow_test_data): New variable.
4162 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4163
15c7c18d
JM
4164 * math/libm-test.inc (struct test_f_L_data): New type.
4165 (RUN_TEST_LOOP_f_L): New macro.
4166 (llrint_test_data): New variable.
4167 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4168 (llrint_tonearest_test_data): New variable.
4169 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4170 (llrint_towardzero_test_data): New variable.
4171 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4172 (llrint_downward_test_data): New variable.
4173 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4174 (llrint_upward_test_data): New variable.
4175 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4176 (llround_test_data): New variable.
4177 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4178
f137ff13
PC
41792013-05-13 Peter Collingbourne <pcc@google.com>
4180
4181 * math/atest-exp2.c (get_log2): Remove const attribute.
4182
3608cb24
JM
41832013-05-15 Joseph Myers <joseph@codesourcery.com>
4184
4185 * math/libm-test.inc (struct test_f_l_data): New type.
4186 (RUN_TEST_LOOP_f_l): New macro.
4187 (lrint_test_data): New variable.
4188 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4189 (lrint_tonearest_test_data): New variable.
4190 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4191 (lrint_towardzero_test_data): New variable.
4192 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4193 (lrint_downward_test_data): New variable.
4194 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4195 (lrint_upward_test_data): New variable.
4196 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4197 (lround_test_data): New variable.
4198 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4199
39b1f617
PC
42002013-05-15 Peter Collingbourne <pcc@google.com>
4201
1deff3dc
PC
4202 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4203 (EXTRACT_WORDS64) Use where appropriate.
4204 (INSERT_WORDS64) Likewise.
4205
791f3ba0
PC
4206 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4207 constraints with x constraints.
4208 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4209
39b1f617
PC
4210 * malloc/obstack.c (_obstack_compat): Add initializer.
4211
12fba011
EM
42122013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4213
4214 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4215 si_trapno and add si_addr_lsb to _sifields.sigfault.
4216 (si_trapno): Remove macro.
4217 (si_addr_lsb): Define new macro.
4218 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4219
d369f531
JM
42202013-05-15 Joseph Myers <joseph@codesourcery.com>
4221
b861c6c4
JM
4222 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4223 instead of TEST_f_l.
4224 (llrint_test_tonearest): Likewise.
4225 (llrint_test_towardzero): Likewise.
4226 (llrint_test_downward): Likewise.
4227 (llrint_test_upward): Likewise.
4228 (llround_test): Likewise.
4229
7abeee12
JM
4230 * math/libm-test.inc (struct test_f_i_data): Add comment.
4231 (RUN_TEST_LOOP_f_b): New macro.
4232 (RUN_TEST_LOOP_f_b_tg): Likewise.
4233 (finite_test_data): New variable.
4234 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4235 (isfinite_test_data): New variable.
4236 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4237 (isinf_test_data): New variable.
4238 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4239 (isnan_test_data): New variable.
4240 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4241 (isnormal_test_data): New variable.
4242 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4243 (issignaling_test_data): New variable.
4244 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4245 (signbit_test_data): New variable.
4246 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4247
cbe8c4d3
JM
4248 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4249 with INVALID_EXCEPTION.
4250 (acosh_test_data): Likewise.
4251 (asin_test_data): Likewise.
4252 (atanh_test_data): Likewise.
4253 (fmod_test_data): Likewise.
4254 (log_test_data): Likewise.
4255 (log10_test_data): Likewise.
4256 (log2_test_data): Likewise.
4257 (pow_test_data): Likewise.
4258 (sqrt_test_data): Likewise.
4259 (y0_test_data): Likewise.
4260 (y1_test_data): Likewise.
4261 (yn_test_data): Likewise.
4262
5575c0e5
JM
4263 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4264 function contents.
4265
d369f531
JM
4266 * math/libm-test.inc (struct test_ff_i_data): New type.
4267 (RUN_TEST_LOOP_ff_i_tg): New macro.
4268 (isgreater_test_data): New variable.
4269 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4270 (isgreaterequal_test_data): New variable.
4271 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4272 (isless_test_data): New variable.
4273 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4274 (islessequal_test_data): New variable.
4275 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4276 (islessgreater_test_data): New variable.
4277 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4278 (isunordered_test_data): New variable.
4279 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4280
781fd748
DM
42812013-05-14 David S. Miller <davem@davemloft.net>
4282
4283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4284
87aa21df
JM
42852013-05-14 Joseph Myers <joseph@codesourcery.com>
4286
5e908270
JM
4287 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4288
f71172e5
JM
4289 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4290 extra_test to int.
4291 (struct test_f_i_data): Change type of max_ulp to int.
4292
8cfa635a
JM
4293 * math/libm-test.inc (test_ffI_f1_data): New type.
4294 (RUN_TEST_LOOP_ffI_f1): New macro.
4295 (remquo_test_data): New variable.
4296 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4297
2bcb36b2
JM
4298 * setjmp/tst-setjmp-fp.c: New file.
4299 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4300 (link-libm): New variable.
4301 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4302
acbd839a
JM
4303 * math/libm-test.inc (struct test_f_i_data): New type.
4304 (RUN_TEST_LOOP_f_i): New macro.
4305 (RUN_TEST_LOOP_f_i_tg): Likewise.
4306 (fpclassify_test_data): New variable.
4307 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4308 (ilogb_test_data): New variable.
4309 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4310
e414d745
JM
4311 * math/libm-test.inc (scalbln_test): Correct function name in END
4312 call.
4313
d9c2a0fd
JM
4314 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4315 (RUN_TEST_LOOP_fI_f1): New macro.
4316 (frexp_test_data): New variable.
4317 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4318
9dc9095d
JM
4319 * math/libm-test.inc (struct test_fF_f1_data): New type.
4320 (RUN_TEST_LOOP_fF_f1): New macro.
4321 (modf_test_data): New variable.
4322 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4323
87aa21df
JM
4324 * math/libm-test.inc (struct test_f_f1_data): New type.
4325 (RUN_TEST_LOOP_f_f1): New macro.
4326 (gamma_test_data): New variable.
4327 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4328 (lgamma_test_data): New variable.
4329 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4330
141af660
CD
43312013-05-13 Carlos O'Donell <carlos@redhat.com>
4332
4333 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4334 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4335 (main): Comment "tls" pseudo-hwcap.
4336
6d33265c
JM
43372013-05-13 Joseph Myers <joseph@codesourcery.com>
4338
68fc074c
JM
4339 * math/libm-test.inc (struct test_fl_f_data): New type.
4340 (RUN_TEST_LOOP_fl_f): New variable.
4341 (scalbln_test_data): New variable.
4342 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4343
243216e1
JM
4344 * math/libm-test.inc (struct test_fi_f_data): New type.
4345 (RUN_TEST_LOOP_fi_f): New macro.
4346 (ldexp_test_data): New variable.
4347 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4348 (scalbn_test_data): New variable.
4349 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4350
6a1992e2
JM
4351 * math/libm-test.inc (struct test_c_f_data): New type.
4352 (RUN_TEST_LOOP_c_f): New macro.
4353 (cabs_test_data): New variable.
4354 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4355 (carg_test_data): New variable.
4356 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4357 (cimag_test_data): New variable.
4358 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4359 (creal_test_data): New variable.
4360 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4361
0e400df5
JM
4362 * math/libm-test.inc (struct test_if_f_data): New type.
4363 (RUN_TEST_LOOP_if_f): New macro.
4364 (jn_test_data): New variable.
4365 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4366 (yn_test_data): New variable.
4367 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4368
6d33265c
JM
4369 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4370
f98ece5f
AZ
43712013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4372
4373 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4374 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4375
0f7d347b
SP
43762013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4377
43fe811b
SP
4378 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4379 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4380 (bench-deps): Add bench-timing.h.
4381 * benchtests-bench-skeleton.c: Include bench-timing.h.
4382 (main): Use TIMING_* macros instead of clock_gettime.
4383 * benchtests/bench-timing.h: New file.
4384
0f7d347b
SP
4385 [BZ #14582]
4386 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4387 Renamed from _LIB_VERSION.
4388 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4389
601a3a5f
JM
43902013-05-12 Joseph Myers <joseph@codesourcery.com>
4391
4f184d30
JM
4392 * math/libm-test.inc (struct test_fff_f_data): New type.
4393 (RUN_TEST_LOOP_fff_f): New macro.
4394 (fma_test_data): New variable.
4395 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4396 (fma_towardzero_test_data): New variable.
4397 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4398 (fma_downward_test_data): New variable.
4399 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4400 (fma_upward_test_data): New variable.
4401 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4402
08198877
JM
4403 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4404 (struct test_c_c_data): New type.
4405 (RUN_TEST_LOOP_c_c): New macro.
4406 (cacos_test_data): New variable.
4407 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4408 (cacosh_test_data): New variable.
4409 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4410 (casin_test_data): New variable.
4411 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4412 (casinh_test_data): New variable.
4413 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4414 (catan_test_data): New variable.
4415 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4416 (catanh_test_data): New variable.
4417 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4418 (ccos_test_data): New variable.
4419 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4420 (ccosh_test_data): New variable.
4421 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4422 (cexp_test_data): New variable.
4423 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4424 (clog_test_data): New variable.
4425 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4426 (clog10_test_data): New variable.
4427 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4428 (conj_test_data): New variable.
4429 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4430 (cproj_test_data): New variable.
4431 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4432 (csin_test_data): New variable.
4433 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4434 (csinh_test_data): New variable.
4435 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4436 (csqrt_test_data): New variable.
4437 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4438 (ctan_test_data): New variable.
4439 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4440 (ctan_tonearest_test_data): New variable.
4441 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4442 (ctan_towardzero_test_data): New variable.
4443 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4444 (ctan_downward_test_data): New variable.
4445 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4446 (ctan_upward_test_data): New variable.
4447 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4448 (ctanh_test_data): New variable.
4449 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4450 (ctanh_tonearest_test_data): New variable.
4451 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4452 (ctanh_towardzero_test_data): New variable.
4453 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4454 (ctanh_downward_test_data): New variable.
4455 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4456 (ctanh_upward_test_data): New variable.
4457 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4458 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4459 of BUILD_COMPLEX.
4460
601a3a5f
JM
4461 * math/libm-test.inc (struct test_ff_f_data): New type.
4462 (struct test_ff_f_data_nexttoward): Likewise.
4463 (RUN_TEST_LOOP_2_f): New macro.
4464 (RUN_TEST_LOOP_ff_f): Likewise.
4465 (atan2_test_data): New variable.
4466 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4467 (copysign_test_data): New variable.
4468 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4469 (fdim_test_data): New variable.
4470 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4471 (fmax_test_data): New variable.
4472 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4473 (fmin_test_data): New variable.
4474 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4475 (fmod_test_data): New variable.
4476 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4477 (hypot_test_data): New variable.
4478 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4479 (nextafter_test_data): New variable.
4480 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4481 (nexttoward_test_data): New variable.
4482 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4483 (pow_test_data): New variable.
4484 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4485 (pow_tonearest_test_data): New variable.
4486 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4487 (pow_towardzero_test_data): New variable.
4488 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4489 (pow_downward_test_data): New variable.
4490 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4491 (pow_upward_test_data): New variable.
4492 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4493 (remainder_test_data): New variable.
4494 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4495 (scalb_test_data): New variable.
4496 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498
74c57478
JM
44992013-05-11 Joseph Myers <joseph@codesourcery.com>
4500
8329e4da
JM
4501 * math/libm-test.inc (fma_test): Use max_value instead of local
4502 variable fltmax.
4503 (nextafter_test): Likewise.
4504
74c57478
JM
4505 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4506 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4507 (acos_downward_test_data): New variable.
4508 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4509 (acos_upward_test_data): New variable.
4510 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4511 (acosh_test_data): New variable.
4512 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4513 (asin_test_data): New variable.
4514 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4515 (asin_tonearest_test_data): New variable.
4516 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4517 (asin_towardzero_test_data): New variable.
4518 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4519 (asin_downward_test_data): New variable.
4520 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4521 (asin_upward_test_data): New variable.
4522 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4523 (asinh_test_data): New variable.
4524 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4525 (atan_test_data): New variable.
4526 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4527 (atanh_test_data): New variable.
4528 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4529 (cbrt_test_data): New variable.
4530 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4531 (ceil_test_data): New variable.
4532 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4533 (cos_test_data): New variable.
4534 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4535 (cos_tonearest_test_data): New variable.
4536 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4537 (cos_towardzero_test_data): New variable.
4538 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4539 (cos_downward_test_data): New variable.
4540 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4541 (cos_upward_test_data): New variable.
4542 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4543 (cosh_test_data): New variable.
4544 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4545 (cosh_tonearest_test_data): New variable.
4546 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4547 (cosh_towardzero_test_data): New variable.
4548 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4549 (cosh_downward_test_data): New variable.
4550 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4551 (cosh_upward_test_data): New variable.
4552 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4553 (erf_test_data): New variable.
4554 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4555 (erfc_test_data): New variable.
4556 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4557 (exp_test_data): New variable.
4558 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4559 (exp_tonearest_test_data): New variable.
4560 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4561 (exp_towardzero_test_data): New variable.
4562 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4563 (exp_downward_test_data): New variable.
4564 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4565 (exp_upward_test_data): New variable.
4566 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4567 (exp10_test_data): New variable.
4568 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4569 (exp2_test_data): New variable.
4570 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4571 (expm1_test_data): New variable.
4572 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4573 (fabs_test_data): New variable.
4574 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4575 (floor_test_data): New variable.
4576 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4577 (j0_test_data): New variable.
4578 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4579 (j1_test_data): New variable.
4580 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4581 (log_test_data): New variable.
4582 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4583 (log10_test_data): New variable.
4584 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4585 (log1p_test_data): New variable.
4586 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4587 (log2_test_data): New variable.
4588 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4589 (logb_test_data): New variable.
4590 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4591 (logb_downward_test_data): New variable.
4592 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4593 (nearbyint_test_data): New variable.
4594 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4595 (rint_test_data): New variable.
4596 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4597 (rint_tonearest_test_data): New variable.
4598 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4599 (rint_towardzero_test_data): New variable.
4600 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4601 (rint_downward_test_data): New variable.
4602 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4603 (rint_upward_test_data): New variable.
4604 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4605 (round_test_data): New variable.
4606 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4607 (sin_test_data): New variable.
4608 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4609 (sin_tonearest_test_data): New variable.
4610 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4611 (sin_towardzero_test_data): New variable.
4612 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4613 (sin_downward_test_data): New variable.
4614 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4615 (sin_upward_test_data): New variable.
4616 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4617 (sinh_test_data): New variable.
4618 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4619 (sinh_tonearest_test_data): New variable.
4620 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4621 (sinh_towardzero_test_data): New variable.
4622 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4623 (sinh_downward_test_data): New variable.
4624 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4625 (sinh_upward_test_data): New variable.
4626 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4627 (sqrt_test_data): New variable.
4628 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4629 (tan_test_data): New variable.
4630 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4631 (tan_tonearest_test_data): New variable.
4632 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4633 (tan_towardzero_test_data): New variable.
4634 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4635 (tan_downward_test_data): New variable.
4636 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4637 (tan_upward_test_data): New variable.
4638 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4639 (tanh_test_data): New variable.
4640 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4641 (tgamma_test_data): New variable.
4642 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4643 (trunc_test_data): New variable.
4644 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4645 (y0_test_data): New variable.
4646 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4647 (y1_test_data): New variable.
4648 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4649 (significand_test_data): New variable.
4650 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4651
7187d844
CG
46522013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4653
4654 [BZ #12387]
4655 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4656
f63fae73
PT
46572013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4658
4659 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4660
8a67a4b3
AJ
46612013-05-10 Andreas Jaeger <aj@suse.de>
4662
4663 [BZ #15448]
4664 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4665 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4666
51df539d
JM
46672013-05-10 Joseph Myers <joseph@codesourcery.com>
4668
4669 * math/gen-libm-test.pl (adjust_arg): New function.
4670 (special_functions): Handle generating output in both functions
4671 and arrays.
4672 (parse_args): Likewise.
4673 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4674 $in_func argument to parse_args.
4675 * math/libm-test.inc (struct test_f_f_data): New type.
4676 (IF_ROUND_INIT_): New macro.
4677 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4678 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4679 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4680 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4681 (ROUND_RESTORE_): Likewise.
4682 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4683 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4684 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4685 (ROUND_RESTORE_FE_UPWARD): Likewise.
4686 (RUN_TEST_LOOP_f_f): New macro.
4687 (acos_test_data): New variable.
4688 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4689 (acos_tonearest_test_data): New variable.
4690 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4691
5c637fe5
SP
46922013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
4694 * benchtests/bench-skeleton.c (startup): Fix coding style.
4695
ab2b9461
JM
46962013-05-10 Joseph Myers <joseph@codesourcery.com>
4697
4698 [BZ #6809]
4699 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4700 negative infinity argument.
4701 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4702 negative infinity argument.
4703 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4704 negative infinity argument.
4705 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4706 domain errors.
4707
4c0fe6fe
FW
47082013-05-10 Florian Weimer <fweimer@redhat.com>
4709
4710 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4711 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4712 * iconv/iconv_prog.c (main): Likewise.
4713 * locale/programs/charmap-dir.c (charmap_readdir)
4714 (fopen_uncompressed): Likewise.
4715 * locale/programs/locfile.c (siblings_uncached)
4716 (write_locale_data): Use lstat64 instead of lstat.
4717 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4718 stat.
4719
a3375d29
AJ
47202013-05-10 Andreas Jaeger <aj@suse.de>
4721
4722 [BZ #15395]
4723 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4724 localization.
4725 Include <locale.h>.
4726
36129722
CD
47272013-05-09 Carlos O'Donell <carlos@redhat.com>
4728
4729 * elf/dl-close.c (_dl_close_worker): Add comments.
4730
faa7f811
JM
47312013-05-09 Joseph Myers <joseph@codesourcery.com>
4732
ed41ffef
JM
4733 [BZ #15359]
4734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4735 high part of pi/2.
4736 (__ieee754_rem_pio2l): Update comments.
4737
d0213cd0
JM
4738 [BZ #15429]
4739 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4740 high part of pi/2.
4741 (__ieee754_rem_pio2l): Update comments.
4742
0d3e777a
JM
4743 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4744 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4745
24f56066
JM
4746 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4747 M_PI_4l.
4748
faa7f811
JM
4749 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4750 (M_PI_34_LOG10El): Likewise.
4751 (M_PI2_LOG10El): Likewise.
4752 (M_PI4_LOG10El): Likewise.
4753 (M_PI_LOG10El): Likewise.
4754
e9a5e0fd
AZ
47552013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
4757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4758
d8cd06db
JM
47592013-05-08 Joseph Myers <joseph@codesourcery.com>
4760
a0d9f9d7
JM
4761 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4762 (MINUS_ZERO_INIT): Likewise.
4763 (PLUS_INFTY_INIT): Likewise.
4764 (MINUS_INFTY_INIT): Likewise.
4765 (QNAN_VALUE_INIT): Likewise.
4766 (MAX_VALUE_INIT): Likewise.
4767 (MIN_VALUE_INIT): Likewise.
4768 (MIN_SUBNORM_VALUE_INIT): Likewise.
4769 (plus_zero): Initialize with PLUS_ZERO_INIT.
4770 (minus_zero): Initialize with MINUS_ZERO_INIT.
4771 (plus_infty): Initialize with PLUS_INFTY_INIT.
4772 (minus_infty): Initialize with MINUS_INFTY_INIT.
4773 (qnan_value): Initialize with QNAN_VALUE_INIT.
4774 (max_value): Initialize with MAX_VALUE_INIT.
4775 (min_value): Initialize with MIN_VALUE_INIT.
4776 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4777
ae08db3b
JM
4778 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4779 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4780 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4781 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4782
f44bf14a
JM
4783 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4784 (RUN_TEST_2_f): Likewise.
4785 (RUN_TEST_ff_f): Likewise.
4786 (RUN_TEST_fi_f): Likewise.
4787 (RUN_TEST_fl_f): Likewise.
4788 (RUN_TEST_fff_f): Likewise.
4789 (RUN_TEST_c_f): Likewise.
4790 (RUN_TEST_f_f1): Likewise.
4791 (RUN_TEST_fF_f1): Likewise.
4792 (RUN_TEST_fI_f1): Likewise.
4793 (RUN_TEST_ffI_f1): Likewise.
4794 (RUN_TEST_c_c): Likewise.
4795 (RUN_TEST_cc_c): Likewise.
4796 (RUN_TEST_f_i): Likewise.
4797 (RUN_TEST_f_i_tg): Likewise.
4798 (RUN_TEST_ff_i_tg): Likewise.
4799 (RUN_TEST_f_b): Likewise.
4800 (RUN_TEST_f_b_tg): Likewise.
4801 (RUN_TEST_f_l): Likewise.
4802 (RUN_TEST_f_L): Likewise.
4803 (RUN_TEST_sincos): Likewise.
4804 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4805 whether to show exceptions. Do not include ");\n" in return
4806 value.
4807 (special_functions): Output call to RUN_TEST_sincos instead of
4808 check_float calls. Update calls to new_test.
4809 (parse_args): Output call to single RUN_TEST_* macro instead of
4810 check_* calls and other assignments. Update calls to new_test.
4811
d8cd06db
JM
4812 [BZ #2546]
4813 [BZ #2560]
4814 [BZ #5159]
4815 [BZ #15426]
4816 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4817 input to result for tgamma overflow.
4818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4819 (gamma_coeff): New variable.
4820 (NCOEFF): New macro.
4821 (gamma_positive): New function.
4822 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4823 underflow here. Use gamma_positive instead of exp (lgamma) for
4824 other arguments.
4825 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4826 (gamma_coeff): New variable.
4827 (NCOEFF): New macro.
4828 (gammaf_positive): New function.
4829 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4830 underflow here. Use gamma_positive instead of exp (lgamma) for
4831 other arguments.
4832 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4833 (gamma_coeff): New variable.
4834 (NCOEFF): New macro.
4835 (gammal_positive): New function.
4836 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4837 underflow here. Use gamma_positive instead of exp (lgamma) for
4838 other arguments.
4839 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4840 (gamma_coeff): New variable.
4841 (NCOEFF): New macro.
4842 (gammal_positive): New function.
4843 (__ieee754_gammal_r): Handle positive infinity, overflow and
4844 underflow here. Handle NaN the same as positive infinity. Remove
4845 check x < 0xffffffff for negative integers. Use gamma_positive
4846 instead of exp (lgamma) for other arguments.
4847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4848 (gamma_coeff): New variable.
4849 (NCOEFF): New macro.
4850 (gammal_positive): New function.
4851 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4852 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4856 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4857 * sysdeps/generic/math_private.h (__gamma_productf): New
4858 prototype.
4859 (__gamma_product): Likewise.
4860 (__gamma_productl): Likewise.
4861 * math/Makefile (libm-calls): Add gamma_product.
4862 * math/libm-test.inc (tgamma_test): Add more tests.
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4865
bb7cf681
OB
48662013-05-08 Ondřej Bílka <neleai@seznam.cz>
4867
4868 * benchtests/bench-skeleton.c (main): Preheat CPU.
4869
ba853947
AJ
48702013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4871
4872 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4873
8347c74c
RM
48742013-05-07 Roland McGrath <roland@hack.frob.com>
4875
4876 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4877 and _dl_skip_args_internal.
4878
e8dd4791
CD
48792013-05-07 Carlos O'Donell <carlos@redhat.com>
4880
4881 * manual/message.texi (Message Translation): Talk about users.
4882 Message to key mapping impacts design.
4883
c7405830
RM
48842013-05-06 Roland McGrath <roland@hack.frob.com>
4885
a9173057
RM
4886 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4887
976e2f03
RM
4888 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4889
9723ffc5
RM
4890 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4891 * sysdeps/wordsize-64/glob64.c: ... here.
4892
962e6658
RM
4893 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4894 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4895 New macros.
4896
ee586a6d
RM
4897 * debug/getlogin_r_chk.c: Moved to ...
4898 * login/getlogin_r_chk.c: ... here.
4899 * debug/Makefile (routines): Move getlogin_r_chk to ...
4900 * login/Makefile (routines): ... here.
4901 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4902 * login/Versions (libc: GLIBC_2.4): ... here.
4903
355f9165
RM
4904 * io/poll.c (__poll): Renamed from poll.
4905 Add libc_hidden_def.
4906 (poll): Define as weak alias.
4907
bd9ffde6
RM
4908 * debug/ptsname_r_chk.c: Moved to ...
4909 * login/ptsname_r_chk.c: ... here.
4910 * debug/Makefile (routines): Move ptsname_r_chk to ...
4911 * login/Makefile (routines): ... here.
4912 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4913 * login/Versions (libc: GLIBC_2.4): ... here.
4914
8fb16a04
RM
4915 * posix/getlogin.c: Moved to ...
4916 * login/getlogin.c: ... here.
4917 * posix/getlogin_r.c: Moved to ...
4918 * login/getlogin_r.c: ... here.
4919 * posix/getlogin_r.c: Moved to ...
4920 * login/getlogin_r.c: ... here.
4921 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4922 * login/Makefile (routines): ... here.
4923 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4924 * login/Versions (libc: GLIBC_2.0): ... here.
4925
b99b892f
RM
4926 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4927 (setrlimit): Define as weak alias.
4928
c7405830
RM
4929 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4930 Call __ names for open, ftruncate, and close.
4931 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4932 (truncate): Define as weak alias.
4933
5bf96de5
JM
49342013-05-06 Joseph Myers <joseph@codesourcery.com>
4935
9ea3513c
JM
4936 * math/gen-libm-test.pl (parse_args): Initialize x before each
4937 test of frexp, modf and remquo.
4938
5bf96de5
JM
4939 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4940 test signgam value.
4941
16e616a7
AZ
49422013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943
4944 [BZ #15418]
4945 [BZ #15419]
4946 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4947 internal tests.
4948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4949
d5e82754
RM
49502013-05-06 Roland McGrath <roland@hack.frob.com>
4951
4952 * elf/dl-writev.h: New file.
4953 * elf/dl-misc.c: Include it.
4954 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4955 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4956
a7548d41
JM
49572013-05-04 Joseph Myers <joseph@codesourcery.com>
4958
b7dab1e4
JM
4959 * math/libm-test.inc (noXFails): Remove variable.
4960 (noXPasses): Likewise.
4961 (BUILD_COMPLEX_INT): Remove macro.
4962 (print_screen): Remove xfail argument.
4963 (print_screen_max_error): Likewise.
4964 (update_stats): Likewise.
4965 (print_max_error): Likewise. Update calls to other affected
4966 functions.
4967 (print_complex_max_error): Likewise.
4968 (test_single_exception): Update calls to print_screen.
4969 (test_single_errno): Likewise.
4970 (check_float_internal): Remove xfail argument. Update calls to
4971 other affected functions.
4972 (check_float): Likewise.
4973 (check_complex): Likewise.
4974 (check_int): Likewise.
4975 (check_long): Likewise.
4976 (check_bool): Likewise.
4977 (check_longlong): Likewise.
4978 (main): Don't print noXFails and noXPasses.
4979 * math/gen-libm-test.pl (top level): Don't mention expected
4980 failure handling in comment.
4981 (new_test): Don't handle expected failures.
4982 (parse_args): Don't mention expected failure handling in comment.
4983 (generate_testfile): Don't handle expected failures.
4984 (parse_ulps): Likewise.
4985 (print_ulps_file): Likewise.
4986 (get_failure): Remove function.
4987 (output_test): Don't handle expected failures.
4988 * make/README.libm-test: Don't mention expected failure handling.
4989
a7548d41
JM
4990 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4991 (minus_zero): Likewise.
4992 (plus_infty): Likewise.
4993 (minus_infty): Likewise.
4994 (qnan_value): Likewise.
4995 (max_value): Likewise.
4996 (min_value): Likewise.
4997 (min_subnorm_value): Likewise.
4998 (initialize): Do not initialize those variables dynamically.
4999
60bfd54c
RM
50002013-05-03 Roland McGrath <roland@hack.frob.com>
5001
cc0e6ed8
RM
5002 * io/open.c (__open_2): Moved to ...
5003 * io/open_2.c: ... this new file.
5004 * io/open64.c (__open64_2): Moved to ...
5005 * io/open64_2.c: ... this new file.
5006 * io/openat.c (__openat_2): Moved to ...
5007 * io/openat_2.c: ... this new file.
5008 * io/openat64.c (__openat64_2): Moved to ...
5009 * io/openat64_2.c: ... this new file.
5010 * io/Makefile (routines): Add them.
5011 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5012 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5013 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5014 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5015 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5016 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5017 (__openat64): Add hidden_ver.
5018 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5019 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5020
60bfd54c
RM
5021 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5022 Separately conditionalize setting of GLRO(dl_sysinfo) so
5023 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5024 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5025
83e7640f
AZ
50262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
5028 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5029 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5030 definition.
5031 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5032 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5033 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5034 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5035 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5036
d5dc2af3
JM
50372013-05-03 Joseph Myers <joseph@codesourcery.com>
5038
c31a5b1e
JM
5039 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5040 test signgam value.
5041
d5dc2af3
JM
5042 * math/libm-test.inc (hypot_test): Do not use
5043 IGNORE_ZERO_INF_SIGN.
5044
164fd39d
AJ
50452013-05-03 Andreas Jaeger <aj@suse.de>
5046
5047 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5048 Linux 3.9.
5049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5050 (PF_MAX): Adjust for VSOCK change.
5051
8237f48c
AZ
50522013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5053
5054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5055
9df02941
CD
50562013-05-02 Carlos O'Donell <carlos@redhat.com>
5057
5058 [BZ #15264]
5059 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5060 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5061 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5062
d422395e
DM
50632013-05-02 David S. Miller <davem@davemloft.net>
5064
5065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5066
a07c5731
OB
50672013-05-01 Ondřej Bílka <neleai@seznam.cz>
5068
5069 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5070
1324e37f
RM
50712013-05-01 Roland McGrath <roland@hack.frob.com>
5072
5073 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5074
0695940b
RS
50752013-05-01 Richard Smith <richard@metafoo.co.uk>
5076
bb5f27ad 5077 [BZ #14952]
0695940b
RS
5078 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5079 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5080 Use __attribute__ ((__gnu_inline__)).
5081 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5082 Don't use __attribute__ ((__gnu_inline__)).
5083
10de07f5
JM
50842013-05-01 Joseph Myers <joseph@codesourcery.com>
5085
5086 [BZ #15423]
5087 * math/s_catan.c (__catan): Handle small real or imaginary part of
5088 input specially to avoid spurious underflow.
5089 * math/s_catanf.c (__catanf): Likewise.
5090 * math/s_catanh.c (__catanh): Likewise.
5091 * math/s_catanhf.c (__catanhf): Likewise.
5092 * math/s_catanhl.c (__catanhl): Likewise.
5093 * math/s_catanl.c (__catanl): Likewise.
5094 * math/libm-test.inc (catan_test): Add more tests.
5095 (catanh_test): Likewise.
5096 * sysdeps/i386/fpu/libm-test-ulps: Update.
5097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5098
cb4d5414
AZ
50992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100
5101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5102
caf84319
JM
51032013-04-30 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #15416]
5106 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5107 accurately for denominator in atan2.
5108 * math/s_catanf.c (__catanf): Likewise.
5109 * math/s_catanh.c (__catanh): Likewise.
5110 * math/s_catanhf.c (__catanhf): Likewise.
5111 * math/s_catanhl.c (__catanhl): Likewise.
5112 * math/s_catanl.c (__catanl): Likewise.
5113 * math/libm-test.inc (catan_test): Add more tests.
5114 (catanh_test): Likewise.
5115 * sysdeps/i386/fpu/libm-test-ulps: Update.
5116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5117
d569c6ee
SP
51182013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5119
6dbe713d
SP
5120 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5121
f0ee064b
SP
5122 * benchtests/Makefile (bench): Remove slow benchmarks.
5123 * benchtests/atan-inputs: Add slow benchmark inputs.
5124 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5125 (BENCH_FUNC): Accept variant offset.
5126 (VARIANT): Define.
5127 * benchtests/bench-skeleton.c (main): Run benchmark for each
5128 variant.
5129 * benchtests/cos-inputs: Add slow benchmark inputs.
5130 * benchtests/exp-inputs: Likewise.
5131 * benchtests/pow-inputs: Likewise.
5132 * benchtests/sin-inputs: Likewise.
5133 * benchtests/slowatan-inputs: Remove.
5134 * benchtests/slowatan.c: Remove.
5135 * benchtests/slowcos-inputs: Remove.
5136 * benchtests/slowcos.c: Remove.
5137 * benchtests/slowexp-inputs: Remove.
5138 * benchtests/slowexp.c: Remove.
5139 * benchtests/slowpow-inputs: Remove.
5140 * benchtests/slowpow.c: Remove.
5141 * benchtests/slowsin-inputs: Remove.
5142 * benchtests/slowsin.c: Remove.
5143 * benchtests/slowtan-inputs: Remove.
5144 * benchtests/slowtan.c: Remove.
5145 * benchtests/tan-inputs: Add slow benchmark inputs.
5146 * scripts/bench.pl: Parse comments and directives.
5147
d569c6ee
SP
5148 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5149 in CPPFLAGS.
5150 ($(objpfx)bench-%.c): Remove *-ITER.
5151 * benchtests/bench-modf.c: Remove definition of ITER.
5152 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5153 (main): Loop for DURATION seconds instead of fixed number of
5154 iterations.
5155 * scripts/bench.pl: Don't expect iterations in parameters.
5156
a6a242fe
RM
51572013-04-29 Roland McGrath <roland@hack.frob.com>
5158
5159 * io/fchdir.c (__fchdir): Renamed from fchdir.
5160 (fchdir): Define as weak alias.
5161
f2da7793
JM
51622013-04-29 Joseph Myers <joseph@codesourcery.com>
5163
5164 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5165 (ERRNO_EDOM): Likewise.
5166 (ERRNO_ERANGE): Likewise.
5167 (noErrnoTests): New variable.
5168 (init_max_error): Set errno to 0.
5169 (test_single_errno): New function.
5170 (test_errno): Likewise.
5171 (check_float_internal): Call test_errno. Set errno to 0.
5172 (check_complex): Refer to errno tests in comment.
5173 (check_int): Call test_errno. Set errno to 0.
5174 (check_long): Likewise.
5175 (check_bool): Likewise.
5176 (check_longlong): Likewise.
5177 (cos_test): Use ERRNO_* flags for errno tests instead of
5178 check_int.
5179 (expm1_test): Likewise.
5180 (fmod_test): Likewise.
5181 (ilogb_test): Likewise.
5182 (lgamma_test): Likewise.
5183 (pow_test): Likewise.
5184 (remainder_test): Likewise.
5185 (sin_test): Likewise.
5186 (tan_test): Likewise.
5187 (yn_test): Likewise.
5188 (initialize): Set errno to 0.
5189 (main): Print number of errno tests.
5190 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5191
b1a36ceb
AJ
51922013-04-29 Andreas Jaeger <aj@suse.de>
5193
c3ed8088
AJ
5194 [BZ #15084]
5195 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5196 and RES_USEVC.
5197
f1a24198
AJ
5198 [BZ #15085]
5199 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5200 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5201 unimplemented.
5202
9ce3b2cb
AJ
5203 [BZ #15380]
5204 * stdlib/random.c (__initstate): Return NULL if
5205 __initstate fails.
5206
f1a24198 5207 [BZ #15086]
b1a36ceb
AJ
5208 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5209 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5210 RES_SNGLKUPREOP.
5211
7e7b6f36
AZ
52122013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213
5214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5215
4d14f449
JM
52162013-04-29 Joseph Myers <joseph@codesourcery.com>
5217
5218 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5219 of individual tests.
5220 (casin_test): Likewise.
5221 (casinh_test): Likewise.
5222
5b4217d7
JM
52232013-04-27 Joseph Myers <joseph@codesourcery.com>
5224
5225 [BZ #15409]
5226 * math/s_catan.c (__catan): Handle arguments with large real or
5227 imaginary part separately without squaring.
5228 * math/s_catanf.c (__catanf): Likewise.
5229 * math/s_catanh.c (__catanh): Likewise.
5230 * math/s_catanhf.c (__catanhf): Likewise.
5231 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5232 and redefine.
5233 (__catanhl): Handle arguments with large real or imaginary part
5234 separately without squaring.
5235 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5236 and redefine.
5237 (__catanl): Handle arguments with large real or imaginary part
5238 separately without squaring.
5239 * math/libm-test.inc (catan_test): Add more tests.
5240 (catanh_test): Likewise.
5241 * sysdeps/i386/fpu/libm-test-ulps: Update.
5242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5243
4220c3ef
AJ
52442013-04-27 Andreas Jaeger <aj@suse.de>
5245
5246 [BZ #15007]
5247 * stdlib/stdlib.h: Update guards for qecvt.
5248 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5249 <stdlib.h>.
5250
4721b2d1
AM
52512013-04-27 Allan McRae <allan@archlinux.org>
5252
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254
f0302940
JM
52552013-04-26 Joseph Myers <joseph@codesourcery.com>
5256
9457fd95
JM
5257 [BZ #15406]
5258 * math/s_catan.c: Include <float.h>.
5259 (__catan): Ensure underflow exception occurs for underflowed
5260 result.
5261 * math/s_catanf.c: Include <float.h>.
5262 (__catanf): Ensure underflow exception occurs for underflowed
5263 result.
5264 * math/s_catanh.c: Include <float.h>.
5265 (__catanh): Ensure underflow exception occurs for underflowed
5266 result.
5267 * math/s_catanhf.c: Include <float.h>.
5268 (__catanhf): Ensure underflow exception occurs for underflowed
5269 result.
5270 * math/s_catanhl.c: Include <float.h>.
5271 (__catanhl): Ensure underflow exception occurs for underflowed
5272 result.
5273 * math/s_catanl.c: Include <float.h>.
5274 (__catanl): Ensure underflow exception occurs for underflowed
5275 result.
5276 * math/libm-test.inc (catan_test): Add more tests.
5277 (catanh_test): Likewise.
5278
f0302940
JM
5279 [BZ #15405]
5280 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5281 underflowed result.
5282 * math/s_ccoshf.c (__ccoshf): Likewise.
5283 * math/s_ccoshl.c (__ccoshl): Likewise.
5284 * math/s_csin.c (__csin): Likewise.
5285 * math/s_csinf.c (__csinf): Likewise.
5286 * math/s_csinh.c (__csinh): Likewise.
5287 * math/s_csinhf.c (__csinhf): Likewise.
5288 * math/s_csinhl.c (__csinhl): Likewise.
5289 * math/s_csinl.c (__csinl): Likewise.
5290 * math/libm-test.inc (ccos_test): Add more tests.
5291 (ccosh_test): Likewise.
5292 (csin_test): Likewise.
5293 (csinh_test): Likewise.
5294
aa630f59
AZ
52952013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5296
5297 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5298 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5299 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5300 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5301 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5302 powerpc/power5+/fpu folders.
5303 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5304
5305
1b835983
MT
53062013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5307
5308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5309
73709b26
JM
53102013-04-25 Joseph Myers <joseph@codesourcery.com>
5311
5312 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5313 additions to variable.
5314 [$(config-machine) = x86_64] (modules-names): Likewise.
5315 ($(objpfx)tst-audit3): Remove dependency.
5316 ($(objpfx)tst-audit3.out): Likewise.
5317 ($(objpfx)tst-audit4): Likewise.
5318 ($(objpfx)tst-audit4.out): Likewise.
5319 ($(objpfx)tst-audit5): Likewise.
5320 ($(objpfx)tst-audit5.out): Likewise.
5321 ($(objpfx)tst-audit6): Likewise.
5322 ($(objpfx)tst-audit6.out): Likewise.
5323 ($(objpfx)tst-audit7): Likewise.
5324 ($(objpfx)tst-audit7.out): Likewise.
5325 (tst-audit3-ENV): Remove variable.
5326 (tst-audit4-ENV): Likewise.
5327 (tst-audit5-ENV): Likewise.
5328 (tst-audit6-ENV): Likewise.
5329 (tst-audit7-ENV): Likewise.
5330 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5331 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5332 addition to variable.
5333 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5334 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5335 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5336 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5337 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5338 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5339 tst-audit3, tst-audit4 and tst-audit5.
5340 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5341 tst-audit6 and tst-audit7.
5342 [$(subdir) = elf] (modules-names): Add audit modules for those
5343 tests.
5344 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5345 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5346 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5347 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5348 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5349 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5350 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5351 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5352 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5353 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5354 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5355 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5356 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5357 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5358 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5359 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5360 Likewise.
5361 [$(subdir) = elf && $(config-cflags-avx) = yes]
5362 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5363 [$(subdir) = elf && $(config-cflags-avx) = yes]
5364 (CFLAGS-tst-auditmod4a.c): Likewise.
5365 [$(subdir) = elf && $(config-cflags-avx) = yes]
5366 (CFLAGS-tst-auditmod4b.c): Likewise.
5367 [$(subdir) = elf && $(config-cflags-avx) = yes]
5368 (CFLAGS-tst-auditmod6b.c): Likewise.
5369 [$(subdir) = elf && $(config-cflags-avx) = yes]
5370 (CFLAGS-tst-auditmod6c.c): Likewise.
5371 [$(subdir) = elf && $(config-cflags-avx) = yes]
5372 (CFLAGS-tst-auditmod7b.c): Likewise.
5373 * elf/tst-audit3.c: Move to ...
5374 * sysdeps/x86_64/tst-audit3.c: ... here.
5375 * elf/tst-audit4.c: Move to ...
5376 * sysdeps/x86_64/tst-audit4.c: ... here.
5377 * elf/tst-audit5.c: Move to ...
5378 * sysdeps/x86_64/tst-audit5.c: ... here.
5379 * elf/tst-audit6.c: Move to ...
5380 * sysdeps/x86_64/tst-audit6.c: ... here.
5381 * elf/tst-audit7.c: Move to ...
5382 * sysdeps/x86_64/tst-audit7.c: ... here.
5383 * elf/tst-auditmod3a.c: Move to ...
5384 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5385 * elf/tst-auditmod3b.c: Move to ...
5386 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5387 * elf/tst-auditmod4a.c: Move to ...
5388 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5389 * elf/tst-auditmod4b.c: Move to ...
5390 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5391 * elf/tst-auditmod5a.c: Move to ...
5392 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5393 * elf/tst-auditmod5b.c: Move to ...
5394 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5395 * elf/tst-auditmod6a.c: Move to ...
5396 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5397 * elf/tst-auditmod6b.c: Move to ...
5398 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5399 * elf/tst-auditmod6c.c: Move to ...
5400 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5401 * elf/tst-auditmod7a.c: Move to ...
5402 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5403 * elf/tst-auditmod7b.c: Move to ...
5404 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5405
1ef74943
PP
54062013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5407
5408 [BZ #15366]
5409 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5410 define unconditionally.
5411 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5412 define unconditionally.
5413 (INT8_C, INT16_C, etc.): Likewise.
5414
93fd48c5
MR
54152013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5416
ae9552cf
MR
5417 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5418 __ehdr_start with hidden visibility.
5419
93fd48c5
MR
5420 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5421
418601aa
CD
54222013-04-24 Carlos O'Donell <carlos@redhat.com>
5423
5424 * math/libm-test.inc (cos_test): Use accurate hex constants.
5425 (sincost_test): Likewise.
5426
2f38fbfe
JM
54272013-04-24 Joseph Myers <joseph@codesourcery.com>
5428
5e221800
JM
5429 * math/libm-test.inc (catan_test): Add more tests.
5430 (catanh_test): Likewise.
5431
77f143fd
JM
5432 * math/s_catanf.c (__catanf): Use suffixed floating-point
5433 constants.
5434 * math/s_catanhf.c (__catanhf): Likewise.
5435 * math/s_catanhl.c (__catanhl): Likewise.
5436 * math/s_catanl.c (__catanl): Likewise.
5437
2f38fbfe
JM
5438 [BZ #15394]
5439 * math/s_catan.c (__catan): Calculate imaginary part of result
5440 with log1p not log unless computing log of number close to 0.
5441 * math/s_catanf.c (__catanf): Likewise.
5442 * math/s_catanl.c (__catanl): Likewise.
5443 * math/s_catanh.c (__catanh): Calculate real part of result with
5444 log1p not log unless computing log of number close to 0.
5445 * math/s_catanhf.c (__catanhf): Likewise.
5446 * math/s_catanhl.c (__catanhl): Likewise.
5447 * math/libm-test.inc (catan_test): Add more tests.
5448 (catanh_test): Likewise.
5449 * sysdeps/i386/fpu/libm-test-ulps: Update.
5450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5451
45d69176
SP
54522013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5453
5454 * benchtests/Makefile: Mention files in which fast and slow
5455 paths of math functions are implemented.
5456
87f51853
RM
54572013-04-23 Roland McGrath <roland@hack.frob.com>
5458
5459 * sysdeps/posix/timespec_get.c: New file.
5460
3c026539
AZ
54612013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5462
5463 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5464 POWER.
5465 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5466 for POWER.
5467 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5468 powerpc/power5/fpu folders.
5469 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5470 * benchtests/Makefile: Add modf testcase.
5471 * benchtests/bench-modf.c: New file: Benchmark test for mo
5472
ff491d14
SP
54732013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5474
5475 [BZ #14888]
5476 * time/Makefile (tests): Add tst-strptime-whitespace.
5477 * time/strptime_l.c (get_number): Use ISSPACE.
5478 (__strptime_internal): Likewise.
5479 * time/tst-strptime-whitespace.c: New test case.
5480
7ed3f4e8
AS
54812013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5482
5483 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5484 member.
5485 (_nss_files_init): Set it here.
5486
5c95f7b6
HC
54872013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5488
5489 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5490 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5491 unsigned.
5492
d34c9158
JBG
54932013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5494
5495 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5496
2169712d
SP
54972013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5498
5499 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5500 size just once.
5501
29c5de99
DM
55022013-04-21 David S. Miller <davem@davemloft.net>
5503
5504 * po/ru.po: Update Russion translation from translation project.
5505
ccdad15d
AC
55062013-04-17 Adam Conrad <adconrad@0c3.net>
5507
5508 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5509 and setfsgid.
5510
0f122b8d
CD
55112013-04-17 Carlos O'Donell <carlos@redhat.com>
5512
5c5b07da 5513 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5514 * configure: Regenerate.
5c5b07da 5515 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5516 Add example to error message.
5517 * sysdeps/i386/configure: Regenerate.
5518
037714dd
SP
55192013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5520
5521 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5522 slowtan.
5523 * benchtests/cos-inputs: New file.
5524 * benchtests/slowcos-inputs: New file.
5525 * benchtests/slowcos.c: New file.
5526 * benchtests/slowtan-inputs: New file.
5527 * benchtests/slowtan.c: New file.
5528 * benchtests/tan-inputs: New file.
5529
e913141d
RM
55302013-04-16 Roland McGrath <roland@hack.frob.com>
5531
5532 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5533 considered kosher.
5534
a2964074
SP
55352013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5536
4856bcd2
SP
5537 * benchtests/Makefile: Include cppflags-iterator.mk to add
5538 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5539
a2964074
SP
5540 * Makefile.in (bench-clean): New target.
5541 * benchtests/Makefile (bench-clean): Likewise.
5542
9fbf9aca
DH
55432013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5544
5545 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5546
207d1e2a
TS
55472013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5548
5549 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5550
306dfba9
AS
55512013-04-15 Andreas Schwab <schwab@suse.de>
5552
5553 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5555 * nscd/pwdcache.c (cache_addpw): Likewise.
5556 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5557 more than recsize.
5558
206a6699
SP
55592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5560
5561 * benchtests/Makefile (bench): Write all output to
5562 bench-out.tmp together.
5563
0582f6b3
AS
55642013-04-15 Andreas Schwab <schwab@suse.de>
5565
5566 * nscd/nscd.c (main): Don't fork again after closing files.
5567
acb4325f
SP
55682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5569
5cb26d0a
SP
5570 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5571
acb4325f
SP
5572 * benchtests/Rules (bench-deps): Collect dependencies into a
5573 single variable. Add Makefile to dependencies.
5574 ($(objpfx)bench-%.c): Depend on bench-deps.
5575
47792506
RM
55762013-04-12 Roland McGrath <roland@hack.frob.com>
5577 Xavier Roche <roche+kml2@exalead.com>
5578
5579 [BZ #15361]
5580 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5581 just that it's a file descriptor.
5582 * manual/llio.texi (Synchronizing AIO Operations): Update description
5583 for EBADF error from aio_fsync.
5584
8fc1bee5
SP
55852013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5586
5587 * Rules (bench): Move target definition...
5588 * benchtests/Makefile: ... here.
5589
aba5e333
CD
55902013-04-11 Carlos O'Donell <carlos@redhat.com>
5591
5592 * math/libm-test.inc (cos_test): Fix PI/2 test.
5593 (sincos_test): Likewise.
5594 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5595 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5596
273cdee8
AS
55972013-04-11 Andreas Schwab <schwab@suse.de>
5598
6ecec3b6
AS
5599 [BZ #13988]
5600 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5601 accept exponent character only when digits were seen.
5602 * stdio-common/Makefile (tests): Add bug26.
5603 * stdio-common/bug26.c: New file.
5604
273cdee8
AS
5605 [BZ #14293]
5606 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5607 non-freeable.
5608
8da491f5
SP
56092013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5610
01dc6df9
SP
5611 * Makeconfig (rtld-prefix): Define built linker prefix.
5612 * Rules (run-bench): Use it.
5613 * math/Makefile (run-regen-ulps): Likewise.
5614
8da491f5
SP
5615 * Rules (bench): Remove eval.
5616
abe7f530
SP
56172013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5618 Roland McGrath <roland@hack.frob.com>
5619 Ondrej Bilka <neleai@seznam.cz>
5620
5621 [BZ #15346]
5622 * time/getdate.c: Include ctype.h and alloca.h.
5623 (__getdate_r): Trim leading and trailing spaces of input.
5624 * time/tst-getdate.c (tests): Add tests with leading and
5625 trailing spaces.
5626
61c23e62
RM
56272013-04-08 Roland McGrath <roland@hack.frob.com>
5628
5629 [BZ #14280]
5630 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5631 when computing value.
5632
7208a313
CD
56332013-04-06 Carlos O'Donell <carlos@redhat.com>
5634
085b2d41
CD
5635 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5636 Use testrun.sh to run libm tests.
5637
7208a313
CD
5638 [BZ #15309]
5639 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5640
872c0acd
MM
56412013-04-06 Marko Myllynen <myllynen@redhat.com>
5642
5643 [BZ #15264]
5644 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5645
26510bdd
CD
56462013-04-06 Carlos O'Donell <carlos@redhat.com>
5647
5648 * Makefile.in (regen-ulps): New target.
5649 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5650 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5651 [ifneq (no,$(PERL)] (regen-ulps): New target.
5652 [ifeq (no,$(PERL)] (regen-ulps): New target.
5653 * math/libm-test.inc (ulps_file_name): Define.
5654 (output_dir): New variable.
5655 (options): Add "output-dir" option.
5656 (parse_opt): Handle 'o' case.
5657 (main): If output_dir is non-NULL use it as a prefix
5658 otherwise use "".
5659 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5660
a01f19c8
CD
56612013-04-06 Carlos O'Donell <carlos@redhat.com>
5662
5663 [BZ #10060, #10062]
5664 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5665 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5666 fail configure if __sync_val_compare_and_swap is not inlined.
5667 * sysdeps/i386/configure: Regenerate.
5668 * configure.in: Build for i686 when configured for i386.
5669 * configure: Regenerate.
5670 * README: Remove i386 reference.
5671
b7a329a5
CD
56722013-04-06 Carlos O'Donell <carlos@redhat.com>
5673
5674 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5676
bf0f50df
TS
56772013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5678
ee091edf
TS
5679 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5680 (lmsnanval): New variables.
5681 (F): Add conversion tests.
5682 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5683 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5684
a8b792d6
TS
5685 * stdio-common/tstdiomisc.c (F): Properly collect individual
5686 tests' results.
5687
a1cbf437
TS
5688 [BZ #14686, #15336]
5689 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5690 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5691 Instead, use input NaN values or generate a qNaN by arithmetic
5692 operation. Also fix bugs to comply with the standard.
5693 * math/libm-test.inc (remainder_test): Add more tests.
5694
8b43a0c9
TS
5695 [BZ #15335, #15342]
5696 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5698 input NaN values or generate a qNaN by arithmetic operation.
5699
d91da4ce
TS
5700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5701 unreachable code.
5702
bf0f50df
TS
5703 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5704 definitions.
5705
05e166c8
JM
57062013-04-03 Joseph Myers <joseph@codesourcery.com>
5707
5708 [BZ #14478]
5709 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5710 underflowed result.
5711 * math/s_cexpf.c (__cexpf): Likewise.
5712 * math/s_cexpl.c (__cexpl): Likewise.
5713 * math/libm-test.inc (cexp_test): Add more tests.
5714
1cef1b19
AS
57152013-04-03 Andreas Schwab <schwab@suse.de>
5716
5717 [BZ #15330]
5718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5719 order arrays from heap if bigger than alloca cutoff.
5720
74d87055
TS
57212013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5722
5723 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5724 (SNAN_TESTS_double): Refer to GCC PR56831.
5725 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5726 GCC PR56828.
5727
d755bba4
SP
57282013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5729
90d5d5bb
SP
5730 * Rules (bench): Move bench.out after the run is complete.
5731
73e0cd5d
SP
5732 * Rules (bench): Echo currently running benchmark.
5733
64aabd4b
SP
5734 * benchtests/Makefile (bench): Add atan and slowatan.
5735 * benchtests/atan-inputs: New file.
5736 * benchtests/slowatan-inputs: New file.
5737 * benchtests/slowatan.c: New file.
5738
c871eccd
SP
5739 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5741 its value.
5742
d755bba4
SP
5743 [BZ #15305]
5744 * sysdeps/unix/sysv/linux/kernel-features.h
5745 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5746 __ASSUME_XFS_RESTRICTED_CHOWN.
5747 * sysdeps/unix/sysv/linux/pathconf.c
5748 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5749 Save and restore errno.
5750
52ce4860
JM
57512013-04-02 Joseph Myers <joseph@codesourcery.com>
5752
5753 [BZ #15327]
5754 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5755 arguments using __kernel_casinh.
5756 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5757 arguments using __kernel_casinhf.
5758 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5759 arguments using __kernel_casinhl.
5760 * math/libm-test.inc (cacosh_test): Add more tests.
5761 * sysdeps/i386/fpu/libm-test-ulps: Update.
5762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5763
81f311c2
SP
57642013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
e7906a47
SP
5766 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5768
92e3664b
SP
5769 * bench/Makefile (bench): Add sin and slowsin.
5770 * benchtests/sin-inputs: New file.
5771 * benchtests/slowsin-inputs: New file.
5772 * benchtests/slowsin.c: New file.
5773
81f311c2
SP
5774 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5775 (bench): Add slowexp and slowpow.
5776 (exp-ITER): Increase iterations.
5777 (pow-ITER): Likewise.
5778 * benchtests/exp-inputs: Change input.
5779 * benchtests/pow-inputs: Likewise.
5780 * benchtests/slowexp-inputs: New file.
5781 * benchtests/slowexp.c: New file.
5782 * benchtests/slowpow-inputs: New file.
5783 * benchtests/slowpow.c: New file.
5784
ab0f1aa9
AZ
57852013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786
5787 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5788 instructions.
5789 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5790 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5791 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5792 * benchtests/Makefile: Add rint benchtest.
5793 * benchtests/rint-inputs: Input for rint benchtest.
5794
57267616
TS
57952013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5796
5797 * Versions.def (libm): Add GLIBC_2.18.
5798 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5799 hidden libm prototypes.
5800 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5801 * math/Makefile (libm-calls): Add s_issignaling.
5802 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5803 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5804 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5805 declaration.
5806 * math/math.h [__USE_GNU] (issignaling): New macro.
5807 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5808 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5810 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5813 * manual/arith.texi (issignaling): New section.
5814 * manual/libm-err-tab.pl (@all_functions): Update comment.
5815 * math/gen-libm-test.pl (parse_args): Apply special handling for
5816 issignaling.
5817 * math/libm-test.inc (print_float, issignaling_test): New
5818 functions.
5819 (check_float_internal): Add issignaling checks.
5820 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5821 default definition.
5822 * sysdeps/powerpc/math-tests.h: New file.
5823 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5824 tests.
5825 * math/test-snan.c (TEST_FUNC): Likewise.
5826
6142896d
DM
58272013-03-30 David S. Miller <davem@davemloft.net>
5828
5829 * po/de.po: Update from translation team.
5830
ccc8cadf
JM
58312013-03-30 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #10357]
5834 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5835 imaginary part less than 1.0 and real part less than 0.5
5836 specially.
5837 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5838 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5839 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5840 (cacos_test): Add more tests.
5841 (casin_test): Likewise.
5842 (casinh_test): Likewise.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845
0f6a8d4b
SP
58462013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5847
0d1029de
SP
5848 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5849 ONE with its value.
5850
c2d94018
SP
5851 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5852 (__pow_mp): Replace ONE and MONE with their values.
5853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5854 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5855 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5856 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5858 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5859
27ec37f1
SP
5860 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5861
a64d7e0e
SP
5862 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5863 (__pow_mp): Replace ZERO and MZERO with their values.
5864 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5868 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5869 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5870 (__sqr): Likewise.
5871
d26dd3eb
SP
5872 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5873
0f6a8d4b
SP
5874 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5875
e57b0c61
RM
58762013-03-28 Roland McGrath <roland@hack.frob.com>
5877
5878 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5879 Declare with __attribute__ ((weak)).
5880 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5881 Call __call_tls_dtors only if it's not NULL.
5882
356b3480
RM
58832013-03-28 Roland McGrath <roland@hack.frob.com>
5884
288f7d79
RM
5885 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5886 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5887 magic __ehdr_start linker symbol if it's defined.
5888 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5889 them up here if it was already done.
5890
dc0a0263
RM
5891 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5892 (_dl_aux_init): Use const in cast when setting it.
5893 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5894 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5895 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5896
3d3436ae
RM
5897 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5898 Declare them here.
5899 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5900 * csu/libc-tls.c: Nor here.
5901 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5902
356b3480
RM
5903 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5904 (__libc_message): Never call vsyslog.
5905
b0f1246a
AM
59062013-03-28 Alan Modra <amodra@gmail.com>
5907
5908 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5909 Define as empty.
5910 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5911 Likewise.
5912
fbbe2b9a
AZ
59132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5914
5915 [BZ #15214]
5916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5917 underflow.
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5919
1728ab37
SP
59202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5921
7a86be6e
SP
5922 [BZ #15304]
5923 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5924 Don't add gid passed as argument.
5925
1728ab37
SP
5926 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5927
3a7182a1
JM
59282013-03-27 Joseph Myers <joseph@codesourcery.com>
5929
5930 [BZ #15307]
5931 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5932 imaginary part between 1.0 and 1.5 and real part less than 0.5
5933 specially.
5934 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5935 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5936 * math/libm-test.inc (cacos_test): Add more tests.
5937 (casin_test): Likewise.
5938 (casinh_test): Likewise.
5939 * sysdeps/i386/fpu/libm-test-ulps: Update.
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941
6f2e90e7
SP
59422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5739f705
SP
5944 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5945 constants.
5946 (norm): Likewise.
5947 (denorm): Likewise.
5948 (__dbl_mp): Likewise.
5949 (add_magnitudes): Likewise.
5950 (sub_magnitudes): Likewise.
5951 (__add): Likewise.
5952 (__sub): Likewise.
5953 (__mul): Likewise.
5954 (__sqr): Likewise.
5955 (__inv): Likewise.
5956 (__dvd): Likewise.
5957
e375e83d
SP
5958 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5959 commented code.
5960 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5961 (__dubcos): Likewise.
5962 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5963 (__ieee754_acos): Likewise.
5964 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5965 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5966 (__exp1): Likewise.
5967 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5969 (log1): Likewise.
5970 (my_log2): Likewise.
5971 (checkint): Likewise.
5972 * sysdeps/ieee754/dbl-64/e_remainder.c
5973 (__ieee754_remainder): Likewise.
5974 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5976 (bsloww): Likewise.
5977 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5978
6f2e90e7
SP
5979 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5980 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5981 MANTISSA_STORE_T to store computations on mantissa. Use
5982 macros for rounding and division.
5983 (denorm): Likewise.
5984 (__dbl_mp): Likewise.
5985 (add_magnitudes): Likewise.
5986 (sub_magnitudes): Likewise.
5987 (__mul): Likewise.
5988 (__sqr): Likewise.
5989 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5990 powers of two in terms of TWOPOW macro.
5991 (mp_no): Make type of mantissa as MANTISSA_T.
5992 [!RADIXI]: Define RADIXI.
5993 [!TWO52]: Define TWO52.
5994 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5995
fce14d4e
AZ
59962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5999 llroundl symbol when building for PPC32.
6000
9ad027fb
MW
60012013-03-24 Mark H Weaver <mhw@netris.org>
6002
6003 * manual/arith.texi (Normalization Functions): Fix prototypes for
6004 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6005
e42a38dd
AZ
60062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007
6008 [BZ #13889]
6009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6010 high value to check if expl overflow.
6011 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6012 to check for underflow and overflow.
6013 * math/libm-test.inc: Add exp test.
6014
2e0fb521
DL
60152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6016
6017 [BZ #11120]
6018 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6019 with NOT_IN_libc.
6020
b5784d95
AZ
60212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022
6023 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6024 symbol.
6025
5aa4a1a1
TS
60262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6027
bdef0be7
TS
6028 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6029 wrap blocks consisting of several statements.
6030
5aa4a1a1
TS
6031 * sysdeps/generic/math-tests.h: New file.
6032 * sysdeps/i386/fpu/math-tests.h: Likewise.
6033 * math/test-snan.c: Include it.
6034 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6035
98c48fe5
JM
60362013-03-21 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #15285]
6039 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6040 (__ieee754_j0l): Do not improve calculations using cos of twice
6041 input for inputs above LDBL_MAX / 2.0L.
6042 (__ieee754_y0l): Likewise.
6043 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6044 (__ieee754_j1l): Do not improve calculations using cos of twice
6045 input for inputs above LDBL_MAX / 2.0L.
6046 (__ieee754_y1l): Likewise.
6047 * math/libm-test.inc (j0_test): Add another test.
6048 (j1_test): Likewise.
6049 (y0_test): Likewise.
6050 (y1_test): Likewise.
6051 * sysdeps/i386/fpu/libm-test-ulps: Update.
6052
3775a8bc
SP
60532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6054
6055 * Rules ($(objpfx)bench-%.c): Include code from a C source
6056 file.
6057
0a1b2ae6
JM
60582013-03-21 Joseph Myers <joseph@codesourcery.com>
6059
6060 [BZ #15287]
6061 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6062 imaginary part 1.0 and real part less than 0.5 specially.
6063 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6064 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6065 * math/libm-test.inc (cacos_test): Add more tests.
6066 (casin_test): Likewise.
6067 (casinh_test): Likewise.
6068 * sysdeps/i386/fpu/libm-test-ulps: Update.
6069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6070
b33d4ce4
SP
60712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6072
6073 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6074 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6075
bef0b507
JM
60762013-03-20 Joseph Myers <joseph@codesourcery.com>
6077
6078 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6079 * config.make.in (config-cflags-sse4): Remove variable.
6080 (config-cflags-avx): Likewise.
6081 (config-cflags-sse2avx): Likewise.
6082 (config-cflags-novzeroupper): Likewise.
6083 (config-asflags-i686): Likewise.
6084 (have-mfma4): Likewise.
6085 (have-as-vis3): Likewise.
6086 (MIG): Likewise.
6087 * configure.in (MIG): Do not AC_SUBST.
6088 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6089 (libc_cv_cc_sse4): Do not AC_SUBST.
6090 (libc_cv_cc_avx): Likewise.
6091 (libc_cv_cc_sse2avx): Likewise.
6092 (libc_cv_cc_novzeroupper): Likewise.
6093 (libc_cv_cc_fma4): Likewise.
6094 (libc_cv_as_i686): Likewise.
6095 (libc_cv_sparc_as_vis3): Likewise.
6096 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6097 LIBC_CONFIG_VAR.
6098 (config-asflags-i686): Likewise.
6099 (config-cflags-avx): Likewise.
6100 (config-cflags-sse2avx): Likewise.
6101 (have-mfma4): Likewise.
6102 (config-cflags-novzeroupper): Likewise.
6103 * sysdeps/mach/configure.in (MIG): Likewise.
6104 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6105 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6106 LIBC_CONFIG_VAR.
6107 (config-cflags-avx): Likewise.
6108 (config-cflags-sse2avx): Likewise.
6109 (have-mfma4): Likewise.
6110 (config-cflags-novzeroupper): Likewise.
6111 * configure: Regenerated.
6112 * sysdeps/i386/configure: Likewise.
6113 * sysdeps/mach/configure: Likewise.
6114 * sysdeps/sparc/configure: Likewise.
6115 * sysdeps/x86_64/configure: Likewise.
6116
912cc4b3
RM
61172013-03-20 Roland McGrath <roland@hack.frob.com>
6118
6119 [BZ #14812]
6120 * locale/programs/localedef.c (options): Put N_ translation marker
6121 on argument names, not just descriptions.
6122
04eed2b0
MS
61232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6124
6125 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6126
a065ceff
OB
61272013-03-20 Ondřej Bílka <neleai@seznam.cz>
6128
9bb2a810 6129 [BZ #14176]
a065ceff
OB
6130 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6131
a600e5ce
RM
61322013-03-19 Roland McGrath <roland@hack.frob.com>
6133
6134 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6135 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6136 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6137 [!BEFORE_ABORT] (before_abort): New function.
6138 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6139 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6140 (writev_for_fatal): New function.
6141 (WRITEV_FOR_FATAL): New macro; call that.
6142 (backtrace_and_maps): New function.
6143 (BEFORE_ABORT): New macro; call that.
6144 (struct str_list): Type removed.
6145 (__libc_message, __libc_fatal): Functions removed.
6146 Include <sysdeps/posix/libc_fatal.c> instead.
6147
6b18bea6
JM
61482013-03-19 Joseph Myers <joseph@codesourcery.com>
6149
6150 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6151 constants.
6152 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6153 double constants.
6154
aaa8cb4b
AS
61552013-03-19 Andreas Schwab <schwab@suse.de>
6156
44673770
AS
6157 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6158 * sysdeps/gnu/configure: Regenerate.
6159
aaa8cb4b
AS
6160 * configure.in: Substitute libc_cv_rtlddir.
6161 * configure: Regenerate.
6162 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6163 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6164 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6165 * elf/Makefile (install-others, CFLAGS-interp.c)
6166 (ldso_install, common-ldd-rewrite): Likewise.
6167 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6168 $(inst_slibdir)/$(rtld-installed-name).
6169 * scripts/rellns-sh: Add -p option.
6170 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6171 for source.
6172
d3cfc668
SP
61732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
6175 * manual/nptl.texi: Renamed to ...
6176 * manual/threads.texi: ... this.
6177 * manual/Makefile (chapters): Update.
6178
0e2b9cdd
RM
61792013-03-18 Roland McGrath <roland@hack.frob.com>
6180
6181 [BZ #14812]
6182 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6183 on argument names, not just descriptions.
0e2b9cdd
RM
6184 * malloc/memusagestat.c (options): Likewise.
6185 * nss/getent.c (options): Likewise.
63270c24
RM
6186
61872013-03-18 Benno Schulenberg <bensberg@justemail.net>
6188
6189 [BZ #14812]
6190 * iconv/iconv_prog.c (options): Put N_ translation marker
6191 on argument names, not just descriptions.
6192 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6193
b2e1393c
OB
61942013-03-18 Ondrej Bilka <neleai@seznam.cz>
6195
6196 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6197 implementation which is faster on all x86_64 architectures.
6198 Tested on AMD, Intel Nehalem, SNB, IVB.
6199 * sysdeps/x86_64/strnlen.S: Likewise.
6200
6201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6202 Remove all multiarch strlen and strnlen versions.
6203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6204 Remove strlen and strnlen related parts.
6205
6206 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6207 Inline strlen part.
6208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6209
6210 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6211 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6212 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6213 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6214 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6215 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6216
ec4ff04d
CD
62172013-03-17 Carlos O'Donell <carlos@redhat.com>
6218
6219 * manual/memory.texi (Malloc Tunable Parameters):
6220 Sort parameters alphabetically. Add comments for missing entries.
6221
cd18e90a
DM
62222013-03-17 David S. Miller <davem@davemloft.net>
6223
6224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6225
2a185d32
JM
62262013-03-16 Joseph Myers <joseph@codesourcery.com>
6227
d2f9799e
JM
6228 [BZ #15283]
6229 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6230 for arguments at most half maximum finite value.
6231 * math/libm-test.inc (j0_test): Add more tests.
6232 (j1_test): Likewise.
6233 (y0_test): Likewise.
6234 (y1_test): Likewise.
6235 * sysdeps/i386/fpu/libm-test-ulps: Update.
6236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237
2a185d32
JM
6238 [BZ #14155]
6239 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6240 1 / x and functions P and Q for arguments above 0x1p256L.
6241 (__ieee754_y0l): Likewise.
6242 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6243 (__ieee754_y1l): Likewise.
6244 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6245 (j1_test): Likewise.
6246 (y0_test): Likewise.
6247 (y1_test): Likewise.
6248
6cbec759
TS
62492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6250
6251 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6252 variable.
6253
bc16e260
RM
62542013-03-15 Roland McGrath <roland@hack.frob.com>
6255
aefc9b8c
RM
6256 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6257 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6258 zero since it's initialized to EXEC_PAGESIZE.
6259
bc16e260
RM
6260 * sysdeps/unix/sysv/linux/ldsodefs.h
6261 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6262 * sysdeps/generic/ldsodefs.h: ... here.
6263
a57da955
TS
62642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6265
af00a34d
TS
6266 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6267
495ded2c
TS
6268 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6269 math/test-snan.c.
6270 * math/test-snan.c: Renamed from
6271 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6272 * math/Makefile (tests): Add test-snan.
6273 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6274 test-powerpc-snan.
6275
777b0332
TS
6276 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6277 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6278 functions.
6279 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6280 __builtin_nan family of functions.
6281 * math/libm-test.inc (initialize): Initialize qnan_value with
6282 __builtin_nan family of functions.
6283 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6284 Remove variables.
6285 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6286 Remove functions.
6287 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6288 storage class. Initialize qNaN_var and sNaN_var with
6289 __builtin_nan and __builtin_nans families of functions,
6290 respectively.
6291
64d063b8
TS
6292 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6293 (sqrt_test): Remove duplicate test with qNaN input.
6294 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6295 (round_test, signbit_test, significand_test): Note missing +/-Inf
6296 as well as qNaN tests.
6297
67e971f1
TS
6298 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6299 qNaN_var. Fix a few strings, too.
6300 * math/libm-test.inc (nan_value): Rename to qnan_value.
6301 * math/gen-libm-test.pl (%beautify): Adjust to that.
6302 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6303 * math/test-misc.c (main): Likewise.
6304 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6305 to __qnan_bytes, and __qnan_union, respectively.
6306 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6307 Likewise.
6308 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6309 and lqnanval, respectively.
6310 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6311 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6312 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6313 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6314
64487e12
TS
6315 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6316 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6317 doubles.
6318
e015e27b
TS
6319 * math/test-misc.c (main): Fix copy'n'pastos.
6320 * misc/tst-efgcvt.c (special): Likewise.
6321
a57da955
TS
6322 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6323 Remove declarations.
6324
1e380345
SP
63252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6326
6327 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6328 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6329 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6330 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6331
ef26eece
AZ
63322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333
6334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6335 macro to return vdso values correctly in IFUNC implementations.
6336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6337 Optimization by using IFUNC.
6338
8cfdb7e0
SP
63392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6340 Richard Henderson <rth@redhat.com>
6341 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6342
6343 * Makefile.in (bench): New target.
6344 * NEWS: Mention the benchmark framework.
6345 * Rules (bench): Likewise.
6346 (binaries-bench): Generate binaries for functions to
6347 benchmark.
6348 * benchtests/Makefile: New makefile for benchmark tests.
6349 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6350 programs.
6351 * benchtests/exp-inputs: New input file for EXP function.
6352 * benchtests/pow-inputs: New input file for POW function.
6353 * scripts/bench.pl: New script to generate source files for
6354 benchmark programs.
6355
bcda9880
SP
63562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6357
d22ca8cd
SP
6358 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6360 computations on mantissa. Use macros for rounding and
6361 division.
6362 (denorm): Likewise.
6363 (__dbl_mp): Likewise.
6364 (add_magnitudes): Likewise.
6365 (sub_magnitudes): Likewise.
6366 (__mul): Likewise.
6367 (__sqr): Likewise.
6368 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6369 powers of two in terms of TWOPOW macro.
6370 (mp_no): Make type of mantissa as MANTISSA_T.
6371 [!RADIXI]: Define RADIXI.
6372 [!TWO52]: Define TWO52.
6373 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6374
bcda9880
SP
6375 * manual/nptl.texi (cindex): Modify threads to pthreads.
6376
06d5adfb
JM
63772013-03-15 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/x86_64/preconfigure: Regenerated.
6380
41c7328e
JM
63812013-03-14 Joseph Myers <joseph@codesourcery.com>
6382
6383 [BZ #14155]
6384 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6385 0x1p28 and above.
6386 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6387 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6388 0x1p28 and above.
6389 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6390 * math/libm-test.inc (j0_test): Do not allow one spurious
6391 underflow exception.
6392 (y1_test): Likewise.
6393
e25cfa60
SP
63942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6395
0409959c
SP
6396 * manual/Makefile (chapters): Add nptl.
6397 * manual/debug.texi (Debugging Support): Add link to Threads
6398 chapter.
6399 * manual/nptl.texi: New file.
6400
e25cfa60
SP
6401 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6402
58a1335e
PB
64032013-03-14 Petr Baudis <pasky@ucw.cz>
6404
6405 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6406 for non-NULL pointer before the memory validity test. Pointed
6407 out by Holger Brunck <holger.brunck@keymile.com>.
6408
9dc7c64f
AS
64092013-03-13 Andreas Schwab <schwab@suse.de>
6410
6411 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6412 instead of .os.
6413
54206aa6
JM
64142013-03-13 Joseph Myers <joseph@codesourcery.com>
6415
6416 * timezone/zic.c: Update from tzcode 2013b.
6417
e98cdb38
CD
64182013-03-12 Carlos O'Donell <carlos@redhat.com>
6419
6420 * manual/install.texi (Configuring and compiling):
6421 Mention i686 and i586.
6422 * INSTALL: Regenerate.
6423
9967e003
RM
64242013-03-12 Roland McGrath <roland@hack.frob.com>
6425
6426 * sysdeps/init_array/elf-init.c: New file.
6427 * csu/elf-init.c
6428 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6429 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6430
6431 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6432 __gmon_start__ as global, but as static with a .preinit_array pointer.
6433 * sysdeps/init_array/gmon-start.c: New file. Use that.
6434 * sysdeps/init_array/crti.S: New file, empty except for comments.
6435 * sysdeps/init_array/crtn.S: Likewise.
6436
e6b5a293 64372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6438
6439 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6440 definining bcopy.
80f844c9
OB
6441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6442 Remove Prefer_SSE_for_memop.
6443 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6444 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6445 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6447 memset-x86-64.
80f844c9 6448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6449 Remove bzero, memset ifunc support.
80f844c9
OB
6450 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6451 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6452 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6453 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6454
fb6b0fcb
AS
64552013-03-11 Andreas Schwab <schwab@suse.de>
6456
6457 [BZ #15234]
6458 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6459 by SHLIB_COMPAT.
6460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6461 (GLIBC_2.16): Remove pthread_atfork.
6462
3e6bd4b1
PP
64632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6464
6465 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6466 (ptestcases.h): Likewise.
6467
222d7f00
RM
64682013-03-08 Roland McGrath <roland@hack.frob.com>
6469
6470 * Makeconfig ($(common-objpfx)config.status): Depend on
6471 sysdeps/*/preconfigure{,.in} too.
6472
1ba4f030
JM
64732013-03-08 Joseph Myers <joseph@codesourcery.com>
6474
a222d91a
JM
6475 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6476 (__free_hook): Use void * instead of __malloc_ptr_t.
6477 (__malloc_hook): Likewise.
6478 (__realloc_hook): Likewise.
6479 (__memalign_hook): Likewise.
6480 (__after_morecore_hook): Likewise.
6481 * malloc/arena.c (save_malloc_hook): Likewise.
6482 (save_free_hook): Likewise.
6483 * malloc/hooks.c (malloc_hook_ini): Likewise.
6484 (realloc_hook_ini): Likewise.
6485 (memalign_hook_ini): Likewise.
6486 * malloc/malloc.c (malloc_hook_ini): Likewise.
6487 (realloc_hook_ini): Likewise.
6488 (memalign_hook_ini): Likewise.
6489 (__free_hook): Likewise.
6490 (__malloc_hook): Likewise.
6491 (__realloc_hook): Likewise.
6492 (__memalign_hook): Likewise.
6493 (__libc_malloc): Likewise.
6494 (__libc_free): Likewise.
6495 (__libc_realloc): Likewise.
6496 (__libc_memalign): Likewise.
6497 (__libc_valloc): Likewise.
6498 (__libc_pvalloc): Likewise.
6499 (__libc_calloc): Likewise.
6500 (__posix_memalign): Likewise.
6501 * malloc/morecore.c (__sbrk): Likewise.
6502 (__default_morecore): Likewise.
6503
5cc45e10
JM
6504 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6505
dd54b864
JM
6506 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6507 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6508 __malloc_ptrdiff_t.
6509
1ba4f030
JM
6510 * malloc/malloc.h (__malloc_size_t): Remove macro.
6511 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6512 __malloc_size_t.
6513 (old_memalign_hook): Likewise.
6514 (old_realloc_hook): Likewise.
6515 (struct hdr): Likewise.
6516 (flood): Likewise.
6517 (mallochook): Likewise.
6518 (memalignhook): Likewise.
6519 (reallochook): Likewise.
6520 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6521 (tr_old_realloc_hook): Likewise.
6522 (tr_old_memalign_hook): Likewise.
6523 (tr_mallochook): Likewise.
6524 (tr_reallochook): Likewise.
6525 (tr_memalignhook): Likewise.
6526
edf66e57
AZ
65272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6530 default_ldbl_pack and using as default implementation.
6531 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6532 implementation.
6533 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6534 redundant definition.
6535 (ldbl_insert_mantissa): Likewise.
6536 (ldbl_canonicalize): Likewise.
6537 (ldbl_nearbyint): Likewise.
6538 (ldbl_pack): Rename to ldbl_pack_ppc.
6539 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6540 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6541 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6542
6d9145d8
SP
65432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6544
6545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6546 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6548 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6550 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6551 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6552 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6553
4dd4e157
AJ
65542013-03-07 Andreas Jaeger <aj@suse.de>
6555
6556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6557 bits/mman-linux.h.
6558
adbb8027
SP
65592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
ce544b5b
SP
6561 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6562 Include mpa.h and declare __MPEXP.
6563 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6565 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6568 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6570
4cc149fd
SP
6571 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6572 (__slowpow): Use long double EXPL and LOGL functions to
6573 compute POW.
6574 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6575 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6576 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6577 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6578 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6579 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6580
e6ebd4a7
SP
6581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6582 intermediate variable to calculate exponent.
6583 (__sqr): Likewise.
6584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6585 Likewise.
6586 (__sqr): Likewise.
6587
82a9811d
SP
6588 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6589 [!NO__SQR]: Define __sqr.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6591 and NO__SQR. Remove all code except __mul and __sqr. Include
6592 sysdeps/ieee754/dbl-64/mpa.c.
6593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6594
adbb8027
SP
6595 [BZ #12723]
6596 * posix/Makefile (tests): Add tst-pathconf.
6597 * posix/tst-pathconf.c: New test case.
6598 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6599 _PC_PIPE_BUF.
6600 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6601
39120df9
PF
66022013-03-06 Patsy Franklin <pfrankli@redhat.com>
6603
6604 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6605
67525cb8
AJ
66062013-03-06 Andreas Jaeger <aj@suse.de>
6607
664a9ce4
AJ
6608 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6609 definition via __MAP_ANONYMOUS.
6610
8e39047d
AJ
6611 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6612 it's not part of Linux headers.
6613
67525cb8
AJ
6614 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6615 (MAP_HUGE_MASK): Define.
6616
6617 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6618 Define.
6619 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6621 Define.
6622 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6623 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6624 Define.
6625 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6626 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6627 Define.
6628 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6629
6630 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6631 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6632 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6633 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6634 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6636
6637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6638 Handle f2fs.
6639
6640 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6641 Handle f2fs and efivarfs.
6642
6643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6644 f2fs.
6645
6646 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6647 (EFIVARFS_MAGIC): Add.
6648 (F2FS_LINK_MAX): Add.
6649
e1b42695
PP
66502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6651
6652 * stdio-common/vfprintf.c: Replace __builtin_expect with
6653 __glibc_unlikely.
6654
2d67d91a
JM
66552013-03-06 Joseph Myers <joseph@codesourcery.com>
6656
6657 [BZ #13550]
6658 * sysdeps/generic/bp-sym.h: Remove file.
6659 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6660 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6661 <bp-sym.h> and <bp-asm.h>.
6662 (__longjmp): Don't use BP_SYM.
6663 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6664 and <bp-asm.h>.
6665 (memcpy): Don't use BP_SYM.
6666 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6667 <bp-sym.h> and <bp-asm.h>.
6668 (memcpy): Don't use BP_SYM.
6669 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6670 <bp-asm.h>.
6671 (memcpy): Don't use BP_SYM.
6672 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6673 <bp-asm.h>.
6674 (memset): Don't use BP_SYM.
6675 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6676 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6677 (__bzero): Don't use BP_SYM.
6678 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6679 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6680 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (memcmp): Don't use BP_SYM. Remove comment about bounded
6683 pointers.
6684 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6685 <bp-sym.h> and <bp-asm.h>.
6686 (memcpy): Don't use BP_SYM.
6687 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6688 <bp-sym.h> and <bp-asm.h>.
6689 (memset): Don't use BP_SYM.
6690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6692 (__bzero): Don't use BP_SYM.
6693 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6694 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6695 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6696 <bp-sym.h> and <bp-asm.h>.
6697 (strncmp): Don't use BP_SYM. Remove comment about bounded
6698 pointers.
6699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6700 <bp-sym.h> and <bp-asm.h>.
6701 (memcpy): Don't use BP_SYM.
6702 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6703 <bp-sym.h> and <bp-asm.h>.
6704 (memset): Don't use BP_SYM.
6705 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6706 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6707 (__bzero): Don't use BP_SYM.
6708 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6709 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (__memchr): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (memcmp): Don't use BP_SYM. Remove comment about bounded
6716 pointers.
6717 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6718 <bp-sym.h> and <bp-asm.h>.
6719 (memcpy): Don't use BP_SYM.
6720 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6721 <bp-sym.h> and <bp-asm.h>.
6722 (__mempcpy): Don't use BP_SYM.
6723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6724 <bp-sym.h> and <bp-asm.h>.
6725 (__memrchr): Don't use BP_SYM.
6726 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6727 <bp-sym.h> and <bp-asm.h>.
6728 (memset): Don't use BP_SYM.
6729 (__bzero): Likewise.
6730 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6731 <bp-sym.h> and <bp-asm.h>.
6732 (__rawmemchr): Don't use BP_SYM.
6733 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6734 <bp-sym.h> and <bp-asm.h>.
6735 (__STRCMP): Don't use BP_SYM.
6736 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6737 <bp-sym.h> and <bp-asm.h>.
6738 (strchr): Don't use BP_SYM.
6739 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (__strchrnul): Don't use BP_SYM.
6742 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6743 <bp-sym.h> and <bp-asm.h>.
6744 (strlen): Don't use BP_SYM.
6745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6746 <bp-sym.h> and <bp-asm.h>.
6747 (strncmp): Don't use BP_SYM. Remove comment about bounded
6748 pointers.
6749 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6750 <bp-sym.h> and <bp-asm.h>.
6751 (__strnlen): Don't use BP_SYM.
6752 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6753 <bp-sym.h> and <bp-asm.h>.
6754 (__GI__setjmp): Don't use BP_SYM.
6755 (_setjmp): Likewise.
6756 (__sigsetjmp): Likewise.
6757 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6758 (L(start_addresses)): Don't use BP_SYM.
6759 (_start): Likewise.
6760 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6761 <bp-asm.h>.
6762 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6763 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6764 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6765 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6766 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6767 <bp-asm.h>.
6768 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6769 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6770 about bounded pointers.
6771 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6772 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6773 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6774 <bp-asm.h>.
6775 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6776 about bounded pointers. Remove GKM FIXME comments.
6777 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6778 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6779 <bp-asm.h>.
6780 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6781 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6782 Remove GKM FIXME comments.
6783 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6784 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6785 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6786 <bp-asm.h>.
6787 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6788 about bounded pointers. Remove GKM FIXME comment.
6789 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6790 and <bp-asm.h>.
6791 (strncmp): Don't use BP_SYM. Remove comment about bounded
6792 pointers.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6794 <bp-sym.h> and <bp-asm.h>.
6795 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6797 <bp-sym.h> and <bp-asm.h>.
6798 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6799 comment.
6800
cdcf361f
PP
68012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6802
6803 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6804 call free(NULL).
6805
3c4a2b15
DM
68062013-03-05 David S. Miller <davem@davemloft.net>
6807
6808 * po/es.po: Update from translation team.
6809
cdcf361f 68102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6811
6812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6813 <bits/mman-linux.h>.
6814 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6815 is fine.
6816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6817 <bits/mman-linux.h> to end of file.
6818 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6819 is fine.
6820 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6821 <bits/mman-linux.h> to end of file.
6822 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6823 is fine.
6824 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6825 <bits/mman-linux.h> to end of file.
6826
6827 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6828 (MCL_CURRENT, MCL_FUTURE): Define here.
6829
5f67c04f
AK
68302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6831
8a4473cc 6832 [BZ #15232]
5f67c04f
AK
6833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6834 attribute_hidden.
6835 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6836
c3e94a95
AK
68372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6838
6839 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6840 fourth parameter needed for rt_sigprocmask syscall.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6842 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6843 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6844 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6845 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6846 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6847
cfb6382a
JM
68482013-03-04 Joseph Myers <joseph@codesourcery.com>
6849
6850 [BZ #13550]
6851 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6852 comment about bounded pointers.
6853 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6854 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6855
539d8e01
AJ
68562013-03-04 Andreas Jaeger <aj@suse.de>
6857
6858 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6859 common definitions.
6860
6861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6862 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6863 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6867
2e167a70 68682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6869
6870 [BZ #15055]
6871 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6872 __ieee754_sqrl instead of __sqrl.
6873
68508633
JM
68742013-03-01 Joseph Myers <joseph@codesourcery.com>
6875
6876 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6877 * sysdeps/powerpc/fpu_control.h: ... here.
6878 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6879 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6880 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6881 * sysdeps/powerpc/bits/mathinline.h: ... here.
6882
7775448e
RM
68832013-03-01 Roland McGrath <roland@hack.frob.com>
6884
6885 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6886 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6887 to just [NEED_DL_SYSINFO_DSO].
6888 * elf/dl-support.c: Likewise.
6889 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6890 * elf/rtld.c (dl_main): Likewise.
6891 * elf/setup-vdso.h (setup_vdso): Likewise.
6892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6893 * sysdeps/unix/sysv/linux/dl-sysdep.c
6894 (_dl_discover_osversion): Likewise.
6895
4e9b5995
CD
68962013-03-01 Carlos O'Donell <carlos@redhat.com>
6897
6898 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6899 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6900
e23872c8
SP
69012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6902
e5c74c63
SP
6903 * NEWS: Mention libm performance improvements and non-x86 PI
6904 futex support.
6905
e23872c8
SP
6906 * csu/libc-start.c (__pthread_initialize_minimal): Change
6907 function arguments.
6908 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6909
b5510883
JM
69102013-02-28 Joseph Myers <joseph@codesourcery.com>
6911
6912 [BZ #13550]
6913 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6914 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6915 <bp-sym.h> and <bp-asm.h>.
6916 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6917 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6918 and <bp-asm.h>.
6919 (memcpy): Don't use BP_SYM.
6920 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6921 <bp-asm.h>.
6922 (__mpn_add_n): Don't use BP_SYM.
6923 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6924 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6925 and <bp-asm.h>.
6926 (__mpn_addmul_1): Don't use BP_SYM.
6927 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6928 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6929 <bp-sym.h>.
6930 (_setjmp): Don't use BP_SYM.
6931 (__novmx_setjmp): Likewise.
6932 (__GI__setjmp): Likewise.
6933 (__vmx_setjmp): Likewise.
6934 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6935 <bp-sym.h>.
6936 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6937 (__bzero): Don't use BP_SYM.
6938 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6939 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6940 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6941 <bp-sym.h> and <bp-asm.h>.
6942 (memcpy): Don't use BP_SYM.
6943 * sysdeps/powerpc/powerpc32/fpu/__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/fpu/setjmp-common.S: Don't include
6947 <bp-sym.h> and <bp-asm.h>.
6948 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6949 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6950 <bp-asm.h>.
6951 (__mpn_lshift): Don't use BP_SYM.
6952 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6953 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6954 <bp-asm.h>.
6955 (memset): Don't use BP_SYM.
6956 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6957 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6958 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6959 <bp-asm.h>.
6960 (__mpn_mul_1): Don't use BP_SYM.
6961 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6963 <bp-sym.h> and <bp-asm.h>.
6964 (memcmp): Don't use BP_SYM.
6965 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6966 <bp-sym.h> and <bp-asm.h>.
6967 (memcpy): Don't use BP_SYM.
6968 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6969 <bp-sym.h> and <bp-asm.h>.
6970 (memset): Don't use BP_SYM.
6971 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6972 <bp-sym.h> and <bp-asm.h>.
6973 (strncmp): Don't use BP_SYM.
6974 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6975 <bp-sym.h> and <bp-asm.h>.
6976 (memcpy): Don't use BP_SYM.
6977 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6978 <bp-sym.h> and <bp-asm.h>.
6979 (memset): Don't use BP_SYM.
6980 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6981 <bp-sym.h> and <bp-asm.h>.
6982 (__memchr): Don't use BP_SYM.
6983 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6984 <bp-sym.h> and <bp-asm.h>.
6985 (memcmp): Don't use BP_SYM.
6986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6987 <bp-sym.h> and <bp-asm.h>.
6988 (memcpy): Don't use BP_SYM.
6989 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6990 <bp-sym.h> and <bp-asm.h>.
6991 (__mempcpy): Don't use BP_SYM.
6992 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6993 <bp-sym.h> and <bp-asm.h>.
6994 (__memrchr): Don't use BP_SYM.
6995 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6996 <bp-sym.h> and <bp-asm.h>.
6997 (memset): Don't use BP_SYM.
6998 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6999 <bp-sym.h> and <bp-asm.h>.
7000 (__rawmemchr): Don't use BP_SYM.
7001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7002 <bp-sym.h> and <bp-asm.h>.
7003 (__STRCMP): Don't use BP_SYM.
7004 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7005 <bp-sym.h> and <bp-asm.h>.
7006 (strchr): Don't use BP_SYM.
7007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7008 <bp-sym.h> and <bp-asm.h>.
7009 (__strchrnul): Don't use BP_SYM.
7010 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7011 <bp-sym.h> and <bp-asm.h>.
7012 (strlen): Don't use BP_SYM.
7013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7014 <bp-sym.h> and <bp-asm.h>.
7015 (strncmp): Don't use BP_SYM.
7016 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7017 <bp-sym.h> and <bp-asm.h>.
7018 (__strnlen): Don't use BP_SYM.
7019 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7020 <bp-asm.h>.
7021 (__mpn_rshift): Don't use BP_SYM.
7022 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7023 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7024 <bp-sym.h> and <bp-asm.h>.
7025 (__sigsetjmp): Don't use BP_SYM.
7026 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7027 (L(start_addresses)): Don't use BP_SYM.
7028 (_start): Likewise.
7029 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7030 <bp-asm.h>.
7031 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7032 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7033 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7034 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7035 <bp-asm.h>.
7036 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7037 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7038 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7039 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7040 <bp-asm.h>.
7041 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7042 comments.
7043 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7044 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7045 <bp-asm.h>.
7046 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7047 FIXME comments.
7048 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7049 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7050 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7051 <bp-asm.h>.
7052 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7053 comment.
7054 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7055 and <bp-asm.h>.
7056 (strncmp): Don't use BP_SYM,
7057 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7058 <bp-asm.h>.
7059 (__mpn_sub_n): Don't use BP_SYM.
7060 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7061 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7062 and <bp-asm.h>.
7063 (__mpn_submul_1): Don't use BP_SYM.
7064 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7066 <bp-sym.h> and <bp-asm.h>.
7067 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7069 <bp-sym.h> and <bp-asm.h>.
7070 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7071 comment.
7072
8d19fe64
SP
70732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7074
7075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7076 Use ZK to minimize writes to Z.
7077 (sub_magnitudes): Simplify code a bit.
7078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7079 Use ZK to minimize writes to Z.
7080 (sub_magnitudes): Simplify code a bit.
7081
85bd816a
RM
70822013-02-27 Roland McGrath <roland@hack.frob.com>
7083
7084 * csu/gmon-start.c: Add special exception to license text.
7085
b5977bf2
RH
70862013-02-27 Richard Henderson <rth@redhat.com>
7087
7088 * scripts/config.guess: Update from config.git.
7089 * scripts/config.sub: Likewise.
7090
11d6e2f2
SP
70912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
09c14ed2
SP
7093 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7094
a688864e
SP
7095 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7096
6295157a
SP
7097 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7098
b8de2202
SP
7099 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7100
11d6e2f2
SP
7101 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7102
7e80ddb8
RM
71032013-02-26 Roland McGrath <roland@hack.frob.com>
7104
7105 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7106 [$(build-shared = yes].
7e80ddb8 7107
7da6d9ed
SP
71082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7109
45f05884
SP
7110 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7111 (__mul): Reduce iterations for calculating mantissa.
7112
2236d359
SP
7113 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7114 MPTWO.
7115 (__mpranred): Likewise.
7116
7da6d9ed
SP
7117 [BZ #15160]
7118 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7119 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7120
b7688c42
PE
71212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7122
7123 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7124 Define __attribute__.
7125
53a5c423
SP
71262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7127
7128 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7129 unused.
7130 * posix/regex_internal.h (__attribute): Remove.
7131 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7132 (re_string_context_at): Likewise.
7133 (bitset_not): Use __attribute__ and mark function as possibly
7134 unused.
7135 (bitset_merge): Likewise.
7136 (bitset_mask): Likewise.
7137 (re_string_char_size_at): Likewise.
7138 (re_string_wchar_at): Likewise.
7139 (re_string_elem_size_at): Likewise.
7140
60f5a8b5
SP
71412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7142
2a983a2e
SP
7143 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7144 code.
7145 (cc32): Likewise.
7146
e69804d1
SP
7147 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7148 (__acr): Likewise.
7149 (__cpy): Likewise.
7150 (norm): Likewise.
7151 (denorm): Likewise.
7152 (__dbl_mp): Likewise.
7153 (add_magnitudes): Likewise.
7154 (sub_magnitudes): Likewise.
7155 (__mul): Likewise.
7156 (__inv): Likewise.
7157
2f22a1e8
SP
7158 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7159 style.
7160
8930ddc7
SP
7161 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7162 style.
7163
dc60cb11
SP
7164 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7165 code.
7166
60f5a8b5
SP
7167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7168 up changes with default code.
7169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7170 Likewise.
7171
b4d1fd33
AM
71722013-02-24 Allan McRae <allan@archlinux.org>
7173
faf6f8bc
AM
7174 * manual/socket.texi (The Internet Namespace): Order menu items
7175 to match that in the file.
7176
b4d1fd33
AM
7177 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7178 node listing of the info page menu.
7179
2366713d
JM
71802013-02-21 Joseph Myers <joseph@codesourcery.com>
7181
7182 [BZ #13550]
7183 * sysdeps/i386/bp-asm.h: Remove file.
7184 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7185 (PARMS): Do not use macros from bp-asm.h.
7186 (S1): Likewise.
7187 (S2): Likewise.
7188 (SIZE): Likewise.
7189 (__mpn_add_n): Do not use BP_SYM
7190 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7191 "bp-asm.h".
7192 (PARMS): Do not use macros from bp-asm.h.
7193 (S1): Likewise.
7194 (SIZE): Likewise.
7195 (__mpn_addmul_1): Do not use BP_SYM
7196 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7197 "bp-asm.h".
7198 (PARMS): Do not use macros from bp-asm.h.
7199 (SIGMSK): Likewise.
7200 (_setjmp): Likewise. Do not use BP_SYM.
7201 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7202 "bp-asm.h".
7203 (PARMS): Do not use macros from bp-asm.h.
7204 (SIGMSK): Likewise.
7205 (setjmp): Likewise. Do not use BP_SYM.
7206 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7207 "bp-asm.h".
7208 (PARMS): Do not use macros from bp-asm.h.
7209 (__frexp): Do not use BP_SYM.
7210 (frexp): Likewise.
7211 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7212 "bp-asm.h".
7213 (PARMS): Do not use macros from bp-asm.h.
7214 (__frexpf): Do not use BP_SYM.
7215 (frexpf): Likewise.
7216 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7217 "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (__frexpl): Do not use BP_SYM.
7220 (frexpl): Likewise.
7221 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7222 "bp-asm.h".
7223 (PARMS): Do not use macros from bp-asm.h.
7224 (__remquo): Do not use BP_SYM.
7225 (remquo): Likewise.
7226 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7227 "bp-asm.h".
7228 (PARMS): Do not use macros from bp-asm.h.
7229 (__remquof): Do not use BP_SYM.
7230 (remquof): Likewise.
7231 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7232 "bp-asm.h".
7233 (PARMS): Do not use macros from bp-asm.h.
7234 (__remquol): Do not use BP_SYM.
7235 (remquol): Likewise.
7236 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7237 "bp-asm.h".
7238 (PARMS): Do not use macros from bp-asm.h.
7239 (DEST): Likewise.
7240 (SRC): Likewise.
7241 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7242 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7243 "bp-asm.h".
7244 (PARMS): Do not use macros from bp-asm.h.
7245 (strlen): Do not use BP_SYM.
7246 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7247 "bp-asm.h".
7248 (PARMS): Do not use macros from bp-asm.h.
7249 (S1): Likewise.
7250 (S2): Likewise.
7251 (SIZE): Likewise.
7252 (__mpn_add_n): Do not use BP_SYM.
7253 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7254 "bp-asm.h".
7255 (PARMS): Do not use macros from bp-asm.h.
7256 (S1): Likewise.
7257 (SIZE): Likewise.
7258 (__mpn_addmul_1): Do not use BP_SYM.
7259 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7260 weak_alias.
7261 (bzero): Likewise.
7262 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7263 "bp-asm.h".
7264 (PARMS): Do not use macros from bp-asm.h.
7265 (S): Likewise.
7266 (SIZE): Likewise.
7267 (__mpn_lshift): Do not use BP_SYM.
7268 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7269 "bp-asm.h".
7270 (PARMS): Do not use macros from bp-asm.h.
7271 (DEST): Likewise.
7272 (SRC): Likewise.
7273 (LEN): Likewise.
7274 (memcpy): Likewise. Do not use BP_SYM.
7275 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7276 libc_hidden_def and weak_alias.
7277 (mempcpy): Do not use BP_SYM in weak_alias.
7278 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7279 "bp-asm.h".
7280 (PARMS): Do not use macros from bp-asm.h.
7281 (DEST): Likewise.
7282 (LEN): Likewise.
7283 [!BZERO_P] (CHR): Likewise.
7284 (memset): Likewise. Do not use BP_SYM.
7285 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7286 "bp-asm.h".
7287 (PARMS): Do not use macros from bp-asm.h.
7288 (S1): Likewise.
7289 (SIZE): Likewise.
7290 (__mpn_mul_1): Do not use BP_SYM.
7291 * sysdeps/i386/i586/rshift.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_rshift): Do not use BP_SYM.
7297 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7298 "bp-asm.h".
7299 (PARMS): Do not use macros from bp-asm.h.
7300 (STR): Likewise.
7301 (CHR): Likewise.
7302 (strchr): Likewise. Do not use BP_SYM.
7303 (index): Do not use BP_SYM in weak_alias.
7304 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7305 "bp-asm.h".
7306 (PARMS): Do not use macros from bp-asm.h.
7307 (DEST): Likewise.
7308 (SRC): Likewise.
7309 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7310 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7311 "bp-asm.h".
7312 (PARMS): Do not use macros from bp-asm.h.
7313 (strlen): Do not use BP_SYM.
7314 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
7319 (SIZE): Likewise.
7320 (__mpn_sub_n): Do not use BP_SYM.
7321 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7322 "bp-asm.h".
7323 (PARMS): Do not use macros from bp-asm.h.
7324 (S1): Likewise.
7325 (SIZE): Likewise.
7326 (__mpn_submul_1): Do not use BP_SYM.
7327 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7328 "bp-asm.h".
7329 (PARMS): Do not use macros from bp-asm.h.
7330 (S1): Likewise.
7331 (S2): Likewise.
7332 (SIZE): Likewise.
7333 (__mpn_add_n): Do not use BP_SYM.
7334 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7335 weak_alias.
7336 (bzero): Likewise.
7337 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7338 "bp-asm.h".
7339 (PARMS): Do not use macros from bp-asm.h.
7340 (BLK2): Likewise.
7341 (LEN): Likewise.
7342 (memcmp): Do not use BP_SYM.
7343 (bcmp): Do not use BP_SYM in weak_alias.
7344 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7345 "bp-asm.h".
7346 (PARMS): Do not use macros from bp-asm.h.
7347 (DEST): Likewise.
7348 (SRC): Likewise.
7349 (LEN): Likewise.
7350 (memcpy): Likewise. Do not use BP_SYM.
7351 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7352 "bp-asm.h".
7353 (PARMS): Do not use macros from bp-asm.h.
7354 (DEST): Likewise.
7355 (SRC): Likewise.
7356 (LEN): Likewise.
7357 (memmove): Likewise. Do not use BP_SYM.
7358 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7359 "bp-asm.h".
7360 (PARMS): Do not use macros from bp-asm.h.
7361 (DEST): Likewise.
7362 (SRC): Likewise.
7363 (LEN): Likewise.
7364 (__mempcpy): Likewise. Do not use BP_SYM.
7365 (mempcpy): Do not use BP_SYM in weak_alias.
7366 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7367 "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7369 (DEST): Likewise.
7370 (LEN): Likewise.
7371 [!BZERO_P] (CHR): Likewise.
7372 (memset): Likewise. Do not use BP_SYM.
7373 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7374 "bp-asm.h".
7375 (PARMS): Do not use macros from bp-asm.h.
7376 (STR2): Likewise.
7377 (strcmp): Do not use BP_SYM.
7378 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7379 "bp-asm.h".
7380 (PARMS): Do not use macros from bp-asm.h.
7381 (STR): Likewise.
7382 (DELIM): Likewise.
7383 [USE_AS_STRTOK_R] (SAVE): Likewise.
7384 (FUNCTION): Likewise. Do not use BP_SYM.
7385 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7386 aliases.
7387 (strtok_r): Likewise.
7388 (__GI___strtok_r): Likewise.
7389 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7390 (PARMS): Do not use macros from bp-asm.h.
7391 (S): Likewise.
7392 (SIZE): Likewise.
7393 (__mpn_lshift): Do not use BP_SYM.
7394 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7395 (PARMS): Do not use macros from bp-asm.h.
7396 (STR): Likewise.
7397 (CHR): Likewise.
7398 (__memchr): Do not use BP_SYM.
7399 (memchr): Do not use BP_SYM in weak_alias.
7400 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7401 (PARMS): Do not use macros from bp-asm.h.
7402 (BLK2): Likewise.
7403 (LEN): Likewise.
7404 (memcmp): Do not use BP_SYM.
7405 (bcmp): Do not use BP_SYM in weak_alias.
7406 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7407 (PARMS): Do not use macros from bp-asm.h.
7408 (S1): Likewise.
7409 (SIZE): Likewise.
7410 (__mpn_mul_1): Do not use BP_SYM.
7411 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7412 "bp-asm.h".
7413 (PARMS): Do not use macros from bp-asm.h.
7414 (STR): Likewise.
7415 (CHR): Likewise.
7416 (__rawmemchr): Do not use BP_SYM.
7417 (rawmemchr): Do not use BP_SYM in weak_alias.
7418 * sysdeps/i386/rshift.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_rshift): Do not use BP_SYM.
7423 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7424 (PARMS): Do not use macros from bp-asm.h.
7425 (SIGMSK): Likewise.
7426 (__sigsetjmp): Likewise. Do not use BP_SYM.
7427 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7428 (_start): Do not use BP_SYM.
7429 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7430 (PARMS): Do not use macros from bp-asm.h.
7431 (DEST): Likewise.
7432 (SRC): Likewise.
7433 (__stpcpy): Likewise. Do not use BP_SYM.
7434 (stpcpy): Do not use BP_SYM in weak_alias.
7435 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7436 "bp-asm.h".
7437 (PARMS): Do not use macros from bp-asm.h.
7438 (DEST): Likewise.
7439 (SRC): Likewise.
7440 (LEN): Likewise.
7441 (__stpncpy): Likewise. Do not use BP_SYM.
7442 (stpncpy): Do not use BP_SYM in weak_alias.
7443 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7444 (PARMS): Do not use macros from bp-asm.h.
7445 (STR): Likewise.
7446 (CHR): Likewise.
7447 (strchr): Likewise. Do not use BP_SYM.
7448 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7449 "bp-asm.h".
7450 (PARMS): Do not use macros from bp-asm.h.
7451 (STR): Likewise.
7452 (CHR): Likewise.
7453 (__strchrnul): Likewise. Do not use BP_SYM.
7454 (strchrnul): Do not use BP_SYM in weak_alias.
7455 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7456 "bp-asm.h".
7457 (PARMS): Do not use macros from bp-asm.h.
7458 (STOP): Likewise.
7459 (strcspn): Do not use BP_SYM.
7460 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7461 "bp-asm.h".
7462 (PARMS): Do not use macros from bp-asm.h.
7463 (STR): Likewise.
7464 (STOP): Likewise.
7465 (strpbrk): Likewise. Do not use BP_SYM.
7466 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7467 "bp-asm.h".
7468 (PARMS): Do not use macros from bp-asm.h.
7469 (STR): Likewise.
7470 (CHR): Likewise.
7471 (strrchr): Likewise. Do not use BP_SYM.
7472 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7473 (PARMS): Do not use macros from bp-asm.h.
7474 (SKIP): Likewise.
7475 (strspn): Do not use BP_SYM.
7476 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7477 (PARMS): Do not use macros from bp-asm.h.
7478 (STR): Likewise.
7479 (DELIM): Likewise.
7480 (SAVE): Likewise.
7481 (FUNCTION): Likewise. Do not use BP_SYM.
7482 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7483 aliases.
7484 (strtok_r): Likewise.
7485 (__GI___strtok_r): Likewise.
7486 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7487 (PARMS): Do not use macros from bp-asm.h.
7488 (S1): Likewise.
7489 (S2): Likewise.
7490 (SIZE): Likewise.
7491 (__mpn_sub_n): Do not use BP_SYM.
7492 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (PARMS): Do not use macros from bp-asm.h.
7495 (S1): Likewise.
7496 (SIZE): Likewise.
7497 (__mpn_submul_1): Do not use BP_SYM.
7498 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7499 <bp-sym.h>.
7500 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7501 and <bp-asm.h>.
7502 (PARMS): Do not use macros from bp-asm.h.
7503 (FLAGS): Likewise.
7504 (PTID): Likewise.
7505 (TLS): Likewise.
7506 (CTID): Likewise.
7507 (__clone): Do not use BP_SYM.
7508 (clone): Do not use BP_SYM in weak_alias.
7509 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7510 and <bp-asm.h>.
7511 (PARMS): Do not use macros from bp-asm.h.
7512 (LEN): Likewise.
7513 (__mmap64): Do not use BP_SYM.
7514 (mmap64): Do not use BP_SYM in weak_alias.
7515 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7516 <bp-sym.h> and <bp-asm.h>.
7517 (PARMS): Do not use macros from bp-asm.h.
7518 (__posix_fadvise64_l64): Do not use BP_SYM.
7519 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7520 (PARMS): Do not use macros from bp-asm.h.
7521 (NSOPS): Likewise.
7522 (semtimedop): Do not use BP_SYM.
7523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7524 and <bp-asm.h>.
7525
582a3cff
AM
75262013-02-21 Allan McRae <allan@archlinux.org>
7527
7528 * manual/message.texi (Charset conversion in gettext):
7529 Move @end statement to beginning of line.
7530
bab8a695
SP
75312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
80945231
SP
7533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7534 static.
7535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7536 Likewise.
7537
bab8a695
SP
7538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7539 (denorm): Likewise.
7540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7542
e21d7aa7
AK
75432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7544
7545 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7546 tail-call to the resolved function if pltexit isn't needed.
7547
4c7a4263
SP
75482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7549
7550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7551 or Y being zero as being unlikely.
7552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7553 Likewise.
7554
41f49342
CD
75552013-02-20 Carlos O'Donell <carlos@redhat.com>
7556
7557 * manual/nss.texi (System Databases and Name Service Switch):
7558 Remove frobnicate @pxref.
7559
50022a93
TS
75602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7561
7562 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7563 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7564
08cbd996
PM
75652013-02-20 Petr Machata <pmachata@redhat.com>
7566
7567 * elf/elf.h (R_ARM_TARGET1): New macro.
7568 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7569 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7570 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7571 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7572 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7573 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7574 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7575 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7576 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7577 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7578 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7579 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7580 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7581 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7582 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7583 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7584 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7585 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7586 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7587 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7588 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7589 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7590 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7591 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7592 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7593 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7594 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7595 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7596 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7597 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7598 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7599 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7600 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7601 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7602 (R_ARM_THM_GOT_BREL12): Likewise.
7603 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7604 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7605 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7606 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7607 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7608 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7609 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7610 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7611 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7612
c7b275d6
TS
76132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7614
7615 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7616 __attribute_used__ to __attribute__ ((unused)).
7617
20cd7fb3
SP
76182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7619
7620 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7621 powerpc mpa.c.
7622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7623 comment formatting.
7624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7625
92945b52
JM
76262013-02-19 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #13550]
7629 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7630 Remove macro.
7631 (ENTER): Remove both macro definitions.
7632 (LEAVE): Likewise.
7633 (CHECK_BOUNDS_LOW): Likewise.
7634 (CHECK_BOUNDS_HIGH): Likewise.
7635 (CHECK_BOUNDS_BOTH): Likewise.
7636 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7637 (RETURN_BOUNDED_POINTER): Likewise.
7638 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7639 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7640 (POP_ERRNO_LOCATION_RETURN): Likewise.
7641 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7642 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7643 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7644 macros.
7645 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7646 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7647 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7648 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7649 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7650 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7651 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7652 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7653 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7654 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7655 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7656 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7657 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7658 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7659 removed macros.
7660 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7662 macros.
7663 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7664 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7665 * sysdeps/i386/i586/memset.S (memset): Likewise.
7666 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7667 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7668 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7669 macros.
7670 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7671 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7672 Change uses of L(2) to L(out).
7673 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7674 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7675 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7676 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7677 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7678 removed macros.
7679 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7680 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7681 macros.
7682 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7683 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7684 (RETURN): Do not use macro LEAVE.
7685 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7686 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7687 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7688 * sysdeps/i386/i686/memset.S (memset): Likewise.
7689 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7690 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7691 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7692 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7693 Likewise.
7694 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7695 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7696 L(1_2) and L(1_3) into L(1).
7697 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7698 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7699 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7700 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7701 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7702 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7703 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7704 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7705 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7706 macros.
7707 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7708 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7709 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7710 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7711 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7712 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7713 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7714 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7715 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7716 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7717 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7718 * sysdeps/i386/strspn.S (strspn): Likewise.
7719 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7720 conditional code.
7721 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7722 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7723 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7724 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7725 L(1_3) into L(1_1).
7726 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7727 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7728 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7729 macros.
7730 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7731
2389741a
JJ
77322013-02-19 Jakub Jelinek <jakub@redhat.com>
7733
7734 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7735 macro.
7736
2016b3cd
SP
77372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7738
e4f22324
SP
7739 * math/atest-exp.c (exp_mpn): Remove ROUND.
7740 * math/atest-exp2.c (exp_mpn): Likewise.
7741 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7742
2016b3cd
SP
7743 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7744 * stdlib/tst-tls-atexit-lib.c: Likewise.
7745 * stdlib/tst-tls-atexit.c: Likewise.
7746
4be9b544
MF
77472013-02-18 Mike Frysinger <vapier@gentoo.org>
7748
7749 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7750 and __attribute_alloc_size__.
7751
2f62b9ee
MF
77522013-02-18 Mike Frysinger <vapier@gentoo.org>
7753
7754 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7755 __attribute_alloc_size__.
7756 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7757 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7758
6ff444c4
MF
77592013-02-18 Mike Frysinger <vapier@gentoo.org>
7760
7761 * include/programs/xmalloc.h: New file.
7762 * catgets/gencat.c: Include it.
7763 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7764 * elf/pldd.c: Likewise.
7765 * iconv/iconv_charmap.c: Likewise.
7766 * iconv/iconvconfig.c: Likewise.
7767 * iconv/strtab.c: Likewise.
7768 * locale/programs/locale.c: Likewise.
7769 * locale/programs/localedef.h: Likewise.
7770 * locale/programs/simple-hash.c: Likewise.
7771 * nscd/nscd.h: Likewise.
7772 * nss/makedb.c: Likewise.
7773 * sysdeps/generic/ldconfig.h: Likewise.
7774
be179c8a
SP
77752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7776
ba384f6e
SP
7777 * Versions.def: Add GLIBC_2.18.
7778 * include/link.h (struct link_map): New member l_tls_dtor_count.
7779 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7780 (__call_tls_dtors): Likewise.
7781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7782 __cxa_thread_atexit_impl.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7784 Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7786 Likewise.
7787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7788 Likewise.
7789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7790 Likewise.
7791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7793 Likewise.
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7795 Likewise.
7796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7798 Likewise.
7799 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7800 (tests): Add test case tst-tls-atexit.
7801 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7802 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7803 (GLIBC_PRIVATE): Add __call_tls_dtors.
7804 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7805 for libstdc++.
7806 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7807 * stdlib/tst-tls-atexit.c: New test case.
7808 * stdlib/tst-tls-atexit-lib.c: New test case.
7809
ffaa74cf 7810 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7811
be179c8a
SP
7812 * elf/Versions (ld): Add _dl_find_dso_for_object.
7813 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7814 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7815 (dl_open_worker): Use _dl_find_dso_for_object.
7816 * elf/dl-sym.c (do_sym): Likewise.
7817 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7818
f78b5caa
AK
78192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7820
7821 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7822 Syntactic changes only.
7823 (_dl_runtime_profile): Do a tail-call to the resolved function.
7824
29691210
JM
78252013-02-17 Joseph Myers <joseph@codesourcery.com>
7826
7827 [BZ #13550]
7828 * sysdeps/x86_64/bp-asm.h: Remove file.
7829 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7830 <bp-sym.h> and <bp-asm.h>.
7831 (__clone): Do not use BP_SYM.
7832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7833 <bp-sym.h> and <bp-asm.h>.
7834 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7835 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7836 "bp-asm.h".
7837 (_setjmp): Do not use BP_SYM.
7838 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7839 "bp-asm.h".
7840 (setjmp): Do not use BP_SYM.
7841 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7842 libc_hidden_def.
7843 (mempcpy): Do not use BP_SYM in weak_alias.
7844 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7845 "bp-asm.h".
7846 (strchr): Do not use BP_SYM.
7847 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7848 "bp-asm.h".
7849 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7850 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7851 (_start): Do not use BP_SYM.
7852 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7853 "bp-asm.h".
7854 (strcat): Do not use BP_SYM.
7855 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7856 "bp-asm.h".
7857 (STRCMP): Do not use BP_SYM.
7858 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7859 "bp-asm.h".
7860 (STRCPY): Do not use BP_SYM.
7861 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7862 "bp-asm.h".
7863 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7864 "bp-asm.h".
7865 (FUNCTION): Do not use BP_SYM.
7866 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7867 weak_alias.
7868 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7869
f238fd19
AJ
78702013-02-17 Andreas Jaeger <aj@suse.de>
7871
7872 * time/Versions: Sort entries.
7873 * string/Versions: Likewise.
7874 * resolv/Versions: Likewise.
7875 * posix/Versions: Likewise.
7876 * iconv/Versions: Likewise.
7877 * elf/Versions: Likewise.
7878 * wcsmbs/Versions: Likewise.
7879
bd07f23c 78802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7881
22af19f9
SP
7882 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7883 loop termination condition.
7884
4709fe76
SP
7885 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7886 variable to calculate EZ.
7887 (__sqr): Likewise.
2d0e0f29
SP
7888
7889 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7890 the lower precision input.
7891
daaa7713
JM
78922013-02-15 Joseph Myers <joseph@codesourcery.com>
7893
7894 [BZ #13550]
7895 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7896 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7897 (run-via-rtld-prefix): Do not handle %-bp tests.
7898 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7899 (all-object-suffixes): Remove .ob.
7900 (bppfx): Remove variable.
7901 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7902 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7903 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7904 [$(build-bounded) = yes] (libtype.ob): Likewise.
7905 * Makerules (elide-routines.ob): Remove variable.
7906 (do-tests-clean): Do not handle *-bp.out.
7907 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7908 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7909 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7910 (tests): Do not include $(tests-bp.out).
7911 (xtests): Do not include $(xtests-bp.out).
7912 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7913 [$(build-bounded) = yes] ($(addprefix
7914 $(objpfx),$(binaries-bounded))): Remove rule.
7915 ($(objpfx)%-bp.out): Remove rule.
7916 * config.make.in (build-bounded): Remove variable.
7917 * crypt/Makefile [$(build-bounded) = yes]
7918 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7919 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7920 append to variable.
7921 [$(build-bounded) = yes] (install-lib): Likewise.
7922 [$(build-bounded) = yes] (generated): Likewise.
7923 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7924 Remove rule.
7925 * intl/Makefile [$(build-bounded) = yes]
7926 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7927 * math/Makefile [$(build-bounded) = yes]
7928 ($(tests:%=$(objpfx)%-bp): Likewise.
7929 * misc/Makefile [$(build-bounded) = yes]
7930 ($(objpfx)tst-tsearch-bp): Likewise.
7931 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7932 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7933 Remove dependency.
7934 * string/Makefile (o-objects.ob): Remove variable.
7935 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7936 (CFLAGS-.ob): Remove variable.
7937 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7938 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7939 both definitions of variable.
7940 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7941 (ASFLAGS-.ob): Remove variable.
7942
e97ed6dd
JM
79432013-02-14 Joseph Myers <joseph@codesourcery.com>
7944
2bdd4ca6
JM
7945 [BZ #13550]
7946 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7947 Remove __BOUNDED_POINTERS__ from condition.
7948 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7949 * string/bits/string2.h [!__NO_STRING_INLINES &&
7950 !__BOUNDED_POINTERS__]: Likewise.
7951 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7952 Likewise.
7953 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7954 Remove conditional code.
7955 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7956 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7957 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7958 condition.
7959
e97ed6dd
JM
7960 [BZ #13550]
7961 * csu/libc-start.c: Do not include <bp-sym.h>.
7962 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7963 * elf/dl-open.c: Do not include <bp-sym.h>.
7964 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7965 * math/fegetenv.c: Do not include <bp-sym.h>.
7966 (fegetenv): Do not use BP_SYM in versioned symbols.
7967 * nptl/sysdeps/pthread/bits/libc-lockP.h
7968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7969 <bp-sym.h>.
7970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7971 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7973 (__pthread_mutex_destroy): Likewise.
7974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7975 (__pthread_mutex_lock): Likewise.
7976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7977 (__pthread_mutex_trylock): Likewise.
7978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7979 (__pthread_mutex_unlock): Likewise.
7980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7981 (__pthread_mutexattr_init): Likewise.
7982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7983 (__pthread_mutexattr_destroy): Likewise.
7984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7985 (__pthread_mutexattr_settype): Likewise.
7986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7987 (__pthread_rwlock_init): Likewise.
7988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7989 (__pthread_rwlock_destroy): Likewise.
7990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7991 (__pthread_rwlock_rdlock): Likewise.
7992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7993 (__pthread_rwlock_tryrdlock): Likewise.
7994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7995 (__pthread_rwlock_wrlock): Likewise.
7996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7997 (__pthread_rwlock_trywrlock): Likewise.
7998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7999 (__pthread_rwlock_unlock): Likewise.
8000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8001 (__pthread_key_create): Likewise.
8002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8003 (__pthread_setspecific): Likewise.
8004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8005 (__pthread_getspecific): Likewise.
8006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8007 Likewise.
8008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8009 (_pthread_cleanup_push_defer): Likewise.
8010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8011 (_pthread_cleanup_pop_restore): Likewise.
8012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8013 (pthread_setcancelstate): Likewise.
8014 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8015 <bp-sym.h>.
8016 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8017 (memchr): Do not use BP_SYM in weak_alias.
8018 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8019 (fegetenv): Do not use BP_SYM in versioned symbols.
8020 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8021 (fesetenv): Do not use BP_SYM in versioned symbols.
8022 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8023 (feupdateenv): Do not use BP_SYM in versioned symbols.
8024 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8025 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8026 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8027 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8028 (open64): Do not use BP_SYM in weak_alias.
8029 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8030 (fegetenv): Do not use BP_SYM in versioned symbols.
8031 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8032 (fesetenv): Do not use BP_SYM in versioned symbols.
8033 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8034 (feupdateenv): Do not use BP_SYM in versioned symbols.
8035 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8036 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8037 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8038 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8039 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8040 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8041 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8042 <bp-sym.h>.
8043 (__libc_start_main): Do not use BP_SYM.
8044
d6752ccd
SP
80452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8046
cb57ce60
SP
8047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8048 redundant return line.
8049 (norm): Likewise.
8050 (denorm): Likewise.
8051 (dbl_mp): Likewise.
8052 (sub_magnitudes): Likewise.
8053 (__add): Likewise.
8054 (__sub): Likewise.
8055 (__mul): Likewise.
8056 (__inv): Likewise.
8057 (__dvd): Likewise.
8058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8059 (norm): Likewise.
8060 (denorm): Likewise.
8061 (dbl_mp): Likewise.
8062 (sub_magnitudes): Likewise.
8063 (__add): Likewise.
8064 (__sub): Likewise.
8065 (__mul): Likewise.
8066 (__inv): Likewise.
8067 (__dvd): Likewise.
8068
f414520d
SP
8069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8070 instead of __mul.
8071 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8072 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8073 (cc32): Likewise.
8074
d6752ccd
SP
8075 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8076 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8078 of __mul for squares.
8079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8080 function
8081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8082 Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8084 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8085
70d9946a
JM
80862013-02-13 Joseph Myers <joseph@codesourcery.com>
8087
8088 [BZ #13550]
8089 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8090 code.
8091 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8092 prototype or function definition. Rename ubp_* variables and
8093 parameters. Remove argv definitions conditional on
8094 [__BOUNDED_POINTERS__].
8095 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8096 * elf/dl-runtime.c (_dl_fixup): Likewise.
8097 * include/set-hooks.h (RUN_HOOK): Likewise.
8098 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8099 definition.
8100 * string/strcpy.c (strcpy): Do not use __unbounded.
8101 * sysdeps/generic/frame.h (struct layout): Likewise.
8102 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8103 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8104 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8105 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8106 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8107 (__backtrace): Likewise.
8108 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8109 use __ptrvalue.
8110 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8111 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8112 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8113 Likewise.
8114 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8115 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8116 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8117 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8118 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8119 Do not use __unbounded.
8120 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8121 Rename __unboundedrlimits parameter to rlimits in prototype.
8122 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8123 Do not use __unbounded.
8124 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8125 not use __ptrvalue.
8126 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8127 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8128 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8129 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8130 __ptrvalue or __unbounded.
8131 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8132 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8133 use __unbounded.
8134 (__new_msgctl): Do not use __ptrvalue.
8135 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8136 __unbounded.
8137 (__libc_msgrcv): Do not use __ptrvalue.
8138 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8139 startup_info): Do not use __unbounded.
8140 (__libc_start_main): Likewise. Rename ubp_* variables and
8141 parameters. Remove argv definitions conditional on
8142 [__BOUNDED_POINTERS__].
8143 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8144 __ptrvalue.
8145 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8146 use __unbounded.
8147 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8148 or __ptrvalue.
8149 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8150 use __unbounded.
8151 (__new_shmctl): Do not use __ptrvalue.
8152 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8153 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8154 Likewise.
8155 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8157 (__libc_sigaction): Likewise.
8158 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8159 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8160 Likewise.
8161 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8162
cc7834d6
OB
81632013-02-13 Ondřej Bílka <neleai@seznam.cz>
8164
ffb1ec7b 8165 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8166
8167 * string/mempcpy.c: Implement by calling memcpy.
8168
bdf02814
SP
81692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8170
c2af38aa
SP
8171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8172
4e92d59e
SP
8173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8174 evaluation.
8175
909279a5
SP
8176 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8177 values in the mantissa.
8178
bdf02814
SP
8179 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8180 minimize writes to Z.
8181 (sub_magnitudes): Simplify code a bit.
8182
cd525923
RM
81832013-02-12 Roland McGrath <roland@hack.frob.com>
8184
8185 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8186 from the message. The linker prefixes all warnings with that already.
8187
7e2f0d2d
AS
81882013-02-12 Andreas Schwab <schwab@suse.de>
8189
a445af0b
AS
8190 [BZ #15078]
8191 * posix/regexec.c (extend_buffers): Add parameter min_len.
8192 (check_matching): Pass minimum needed length.
8193 (clean_state_log_if_needed): Likewise.
8194 (get_subexp): Likewise.
8195 * posix/Makefile (tests): Add bug-regex34.
8196 (bug-regex34-ENV): Define.
8197 * posix/bug-regex34.c: New file.
8198
7e2f0d2d
AS
8199 [BZ #11561]
8200 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8201 elements compare against the byte sequence of it, not its name.
8202 * posix/Makefile (tests): Add bug-regex35.
8203 (bug-regex35-ENV): Define.
8204 * posix/bug-regex35.c: New file.
8205
a175b684
TV
82062013-02-11 Tom de Vries <tom@codesourcery.com>
8207
8208 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8209 comment.
8210 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8211 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8212 (CHECK_EOL): Add undef.
8213
310998fe 82142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8215
8216 * bits/stdlib-bsearch.h: New file.
8217 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8218 * stdlib/stdlib.h: Likewise.
41eda41d 8219
8ded91fb
RM
82202013-02-11 Roland McGrath <roland@hack.frob.com>
8221
8222 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8223 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8224 declaration.
8225 * manual/search.texi (Array Search Function): Add missing const in
8226 lfind prototype.
8227 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8228 declaration to use rlim_t.
8229 (Basic Scheduling Functions): Remove erroneous const from
8230 sched_getparam prototype. Remove erroneous * from
8231 sched_get_priority_max and sched_get_priority_min prototypes.
8232 (Resource Usage): Fix summary @comment on vtimes to refer to
8233 sys/vtimes.h rather than vtimes.h.
8234 Add missing *s in vtimes prototype.
8235 (Limits on Resources): Fix ulimit prototype to return long int.
8236 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8237 prototypes to use long int rather than double.
8238 (BSD Random): Fix initstate and setstate to use char *, not void *.
8239 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8240 prototype to make second argument 'struct aiocb64 *const[]'.
8241 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8242 (Status of AIO Operations): Remove erroneous const in aio_return and
8243 aio_return64 prototypes.
8244 (Synchronizing I/O): Fix sync prototype to return void.
8245 * manual/startup.texi (Suboptions): Remove an erroneous const in
8246 getsubopt prototype.
8247 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8248 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8249 use size_t rather than int.
8250 (Scanning All Users): Likewise for getpwent_r.
8251 (Setting Groups): Add missing const to setgroups prototype.
8252 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8253 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8254 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8255 'const void *' rather than 'const char *'.
8256 (Host Address Functions): Likewise for inet_ntop.
8257 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8258 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8259 ssize_t for return value.
8260 (Sending Data): Likewise for send, sendto, sendmsg.
8261 (Socket Option Functions): Add a missing const in setsockopt prototype.
8262 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8263 use wchar_t for the argument.
8264 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8265 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8266 take no arguments.
8267 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8268 double/float/long double for second argument.
8269 Fix return types of significand, significandf, significandl.
8270 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8271 argument in fchmod prototype.
8272 (File Owner): Use uid_t and gid_t in fchown prototype.
8273 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8274 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8275 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8276 use 'const struct dirent **' as argument types to CMP function pointer
8277 argument.
8278 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8279 (File Times): Fix summary magic @comment for struct utimbuf and utime
8280 to refer to utime.h, not time.h.
8281 * manual/string.texi (Argz Functions): Add missing const in
8282 argz_extract and argz_next prototypes.
8283 (Finding Tokens in a String): Likewise for basename.
8284 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8285 (Copying and Concatenation): Fix typo in wmemmove prototype.
8286 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8287 (Signal Stack): Remove erroneous const in sigstack prototype.
8288 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8289 prototype.
8290 (Simple Calendar Time): Likewise for stime.
8291 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8292 prototype.
8293 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8294 say sys/sysctl.h instead.
8295 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8296 and vsyslog prototypes.
8297
fe77fe6d
TV
82982013-02-11 Tom de Vries <tom@codesourcery.com>
8299
8300 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8301 Remove.
8302
3a09b620
RM
83032013-02-11 Roland McGrath <roland@hack.frob.com>
8304
8305 * misc/sys/mman.h: Fix typo in mremap comment.
8306
550a0b89
RM
83072013-02-08 Roland McGrath <roland@hack.frob.com>
8308
8309 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8310 the '\0' terminator.
8311
a2da1673
JM
83122013-02-08 Joseph Myers <joseph@codesourcery.com>
8313
8314 [BZ #13550]
8315 * debug/segfault.c: Don't include <bp-checks.h>.
8316 * sysdeps/generic/bp-checks.h: Remove file.
8317 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8318 (__GETDENTS): Don't use CHECK_N.
8319 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8320 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8321 (__getgroups): Don't use CHECK_N.
8322 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8323 (setgroups): Don't use CHECK_N.
8324 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8325 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8326 (__libc_msgrcv): Don't use CHECK_N.
8327 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8328 (__libc_msgsnd): Don't use CHECK_N.
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8330 <bp-checks.h>.
8331 (__libc_pread): Don't use CHECK_N.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8333 include <bp-checks.h>.
8334 (__libc_pread64): Don't use CHECK_N.
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8336 include <bp-checks.h>.
8337 (__libc_pwrite): Don't use CHECK_N.
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8339 include <bp-checks.h>.
8340 (__libc_pwrite64): Don't use CHECK_N.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8342 <bp-checks.h>.
8343 (__libc_pread): Don't use CHECK_N.
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8345 include <bp-checks.h>.
8346 (__libc_pread64): Don't use CHECK_N.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8348 include <bp-checks.h>.
8349 (__libc_pwrite): Don't use CHECK_N.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8351 include <bp-checks.h>.
8352 (__libc_pwrite64): Don't use CHECK_N.
8353 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8354 (do_pread): Don't use CHECK_N.
8355 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8356 (do_pread64): Don't use CHECK_N.
8357 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8358 (do_pwrite): Don't use CHECK_N.
8359 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8360 (do_pwrite64): Don't use CHECK_N.
8361 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8362 (__libc_readv): Don't use CHECK_N.
8363 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8364 (semop): Don't use CHECK_N.
8365 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8366 <bp-checks.h>.
8367 (semtimedop): Don't use CHECK_N.
8368 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8369 (__libc_pread): Don't use CHECK_N.
8370 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8371 <bp-checks.h>.
8372 (__libc_pread64): Don't use CHECK_N.
8373 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8374 <bp-checks.h>.
8375 (__libc_pwrite): Don't use CHECK_N.
8376 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8377 <bp-checks.h>.
8378 (__libc_pwrite64): Don't use CHECK_N.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8380 <bp-checks.h>.
8381 (__libc_msgrcv): Don't use CHECK_N.
8382 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8383 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8384 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8385 (__libc_writev): Don't use CHECK_N.
8386
b84660a8
RM
83872013-02-08 Roland McGrath <roland@hack.frob.com>
8388
7f3e75f8
RM
8389 * string/strcpy.c: Removed unused variable.
8390
b84660a8
RM
8391 * Makeconfig (+sysdep-includes): Define with := rather than =.
8392 Use an existing include/ subdir of each sysdeps dir before it.
8393
471514d3
CD
83942013-02-08 Carlos O'Donell <carlos@redhat.com>
8395
8396 * nscd/connection.c (register_traced_file): Comment function.
8397 [HAVE_INOTIFY] (union __inev): Define.
8398 [HAVE_INOTIFY] (inotify_check_files): New function.
8399 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8400 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8401 clear_db_cache.
8402 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8403
b2d3c3be
CD
84042013-02-08 Carlos O'Donell <carlos@redhat.com>
8405
8406 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8407 loaded if not already and that a failure is permanent.
8408
b39949d2
CD
84092013-02-08 Carlos O'Donell <carlos@redhat.com>
8410
ddacd1db 8411 [BZ #15006]
b39949d2
CD
8412 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8413 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8414
b2c9eff4
JM
84152013-02-08 Joseph Myers <joseph@codesourcery.com>
8416
f3aae3f3
JM
8417 [BZ #13550]
8418 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8419 (CHECK_1_NULL_OK): Likewise.
8420 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8421 (__fxstat): Do not use CHECK_1.
8422 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8423 <bp-checks.h>.
8424 (___fxstat64): Do not use CHECK_1.
8425 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8426 <bp-checks.h>.
8427 (__fxstatat): Do not use CHECK_1.
8428 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8429 <bp-checks.h>.
8430 (__fxstatat64): Do not use CHECK_1.
8431 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8432 <bp-checks.h>.
8433 (__fxstat): Do not use CHECK_1.
8434 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8435 <bp-checks.h>.
8436 (__fxstatat): Do not use CHECK_1.
8437 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8438 <bp-checks.h>.
8439 (__getresgid): Do not use CHECK_1.
8440 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8441 <bp-checks.h>.
8442 (__getresuid): Do not use CHECK_1.
8443 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8444 <bp-checks.h>.
8445 (__lxstat): Do not use CHECK_1.
8446 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8447 <bp-checks.h>.
8448 (__old_msgctl): Do not use CHECK_1.
8449 (__new_msgctl): Likewise.
8450 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8451 <bp-checks.h>.
8452 (__new_setrlimit): Do not use CHECK_1.
8453 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8454 <bp-checks.h>.
8455 (__old_shmctl): Do not use CHECK_1.
8456 (__new_shmctl): Likewise.
8457 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8458 <bp-checks.h>.
8459 (__xstat): Do not use CHECK_1.
8460 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8461 (__lxstat): Do not use CHECK_1.
8462 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8463 <bp-checks.h>.
8464 (___lxstat64): Do not use CHECK_1.
8465 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8466 (__old_msgctl): Do not use CHECK_1.
8467 (__new_msgctl): Likewise.
8468 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8469 <bp-checks.h>.
8470 (__gettimeofday): Do not use CHECK_1.
8471 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8472 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8474 <bp-checks.h>.
8475 (__gettimeofday): Do not use CHECK_1.
8476 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8477 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8478 (__new_shmctl): Do not use CHECK_1.
8479 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8480 <bp-checks.h>.
8481 (do_sigtimedwait): Do not use CHECK_1.
8482 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8483 <bp-checks.h>.
8484 (do_sigwaitinfo): Do not use CHECK_1.
8485 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8486 <bp-checks.h>.
8487 (msgctl): Do not use CHECK_1.
8488 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8489 <bp-checks.h>.
8490 (shmctl): Do not use CHECK_1.
8491 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8492 (ustat): Do not use CHECK_1.
8493 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8494 <bp-checks.h>.
8495 (__fxstat): Do not use CHECK_1.
8496 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8497 <bp-checks.h>.
8498 (__fxstatat): Do not use CHECK_1.
8499 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8500 <bp-checks.h>.
8501 (__lxstat): Do not use CHECK_1.
8502 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8503 <bp-checks.h>.
8504 (__xstat): Do not use CHECK_1.
8505 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8506 (__xstat): Do not use CHECK_1.
8507 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8508 (___xstat64): Do not use CHECK_1.
8509
b2c9eff4
JM
8510 [BZ #13550]
8511 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8512 definitions.
8513 (CHECK_BOUNDS_HIGH): Likewise.
8514 * string/strcpy.c: Do not include <bp-checks.h>.
8515 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8516
f1d70dad
RM
85172013-02-07 Roland McGrath <roland@hack.frob.com>
8518
8519 * nscd/nscd-client.h (__nscd_drop_map_ref):
8520 Add __attribute__ ((unused)).
8521 * nis/nss-nisplus.h (niserr2nss): Likewise.
8522
8523 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8524 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8525
8526 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8527 Remove inline keyword.
8528 * include/rounding-mode.h (round_away): Likewise.
8529 * libio/wfileops.c (adjust_wide_data): Likewise.
8530 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8531 (__m128i_strloadu_tolower): Likewise.
8532 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8533 (__m128i_strloadu_tolower): Likewise.
8534 * time/mktime.c (ydhms_diff): Likewise.
8535 * locale/elem-hash.h (elem_hash): Likewise.
8536 * locale/setlocale.c (setdata): Likewise.
8537 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8538 (re_string_wchar_at): Likewise.
8539 (bitset_not, bitset_merge, bitset_mask): Likewise.
8540 [!(__GNUC__ > 3)] (inline): Remove macro.
8541 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8542 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8543 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8544 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8545 * string/memcmp.c (memcmp_bytes): Likewise.
8546 * locale/programs/locarchive.c (compute_hashval): Likewise.
8547 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8548 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8549 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8550 * nss/getent.c (print_rpc, print_protocols): Likewise.
8551 (print_passwd, print_group, print_aliases): Likewise.
8552 * nis/nss-nisplus.h (niserr2nss): Likewise.
8553 * nscd/connections.c (restart_p): Likewise.
8554 Change return type to bool.
8555
eab55bfb
RM
85562013-02-05 Roland McGrath <roland@hack.frob.com>
8557
7bd642f5
RM
8558 * Makeconfig (all-Depend-files): Add existing
8559 $(sorted-subdirs:=/Depend) files.
8560 (all-subdirs): Remove nss.
8561 * sysdeps/unix/inet/Subdirs: Add it here instead.
8562 * hesiod/Depend: New file.
8563
573c29b2
RM
8564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8565 instead of calling alloca.
8566
b2e25af0
RM
8567 * io/lseek.c (__lseek): Rename to __libc_lseek.
8568 Define __lseek as an alias.
8569
eab55bfb
RM
8570 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8571
9a0d1941
CD
85722013-02-04 Carlos O'Donell <carlos@redhat.com>
8573
8574 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8575 else clause and remove check for non-standard endianness.
8576
b83bbec4
DM
85772013-02-04 David S. Miller <davem@davemloft.net>
8578
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8580
6277fdab
JM
85812013-02-04 Joseph Myers <joseph@codesourcery.com>
8582
8583 [BZ #13550]
8584 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8585 (__ubp_memchr): Remove prototype.
8586 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8587 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8588 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8589 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8590 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8591 Remove alias.
8592 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8593 (__ubp_memchr): Likewise.
8594 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8595 (__ubp_memchr): Likewise.
8596 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8597 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8598 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8599 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8600 CHECK_STRING.
8601 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8602 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8603 (__getcwd): Do not use CHECK_STRING.
8604 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8605 <bp-checks.h>.
8606 (__real_chown): Do not use CHECK_STRING.
8607 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8608 <bp-checks.h>.
8609 (fchownat): Do not use CHECK_STRING.
8610 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8611 CHECK_STRING.
8612 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8613 <bp-checks.h>.
8614 (__lchown): Do not use CHECK_STRING.
8615 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8616 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8617 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8618 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8620 include <bp-checks.h>.
8621 (truncate64): Do not use CHECK_STRING.
8622 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8623 <bp-checks.h>.
8624 (__real_chown): Do not use CHECK_STRING.
8625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8626 <bp-checks.h>.
8627 (__lchown): Do not use CHECK_STRING.
8628 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8629 <bp-checks.h>.
8630 (__chown): Do not use CHECK_STRING.
8631 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8632 <bp-checks.h>.
8633 (truncate64): Do not use CHECK_STRING.
8634 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8635 Likewise.
8636 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8637 (__xmknod): Do not use CHECK_STRING.
8638 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8639 <bp-checks.h>.
8640 (__xmknodat): Do not use CHECK_STRING.
8641 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8642 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8643
903ae060
AS
86442013-02-04 Andreas Schwab <schwab@suse.de>
8645
8646 [BZ #14142]
8647 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8648 * include/netdb.h: Likewise for h_errno.
8649 * elf/tst-stackguard1.c: Include <tls.h>.
8650
542f9466
JK
86512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8652
8653 * elf/link.h (struct link_map): Extend the l_addr comment.
8654 * include/link.h (struct link_map): Likewise.
8655
e782a927
JM
86562013-02-01 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #13550]
8659 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8660 (BOUNDED_1): Remove macro.
8661 * debug/backtrace.c: Don't include <bp-checks.h>.
8662 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8663 (__backtrace): Likewise.
8664 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8665 <bp-checks.h>.
8666 (__backtrace): Don't use BOUNDED_1.
8667 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8668 <bp-checks.h>.
8669 (__backtrace): Don't use BOUNDED_1.
8670 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8671 (__backtrace): Don't use BOUNDED_1.
8672 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8673 (shmat): Don't use BOUNDED_N.
8674
8cf28c5e
JM
86752013-01-31 Joseph Myers <joseph@codesourcery.com>
8676
3a7ac8a0
JM
8677 [BZ #13550]
8678 * sysdeps/generic/bp-start.h: Remove file.
8679 * csu/libc-start.c: Don't include <bp-start.h>.
8680 (LIBC_START_MAIN): Set up __environ directly instead of using
8681 INIT_ARGV_and_ENVIRON.
8682 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8683 <bp-start.h>.
8684
f3499f95
JM
8685 [BZ #13550]
8686 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8687 definitions.
8688 (CHECK_FCNTL): Likewise.
8689 (CHECK_N_PAGES): Likewise.
8690
32a45bea
JM
8691 [BZ #13550]
8692 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8693 definitions.
8694 (CHECK_SIGSET_NULL_OK): Likewise.
8695 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8696 <bp-checks.h>.
8697 (sigpending): Don't use CHECK_SIGSET.
8698 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8699 <bp-checks.h>.
8700 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8701 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8702 <bp-checks.h>.
8703 (do_sigsuspend): Don't use CHECK_SIGSET.
8704 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8705 use CHECK_SIGSET.
8706 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8707 (do_sigwait): Don't use CHECK_SIGSET.
8708 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8709 use CHECK_SIGSET.
8710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8711 include <bp-checks.h>.
8712 (sigpending): Don't use CHECK_SIGSET.
8713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8714 include <bp-checks.h>.
8715 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8716 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8717 <bp-checks.h>.
8718 (sigpending): Don't use CHECK_SIGSET.
8719 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8720 <bp-checks.h>.
8721 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8722
2e8a5c8c
JM
8723 [BZ #13550]
8724 * sysdeps/generic/bp-semctl.h: Remove file.
8725 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8726 <bp-checks.h> and <bp-semctl.h>.
8727 (__old_semctl): Don't use CHECK_SEMCTL.
8728 (__new_semctl): Likewise.
8729 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8730 and <bp-semctl.h>.
8731 (__old_semctl): Don't use CHECK_SEMCTL.
8732 (__new_semctl): Likewise.
8733 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8734 <bp-checks.h> and <bp-semctl.h>.
8735 (__old_semctl): Don't use CHECK_SEMCTL.
8736 (__new_semctl): Likewise.
8737 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8738 <bp-checks.h> and <bp-semctl.h>.
8739 (semctl): Don't use CHECK_SEMCTL.
8740
c2d54929
JM
8741 [BZ #13550]
8742 * Makerules (elide-bp-thunks): Remove variable.
8743 (elide-routines.oS): Don't use $(elide-bp-thunks).
8744 (elide-routines.os): Likewise.
8745 (elide-routines.o): Likewise.
8746 (elide-routines.op): Likewise.
8747 (elide-routines.og): Likewise.
8748 (objects): Don't use $(bp-thunks).
8749 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8750 include.
8751 (common-generated): Do not add s-proto-bp.d.
8752 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8753 (int): Likewise.
8754 (typ): Likewise.
8755 Do not generate makefile rules for bounded-pointer thunks.
8756 * sysdeps/generic/bp-thunks.h: Remove file.
8757 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8758 * sysdeps/unix/s-proto-bp.S: Likewise.
8759
8cf28c5e
JM
8760 [BZ #15062]
8761 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8762 parts of result separately when argument is not close to line from
8763 -i to i and one part of argument is small.
8764 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8765 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8766 * math/libm-test.inc (cacos_test): Add more tests.
8767 (casin_test): Likewise.
8768 (casinh_test): Likewise.
8769 * sysdeps/i386/fpu/libm-test-ulps: Update.
8770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8771
c4e33b8d
DM
87722013-01-31 David S. Miller <davem@davemloft.net>
8773
8774 * po/de.po: Update from translation team.
8775
3b60b421
MK
87762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8777
8778 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8779
bb931195
TS
87802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8781
b5a5da23
TS
8782 * configure.in (_AC_PROG_CC_C89): New definition.
8783 * configure: Regenerate.
8784
bb931195
TS
8785 * configure.in (AC_PROG_CPP): New definition.
8786 * configure: Regenerate.
8787
8c53a12c
JM
87882013-01-23 Joseph Myers <joseph@codesourcery.com>
8789
8790 * debug/tst-backtrace.h: New file.
8791 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8792 (ret): Remove variable.
8793 (x): Likewise.
8794 (FAIL): Remove macro.
8795 (NO_INLINE): Likewise.
8796 (fn1): Use match function instead of strstr.
8797 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8798 (ret): Remove variable.
8799 (x): Likewise.
8800 (FAIL): Remove macro.
8801 (NO_INLINE): Likewise.
8802 (fn): Use match function instead of strstr.
8803 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8804 (ret): Remove variable.
8805 (x): Likewise.
8806 (FAIL): Remove macro.
8807 (NO_INLINE): Likewise.
8808 (handle_signal): Use match function instead of strstr.
8809 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8810 (ret): Remove variable.
8811 (x): Likewise.
8812 (FAIL): Remove macro.
8813 (NO_INLINE): Likewise.
8814 (handle_signal): Use match function instead of strstr.
8815
4858fa2a
RM
88162013-01-23 Roland McGrath <roland@hack.frob.com>
8817
8818 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8819
bae8e7f5
DM
88202013-01-23 David S. Miller <davem@davemloft.net>
8821
8822 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8823 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8824 argument of CAS if possible.
8825 * sysdeps/sparc/sparc64/bits/atomic.h
8826 (__arch_compare_and_exchange_val_32_acq): Likewise.
8827 (__arch_compare_and_exchange_val_64_acq): Likewise.
8828
9cbbc4ae
PT
88292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8830
8831 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8832 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8833 Include <limits.h>.
67b3f58c 8834 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8835
5655a0b5
AC
88362013-01-23 Adam Conrad <adconrad@0c3.net>
8837
8838 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8839 (LDFLAGS-tst-array5): Likewise.
8840
052aff95
JM
88412013-01-23 Joseph Myers <joseph@codesourcery.com>
8842
8843 [BZ #15036]
8844 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8845 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8846 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8847 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8848
7c1e01aa
DM
88492013-01-21 David S. Miller <davem@davemloft.net>
8850
8851 * sysdeps/sparc/backtrace.c: New file.
8852 * sysdeps/sparc/sparc32/backtrace.h: New file.
8853 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8854 * sysdeps/sparc/sparc64/backtrace.h: New file.
8855 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8856 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8857 -funwind-tables.
8858
ab087e0a
AS
88592013-01-21 Andreas Schwab <schwab@suse.de>
8860
8861 [BZ #15020]
8862 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8863 closed its stdout.
8864
ed689c2f
AS
88652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8866
8867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8868 "mpa2.h".
8869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8870
31d470ac
JM
88712013-01-18 Joseph Myers <joseph@codesourcery.com>
8872 Mark Mitchell <mark@codesourcery.com>
8873 Tom de Vries <tom@codesourcery.com>
8874 Paul Pluzhnikov <ppluzhnikov@google.com>
8875
8876 * debug/tst-backtrace2.c: New file.
8877 * debug/tst-backtrace3.c: Likewise.
8878 * debug/tst-backtrace4.c: Likewise.
8879 * debug/tst-backtrace5.c: Likewise.
8880 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8881 (CFLAGS-tst-backtrace3.c): Likewise.
8882 (CFLAGS-tst-backtrace4.c): Likewise.
8883 (CFLAGS-tst-backtrace5.c): Likewise.
8884 (LDFLAGS-tst-backtrace2): Likewise.
8885 (LDFLAGS-tst-backtrace3): Likewise.
8886 (LDFLAGS-tst-backtrace4): Likewise.
8887 (LDFLAGS-tst-backtrace5): Likewise.
8888 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8889 tst-backtrace4 and tst-backtrace5.
8890
90567f30 88912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8892 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8893
8894 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8895 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8896 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8897 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8899 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8900 "+r" and remove output regs list as redundant. Add explicit inline
8901 asm to specify register of return val to work around compiler codegen
8902 bug. Remove (int) cast on return value. Add return type parameter to
8903 use in macro so that this macro does not truncate return value for
8904 64-bit values.
8905 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8906 pass to INTERNAL_VSYSCALL_NCS.
8907 (INLINE_VSYSCALL): Add 'long int' as return type to
8908 INTERNAL_VSYSCALL_NCS macro invocation.
8909 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8910 INTERNAL_VSYSCALL_NCS macro invocation.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8912
d3b9ea61
SP
89132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8914
0b57daeb
SP
8915 [BZ #14496]
8916 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8917 Fix application of SIMD FP exception mask.
8918
caa99d06
SP
8919 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8920 mp_no from a power of two.
8921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8922 __mpexp_twomm1. Use __pow_mp.
8923
d3b9ea61
SP
8924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8925 multiplication.
8926
1dbaee3c
DM
89272013-01-17 David S. Miller <davem@davemloft.net>
8928
8929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8930
728d7b43
JM
89312013-01-17 Joseph Myers <joseph@codesourcery.com>
8932
8933 [BZ #15023]
8934 * include/complex.h: Condition contents on [!_COMPLEX_H].
8935 (__kernel_casinhf): New prototype.
8936 (__kernel_casinh): Likewise.
8937 (__kernel_casinhl): Likewise.
8938 * math/Makefile (libm_calls): Add k_casinh.
8939 * math/k_casinh.c: New file.
8940 * math/k_casinhf.c: Likewise.
8941 * math/k_casinhl.c: Likewise.
8942 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8943 finite nonzero arguments.
8944 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8945 finite nonzero arguments.
8946 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8947 finite nonzero arguments.
8948 * math/s_casinh.c: Do not include <float.h>.
8949 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8950 * math/s_casinhf.c: Do not include <float.h>.
8951 (__casinhf): Move code for finite nonzero arguments to
8952 k_casinhf.c.
8953 * math/s_casinhl.c: Do not include <float.h>.
8954 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8955 redefine.
8956 (__casinhl): Move code for finite nonzero arguments to
8957 k_casinhl.c.
8958 * math/libm-test.inc (cacos_test): Add more tests.
8959 * sysdeps/i386/fpu/libm-test-ulps: Update.
8960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8961
2a26ef3a
PT
89622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8963
8964 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8965 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8966 [!HAVE_MREMAP]: Remove [defined linux] case.
8967 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8968
a897655d
SP
89692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8970
8971 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8972
881ebe89 89732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8974
8975 * elf/elf.h (R_386_SIZE32): New relocation.
8976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8977 R_386_SIZE32.
8978 (elf_machine_rela): Likewise.
8979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8980 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8981
59981e9b
JM
89822013-01-17 Joseph Myers <joseph@codesourcery.com>
8983
8984 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8985 (FP_FAST_FMA): Do not define.
8986 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8987 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8988 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8989 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8990 !_SOFT_FLOAT]: Likewise.
8991 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8992 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8993 value.
8994 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8995 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8996 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8997 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8998 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8999 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9000 file.
9001
cfa8054f
AS
90022013-01-16 Andreas Schwab <schwab@suse.de>
9003
9004 [BZ #14327]
9005 * include/stdlib.h (__mktemp): Add declaration.
9006 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9007 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9008
dd930cc5
SP
90092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9010
881ebe89
SP
9011 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9012 definitions.
9013 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9014 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9015 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9016 definitions here.
9017 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9018 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9019 definitions.
9020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9021 and ONE.
9022 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9023 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9024 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9025 definitions.
9026 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9027 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9028 definitions.
9029 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9030
dd930cc5
SP
9031 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9032
c19a9f89
DM
90332013-01-15 David S. Miller <davem@davemloft.net>
9034
1aa61767
DM
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9036 trunc{,f} to libm-sysdep_routes.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9039 file.
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9042 file.
9043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9044 file.
9045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9047 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9049 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9051 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9053
c42d5e98
DM
9054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9055 nearbyint{,f} to libm-sysdep_routes.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9058 New file.
9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9060 file.
9061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9062 New file.
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9064 file.
9065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9068 file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9071 file.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9075
c19a9f89
DM
9076 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9077 libc_feholdexcept and libc_fesetenv.
9078
357679d2
MF
90792013-01-15 Mike Frysinger <vapier@gentoo.org>
9080
9081 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9082
65a82e3d
DM
90832013-01-14 David S. Miller <davem@davemloft.net>
9084
8b954ab9
DM
9085 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9086 (SPARC_ASM_VIS2_IFUNC): Likewise.
9087 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9089 use of 'siam' instruction.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9091 Likewise.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9093 Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9095 Likewise.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9101 file.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9103 file.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9105 file.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9107 file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9113 new VIS2 routines.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9117 Likewise.
9118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9123 routines to libm-sysdep_routines.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9125
65a82e3d
DM
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9127 fdim/fdimf to libm-sysdep_routines.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9129 file.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9132 file.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9136 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9137 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9138 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9139 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9140
e34ab705
SP
91412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9142
2a91b573
SP
9143 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9144 to optimize copies.
9145
1066a534
SP
9146 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9149
e34ab705
SP
9150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9151 local variable MPTWO.
9152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9153 Likewise.
9154
aba5e596
MF
91552013-01-13 Mike Frysinger <vapier@gentoo.org>
9156
9157 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9158 GLOB_NOESCAPE.
9159
e557e9e5
MF
91602013-01-13 Mike Frysinger <vapier@gentoo.org>
9161
9162 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9163
0428cec9
MF
91642013-01-13 Mike Frysinger <vapier@gentoo.org>
9165
9166 * manual/pattern.texi (glob_t): Document gl_flags.
9167 (glob64_t): Likewise.
9168
8794a964
DM
91692013-01-11 David S. Miller <davem@davemloft.net>
9170
66438c3f
RM
9171 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9172 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9173 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9174 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9175 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9176 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9177 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9178 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9179 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9180 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9181 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9182 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9183 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9184
4ae4244d
DM
9185 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9186 sparc V9 rather than using V8 code.
9187 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9188 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9189
8794a964
DM
9190 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9191 Move to...
9192 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9193 Here.
9194
6270516e
RM
91952013-01-11 Roland McGrath <roland@hack.frob.com>
9196
9197 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9198 not in the main loop.
9199 * configure: Regenerated.
9200
6a57d931
JM
92012013-01-11 Joseph Myers <joseph@codesourcery.com>
9202
9203 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9204 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9205 to just #else.
9206 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9207 [!__GLIBC_HAVE_LONG_LONG] case.
9208 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9209 condition to just #else.
9210 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9211 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9212 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9213 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9214 unconditional.
9215 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9216 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9217 #elif condition to just #else.
9218 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9219 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9220 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9221 #elif condition to just #else.
9222
0e8529e9
SE
92232013-01-11 Steve Ellcey <sellcey@mips.com>
9224
9225 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9226 (EF_MIPS_ARCH_64): Fix value.
9227 (EF_MIPS_ARCH_32R2): New.
9228 (EF_MIPS_ARCH_64R2): New.
9229
740b3dbe
L
92302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9231
9232 * Makeconfig (+link-pie-before-libc): New.
9233 (+link-pie-after-libc): Likewise.
9234 (+link-pie-tests): Likewise.
9235 (+link-pie): Rewritten.
9236 (link-before-libc): Remove $(config-LDFLAGS).
9237 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9238 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9239 (config-LDFLAGS): Renamed to ...
9240 (rtld-LDFLAGS): This.
9241 (rtld-tests-LDFLAGS): New macro.
9242 (link-libc-rpath-link): Likewise.
9243 (link-libc-tests-rpath-link): Likewise.
9244 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9245 (link-libc): Prepand $(link-libc-rpath-link).
9246 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9247 (test-program-prefix): New macro.
9248 (test-via-rtld-prefix): Likewise.
9249 (test-program-cmd): Likewise.
9250 (host-test-program-cmd): Likewise.
9251 * Makefile ($(common-objpfx)testrun.sh): Replace
9252 $(run-program-prefix) with $(test-program-prefix).
9253 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9254 $(rtld-LDFLAGS).
9255 ($(common-objpfx)shlib.lds): Likewise.
9256 (build-module-helper): Likewise.
9257 ($(common-objpfx)format.lds): Likewise.
9258 * Rules (binaries-pie-tests): New.
9259 (binaries-pie-notests): Likewise.
9260 (binaries-pie): Rewritten.
9261 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9262 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9263 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9264 (make-test-out): Replace $(host-built-program-cmd) with
9265 $(host-test-program-cmd).
9266 * config.make.in (build-hardcoded-path-in-tests): New variable.
9267 * configure.in (--enable-hardcoded-path-in-tests): New configure
9268 option.
9269 (hardcoded_path_in_tests): New AC_SUBST.
9270 * configure: Regenerated.
9271 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9272 $(built-program-cmd) with $(test-program-cmd).
9273 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9274 (test_program_cmd): This.
9275 * elf/Makefile ($(objpfx)order.out): Run test with
9276 $(test-program-prefix).
9277 ($(objpfx)order2.out): Likewise.
9278 ($(objpfx)tst-initorder.out): Likewise.
9279 ($(objpfx)tst-initorder2.out): Likewise.
9280 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9281 $(test-program-cmd).
9282 ($(objpfx)tst-array1-static.out): Likewise.
9283 ($(objpfx)tst-array2.out): Likewise.
9284 ($(objpfx)tst-array3.out): Likewise.
9285 ($(objpfx)tst-array4.out): Likewise.
9286 ($(objpfx)tst-array5.out): Likewise.
9287 ($(objpfx)tst-array5-static.out): Likewise.
9288 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9289 $(test-program-cmd).
9290 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9291 $(run-program-prefix) with $(test-program-prefix).
9292 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9293 (test_program_prefix): This.
9294 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9295 $(run-program-prefix) with $(test-program-prefix).
9296 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9297 (test_program_prefix): This.
9298 * iconvdata/tst-tables.sh: Likewise.
9299 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9300 $(run-program-prefix) with $(test-program-prefix).
9301 ($(objpfx)tst-translit.out): Likewise.
9302 ($(objpfx)tst-gettext2.out): Likewise.
9303 ($(objpfx)tst-gettext4.out): Likewise.
9304 ($(objpfx)tst-gettext6.out): Likewise.
9305 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9306 (test_program_prefix): This.
9307 * intl/tst-gettext2.sh: Likewise.
9308 * intl/tst-gettext4.sh Likewise.
9309 * intl/tst-gettext6.sh: Likewise.
9310 * intl/tst-translit.sh: Likewise.
9311 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9312 with $(test-program-cmd).
9313 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9314 $(run-program-prefix) with $(test-program-prefix).
9315 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9316 (test_program_prefix): This.
9317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9318 $(run-program-prefix) with $(test-program-prefix).
9319 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9320 (test_program_prefix): This.
9321 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9322 * posix/Makefile ($(objpfx)globtest.out): Replace
9323 $(run-via-rtld-prefix) and $(test-wrapper) with
9324 $(test-program-prefix) and $(test-via-rtld-prefix).
9325 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9326 $(test-program-prefix).
9327 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9328 $(host-test-program-cmd).
9329 (tst-spawn-ARGS): Likewise.
9330 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9331 $(test-program-prefix).
9332 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9333 (test_via_rtld_prefix): This.
9334 (test_wrapper): Renamed to ...
9335 (test_program_prefix): This.
9336 (run_program_prefix): Replaced by test_program_prefix.
9337 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9338 (test_program_prefix): This.
9339 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9340 with $(host-test-program-cmd).
9341 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9342 $(run-program-prefix) with $(test-program-prefix).
9343 ($(objpfx)tst-printf.out): Likewise.
9344 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9345 $(test-program-cmd).
9346 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9347 (test_program_prefix): This.
9348 * stdio-common/tst-unbputc.sh: Likewise.
9349 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9350 $(run-program-prefix) with $(test-program-prefix).
9351 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9352 (test_program_prefix): This.
9353 * string/Makefile ($(objpfx)tst-svc.out): Replace
9354 $(built-program-cmd) with $(test-program-cmd).
9355
c6fe55cf
AJ
93562013-01-11 Andreas Jaeger <aj@suse.de>
9357
9358 [BZ #15003]
9359 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9360 value. Sync with Linux 3.7.
9361
9e6919c8
DM
93622013-01-10 David S. Miller <davem@davemloft.net>
9363
9364 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9365 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9366 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9367
1c9f1a02
RM
93682013-01-10 Roland McGrath <roland@hack.frob.com>
9369
9370 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9371 never set.
9372 * configure: Regenerated.
9373
b9de2dde
DM
93742013-01-10 David S. Miller <davem@davemloft.net>
9375
9376 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9377 sparc V9 rather than using V8 code.
9378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9380
e7f68ef4
RM
93812013-01-10 Roland McGrath <roland@hack.frob.com>
9382
9383 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9384 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9385 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9386 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9387 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9388 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9389 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9390 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9391 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9392 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9393 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9394 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9395 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9396 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9397 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9398 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9399 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9400 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9401 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9402 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9403 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9404 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9405 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9406 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9407 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9408 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9409 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9410
5a47cc9c
DM
94112013-01-10 David S. Miller <davem@davemloft.net>
9412
9413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9414
4cf8f209
L
94152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 * posix/Makefile (tests-static): New variable.
9418 (tests): Add $(tests-static).
9419 (tst-exec-static-ARGS): New variable.
9420 (tst-spawn-static-ARGS): Likewise.
9421 * posix/tst-exec-static.c: New file.
9422 * posix/tst-spawn-static.c: Likewise.
9423 * posix/tst-exec.c: Support run directly.
9424 * posix/tst-spawn.c: Likewise.
9425
fed0faa1
JM
94262013-01-10 Joseph Myers <joseph@codesourcery.com>
9427
828beb13
JM
9428 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9429 long.
9430 * math/bits/mathcalls.h (llrint): Likewise.
9431 (llround): Likewise.
9432 * stdlib/stdlib.h (struct drand48_data): Likewise.
9433 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9434 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9435 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9436 Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9438 Likewise.
9439 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9440 (elf_greg_t): Likewise.
9441 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9442 (__jmp_buf): Likewise.
9443 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9444 definitions.
9445 (llrint): Likewise, for all definitions.
9446 (llrintl): Likewise.
9447
fed0faa1
JM
9448 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9449 Remove [__GNUC__] condition.
9450 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9451 condition to just [__USE_ISOC99].
9452 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9453
1a20cb20
L
94542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 [BZ #14200]
9457 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9458 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9459 defined.
9460 (_POSIX_V6_ILP32_OFF32): Likewise.
9461 (_XBS5_ILP32_OFF32): Likewise.
9462 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9463 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9464
751b85f7
SP
94652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
7490eb81
SP
9467 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9468
751b85f7
SP
9469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9470 doubles __mpexp_twomm1. Adjust usage.
9471 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9472 Remove.
9473
988197f0
AS
94742013-01-10 Andreas Schwab <schwab@suse.de>
9475
9476 [BZ #14964]
9477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9478 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9479
e83d7298
DM
94802013-01-09 David S. Miller <davem@davemloft.net>
9481
034ed64b 9482 [BZ #15003]
e83d7298
DM
9483 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9484 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9485 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9486 TCP_FASTOPEN): Define.
9487 (tcp_repair_opt): New structure.
9488 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9489 enum values.
9490 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9491 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9492 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9493 (tcp_cookie_transactions): New structure.
9494
d5e0b9bd
AB
94952013-01-09 Anton Blanchard <anton@samba.org>
9496
9497 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9498 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9501
0c07e3ea
JM
95022013-01-09 Joseph Myers <joseph@codesourcery.com>
9503
9504 * include/features.h (__USE_ANSI): Remove.
9505
232f7002
RM
95062013-01-09 Roland McGrath <roland@hack.frob.com>
9507
ad98e30c
RM
9508 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9509
232f7002
RM
9510 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9511
950c99ca
SP
95122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
b5792741
SP
9514 * sysdeps/s390/fpu/libm-test-ulps: Update.
9515
47cf2278
SP
9516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9517
950c99ca
SP
9518 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9519 (__acr): Likewise.
9520 (__cpy): Likewise.
9521 (norm): Likewise.
9522 (denorm): Likewise.
9523 (__mp_dbl): Likewise.
9524 (__dbl_mp): Likewise.
9525 (add_magnitudes): Likewise.
9526 (sub_magnitudes): Likewise.
9527 (__add): Likewise.
9528 (__sub): Likewise.
9529 (__mul): Likewise.
9530 (__inv): Likewise.
9531 (__dvd): Likewise.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9533 (__acr): Likewise.
9534 (__cpy): Likewise.
9535 (norm): Likewise.
9536 (denorm): Likewise.
9537 (__mp_dbl): Likewise.
9538 (__dbl_mp): Likewise.
9539 (add_magnitudes): Likewise.
9540 (sub_magnitudes): Likewise.
9541 (__add): Likewise.
9542 (__sub): Likewise.
9543 (__mul): Likewise.
9544 (__inv): Likewise.
9545 (__dvd): Likewise.
9546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9547 (__acr): Likewise.
9548 (__cpy): Likewise.
9549 (norm): Likewise.
9550 (denorm): Likewise.
9551 (__mp_dbl): Likewise.
9552 (__dbl_mp): Likewise.
9553 (add_magnitudes): Likewise.
9554 (sub_magnitudes): Likewise.
9555 (__add): Likewise.
9556 (__sub): Likewise.
9557 (__mul): Likewise.
9558 (__inv): Likewise.
9559 (__dvd): Likewise.
9560
eede9df9
JM
95612013-01-08 Joseph Myers <joseph@codesourcery.com>
9562
9563 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9564 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9565 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9566 2 && __USE_EXTERN_INLINES]: Likewise.
9567
c40ea3d9
AJ
95682013-01-08 Andreas Jaeger <aj@suse.de>
9569
9570 [BZ# 14985]
9571 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9572 Remove.
9573 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9574 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9575
2ccdea26
AB
95762013-01-07 Anton Blanchard <anton@samba.org>
9577
9578 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9579 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9580 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9581 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9582 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9584 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9587 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9591 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9592 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9593 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9594 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9595 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9599 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9602 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9603 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9604 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9605 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9608 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9610 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9611 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9612 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9614 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9616 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9621
a9708fed
JM
96222013-01-07 Joseph Myers <joseph@codesourcery.com>
9623
375607b9
JM
9624 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9625 (__MALLOC_PMT): Likewise.
9626 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9627 [__GNUC__], only on [_LIBC].
9628 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9629 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9630 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9631 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9632 forward declaration.
9633 (realloc_hook_ini): Likewise.
9634 (memalign_hook_ini): Likewise.
9635 (__libc_memalign): Do not use __MALLOC_PMT in variable
9636 declaration.
9637 (__libc_valloc): Likewise.
9638 (__libc_pvalloc): Likewise.
9639 (__libc_calloc): Likewise.
9640 (__posix_memalign): Likewise.
9641
a9708fed
JM
9642 [BZ #14996]
9643 * math/s_casinh.c: Include <float.h>.
9644 (__casinh): Do not do computation with squaring and square root
9645 for large arguments.
9646 * math/s_casinhf.c: Include <float.h>.
9647 (__casinhf): Do not do computation with squaring and square root
9648 for large arguments.
9649 * math/s_casinhl.c: Include <float.h>.
9650 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9651 (__casinhl): Do not do computation with squaring and square root
9652 for large arguments.
9653 * math/libm-test.inc (casin_test): Add more tests.
9654 (casinh_test): Likewise.
9655 * sysdeps/i386/fpu/libm-test-ulps: Update.
9656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9657
afec409a
L
96582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9659
9660 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9661 (__x86_64_raw_data_cache_size): Likewise.
9662 (__x86_64_data_cache_size_half): Likewise.
9663 (__x86_64_raw_data_cache_size_half): Likewise.
9664 (__x86_64_shared_cache_size): Likewise.
9665 (__x86_64_raw_shared_cache_size): Likewise.
9666 (__x86_64_shared_cache_size_half): Likewise.
9667 (__x86_64_raw_shared_cache_size_half): Likewise.
9668 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9669 to ...
9670 (__x86_data_cache_size): This.
9671 (__x86_64_raw_data_cache_size): Renamed to ...
9672 (__x86_raw_data_cache_size): This.
9673 (__x86_64_data_cache_size_half): Renamed to ...
9674 (__x86_data_cache_size_half): This.
9675 (__x86_64_raw_data_cache_size_half): Renamed to ...
9676 (__x86_raw_data_cache_size_half): This.
9677 (__x86_64_shared_cache_size): Renamed to ...
9678 (__x86_shared_cache_size): This.
9679 (__x86_64_raw_shared_cache_size): Renamed to ...
9680 (__x86_raw_shared_cache_size): This.
9681 (__x86_64_shared_cache_size_half): Renamed to ...
9682 (__x86_shared_cache_size_half): This.
9683 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9684 (__x86_raw_shared_cache_size_half): This.
9685 * sysdeps/x86_64/memcpy.S: Updated.
9686 * sysdeps/x86_64/memset.S: Likewise.
9687 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9690
0b3986d0
DM
96912013-01-04 David S. Miller <davem@davemloft.net>
9692
9693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9694
e47686e9
AS
96952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9696
d643bac1
AS
9697 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9698 1 to avoid redefinition warning.
9699 (__USE_GNU): Don't define.
9700 (init_signaling_nan): Protoize.
9701
e47686e9
AS
9702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9703
b18decba
SP
97042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
fffb407f
SP
9706 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9708 (__cpymn): Likewise.
9709 (norm): Remove commented code.
9710 (denorm): Likewise.
9711 (__mp_dbl): Likewise.
9712 (__inv): Likewise.
9713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9714 (__cpymn): Likewise.
9715 (norm): Remove commented code.
9716 (denorm): Likewise.
9717 (__mp_dbl): Likewise.
9718 (__inv): Likewise.
9719
b18decba
SP
9720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9721 mp_no value for 1.0 and 2.0.
9722 (norm): Use RADIXI instead of radixi.d.
9723 (denorm): Likewise.
9724 (__mul): Use 0.0 instead of zero.d.
9725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9726 mp_no value for 1.0 and 2.0.
9727 (norm): Use RADIXI instead of radixi.d.
9728 (denorm): Likewise.
9729 (__mul): Use 0.0 instead of zero.d.
9730
cdc1c96f
JM
97312013-01-04 Joseph Myers <joseph@codesourcery.com>
9732
9733 [BZ #14994]
9734 * math/s_casinh.c (__casinh): Reduce finite argument to first
9735 quadrant then set signs of results at the end.
9736 * math/s_casinhf.c (__casinhf): Likewise.
9737 * math/s_casinhl.c (__casinhl): Likewise.
9738 * math/libm-test.inc (casin_test): Add more tests.
9739 (casinh_test): Likewise.
9740 * sysdeps/i386/fpu/libm-test-ulps: Update.
9741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9742
302913e1
SP
97432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9744
6420d207
SP
9745 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9746
a9e48ab4
SP
9747 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9748
b7837264
SP
9749 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9750 declarations.
9751 (denorm): Likewise.
9752 (__mp_dbl): Likewise.
9753 (__inv): Likewise.
9754
f8af25d2
SP
9755 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9756 and adjust the header comment.
9757
302913e1
SP
9758 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9759 variable name from declaration.
9760
5d7dd1ca
L
97612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9764 Initialize COMMON_CPUID_INDEX_7 element.
9765 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9766 (CPUID_RTM): Likewise.
9767 (HAS_RTM): Likewise.
9768 (COMMON_CPUID_INDEX_7): New enum.
9769
2f5f40f4
AS
97702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9771
9772 [BZ #14981]
9773 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9774 size is zero, record memory as freed.
9775
4056f4a0
AJ
97762013-01-03 Andreas Jaeger <aj@suse.de>
9777
9778 * po/ia.po: Add new Interlingua translation.
9779
ab15736f 97802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9781
9782 * locale/programs/localedef.c: Fix description of '--posix' flag.
9783
568035b7
JM
97842013-01-02 Joseph Myers <joseph@codesourcery.com>
9785
e6898b8d
JM
9786 * NEWS: Update dates in second copyright notice.
9787 * README: Update copyright dates in example.
9788 * manual/libc.texinfo: Update copyright dates.
9789 * scripts/test-installation.pl: Update copyright date in --version
9790 output.
9791
0e2f9562
JM
9792 * hurd/ctty-input.c: Fix copyright notice formatting.
9793 * hurd/ctty-output.c: Likewise.
9794 * hurd/dtable.c: Likewise.
9795 * hurd/hurd-raise.c: Likewise.
9796 * hurd/hurdprio.c: Likewise.
9797 * hurd/msgportdemux.c: Likewise.
9798 * misc/sys/file.h: Likewise.
9799 * misc/sys/ioctl.h: Likewise.
9800 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9801 * sysdeps/mach/hurd/chdir.c: Likewise.
9802 * sysdeps/mach/hurd/fchdir.c: Likewise.
9803 * sysdeps/mach/hurd/rename.c: Likewise.
9804 * sysdeps/mach/hurd/rmdir.c: Likewise.
9805 * sysdeps/mach/hurd/seekdir.c: Likewise.
9806 * sysdeps/mach/hurd/setsid.c: Likewise.
9807 * sysdeps/posix/wait3.c: Likewise.
9808
568035b7
JM
9809 * All files with FSF copyright notices: Update copyright dates
9810 using scripts/update-copyrights.
9811 * intl/plural.c: Regenerated.
9812 * locale/programs/charmap-kw.h: Likewise.
9813 * locale/programs/locfile-kw.h: Likewise.
9814
da08f647
SP
98152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9816
0f5477af
SP
9817 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9818 four values.
9819
44e0d4c2
SP
9820 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9821 calculation loop and add branch prediction.
9822
4d55b4e5
SP
9823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9824 check access beyond bounds of m1np.
9825
da08f647
SP
9826 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9827 MPTWO.
9828 (__inv): Remove local variable MPTWO to use the global
9829 constant.
9830 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9831 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9832 variable MPTWO.
9833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9834 MP3HALFS static const.
9835
8e051029
DM
98362013-01-01 David S. Miller <davem@davemloft.net>
9837
9838 * po/ca.po: Update from translation team.
9839
f4cf5f2d
JM
98402013-01-01 Joseph Myers <joseph@codesourcery.com>
9841
9842 * scripts/update-copyrights: New file.
9843 * Makeconfig: Reformat copyright notice.
9844 * ctype/ctype.h: Likewise.
9845 * debug/swprintf_chk.c: Likewise.
9846 * elf/dl-cache.c: Likewise.
9847 * elf/dl-debug.c: Likewise.
9848 * elf/dl-object.c: Likewise.
9849 * grp/initgroups.c: Likewise.
9850 * hurd/Makefile: Likewise.
9851 * hurd/hurd/signal.h: Likewise.
9852 * hurd/hurdfault.c: Likewise.
9853 * hurd/hurdioctl.c: Likewise.
9854 * hurd/hurdlookup.c: Likewise.
9855 * hurd/intr-msg.c: Likewise.
9856 * iconv/gconv_open.c: Likewise.
9857 * libio/swprintf.c: Likewise.
9858 * locale/lc-ctype.c: Likewise.
9859 * locale/nl_langinfo.c: Likewise.
9860 * mach/Machrules: Likewise.
9861 * mach/Makefile: Likewise.
9862 * malloc/obstack.h: Likewise.
9863 * manual/Makefile: Likewise.
9864 * manual/tsort.awk: Likewise.
9865 * misc/bits/stab.def: Likewise.
9866 * nis/nis_print_group_entry.c: Likewise.
9867 * nis/nis_table.c: Likewise.
9868 * nis/nss_compat/compat-pwd.c: Likewise.
9869 * nis/nss_compat/compat-spwd.c: Likewise.
9870 * po/Makefile: Likewise.
9871 * posix/fnmatch.c: Likewise.
9872 * posix/regex.h: Likewise.
9873 * resolv/Makefile: Likewise.
9874 * resolv/nss_dns/dns-network.c: Likewise.
9875 * resolv/res_hconf.c: Likewise.
9876 * scripts/gen-sorted.awk: Likewise.
9877 * soft-fp/soft-fp.h: Likewise.
9878 * stdio-common/printf.h: Likewise.
9879 * stdlib/monetary.h: Likewise.
9880 * stdlib/random.c: Likewise.
9881 * stdlib/random_r.c: Likewise.
9882 * sysdeps/generic/Makefile: Likewise.
9883 * sysdeps/gnu/Makefile: Likewise.
9884 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9899 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9912 * sysdeps/mach/hurd/errnos.awk: Likewise.
9913 * sysdeps/mach/hurd/fork.c: Likewise.
9914 * sysdeps/mach/hurd/getcwd.c: Likewise.
9915 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9916 * sysdeps/mach/hurd/mmap.c: Likewise.
9917 * sysdeps/mach/hurd/utimes.c: Likewise.
9918 * sysdeps/mach/hurd/xmknod.c: Likewise.
9919 * sysdeps/posix/profil.c: Likewise.
9920 * sysdeps/posix/readdir_r.c: Likewise.
9921 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9922 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9923 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9926 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9930 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9932 * sysdeps/pthread/lio_listio.c: Likewise.
9933 * sysdeps/sparc/dl-procinfo.h: Likewise.
9934 * sysdeps/unix/i386/sysdep.S: Likewise.
9935 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9936 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9937 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9938 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9940 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9941 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9942 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9943 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9944 * sysdeps/wordsize-32/divdi3.c: Likewise.
9945 * time/sys/time.h: Likewise.
9946 * wcsmbs/Makefile: Likewise.
9947
0549fbba
DM
99482013-01-01 David S. Miller <davem@davemloft.net>
9949
a141f1a7
DM
9950 * po/fr.po: Update from translation team.
9951
0549fbba
DM
9952 * catgets/gencat.c: Update copyright year.
9953 * csu/version.c: Likewise.
9954 * debug/catchsegv.sh: Likewise.
9955 * debug/pcprofiledump.c: Likewise.
9956 * debug/xtrace.sh: Likewise.
9957 * elf/ldconfig.c: Likewise.
9958 * elf/ldd.bash.in: Likewise.
9959 * elf/pldd.c: Likewise.
9960 * elf/sotruss.ksh: Likewise.
9961 * elf/sprof.c: Likewise.
9962 * iconv/iconv_prog.c: Likewise.
9963 * iconv/iconvconfig.c: Likewise.
9964 * locale/programs/locale.c: Likewise.
9965 * locale/programs/localedef.c: Likewise.
9966 * login/programs/pt_chown.c: Likewise.
9967 * malloc/memusage.sh: Likewise.
9968 * malloc/memusagestat.c: Likewise.
9969 * malloc/mtrace.pl: Likewise.
9970 * nscd/nscd.c: Likewise.
9971 * nss/getent.c: Likewise.
9972 * nss/makedb.c: Likewise.
9973 * posix/getconf.c: Likewise.
9974
18ea052c
SP
99752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9976
9977 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9978 numbers.
9979
9c89fca6
MF
99802012-12-30 Mike Frysinger <vapier@gentoo.org>
9981
9982 * math/bits/mathcalls.h (modf): Use __nonnull.
9983
085ec079
SP
99842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
9986 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9987 (split): Use macro CN instead of the bare value.
9988 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9989 could be used.
9990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9991 instead of the bare value.
9992 (power1): Likewise.
9993
6d9f97e1
SP
99942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9995
d63f73be
SP
9996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9997 __ATAN_TWOM.
9998 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9999
6d9f97e1
SP
10000 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10001 their values.
10002 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10004 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10005 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10006
4c4febf5
AJ
100072012-12-28 Andreas Jaeger <aj@suse.de>
10008
af5843ef
AJ
10009 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10010 values are from Linux 3.7.
10011
4c4febf5
AJ
10012 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10013 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10014
99136f82
SP
100152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10016
2f216c3c 10017 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10018 TRUE case.
10019
99136f82
SP
10020 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10021 (norm): Likewise.
10022 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10023 variables with preprocessor constants.
10024 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10025 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10026 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10027
7fffbdff
BH
100282012-12-27 Bruno Haible <bruno@clisp.org>
10029
10030 [BZ #14317]
10031 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10032 only if needed.
10033
b76eb5f0
SP
100342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10035
31a7fe5c
SP
10036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10037 and use variable directly.
10038 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10039
b76eb5f0
SP
10040 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10041 MPONE.
10042 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10044 variable MPONE.
10045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10047 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10048 include directive. Remove local variable MPONE.
10049 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10051 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10052
2c8bfe7d
DM
100532012-12-25 David S. Miller <davem@davemloft.net>
10054
10055 * version.h (RELEASE): Set to "development".
10056 (VERSION): Set to "2.17.90".
10057 * NEWS: Add 2.18 section.
10058
147d03b0
DM
100592012-12-21 David S. Miller <davem@davemloft.net>
10060
10061 * po/hr.po: Update from translation team.
10062
a8ebb2b9
AK
100632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10064
10065 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10066
95b4f1b6
SE
100672012-12-19 Steve Ellcey <sellcey@mips.com>
10068
b2d94007 10069 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10070
cedb2a90
MS
100712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10072
10073 * manual/contrib.texi (Contributors): Spelling correction.
10074
bbf527d6
DM
100752012-12-15 David S. Miller <davem@davemloft.net>
10076
10077 * po/ru.po: Update from translation team.
10078
bc38c906
DM
100792012-12-13 David S. Miller <davem@davemloft.net>
10080
85429b1a
DM
10081 * NEWS: Mention IFUNC testsuite enhancements.
10082
d283e353
DM
10083 * po/pl.po: Update from translation team.
10084 * po/bg.po: Likewise.
10085
bc38c906
DM
10086 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10087 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10088
a181b0d7
DM
100892012-12-11 David S. Miller <davem@davemloft.net>
10090
4641d57e
DM
10091 * po/sv.po: Update from translation team.
10092
f7bc6495
DM
10093 * po/vi.po: Update from translation team.
10094
6fc9048f
DM
10095 * po/cs.po: Update from translation team.
10096
a181b0d7
DM
10097 * po/de.po: Update from translation team.
10098 * po/eo.po: Likewise.
10099 * po/nl.po: Likewise.
10100
f70bfe80
SP
101012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10102
3c8b4190
SP
10103 [BZ #14246]
10104 * manual/argp.texi (Argp Helper Functions): Move node to follow
10105 Argp Parsing State.
10106
f70bfe80
SP
10107 [BZ #14872]
10108 * manual/conf.texi (Limits on File System Capacity): Mention if
10109 terminating null is included in the max size.
10110
188f0adf
AJ
101112012-12-10 Andreas Jaeger <aj@suse.de>
10112
10113 * po/cs.po: Update from translation team.
10114
56e7d3ad
SP
101152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10116
10117 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10118 void pointer and cast to uintptr_t.
10119 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10120 path.
10121 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10122 * sysdeps/s390/s390-64/memset.S: Likewise.
10123
76f2d2ea 101242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10125
10126 [BZ #14833]
10127 * menual/message.texi (Message Translation): Fix typos.
10128 (Helper programs for gettext): Likewise.
10129
67cbf9a2
AS
101302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10131
10132 [BZ #14898]
10133 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10134 Change to -1.
10135
682d0e9a
DM
101362012-12-07 David S. Miller <davem@davemloft.net>
10137
10138 * po/libc.pot: Update.
10139
573cd484
RH
101402012-12-07 Richard Henderson <rth@redhat.com>
10141
7e9da188 10142 [BZ #10114]
573cd484
RH
10143 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10144 normal/normal case to before the switch.
10145 (_FP_DIV): Likewise.
10146
e933a943
MF
101472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10148 Mike Frysinger <vapier@gentoo.org>
10149
10150 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10151 check for __NR_fadvise64_64.
10152
82123268
CM
101532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10154
10155 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10156 0, not just to plain "0" as a statement.
10157 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10158 with cw.
10159
d9814526
JM
101602012-12-06 Joseph Myers <joseph@codesourcery.com>
10161
10162 * NEWS: Use sourceware.org in Bugzilla URL.
10163
7728c574
SP
101642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10165
f16946dd
SP
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10167 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10168
5704bbcb
SP
10169 * stdio-common/tst-put-error.c (do_test): Add newline to the
10170 padded test to ensure flush.
10171
17aa0516
JL
101722012-12-05 Jeff Law <law@redhat.com>
10173
10174 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10175
363313b5
JM
101762012-12-05 Joseph Myers <joseph@codesourcery.com>
10177
effbd42a
JM
10178 * README: Don't refer to ports add-on as distributed separately.
10179 Mention AArch64 in list of systems supported in the ports add-on.
10180
87600365
JM
10181 * LICENSES: Add more non-FSF copyright and license notices.
10182
a0d7066a
JM
10183 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10184 ((unused)).
10185
66ca5a5b
JM
10186 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10187
363313b5
JM
10188 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10189 10000 as width of padded output.
10190
b37984ad
JM
101912012-12-04 Joseph Myers <joseph@codesourcery.com>
10192
9003570a
JM
10193 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10194
b37984ad
JM
10195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10196 variable LX with __attribute__ ((unused)).
10197 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10198 Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10202 with __attribute__ ((unused)).
10203
c8df52ec
DM
102042012-12-04 David S. Miller <davem@abraco.davemloft.net>
10205
10206 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10207
b3b099af
JM
102082012-12-04 Joseph Myers <joseph@codesourcery.com>
10209
c33aa6e3
JM
10210 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10211 (CFLAGS-nldbl-acos.c): New variable.
10212 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10213 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10214 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10215 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10216 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10217 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10218 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10219 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10220 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10221 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10222 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10223 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10224 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10225 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10226 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10227 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10228 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10229 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10230 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10231 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10232 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10233 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10234 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10235 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10236 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10237 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10238 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10309
20f0018d
JM
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10311 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10312
b3b099af
JM
10313 [BZ #14914]
10314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10315 whole low double instead of just low 47 bits when splitting values
10316 into two parts.
10317
029264d1
AM
103182012-12-03 Allan McRae <allan@archlinux.org>
10319
10320 * manual/stdio.texi (Predefined Printf Handlers): Remove
10321 @hsep and @vsep usage.
10322
c9d6789e
MF
103232012-12-03 Mike Frysinger <vapier@gentoo.org>
10324
10325 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10326 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10327
4b7634a5
JL
103282012-12-03 Jeff Law <law@redhat.com>
10329
10330 * time/sys/time.h (settimeofday): Do not mark TV argument
10331 as __nonnull.
10332
eb6cbd24
MF
103332012-12-01 Mike Frysinger <vapier@gentoo.org>
10334
10335 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10336 when currently writing and seek to current position when not.
10337 * libio/Makefile (tests): Remove bug-fclose1.
10338 * libio/bug-fclose1.c: Delete.
10339
f638872a
JM
103402012-12-01 Joseph Myers <joseph@codesourcery.com>
10341
10342 * manual/arith.texi (feenableexcept): Fix typo.
10343 (fedisableexcept): Likewise.
10344
48085d14
RM
103452012-11-30 Roland McGrath <roland@hack.frob.com>
10346
10347 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10348 second, differently-typed declaration, rather than a cast.
10349
1a538b9f
SP
103502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10351
10352 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10353 * include/rpc/svc.h: ... here.
10354
d07f2ff1 103552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10356
10357 [BZ #13013]
10358 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10359 depending n and resplen2 to catch cases where answer
10360 equals answerp2.
10361
c93ec1f0
CD
103622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10363
10364 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10365 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10366
37db69de
MF
103672012-11-29 Mike Frysinger <vapier@gentoo.org>
10368
10369 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10370
e10c4e4f
RM
103712012-11-29 Roland McGrath <roland@hack.frob.com>
10372
10373 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10374
2af1b328
JL
103752012-11-28 Jeff Law <law@redhat.com>
10376
10377 [BZ #13761]
10378 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10379 dataset_temporary. Track alloca usage into alloca_used.
10380 If dataset is large allocate and release it via malloc/free.
10381
111db5b1
FW
103822012-06-04 Florian Weimer <fweimer@redhat.com>
10383
f06cc227 10384 [BZ #14197]
111db5b1
FW
10385 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10386
dd694abd
DM
103872012-11-28 David S. Miller <davem@davemloft.net>
10388
10389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10390
9984dd01
JM
103912012-11-28 Joseph Myers <joseph@codesourcery.com>
10392
10393 [BZ #14803]
10394 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10395 of pi/2 rounded to nearest to 64 bits.
10396 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10397 nearest to 64 bits.
10398 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10399 bits.
10400
14bc93a9
JL
104012012-11-28 Jeff Law <law@redhat.com>
10402 Martin Osvald <mosvald@redhat.com>
10403
10404 [BZ #14889]
10405 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10406 * sunrpc/svc.c: Include time.h.
10407 (__svc_accept_failed): New function.
10408 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10409 any reason other than EINTR, call __svc_accept_failed.
10410 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10411 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10412
e3c6aa3a
AS
104132012-11-28 Andreas Schwab <schwab@suse.de>
10414
10415 * scripts/abilist.awk: Also handle indirect functions in .opd
10416 section.
10417
1bead169
JM
104182012-11-28 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #13881]
10421 * sysdeps/x86/fpu/powl_helper.c: New file.
10422 * sysdeps/x86/fpu/Makefile: Likewise.
10423 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10424 (p3): New object.
10425 (__ieee754_powl): Use __powl_helper for finite arguments except
10426 integer exponents below 8.
10427 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10428 (p3): New object.
10429 (__ieee754_powl): Use __powl_helper for finite arguments except
10430 integer exponents below 8.
10431 * math/libm-test.inc (pow_test): Add more tests and enable some
10432 previously disabled tests.
10433 * sysdeps/i386/fpu/libm-test-ulps: Update.
10434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10435
0817d63d
SP
104362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10437 Carlos O'Donell <carlos_odonell@mentor.com>
10438
10439 * nss/makedb.c (is_prime): Assert that input is odd and greater
10440 than 4. Note that fact in a comment too.
10441 (next_prime): Add 4 to input.
10442
de2fd463
SP
104432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10444
10445 [BZ #11741]
10446 * libio/Makefile (tests): Add test case tst-fwrite-error.
10447 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10448 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10449 * libio/tst-fwrite-error.c: New test case.
10450
c515fb51
L
104512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10452
10453 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10454 before casting to void *.
10455 * include/libc-internal.h (__pointer_type): New macro.
10456 (__integer_if_pointer_type_sub): Likewise.
10457 (__integer_if_pointer_type): Likewise.
10458 (cast_to_integer): Likewise.
10459 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10460 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10461 before casting to atomic64_t.
10462 (atomic_exchange_acq): Likewise.
10463 (__arch_exchange_and_add_body): Likewise.
10464 (__arch_add_body): Likewise.
10465 (atomic_add_negative): Likewise.
10466 (atomic_add_zero): Likewise.
10467
4cf77aa9
JM
104682012-11-26 Joseph Myers <joseph@codesourcery.com>
10469
10470 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10471 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10472 (add_fdes): Likewise.
10473 (linear_search_fdes): Likewise.
10474 (binary_search_unencoded_fdes): Likewise.
10475
d260b3b4
AS
104762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10477
10478 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10479
67060746
AC
104802012-11-24 Adam Conrad <adconrad@0c3.net>
10481
10482 * configure.in: Autodetect C++ header directories.
10483 * configure: Regenerated.
10484
800938a1
MF
104852012-11-23 Mike Frysinger <vapier@gentoo.org>
10486
10487 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10488
4e6e34e6
AS
104892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10490
10491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10492
7c7feb47
JM
104932012-11-22 Joseph Myers <joseph@codesourcery.com>
10494
7184dcdf
JM
10495 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10496 LDBL_MANT_DIG == 106]: Disable some tests.
10497 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10498 Likewise.
10499 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10500 Likewise.
10501
0a42601f
JM
10502 [BZ #14871]
10503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10504 input for small inputs. Return +/- pi/2 for large inputs.
10505 * math/libm-test.inc (atan_test): Add more tests.
10506
79c9b9fe
JM
10507 * sysdeps/generic/unwind-dw2-fde-glibc.c
10508 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10509 __attribute__ ((unused)).
10510
c60d3bf2
JM
10511 [BZ #14645]
10512 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10513 x * y if x and y are nonzero and z is zero.
10514
ef1e0867
JM
10515 [BZ #14811]
10516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10517 nonzero exponents with absolute value below 0x1p-117 to +/-
10518 0x1p-117.
10519
1468ded3
JM
10520 [BZ #14869]
10521 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10522 up arguments below 2**-450, not just those below 2**-500.
10523 * math/libm-test.inc (hypot_test): Add another test.
10524
8e27e3cc
JM
10525 [BZ #14868]
10526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10527 Return a+b for ratio over 2**120, not 2**60.
10528 * math/libm-test.inc (hypot_test): Add another test.
10529
c9c0279b
JM
10530 * math/libm-test.inc (clog_test): Use
10531 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10532 (clog10_test): Likewise.
10533
7c7feb47
JM
10534 [BZ #6778]
10535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10536
fff1530e
AS
105372012-11-22 Andreas Schwab <schwab@suse.de>
10538
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540
94558d30
PT
105412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10542
10543 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10544 printf output with newline.
10545
7e1be741
L
105462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10547
6bfea974
L
10548 [BZ #14865]
10549 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10550 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10551 -z nodlopen, -z initfirst and -z execstack support.
10552 * configure: Regenerated.
10553
7e1be741
L
10554 * elf/elf.h (DF_1_NODIRECT): New macro.
10555 (DF_1_IGNMULDEF): Likewise.
10556 (DF_1_NOKSYMS): Likewise.
10557 (DF_1_NOHDR): Likewise.
10558 (DF_1_EDITED): Likewise.
10559 (DF_1_NORELOC): Likewise.
10560 (DF_1_SYMINTPOSE): Likewise.
10561 (DF_1_GLOBAUDIT): Likewise.
10562 (DF_1_SINGLETON): Likewise.
10563 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10564 DT_1_SUPPORTED_MASK bits.
10565 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10566
105ce2ce
CD
105672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10568
10569 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10570
123be9de
TS
105712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10572
d072f3f7
TS
10573 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10574 macro.
10575
123be9de
TS
10576 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10577 (sendmmsg): Move declarations...
10578 * socket/sys/socket.h: ... here.
10579 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10580 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10581 include it from...
10582 * socket/recvmmsg.c: ... this new file.
10583 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10584 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10585 definition of __sendmmsg hidden.
10586 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10587 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10588 Move ENOSYS stub into and include it from...
10589 * socket/sendmmsg.c: ... this new file.
10590 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10591 (sysdep_routines): Move recvmmsg and sendmmsg...
10592 * socket/Makefile (routines): ... here.
10593 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10594 (GLIBC_PRIVATE): Add __sendmmsg.
10595 * include/sys/socket.h (__sendmmsg): Add declarations.
10596 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10597 sendmmsg.
10598
cf9a5d18
JM
105992012-11-20 Joseph Myers <joseph@codesourcery.com>
10600
10601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10602 variable I1 with __attribute__ ((unused)).
10603 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10604
ecd4caf9
JM
106052012-11-19 Joseph Myers <joseph@codesourcery.com>
10606
be14d48f
JM
10607 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10608 DUMMY variables with __attribute__ ((unused)).
10609
ecd4caf9
JM
10610 * bits/byteswap.h: Include <bits/types.h>.
10611 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10612
986cab95
PT
106132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10614
10615 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10616 string_t. Do not manually set errno.
10617 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10618 length with __strnlen. Make sure to both set errno and return it on
10619 failure.
10620
6d33cc9d
DM
106212012-11-19 David S. Miller <davem@davemloft.net>
10622
10623 With help from Joseph Myers.
10624 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10625 very large arguments properly.
10626 * math/libm-test.inc (atan_test): New tests.
10627 (atan2_test): New tests.
10628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10630
ee663277
JM
106312012-11-19 Joseph Myers <joseph@codesourcery.com>
10632
877f2d8e
JM
10633 [BZ #14856]
10634 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10635 Define to 3.
10636
116fc08a
JM
10637 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10638 [POSIX] (EADDRNOTAVAIL): Likewise.
10639 [POSIX] (EAFNOSUPPORT): Likewise.
10640 [POSIX] (EALREADY): Likewise.
10641 [POSIX] (ECONNABORTED): Likewise.
10642 [POSIX] (ECONNREFUSED): Likewise.
10643 [POSIX] (ECONNRESET): Likewise.
10644 [POSIX] (EDESTADDRREQ): Likewise.
10645 [POSIX] (EDQUOT): Likewise.
10646 [POSIX] (EHOSTUNREACH): Likewise.
10647 [POSIX] (EIDRM): Likewise.
10648 [POSIX] (EISCONN): Likewise.
10649 [POSIX] (ELOOP): Likewise.
10650 [POSIX] (EMULTIHOP): Likewise.
10651 [POSIX] (ENETDOWN): Likewise.
10652 [POSIX] (ENETUNREACH): Likewise.
10653 [POSIX] (ENOBUFS): Likewise.
10654 [POSIX] (ENODATA): Likewise.
10655 [POSIX] (ENOLINK): Likewise.
10656 [POSIX] (ENOMSG): Likewise.
10657 [POSIX] (ENOPROTOOPT): Likewise.
10658 [POSIX] (ENOSR): Likewise.
10659 [POSIX] (ENOSTR): Likewise.
10660 [POSIX] (ENOTCONN): Likewise.
10661 [POSIX] (ENOTSOCK): Likewise.
10662 [POSIX] (EOPNOTSUPP): Likewise.
10663 [POSIX] (EOVERFLOW): Likewise.
10664 [POSIX] (EPROTO): Likewise.
10665 [POSIX] (EPROTONOSUPPORT): Likewise.
10666 [POSIX] (EPROTOTYPE): Likewise.
10667 [POSIX] (ESTALE): Likewise.
10668 [POSIX] (ETIME): Likewise.
10669 [POSIX] (ETXTBSY): Likewise.
10670 [POSIX] (EWOULDBLOCK): Likewise.
10671 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10672 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10673 [POSIX] (SEEK_CUR): Likewise.
10674 [POSIX] (SEEK_END): Likewise.
10675 [POSIX || UNIX98] (mode_t): Do not require.
10676 [POSIX] (off_t): Likewise.
10677 [POSIX] (pid_t): Likewise.
10678 [POSIX] (sys/stat.h): Do not allow header.
10679 [POSIX] (unistd.h): Likewise.
10680 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10681 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10682 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10683 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10684 require.
10685 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10686 sigevent): Specify elements.
10687 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10688 entry.
10689 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10690 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10691
a483863f
JM
10692 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10693 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10694 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10695 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10696 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10697 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10698 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10699 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10700 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10701 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10702 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10703 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10704 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10705 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10706 Likewise.
10707 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10708 Likewise.
10709 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10710 Likewise.
10711 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10712 Likewise.
10713 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10714 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10715 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10716 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10717 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10718 Specify lower bound on value.
10719 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10724 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10725 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10726 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10727 value.
10728 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10729 as optional.
10730 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10739 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10746 entry.
10747 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10748 optional.
10749 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10752 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10753 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10754 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10755 Likewise.
10756 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10761 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10762 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10763 as optional.
10764 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10768 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10769 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10770 specify as optional.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10773 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10774 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10775 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10776 [XPG3] (NL_LANGMAX): Likewise.
10777 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10778 [POSIX || XPG3] (NL_NMAX): Likewise.
10779 [POSIX || XPG3] (NL_SETMAX): Likewise.
10780 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10781 [XPG3] (NZERO): Likewise.
10782 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10783 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10784 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10785 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10786 (REG_ERANGE): Expect.
10787 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10788 optional-constant.
10789 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10790 Use (void) in prototype.
10791 [POSIX] (*_t): Allow.
10792 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10793 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10794 (WRDE_BADVAL): Expect.
10795
5ba924e3
JM
10796 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10797 expect.
10798 [XPG3 || XPG4] (O_RSYNC): Likewise.
10799 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10800 Likewise.
10801 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10802 [XPG3 || XPG4] (sigqueue): Likewise.
10803 [XPG3 || XPG4] (sigtimedwait): Likewise.
10804 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10805 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10806 [XPG3 || XPG4] (vsnprintf): Likewise.
10807 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10808 Likewise.
10809 [XPG3 || XPG4] (blksize_t): Likewise.
10810 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10811 Likewise.
10812 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10813 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10814 [XPG3 || XPG4] (struct itimerspec): Likewise.
10815 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10816 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10817 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10818 [XPG3 || XPG4] (clockid_t): Likewise.
10819 [XPG3 || XPG4] (timer_t): Likewise.
10820 [XPG3 || XPG4] (clock_getres): Likewise.
10821 [XPG3 || XPG4] (clock_gettime): Likewise.
10822 [XPG3 || XPG4] (clock_settime): Likewise.
10823 [XPG3 || XPG4] (nanosleep): Likewise.
10824 [XPG3 || XPG4] (timer_create): Likewise.
10825 [XPG3 || XPG4] (timer_delete): Likewise.
10826 [XPG3 || XPG4] (timer_gettime): Likewise.
10827 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10828 [XPG3 || XPG4] (timer_settime): Likewise.
10829 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10830 [XPG3 || XPG4] (getlogin_r): Likewise.
10831 [XPG3 || XPG4] (pread): Likewise.
10832 [XPG3 || XPG4] (pthread_atfork): Likewise.
10833 [XPG3 || XPG4] (pwrite): Likewise.
10834
ee663277
JM
10835 [BZ #14835]
10836 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10837 <bits/siginfo.h>.
10838
942caa16
PT
108392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10840
e19af380
PT
10841 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10842 finalizing MALLSTREAM.
10843
942caa16
PT
10844 * sysdeps/mach/hurd/syncfs.c: New file.
10845
cfde9b46
SP
108462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10847
10848 [BZ #14719]
10849 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10850 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10851 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10852 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10853 (_nss_dns_gethostbyname4_r): Likewise.
10854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10855 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10856
f6da27e5
PH
108572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10858
10859 [BZ #13763]
10860 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10861
6665d4a2
SM
108622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10863
1f51ee92
SM
10864 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10865 * elf/cache.c (print_entry): Print ",AArch64" for
10866 FLAG_AARCH64_LIB64
10867
6665d4a2
SM
10868 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10869 * elf/cache.c (print_entry): Print ",hard-float" for
10870 FLAG_ARM_LIBHF.
10871
05b227bd
DM
108722012-11-18 David S. Miller <davem@davemloft.net>
10873
10874 With help from Joseph Myers.
10875 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10876 cutoff to 2**-13.
10877 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10878 cutoff to 2**-25.
10879 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10880 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10881 small.
10882 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10883 * math/libm-test.inc (y0_test): New tests.
10884 (y1_test): New tests.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10888
786b0b67
AS
108892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10890
10891 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10892 64-bit targets.
10893 * configure: Regenerated.
10894
8e18b86d
DM
108952012-11-17 David S. Miller <davem@davemloft.net>
10896
10897 [BZ #14811]
10898 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10899 nonzero exponents with absolute value below 0x1p-128 to +/-
10900 0x1p-128.
10901
531f1ae0
JM
109022012-11-17 Joseph Myers <joseph@codesourcery.com>
10903
12df29e2
JM
10904 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10905
150dc1a0
JM
10906 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10907
531f1ae0
JM
10908 * posix/getconf-speclist.c: New file.
10909 * posix/posix-envs.def: Likewise.
10910 * posix/confstr.c (START_ENV_GROUP): New macro.
10911 (END_ENV_GROUP): Likewise.
10912 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10913 (KNOWN_PRESENT_ENV_STRING): Likewise.
10914 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10915 (UNKNOWN_ENVIRONMENT): Likewise.
10916 (confstr): Include posix-envs.def instead of handling
10917 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10918 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10919 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10920 (END_ENV_GROUP): Likewise.
10921 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10922 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10923 (UNKNOWN_ENVIRONMENT): Likewise.
10924 (__sysconf): Include posix-envs.def instead of handling associated
10925 cases directly here.
10926 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10927 preprocessing getconf-speclist.c rather than running getconf or
10928 generating empty file.
10929
a93f9cbc
PT
109302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10931
10932 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10933
d64d9f87
AL
109342012-11-16 Andrej Lajovic <natrij@gmail.com>
10935
10936 [BZ #14672]
10937 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10938
447885eb
DM
109392012-11-16 David S. Miller <davem@davemloft.net>
10940
10941 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10942 smaller than LDBL_EPSILON/2.0L, just return xm1.
10943
bcbf9830
L
109442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * elf/tst-array1.c (init): Set constructor priority to 1000.
10947 (fini): Set destructor priority to 1000.
10948 * elf/tst-array2dep.c: Likewise.
10949
2b766585
SP
109502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10951
10952 [BZ #11741]
10953 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10954 (_IO_new_file_xsputn): Also return EOF if none of the input
10955 data was written when overflow failed.
10956 * libio/iopadn.c (_IO_padn): Likewise.
10957 * libio/iowpadn.c (_IO_wpadn): Likewise.
10958 * stdio-common/tst-put-error.c: Add copyright notice.
10959 (do_test): Add case for printing padded string.
10960 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10961 _IO_padn returned error.
10962 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10963 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10964 return EOF.
10965
b1848fde
SP
109662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
10968 * libio/libioP.h: Add comment note that the references to C++
10969 bits are now obsolete.
10970
2fd89785
MS
109712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10972
10973 * math/libm-test.inc (check_complex): Use asprintf.
10974
e3ea5409
JM
109752012-11-14 Joseph Myers <joseph@codesourcery.com>
10976
10977 * debug/pcprofiledump.c (print_version): Update copyright year.
10978 * malloc/memusagestat.c (print_version): Likewise.
10979
2e64d265
L
109802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10981
10982 [BZ #14831]
10983 * elf/Makefile (tests): Add tst-audit8.
10984 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10985 ($(objpfx)tst-audit8.out): New target.
10986 (tst-audit8-ENV): New variable.
10987 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10988 audit if l_reloc_result is NULL.
10989 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10990 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10991 * elf/tst-audit8.c: New file.
10992
c485e4d2
MS
109932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10994
10995 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10996 * misc/Makefile (CFLAGS-select.c): Define.
10997 * posix/Makefile (CFLAGS-pause.c): Define.
10998
3a0d900a
DM
109992012-11-13 David S. Miller <davem@davemloft.net>
11000
11001 * crypt/Makefile: Move test targets after toplevel Rules
11002 inclusion. Grab any necessary sysdep routines when linking.
11003 * crypt/md5.c (md5_process_block): Remove define, we will always
11004 name it __md5_process_block.
11005 (md5_finish_ctx): Update md5_process_block call.
11006 (md5_stream): Likewise.
11007 (md5_process_bytes): Likewise.
11008 (md5_process_block): Rename to __md5_process_block and move to ...
11009 * crypt/md5-block.c: ... here.
11010 * crypt/sha256.c (sha256_process_block): Move to ...
11011 * crypt/sha256-block.c: ... here.
11012 * crypt/sha512.c (sha512_process_block): Move to ...
11013 * crypt/sha512-block.c: ... here.
11014 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11015 path.
11016 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11017 * sysdeps/sparc/sparc64/multiarch/Makefile
11018 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11019 crypt subdir.
11020 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11021 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11022 multiarch changes.
11023 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11024 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11025 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11026 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11027 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11028 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11029 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11030 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11031 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11032 file.
11033 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11034 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11035 file.
11036 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11037
8ca89318
JM
110382012-11-13 Joseph Myers <joseph@codesourcery.com>
11039
e27d476a
JM
11040 * timezone/tzselect.ksh: Update from tzcode git revision
11041 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11042 * timezone/zdump.c: Likewise.
11043 * timezone/zic.c: Likewise.
11044 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11045 in TZVERSION setting, not $(PKGVERSION).
11046 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11047 REPORT_BUGS_TO settings.
11048
8ca89318
JM
11049 [BZ #14838]
11050 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11051 macro.
11052
47594329
MS
110532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11054
11055 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11056 detection to immediately after _FP_ROUND().
11057 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11058 bits are 0.
11059
640ac3f1
DM
110602012-11-11 David S. Miller <davem@davemloft.net>
11061
11062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11063 inttypes.h
11064 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11065 __close rather than their public counterparts.
11066
3d2577bb
JM
110672012-11-10 Joseph Myers <joseph@codesourcery.com>
11068
11069 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11070 file.
11071 [UNIX98] (sem_timedwait): Do not expect.
11072 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11073 [XPG4 || UNIX98] (sockatmark): Do not expect.
11074 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11075 (clock_getcpuclockid): Do not expect.
11076 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11077 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11078 Do not expect.
11079 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11080 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11081 [UNIX98] (vwscanf): Likewise.
11082 [UNIX98] (vswscanf): Likewise.
11083
fb1ae1ee
JM
110842012-11-09 Joseph Myers <joseph@codesourcery.com>
11085
9ec6f8bd
JM
11086 * timezone/version.h: Remove file.
11087 * timezone/README: Do not refer to version.h.
11088 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11089 $(objpfx)version.h.
11090 ($(objpfx)zdump.o): Likewise.
c3f81911 11091 ($(objpfx)version.h): New target.
9ec6f8bd 11092
0aa8f8a1
JM
11093 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11094 2012i.
11095 * timezone/README: Don't mention modification to tzselect.ksh.
11096 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11097 work on unmodified tzselect.ksh. Substitute version numbers in
11098 tzselect.ksh.
11099
4e87147f
JM
11100 * Makefile (format-me): Remove.
11101 (INSTALL): Adjust indentation. Use commands directly instead of
11102 using $(format-me).
11103
8b748aed
JM
11104 * aclocal.m4 (ACX_PKGVERSION): New macro.
11105 (ACX_BUGURL): Likewise.
11106 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11107 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11108 (REPORT_BUGS_TO): Likewise.
11109 * configure: Regenerated.
11110 * config.h.in (PKGVERSION): New macro.
11111 (REPORT_BUGS_TO): Likewise.
11112 * config.make.in (PKGVERSION): New variable.
11113 (PKGVERSION_TEXI): Likewise.
11114 (REPORT_BUGS_TO): Likewise.
11115 (REPORT_BUGS_TEXI): Likewise.
11116 * Makefile (format-me): Use -I$(common-objpfx)manual.
11117 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11118 ($(common-objpfx)manual/%): New target.
11119 (manual/%): Remove target.
11120 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11121 (print_version): Use PKGVERSION.
11122 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11123 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11124 and REPORT_BUGS_TO.
11125 ($(objpfx)xtrace): Likewise.
11126 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11127 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11128 (print_version): Use PKGVERSION.
11129 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11130 (do_version): Use PKGVERSION.
11131 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11132 REPORT_BUGS_TO.
11133 (common-ldd-rewrite): Likewise.
11134 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11135 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11136 (print_version): Use PKGVERSION.
11137 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11138 * elf/pldd.c (argp_program_bug_address): Remove variable.
11139 (more_help): New function.
11140 (argp): Use more_help.
11141 (print_version): Use PKGVERSION.
11142 * elf/sln.c (main): Use PKGVERSION.
11143 (usage): Use REPORT_BUGS_TO.
11144 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11145 (top level): Use PKGVERSION.
11146 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11147 (print_version): Use PKGVERSION.
11148 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11149 (print_version): Use PKGVERSION.
11150 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11151 (print_version): Use PKGVERSION.
11152 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11153 (print_version): Use PKGVERSION.
11154 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11155 (print_version): Use PKGVERSION.
11156 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11157 (print_version): Use PKGVERSION.
11158 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11159 and BUGURL.
11160 ($(objpfx)memusage): Likewise.
11161 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11162 (do_version): Use PKGVERSION.
11163 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11164 (print_version): Use PKGVERSION.
11165 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11166 ($PKGVERSION): New variable.
11167 ($REPORT_BUGS_TO): Likewise.
11168 (usage): Use $REPORT_BUGS_TO.
11169 (top level): Use $PKGVERSION.
11170 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11171 ($(objpfx)pkgvers.texi): New rule.
11172 ($(objpfx)stamp-pkgvers): Likewise.
11173 * manual/install.texi: Include pkgvers.texi.
11174 (--with-pkgversion): Document new configure option.
11175 (--with-bugurl): Likewise.
11176 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11177 than necessarily for this particular distribution. Use
11178 REPORT_BUGS_TO for where to report bugs.
11179 * INSTALL: Regenerated.
11180 * manual/libc.texinfo: Include pkgvers.texi.
11181 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11182 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11183 (print_version): Use PKGVERSION.
11184 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11185 (print_version): Use PKGVERSION.
11186 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11187 (print_version): Use PKGVERSION.
11188 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11189 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11190 macro.
11191 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11192 (print_version): Use PKGVERSION.
11193 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11194 (print_version): Use PKGVERSION.
11195 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11196 and PKGVERSION.
11197
92e4b6a9
JM
11198 * timezone/checktab.awk: Update from tzcode 2012i.
11199 * timezone/ialloc.c: Likewise.
11200 * timezone/private.h: Likewise.
11201 * timezone/scheck.c: Likewise.
11202 * timezone/tzfile.h: Likewise.
11203 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11204 (TZVERSION): Hardcode tzcode version number.
11205 * timezone/zdump.c: Update from tzcode 2012i.
11206 * timezone/zic.c: Likewise.
11207 * timezone/version.h: New file.
11208 * timezone/README: Describe version.h. Update upstream location.
11209
9bde902c
JM
11210 [BZ #14824]
11211 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11212 (mktemp): Enable declaration.
11213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11217 Likewise.
11218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11219 Likewise.
11220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11221 Likewise.
11222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11223 Likewise.
11224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11225 Likewise.
11226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11227 Likewise.
11228
fb1ae1ee
JM
11229 [BZ #14821]
11230 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11231 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11232 for copies of such integer values.
11233 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11234 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11235
2c1adbcb
AJ
112362012-11-09 Andreas Jaeger <aj@suse.de>
11237
11238 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11239 definitions and declarations that are provided by
11240 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11241
d0f8457e
AK
112422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11243
3a235abb 11244 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11245 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11246 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11247 definition.
11248
57241e26
MS
112492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11250
11251 * elf/elf.h: Update comment before AArch64 relocations.
11252
60e8270d
DM
112532012-11-07 David S. Miller <davem@davemloft.net>
11254
11255 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11256 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11257 (__start_context): Declare.
11258 (__makecontext_ret): Delete.
11259 (__makecontext): Hook up __start_context instead of
11260 __makecontext_ret.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11262 (sysdep_routines): Add __start_context when in stdlib.
11263
0fbb0fbc
JM
112642012-11-07 Joseph Myers <joseph@codesourcery.com>
11265
11266 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11267 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11268 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11269 hardcoded "nm".
11270 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11271 (READELF): New variable. Use it instead of hardcoded "readelf".
11272
eb48db7e
L
112732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11274
11275 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11276 * sysdeps/x86/Makefile: Here.
11277 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11278 * sysdeps/x86/tst-xmmymm.sh: This.
11279
05bcf62a
JM
112802012-11-07 Joseph Myers <joseph@codesourcery.com>
11281
c4b6cf53
JM
11282 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11283 expectations.
11284 [UNIX98] (pthread_barrier_t): Do not expect.
11285 [UNIX98] (pthread_barrierattr_t): Likewise.
11286 [UNIX98] (pthread_spinlock_t): Likewise.
11287 [UNIX98] (pthread_barrier_destroy): Likewise.
11288 [UNIX98] (pthread_barrier_init): Likewise.
11289 [UNIX98] (pthread_barrier_wait): Likewise.
11290 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11291 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11292 [UNIX98] (pthread_barrierattr_init): Likewise.
11293 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11294 [UNIX98] (pthread_getcpuclockid): Likewise.
11295 [UNIX98] (pthread_mutex_timedlock): Likewise.
11296 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11297 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11298 [UNIX98] (pthread_sigmask): Likewise.
11299 [UNIX98] (pthread_spin_destroy): Likewise.
11300 [UNIX98] (pthread_spin_init): Likewise.
11301 [UNIX98] (pthread_spin_lock): Likewise.
11302 [UNIX98] (pthread_spin_trylock): Likewise.
11303 [UNIX98] (pthread_spin_unlock): Likewise.
11304 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11305 Do not expect.
11306 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11308 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11309 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11310 [XPG3 || XPG4] (pthread_key_t): Likewise.
11311 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11312 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11313 [XPG3 || XPG4] (pthread_once_t): Likewise.
11314 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11315 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11317 [XPG3 || XPG4] (pthread_t): Likewise.
11318
cbe6e120
JM
11319 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11320 not expect.
11321 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11322
1b126443
JM
11323 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11324 Change function return type to int.
11325
b961a573
JM
11326 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11327 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11328 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11329 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11330 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11331 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11332 [!POSIX] (posix_madvise): Likewise.
11333 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11334 && !UNIX98].
11335 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11336 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11337 (mode_t): Likewise.
11338 (posix_mem_offset): Likewise.
11339 (posix_typed_mem_get_info): Likewise.
11340 (posix_typed_mem_open): Likewise.
11341
9e188909
JM
11342 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11343 Change condition to [XOPEN2K8].
11344
05bcf62a
JM
11345 * conform/conformtest.pl: Preprocess allow-header data with -x c
11346 instead of from stdin.
11347 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11348 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11349 [C99-based standards] (cerfc): Likewise.
11350 [C99-based standards] (cexp2): Likewise.
11351 [C99-based standards] (cexpm1): Likewise.
11352 [C99-based standards] (clog10): Likewise.
11353 [C99-based standards] (clog1p): Likewise.
11354 [C99-based standards] (clog2): Likewise.
11355 [C99-based standards] (clgamma): Likewise.
11356 [C99-based standards] (ctgamma): Likewise.
11357 [C99-based standards] (cerff): Likewise.
11358 [C99-based standards] (cerfcf): Likewise.
11359 [C99-based standards] (cexp2f): Likewise.
11360 [C99-based standards] (cexpm1f): Likewise.
11361 [C99-based standards] (clog10f): Likewise.
11362 [C99-based standards] (clog1pf): Likewise.
11363 [C99-based standards] (clog2f): Likewise.
11364 [C99-based standards] (clgammaf): Likewise.
11365 [C99-based standards] (ctgammaf): Likewise.
11366 [C99-based standards] (cerfl): Likewise.
11367 [C99-based standards] (cerfcl): Likewise.
11368 [C99-based standards] (cexp2l): Likewise.
11369 [C99-based standards] (cexpm1l): Likewise.
11370 [C99-based standards] (clog10l): Likewise.
11371 [C99-based standards] (clog1pl): Likewise.
11372 [C99-based standards] (clog2l): Likewise.
11373 [C99-based standards] (clgammal): Likewise.
11374 [C99-based standards] (ctgammal): Likewise.
11375 * conform/data/inttypes.h-data [C99-based standards]: Include
11376 stdint.h-data. Remove all expectations for stdint.h contents.
11377 [C99-based standards] (PRI*): Do not allow.
11378 [C99-based standards] (SCN*): Likewise.
11379 [C99-based standards] (*_t): Likewise.
11380 [C99-based-standards] (PRId8): Expect macro.
11381 [C99-based-standards] (PRIi8): Likewise.
11382 [C99-based-standards] (PRIo8): Likewise.
11383 [C99-based-standards] (PRIu8): Likewise.
11384 [C99-based-standards] (PRIx8): Likewise.
11385 [C99-based-standards] (PRIX8): Likewise.
11386 [C99-based-standards] (SCNd8): Likewise.
11387 [C99-based-standards] (SCNi8): Likewise.
11388 [C99-based-standards] (SCNo8): Likewise.
11389 [C99-based-standards] (SCNu8): Likewise.
11390 [C99-based-standards] (SCNx8): Likewise.
11391 [C99-based-standards] (PRIdLEAST8): Likewise.
11392 [C99-based-standards] (PRIiLEAST8): Likewise.
11393 [C99-based-standards] (PRIoLEAST8): Likewise.
11394 [C99-based-standards] (PRIuLEAST8): Likewise.
11395 [C99-based-standards] (PRIxLEAST8): Likewise.
11396 [C99-based-standards] (PRIXLEAST8): Likewise.
11397 [C99-based-standards] (SCNdLEAST8): Likewise.
11398 [C99-based-standards] (SCNiLEAST8): Likewise.
11399 [C99-based-standards] (SCNoLEAST8): Likewise.
11400 [C99-based-standards] (SCNuLEAST8): Likewise.
11401 [C99-based-standards] (SCNxLEAST8): Likewise.
11402 [C99-based-standards] (PRIdFAST8): Likewise.
11403 [C99-based-standards] (PRIiFAST8): Likewise.
11404 [C99-based-standards] (PRIoFAST8): Likewise.
11405 [C99-based-standards] (PRIuFAST8): Likewise.
11406 [C99-based-standards] (PRIxFAST8): Likewise.
11407 [C99-based-standards] (PRIXFAST8): Likewise.
11408 [C99-based-standards] (SCNdFAST8): Likewise.
11409 [C99-based-standards] (SCNiFAST8): Likewise.
11410 [C99-based-standards] (SCNoFAST8): Likewise.
11411 [C99-based-standards] (SCNuFAST8): Likewise.
11412 [C99-based-standards] (SCNxFAST8): Likewise.
11413 [C99-based-standards] (PRId16): Likewise.
11414 [C99-based-standards] (PRIi16): Likewise.
11415 [C99-based-standards] (PRIo16): Likewise.
11416 [C99-based-standards] (PRIu16): Likewise.
11417 [C99-based-standards] (PRIx16): Likewise.
11418 [C99-based-standards] (PRIX16): Likewise.
11419 [C99-based-standards] (SCNd16): Likewise.
11420 [C99-based-standards] (SCNi16): Likewise.
11421 [C99-based-standards] (SCNo16): Likewise.
11422 [C99-based-standards] (SCNu16): Likewise.
11423 [C99-based-standards] (SCNx16): Likewise.
11424 [C99-based-standards] (PRIdLEAST16): Likewise.
11425 [C99-based-standards] (PRIiLEAST16): Likewise.
11426 [C99-based-standards] (PRIoLEAST16): Likewise.
11427 [C99-based-standards] (PRIuLEAST16): Likewise.
11428 [C99-based-standards] (PRIxLEAST16): Likewise.
11429 [C99-based-standards] (PRIXLEAST16): Likewise.
11430 [C99-based-standards] (SCNdLEAST16): Likewise.
11431 [C99-based-standards] (SCNiLEAST16): Likewise.
11432 [C99-based-standards] (SCNoLEAST16): Likewise.
11433 [C99-based-standards] (SCNuLEAST16): Likewise.
11434 [C99-based-standards] (SCNxLEAST16): Likewise.
11435 [C99-based-standards] (PRIdFAST16): Likewise.
11436 [C99-based-standards] (PRIiFAST16): Likewise.
11437 [C99-based-standards] (PRIoFAST16): Likewise.
11438 [C99-based-standards] (PRIuFAST16): Likewise.
11439 [C99-based-standards] (PRIxFAST16): Likewise.
11440 [C99-based-standards] (PRIXFAST16): Likewise.
11441 [C99-based-standards] (SCNdFAST16): Likewise.
11442 [C99-based-standards] (SCNiFAST16): Likewise.
11443 [C99-based-standards] (SCNoFAST16): Likewise.
11444 [C99-based-standards] (SCNuFAST16): Likewise.
11445 [C99-based-standards] (SCNxFAST16): Likewise.
11446 [C99-based-standards] (PRId32): Likewise.
11447 [C99-based-standards] (PRIi32): Likewise.
11448 [C99-based-standards] (PRIo32): Likewise.
11449 [C99-based-standards] (PRIu32): Likewise.
11450 [C99-based-standards] (PRIx32): Likewise.
11451 [C99-based-standards] (PRIX32): Likewise.
11452 [C99-based-standards] (SCNd32): Likewise.
11453 [C99-based-standards] (SCNi32): Likewise.
11454 [C99-based-standards] (SCNo32): Likewise.
11455 [C99-based-standards] (SCNu32): Likewise.
11456 [C99-based-standards] (SCNx32): Likewise.
11457 [C99-based-standards] (PRIdLEAST32): Likewise.
11458 [C99-based-standards] (PRIiLEAST32): Likewise.
11459 [C99-based-standards] (PRIoLEAST32): Likewise.
11460 [C99-based-standards] (PRIuLEAST32): Likewise.
11461 [C99-based-standards] (PRIxLEAST32): Likewise.
11462 [C99-based-standards] (PRIXLEAST32): Likewise.
11463 [C99-based-standards] (SCNdLEAST32): Likewise.
11464 [C99-based-standards] (SCNiLEAST32): Likewise.
11465 [C99-based-standards] (SCNoLEAST32): Likewise.
11466 [C99-based-standards] (SCNuLEAST32): Likewise.
11467 [C99-based-standards] (SCNxLEAST32): Likewise.
11468 [C99-based-standards] (PRIdFAST32): Likewise.
11469 [C99-based-standards] (PRIiFAST32): Likewise.
11470 [C99-based-standards] (PRIoFAST32): Likewise.
11471 [C99-based-standards] (PRIuFAST32): Likewise.
11472 [C99-based-standards] (PRIxFAST32): Likewise.
11473 [C99-based-standards] (PRIXFAST32): Likewise.
11474 [C99-based-standards] (SCNdFAST32): Likewise.
11475 [C99-based-standards] (SCNiFAST32): Likewise.
11476 [C99-based-standards] (SCNoFAST32): Likewise.
11477 [C99-based-standards] (SCNuFAST32): Likewise.
11478 [C99-based-standards] (SCNxFAST32): Likewise.
11479 [C99-based-standards] (PRId64): Likewise.
11480 [C99-based-standards] (PRIi64): Likewise.
11481 [C99-based-standards] (PRIo64): Likewise.
11482 [C99-based-standards] (PRIu64): Likewise.
11483 [C99-based-standards] (PRIx64): Likewise.
11484 [C99-based-standards] (PRIX64): Likewise.
11485 [C99-based-standards] (SCNd64): Likewise.
11486 [C99-based-standards] (SCNi64): Likewise.
11487 [C99-based-standards] (SCNo64): Likewise.
11488 [C99-based-standards] (SCNu64): Likewise.
11489 [C99-based-standards] (SCNx64): Likewise.
11490 [C99-based-standards] (PRIdLEAST64): Likewise.
11491 [C99-based-standards] (PRIiLEAST64): Likewise.
11492 [C99-based-standards] (PRIoLEAST64): Likewise.
11493 [C99-based-standards] (PRIuLEAST64): Likewise.
11494 [C99-based-standards] (PRIxLEAST64): Likewise.
11495 [C99-based-standards] (PRIXLEAST64): Likewise.
11496 [C99-based-standards] (SCNdLEAST64): Likewise.
11497 [C99-based-standards] (SCNiLEAST64): Likewise.
11498 [C99-based-standards] (SCNoLEAST64): Likewise.
11499 [C99-based-standards] (SCNuLEAST64): Likewise.
11500 [C99-based-standards] (SCNxLEAST64): Likewise.
11501 [C99-based-standards] (PRIdFAST64): Likewise.
11502 [C99-based-standards] (PRIiFAST64): Likewise.
11503 [C99-based-standards] (PRIoFAST64): Likewise.
11504 [C99-based-standards] (PRIuFAST64): Likewise.
11505 [C99-based-standards] (PRIxFAST64): Likewise.
11506 [C99-based-standards] (PRIXFAST64): Likewise.
11507 [C99-based-standards] (SCNdFAST64): Likewise.
11508 [C99-based-standards] (SCNiFAST64): Likewise.
11509 [C99-based-standards] (SCNoFAST64): Likewise.
11510 [C99-based-standards] (SCNuFAST64): Likewise.
11511 [C99-based-standards] (SCNxFAST64): Likewise.
11512 [C99-based-standards] (PRIdMAX): Likewise.
11513 [C99-based-standards] (PRIiMAX): Likewise.
11514 [C99-based-standards] (PRIoMAX): Likewise.
11515 [C99-based-standards] (PRIuMAX): Likewise.
11516 [C99-based-standards] (PRIxMAX): Likewise.
11517 [C99-based-standards] (PRIXMAX): Likewise.
11518 [C99-based-standards] (SCNdMAX): Likewise.
11519 [C99-based-standards] (SCNiMAX): Likewise.
11520 [C99-based-standards] (SCNoMAX): Likewise.
11521 [C99-based-standards] (SCNuMAX): Likewise.
11522 [C99-based-standards] (SCNxMAX): Likewise.
11523 [C99-based-standards] (PRIdPTR): Likewise.
11524 [C99-based-standards] (PRIiPTR): Likewise.
11525 [C99-based-standards] (PRIoPTR): Likewise.
11526 [C99-based-standards] (PRIuPTR): Likewise.
11527 [C99-based-standards] (PRIxPTR): Likewise.
11528 [C99-based-standards] (PRIXPTR): Likewise.
11529 [C99-based-standards] (SCNdPTR): Likewise.
11530 [C99-based-standards] (SCNiPTR): Likewise.
11531 [C99-based-standards] (SCNoPTR): Likewise.
11532 [C99-based-standards] (SCNuPTR): Likewise.
11533 [C99-based-standards] (SCNxPTR): Likewise.
11534 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11535 allow.
11536 * conform/data/stdint.h-data: Update comments to clarify
11537 requirements.
11538 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11539 type.
11540 [C99-based standards] (INT8_MAX): Likewise.
11541 [C99-based standards] (INT16_MIN): Likewise.
11542 [C99-based standards] (INT16_MAX): Likewise.
11543 [C99-based standards] (INT32_MIN): Likewise.
11544 [C99-based standards] (INT32_MAX): Likewise.
11545 [C99-based standards] (INT64_MIN): Likewise.
11546 [C99-based standards] (INT64_MAX): Likewise.
11547 [C99-based standards] (UINT8_MAX): Likewise.
11548 [C99-based standards] (UINT16_MAX): Likewise.
11549 [C99-based standards] (UINT32_MAX): Likewise.
11550 [C99-based standards] (UINT64_MAX): Likewise.
11551 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11552 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11553 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11554 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11555 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11556 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11557 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11558 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11559 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11560 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11561 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11562 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11563 [C99-based standards] (INT_FAST8_MIN): Likewise.
11564 [C99-based standards] (INT_FAST8_MAX): Likewise.
11565 [C99-based standards] (INT_FAST16_MIN): Likewise.
11566 [C99-based standards] (INT_FAST16_MAX): Likewise.
11567 [C99-based standards] (INT_FAST32_MIN): Likewise.
11568 [C99-based standards] (INT_FAST32_MAX): Likewise.
11569 [C99-based standards] (INT_FAST64_MIN): Likewise.
11570 [C99-based standards] (INT_FAST64_MAX): Likewise.
11571 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11572 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11573 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11574 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11575 [C99-based standards] (INTPTR_MIN): Likewise.
11576 [C99-based standards] (INTPTR_MAX): Likewise.
11577 [C99-based standards] (UINTPTR_MAX): Likewise.
11578 [C99-based standards] (INTMAX_MIN): Likewise.
11579 [C99-based standards] (INTMAX_MAX): Likewise.
11580 [C99-based standards] (UINTMAX_MAX): Likewise.
11581 [C99-based standards] (PTRDIFF_MIN): Likewise.
11582 [C99-based standards] (PTRDIFF_MAX): Likewise.
11583 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11584 [C99-based standards] (SIZE_MAX): Likewise.
11585 [C99-based standards] (WCHAR_MAX): Likewise.
11586 [C99-based standards] (WINT_MAX): Likewise.
11587 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11588 constraint on value.
11589 [C99-based standards] (WCHAR_MIN): Likewise.
11590 [C99-based standards] (WINT_MIN): Likewise.
11591 [C99-based standards] (*_t): Allow.
11592 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11593 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11594 Include math.h-data and complex.h-data. Remove all expectations
11595 of math.h and complex.h contents.
11596 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11597 at end of line.
11598 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11599 (struct tm): Expect tag.
11600 [C99-based-standards] (wcstof): Expect function.
11601 [C99-based-standards] (wcstold): Likewise.
11602 [C99-based-standards] (wcstoll): Likewise.
11603 [C99-based-standards] (wcstoull): Likewise.
11604 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11605 macro-int-constant. Specify type.
11606 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11607 constraint on value.
11608 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11609 Specify type.
11610 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11611 Specify value.
11612 [ISO C standards]: Do not allow headers.
11613 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11614 wcs[abcdefghijklmnopqrstuvwxyz]*.
11615 [ISO C standards] (*_t): Do not allow.
11616 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11617 Expect function.
11618 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11619 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11620 Specify type.
11621 [ISO C standards]: Do not allow headers.
11622 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11623 is[abcdefghijklmnopqrstuvwxyz]*.
11624 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11625 to[abcdefghijklmnopqrstuvwxyz]*.
11626 [ISO C standards] (*_t): Do not allow.
11627 * conform/data/stdalign.h-data: New file.
11628 * conform/data/stdbool.h-data: Likewise.
11629 * conform/data/stdnoreturn.h-data: Likewise.
11630
7514feb8
RM
116312012-11-07 Roland McGrath <roland@hack.frob.com>
11632
11633 [BZ #14815]
11634 * manual/filesys.texi (Directory Entries): Typo fix.
11635 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11636
19b2ecfc
MS
116372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11638
11639 * elf/elf.h (EM_AARCH64): New macro.
11640 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11641 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11642 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11643 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11644 (R_AARCH64_TLSDESC): Likewise.
11645 (NT_ARM_TLS): Likewise.
11646 (NT_ARM_HW_BREAK): Likewise.
11647 (NT_ARM_HW_WATCH): Likewise.
11648
60e235ee
JM
116492012-11-07 Joseph Myers <joseph@codesourcery.com>
11650
11651 [BZ #14811]
11652 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11653 (__ieee754_powl): Saturate nonzero exponents with absolute value
11654 below 0x1p-79 to +/- 0x1p-79.
11655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11656 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11657 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11658 nonzero exponents with absolute value below 0x1p-32 to +/-
11659 0x1p-32.
11660 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11661 (__ieee754_powl): Saturate nonzero exponents with absolute value
11662 below 0x1p-79 to +/- 0x1p-79.
11663 * math/libm-test.inc (pow_test): Add more tests.
11664
0ab234b7
AK
116652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11666
11667 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11668 _dl_s390_cap_flags with kernel. Increase string length.
11669 (_dl_s390_platforms): Add z196 and zEC12.
11670
45832f74
JM
116712012-11-07 Joseph Myers <joseph@codesourcery.com>
11672
11673 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11674 Change XOPEN21K to XOPEN2K.
11675
19218757
MK
116762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11677
11678 * string/memmove.c: Use memcpy when possible.
11679
c5f45721
AJ
116802012-11-06 Andreas Jaeger <aj@suse.de>
11681
11682 * po/eo.po: Update from translation team.
11683
82477c28
JM
116842012-11-06 Joseph Myers <joseph@codesourcery.com>
11685
11686 [BZ #14793]
11687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11688 exponent and small x and y exponents, scale x or y up. Increase
11689 by 2 the exponent used in scaling up.
11690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11692 * math/libm-test.inc (fma_test): Add more tests.
11693 (fma_test_towardzero): Likewise.
11694 (fma_test_downward): Likewise.
11695 (fma_test_upward): Likewise.
11696
99252c8c
JM
116972012-11-05 Joseph Myers <joseph@codesourcery.com>
11698
acfa885f
JM
11699 [BZ #14805]
11700 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11701 fenv_t *.
11702
99252c8c
JM
11703 [BZ #14801]
11704 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11705 namespace for names of struct fields.
11706 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11707 fenv_t fields.
11708 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11709 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11710
d6d98dea
ST
117112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11712
11713 [BZ #3665]
11714 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11715
e10bb107
TS
117162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11717
11718 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11719 PTR_DEMANGLE.
11720
11721 [BZ #5246]
11722 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11723 PTR_DEMANGLE.
11724
a0c2940d
JM
117252012-11-04 Joseph Myers <joseph@codesourcery.com>
11726
11727 [BZ #14797]
11728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11729 definitely overflow as x * y not x * y + z.
11730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11732 * math/libm-test.inc (fma_test): Add more tests.
11733 (fma_test_towardzero): Likewise.
11734 (fma_test_downward): Likewise.
11735 (fma_test_upward): Likewise.
11736
b830319d
TS
117372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11738
11739 [BZ #157]
11740
11741 * include/stub-tag.h: Remove file.
11742 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11743 '#include' of it.
11744 * manual/maint.texi (Porting): Don't reference it.
11745 * Makerules ($(objpfx)stubs): Likewise.
11746 * dirent/closedir.c: Don't include <stub-tag.h>.
11747 * dirent/dirfd.c: Likewise.
11748 * dirent/fdopendir.c: Likewise.
11749 * dirent/getdents.c: Likewise.
11750 * dirent/getdents64.c: Likewise.
11751 * dirent/opendir.c: Likewise.
11752 * dirent/readdir.c: Likewise.
11753 * dirent/readdir64.c: Likewise.
11754 * dirent/readdir64_r.c: Likewise.
11755 * dirent/readdir_r.c: Likewise.
11756 * dirent/rewinddir.c: Likewise.
11757 * dirent/seekdir.c: Likewise.
11758 * dirent/telldir.c: Likewise.
11759 * gmon/profil.c: Likewise.
11760 * grp/setgroups.c: Likewise.
11761 * inet/if_index.c: Likewise.
11762 * io/access.c: Likewise.
11763 * io/chdir.c: Likewise.
11764 * io/chmod.c: Likewise.
11765 * io/chown.c: Likewise.
11766 * io/close.c: Likewise.
11767 * io/dup.c: Likewise.
11768 * io/dup2.c: Likewise.
11769 * io/dup3.c: Likewise.
11770 * io/euidaccess.c: Likewise.
11771 * io/faccessat.c: Likewise.
11772 * io/fchdir.c: Likewise.
11773 * io/fchmod.c: Likewise.
11774 * io/fchmodat.c: Likewise.
11775 * io/fchown.c: Likewise.
11776 * io/fchownat.c: Likewise.
11777 * io/fcntl.c: Likewise.
11778 * io/flock.c: Likewise.
11779 * io/fstatfs.c: Likewise.
11780 * io/fstatfs64.c: Likewise.
11781 * io/fstatvfs.c: Likewise.
11782 * io/fstatvfs64.c: Likewise.
11783 * io/futimens.c: Likewise.
11784 * io/fxstat.c: Likewise.
11785 * io/fxstat64.c: Likewise.
11786 * io/fxstatat.c: Likewise.
11787 * io/fxstatat64.c: Likewise.
11788 * io/getcwd.c: Likewise.
11789 * io/isatty.c: Likewise.
11790 * io/lchmod.c: Likewise.
11791 * io/lchown.c: Likewise.
11792 * io/link.c: Likewise.
11793 * io/linkat.c: Likewise.
11794 * io/lseek.c: Likewise.
11795 * io/lseek64.c: Likewise.
11796 * io/lxstat64.c: Likewise.
11797 * io/mkdir.c: Likewise.
11798 * io/mkdirat.c: Likewise.
11799 * io/mkfifo.c: Likewise.
11800 * io/mkfifoat.c: Likewise.
11801 * io/open.c: Likewise.
11802 * io/open64.c: Likewise.
11803 * io/openat.c: Likewise.
11804 * io/openat64.c: Likewise.
11805 * io/pipe.c: Likewise.
11806 * io/pipe2.c: Likewise.
11807 * io/poll.c: Likewise.
11808 * io/posix_fadvise.c: Likewise.
11809 * io/posix_fadvise64.c: Likewise.
11810 * io/posix_fallocate.c: Likewise.
11811 * io/posix_fallocate64.c: Likewise.
11812 * io/read.c: Likewise.
11813 * io/readlink.c: Likewise.
11814 * io/readlinkat.c: Likewise.
11815 * io/rmdir.c: Likewise.
11816 * io/sendfile.c: Likewise.
11817 * io/sendfile64.c: Likewise.
11818 * io/statfs.c: Likewise.
11819 * io/statfs64.c: Likewise.
11820 * io/statvfs.c: Likewise.
11821 * io/statvfs64.c: Likewise.
11822 * io/symlink.c: Likewise.
11823 * io/symlinkat.c: Likewise.
11824 * io/ttyname.c: Likewise.
11825 * io/ttyname_r.c: Likewise.
11826 * io/umask.c: Likewise.
11827 * io/unlink.c: Likewise.
11828 * io/unlinkat.c: Likewise.
11829 * io/utime.c: Likewise.
11830 * io/utimensat.c: Likewise.
11831 * io/write.c: Likewise.
11832 * io/xmknod.c: Likewise.
11833 * io/xmknodat.c: Likewise.
11834 * io/xstat.c: Likewise.
11835 * io/xstat64.c: Likewise.
11836 * login/getpt.c: Likewise.
11837 * login/grantpt.c: Likewise.
11838 * login/unlockpt.c: Likewise.
11839 * math/e_acoshl.c: Likewise.
11840 * math/e_acosl.c: Likewise.
11841 * math/e_asinl.c: Likewise.
11842 * math/e_atan2l.c: Likewise.
11843 * math/e_atanhl.c: Likewise.
11844 * math/e_coshl.c: Likewise.
11845 * math/e_expl.c: Likewise.
11846 * math/e_fmodl.c: Likewise.
11847 * math/e_gammal_r.c: Likewise.
11848 * math/e_hypotl.c: Likewise.
11849 * math/e_j0l.c: Likewise.
11850 * math/e_j1l.c: Likewise.
11851 * math/e_jnl.c: Likewise.
11852 * math/e_lgammal_r.c: Likewise.
11853 * math/e_log10l.c: Likewise.
11854 * math/e_log2l.c: Likewise.
11855 * math/e_logl.c: Likewise.
11856 * math/e_powl.c: Likewise.
11857 * math/e_rem_pio2l.c: Likewise.
11858 * math/e_sinhl.c: Likewise.
11859 * math/e_sqrtl.c: Likewise.
11860 * math/fclrexcpt.c: Likewise.
11861 * math/fedisblxcpt.c: Likewise.
11862 * math/feenablxcpt.c: Likewise.
11863 * math/fegetenv.c: Likewise.
11864 * math/fegetexcept.c: Likewise.
11865 * math/fegetround.c: Likewise.
11866 * math/feholdexcpt.c: Likewise.
11867 * math/fesetenv.c: Likewise.
11868 * math/fesetround.c: Likewise.
11869 * math/feupdateenv.c: Likewise.
11870 * math/fgetexcptflg.c: Likewise.
11871 * math/fraiseexcpt.c: Likewise.
11872 * math/fsetexcptflg.c: Likewise.
11873 * math/ftestexcept.c: Likewise.
11874 * math/k_cosl.c: Likewise.
11875 * math/k_rem_pio2l.c: Likewise.
11876 * math/k_sinl.c: Likewise.
11877 * math/k_tanl.c: Likewise.
11878 * math/s_asinhl.c: Likewise.
11879 * math/s_atanl.c: Likewise.
11880 * math/s_cbrtl.c: Likewise.
11881 * math/s_erfl.c: Likewise.
11882 * math/s_expm1l.c: Likewise.
11883 * math/s_log1pl.c: Likewise.
11884 * math/s_tanhl.c: Likewise.
11885 * misc/acct.c: Likewise.
11886 * misc/brk.c: Likewise.
11887 * misc/chflags.c: Likewise.
11888 * misc/chroot.c: Likewise.
11889 * misc/fchflags.c: Likewise.
11890 * misc/fgetxattr.c: Likewise.
11891 * misc/flistxattr.c: Likewise.
11892 * misc/fremovexattr.c: Likewise.
11893 * misc/fsetxattr.c: Likewise.
11894 * misc/fsync.c: Likewise.
11895 * misc/ftruncate.c: Likewise.
11896 * misc/futimes.c: Likewise.
11897 * misc/futimesat.c: Likewise.
11898 * misc/getdomain.c: Likewise.
11899 * misc/getdtsz.c: Likewise.
11900 * misc/gethostid.c: Likewise.
11901 * misc/gethostname.c: Likewise.
11902 * misc/getloadavg.c: Likewise.
11903 * misc/getpagesize.c: Likewise.
11904 * misc/getsysstats.c: Likewise.
11905 * misc/getxattr.c: Likewise.
11906 * misc/gtty.c: Likewise.
11907 * misc/ioctl.c: Likewise.
11908 * misc/lgetxattr.c: Likewise.
11909 * misc/listxattr.c: Likewise.
11910 * misc/llistxattr.c: Likewise.
11911 * misc/lremovexattr.c: Likewise.
11912 * misc/lsetxattr.c: Likewise.
11913 * misc/lutimes.c: Likewise.
11914 * misc/madvise.c: Likewise.
11915 * misc/mincore.c: Likewise.
11916 * misc/mlock.c: Likewise.
11917 * misc/mlockall.c: Likewise.
11918 * misc/mmap.c: Likewise.
11919 * misc/mprotect.c: Likewise.
11920 * misc/msync.c: Likewise.
11921 * misc/munlock.c: Likewise.
11922 * misc/munlockall.c: Likewise.
11923 * misc/munmap.c: Likewise.
11924 * misc/preadv.c: Likewise.
11925 * misc/preadv64.c: Likewise.
11926 * misc/ptrace.c: Likewise.
11927 * misc/pwritev.c: Likewise.
11928 * misc/pwritev64.c: Likewise.
11929 * misc/readv.c: Likewise.
11930 * misc/reboot.c: Likewise.
11931 * misc/remap_file_pages.c: Likewise.
11932 * misc/removexattr.c: Likewise.
11933 * misc/revoke.c: Likewise.
11934 * misc/select.c: Likewise.
11935 * misc/setdomain.c: Likewise.
11936 * misc/setegid.c: Likewise.
11937 * misc/seteuid.c: Likewise.
11938 * misc/sethostid.c: Likewise.
11939 * misc/sethostname.c: Likewise.
11940 * misc/setregid.c: Likewise.
11941 * misc/setreuid.c: Likewise.
11942 * misc/setxattr.c: Likewise.
11943 * misc/sstk.c: Likewise.
11944 * misc/stty.c: Likewise.
11945 * misc/swapoff.c: Likewise.
11946 * misc/swapon.c: Likewise.
11947 * misc/sync.c: Likewise.
11948 * misc/syncfs.c: Likewise.
11949 * misc/syscall.c: Likewise.
11950 * misc/truncate.c: Likewise.
11951 * misc/ualarm.c: Likewise.
11952 * misc/usleep.c: Likewise.
11953 * misc/ustat.c: Likewise.
11954 * misc/utimes.c: Likewise.
11955 * misc/vhangup.c: Likewise.
11956 * misc/writev.c: Likewise.
11957 * posix/_exit.c: Likewise.
11958 * posix/alarm.c: Likewise.
11959 * posix/execve.c: Likewise.
11960 * posix/fexecve.c: Likewise.
11961 * posix/fork.c: Likewise.
11962 * posix/fpathconf.c: Likewise.
11963 * posix/getaddrinfo.c: Likewise.
11964 * posix/getegid.c: Likewise.
11965 * posix/geteuid.c: Likewise.
11966 * posix/getgid.c: Likewise.
11967 * posix/getgroups.c: Likewise.
11968 * posix/getlogin.c: Likewise.
11969 * posix/getlogin_r.c: Likewise.
11970 * posix/getpgid.c: Likewise.
11971 * posix/getpid.c: Likewise.
11972 * posix/getppid.c: Likewise.
11973 * posix/getresgid.c: Likewise.
11974 * posix/getresuid.c: Likewise.
11975 * posix/getsid.c: Likewise.
11976 * posix/getuid.c: Likewise.
11977 * posix/glob64.c: Likewise.
11978 * posix/nanosleep.c: Likewise.
11979 * posix/pathconf.c: Likewise.
11980 * posix/pause.c: Likewise.
11981 * posix/posix_madvise.c: Likewise.
11982 * posix/pread.c: Likewise.
11983 * posix/pread64.c: Likewise.
11984 * posix/pwrite.c: Likewise.
11985 * posix/pwrite64.c: Likewise.
11986 * posix/sched_getaffinity.c: Likewise.
11987 * posix/sched_getp.c: Likewise.
11988 * posix/sched_gets.c: Likewise.
11989 * posix/sched_primax.c: Likewise.
11990 * posix/sched_primin.c: Likewise.
11991 * posix/sched_rr_gi.c: Likewise.
11992 * posix/sched_setaffinity.c: Likewise.
11993 * posix/sched_setp.c: Likewise.
11994 * posix/sched_sets.c: Likewise.
11995 * posix/sched_yield.c: Likewise.
11996 * posix/setgid.c: Likewise.
11997 * posix/setlogin.c: Likewise.
11998 * posix/setpgid.c: Likewise.
11999 * posix/setresgid.c: Likewise.
12000 * posix/setresuid.c: Likewise.
12001 * posix/setsid.c: Likewise.
12002 * posix/setuid.c: Likewise.
12003 * posix/sleep.c: Likewise.
12004 * posix/spawni.c: Likewise.
12005 * posix/sysconf.c: Likewise.
12006 * posix/times.c: Likewise.
12007 * posix/wait.c: Likewise.
12008 * posix/wait3.c: Likewise.
12009 * posix/wait4.c: Likewise.
12010 * posix/waitpid.c: Likewise.
12011 * resolv/gai_sigqueue.c: Likewise.
12012 * resource/getpriority.c: Likewise.
12013 * resource/getrlimit.c: Likewise.
12014 * resource/getrusage.c: Likewise.
12015 * resource/nice.c: Likewise.
12016 * resource/setpriority.c: Likewise.
12017 * resource/setrlimit.c: Likewise.
12018 * resource/ulimit.c: Likewise.
12019 * rt/aio_cancel.c: Likewise.
12020 * rt/aio_fsync.c: Likewise.
12021 * rt/aio_read.c: Likewise.
12022 * rt/aio_sigqueue.c: Likewise.
12023 * rt/aio_suspend.c: Likewise.
12024 * rt/aio_write.c: Likewise.
12025 * rt/clock_getres.c: Likewise.
12026 * rt/clock_gettime.c: Likewise.
12027 * rt/clock_nanosleep.c: Likewise.
12028 * rt/clock_settime.c: Likewise.
12029 * rt/lio_listio.c: Likewise.
12030 * rt/mq_close.c: Likewise.
12031 * rt/mq_getattr.c: Likewise.
12032 * rt/mq_notify.c: Likewise.
12033 * rt/mq_open.c: Likewise.
12034 * rt/mq_receive.c: Likewise.
12035 * rt/mq_send.c: Likewise.
12036 * rt/mq_setattr.c: Likewise.
12037 * rt/mq_timedreceive.c: Likewise.
12038 * rt/mq_timedsend.c: Likewise.
12039 * rt/mq_unlink.c: Likewise.
12040 * rt/shm_open.c: Likewise.
12041 * rt/shm_unlink.c: Likewise.
12042 * rt/timer_create.c: Likewise.
12043 * rt/timer_delete.c: Likewise.
12044 * rt/timer_getoverr.c: Likewise.
12045 * rt/timer_gettime.c: Likewise.
12046 * rt/timer_settime.c: Likewise.
12047 * setjmp/__longjmp.c: Likewise.
12048 * setjmp/setjmp.c: Likewise.
12049 * signal/kill.c: Likewise.
12050 * signal/killpg.c: Likewise.
12051 * signal/raise.c: Likewise.
12052 * signal/sigaction.c: Likewise.
12053 * signal/sigaltstack.c: Likewise.
12054 * signal/sigblock.c: Likewise.
12055 * signal/sigignore.c: Likewise.
12056 * signal/sigintr.c: Likewise.
12057 * signal/signal.c: Likewise.
12058 * signal/sigpause.c: Likewise.
12059 * signal/sigpending.c: Likewise.
12060 * signal/sigqueue.c: Likewise.
12061 * signal/sigreturn.c: Likewise.
12062 * signal/sigset.c: Likewise.
12063 * signal/sigsetmask.c: Likewise.
12064 * signal/sigstack.c: Likewise.
12065 * signal/sigsuspend.c: Likewise.
12066 * signal/sigtimedwait.c: Likewise.
12067 * signal/sigvec.c: Likewise.
12068 * signal/sigwait.c: Likewise.
12069 * signal/sigwaitinfo.c: Likewise.
12070 * signal/sysv_signal.c: Likewise.
12071 * socket/accept.c: Likewise.
12072 * socket/accept4.c: Likewise.
12073 * socket/bind.c: Likewise.
12074 * socket/connect.c: Likewise.
12075 * socket/getpeername.c: Likewise.
12076 * socket/getsockname.c: Likewise.
12077 * socket/getsockopt.c: Likewise.
12078 * socket/isfdtype.c: Likewise.
12079 * socket/listen.c: Likewise.
12080 * socket/recv.c: Likewise.
12081 * socket/recvfrom.c: Likewise.
12082 * socket/recvmsg.c: Likewise.
12083 * socket/send.c: Likewise.
12084 * socket/sendmsg.c: Likewise.
12085 * socket/sendto.c: Likewise.
12086 * socket/setsockopt.c: Likewise.
12087 * socket/shutdown.c: Likewise.
12088 * socket/sockatmark.c: Likewise.
12089 * socket/socket.c: Likewise.
12090 * socket/socketpair.c: Likewise.
12091 * stdio-common/ctermid.c: Likewise.
12092 * stdio-common/cuserid.c: Likewise.
12093 * stdio-common/remove.c: Likewise.
12094 * stdio-common/rename.c: Likewise.
12095 * stdio-common/renameat.c: Likewise.
12096 * stdio-common/tempname.c: Likewise.
12097 * stdlib/getcontext.c: Likewise.
12098 * stdlib/makecontext.c: Likewise.
12099 * stdlib/setcontext.c: Likewise.
12100 * stdlib/swapcontext.c: Likewise.
12101 * stdlib/system.c: Likewise.
12102 * streams/fattach.c: Likewise.
12103 * streams/fdetach.c: Likewise.
12104 * streams/getmsg.c: Likewise.
12105 * streams/getpmsg.c: Likewise.
12106 * streams/putmsg.c: Likewise.
12107 * streams/putpmsg.c: Likewise.
12108 * sysdeps/unix/bsd/getpt.c: Likewise.
12109 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12110 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12111 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12115 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12116 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12117 * sysvipc/msgctl.c: Likewise.
12118 * sysvipc/msgget.c: Likewise.
12119 * sysvipc/msgrcv.c: Likewise.
12120 * sysvipc/msgsnd.c: Likewise.
12121 * sysvipc/semctl.c: Likewise.
12122 * sysvipc/semget.c: Likewise.
12123 * sysvipc/semop.c: Likewise.
12124 * sysvipc/semtimedop.c: Likewise.
12125 * sysvipc/shmat.c: Likewise.
12126 * sysvipc/shmctl.c: Likewise.
12127 * sysvipc/shmdt.c: Likewise.
12128 * sysvipc/shmget.c: Likewise.
12129 * termios/tcdrain.c: Likewise.
12130 * termios/tcflow.c: Likewise.
12131 * termios/tcflush.c: Likewise.
12132 * termios/tcgetattr.c: Likewise.
12133 * termios/tcgetpgrp.c: Likewise.
12134 * termios/tcsendbrk.c: Likewise.
12135 * termios/tcsetattr.c: Likewise.
12136 * termios/tcsetpgrp.c: Likewise.
12137 * time/adjtime.c: Likewise.
12138 * time/clock.c: Likewise.
12139 * time/getitimer.c: Likewise.
12140 * time/gettimeofday.c: Likewise.
12141 * time/setitimer.c: Likewise.
12142 * time/settimeofday.c: Likewise.
12143 * time/stime.c: Likewise.
12144 * time/time.c: Likewise.
12145
121462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12147
a20492cf
PT
12148 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12149 /usr/old/bin.
12150
72e182e3
PT
12151 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12152 instead of spaces.
12153 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12154
fbeafede
JM
121552012-11-03 Joseph Myers <joseph@codesourcery.com>
12156
5b5b04d6
JM
12157 [BZ #14796]
12158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12159 FE_TONEAREST before applying Dekker multiplication and Knuth
12160 addition. Clear inexact exceptions and check for exact zero
12161 results afterwards.
12162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12163 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12165 * math/libm-test.inc (fma_test): Add more tests.
12166 (fma_test_towardzero): Likewise.
12167 (fma_test_downward): Likewise.
12168 (fma_test_upward): Likewise.
12169 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12170 function.
12171 (libc_fesetround): New macro.
12172 (libc_fesetroundf): Likewise.
12173 (libc_fesetroundl): Likewise.
12174 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12175 function.
12176 (libc_fesetround_387): Likewise.
12177 (libc_fesetroundf): New macro.
12178 (libc_fesetround): Likewise.
12179 (libc_fesetroundl): Likewise.
12180 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12181 function.
12182 (libc_fesetroundf): New macro.
12183 (libc_fesetround): Likewise.
12184 (libc_fesetroundl): Likewise.
12185 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12186 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12187 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12188 libm_hidden_ver.
12189 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12190 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12191 libm_hidden_def.
12192 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12193 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12194 libm_hidden_ver.
12195 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12196 libm_hidden_def.
12197
fbeafede
JM
12198 [BZ #3439]
12199 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12200 integer constant usable in #if and use that to give value to enum
12201 constant.
12202 (FE_DIVBYZERO): Likewise.
12203 (FE_UNDERFLOW): Likewise.
12204 (FE_OVERFLOW): Likewise.
12205 (FE_INVALID): Likewise.
12206 (FE_INVALID_SNAN): Likewise.
12207 (FE_INVALID_ISI): Likewise.
12208 (FE_INVALID_IDI): Likewise.
12209 (FE_INVALID_ZDZ): Likewise.
12210 (FE_INVALID_IMZ): Likewise.
12211 (FE_INVALID_COMPARE): Likewise.
12212 (FE_INVALID_SOFTWARE): Likewise.
12213 (FE_INVALID_SQRT): Likewise.
12214 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12215 (FE_TONEAREST): Likewise.
12216 (FE_TOWARDZERO): Likewise.
12217 (FE_UPWARD): Likewise.
12218 (FE_DOWNWARD): Likewise.
12219 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12220 (FE_DIVBYZERO): Likewise.
12221 (FE_OVERFLOW): Likewise.
12222 (FE_UNDERFLOW): Likewise.
12223 (FE_INEXACT): Likewise.
12224 (FE_TONEAREST): Likewise.
12225 (FE_DOWNWARD): Likewise.
12226 (FE_UPWARD): Likewise.
12227 (FE_TOWARDZERO): Likewise.
12228 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12229 (FE_UNDERFLOW): Likewise.
12230 (FE_OVERFLOW): Likewise.
12231 (FE_DIVBYZERO): Likewise.
12232 (FE_INVALID): Likewise.
12233 (FE_TONEAREST): Likewise.
12234 (FE_TOWARDZERO): Likewise.
12235 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12236 (FE_OVERFLOW): Likewise.
12237 (FE_UNDERFLOW): Likewise.
12238 (FE_DIVBYZERO): Likewise.
12239 (FE_INEXACT): Likewise.
12240 (FE_TONEAREST): Likewise.
12241 (FE_TOWARDZERO): Likewise.
12242 (FE_UPWARD): Likewise.
12243 (FE_DOWNWARD): Likewise.
12244 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12245 (FE_DIVBYZERO): Likewise.
12246 (FE_OVERFLOW): Likewise.
12247 (FE_UNDERFLOW): Likewise.
12248 (FE_INEXACT): Likewise.
12249 (FE_TONEAREST): Likewise.
12250 (FE_DOWNWARD): Likewise.
12251 (FE_UPWARD): Likewise.
12252 (FE_TOWARDZERO): Likewise.
12253
105ca950
CM
122542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12255
12256 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12257
a542b389
AS
122582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12259
12260 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12261 commands. Quote $PWD.
12262 (blacklist_exports): Don't use remove_newlines. Replace "declare
12263 -x" by "export".
12264 (remove_newlines): Remove.
12265
f62c8abc
L
122662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12269 * stdlib/stdlib.h (atof): Moved to ...
12270 * include/bits/stdlib-float.h: Here. New file.
12271 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12272 * stdlib/bits/stdlib-float.h: New file.
12273 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12274 -mno-sse -mno-mmx.
12275 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12276 <xmmintrin.h>.
12277
0155d5b2
JM
122782012-11-02 Joseph Myers <joseph@codesourcery.com>
12279
a68d0680
JM
12280 * conform/conformtest.pl (@headers): Add fenv.h.
12281 * conform/data/fenv.h-data: New file.
12282 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12283 include of <math/fenv.h>.
12284
caf7f573
JM
12285 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12286 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12287 && !UNIX98]. Enables tests for XOPEN2K8.
12288 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12289 POSIX2008]: Likewise.
12290
6c073ad6
JM
12291 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12292 (struct rusage): Do not expect type or its members.
12293
0155d5b2
JM
12294 [BZ #3439]
12295 * math/math.h (FP_NAN): Define macro to integer constant usable in
12296 #if and use that to give value to enum constant.
12297 (FP_INFINITE): Likewise.
12298 (FP_ZERO): Likewise.
12299 (FP_SUBNORMAL): Likewise.
12300 (FP_NORMAL): Likewise.
12301
b5dcacb4
AS
123022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12303
12304 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12305 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12306 arguments.
12307
f7934be8
RM
123082012-11-02 Roland McGrath <roland@hack.frob.com>
12309
12310 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12311 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12312 autoconf-time if not.
12313 * configure.in: Remove AC_PREREQ.
12314
d7d08bde
TMQMF
123152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12316
12317 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12318 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12319 of the internal implementation.
12320
dcdae19a
JM
123212012-11-02 Joseph Myers <joseph@codesourcery.com>
12322
12323 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12324 except include of <misc/sys/syslog.h>.
12325
d6cffd3e
AS
123262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12327
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12329 function returns with a NULL context exit with zero.
12330
b3563932
TMQMF
123312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12332
12333 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12334
b288a93d
L
123352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12338 (run_program_cmd): This.
12339 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12340 (tst_langinfo): New variable. Use it.
12341
a2421a68
SAS
123422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12343
12344 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12345 floating point opcodes.
12346
6f796e1b
TS
123472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12348
7402596b
TS
12349 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12350 variable.
12351
d0d4f868
TS
12352 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12353
6f796e1b
TS
12354 * sysdeps/mach/hurd/powerpc: Remove directory.
12355 * sysdeps/mach/powerpc: Likewise.
12356
4da224a2
AS
123572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12358
12359 * scripts/check-local-headers.sh: Ignore c++ headers.
12360
341dd673
TS
123612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12362
12363 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12364 __libc_cleanup_region_start argument.
12365
473611b2
JM
123662012-11-01 Joseph Myers <joseph@codesourcery.com>
12367
12368 [BZ #14784]
12369 [BZ #14785]
12370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12371 x * y using scaling, not as x * y + z.
12372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12374 * math/libm-test.inc (fma_test): Add more tests.
12375 (fma_test_towardzero): Likewise.
12376 (fma_test_downward): Likewise.
12377 (fma_test_upward): Likewise.
12378
4078da3d
TS
123792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12380
12381 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12382
903252aa
JM
123832012-10-31 Joseph Myers <joseph@codesourcery.com>
12384
12385 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12386 New variable.
12387
cbc818d0
TS
123882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12389
12390 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12391
5a03cb1e
AS
123922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12393
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12395 Fix sort order.
12396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12397 Likewise.
12398
90aff2ff
TMQMF
123992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12400
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12402 Fix the order of the list for glibc 2.17.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12404 Likewise.
12405
1818fcb7
AS
124062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12407
12408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12409
ef82f4da
JM
124102012-10-31 Joseph Myers <joseph@codesourcery.com>
12411
16a0e2ec
JM
12412 [BZ #14610]
12413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12414 for low part of x being zero before using __atanl (y).
12415 * math/libm-test.inc (atan2_test): Add another test.
12416
0eb69512
JM
12417 * manual/install.texi (Configuring and compiling): Document
12418 general use of test-wrapper and test-wrapper-env.
12419 * INSTALL: Regenerated.
12420
ef82f4da
JM
12421 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12422 (__fma): Do not extract and scale down low bits on after-rounding
12423 systems when result rounded to normal precision would have normal
12424 exponent.
12425 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12426 (__fmal): Do not extract and scale down low bits on after-rounding
12427 systems when result rounded to normal precision would have normal
12428 exponent.
12429 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12430 (__fmal): Do not extract and scale down low bits on after-rounding
12431 systems when result rounded to normal precision would have normal
12432 exponent.
12433 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12434 macro.
12435 (fma_test): Add more tests.
12436 (fma_test_towardzero): Likewise.
12437 (fma_test_downward): Likewise.
12438 (fma_test_upward): Likewise.
12439
954ef0d9
L
124402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12441
12442 * sysdeps/i386/tininess.h: Renamed to ...
12443 * sysdeps/x86/tininess.h: This.
12444 * sysdeps/x86_64/tininess.h: Removed.
12445
df61ffb2
JM
124462012-10-30 Joseph Myers <joseph@codesourcery.com>
12447
12448 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12449 input. Use $(build-program-cmd).
12450 ($(objpfx)tst-array1-static.out): Likewise.
12451 ($(objpfx)tst-array2.out): Likewise.
12452 ($(objpfx)tst-array3.out): Likewise.
12453 ($(objpfx)tst-array4.out): Likewise.
12454 ($(objpfx)tst-array5.out): Likewise.
12455 ($(objpfx)tst-array5-static.out): Likewise.
12456
01767843
CM
124572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12458
47cc1490
CM
12459 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12460 if defined.
12461
01767843
CM
12462 * nss/nsswitch.h (nss_interface_function): Provide new
12463 macro for use with NSS functions.
12464 * grp/initgroups.c: Use new macro.
12465 * nss/getXXbyYY.c: Likewise.
12466 * nss/getXXbyYY_r.c: Likewise.
12467 * nss/getXXent.c: Likewise.
12468 * nss/getXXent_r.c: Likewise.
12469 * sysdeps/posix/getaddrinfo.c: Likewise.
12470
8321aa97
AJ
124712012-10-30 Andreas Jaeger <aj@suse.de>
12472
12473 * po/ru.po: Update Russion translation from translation project.
12474
2a27fd6d
JM
124752012-10-30 Joseph Myers <joseph@codesourcery.com>
12476
8627a232
JM
12477 [BZ #14152]
12478 [BZ #14783]
12479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12480 result and shift together with sticky bit instead of replicating
12481 round-to-nearest rounding.
12482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12484 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12485 missing underflow exceptions.
12486 (fma_test_towardzero): Add more tests.
12487 (fma_test_downward): Likewise.
12488 (fma_test_upward): Likewise.
12489
2a27fd6d
JM
12490 [BZ #14047]
12491 * sysdeps/generic/tininess.h: New file.
12492 * sysdeps/i386/tininess.h: Likewise.
12493 * sysdeps/sh/tininess.h: Likewise.
12494 * sysdeps/x86_64/tininess.h: Likewise.
12495 * stdlib/tst-strtod-underflow.c: Likewise.
12496 * stdlib/tst-tininess.c: Likewise.
12497 * stdlib/strtod_l.c: Include <tininess.h>.
12498 (round_and_return): Do not set errno for exact underflow cases.
12499 Force an underflow exception when setting errno for underflow.
12500 Determine underflow based on rounding to normal precision if
12501 TININESS_AFTER_ROUNDING.
12502 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12503 ERANGE for exact underflow cases.
12504 * stdlib/Makefile (tests): Add tst-tininess and
12505 tst-strtod-underflow.
12506 ($(objpfx)tst-tininess): Use $(link-libm).
12507 ($(objpfx)tst-strtod-underflow): Likewise.
12508
e7170363
AJ
125092012-10-30 Andreas Jaeger <aj@suse.de>
12510
e5088dc6
AJ
12511 [BZ#14767]
12512 * elf/Makefile (tests): Remove conditional for have-initfini-array
12513 since this is now always required and the variable does not exist
12514 anymore.
12515 (tests-static): Likewise.
12516 (modules-names): Likewise.
12517
e7170363 12518 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12519
12520 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12521 merged with constructor/destructor.
12522 (init_array): Likewise.
12523 * elf/tst-array2dep.c (fini_array): Likewise.
12524 (init_array): Likewise.
12525
60457d8a
MF
125262012-10-29 Mike Frysinger <vapier@gentoo.org>
12527
12528 * manual/message.texi: Delete @cartouche tags.
12529
8bece752
PT
125302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12531
94ce799f
PT
12532 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12533 EOPNOTSUPP.
12534 * sysdeps/mach/hurd/fsync.c: Likewise.
12535
8bece752
PT
12536 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12537 [_POSIX_REALTIME_SIGNALS]: Change condition to
12538 [_POSIX_REALTIME_SIGNALS > 0].
12539
86ebe6b1
AJ
125402012-10-27 Andreas Jaeger <aj@suse.de>
12541
12542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12543 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12545 [__WORDSIZE != 64]: Likewise.
12546
54399c08
L
125472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12548
12549 * iconvdata/tst-table.sh: Remove ${SHELL}.
12550 * iconvdata/tst-tables.sh: Likewise.
12551
e2211bed
DM
125522012-10-25 David S. Miller <davem@davemloft.net>
12553
12554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12555 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12556 of strtoull.
12557
f303f97c
DM
12558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12559 ifunc-impl-list.c
12560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12561 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12562 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12563 file.
12564
1e9d84cd
RM
125652012-10-25 Roland McGrath <roland@hack.frob.com>
12566
12567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12568 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12569 __getdirentries.
12570
df381762
JM
125712012-10-25 Joseph Myers <joseph@codesourcery.com>
12572 Jim Blandy <jimb@codesourcery.com>
12573
12574 * scripts/cross-test-ssh.sh: New file.
12575 * manual/install.texi (Configuring and compiling): Document use of
12576 cross-test-ssh.sh.
12577 * INSTALL: Regenerated.
12578
bff64913
PT
125792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12580
12581 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12582 EOPNOTSUPP.
12583
25fe8932
JM
125842012-10-25 Joseph Myers <joseph@codesourcery.com>
12585
12586 * Makeconfig (run-program-prefix): Fix comment.
12587
cc1290d0
JM
125882012-10-24 Joseph Myers <joseph@codesourcery.com>
12589 Jim Blandy <jimb@codesourcery.com>
12590
12591 * Makeconfig (test-wrapper): New variable,
12592 (test-wrapper-env): Likewise.
12593 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12594 (run-built-tests): Define to yes.
12595 (run-program-prefix): Use $(test-wrapper).
12596 (built-program-cmd): Likewise.
12597 * Rules (make-test-out): Use $(test-wrapper-env) and
12598 $(host-built-program-cmd).
12599 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12600 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12601 tst-pathopt.sh.
12602 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12603 $(test-wrapper-env) to tst-rtld-load-self.sh.
12604 ($(objpfx)order2.out): Use $(test-wrapper).
12605 ($(objpfx)tst-initorder.out): Likewise.
12606 ($(objpfx)tst-initorder2.out): Likewise.
12607 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12608 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12609 (test_wrapper_env): New variable. Use it to run ld.so.
12610 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12611 Use it to run ld.so.
12612 (test_wrapper_env): Likewise.
12613 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12614 $(test-wrapper) to run-iconv-test.sh.
12615 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12616 (ICONV): Use $test_wrapper.
12617 * posix/Makefile ($(objpfx)globtest.out): Pass
12618 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12619 globtest.sh, not $(run-program-prefix).
12620 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12621 (test_wrapper): Likewise.
12622 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12623 set together with run_via_rtld_prefix.
12624 (run_program_prefix): Define in terms of test_wrapper and
12625 run_via_rtld_prefix.
12626
6e6249d0
RM
126272012-10-24 Roland McGrath <roland@hack.frob.com>
12628
12629 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12630 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12631 Targets removed.
12632
12633 [BZ #14743]
12634 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12635 Declare __clock_getres, __clock_gettime, __clock_settime,
12636 __clock_nanosleep, and __clock_getcpuclockid.
12637 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12638 Remove librt_hidden_def (clock_gettime).
12639 * sysdeps/unix/clock_gettime.c: Likewise.
12640 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12642 * rt/clock_getres.c: Define __clock_getres as an alias.
12643 * sysdeps/posix/clock_getres.c: Likewise.
12644 * rt/clock_settime.c: Define __clock_settime as an alias.
12645 * sysdeps/unix/clock_settime.c: Likewise.
12646 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12647 * sysdeps/unix/clock_nanosleep.c: Likewise.
12648 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12649 * rt/clock-compat.c: New file.
12650 * rt/Makefile (librt-routines): Add clock-compat and move
12651 $(clock-routines) to ...
12652 (routines): ... here, new variable.
12653 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12654 Don't add get_clockfreq here.
12655 * rt/Versions (libc: GLIBC_2.17): New version set.
12656 Add clock_* symbols here.
12657 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12659 (GLIBC_2.17): Add clock_* symbols.
12660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12664 Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12666 Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12671 * NEWS: Mention the move.
12672
12673 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12674 Use __open, __read, __close rather than their public counterparts.
12675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12676 (__get_clockfreq_via_cpuinfo): Likewise.
12677 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12678 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12679
12680 * config.h.in (HAVE_IFUNC): New #undef.
12681 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12682 was successful.
12683 * configure: Regenerated.
12684
0cae3f4b
MF
126852012-10-24 Mike Frysinger <vapier@gentoo.org>
12686
12687 * configure.in: Move READELF check to start of file.
12688 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12689 libc_cv_asm_gnu_indirect_function in the process.
12690 * configure: Regenerated.
12691
8175a253
MF
126922012-10-24 Mike Frysinger <vapier@gentoo.org>
12693
12694 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12695 send the output to /dev/null.
12696 (libc_cv_cc_with_libunwind): Likewise.
12697 (libc_cv_as_noexecstack): Likewise.
12698 * configure: Regenerate.
12699
0708a7d1
JM
127002012-10-24 Joseph Myers <joseph@codesourcery.com>
12701
10b40d85
JM
12702 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12703
0708a7d1
JM
12704 * posix/globtest.sh (TMPDIR): Do not set.
12705 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12706 (testout): Likewise.
12707
9fddec1a
AJ
127082012-10-24 Andreas Jaeger <aj@suse.de>
12709
3a8db22f
AJ
12710 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12711 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12712 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12713 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12714 posix_fadvise64, posix_fallocate64.
12715
9fddec1a
AJ
12716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12717 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12718 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12719 Likewise.
12720 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12721 Likewise.
12722 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12723
12724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12725 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12726 <bits/fcntl-linux.h>.
12727 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12728
12729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12730 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12731 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12732 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12733 [__WORDSIZE != 64]: Likewise.
12734
ebfd1bbd
JM
127352012-10-23 Joseph Myers <joseph@codesourcery.com>
12736
03ac099f
JM
12737 * Makeconfig (run-built-tests): New variable.
12738 * Rules [$(cross-compiling) = yes]: Change condition to
12739 [$(run-built-tests) = no].
12740 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12741 to [$(run-built-tests) = yes].
12742 * elf/Makefile [$(cross-compiling) = no]: Likewise
12743 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12744 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12745 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12746 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12747 * io/Makefile [$(cross-compiling) = no]: Likewise.
12748 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12749 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12750 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12751 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12752 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12753 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12754 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12755 * string/Makefile [$(cross-compiling) = no]: Likewise.
12756
ebfd1bbd
JM
12757 * posix/Makefile ($(objpfx)globtest.out): Pass
12758 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12759 $(rtld-installed-name).
12760 * posix/globtest.sh (elf_objpfx): Remove variable.
12761 (rtld_installed_name): Likewise.
12762 (library_path): Likewise.
12763 (run_program_prefix): New variable. Use for running globtest
12764 binary.
12765
166bca24
JB
127662012-10-23 Jim Blandy <jimb@codesourcery.com>
12767 Joseph Myers <joseph@codesourcery.com>
12768
12769 * Makeconfig (host-built-program-cmd): New variable.
12770 * elf/Makefile (tst-stackguard1-ARGS): Use
12771 $(host-built-program-cmd).
12772 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12773 (tst-spawn-ARGS): Likewise.
12774 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12775
88866099
JM
127762012-10-23 Joseph Myers <joseph@codesourcery.com>
12777 Jim Blandy <jimb@codesourcery.com>
12778
12779 * Makeconfig (run-via-rtld-prefix): New variable.
12780 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12781 (built-program-cmd): Likewise.
12782
b4b4c296
AJ
127832012-10-22 Andreas Jaeger <aj@suse.de>
12784
12785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12786 __O_RSYNC if it exists, otherwise to O_SYNC.
12787
6fb54a22
JB
127882012-10-22 Jim Blandy <jimb@codesourcery.com>
12789 Joseph Myers <joseph@codesourcery.com>
12790
12791 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12792 /dev/null.
12793 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12794 from /dev/null
12795 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12796 /dev/null.
12797
481b90b9
AJ
127982012-10-22 Andreas Jaeger <aj@suse.de>
12799
2a0e2669
AJ
12800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12801 Define always.
12802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12803
76e38f9a
AJ
12804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12805 bits/fcntl-linux.h.
12806
7cd37b43
AJ
12807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12808 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12809
481b90b9
AJ
12810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12811 to __O_LARGEFILE.
12812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12813 to __O_LARGEFILE.
12814
aba75984
JB
128152012-10-21 Jim Blandy <jimb@codesourcery.com>
12816 Joseph Myers <joseph@codesourcery.com>
12817
12818 * config.make.in (NM): New variable.
12819
88d4247f
AJ
128202012-10-21 Andreas Jaeger <aj@suse.de>
12821
12822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12823 definitions and declarations that are provided by
12824 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12825
f2eed205
L
128262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 [BZ #14683]
12829 * elf/Makefile (tests-static): Add tst-leaks1-static.
12830 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12831 ($(objpfx)tst-leaks1-static): New rule.
12832 ($(objpfx)tst-leaks1-static-mem): Likewise.
12833 (tst-leaks1-static-ENV): New macro.
12834 * elf/dl-open.c (dl_open_worker): Check the main application
12835 only if SHARED is defined.
12836 * elf/tst-leaks1-static.c: New file.
12837
335e6931
AJ
128382012-10-20 Andreas Jaeger <aj@suse.de>
12839
12840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12841 generic values for Linux.
12842 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12843 and declarations that are provided by <bits/fcntl-linux.h> and
12844 include <bits/fcntl-linux.h>.
12845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12847
ac5c94d3
RM
128482012-10-20 Roland McGrath <roland@hack.frob.com>
12849
12850 * io/fcntl.h: Move include of <bits/types.h> to the top and
12851 include it unconditionally.
12852
de54b33a
L
128532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12854
228cfb01
L
12855 * wcsmbs/Makefile (tests-ifunc): New variable.
12856 (tests): Add $(tests-ifunc).
12857 * wcsmbs/test-wcschr-ifunc.c: New file.
12858 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12859 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12860 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12861 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12862 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12863
69f07e5f
L
12864 * string/Makefile (tests-ifunc): New variable.
12865 (tests): Add $(tests-ifunc).
12866 * string/test-memccpy.c (TEST_NAME): New macro.
12867 * string/test-memchr.c (TEST_NAME): Likewise.
12868 * string/test-memcmp.c (TEST_NAME): Likewise.
12869 * string/test-memcpy.c (TEST_NAME): Likewise.
12870 * string/test-memmem.c (TEST_NAME): Likewise.
12871 * string/test-memmove.c (TEST_NAME): Likewise.
12872 * string/test-memset.c (TEST_NAME): Likewise.
12873 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12874 * string/test-stpcpy.c (TEST_NAME): Likewise.
12875 * string/test-stpncpy.c (TEST_NAME): Likewise.
12876 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12877 * string/test-strcasestr.c (TEST_NAME): Likewise.
12878 * string/test-strcat.c (TEST_NAME): Likewise.
12879 * string/test-strchr.c (TEST_NAME): Likewise.
12880 * string/test-strcmp.c(TEST_NAME): Likewise.
12881 * string/test-strcpy.c (TEST_NAME): Likewise.
12882 * string/test-strcspn.c (TEST_NAME): Likewise.
12883 * string/test-strlen.c (TEST_NAME): Likewise.
12884 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12885 * string/test-strncmp.c (TEST_NAME): Likewise.
12886 * string/test-strncpy.c (TEST_NAME): Likewise.
12887 * string/test-strnlen.c (TEST_NAME): Likewise.
12888 * string/test-strpbrk.c (TEST_NAME): Likewise.
12889 * string/test-strrchr.c (TEST_NAME): Likewise.
12890 * string/test-strspn.c (TEST_NAME): Likewise.
12891 * string/test-strstr.c (TEST_NAME): Likewise.
12892 * string/test-bcopy-ifunc.c: New file.
12893 * string/test-bzero-ifunc.c: Likewise.
12894 * string/test-memccpy-ifunc.c: Likewise.
12895 * string/test-memchr-ifunc.c: Likewise.
12896 * string/test-memcmp-ifunc.c: Likewise.
12897 * string/test-memcpy-ifunc.c: Likewise.
12898 * string/test-memmem-ifunc.c: Likewise.
12899 * string/test-memmove-ifunc.c: Likewise.
12900 * string/test-mempcpy-ifunc.c: Likewise.
12901 * string/test-memset-ifunc.c: Likewise.
12902 * string/test-rawmemchr-ifunc.c: Likewise.
12903 * string/test-stpcpy-ifunc.c: Likewise.
12904 * string/test-stpncpy-ifunc.c: Likewise.
12905 * string/test-strcasecmp-ifunc.c: Likewise.
12906 * string/test-strcasestr-ifunc.c: Likewise.
12907 * string/test-strcat-ifunc.c: Likewise.
12908 * string/test-strchr-ifunc.c: Likewise.
12909 * string/test-strchrnul-ifunc.c: Likewise.
12910 * string/test-strcmp-ifunc.c: Likewise.
12911 * string/test-strcpy-ifunc.c: Likewise.
12912 * string/test-strcspn-ifunc.c: Likewise.
12913 * string/test-strlen-ifunc.c: Likewise.
12914 * string/test-strncasecmp-ifunc.c: Likewise.
12915 * string/test-strncat-ifunc.c: Likewise.
12916 * string/test-strncmp-ifunc.c: Likewise.
12917 * string/test-strncpy-ifunc.c: Likewise.
12918 * string/test-strnlen-ifunc.c: Likewise.
12919 * string/test-strpbrk-ifunc.c: Likewise.
12920 * string/test-strrchr-ifunc.c: Likewise.
12921 * string/test-strspn-ifunc.c: Likewise.
12922 * string/test-strstr-ifunc.c: Likewise.
12923
de54b33a
L
12924 * debug/Makefile (tests-ifunc): New variable.
12925 (tests): Add $(tests-ifunc).
12926 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12927 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12928 * debug/test-stpcpy_chk-ifunc.c: New file.
12929 * debug/test-strcpy_chk-ifunc.c: Likewise.
12930
88481c16
SP
129312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12932
12933 [BZ #13601]
12934 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12935 header is not read in.
12936
135948bd
JM
129372012-10-19 Joseph Myers <joseph@codesourcery.com>
12938
89f1c388
JM
12939 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12940 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12941 directly. Pass built executable to script as
12942 $(built-program-cmd).
12943 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12944 $testprogram without using LD_LIBRARY_PATH and $ldso.
12945
e40a0d21
JM
12946 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12947 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12948 $(rtld-installed-name).
12949 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12950 (rtld_installed_name): Likewise.
12951 (library_path): Likewise.
12952 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12953 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12954 $(run-program-prefix) to tst-tables.sh.
12955 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12956 it to run tst-table-from and tst-table-to.
12957 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12958 Pass it to tst-table.sh.
12959 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12960 $(run-program-prefix) to tst-gettext.sh.
12961 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12962 tst-translit.sh.
12963 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12964 tst-gettext2.sh.
12965 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12966 to run tst-gettext.
12967 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12968 to run tst-gettext2.
12969 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12970 to run tst-translit.
12971 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12972 $(run-program-prefix) to tst-mtrace.sh.
12973 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12974 to run tst-mtrace.
12975 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12976 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12977 $(rtld-installed-name).
12978 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12979 (rtld_installed_name): Likewise.
12980 (run_program_prefix): New variable. Use it to run wordexp-test.
12981
728e272a
JM
12982 * Makeconfig (ARCH): Remove all definitions.
12983 (machine): Likewise.
12984 [ARCH]: Remove conditional code.
12985 [!objdir]: Give error.
12986 [!objdir] (objpfx): Remove.
12987 [!objdir] (common-objpfx): Likewise.
12988 [!objdir] (common-objdir): Likewise.
12989 * configure.in (config_makefile): Remove. Hardcode Makefile in
12990 AC_CONFIG_FILES call.
12991 * configure: Regenerated.
12992
d528cdcf
JM
12993 [BZ #13888]
12994 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12995 or TMPDIR.
12996 (testout): Likewise.
12997
135948bd
JM
12998 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12999 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13000 $(rtld-installed-name).
13001 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13002 (rtld_installed_name): Likwise.
13003 (runit): Remove function.
13004 (run_getconf): New variable, Use it for running getconf binary.
13005
38c78296
L
130062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13007
13008 [BZ #14716]
13009 * string/test-memmem.c (check_result): New function.
13010 (do_one_test): Use it.
13011 (check1): New function.
13012 (test_main): Use it.
13013
d077f65f
MT
130142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13015
13016 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13017
ced52c71
JM
130182012-10-18 Joseph Myers <joseph@codesourcery.com>
13019
13020 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13021 (_G_LSEEK64): Likewise.
13022 (_G_MMAP64): Likewise.
13023 (_G_FSTAT64): Likewise.
13024 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13025 (_G_LSEEK64): Likewise.
13026 (_G_MMAP64): Likewise.
13027 (_G_FSTAT64): Likewise.
13028 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13029 unconditional. Call __mmap64 directly.
13030 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13031 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13032 __lseek64 directly.
13033 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13034 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13035 __mmap64 directly.
13036 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13037 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13038 __lseek64 directly.
13039 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13040 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13041 __lseek64 directly.
13042 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13043 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13044 __lseek64 directly.
13045 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13046 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13047 __fxstat64 directly.
13048 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13049 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13050 unconditional.
13051 (freopen64) [!_G_OPEN64]: Remove conditional code.
13052 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13053 unconditional.
13054 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13055 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13056 unconditional.
13057 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13058 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13059 unconditional.
13060 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13061 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13062 unconditional.
13063 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13064 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13065 unconditional.
13066 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13067 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13068 unconditional.
13069 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13070 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13071 unconditional.
13072 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13073
b741de23
SP
130742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13075
13076 [BZ #12140]
13077 * manual/memory.texi (Malloc Tunable Parameters): Add note
13078 about free list pointers overwriting some perturb bytes.
13079 Wording suggested by Roland McGrath.
13080
f9b9d9c9
JM
130812012-10-17 Joseph Myers <joseph@codesourcery.com>
13082
13083 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13084 (lgamma_test): Likewise.
13085 (tgamma_test): Likewise.
13086
172a631a
FW
130872012-10-16 Florian Weimer <fweimer@redhat.com>
13088
13089 [BZ #14700]
13090 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13091 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13092
e9f37252
MK
130932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13094
13095 * NEWS: Mention BZ #14716.
13096 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13097 when removing AVAILABLE1_USES_J macro.
13098
d394eb74
L
130992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13102 (__bswap_64): __uint64_t for unsigned 64-bit int.
13103
ca38dc17
AS
131042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13105
13106 * include/string.h (memmem): Declare libc hidden alias.
13107 * string/memmem.c (memmem): Define libc hidden alias.
13108 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13109 __read, __close instead of open, read, close.
13110
9a387d1f
L
131112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13112
ac49ecaf
L
13113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13114 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13115 global and hidden.
13116 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13117 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13118 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13119 Likewise.
13120 (__rawmemchr_sse2): Likewise.
13121 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13122 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13123 (__strchr_sse2): Likewise.
13124 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13125 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13126 (__strcasecmp_sse2): Likewise.
13127 (__strncasecmp_sse2): Likewise.
13128 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13129 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13130 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13131 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13132 (__strrchr_sse2): Likewise.
13133 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13134 ifunc-impl-list.c.
13135 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13136 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13137 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13138 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13139 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13140 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13141 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13142 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13143 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13144 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13145 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13147 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13148 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13149 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13150 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13151 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13152 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13153 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13154 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13155 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13156 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13157 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13158 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13159 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13160 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13161 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13162 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13163 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13164 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13165
b090e8ea
L
13166 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13167 global and hidden.
13168 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13169 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13170 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13171 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13172 Likewise.
13173 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13174 Likewise.
13175 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13176 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13177 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13178 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13179 ifunc-impl-list.c.
13180 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13181 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13182 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13183 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13184 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13185 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13186 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13187 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13188 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13189 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13190 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13191 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13198 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13199 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13201 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13202 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13203 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13204 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13205 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13206 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13209 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13211 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13212 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13214 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13215 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13216 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13217 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13218 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13219 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13220 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13221
11dd4af6
L
13222 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13223 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13224 * include/ifunc-impl-list.h: New file.
13225 * misc/ifunc-impl-list.c: Likewise.
13226 * misc/Makefile (routines): Add ifunc-impl-list.
13227 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13228 * string/test-string.h: Include <ifunc-impl-list.h>.
13229 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13230 impl_array): New variables.
13231 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13232 are defined.
13233 (test_init): Call __libc_ifunc_impl_list to initialize
13234 func_list if TEST_IFUNC and TEST_NAME are defined.
13235
9a387d1f
L
13236 * string/Makefile (strop-tests): Add bcopy and bzero.
13237 * string/test-bcopy.c: New file.
13238 * string/test-bzero.c: Likewise.
13239 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13240 defined.
13241 * string/test-memset.c: Support bzero test if TEST_BZERO is
13242 defined.
13243 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13244 __libc_memmove.
13245 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13246 __libc_memset.
13247 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13248 of memset.
13249
472371b9
JM
132502012-10-10 Joseph Myers <joseph@codesourcery.com>
13251
1e4a9536
JM
13252 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13253 * configure: Regenerated.
13254
d173d12e
JM
13255 * Makeconfig (+link-static-before-libc): Don't include
13256 $(link-static-libc).
13257
472371b9
JM
13258 * libio/libio.h (_IO_pos_t): Remove.
13259
89a3ad0b
AO
132602012-10-10 Alexandre Oliva <aoliva@redhat.com>
13261
13262 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13263 McGrath.
13264
e7451425
AO
132652012-10-10 Alexandre Oliva <aoliva@redhat.com>
13266
13267 * crypt/crypt-entry.c: Include fips-private.h.
13268 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13269 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13270 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13271 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13272
4ba74a35
AO
132732012-10-10 Alexandre Oliva <aoliva@redhat.com>
13274
13275 * crypt/crypt-private.h: Include stdbool.h.
13276 (_ufc_setup_salt_r): Return bool.
13277 * crypt/crypt-entry.c: Include errno.h.
13278 (__crypt_r): Return NULL with EINVAL for bad salt.
13279 * crypt/crypt_util.c (bad_for_salt): New.
13280 (_ufc_setup_salt_r): Check that salt is long enough and within
13281 the specified alphabet.
13282 * crypt/badsalttest.c: New file.
13283 * crypt/Makefile (tests): Add it.
13284 ($(objpfx)badsalttest): New.
13285
f96f1242
MK
132862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13287
13288 * NEWS: Add entry for BZ #14602.
13289
0e8e0c1c
JM
132902012-10-09 Joseph Myers <joseph@codesourcery.com>
13291
13292 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13293 type-generic.
13294 * math/libm-test.inc: Update comment listing what functions and
13295 macros are tested.
13296 (isgreater_test): New function.
13297 (isgreaterequal_test): Likewise.
13298 (isless_test): Likewise.
13299 (islessequal_test): Likewise.
13300 (islessgreater_test): Likewise.
13301 (isunordered_test): Likewise.
13302 (main): Call the new functions.
13303
273edc5e
RM
133042012-10-09 Roland McGrath <roland@hack.frob.com>
13305
b8493de0
RM
13306 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13307 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13308 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13309 * sysdeps/i386/configure: Regenerated.
13310 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13311 * sysdeps/mach/configure: Regenerated.
13312 * sysdeps/mach/hurd/configure: Regenerated.
13313 * sysdeps/powerpc/configure: Regenerated.
13314 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13315 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13316 * sysdeps/s390/s390-32/configure: Regenerated.
13317 * sysdeps/s390/s390-64/configure: Regenerated.
13318 * sysdeps/sh/configure: Regenerated.
13319 * sysdeps/sparc/configure: Regenerated.
13320 * sysdeps/unix/sysv/linux/configure: Regenerated.
13321 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13322 * sysdeps/x86_64/configure: Regenerated.
13323
273edc5e
RM
13324 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13325 defined. Don't check if MAP is NULL.
13326
c8450f70
JM
133272012-10-09 Joseph Myers <joseph@codesourcery.com>
13328
13329 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13330 (_G_stat64): Likewise.
13331 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13332 (_G_stat64): Likewise.
13333 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13334 instead of struct _G_stat64.
13335 * libio/fileops.c (mmap_remap_check): Likewise.
13336 (decide_maybe_mmap): Likewise.
13337 (_IO_new_file_seekoff): Likewise.
13338 (_IO_file_stat): Likewise.
13339 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13340 _G_off64_t.
13341 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13342 instead of struct _G_stat64.
13343 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13344
57e605ba
MK
133452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13346
13347 [BZ #14602]
13348 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13349 Replace with ...
13350 (CHECK_EOL): New macro.
13351 (two_way_short_needle): Check beginning of haystack for EOL. Use
13352 CHECK_EOL.
13353 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13354 Replace with CHECK_EOL.
13355 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13356 Replace with CHECK_EOL.
13357
ef1bb361
JM
133582012-10-08 Joseph Myers <joseph@codesourcery.com>
13359
13360 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13361 type-generic.
13362 * math/libm-test.inc: Update comment listing what functions and
13363 macros are tested.
13364 (finite_test): New function.
13365 (isinf_test): Likewise.
13366 (isnan_test): Likewise.
13367 (fpclassify_test): Test subnormal input.
13368 (isfinite_test): Likewise.
13369 (isnormal_test): Likewise.
13370 (main): Call the new functions.
13371
55f11534
JN
133722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13373
13374 [BZ #14660]
13375 * Makerules (%.dynsym): Force C locale when running
13376 $(OBJDUMP) --dynamic-syms.
13377
1ab29350
AS
133782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13379
13380 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13381 <stdint.h>.
13382
f1ecb7ef
DM
133832012-10-06 David S. Miller <davem@davemloft.net>
13384
13385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13386 upper 32-bits of the length value in %o2 since we use branch-on-register
13387 tests which consider the entire 64-bit register.
13388
5d41d91a
L
133892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * string/test-strstr.c (check2): Add a test for page boundary.
13392
3baddb72
DM
133932012-10-05 David S. Miller <davem@davemloft.net>
13394
13395 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13396 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13397 file.
13398 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13399 sysdep_routines.
13400 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13401 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13402 and bzero when HWCAP_SPARC_CRYPTO is present.
13403
9cee5585
L
134042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13405
d7e0dab9
L
13406 [BZ #14602]
13407 * string/test-strstr.c (check2): New function.
13408 (test_main): Call check2.
13409
03759f47
L
13410 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13411 and bug-strchr1.
13412 * string/bug-strcasestr1.c (do_test): Moved to ...
13413 * string/test-strcasestr.c (check1): Here. New function.
13414 (do_one_test): Break out result checking code into ...
13415 (check_result): This. New function.
13416 (do_one_test): Call check_result.
13417 (test_main): Call check1.
13418 * string/bug-strchr1.c (do_test): Moved to ...
13419 * string/test-strchr.c (check1): Here. New function.
13420 (do_one_test): Break out result checking code into ...
13421 (check_result): This. New function.
13422 (do_one_test): Call check_result.
13423 (test_main): Call check1.
13424 * string/bug-strstr1.c (main): Moved to ...
046f153e 13425 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13426 (do_one_test): Break out result checking code into ...
13427 (check_result): This. New function.
13428 (do_one_test): Call check_result.
13429 (test_main): Call check1.
13430 * string/bug-strcasestr1.c: Removed.
13431 * string/bug-strchr1.c: Likewise.
13432 * string/bug-strstr1.c: Likewise.
13433
53cea63e
L
13434 * elf/Makefile (dl-routines): Add hwcaps.
13435 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13436 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13437 (_dl_important_hwcaps): Moved to ...
13438 * elf/dl-hwcaps.c: Here. New file.
13439 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13440
9cee5585 13441 [BZ #14557]
bb859b06
L
13442 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13443 if IS_IN_rtld isn't defined.
13444
9cee5585
L
13445 * elf/dl-support.c (_dl_sysinfo_map): New.
13446 Include "get-dynamic-info.h" and "setup-vdso.h".
13447 (_dl_non_dynamic_init): Call setup_vdso.
13448 * elf/dynamic-link.h: Don't include <assert.h>.
13449 (elf_get_dynamic_info): Moved to ...
13450 * elf/get-dynamic-info.h: Here. New file.
13451 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13452 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13453 * elf/setup-vdso.h: Here. New file.
13454 * elf/rtld.c: Include "setup-vdso.h".
13455 (dl_main): Call setup_vdso.
13456
23c31b76
JM
134572012-10-05 Joseph Myers <joseph@codesourcery.com>
13458
28234b07
JM
13459 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13460 creal in comment listing functions tested. List finite, isinf,
13461 isnan, isless, islessequal, isgreater, isgreaterequal,
13462 islessgreater, isunordered, lgamma_r and pow10 as functions and
13463 macros not tested. Mention which functions not tested are aliases
13464 for other functions. Fix typo. Note that signs of NaNs are not
13465 tested.
13466
23c31b76
JM
13467 * scripts/config.guess: Update from config.git.
13468 * scripts/config.sub: Likewise.
13469
9043e228
RM
134702012-10-04 Roland McGrath <roland@hack.frob.com>
13471
13472 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13473 * misc/madvise.c (madvise): Renamed to __madvise.
13474 Make madvise a weak alias.
13475 * include/sys/mman.h: Declare __madvise.
13476 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13477 * sysdeps/unix/syscalls.list
13478 (madvise): Make __madvise the strong name, and madvise a weak alias.
13479 * sysdeps/unix/sysv/linux/syscalls.list
13480 (madvise, mmap): Remove redundant entries.
13481 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13482 * malloc/malloc.c (mtrim): Likewise.
13483 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13484
f57f8055
RM
134852012-10-03 Roland McGrath <roland@hack.frob.com>
13486
13487 * sysdeps/mach/hurd/dl-cache.c: File removed.
13488 * config.h.in (USE_LDCONFIG): New #undef.
13489 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13490 * configure: Regenerated.
13491 * elf/Makefile (dl-routines): Add dl-cache only under
13492 [$(use-ldconfig) = yes].
13493 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13494 cache on [USE_LDCONFIG].
13495 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13496 [USE_LDCONFIG].
13497 * elf/rtld.c (dl_main): Likewise.
13498
5bb0c10a
PT
134992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13500
13501 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13502 _SC_LEVEL4_CACHE_LINESIZE.
13503
010188c6
RM
135042012-10-03 Roland McGrath <roland@hack.frob.com>
13505
13506 * sysdeps/unix/bsd/confstr.h: File removed.
13507
b6c5ec07
AO
135082012-10-02 Alexandre Oliva <aoliva@redhat.com>
13509
13510 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13511 sys/sdt-config.h.
13512
408223d4
RM
135132012-10-02 Roland McGrath <roland@hack.frob.com>
13514
13515 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13516 Make 'mapoff' field ElfW(Off) rather than off_t.
13517
bb9510dc
DL
135182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13519
fc997c6e
DL
13520 * nscd/Makefile: Remove nscd-cflags and all its users.
13521 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13522 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13523
bb9510dc
DL
13524 [BZ #10631]
13525 * malloc.c (malloc_printerr): Clarify error message.
13526
05699367
L
135272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 [BZ #14648]
13530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13531 Set bit_FMA_Usable if FMA is supported.
13532 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13533 macro.
13534 (bit_FMA4_Usable): Updated.
13535 (index_FMA_Usable): New macro.
13536 (CPUID_FMA): Likewise
13537 (HAS_FMA): Defined with bit_FMA_Usable.
13538
51367701
RM
135392012-10-01 Roland McGrath <roland@hack.frob.com>
13540
13541 * bits/types.h (__swblk_t): Type removed.
13542 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13543 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13545 (__SWBLK_T_TYPE): Likewise.
13546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13547 (__SWBLK_T_TYPE): Likewise.
13548 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13549 (__SWBLK_T_TYPE): Likewise.
13550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13551 (__SWBLK_T_TYPE): Likewise.
13552
4d57bf63 135532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13554 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13555
13556 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13557 (xdr_mapname): Use YPMAXMAP as maxsize.
13558 (xdr_peername): Use YPMAXPEER as maxsize.
13559 (xdr_keydat): Use YPAXRECORD as maxsize.
13560 (xdr_valdat): Use YPMAXRECORD as maxsize.
13561
93c65d43
RM
135622012-10-01 Roland McGrath <roland@hack.frob.com>
13563
497a03d6
RM
13564 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13565
93c65d43
RM
13566 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13567 * csu/init-first.c: ... here.
13568 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13569 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13570 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13571 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13572 * sysdeps/i386/init-first.c: File removed.
13573 * sysdeps/sh/init-first.c: File removed.
13574
bec749fd
JM
135752012-10-01 Joseph Myers <joseph@codesourcery.com>
13576
13577 [BZ #14645]
13578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13579 if x * y might underflow to zero and z is zero.
13580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13582 * math/libm-test.inc (min_subnorm_value): New variable.
13583 (fma_test): Add more tests.
13584 (fma_test_towardzero): Likewise.
13585 (fma_test_downward): Likewise
13586 (fma_test_upward): Likewise.
13587 (initialize): Set min_subnorm_value.
13588
8ec5b013
JM
135892012-09-29 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #14638]
13592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13593 0 + 0.
13594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13595 mode for addition resulting in exact zero.
13596 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13598 exact 0 + 0.
13599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13601 * math/libm-test.inc (fma_test): Add more tests.
13602 (fma_test_towardzero): New function.
13603 (fma_test_downward): Likewise.
13604 (fma_test_upward): Likewise.
13605 (main): Call the new functions.
13606
b1fa802e
DM
136072012-09-28 David S. Miller <davem@davemloft.net>
13608
13609 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13610
d3b9fd9e
RM
136112012-09-28 Roland McGrath <roland@hack.frob.com>
13612
ea4d37b3
RM
13613 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13614 instead of SIGALRM.
13615
ac51c949
RM
13616 * sysdeps/gnu/_G_config.h: Moved to ...
13617 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13618 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13619 * sysdeps/generic/_G_config.h: ... here.
13620
28c195f7
RM
13621 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13622
848917f9
RM
13623 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13624
6bacf05b
RM
13625 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13626 Conditionalize target on [libnss_test1.so-version].
13627
91363dbb
RM
13628 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13629
cc87f7d8
RM
13630 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13631 (elfobjdir): Move out of conditionals.
13632
b1c608fe
RM
13633 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13634 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13635 (__nss_lookup_function): Conditionalize label remove_from_tree on
13636 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13637
1d9a6d96
DM
136382012-09-28 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13641 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13642 file.
13643 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13644 sysdep_routines.
13645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13647 when HWCAP_SPARC_CRYPTO is present.
13648
72581615
PT
136492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13650
13651 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13652
715a900c
JL
136532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13654
13655 [BZ #6530]
13656 * stdio-common/vfprintf.c (process_string_arg): Revert
13657 2000-07-22 change.
13658
136592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13660
13661 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13662 for testcase.
13663 * stdio-common/tst-sprintf.c: Include <locale.h>
13664 (main): Test sprintf's handling of incomplete multibyte
13665 characters.
13666
9bac1d86
L
136672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13668
13669 * elf/dl-runtime.c (VERSYMIDX): Removed.
13670 * elf/dl-version.c (VERSYMIDX): Likewise.
13671 * elf/do-rel.h (VERSYMIDX): Likewise.
13672 (VALIDX): Likewise.
13673 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13674 * elf/rtld.c (VALIDX): Likewise.
13675 (ADDRIDX): Likewise.
9bac1d86
L
13676 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13677 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13678 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13679 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13680 (VALIDX): Likewise.
13681 (ADDRIDX): Likewise.
9bac1d86 13682
b31606c0
PT
136832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13684
13685 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13686
11541177
JL
136872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13688
13689 [BZ #11438]
13690 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13691 to global scope.
13692 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13693 addresses are in the same scope as 192.0.2/24.
13694 * posix/gai.conf: Document new scope table defaults.
13695
adb26fae
SP
136962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13697
13698 [BZ #5298]
13699 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13700 for ftell. Compute offsets from write pointers instead.
13701 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13702
4573c6b0
SP
137032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13704
13705 [BZ #14543]
13706 * libio/Makefile (tests): New test case tst-fseek.
13707 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13708 combination works in wide mode.
13709 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13710 state when the external buffer state changes.
13711
aa9bbfe6
DM
137122012-09-27 David S. Miller <davem@davemloft.net>
13713
13714 [BZ #14376]
13715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13716 pass reloc->r_addend in as the 'high' argument to
13717 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13718
784421e7
DM
13719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13720
c39bc8b8
PT
137212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13722
13723 * rt/tst-aio2.c: Include <pthread.h>.
13724 * rt/tst-aio3.c: Likewise.
13725
1ccc2399
SE
137262012-09-27 Steve Ellcey <sellcey@mips.com>
13727
13728 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13729
31ed4153
L
137302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13731
25f5f885
L
13732 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13733 contents on [SHARED].
31ed4153 13734
b7bfe116
MP
137352012-09-26 Marek Polacek <polacek@redhat.com>
13736
13737 [BZ #14530]
13738 [BZ #13741]
13739 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13740 for C++ and GCC <4.3 as well as for non GCC compilers.
13741
43c4edba
MT
137422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13743
13744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13745
6a1bf82f
RM
137462012-09-25 Roland McGrath <roland@hack.frob.com>
13747
13748 * Makefile.in (all, install): Declare with .PHONY.
13749 Reported by Michael Hope <michael.hope@linaro.org>.
13750
8ad11b9a
TMQMF
137512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13752
13753 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13754 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13755 system header.
13756 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13757 Likewise.
13758 (sydep_routines): Add the new and the internal functions.
13759 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13760 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13762 (GLIBC_2.17): Add the new function.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13764 (GLIBC_2.17): Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13766 (GLIBC_2.17): Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13768 (GLIBC_2.17): Likewise.
13769 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13770
7e2fca8d
AM
137712012-09-25 Alan Modra <amodra@gmail.com>
13772
13773 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13774 Add release barrier before setting once_control to say
13775 initialisation is done. Add hints on lwarx. Use macro in
13776 place of isync.
13777 (clear_once_control): Add release barrier.
13778
b87c4b24
JM
137792012-09-25 Joseph Myers <joseph@codesourcery.com>
13780
d032e0d2
JM
13781 [BZ #13629]
13782 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13783 specially.
13784 * math/s_clog10.c (__clog10): Likewise.
13785 * math/s_clog10f.c (__clog10f): Likewise.
13786 * math/s_clog10l.c (__clog10l): Likewise.
13787 * math/s_clogf.c (__clogf): Likewise.
13788 * math/s_clogl.c (__clogl): Likewise.
13789 * math/Makefile (libm-calls): Add x2y2m1.
13790 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13791 (__x2y2m1): Likewise.
13792 (__x2y2m1l): Likewise.
13793 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13794 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13799 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802
b87c4b24
JM
13803 [BZ #14621]
13804 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13805 int as type of variable DEPTH.
13806 (glob): Use size_t instead of int as type of variables NEWCOUNT
13807 and OLD_PATHC.
13808
6d3bf199
LD
138092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13810
22bf5c17
LD
13811 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13812 Add s_sincosf-sse2.
13813 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13814 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13815 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13816 macros for using routine as __sincosf_ia32.
13817 Use macro for function declaration and weak_alias.
13818 * sysdeps/i386/fpu/libm-test-ulps: Update.
13819
13820 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13822
13823 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13824 subnormal argument.
13825 * math/s_cexpf.c (__cexpf): Likewise.
13826 * math/s_csinf.c (__csinf): Likewise.
13827 * math/s_csinhf.c (__csinhf): Likewise.
13828 * math/s_ctanf.c (__ctanf): Likewise.
13829 * math/s_ctanhf.c (__ctanhf): Likewise.
13830 * math/s_ccosh.c (__ccoshf): Likewise.
13831 * math/s_cexp.c (__cexpl): Likewise.
13832 * math/s_csin.c (__csin): Likewise.
13833 * math/s_csinh.c (__csinh): Likewise.
13834 * math/s_ctan.c (__ctan): Likewise.
13835 * math/s_ctanh.c (ctanh): Likewise.
13836 * math/s_ccoshl.c (__ccoshl): Likewise.
13837 * math/s_cexpl.c (__cexpl): Likewise.
13838 * math/s_csinl.c (__csinl): Likewise.
13839 * math/s_csinhl.c (__csinhl): Likewise.
13840 * math/s_ctanl.c (__ctanl): Likewise.
13841 * math/s_ctanhl.c (__ctanhl): Likewise.
13842
203e5603
JM
138432012-09-25 Joseph Myers <joseph@codesourcery.com>
13844
13845 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13846 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13847 (_IO_off_t): Define to __off_t, not _G_off_t.
13848 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13849 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13850 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13851 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13852 type of __dummy and __dummy2 fields.
13853 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13854 (_G_ssize_t): Likewise.
13855 (_G_off_t): Likewise.
13856 (_G_pid_t): Likewise.
13857 (_G_uid_t): Likewise.
13858 (_G_wchar_t): Likewise.
13859 (_G_wint_t): Likewise.
13860 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13861 (_G_ssize_t): Likewise.
13862 (_G_off_t): Likewise.
13863 (_G_pid_t): Likewise.
13864 (_G_uid_t): Likewise.
13865 (_G_wchar_t): Likewise.
13866 (_G_wint_t): Likewise.
13867 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13868 (_G_ssize_t): Likewise.
13869 (_G_off_t): Likewise.
13870 (_G_pid_t): Likewise.
13871 (_G_uid_t): Likewise.
13872 (_G_wchar_t): Likewise.
13873 (_G_wint_t): Likewise.
13874
9fab36eb
SP
138752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13876
13877 * malloc/arena.c: Include malloc-sysdep.h.
13878 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13879 is sufficient to shrink the heap or an unmap is needed.
13880 * sysdeps/generic/malloc-sysdep.h: New file. Define
13881 new function check_may_shrink_heap.
13882 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13883 new function check_may_shrink_heap.
13884
2b4f00d1
SP
138852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13886
13887 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13888 comments.
13889
9a9028b1
DL
138902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13891
57c69bef
DL
13892 * catgets/test-gencat.sh: Add "set -e".
13893 * elf/tst-pathopt.sh: Likewise.
13894 * grp/tst_fgetgrent.sh: Likewise.
13895 * iconvdata/run-iconv-test.sh: Likewise.
13896 * intl/tst-gettext.sh: Likewise.
13897 * intl/tst-gettext2.sh: Likewise.
13898 * intl/tst-gettext4.sh: Likewise.
13899 * intl/tst-gettext6.sh: Likewise.
13900 * intl/tst-translit.sh: Likewise.
13901 * io/ftwtest-sh: Likewise.
13902 * libio/test-freopen.sh: Likewise.
13903 * malloc/tst-mtrace.sh: Likewise.
13904 * posix/globtest.sh: Likewise.
13905 * posix/tst-getconf.sh: Likewise.
13906 * posix/wordexp-tst.sh: Likewise.
13907 * stdio-common/tst-printf.sh: Likewise.
13908 * stdio-common/tst-unbputc.sh: Likewise.
13909 * stdlib/tst-fmtmsg.sh: Likewise.
13910 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13911 * catgets/Makefile: Do not specify -e option when running
13912 testsuite shell scripts.
13913 * elf/Makefile: Likewise.
13914 * grp/Makefile: Likewise.
13915 * iconvdata/Makefile: Likewise.
13916 * intl/Makefile: Likewise.
13917 * io/Makefile: Likewise.
13918 * libio/Makefile: Likewise.
13919 * malloc/Makefile: Likewise.
13920 * posix/Makefile: Likewise.
13921 * stdio-common/Makefile: Likewise.
13922 * stdlib/Makefile: Likewise.
13923 * sysdeps/x86_64/Makefile: Likewise.
13924
9a9028b1
DL
13925 * io/ftwtest-sh: Add copyright header.
13926 * posix/globtest.sh: Likewise.
13927 * posix/tst-getconf.sh: Likewise.
13928 * posix/wordexp-tst.sh: Likewise.
13929 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13930
ced6f16e
L
139312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13932
94b32c39
L
13933 [BZ #13679]
13934 * Makeconfig (+link): Defined as $(+link-static) if
13935 $(build-shared) isn't yes.
13936 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13937 isn't yes.
13938 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13939
189e935b
L
13940 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13941
ced6f16e
L
13942 [BZ #14562]
13943 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13944 new chunk size with MALLOC_ALIGN_MASK.
13945
a9f8e53a
JM
139462012-09-24 Joseph Myers <joseph@codesourcery.com>
13947
13948 [BZ #5044]
13949 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13950 <rounding-mode.h>.
13951 (__printf_fphex): Determine rounding using get_rounding_mode and
13952 round_away.
13953 * stdio-common/tst-printf-round.c (struct hex_test): New
13954 structure.
13955 (hex_tests): New variable.
13956 (test_hex_in_one_mode): New function.
13957 (do_test): Also run tests for hex float output.
13958
43153109
JM
139592012-09-21 Joseph Myers <joseph@codesourcery.com>
13960
13961 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13962 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13963 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13964 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13965 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13966 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13967 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13968 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13969
8a26625d
JM
139702012-09-20 Joseph Myers <joseph@codesourcery.com>
13971
13972 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13973 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13974 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13975 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13976
f3fd569c
DL
139772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13978
13979 [BZ #14579]
13980 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13981 mode only.
13982 * elf/tst-rtld-load-self.sh: New test.
13983 * elf/Makefile: Run it.
13984
63bbedd4
JM
139852012-09-18 Joseph Myers <joseph@codesourcery.com>
13986
13987 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13988 (tst-writev-ENV): Remove.
13989 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13990
626f8b6a
CM
139912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13992
13993 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13994
b7aaa4d6
JM
139952012-09-17 Joseph Myers <joseph@codesourcery.com>
13996
13997 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13998 unconditional.
13999 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14000 Likewise.
14001 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14002 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14003 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14004 Likewise.
14005
65513990
L
140062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14007
14008 [BZ #14587]
14009 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14010 * config.make.in (have-cpp-asm-debuginfo): Removed.
14011 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14012 * configure: Regenerated.
14013
784761be
JM
140142012-09-14 Joseph Myers <joseph@codesourcery.com>
14015
14016 [BZ #5044]
14017 * stdio-common/printf_fp.c: Include <stdbool.h> and
14018 <rounding-mode.h>.
14019 (___printf_fp): Determine rounding using get_rounding_mode and
14020 round_away.
14021 * stdio-common/tst-printf-round.c: New file.
14022 * stdio-common/Makefile (tests): Add tst-printf-round.
14023 (link-libm): New variable.
14024 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14025
9503345f
L
140262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14027
14028 [BZ #14576]
14029 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14030 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14031 Likewise.
14032 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14033 Likewise.
14034
ad35fc00
JM
140352012-09-13 Joseph Myers <joseph@codesourcery.com>
14036
14037 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14038 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14039 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14040 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14041
6c9b0f68
JM
140422012-09-12 Joseph Myers <joseph@codesourcery.com>
14043
14044 [BZ #14518]
14045 * include/rounding-mode.h: New file.
14046 * sysdeps/generic/get-rounding-mode.h: Likewise.
14047 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14048 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14049 (MAX_VALUE): New macro.
14050 (MIN_VALUE): Likewise.
14051 (overflow_value): New function.
14052 (underflow_value): Likewise.
14053 (round_and_return): Use overflow_value and underflow_value to
14054 determine return values in overflow and underflow cases. Use
14055 round_away to determine rounding depending on rounding mode.
14056 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14057 determine return values in overflow and underflow cases.
14058 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14059 (struct test_results): New structure.
14060 (struct test): Use struct test_results to store expected results
14061 for all rounding modes.
14062 (TEST): Include expected results for all rounding modes.
14063 (test_in_one_mode): New function.
14064 (do_test): Use test_in_one_mode to compute and check results.
14065 Check results for all rounding modes.
14066 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14067 $(link-libm).
14068
19fcedd5
AM
140692012-12-09 Allan McRae <allan@archlinux.org>
14070
1e9d84cd 14071 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14072
8bbfd2f1
JM
140732012-09-11 Joseph Myers <joseph@codesourcery.com>
14074
14075 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14076 (_G_int32_t): Likewise.
14077 (_G_uint16_t): Likewise.
14078 (_G_uint32_t): Likewise.
14079 (_G_HAVE_BOOL): Likewise.
14080 (_G_HAVE_ATEXIT): Likewise.
14081 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14082 (_G_HAVE_IO_FILE_OPEN): Likewise.
14083 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14084 (_G_int32_t): Likewise.
14085 (_G_uint16_t): Likewise.
14086 (_G_uint32_t): Likewise.
14087 (_G_HAVE_BOOL): Likewise.
14088 (_G_HAVE_ATEXIT): Likewise.
14089 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14090 (_G_HAVE_IO_FILE_OPEN): Likewise.
14091 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14092 (_G_int32_t): Likewise.
14093 (_G_uint16_t): Likewise.
14094 (_G_uint32_t): Likewise.
14095 (_G_HAVE_BOOL): Likewise.
14096 (_G_HAVE_ATEXIT): Likewise.
14097 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14098 (_G_HAVE_IO_FILE_OPEN): Likewise.
14099
b1dc5912
L
141002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14101
14102 * csu/libc-tls.c: Update copyright years.
14103
0e886ef9
JM
141042012-09-10 Joseph Myers <joseph@codesourcery.com>
14105
28361c5e
JM
14106 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14107 [!_G_USING_THUNKS]: Remove conditional code.
14108 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14109 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14110
0e886ef9
JM
14111 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14112 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14113 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14114 (_G_VTABLE_LABEL_PREFIX): Likewise.
14115 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14116 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14117 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14118 (_G_VTABLE_LABEL_PREFIX): Likewise.
14119 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14120 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14121 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14122 (_G_VTABLE_LABEL_PREFIX): Likewise.
14123 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14124
bcba7aa2
L
141252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 * libio/Makefile: Include ../Makeconfig before tests.
14128 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14129 only if $(build-shared) is yes.
14130
06585ee8
L
14131 * iconv/gconv_db.c: Update copyright years.
14132
80ccd52c
LD
141332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14134
14135 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14136 unwind info if defined PIC. Fix special cases description.
14137 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14138
14139 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14140 DP_HI_MASK entry.
14141 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14142
691bc9c1
L
141432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14144
3d9b46b3
L
14145 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14146
de2139a9
L
14147 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14148 is NULL.
14149
5ca78dd0
L
14150 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14151 (LDLIBS-tst-chk4): This.
14152 (LDFLAGS-tst-chk5): Renamed to ...
14153 (LDLIBS-tst-chk5): This.
14154 (LDFLAGS-tst-chk6): Renamed to ...
14155 (LDLIBS-tst-chk6): This.
14156 (LDFLAGS-tst-lfschk4): Renamed to ...
14157 (LDLIBS-tst-lfschk4): This.
14158 (LDFLAGS-tst-lfschk5): Renamed to ...
14159 (LDLIBS-tst-lfschk5): This.
14160 (LDFLAGS-tst-lfschk6): Renamed to ...
14161 (LDLIBS-tst-lfschk6): This.
14162
691bc9c1
L
14163 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14164 on $(common-objpfx)soversions.mk.
14165
65cafb1c
JM
141662012-09-07 Joseph Myers <joseph@codesourcery.com>
14167
14168 [BZ #10014]
14169 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14170 example host name.
14171
c78ab094
SP
141722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14173
14174 * malloc/arena.c (arena_get_retry): New function that gets
14175 another arena for the caller to try its request on.
14176 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14177 current arena cannot fulfill the request.
14178 (__libc_memalign): Likewise.
14179 (__libc_memalign): Likewise.
14180 (__libc_pvalloc): Likewise.
14181 (__libc_calloc): Likewise.
14182
01f49f59
JT
141832012-09-05 John Tobey <john.tobey@gmail.com>
14184
14185 [BZ #13542]
14186 * manual/arith.texi (Operations on Complex): Fix description
14187 of carg branch cut.
14188
4c23fed5
JM
141892012-09-06 Joseph Myers <joseph@codesourcery.com>
14190
1d3c8572
JM
14191 [BZ #10014]
14192 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14193 host name.
14194
4c23fed5
JM
14195 [BZ #10038]
14196 * manual/memory.texi (Memory): Make order of menu items match
14197 order of sections.
14198
04570aaa
L
141992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14202 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14203 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14204
b80af2f4
L
142052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 * csu/libc-tls.c (static_dtv): Renamed to ...
14208 (_dl_static_dtv): This. Make it global.
14209 (_dl_initial_dtv): Removed.
14210 (__libc_setup_tls): Updated.
14211 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14212 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14213 DL_INITIAL_DTV.
14214
2abe9f15
PM
142152012-09-06 Petr Machata <pmachata@redhat.com>
14216
14217 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14218 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14219 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14220 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14221
0948c3af
L
142222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14223
14224 [BZ #14545]
14225 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14226 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14227 freeing dtv[-1].
14228
a5055ad1
L
142292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 [BZ #14544]
14232 * Makeconfig (link-static-before-libc): Replace $(+prector)
14233 with $(+prectorT).
14234 (link-static-after-libc): Replace $(+postctor) with
14235 $(+postctorT).
14236 (link-bounded): Replace $(+prector)/$(+postctor) with
14237 $(+prectorT)/$(+postctorT).
14238 (+prectorT): New macro.
14239 (+postctorT): Likewise.
14240
ed8c2ecd
JM
142412012-09-06 Joseph Myers <joseph@codesourcery.com>
14242
14243 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14244 (round_str): Handle values above the maximum for IBM long double
14245 as inexact.
14246 * stdlib/tst-strtod-round.c (tests): Regenerated.
14247
14c996c8
AK
142482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14249
14250 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14251 assembler flag.
14252 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14253 zarch_nohighgprs around the zarch optimized routines.
14254 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14255 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14256 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14257 for zarch.
14258
430d6ce6
DM
142592012-09-05 David S. Miller <davem@davemloft.net>
14260
14261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14262
ff04dda4
DM
14263 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14264 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14265 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14266 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14267 entries.
14268
24d4e01b
AO
142692012-09-05 Alexandre Oliva <aoliva@redhat.com>
14270
14271 * malloc/arena.c: Fold copyright years.
14272 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14273
61d58174
AO
142742012-09-05 Alexandre Oliva <aoliva@redhat.com>
14275
14276 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14277
20196a5e
AO
142782012-09-05 Alexandre Oliva <aoliva@redhat.com>
14279
14280 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14281
5c447383
AO
142822012-09-05 Alexandre Oliva <aoliva@redhat.com>
14283
14284 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14285 change internal state upon failure.
14286
fad64255
AO
142872012-09-05 Alexandre Oliva <aoliva@redhat.com>
14288
14289 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14290 * malloc/memusage.c (mmap): Likewise.
14291 (mmap64, mremap): Likewise. Adjust name in comment.
14292
1ffb8c90
SP
142932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14294
14295 * libio/fileops.c: Fix typos in comments.
14296 * libio/oldfileops.c: Likewise.
14297 * libio/wfileops.c: Likewise.
14298
6ef9cc37
SP
142992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14300
14301 [BZ #1349]
14302 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14303 (tst-malloc-usable-ENV): Set environment for test case.
14304 * malloc/hooks.c (malloc_check_get_size): New function to get
14305 requested size.
14306 * malloc/malloc.c (musable): Use malloc_check_get_size.
14307 * malloc/tst-malloc-usable.c: New test case.
14308
4d038ae3
AS
143092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14310
14311 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14312
c4e85184
AM
143132012-09-05 Allan McRae <allan@archlinux.org>
14314
b9dafc56 14315 [BZ #13966]
c4e85184
AM
14316 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14317 determine header location.
14318 * configure: Regenerated.
14319
e1343020
AS
143202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14321
14322 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14323 float format.
14324 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14325 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14326 format.
e1343020
AS
14327 (test): Regenerate.
14328
0a9f1987
DM
143292012-09-04 David S. Miller <davem@davemloft.net>
14330
14331 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14332 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14334
29237804
FW
143352012-09-04 Florian Weimer <fweimer@redhat.com>
14336
14337 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14338 failures.
14339
edb3cb88
FW
14340 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14341
60160d83
JM
143422012-09-04 Joseph Myers <joseph@codesourcery.com>
14343
14344 [BZ #9914]
14345 * libio/iogetdelim.c: Include <limits.h>.
14346 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14347 + len + 1 would overflow.
14348
bcd6c8dc
AJ
143492012-09-03 Andreas Jaeger <aj@suse.de>
14350
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14352 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353
4ffffbd2
LD
143542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14355
14356 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14357 Add s_sinf-sse2, s_conf-sse2.
14358
14359 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14360 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14361 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14362 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14363
14364 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14365 for using routine as __sinf_ia32.
14366 Use macro for function declaration and weak_alias.
14367 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14368 for using routine as __cosf_ia32.
14369 Use macro for function declaration and weak_alias.
14370
14371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14372 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14373
14374 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14375 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14377
14378 * math/libm-test.inc (cos_test): Add more test cases.
14379 (sin_test): Likewise.
14380 (sincos_test): Likewise.
14381
511fa286
AK
143822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14383
14384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14385 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14386 hidden.
14387 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14388
5f30cfec
L
143892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14390
14391 [BZ #14538]
14392 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14393 first element of the GOT.
14394 (elf_machine_load_address): Return the difference between
14395 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14396
0786794f
AM
143972012-09-01 Allan McRae <allan@archlinux.org>
14398
5f30cfec
L
14399 [BZ #13412]
14400 * configure.in (AWK): Require gawk version 3.0 or later.
14401 * configure: Regenerated.
0786794f 14402
26889eac
JM
144032012-09-01 Joseph Myers <joseph@codesourcery.com>
14404
14405 * sysdeps/unix/sysv/linux/kernel-features.h
14406 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14407 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14408 [__NR_clock_getres]: Make code unconditional.
14409 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14410 (clock_getcpuclockid): Remove code left unreachable by removal of
14411 conditionals.
14412 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14413 code unconditional.
14414 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14415 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14416 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14417 Make code unconditional.
14418 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14419 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14420 * sysdeps/unix/sysv/linux/clock_settime.c
14421 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14422 conditional code.
14423 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14424 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14425
d22e28b0
L
144262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14427
14428 [BZ #14476]
14429 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14430 scripts/test-installation.pl.
14431
14432 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14433 and $ld_so_version if it is set.
14434
050af9c4
SP
144352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14436
14437 [BZ #14516]
14438 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14439 failure if reading from procfs failed.
14440 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14441
ad845c0b
JM
144422012-08-27 Joseph Myers <joseph@codesourcery.com>
14443
14444 * sysdeps/unix/sysv/linux/kernel-features.h
14445 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14446 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14447 Remove conditional code.
14448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14449 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14450 Remove conditional code.
14451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14452 * sysdeps/unix/sysv/linux/i386/fxstat.c
14453 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14455 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14456 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14458 * sysdeps/unix/sysv/linux/i386/lxstat.c
14459 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14461 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14462 Remove conditional code.
14463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14464 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14465 Remove conditional code.
14466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14468 <kernel-features.h>.
14469 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14470 Remove.
14471 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14472 Remove conditional code.
14473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14474 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14475 Remove conditional.
14476
5dbf56af
MF
144772012-08-27 Mike Frysinger <vapier@gentoo.org>
14478
14479 [BZ #5400]
14480 * NEWS: Add fixed bug number.
14481
d6e70f43
JM
144822012-08-27 Joseph Myers <joseph@codesourcery.com>
14483
7efb4737
JM
14484 [BZ #14519]
14485 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14486 underflowing exponent in case of negative sign.
14487 * stdlib/tst-strtod-round-data: Add more tests.
14488 * stdlib/tst-strtod-round.c (tests): Regenerated.
14489
af92131a
JM
14490 [BZ #3479]
14491 * stdlib/strtod_l.c (NDIG): Remove.
14492 (HEXNDIG): Likewise.
14493 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14494 smallest representable value.
14495 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14496 lie within an exact representation of 1/2 ulp of the result.
14497 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14498 unconditionally.
14499 (TENS_P9_IDX): Define unconditionally.
14500 (TENS_P9_SIZE): Likewise.
14501 (TENS_P10_IDX): Likewise.
14502 (TENS_P10_SIZE): Likewise.
14503 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14504 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14505 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14506 entries for 10^2^13 and 10^2^14.
14507 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14508 (TENS_P13_IDX): Define.
14509 (TENS_P13_SIZE): Likewise.
14510 (TENS_P14_IDX): Likewise.
14511 (TENS_P14_SIZE): Likewise.
14512 (_fpioconst_pow10): Change array size to
14513 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14514 unconditional.
14515 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14516 1024]: Add entries for 10^2^13 and 10^2^14.
14517 [LAST_POW10 > _LAST_POW10]: Remove #error.
14518 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14519 (_fpioconst_pow10): Change array size to
14520 FPIOCONST_POW10_ARRAY_SIZE.
14521 * stdlib/gen-fpioconst.c: New file.
14522 * stdlib/gen-tst-strtod-round.c: Likewise.
14523 * stdlib/tst-strtod-round-data: Likewise.
14524 * stdlib/tst-strtod-round.c: Likewise.
14525 * stdlib/Makefile (tests): Add tst-strtod-round.
14526
d6e70f43
JM
14527 [BZ #14459]
14528 * stdlib/strtod_l.c: Include <stdint.h>.
14529 (NDEBUG): Do not define.
14530 (round_and_return): Change EXPONENT parameter to type intmax_t.
14531 Rearrange calculations to avoid internal overflow possibilities.
14532 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14533 Rearrange calculations to avoid internal overflow possibilities.
14534 Assert that number fits inside MPNSIZE limbs.
14535 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14536 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14537 calculations and add assertions to avoid internal overflow
14538 possibilities. Add casts to avoid signed/unsigned operations.
14539 * stdlib/tst-strtod-overflow.c: New file.
14540 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14541
1f529f7d
MP
145422012-08-25 Marek Polacek <polacek@redhat.com>
14543
14544 * time/time.h: Fix some typos in comments.
14545
59a629f1
RM
145462012-08-23 Roland McGrath <roland@hack.frob.com>
14547
14548 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14549 * posix/tst-rfc3484-2.c: Likewise.
14550 * posix/tst-rfc3484-3.c: Likewise.
14551
d3bafbc9
SM
145522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14553
14554 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14555 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14556
4efcc022
JM
145572012-08-23 Joseph Myers <joseph@codesourcery.com>
14558
14559 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14560 #include of fxstatat64.c.
14561
3cc3ef96
RM
145622012-08-22 Roland McGrath <roland@hack.frob.com>
14563
f04e2132
RM
14564 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14565 * shadow/getspent_r.c: Likewise.
14566 * shadow/getspnam.c: Likewise.
14567 * shadow/getspnam_r.c: Likewise.
14568 * gshadow/getsgent.c: Likewise.
14569 * gshadow/getsgent_r.c: Likewise.
14570 * gshadow/getsgnam.c: Likewise.
14571 * gshadow/getsgnam_r.c: Likewise.
14572 * inet/getnetbyad.c: Likewise.
14573 * inet/getnetbyad_r.c: Likewise.
14574 * inet/getnetbynm.c: Likewise.
14575 * inet/getnetbynm_r.c: Likewise.
14576 * inet/getnetent.c: Likewise.
14577 * inet/getnetent_r.c: Likewise.
14578 * inet/getproto.c: Likewise.
14579 * inet/getproto_r.c: Likewise.
14580 * inet/getprtent.c: Likewise.
14581 * inet/getprtent_r.c: Likewise.
14582 * inet/getprtname.c: Likewise.
14583 * inet/getprtname_r.c: Likewise.
14584 * inet/getrpcbyname.c: Likewise.
14585 * inet/getrpcbyname_r.c: Likewise.
14586 * inet/getrpcbynumber.c: Likewise.
14587 * inet/getrpcbynumber_r.c: Likewise.
14588 * inet/getrpcent.c: Likewise.
14589 * inet/getrpcent_r.c: Likewise.
14590 * inet/getaliasent.c: Likewise.
14591 * inet/getaliasent_r.c: Likewise.
14592 * inet/getaliasname.c: Likewise.
14593 * inet/getaliasname_r.c: Likewise.
14594 * nscd/getgrgid_r.c: Likewise.
14595 * nscd/getgrnam_r.c: Likewise.
14596 * nscd/gethstbyad_r.c: Likewise.
14597 * nscd/gethstbynm3_r.c: Likewise.
14598 * nscd/getpwnam_r.c: Likewise.
14599 * nscd/getpwuid_r.c: Likewise.
14600 * nscd/getsrvbynm_r.c: Likewise.
14601 * nscd/getsrvbypt_r.c: Likewise.
14602 * nscd/gai.c: Likewise.
14603
c53d909c
RM
14604 * configure.in (build_nscd): New substituted variable, set
14605 by --disable-build-nscd and defaults to $use_nscd.
14606 * configure: Regenerated.
14607 * config.make.in (build-nscd): New substituted variable.
14608 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14609 Change conditional to require [$(build-nscd) = yes] as well.
14610 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14611
3cc3ef96
RM
14612 [BZ# 13696]
14613 * configure.in (use_nscd): New substituted variable, set by
14614 --disable-nscd. If enabled, define USE_NSCD.
14615 * configure: Regenerated.
14616 * config.h.in: Add USE_NSCD.
14617 * config.make.in (use-nscd): New substituted variable.
14618 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14619 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14620 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14621 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14622 (CFLAGS-getgrnam_r.c): Likewise.
14623 (CFLAGS-initgroups.c): Likewise.
14624 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14625 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14626 Variables removed.
14627 * inet/getnetgrent_r.c
14628 (nscd_setnetgrent): New function, broken out of ...
14629 (setnetgrent): ... here. Call it.
14630 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14631 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14632 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14633 * nscd/Makefile (routines, aux): Move definitions after include of
14634 Makeconfig. Conditionalize on [$(use-nscd) != no].
14635 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14636 Conditionalize on [USE_NSCD].
14637 (is_nscd, nscd_init_cb): Likewise.
14638 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14639 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14640 * nss/nss_db/db-init.c: Likewise.
14641 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14642 [USE_NSCD].
14643 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14644 (make_request): Use it.
14645 (cache_valid_p): New function.
14646 (__check_pf): Use it.
14647 * NEWS: Add item for --disable-nscd.
14648
07e51550
DL
146492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14650
14651 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14652 to support sed >= 4.2.1-20-ga9bf076.
14653 * configure: Regenerated.
14654
35a5b08b
RM
146552012-08-22 Roland McGrath <roland@hack.frob.com>
14656
14657 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14658 Conditionalize whole body on [IREL].
14659
8479f23a
JL
146602012-08-22 Jeff Law <law@redhat.com>
14661
14662 [BZ #14505]
14663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14664 if the family is PF_UNSPEC.
14665
48da0b21
MF
146662012-08-22 Mike Frysinger <vapier@gentoo.org>
14667
14668 * Makerules (lib-version): Rename from V.
14669 (install-lib-nosubdir): Change V to lib-version.
14670
15d0da8c
WS
146712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14672
14673 [BZ #14252]
14674 * powerpc32/power6/wcschr.c: New file.
14675 * powerpc32/power6/wcscpy.c: New file.
14676 * powerpc32/power6/wcsrchr.c: New file.
14677 * powerpc64/power6/wcschr.c: New file.
14678 * powerpc64/power6/wcscpy.c: New file.
14679 * powerpc64/power6/wcsrchr.c: New file.
14680
bcca0895
MK
146812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14682
14683 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14684 (two_way_short_needle): Use it.
5a4aaa33
RM
14685 * string/strstr.c (AVAILABLE1_USES_J): Define.
14686 * string/strcasestr.c: Likewise.
99677e57
MK
14687
14688 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14689 array references.
14690 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14691
400726de
MK
14692 [BZ #11607]
14693 * NEWS: Add an entry.
14694 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14695 define their defaults.
14696 (two_way_short_needle): Detect end-of-string on-the-fly.
14697 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14698 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14699 * string/bug-strcasestr1.c: New test.
14700 * string/Makefile: Run it.
14701
20a71f2c
MK
147022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14703
14704 [BZ #11607]
14705 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14706 the first character.
14707
21ad0558
RM
147082012-08-21 Roland McGrath <roland@hack.frob.com>
14709
14710 * csu/elf-init.c (__libc_csu_irel): Function removed.
14711 * csu/libc-start.c (apply_irel): New function.
14712 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14713
0e1d9911
JM
147142012-08-21 Joseph Myers <joseph@codesourcery.com>
14715
14716 * sysdeps/unix/sysv/linux/kernel-features.h
14717 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14718 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14719 <kernel-features.h>.
14720 [__NR_fadvise64_64]: Make code unconditional.
14721 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14722 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14723 !__NR_fadvise64_64)]: Likewise.
14724 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14725 !__NR_fadvise64_64))]: Likewise.
14726 [__NR_fadvise64]: Make code unconditional.
14727 [!__NR_fadvise64]: Remove conditional code.
14728 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14729 <kernel-features.h>.
14730 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14731 unconditional.
14732 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14733 conditional code.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14735 not include <kernel-features.h>.
14736 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14737 unconditional.
14738 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14739 conditional code.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14741 include <kernel-features.h>.
14742 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14743 unconditional.
14744 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14745 conditional code.
14746
14a50c9d
WS
147472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14748
14749 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14750 slight instruction rearrangements per scrollpipe analysis.
14751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14752
c0f4faf0
RM
147532012-08-20 Roland McGrath <roland@hack.frob.com>
14754
696da859
RM
14755 * manual/syslog.texi (syslog; vsyslog, closelog):
14756 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14757 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14758
c0f4faf0
RM
14759 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14760 DSOCAPS to match condition on defining it.
14761
348363b2
JM
147622012-08-20 Joseph Myers <joseph@codesourcery.com>
14763
a35cbf28
JM
14764 * sysdeps/unix/sysv/linux/kernel-features.h
14765 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14767 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14768 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14770 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14771 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14773 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14774 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14775
445f7ecd
JM
14776 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14777 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14778
348363b2
JM
14779 * sysdeps/unix/sysv/linux/kernel-features.h
14780 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14781 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14782 unconditional.
14783 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14785 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14786 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14787 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14788 Make code unconditional.
14789 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14790 (__mmap64) [!__NR_mmap2]: Likewise.
14791 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14792 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14793 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14794 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14795 [__NR_mmap2]: Make code unconditional.
14796 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14797 (__mmap64) [!__NR_mmap2]: Likewise.
14798
bc5bc0e5
AK
147992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14800
14801 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14802
88d506de
AJ
148032012-08-18 Andreas Jaeger <aj@suse.de>
14804
14805 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14806
493387d2
MF
148072012-08-18 Mike Frysinger <vapier@gentoo.org>
14808
14809 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14810 * include/unistd.h (__have_sock_cloexec): Likewise.
14811 (__have_pipe2): Likewise.
14812 (__have_dup3): Likewise.
14813
a277af22
MF
148142012-08-18 Mike Frysinger <vapier@gentoo.org>
14815
14816 [BZ #9685]
14817 * include/unistd.h (__have_pipe2): Change define into an extern int.
14818 (__have_dup3): Likewise.
14819 * socket/have_sock_cloexec.c: Include fcntl.h.
14820 (__have_pipe2): New variable.
14821 (__have_dup3): Likewise.
14822
fdab8fd3
MF
148232012-08-17 Mike Frysinger <vapier@gentoo.org>
14824
14825 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14826
31035e80
MP
148272012-08-17 Marek Polacek <polacek@redhat.com>
14828
14829 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14830 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14831
3bd9e993
RM
148322012-08-17 Roland McGrath <roland@hack.frob.com>
14833
c91c505f
RM
14834 * configure.in: Add AC_SUBST for sysheaders.
14835 * configure: Regenerated.
14836 * config.make.in (sysheaders): New substituted variable.
14837
7c6f9d53
RM
14838 * sysdeps/unix/mkfifo.c: Moved ...
14839 * sysdeps/posix/mkfifo.c: ... here.
14840 * sysdeps/unix/mkfifoat.c: Moved ...
14841 * sysdeps/posix/mkfifoat.c: ... here.
14842
14843 * sysdeps/unix/utime.c: Moved ...
14844 * sysdeps/posix/utime.c: ... here.
14845
14846 * sysdeps/unix/time.c: Moved ...
14847 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14848 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14850
14851 * sysdeps/unix/nice.c: Moved ...
14852 * sysdeps/posix/nice.c: ... here.
14853
14854 * sysdeps/unix/alarm.c: Moved ...
14855 * sysdeps/posix/alarm.c: ... here.
14856
3bd9e993
RM
14857 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14858
d1f09384
JL
148592012-08-17 Jeff Law <law@redhat.com>
14860
14861 * intl/Makefile (codeset_mo): New variable.
14862 ($(codeset_mo)): New target.
14863 (tst-codeset.out): Depend on that. Remove explicit rule.
14864 (tst-gettext3.out, tst-gettext5.out): Likewise.
14865 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14866 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14867 * intl/tst-codeset.sh: Remove.
14868 * intl/tst-gettext3.sh: Likewise.
14869 * intl/tst-gettext5.sh: Likewise.
14870
2ae1ae5c
RM
148712012-08-17 Roland McGrath <roland@hack.frob.com>
14872
c31fdb83
RM
14873 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14874 * sysdeps/unix/syscalls.list: ... here.
14875
a0844057
RM
14876 * sysdeps/posix/getaddrinfo.c
14877 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14878 (gaiconf_init, gaiconf_reload): Use them.
14879 [!_STATBUF_ST_NSEC]
14880 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14881 Define using time_t rather than struct timespec.
14882
750c1f2a
RM
14883 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14884 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14885 Macros removed.
14886 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14887 [!NO_THREADS].
14888 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14889 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14890 Likewise.
14891
2ae1ae5c
RM
14892 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14893 __libc_cleanup_push argument.
14894
e66a42f5
RM
14895 * bits/param.h: New file.
14896 * misc/sys/param.h: New file.
14897 * include/sys/param.h: New file.
14898 * misc/Makefile (headers): Add bits/param.h.
14899 * sysdeps/generic/sys/param.h: File removed.
14900 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14901 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14902 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14903 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14904
b7c08a66
RM
14905 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14906 last change.
14907
b2e1c562
RM
14908 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14909 [_IO_MTSAFE_IO].
14910 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14911 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14912 New macros.
14913
c75ccd4c
RM
14914 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14915 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14916 rather than -D_IO_MTSAFE_IO conditionally.
14917 * stdio-common/Makefile (CPPFLAGS): Likewise.
14918 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14919 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14920 Use $(libio-mtsafe).
14921 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14922 of -D_IO_MTSAFE_IO.
14923 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14924 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14925 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14926 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14927 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14928 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14929 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14930 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14931 (CFLAGS-fread_u_chk.c): Likewise.
14932 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14933 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14934 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14935 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14936 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14937 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14938 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14939 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14940 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14941
14942 * libio/Makefile: Test [$(libc-reentrant) = yes]
14943 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14944
14945 * Makeconfig
14946 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14947 * sysdeps/pthread/configure: File removed.
14948 * sysdeps/pthread/Makeconfig: New file.
14949 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14950 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14951
d9195db8
GB
149522012-08-16 Gary Benson <gbenson@redhat.com>
14953
14954 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14955 unmapping the first object in a namespace.
14956
86466cd9
RM
149572012-08-16 Roland McGrath <roland@hack.frob.com>
14958
14959 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14960 (__internal_setnetgrent): ... this. Add internal_function to
14961 definition. Add libc_hidden_def.
14962 (setnetgrent): Update caller.
14963 (internal_endnetgrent): Renamed to ...
14964 (__internal_endnetgrent): ... this. Add internal_function to
14965 definition. Add libc_hidden_def.
14966 (endnetgrent): Update caller.
14967 (internal_getnetgrent_r): Renamed to ...
14968 (__internal_getnetgrent_r): ... this. Add internal_function to
14969 definition. Add libc_hidden_def.
14970 (__getnetgrent_r): Update caller.
14971 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14972
c3c8283c
JM
149732012-08-16 Joseph Myers <joseph@codesourcery.com>
14974
14975 * stdlib/longlong.h: Update from GCC.
14976
db1ee0a8
RM
149772012-08-16 Roland McGrath <roland@hack.frob.com>
14978
14979 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14980 on _QL, which is set by umul_ppmm but never used.
14981 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14982 variables, which are set by GMP macros but never used.
14983 * stdio-common/_itowa.c (_itowa): Likewise.
14984 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14985 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14986
30f69637
CD
149872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14988
14989 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14990 struct La_sh_regs is not constant.
14991 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14992 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14993 and struct La_sparc64_regs are not constant.
14994
93a78ac4
JM
149952012-08-16 Joseph Myers <joseph@codesourcery.com>
14996
14997 * sysdeps/unix/sysv/linux/kernel-features.h
14998 (__ASSUME_POSIX_TIMERS): Remove.
14999 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15001 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15002 Make code unconditional.
15003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15004 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15005 Make code unconditional.
15006 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15007 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15008 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15009 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15010 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15011 Make code unconditional.
15012 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15013 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15014 (__libc_missing_posix_timers): Remove.
15015
dd924cd7
RM
150162012-08-15 Roland McGrath <roland@hack.frob.com>
15017
4b4f2771
RM
15018 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15019 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15020
601c888b
RM
15021 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15022
176790a7
RM
15023 * elf/dl-sym.c: Include <stdlib.h>.
15024
329bc018
RM
15025 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15026 constants, which avoids warnings in 32-bit builds.
15027
e04e272d
RM
15028 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15029 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15030
952bf94a
RM
15031 * misc/lseek.c: File moved to ...
15032 * io/lseek.c: ... here.
15033
7c99b50a
RM
15034 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15035
dd924cd7
RM
15036 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15037 shifting LEN more than 31 bits at once.
15038
b3f479a8
LD
150392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15040
15041 [BZ #14195]
8c4ae0d4
RM
15042 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15043 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15044 * string/test-strncasecmp.c (check1): Renamed to...
15045 (bz12205): ...this.
15046 (bz14195): Add new testcase for two empty input strings and N > 0.
15047 (test_main): Call new testcase, adapt for renamed function.
15048
9c55864e
AJ
150492012-08-15 Andreas Jaeger <aj@suse.de>
15050
15051 [BZ #14090]
15052 * crypt/md5test2.c: New test, based on test supplied by Serge
15053 Belyshev <belyshev@depni.sinp.msu.ru>.
15054 * crypt/Makefile (xtests): Add md5test-giant..
15055 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15056
02dcb6c5
PE
150572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15058
15059 [BZ #14090]
15060 * crypt/md5.c (md5_process_block): Don't assume the buffer
15061 length is less than 2**32.
15062 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15063 length is less than 2**64.
15064
a3f95dcc
RM
150652012-08-15 Roland McGrath <roland@hack.frob.com>
15066
be75d758
RM
15067 * string/str-two-way.h: Include <sys/param.h>.
15068 (MAX): Macro removed.
15069
7312ca90
RM
15070 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15071 Move #define and #undef of memmove to just before and after
15072 including <string.h>.
15073
9a0a5486
RM
15074 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15075 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15076 and after including <string.h>. Move declarations of
15077 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15078 to before #include "string/memmove.c".
15079
67cc348d
RM
15080 * include/dirent.h: Declare __getdirentries.
15081
a3f95dcc
RM
15082 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15083 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15084
ca98e171
MF
150852012-08-14 Mike Frysinger <vapier@gentoo.org>
15086
15087 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15088 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15089 * sysdeps/i386/configure: Regenerated.
15090 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15091 STABS_CURRENT_FILE, and STABS_FUN.
15092 (END): Remove call to STABS_FUN_END.
15093 (STABS_CURRENT_FILE1): Delete.
15094 (STABS_CURRENT_FILE): Likewise.
15095 (STABS_FUN): Likewise.
15096 (STABS_FUN_END): Likewise.
15097 (STABS_FUN2): Likewise.
15098 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15099 * sysdeps/x86_64/configure: Regenerated.
15100
5908bf46
RM
151012012-08-14 Roland McGrath <roland@hack.frob.com>
15102
15103 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15104 * elf/dl-lookup.c: Likewise.
5908bf46 15105
f2c05b9e
JM
151062012-08-14 Joseph Myers <joseph@codesourcery.com>
15107
15108 * sysdeps/unix/sysv/linux/kernel-features.h
15109 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15110 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15111 unconditionally.
15112 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15113 unconditionally.
15114 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15115 condition on __ASSUME_CLONE_THREAD_FLAGS.
15116
e11f5155
AJ
151172012-08-14 Andreas Jaeger <aj@suse.de>
15118
15119 * sysdeps/i386/fpu/libm-test-ulps: Update.
15120
51a9ba86
MK
151212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15122
2fdd4f78
AJ
15123 * include/atomic.h (atomic_exchange_and_add): Split into ...
15124 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15125 New atomic macros.
51a9ba86 15126
ba6cba9e
MT
151272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15128
15129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15130
42443a47
JL
151312012-08-13 Jeff Law <law@redhat.com>
15132
15133 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15134 null byte in the output string.
15135
121dce05
JM
151362012-08-10 Joseph Myers <joseph@codesourcery.com>
15137
15138 * sysdeps/unix/sysv/linux/kernel-features.h
15139 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15140 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15141 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15142 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15143 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15144 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15145 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15146
bf51f568
JL
151472012-08-09 Jeff Law <law@redhat.com>
15148
15149 [BZ #13939]
15150 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15151 When avoid_arena is set, don't retry in the that arena. Pick the
15152 next one, whatever it might be.
15153 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15154 (arena_lock): Pass in new parameter to arena_get2.
15155 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15156 arena_get2.
15157 (__libc_malloc): Unify retrying after main arena failure with
15158 __libc_memalign version.
15159 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15160
f85fa270
L
151612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 [BZ #14166]
15164 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15165 to __redirect_strstr.
15166 (__strstr_sse42): Use typeof __redirect_strstr.
15167 (__strstr_ia32): Likewise.
15168 (__libc_strstr): New prototype.
15169 (strstr): Renamed to ...
15170 (__libc_strstr): This.
15171 (strstr): New strong alias of __libc_strstr.
15172 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15173 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15174 __redirect_time.
15175 Include <time.h>.
15176 (__libc_time): New prototype.
15177 (time_ifunc): Replace time with __libc_time.
15178 (time): New strong alias and hidden definition of __libc_time.
15179 (__GI_time): Remove strong alias.
15180 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15181 Include <stddef.h>.
15182 (memmove): Redefined to __redirect_memmove.
15183 (__memmove_sse2): Use typeof __redirect_memmove.
15184 (__memmove_ssse3): Likewise.
15185 (__memmove_ssse3_back): Likewise.
15186 (__libc_memmove): New prototype.
15187 (memmove): Renamed to ...
15188 (__libc_memmove): This.
15189 (memmove): New strong alias of __libc_memmove.
15190
33b4a91e
MS
151912012-08-08 Mark Salter <msalter@redhat.com>
15192
15193 * elf/elf.h
15194 (R_MN10300_TLS_GD): Define.
15195 (R_MN10300_TLS_LD): Likewise.
15196 (R_MN10300_TLS_LDO): Likewise.
15197 (R_MN10300_TLS_GOTIE): Likewise.
15198 (R_MN10300_TLS_IE): Likewise.
15199 (R_MN10300_TLS_LE): Likewise.
15200 (R_MN10300_TLS_DTPMOD): Likewise.
15201 (R_MN10300_TLS_DTPOFF): Likewise.
15202 (R_MN10300_TLS_TPOFF): Likewise.
15203 (R_MN10300_SYM_DIFF): Likewise.
15204 (R_MN10300_ALIGN): Likewise.
15205 (R_MN10300_NUM): Update.
15206
b36137f1
JM
152072012-08-08 Joseph Myers <joseph@codesourcery.com>
15208
15209 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15210 Remove.
15211
cdd915fd
RM
152122012-08-08 Roland McGrath <roland@hack.frob.com>
15213
a2433aac
RM
15214 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15215
cdd915fd
RM
15216 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15217 sysdeps/unix -> sysdeps/posix move.
15218 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15219
bf9b740a
AM
152202012-08-07 Allan McRae <allan@archlinux.org>
15221
15222 [BZ #14303]
15223 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15224 (SUNOS_CPP): Likewise.
15225 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15226 not found.
15227 (open_input): Call CPP using execvp.
15228
93df14ee
JM
152292012-08-07 Joseph Myers <joseph@codesourcery.com>
15230
15231 * sysdeps/unix/sysv/linux/kernel-features.h
15232 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15233 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15234 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15235 (__ASSUME_WAITID_SYSCALL): Likewise.
15236 * sysdeps/unix/sysv/linux/dl-execstack.c
15237 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15238 code unconditional.
15239 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15240 conditional code.
15241 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15242 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15243 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15244 code.
15245 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15246 unconditional.
15247 [__ASSUME_WAITID_SYSCALL]: Likewise.
15248 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15249
d34689de
RM
152502012-08-07 Roland McGrath <roland@hack.frob.com>
15251
a281decc
RM
15252 * sysdeps/unix/closedir.c: Renamed to ...
15253 * sysdeps/posix/closedir.c: ... here.
15254 * sysdeps/unix/dirfd.c: Renamed to ...
15255 * sysdeps/posix/dirfd.c: ... here.
15256 * sysdeps/unix/dirstream.h: Renamed to ...
15257 * sysdeps/posix/dirstream.h: ... here.
15258 * sysdeps/unix/fdopendir.c: Renamed to ...
15259 * sysdeps/posix/fdopendir.c: ... here.
15260 * sysdeps/unix/opendir.c: Renamed to ...
15261 * sysdeps/posix/opendir.c: ... here.
15262 * sysdeps/unix/readdir.c: Renamed to ...
15263 * sysdeps/posix/readdir.c: ... here.
15264 * sysdeps/unix/readdir_r.c: Renamed to ...
15265 * sysdeps/posix/readdir_r.c: ... here.
15266 * sysdeps/unix/rewinddir.c: Renamed to ...
15267 * sysdeps/posix/rewinddir.c: ... here.
15268 * sysdeps/unix/seekdir.c: Renamed to ...
15269 * sysdeps/posix/seekdir.c: ... here.
15270 * sysdeps/unix/telldir.c: Renamed to ...
15271 * sysdeps/posix/telldir.c: ... here.
15272 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15273 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15274 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15275 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15276
22895b47
RM
15277 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15278 * bits/fcntl.h: ... here.
15279
707a53b6
RM
15280 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15281 not 0.
15282 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15283 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15284 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15285 (struct flock): Move l_start, l_len to the beginning.
15286 Use __pid_t for l_pid.
15287 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15288 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15289 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15290 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15291 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15292 [__USE_LARGEFILE64] (struct flock64): New type.
15293 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15294
f0bd3e25
RM
15295 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15296 * bits/dirent.h: ... here.
15297
d34689de
RM
15298 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15299 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15300
6dad2c06
JM
153012012-08-07 Joseph Myers <joseph@codesourcery.com>
15302
15303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15304 Change from 2.6.0 to 2.6.16.
15305 * sysdeps/unix/sysv/linux/configure: Regenerated.
15306 * sysdeps/unix/sysv/linux/kernel-features.h
15307 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15308 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15309 version.
15310 (__ASSUME_UTIMES): Likewise.
15311 (__ASSUME_CLONE_STOPPED): Remove.
15312 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15313 architectures, not kernel version.
15314 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15315 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15316 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15317 (__ASSUME_WAITID_SYSCALL): Likewise.
15318 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15319 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15320 * README: State 2.6.16 as minimum Linux kernel version. Do not
15321 refer to older versions.
15322
03af9520
RM
153232012-08-06 Roland McGrath <roland@hack.frob.com>
15324
8e49df1d
RM
15325 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15326 Define alphasort64 as an alias.
15327 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15328 Define versionsort64 as an alias.
15329 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15330 Define scandir64 as an alias.
15331 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15332 Define scandirat64 as an alias.
15333 * dirent/alphasort64.c (alphasort64):
15334 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15335 * dirent/versionsort64.c: Likewise.
15336 * dirent/scandir64.c: Likewise.
15337 * dirent/scandirat64.c: Likewise.
15338 * sysdeps/wordsize-64/alphasort.c: File removed.
15339 * sysdeps/wordsize-64/alphasort64.c: File removed.
15340 * sysdeps/wordsize-64/scandir.c: File removed.
15341 * sysdeps/wordsize-64/scandir64.c: File removed.
15342 * sysdeps/wordsize-64/scandirat.c: File removed.
15343 * sysdeps/wordsize-64/scandirat64.c: File removed.
15344 * sysdeps/wordsize-64/versionsort.c: File removed.
15345 * sysdeps/wordsize-64/versionsort64.c: File removed.
15346 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15347 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15348 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15349 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15350 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15351 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15354
15355 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15357 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15359 [defined __arch64__ || defined __sparcv9]
15360 (__INO_T_MATCHES_INO64_T): New macro.
15361 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15362 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15363 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15364 * sysdeps/unix/sysv/linux/bits/dirent.h
15365 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15366 (_DIRENT_MATCHES_DIRENT64): New macro.
15367
03af9520
RM
15368 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15369 Define lockf64 as an alias.
15370 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15371 Define fseeko64 as an alias.
15372 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15373 Define ftello64 as an alias.
15374 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15375 Define _IO_fgetpos64 and fgetpos64 as aliases.
15376 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15377 Define _IO_fsetpos64 and fsetpos64 as aliases.
15378 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15379 Conditionalize body on this.
15380 * libio/fseeko64.c: Likewise.
15381 * libio/ftello64.c: Likewise.
15382 * libio/iofgetpos64.c: Likewise.
15383 * libio/iofsetpos64.c: Likewise.
15384 * sysdeps/wordsize-64/lockf.c: File removed.
15385 * sysdeps/wordsize-64/lockf64.c: File removed.
15386 * sysdeps/wordsize-64/fseeko.c: File removed.
15387 * sysdeps/wordsize-64/fseeko64.c: File removed.
15388 * sysdeps/wordsize-64/ftello.c: File removed.
15389 * sysdeps/wordsize-64/ftello64.c: File removed.
15390 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15391 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15392 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15393 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15394 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15395 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15396 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15397 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15398 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15400 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15401 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15403 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15404
15405 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15407 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15409 [defined __arch64__ || defined __sparcv9]
15410 (__OFF_T_MATCHES_OFF64_T): New macro.
15411 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15412 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15414 (__OFF_T_MATCHES_OFF64_T): New macro.
15415
c5757acd
L
154162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15417
15418 * stdlib/secure-getenv.c (__secure_getenv): Replace
15419 GLIBC_2_16 with GLIBC_2_17.
15420
3a31811e
L
154212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15422
15423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15425
faa2bccb
DM
154262012-08-03 David S. Miller <davem@davemloft.net>
15427
15428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15429
85fe1997
JM
154302012-08-03 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15433 Remove.
15434 (__ASSUME_CORRECT_SI_PID): Likewise.
15435 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15436 (__ASSUME_TMPFS_NAME): Likewise.
15437 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15438 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15439 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15440 (HAVE_AUX_SECURE): Make definition unconditional.
15441 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15442 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15443
4f75b7a0
RM
154442012-08-03 Roland McGrath <roland@hack.frob.com>
15445
15446 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15447 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15448 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15449 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15450 __eloop_threshold instead of SYMLOOP_MAX.
15451
15452 * sysdeps/generic/eloop-threshold.h: New file.
15453 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15454 of MAXSYMLINKS.
15455 * elf/chroot_canon.c (chroot_canon): Likewise.
15456
7aab07e4
JM
154572012-08-03 Joseph Myers <joseph@codesourcery.com>
15458
15459 [BZ #13717]
15460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15461 Change to 2.6.0 everywhere.
15462 * sysdeps/unix/sysv/linux/configure: Regenerated.
15463 * sysdeps/unix/sysv/linux/kernel-features.h
15464 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15465 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15466 kernel versions.
15467 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15468 (__ASSUME_FUTEX_REQUEUE): Remove.
15469 (__ASSUME_STATFS64): Define unconditionally.
15470 (__ASSUME_AT_SECURE): Likewise.
15471 (__ASSUME_CORRECT_SI_PID): Likewise.
15472 (__ASSUME_TGKILL): Define without depending on kernel version for
15473 i386.
15474 (__ASSUME_UTIMES): Likewise.
15475 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15476 kernel version.
15477 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15478 (__ASSUME_TMPFS_NAME): Likewise.
15479 * README: Update reference to Linux kernel versions.
15480
b67e9372
MP
154812012-08-02 Marek Polacek <polacek@redhat.com>
15482
1f529f7d 15483 [BZ# 14150]
b67e9372
MP
15484 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15485 libc_cv_asm_type_prefix with %.
15486 * configure: Regenerated.
d2441631
RM
15487 * include/libc-symbols.h: Remove comment about
15488 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15489 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15490 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15491 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15492 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15493 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15494 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15495 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15496 * elf/tst-unique2mod1.c: Likewise.
15497 * elf/tst-unique1mod2.c: Likewise.
15498 * elf/tst-unique1mod1.c: Likewise.
15499 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15500 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15501 Replace ASM_TYPE_DIRECTIVE with .type.
15502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15503 * sysdeps/i386/sysdep.h: Likewise.
15504 * sysdeps/x86_64/sysdep.h: Likewise.
15505 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15507 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15508 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15509 * sysdeps/powerpc/powerpc32/sysdep.h:
15510 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15511 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15512 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15513 * sysdeps/i386/fpu/e_powf.S: Likewise.
15514 * sysdeps/i386/fpu/e_expl.S: Likewise.
15515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15516 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15517 * sysdeps/i386/fpu/e_pow.S: Likewise.
15518 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15519 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15520 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15521 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15522 * sysdeps/i386/fpu/e_log2.S: Likewise.
15523 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15524 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15525 * sysdeps/i386/fpu/e_powl.S: Likewise.
15526 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15527 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15528 * sysdeps/i386/fpu/e_logl.S: Likewise.
15529 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15530 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15531 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15533 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15534 * sysdeps/i386/fpu/e_log.S: Likewise.
15535 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15536 * sysdeps/i386/fpu/e_logf.S: Likewise.
15537 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15538 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15539 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15540 * sysdeps/i386/fpu/e_log10.S: Likewise.
15541 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15543 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15544 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15546 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15547 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15548 * sysdeps/i386/i686/strtok.S: Likewise.
15549 * sysdeps/i386/i386-mcount.S: Likewise.
15550 * sysdeps/i386/strtok.S: Likewise.
15551 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15552 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15557 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15558 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15559 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15560 * sysdeps/x86_64/_mcount.S: Likewise.
15561 * sysdeps/x86_64/strtok.S: Likewise.
15562 * sysdeps/sh/_mcount.S: Likewise.
15563
2747bf9a
RM
155642012-08-01 Roland McGrath <roland@hack.frob.com>
15565
15566 * libio/iofopen.c: Include <fcntl.h>.
15567 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15568 (_IO_fopen64, fopen64): Define as aliases.
15569 * libio/iofopen64.c: Include <fcntl.h>.
15570 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15571 Conditionalize body on this.
15572 * sysdeps/wordsize-64/iofopen.c: File removed.
15573 * sysdeps/wordsize-64/iofopen64.c: File removed.
15574
3fb791b8
MP
155752012-08-01 Marek Polacek <polacek@redhat.com>
15576
15577 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15578 Use dlfcn directly instead of a variable.
15579 (binfmt-subdir): Do not define.
15580 (dlfcn): Likewise.
15581
a9f1039f
JM
155822012-08-01 Joseph Myers <joseph@codesourcery.com>
15583
23bddc06
JM
15584 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15585 Remove all definitions.
15586 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15587 <kernel-features.h>.
15588 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15589 (miss_F_GETOWN_EX): Remove all definitions.
15590 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15591 macro definition.
15592 [!__ASSUME_FCNTL64]: Remove conditional code.
15593 [__ASSUME_FCNTL64]: Make code unconditional.
15594 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15595 <kernel-features.h>.
15596 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15597 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15598 (lockf64) [__NR_fcntl64]: Make code unconditional.
15599 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15600
a9f1039f
JM
15601 * sysdeps/unix/sysv/linux/kernel-features.h
15602 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15603 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15604 Make code unconditional.
15605 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15606 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15608 [__NR_vfork]: Make code unconditional.
15609 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15610 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15612 [__NR_vfork]: Make code unconditional.
15613 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15614 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15615
09c0ee5f
RM
156162012-08-01 Roland McGrath <roland@hack.frob.com>
15617
48aec5b9
RM
15618 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15619 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15620
cd97c966
RM
15621 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15622 Define mkstemp64 as an alias.
3f55550c
RM
15623 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15624 Define mkstemps64 as an alias.
cd97c966
RM
15625 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15626 Define mkostemp64 as an alias.
b8625cfc
RM
15627 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15628 Define mkostemps64 as an alias.
cd97c966
RM
15629 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15630 Conditionalize body on this.
15631 * misc/mkostemp64.c: Likewise.
b8625cfc 15632 * misc/mkostemps64.c: Likewise.
3f55550c 15633 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15634 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15635 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15636 * sysdeps/wordsize-64/mkostemp.c: File removed.
15637 * sysdeps/wordsize-64/mkstemp.c: File removed.
15638 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15640 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15642
09c0ee5f
RM
15643 [BZ #14138]
15644 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15645 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15646 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15647 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15648
15649 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15650 compat_symbol macros from <shlib-compat.h> rather than the underlying
15651 default_symbol_version and symbol_version macros, so that DEFAULT
15652 lines in shlib-versions are respected.
15653 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15654
7e66ee51
FW
156552012-08-01 Florian Weimer <fweimer@redhat.com>
15656
15657 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15658 Declare with warn_unused_result.
15659 (setgid, setregid, setegid, setresgid): Likewise.
15660 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15661 Likewise.
15662 * WUR-REPORT: Remove set*id functions.
15663
d2a54255
PT
156642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15665
15666 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15667
7ecdb005
RM
156682012-07-31 Roland McGrath <roland@hack.frob.com>
15669
b4180a5e 15670 [BZ #10191]
789bd351
RM
15671 * include/sys/socket.h (__libc_accept, __libc_accept4):
15672 Add attribute_hidden.
15673 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15674
40ce302d
RM
15675 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15676 use of PTR_MANGLE.
15677 * inet/getnetgrent_r.c (setup): Likewise.
15678
7ecdb005
RM
15679 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15680
e2eabb2c
DM
156812012-07-31 David S. Miller <davem@davemloft.net>
15682
15683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15684
d0419dbf
JM
156852012-07-31 Joseph Myers <joseph@codesourcery.com>
15686
15687 [BZ #13629]
15688 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15689 value between 1.0 and 2.0 and smaller part has absolute value less
15690 than 1.0.
15691 * math/s_clog10.c (__clog10): Likewise.
15692 * math/s_clog10f.c (__clog10f): Likewise.
15693 * math/s_clog10l.c (__clog10l): Likewise.
15694 * math/s_clogf.c (__clogf): Likewise.
15695 * math/s_clogl.c (__clogl): Likewise.
15696 * math/libm-test.inc (clog_test): Add more tests.
15697 (clog10_test): Likewise.
15698 * sysdeps/i386/fpu/libm-test-ulps: Update.
15699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15700
2bc13872
FW
157012012-07-31 Florian Weimer <fweimer@redhat.com>
15702
15703 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15704 Exit with zero in case no suitable GID is found, and write a
15705 message to standard error.
15706
bea9b193
RM
157072012-07-30 Roland McGrath <roland@hack.frob.com>
15708
15709 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15710 rather than to 1.
15711 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15712 (MAXPATHLEN): Removed.
15713 (NOGROUP, NODEV): New macros.
15714 (setbit, clrbit, isset, isclr): New macros.
15715 (howmany, roundup, powerof2): New macros.
15716 (DEV_BSIZE): New macro.
15717
15718 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15719 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15720
15721 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15722 definition on [!__NO_LONG_DOUBLE_MATH].
15723
15724 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15725 PTR_MANGLE and PTR_DEMANGLE.
15726
15727 * socket/accept4.c (accept4): Rename to __libc_accept4.
15728 Define accept4 as a weak alias.
15729
15730 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15731 on [_DIRENT_HAVE_D_TYPE].
15732 * io/ftw.c (ftw_dir): Likewise.
15733
15734 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15735
15736 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15737
15738 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15739 Use the BSD numbers rather than the arbitrary ones we had.
15740 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15741 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15742 (SIGXCPU, SIGXFSZ): New macros.
15743 (_NSIG): Now 32.
15744
15745 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15746 initializer on [_LIBC_REENTRANT].
15747
15748 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15749 definitions inside [_POSIX_MAPPED_FILES].
15750
15751 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15752
15753 * dirent/opendir.c: Include <fcntl.h>.
15754
15755 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15756 (__libc_getspecific): Likewise.
15757 (__libc_key_create): Likewise.
15758
15759 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15760 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15761 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15762 (tmpfile64): Define as alias.
15763 * sysdeps/wordsize-64/tmpfile.c: File removed.
15764 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15766 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15767
15768 * stdio-common/vfscanf.c: Include <stdbool.h>.
15769 * nss/makedb.c: Likewise.
15770 * stdio-common/_i18n_number.h: Likewise.
15771 * argp/argp-help.c: Likewise.
15772 * posix/wordexp.c: Likewise.
15773 * sysdeps/posix/spawni.c: Likewise.
15774 * nss/nss_files/files-initgroups.c: Likewise.
15775 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15776 * nss/nss_files/files-initgroups.c: Likewise.
15777 * nss/nss_db/db-netgrp.c: Likewise.
15778 * nss/nss_db/db-initgroups.c: Likewise.
15779 * io/fchmodat.c: Include <sys/stat.h>.
15780
15781 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15782 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15783
15784 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15785 [HAVE_MMAP].
15786
15787 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15788 Add multiple inclusion protection.
15789
e5abc686
DM
157902012-07-27 David S. Miller <davem@davemloft.net>
15791
15792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15793
815e6fa3
GB
157942012-07-27 Gary Benson <gbenson@redhat.com>
15795
15796 [BZ #14298]
15797 * elf/rtld.c: Include <stap-probe.h>.
15798 (dl_main): Added static probes "init_start" and "init_complete".
15799 * elf/dl-load.c: Include <stap-probe.h>.
15800 (lose): Take new parameter "nsid".
15801 Added static probe "map_failed".
15802 (_dl_map_object_from_fd): Pass namespace id to lose.
15803 Added static probe "map_start".
15804 (open_verify): Pass namespace id to lose.
15805 * elf/dl-open.c: Include <stap-probe.h>.
15806 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15807 and "reloc_complete".
15808 * elf/dl-close.c: Include <stap-probe.h>.
15809 (_dl_close_worker): Added static probes "unmap_start" and
15810 "unmap_complete".
15811 * elf/rtld-debugger-interface.txt: New file documenting the above.
15812
9f98c16c
RM
158132012-07-26 Roland McGrath <roland@hack.frob.com>
15814
15815 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15816 rather than a string variable.
15817 * sunrpc/rpc_main.c (h_output): Likewise.
15818 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15819
f3c22df3
PT
158202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15821
15822 * inet/check_native.c: New file.
15823
3129cfc6
JM
158242012-07-26 Joseph Myers <joseph@codesourcery.com>
15825
da865e95
JM
15826 [BZ #13629]
15827 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15828 if larger part has absolute value 1.0.
15829 * math/s_clog10.c (__clog10): Likewise.
15830 * math/s_clog10f.c (__clog10f): Likewise.
15831 * math/s_clog10l.c (__clog10l): Likewise.
15832 * math/s_clogf.c (__clogf): Likewise.
15833 * math/s_clogl.c (__clogl): Likewise.
15834 * math/libm-test.inc (clog_test): Add more tests.
15835 (clog10_test): Likewise.
15836 * sysdeps/i386/fpu/libm-test-ulps: Update.
15837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15838
3129cfc6
JM
15839 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15840 (pltexit): Likewise.
15841 (La_regs): Likewise.
15842 (La_retval): Likewise.
15843 (int_retval): Likewise.
15844 Update #error for removed macros to refer only to definitions in
15845 tst-audit.h.
15846 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15847 macro.
15848 (pltexit): Likewise.
15849 (La_regs): Likewise.
15850 (La_retval): Likewise.
15851 (int_retval): Likewise.
15852 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15853 macro.
15854 (pltexit): Likewise.
15855 (La_regs): Likewise.
15856 (La_retval): Likewise.
15857 (int_retval): Likewise.
15858 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15859 macro.
15860 (pltexit): Likewise.
15861 (La_regs): Likewise.
15862 (La_retval): Likewise.
15863 (int_retval): Likewise.
15864 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15865 macro.
15866 (pltexit): Likewise.
15867 (La_regs): Likewise.
15868 (La_retval): Likewise.
15869 (int_retval): Likewise.
15870 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15871 macro.
15872 (pltexit): Likewise.
15873 (La_regs): Likewise.
15874 (La_retval): Likewise.
15875 (int_retval): Likewise.
15876 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15877 macro.
15878 (pltexit): Likewise.
15879 (La_regs): Likewise.
15880 (La_retval): Likewise.
15881 (int_retval): Likewise.
15882 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15883 macro definitions in tst-audit.h.
15884 * sysdeps/i386/tst-audit.h: New file.
15885 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15886 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15887 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15888 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15889 * sysdeps/sh/tst-audit.h: Likewise.
15890 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15891 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15892 * sysdeps/x86_64/tst-audit.h: Likewise.
15893
bfc07087
AJ
158942012-07-26 Andreas Jaeger <aj@suse.de>
15895
b1b2aaf8
AJ
15896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15897 ptrace.
15898
15899 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15900 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15901 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15902 PTRACE_O_MASK.
15903 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15904 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15906
bfc07087
AJ
15907 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15908 value.
15909
15910 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15911 _sigsys.
15912 (si_call_addr, si_syscall, si_arch): Define new macro.
15913 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15914 _sigsys.
15915 (si_call_addr, si_syscall, si_arch): Define new marcro.
15916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15917 _sigsys.
15918 (si_call_addr, si_syscall, si_arch): Define new macro.
15919 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15920 _sigsys.
15921 (si_call_addr, si_syscall, si_arch): Define new macro.
15922
89b4b02f
JM
159232012-07-25 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #13717]
15926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15927 Change to 2.4.21 where previously 2.4.1.
15928 * sysdeps/unix/sysv/linux/configure: Regenerated.
15929 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15930 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15931 Linux kernel version.
15932 (__ASSUME_STD_AUXV): Remove.
15933 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15934 kernel version.
15935 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15936 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15937 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15938 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15939 (__ASSUME_NETLINK_SUPPORT): Likewise.
15940 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15941 (__no_netlink_support): Remove conditional definition.
15942 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15943 Remove.
15944 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15945 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15946 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15947 (if_nameindex_ioctl): Remove.
15948 (if_nameindex_netlink): Do not handle __no_netlink_support.
15949 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15950 code.
15951 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15952 Remove conditional code.
15953 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15954 code.
15955 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15956 unconditional.
15957 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15958 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15959 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15960 Remove.
15961 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15962 [!__ASSUME_STD_AUXV]: Remove conditional code.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15964 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15965 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15967 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15968 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15969 code.
15970 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15972 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15973 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15974 conditional code.
15975 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15977 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15978 code.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15980 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15981 conditional code.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15983 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15984 code unconditional.
15985 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15986 conditional code.
15987 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15988 unconditional.
15989 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15990 conditional code.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15992 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15993 unconditional.
15994 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15995 conditional code.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15997 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15998 code unconditional.
15999 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16000 conditional code.
16001 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16002 unconditional.
16003 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16004 conditional code.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16006 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16007 code unconditional.
16008 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16009 conditional code.
16010 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16011 unconditional.
16012 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16013 conditional code.
16014
842a39cd
AS
160152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16016
16017 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16018 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16019 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16020 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16021 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16022 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16023 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16024 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16025 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16026 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16027 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16028 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16029 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16030 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16031 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16033 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16035 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16040
84b3fd84
FW
160412012-07-25 Florian Weimer <fweimer@redhat.com>
16042
16043 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16044 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16045 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16046 Introduce __libc_secure_getenv.
0c7936d5
FW
16047 * stdlib/Versions (2.17): Add secure_getenv
16048 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16049 * stdlib/secure-getenv.c: Rename __secure_getenv to
16050 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16051 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16052 * stdlib/tst-secure-getenv.c: New.
16053 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16054 * manual/startup.texi (Environment Access): Document
16055 secure_getenv.
84b3fd84
FW
16056 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16057 __libc_secure_getenv.
16058 * inet/ruserpass.c (ruserpass): Likewise.
16059 * malloc/mtrace.c (mtrace): Likewise.
16060 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16061 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16062 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16063 * sysdeps/posix/tempname.c: Likewise. Evaluate
16064 HAVE_SECURE_GETENV.
16065 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16066 __secure_getenv to __libc_secure_getenv.
84b3fd84 16067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16069 Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16071 Likewise.
16072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16079
56e49b71
JM
160802012-07-25 Joseph Myers <joseph@codesourcery.com>
16081
16082 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16083 (struct La_i86_retval): Likewise.
16084 (struct La_x86_64_regs): Likewise.
16085 (struct La_x86_64_retval): Likewise.
16086 (struct La_x32_regs): Likewise.
16087 (struct La_x32_retval): Likewise.
16088 (struct La_ppc32_regs): Likewise.
16089 (struct La_ppc32_retval): Likewise.
16090 (struct La_ppc64_regs): Likewise.
16091 (struct La_ppc64_retval): Likewise.
16092 (struct La_sh_regs): Likewise.
16093 (struct La_sh_retval): Likewise.
16094 (struct La_s390_32_regs): Likewise.
16095 (struct La_s390_32_retval): Likewise.
16096 (struct La_s390_64_regs): Likewise.
16097 (struct La_s390_64_retval): Likewise.
16098 (struct La_sparc32_regs): Likewise.
16099 (struct La_sparc32_retval): Likewise.
16100 (struct La_sparc64_regs): Likewise.
16101 (struct La_sparc64_retval): Likewise.
16102 (struct audit_ifaces): Remove architecture-specific pltenter and
16103 pltexit members.
16104 * sysdeps/i386/ldsodefs.h: New file.
16105 * sysdeps/powerpc/ldsodefs.h: Likewise.
16106 * sysdeps/s390/ldsodefs.h: Likewise.
16107 * sysdeps/sh/ldsodefs.h: Likewise.
16108 * sysdeps/sparc/ldsodefs.h: Likewise.
16109 * sysdeps/x86_64/ldsodefs.h: Likewise.
16110
354691b7
MP
161112012-07-25 Marek Polacek <polacek@redhat.com>
16112
16113 [BZ #6808]
16114 * math/libm-test.inc (yn_test): Add another test.
16115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16116 to ERANGE when the result is +-Inf.
16117 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16118 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16119 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16120 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16121
bf9e2071
JM
161222012-07-24 Joseph Myers <joseph@codesourcery.com>
16123
16124 * conform/data/time.h-data (NULL): Use macro-constant. Require
16125 equal to 0.
16126 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16127 clock_t.
16128 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16129
57633811
TS
161302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16131
16132 * configure.in <sysdeps resolving>: Correct printing
16133 Implies_before.
16134 * configure: Regenerate.
16135
c23c33b0
TS
161362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16137
16138 * math/w_ilogb.c: Include <limits.h>.
16139 * math/w_ilogbl.c: Likewise.
16140
b5982523
JM
161412012-07-20 Joseph Myers <joseph@codesourcery.com>
16142
16143 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16144 va_copy. Document allowing for unavailable va_copy only as
16145 pre-C99 compatibility.
16146 * manual/string.texi (Copying and Concatenation): Use va_copy
16147 instead of __va_copy in concat example.
16148
ac4ea442
PT
161492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16150
16151 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16152 (__sendto): Use create_address_port. Initialize APORT and deallocate
16153 it if not null.
16154
f98eafbd
PT
16155 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16156 with O_NOLINK passed to __file_name_lookup.
16157
898c7aab
PT
16158 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16159 with O_NOLINK passed to __file_name_lookup.
16160
0ced335a
PT
16161 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16162 negative N or less than NGIDS.
16163
b3404dbd
PT
16164 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16165 type to string_t. Set ERANGE as errno and return it if NAME is not big
16166 enough. Use memcpy instead of strncpy.
16167
0f48659e
JM
161682012-07-20 Joseph Myers <joseph@codesourcery.com>
16169
16170 * elf/Makefile (check-data): Remove.
16171 (localplt.data): New vpath directive.
16172 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16173 instead of $(check-data).
16174 * scripts/data/localplt-generic.data: Move to ...
16175 * sysdeps/generic/localplt.data: ... here.
16176 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16177 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16178 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16180 ... here.
16181 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16183 ... here.
16184 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16186 ... here.
16187 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16189 ... here.
16190 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16192 ... here.
16193 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16195 ... here.
16196
d37cbdaa
AZ
161972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16198
16199 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16200 PPC32 and PPC64 files.
16201 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16202 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16203
46f85fc2
AK
162042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16205
16206 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16207 __makecontext_ret to ...
16208 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16209 ... here and call exit if uc_link is NULL. New file.
16210 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16211 __makecontext_ret.S.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16213 __makecontext_ret to ...
16214 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16215 ... here and call exit if uc_link is NULL. New file.
16216 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16217 __makecontext_ret.S.
16218
08f43f9b
AK
162192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16220
16221 * elf/elf.h (R_390_IRELATIVE): New definition.
16222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16223 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16224 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16225 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16226 (elf_machine_lazy_rel): Likewise.
16227 * sysdeps/s390/dl-irel.h: New file.
16228 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16229 * sysdeps/s390/s390-64/memset.S: New asm code.
16230 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16231 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16232 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16233 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16234 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16235 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16237 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16238 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16239 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16240 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16241 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16242 * sysdeps/s390/s390-32/memset.S: New asm code.
16243 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16244
3b05db33
MP
162452012-07-17 Marek Polacek <polacek@redhat.com>
16246
16247 [BZ #14349]
16248 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16249 * sysdeps/s390/s390-64/configure.in: Likewise.
16250 * sysdeps/sparc/configure.in: Likewise.
16251 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16252 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16253 * sysdeps/i386/configure.in: Likewise.
16254 * sysdeps/x86_64/configure.in: Likewise.
16255 * sysdeps/sh/configure.in: Likewise.
16256 * sysdeps/s390/s390-32/configure: Regenerated.
16257 * sysdeps/s390/s390-64/configure: Likewise.
16258 * sysdeps/x86_64/configure: Likewise.
16259 * sysdeps/sh/configure: Likewise.
16260 * sysdeps/powerpc/powerpc64/configure: Likewise.
16261 * sysdeps/powerpc/powerpc32/configure: Likewise.
16262 * sysdeps/sparc/configure: Likwise.
16263 * sysdeps/i386/configure: Likewise.
16264
a66877c6
MP
16265 * elf/dl-open.c: Comment fixes.
16266
cfc82fd8
JM
162672012-07-17 Joseph Myers <joseph@codesourcery.com>
16268
bd29910a
JM
16269 * Makefile [CXX] (check-data): Remove.
16270 [CXX] (c++-types.data): New vpath directive.
16271 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16272 vpath. Do not allow for C++ type data being missing.
16273 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16274 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16275 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16276 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16277 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16278 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16279 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16281 ... here.
16282 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16284 ... here.
16285 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16287 ... here.
16288 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16290 ... here.
16291 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16293 ... here.
16294 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16296 ... here.
16297 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16299 ... here.
16300 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16302
cfc82fd8
JM
16303 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16304 definitions to architecture-specific files.
16305 (TLS_IE): Likewise.
16306 (TLS_LD): Likewise.
16307 (TLS_GD): Likewise.
16308 * sysdeps/i386/tls-macros.h: New file.
16309 * sysdeps/powerpc/tls-macros.h: Likewise.
16310 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16311 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16312 * sysdeps/sh/tls-macros.h: Likewise.
16313 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16314 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16315 * sysdeps/x86_64/tls-macros.h: Likewise.
16316
f7db3170
TS
163172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16318
07cbfc23
TS
16319 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16320 zero value for regular exit case.
16321
f7db3170
TS
16322 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16323 (__start_context): Preserve zero value for regular exit case.
16324
dc97c227
TS
163252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16326 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16327
16328 * manual/setjmp.texi (setcontext): Clarify normal process
16329 termination when uc_link is the null pointer.
16330 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16331 exit call.
16332
d0cd7d02
AS
163332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16334
16335 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16336 preprocessor. Test for each exception mask separately.
16337
dd318934
AJ
163382012-07-16 Andreas Jaeger <aj@suse.de>
16339
16340 * po/ru.po: Update from translation team.
16341
8048311a
JM
163422012-07-15 Joseph Myers <joseph@codesourcery.com>
16343
16344 * conform/data/string.h-data (NULL): Use macro-constant. Require
16345 equal to 0.
16346 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16347 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16348 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16349 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16351
b637d46e
AJ
163522012-07-13 Andreas Jaeger <aj@suse.de>
16353
16354 * po/fr.po: Update from translation team.
16355
541428fe
MP
163562012-07-12 Marek Polacek <polacek@redhat.com>
16357
16358 [BZ #14173]
16359 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16360 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16361 loop condition.
16362
ec332e94
JM
163632012-07-12 Joseph Myers <joseph@codesourcery.com>
16364
16365 [BZ #13717]
16366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16367 Change to 2.4.1 where previously 2.4.0.
16368 * sysdeps/unix/sysv/linux/configure: Regenerated.
16369 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16370 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16371 version.
16372 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16373 (__ASSUME_AT_CLKTCK): Remove.
16374 (__ASSUME_AT_PAGESIZE): Likewise.
16375 (__ASSUME_AT_XID): Likewise.
16376 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16377 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16378 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16379 unconditionally.
16380 (HAVE_AUX_PAGESIZE): Likewise.
16381 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16382 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16383 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16384
7b6e99be
JB
163852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16386
16387 [BZ #14307]
16388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16389 the temporary buffer used to invoke __gethostbyname2_r,
16390 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16391 host_data / struct gaih_addrtuple.
16392 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16393 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16394 header file nss/nsswitch.h.
16395 * nss/nsswitch.h (global scope): Add definition of implementation
16396 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16397 resolv/nss_dns/dns-host.c).
16398
608404eb
AJ
163992012-07-11 Andreas Jaeger <aj@suse.de>
16400
16401 * po/fr.po: Update from translation team.
16402
71220aca
AJ
16403 * po/sv.po: Update from translation team
16404 * po/fr.po: Another update from translation team.
16405
28cfe843
AZ
164062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16407
16408 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16409 for subnormals or multiply small sinh result by itself.
16410 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16412
6b90f981
DM
164132012-07-11 David S. Miller <davem@davemloft.net>
16414
16415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16416
c6825772
AS
164172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16418
16419 [BZ #14347]
16420 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16421 (INTERNAL_MARK): Shift it here.
16422
7b8e0d49
MP
164232012-07-10 Marek Polacek <polacek@redhat.com>
16424
16425 [BZ #14151]
16426 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16427 libc_cv_asm_global_directive with .globl.
16428 * configure: Regenerated.
16429 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16430 with .globl.
16431 * sysdeps/i386/configure: Regenerated.
16432 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16433 with .globl.
16434 * sysdeps/x86_64/configure: Regenerated.
16435 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16436 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16437 * elf/tst-unique2mod2.c: Likewise.
16438 * elf/tst-unique2mod1.c: Likewise.
16439 * elf/tst-unique1mod2.c: Likewise.
16440 * elf/tst-unique1mod1.c: Likewise.
16441 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16442 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16443 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16444 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16445 * sysdeps/mach/sysdep.h: Likewise.
16446 * sysdeps/i386/sysdep.h: Likewise.
16447 * sysdeps/i386/i386-mcount.S: Likewise.
16448 * sysdeps/x86_64/_mcount.S: Likewise.
16449 * sysdeps/x86_64/sysdep.h: Likewise.
16450 * sysdeps/sh/_mcount.S: Likewise.
16451 * sysdeps/sh/sysdep.h: Likewise.
16452 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16453 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16454 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16455 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16456 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16458 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16459 * locale/localeinfo.h: Likewise.
16460 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16461 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16462
6c55cda3
RM
164632012-07-09 Roland McGrath <roland@hack.frob.com>
16464
16465 [BZ #14336]
16466 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16467 system".
16468 * manual/message.texi (The Uniforum approach): Likewise.
16469 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16470 (glibc iconv Implementation): Likewise.
16471
638a572e
JM
164722012-07-09 Joseph Myers <joseph@codesourcery.com>
16473
16474 [BZ #14337]
16475 * math/s_clog.c (__clog): Avoid scaling a value down where that
16476 could result in underflow.
16477 * math/s_clog10.c (__clog10): Likewise.
16478 * math/s_clog10f.c (__clog10f): Likewise.
16479 * math/s_clog10l.c (__clog10l): Likewise.
16480 * math/s_clogf.c (__clogf): Likewise.
16481 * math/s_clogl.c (__clogl): Likewise.
16482 * math/libm-test.inc (clog_test): Add more tests.
16483 (clog10_test): Likewise.
16484 * sysdeps/i386/fpu/libm-test-ulps: Update.
16485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16486
261f4859
AS
164872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16488
0abaf3e4
AS
16489 [BZ #14283]
16490 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16491 by 7 not 8 to examine high bit of fractional part.
16492
261f4859
AS
16493 [BZ #14042]
16494 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16495 for call to __mcount_internal.
16496 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16497 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16498 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16499
f17ac40d
JM
165002012-07-06 Joseph Myers <joseph@codesourcery.com>
16501
9ad63c23
JM
16502 [BZ #14154]
16503 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16504 approximation for values within 0x1p-13f of an odd multiple of
16505 pi/4.
16506 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16507 exception. Add more tests.
16508 * sysdeps/i386/fpu/libm-test-ulps: Update.
16509
f17ac40d
JM
16510 [BZ #6778]
16511 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16512 inputs and return -1 for them. Do not check for +Inf in case not
16513 reachable for +Inf.
16514 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16515 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16516 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16517 and return -1 for them. Do not check for +Inf in case not
16518 reachable for +Inf.
16519 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16520 define.
16521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16522 and return -1 for them. Do not check for +Inf in case not
16523 reachable for +Inf.
16524 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16525 spurious underflow.
16526 * sysdeps/i386/fpu/libm-test-ulps: Update.
16527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16528
fb21f89b
MF
165292012-07-06 Mike Frysinger <vapier@gentoo.org>
16530
16531 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16532
cdfe2c5e
JM
165332012-07-05 Joseph Myers <joseph@codesourcery.com>
16534
16535 [BZ #14157]
16536 [BZ #14331]
16537 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16538 could result in spurious underflow. Scale down values above
16539 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16540 * math/s_csqrtf.c (__csqrtf): Likewise.
16541 * math/s_csqrtl.c (__csqrtl): Likewise.
16542 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16543 spurious underflow.
16544 * sysdeps/i386/fpu/libm-test-ulps: Update.
16545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16546
70d35b67
AS
165472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16548
704bc459
AS
16549 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16550 xopen-msg.sed.
16551 * catgets/xopen-msg.awk: New file.
16552 * catgets/xopen-msg.sed: Removed.
16553
70d35b67
AS
16554 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16555 po2text.sed.
16556 * intl/po2test.awk: New file.
16557 * intl/po2test.sed: Removed.
16558
ca61cf32
JM
165592012-07-04 Joseph Myers <joseph@codesourcery.com>
16560
16561 [BZ #14328]
16562 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16563 or multiply small sinh result by itself.
16564 * math/s_ctanf.c (__ctanf): Likewise.
16565 * math/s_ctanh.c (__ctanh): Likewise.
16566 * math/s_ctanhf.c (__ctanhf): Likewise.
16567 * math/s_ctanhl.c (__ctanhl): Likewise.
16568 * math/s_ctanl.c (__ctanl): Likewise.
16569 * math/libm-test.inc (ctan_test_tonearest): New function.
16570 (ctan_test_towardzero): Likewise.
16571 (ctan_test_downward): Likewise.
16572 (ctan_test_upward): Likewise.
16573 (ctanh_test_tonearest): Likewise.
16574 (ctanh_test_towardzero): Likewise.
16575 (ctanh_test_downward): Likewise.
16576 (ctanh_test_upward): Likewise.
16577 (main): Call these new functions.
16578 * sysdeps/i386/fpu/libm-test-ulps: Update.
16579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580
ca48a46a
MF
165812012-07-03 Mike Frysinger <vapier@gentoo.org>
16582
16583 * .gitignore: Delete /ports entry.
16584
9d63d37d
AJ
165852012-07-03 Andreas Jaeger <aj@suse.de>
16586
16587 * po/bg.po: Update from translation team.
16588 * po/cs.po: Likewise.
16589 * po/de.po: Likewise.
16590 * po/hr.po: Likewise.
16591 * po/nl.pl: Likewise.
16592 * po/pl.po: Likewise.
16593 * po/vi.po: Likewise.
16594
370ca3d2
JM
165952012-07-03 Joseph Myers <joseph@codesourcery.com>
16596
95f5a9a8
JM
16597 * Makeconfig [!+link] (+link-before-libc): New variable.
16598 [!+link] (+link-after-libc): Likewise.
16599 [!+link] (+link-tests): Likewise.
16600 [!+link] (+link): Define in terms of $(+link-before-libc) and
16601 $(+link-after-libc).
16602 [!+link-static] (+link-static-before-libc): New variable.
16603 [!+link-static] (+link-static-after-libc): Likewise.
16604 [!+link-static] (+link-static-tests): Likewise.
16605 [!+link-static] (+link-static): Define in terms of
16606 $(+link-static-before-libc) and $(+link-static-after-libc).
16607 [build-shared] (link-libc-before-gnulib): New variable.
16608 [build-shared] (link-libc-tests): Likewise.
16609 [build-shared] (link-libc): Define in terms of
16610 $(link-libc-before-gnulib).
16611 [!build-shared] (link-libc-tests): New variable.
16612 (link-libc-static-tests): New variable.
16613 [!gnulib] (gnulib-arch): New variable.
16614 [!gnulib] (gnulib-tests): Likewise.
16615 [!gnulib] (static-gnulib-arch): Likewise.
16616 [!gnulib] (static-gnulib-tests): Likewise.
16617 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16618 Define with "=" instead of ":=".
16619 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16620 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16621 * Rules (binaries-all-notests): New variable.
16622 (binaries-all-tests): Likewise.
16623 (binaries-static-notests): Likewise.
16624 (binaries-static-tests): Likewise.
16625 (binaries-all): Define using $(binaries-all-notests) and
16626 $(binaries-all-tests).
16627 (binaries-static): Define using $(binaries-static-notests) and
16628 $(binaries-static-tests).
16629 (binaries-shared-tests): New variable.
16630 (binaries-shared-notests): Likewise.
16631 (binaries-shared): Remove variable.
16632 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16633 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16634 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16635 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16636 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16637 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16638 * elf/Makefile (sln-modules): New variable.
16639 (extra-objs): Add $(sln-modules:=.o).
16640 (ldconfig-modules): Add static-stubs.
16641 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16642 * elf/static-stubs.c: New file.
16643
7a845b2c
JM
16644 [BZ #14283]
16645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16646 by 7 not 8 to examine high bit of fractional part. Use volatile
16647 variables when splitting into final array of floats if
16648 __FLT_EVAL_METHOD__ != 0.
16649 * math/libm-test.inc (cos_test): Add another test.
16650 (sin_test): Likewise.
16651 * sysdeps/i386/fpu/libm-test-ulps: Update.
16652
e2283f38
JM
16653 [BZ #14273]
16654 * math/libm-test.inc (cosh_test): Add more tests.
16655
370ca3d2
JM
16656 * version.h (RELEASE): Set to "development".
16657 (VERSION): Set to "2.16.90".
16658
ee9247c3
CD
166592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16660
16661 * NEWS: Update copyright. Remove last-updated date.
16662 Mention math library bug fixes and timezone data changes.
16663 * README: Mention GNU/Hurd, x32, and HPPA support status.
16664
4648c381
TS
166652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16666
16667 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16668
aac78a43
AJ
166692012-06-27 Andreas Jaeger <aj@suse.de>
16670
16671 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16672
ed3dbfad
AJ
166732012-06-25 Andreas Jaeger <aj@suse.de>
16674
16675 * sysdeps/s390/fpu/libm-test-ulps: Update.
16676
4d0ee855
AS
166772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16678 Thomas Schwinge <thomas@codesourcery.com>
16679
16680 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16681 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16683 fanotify_mark.
16684
af1bce34
TS
166852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16686
a9fa33ba
TS
16687 * sysdeps/mach/start.c: Remove file.
16688 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16689 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16690 * sysdeps/sh/init-first.c: Likewise.
16691
58f902b8
TS
16692 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16693 registers for frame unwinding purposes, add CFI directives.
16694 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16695 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16696 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16697 Likewise.
16698
1518f58b
TS
16699 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16700 __fortify_fail returning.
16701 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16702
db9b5059
TS
16703 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16704 sysdeps/sh/____longjmp_chk.S.
16705 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16706 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16707 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16708 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16709
967705fe
TS
16710 * sysdeps/sh/abort-instr.h: New file.
16711 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16712 process in case exit returns.
16713
a9def8c4
TS
16714 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16715 initialize the GOT register before use.
16716
2a649725
TS
16717 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16718 calculation of ARGC > 4.
16719
af1bce34
TS
16720 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16721 meaningful names to some local labels.
16722
d230f50a
KK
167232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16724 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16725
16726 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16727 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16728 (__arch_compare_and_exchange_val_16_acq): Likewise.
16729 (__arch_compare_and_exchange_val_32_acq): Likewise.
16730 (atomic_exchange_and_add): Fix gUSA sequence.
16731 (atomic_add): Likewise.
16732 (atomic_add_negative): Likewise.
16733 (atomic_add_zero): Likewise.
16734 (atomic_bit_test_set): Likewise.
16735
0479b305
AS
167362012-06-22 Andreas Schwab <schwab@redhat.com>
16737
16738 [BZ #13579]
16739 * include/link.h (struct link_map): Add l_free_initfini.
16740 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16741 l_initfini.
16742 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16743 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16744 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16745 set.
16746
0e3933b9
CD
167472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16748
16749 * configure.in: Use AC_LANG_SOURCE.
16750 * configure: Regenerate.
16751
4248b1b1
RM
167522012-06-22 Roland McGrath <roland@hack.frob.com>
16753
16754 * configure.in (libc_cv_localstatedir): New substituted variable.
16755 * configure: Regenerated.
16756 * config.make.in (localstatedir): New variable, substituted from
16757 libc_cv_localstatedir.
16758 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16759 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16760 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16761 * sysdeps/gnu/configure: Regenerated.
16762
006dd861
JL
167632012-06-21 Jeff Law <law@redhat.com>
16764
16765 [BZ #14277]
16766 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16767 free. Simplify list management for _LIBC case.
16768
79662d42
JM
167692012-06-21 Joseph Myers <joseph@codesourcery.com>
16770
b7abb4bf
JM
16771 [BZ #14273]
16772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16773 Clear sign bit of 64-bit integer value before comparing against
16774 overflow value.
16775
79662d42
JM
16776 * sysdeps/mach/configure: Regenerated.
16777
1f150908
L
167782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16779
16780 [BZ #14278]
16781 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16782
28363bbf
JL
167832012-06-21 Jeff Law <law@redhat.com>
16784
16785 [BZ #13882]
16786 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16787 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16788 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16789 * elf/dl-open.c (dl_open_worker): Likewise.
16790
09615db4
CD
167912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16792
16793 * scripts/list-sources.sh: Scan PORTS for translations.
16794 * po/libc.pot: Regenerated.
16795
2174c6dd
AJ
167962012-06-21 Andreas Jaeger <aj@suse.de>
16797
16798 [BZ #12194]
16799 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16800 warning.
16801 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16802 * bits/byteswap-16.h (__bswap_16): Likewise.
16803 * bits/byteswap.h (__bswap_constant_16): Likewise.
16804
3ee947b1
L
168052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16806
16807 [BZ #14117]
a2f34833
L
16808 * sysdeps/i386/fpu_control.h: Removed.
16809 * sysdeps/x86_64/fpu_control.h: Moved to ...
16810 * sysdeps/x86/fpu_control.h: Here.
16811
3ee947b1
L
16812 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16813 (_FPU_SETCW): Likewise.
16814
ed1825f8
L
168152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16816
25f1282a
L
16817 [BZ #14117]
16818 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16819 * sysdeps/x86/fpu/bits/mathinline.h: This.
16820 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16821
ed1825f8
L
16822 [BZ #14050]
16823 [BZ #14117]
16824 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16825 functions if __x86_64__ is defined.
16826
36d54b74
CLT
168272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16828
16829 * string/endian.h: Add !__ASSEMBLER__ condition for including
16830 conversion interfaces.
16831
10285c21
JM
168322012-06-15 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #14241]
16835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16836 of ABS(x) in calculating zero to negative powers other than odd
16837 integers.
16838 * math/libm-test.inc (pow_test): Add more tests.
16839
06c5abbd
AJ
168402012-06-15 Andreas Jaeger <aj@suse.de>
16841
16842 * manual/contrib.texi (Contributors): Update entry of Liubov
16843 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16844 Machado Filho.
16845
a3aeac40
CH
168462012-06-15 Cyril Hrubis <metan@ucw.cz>
16847
16848 * string/string.h: Add __wur to GNU version of strerror_r.
16849
49bdf4c1
L
168502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 [BZ #14229]
16853 * string/Makefile (tests): Add tst-strtok_r.
16854 * string/tst-strtok_r.c: New file.
16855 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16856 RAX_LP/RDX_LP on SAVE_PTR.
16857
834f9b8d
RM
168582012-06-14 Roland McGrath <roland@hack.frob.com>
16859
16860 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16861
75fa1921
JM
168622012-06-14 Joseph Myers <joseph@codesourcery.com>
16863
16864 * libm_test.inc (csqrt_test): Allow more spurious underflow
16865 exceptions.
16866 (j0_test): Likewise.
16867 (j1_test): Likewise.
16868 (y0_test): Likewise.
16869 (y1_test): Likewise.
16870
771766df
CD
168712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16872
16873 * po/Makefile (libc.pot): Use UTF-8 charset.
16874
ceb9e56b
PP
168752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16876
16877 [BZ #14210]
16878 Suppress sign-conversion warning from FD_SET.
16879 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16880 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16881 not unsigned long int.
16882 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16883
ddb28975
L
168842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16885
16886 [BZ #14050]
16887 [BZ #14117]
16888 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16889 __extern_always_inline instead of __extern_inline.
16890 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16891 (__signbit): Likewise.
16892 (__signbitl): Support C++ namespace.
16893 (lrintf): New inline function.
16894 (lrint): Likewise.
16895 (llrintf): Likewise.
16896 (llrint): Likewise.
16897 (fmaxf): Likewise.
16898 (fmax): Likewise.
16899 (fminf): Likewise.
16900 (fmin): Likewise.
16901 (rint): Likewise.
16902 (rintf): Likewise.
16903 (ceil): Likewise.
16904 (ceilf): Likewise.
16905 (floor): Likewise.
16906 (floorf): Likewise.
16907 (nearbyint): Likewise.
16908 (nearbyintf): Likewise.
16909
d7b4fb26
TS
169102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16911
16912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16913 non-default versions.
16914
eb55f5c2
RM
169152012-06-11 Roland McGrath <roland@hack.frob.com>
16916
16917 [BZ #14218]
16918 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16919
366af02c
TS
169202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16921
99ff6e5c
TS
16922 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16923 (FE_UPWARD, FE_DOWNWARD): Don't define.
16924 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16925 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16926
366af02c
TS
16927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16928 reading it.
16929 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16930 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16931
793ea851
KK
169322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16933
16934 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16936 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16937 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16938
a728a38f
L
169392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16940
16941 [BZ #14117]
c08010c7
L
16942 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16943 * sysdeps/i386/fpu/Implies: New file.
16944 * sysdeps/x86_64/fpu/Implies: Likewise.
16945 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16946 * sysdeps/x86/fpu/bits/fenv.h: This.
16947
a728a38f
L
16948 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16949 __SSE_MATH__.
16950
6e230d11
SP
169512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16952
16953 [BZ #14134]
16954 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16955 character 0xffff that matches the last element of the
16956 conversion table.
16957
1b671feb
AZ
169582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16959
16960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16961 fmodl commit.
16962
6043738b
AZ
169632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16964
16965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16966 values higher than 25.6283.
16967
34ae0b32
AZ
169682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16969
16970 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16971 subnormal exponent extraction and add some __builtin_expect.
16972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16973 Fix for subnormal mantissa calculation.
16974
1214ec8f
MF
169752012-06-04 Mike Frysinger <vapier@gentoo.org>
16976
16977 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16978 cpu2 is -1 and errno is not ENOSYS.
16979
f3d1f93c
L
169802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16981
16982 [BZ #14117]
0e4a3cd7
L
16983 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16984 * sysdeps/x86/bits/string.h: This.
16985 * sysdeps/x86_64/bits/string.h: Removed.
16986
6704c645
L
16987 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16988 if not compiling for x86-64, but compiling for >= i486.
16989
48495318
L
16990 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16991 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16992
14adcbfc
L
16993 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16994 New macro from Linux kernel 3.4.0.
16995 (FP_XSTATE_MAGIC2): Likewise.
16996 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16997 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16998 (struct _fpx_sw_bytes): New struct.
16999 (struct _xsave_hdr): Likewise.
17000 (struct _ymmh_state): Likewise.
17001 (struct _xstate): Likewise.
17002
68e408ab
L
17003 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17004 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17006 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17007 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17008 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17009
f3d1f93c
L
17010 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17011 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17012 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17013 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17014 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17015 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17016
d9dc34cd
TMQMF
170172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17018
17019 [BZ #13743]
17020 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17021 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17022 (sysdep_headers): Include sys/platform/ppc.h.
17023 * sysdeps/powerpc/test-gettimebase.c: Test for
17024 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17025 * manual/Makefile (appendices): Include platform.texi.
17026 * manual/contrib.texi (Contributors): Update @node pointers.
17027 * manual/maint.texi (Maintenance): Likewise.
17028 (Platform): New node.
17029 * manual/platform.texi: New file. Document the new features.
17030
4af3879c
SP
170312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17032 Jakub Jelinek <jakub@redhat.com>
17033
17034 [BZ #14188]
17035 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17036 where __builtin_expect is unavailable.
17037
2fd6ff13
DM
170382012-06-03 David S. Miller <davem@davemloft.net>
17039
17040 * stdlib/longlong.h: Updated from GCC.
17041
173f7220
AS
170422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17043
17044 [BZ #14042]
17045 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17046 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17047 __mcount_internal.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17049 (GLIBC_2.16): Likewise.
17050
f34a1c6f
L
170512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17054
88a4576f
JM
170552012-06-01 Joseph Myers <joseph@codesourcery.com>
17056
ea32bcdd
JM
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17058 (default-abi): New variable.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17060 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17061 variable.
17062 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17063 Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17065 Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17067 Likewise.
17068
88a4576f
JM
17069 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17070 definition. Document in comment.
17071
402fe938
DM
170722012-06-01 David S. Miller <davem@davemloft.net>
17073
17074 * stdlib/longlong.h: Updated from GCC.
17075
3553723f
L
170762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17077
17078 [BZ #14117]
3bd872c4
L
17079 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17080 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17081 sys/debugreg.h sys/io.h here.
17082 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17083 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17084 sys/io.h.
17085 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17086 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17087 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17088 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17089 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17090 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17091
3553723f
L
17092 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17093 Define only if __x86_64__ is defined.
17094
4842e4fe
JM
170952012-06-01 Joseph Myers <joseph@codesourcery.com>
17096
c5bfe3d5
JM
17097 [BZ #14048]
17098 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17099 Use int64_t for variable i.
17100 * math/libm-test.inc (fmod_test): Add more tests.
17101
4842e4fe
JM
17102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17103 z computation is not scheduled after fetestexcept.
17104 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17105 Use math_force_eval instead of asm to ensure calculation scheduled
17106 before exception test.
17107 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17108 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17109
efb73488
AJ
171102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17111
17112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17113 computation is not scheduled after fetestexcept.
17114
29bcce7c
L
171152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 [BZ #14117]
17118 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17119 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17120
73a68f94
AZ
171212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17122
17123 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17124 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17125
67b6df78
L
171262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17127
edf2933a 17128 [BZ #14117]
ebc64a18
L
17129 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17130 <bits/wordsize.h>.
17131 (__WCHAR_MIN): Support __WORDSIZE == 64.
17132 (__WCHAR_MAX): Likewise.
17133
edf2933a
L
17134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17136
57c6cf40
L
17137 [BZ #14183]
17138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17139 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17140
67b6df78 17141 [BZ #14117]
8eb6281e
L
17142 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17143 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17144
aac639f4
L
17145 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17146 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17147
67b6df78
L
17148 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17149 Defined to 1 if __x86_64__ isn't defined.
17150 (_STAT_VER_LINUX_OLD): New.
17151 (st_atime): Remove duplicate.
17152 (st_mtime): Likewise.
17153 (st_ctime): Likewise.
17154
1c2cfe81
DM
171552012-05-31 David S. Miller <davem@davemloft.net>
17156
17157 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17158 entries.
17159
5be8418c
AS
171602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17161
e7725326
AS
17162 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17163 gen-libm-test.pl.
17164
5be8418c
AS
17165 [BZ #14132]
17166 * elf/dl-reloc.c: Include <_itoa.h>.
17167 (_dl_reloc_bad_type): Remove use of INTUSE.
17168 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17169 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17170 * stdio-common/psiginfo.c (psiginfo): Likewise.
17171 * stdio-common/psignal.c (psignal): Likewise.
17172 * string/strsignal.c (strsignal): Likewise.
17173 * include/signal.h (_sys_siglist): Declare hidden proto.
17174 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17175 INTVARDEF with libc_hidden_data_def.
17176 * stdio-common/itoa-udigits.c: Likewise.
17177 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17178 (_itoa_lower_digits_internal): Remove declaration.
17179 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17180 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17181 (_sys_sigabbrev_internal): Remove aliases.
17182 (_sys_siglist): Define hidden alias.
17183
507352f1
MT
171842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17185
17186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17187 bits/sysctl.h.
17188
42bbb1c3
L
171892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 [BZ #14117]
6bd784b6
L
17192 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17193 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17194
8bca20f0
L
17195 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17196 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17197 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17198 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17200 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17201
f9e890a9
L
17202 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17203 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17204 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17205
471101a1
L
17206 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17207 with __addr.
17208 (insw): Likewise.
17209 (insl): Likewise.
17210 (outsb): Likewise.
17211 (outsw): Likewise.
17212 (outsl): Likewise.
17213
6451c862
L
17214 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17216 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17217
a254b8c9
L
17218 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17219 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17220 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17221 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17222 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17223 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17224
b8dfdd92
L
17225 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17226 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17227
578cd270
L
17228 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17229 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17230
de662f5f
L
17231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17233 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17234
25653439
L
17235 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17236 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17237 to ...
17238 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17239
6bad24a0
L
17240 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17241 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17242 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17243
42bbb1c3
L
17244 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17245 for x86-64.
17246 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17247
2d10d547
JM
172482012-05-31 Joseph Myers <joseph@codesourcery.com>
17249
17250 * math/math.h (M_El): Use two more decimal places.
17251 (M_LOG2El): Likewise.
17252 (M_LOG10El): Likewise.
17253 (M_LN2l): Likewise.
17254 (M_LN10l): Likewise.
17255 (M_PIl): Likewise.
17256 (M_PI_2l): Likewise.
17257 (M_PI_4l): Likewise.
17258 (M_1_PIl): Likewise.
17259 (M_2_PIl): Likewise.
17260 (M_2_SQRTPIl): Likewise.
17261 (M_SQRT2l): Likewise.
17262 (M_SQRT1_2l): Likewise.
17263
f230c29b
DM
172642012-05-31 David S. Miller <davem@davemloft.net>
17265
17266 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17267 values between float registers.
17268 * sysdeps/sparc/sparc64/memset.S: Likewise.
17269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17270
fed806c3
MF
172712012-05-31 Mike Frysinger <vapier@gentoo.org>
17272
17273 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17274 -D_FORTIFY_SOURCE=1.
17275 (CPPFLAGS-tst-longjmp_chk.c): Define.
17276 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17277 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17278 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17279 CFLAGS-tst-wchar-h.c.
17280
30917259
MP
172812012-05-31 Marek Polacek <polacek@redhat.com>
17282
17283 [BZ #14132]
17284 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17285 __endmntent_internal): Remove declaration.
17286 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17287 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17288 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17289
1c58d5dc
DM
172902012-05-30 David S. Miller <davem@davemloft.net>
17291
17292 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17293 (___Q_simulate_exceptions): Use real FP ops rather than writing
17294 into the %fsr.
17295 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17296 Likewise.
17297
7dc00e0d
L
172982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 [BZ #14117]
0bd53985
L
17301 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17302 * sysdeps/x86/bits/xtitypes.h: This.
17303
3a257e66
L
17304 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17305 * sysdeps/x86/bits/wordsize.h: This.
17306
62f62904
L
17307 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17308 * sysdeps/x86/bits/huge_vall.h: This.
17309
404fe9d9
L
17310 * sysdeps/i386/bits/select.h: Removed.
17311 * sysdeps/x86_64/bits/select.h: Renamed to ...
17312 * sysdeps/x86/bits/select.h: This.
17313
d48d0446
L
17314 * sysdeps/i386/bits/setjmp.h: Removed.
17315 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17316 * sysdeps/x86/bits/setjmp.h: This.
17317
7dc00e0d
L
17318 * sysdeps/i386/bits/mathdef.h: Removed.
17319 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17320 * sysdeps/x86/bits/mathdef.h: This.
17321
03277f8f
AS
173222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17323
17324 [BZ #14132]
17325 * include/sys/socket.h (__connect_internal)
17326 (__libc_sa_len_internal): Remove declaration.
17327 (__connect, __libc_sa_len): Declare hidden_proto.
17328 (SA_LEN): Remove use of INTUSE.
17329 * socket/connect.c: Add libc_hidden_def.
17330 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17331 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17332 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17333 alias.
17334 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17335 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17336 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17337 of adding _internal alias.
17338
13764867
L
173392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 [BZ #14117]
6bd97696
L
17342 * sysdeps/i386/bits/link.h: Removed.
17343 * sysdeps/i386/bits/linkmap.h: Likewise.
17344 * sysdeps/x86_64/bits/link.h: Renamed to ...
17345 * sysdeps/x86/bits/link.h: This.
17346 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17347 * sysdeps/x86/bits/linkmap.h: This.
17348
f726f0bb
L
17349 * sysdeps/i386/bits/endian.h: Removed.
17350 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17351 * sysdeps/x86/bits/endian.h: This.
17352
13764867
L
17353 * sysdeps/i386/bits/byteswap.h: Removed.
17354 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17355 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17356 * sysdeps/x86/bits/byteswap.h: This.
17357 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17358 * sysdeps/x86/bits/byteswap-16.h: This.
17359 * sysdeps/i386/Implies: Add x86.
17360 * sysdeps/x86_64/Implies: Likewise.
17361
ae251b0b
DM
173622012-05-30 David S. Miller <davem@davemloft.net>
17363
17364 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17365 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17366 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17367 (FP_TRAPPING_EXCEPTIONS): Define.
17368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17369 (FP_TRAPPING_EXCEPTIONS): Define.
17370 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17371 subnormals only when inexact has been signalled or underflow
17372 exceptions are enabled.
17373 (_FP_PACK_CANONICAL): Likewise.
17374
d5c90867
L
173752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 [BZ #14183]
17378 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17379 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17380
63f1549e
RH
173812012-05-30 Richard Henderson <rth@twiddle.net>
17382
8d8f2279
RH
17383 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17384 with #ifndef NOT_IN_libc.
17385
63f1549e
RH
17386 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17387 marked to avoid plt entry.
17388
0ab0291b
L
173892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 [BZ #14112]
17392 * Makeconfig (default-abi): New macro.
17393 (abi-includes): Likewise.
17394 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17395 $(abi-$(default-abi)-lib-soname) for soname if defined.
17396 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17397 abi-variants.
17398 * Makefile (installed-stubs): Likewise.
17399 * include/stubs-biarch.h: Removed.
17400 * scripts/lib-names.awk: Only handle one library at a time.
17401 * scripts/soversions.awk: Remove WORDSIZE support.
17402 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17403 entries.
17404 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17405 Removed.
17406 (syscall-list-default-condition): Likewise.
17407 (syscall-list-default-condition): Likewise.
17408 (syscall-list-includes): Likewise.
17409 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17410 syscall-list-* with abi-*. Handle undefined abi-variants.
17411 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17412 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17413 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17415 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17416 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17417 Removed.
17418 (syscall-list-32-options): Likewise.
17419 (syscall-list-32-condition): Likewise.
17420 (syscall-list-64-options): Likewise.
17421 (syscall-list-64-condition): Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17423 macro.
17424 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17425 Renamed to ...
17426 (abi-*): This.
17427 (abi-64-ld-soname): New macro.
17428 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17429 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17430 Renamed to ...
17431 (abi-*): This.
17432 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17433 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17434
4da0431d
JM
174352012-05-30 Joseph Myers <joseph@codesourcery.com>
17436
3a85279c
JM
17437 * sysdeps/unix/sysv/linux/kernel-features.h
17438 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17439 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17440 include <kernel-features.h>.
17441 [!__NR_ftruncate64]: Remove conditional code.
17442 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17443 [__NR_ftruncate64]: Make code unconditional.
17444 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17445 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17446 include <kernel-features.h>.
17447 [!__NR_ftruncate64]: Remove conditional code.
17448 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17449 [__NR_ftruncate64]: Make code unconditional.
17450 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17452 include <kernel-features.h>.
17453 [!__NR_ftruncate64]: Remove conditional code.
17454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17455 [__NR_ftruncate64]: Make code unconditional.
17456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17458 include <kernel-features.h>.
17459 [!__NR_ftruncate64]: Remove conditional code.
17460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17461 [__NR_ftruncate64]: Make code unconditional.
17462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17463
4da0431d
JM
17464 * configure.in (libc_cv_fpie): Weaken to a compile test using
17465 LIBC_TRY_CC_OPTION.
17466 * configure: Regenerated.
17467
11ef492c
AK
174682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17469
17470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17474 Refreshed.
17475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17481 Refreshed.
17482
d66ef399
DM
174832012-05-27 David S. Miller <davem@davemloft.net>
17484
17485 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17486 (___Q_zero): New.
17487 (__Q_simulate_exceptions): Return void. Change to simulate
17488 exceptions by writing into the %fsr.
17489 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17490 (__Qp_handle_exceptions): Likewise.
17491 (numbers): Delete.
17492 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17493 __Qp_handle_exceptions.
17494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17495 __Qp_handle_exceptions.
17496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17497 as unused and give dummy FP_RND_NEAREST initializer.
17498 (FP_INHIBIT_RESULTS): Define.
17499 (___Q_simulate_exceptions): Update declaration.
17500 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17501 formatting.
17502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17503 as unused and give dummy FP_RND_NEAREST initializer.
17504 (__Qp_handle_exceptions): Update declaration.
17505 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17506 formatting.
17507
04fb54b5
TS
175082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17509
17510 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17511 the temporary FPU control word.
17512 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17513 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17514 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17515 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17516 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17518 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17520 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17521 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17522 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17523
3f99608f
KK
175242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17525
17526 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17527 fields.
17528
65a4de4e
CLT
175292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17530
17531 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17532 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17533 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17534 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17535 Likewise.
17536 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17537 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17538 Likewise.
17539
15749d40
UD
175402012-05-27 Ulrich Drepper <drepper@gmail.com>
17541
17542 * po/h.po: Update from translation team.
17543
25dbcb27
AS
175442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17545
3d3f8e55
AS
17546 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17547
25dbcb27
AS
17548 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17549 handling of denormals.
17550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17551 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17557 Likewise.
17558
7ad47a80 175592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17560
17561 [BZ #14152]
17562 * math/libm-test.inc (fma_test): Don't always expect underflow
17563 exception.
17564
9c6ea9fa
SP
175652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17566
17567 [BZ #12416]
17568 * elf/tst-execstack.c: Include stackinfo.h.
17569 (do_test): Adjust test case to ensure that pthread_getattr_np
17570 behaviour remains the same after marking stack executable.
17571
a8239222
JM
175722012-05-25 Joseph Myers <joseph@codesourcery.com>
17573
17574 * sysdeps/unix/sysv/linux/kernel-features.h
17575 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17576 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17577 kernel-features.h.
17578 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17579 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17580 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17581 kernel-features.h.
17582 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17583 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17584
918b5606
L
175852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17586
17587 * configure.in: Define the default includes to being none.
17588 * configure: Regenerated.
17589
3a097cc7
RM
175902012-05-25 Roland McGrath <roland@hack.frob.com>
17591
8422c9a5
RM
17592 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17593 * sysdeps/x86_64/setjmp.S: Likewise.
17594 * sysdeps/i386/bsd-setjmp.S: Likewise.
17595 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17596 * sysdeps/i386/setjmp.S: Likewise.
17597 * sysdeps/i386/__longjmp.S: Likewise.
17598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17599 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17600
3a097cc7
RM
17601 * include/stap-probe.h: New file.
17602 * configure.in: Handle --enable-systemtap.
17603 * configure: Regenerated.
17604 * config.h.in (USE_STAP_PROBE): New #undef.
17605 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17606 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17607 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17608
21708942
JM
176092012-05-25 Joseph Myers <joseph@codesourcery.com>
17610
17611 [BZ #13717]
17612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17613 to 2.4.0 where earlier.
17614 * sysdeps/unix/sysv/linux/configure: Regenerated.
17615 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17616 <kernel-features.h>.
17617 [__ASSUME_32BITUIDS]: Make code unconditional.
17618 [!__ASSUME_32BITUIDS]: Remove conditional code.
17619 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17620 <kernel-features.h>.
17621 [__ASSUME_32BITUIDS]: Make code unconditional.
17622 [!__ASSUME_32BITUIDS]: Remove conditional code.
17623 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17624 [__ASSUME_32BITUIDS]: Make code unconditional.
17625 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17626 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17627 <kernel-features.h>.
17628 [__ASSUME_32BITUIDS]: Make code unconditional.
17629 [!__ASSUME_32BITUIDS]: Remove conditional code.
17630 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17631 <kernel-features.h>.
17632 [__ASSUME_32BITUIDS]: Make code unconditional.
17633 [!__ASSUME_32BITUIDS]: Remove conditional code.
17634 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17635 <kernel-features.h>.
17636 [__ASSUME_32BITUIDS]: Make code unconditional.
17637 [!__ASSUME_32BITUIDS]: Remove conditional code.
17638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17639 <kernel-features.h>.
17640 [__ASSUME_32BITUIDS]: Make code unconditional.
17641 [!__ASSUME_32BITUIDS]: Remove conditional code.
17642 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17643 <kernel-features.h>.
17644 [__ASSUME_32BITUIDS]: Make code unconditional.
17645 [!__ASSUME_32BITUIDS]: Remove conditional code.
17646 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17647 <kernel-features.h>.
17648 [__ASSUME_32BITUIDS]: Make code unconditional.
17649 [!__ASSUME_32BITUIDS]: Remove conditional code.
17650 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17651 <kernel-features.h>.
17652 [__ASSUME_32BITUIDS]: Make code unconditional.
17653 [!__ASSUME_32BITUIDS]: Remove conditional code.
17654 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17655 <kernel-features.h>.
17656 [__ASSUME_32BITUIDS]: Make code unconditional.
17657 [!__ASSUME_32BITUIDS]: Remove conditional code.
17658 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17659 <kernel-features.h>.
17660 [__ASSUME_32BITUIDS]: Make code unconditional.
17661 [!__ASSUME_32BITUIDS]: Remove conditional code.
17662 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17663 <kernel-features.h>.
17664 [__ASSUME_32BITUIDS]: Make code unconditional.
17665 [!__ASSUME_32BITUIDS]: Remove conditional code.
17666 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17667 <kernel-features.h>.
17668 [__NR_setresgid] (__setresgid): Do not declare.
17669 [__ASSUME_32BITUIDS]: Make code unconditional.
17670 [!__ASSUME_32BITUIDS]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17672 <kernel-features.h>.
17673 [__NR_setresuid] (__setresuid): Do not declare.
17674 [__ASSUME_32BITUIDS]: Make code unconditional.
17675 [!__ASSUME_32BITUIDS]: Remove conditional code.
17676 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17677 <kernel-features.h>.
17678 [__ASSUME_32BITUIDS]: Make code unconditional.
17679 [!__ASSUME_32BITUIDS]: Remove conditional code.
17680 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17681 <kernel-features.h>.
17682 [__ASSUME_32BITUIDS]: Make code unconditional.
17683 [!__ASSUME_32BITUIDS]: Remove conditional code.
17684 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17685 <kernel-features.h>.
17686 [__ASSUME_32BITUIDS]: Make code unconditional.
17687 [!__ASSUME_32BITUIDS]: Remove conditional code.
17688 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17689 <kernel-features.h>.
17690 [__ASSUME_32BITUIDS]: Make code unconditional.
17691 [!__ASSUME_32BITUIDS]: Remove conditional code.
17692 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17693 <kernel-features.h>.
17694 [__ASSUME_32BITUIDS]: Make code unconditional.
17695 [!__ASSUME_32BITUIDS]: Remove conditional code.
17696 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17697 <kernel-features.h>.
17698 [__ASSUME_32BITUIDS]: Make code unconditional.
17699 [!__ASSUME_32BITUIDS]: Remove conditional code.
17700 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17701 <kernel-features.h>.
17702 [__ASSUME_32BITUIDS]: Make code unconditional.
17703 [!__ASSUME_32BITUIDS]: Remove conditional code.
17704 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17705 <kernel-features.h>.
17706 [__ASSUME_32BITUIDS]: Make code unconditional.
17707 [!__ASSUME_32BITUIDS]: Remove conditional code.
17708 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17709 <kernel-features.h>.
17710 [__ASSUME_32BITUIDS]: Make code unconditional.
17711 [!__ASSUME_32BITUIDS]: Remove conditional code.
17712 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17713 <kernel-features.h>.
17714 [__ASSUME_32BITUIDS]: Make code unconditional.
17715 [!__ASSUME_32BITUIDS]: Remove conditional code.
17716 * sysdeps/unix/sysv/linux/kernel-features.h
17717 (__ASSUME_SETRESUID_SYSCALL): Remove.
17718 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17719 (__ASSUME_32BITUIDS): Likewise.
17720 (__ASSUME_LDT_WORKS): Likewise.
17721 (__ASSUME_O_DIRECTORY): Likewise.
17722 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17723 architecture but not kernel version.
17724 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17725 (__ASSUME_MMAP2_SYSCALL): Likewise.
17726 (__ASSUME_STAT64_SYSCALL): Likewise.
17727 (__ASSUME_IPC64): Likewise.
17728 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17729 <kernel-features.h>.
17730 [__ASSUME_32BITUIDS]: Make code unconditional.
17731 [!__ASSUME_32BITUIDS]: Remove conditional code.
17732 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17733 <kernel-features.h>.
17734 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17735 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17736 132096]: Remove conditional code.
17737 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17738 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17739 <kernel-features.h>.
17740 [__ASSUME_32BITUIDS]: Make code unconditional.
17741 [!__ASSUME_32BITUIDS]: Remove conditional code.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17743 <kernel-features.h>.
17744 [__ASSUME_32BITUIDS]: Make code unconditional.
17745 [!__ASSUME_32BITUIDS]: Remove conditional code.
17746 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17747 <kernel-features.h>.
17748 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17749 unconditional.
17750 (__setresgid): Do not declare.
17751 [__ASSUME_32BITUIDS]: Make code unconditional.
17752 [!__ASSUME_32BITUIDS]: Remove conditional code.
17753 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17754 <kernel-features.h>.
17755 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17756 unconditional.
17757 (__setresuid): Do not declare.
17758 [__ASSUME_32BITUIDS]: Make code unconditional.
17759 [!__ASSUME_32BITUIDS]: Remove conditional code.
17760 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17761 <kernel-features.h>.
17762 [__ASSUME_32BITUIDS]: Make code unconditional.
17763 [!__ASSUME_32BITUIDS]: Remove conditional code.
17764 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17765 <kernel-features.h>.
17766 [__ASSUME_32BITUIDS]: Make code unconditional.
17767 [!__ASSUME_32BITUIDS]: Remove conditional code.
17768
a386f1cc
RH
177692012-05-25 Richard Henderson <rth@twiddle.net>
17770
17771 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17772 dl_hwcap to ifunc resolver.
17773 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17774 elf_ifunc_invoke.
17775 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17776 dl_hwcap to ifunc resolver.
17777 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17778
b6550497
JM
177792012-05-24 Joseph Myers <joseph@codesourcery.com>
17780
17781 [BZ #14153]
17782 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17783 for |x| <= 2**-26, not 2**-57.
17784 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17785 exception.
17786
b0bc23a1
JL
177872012-05-24 Jeff Law <law@redhat.com>
17788
17789 * stdio-common/Makefile (tests): Add bug25.
17790 * stdio-common/bug25.c: New test.
17791
347c92e9
L
177922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17793
17794 [BZ #13576]
17795 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17796 multiple of MALLOC_ALIGNMENT in size.
17797 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17798
6bcc8b3f
JM
177992012-05-24 Joseph Myers <joseph@codesourcery.com>
17800
17801 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17802 Require >= 256.
17803 (FILENAME_MAX): Use macro-int-constant.
17804 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17805 (_IOFBF): Use macro-int-constant.
17806 (_IOLBF): Likewise.
17807 (_IONBF): Likewise.
17808 (SEEK_CUR): Likewise.
17809 (SEEK_END): Likewise.
17810 (SEEK_SET): Likewise.
17811 (TMP_MAX): Likewise.
17812 (EOF): Use macro-int-constant. Require < 0.
17813 (NULL): Use macro-constant. Require == 0.
17814 (stdin): Require type to be FILE *.
17815 (stdout): Likewise.
17816 (stderr): Likewise.
17817 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17818 macro-int-constant.
17819 (EXIT_SUCCESS): Likewise.
17820 (NULL): Use macro-constant. Require == 0.
17821 (RAND_MAX): Use macro-int-constant.
17822 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17823 [C99-based standards] (strtof): Require function.
17824 [C99-based standards] (strtold): Likewise.
17825 [C99-based standards] (strtoll): Likewise.
17826 [C99-based standards] (strtoull): Likewise.
17827 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17828 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17829 [ISO || ISO99 || ISO11] (math.h): Likewise.
17830 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17831 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17833
d18ea0c5
AS
178342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17835
17836 [BZ #14132]
56d25bb8
AS
17837 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17838 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17839 * intl/dgettext.c (DCGETTEXT): Likewise.
17840 * intl/gettext.c (DCGETTEXT): Likewise.
17841 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17842 * posix/regex_internal.h (gettext): Likewise.
17843 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17844 Remove declaration.
17845 * include/argz.h (__argz_count_internal)
17846 (__argz_stringify_internal): Remove declaration.
17847 (__argz_count, __argz_stringify): Declare hidden proto.
17848 * intl/dcgettext.c: Remove use of INTDEF.
17849 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17850 * string/argz-stringify.c: Likewise.
17851 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17852 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17853 Declare hidden proto.
d18ea0c5
AS
17854 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17855 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17856 Declare hidden proto.
17857 * include/stdio.h (__asprintf_internal): Don't declare.
17858 (__asprintf): Don't define as macro. Declare hidden proto.
17859 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17860 (__fsetlocking): Declare hidden proto.
17861 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17862 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17863 hidden proto.
17864 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17865 (_IO_setlinebuf): Remove use of INTUSE.
17866 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17867 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17868 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17869 Remove declaration.
17870 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17871 (_IO_do_flush): Remove use of INTUSE.
17872 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17873 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17874 (_IO_adjust_column, _IO_least_wmarker)
17875 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17876 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17877 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17878 (_IO_default_doallocate, _IO_wdefault_doallocate)
17879 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17880 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17881 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17882 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17883 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17884 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17885 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17886 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17887 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17888 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17889 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17890 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17891 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17892 proto.
17893 (_IO_flush_all_internal, _IO_adjust_column_internal)
17894 (_IO_default_uflow_internal, _IO_default_finish_internal)
17895 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17896 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17897 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17898 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17899 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17900 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17901 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17902 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17903 (_IO_file_close_internal, _IO_file_close_it_internal)
17904 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17905 (_IO_file_init_internal, _IO_file_attach_internal)
17906 (_IO_file_fopen_internal, _IO_file_read_internal)
17907 (_IO_file_sync_internal, _IO_file_seek_internal)
17908 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17909 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17910 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17911 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17912 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17913 (_IO_list_all_internal, _IO_link_in_internal)
17914 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17915 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17916 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17917 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17918 (_IO_do_write_internal, _IO_padn_internal)
17919 (_IO_getline_info_internal, _IO_getline_internal)
17920 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17921 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17922 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17923 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17924 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17925 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17926 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17927 with libc_hidden_ver, remove use of INTUSE.
17928 * libio/genops.c: Likewise.
17929 * libio/freopen.c: Likewise.
17930 * libio/freopen64.c: Likewise.
17931 * libio/iofclose.c: Likewise.
17932 * libio/iofdopen.c: Likewise.
17933 * libio/iofflush.c: Likewise.
17934 * libio/iofflush_u.c: Likewise.
17935 * libio/iofgets.c: Likewise.
17936 * libio/iofgets_u.c: Likewise.
17937 * libio/iofopen.c: Likewise.
17938 * libio/iofopncook.c: Likewise.
17939 * libio/iofread.c: Likewise.
17940 * libio/iofread_u.c: Likewise.
17941 * libio/ioftell.c: Likewise.
17942 * libio/iofwrite.c: Likewise.
17943 * libio/iogetline.c: Likewise.
17944 * libio/iogets.c: Likewise.
17945 * libio/iogetwline.c: Likewise.
17946 * libio/iopadn.c: Likewise.
17947 * libio/iopopen.c: Likewise.
17948 * libio/ioseekoff.c: Likewise.
17949 * libio/ioseekpos.c: Likewise.
17950 * libio/iosetbuffer.c: Likewise.
17951 * libio/iosetvbuf.c: Likewise.
17952 * libio/ioungetc.c: Likewise.
17953 * libio/ioungetwc.c: Likewise.
17954 * libio/iovdprintf.c: Likewise.
17955 * libio/iovsprintf.c: Likewise.
17956 * libio/iovsscanf.c: Likewise.
17957 * libio/memstream.c: Likewise.
17958 * libio/obprintf.c: Likewise.
17959 * libio/oldfileops.c: Likewise.
17960 * libio/oldiofclose.c: Likewise.
17961 * libio/oldiofdopen.c: Likewise.
17962 * libio/oldiofopen.c: Likewise.
17963 * libio/oldiopopen.c: Likewise.
17964 * libio/oldstdfiles.c: Likewise.
17965 * libio/putc.c: Likewise.
17966 * libio/setbuf.c: Likewise.
17967 * libio/setlinebuf.c: Likewise.
17968 * libio/stdfiles.c: Likewise.
17969 * libio/strops.c: Likewise.
17970 * libio/vasprintf.c: Likewise.
17971 * libio/vscanf.c: Likewise.
17972 * libio/vsnprintf.c: Likewise.
17973 * libio/vswprintf.c: Likewise.
17974 * libio/wfiledoalloc.c: Likewise.
17975 * libio/wfileops.c: Likewise.
17976 * libio/wgenops.c: Likewise.
17977 * libio/wmemstream.c: Likewise.
17978 * libio/wstrops.c: Likewise.
17979 * libio/__fpurge.c: Likewise.
17980 * libio/__fsetlocking.c: Likewise.
17981 * assert/assert.c: Likewise.
17982 * debug/fgets_chk.c: Likewise.
17983 * debug/fgets_u_chk.c: Likewise.
17984 * debug/fread_chk.c: Likewise.
17985 * debug/fread_u_chk.c: Likewise.
17986 * debug/gets_chk.c: Likewise.
17987 * debug/obprintf_chk.c: Likewise.
17988 * debug/vasprintf_chk.c: Likewise.
17989 * debug/vdprintf_chk.c: Likewise.
17990 * debug/vsnprintf_chk.c: Likewise.
17991 * debug/vsprintf_chk.c: Likewise.
17992 * malloc/mtrace.c: Likewise.
17993 * misc/error.c: Likewise.
17994 * misc/syslog.c: Likewise.
17995 * stdio-common/asprintf.c: Likewise.
17996 * stdio-common/fxprintf.c: Likewise.
17997 * stdio-common/getw.c: Likewise.
17998 * stdio-common/isoc99_fscanf.c: Likewise.
17999 * stdio-common/isoc99_scanf.c: Likewise.
18000 * stdio-common/isoc99_vfscanf.c: Likewise.
18001 * stdio-common/isoc99_vscanf.c: Likewise.
18002 * stdio-common/isoc99_vsscanf.c: Likewise.
18003 * stdio-common/printf-prs.c: Likewise.
18004 * stdio-common/printf_fp.c: Likewise.
18005 * stdio-common/printf_fphex.c: Likewise.
18006 * stdio-common/printf_size.c: Likewise.
18007 * stdio-common/putw.c: Likewise.
18008 * stdio-common/scanf.c: Likewise.
18009 * stdio-common/sprintf.c: Likewise.
18010 * stdio-common/tmpfile.c: Likewise.
18011 * stdio-common/vfprintf.c: Likewise.
18012 * stdio-common/vfscanf.c: Likewise.
18013 * stdlib/strfmon_l.c: Likewise.
18014 * sunrpc/openchild.c: Likewise.
18015 * sunrpc/xdr_stdio.c: Likewise.
18016 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18017 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18018
d6c33fda
RM
180192012-05-24 Roland McGrath <roland@hack.frob.com>
18020
c1487492
RM
18021 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18022
18023 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18024 in the third column, to generate for the shared library an IFUNC
18025 that uses _dl_vdso_vsym.
18026 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18027 * Makeconfig (object-suffixes-noshared): New variable.
18028
18029 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18030 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18031 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18032 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18033
d6c33fda
RM
18034 [BZ #14132]
18035 * include/sys/time.h (__gettimeofday): Remove macro.
18036 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18037 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18038 Remove INTDEF.
18039 (__gettimeofday): Add libc_hidden_def.
18040 (gettimeofday): Add libc_hidden_weak.
18041 * sysdeps/mach/gettimeofday.c: Likewise.
18042 * sysdeps/posix/gettimeofday.c: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18044 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18046 (__gettimeofday_internal): Remove strong_alias.
18047 (__gettimeofday): Add libc_hidden_def.
18048 (gettimeofday): Add libc_hidden_weak.
18049 * sysdeps/unix/syscalls.list (gettimeofday):
18050 Remove __gettimeofday_internal alias.
18051
b5a2bbe6
L
180522012-05-24 Daniel Jacobowitz <drow@false.org>
18053 H.J. Lu <hongjiu.lu@intel.com>
18054
18055 [BZ #12495]
18056 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18057 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18058 (largebin_index_32_big): New.
18059 (largebin_index): Use it for 16-byte alignment.
18060 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18061 correction with front_misalign.
18062
cfba4fda
L
180632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18064
7f907421
L
18065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18067 Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18069 Likewise.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18077 Likewise.
18078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18079 Likewise.
18080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18081 Likewise.
18082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18083 Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18085 Likewise.
18086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18087 Likewise.
18088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18089 Likewise.
18090
cfba4fda
L
18091 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18092 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18093
80bad0cc
JM
180942012-05-24 Joseph Myers <joseph@codesourcery.com>
18095
7a25eb06
JM
18096 [BZ #10846]
18097 [BZ #14036]
18098 * math/libm-test.inc (exp_test): Add test from bug 14036.
18099 (pow_test): Add test from bug 10846.
18100
795405f9
JM
18101 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18102 and other flags.
18103 (special_function): Do not include flags in test name.
18104 (parse_args): Likewise.
18105 * sysdeps/i386/fpu/libm-test-ulps: Update.
18106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18107 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18108 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18110
80bad0cc
JM
18111 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18112 exceptions.
18113 * math/libm-test.inc ("Philosophy"): Update comment about
18114 exception testing.
18115 (UNDERFLOW_EXCEPTION): New macro.
18116 (UNDERFLOW_EXCEPTION_OK): Likewise.
18117 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18118 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18119 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18120 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18121 (INVALID_EXCEPTION_OK): Update value.
18122 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18123 (OVERFLOW_EXCEPTION_OK): Likewise.
18124 (IGNORE_ZERO_INF_SIGN): Likewise.
18125 (test_exceptions): Handle underflow exceptions.
18126 (acos_test): Update for underflow exception expectations.
18127 (cexp_test): Likewise.
18128 (clog_test): Likewise.
18129 (clog10_test): Likewise.
18130 (csqrt_test): Likewise.
18131 (ctan_test): Likewise.
18132 (ctanh_test): Likewise.
18133 (exp_test): Likewise.
18134 (exp10_test): Likewise.
18135 (exp2_test): Likewise.
18136 (expm1_test): Likewise.
18137 (fma_test): Likewise.
18138 (j0_test): Likewise.
18139 (jn_test): Likewise.
18140 (nexttoward_test): Likewise.
18141 (pow_test): Likewise.
18142 (scalbn_test): Likewise.
18143 (scalbln_test): Likewise.
18144 (tan_test): Likewise.
18145 (y1_test): Likewise.
18146 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18148
9e0e3d0b
DM
181492012-05-23 David S. Miller <davem@davemloft.net>
18150
18151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18152 (__libc_sigaction): Remove unused local variables.
18153
ccd0a08f
L
181542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18157
62bdf9a6
PE
181582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18159
f8591f80
PE
18160 mktime: avoid signed integer overflow
18161 * time/mktime.c (__mktime_internal): Do not mishandle the case
18162 where diff == INT_MIN.
18163
94c7d826
PE
18164 mktime: simplify computation of average
18165 * time/mktime.c (ranged_convert): Use new time_t_avg function
18166 instead of rolling our own (probably-slower) code.
18167
ce73d683
PE
18168 mktime: do not assume signed right shift propagates sign bit
18169 * time/mktime.c (isdst_differ): New static function.
18170 (__mktime_internal): No need to normalize tm_isdst now.
18171 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18172 tm_isdst values.
18173
72a22e59
PE
18174 mktime: merge another wrapv change from gnulib
18175 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18176 from some compilers.
18177
68605433
PE
18178 mktime: remove incorrect attempt at unusual arithmetics
18179 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18180 The code didn't really work on such machines anyway.
18181 (TYPE_MINIMUM): Assume two's complement.
18182 (twos_complement_arithmetic): Verify that long_int and time_t
18183 are two's complement (or unsigned, in the latter case).
18184
03cf7fe3
PE
18185 mktime: check signed shifts on long_int and time_t, too
18186 * time/mktime.c (SHR): Check that shifts work as desired
18187 on the types long_int and time_t too, as SHR is used on
18188 such types.
18189
f04dfbc2
PE
18190 mktime: do not assume 'long' is wide enough
18191 * time/mktime.c (verify): Move decl up.
18192 (long_int): New type.
18193 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18194 to remove assumption in the code that 'long' is wide enough to
18195 store year values. This assumption is not true on x32 and on
18196 some non-glibc platforms.
18197
62bdf9a6
PE
18198 mktime: merge wrapv change from gnulib
18199 * time/mktime.c (WRAPV): New macro.
18200 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18201 (guess_time_tm, __mktime_internal): Do not assume that signed
18202 integer overflow wraps around; modern compilers generate code
18203 where this assumption is no longer valid.
18204
5e292e4f
L
182052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18208 Replace "jmp L(pseudo_end)" with "ret".
18209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18210 Likewise.
18211
8caf8c87
AJ
182122012-05-23 Andreas Jaeger <aj@suse.de>
18213
18214 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18215 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18216
1a09dc56
AJ
182172012-05-23 Andreas Jaeger <aj@suse.de>
18218 Maximilian Attems <max@stro.at>
18219
18220 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18221 New macros.
18222
1c87aba0
L
182232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18224
18225 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18226 code so that pseudo_end is just ret and the stack pointer is
18227 correct also for static library in error case.
18228
40e45bd5
JM
182292012-05-23 Joseph Myers <joseph@codesourcery.com>
18230
c2670533
JM
18231 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18232 move to syscalls.list.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18237
40e45bd5
JM
18238 * manual/install.texi (Running make install): Do not mention Linux
18239 kernel version for which pt_chown is not needed.
18240 (Linux): Do not mention problems with nscd with 2.0 kernels.
18241 * INSTALL: Regenerated.
18242
be08eda5
AJ
182432012-05-23 Andreas Jaeger <aj@suse.de>
18244
18245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18246 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18247 macro.
18248 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18249 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18250 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18252 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18253 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18254 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18255 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18257 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18258 * sysdeps/unix/sysv/linux/bits/in.h
18259 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18260
a6a056bb
RM
182612012-05-22 Roland McGrath <roland@hack.frob.com>
18262
18263 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18264 (PREPARE_VERSION): Just use assert instead, it will be elided
18265 under [NDEBUG] anyway.
18266
c9009328
L
182672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18268
18269 * sysdeps/unix/sysv/linux/Makefile: Include
18270 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18271 (sysdep_routines): Remove sysctl.
c9009328
L
18272 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18273 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18275 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18276 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18277
73338355
AJ
182782012-05-22 Andreas Jaeger <aj@suse.de>
18279
18280 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18281 that pseudo_end is just ret and the stack pointer is correct also
18282 for static library in error case.
18283
d44638b0
PP
182842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18285
18286 [BZ #14122]
18287 * nss/nsswitch.c (defconfig_entries): New variable.
18288 (__nss_database_lookup): Don't leak defconfig entries.
18289 (nss_parse_service_list): Don't leak on error paths.
18290 (free_database_entries): New function.
18291 (free_defconfig): New function.
18292 (free_mem): Move common code to free_database_entries.
18293
31a39bd8
L
182942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18295
da0331a8
L
18296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18297 Add arch_prctl.
18298 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18299
31a39bd8
L
18300 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18301 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18303 New macro.
18304 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18305 (INTERNAL_SYSCALL_TYPES): Likewise.
18306 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18307 (LOAD_REGS_TYPES_[1-6]): Likewise.
18308 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18309 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18310
45470df3
AZ
183112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
18313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18314 copysignl for GLIBC_2_0.
18315 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18316 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18318 logbl for GLIBC_2_0.
18319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18320 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18321
98a61bcb
L
183222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18323
a4f6e481
L
18324 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18326
f63d5db6
L
18327 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18328 Use "neg %eax".
18329
98a61bcb
L
18330 * time/mktime.c: Update copyright years.
18331
95770f14
PE
183322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18333
6226efbd
PE
18334 mktime: merge comment-quoting-style change from gnulib
18335 * time/mktime.c: Quote 'like this' in comments.
18336 The GNU coding standards suggest that we no longer quote `like this',
18337 as "`" and "'" are typically rendered asymmetrically nowadays.
18338 The typical gnulib style is to quote 'like this' when quoting
18339 code, and "like this" when quoting English.
18340
b99e4f78
PE
18341 * time/mktime.c (compile-command): Add "-I.".
18342
643e01e6
PE
18343 mktime: merge mktime-internal.h change from gnulib
18344 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18345
2554247d
PE
18346 mktime: merge time_r change from gnulib
18347 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18348
826dd0ab
PE
18349 mktime: merge DEBUG change from gnulib
18350 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18351 case system <time.h> has a #define.
18352
bd83aabe
PE
18353 mktime: merge <sys/types.h> change from gnulib
18354 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18355 since <time.t> is now guaranteed to define time_t.
18356
95770f14
PE
18357 mktime: merge HAVE_CONFIG_H change from gnulib
18358 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18359
5e1a27a9
L
183602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18361
0e44a77e
L
18362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18363 Use "neg %eax".
18364
5e1a27a9
L
18365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18366 __rlim_t cast.
18367 (struct rusage): Use anonymous union to pad each field to
18368 __syscall_slong_t.
18369
46259bec
DM
183702012-05-21 David S. Miller <davem@davemloft.net>
18371
18372 * Makefules (o-iterator): Remove .s cases.
18373 (compile-command.s): Delete.
18374 (COMPILE.s): Delete.
18375 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18376
59f0c22e
JM
183772012-05-21 Joseph Myers <joseph@codesourcery.com>
18378
18379 * configure.in (libc_cv_predef_stack_protector): Only consider
18380 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18381 * configure: Regenerated.
18382
20c07380
L
183832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18384
bbb3154b
L
18385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18386 New macro. Use R*LP on int and pointer.
18387 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18388 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18389 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18390 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18391
20c07380
L
18392 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18393 [__WORDSIZE_TIME64_COMPAT32] instead of
18394 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18395 (struct utmp): Likewise.
18396 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18397 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18398 Renamed to ...
18399 (__WORDSIZE_TIME64_COMPAT32): This.
18400 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18401 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18402 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18403 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18404 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18405 (__WORDSIZE_TIME64_COMPAT32): New macro.
18406
d8d1017e
AJ
184072012-05-21 Andreas Jaeger <aj@suse.de>
18408
18409 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18410 only if [SHARED]. Add prototype for __wcschr_ia32.
18411
6c7fb145
RM
184122012-05-21 Roland McGrath <roland@hack.frob.com>
18413
18414 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18415 of %rbp unmolested in the jmp_buf while mangling the low bits.
18416 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18417 unmolested high bits of %rbp while demangling the low bits.
18418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18419
66274218
AJ
184202012-05-21 Andreas Jaeger <aj@suse.de>
18421
07c58f8f
AJ
18422 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18423 * sunrpc/svc_simple.c: Use it for registerrpc.
18424 * sunrpc/xcrypt.c: Use it for passwd2des.
18425
66274218
AJ
18426 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18427
61f65140
L
184282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18429
18430 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18431 Don't define if [__SYSCALL_WORDSIZE != 32].
18432 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18433 New macro.
18434
5fefb436
AJ
184352012-05-21 Bruno Haible <bruno@clisp.org>
18436 Andreas Jaeger <aj@suse.de>
18437
18438 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18439 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18440 inptr and inend for must_buffer_ch.
18441 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18442 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18443 * stdio-common/Makefile (tests): Remove bug15.
18444 (bug15-ENV): Remove macro.
18445 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18446 anymore.
18447
d8e272ab
AJ
184482012-05-19 Andreas Jaeger <aj@suse.de>
18449 Roland McGrath <roland@hack.frob.com>
18450
18451 * manual/contrib.texi: Completely rewritten. It contains now an
18452 alphabetical list of contributors and their contributions.
18453
4a56a162
RH
184542012-05-21 Richard Henderson <rth@twiddle.net>
18455
18456 * misc/getauxval.c (__getauxval): Use unsigned long int.
18457 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18458 (getauxval): Use unsigned long int.
18459
d024d23c
L
184602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18461
18462 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18463
cbc00a03
RM
184642012-05-21 Roland McGrath <roland@hack.frob.com>
18465
18466 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18467 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18468 __alignof__ (long double).
18469
478143fa
AZ
184702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471
18472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18473
c7683a6d
RH
184742012-05-20 Richard Henderson <rth@twiddle.net>
18475
18476 * misc/getauxval.c: New file.
18477 * misc/sys/auxv.h: New file.
18478 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18479 (routines): Add getauxval.
18480 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18481 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18482 * elf/dl-sysdep.c (_dl_auxv): Remove.
18483 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18484 * elf/dl-support.c (_dl_auxv): New variable.
18485 (_dl_aux_init): Initialize it.
18486 * manual/startup.texi (Auxiliary Vector): New node.
18487 * sysdeps/generic/bits/hwcap.h: New file.
18488 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18489 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18490 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18491 * sysdeps/sparc/sysdep.h: ... here. Include it.
18492 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18493 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18495 Update.
c7683a6d
RH
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18504
a6f1845d
AZ
185052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18506
18507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18508
cbcbe830
DM
185092012-05-19 David S. Miller <davem@davemloft.net>
18510
18511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18512
e0b16cc2
JM
185132012-05-19 Joseph Myers <joseph@codesourcery.com>
18514
18515 [BZ #14123]
18516 * math/s_ccosh.c: Include <float.h>
18517 (__ccosh): Avoid internal overflow calculating sinh and cosh
18518 values before multiplying by sin and cos values.
18519 * math/s_ccoshf.c: Likewise.
18520 * math/s_ccoshl.c: Likewise.
18521 * math/s_csin.c: Likewise.
18522 * math/s_csinf.c: Likewise.
18523 * math/s_csinl.c: Likewise.
18524 * math/s_csinh.c: Likewise.
18525 * math/s_csinhf.c: Likewise.
18526 * math/s_csinhl.c: Likewise.
18527 * math/libm-test.inc (ccos_test): Add more tests.
18528 (ccosh_test): Likewise.
18529 (csin_test): Likewise.
18530 (csinh_test): Likewise.
18531 * sysdeps/i386/fpu/libm-test-ulps: Update.
18532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533
6ad13e08
L
185342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18535
f66f0ce8
L
18536 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18537 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18538
6ad13e08
L
18539 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18540
b1d072a7
JM
185412012-05-19 Joseph Myers <joseph@codesourcery.com>
18542
18543 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18544 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18545 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18546 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18547 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18548 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18549 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18550 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18551 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18552 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18553 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18554 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18555 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18556 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18557 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18558 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18559 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18560 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18561 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18562 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18563 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18564 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18565 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18566 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18567 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18568 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18569 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18570 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18571 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18572 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18573 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18574
9eae47cb
AJ
185752012-05-18 Andreas Jaeger <aj@suse.de>
18576
18577 * csu/.gitignore: Delete.
18578
bb07f69f
L
185792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18580
18581 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18582 (timex): Use __syscall_slong_t.
18583
e6bdb741
AJ
185842012-05-18 Andreas Jaeger <aj@suse.de>
18585 Carlos O'Donell <carlos_odonell@mentor.com>
18586
18587 * manual/install.texi (Configuring and compiling): Update
18588 description about files modified in the source directory.
d6c33fda 18589 * INSTALL: Regenerated.
e6bdb741 18590
1b74487e
L
185912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18592
18593 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18594 value. Use "or" to set return value to -1.
18595 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18596 negate return value.
18597
a88b64b9
TMQMF
185982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18599
18600 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18601 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18602 failure if the compiler has Graphite support disabled.
18603 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18604 Likewise.
18605 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18606 CFLAGS-memmove.c): Likewise.
18607 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18608 Likewise.
18609
3707636e
L
186102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18611
610b8622
L
18612 * sysdeps/x86_64/x32/_itoa.h: New file.
18613
7cd195df
L
18614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18615 getdents system call only if kernel and user dirents have the
18616 same d_ino and d_off.
18617
94b07d20
L
18618 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18619 LLONG_MAX != LONG_MAX.
18620 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18621 (_fitoa_word): Likewise.
18622
18298070
L
18623 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18624 years.
18625 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18626 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18628
553c7ea4
L
18629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18630 include <bits/wordsize.h>. Check __x86_64__ instead of
18631 __WORDSIZE.
18632 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18633 if __x86_64__ is defined. Use anonymous union on fpstate.
18634
3707636e
L
18635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18636 anonymous union.
18637
b53ef01a
AS
186382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18639
37fb1dc0
AS
18640 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18641 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18642 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18643 Refer to _rtld_local_ro instead of _rtld_global_ro.
18644 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18645 Likewise.
18646 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18647 Likewise.
18648 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18649 Likewise.
18650 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18651 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18652 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18653
b53ef01a
AS
18654 * sysdeps/powerpc/powerpc32/dl-machine.c
18655 (__elf_machine_runtime_setup) [PROF]: Don't reference
18656 _dl_prof_resolve.
18657
7a185db2
AJ
186582012-05-18 Andreas Jaeger <aj@suse.de>
18659
18660 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18661 function only available for GCCs before 3.4 since GCC 3.4
18662 introduced a builtin.
18663 (lrint): Likewise.
18664 (llrintf): Likewise.
18665 (llrint): Likewise.
18666 (fmaxf): Likewise.
18667 (fmax): Likewise.
18668 (fminf): Likewise.
18669 (fmin): Likewise.
18670 (rint): Likewise.
18671 (rintf): Likewise.
18672 (nearbyint): Likewise.
18673 (nearbyintf): Likewise.
18674 (ceil): Likewise.
18675 (ceilf): Likewise.
18676 (floor): Likewise.
18677 (floorf): Likewise.
18678
3e5aef87
L
186792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18680
428bd707
L
18681 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18682 on both fields and cast pointer to __syscall_ulong_t.
18683
3e5aef87
L
18684 * bits/types.h (__fsword_t): New type.
18685 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18686 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18688 (__FSWORD_T_TYPE): Likewise.
18689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18690 (__FSWORD_T_TYPE): Likewise.
18691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18692 (__FSWORD_T_TYPE): Likewise.
18693 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18694 (__FSWORD_T_TYPE): Likewise.
18695 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18696 __SWORD_TYPE with __fsword_t.
18697 (statfs64): Likewise.
18698
1ba7c3dc
DM
186992012-05-17 David S. Miller <davem@davemloft.net>
18700
18701 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18702
59910343
AJ
187032012-05-17 Andreas Jaeger <aj@suse.de>
18704
18705 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18706 warning.
18707
2e4c1e9e
L
187082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18711
de7f5ce7
AJ
187122012-05-17 Andreas Jaeger <aj@suse.de>
18713
18714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18715 when it is used.
18716
286abc3d
CM
187172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18718
18719 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18720
477cc68e
L
187212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18722
18723 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18724 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18725
1a0994f5
CD
187262012-05-17 Andreas Jaeger <aj@suse.de>
18727 Carlos O'Donell <carlos_odonell@mentor.com>
18728
18729 [BZ #14059]
18730 * sysdeps/x86_64/multiarch/init-arch.h
18731 (bit_YMM_Usable): Rename to...
18732 (bit_AVX_Usable): ... this.
18733 (bit_FMA4_Usable): New macro.
18734 (bit_XMM_state): New macro.
18735 (bit_YMM_state): New macro.
18736 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18737 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18738 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18739 (CPUID_OSXSAVE): New macro.
18740 (CPUID_AVX): New macro.
18741 (CPUID_FMA4): New macro.
18742 (index_YMM_Usable): Rename to...
18743 (index_AVX_Usable): ... this.
18744 (HAS_AVX): Use HAS_ARCH_FEATURE.
18745 (HAS_FMA4): Likewise.
18746 (HAS_YMM_USABLE): Remove.
18747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18748 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18749 are present.
18750 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18751 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18752 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18753 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18754 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18755
0af797de
CM
187562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18757
18758 * math/libm-test.c: Support platforms without multiple rounding modes.
18759 * math/bug-nextafter.c: Support platforms without FP exceptions.
18760 * math/bug-nexttoward.c: Likewise.
18761 * math/test-fenv.c: Likewise.
18762 * math/test-misc.c: Likewise.
18763 * stdlib/bug-getcontext.c: Likewise.
18764
e39745ff
AJ
187652012-05-17 Andreas Jaeger <aj@suse.de>
18766
18767 * manual/examples/search.c (critter_cmp): Change signature to
18768 avoid warnings.
18769 * manual/string.texi (Collation Functions): Likewise.
18770
48970aba
L
187712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18772
18773 * bits/types.h: Fold copyright years.
18774 * bits/typesizes.h: Likewise.
18775 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18779 * time/time.h: Likewise.
18780
bedee953
PP
187812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18782
18783 [BZ #208]
18784 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18785 in instead of returning them. Return void.
18786 (__libc_mallinfo): Accumulate over all arenas.
18787 (__malloc_stats): Adjust for change in int_mallinfo interface.
18788
61653dfb
RM
187892012-05-16 Roland McGrath <roland@hack.frob.com>
18790
30b99d79
RM
18791 [BZ #10375]
18792 * configure.in (NM): Add AC_CHECK_TOOL for it.
18793 (libc_extra_cflags): New substituted variable.
18794 Check for -fstack-protector being used implicitly.
18795 * configure: Regenerated.
18796 * config.make.in (config-extra-cflags): New variable,
18797 gets @libc_extra_cflags@.
18798 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18799
61653dfb
RM
18800 [BZ #10375]
18801 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18802 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18803 * configure: Regenerated.
18804 * config.make.in (CPPUNDEFS): New substituted variable.
18805 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18806 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18807 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18808
661768bb
L
188092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18812 (mq_attr): Use __syscall_slong_t.
18813
d4261567
L
188142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18815
18816 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18817 Check __x86_64__ instead of __WORDSIZE.
18818 (_STAT_VER_LINUX): Likewise.
18819 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18820 __syscall_ulong_t and __syscall_slong_t.
18821 (stat64): Likewise.
18822
cf3ff365
L
188232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18826
76cf3e4d
L
188272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18830
a637753a
L
188312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18834 __syscall_ulong_t.
18835
d5e05119
L
18836 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18837 include <bits/wordsize.h>. Check __x86_64__ instead of
18838 __WORDSIZE.
18839 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18840 defined.
18841 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18842
f62ee380
L
18843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18844 include <bits/wordsize.h>. Check __x86_64__ instead of
18845 __WORDSIZE.
18846 (user_regs_struct): Use "__extension__ unsigned long long"
18847 instead of "unsigned long" if __x86_64__ is defined.
18848 (user): Likewise. Pad after pointer field if __ILP32__ is
18849 defined.
18850
4e124ced
JM
188512012-05-16 Joseph Myers <joseph@codesourcery.com>
18852
6a3951a0
JM
18853 * configure.in (makeinfo): Require version 4.5 or later. Allow
18854 versions 5 to 9.
18855 * configure: Regenerated.
18856 * manual/install.texi (texinfo): Increase version requirement to
18857 4.5 or later.
18858 * INSTALL: Regenerated.
18859
4e124ced
JM
18860 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18861
953ca31a
L
188622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18865
617aca05
L
18866 * sysdeps/x86_64/x32/ffs.c: New file.
18867
5762f7ae
L
18868 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18869 __syscall_ulong_t.
18870 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18871 defined. Use __syscall_ulong_t.
18872 (shminfo): Use __syscall_ulong_t.
18873 (shm_info): Likewise.
18874
a26b6856
L
18875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18876 __syscall_ulong_t.
18877
cb2b9ef7
L
18878 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18879 <bits/wordsize.h>.
18880 (msgqnum_t): Use __syscall_ulong_t.
18881 (msglen_t): Likewise.
18882 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18883 __syscall_ulong_t.
18884
34683bb0
L
18885 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18886 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18887
84a68786
L
18888 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18889
48baa5f1
L
18890 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18891 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18892
180be88b
L
18893 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18894 __syscall_slong_t.
18895
5e90c8ad
L
18896 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18897 include <bits/wordsize.h>. Check __x86_64__ instead of
18898 __WORDSIZE.
18899
23dfb58b
L
18900 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18901 "unsigned long long int" if __x86_64__ is defined.
18902 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18903
ce5d54b0
L
18904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18905 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18906 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18907
13dc9eac
L
18908 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18909 <stdint.h>.
18910 (GET_PC): Cast to uintptr_t first.
18911 (GET_FRAME): Likewise.
18912 (GET_STACK): Likewise.
18913
a7895d15
L
18914 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18915 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18916 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18918 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18921 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18923 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18924 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18926 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18929 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18930 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18931 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18932 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18933 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18936 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18938 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18939 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18940 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18941 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18943
656416c9
AS
189442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18945
5bd66283
AS
18946 * Makerules (+depfiles): Also collect depfiles from .oS in
18947 $(extra-objs).
18948 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18949 .oS, $(libnldbl-routines)).
18950
656416c9
AS
18951 * Makerules (native-compile-mkdep-flags): Define.
18952 * sunrpc/Makefile (extra-objs): Add $(addprefix
18953 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18954 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18955 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18956 calling $(make-target-directory).
18957
a46f2169
L
189582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18959
18960 * bits/types.h (__snseconds_t): Removed.
18961 * time/time.h (struct timespec): Replace __snseconds_t with
18962 __syscall_slong_t.
18963 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18964 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18965 Likewise.
18966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18967 (__SNSECONDS_T_TYPE): Likewise.
18968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18969 (__SNSECONDS_T_TYPE): Likewise.
18970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18971 (__SNSECONDS_T_TYPE): Likewise.
18972
6af6528b
L
189732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18974
18975 * sysdeps/mach/hurd/bits/typesizes.h
18976 (__SYSCALL_SLONG_TYPE): New macro.
18977 (__SYSCALL_ULONG_TYPE): Likewise.
18978
de986b56
L
189792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18980
18981 * bits/types.h (__syscall_slong_t): New type.
18982 (__syscall_ulong_t): Likewise.
18983
18984 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18985 (__SYSCALL_ULONG_TYPE): Likewise.
18986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18987 (__SYSCALL_SLONG_TYPE): Likewise.
18988 (__SYSCALL_ULONG_TYPE): Likewise.
18989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18990 (__SYSCALL_SLONG_TYPE): Likewise.
18991 (__SYSCALL_ULONG_TYPE): Likewise.
18992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18993 (__SYSCALL_SLONG_TYPE): Likewise.
18994 (__SYSCALL_ULONG_TYPE): Likewise.
18995
85736dc7
L
189962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18997
18998 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18999 Add sigaltstack-offsets.sym.
19000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19001 <sigaltstack-offsets.h>.
19002 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19003 longjmp_msg pointer.
19004 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19005 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19006 signal stack.
19007 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19008
cc03b296
JM
190092012-05-15 Joseph Myers <joseph@codesourcery.com>
19010
a9538892
JM
19011 * elf/stackguard-macros.h: Remove file.
19012 * sysdeps/generic/stackguard-macros.h: New file.
19013 * sysdeps/i386/stackguard-macros.h: Likewise.
19014 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19015 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19016 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19017 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19018 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19019 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19020 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19021 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19022 <elf/stackguard-macros.h>.
19023
cc03b296
JM
19024 [BZ #14109]
19025 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19026 __aligned__ in attribute.
19027 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19028 (gregset_t): Likewise.
19029
93171016
L
190302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19033 * sysdeps/x86_64/64/Implies-after: Here. New file.
19034 * sysdeps/x86_64/x32/Implies-after: New file.
19035
d86813a0
L
190362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19039 and access return value for _dl_profile_fixup. Use R10_LP to
19040 load frame size.
19041
2953ec75
L
190422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19043
19044 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19045
3b550e9e
L
190462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19047
19048 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19049 * sysdeps/x86_64/x32/sysdep.h: New file.
19050
eda41706
L
190512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19052
19053 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19054 * sysdeps/x86_64/setjmp.S: Likewise.
19055
9ea01d93
AZ
190562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19057
19058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19060 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19061 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19062 remove unused global constant.
19063
02a91938
CM
190642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19065
19066 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19067 include of <not-cancel.h>.
19068
6540185f
RM
190692012-05-15 Roland McGrath <roland@hack.frob.com>
19070
19071 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19072
509072a0
AJ
190732012-05-15 Jeff Law <law@redhat.com>
19074 Andreas Jaeger <aj@suse.de>
19075
19076 [BZ #13594]
19077 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19078 out from...
19079 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19080 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19081 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19082 code changing __hst_map_handle.map.
19083
ba75122d
RM
190842012-05-15 Roland McGrath <roland@hack.frob.com>
19085
19086 * configure.in (sysnames): Look for Implies-before and Implies-after
19087 files.
19088 * configure: Regenerated.
19089
890d8bd8
L
190902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19093 8-byte data alignment with LP_SIZE alignment.
19094
f6ee6623
L
190952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19098 into R10_LP.
19099
ea2626f6
L
191002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19101
19102 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19103
085f715e
L
191042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19105
19106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19107 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19109 Likewise.
19110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19111
be8498fc
L
191122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19113
19114 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19115 (stackinfo_sub_sp): Likewise.
19116
70bc83b9
L
191172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19118
19119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19120 RAX_LP.
19121
9bc0b730
L
191222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19125 into R*_LP.
19126
6d2850e7
L
191272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19128
19129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19130 sizes into R*_LP.
19131
3cb84561
L
191322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19135
54e2ed81
L
191362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19137
19138 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19139 into R11_LP and load __x86_64_shared_cache_size_half into
19140 R8_LP.
19141
8a17f349
L
191422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19143
19144 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19145 R8_LP.
19146
777b1eea
AZ
191472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19148
19149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19150 logb for POWER7.
19151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19152 logbf for POWER7.
19153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19154 logbl for POWER7.
19155 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19156 powerpc32/power7/fpu/s_logb.c via #include.
19157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19158 powerpc32/power7/fpu/s_logbf.c via #include.
19159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19160 powerpc32/power7/fpu/s_logbl.c via #include.
19161
d20d4ac2
JM
191622012-05-15 Joseph Myers <joseph@codesourcery.com>
19163
19164 * README.libm: Remove file.
19165
6cdef1ab
L
191662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19169 count for x32. Use R*_LP and omit operand-size suffix.
19170
0b254d8f
L
191712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19174 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19175 * sysdeps/x86_64/x32/shlib-versions: New file.
19176
ceb809dc
RM
191772012-05-14 Roland McGrath <roland@hack.frob.com>
19178
19179 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19180 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19181 Use _dl_fatal_printf instead.
19182
37f1abd4
JM
191832012-05-14 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19186 set if not set by the user. Do not allow for being unset.
19187 * sysdeps/unix/sysv/linux/configure: Regenerated.
19188
11de3a33
L
191892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19192 the `q' suffix from lea and replace .quad with ASM_ADDR.
19193
e02f153a
L
191942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19197 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19198 instead of $17.
19199 (PTR_DEMANGLE): Likewise.
19200
520ae0fd
L
192012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19204 (LP_OP): Likewise.
19205 (ASM_ADDR): Likewise.
19206 (RAX_LP): Likewise.
19207 (RBP_LP): Likewise.
19208 (RBX_LP): Likewise.
19209 (RCX_LP): Likewise.
19210 (RDI_LP): Likewise.
19211 (RSI_LP): Likewise.
19212 (RSP_LP): Likewise.
19213 (R8_LP): Likewise.
19214 (R9_LP): Likewise.
19215 (R10_LP): Likewise.
19216 (R10_LP): Likewise.
19217 (R11_LP): Likewise.
19218 (R12_LP): Likewise.
19219 (R13_LP): Likewise.
19220 (R14_LP): Likewise.
19221 (R15_LP): Likewise.
19222
b985be81
L
192232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * sysdeps/x86_64/x32/dl-machine.h: New file.
19226
6a4888ff
AJ
192272012-05-14 Andreas Jaeger <aj@suse.de>
19228
19229 * manual/Makefile (subdir): Remove export of subdir.
19230 (all): Remove target.
19231 (.PHONY): Remove all from list.
19232 (mkinstalldirs): Remove.
19233 (.PHONY): Remove installdirs from list.
19234 ($(inst_infodir)/libc.info): Use make-target-directory.
19235 (installdirs): Remove.
19236 (subdir_%): Remove.
19237 (glibc-targets): Remove.
19238 (lib): Remove.
19239 (stubs): Remove.
19240 ($(objpfx)stubs ../po/manual.pot): Remove.
19241 ($(objpfx)stamp%): Remove.
19242 (make-target-directory): Remove.
19243 (subdir_install): Remove.
19244 (routines): Remove.
19245 (aux): Remove.
19246 (sources): Remove.
19247 (objects): Remove.
19248 (headers): Remove.
19249
19250 [BZ #13750]
19251 * manual/.gitignore: Remove, it's not needed anymore.
19252 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19253 all files in it.
19254 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19255 directory.
19256 (texis): Renamed to $(objpfx)texis.
19257 (texis-path): New, contains path to generated files.
19258 (chapters.%): Use texis-path for complete path, add extra argument
19259 libc-texinfo.sh.
19260 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19261 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19262 (summary,texi, stamp-summary): Use complete path of
19263 files. Generate files in build dir.
19264 (dir-add.texi): Build in build dir.
19265 (libm-err.texi,stamp-libm-err): Likewise.
19266 (version.texi, stamp-version): Likewise.
19267 (.%c.texi): Likewise.
19268 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19269 (mostlyclean): Remove target.
19270 (realclean): Remove target.
19271 (generated): Add new variable with contents from mostlyclean and
19272 realclean, remove entries duplicated in common-mostlyclean, add
19273 stamp-libm-err and stamp-version.
19274 (generated-dirs): Add libc directory.
19275 ($(inst_infodir)/libc.info): Install files from build dir.
19276
19277 * manual/install.texi (Configuring and compiling): Adjust since
19278 the info files are not part of the tar ball anymore.
19279
7ac77294
AJ
192802012-05-14 Andreas Jaeger <aj@suse.de>
19281
19282 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19283 variable.
19284
ffb7875d
JM
192852012-05-14 Joseph Myers <joseph@codesourcery.com>
19286
19287 [BZ #13717]
19288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19289 to 2.2.0 where earlier.
19290 * sysdeps/unix/sysv/linux/configure: Regenerated.
19291 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19292 Remove conditional code.
19293 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19294 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19295 Remove conditional code.
19296 [!__NR_lchown]: Likewise.
19297 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19298 [__NR_lchown]: Likewise.
19299 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19300 comment referencing __ASSUME_LCHOWN_SYSCALL.
19301 * sysdeps/unix/sysv/linux/i386/sigaction.c
19302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19304 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19305 Remove conditional code.
19306 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19307 (__protocol_available): Remove #if 0 code.
19308 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19309 conditional code.
19310 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19311 * sysdeps/unix/sysv/linux/kernel-features.h
19312 (__ASSUME_GETCWD_SYSCALL): Don't define.
19313 (__ASSUME_REALTIME_SIGNALS): Likewise.
19314 (__ASSUME_PREAD_SYSCALL): Likewise.
19315 (__ASSUME_PWRITE_SYSCALL): Likewise.
19316 (__ASSUME_POLL_SYSCALL): Likewise.
19317 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19318 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19319 non-SPARC.
19320 (__ASSUME_SIOCGIFNAME): Don't define.
19321 (__ASSUME_MSG_NOSIGNAL): Likewise.
19322 (__ASSUME_SENDFILE): Define unconditionally.
19323 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19324 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19325 conditional code.
19326 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19327 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19328 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19329 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19330 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19331 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19332 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19334 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19337 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19346 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19349 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19352 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19357 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19358 Remove conditional code.
19359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19360 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19361 Remove conditional code.
19362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19363 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19364 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19365 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19366 Remove conditional code.
19367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19372 Remove conditional code.
19373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19375 Remove conditional code.
19376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19378 Remove conditional code.
19379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19383 * sysdeps/unix/sysv/linux/sigaction.c
19384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19386 * sysdeps/unix/sysv/linux/sigpending.c
19387 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19388 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19389 * sysdeps/unix/sysv/linux/sigprocmask.c
19390 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19391 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19392 * sysdeps/unix/sysv/linux/sigsuspend.c
19393 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19394 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19395 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19396 (__libc_missing_rt_sigs): Remove.
19397 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19398 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19399 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19400 Remove conditional code.
19401 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19402 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19403 return 1.
19404 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19405 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19406 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19407 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19408
1bfb7291
AJ
194092012-05-14 Andreas Jaeger <aj@suse.de>
19410
caae5a81
AJ
19411 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19412 it's not used in glibc.
19413 (__coshm1): Likewise.
19414 (__acosh1p): Likewise.
19415 (__sgn): Likewise.
19416
1bfb7291
AJ
19417 * manual/string.texi (Copying and Concatenation): Add missing
19418 variable in concat example.
19419 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19420
c044d724
L
194212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19422
144c5467 19423 [BZ #14103]
c044d724
L
19424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19425 __builtin_clzl with __builtin_clzll.
19426
2523c62b
L
194272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19428
19429 [BZ #14104]
19430 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19431 libc_freeres_ptr.
19432
d7bb4c42
LD
194332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19434
19435 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19436 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19437 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19438 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19439
9dc4e1fb
MF
194402012-05-14 Mike Frysinger <vapier@gentoo.org>
19441
19442 * NEWS: Update ia64 info.
19443
c7df0112
AS
194442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19445
19446 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19447 used as bcopy.
19448
dc70356c
TS
194492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19450
19451 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19452 * sysdeps/unix/syscalls.list (dup3): Likewise.
19453 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19454 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19455
9fb1a21f
L
194562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19457
19458 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19459 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19460
4822a2a5
L
194612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19462
19463 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19464 thread pointer.
19465 (TLS_IE): Use mov/add instead of movq/addq to load thread
19466 pointer.
19467 (TLS_GD_PREFIX): New.
19468 (TLS_GD): Use it.
19469
842b81d6
DM
194702012-05-11 David S. Miller <davem@davemloft.net>
19471
19472 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19473 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19474 (_FPU_SETCW): Likewise.
19475
1cf463cd
L
194762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19477
19478 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19479 is 32-byte aligned.
19480
60cc4a18
AS
194812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19482
19483 [BZ #11837]
19484 * iconvdata/gb18030.c: Update tables.
19485 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19486 characters specially.
19487 (BODY for TO_LOOP): Add encoding of missing ranges.
19488
febb44a4
TS
194892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19490
19491 [BZ #13673]
19492 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19493 * sysdeps/mach/hurd/dup3.c: Likewise.
19494 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19495 * sysdeps/powerpc/memmove.c:: Likewise.
19496
0a10fb9e
L
194972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19498
19499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19500 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19501
df8a552f
L
195022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * elf/elf.h (R_X86_64_RELATIVE64): New.
19505 (R_X86_64_NUM): Updated.
19506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19507 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19508 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19509 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19510 tst-quad1pie tst-quad2pie
19511 (modules-names): Add tst-quadmod1 tst-quadmod2.
19512 ($(objpfx)tst-quad1): New dependency.
19513 ($(objpfx)tst-quad2): Likewise.
19514 ($(objpfx)tst-quad1pie): Likewise.
19515 ($(objpfx)tst-quad2pie): Likewise.
19516 * sysdeps/x86_64/tst-quad1.c: New file.
19517 * sysdeps/x86_64/tst-quad1pie.c: New file.
19518 * sysdeps/x86_64/tst-quad2.c: Likewise.
19519 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19520 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19521 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19522 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19523 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19524
f34d6f84
ST
195252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19526
f42d41d1
ST
19527 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19528 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19529 * streams/stropts.h (t_scalar_t): Define type.
19530
3c3571fc
ST
19531 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19532 (_PATH_PRESERVE): Set to "/var/lib".
19533 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19534
61f06bd3
ST
19535 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19536 instead of int.
19537
918d4d71
ST
19538 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19539 if __dir_mkfile succeeded.
19540
f34d6f84
ST
19541 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19542 checking for _hurd_dtablesize. Unlock it right after having
19543 finished _hurd_dtable allocation.
19544
10589b4a
TS
195452012-05-10 Thomas Schwinge <thomas@schwinge.name>
19546
674cdbc7
TS
19547 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19548 * sysdeps/mach/hurd/configure: Regenerated.
19549 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19550 special-casing to...
19551 * sysdeps/gnu/configure.in: ... this new file.
19552 * sysdeps/unix/sysv/linux/configure: Regenerated.
19553 * sysdeps/gnu/configure: New generated file.
19554
8e41b99f
TS
19555 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19556 for Linux: use nsec instead of usec, as well as:
19557 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19558 members of type struct timespec.
19559 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19560 New macros.
19561 (struct stat64): Likewise.
19562 (_STATBUF_ST_NSEC): New macro.
19563 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19564
10589b4a
TS
19565 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19566 __strtoul_internal rather than strtoul.
19567
63643c85
PT
195682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19569
19570 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19571 and reject them.
19572
3faebe6a
ST
195732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19574
19575 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19576 which preserves existing values.
19577 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19578
c6474b07
PT
195792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19580
19581 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19582 TIMEOUT values. Return EINVAL for NFDS values either negative or
19583 greater than FD_SETSIZE.
19584
1043890b
ST
195852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19586
19587 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19588 allocated, call __vm_protect to finish enabling the existing space, and
19589 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19590 allocate the remainder.
19591
37ed8b9b
PT
195922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19593
19594 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19595 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19596
db653660
ST
195972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19598
37ed8b9b
PT
19599 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19600 sysdeps/mach/hurd/readlink.c.
b29d4053 19601
db653660
ST
19602 * posix/tst-sysconf.c (posix_options): Only use
19603 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19604 _POSIX_SYNCHRONIZED_IO when they are defined
19605 * sysdeps/mach/hurd/bits/posix_opt.h:
19606 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19607 (_XOPEN_REALTIME): Undefine macro.
19608 (_XOPEN_REALTIME_THREADS): Undefine macro.
19609 (_XOPEN_SHM): Undefine macro.
19610 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19611 macro to -1.
19612 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19613 macro to -1.
19614 (_POSIX_ASYNC_IO): Undefine macro.
19615 (_POSIX_PRIORITIZED_IO): Undefine macro.
19616 (_POSIX_SPIN_LOCKS): Define macro to -1.
19617
ee16e894
ST
19618 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19619 SA_NODEFER, SA_RESETHAND.
19620 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19621 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19622 F_DUPFD_CLOEXEC.
19623
6103ae3b
TS
196242012-05-10 Thomas Schwinge <thomas@schwinge.name>
19625
19626 * elf/Makefile (pldd-modules): Define unconditionally.
19627
80b4e5f3
TS
196282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19629
19630 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19631
edadcbd6
ST
196322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19633
19634 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19635 Return ENOENT when name is empty.
19636 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19637
80694780
TS
196382012-05-10 Thomas Schwinge <thomas@schwinge.name>
19639
1792c087
TS
19640 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19641
80694780
TS
19642 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19643
6b645f0d
ST
196442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19645
80694780
TS
19646 Fix mlock in all cases except non-readable pages.
19647 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19648 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19649
6b645f0d
ST
19650 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19651 (__mkdir): When path is `/', just fail with EEXIST.
19652 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19653
e468f8a3
TS
196542012-05-10 Thomas Schwinge <thomas@schwinge.name>
19655
19656 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19657 <sys/uio.h> (for writev).
19658 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19659 and <sys/param.h> (for MIN).
19660
a4186cff
PT
196612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19662
19663 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19664 REQUESTED_TIME. Properly set the remaining time and return EINTR
19665 if interrupted.
19666
510bbf14
TS
196672012-05-10 Thomas Schwinge <thomas@schwinge.name>
19668
19669 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19670 Depend on against $(link-rpcuserlibs).
19671
5d5722e8
ST
196722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19673
a4186cff
PT
19674 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19675 (__libc_stack_end): Do not use attribute_relro.
19676 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19677 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19678 to libthread-provided value.
a4186cff
PT
19679 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19680 attribute_relro.
5d5722e8 19681
37233df9
TS
196822012-05-10 Thomas Schwinge <thomas@schwinge.name>
19683
be971a2b
TS
19684 [BZ #3748]
19685 * bits/libc-lock.h (__libc_once_get): New macro.
19686 * sysdeps/mach/bits/libc-lock.h: Likewise.
19687 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19689 instead of using implementation details.
19690
37233df9
TS
19691 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19692 * libio/freopen.c: Likewise.
19693 * libio/freopen64.c: Likewise.
19694 * misc/syslog.c: Likewise.
19695 * nscd/connections.c: Likewise.
19696 * nscd/netgroupcache.c: Likewise.
19697 * sysdeps/posix/getcwd.c: Likewise.
19698
38de94a5
RM
196992012-05-10 Roland McGrath <roland@hack.frob.com>
19700
19701 * math/w_ilogbf.c: Add #include <limits.h>.
19702
67530489
ST
197032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19704
a4186cff 19705 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19706 path instead of returning without unlocking.
19707
67530489
ST
19708 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19709 immediate-write ioctls.
19710 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19711
5aa3a74a
TS
197122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19713
18bad2ae
TS
19714 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19715 __builtin_frame_address instead of making assumptions about the
19716 location of the return address relative to DATA. Force early load of
19717 the return address.
19718 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19719 __builtin_frame_address.
19720
5aa3a74a
TS
19721 dup3 for GNU Hurd.
19722 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19723 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19724 implement dup3 and do some further code clean-ups.
19725 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19726 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19727
ecd0de9a
ST
197282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19729
cd9fa985
ST
19730 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19731
a4186cff
PT
19732 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19733 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19734 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19735 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19736 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19737 d->port.lock.
802ca5a5 19738
a4186cff
PT
19739 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19740 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19741 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19742
bcf55240
TS
197432012-05-10 Thomas Schwinge <thomas@schwinge.name>
19744
6960eb42
TS
19745 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19746 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19747 definitions.
19748
eb43375f
TS
19749 accept4 for GNU Hurd.
19750 * include/sys/socket.h (__libc_accept4): New prototype.
19751 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19752 to implement __libc_accept4.
19753 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19754 __libc_accept4.
19755 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19756
bcf55240
TS
19757 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19758 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19759 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19760 signal-defines.sym.
19761
6178c55b
ST
197622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19763
a4186cff 19764 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19765
6f080c2f
TS
197662012-05-10 Thomas Schwinge <thomas@schwinge.name>
19767
19768 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19769 assertion on O_CLOEXEC flag.
19770 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19771 * hurd/intern-fd.c: Likewise.
19772 * hurd/port2fd.c: Likewise.
19773
bcfe3a54
ST
197742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19775
19776 [BZ #3906]
19777 * bits/in.h (IPV6_PKTINFO): Define new macro.
19778 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19779
89c9aa49
AZ
197802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19781
19782 [BZ #13954]
19783 [BZ #13955]
19784 [BZ #13956]
19785 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19787 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19788 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19790 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19791 * math/libm-test.inc (logb_test) : Additional logb tests.
19792
021db4be
AJ
197932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19794 Andreas Jaeger <aj@suse.de>
19795
19796 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19797 * configure: Regenerated.
19798 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19799 * config.make.in (link-obsolete-rpc): New substituted variable.
19800 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19801 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19802 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19803 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19804 so that libc.a contains the symbols.
19805 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19806 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19807 * sunrpc/auth_none.c: Likewise.
19808 * sunrpc/auth_unix.c: Likewise.
19809 * sunrpc/authdes_prot.c: Likewise.
19810 * sunrpc/authuxprot.c: Likewise.
19811 * sunrpc/clnt_gen.c: Likewise.
19812 * sunrpc/clnt_perr.c: Likewise.
19813 * sunrpc/clnt_raw.c: Likewise.
19814 * sunrpc/clnt_simp.c: Likewise.
19815 * sunrpc/clnt_tcp.c: Likewise.
19816 * sunrpc/clnt_udp.c: Likewise.
19817 * sunrpc/clnt_unix.c: Likewise.
19818 * sunrpc/des_crypt.c: Likewise.
19819 * sunrpc/des_soft.c: Likewise.
19820 * sunrpc/get_myaddr.c: Likewise.
19821 * sunrpc/key_call.c: Likewise.
19822 * sunrpc/key_prot.c: Likewise.
19823 * sunrpc/netname.c: Likewise.
19824 * sunrpc/pm_getmaps.c: Likewise.
19825 * sunrpc/pm_getport.c: Likewise.
19826 * sunrpc/pmap_clnt.c: Likewise.
19827 * sunrpc/pmap_prot.c: Likewise.
19828 * sunrpc/pmap_prot2.c: Likewise.
19829 * sunrpc/pmap_rmt.c: Likewise.
19830 * sunrpc/publickey.c: Likewise.
19831 * sunrpc/rpc_cmsg.c: Likewise.
19832 * sunrpc/rpc_common.c: Likewise.
19833 * sunrpc/rpc_dtable.c: Likewise.
19834 * sunrpc/rpc_prot.c: Likewise.
19835 * sunrpc/rpc_thread.c: Likewise.
19836 * sunrpc/rtime.c: Likewise.
19837 * sunrpc/svc.c: Likewise.
19838 * sunrpc/svc_auth.c: Likewise.
19839 * sunrpc/svc_raw.c: Likewise.
19840 * sunrpc/svc_run.c: Likewise.
19841 * sunrpc/svc_tcp.c: Likewise.
19842 * sunrpc/svc_udp.c: Likewise.
19843 * sunrpc/svc_unix.c: Likewise.
19844 * sunrpc/svcauth_des.c: Likewise.
19845 * sunrpc/xcrypt.c: Likewise.
19846 * sunrpc/xdr.c: Likewise.
19847 * sunrpc/xdr_array.c: Likewise.
19848 * sunrpc/xdr_float.c: Likewise.
19849 * sunrpc/xdr_intXX_t.c: Likewise.
19850 * sunrpc/xdr_mem.c: Likewise.
19851 * sunrpc/xdr_rec.c: Likewise.
19852 * sunrpc/xdr_ref.c: Likewise.
19853 * sunrpc/xdr_sizeof.c: Likewise.
19854 * sunrpc/xdr_stdio.c: Likewise.
19855
b5c086a2
RM
198562012-05-10 Roland McGrath <roland@hack.frob.com>
19857
19858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19859 change. Update copyright years.
19860
6d74dd09
JM
198612012-05-10 Joseph Myers <joseph@codesourcery.com>
19862
19863 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19864
28e72501
MK
198652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19866 Joseph Myers <joseph@codesourcery.com>
19867 Paul Pluzhnikov <ppluzhnikov@google.com>
19868
19869 [BZ #14012]
19870 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19871 requiring rpcgen.
19872 [cross-compiling] (extra-libs): Likewise.
19873 [cross-compiling] (extra-libs-others): Likewise.
19874 [cross-compiling] (librpcsvc-routines): Likewise.
19875 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19876 [cross-compiling] (omit-deps): Likewise.
19877 (sunrpc-CPPFLAGS): New variable.
19878 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19879 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19880 (cross-rpcgen-objs): New variable.
19881 (extra-objs): Append $(cross-rpcgen-objs).
19882 ($(cross-rpcgen-objs)): New rule.
19883 ($(objpfx)cross-rpcgen): Likewise.
19884 (rpcgen-cmd): Define to use $(built-program-file). Expand
19885 comment.
19886 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19887 ($(objpfx)x%.stmp): Likewise.
19888 * sunrpc/proto.h [IS_IN_build] (_): Define.
19889 [IS_IN_build] (_libc_intl_domainname): Likewise.
19890
c8c59454
L
198912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19892
19893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19894 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19895 and R_X86_64_TPOFF64.
19896
6f27cd16
JM
198972012-05-10 Joseph Myers <joseph@codesourcery.com>
19898
19899 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19900 sysdeps/unix/sysv/syscalls.list.
19901 (stime): Likewise.
19902 (utime): Likewise.
19903 * sysdeps/unix/sysv/syscalls.list: Remove file.
19904
02467e1c
PE
199052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19906
19907 [BZ #3440]
19908 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19909 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19910 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19911 (__LC_IDENTIFICATION): Make these macros useful in #if
19912 expressions, as required by C99.
19913
da392631
AS
199142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19915
19916 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19917 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19918 after this.
19919
8115f29b
L
199202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19921
19922 * stdlib/longlong.h: Updated from GCC.
19923
bdd74070
AJ
199242012-05-09 Andreas Jaeger <aj@suse.de>
19925
edfe0dbe
AJ
19926 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19927 default is first entry.
19928 (run_mode): Set type.
19929 (main): Remove informal message about syslog.
19930 (options): Fix typo.
19931
bcfe3a54
ST
19932 [BZ #14053]
19933 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19934 to asm.
bcfe3a54
ST
19935 (lrint): Likewise.
19936 (llrintf): Likewise.
19937 (llrint): Likewise.
19938 (rint): Likewise.
19939 (rintf): Likewise.
19940 (nearbyint): Likewise.
19941 (nearbyintf): Likewise.
bdd74070 19942
91d8d69e
AJ
199432012-05-09 Andreas Jaeger <aj@suse.de>
19944 Pedro Alves <palves@redhat.com>
19945
19946 * nscd/nscd.c (run_mode): Use enum.
19947 (main): Cleanup coding style issue.
19948
bb90b80b
AJ
199492012-05-09 Alexandre Oliva <aoliva@redhat.com>
19950 Andreas Jaeger <aj@suse.de>
19951
bcfe3a54
ST
19952 * nscd/nscd.c (go_background): Replaced with...
19953 (run_mode): ... this.
bb90b80b 19954 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19955 (options): Add -F --foreground.
19956 (main): Implement it.
19957 (parse_opt): Parse it.
bb90b80b 19958
1a4b75a1
AJ
199592012-05-09 Andreas Jaeger <aj@suse.de>
19960
19961 [BZ #14083]
19962 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19963 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19964 -Wconversion warning.
19965 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19966 Likewise.
19967
b1cc2472
JM
199682012-05-09 Joseph Myers <joseph@codesourcery.com>
19969
19970 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19971 == 0.
19972 (LC_ALL): Use macro-int-constant.
19973 (LC_COLLATE): Likewise.
19974 (LC_CTYPE): Likewise.
19975 (LC_MESSAGES): Likewise.
19976 (LC_MONETARY): Likewise.
19977 (LC_NUMERIC): Likewise.
19978 (LC_TIME): Likewise.
19979 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19980 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19982 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19983 Specify type.
19984 [C99-based standards] (float_t): Expect type.
19985 [C99-based standards] (double_t): Expect type.
19986 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19987 type.
19988 [C99-based standards] (HUGE_VALL): Likewise.
19989 [C99-based standards] (INFINITY): Likewise.
19990 [C99-based standards] (NAN): Likewise.
19991 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19992 [C99-based standards] (FP_NAN): Likewise.
19993 [C99-based standards] (FP_NORMAL): Likewise.
19994 [C99-based standards] (FP_SUBNORMAL): Likewise.
19995 [C99-based standards] (FP_ZERO): Likewise.
19996 [C99-based standards] (FP_FAST_FMA): Use
19997 optional-macro-int-constant. Specify type. Require == 1.
19998 [C99-based standards] (FP_FAST_FMAF): Likewise.
19999 [C99-based standards] (FP_FAST_FMAL): Likewise.
20000 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20001 [C99-based standards] (FP_ILOGBNAN): Likewise.
20002 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20003 Specify type.
20004 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20005 [C99-based standards] (math_errhandling): Specify type.
20006 [ISO99 || ISO11] (signgam): Do not allow.
20007 [non-C99-based standards] (copysignf): Do not allow.
20008 [non-C99-based standards] (exp2f): Likewise.
20009 [non-C99-based standards] (log2f): Likewise.
20010 [non-C99-based standards] (modff): Allow.
20011 [non-C99-based standards] (erff): Do not allow.
20012 [non-C99-based standards] (erfcf): Likewise.
20013 [non-C99-based standards] (gammaf): Likewise.
20014 [non-C99-based standards] (hypotf): Likewise.
20015 [non-C99-based standards] (j0f): Likewise.
20016 [non-C99-based standards] (j1f): Likewise.
20017 [non-C99-based standards] (jnf): Likewise.
20018 [non-C99-based standards] (lgammaf): Likewise.
20019 [non-C99-based standards] (tgammaf): Likewise.
20020 [non-C99-based standards] (y0f): Likewise.
20021 [non-C99-based standards] (y1f): Likewise.
20022 [non-C99-based standards] (ynf): Likewise.
20023 [non-C99-based standards] (isnanf): Likewise.
20024 [non-C99-based standards] (acoshf): Likewise.
20025 [non-C99-based standards] (asinhf): Likewise.
20026 [non-C99-based standards] (atanhf): Likewise.
20027 [non-C99-based standards] (cbrtf): Likewise.
20028 [non-C99-based standards] (expm1f): Likewise.
20029 [non-C99-based standards] (ilogbf): Likewise.
20030 [non-C99-based standards] (log1pf): Likewise.
20031 [non-C99-based standards] (logbf): Likewise.
20032 [non-C99-based standards] (nextafterf): Likewise.
20033 [non-C99-based standards] (remainderf): Likewise.
20034 [non-C99-based standards] (rintf): Likewise.
20035 [non-C99-based standards] (scalbf): Likewise.
20036 [non-C99-based standards] (copysignl): Likewise.
20037 [non-C99-based standards] (exp2l): Likewise.
20038 [non-C99-based standards] (log2l): Likewise.
20039 [non-C99-based standards] (modfl): Allow.
20040 [non-C99-based standards] (erfl): Do not allow.
20041 [non-C99-based standards] (erfcl): Likewise.
20042 [non-C99-based standards] (gammal): Likewise.
20043 [non-C99-based standards] (hypotl): Likewise.
20044 [non-C99-based standards] (j0l): Likewise.
20045 [non-C99-based standards] (j1l): Likewise.
20046 [non-C99-based standards] (jnl): Likewise.
20047 [non-C99-based standards] (lgammal): Likewise.
20048 [non-C99-based standards] (tgammal): Likewise.
20049 [non-C99-based standards] (y0l): Likewise.
20050 [non-C99-based standards] (y1l): Likewise.
20051 [non-C99-based standards] (ynl): Likewise.
20052 [non-C99-based standards] (isnanl): Likewise.
20053 [non-C99-based standards] (acoshl): Likewise.
20054 [non-C99-based standards] (asinhl): Likewise.
20055 [non-C99-based standards] (atanhl): Likewise.
20056 [non-C99-based standards] (cbrtl): Likewise.
20057 [non-C99-based standards] (expm1l): Likewise.
20058 [non-C99-based standards] (ilogbl): Likewise.
20059 [non-C99-based standards] (log1pl): Likewise.
20060 [non-C99-based standards] (logbl): Likewise.
20061 [non-C99-based standards] (nextafterl): Likewise.
20062 [non-C99-based standards] (remainderl): Likewise.
20063 [non-C99-based standards] (rintl): Likewise.
20064 [non-C99-based standards] (scalbl): Likewise.
20065 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20066 [non-C99-based standards] (FP_*): Do not allow.
20067 [C99-based standards] (FP_*): Change to
20068 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20069 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20070 allow.
20071 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20072 (SIG_ERR): Likewise.
20073 [X/Open-based standards] (SIG_HOLD): Likewise.
20074 (SIG_IGN): Likewise.
20075 (SIGABRT): Use macro-int-constant. Specify type. Require
20076 positive value.
20077 (SIGFPE): Likewise.
20078 (SIGILL): Likewise.
20079 (SIGINT): Likewise.
20080 (SIGSEGV): Likewise.
20081 (SIGTER): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20100 [X/Open-based standards] (SIGTRAP): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20105 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20106 allow.
20107
b9f1922d
IW
201082012-05-08 Ian Wienand <ianw@vmware.com>
20109
20110 [BZ #14080]
20111 * time/tzset.c (__tzset_parse_tz): Update default rules for
20112 daylight time changes in the Energy Policy Act of 2005.
20113
1db86e88
AJ
201142012-05-09 Andreas Jaeger <aj@suse.de>
20115
20116 [BZ #13983]
20117 * elf/ldconfig.c (parse_conf): Change string to make clear that
20118 ldconfig only issued a warning if ld.so.conf does not exist.
20119
dee4a4e3
DM
201202012-05-08 David S. Miller <davem@davemloft.net>
20121
ee0db190
DM
20122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20123 movxtod instead of popping the value on the stack.
20124
dee4a4e3
DM
20125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20126
6a43ec98
CD
201272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20128
20129 * config.h.in: Add HAVE_ARM_PCS_VFP.
20130
05c2c961
RMG
201312012-05-08 Roland Mc Grath <roland@hack.frob.com>
20132
bcfe3a54
ST
20133 [BZ #13979]
20134 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20135 checking but the checks are disabled for any reason.
05c2c961 20136
4b30f61a
L
201372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20138
20139 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20140 and ELF64_R_TYPE with ELFW(R_TYPE).
20141
eee2bc67
JM
201422012-05-08 Joseph Myers <joseph@codesourcery.com>
20143
7ea5391a
JM
20144 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20145 (ulimit): Likewise.
20146
eee2bc67
JM
20147 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20148 (settimeofday): Likewise.
20149
abb66a67
MF
201502012-05-08 Mike Frysinger <vapier@gentoo.org>
20151
20152 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20153 a struct th_u2 inside the union, and move tu_block/tu_code into
20154 a new th_u3 union of tu_block/tu_code inside of that. Move
20155 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20156 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20157 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20158 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20159 (th_stuff): Change to th_u1.tu_stuff.
20160 (th_data): Define.
20161 (th_msg): Change to th_u1.th_u2.tu_data.
20162
7f18b530
DM
201632012-05-07 David S. Miller <davem@davemloft.net>
20164
05760585
DM
20165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20166
7f18b530
DM
20167 [BZ #14074]
20168 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20169 (SETUP_PIC_REG): Use it.
20170 (SETUP_PIC_REG_LEAF): Use it.
20171
495fd99f
JM
201722012-05-07 Joseph Myers <joseph@codesourcery.com>
20173
20174 [BZ #13885]
20175 [BZ #13923]
20176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20177 USE_AS_EXPM1L.
20178 (EXPL_FINITE): Likewise.
20179 (FLDLOG): Likewise.
20180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20181 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20182 e_expl.S.
20183 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20184 USE_AS_EXPM1L.
20185 (EXPL_FINITE): Likewise.
20186 (FLDLOG): Likewise.
20187 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20188 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20189 e_expl.S.
20190 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20191 test of -max_value argument for long double.
20192 * sysdeps/i386/fpu/libm-test-ulps: Update.
20193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20194
6693d694
DM
201952012-05-06 David S. Miller <davem@davemloft.net>
20196
20197 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20198 quad soft-float symbols whose references which are compiler
20199 generated.
20200 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20201
6c23e11c
JM
202022012-05-06 Joseph Myers <joseph@codesourcery.com>
20203
d8b82cad
JM
20204 [BZ #13884]
20205 [BZ #13914]
20206 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20207 USE_AS_EXP10L.
20208 (EXPL_FINITE): Likewise.
20209 (FLDLOG): Likewise.
20210 (c0): Likewise.
20211 (c1): Likewise.
20212 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20213 Adjust comments for base varying.
20214 (__expl_finite): Change alias to EXPL_FINITE.
20215 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20216 e_expl.S.
20217 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20218 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20220 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20221 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20222 USE_AS_EXP10L.
20223 (EXPL_FINITE): Likewise.
20224 (FLDLOG): Likewise.
20225 (c0): Likewise.
20226 (c1): Likewise.
20227 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20228 Adjust comments for base varying.
20229 (__expl_finite): Change alias to EXPL_FINITE.
20230 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20231 tests for bugs.
20232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20233
6c23e11c
JM
20234 [BZ #14064]
20235 * math/libm-test.inc (check_float_internal): Correct ulp
20236 calculation for subnormal expected results.
20237
29ba805c
AJ
202382012-05-06 Andreas Jaeger <aj@suse.de>
20239
20240 * Makeconfig (+math-flags): New, set to -frounding-math.
20241 (+cflags): Add +math-flags so that all of glibc gets compiled with
20242 it.
20243
20244 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20245
7b17aeda
JM
202462012-05-05 Joseph Myers <joseph@codesourcery.com>
20247
5779f134
JM
20248 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20249 Disable one test.
20250
41498f4d
JM
20251 [BZ #13787]
20252 [BZ #13922]
20253 [BZ #14036]
20254 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20255 (__ieee754_expl): Allow for and saturate large arguments.
20256 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20257 (u_threshold): Likewise.
20258 (__exp): Call __ieee754_exp before checking for overflow and
20259 underflow.
20260 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20261 (u_threshold): Likewise.
20262 (__expf): Call __ieee754_expf before checking for overflow and
20263 underflow.
20264 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20265 (u_threshold): Likewise.
20266 (__expl): Call __ieee754_expl before checking for overflow and
20267 underflow.
20268 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20269 (__ieee754_expl): Allow for and saturate large arguments.
20270 * math/libm-test.inc (exp_test): Add another test. Do not allow
20271 missing overflow exception on overflow.
20272 (expm1_test): Do not allow missing overflow exception on overflow.
20273
6698b8bf
JM
20274 * sysdeps/i386/fpu/e_expl.c: Move to ...
20275 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20276 rather than using inline asm.
20277 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20278 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20279 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20280
7b17aeda
JM
20281 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20282 (nice): Likewise.
20283 (poll): Likewise.
20284 (signal): Likewise.
20285 (time): Likewise.
20286 (times): Likewise.
20287
f7c85819
JM
202882012-05-04 Joseph Myers <joseph@codesourcery.com>
20289
20290 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20291 sysdeps/unix/common/syscalls.list.
20292 (fchmod): Likewise.
20293 (fchown): Likewise.
20294 (ftruncate): Likewise.
20295 (getrusage): Likewise.
20296 (gettimeofday): Likewise.
20297 (setpgid): Likewise.
20298 (setregid): Likewise.
20299 (setreuid): Likewise.
20300 (sigaction): Likewise.
20301 (truncate): Likewise.
20302 (vhangup): Likewise.
20303 * sysdeps/unix/common/syscalls.list: Remove file.
20304 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20305 * sysdeps/unix/sysv/linux/Implies: Likewise.
20306
336270d0
L
203072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20308
20309 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20311 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20312 Moved to ...
20313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20314 Here.
20315 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20316 to ...
20317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20318 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20319 to ...
20320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20321 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20322 to ...
20323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20324 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20325 to ...
20326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20327 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20328 to ...
20329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20330 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20331 to ...
20332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20333 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20334 to ...
20335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20336 Here.
20337 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20338 to ...
20339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20340 Here.
20341 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20342 to ...
20343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20345 Moved to ...
20346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20347 Here.
20348 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20349 to ...
20350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20351
d128e450
JM
203522012-05-04 Joseph Myers <joseph@codesourcery.com>
20353
fa8ee516
JM
20354 * sysdeps/unix/common/bits/dirent.h: Remove file.
20355 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20356
d128e450
JM
20357 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20358 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20359 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20360 * sysdeps/unix/bsd/isatty.c: Likewise.
20361 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20362 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20363 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20364
ff8faaf0 203652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20366
62881be4 20367 [BZ #13563]
31dc8730
AZ
20368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20369 long double comparison inaccuracies.
20370 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20372
6fef930c
AS
203732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20374
20375 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20376 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20377
8f203e6c
JM
203782012-05-04 Joseph Myers <joseph@codesourcery.com>
20379
20380 [BZ #14049]
20381 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20382 nonzero digits before rounding a hex value.
20383 * stdlib/tst-strtod.c (tests): Add another test.
20384
5197d9c2
AK
203852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20386
20387 * sysdeps/s390/fpu/libm-test-ulps: Update.
20388
f0c1dedf
AJ
203892012-05-03 Andreas Jaeger <aj@suse.de>
20390
20391 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20392 does not get optimized out.
20393 (malloc_opt_barrier): New.
20394
a65ef2ae 203952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20396 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20397
2b942cb7 20398 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20399 intermediate file deletion.
2b942cb7 20400 (generated): Add .symlist files.
a65ef2ae 20401
54b71e02
JM
204022012-05-03 Joseph Myers <joseph@codesourcery.com>
20403
20404 [BZ #13775]
20405 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20406 Redirect under this condition.
20407 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20408 [__USE_GNU] (__dprintf_chk): Not under this condition.
20409 [__USE_GNU] (__vdprintf_chk): Likewise.
20410 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20411 under this condition.
20412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20413 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20414 [__USE_XOPEN2K8] (vdprintf): Likewise.
20415 [__USE_GNU] (__dprintf_chk): Not under this condition.
20416 [__USE_GNU] (__vdprintf_chk): Likewise.
20417 [__USE_GNU] (dprintf): Likewise.
20418 [__USE_GNU] (vdprintf): Likewise.
20419
d3dfcc41
RM
204202012-05-03 Roland McGrath <roland@hack.frob.com>
20421
20422 * elf/Makefile (common-generated): Set this instead of generated for
20423 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20424 $(all-built-dso)-derived lists.
20425
7ac30cc5
AJ
204262012-05-03 Andreas Jaeger <aj@suse.de>
20427
0c51e550
AJ
20428 * sysdeps/i386/fpu/libm-test-ulps: Update.
20429
7ac30cc5
AJ
20430 * FAQ: Removed.
20431 * FAQ.in: Likewise.
20432 * scripts/gen-FAQ.pl: Likewise.
20433 * manual/install.texi (Installation): Point to online location of
20434 FAQ.
20435 * Makefile (files-for-dist): Remove FAQ.
20436 (FAQ): Remove.
20437
d4c2917f
AM
204382012-05-02 Allan McRae <allan@archlinux.org>
20439
20440 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20441 (LDFLAGS-reldepmod5.so): Likewise.
20442 (LDFLAGS-reldep6mod1.so): Likewise.
20443 (LDFLAGS-reldep6mod4.so): Likewise.
20444 (LDFLAGS-reldep8mod3.so): Likewise.
20445 (LDFLAGS-unload4mod1.so): Likewise.
20446 (LDFLAGS-unload4mod2.so): Likewise.
20447 (LDFLAGS-tst-initorder): Likewise.
20448 (LDFLAGS-tst-initordera2.so): Likewise.
20449 (LDFLAGS-tst-initordera3.so): Likewise.
20450 (LDFLAGS-tst-initordera4.so): Likewise.
20451 (LDFLAGS-tst-initorderb2.so): Likewise.
20452 (LDFLAGS-noload): Likewise.
20453 (LDFLAGS-next): Likewise.
20454 (LDFLAGS-order2mod1.so): Likewise.
20455 (LDFLAGS-order2mod2.so): Likewise.
20456 (LDFLAGS-tst-initorder2): Likewise.
20457 (LDFLAGS-tst-initorder2a.so): Likewise.
20458 (LDFLAGS-tst-initorder2b.so): Likewise.
20459 (LDFLAGS-tst-initorder2c.so): Likewise.
20460 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20461
d77f993f
DM
204622012-05-02 David S. Miller <davem@davemloft.net>
20463
20464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20465
171a70b4
PP
204662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20467
20468 [BZ #14055]
20469 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20470
0be196ad
AJ
204712012-05-02 Andreas Jaeger <aj@suse.de>
20472
20473 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20474 since we manipulate rounding mode.
20475 (CPPFLAGS-test-idouble.c): Likewise.
20476 (CPPFLAGS-test-ifloat.c): Likewise.
20477 (CFLAGS-test-ldouble.c): Likewise.
20478 (CFLAGS-test-double.c): Likewise.
20479 (CFLAGS-test-float.c): Likewise.
20480 (CFLAGS-test-misc.c): Likewise.
20481 (CFLAGS-test-test-fenv.c): Likewise.
20482
4f9d04aa
AZ
204832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20484
2b942cb7
RM
20485 [BZ #2550]
20486 [BZ #2570]
20487 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20488 comparisons to determine direction to adjust input.
4f9d04aa 20489
82a79e7d
RM
204902012-05-01 Roland McGrath <roland@hack.frob.com>
20491
f5a01ca9
RM
20492 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20493 output to the target.
20494
90fe4186
RM
20495 * scripts/localplt.awk: New file.
20496 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20497 (check-localplt-CFLAGS): Variable removed.
20498 ($(all-built-dso:=.jmprel)): New static pattern rule.
20499 (generated): Add those targets.
20500 (localplt-built-dso): New variable.
20501 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20502
20503 * elf/check-localplt.c: File removed.
20504
82397ed6
RM
20505 * scripts/check-execstack.awk: New file.
20506 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20507 (check-execstack-CFLAGS): Variable removed.
20508 ($(objpfx)check-execstack.h): Target removed.
20509 ($(objpfx)execstack-default): New target.
20510 (generated): Add that instead of check-execstack.h.
20511 ($(all-built-dso:=.phdr)): New static pattern rule.
20512 (generated): Add those targets.
20513 * elf/check-execstack.c: File removed.
20514
82a79e7d
RM
20515 * scripts/check-textrel.awk: New file.
20516 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20517 (check-textrel-CFLAGS): Variable removed.
20518 (all-built-dso): Use := to define.o
20519 ($(all-built-dso:=.dyn)): New static pattern rule.
20520 (generated): Add those targets.
20521 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20522 * config.make.in (READELF): New substituted variable.
20523 * elf/check-textrel.c: File removed.
20524
62fde54f 205252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20526
615605c9
JM
20527 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20528 allow.
20529 * conform/data/ctype.h-data [C99-based standards] (isblank):
20530 Expect function.
20531 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20532 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20534 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20535 Specify type. Require positive value.
20536 (EILSEQ): Likewise.
20537 (ERANGE): Likewise.
20538 [ISO || POSIX] (EILSEQ): Do not expect.
20539 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20540 Specify type. Require positive value.
20541 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20615 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20616 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20617 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20618 Require >= 2.
20619 (FLT_ROUNDS): Expect as macro, not constant.
20620 (FLT_MANT_DIG): Use macro-int-constant.
20621 (DBL_MANT_DIG): Likewise.
20622 (LDBL_MANT_DIG): Likewise.
20623 (FLT_DIG): Likewise.
20624 (DBL_DIG): Likewise.
20625 (LDBL_DIG): Likewise.
20626 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20627 (DBL_MIN_EXP): Likewise.
20628 (LDBL_MIN_EXP): Likewise.
20629 (FLT_MAX_EXP): Use macro-int-constant.
20630 (DBL_MAX_EXP): Likewise.
20631 (LDBL_MAX_EXP): Likewise.
20632 (FLT_MAX_10_EXP): Likewise.
20633 (DBL_MAX_10_EXP): Likewise.
20634 (LDBL_MAX_10_EXP): Likewise.
20635 (FLT_MAX): Use macro-constant.
20636 (DBL_MAX): Likewise.
20637 (LDBL_MAX): Likewise.
20638 (FLT_EPSILON): Use macro-constant. Give upper bound.
20639 (DBL_EPSILON): Likewise.
20640 (LDBL_EPSILON): Likewise.
20641 (FLT_MIN): Likewise.
20642 (DBL_MIN): Likewise.
20643 (LDBL_MIN): Likewise.
20644 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20645 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20646 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20647 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20648 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20649 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20650 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20651 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20652 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20653 [ISO11] (FLT_TRUE_MIN): Likewise.
20654 [ISO11] (LDBL_TRUE_MIN): Likewise.
20655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20656 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20657 (SCHAR_MIN): Use macro-int-constant. Specify type.
20658 (SCHAR_MAX): Likewise.
20659 (UCHAR_MAX): Likewise.
20660 (CHAR_MIN): Likewise.
20661 (CHAR_MAX): Likewise.
20662 (MB_LEN_MAX): Use macro-int-constant.
20663 (SHRT_MIN): Use macro-int-constant. Specify type.
20664 (SHRT_MAX): Likewise.
20665 (USHRT_MAX): Likewise.
20666 (INT_MAX): Likewise.
20667 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20668 bound negative.
20669 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20670 bound with "U".
20671 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20672 bound with "L".
20673 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20674 bound negative. Suffix upper bound with "L".
20675 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20676 bound with "UL".
20677 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20678 Specify type.
20679 [C99-based standards] (LLONG_MAX): Likewise.
20680 [C99-based standards] (ULLONG_MAX): Likewise.
20681 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20682 == 0.
20683 [ISO11] (max_align_t): Require type.
20684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20685
c9140a62
JM
20686 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20687 from $CFLAGS, without defining away __attribute__ calls.
20688 (checknamespace): Use $CFLAGS_namespace.
20689
9af0bf29
JM
20690 * conform/conformtest.pl (@keywords): Only include C99 keywords
20691 for standards based on C99 or C11.
20692
343222a2
JM
20693 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20694 Disable tests.
20695 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20696 UNIX98]: Likewise.
20697
661f8cf0
JM
20698 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20699 usability of symbols in #if.
20700
ee74b9cb
JM
20701 * conform/conformtest.pl: If macro or constant types start
20702 "promoted:", expect the symbol to be of the following type
20703 promoted by the integer promotions.
62fde54f 20704
aafc49b3
JM
20705 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20706 in one place. Also handle "macro-constant".
20707
fefdf574
JM
20708 * conform/conformtest.pl: Only accept expected macro values with
20709 "==". Parse all "macro" lines in one place.
20710 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20711
f2d922fe
JM
20712 * conform/conformtest.pl: Handle braced types on "constant" lines
20713 instead of handling "typed-constant".
20714 * conform/data/signal.h-data: Use "constant" instead of
20715 "typed-constant".
20716
d22956c9
JM
20717 * conform/conformtest.pl: Handle "optional-" at start of lines in
20718 one place rather than duplicating several cases. Handle each
20719 format of "macro" line with initial "optional-".
20720
028e2e38
JM
20721 * conform/conformtest.pl: Only accept expected constant or
20722 optional-constant values with "==". Parse all "constant" lines in
20723 one place. Parse all "optional-constant" lines in one place.
20724 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20725 * conform/data/fmtmsg.h-data: Likewise.
20726 * conform/data/netinet/in.h-data: Likewise.
20727 * conform/data/tar.h-data: Likewise.
20728 * conform/data/limits.h-data: Use "==" form on "constant" and
20729 "optional-constant" lines.
20730
1b8f2850
JM
20731 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20732 Use -std=c99 for XOPEN2K.
20733 (@knownproblems): Remove.
20734 (newtoken): Don't check %isknown.
20735
a05a144b
JM
20736 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20737 Do not expect macro.
20738 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20739 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20740 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20741 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20742 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20743 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20746 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20747 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20748 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20749 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20750 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20751 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20758 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20761 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20762 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20768 [XPG3] (acosh): Likewise.
20769 [XPG3] (asinh): Likewise.
20770 [XPG3] (atanh): Likewise.
20771 [XPG3] (cbrt): Likewise.
20772 [XPG3] (expm1): Likewise.
20773 [XPG3] (ilogb): Likewise.
20774 [XPG3] (log1p): Likewise.
20775 [XPG3] (logb): Likewise.
20776 [XPG3] (nextafter): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20778 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20779 [XPG3] (remainder): Likewise.
20780 [XPG3] (rint): Likewise.
20781 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20788 [UNIX98 || XOPEN2K] (scalb): Expect.
20789 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20790 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20795 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20799 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20800 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20801 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20926
73c5ebe3
JM
20927 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20928 _XOPEN_SOURCE_EXTENDED for XPG4.
20929
39c33b6c
JM
20930 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20931
62fde54f
JM
20932 * Makeconfig (localtime): Remove variable.
20933 (inst_localtime-file): Likewise.
20934
0741d64c
AS
209352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20936
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20938 Update.
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20940 Update.
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20942 Update.
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20944 Update.
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20946 Update.
20947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20948 Update.
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20950 Update.
20951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20952 Update.
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20954 Update.
20955
7cb029ee
JM
209562012-05-01 Joseph Myers <joseph@codesourcery.com>
20957
20958 [BZ #2550]
20959 [BZ #2570]
20960 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20961 comparisons to determine direction to adjust input.
20962 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20963 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20965 Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20967 Likewise.
20968 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20969 Likewise.
20970 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20971 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20972 Likewise.
20973 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20974 Likewise.
20975 * math/libm-test.inc (nexttoward_test): Add more tests.
20976
412bd966
AS
209772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20978
20979 [BZ #14040]
20980 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20981 in version GLIBC_2.1, not GLIBC_2.0.
20982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20983 Likewise.
20984
9568c0c2
JM
209852012-04-30 Joseph Myers <joseph@codesourcery.com>
20986
adfbc8ac
JM
20987 [BZ #13942]
20988 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20989 (1 - x) * (1 + x).
20990 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20991 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20992 * math/libm-test.inc (acos_test): Add more tests.
20993 (asin_test): Likewise.
20994 * sysdeps/i386/fpu/libm-test-ulps: Update.
20995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20996
5ba3cc69
JM
20997 [BZ #14034]
20998 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20999 of square root.
21000 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21001 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21002 * math/libm-test.inc (acos_test_tonearest): New function.
21003 (acos_test_towardzero): Likewise.
21004 (acos_test_downward): Likewise.
21005 (acos_test_upward): Likewise.
21006 (asin_test_tonearest): Likewise.
21007 (asin_test_towardzero): Likewise.
21008 (asin_test_downward): Likewise.
21009 (asin_test_upward): Likewise.
21010 (main): Call the new functions.
21011 * sysdeps/i386/fpu/libm-test-ulps: Update.
21012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21013
9568c0c2
JM
21014 [BZ #13884]
21015 [BZ #13924]
21016 * math/e_exp10.c: Include <float.h>.
21017 (__ieee754_exp10): Handle underflow here rather than multiplying
21018 large negative argument by M_LN10.
21019 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21020 of __ieee754_expf.
21021 * math/e_exp10l.c: Include <float.h>.
21022 (__ieee754_exp10l): Handle underflow here rather than multiplying
21023 large negative argument by M_LN10l.
21024 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21025 spurious overflow exception on underflow.
21026
5ac3ea17
MP
210272012-04-29 Marek Polacek <polacek@redhat.com>
21028
21029 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21030 (__fortify_function): New macro.
21031 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21032 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21033 __extern_always_inline.
21034 * libio/bits/stdio2.h: Likewise.
21035 * libio/bits/stdio.h: Likewise.
21036 * string/string.h: Likewise.
21037 * string/bits/string3.h: Likewise.
21038 * include/stdio.h: Likewise.
21039 * stdlib/bits/stdlib.h: Likewise.
21040 * stdlib/stdlib.h: Likewise.
21041 * rt/bits/mqueue2.h: Likewise.
21042 * rt/mqueue.h: Likewise.
21043 * posix/bits/unistd.h: Likewise.
21044 * posix/unistd.h: Likewise.
21045 * io/bits/poll2.h: Likewise.
21046 * io/bits/fcntl2.h: Likewise.
21047 * io/fcntl.h: Likewise.
21048 * io/sys/poll.h: Likewise.
21049 * misc/bits/syslog.h: Likewise.
21050 * misc/bits/syslog-ldbl.h: Likewise.
21051 * misc/sys/syslog.h: Likewise.
21052 * socket/bits/socket2.h: Likewise.
21053 * socket/sys/socket.h: Likewise.
21054 * debug/tst-chk1.c: Likewise.
21055 * wcsmbs/bits/wchar2.h: Likewise.
21056 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21057 * wcsmbs/wchar.h: Likewise.
21058
ecf0ebfb
AJ
210592012-04-29 Andreas Jaeger <aj@suse.de>
21060
21061 * Makerules (tests): Remove enable-check-abi protection.
21062 (check-abi-warn): Remove.
21063 (check-abi-%): Remove check-abi-warn usage.
21064
21065 * configure.in: Remove check-abi configure option.
21066 * configure: Regenerated.
21067 * config.make.in (enable-check-abi): Remove.
21068
6d5c57fa
AS
210692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21070
24c5d07e 21071 [BZ #14033]
ded5180a
AS
21072 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21073 double functions to double *_finite functions.
21074
7e0d315d
AS
21075 [BZ #13941]
21076 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21077 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21078 LDBL_MIN_EXP.
21079 * stdio-common/Makefile (tests): Add tst-sprintf3.
21080 * stdio-common/tst-sprintf3.c: New file.
21081
6d5c57fa
AS
21082 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21083 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21084
0749ff8b
JM
210852012-04-28 Joseph Myers <joseph@codesourcery.com>
21086
21087 * conform/conformtest.pl: Remove duplicate typed-constant
21088 handling.
21089
8dbd5d7b
DM
210902012-04-28 David S. Miller <davem@davemloft.net>
21091
21092 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21093 (check-abi-%): Remove AWK script prerequisite and explicit
21094 abilist directory.
21095 (check-abi): Rewrite to just diff the symlist with the abilist.
21096 (config-tls, config-abi-config): Delete, no longer used.
21097 (update-abi-%): Remove AWK script and explicit abilist directory.
21098 (update-abi): Rewrite to simply compare and conditionally copy the
21099 symlist and the sysdep abilist file. Remove update-abi-config
21100 checks.
21101 * abilist/ld.abilist: Remove.
21102 * abilist/libBrokenLocale.abilist: Remove.
21103 * abilist/libanl.abilist: Remove.
21104 * abilist/libcrypt.abilist: Remove.
21105 * abilist/libdl.abilist: Remove.
21106 * abilist/librt.abilist: Remove.
21107 * abilist/libthread_db.abilist: Remove.
21108 * abilist/libutil.abilist: Remove.
21109 * scripts/extract-abilist.awk: Remove.
21110 * scripts/merge-abilist.awk: Remove.
21111 * sysdeps/generic/libcidn.abilist: New file.
21112 * sysdeps/generic/libnss_compat.abilist: New file.
21113 * sysdeps/generic/libnss_db.abilist: New file.
21114 * sysdeps/generic/libnss_dns.abilist: New file.
21115 * sysdeps/generic/libnss_files.abilist: New file.
21116 * sysdeps/generic/libnss_hesiod.abilist: New file.
21117 * sysdeps/generic/libnss_nis.abilist: New file.
21118 * sysdeps/generic/libnss_nisplus.abilist: New file.
21119 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21120 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21121 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21122 file.
21123 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21124 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21125 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21126 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21127 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21128 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21129 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21130 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21131 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21132 file.
21133 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21134 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21135 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21136 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21137 file.
21138 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21139 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21140 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21141 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21142 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21143 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21144 file.
21145 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21146 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21147 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21148 file.
21149 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21151 New file.
21152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21153 New file.
21154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21155 New file.
21156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21157 New file.
21158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21159 New file.
21160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21161 New file.
21162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21163 New file.
21164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21165 New file.
21166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21167 New file.
21168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21169 New file.
21170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21171 New file.
21172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21173 New file.
21174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21175 New file.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21177 file.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21179 New file.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21181 New file.
21182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21183 file.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21185 New file.
21186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21187 New file.
21188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21189 file.
21190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21191 New file.
21192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21193 New file.
21194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21195 New file.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21197 New file.
21198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21199 New file.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21201 New file.
21202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21204 file.
21205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21206 New file.
21207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21208 file.
21209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21210 file.
21211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21212 file.
21213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21214 file.
21215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21216 file.
21217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21218 New file.
21219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21220 file.
21221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21222 file.
21223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21224 New file.
21225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21226 file.
21227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21229 file.
21230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21231 New file.
21232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21233 file.
21234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21235 file.
21236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21237 file.
21238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21239 file.
21240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21241 file.
21242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21243 New file.
21244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21245 file.
21246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21247 file.
21248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21249 New file.
21250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21251 file.
21252 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21253 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21254 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21255 file.
21256 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21257 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21258 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21259 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21260 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21261 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21262 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21263 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21264 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21265 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21268 file.
21269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21270 New file.
21271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21272 file.
21273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21274 file.
21275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21276 file.
21277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21278 file.
21279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21280 file.
21281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21282 New file.
21283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21284 New file.
21285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21286 file.
21287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21288 New file.
21289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21290 file.
21291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21293 file.
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21295 New file.
21296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21297 file.
21298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21299 file.
21300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21301 file.
21302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21303 file.
21304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21305 file.
21306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21307 New file.
21308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21309 New file.
21310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21311 file.
21312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21313 New file.
21314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21315 file.
21316
41d73a1b
JM
213172012-04-28 Joseph Myers <joseph@codesourcery.com>
21318
21319 * conform/conformtest.pl: Fix typo in handling typed-constant from
21320 allow-header.
21321
28aeeda4
JM
213222012-04-27 Joseph Myers <joseph@codesourcery.com>
21323
adae8f5e
JM
21324 * README: Cut down references to pre-2.6 Linux kernels and
21325 Linuxthreads. Update lists of configurations in libc and ports
21326 and sort alphabetically. Say "or newer" with Linux kernel version
21327 requirements.
21328
28aeeda4
JM
21329 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21330
a462cb63
RA
213312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21332
21333 [BZ #887]
21334 * math/libm-test.inc (logb_test_downward): New test to expose
21335 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21336 rounding mode.
21337
6ad3493e
JM
213382012-04-27 Joseph Myers <joseph@codesourcery.com>
21339
21340 [BZ #14027]
21341 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21342 to be done.
21343 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21344 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21345
2ce4f015
JM
213462012-04-26 Joseph Myers <joseph@codesourcery.com>
21347
5aeb141a
JM
21348 * sysdeps/unix/i386/brk.S: Remove file.
21349 * sysdeps/unix/i386/dl-brk.S: Likewise.
21350 * sysdeps/unix/i386/pipe.S: Likewise.
21351 * sysdeps/unix/i386/sigreturn.S: Likewise.
21352 * sysdeps/unix/i386/syscall.S: Likewise.
21353 * sysdeps/unix/i386/vfork.S: Likewise.
21354 * sysdeps/unix/i386/wait.S: Likewise.
21355
7143acae
JM
21356 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21357 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21358
2ce4f015
JM
21359 * configure.in (arm*-none*): Do not allow without
21360 --enable-hacker-mode.
21361 (netbsd*): Remove case setting base_os.
21362 (386bsd*): Likewise.
21363 (freebsd*): Likewise.
21364 (bsdi*): Likewise.
21365 (osf*): Likewise.
21366 (sunos*): Likewise.
21367 (ultrix*): Likewise.
21368 (newsos*): Likewise.
21369 (dynix*): Likewise.
21370 (*bsd*): Likewise.
21371 (sysv*): Likewise.
21372 (isc*): Likewise.
21373 (esix*): Likewise.
21374 (sco*): Likewise.
21375 (minix*): Likewise.
21376 (irix4*): Likewise.
21377 (irix6*): Likewise.
21378 (solaris[2-9]*): Likewise.
21379 (none): Likewise.
21380 * configure: Regenerated.
21381
0ac229c8
AZ
213822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21383
21384 [BZ #11521]
21385 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21386 overflow or cancellation in calculating denominator.
21387 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21389 down expression to avoid unexpected rounding in newer GCCs.
21390 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21391
33f244f4
DM
213922012-04-26 David S. Miller <davem@davemloft.net>
21393
21394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21395 long-double compat symbols.
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21409
cfa1f3e8
DM
214102012-04-25 David S. Miller <davem@davemloft.net>
21411
21412 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21413 HWCAP_* values only after the memory barriers have been defined.
21414 (atomic_full_barrier): Define.
21415 (atomic_read_barrier): Define.
21416 (atomic_write_barrier): Define.
21417
6e236b92
SP
214182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21419
21420 * shlib-versions: Add libgcc_s version information.
21421 * sysdeps/generic/libgcc_s.h: Remove.
21422 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21423 libgcc_s.h.
21424 * sysdeps/gnu/unwind-resume.c: Likewise.
21425 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21426
aab39a09
DM
214272012-04-25 David S. Miller <davem@davemloft.net>
21428
21429 * sysdeps/unix/sparc/brk.S: Delete.
21430 * sysdeps/unix/sparc/dl-brk.S: Delete.
21431 * sysdeps/unix/sparc/pipe.S: Delete.
21432 * sysdeps/unix/sparc/sysdep.S: Delete.
21433 * sysdeps/unix/sparc/sysdep.h: Delete.
21434 * sysdeps/unix/sparc/vfork.S: Delete.
21435 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21436 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21438 ret_ERRVAL, r0, r1, MOVE): Define.
21439 (JUMPTARGET): Remove.
21440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21441 sysdeps/unix/sparc/sysdep.h
21442 (ENTRY, END): Remove.
21443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21444
a3cc4f48
JM
214452012-04-25 Joseph Myers <joseph@codesourcery.com>
21446
2ed8cda2
JM
21447 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21448 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21449 -DIS_IN_build.
21450
35d76d59
JM
21451 * timezone/README: Update upstream location and email address for
21452 tzcode and tzdata.
21453 * timezone/zdump.c: Update from tzcode 2012b.
21454 * timezone/zic.c: Likewise.
21455
a3cc4f48
JM
21456 * configure.in (libc_cv_as_needed): Remove test.
21457 * configure: Regenerated.
21458 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21459 conditional definition.
21460 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21461 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21462 * config.make.in (have-as-needed): Remove variable.
21463
ceab42c3
SP
214642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 Paul Pluzhnikov <ppluzhnikov@google.com>
21466
21467 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21468 strings correctly.
21469
3ce2865f
CLT
214702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21471
21472 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21473 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21474 * sysdeps/sh/strlen.S: Likewise.
21475
f37e0d68
JM
214762012-04-24 Joseph Myers <joseph@codesourcery.com>
21477
ae186e9a
JM
21478 * sysdeps/unix/fork.S: Remove file.
21479 * sysdeps/unix/i386/fork.S: Likewise.
21480 * sysdeps/unix/sparc/fork.S: Likewise.
21481
b96914af
JM
21482 * sysdeps/unix/system.c: Remove file.
21483 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21484
f37e0d68
JM
21485 * sysdeps/unix/getegid.S: Remove file.
21486 * sysdeps/unix/geteuid.S: Likewise.
21487
87ef29ca
RM
214882012-04-24 Roland McGrath <roland@hack.frob.com>
21489
83bcd236
RM
21490 * scripts/check-localplt.awk: New file.
21491 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21492 of diff.
21493 * scripts/data/localplt-generic.data: Add a comment.
21494
87ef29ca
RM
21495 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21496 NODE when __dir_mkfile failed.
21497 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21498 Reported by Ludovic Courtès <ludo@gnu.org>.
21499
e5a6e567
AJ
215002012-04-24 Andreas Jaeger <aj@suse.de>
21501
21502 * Makerules (common-clean): Also remove gen-as-const-headers
21503 files.
21504
c1820385
JM
215052012-04-24 Joseph Myers <joseph@codesourcery.com>
21506
21507 * Makerules (native-compile): Do not change working directory for
21508 build. Use $(OUTPUT_OPTION) in command.
21509 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21510
94e02fc4
AZ
215112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21512
21513 [BZ #13886]
21514 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21515 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21516 * math/libm-test.inc (floor_test): Add more tests.
21517 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21518
3a533ca3
JM
215192012-04-24 Joseph Myers <joseph@codesourcery.com>
21520
940ab4b3
JM
21521 * sysdeps/unix/getdents.c: Remove file.
21522 * sysdeps/unix/sysv/getdents.c: Likewise.
21523 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21524
90e037bd
JM
21525 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21526 sysdeps/unix/mman/syscalls.list.
21527 (mmap): Likewise.
21528 (mprotect): Likewise.
21529 (msync): Likewise.
21530 (munmap): Likewise.
21531 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21532 * sysdeps/unix/mman/syscalls.list: Remove.
21533 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21534
3a533ca3
JM
21535 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21536 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21537 * configure: Regenerated.
21538 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21539 $(libgcc_s_suffix).
21540 * config.make.in (libgcc_s_suffix): Remove variable.
21541
1ad743de
JM
215422012-04-23 Joseph Myers <joseph@codesourcery.com>
21543
4ad451e2
JM
21544 * sysdeps/unix/sysv/gethostname.c: Move to ...
21545 * sysdeps/posix/gethostname.c: ... here.
21546
5e37ce39
JM
21547 * sysdeps/unix/execve.S: Remove file.
21548
1ad743de
JM
21549 * sysdeps/unix/_exit.S: Remove file.
21550
4e681b5b
AJ
215512012-04-23 Andreas Jaeger <aj@suse.de>
21552
21553 [BZ #13739]
21554 * manual/Makefile: Remove make dist support, there's no
21555 need for a stand-alone documentation tar ball.
21556 (TEXI2DVI): Define always, it's not in Makeconfig.
21557 (dist): Removed.
21558 (tar-it): Removed.
21559 (edition): Removed.
21560 (glibc-doc-$(edition).tar): Removed
21561 (%.Z): Removed.
21562 (%.gz): Removed.
21563 (%.uu): Removed.
21564 (ETAGS): Remove, it's in Makeconfig.
21565 (move-if-change): Remove, it's in Makeconfig.
21566
38686a03 215672012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21568
21569 [BZ #13970]
21570 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21571 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21572 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21573 (strtod_l, strtof_l, strtold_l): Remove __wur.
21574 It is not necessarily an error to ignore strtol's return value.
21575 One can reliably look at the stored endptr to decide whether
21576 the number had valid syntax.
21577
7c0616fa
AJ
215782012-04-21 Andreas Jaeger <aj@suse.de>
21579
803cb6b7 21580 [BZ #13739]
7c0616fa
AJ
21581 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21582
b0fe253f
JM
215832012-04-21 Joseph Myers <joseph@codesourcery.com>
21584
21585 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21586 * sysdeps/unix/sysv/Versions: Remove file.
21587
8280f22d
MT
215882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21589
21590 [BZ #13927]
21591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21592
75ce411f 215932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21594
21595 [BZ #7064]
21596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21597 version from __vm86.
21598
097d59fa
JM
215992012-04-20 Joseph Myers <joseph@codesourcery.com>
21600
a90f3bcb
JM
21601 * sysdeps/unix/common/lxstat.c: Remove file.
21602 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21603
edc7ea78
JM
21604 * sysdeps/unix/sysv/Makefile: Remove file.
21605
cb78c221
JM
21606 * sysdeps/unix/sysv/direct.h: Remove file.
21607
efa6a45f
JM
21608 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21609 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21610 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21611 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21612 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21613 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21614 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21615
9c9f2d0c
JM
21616 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21617
4541c83b
JM
21618 * sysdeps/unix/xmknod.c: Remove file.
21619 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21620
f5d153a0
JM
21621 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21622
aa746595
JM
21623 * sysdeps/unix/sysv/i386/time.S: Remove file.
21624
cce5905e
JM
21625 * sysdeps/unix/fxstat.c: Remove file.
21626 * sysdeps/unix/xstat.c: Likewise.
21627 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21628
37fa3841
JM
21629 * sysdeps/unix/sysv/sigaction.c: Remove file.
21630
ff1962a3
JM
21631 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21632 (sysdep_headers): Remove variable.
21633 [termio.h not in sysdep_headers] (generated): Likewise.
21634 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21635 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21636 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21637 * sysdeps/unix/sysv/tcflow.c: Likewise.
21638 * sysdeps/unix/sysv/tcflush.c: Likewise.
21639 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21640 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21641 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21642 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21643 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21644
e7740d31
JM
21645 * sysdeps/unix/siglist.c: Remove file.
21646
ee06f18b
JM
21647 * sysdeps/unix/getppid.S: Remove file.
21648
097d59fa
JM
21649 * sysdeps/unix/mkdir.c: Remove file.
21650 * sysdeps/unix/rmdir.c: Likewise.
21651
ff3d51ec
AS
216522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21653
21654 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21655 ERR_MAX value.
21656 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21657 errlist-compat value.
21658
50f81fd7
DM
216592012-04-18 David S. Miller <davem@davemloft.net>
21660
21661 * sysdeps/generic/memcopy.h (reg_char): Delete.
21662 * debug/strcat_chk.c: Use char, not reg_char.
21663 * debug/strcpy_chk.c: Likewise.
21664 * debug/strncat_chk.c: Likewise.
21665 * debug/strncpy_chk.c: Likewise.
21666 * string/memchr.c: Likewise.
21667 * string/memrchr.c: Likewise.
21668 * string/rawmemchr.c: Likewise.
21669 * string/strcat.c: Likewise.
21670 * string/strchr.c: Likewise.
21671 * string/strchrnul.c: Likewise.
21672 * string/strcmp.c: Likewise.
21673 * string/strcpy.c: Likewise.
21674 * string/strncat.c: Likewise.
21675 * string/strncmp.c: Likewise.
21676 * string/strncpy.c: Likewise.
21677
8ff41c46
WS
216782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21679
21680 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21681 __builtin_memcopy is called when src and dest ranges are known to not
21682 overlap.
21683
6b652f46
WS
216842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21685
21686 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21687 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21688 fwd_align_merge macro call.
21689 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21690 bwd_align_merge macro call.
21691 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21692
b282631e
WS
216932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21694
21695 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21696 bwd_align_merge macros.
21697 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21698 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21699 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21700
95aa737c
DM
217012012-04-18 David S. Miller <davem@davemloft.net>
21702
21703 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21704
7a99a614
AJ
217052012-04-18 Andreas Jaeger <aj@suse.de>
21706
21707 [BZ# 6794]
21708 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21709 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21710 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21711
21712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21713 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21714 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21715
21716 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21717 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21718 Adjust for changed ldbl-128 files.
21719
21720 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21721 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21722 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21723
e5270c23
DM
217242012-04-17 David S. Miller <davem@davemloft.net>
21725
21726 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21727
fb5e92c9
AS
217282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21729
21730 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21731 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21732 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21733 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21734 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21735 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21736
76da7265
AZ
217372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21738
21739 [BZ #6794]
21740 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21741 * math/libm-test.inc: Add ilogb errno and exception tests.
21742 * math/w_ilogb.c: New file: ilogb wrapper.
21743 * math/w_ilogbf.c: New file: ilogbf wrapper.
21744 * math/w_ilogbl.c: New file: ilogbl wrapper.
21745 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21746 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21747 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21748 exception being thrown with 0.0 as argument.
21749 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21750 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21751 exception being thrown with 0.0 as argument.
21752 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21753 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21754 exception being thrown with 0.0 as argument.
21755 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21756 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21757 exception being thrown with 0.0 as argument.
21758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21759 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21760 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21761 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21762 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21763 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21764 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21765 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21766 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21767
0396e69d
PB
217682012-04-17 Petr Baudis <pasky@ucw.cz>
21769
21770 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21771 with altivec.
21772
750b5926
MP
217732012-04-16 Marek Polacek <polacek@redhat.com>
21774
21775 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21776
751728a1
MP
217772012-04-16 Marek Polacek <polacek@redhat.com>
21778
21779 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21780 operands of fdivp instruction.
21781
34a27407
L
217822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21783
21784 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21785 * elf/tst-auditmod3b.c: Likewise.
21786 * elf/tst-auditmod4b.c: Likewise.
21787 * elf/tst-auditmod5b.c: Likewise.
21788 * elf/tst-auditmod6b.c: Likewise.
21789 * elf/tst-auditmod6c.c: Likewise.
21790 * elf/tst-auditmod7b.c: Likewise.
21791 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21792 * sysdeps/x86_64/preconfigure.in: Likewise.
21793 * sysdeps/x86_64/preconfigure: Regenerated.
21794
7e73e17d
L
217952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21796
21797 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21798 __ILP32__.
21799
c7a6ab72
AB
218002012-04-13 Antoine Balestrat <merkil33@gmail.com>
21801
21802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21803 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21804
a9e8e0e0
CL
218052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21806
21807 [BZ #13973]
21808 * locale/iso-639.def: Fix gl language name. Spotted by
21809 Yaron Shahrabani.
21810
ec98af7d
RM
218112012-04-12 Roland McGrath <roland@hack.frob.com>
21812
21813 [BZ #2074]
21814 * libio/libio.h (__io_write_fn): Update comment.
21815
247c3ede
PB
218162012-04-12 Petr Baudis <pasky@ucw.cz>
21817
21818 [BZ #2074]
21819 * stdio.texi (Hook Functions): The user provided writer function
21820 is not allowed to return -1.
21821
55939d6d
DM
218222012-04-11 David S. Miller <davem@davemloft.net>
21823
21824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21825
90020f5a
MF
218262012-04-11 Mike Frysinger <vapier@gentoo.org>
21827
21828 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21829 Add a leading slash to rtkaio.
21830
288f9098
JM
218312012-04-11 Jim Meyering <meyering@redhat.com>
21832
90020f5a
MF
21833 [BZ #11959]
21834 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21835 It is not necessarily an error to ignore fwrite's return
21836 value. One can reliably use ferror to test for errors after
21837 the fact.
288f9098 21838
4be2b570
L
218392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * bits/types.h (__snseconds_t): New type.
21842 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21843
21844 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21846 (__SNSECONDS_T_TYPE): Likewise.
21847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21848 (__SNSECONDS_T_TYPE): Likewise.
21849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21850 (__SNSECONDS_T_TYPE): Likewise.
21851
288f9098 218522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21853
21854 [BZ #2636]
21855 * manual/time.texi (Processor Time): Return type of times is
21856 elapsed real time since an arbitrary point in the past.
21857 (CPU Time): Move CLK_TCK from here...
21858 (Processor Time): ...to here. Correct description.
21859 * manual/conf.texi (Constants for Sysconf): Correct description of
21860 _SC_CLK_TCK.
21861
d7dd4413
DM
218622012-04-10 David S. Miller <davem@davemloft.net>
21863
21864 [BZ #13967]
21865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21866 where the is a gap between DT_REL(A) and DT_JMPREL.
21867
b46068fc
L
218682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21871 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21872 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21873
73d65cc3
SP
218742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21875
21876 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21877 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21878 (dl_main): Handle --inhibit-cache.
21879 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21880 _dl_inhibit_cache.
21881 * elf/dl-load.c (_dl_map_object): Use it.
21882 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21883
bcc8d661
JM
218842012-04-09 Joseph Myers <joseph@codesourcery.com>
21885
8f9a2fae
JM
21886 [BZ #13872]
21887 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21888 (__ieee754_powl): Saturate large exponents rather than testing for
21889 overflow of y*log2(x).
21890 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21891 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21892 exceptions.
21893
bcc8d661
JM
21894 [BZ #11521]
21895 * math/s_ctan.c: Include <float.h>.
21896 (__ctan): Avoid internal overflow or cancellation in calculating
21897 denominator.
21898 * math/s_ctanf.c: Likewise.
21899 * math/s_ctanl.c: Likewise.
21900 * math/s_ctanh.c: Likewise.
21901 * math/s_ctanhf.c: Likewise.
21902 * math/s_ctanhl.c: Likewise.
21903 * math/libm-test.inc (ctan_test): Add more tests.
21904 (ctanh_test): Likewise.
21905 * sysdeps/i386/fpu/libm-test-ulps: Update.
21906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21907
823fbbb4
AJ
219082012-04-09 Andreas Jaeger <aj@suse.de>
21909
03879793
AJ
21910 [BZ #6894]
21911 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21912 is an optional BSD extension.
21913
823fbbb4
AJ
21914 [BZ #10254]
21915 * manual/stdio.texi (Opening Streams): Document additional fopen
21916 parameters.
21917
8de131cb
RM
219182012-04-09 Roland McGrath <roland@hack.frob.com>
21919
21920 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21921 %eax without telling the compiler.
21922
c0ed9d7d
CD
219232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21924
21925 [BZ # 13963]
21926 * manual/install.texi: Use sourceware.org.
21927
c483f6b4
JM
219282012-04-09 Joseph Myers <joseph@codesourcery.com>
21929
d7dd9453
JM
21930 [BZ #13873]
21931 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21932 (__ieee754_pow): Generate overflow and underflow using huge*huge
21933 and tiny*tiny rather than just returning constant infinity or zero
21934 for large exponents.
21935 * math/libm-test.inc (pow_test): Require overflow exceptions for
21936 applicable cases of large exponents.
21937
c483f6b4
JM
21938 [BZ #706]
21939 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21940 (__ieee754_pow): Use iterative multiplication algorithm only for
21941 integer exponents with absolute value below 1024. Check for odd
21942 integer exponents when using algorithm for real exponents.
21943 * math/libm-test.inc (pow_test): Add more tests.
21944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21945
d2de7579
JM
219462012-04-08 Joseph Myers <joseph@codesourcery.com>
21947
21948 [BZ #13705]
21949 * math/libm-test.inc (exp_test): Do not allow overflow exception
21950 on underflow test.
21951
f77f1232
AJ
219522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21953
21954 [BZ #13705]
21955 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21956 instead of __kernel_standard_f.
21957
3884932b
MF
219582012-04-08 Mike Frysinger <vapier@gentoo.org>
21959
21960 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21961 * sysdeps/x86_64/memset_chk.S: Likewise.
21962
54472e9c
AJ
219632012-04-08 Andreas Jaeger <aj@suse.de>
21964
6ab0fbfc
AJ
21965 [BZ #10153]
21966 * manual/startup.texi (Environment Access): Describe return value
21967 for putenv and setenv.
21968
61efba8c
AJ
21969 [BZ #6895]
21970 * manual/filesys.texi (Directory Entries): Add description for
21971 DT_LNK.
21972
95c3f29a
AJ
21973 [BZ #6890]
21974 * manual/filesys.texi (Directory Entries): Clarify that it's file
21975 system not operating system in the description of DT_UNKNOWN.
21976
54472e9c
AJ
21977 [BZ #6578]
21978 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21979
624254b1
SC
219802012-04-08 Stephen Compall <s11@member.fsf.org>
21981
21982 [BZ #6649]
21983 * manual/llio.texi (Opening and Closing Files): Add cross
21984 reference to explain mode argument.
21985
1e4920e0
MF
219862012-04-07 Mike Frysinger <vapier@gentoo.org>
21987
21988 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21989 * sysdeps/x86_64/memset_chk.S: Likewise.
21990
5ed848f3
DM
219912012-04-07 David S. Miller <davem@davemloft.net>
21992
21993 * elf/elf.h (R_SPARC_WDISP10): Define.
21994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21995 R_SPARC_SIZE32.
21996 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21997 R_SPARC_SIZE64 and R_SPARC_H34.
21998
96154cd8
CD
219992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22000
22001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22002 conditions and remove no longer applicable assertion.
22003
9904dc47
L
220042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22005
22006 * bits/byteswap.h: Include <features.h>.
22007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22009
f8887d0a
L
220102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22011
22012 * bits/byteswap.h (__bswap_16): Removed.
22013 Include <bits/byteswap-16.h> to get __bswap_16.
22014 * sysdeps/i386/bits/byteswap.h: Likewise.
22015 * sysdeps/s390/bits/byteswap.h: Likewise.
22016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22017 * bits/byteswap-16.h: New file.
22018 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22019 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22020 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22021 * string/Makefile (headers): Add bits/byteswap-16.h.
22022
62470f60
PP
220232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22024
22025 [BZ #13895]
22026 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22027 extra indirection.
22028 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22029 * nss/tst-nss-static.c: New.
22030
4dad7bab
RM
220312012-04-06 Robert Millan <rmh@gnu.org>
22032
22033 [BZ #6486]
22034 * manual/llio.texi (File Position Primitive): lseek
22035 refers to WHENCE when it really means OFFSET.
22036
e9142a17
AJ
220372012-04-06 Andreas Jaeger <aj@suse.de>
22038
2c040eff
AJ
22039 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22040 strncmp declarations.
22041
e9142a17
AJ
22042 * abilist/libc.abilist: Add __poll and __ppoll.
22043
ff9f1c5f
DM
220442012-04-05 David S. Miller <davem@davemloft.net>
22045
dcd2ae90
DM
22046 * scripts/check-local-headers.sh: Accept a host triplet in the
22047 path matched by the exclude regexp.
22048
993eb054
DM
22049 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22050 definition.
22051 * sysdeps/powerpc/powerpc32/dl-machine.h
22052 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22053 * sysdeps/s390/s390-32/dl-machine.h
22054 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22055 * sysdeps/sparc/sparc32/dl-machine.h
22056 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22057 * sysdeps/sparc/sparc64/dl-machine.h
22058 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22059
ff9f1c5f
DM
22060 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22061 lazy binding.
48e2e132 22062 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22063 undefined symbol errors.
22064
48e2e132 22065 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22066 DT_NEEDED entries.
22067
e80d6f94
MM
220682012-04-05 Michael Matz <matz@suse.de>
22069
22070 [BZ #13592]
22071 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22072
349fa79f
AJ
220732012-04-05 Andreas Jaeger <aj@suse.de>
22074
22075 [BZ #13908]
22076 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22077 comment.
22078
f402708f
KK
220792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22080
22081 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22082 which ROUND is no valid rounding mode.
22083
2ecccfc9
KK
220842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22085
22086 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22087 read again.
22088 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22089
8a53f50f
KK
220902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22091
22092 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22093 an exception using FPU order intentionally.
22094
220952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22096
22097 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22098 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22099 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22100 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22101
d653abb7
SJ
221022012-04-05 Simon Josefsson <simon@josefsson.org>
22103
22104 [BZ #12340]
22105 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22106 EINVAL when BUFLEN is too smal.
22107
c3b1bf7d
TS
221082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22109
22110 [BZ #13553]
22111 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22112 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22113
b1aa60f3
AJ
221142012-04-03 Andreas Jaeger <aj@suse.de>
22115
c3b1bf7d 22116 [BZ #13938]
67f60a26
AJ
22117 * manual/setjmp.texi (System V contexts): Fix sentence.
22118
b1aa60f3
AJ
22119 [BZ #13926]
22120 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22121 New macro for this case.
22122 [!__GNUC__] (__bswap_64): New inline function for this case.
22123 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22124 * bits/byteswap.h: Likewise.
22125 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22126 ull, guard with __GLIBC_HAVE_LONG_LONG.
22127
22128 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22129 __GLIBC_HAVE_LONG_LONG.
22130
22131 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22132 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22133
39c59c35
TMQMF
221342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22135
22136 [BZ #13691]
22137 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22138 inptr and inend, rather than using last_ch.
22139
135ffda8
DM
221402012-04-02 David S. Miller <davem@davemloft.net>
22141
22142 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22143 * stdio-common/printf-parse.h (read_int): Change return type to
22144 'int', return -1 on INT_MAX overflow.
22145 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22146 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22147 overflows INT_MAX. Check for overflow of in-format-string precision
22148 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22149 SIZE_MAX not INT_MAX for integer overflow test.
22150 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22151 skip the construct in the format string but do not record anything.
22152 * stdio-common/bug22.c: Adjust to test both width/prevision
22153 INT_MAX overflow as well as total length INT_MAX overflow. Check
22154 explicitly for proper errno values.
22155
228c019e
TS
221562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22157
302cadd3
TS
22158 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22159 CHAR_MAX.
22160 * string/test-strcmp.c [! WIDE]: Likewise.
22161 * time/tst-mktime2.c: Likewise for INT_MAX.
22162 * string/test-string.h: #include <sys/param.h> for MIN.
22163
228c019e
TS
22164 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22165 * sysdeps/i386/init-first.c (init): Likewise.
22166 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22167 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22168 * sysdeps/sh/init-first.c (init): Likewise.
22169
cfa633f5
UD
221702012-04-01 Ulrich Drepper <drepper@gmail.com>
22171
22172 * po/ru.po: Update from translation team.
d1635ef8 22173 * po/vi.po: Likewise.
cfa633f5 22174
6cd0a5ea
SP
221752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22176
22177 * resolv/nss_dns/dns-host.c: Merge copyright years.
22178
4b43400f
LD
221792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22180
22181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22182 Optimize memcpy with prefetch if
22183 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22184 src, dst pointers have unequal 16 byte alignments.
22185
48c41d04
SP
221862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22187
22188 [BZ #13928]
22189 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22190 from a CNAME entry and return the minimum ttl for the query.
22191 (gaih_getanswer_slice): Likewise.
22192
b8dc394d
JL
221932012-03-30 Jeff Law <law@redhat.com>
22194
22195 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22196 due to long keys.
22197 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22198 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22199
2f5a5ed0
JL
22200 * resolv/nss_dns/dns-host.c: Update copyright year.
22201
1d39e359
UD
222022012-03-30 Ulrich Drepper <drepper@gmail.com>
22203
c030f70c 22204 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22205 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22206
1d39e359
UD
22207 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22208 comments for sendmmsg.
22209
222102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22211
22212 [BZ #13691]
22213 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22214 with only 1 character between 0x0041 and 0x01b0.
22215 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22216 * wcsmbs/tst-mbsnrtowcs.c: New file.
22217
20fde227
DM
222182012-03-29 David S. Miller <davem@davemloft.net>
22219
22220 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22221 small copies by hand.
22222
984a4237
JL
222232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22224
22225 [BZ #13761]
22226 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22227 _nss_compat_initgroups_dyn): Fall back to malloc/free
22228 for large group memberships.
22229
18c9d62b
DM
222302012-03-28 David S. Miller <davem@davemloft.net>
22231
88d85d4f
DM
22232 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22233 that branches into memcpy.
22234 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22235 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22236 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22237 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22239 bits.
22240 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22241 implementation too.
22242 * sysdeps/sparc/mempcpy.S: New file.
22243
e5aa83e1
DM
22244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22245 the IFUNC routine in the libc case.
22246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22247
88570753
DM
22248 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22249 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22250 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22251 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22252 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22253 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22254 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22255 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22256
249d7567
DM
22257 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22258 loop to 256 bytes instead of 64 bytes and fix test signedness.
22259
18c9d62b
DM
22260 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22261 * sysdeps/sparc/sparc32/Makefile: rather than here...
22262 * sysdeps/sparc/sparc64/Makefile: and here.
22263
05f3d1f6
UD
222642012-03-28 Ulrich Drepper <drepper@gmail.com>
22265
22266 * malloc/mallocbug.c: Avoid warnings about unused variables.
22267
86ae07a8
JL
222682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22269
22270 [BZ #13760]
22271 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22272 in the right place. Discard and retry query if response is
22273 larger than input buffer size.
22274
41bf21a1
JM
222752012-03-28 Joseph Myers <joseph@codesourcery.com>
22276
d6270972
JM
22277 [BZ #369]
22278 [BZ #2678]
22279 [BZ #3866]
22280 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22281 x for large integer exponent.
22282 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22283 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22284 sign of result as needed afterwards.
22285 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22286 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22287 result for underflowing pow the same as for overflow.
22288 (__kernel_standard_l): Handle powl overflow and underflow here
22289 rather than calling __kernel_standard.
22290 * math/libm-test.inc (pow_test): Add more tests.
22291
414fca03 22292 [BZ #3868]
41bf21a1
JM
22293 [BZ #13879]
22294 [BZ #13910]
22295 [BZ #13911]
22296 [BZ #13912]
22297 [BZ #13913]
22298 [BZ #13915]
22299 [BZ #13916]
22300 [BZ #13917]
22301 [BZ #13918]
22302 [BZ #13919]
22303 [BZ #13920]
22304 [BZ #13921]
22305 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22306 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22307 (__kernel_standard_l): New function.
22308 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22309 __kernel_standard.
22310 * math/w_acosl.c (__acosl): Likewise.
22311 * math/w_asinl.c (__asinl): Likewise.
22312 * math/w_atan2l.c (__atan2l): Likewise.
22313 * math/w_atanhl.c (__atanhl): Likewise.
22314 * math/w_coshl.c (__coshl): Likewise.
22315 * math/w_exp10l.c (__exp10l): Likewise.
22316 * math/w_exp2l.c (__exp2l): Likewise.
22317 * math/w_fmodl.c (__fmodl): Likewise.
22318 * math/w_hypotl.c (__hypotl): Likewise.
22319 * math/w_j0l.c (__j0l, __y0l): Likewise.
22320 * math/w_j1l.c (__j1l, __y1l): Likewise.
22321 * math/w_jnl.c (__jnl, __ynl): Likewise.
22322 * math/w_lgammal.c (__lgammal): Likewise.
22323 * math/w_log10l.c (__log10l): Likewise.
22324 * math/w_log2l.c (__log2l): Likewise.
22325 * math/w_logl.c (__logl): Likewise.
22326 * math/w_powl.c (__powl): Likewise.
22327 * math/w_remainderl.c (__remainderl): Likewise.
22328 * math/w_scalbl.c (sysv_scalbl): Likewise.
22329 * math/w_sinhl.c (__sinhl): Likewise.
22330 * math/w_sqrtl.c (__sqrtl): Likewise.
22331 * math/w_tgammal.c (__tgammal): Likewise.
22332 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22333 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22334 * math/libm-test.inc (acos_test): Add more tests.
22335 (acosh_test): Likewise.
22336 (asin_test): Likewise.
22337 (atanh_test): Likewise.
22338 (exp_test): Likewise.
22339 (exp10_test): Likewise.
22340 (exp2_test): Likewise.
22341 (expm1_test): Likewise.
22342 (lgamma_test): Likewise.
22343 (log_test): Likewise.
22344 (log10_test): Likewise.
22345 (log1p_test): Likewise.
22346 (log2_test): Likewise.
22347 (pow_test): Do not allow some spurious overflow exceptions.
22348 (sqrt_test): Add more tests.
22349 (tgamma_test): Likewise.
22350 (y0_test): Likewise.
22351 (y1_test): Likewise.
22352 (yn_test): Likewise.
22353
dd62fda6
AB
223542012-03-27 Anton Blanchard <anton@samba.org>
22355
22356 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22357 MAP_HUGETLB.
22358 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22361
1e3cdfda
AJ
223622012-03-27 David S. Miller <davem@davemloft.net>
22363
b855ab85
DM
22364 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22365
1e3cdfda
AJ
22366 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22367 have-as-vis3 check.
22368
223692012-03-27 Andreas Jaeger <aj@suse.de>
22370
22371 * sysdeps/x86_64/elf/configure.in: Moved to ...
22372 * sysdeps/x86_64/configure.in: ... here.
22373 * sysdeps/x86_64/elf/start.S: Moved to ...
22374 * sysdeps/x86_64/start.S: ... here.
22375 * sysdeps/x86_64/elf/configure: Delete.
22376
22377 * sysdeps/x86_64/configure.in: Merge contents from
22378 sysdeps/i386/configure.in (without i686 check).
22379
22380 * sysdeps/i386/elf/Versions: Merge into ...
22381 * sysdeps/i386/Versions: ... this.
22382 * sysdeps/i386/elf/Versions: Delete file.
22383 * sysdeps/i386/elf/start.S: Moved to ...
22384 * sysdeps/i386/start.S: ...here.
22385 * sysdeps/i386/elf/configure.in: Merge into...
22386 * sysdeps/i386/configure.in: ...here.
22387 * sysdeps/i386/elf/configure.in: Delete file.
22388 * sysdeps/i386/elf/configure: Delete file.
22389
22390 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22391 * debug/backtracesyms.c: ... here.
22392 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22393 * debug/backtracesymsfd.c: ... here.
22394 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22395 * sysdeps/generic/ifunc-sel.h: ... here.
22396
22397 * sysdeps/unix/i386/start.c: Delete file.
22398 * sysdeps/unix/sparc/start.c: Delete file.
22399 * sysdeps/unix/start.c: Delete file.
22400
22401 * sysdeps/sh/elf/configure.in: Moved to ...
22402 * sysdeps/sh/configure.in: ... here.
22403 * sysdeps/sh/elf/start.S: Moved to ...
22404 * sysdeps/sh/start.S: ... here.
22405 * sysdeps/sh/elf/configure: Delete file.
22406
22407 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22408 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22409 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22410 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22411 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22412 * sysdeps/powerpc/powerpc64/start.S: here.
22413 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22414 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22415 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22416 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22417 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22418
22419 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22420 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22421 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22422 * sysdeps/powerpc/powerpc32/start.S: ... here.
22423 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22424 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22425 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22426
22427 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22428 * sysdeps/powerpc/ifunc-sel.h: ... here.
22429 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22430 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22431
22432 * sysdeps/sparc/elf/configure.in: Moved to ...
22433 * sysdeps/sparc/configure.in: ... here.
22434 * sysdeps/sparc/elf/configure: Delete file.
22435 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22436 * sysdeps/sparc/sparc32/start.S: ... here.
22437 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22438 * sysdeps/sparc/sparc64/start.S: ... here.
22439 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22440 * sysdeps/sparc/sparc32/Makefile: ... this.
22441 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22442 * sysdeps/sparc/sparc64/Makefile: ... this.
22443
22444 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22445 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22446 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22447 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22448 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22449 * sysdeps/s390/s390-32/setjmp.S: ... here.
22450 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22451 * sysdeps/s390/s390-32/configure.in: ... here.
22452 * sysdeps/s390/s390-32/elf/configure: Delete file.
22453 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22454 * sysdeps/s390/s390-32/start.S: ... here.
22455
22456 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22457 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22458 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22459 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22460 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22461 * sysdeps/s390/s390-64/setjmp.S: ... here.
22462 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22463 * sysdeps/s390/s390-64/configure.in: ... here
22464 * sysdeps/s390/s390-64/elf/configure: Delete file.
22465 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22466 * sysdeps/s390/s390-64/start.S: ... here.
22467 * sysdeps/s390/s390-64/elf/configure: Delete.
22468
22469 * configure.in: Remove support for elf directories in sysdeps.
22470
22471 * configure: Regenerated.
22472 * sysdeps/i386/configure: Regenerated.
22473 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22474 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22475 * sysdeps/s390/s390-32/configure: Regenerated.
22476 * sysdeps/s390/s390-64/configure: Regenerated.
22477 * sysdeps/sh/configure: Regenerated.
22478 * sysdeps/sparc/configure: Regenerated.
22479 * sysdeps/x86_64/configure: Regenerated.
22480
a3f61311
AS
224812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22482
c876e002
AS
22483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22484
a3f61311
AS
22485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22486 denormal result into account.
22487
ac4c54f0
RM
224882012-03-25 Roland McGrath <roland@hack.frob.com>
22489
22490 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22491 Reported by Allan McRae <allan@archlinux.org>.
22492
6a9b9c02
JL
224932012-03-23 Jeff Law <law@redhat.com>
22494
22495 * nss/getnssent.c (__nss_getent): Fix typo.
22496
4c42a0c1
DM
224972012-03-23 David S. Miller <davem@davemloft.net>
22498
22499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22500
1532c7ac
L
225012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22504 to pad to uint64_t for each field.
22505 (dl_tls_index): Replace unsigned long with uint64_t.
22506
3ff42526
PP
225072012-03-23 Daniel Jacobowitz <dmj@google.com>
22508 Paul Pluzhnikov <ppluzhnikov@google.com>
22509
22510 [BZ #6528]
22511 * grp/Makefile (otherlibs): Don't set it.
22512 * inet/Makefile (otherlibs): Likewise.
22513 * login/Makefile (otherlibs): Likewise.
22514 * nscd/Makefile (otherlibs): Likewise.
22515 * posix/Makefile (otherlibs): Likewise.
22516 * pwd/Makefile (otherlibs): Likewise.
22517 * rt/Makefile (otherlibs): Likewise.
22518 * sunrpc/Makefile (otherlibs): Likewise.
22519 * nss/Makefile (otherlibs): Likewise.
22520 Add libnss_files to routines and static-only-routines.
22521 ($(objpfx)getent): Remove rule.
22522 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22523 static-only-routines.
22524
7c69cd14
JM
225252012-03-22 Joseph Myers <joseph@codesourcery.com>
22526
22527 [BZ #13892]
22528 * math/s_cexp.c: Include <float.h>.
22529 (__cexp): Handle exp result overflowing not necessarily
22530 overflowing both real and imaginary parts of result.
22531 * math/s_cexpf.c: Likewise.
22532 * math/s_cexpl.c: Likewise.
22533 * math/libm-test.inc (cexp_test): Add more tests.
22534 * sysdeps/i386/fpu/libm-test-ulps: Update.
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22536
81b035fe
L
225372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * include/link.h (ELFW): New macro.
22540 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22541 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22542
1da7940c
L
225432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22546 with uint64_t.
22547
b749dbb9
L
225482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22551 declaration.
22552 (struct La_x32_retval): Likewise.
22553
2ff87f3f
L
225542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 * sysdeps/x86_64/preconfigure.in: New file.
22557 * sysdeps/x86_64/preconfigure: New generated file.
22558
c0df8e69
JM
225592012-03-22 Joseph Myers <joseph@codesourcery.com>
22560
48e44791
JM
22561 [BZ #13824]
22562 * math/e_exp2l.c: Include <float.h>.
22563 (__ieee754_exp2l): Handle overflow and underflow cases
22564 separately. Only pass fractional part of argument to
22565 __ieee754_expl.
22566 * math/libm-test.inc (exp2_test): Add more tests.
22567
c0df8e69
JM
22568 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22569 negating x to take absolute value.
22570 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22571 Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22573 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22574 Likewise.
22575 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22576 computing low part if x was negated.
22577 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22578
c8e43ba7
L
225792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22580
22581 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22582 la_x32_gnu_pltexit.
22583 (pltexit): Cast int_retval to ptrdiff_t.
22584 * elf/tst-auditmod3b.c: Likewise.
22585 * elf/tst-auditmod4b.c: Likewise.
22586 * elf/tst-auditmod5b.c: Likewise.
22587 * elf/tst-auditmod6b.c: Likewise.
22588 * elf/tst-auditmod6c.c: Likewise.
22589 * elf/tst-auditmod7b.c: Likewise.
22590
22591 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22592 and x32_gnu_pltexit.
22593
22594 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22595 __ELF_NATIVE_CLASS.
22596 (La_x32_regs): New macro.
22597 (La_x32_retval): Likewise.
22598 (la_x32_gnu_pltenter): New function prototype.
22599 (la_x32_gnu_pltexit): Likewise.
22600
7998fa78
AS
226012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22602
dcb33988
AS
22603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22604 exponent.
22605
233fc563
AS
22606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22607
7998fa78
AS
22608 * configure.in (libc_cv_cc_nofma): Check for option to disable
22609 generation of FMA instructions.
22610 * configure: Regenerate.
22611 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22612 * sysdeps/ieee754/dbl-64/Makefile: New file.
22613 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22614 Remove brandred-fma4.
22615 (CFLAGS-brandred-fma4.c): Remove.
22616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22618 define.
22619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22620 define.
22621
8e95c99a
L
226222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22625 LLONG_MAX != LONG_MAX.
22626 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22627 (_fitoa_word): Likewise.
22628 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22629 LLONG_MAX != LONG_MAX.
22630 * stdio-common/_itowa.h: Include <_itoa.h>.
22631 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22632 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22633 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22634 only if not defined.
22635 (_ITOA_WORD_TYPE): Likewise.
22636 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22637 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22638
6f4db457
DM
226392012-03-21 David S. Miller <davem@davemloft.net>
22640
22641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22642
7785fe5a
L
226432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22644
22645 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22646 of x86_64 when setting libc_cv_slibdir, libdir and
22647 libc_cv_localedir.
22648 * sysdeps/unix/sysv/linux/configure: Regenerated.
22649
4535cd55
JM
226502012-03-21 Joseph Myers <joseph@codesourcery.com>
22651
22652 * manual/lang.texi (Old Varargs): Remove section.
22653 (How Variadic): Update menu.
22654 (va_start): Do not mention varargs.h.
22655
17228132
TS
226562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22657 Joseph Myers <joseph@codesourcery.com>
22658
22659 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22660 link test.
22661 * configure: Regenerated.
22662
8149f976
TS
226632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22664
05f3d1f6
UD
22665 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22666 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22667 conformtest.pl
8149f976 22668
1a4ac776
JM
226692012-03-21 Joseph Myers <joseph@codesourcery.com>
22670
be22ce65
JM
22671 * NOTES: Remove.
22672 * Makefile (files-for-dist): Remove NOTES.
22673 (NOTES): Remove rule.
22674 * README: Don't refer to NOTES.
22675 * manual/creature.texi: Don't include macros.texi.
22676 * manual/intro.texi (creature.texi): Remove comment referring to
22677 NOTES.
22678
40b601fb
JM
22679 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22680 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22681 * configure: Regenerated.
22682 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22683 LIBC_TRY_CC_OPTION.
22684 (libc_cv_as_i686): Likewise.
22685 (libc_cv_cc_avx): Likewise.
22686 (libc_cv_cc_sse2avx): Likewise.
22687 (libc_cv_cc_fma4): Likewise.
22688 (libc_cv_cc_novzeroupper): Likewise.
22689 * sysdeps/i386/configure: Regenerated.
22690
1a4ac776
JM
22691 [BZ #13883]
22692 * sysdeps/i386/fpu/s_cexp.S: Remove.
22693 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22694 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22695 * math/libm-test.inc (cexp_test): Add more tests.
22696 * sysdeps/i386/fpu/libm-test-ulps: Update.
22697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698
a458e7fe
AM
226992012-03-21 Allan McRae <allan@archlinux.org>
22700
22701 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22702
0cb7efc5
JM
227032012-03-21 Joseph Myers <joseph@codesourcery.com>
22704
22705 [BZ #13871]
22706 * math/w_exp2.c: Do not include <float.h>.
22707 (o_threshold, u_threshold): Remove.
22708 (__exp2): Calculate result before checking finiteness and calling
22709 __kernel_standard.
22710 * math/w_exp2f.c: Likewise.
22711 * math/w_exp2l.c: Likewise.
22712 * math/libm-test.inc (exp2_test): Require overflow exception for
22713 1e6 input.
2460d3aa
JM
22714
22715 [BZ #3866]
22716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22717 range of signed 64-bit integers before using fistpll. Remove
22718 checks for whether integers fit in mantissa bits.
22719 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22720 the range of signed 32-bit integers before using fistpl. Remove
22721 checks for whether integers fit in mantissa bits.
22722 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22723 (__ieee754_powl): Test for y outside the range of signed 64-bit
22724 integers before using fistpll. Reduce 64-bit values to 63-bit
22725 ones as needed.
22726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22727 divide-by-zero is raised for zero to large negative powers.
22728 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22729 (__ieee754_powl): Test for y outside the range of signed 64-bit
22730 integers before using fistpll. Reduce 64-bit values to 63-bit
22731 ones as needed.
22732 * math/libm-test.inc (pow_test): Add more tests.
22733
eb96ffb0
L
227342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22735
22736 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22737 <stdio-common/_itoa.h>.
22738 * debug/segfault.c: Likewise.
22739 * elf/dl-cache.c: Likewise.
22740 * elf/dl-minimal.c: Likewise.
22741 * elf/dl-misc.c: Likewise.
22742 * elf/dl-sysdep.c: Likewise.
22743 * elf/dl-version.c: Likewise.
22744 * elf/rtld.c: Likewise.
22745 * hurd/hurdsock.c: Likewise.
22746 * hurd/lookup-retry.c: Likewise.
22747 * malloc/malloc.c: Likewise.
22748 * malloc/mtrace.c: Likewise.
22749 * nscd/nscd_getgr_r.c: Likewise.
22750 * nscd/nscd_getpw_r.c: Likewise.
22751 * nscd/nscd_getserv_r.c: Likewise.
22752 * posix/getopt_init.c: Likewise.
22753 * posix/wordexp.c: Likewise.
22754 * stdio-common/_itoa.c: Likewise.
22755 * stdio-common/printf_fphex.c: Likewise.
22756 * stdio-common/vfprintf.c: Likewise.
22757 * string/_strerror.c: Likewise.
22758 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22759 * sysdeps/i386/i686/hp-timing.h: Likewise.
22760 * sysdeps/mach/_strerror.c: Likewise.
22761 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22762 * sysdeps/mach/hurd/sethostid.c: Likewise.
22763 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22764 * sysdeps/mach/xpg-strerror.c: Likewise.
22765 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22767 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22768 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22769 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22770 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22771 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22772 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22773 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22774 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22775 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22776 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22777 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22778 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22779 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22780 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22781 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22782 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22783 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22784 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22785 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22786
22787 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22788
22789 * stdio-common/_itoa.h: Moved to ...
22790 * sysdeps/generic/_itoa.h: Here.
22791
22792 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22793
22794 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22795 instead of "_itoa.h" and "_itowa.h".
22796 * stdio-common/vfprintf.: Likewise.
22797
d1af992d
L
227982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22799
22800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22801 <bits/wordsize.h>.
22802 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22803 (__signbit): Likwise.
22804 (llrintf): Likwise.
22805 (llrint): Likwise.
22806
114883e0
L
228072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22808
22809 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22810 __WORDSIZE != 64.
22811
c135cc1b
JM
228122012-03-20 Joseph Myers <joseph@codesourcery.com>
22813
22814 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22815 OVERFLOW_EXCEPTION_OK.
22816 * math/libm-test.inc ("Philosophy"): Update comment about
22817 exception testing.
22818 (OVERFLOW_EXCEPTION): Define.
22819 (OVERFLOW_EXCEPTION_OK): Likewise.
22820 (INVALID_EXCEPTION_OK): Renumber.
22821 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22822 (IGNORE_ZERO_INF_SIGN): Likewise.
22823 (test_exceptions): Handle FE_OVERFLOW.
22824 (exp10_test): Expect overflow exceptions.
22825 (exp2_test): Likewise.
22826 (expm1_test): Likewise.
22827 (nextafter_test): Likewise.
22828 (pow_test): Likewise.
22829 (scalbn_test): Likewise.
22830 (scalbln_test): Likewise.
22831
95443d88
L
228322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22833
22834 * sysdeps/x86_64/bits/atomic.h
22835 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22836 64bit integer.
22837 (atomic_exchange_acq): Likewise.
22838 (__arch_exchange_and_add_body): Likewise.
22839 (__arch_add_body): Likewise.
22840 (atomic_add_negative): Likewise.
22841 (atomic_add_zero): Likewise.
22842
490df6c4
L
228432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22844
c2722551 22845 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22846 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22847
5e52b189
L
228482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22849
22850 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22851 Check __x86_64__ instead of __WORDSIZE.
22852
a9879d4c
L
228532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22856
5df98260
DM
228572012-03-19 David S. Miller <davem@davemloft.net>
22858
e1497744
DM
22859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22860
5df98260
DM
22861 * sysdeps/sparc/fpu/fenv_private.h: New file.
22862 * sysdeps/sparc/fpu/math_private.h: Use it.
22863 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22864 Remove.
22865 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22866 (libc_feholdexcept_setroundl): Remove.
22867 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22868 Remove.
22869 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22870 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22871
b4c35121
L
228722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22875 int64_t instead of long int.
22876 (INSERT_WORDS64): Likwise.
22877
56965fd7
L
228782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22879
22880 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22881 _Unwind_GetCFA return to _Unwind_Ptr first.
22882
83d1aec8
JM
228832012-03-19 Joseph Myers <joseph@codesourcery.com>
22884
1897ad44
JM
22885 [BZ #13629]
22886 * math/s_clog.c: Include <float.h>.
22887 (__clog): Scale large or subnormal inputs.
22888 * math/s_clogf.c: Likewise.
22889 * math/s_clogl.c: Likewise.
22890 * math/s_clog10.c: Include <float.h>.
22891 (M_LOG10_2): Define.
22892 (__clog10): Scale large or subnormal inputs.
22893 * math/s_clog10f.c: Likewise.
22894 * math/s_clog10l.c: Likewise.
22895 * math/libm-test.inc (clog_test): Add more tests.
22896 (clog10_test): Likewise.
22897 * sysdeps/i386/fpu/libm-test-ulps: Update.
22898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22899
7726d6a9
JM
22900 [BZ #11451]
22901 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22902 x and y.
22903 * math/libm-test.inc (atan2_test): Add another test.
22904
83d1aec8
JM
22905 * Makerules (common-objdir-compile): Remove.
22906 * sysdeps/unix/Makefile (config-generated): Do not add
22907 $(unix-generated) to variable.
22908 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22909 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22910 Remove rule.
22911 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22912 Likewise.
22913 [generic bits/local_lim.h] (before-compile): Do not append to
22914 variable.
22915 [generic bits/local_lim.h] (common-generated): Likewise.
22916 [generic sys/param.h] (before-compile): Do not append to variable.
22917 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22918 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22919 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22920 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22921 include.
22922 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22923 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22924 [generic sys/param.h] ($(addprefix
22925 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22926 [generic sys/param.h] (common-generated): Do not append to
22927 variable.
22928 [generic sys/param.h] (sysdep_headers): Likewise.
22929 [generic bits/errno.h] (before-compile): Do not append to
22930 variable.
22931 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22932 rule.
22933 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22934 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22935 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22936 [generic bits/errno.h] (common-generated): Do not append to
22937 variable.
22938 [generic bits/ioctls.h] (before-compile): Do not append to
22939 variable.
22940 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22941 rule.
22942 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22943 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22944 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22945 rule.
22946 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22947 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22948 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22949 [generic bits/ioctls.h] (common-generated): Do not append to
22950 variable.
22951 [generic sys/syscall.h] (syscall.h): Remove variable.
22952 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22953 rule.
22954 [generic sys/syscall.h] (before-compile): Do not append to
22955 variable.
22956 [generic sys/syscall.h] (common-generated): Likewise.
22957 * sysdeps/unix/errnos-tmpl.c: Remove file.
22958 * sysdeps/unix/errnos.awk: Likewise.
22959 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22960 * sysdeps/unix/ioctls.awk: Likewise.
22961 * sysdeps/unix/mk-local_lim.c: Likewise.
22962 * sysdeps/unix/snarf-ioctls: Likewise.
22963
4851a949
RH
229642012-03-19 Richard Henderson <rth@twiddle.net>
22965
bd37f2ee
RH
22966 * sysdeps/i386/fpu/fenv_private.h: New file.
22967 * sysdeps/i386/fpu/math_private.h: Use it.
22968 (math_opt_barrier, math_force_eval): Remove.
22969 (libc_feholdexcept_setround_53bit): Remove.
22970 (libc_feupdateenv_53bit): Remove.
22971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22972 (math_opt_barrier, math_force_eval): Remove.
22973 (libc_feholdexcept): Remove.
22974 (libc_feholdexcept_setround): Remove.
22975 (libc_fetestexcept, libc_fesetenv): Remove.
22976 (libc_feupdateenv_test): Remove.
22977 (libc_feupdateenv, libc_feholdsetround): Remove.
22978 (libc_feresetround): Remove.
22979
d0adc922
RH
22980 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22981 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22982
0fe0f1f8
RH
22983 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22984 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22985 (libc_feupdateenv_testl): New.
22986 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22987 (libc_feupdateenv_testf): New.
22988 (libc_feupdateenv): Use libc_feupdateenv_test.
22989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22990 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22991
eb92c487
RH
22992 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22993 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22994 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22995 (libc_feresetround_noex): New.
22996 (libc_feresetround_noexf): New.
22997 (libc_feresetround_noexl): New.
22998 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22999 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23000 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23001 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23002 SET_RESTORE_ROUND.
23003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23005 (__cos): Likewise.
23006 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23007 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23008 SET_RESTORE_ROUND_NOEX.
23009 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23010 SET_RESTORE_ROUND_NOEXF.
23011 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23012 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23013 (libc_feholdsetroundf): New.
23014 (libc_feresetround, libc_feresetroundf): New.
23015
7d2e8012
RH
23016 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23017 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23018 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23019
b4dabbb4
RH
23020 * sysdeps/generic/math_private.h: Include <fenv.h>.
23021 (default_libc_feholdexcept): New.
23022 (default_libc_feholdexcept_setround): New.
23023 (default_libc_fesetenv, default_libc_feupdateenv): New.
23024 (libc_feholdexcept): Only define if undefined.
23025 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23026 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23027 (libc_feholdexcept_setroundl): Likewise.
23028 (libc_feholdexcept_setround_53bit): Likewise.
23029 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23030 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23031 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23032 (libc_feupdateenv_53bit): Likewise.
23033 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23034 (libc_feholdexcept): Convert from macro to inline function.
23035 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23036 (libc_fesetenv, libc_feupdateenv): Likewise.
23037
4851a949
RH
23038 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23039 not previously defined.
23040 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23041 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23042 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23044 * sysdeps/ieee754/flt-32/math_private.h: New file.
23045 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23046 math_private.h below SET_FLOAT_WORD.
23047 (__isnan, __isinf_ns, __finite): Remove.
23048 (__isnanf, __isinf_nsf, __finitef): Remove.
23049
e79d442e
AS
230502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23051
23052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23053
90b80344
DM
230542012-03-17 David S. Miller <davem@davemloft.net>
23055
23056 [BZ #6471]
23057 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23058 for 2.16.
23059
edc21804
DM
230602012-03-16 David S. Miller <davem@davemloft.net>
23061
77e927af
DM
23062 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23063 warnings.
23064
374976dd
DM
23065 [BZ #6471]
23066 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23067 properly.
23068 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23069 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23070 sysdep_routines when subdir is sysvipc.
23071 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23072 __getshmlba helper.
23073
edc21804
DM
23074 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23075
473c3ef3
L
230762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23077
23078 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23079 [__LP64__].
23080
eb0f39b6
L
230812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23084 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23085 (__lround): Renamed to ...
23086 (__llround): This. Replace long int with long long int.
23087 Define lround functions as aliases of llround functions.
23088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23089
6b6cd74b
L
230902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23091
23092 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23093 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23094 adresses to uintptr_t. Replace "long int" and "unsigned long
23095 int" with "greg_t" on va_arg.
23096
f1a77b01
L
230972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23100 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23101
23102 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23103 Move e_machine check before EI_CLASS check. Handle x32
23104 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23105 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23106 SKIP_EM_IA_64 and include
23107 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23108
23109 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23110 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23111 (add_system_dir): New macro.
23112
23113 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23114 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23115
11b90b9f
JM
231162012-03-16 Joseph Myers <joseph@codesourcery.com>
23117
c36e1d23
JM
23118 [BZ #2551]
23119 [BZ #2552]
23120 [BZ #2553]
23121 [BZ #2554]
23122 [BZ #2562]
23123 [BZ #2563]
23124 [BZ #2565]
23125 [BZ #2566]
23126 [BZ #2576]
23127 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23128 (y0): Likewise.
23129 * math/w_j0f.c (j0f): Likewise.
23130 (y0f): Likewise.
23131 * math/w_j0l.c (__j0l): Likewise.
23132 (__y0l): Likewise.
23133 * math/w_j1.c (j1): Likewise.
23134 (y1): Likewise.
23135 * math/w_j1f.c (j1f): Likewise.
23136 (y1f): Likewise.
23137 * math/w_j1l.c (__j1l): Likewise.
23138 (__y1l): Likewise.
23139 * math/w_jn.c (jn): Likewise.
23140 (yn): Likewise.
23141 * math/w_jnf.c (jnf): Likewise.
23142 (ynf): Likewise.
23143 * math/w_jnl.c (__jnl): Likewise.
23144 (__ynl): Likewise.
23145 * math/libm-test.inc (j0_test): Add more tests.
23146 (j1_test): Likewise.
23147 (jn_test): Likewise. Add trailing semicolon to existing test.
23148 (y0_test): Likewise.
23149 (y1_test): Likewise.
23150 * sysdeps/i386/fpu/libm-test-ulps: Update.
23151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152
11b90b9f
JM
23153 [BZ #13851]
23154 [BZ #13854]
23155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23156 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23157 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23158 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23159 (__tanl): Set errno for infinite argument.
23160 * sysdeps/i386/fpu/mptan.c: Remove.
23161 * sysdeps/i386/fpu/s_tan.S: Likewise.
23162 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23163 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23164 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23165 * math/libm-test.inc (tan_test): Add more tests and enable more
23166 tests for double and long double.
23167 * sysdeps/i386/fpu/libm-test-ulps: Update.
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169
6a1bd2a1
JK
231702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23171
23172 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23173 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23174
10a803e0
RM
231752012-03-16 Roland McGrath <roland@hack.frob.com>
23176
23177 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23178 * configure.in: Use it for both main tree and add-ons.
23179 * configure: Regenerated.
23180
f196c7f7
L
231812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23184
8848d99d
JM
231852012-03-16 Joseph Myers <joseph@codesourcery.com>
23186
96cbe7f4
JM
23187 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23188 in comment.
23189
8848d99d
JM
23190 [BZ #13851]
23191 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23192 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23193 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23196 infinite argument.
23197 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23199 != 0 for prec == 2.
23200 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23201 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23202 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23203 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23204 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23205 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23206 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23207 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23208 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23209 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23210 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23211 * math/libm-test.inc (cos_test): Add more tests and enable more
23212 tests for long double.
23213 (sin_test): Likewise.
23214 (sincos_test): Likewise.
23215 * sysdeps/i386/fpu/libm-test-ulps: Update.
23216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217
dd7f4703
DM
232182012-03-16 David S. Miller <davem@davemloft.net>
23219
23220 * sysdeps/sparc/fpu/math_private.h: New file.
23221
006f1daa
DM
232222012-03-15 David S. Miller <davem@davemloft.net>
23223
c0c83bc8
DM
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23225 file.
e6a62e18 23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23228 file.
e6a62e18
DM
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23235 sysdep routines.
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23237
88cb87d9
DM
23238 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23239 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23240
006f1daa 23241 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23243 sparc-ifunc.h
006f1daa 23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23246 Likewise.
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23248 Likewise.
006f1daa
DM
23249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23253 Likewise.
006f1daa
DM
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23259 Likewise.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23261 Likewise.
006f1daa
DM
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23286
11e0098e
AS
232872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23288
23289 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23290 scaling.
23291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23292
e85b09d0
AJ
232932012-03-15 Andreas Jaeger <aj@suse.de>
23294
23295 [BZ #13852]
23296 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23297 ieee754/flt-32 implementation for sin, cos and sincos.
23298 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23299 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23300 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23301 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23302 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23303 ieee754/flt-32 implementation for tan.
23304
23305 * math/libm-test.inc (cos_test): Enable some large input tests for
23306 float as well
23307 (sin_test): Likewise.
23308 (sincos_test): Likewise.
23309 (tan_test): Add tests for large input.
23310
23311 * sysdeps/i386/fpu/libm-test-ulps: Update.
23312
81c64153
AJ
233132012-03-15 Andreas Jaeger <aj@suse.de>
23314
23315 [BZ #13658]
23316 * math/libm-test.inc (cos_test): Add more test cases.
23317 (sin_test): Likewise.
23318 (sincos_test): Likewise.
23319
7bbfa5c6
AJ
233202012-03-15 Andreas Jaeger <aj@suse.de>
23321
23322 [BZ #13837]
23323 * math/libm-test.inc (cos_test): Add a test case for large input
23324 value.
23325 (sin_test): Likewise.
23326 (sincos_test): Likewise.
23327
233282012-03-15 Andreas Jaeger <aj@suse.de>,
23329 Joseph Myers <joseph@codesourcery.com>
23330
23331 [BZ #13658]
0671f479 23332 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23333 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23334 * sysdeps/i386/fpu/branred.c: Likewise.
23335 * sysdeps/i386/fpu/dosincos.c: Likewise.
23336 * sysdeps/i386/fpu/mpa.c: Likewise.
23337 * sysdeps/i386/fpu/s_cos.S: Likewise.
23338 * sysdeps/i386/fpu/s_sin.S: Likewise.
23339 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23340 * sysdeps/i386/fpu/sincos32.c: Likewise.
23341
23342 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23343 Define.
23344 (libc_feupdateenv_53bit): Define.
23345 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23346 Define.
23347 (libc_feupdateenv_53bit): Define.
23348
23349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23350 53 bit (without extend i386 double precision).
23351
23352 * math/libm-test.inc (sincos_test): Add tests for large input.
23353 (sin): Likewise.
23354 (cos): Likewise.
23355
23356 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23357
9cad04ea
AS
233582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23359
23360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23361
f7062b9a
DM
233622012-03-15 David S. Miller <davem@davemloft.net>
23363
23364 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23365 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23366 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23367 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23380 file.
f7062b9a 23381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23383 file.
f7062b9a 23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23386 file.
f7062b9a 23387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23389 file.
f7062b9a
DM
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23392 fmin/fmax sysdep routines.
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23394
7bd951ff
DM
233952012-03-14 David S. Miller <davem@davemloft.net>
23396
559398ab
DM
23397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23426 routines.
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23428 file.
559398ab 23429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23431 file.
559398ab 23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23434 file.
559398ab 23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23437 file.
559398ab 23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23440 file.
559398ab 23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23443 file.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23445 file.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23447 file.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23449 file.
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23451 New file.
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23453 file.
23454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23455 file.
559398ab 23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23458 file.
559398ab 23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23461 file.
559398ab 23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23464 file.
559398ab 23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23467 VIS3 routines.
559398ab
DM
23468
23469 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23470 New file.
23471
5a1c1e32
DM
23472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23473
eae47a36
DM
23474 * sysdeps/sparc/configure.in: New file.
23475 * sysdeps/sparc/configure: Generate.
23476 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23477 * configure: Regenerate.
23478 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23479 * config.make.in (have-as-vis3): New.
23480 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23481 available use -Av9d instead of -Av9a.
23482 * sysdeps/sparc/sparc64/Makefile: Likewise.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23485 New file.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23487 file.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23489 New file.
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23491 file.
eae47a36
DM
23492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23494 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23497
c0c83bc8
DM
23498 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23499 fzeros/fnegs to load 0x80000000 into a float register instead of
23500 using the stack.
7bd951ff
DM
23501 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23502
bd951ccb
JM
235032012-03-14 Joseph Myers <joseph@codesourcery.com>
23504
23505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23506 bits/syscall.h.
23507 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23508 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23509 ($(inst_includedir)/bits/syscall.h): Remove rule.
23510 ($(objpfx)bits/syscall.d): Include instead of
23511 $(objpfx)syscall-list.d.
23512 (generated): Change syscall-list.h and syscall-list.d to
23513 bits/syscall.h and bits/syscall.d.
23514
bb4e6db2
RM
235152012-03-14 Roland McGrath <roland@hack.frob.com>
23516
23517 [BZ #13846]
23518 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23519
aa4a2ae1
JM
235202012-03-14 Joseph Myers <joseph@codesourcery.com>
23521
e456826d
JM
23522 [BZ #13841]
23523 * math/s_csqrt.c: Include <float.h>.
23524 (__csqrt): Scale large or subnormal inputs.
23525 * math/s_csqrtf.c: Likewise.
23526 * math/s_csqrtl.c: Likewise.
23527 * math/libm-test.inc (csqrt_test): Add more tests.
23528 * sysdeps/i386/fpu/libm-test-ulps: Update.
23529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23530
aa4a2ae1
JM
23531 [BZ #13840]
23532 * math/libm-test.inc (hypot_test): Add more tests.
23533
7c10fd35
DM
235342012-03-13 David S. Miller <davem@davemloft.net>
23535
23536 [BZ #13840]
23537 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23538 double-precision for the calculation instead of scaling.
23539
f453b98b
JM
235402012-03-13 Joseph Myers <joseph@codesourcery.com>
23541
23542 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23543 manipulate bits before adding and subtracting TWO52[sx].
23544 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23545 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23546 Likewise.
23547 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23548
09a3453f
DM
235492012-03-13 David S. Miller <davem@davemloft.net>
23550
8e59da90
DM
23551 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23552 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23554 rtld-global-offsets.h
23555 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23556
2a8ab7f2
DM
23557 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23558 large parameters.
23559
10f62770
DM
23560 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23561
5f0bdb18
DM
23562 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23563 'err' in the ifdef scope in which it is actually used.
23564
09a3453f
DM
23565 * nss/nss_db/db-init.c: Include string.h
23566
b4b2eb5e
DM
235672012-03-12 David S. Miller <davem@davemloft.net>
23568
98bb2f1c
DM
23569 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23570 masking out of the most significant byte of random value used.
23571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23572 Fix coding style in previous change.
23573
b4b2eb5e
DM
23574 * sysdeps/unix/sysv/linux/kernel-features.h
23575 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23576 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23577 expression.
23578 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23579 later.
23580
6e226b09
DM
235812012-03-11 David S. Miller <davem@davemloft.net>
23582
a1bcbd40
DM
23583 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23584 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23586 for 'resultvar' otherwise things get truncated on 64-bit.
23587
cb9d6174
DM
23588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23589 Fix masking out of the most significant byte of random value used.
23590
6e226b09
DM
23591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23592
058c132d
AS
235932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23594
23595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23596
2d2cd515
DM
235972012-03-09 David S. Miller <davem@davemloft.net>
23598
23599 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23600 variables with appropriate CPP guards.
23601 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23602 frame pointer, not the stack pointer. Correct layout comments. Fix test
23603 on resulting framesize and the management of the outregs buffer for pltexit.
23604 Preserve floating point return values across _dl_call_pltexit call.
23605 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23606 framesize and the management of the outregs buffer for pltexit.
23607 Preserve floating point return values across _dl_call_pltexit
23608 call.
23609 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23610 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23611 (print_exit): Fix format string for return register value.
23612
9a07f9d0
JM
236132012-03-10 Joseph Myers <joseph@codesourcery.com>
23614
23615 * sunrpc/Makefile (others): Add rpcgen.
23616 ($(objpfx)rpcgen): Remove special build rule and dependency on
23617 libc.
23618 * sunrpc/rpcgen.c: New file.
23619
547b5e30
PE
236202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23621
c524201a
PE
23622 [BZ #13673]
23623 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23624 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23625 * sysdeps/i386/crti.S: Likewise.
23626 * sysdeps/i386/crtn.S: Likewise.
23627 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23628 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23629 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23630 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23631 * sysdeps/sh/crti.S: Likewise.
23632 * sysdeps/sh/crtn.S: Likewise.
23633 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23634
7b6235f2
PE
23635 [BZ #13673]
23636 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23637 with URL.
23638 * locale/programs/locfile-kw.gperf: Likewise.
23639 * locale/programs/charmap-kw.h: Regenerated.
23640 * locale/programs/locfile-kw.h: Likewise.
23641
547b5e30
PE
23642 [BZ #13673]
23643 * intl/plural.y: Replace FSF snail mail address with URL.
23644 * intl/plural.c: Regenerated.
23645
5f0a5dae
RH
236462012-03-09 Richard Henderson <rth@twiddle.net>
23647
23648 * include/math_private.h: Remove file.
23649 * math/math_private.h: Move file ...
23650 * sysdeps/generic/math_private.h: ... here.
23651
b8c03620
RH
23652 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23653 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23654 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23655
4e234f5d 23656 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23657 and <math_private.h>.
23658 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23659 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23660 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23661 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23662 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23663 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23664 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23665 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23666 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23685 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23746 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23747 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23748 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23749 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23750 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23751 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23752 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23753 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23754 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23757 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23758 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23759 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23760 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23761 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23763 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23764 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23765 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23766 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23767 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23768 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23769 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23770 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23771 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23772 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23777 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23778 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23779 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23784 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23786 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23787 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23788 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23794 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23797 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23799 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23800 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23801 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23802 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23803 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23804 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23805 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23806 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23807 * sysdeps/ieee754/k_standard.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23923 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23927 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23928 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23968 * sysdeps/ieee754/s_lib_version.c: Likewise.
23969 * sysdeps/ieee754/s_matherr.c: Likewise.
23970 * sysdeps/ieee754/s_signgam.c: Likewise.
23971 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23972 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23973 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23974 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23975 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23976 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23977 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23978 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23979 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23980 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23981 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23982 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23983 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23984 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23985 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23986 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23987 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23988 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23989 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23992
1991fa03
JM
239932012-03-09 Joseph Myers <joseph@codesourcery.com>
23994
23995 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23996 * sunrpc/rpc_main.c: Likewise.
23997 * sunrpc/rpc_svcout.c: Likewise.
23998
60d6f5a6
DM
239992012-03-09 David S. Miller <davem@davemloft.net>
24000
24001 * include/math_private.h: New file.
24002
4962050e
JM
240032012-03-09 Joseph Myers <joseph@codesourcery.com>
24004
02a6f887
JM
24005 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24006 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24007 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24008 from <bits/socket_type.h>.
24009 (enum __socket_type): Don't define here.
24010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24012 bits/socket_type.h.
24013
c6e013c1
JM
24014 [BZ #13566]
24015 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24016 checking __USE_GNU.
24017
4962050e
JM
24018 * Makerules ($(inst_includedir)/%.h): New rule.
24019 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24020 (install-others): Remove variable setting.
24021 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24022
38842f45
RH
240232012-03-08 Richard Henderson <rth@twiddle.net>
24024
67bb6da6
RH
24025 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24026 from macro to inline function; merge with the
24027 !__LIBC_INTERNAL_MATH_INLINES version.
24028 (__ieee754_sqrtf): Likewise.
24029
15194b4b
RH
24030 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24031 to inline function.
24032 (__rintf, __floor, __floorf): Likewise.
24033
64e21ede
RH
24034 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24035 macro to inline function.
24036 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24037
38842f45
RH
24038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24039 not <math/math_private.h>.
24040
c64bf5fe
DM
240412012-03-08 David S. Miller <davem@davemloft.net>
24042
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24044 copyright year.
24045 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24046
82d86f28
TS
240472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24048
24049 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24050 normalization.
24051 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24052 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24053
aea5d727
UD
240542012-03-08 Ulrich Drepper <drepper@gmail.com>
24055
24056 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24057 be defined individually, they must be defined as a block. Define
24058 S for printing a string instead of hidint the different by using a
24059 macro for adding the 'l'.
24060 * stdio-common/tst-fphex-wide.c: Adjust.
24061
70bca0a3
MP
240622012-03-07 Marek Polacek <polacek@redhat.com>
24063
24064 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24065
65b81130
MP
240662012-03-08 Marek Polacek <polacek@redhat.com>
24067
24068 [BZ #13806]
24069 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24070 * stdio-common/tst-fphex.c: Define a few macros to make the
24071 test reusable. Use them.
24072 * stdio-common/tst-fphex-wide.c: New file.
24073
07037eeb
JM
240742012-03-08 Joseph Myers <joseph@codesourcery.com>
24075
a7a93d50
JM
24076 [BZ #6911]
24077 * manual/macros.texi (gnusystems): New macro.
24078 (nongnusystems): Likewise.
24079 (gnulinuxhurdsystems): Likewise.
24080 (gnuhurdsystems): Likewise..
24081 (gnulinuxsystems): Likewise.
24082 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24083 variants of the GNU system, not "GNU system".
24084 * manual/conf.texi: Likewise.
24085 * manual/errno.texi: Likewise. Update example of errno macro
24086 expansion.
24087 * manual/filesys.texi: Likewise.
24088 (getumask): Document as specific to GNU/Hurd.
24089 * manual/install.texi: Likewise. Reword some references to
24090 GNU/Linux.
24091 * manual/intro.texi: Likewise.
24092 * manual/io.texi: Likewise.
24093 (File Name Portability): Detail which constraints are inapplicable
24094 to all GNU systems and which are only inapplicable to GNU/Hurd.
24095 * manual/job.texi: Likewise.
24096 * manual/llio.texi: Likewise.
24097 (O_NOCTTY): Document as present on GNU/Linux.
24098 * manual/maint.texi: Likewise.
24099 * manual/memory.texi: Likewise.
24100 * manual/pattern.texi: Likewise.
24101 * manual/pipe.texi: Likewise.
24102 * manual/process.texi: Likewise.
24103 * manual/resource.texi: Likewise.
24104 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24105 child on GNU/Hurd.
24106 * manual/setjmp.texi: Likewise.
24107 * manual/signal.texi: Likewise.
24108 * manual/startup.texi: Likewise.
24109 * manual/stdio.texi: Likewise.
24110 * manual/terminal.texi: Likewise.
24111 (ONLCR): Document as POSIX.
24112 (OXTABS): Document availability on GNU/Linux as XTABS.
24113 (ONOEOT): Document availability separately from other bits.
24114 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24115 * manual/time.texi: Likewise.
24116 * manual/users.texi: Likewise.
24117 * INSTALL: Regenerated.
24118 * sysdeps/gnu/errlist.c: Regenerated.
24119
07037eeb
JM
24120 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24121 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24122 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24123 puts.
24124 * configure: Regenerated.
24125
d1d3431a
JM
241262012-03-07 Joseph Myers <joseph@codesourcery.com>
24127
af6a1e37
JM
24128 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24129 default includes instead of AC_HEADER_CHECK.
24130 * sysdeps/i386/configure: Regenerated.
24131
d1d3431a
JM
24132 [BZ #10716]
24133 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24134 * math/s_cacoshf.c (__cacoshf): Likewise.
24135 * math/s_cacoshl.c (__cacoshl): Likewise.
24136 * math/s_casinh.c (__casinh): Set signs of result from argument.
24137 * math/s_casinhf.c (__casinhf): Likewise.
24138 * math/s_casinhl.c (__casinhl): Likewise.
24139 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24140 (casinh_test): Add more tests.
24141 * sysdeps/i386/fpu/libm-test-ulps: Update.
24142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24143
482ff4da
UD
241442012-03-07 Ulrich Drepper <drepper@gmail.com>
24145
872fda05
UD
24146 * po/zh_TW.po: Update from translation team.
24147
a4300c7a
UD
24148 * login/Makefile (distribute): Remove variable.
24149 * catgets/Makefile: Likewise.
24150 * mach/Makefile: Likewise.
24151 * malloc/Makefile: Likewise.
24152 * misc/Makefile: Likewise.
24153 * iconv/Makefile: Likewise.
24154 * nscd/Makefile: Likewise.
24155 * hurd/Makefile: Likewise.
24156 * manual/Makefile: Likewise.
24157 * locale/Makefile: Likewise.
24158 * intl/Makefile: Likewise.
24159 * conform/Makefile: Likewise.
24160 * nss/Makefile: Likewise.
24161 * time/Makefile: Likewise.
24162 * soft-fp/Makefile: Likewise.
24163 * dirent/Makefile: Likewise.
24164 * gmon/Makefile: Likewise.
24165 * po/Makefile: Likewise.
24166 * rt/Makefile: Likewise.
24167 * socket/Makefile: Likewise.
24168 * math/Makefile: Likewise.
24169 * signal/Makefile: Likewise.
24170 * debug/Makefile: Likewise.
24171 * elf/Makefile: Likewise.
24172 * timezone/Makefile: Likewise.
24173 * stdlib/Makefile: Likewise.
24174 * iconvdata/Makefile: Likewise.
24175 * sunrpc/Makefile: Likewise.
24176 * io/Makefile: Likewise.
24177 * argp/Makefile: Likewise.
24178 * inet/Makefile: Likewise.
24179 * hesiod/Makefile: Likewise.
24180 * grp/Makefile: Likewise.
24181 * csu/Makefile: Likewise.
24182 * wctype/Makefile: Likewise.
24183 * crypt/Makefile: Likewise.
24184 * libio/Makefile: Likewise.
24185 * string/Makefile: Likewise.
24186 * nis/Makefile: Likewise.
24187 * resolv/Makefile: Likewise.
24188 * stdio-common/Makefile: Likewise.
24189 * wcsmbs/Makefile: Likewise.
24190 * dlfcn/Makefile: Likewise.
24191 * posix/Makefile: Likewise.
24192
3b7c4e74 24193 [BZ #6959]
482ff4da
UD
24194 * timezone/Makefile: Don't install timezone files, just the programs
24195 and scripts.
24196
f72ed77d
UD
241972012-03-06 Ulrich Drepper <drepper@gmail.com>
24198
a000466f
UD
24199 * nss/databases.def: Add missing gshadow entry.
24200
f72ed77d
UD
24201 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24202
a53b7a4e
MP
242032012-03-06 Marek Polacek <polacek@redhat.com>
24204
24205 [BZ #13726]
24206 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24207 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24208 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24209 * stdio-common/tst-long-dbl-fphex.c: New file.
24210
e9258400
DM
242112012-03-06 David S. Miller <davem@davemloft.net>
24212
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24214 (set_obp_int): New function.
24215 (get_obp_int): New function.
24216 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24218 Avoid unused variable warnings on 'val' and use builtin_expect.
24219 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24220 __builtin_expect.
e9258400
DM
24221 (INLINE_CLONE_SYSCALL): Likewise.
24222
3bd2c723
DM
242232012-03-05 David S. Miller <davem@davemloft.net>
24224
24225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24226
bbb78d03
AS
242272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24228
884c5db4
AS
24229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24230
bbb78d03
AS
24231 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24232 only for |x| >= 40.
24233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24234
1c9f702a 242352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24236
24237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24238 Replace gettimeofday with __vdso_gettimeofday.
24239
7be16f82
RM
24240 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24241 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24242 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24243
24244 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24245 time with __vdso_time.
24246
ed58a00f
JM
242472012-03-05 Joseph Myers <joseph@codesourcery.com>
24248
24249 * manual/lang.texi (size_t): Note types to which size_t may be
24250 equivalent with the GNU C Library, but do not describe when
24251 differences between them are significant.
24252
30ee4ced
AJ
242532012-03-05 Andreas Jaeger <aj@suse.de>
24254
24255 * sysdeps/i386/fpu/libm-test-ulps: Update.
24256
b7cd39e8
JM
242572012-03-05 Joseph Myers <joseph@codesourcery.com>
24258
24259 [BZ #3976]
24260 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24261 (__ieee754_pow): Save and restore rounding mode and use
24262 round-to-nearest for main computations.
24263 * math/libm-test.inc (pow_test_tonearest): New function.
24264 (pow_test_towardzero): Likewise.
24265 (pow_test_downward): Likewise.
24266 (pow_test_upward): Likewise.
24267 (main): Call the new functions.
24268 * sysdeps/i386/fpu/libm-test-ulps: Update.
24269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24270
24271 [BZ #3976]
24272 * math/libm-test.inc (cosh_test_tonearest): New function.
24273 (cosh_test_towardzero): Likewise.
24274 (cosh_test_downward): Likewise.
24275 (cosh_test_upward): Likewise.
24276 (sinh_test_tonearest): Likewise.
24277 (sinh_test_towardzero): Likewise.
24278 (sinh_test_downward): Likewise.
24279 (sinh_test_upward): Likewise.
24280 (main): Call the new functions.
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24283
6c6a98c9
TV
242842012-03-05 Tom de Vries <tom@codesourcery.com>
24285
24286 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24287 default stack guard is set in last bytes.
24288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24289
21bb2d2e 242902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24291
21bb2d2e 24292 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24293
21bb2d2e
AJ
24294 [BZ #13656]
24295 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24296 possibly allocate from heap instead of stack.
24297 * stdio-common/bug-vfprintf-nargs.c: New file.
24298 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24299
c6922934
AS
243002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24301
24302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24303
bc957d53
MP
243042012-03-03 Marek Polacek <polacek@redhat.com>
24305
24306 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24307 * math/math_private.h: Likewise.
24308 * stdlib/tst-strtod.c: Likewise.
24309 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24310 * sysdeps/x86_64/bits/atomic.h: Likewise.
24311
6358490d
DM
243122012-03-02 David S. Miller <davem@davemloft.net>
24313
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24318 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24321 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24322
01ae168d
RM
243232012-03-02 Roland McGrath <roland@hack.frob.com>
24324
d9a17c07
RM
24325 [BZ #13792]
24326 * manual/examples/README: New file, says the example source files
24327 can be used under GPL>=2.
24328 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24329 line containing just "*/".
24330 * manual/examples/add.c: Add copyright header (GPL>=2).
24331 * manual/examples/argp-ex1.c: Likewise.
24332 * manual/examples/argp-ex2.c: Likewise.
24333 * manual/examples/argp-ex3.c: Likewise.
24334 * manual/examples/argp-ex4.c: Likewise.
24335 * manual/examples/atexit.c: Likewise.
24336 * manual/examples/db.c: Likewise.
24337 * manual/examples/dir.c: Likewise.
24338 * manual/examples/dir2.c: Likewise.
24339 * manual/examples/execinfo.c: Likewise.
24340 * manual/examples/filecli.c: Likewise.
24341 * manual/examples/filesrv.c: Likewise.
24342 * manual/examples/fmtmsgexpl.c: Likewise.
24343 * manual/examples/genpass.c: Likewise.
24344 * manual/examples/inetcli.c: Likewise.
24345 * manual/examples/inetsrv.c: Likewise.
24346 * manual/examples/isockad.c: Likewise.
24347 * manual/examples/longopt.c: Likewise.
24348 * manual/examples/memopen.c: Likewise.
24349 * manual/examples/memstrm.c: Likewise.
24350 * manual/examples/mkfsock.c: Likewise.
24351 * manual/examples/mkisock.c: Likewise.
24352 * manual/examples/mygetpass.c: Likewise.
24353 * manual/examples/pipe.c: Likewise.
24354 * manual/examples/popen.c: Likewise.
24355 * manual/examples/rprintf.c: Likewise.
24356 * manual/examples/search.c: Likewise.
24357 * manual/examples/select.c: Likewise.
24358 * manual/examples/setjmp.c: Likewise.
24359 * manual/examples/sigh1.c: Likewise.
24360 * manual/examples/sigusr.c: Likewise.
24361 * manual/examples/stpcpy.c: Likewise.
24362 * manual/examples/strdupa.c: Likewise.
24363 * manual/examples/strftim.c: Likewise.
24364 * manual/examples/strncat.c: Likewise.
24365 * manual/examples/subopt.c: Likewise.
24366 * manual/examples/swapcontext.c: Likewise.
24367 * manual/examples/termios.c: Likewise.
24368 * manual/examples/testopt.c: Likewise.
24369 * manual/examples/testpass.c: Likewise.
24370 * manual/examples/timeval_subtract.c: Likewise.
24371
01ae168d
RM
24372 [BZ #13792]
24373 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24374 function to ...
24375 * manual/timeval_subtract.c.texi: ... here, new file.
24376
49efa33d
DM
243772012-03-02 David S. Miller <davem@davemloft.net>
24378
24379 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24380
28afd92d
JM
243812012-03-02 Joseph Myers <joseph@codesourcery.com>
24382
804360ed
JM
24383 [BZ #3976]
24384 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24385 (__sin): Save and restore rounding mode and use round-to-nearest
24386 for all computations.
24387 (__cos): Save and restore rounding mode and use round-to-nearest
24388 for all computations.
24389 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24390 <fenv.h>.
24391 (tan): Save and restore rounding mode and use round-to-nearest for
24392 all computations.
24393 * math/libm-test.inc (cos_test_tonearest): New function.
24394 (cos_test_towardzero): Likewise.
24395 (cos_test_downward): Likewise.
24396 (cos_test_upward): Likewise.
24397 (sin_test_tonearest): Likewise.
24398 (sin_test_towardzero): Likewise.
24399 (sin_test_downward): Likewise.
24400 (sin_test_upward): Likewise.
24401 (tan_test_tonearest): Likewise.
24402 (tan_test_towardzero): Likewise.
24403 (tan_test_downward): Likewise.
24404 (tan_test_upward): Likewise.
24405 (main): Call the new functions.
24406 * sysdeps/i386/fpu/libm-test-ulps: Update.
24407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24408
a6d06d7b
JM
24409 [BZ #10135]
24410 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24411 small n, then large n, before computing and testing k+n.
24412 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24414 Likewise.
24415 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24416 Likewise.
24417 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24418 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24420 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24421 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24422 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24423 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24425 * math/libm-test.inc (scalbn_test): Add more tests.
24426 (scalbln_test): Likewise.
24427
07e12bb3
JM
24428 * manual/filesys.texi (mode_t): Describe constraints on size and
24429 signedness, not exact equivalence to a particular type.
24430 (ino_t): Likewise.
24431 (ino64_t): Likewise.
24432 (dev_t): Likewise.
24433 (nlink_t): Likewise.
24434 (blkcnt_t): Likewise.
24435 (blkcnt64_t): Likewise.
24436 * manual/llio.texi (off_t): Likewise.
24437
28afd92d
JM
24438 [BZ #3976]
24439 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24440 (__ieee754_exp): Save and restore rounding mode and use
24441 round-to-nearest for all computations.
24442 * math/libm-test.inc (exp_test_tonearest): New function.
24443 (exp_test_towardzero): Likewise.
24444 (exp_test_downward): Likewise.
24445 (exp_test_upward): Likewise.
24446 (main): Call the new functions.
24447 * sysdeps/i386/fpu/libm-test-ulps: Update.
24448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24449
b1eeb65d
CD
244502012-03-01 Chris Demetriou <cgd@google.com>
24451
24452 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24453 have predictable order.
24454
53362a4b
DM
244552012-03-01 David S. Miller <davem@davemloft.net>
24456
3c969083
DM
24457 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24458
759707de
DM
24459 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24460 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24461 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24462 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24463
dfdb8ff2
DM
24464 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24465 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24466 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24468 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24469 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24470 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24471 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24472 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24473
ead89f96
DM
24474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24475
7f66bd07
DM
24476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24477 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24478 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24479
53362a4b
DM
24480 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24481 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24482 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24483 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24484 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24487 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24488 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24489 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24490 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24493 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24494 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24496 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24497 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24498 * sysdeps/sparc/elf/configure: Regenerated.
24499
7b1902cb
JM
245002012-03-01 Joseph Myers <joseph@codesourcery.com>
24501
bec039bc
JM
24502 * configure.in (AS, LD): Require binutils 2.20 or later.
24503 * configure: Regenerated.
24504 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24505 as required minimum version.
24506 * INSTALL: Regenerated.
24507
7b1902cb
JM
24508 [BZ #2541]
24509 [BZ #4108]
24510 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24511 before squaring exponent.
24512 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24513 bottom long double and 27 bits of top long double before squaring
24514 exponent.
24515 * math/libm-test.inc (erfc_test): Add more tests.
24516 * sysdeps/i386/fpu/libm-test-ulps: Update.
24517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24519
f775c276
KT
245202012-03-01 Kai Tietz <ktietz@redhat.com>
24521
24522 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24523 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24524 containing bit-fields.
24525 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24526 * soft-fp/single.h (_FP_UNION_S): Likewise.
24527 * soft-fp/double.h (_FP_UNION_D): Likewise.
24528
5b8a4d4a
JM
245292012-02-29 Joseph Myers <joseph@codesourcery.com>
24530
0bab47b6
JM
24531 [BZ #13786]
24532 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24533 not include ../strcmp.S.
24534 [USE_AS_STRNCASECMP_L]: Likewise.
24535 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24536 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24537 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24538 (__strncasecmp_l_ia32): Define as alias to
24539 __strncasecmp_l_nonascii.
24540
0fcad3e2
JM
24541 [BZ #5794]
24542 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24543 * sysdeps/i386/fpu/libm-test-ulps: Update.
24544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24545
5b8a4d4a
JM
24546 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24548
8fdceb2e
JL
245492012-02-29 Jeff Law <law@redhat.com>
24550
24551 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24552 out of bounds read.
24553
1f393a11
MP
245542012-02-29 Marek Polacek <polacek@redhat.com>
24555
24556 [BZ #13706]
24557 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24558 * elf/Makefile: Add rules to run tst-unused-dep.out.
24559
8847f037
DM
245602012-02-28 David S. Miller <davem@davemloft.net>
24561
24562 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24563 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24564 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24565 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24566 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24567 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24568
169d7f11
JM
245692012-02-29 Joseph Myers <joseph@codesourcery.com>
24570
24571 * math/libm-test.inc (llround_test): Move one test from
24572 lround_test. Use TEST_f_L in moved test.
24573 (lround_test): Move misplaced test to llround_test. Add testcase
24574 from bug 2561.
24575
39adf059
UD
245762012-02-28 Ulrich Drepper <drepper@gmail.com>
24577
24578 * sysdeps/x86_64/fpu/e_expf.S: New file.
24579 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24580
71b5d1c5
SB
245812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24582
24583 [BZ #13637]
24584 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24585 of remain_len that may cause incomplete multi-byte character and
24586 false match.
24587 * posix/bug-regex33.c: New file.
24588 * posix/Makefile (tests): Add bug-regex33.
24589
1f77f049
JM
245902012-02-28 Joseph Myers <joseph@codesourcery.com>
24591
24592 * manual/macros.texi: New file.
24593 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24594 * manual/libc.texinfo: Include macros.texi.
24595 * manual/creatute.texi: Likewise.
24596 * manual/install.texi: Likewise.
24597 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24598 @glibcadj{} in references to the GNU C Library.
24599 * manual/charset.texi: Likewise.
24600 * manual/conf.texi: Likewise.
24601 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24602 when not using those macros.
24603 * manual/creature.texi: Likewise.
24604 * manual/crypt.texi: Likewise.
24605 * manual/errno.texi: Likewise.
24606 * manual/filesys.texi: Likewise.
24607 * manual/header.texi: Likewise.
24608 * manual/install.texi: Likewise.
24609 * manual/intro.texi: Likewise.
24610 * manual/io.texi: Likewise.
24611 * manual/job.texi: Likewise.
24612 * manual/lang.texi: Likewise.
24613 * manual/libc.texiinfo: Likewise.
24614 * manual/llio.texi: Likewise.
24615 * manual/locale.texi: Likewise.
24616 * manual/maint.texi: Likewise.
24617 * manual/math.texi: Likewise.
24618 * manual/memory.texi: Likewise.
24619 * manual/message.texi: Likewise.
24620 * manual/nss.texi: Likewise.
24621 * manual/pattern.texi: Likewise.
24622 * manual/process.texi: Likewise.
24623 * manual/resource.texi: Likewise.
24624 * manual/search.texi: Likewise.
24625 * manual/setjmp.texi: Likewise.
24626 * manual/signal.texi: Likewise.
24627 * manual/socket.texi: Likewise.
24628 * manual/startup.texi: Likewise.
24629 * manual/stdio.texi: Likewise.
24630 * manual/string.texi: Likewise.
24631 * manual/sysinfo.texi: Likewise.
24632 * manual/syslog.texi: Likewise.
24633 * manual/terminal.texi: Likewise.
24634 * manual/time.texi: Likewise.
24635 * manual/users.texi: Likewise.
24636 * INSTALL: Regenerated.
24637 * NOTES: Regenerated.
d40c5d54 24638 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24639
450bf206
AS
246402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24641
24642 * include/dirent.h: Include <dirstream.h> before
24643 <dirent/dirent.h>.
24644
741a235b
DM
246452012-02-28 David S. Miller <davem@davemloft.net>
24646
24647 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24648 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24649 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24650 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24651
d6b5aa58
DM
246522012-02-27 David S. Miller <davem@davemloft.net>
24653
1aff59a3
DM
24654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24656 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24657 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24658
d6b5aa58
DM
24659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24660 frame pointer instead of stack pointer relative arg slot.
24661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24664
433f48bf
CD
246652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24666
24667 [BZ #3992]
24668 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24669
d674b76d
DM
246702012-02-27 David S. Miller <davem@davemloft.net>
24671
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24676 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24677 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24678 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24679 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24680
0e7727f7
JM
246812012-02-27 Joseph Myers <joseph@codesourcery.com>
24682
24683 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24684 later. Allow versions 5-9.
43be4ca2 24685 * configure: Regenerated.
0e7727f7
JM
24686 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24687 required minimum version and 4.6 as recommended version. Do not
24688 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24689 * INSTALL: Regenerated.
0e7727f7 24690
a78bc654
DM
246912012-02-27 David S. Miller <davem@davemloft.net>
24692
428d5830
DM
24693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24697 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24698 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24699 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24700 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24701
a78bc654
DM
24702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24703 manipulate bits before adding and subtracting TWO112[sx].
24704 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24705
4579f81c
RM
247062012-02-27 Roland McGrath <roland@hack.frob.com>
24707
36c8acb4
RM
24708 [BZ #13775]
24709 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24710 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24711 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24712 being in POSIX, because they are in 1003.1-2008.
24713
84ad622b
RM
24714 * rt/tst-aio.c: Include <fcntl.h>.
24715 * rt/tst-aio7.c: Likewise.
24716 * rt/tst-aio64.c: Likewise.
24717
4579f81c
RM
24718 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24719
abd923db
JM
247202012-02-27 Joseph Myers <joseph@codesourcery.com>
24721
24722 * manual/install.texi (--with-headers): Describe headers as
24723 interface headers, not private headers.
24724 (Specific advice for GNU/Linux systems): Describe use of headers
24725 from "make headers_install", not private headers from older
24726 kernels.
43be4ca2 24727 * INSTALL: Regenerated.
abd923db
JM
24728 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24729 Change to 2.6.19.
24730 * sysdeps/unix/sysv/linux/configure: Regenerated.
24731
6664049b
JM
24732 * manual/llio.texi (fclean): Remove documentation.
24733
bb8b6697
JM
24734 * manual/Makefile (libc-texi-generated): New variable. Include
24735 version.texi.
24736 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24737 $(libc-texi-generated), not duplicated list of files.
24738 (version.texi, stamp-version): New rules.
24739 (realclean): Remove $(libc-texi-generated), not individual files
24740 from that list. Do not remove dir-add.texinfo.
24741 * manual/libc.texinfo: Comment out uses of edition numbers and
24742 references to printed manual. Remove last-updated dates.
24743 (EDITION): Comment out.
24744 (ISBN): Likewise.
24745 (VERSION, UPDATED): Remove.
24746 (version.texi): Include.
24747
12e5c3b9
AS
247482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24749
24750 * sysdeps/posix/spawni.c: Include <signal.h>.
24751 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24752 * sysdeps/pthread/aio_fsync.c: Likewise.
24753
4efeffc1 247542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24755
ba63ba08
UD
24756 * conform/Makefile (tests): Run only when not cross-compiling and
24757 when fast-check is not defined.
24758
d94a4670
UD
24759 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24760 * conform/data/limits.h-data: Fixes for POSIX2008.
24761 * conform/run-conformtest.sh: Run all tests.
24762 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24763 headers.
24764 * include/bits/dlfcn.h: Likewise.
24765 * include/langinfo.h: Likewise.
24766 * include/monetary.h: Likewise.
24767 * include/sys/poll.h: Likewise.
24768
24769 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24770 for __USE_GNU.
24771 * posix/spawn.h: Define __need_sigset_t.
24772 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24773 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24774 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24775 to get sigevent_t only.
24776 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24777 only for __USE_GNU.
24778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24779 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24780 process_vm_writev only for __USE_GNU.
24781 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24782
24783 * conform/Makefile: For now ignore errors from run-conformtest.
24784 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24785 POSIX to avoid namespace pollution. Don't prepend headers.
24786 * conform/data/aio.h-data: Fixes for POSIX testing.
24787 * conform/data/fcntl.h-data: Likewise.
24788 * conform/data/glob.h-data: Likewise.
24789 * conform/data/grp.h-data: Likewise.
24790 * conform/data/pthread.h-data: Likewise.
24791 * conform/data/pwd.h-data: Likewise.
24792 * conform/data/signal.h-data: Likewise.
24793 * conform/data/spawn.h-data: Likewise.
24794 * conform/data/stdio.h-data: Likewise.
24795 * conform/data/stdlib.h-data: Likewise.
24796 * conform/data/stropts.h-data: Likewise.
24797 * conform/data/sys/mman.h-data: Likewise.
24798 * conform/data/sys/stat.h-data: Likewise.
24799 * conform/data/sys/types.h-data: Likewise.
24800 * conform/data/sys/wait.h-data: Likewise.
24801 * conform/data/time.h-data: Likewise.
24802 * conform/data/unistd.h-data: Likewise.
24803 * conform/data/utime.h-data: Likewise.
24804
24805 * io/sys/stat.h: fchmod was always in POSIX.
24806 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24807 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24808 * rt/aio.h: Define __need_timespec before including <time.h>.
24809 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24810 struct. Add forward declaration of pthread_attr_t and use it in
24811 sigevent.
24812 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24814 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24815 always remove CLK_TCK definition.
24816
c20105c3
AS
248172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24818
24819 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24820
7a270350
UD
248212012-02-25 Ulrich Drepper <drepper@gmail.com>
24822
31341567
UD
24823 * conform/run-conformtest.sh: New file.
24824 * conform/Makefile: Run run-conformtest for tests.
24825 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24826 support.
24827
24828 * conform/data/uchar.h-data: New file.
24829 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24830 * conform/data/arpa/inet.h-data: Likewise.
24831 * conform/data/assert.h-data: Likewise.
24832 * conform/data/complex.h-data: Likewise.
24833 * conform/data/cpio.h-data: Likewise.
24834 * conform/data/ctype.h-data: Likewise.
24835 * conform/data/dirent.h-data: Likewise.
24836 * conform/data/dlfcn.h-data: Likewise.
24837 * conform/data/errno.h-data: Likewise.
24838 * conform/data/fcntl.h-data: Likewise.
24839 * conform/data/float.h-data: Likewise.
24840 * conform/data/fmtmsg.h-data: Likewise.
24841 * conform/data/fnmatch.h-data: Likewise.
24842 * conform/data/ftw.h-data: Likewise.
24843 * conform/data/glob.h-data: Likewise.
24844 * conform/data/grp.h-data: Likewise.
24845 * conform/data/iconv.h-data: Likewise.
24846 * conform/data/inttypes.h-data: Likewise.
24847 * conform/data/langinfo.h-data: Likewise.
24848 * conform/data/libgen.h-data: Likewise.
24849 * conform/data/limits.h-data: Likewise.
24850 * conform/data/locale.h-data: Likewise.
24851 * conform/data/math.h-data: Likewise.
24852 * conform/data/monetary.h-data: Likewise.
24853 * conform/data/mqueue.h-data: Likewise.
24854 * conform/data/ndbm.h-data: Likewise.
24855 * conform/data/net/if.h-data: Likewise.
24856 * conform/data/netdb.h-data: Likewise.
24857 * conform/data/netinet/in.h-data: Likewise.
24858 * conform/data/nl_types.h-data: Likewise.
24859 * conform/data/poll.h-data: Likewise.
24860 * conform/data/pthread.h-data: Likewise.
24861 * conform/data/pwd.h-data: Likewise.
24862 * conform/data/regex.h-data: Likewise.
24863 * conform/data/sched.h-data: Likewise.
24864 * conform/data/search.h-data: Likewise.
24865 * conform/data/semaphore.h-data: Likewise.
24866 * conform/data/setjmp.h-data: Likewise.
24867 * conform/data/signal.h-data: Likewise.
24868 * conform/data/spawn.h-data: Likewise.
24869 * conform/data/stdarg.h-data: Likewise.
24870 * conform/data/stdio.h-data: Likewise.
24871 * conform/data/stdlib.h-data: Likewise.
24872 * conform/data/string.h-data: Likewise.
24873 * conform/data/strings.h-data: Likewise.
24874 * conform/data/stropts.h-data: Likewise.
24875 * conform/data/sys/ipc.h-data: Likewise.
24876 * conform/data/sys/mman.h-data: Likewise.
24877 * conform/data/sys/msg.h-data: Likewise.
24878 * conform/data/sys/resource.h-data: Likewise.
24879 * conform/data/sys/select.h-data: Likewise.
24880 * conform/data/sys/sem.h-data: Likewise.
24881 * conform/data/sys/shm.h-data: Likewise.
24882 * conform/data/sys/socket.h-data: Likewise.
24883 * conform/data/sys/stat.h-data: Likewise.
24884 * conform/data/sys/statvfs.h-data: Likewise.
24885 * conform/data/sys/time.h-data: Likewise.
24886 * conform/data/sys/timeb.h-data: Likewise.
24887 * conform/data/sys/times.h-data: Likewise.
24888 * conform/data/sys/types.h-data: Likewise.
24889 * conform/data/sys/uio.h-data: Likewise.
24890 * conform/data/sys/un.h-data: Likewise.
24891 * conform/data/sys/utsname.h-data: Likewise.
24892 * conform/data/sys/wait.h-data: Likewise.
24893 * conform/data/syslog.h-data: Likewise.
24894 * conform/data/tar.h-data: Likewise.
24895 * conform/data/termios.h-data: Likewise.
24896 * conform/data/utime.h-data: Likewise.
24897 * conform/data/utmpx.h-data: Likewise.
24898 * conform/data/varargs.h-data: Likewise.
24899 * conform/data/wchar.h-data: Likewise.
24900 * conform/data/wctype.h-data: Likewise.
24901 * conform/data/wordexp.h-data: Likewise.
24902
24903 * include/stropts.h: New file.
24904 * include/uchar.h: New file.
24905 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24906 * include/assert.h: Likewise.
24907 * include/ctype.h: Likewise.
24908 * include/dirent.h: Likewise.
24909 * include/dlfcn.h: Likewise.
24910 * include/fcntl.h: Likewise.
24911 * include/fnmatch.h: Likewise.
24912 * include/glob.h: Likewise.
24913 * include/grp.h: Likewise.
24914 * include/libio.h: Likewise.
24915 * include/locale.h: Likewise.
24916 * include/math.h: Likewise.
24917 * include/net/if.h: Likewise.
24918 * include/netdb.h: Likewise.
24919 * include/netinet/in.h: Likewise.
24920 * include/pthread.h: Likewise.
24921 * include/pwd.h: Likewise.
24922 * include/regex.h: Likewise.
24923 * include/sched.h: Likewise.
24924 * include/search.h: Likewise.
24925 * include/setjmp.h: Likewise.
24926 * include/signal.h: Likewise.
24927 * include/stdio.h: Likewise.
24928 * include/stdlib.h: Likewise.
24929 * include/string.h: Likewise.
24930 * include/sys/cdefs.h: Likewise.
24931 * include/sys/mman.h: Likewise.
24932 * include/sys/msg.h: Likewise.
24933 * include/sys/resource.h: Likewise.
24934 * include/sys/select.h: Likewise.
24935 * include/sys/socket.h: Likewise.
24936 * include/sys/stat.h: Likewise.
24937 * include/sys/statvfs.h: Likewise.
24938 * include/sys/time.h: Likewise.
24939 * include/sys/times.h: Likewise.
24940 * include/sys/uio.h: Likewise.
24941 * include/sys/utsname.h: Likewise.
24942 * include/sys/wait.h: Likewise.
24943 * include/termios.h: Likewise.
24944 * include/time.h: Likewise.
24945 * include/ulimit.h: Likewise.
24946 * include/unistd.h: Likewise.
24947 * include/utime.h: Likewise.
24948 * include/wchar.h: Likewise.
24949 * include/wctype.h: Likewise.
24950 * include/wordexp.h: Likewise.
24951
24952 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24953
7a270350
UD
24954 * time/time.h: TIME_UTC must be a macro.
24955 Make timespec_get available for ISO C11 only as well.
24956
7724defc
UD
249572012-02-24 Ulrich Drepper <drepper@gmail.com>
24958
24959 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24960 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24961
6b1d1d46
JM
249622012-02-24 Joseph Myers <joseph@codesourcery.com>
24963
24964 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24965
0f8bbd69
JM
249662012-02-24 Joseph Myers <joseph@codesourcery.com>
24967
24968 * manual/texinfo.tex: Update to version 2012-01-19.16.
24969
66ab80bc
JM
249702012-02-24 Joseph Myers <joseph@codesourcery.com>
24971
24972 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24973
74981cc5
RM
249742012-02-24 Roland McGrath <roland@hack.frob.com>
24975
ee968201
RM
24976 [BZ #13738]
24977 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24978 * manual/fdl-1.3.texi: New file.
24979 * manual/fdl-1.1.texi: File removed.
24980
74981cc5
RM
24981 [BZ #13738]
24982 * manual/libc.texinfo (FDL_VERSION): New @set.
24983 Use it for mention of FDL in cover text.
24984 (Documentation License): Use it in @include file name.
24985
7bb764bc
JM
249862012-02-22 Joseph Myers <joseph@codesourcery.com>
24987 Roland McGrath <roland@hack.frob.com>
24988
24989 [BZ #5461]
24990 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24991 not LONG_LONG_MAX and LONG_LONG_MIN.
24992 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24993 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24994 name.
24995 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24996
6cbeae47
JM
249972012-02-22 Joseph Myers <joseph@codesourcery.com>
24998
24999 [BZ #2547]
25000 [BZ #11365]
25001 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25002 manipulate bits before adding and subtracting TWO23[sx].
25003 * math/libm-test.inc (nearbyint_test): Add more tests.
25004
fe45ce09
JM
250052012-02-22 Joseph Myers <joseph@codesourcery.com>
25006
25007 [BZ #2548]
25008 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25009 bits before adding and subtracting TWO23[sx].
25010 * math/libm-test.inc (rint_test): Add more tests.
25011 (rint_test_tonearest): Likewise.
25012 (rint_test_towardzero): Likewise.
25013 (rint_test_downward): Likewise.
25014 (rint_test_upward: Likewise.
25015
ff3b3d82
JM
250162012-02-22 Joseph Myers <joseph@codesourcery.com>
25017
25018 [BZ #10110]
25019 * include/stdc-predef.h: New file. Extracted from features.h.
25020 * include/features.h: Include stdc-predef.h.
25021 * Makefile (headers): Add stdc-predef.h.
25022 * CONFORMANCE (Compiler limitations): Update.
25023
ef0aab35
JM
250242012-02-22 Joseph Myers <joseph@codesourcery.com>
25025
25026 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25027
58639409
DM
250282012-02-21 David S. Miller <davem@davemloft.net>
25029
25030 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25031 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25032
c0e70b25
DM
250332012-02-20 David S. Miller <davem@davemloft.net>
25034
25035 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25036 using a normal save/restore sequence, rather than allocating a
25037 dummy stack frame just to store a frame pointer and restore.
25038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25039
fb06851d
JM
250402012-02-21 Joseph Myers <joseph@codesourcery.com>
25041
25042 * manual/install.texi: Fix stray word in line-wrapped comment.
25043
7a8b71c3
DM
250442012-02-20 David S. Miller <davem@davemloft.net>
25045
d510c123
DM
25046 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25047 both binutils and gcc support GOTDATA.
25048
0722d7c2
DM
25049 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25050 "rd %pc" in the PIC register setup sequences.
25051
3d2b3019
DM
25052 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25053 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25054 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25055 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25056 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25059 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25061 (SYSCALL_ERROR_HANDLER): Likewise.
25062 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25063 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25065 (SYSCALL_ERROR_HANDLER): Likewise.
25066
c80098a9
DM
25067 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25068 (HAVE_GCC_GOTDATA): New.
25069 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25070 relocation support in both binutils and gcc.
25071 * sysdeps/sparc/elf/configure: Regenerate.
25072
3a2545a0
DM
25073 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25074 * sysdeps/sparc/sparc32/elf/configure: Delete.
25075 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25076 * sysdeps/sparc/sparc64/elf/configure: Delete.
25077 * sysdeps/sparc/elf/configure.in: New file.
25078 * sysdeps/sparc/elf/configure: Generate.
25079
7a8b71c3
DM
25080 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25081 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25082 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25083 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25084 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25085
f1e86fca
JM
250862012-02-21 Joseph Myers <joseph@codesourcery.com>
25087
25088 * manual/install.texi: Do not mention specific glibc version
25089 numbers.
25090 * manual/libc.texinfo (VERSION, UPDATED): Update.
25091 (@copying): Use @copyright{} and range of years.
25092
0e7dfaef
JM
250932012-02-21 Joseph Myers <joseph@codesourcery.com>
25094
25095 [BZ #13695]
25096 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25097 [crti.S not in sysdirs] (generated): Do not append.
25098 [crti.S not in sysdirs] (omit-deps): Likewise.
25099 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25100 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25101 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25102 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25103 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25104 Likewise.
25105 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25106 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25107 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25108 * csu/defs.awk: Remove file.
25109 * sysdeps/generic/initfini.c: Likewise.
25110 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25111 variable.
25112 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25113 Likewise.
25114
599af3ca
JM
251152012-02-20 Joseph Myers <joseph@codesourcery.com>
25116
25117 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25118 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25119 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25120 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25122 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25123 <bits/epoll.h>.
25124 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25125 (__EPOLL_PACKED): Define to empty if not defined by
25126 <bits/epoll.h>.
25127 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25129 bits/epoll.h.
25130
0e499750
JM
251312012-02-20 Joseph Myers <joseph@codesourcery.com>
25132
25133 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25134 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25135 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25137 <bits/timerfd.h>.
25138 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25140 bits/timerfd.h.
25141
5ad91f6e
JM
251422012-02-20 Joseph Myers <joseph@codesourcery.com>
25143
25144 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25145 in C locale.
25146 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25148 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25150
06b99b02
AJ
251512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25152
25153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25154 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25155
7638c0fd
AS
251562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25157
25158 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25159 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25160 defined.
25161 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25162 Likewise.
25163 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25164 entry for 2.16.
25165
92221550
AJ
251662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25167
25168 * math/w_acos.c: Use non-signaling floating-point comparisons.
25169 * math/w_acosf.c: Likewise.
25170 * math/w_acosh.c: Likewise.
25171 * math/w_acoshf.c: Likewise.
25172 * math/w_acoshl.c: Likewise.
25173 * math/w_acosl.c: Likewise.
25174 * math/w_asin.c: Likewise.
25175 * math/w_asinf.c: Likewise.
25176 * math/w_asinl.c: Likewise.
25177 * math/w_atanh.c: Likewise.
25178 * math/w_atanhf.c: Likewise.
25179 * math/w_atanhl.c: Likewise.
25180 * math/w_exp2.c: Likewise.
25181 * math/w_exp2f.c: Likewise.
25182 * math/w_exp2l.c: Likewise.
25183 * math/w_j0.c: Likewise.
25184 * math/w_j0f.c: Likewise.
25185 * math/w_j0l.c: Likewise.
25186 * math/w_j1.c: Likewise.
25187 * math/w_j1f.c: Likewise.
25188 * math/w_j1l.c: Likewise.
25189 * math/w_jn.c: Likewise.
25190 * math/w_jnf.c: Likewise.
25191 * math/w_log.c: Likewise.
25192 * math/w_log10.c: Likewise.
25193 * math/w_log10f.c: Likewise.
25194 * math/w_log10l.c: Likewise.
25195 * math/w_log2.c: Likewise.
25196 * math/w_log2f.c: Likewise.
25197 * math/w_log2l.c: Likewise.
25198 * math/w_logf.c: Likewise.
25199 * math/w_logl.c: Likewise.
25200 * math/w_sqrt.c: Likewise.
25201 * math/w_sqrtf.c: Likewise.
25202 * math/w_sqrtl.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25206 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25207 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25208
ebaf36eb
JM
252092012-02-19 Joseph Myers <joseph@codesourcery.com>
25210
25211 [BZ #9739]
25212 * manual/string.texi (strnlen): Use correct parameter name in
25213 equivalent expression.
25214
71c254a6
JM
252152012-02-19 Joseph Myers <joseph@codesourcery.com>
25216
25217 [BZ #11174]
25218 * manual/users.texi (seteuid): Consistently use neweuid for
25219 argument name.
25220
16d2c631
JM
252212012-02-19 Joseph Myers <joseph@codesourcery.com>
25222
25223 [BZ #13704]
25224 * manual/nss.texi (Services in the NSS configuration): Correct
25225 list of services in example configuration file.
25226
cd837b09
NB
252272012-02-19 Nick Bowler <nbowler@draconx.ca>
25228
25229 [BZ #11322]
25230 * manual/arith.texi: Remove statements about negative zero
25231 behaving identically to zero.
25232
02c4bbad
JM
252332012-02-18 Joseph Myers <joseph@codesourcery.com>
25234
25235 [BZ #5993]
25236 * manual/install.texi: Do not document upgrading from libc5.
25237
366842e7
JM
252382012-02-18 Joseph Myers <joseph@codesourcery.com>
25239
25240 [BZ #4596]
25241 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25242
dd54084d
DM
252432012-02-18 David S. Miller <davem@davemloft.net>
25244
25245 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25246 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25247 %o7 across the call.
25248 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25249 instead.
25250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25251 SETUP_PIC_REG_LEAF.
25252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25253 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25254 * sysdeps/sparc/crtn.S: Likewise.
25255
2bcc53a3
UD
252562012-02-17 Ulrich Drepper <drepper@gmail.com>
25257
25258 * aout/Makefile: Remove.
25259
09c093b5
RK
252602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25261
25262 [BZ #13058]
25263 * manual/examples/argp-ex1.c (main): Format definition in GNU
25264 style.
25265 * manual/examples/argp-ex2.c (main): Likewise.
25266 * manual/examples/argp-ex3.c (main): Likewise.
25267 * manual/examples/argp-ex4.c (main): Likewise.
25268 * manual/examples/longopt.c (main): Use new-style prototype
25269 definition.
25270 * manual/examples/strncat.c (main): Specify return type and use
25271 (void) for arguments.
25272 * manual/examples/subopt.c (main): Use char **argv argument.
25273
2ee633a2
JM
252742012-02-17 Joseph Myers <joseph@codesourcery.com>
25275
25276 [BZ #5077]
25277 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25278 rounding modes.
25279
0520adde
FB
252802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25281
25282 [BZ #6907]
25283 * manual/string.texi (strchr): Change when strchrnul is
25284 recommended.
25285
3f4081cd
DGM
252862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25287
25288 [BZ #174]
25289 * manual/locale.texi (setlocale): Document LOCPATH.
25290
d1b10e78
JM
252912012-02-17 Joseph Myers <joseph@codesourcery.com>
25292
25293 [BZ #10210]
25294 * manual/process.texi (execle): Move @dots{} before last argument.
25295
79c6869c
PB
252962012-02-17 Paul Bolle <pebolle@tiscali.nl>
25297
25298 [BZ #12047]
25299 * manual/charset.texi (Generic Charset Conversion): Fix typo
25300 (LC_TYPE -> LC_CTYPE).
25301
cc6e48bc
NB
253022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25303
25304 [BZ #5805]
25305 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25306 (scalbnf): Likewise.
25307 (scalbnl): Likewise.
25308 (scalbln): Likewise.
25309 (scalblnf): Likewise.
25310 (scalblnl): Likewise.
25311 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25312 (vwarnx): Likewise.
25313 (verr): Likewise.
25314 (verrx): Likewise.
25315 * manual/filesys.texi (telldir): Use braces around return type.
25316 * manual/llio.texi (mmap): Add space after comma.
25317 (mmap64): Likewise.
25318 * manual/math.texi (jn): Use @var{} on parameter names.
25319 (jnf): Likewise.
25320 (jnl): Likewise.
25321 (yn): Likewise.
25322 (ynf): Likewise.
25323 (ynl): Likewise.
25324 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25325 line.
25326 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25327 "...".
25328 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25329 (sched_get_priority_max): Likewise.
25330 * manual/signal.texi (sigvec): Add space after comma.
25331 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25332 names.
25333 (if_indextoname): Likewise.
25334 (if_freenameindex): Likewise.
25335 (sendto): Use ',' instead of '.' in prototype.
25336 * manual/startup.texi (syscall): Use @dots{} instead of literal
25337 "...".
25338 * manual/stdio.texi (__fpending): Separate initial words of
25339 paragraph from @deftypefun line.
25340 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25341 "...".
25342 (vsyslog): Use @var{} on parameter names.
25343 * manual/terminal.texi (stty): Use @var{} on parameter names.
25344 * manual/users.texi (getutmp): Use @var{} on parameter names.
25345 (getutmpx): Likewise.
25346
5b23062f
JM
253472012-02-17 Joseph Myers <joseph@codesourcery.com>
25348
25349 [BZ #6884]
25350 * manual/stdio.texi (fopen): Fix typos in description of
25351 ",ccs=STRING".
25352
8dee4833
AJ
253532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25354
25355 [BZ #4026]
25356 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25357 get clock_id definition.
25358
9078ce93
TS
253592012-02-17 Thomas Schwinge <thomas@schwinge.name>
25360
25361 [BZ #4822]
25362 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25363 (madvise): Cast every argument to void on its own.
25364
3835c55f
JM
253652012-02-17 Joseph Myers <joseph@codesourcery.com>
25366
25367 [BZ #9902]
25368 * manual/startup.texi (Exit Status): Fix typo.
25369
35c47e37
JM
253702012-02-17 Joseph Myers <joseph@codesourcery.com>
25371
25372 [BZ #10140]
25373 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25374 * manual/examples/argp-ex2.c: Likewise.
25375 * manual/examples/argp-ex3.c: Likewise.
25376
e3b69ca7
RH
253772012-02-16 Richard Henderson <rth@redhat.com>
25378
25379 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25380 * sysdeps/s390/s390-32/initfini.c: Remove.
25381 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25382 * sysdeps/s390/s390-64/initfini.c: Remove.
25383
df83af67
KK
253842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25385
25386 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25387 compiler output for sysdeps/generic/initfini.c.
25388 * sysdeps/sh/elf/initfini.c: Remove file.
25389
f63f3380
DM
253902012-02-16 David S. Miller <davem@davemloft.net>
25391
fb59b3a4
DM
25392 [BZ #11494]
25393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25394
f63f3380
DM
25395 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25396 * sysdeps/sparc/crti.S: New file.
25397 * sysdeps/sparc/crtn.S: New file.
25398 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25399 * sysdeps/sparc/sparc64/Makefile: Likewise.
25400
df6a4a4a
MF
254012012-02-15 Mike Frysinger <vapier@gentoo.org>
25402
6dd8f3dc 25403 [BZ #3335]
df6a4a4a
MF
25404 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25405
1cac7236
RM
254062012-02-15 Roland McGrath <roland@hack.frob.com>
25407
d2c736f8
RM
25408 [BZ #4822]
25409 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25410
1cac7236
RM
25411 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25412 (write, read, close): Likewise.
25413 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25414
8e475601
JM
254152012-02-15 Joseph Myers <joseph@codesourcery.com>
25416
25417 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25418 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25419 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25420 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25421 <bits/signalfd.h>.
25422 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25424 bits/signalfd.h.
25425
ed656b40
MP
254262012-02-14 Marek Polacek <polacek@redhat.com>
25427
25428 * sysdeps/x86_64/crti.S: New file.
25429 * sysdeps/x86_64/crtn.S: New file.
25430 * sysdeps/x86_64/elf/initfini.c: Remove file.
25431
2a979d3a
JM
254322012-02-13 Joseph Myers <joseph@codesourcery.com>
25433
25434 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25435 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25436 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25437 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25438 <bits/inotify.h>.
25439 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25441 bits/inotify.h.
25442
2a418ac3
JM
254432012-02-13 Joseph Myers <joseph@codesourcery.com>
25444
25445 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25446 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25448 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25449 <bits/eventfd.h>.
25450 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25452 bits/eventfd.h.
25453
fb779be7
TS
254542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25455
e19e83c5
RM
25456 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25457 __feraiseexcept instead of feraiseexcept.
7c35ffed 25458
fb779be7
TS
25459 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25460 nanosleep invocations.
25461 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25462 strings, and add error checking for a nanosleep invocations.
25463
59ba27a6
PE
254642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25465
25466 Replace FSF snail mail address with URLs, as per GNU coding standards.
25467 Most of the snail mail addresses were wrong anyway, and omitting
25468 them makes the source code easier to maintain. Almost all of the
25469 changes are to license notices and to locale LC_IDENTIFICATION
25470 addresses, except for this one:
25471 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25472 not its snail mail address.
25473
57b957eb
RH
254742012-02-09 Richard Henderson <rth@twiddle.net>
25475
af850b1c
RH
25476 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25477 of kernel-features.h.
25478
57b957eb
RH
25479 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25480
6b73181a
MP
254812012-02-08 Marek Polacek <polacek@redhat.com>
25482
25483 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25484 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25485 * sysdeps/gnu/_G_config.h: Likewise.
25486 * sysdeps/generic/_G_config.h: Likewise.
25487
26ecc33a
AS
254882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25489
6c6dbc63
AS
25490 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25491 tests.
25492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25493
e216c012
AS
25494 * sysdeps/powerpc/powerpc32/crti.S: New file.
25495 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25496 * sysdeps/powerpc/powerpc64/crti.S: New file.
25497 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25498
26ecc33a
AS
25499 * Makeconfig (have-initfini): Don't set.
25500 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25501 * configure.in (nopic_initfini): Don't substitute.
25502 * config.h.in (HAVE_INITFINI): Don't #undef.
25503 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25504 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25505
3add8e13
JM
255062012-02-08 Joseph Myers <joseph@codesourcery.com>
25507
25508 Support crti.S and crtn.S provided directly by architectures.
25509 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25510 [crti.S in sysdirs] (omit-deps): Likewise.
25511 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25512 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25513 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25514 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25515 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25516 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25517 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25518 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25519 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25520 compiler output for sysdeps/generic/initfini.c.
25521 * sysdeps/i386/elf/Makefile: Remove file.
25522 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25523
a22f12b4
MP
255242012-02-07 Marek Polacek <polacek@redhat.com>
25525
25526 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25527 * sysdeps/gnu/_G_config.h: Likewise.
25528 * sysdeps/mach/hurd/_G_config.h: Likewise.
25529
148cf100
MP
255302012-02-07 Marek Polacek <polacek@redhat.com>
25531
25532 * math/Makefile (tests): Add tst-CMPLX2.
25533 * math/tst-CMPLX2.c: New file.
25534
cfdc0dd7
AS
255352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25536
84ba42c4
AS
25537 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25538
cfdc0dd7
AS
25539 * math/libm-test.inc (jn_test): Add missing L suffix.
25540
622c86f4
MP
255412012-02-06 Marek Polacek <polacek@redhat.com>
25542
25543 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25544 * sysdeps/i386/fpu/e_powf.S: Likewise.
25545 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25546 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25548 * sysdeps/i386/fpu/e_pow.S: Likewise.
25549 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25550 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25551 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25552 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25553 * sysdeps/i386/fpu/e_log2.S: Likewise.
25554 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25555 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25556 * sysdeps/i386/fpu/e_powl.S: Likewise.
25557 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25558 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25559 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25560 * sysdeps/i386/fpu/e_logl.S: Likewise.
25561 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25562 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25563 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25564 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25565 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25566 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25567 * sysdeps/i386/fpu/e_log.S: Likewise.
25568 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25569 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25570 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25571 * sysdeps/i386/fpu/e_logf.S: Likewise.
25572 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25573 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25574 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25575 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25577 * sysdeps/i386/fpu/e_log10.S: Likewise.
25578 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25579 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25580 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25581 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25582 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25583 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25584 * sysdeps/i386/asm-syntax.h: Likewise.
25585 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25586 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25587 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25588 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25589 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25590 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25591 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25592 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25593 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25594 * sysdeps/powerpc/sysdep.h: Likewise.
25595 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25597
d4a54ac6
JM
255982012-02-06 Joseph Myers <joseph@codesourcery.com>
25599
25600 [BZ #411]
25601 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25602
314054ea
JM
256032012-02-06 Joseph Myers <joseph@codesourcery.com>
25604
25605 * sysdeps/i386/sysdep.h: Include <features.h>.
25606 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25607 version.
25608
d8e0ca50
JM
256092012-02-05 Joseph Myers <joseph@codesourcery.com>
25610
25611 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25612 Define.
25613 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25614 LOAD_PIC_REG_STR.
25615
b1da7dd9
JM
256162012-02-03 Joseph Myers <joseph@codesourcery.com>
25617
25618 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25619 (SETUP_PIC_REG): Use GET_PC_THUNK.
25620 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25621 macro.
25622
9a1d9254
JM
256232012-02-03 Joseph Myers <joseph@codesourcery.com>
25624
25625 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25626 for non-PIC compilation.
25627 (SETUP_PIC_REG): Add .p2align directive.
25628 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25629 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25669
65dc3b75
JM
256702012-02-03 Joseph Myers <joseph@codesourcery.com>
25671
25672 * math/tst-CMPLX.c: Include <stdio.h>.
25673
d55bf177
JM
256742012-01-31 Joseph Myers <joseph@codesourcery.com>
25675
25676 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25677 float.
25678 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25679 * sysdeps/sparc/bits/mathdef.h: Likewise.
25680
69db4f8f
MP
256812012-01-31 Marek Polacek <polacek@redhat.com>
25682
25683 * libio/libio.h: Don't define _PARAMS.
25684 * locale/programs/config.h: Don't define PARAMS.
25685 * stdlib/strtol_l.c: Likewise.
25686 (__strtol_l): Remove PARAMS from the prototype.
25687
41b81892
UD
256882012-01-31 Ulrich Drepper <drepper@gmail.com>
25689
3b49edc0
UD
25690 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25691 names. Just use the correct names. Remove unnecessary wrapper
25692 functions.
25693 * malloc/arena.c: Likewise.
25694 * malloc/hooks.c: Likewise.
25695
41b81892
UD
25696 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25697 ARENA_TEST says not to. Simplify test for creation of a new arena.
25698 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25699
27a25b6e
UD
257002012-01-30 Ulrich Drepper <drepper@gmail.com>
25701
25702 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25703 into tail calls.
25704 (update_get_addr): New function.
25705 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25706 GET_ADDR_MODULE parameter.
25707
c8a89e7d
JM
257082012-01-30 Joseph Myers <joseph@codesourcery.com>
25709
25710 * crypt/cert.c: Remove __STDC__ conditionals.
25711 * crypt/crypt-entry.c: Likewise.
25712 * crypt/crypt_util.c: Likewise.
25713 * libio/filedoalloc.c: Likewise.
25714 * libio/fileops.c: Likewise.
25715 * libio/genops.c: Likewise.
25716 * libio/iofclose.c: Likewise.
25717 * libio/iofdopen.c: Likewise.
25718 * libio/iofopen.c: Likewise.
25719 * libio/iofopen64.c: Likewise.
25720 * libio/iogetdelim.c: Likewise.
25721 * libio/iopopen.c: Likewise.
25722 * libio/obprintf.c: Likewise.
25723 * libio/oldfileops.c: Likewise.
25724 * libio/oldiofclose.c: Likewise.
25725 * libio/oldiofdopen.c: Likewise.
25726 * libio/oldiofopen.c: Likewise.
25727 * libio/oldiopopen.c: Likewise.
25728 * libio/wfiledoalloc.c: Likewise.
25729 * libio/wgenops.c: Likewise.
25730 * locale/programs/xmalloc.c: Likewise.
25731 * misc/syslog.c: Likewise.
25732 * stdio-common/xbug.c: Likewise.
25733 * string/memchr.c: Likewise.
25734 * string/memcmp.c: Likewise.
25735 * string/memrchr.c: Likewise.
25736 * string/rawmemchr.c: Likewise.
25737 * sysdeps/posix/getcwd.c: Likewise.
25738 * time/strftime_l.c: Likewise.
25739
3b100462
JM
257402012-01-30 Joseph Myers <joseph@codesourcery.com>
25741
25742 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25743 * config.make.in (config-cflags-sse2avx): Define.
25744 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25745 Fix typo.
25746
607998af
CM
257472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25748
25749 * scripts/config.guess: Update from upstream config git repository.
25750 * scripts/config.sub: Likewise.
25751
3601428f
CM
257522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25753
3ac8b282
CM
25754 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25755 (EM_NUM): Update.
25756 (R_TILEPRO_*, R_TILEGX_*): New macros.
25757
e034841e
CM
25758 * scripts/firstversions.awk: Fix bug in version range handling.
25759
540d7568
CM
25760 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25761
3601428f
CM
25762 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25763
463de862
CM
25764 * include/sys/epoll.h: New file.
25765 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25766 libc_hidden_def.
25767
73139a76
UD
257682012-01-28 Ulrich Drepper <drepper@gmail.com>
25769
96bc5b45
UD
25770 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25771 Avoid unnecessary __WORDSIZE == 64 test.
25772 (fmaxf): Use VEX format if possible.
25773 (fmax): Likewise.
25774 (fminf): Likewise.
25775 (fmin): Likewise.
25776
56f6f6a2
UD
25777 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25778 * math/math_private.h: Remove libc_fegetround* and
25779 libc_fesetround*.
25780 * sysdeps/i386/configure.in: Check for -msse2avx.
25781 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25782 also if SSE2AVX is defined.
25783 Remove libc_fegetround* and libc_fesetround*.
25784 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25785 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25786 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25787 of HAS_YMM_USABLE.
25788 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25789 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25790 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25793
73139a76
UD
25794 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25795
d73f93a4
AZ
257962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25797
25798 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25799 size is not set.
25800 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25801
6ee65ed6
UD
258022012-01-27 Ulrich Drepper <drepper@gmail.com>
25803
25804 [BZ #13618]
25805 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25806 relocation.
25807 * Makeconfig (libm): Define.
25808 * elf/Makefile: Add rules to build and run tst-relsort1.
25809 * elf/tst-relsort1.c: New file.
25810 * elf/tst-relsort1mod1.c: New file.
25811 * elf/tst-relsort1mod2.c: New file.
25812
8db21882
JM
258132012-01-27 Joseph Myers <joseph@codesourcery.com>
25814
25815 * math/s_ldexp.c: Remove __STDC__ conditionals.
25816 * math/s_ldexpf.c: Likewise.
25817 * math/s_ldexpl.c: Likewise.
25818 * math/s_nextafter.c: Likewise.
25819 * math/s_nexttowardf.c: Likewise.
25820 * math/s_significand.c: Likewise.
25821 * math/s_significandf.c: Likewise.
25822 * math/s_significandl.c: Likewise.
25823 * math/w_jnl.c: Likewise.
25824 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25825 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25826 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25827 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25828 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25843 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25844 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25845 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25846 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25847 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25848 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25849 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25850 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25852 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25856 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25857 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25858 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25859 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25860 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25861 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25862 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25863 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25864 * sysdeps/ieee754/k_standard.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25939 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25940 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25944 * sysdeps/ieee754/s_matherr.c: Likewise.
25945 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25946 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25949
965a54a4
JM
259502012-01-26 Joseph Myers <joseph@codesourcery.com>
25951
25952 * crypt/md5.h: Remove __STDC__ conditionals.
25953 * libio/libioP.h: Likewise.
25954 * locale/programs/config.h: Likewise.
25955 * sysdeps/generic/sysdep.h: Likewise.
25956 * sysdeps/i386/asm-syntax.h: Likewise.
25957 * sysdeps/s390/asm-syntax.h: Likewise.
25958 * sysdeps/unix/sysdep.h: Likewise.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25961
7071ad79
JM
259622012-01-26 Joseph Myers <joseph@codesourcery.com>
25963
25964 * libio/libio.h: Remove __STDC__ conditionals.
25965 * malloc/obstack.h: Likewise.
25966 * math/complex.h: Likewise.
25967 * math/math.h: Likewise.
25968 * sysdeps/generic/_G_config.h: Likewise.
25969 * sysdeps/gnu/_G_config.h: Likewise.
25970 * sysdeps/mach/hurd/_G_config.h: Likewise.
25971 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25973 * sysdeps/sparc/bits/mathdef.h: Likewise.
25974
afc5ed09
UD
259752012-01-26 Ulrich Drepper <drepper@gmail.com>
25976
25977 [BZ #13583]
25978 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25979 Clean up HAS_* macros.
afc5ed09 25980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25981 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25982 possible.
25983 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25984 HAS_AVX.
25985 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25986 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25987 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25988 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25989 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25990
bdb6de1d
JM
259912012-01-25 Joseph Myers <joseph@codesourcery.com>
25992
25993 * elf/tst-unique3.cc (gets): Remove declaration.
25994 * elf/tst-unique3lib.cc (gets): Likewise.
25995 * elf/tst-unique3lib2.cc (gets): Likewise.
25996 * elf/tst-unique4.cc (gets): Likewise.
25997
b15549e6
UD
259982012-01-24 Ulrich Drepper <drepper@gmail.com>
25999
26000 * include/stdio.h: Add C++ protection. Add gets declarations and
26001 definitions.
26002 * debug/tst-chk1.c: Don't declare gets here.
26003 * stdio-common/tst-gets.c: Likewise.
26004
a037381f
JM
260052012-01-24 Joseph Myers <joseph@codesourcery.com>
26006
26007 * posix/glob: Remove directory.
26008
f1d4aa75
JM
260092012-01-24 Joseph Myers <joseph@codesourcery.com>
26010
26011 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26012
81c0c964
PT
260132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26014
26015 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26016 of the non-standard EPFNOSUPPORT.
26017
0ea698ae
ST
260182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26019
26020 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26021 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26022 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26023
d220b117
UD
260242012-01-21 Ulrich Drepper <drepper@gmail.com>
26025
26026 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26027
3e1aa84e
UD
260282012-01-20 Ulrich Drepper <drepper@gmail.com>
26029
26030 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26031 transient errors.
26032 * nscd/grpcache.c (cache_addgr): Likewise.
26033 * nscd/hstcache.c (cache_addhst): Likewise.
26034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26035 * nscd/pwdcache.c (cache_addpw): Likewise.
26036 * nscd/servicescache.c (cache_addserv): Likewise.
26037
400aa020
UD
260382012-01-16 Ulrich Drepper <drepper@gmail.com>
26039
d77e7869
UD
26040 * malloc/malloc.c: Various cleanups.
26041 * malloc/hooks.c: Likewise.
26042
400aa020
UD
26043 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26044 * stdlib/bug-fmtmsg1.c: New file.
26045
26046 * stdlib/fmtmsg.c (init): Add missing unlock.
26047 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26048
e0a309cf
MP
260492012-01-12 Marek Polacek <polacek@redhat.com>
26050
26051 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26052 and _GNU_SOURCE.
26053
929d11c7
WS
260542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26055
26056 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26057 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26058 macro to ensure uniqueness of label name.
26059 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26060 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26061
41d0e869
UD
260622012-01-11 Ulrich Drepper <drepper@gmail.com>
26063
0cc5ed3b
UD
26064 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26065
41d0e869
UD
26066 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26067 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26070
a47a831a
UD
260712012-01-10 Ulrich Drepper <drepper@gmail.com>
26072
daa891c0
UD
26073 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26074
26075 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26076 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26077 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26078
e58ef0f2
UD
26079 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26080
a47a831a 26081 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26085
26086 * math/bits/math-finite.h: Add ldexp support.
26087
a0bfc9c7
MP
260882012-01-10 Marek Polacek <polacek@redhat.com>
26089
26090 * locale/programs/localedef.h (show_archive_content): Add noreturn
26091 attribute.
26092
d6e97a1d
UD
260932012-01-09 Ulrich Drepper <drepper@gmail.com>
26094
26095 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26096
d5835c26
UD
260972012-01-08 Ulrich Drepper <drepper@gmail.com>
26098
e5f484c6
UD
26099 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26100
d5835c26
UD
26101 * io/Makefile (headers): Add bits/poll2.h.
26102
d1f741e9
WS
261032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26104
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26106 typo #include statement.
26107
ec09c1c4
UD
261082012-01-08 Ulrich Drepper <drepper@gmail.com>
26109
26110 * include/sys/cdefs.h: Define __attribute_alloc_size.
26111 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26112 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26113 * elf/pldd.c: Likewise.
26114 * iconv/iconv_charmap.c: Likewise.
26115 * iconv/iconvconfig.c: Likewise.
26116 * iconv/strtab.c: Likewise.
26117 * locale/programs/locale.c: Likewise.
26118 * locale/programs/localedef.h: Likewise.
26119 * locale/programs/simple-hash.c: Likewise.
26120 * nscd/nscd.h: Likewise.
26121 * nss/makedb.c: Likewise.
26122 * sysdeps/generic/ldconfig.h: Likewise.
26123 * locale/programs/localedef.c: Remove xmalloc prototype.
26124 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26125
20b38e03
PP
261262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26127
26128 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26129 appropriate.
26130
a0da5fe1
UD
261312012-01-08 Ulrich Drepper <drepper@gmail.com>
26132
1d5a644a 26133 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26134 * math/tst-CMPLX.c: New file.
1d5a644a 26135
8784a6db
UD
26136 * math/complex.h (CMPLXL): Fix typo.
26137
d9a216c0
UD
26138 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26139 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26140 GLIBC_2.16.
26141 * debug/tst-chk1.c: Add poll and ppoll tests.
26142 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26143 * include/sys/poll.h: Add hidden proto for ppoll.
26144 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26145 * sysdeps/mach/hurd/ppoll.c: Likewise.
26146 * io/ppoll.c: Likewise.
26147 * debug/poll_chk.c: New file.
26148 * debug/ppoll_chk.c: New file.
26149 * include/bits/poll2.h: New file.
26150 * io/bits/poll2.h: New file.
26151
ac097f5c
UD
26152 [BZ #1350]
26153 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26154
2119dcfa
UD
26155 * configure.in: static is always set to yes. Remove.
26156 * config.make.in: Don't set build-static.
26157 * Makeconfig: Remove use of build-static.
26158 * dlfcn/Makefile: Likewise.
26159 * elf/Makefile: Likewise.
26160 * math/Makefile: Likewise.
26161 * misc/Makefile: Likewise.
26162 * nptl/Makefile: Likewise.
26163 * sysdeps/mach/hurd/Makefile: Likewise.
26164
121766a9
UD
26165 * configure.in: PWD_P is not used anymore.
26166 * config.make.in: Remove PWD_P entry.
26167
51a1d39c 26168 * configure.in: Remove last remnants of RANLIB.
8720d066 26169 No need to check for signed size_t anymore.
215f4bdc
UD
26170 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26171 and IA-64.
3857022a 26172 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26173 * aclocal.m4: Likewise.
26174
d3ed7225
UD
26175 * wcsmbs/mbrtoc16.c: Implement using towc function.
26176 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26177 * wcsmbs/wcsmbsload.c: Likewise.
26178 * iconv/gconv_simple.c: Likewise.
26179 * iconv/gconv_int.h: Likewise.
26180 * iconv/gconv_builtin.h: Likewise.
26181 * iconv/iconv_prog.c: Remove CHAR16 handling.
26182
26183 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26184
26185 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26186
a0da5fe1
UD
26187 * configure.in: Remove --with-elf and --enable-bounded options.
26188 Dont set base_machine for ia64. More non-ELF conditions removed.
26189 Remove testing and setting of leading underscore information.
26190 * config.make.in (build-bounded): Set to no.
26191 * config.h.in: Remove NO_UNDERSCORES entry.
26192 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26193 them.
26194 * csu/start.c: Remove !NO_UNDERSCORE code.
26195 * locale/localeinfo.h: Likewise.
26196 * sysdeps/generic/machine-gmon.h: Likewise.
26197 * sysdeps/generic/sysdep.h: Likewise.
26198 * sysdeps/i386/sysdep.h: Likewise.
26199 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26200 * sysdeps/mach/sysdep.h: Likewise.
26201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26203 * sysdeps/sh/sysdep.h: Likewise.
26204 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26205 * sysdeps/unix/i386/sysdep.S: Likewise.
26206 * sysdeps/unix/sparc/start.c: Likewise.
26207 * sysdeps/unix/sparc/sysdep.S: Likewise.
26208 * sysdeps/unix/sparc/sysdep.h: Likewise.
26209 * sysdeps/unix/start.c: Likewise.
26210 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26211 * sysdeps/x86_64/sysdep.h: Likewise.
26212
df78418a
UD
262132012-01-07 Ulrich Drepper <drepper@gmail.com>
26214
a784e502
UD
26215 [BZ #13553]
26216 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26217 for non-gcc.
26218 * argp/argp-fmtstream.h: Use const instead __const.
26219 * argp/argp.h: Likewise.
26220 * assert/assert.h: Likewise.
26221 * bits/fenv.h: Likewise.
26222 * bits/sched.h: Likewise.
26223 * bits/sigset.h: Likewise.
26224 * bits/sigthread.h: Likewise.
26225 * catgets/nl_types.h: Likewise.
26226 * conform/data/pthread.h-data: Likewise.
26227 * crypt/crypt-private.h: Likewise.
26228 * crypt/crypt.h: Likewise.
26229 * crypt/crypt_util.c: Likewise.
26230 * ctype/ctype.h: Likewise.
26231 * debug/execinfo.h: Likewise.
26232 * debug/mbsnrtowcs_chk.c: Likewise.
26233 * debug/mbsrtowcs_chk.c: Likewise.
26234 * debug/wcsnrtombs_chk.c: Likewise.
26235 * debug/wcsrtombs_chk.c: Likewise.
26236 * debug/wcstombs_chk.c: Likewise.
26237 * dirent/dirent.h: Likewise.
26238 * dlfcn/dlfcn.h: Likewise.
26239 * elf/neededtest4.c: Likewise.
26240 * grp/grp.h: Likewise.
26241 * gshadow/gshadow.h: Likewise.
26242 * iconv/gconv.h: Likewise.
26243 * iconv/gconv_int.h: Likewise.
26244 * iconv/gconv_simple.c: Likewise.
26245 * iconv/iconv.h: Likewise.
26246 * iconv/loop.c: Likewise.
26247 * iconv/skeleton.c: Likewise.
26248 * include/aio.h: Likewise.
26249 * include/aliases.h: Likewise.
26250 * include/argz.h: Likewise.
26251 * include/arpa/inet.h: Likewise.
26252 * include/assert.h: Likewise.
26253 * include/dirent.h: Likewise.
26254 * include/dlfcn.h: Likewise.
26255 * include/execinfo.h: Likewise.
26256 * include/fcntl.h: Likewise.
26257 * include/fenv.h: Likewise.
26258 * include/glob.h: Likewise.
26259 * include/grp.h: Likewise.
26260 * include/libintl.h: Likewise.
26261 * include/mntent.h: Likewise.
26262 * include/netdb.h: Likewise.
26263 * include/pwd.h: Likewise.
26264 * include/rpc/netdb.h: Likewise.
26265 * include/sched.h: Likewise.
26266 * include/search.h: Likewise.
26267 * include/shadow.h: Likewise.
26268 * include/signal.h: Likewise.
26269 * include/stdio.h: Likewise.
26270 * include/stdlib.h: Likewise.
26271 * include/string.h: Likewise.
26272 * include/sys/socket.h: Likewise.
26273 * include/sys/stat.h: Likewise.
26274 * include/sys/statfs.h: Likewise.
26275 * include/sys/statvfs.h: Likewise.
26276 * include/sys/syslog.h: Likewise.
26277 * include/sys/time.h: Likewise.
26278 * include/sys/uio.h: Likewise.
26279 * include/time.h: Likewise.
26280 * include/unistd.h: Likewise.
26281 * include/utmp.h: Likewise.
26282 * include/wchar.h: Likewise.
26283 * include/wctype.h: Likewise.
26284 * inet/aliases.h: Likewise.
26285 * inet/arpa/inet.h: Likewise.
26286 * inet/netinet/ether.h: Likewise.
26287 * inet/netinet/in.h: Likewise.
26288 * intl/libintl.h: Likewise.
26289 * io/bits/fcntl2.h: Likewise.
26290 * io/fcntl.h: Likewise.
26291 * io/ftw.h: Likewise.
26292 * io/sys/poll.h: Likewise.
26293 * io/sys/stat.h: Likewise.
26294 * io/sys/statfs.h: Likewise.
26295 * io/sys/statvfs.h: Likewise.
26296 * io/utime.h: Likewise.
26297 * libio/bits/stdio.h: Likewise.
26298 * libio/bits/stdio2.h: Likewise.
26299 * libio/libio.h: Likewise.
26300 * libio/libioP.h: Likewise.
26301 * libio/stdio.h: Likewise.
26302 * locale/lc-ctype.c: Likewise.
26303 * locale/locale.h: Likewise.
26304 * login/utmp.h: Likewise.
26305 * malloc/arena.c: Likewise.
26306 * malloc/malloc.c: Likewise.
26307 * malloc/malloc.h: Likewise.
26308 * malloc/mcheck.c: Likewise.
26309 * malloc/mtrace.c: Likewise.
26310 * math/bits/mathcalls.h: Likewise.
26311 * math/fenv.h: Likewise.
26312 * math/math_private.h: Likewise.
26313 * misc/bits/error.h: Likewise.
26314 * misc/bits/syslog.h: Likewise.
26315 * misc/err.h: Likewise.
26316 * misc/error.h: Likewise.
26317 * misc/fstab.h: Likewise.
26318 * misc/mntent.h: Likewise.
26319 * misc/regexp.h: Likewise.
26320 * misc/search.h: Likewise.
26321 * misc/sgtty.h: Likewise.
26322 * misc/sys/mman.h: Likewise.
26323 * misc/sys/syslog.h: Likewise.
26324 * misc/sys/uio.h: Likewise.
26325 * misc/sys/xattr.h: Likewise.
26326 * misc/ttyent.h: Likewise.
26327 * nis/rpcsvc/ypclnt.h: Likewise.
26328 * nss/nss.h: Likewise.
26329 * posix/bits/unistd.h: Likewise.
26330 * posix/fnmatch.h: Likewise.
26331 * posix/glob.h: Likewise.
26332 * posix/sched.h: Likewise.
26333 * posix/spawn.h: Likewise.
26334 * posix/sys/wait.h: Likewise.
26335 * posix/unistd.h: Likewise.
26336 * posix/wordexp.h: Likewise.
26337 * pwd/pwd.h: Likewise.
26338 * resolv/netdb.h: Likewise.
26339 * resource/sys/resource.h: Likewise.
26340 * rt/aio.h: Likewise.
26341 * rt/bits/mqueue2.h: Likewise.
26342 * rt/mqueue.h: Likewise.
26343 * shadow/shadow.h: Likewise.
26344 * signal/signal.h: Likewise.
26345 * socket/send.c: Likewise.
26346 * socket/sendto.c: Likewise.
26347 * socket/sys/socket.h: Likewise.
26348 * stdio-common/printf.h: Likewise.
26349 * stdlib/bits/stdlib.h: Likewise.
26350 * stdlib/fmtmsg.h: Likewise.
26351 * stdlib/monetary.h: Likewise.
26352 * stdlib/stdlib.h: Likewise.
26353 * stdlib/ucontext.h: Likewise.
26354 * streams/stropts.h: Likewise.
26355 * string/argz.h: Likewise.
26356 * string/bits/string2.h: Likewise.
26357 * string/string.h: Likewise.
26358 * string/strings.h: Likewise.
26359 * sunrpc/rpc/auth.h: Likewise.
26360 * sunrpc/rpc/auth_des.h: Likewise.
26361 * sunrpc/rpc/clnt.h: Likewise.
26362 * sunrpc/rpc/netdb.h: Likewise.
26363 * sunrpc/rpc/pmap_clnt.h: Likewise.
26364 * sunrpc/rpc/xdr.h: Likewise.
26365 * sysdeps/generic/inttypes.h: Likewise.
26366 * sysdeps/generic/net/if.h: Likewise.
26367 * sysdeps/generic/sys/swap.h: Likewise.
26368 * sysdeps/gnu/net/if.h: Likewise.
26369 * sysdeps/gnu/utmpx.h: Likewise.
26370 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26371 * sysdeps/i386/i486/bits/string.h: Likewise.
26372 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26373 * sysdeps/s390/bits/string.h: Likewise.
26374 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26375 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26376 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26377 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26378 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26379 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26380 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26381 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26382 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26383 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26384 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26385 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26386 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26387 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26388 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26389 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26390 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26392 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26393 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26396 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26397 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26398 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26399 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26401 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26402 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26404 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26405 * sysvipc/sys/ipc.h: Likewise.
26406 * sysvipc/sys/msg.h: Likewise.
26407 * sysvipc/sys/sem.h: Likewise.
26408 * sysvipc/sys/shm.h: Likewise.
26409 * termios/termios.h: Likewise.
26410 * time/sys/time.h: Likewise.
26411 * time/time.h: Likewise.
26412 * wcsmbs/bits/wchar2.h: Likewise.
26413 * wcsmbs/uchar.h: Likewise.
26414 * wcsmbs/wchar.h: Likewise.
26415 * wctype/wctype.h: Likewise.
26416
0269750c
UD
26417 [BZ #13551]
26418 * Makeconfig: Remove all but ELF support including AIX support.
26419 * Makerules: Likewise.
26420 * config.h.in: Likewise.
26421 * config.make.in: Likewise.
26422 * configure: Likewise.
26423 * configure.in: Likewise.
26424 * csu/Makefile: Likewise.
26425 * csu/version.c: Likewise.
26426 * debug/Makefile: Likewise.
26427 * dlfcn/Makefile: Likewise.
26428 * elf/Makefile: Likewise.
26429 * extra-lib.mk: Likewise.
26430 * iconv/Makefile: Likewise.
26431 * include/libc-symbols.h: Likewise.
26432 * include/shlib-compat.h: Likewise.
26433 * resolv/Makefile: Likewise.
26434 * resolv/res_libc.c: Likewise.
26435 * rt/Makefile: Likewise.
26436 * sysdeps/i386/asm-syntax.h: Likewise.
26437 * sysdeps/i386/sysdep.h: Likewise.
26438 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26439 * sysdeps/mach/sysdep.h: Likewise.
26440 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26441 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26442 * sysdeps/s390/asm-syntax.h: Likewise.
26443 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26444 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26445 * sysdeps/sh/sysdep.h: Likewise.
26446 * sysdeps/unix/sparc/sysdep.h: Likewise.
26447 * sysdeps/wordsize-32/divdi3.c: Likewise.
26448 * sysdeps/x86_64/sysdep.h: Likewise.
26449
00bbd29b
UD
26450 * argp/Versions: Remove _argp_unlock_xxx.
26451
26452 [BZ #13559]
26453 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26454 * abilist/libBrokenLocale.abilist: Likewise.
26455 * abilist/libanl.abilist: Likewise.
26456 * abilist/libc.abilist: Likewise.
26457 * abilist/libcrypt.abilist: Likewise.
26458 * abilist/libdl.abilist: Likewise.
26459 * abilist/libm.abilist: Likewise.
26460 * abilist/libnsl.abilist: Likewise.
26461 * abilist/libpthread.abilist: Likewise.
26462 * abilist/libresolv.abilist: Likewise.
26463 * abilist/librt.abilist: Likewise.
26464 * abilist/libthread_db.abilist: Likewise.
26465 * abilist/libutil.abilist: Likewise.
26466 * abilist/libnss_db.abilist: New file.
26467
26468 * scripts/abilist.awk: Add support for indirect functions.
26469
a2693a0e
UD
26470 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26471
3f05895f
UD
26472 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26473
ecb6fb48
UD
26474 * shlib-versions: Remove entries for ports architectures.
26475
664f8cb9
UD
26476 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26477 files in ports.
26478 * elf/stackguard-macros.h: Remove support for IA-64.
26479 * elf/tst-auditmod1.c: Likewise.
26480 * sysdeps/generic/ldsodefs.h: Likewise.
26481
7ae81d88
UD
26482 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26483 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26484 configure files.
26485
bdeba135
UD
26486 [BZ #13552]
26487 * configure.in: Remove --enable-omitfp support.
26488 * FAQ.in: Adjust.
26489 * config.make.in: Likewise.
26490 * Makeconfig: Likewise.
26491 * manual/install.texi: Likewise.
26492
d75a0a62
UD
26493 In case anyone cares, the IA-64 architecture could move to ports.
26494 * sysdeps/ia64/*: Removed.
26495 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26496 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26497
dcc9756b
UD
26498 [BZ #13555]
26499 * configure.in: Remove entries for unsupported architectures.
26500
d3761ebc 26501 [BZ #13533]
9954432e
UD
26502 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26503 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26504 routines.
26505 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26506 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26507 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26508 fall back to using wcrtomb.
26509 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26510 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26511 renaming.
26512 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26513 * wcsmbs/tst-c16c32-1.c: New file.
26514
26515 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26516 local variable.
26517
c3a87236
UD
26518 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26519
28926a1b
UD
26520 * elf/tst-unique3.cc: Add explicit declaration of gets.
26521 * elf/tst-unique3lib.cc: Likewise.
26522 * elf/tst-unique3lib2.cc: Likewise.
26523 * elf/tst-unique4.cc: Likewise.
26524
df78418a
UD
26525 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26526
8ecd6b2a
JM
265272012-01-06 Joseph Myers <joseph@codesourcery.com>
26528
26529 [BZ #13566]
26530 * assert/assert.h (static_assert): Don't define for C++.
26531 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26532 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26533
9f115170
UD
265342012-01-03 Ulrich Drepper <drepper@gmail.com>
26535
5e0d0300
UD
26536 * iconv/loop.c (single loop): Fix assertion in storing of
26537 remaining bytes.
26538
9f115170
UD
26539 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26540
81fb02b0
UD
265412012-01-01 Ulrich Drepper <drepper@gmail.com>
26542
26543 * posix/getconf.c: Update copyright year.
26544 * nss/getent.c: Likewise.
a316c1f6 26545 * nss/makedb.c: Likewise.
81fb02b0
UD
26546 * iconv/iconvconfig.c: Likewise.
26547 * iconv/iconv_prog.c: Likewise.
26548 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26549 * elf/pldd.c: Likewise.
26550 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26551 * catgets/gencat.c: Likewise.
26552 * csu/version.c: Likewise.
26553 * elf/ldd.bash.in: Likewise.
26554 * elf/sprof.c (print_version): Likewise.
26555 * locale/programs/locale.c: Likewise.
26556 * locale/programs/localedef.c: Likewise.
a316c1f6 26557 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26558 * nscd/nscd.c (print_version): Likewise.
26559 * debug/xtrace.sh: Likewise.
26560 * malloc/memusage.sh: Likewise.
26561 * malloc/mtrace.pl: Likewise.
26562 * debug/catchsegv.sh: Likewise.
26563
2ba92745
JJ
265642011-12-30 Jakub Jelinek <jakub@redhat.com>
26565
26566 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26567 pure attribute.
26568
dadebdae
UD
265692011-12-24 Ulrich Drepper <drepper@gmail.com>
26570
d3761ebc 26571 [BZ #13533]
db6af3eb
UD
26572 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26573 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26574 transformations.
26575 * iconv/gconv_int.h: Likewise.
26576 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26577 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26578 from libc for GLIBC_2.16.
26579 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26580 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26581 * wcsmbs/uchar.h: Really define mbstate_t.
26582 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26583 * wcsmbs/c16rtomb.c: New file.
26584 * wcsmbs/mbrtoc16.c: New file.
26585 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26586 for C/POSIX locale.
26587 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26588 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26589
dadebdae
UD
26590 * wcsmbs/wchar.h: Add missing __restrict.
26591
67371b56
UD
265922011-12-23 Ulrich Drepper <drepper@gmail.com>
26593
74033a25
UD
26594 [BZ #13532]
26595 * time/Makefile (routines): Add timespec_get.
26596 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26597 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26598 timespec for ISO C11.
26599 * time/timespec_get.c: New file.
26600 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26601 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26602
380d7e87
UD
26603 [BZ #13531]
26604 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26605 * stdlib/stdlib.h: Declare aligned_alloc.
26606 * Versions.def: Add GLIBC_2.16 for libc.
26607 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26608
4e9e7a35
UD
26609 [BZ 13527]
26610 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26611 ISO C11.
26612
380d7e87 26613 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26614 code.
26615
03a71829
UD
26616 [BZ #13528]
26617 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26618
839e283e
UD
26619 [BZ #13529]
26620 * assert/assert.h (static_assert): Define.
26621
ce5294e2 26622 * version.h: Update for 2.16 development version.
90fa7312 26623
8d44e150 26624 [BZ #13526]
d7809905
UD
26625 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26626 _ISOC11_SOURCE.
26627
c0da14cd
UD
26628 * version.h (RELEASE): Bump for 2.15 release.
26629 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26630
530a3249
MP
26631 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26632 Patch by Marek Polacek <mpolacek@redhat.com>.
26633
67371b56
UD
26634 * bits/byteswap.h: Protect long long constants with __extension__.
26635 * sysdeps/i386/bits/byteswap.h: Likewise.
26636 * sysdeps/ia64/bits/byteswap.h: Likewise.
26637 * sysdeps/s390/bits/byteswap.h: Likewise.
26638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26639
15db4de1
LD
266402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26641
26642 [BZ #13540]
bbe315ea
LD
26643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26644 destination buffer.
15db4de1
LD
26645 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26646
2b2596b1
MP
266472011-12-23 Marek Polacek <polacek@redhat.com>
26648
26649 * elf/dl-addr.c (determine_info): Add inline keyword.
26650 * elf/tst-auditmod4b.c (check_avx): Likewise.
26651 * elf/tst-auditmod6b.c (check_avx): Likewise.
26652 * elf/tst-auditmod6c.c (check_avx): Likewise.
26653 * elf/tst-auditmod7b.c (check_avx): Likewise.
26654
70c6c246
UD
266552011-12-23 Ulrich Drepper <drepper@gmail.com>
26656
26657 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26658 !__SSE_MATH__.
26659
c044cf14
LD
266602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26661
15db4de1 26662 [BZ #13540]
c044cf14
LD
26663 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26664 processing for last bytes.
26665
6b13d9d9
BH
266662011-08-06 Bruno Haible <bruno@clisp.org>
26667
d455f537
BH
26668 [BZ #13061]
26669 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26670 U+0385, not to U+1FEE.
26671
6b13d9d9
BH
26672 [BZ #13062]
26673 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26674 entry for U+00A5 U+0301.
26675
db910efd
UD
266762011-12-22 Ulrich Drepper <drepper@gmail.com>
26677
27deeafc
UD
26678 [BZ #13166]
26679 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26680 buffer for the output is too small.
26681
aed9d171
UD
26682 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26683 optimization.
26684
db910efd
UD
26685 [BZ #13185]
26686 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26687 SSE flags if possible.
26688
2bd779ae
LD
266892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26690
e7f9dac3 26691 [BZ #13540]
2bd779ae
LD
26692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26693 processing for last bytes.
26694
154bfc16
JM
266952011-12-22 Joseph Myers <joseph@codesourcery.com>
26696
26697 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26698 (syscall-list-default-options, syscall-list-default-condition)
26699 (syscall-list-includes): Define.
26700 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26701 list of ABIs and options and #if conditions for each ABI. Do not
26702 handle common syscalls between ABIs specially.
26703 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26704 Remove.
26705 (syscall-list-variants, syscall-list-32bit-options)
26706 (syscall-list-32bit-condition, syscall-list-64bit-options)
26707 (syscall-list-64bit-condition): Define.
26708 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26709 (syscall-list-variants, syscall-list-32bit-options)
26710 (syscall-list-32bit-condition, syscall-list-64bit-options)
26711 (syscall-list-64bit-condition): Define.
26712 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26713 Remove.
26714 (syscall-list-variants, syscall-list-32bit-options)
26715 (syscall-list-32bit-condition, syscall-list-64bit-options)
26716 (syscall-list-64bit-condition): Define.
26717 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26718 Remove.
26719 (syscall-list-variants, syscall-list-32bit-options)
26720 (syscall-list-32bit-condition, syscall-list-64bit-options)
26721 (syscall-list-64bit-condition): Define.
26722
21eaf3a5
UD
267232011-12-22 Ulrich Drepper <drepper@gmail.com>
26724
16c6f992
UD
26725 * locale/iso-639.def: Add brx entry.
26726
41043168
UD
26727 [BZ #13328]
26728 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26729 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26730
21eaf3a5
UD
26731 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26732 __feraiseexcept_renamed.
26733
e3a851a2
UD
267342011-12-21 Ulrich Drepper <drepper@gmail.com>
26735
4920765e
UD
26736 [BZ #13538]
26737 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26738 EPOLLET with unsigned values.
26739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26741
e3a851a2
UD
26742 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26743 to large cancellation.
26744 * math/s_cacoshf.c: Likewise.
26745 * math/s_cacoshl.c: Likewise.
26746
b27e24b8
RK
267472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26748
26749 [BZ #13305]
aebefeee 26750 [BZ #12786]
b27e24b8
RK
26751 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26752 * math/s_cacoshf.c: Likewise.
26753 * math/s_cacoshl.c: Likewise.
26754
ee190f67
UD
267552011-12-21 Ulrich Drepper <drepper@gmail.com>
26756
26757 [BZ #13439]
26758 * iconv/gconv.h: Define __GCONV_SWAP.
26759 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26760 * iconvdata/utf-16.c: Likewise.
26761 * iconvdata/utf-32.c: Likewise.
26762
707f25df
AS
267632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26764
26765 [BZ #13524]
26766 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26767 numerator after shifting it by one limb.
26768
d2daaa1e
RÁE
267692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26770
26771 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26772 under [__USE_EXTERN_INLINES].
26773
a4647e72
UD
267742011-12-17 Ulrich Drepper <drepper@gmail.com>
26775
26776 [BZ #13446]
26777 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26778
f0b264f1
AZ
267792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26780
26781 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26782 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26783 optimized code.
26784 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26785 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26786 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26787 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26788 for strncasecmp/strncasecmp_l compilation.
26789 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26790 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26791
8ef4f244
MP
267922011-12-08 Marek Polacek <mpolacek@redhat.com>
26793
26794 [BZ #13484]
26795 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26796 of __asm__.
26797
97ac2654
UD
267982011-12-17 Ulrich Drepper <drepper@gmail.com>
26799
26800 [BZ #13506]
26801 * time/tzfile.c (__tzfile_read): Check values from file header.
26802
91d2a845
WS
268032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26804
26805 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26806 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26807 * powerpc/powerpc32/dl-start.S: Likewise.
26808 * powerpc/powerpc32/elf/start.S: Likewise.
26809 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26810 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26811 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26812 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26813 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26814 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26815 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26816 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26817 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26818 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26819 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26820 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26821 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26822 * powerpc/powerpc32/memset.S: Likewise.
26823 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26824 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26825 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26826 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26827 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26828 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26829 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26830 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26831 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26832 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26833 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26834 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26835 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26836
a1267ba1
AZ
268372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838
26839 * math/libm-test.inc: Added more nearbyint tests.
26840 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26841 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26842 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26843 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26844
ad8ac1bd
RL
268452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26846
26847 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26848 FD_CLOEXEC.
26849
1d3e4b61
UD
268502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26851
26852 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26853 Add wcscpy-ssse3 wcscpy-c.
26854 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26855 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26856 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26857 * sysdeps/x86_64/wcschr.S: New file.
26858 * sysdeps/x86_64/wcsrchr.S: New file.
26859 * string/test-strcmp.c: Remove checking of wcscmp function for
26860 wrong alignments.
26861 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26862 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26863 wcsrchr-sse2 wcsrchr-c.
26864 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26865 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26866 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26867 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26868 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26869 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26870 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26871 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26872 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26873 * wcsmbc/wcschr.c (WCSCHR): New macro.
26874
5b330a2d
UD
268752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26876
26877 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26878 * wcsmbs/test-wcsrchr.c: New file.
26879 * string/test-strrchr.c: Add wcsrchr support.
26880 (WIDE): New macro.
26881 * wcsmbs/test-wcscpy.c: New file.
26882 * string/test-strcpy.c: Add wcscpy support.
26883 (WIDE): New macro.
26428b7c 26884
f039c043
UD
268852011-12-10 Ulrich Drepper <drepper@gmail.com>
26886
26887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26888 the inner loop.
26889
850fb039
AS
268902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26891
26892 [BZ #13472]
26893 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26894
4efbd5cb
UD
268952011-12-04 Ulrich Drepper <drepper@gmail.com>
26896
52ff5dd0 26897 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26898 Minor optimizations.
52ff5dd0 26899
4efbd5cb
UD
26900 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26901 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26902 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26903
8a426e12
UD
269042011-12-03 Ulrich Drepper <drepper@gmail.com>
26905
aff2453d
UD
26906 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26907 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26908 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26909 for gcc to avoid warnings.
26910 * inet/Makefile (tests): Add tst-checks.
26911 * inet/tst-checks.c: New file.
26912
26913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26914 warning.
26915
26916 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26917 __wmemcmp_sse2.
26918
26919 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26920 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26921
8a426e12
UD
26922 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26923
9bea3473
UD
269242011-12-02 Ulrich Drepper <drepper@gmail.com>
26925
3a965496
UD
26926 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26927 problem.
26928
9bea3473
UD
26929 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26930
f101631b
UD
269312011-11-29 Joseph Myers <joseph@codesourcery.com>
26932
26933 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26934 conditional on GCC version.
26935 (__arch_compare_and_exchange_val_8_acq)
26936 (__arch_compare_and_exchange_val_16_acq)
26937 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26938 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26939 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26940
a98275aa
UD
269412011-12-02 Joseph Myers <joseph@codesourcery.com>
26942
26943 * sysdeps/sh/backtrace.c: New file.
26944
d4cc29a2
AS
269452011-12-02 Andreas Schwab <schwab@redhat.com>
26946
26947 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26948 parenthesis.
26949
6257af2d
AS
269502011-12-01 Andreas Schwab <schwab@redhat.com>
26951
26952 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26953 falling back to utime.
26954
b5f44c1a
AS
269552011-11-30 Andreas Schwab <schwab@redhat.com>
26956
26957 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26958 expectations for float.
26959
f3a6cc0a
AS
269602011-11-29 Andreas Schwab <schwab@redhat.com>
26961
26962 * locale/weight.h (findidx): Add parameter len.
26963 * locale/weightwc.h (findidx): Likewise.
26964 * posix/fnmatch_loop.c (FCT): Adjust caller.
26965 * posix/regcomp.c (build_equiv_class): Likewise.
26966 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26967 * posix/regexec.c (check_node_accept_bytes): Likewise.
26968 * string/strcoll_l.c (STRCOLL): Likewise.
26969 * string/strxfrm_l.c (STRXFRM): Likewise.
26970
9d65ea3a
UD
269712011-11-17 Ulrich Drepper <drepper@gmail.com>
26972
26973 * Makefile.in: Remove CVSOPT handling.
26974 * configure.in: Remove use of AC_REVISION.
26975 * iconvdata/Makefile (distribute): No need to filter out CVS.
26976 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26977 handling.
26978
5583a086
AS
269792011-11-16 Andreas Schwab <schwab@redhat.com>
26980
26981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26982 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26983 [USE_AS_STRNCASECMP_L]: Likewise.
26984 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26985 NO_TLS_DIRECT_SEG_REFS.
26986 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26987 Fix argument offsets for non-PIC.
26988 [USE_AS_STRNCASECMP_L]: Likewise.
26989 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26990 NO_TLS_DIRECT_SEG_REFS.
26991
d62a8200
UD
269922011-11-15 Ulrich Drepper <drepper@gmail.com>
26993
9d65ea3a 26994 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26995 O_CLOEXEC.
26996 * locale/loadlocale.c (_nl_load_locale): Likewise.
26997
09f93bd3
AS
269982011-11-15 Andreas Schwab <schwab@redhat.com>
26999
446514f9
AS
27000 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27001 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27003 (SYSCALL_GETTIME): Set errno on error.
27004
09f93bd3
AS
27005 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27006 count references to noai6ai_cached.
27007
312be3f9
UD
270082011-11-15 Ulrich Drepper <drepper@gmail.com>
27009
27010 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27011
27012 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27013 FD_CLOEXEC for /proc/self/maps.
27014
27015 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27016 FD_CLOEXEC for /proc/meminfo.
27017
27018 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27019 gai.conf.
27020
27021 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27022 FD_CLOEXEC for given file.
27023
27024 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27025
27026 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27027 FD_CLOEXEC for /etc/hosts.
27028 (_gethtent): Likewise.
27029
27030 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27031
27032 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27033 cancellation and set FD_CLOEXEC for /etc/netgroup.
27034
27035 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27036 reading /etc/publickey.
27037
27038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27039 allow cancellation when reading /etc/group.
27040
27041 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27042 cancellation.
27043 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27044
27045 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27046 when using data file.
27047
27048 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27049
27050 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27051 (write_nis_obj): Use "c" and "e" in fopen.
27052
27053 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27054
27055 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27056
27057 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27058
27059 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27060
27061 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27062 locale.alias.
27063
27064 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27065
27066 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27067
27068 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27069
27070 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27071 file parsing and set FD_CLOEXEC.
27072
82af0fa8
UD
270732011-11-14 Ulrich Drepper <drepper@gmail.com>
27074
27075 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27076
a5fb313c
AS
270772011-11-14 Andreas Schwab <schwab@redhat.com>
27078
27079 * malloc/arena.c (arena_get2): Don't call reused_arena when
27080 _int_new_arena failed.
27081
6abf3465
UD
270822011-11-14 Ulrich Drepper <drepper@gmail.com>
27083
27084 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27085 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27087 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27088 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27089 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27090 to compile strcasecmp and strncasecmp.
27091 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27092 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27093
27094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27095
76e3966e
UD
270962011-11-13 Ulrich Drepper <drepper@gmail.com>
27097
27098 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27099 locale-defines.sym to gen-as-const-headers.
27100 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27101 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27103 to compile strcasecmp and strncasecmp.
27104 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27105 strcasecmp_l and strncasecmp_l.
27106 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27107 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27108 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27109 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27110 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27111 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27112 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27113 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27114 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27115 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27116 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27117
ab26144e
UD
271182011-11-12 Ulrich Drepper <drepper@gmail.com>
27119
7edb22ef
UD
27120 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27121 result of SYSDEP_GETTIME_CPU to retval.
27122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27123 parameter list to macro. Remove trailing semicolon. Adjust users.
27124
9694fc44
UD
27125 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27126 variable.
27127
8ad89ef8
UD
27128 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27129 mantissa words.
27130 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27131
0c822ef9
UD
27132 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27133 from unused variable.
27134
874e0564
UD
27135 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27136 DWARF definitions.
27137 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27138 for assembling.
27139
3a2edc79
UD
27140 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27141 over namespaces.
27142
f3c2577f
UD
27143 * sunrpc/rpc_prot.c (rejected): Fix case value.
27144
294ce126
UD
27145 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27146 unsigned long long int to avoid warnings in shift.
27147
5e2b63c6
UD
27148 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27149 of use of trans.
27150 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27151 variable tmp.
27152
e7f4b08e
UD
27153 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27154 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27155 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27156
ab26144e
UD
27157 * nis/nis_table.c (nis_list): Use variable of correct type for
27158 result of __follow_path call.
27159
8a6d5255
AZ
271602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27163 of math functions ceil, trunc, floor, round, and sqrt, when
27164 avaliable on the platform.
27165 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27166 name clash.
27167 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27168 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27169 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27170
aaddc98c
MP
271712011-10-30 Marek Polacek <mpolacek@redhat.com>
27172
27173 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27174 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27175
95b7042b
RM
271762011-11-11 Roland McGrath <roland@hack.frob.com>
27177
27178 * include/unistd.h: Fix __readlink return type.
27179 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27180
57769839
UD
271812011-11-11 Ulrich Drepper <drepper@gmail.com>
27182
27183 * stdlib/ucontext.h: Undo last change for makecontext.
27184
edc5984d
AS
271852011-11-11 Andreas Schwab <schwab@redhat.com>
27186
98591e58
AS
27187 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27188
edc5984d
AS
27189 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27190 * setjmp/setjmp.h: Mark functions as non-leaf.
27191 * setjmp/bits/setjmp2.h: Likewise.
27192 * stdlib/ucontext.h: Likewise.
27193
77cdc054
AS
271942011-11-10 Andreas Schwab <schwab@redhat.com>
27195
27196 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27197 (reused_arena): Don't check arena limit.
27198 (arena_get2): Atomically check arena limit.
27199
fe72eebd
UD
272002011-11-08 Ulrich Drepper <drepper@gmail.com>
27201
5f078c32
UD
27202 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27203 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27204
fe72eebd
UD
27205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27206 instructions.
27207
ae1bc2fa
AS
272082011-11-07 Andreas Schwab <schwab@redhat.com>
27209
7583a88d
AS
27210 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27211 handler when locking.
27212
ae1bc2fa
AS
27213 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27214 Fix size of allocated buffer.
27215
10fb0bfa
AS
272162011-11-04 Andreas Schwab <schwab@redhat.com>
27217
998832a4
AS
27218 [BZ #10103]
27219 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27220 declarations for long double functions.
27221 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27222
10fb0bfa
AS
27223 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27224
3d7ba52b
AS
272252011-11-03 Andreas Schwab <schwab@redhat.com>
27226
a9ae54a1
AS
27227 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27228 installed.
27229
3d7ba52b
AS
27230 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27231 is disabled.
27232
bc8db248
ST
272332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27234
27235 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27236
45b96dd6
AS
272372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27238
647776f6
AS
27239 * include/alloca.h (stackinfo_alloca_round): Define.
27240 (extend_alloca): Use it.
27241 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27242 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27243 here.
27244
d91a8b93
AS
27245 * scripts/check-local-headers.sh: Ignore libaudit.h.
27246
45b96dd6
AS
27247 * nscd/Makefile (extra-objs): Make recursively expanded.
27248
432d41ce
UD
272492011-11-01 Ulrich Drepper <drepper@gmail.com>
27250
34372fc6
UD
27251 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27252 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27253
fadb59f8
UD
27254 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27255 * posix/tst-rfc3484-2.c: Likewise.
27256 * posix/tst-rfc3484-3.c: Likewise.
27257
78239589
UD
27258 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27259 process_vm_writev.
27260 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27261 process_vm_writev.
27262 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27263 process_vm_writev from libc using GLIBC_2.15 version.
27264
432d41ce
UD
27265 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27266
02f9c6cf
PP
272672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27268
27269 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27270 stack usage.
27271
3a2c0242
UD
272722011-10-31 Ulrich Drepper <drepper@gmail.com>
27273
f4ec4833
UD
27274 [BZ #13367]
27275 * nss/getent.c (initgroups_keys): Show error message in case no group
27276 names are given.
27277
3a2c0242
UD
27278 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27279 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27280 __bump_nl_timestamp.
27281 * nscd/connections (nscd_init): When host database is served open
27282 netlink socket and request notification about configuration changes.
27283 (main_loop_poll): Track netlink file descriptor and bump timestamp
27284 in case data becomes available.
27285 (main_loop_epoll): Likewise.
27286 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27287 (database_pers_head): Add extra_data fileds.
27288 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27289 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27290 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27291 Adjust caller.
27292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27293 in6ai data, call __free_in6ai.
27294 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27295 Add -DHAVE_NETLINK.
27296 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27297 interface information. Reuse previous data if netlink timestamp
27298 is not changed.
27299 (__bump_nl_timestamp): New function.
27300 (__free_in6ai): New function.
27301
636064eb
UD
273022011-10-30 Ulrich Drepper <drepper@gmail.com>
27303
27304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27305 close_not_cancel_no_status here.
27306 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27307
9beb2334
UD
273082011-10-29 Ulrich Drepper <drepper@gmail.com>
27309
6ef76f3b
UD
27310 [BZ #13276]
27311 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27312 return value.
27313
0ffc4f3e 27314 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27315 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27316 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27317
cb95113e
UD
273182011-07-03 Andreas Jaeger <aj@suse.de>
27319
27320 [BZ #10709]
27321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27322 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27323 * math/libm-test.inc (sin_test): Add test case.
27324
a1b560ff
UD
273252011-10-29 Ulrich Drepper <drepper@gmail.com>
27326
c9aaface
UD
27327 [BZ #13337]
27328 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27329 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27330
d272e7f1
UD
27331 * elf/chroot_canon.c (chroot_canon): Cleanups.
27332
1bc33071
UD
27333 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27334
1760874d
TJ
27335 [BZ #13335]
27336 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27337 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27338
51d91b18
UD
27339 * string/test-strchr.c: Make usable for strchrnul testing.
27340 * string/test-strchrnul.c: New file.
27341 * string/Makefile (strop-tests): Add strchrnul.
27342
a1b560ff 27343 * po/it.po: Update from translation team.
b611fb81 27344 * po/es.po: Likewise.
a1b560ff 27345
a5b81e1f
UD
273462011-10-28 Ulrich Drepper <drepper@gmail.com>
27347
fd52bc6d
UD
27348 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27349 the three constants needed as parameters. Drop the others.
27350 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27351 __m128i_strloadu_tolower.
52e4b9eb
UD
27352 Create and initialize variable zero and use it in all the places
27353 where _mm_setzero_si128 was used.
fd52bc6d 27354
a5b81e1f
UD
27355 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27356 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27357 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27358 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27359 anymore.
27360 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27361 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27362 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27363 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27364 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27365 __mpranred, __mptan.
27366 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27367 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27368 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27369 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27370 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27371 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27373 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27374 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27375
b4343346
AS
273762011-10-28 Andreas Schwab <schwab@redhat.com>
27377
0c92d8a8
AS
27378 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27379 redefine if SHARED.
27380 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27381
b4343346
AS
27382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27383 wide char related routines to wcsmbs subdir.
27384
3871f58f
AS
273852011-10-27 Andreas Schwab <schwab@redhat.com>
27386
27387 [BZ #13344]
27388 * misc/sys/cdefs.h (__THROWNL): Define.
27389 * posix/unistd.h: Use __THREADNL instead of __THREAD
27390 for memory synchronization functions.
27391
94d44d9f
RM
273922011-10-26 Roland McGrath <roland@hack.frob.com>
27393
21b64b15 27394 [BZ #13349]
94d44d9f
RM
27395 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27396 doesn't exist.
27397 * manual/stdio.texi (Obstack Streams): Node removed.
27398
f6ce9294
AS
273992011-10-26 Andreas Schwab <schwab@redhat.com>
27400
80479147
AS
27401 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27402 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27403 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27404
f6ce9294
AS
27405 * math/math_private.h (math_force_eval): Allow non-addressable
27406 arguments.
27407 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27408
618280a1
UD
274092011-10-25 Ulrich Drepper <drepper@gmail.com>
27410
e0016b11
UD
27411 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27412 file is not needed.
27413
27414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27415 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27417 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27419 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27420 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27421 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27422 Add AVX variants.
27423 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27424 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27425 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27426 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27427 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27428 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27430 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27432 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27434 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27436 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27440 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27442
27443 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27444 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27445
618280a1
UD
27446 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27447 place. Use VEX encoding when compiling for AVX.
27448
37822576
AS
274492011-10-25 Andreas Schwab <schwab@redhat.com>
27450
1f1e1947
AS
27451 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27452 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27453
37822576
AS
27454 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27455
31ea014d
UD
274562011-10-25 Ulrich Drepper <drepper@gmail.com>
27457
d7826aa1 27458 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27459 useless if() expression.
d7826aa1
UD
27460 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27464 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27471 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27472 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27474 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27476 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27478 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27479
31ea014d
UD
27480 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27481
16437fec
AS
274822011-10-25 Andreas Schwab <schwab@redhat.com>
27483
27484 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27485 condition.
27486 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27487
31d3cc00
UD
274882011-10-25 Ulrich Drepper <drepper@gmail.com>
27489
27490 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27491 .text section. Avoid duplicate constants.
27492 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27502 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27504 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27506 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27507 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27509 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27515 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27516 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27517 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27518 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27519 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27520 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27522 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27523 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27524 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27525 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27526 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27527 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27528 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27530 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27531 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27532 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27534 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27535 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27536 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27537
58985aa9
UD
275382011-10-24 Ulrich Drepper <drepper@gmail.com>
27539
202c9deb
UD
27540 * sysdeps/x86_64/dla.h: Move to ...
27541 * sysdeps/x86_64/fpu/dla.h: ...here.
27542 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27543 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27544
af968f62
UD
27545 * config.make.in: Add have-mfma4 entry.
27546 * configure.in: Substitute libc_cv_cc_fma4.
27547 * math/Makefile (dbl-only-routines): Add sincostab.
27548 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27549 Use __sincostab not sincos.
27550 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27551 name is a macro.
27552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27556 using __copysign.
27557 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27558 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27559 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27560 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27561 and __inv.
27562 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27563 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27564 __copysign.
27565 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27566 define aliases when function name is a macro.
27567 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27568 sysdeps/ieee754/dbl-64/sincos.tbl.
27569 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27570 fma4-enabled routines.
27571 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27573 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27577 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27579 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27580 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27581 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27582 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27583 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27584 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27585 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27586 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27587 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27589 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27591 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27592 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27593 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27594 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27595 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27596 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27599 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27600 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27601
58985aa9
UD
27602 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27603 rename.
27604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27612
a201fbcf
AS
276132011-10-24 Andreas Schwab <schwab@redhat.com>
27614
27615 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27616
fc2ee42a
LD
276172011-10-23 Ulrich Drepper <drepper@gmail.com>
27618
bb3129bd
UD
27619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27620
0275fff8
UD
27621 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27622 prediction.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27624
2fa2ae85
UD
27625 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27626 Remove unused variable magic_bits.
27627 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27628
fc2ee42a
LD
27629 * string/strnlen.c: Define and use STRNLEN macro.
27630 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27631 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27632 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27633 * wcsmbs/wcslen.c: Define and use WCSLEN.
27634 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27635 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27636 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27637 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27638 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27639 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27641
ce7dd29f
LD
276422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27643
27644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27645 strnlen-sse2-no-bsf.
27646 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27648 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27649 Add strnlen support.
27650 (USE_AS_STRNLEN): New macro.
27651 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27652 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27653 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27654 * sysdeps/x86_64/wcslen.S: New file.
27655
979c70a3
MZ
276562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27657
27658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27659 XMM-moves are used for copying on small sizes.
27660
2d09f82f
LD
276612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27662
27663 * wcsmbs/Makefile (strop-tests): Add wcschr.
27664 * wcsmbs/test-wcschr.c: New file.
27665 * string/test-strchr.c: Update.
27666 Add wcschr support.
27667 (WIDE): New macro.
27668
619fccca
LD
276692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27670
2d09f82f 27671 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27672 * wcsmbs/test-wcslen.c: New file.
27673 * string/test-strlen.c: Update.
27674 Add wcslen support.
27675 (WIDE): New macro.
27676
09f699ea
UD
276772011-10-23 Ulrich Drepper <drepper@gmail.com>
27678
27679 * po/it.po: Update from translation team.
27680
95584d3b
LD
276812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27682
27683 * sysdeps/x86_64/wcscmp.S: Update.
27684 Fix wrong comparison semantics.
27685 wcscmp shall use signed comparison not unsigned.
27686 Don't use substraction to avoid overflow bug.
27687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27688 * wcsmbc/wcscmp.c: Likewise.
27689 * string/test-strcmp.c: Likewise.
27690 Add new tests to check cases with negative values.
27691
c8b3296b
UD
276922011-10-23 Ulrich Drepper <drepper@gmail.com>
27693
27694 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27695 * sysdeps/x86_64/dla.h: ...here. New file.
27696 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27705
246ad57a
AS
277062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27707
27708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27709 __ynl_finite aliases.
27710
a1a87169
UD
277112011-10-22 Ulrich Drepper <drepper@gmail.com>
27712
0d355eb7
UD
27713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27714
a1a87169
UD
27715 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27716 define DLA_FMA.
27717 [DLA_FMA] (EMULV): Use DLA_FMA.
27718 [DLA_FMA] (MUL12): Use EMULV.
27719 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27720 that are not needed.
27721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27728
ee2aafe0
AS
277292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27730
27731 * math/s_nan.c: Undef __nan.
27732 * math/s_nanf.c: Undef __nanf.
27733 * math/s_nanl.c: Undef __nanl.
27734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27735 "math_private.h".
27736
bc62c2fb
UD
277372011-10-22 Ulrich Drepper <drepper@gmail.com>
27738
77425c63
UD
27739 * math/s_catan.c: Add branch predictions.
27740 * math/s_catanf.c: Likewise.
27741 * math/s_catanh.c: Likewise.
27742 * math/s_catanhf.c: Likewise.
27743 * math/s_catanhl.c: Likewise.
27744 * math/s_catanl.c: Likewise.
27745 * math/s_cexp.c: Likewise.
27746 * math/s_cexpf.c: Likewise.
27747 * math/s_cexpl.c: Likewise.
27748 * math/s_clog.c: Likewise.
27749 * math/s_clog10.c: Likewise.
27750 * math/s_clog10f.c: Likewise.
27751 * math/s_clog10l.c: Likewise.
27752 * math/s_clogf.c: Likewise.
27753 * math/s_clogl.c: Likewise.
27754 * math/s_csqrt.c: Likewise.
27755 * math/s_csqrtf.c: Likewise.
27756 * math/s_csqrtl.c: Likewise.
27757 * math/s_ctanf.c: Likewise.
27758 * math/s_ctanh.c: Likewise.
27759 * math/s_ctanhf.c: Likewise.
27760 * math/s_ctanhl.c: Likewise.
27761 * math/s_ctanl.c: Likewise.
27762
bc62c2fb
UD
27763 * math/math_private.h: Define __nan, __nanf, __nanl.
27764 * math/s_cacosh.c: Include <math_private.h>.
27765 * math/s_cacoshl.c: Likewise.
27766 * math/s_casinh.c: Likewise.
27767 * math/s_casinhf.c: Likewise.
27768 * math/s_casinhl.c: Likewise.
27769 * math/s_ccos.c: Rely entire on ccosh.
27770 * math/s_ccosf.c: Rely entire on ccoshf.
27771 * math/s_ccosl.c: Rely entirely on ccoshl.
27772 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27773 Remove tests for FE_INVALID.
27774 * math/s_ccoshf.c: Likewise.
27775 * math/s_ccoshl.c: Likewise.
27776 * math/s_csin.c: Likewise.
27777 * math/s_csinf.c: Likewise.
27778 * math/s_csinh.c Likewise.
27779 * math/s_csinhf.c: Likewise.
27780 * math/s_csinhl.c: Likewise.
27781 * math/s_csinl.c: Likewise.
27782 * math/s_ctan.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27784 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27785 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27786
8ec250a4
UD
277872011-10-21 Ulrich Drepper <drepper@gmail.com>
27788
c196fed8
UD
27789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27790 compilation problems.
27791
8ec250a4
UD
27792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27793 __builtin_expect.
27794
8d4f46c6
UD
277952011-10-20 Ulrich Drepper <drepper@gmail.com>
27796
ed72b654
UD
27797 * sysdeps/i386/configure.in: Test for -mfma4 option.
27798 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27799 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27800 COMMON_CPUID_INDEX_80000001.
27801 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27802 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27803 use it if FMA3 is not supported.
27804 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27805
8d4f46c6
UD
27806 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27807 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27808
d45c60c2
AS
278092011-10-20 Andreas Schwab <schwab@redhat.com>
27810
27811 [BZ #12892]
27812 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27813 it would create a cycle with a link time dependency.
27814
d9a4d2ab
UD
278152011-10-19 Ulrich Drepper <drepper@gmail.com>
27816
855d1560
UD
27817 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27818 instruction.
27819 * string/Makefile (strop-tests): Add rawmemchr.
27820 * string/test-rawmemchr.c: New file.
27821
d9a4d2ab
UD
27822 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27824 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27825 when compiling str{,n}casecmp and when AVX is available. Hook up
27826 new optimized code in initializers.
27827
8f3b1ffe
AS
278282011-10-19 Andreas Schwab <schwab@redhat.com>
27829
27830 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27831 __feraiseexcept instead of feraiseexcept.
27832
d38f1dba
UD
278332011-10-18 Ulrich Drepper <drepper@gmail.com>
27834
d9a8d0ab
UD
27835 * math/math_private.h: Define defaults for libc_fetestexcept and
27836 libc_feupdateenv.
27837 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27838 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27840 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27841 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27842 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27843 libc_fetestexcept and libc_feupdateenv.
27844
4855e3dd
UD
27845 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27846 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27847 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27848 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27849 libc_feholdexcept_setround.
27850
581d30e3
UD
27851 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27852 Add s_nearbyint-c and s_nearbyintf-c.
27853 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27854 nearbyintf inlines.
27855 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27856 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27857 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27858 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27859
d38f1dba
UD
27860 * math/math_private.h: Define defaults for libc_fegetround,
27861 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27862 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27863 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27864 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27865 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27866 standard functions.
27867 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27868 Remove comments and hacks for old compiler versions.
27869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27870 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27871 libc_feholdexceptl.
27872
caa6c9d8
AS
278732011-10-18 Andreas Schwab <schwab@redhat.com>
27874
27875 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27876 (__feraiseexcept_renamed): Add __NTH.
27877 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27878 namespace violations.
27879
97c066e6
UD
278802011-10-17 Ulrich Drepper <drepper@gmail.com>
27881
99ce7b04
UD
27882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27883
1004d182
UD
27884 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27885
228a984d
UD
27886 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27887 recently added interfaces.
27888 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27889
c8553a6a
UD
27890 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27891 about macro parameter expansion.
27892
ed22dcf6
UD
27893 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27894 __NO_MATH_INLINES is defined. Cleanups.
27895
27896 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27897 and __floorf is target has SSE4.1.
27898 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27899 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27900 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27901 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27902
b171c137
UD
27903 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27904 name.
27905 (floorf): Likewise.
27906
97c066e6
UD
27907 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27908
629f62ef
AS
279092011-10-17 Andreas Schwab <schwab@redhat.com>
27910
49a43d80
AS
27911 * misc/sys/cdefs.h: Fix last change.
27912
629f62ef
AS
27913 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27914 database lookup.
27915
e453f6cd
UD
279162011-10-16 Ulrich Drepper <drepper@gmail.com>
27917
aa78043a
UD
27918 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27919
ad0f5cad
UD
27920 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27926 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27927 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27929 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27930 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27931 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27932 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27933 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27934 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27935 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27936 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27937 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27938 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27939 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27940 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27941 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27942
27943 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27944 ceil, ceilf, floor, floorf.
27945
27946 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27947 Perform IRELATIVE relocations last.
27948
e453f6cd
UD
27949 * elf/do-rel.h: Add another parameter nrelative, replacing the
27950 local variable with the same name. Change name of the function
27951 to end in Rel or Rela (uppercase).
27952 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27953 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27954 elf_dynamic_do_##reloc function.
27955
fd5bdc09
UD
279562011-10-15 Ulrich Drepper <drepper@gmail.com>
27957
79b195b5
UD
27958 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27959 is sufficient, at least on modern CPUs.
27960
d4a28569
UD
27961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27962
b61099b5
UD
27963 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27964 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27965
bcf01e6d
UD
27966 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27967 __expl_finite.
27968 * math/bits/math-finite.h: Add entries for exp.
27969 * math/e_expl.c: Add __*_finite alias.
27970 * sysdeps/i386/fpu/e_exp.S: Likewise.
27971 * sysdeps/i386/fpu/e_expf.S: Likewise.
27972 * sysdeps/i386/fpu/e_expl.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27974 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27977 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27978 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27979 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27980
ba1a0d59
UD
27981 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27982 is sufficient, at least on modern CPUs.
27983
fd5bdc09
UD
27984 * ctype/ctype-info.c (__ctype_init): Define.
27985 * include/ctype.h (__ctype_init): Declare.
27986 (__ctype_b_loc): The variable is always initialized.
27987 (__ctype_toupper_loc): Likewise.
27988 (__ctype_tolower_loc): Likewise.
27989 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27990 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27991
7872cfb0
AS
279922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27993
b468825a
AS
27994 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27995
7872cfb0
AS
27996 * configure.in: Also look in $cxxmachine/include for C++ system
27997 headers.
27998
be13f7bf
LD
279992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28000
28001 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28002 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28003 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28004 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28005 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28006 (USE_AS_WMEMCMP): New macro.
28007 Fixing indents.
28008 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28009 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28010 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28011 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28013 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28014 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28015 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28016 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28017 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28018 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28019 (USE_AS_WMEMCMP): New macro.
28020 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28021 * sysdeps/string/test-memcmp.c: Update.
28022 Fix simple_wmemcmp.
28023 Add new tests.
28024 * wcsmbs/wmemcmp.c: Update.
28025 (WMEMCMP): New macro.
28026 Fix overflow bug.
28027
556a2007
AJ
280282011-10-12 Andreas Jaeger <aj@suse.de>
28029
28030 [BZ #13268]
28031 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28032
538faaa7
UD
280332011-10-15 Ulrich Drepper <drepper@gmail.com>
28034
ab6737ff
UD
28035 * libio/iofwide.c (do_length): Avoid warning.
28036
538faaa7
UD
28037 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28038
396a21b1
UD
280392011-10-14 Ulrich Drepper <drepper@gmail.com>
28040
cdf2901f
UD
28041 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28042
38ad40ce
UD
28043 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28044 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28045 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28046 * sysdeps/i386/i686/fpu/e_log.S: New file.
28047 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28048 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28049
396a21b1
UD
28050 * ctype/ctype.h: Add support for inlined isXXX functions when
28051 compiling C++ code.
28052
6b1f68c9
AS
280532011-10-14 Andreas Schwab <schwab@redhat.com>
28054
349290c0
AS
28055 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28056
6b1f68c9
AS
28057 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28058
f2282d42
RM
280592011-10-13 Roland McGrath <roland@hack.frob.com>
28060
28061 [BZ #13291]
28062 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28063
5298ffa8
AS
280642011-10-13 Andreas Schwab <schwab@redhat.com>
28065
714fad23
AS
28066 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28067 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28068 feraiseexcept.
28069
81dcc7fb
AS
28070 * sysdeps/x86_64/memrchr.S: Check for zero size.
28071
5298ffa8
AS
28072 * string/stratcliff.c: Add memrchr tests.
28073
951fbcec
LD
280742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28075
28076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28077 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28078 rawmemchr-sse2 rawmemchr-sse2-bsf.
28079 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28080 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28081 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28082 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28083 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28084 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28085 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28086 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28087 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28088 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28089 * string/memrchr.c (MEMRCHR): New macro.
28090
0ac5ae23
UD
280912011-10-12 Ulrich Drepper <drepper@gmail.com>
28092
28093 Add integration with gcc's -ffinite-math-only and optimize wrapper
28094 functions in libm.
28095 * Versions.def: Define GLIBC_2.15 version for libm.
28096 * math/Makefile (headers): Add bits/math-finite.h.
28097 * math/bits/math-finite.h: New file.
28098 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28099 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28100 * math/e_acoshl.c: Add __*_finite alias.
28101 * math/e_acosl.c: Likewise.
28102 * math/e_asinl.c: Likewise.
28103 * math/e_atan2l.c: Likewise.
28104 * math/e_atanhl.c: Likewise.
28105 * math/e_coshl.c: Likewise.
28106 * math/e_exp10.c: Likewise.
28107 * math/e_exp10f.c: Likewise.
28108 * math/e_exp10l.c: Likewise.
28109 * math/e_exp2l.c: Likewise.
28110 * math/e_fmodl.c: Likewise.
28111 * math/e_gammal_r.c: Likewise.
28112 * math/e_hypotl.c: Likewise.
28113 * math/e_j0l.c: Likewise.
28114 * math/e_j1l.c: Likewise.
28115 * math/e_jnl.c: Likewise.
28116 * math/e_lgammal_r.c: Likewise.
28117 * math/e_log10l.c: Likewise.
28118 * math/e_log2l.c: Likewise.
28119 * math/e_logl.c: Likewise.
28120 * math/e_powl.c: Likewise.
28121 * math/e_sinhl.c: Likewise.
28122 * math/e_sqrtl.c: Likewise.
28123 * math/e_scalb.c: Completely rewritten and optimized.
28124 * math/e_scalbf.c: Likewise.
28125 * math/e_scalbl.c: Likewise.
28126 * math/w_acos.c: Likewise.
28127 * math/w_acosf.c: Likewise.
28128 * math/w_acosl.c: Likewise.
28129 * math/w_acosh.c: Likewise.
28130 * math/w_acoshf.c: Likewise.
28131 * math/w_acoshl.c: Likewise.
28132 * math/w_asin.c: Likewise.
28133 * math/w_asinf.c: Likewise.
28134 * math/w_asinl.c: Likewise.
28135 * math/w_atan2.c: Likewise.
28136 * math/w_atan2f.c: Likewise.
28137 * math/w_atan2l.c: Likewise.
28138 * math/w_atanh.c: Likewise.
28139 * math/w_atanhf.c: Likewise.
28140 * math/w_atanhl.c: Likewise.
28141 * math/w_exp10.c: Likewise.
28142 * math/w_exp10f.c: Likewise.
28143 * math/w_exp10l.c: Likewise.
28144 * math/w_fmod.c: Likewise.
28145 * math/w_fmodf.c: Likewise.
28146 * math/w_fmodl.c: Likewise.
28147 * math/w_j0.c: Likewise.
28148 * math/w_j0f.c: Likewise.
28149 * math/w_j0l.c: Likewise.
28150 * math/w_j1.c: Likewise.
28151 * math/w_j1f.c: Likewise.
28152 * math/w_j1l.c: Likewise.
28153 * math/w_jn.c: Likewise.
28154 * math/w_jnf.c: Likewise.
28155 * math/w_log.c: Likewise.
28156 * math/w_logf.c: Likewise.
28157 * math/w_logl.c: Likewise.
28158 * math/w_log10.c: Likewise.
28159 * math/w_log10f.c: Likewise.
28160 * math/w_log10l.c: Likewise.
28161 * math/w_log2.c: Likewise.
28162 * math/w_log2f.c: Likewise.
28163 * math/w_log2l.c: Likewise.
28164 * math/w_pow.c: Likewise.
28165 * math/w_powf.c: Likewise.
28166 * math/w_powl.c: Likewise.
28167 * math/w_remainder.c: Likewise.
28168 * math/w_remainderf.c: Likewise.
28169 * math/w_remainderl.c: Likewise.
28170 * math/w_scalb.c: Likewise.
28171 * math/w_scalbf.c: Likewise.
28172 * math/w_scalbl.c: Likewise.
28173 * math/w_sqrt.c: Likewise.
28174 * math/w_sqrtf.c: Likewise.
28175 * math/w_sqrtl.c: Likewise.
28176 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28177 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28178 used.
28179 * math/math_private.h: Declare __kernel_standard_f.
28180 * math/w_cosh.c: Remove cruft and optimize a bit.
28181 * math/w_coshf.c: Likewise.
28182 * math/w_coshl.c: Likewise.
28183 * math/w_exp2.c: Likewise.
28184 * math/w_exp2f.c: Likewise.
28185 * math/w_exp2l.c: Likewise.
28186 * math/w_hypot.c: Likewise.
28187 * math/w_hypotf.c: Likewise.
28188 * math/w_hypotl.c: Likewise.
28189 * math/w_lgamma.c: Likewise.
28190 * math/w_lgamma_r.c: Likewise.
28191 * math/w_lgammaf.c: Likewise.
28192 * math/w_lgammaf_r.c: Likewise.
28193 * math/w_lgammal.c: Likewise.
28194 * math/w_lgammal_r.c: Likewise.
28195 * math/w_sinh.c: Likewise.
28196 * math/w_sinhf.c: Likewise.
28197 * math/w_sinhl.c: Likewise.
28198 * math/w_tgamma.c: Likewise.
28199 * math/w_tgammaf.c: Likewise.
28200 * math/w_tgammal.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28202 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28203 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28204 Minor optimizations. Pretty printing. Remove cruft.
28205 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28207 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28208 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28209 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28210 * sysdeps/i386/fpu/e_asin.S: Likewise.
28211 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28212 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28213 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28214 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28215 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28216 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28218 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28219 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28220 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28221 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28222 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28223 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28224 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28225 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28226 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28227 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28228 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28229 * sysdeps/i386/fpu/e_log.S: Likewise.
28230 * sysdeps/i386/fpu/e_log10.S: Likewise.
28231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28232 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28233 * sysdeps/i386/fpu/e_log2.S: Likewise.
28234 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28235 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28236 * sysdeps/i386/fpu/e_logf.S: Likewise.
28237 * sysdeps/i386/fpu/e_logl.S: Likewise.
28238 * sysdeps/i386/fpu/e_pow.S: Likewise.
28239 * sysdeps/i386/fpu/e_powf.S: Likewise.
28240 * sysdeps/i386/fpu/e_powl.S: Likewise.
28241 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28242 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28243 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28244 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28245 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28246 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28247 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28248 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28249 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28251 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28253 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28254 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28270 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28271 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28272 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28273 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28274 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28275 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28276 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28277 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28278 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28279 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28280 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28281 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28286 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28287 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28290 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28291 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28341 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28342 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28343 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28344 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28345 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28346 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28347 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28348 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28349 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28350 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28351 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28352 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28353 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28354 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28356 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28357 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28358 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28359 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28360 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28361 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28362 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28363 (__isnanf): Likewise.
28364 (__isinf_ns): Likewise.
28365 (__isinf_nsf): Likewise.
28366 (__finite): Likewise.
28367 (__finitef): Likewise.
28368 (__ieee754_sqrt): Define as macro.
28369 (__ieee754_sqrtf): Define as macro.
28370 (__ieee754_sqrtl): Define as macro.
28371 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28372 inlined copy.
28373 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28374 __FINITE_MATH_ONLY__ consistent.
28375 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28376
12cc2fcd
AS
283772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28378
a843a204
AS
28379 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28380 of rawmemchr.
28381
12cc2fcd
AS
28382 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28383
c853acd5
UD
283842011-10-09 Ulrich Drepper <drepper@gmail.com>
28385
28386 * po/ja.po: Update from translation team.
28387
c658d255
RM
283882011-10-08 Roland McGrath <roland@hack.frob.com>
28389
110946e4
RM
28390 * locale/programs/locarchive.c (prepare_address_space): New function.
28391 (create_archive, enlarge_archive, open_archive): Use it.
28392
50604220
RM
28393 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28394 inside [SHARED], where it is used.
28395
c658d255
RM
28396 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28397
28398 * nss/getent.c (netgroup_keys): Remove unused variable.
28399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28400
6a621eb7
UD
284012011-10-08 Ulrich Drepper <drepper@gmail.com>
28402
7edb55ce
UD
28403 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28404 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28405 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28406 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28407 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28408 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28409 * math/Makefile (libm-calls): Add s_isinf_ns.
28410 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28411 * math/multc3.c: Likewise.
28412 * math/s_casin.c: Likewise.
28413 * math/s_casinf.c: Likewise.
28414 * math/s_casinl.c: Likewise.
28415 * math/s_ccos.c: Likewise.
28416 * math/s_ccosf.c: Likewise.
28417 * math/s_ccosl.c: Likewise.
28418 * math/s_ctan.c: Likewise.
28419 * math/s_ctanf.c: Likewise.
28420 * math/s_ctanh.c: Likewise.
28421 * math/s_ctanhf.c: Likewise.
28422 * math/s_ctanhl.c: Likewise.
28423 * math/s_ctanl.c: Likewise.
28424 * math/w_fmod.c: Likewise.
28425 * math/w_fmodf.c: Likewise.
28426 * math/w_fmodl.c: Likewise.
28427 * math/w_remainder.c: Likewise.
28428 * math/w_remainderf.c: Likewise.
28429 * math/w_remainderl.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28431 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28434 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28435 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28436 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28437 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28438
187da0ae
UD
28439 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28440 of the number.
28441 * stdio-common/printf_fphex.c: Likewise.
28442 * stdio-common/printf_size.c: Likewise.
28443
9277c064
UD
28444 * math/e_exp10.c: Include math_private.h using <...> not "...".
28445 * math/e_exp10f.c: Likewise.
28446 * math/e_exp10l.c: Likewise.
28447 * math/e_exp2l.c: Likewise.
28448 * math/e_j0l.c: Likewise.
28449 * math/e_j1l.c: Likewise.
28450 * math/e_jnl.c: Likewise.
28451 * math/e_lgammal_r.c: Likewise.
28452 * math/e_rem_pio2l.c: Likewise.
28453 * math/e_scalb.c: Likewise.
28454 * math/e_scalbf.c: Likewise.
28455 * math/e_scalbl.c: Likewise.
28456 * math/k_cosl.c: Likewise.
28457 * math/k_sinl.c: Likewise.
28458 * math/k_tanl.c: Likewise.
28459 * math/s_cacoshf.c: Likewise.
28460 * math/s_catan.c: Likewise.
28461 * math/s_catanf.c: Likewise.
28462 * math/s_catanh.c: Likewise.
28463 * math/s_catanhf.c: Likewise.
28464 * math/s_catanhl.c: Likewise.
28465 * math/s_catanl.c: Likewise.
28466 * math/s_ccosh.c: Likewise.
28467 * math/s_ccoshf.c: Likewise.
28468 * math/s_ccoshl.c: Likewise.
28469 * math/s_cexp.c: Likewise.
28470 * math/s_cexpf.c: Likewise.
28471 * math/s_cexpl.c: Likewise.
28472 * math/s_clog.c: Likewise.
28473 * math/s_clog10.c: Likewise.
28474 * math/s_clog10f.c: Likewise.
28475 * math/s_clog10l.c: Likewise.
28476 * math/s_clogf.c: Likewise.
28477 * math/s_clogl.c: Likewise.
28478 * math/s_csin.c: Likewise.
28479 * math/s_csinf.c: Likewise.
28480 * math/s_csinh.c: Likewise.
28481 * math/s_csinhf.c: Likewise.
28482 * math/s_csinhl.c: Likewise.
28483 * math/s_csinl.c: Likewise.
28484 * math/s_csqrt.c: Likewise.
28485 * math/s_csqrtf.c: Likewise.
28486 * math/s_csqrtl.c: Likewise.
28487 * math/s_ctan.c: Likewise.
28488 * math/s_ctanf.c: Likewise.
28489 * math/s_ctanh.c: Likewise.
28490 * math/s_ctanhf.c: Likewise.
28491 * math/s_ctanhl.c: Likewise.
28492 * math/s_ctanl.c: Likewise.
28493 * math/s_ldexp.c: Likewise.
28494 * math/s_ldexpf.c: Likewise.
28495 * math/s_ldexpl.c: Likewise.
28496 * math/s_significand.c: Likewise.
28497 * math/s_significandf.c: Likewise.
28498 * math/s_significandl.c: Likewise.
28499 * math/w_acos.c: Likewise.
28500 * math/w_acosf.c: Likewise.
28501 * math/w_acosh.c: Likewise.
28502 * math/w_acoshf.c: Likewise.
28503 * math/w_acoshl.c: Likewise.
28504 * math/w_acosl.c: Likewise.
28505 * math/w_asin.c: Likewise.
28506 * math/w_asinf.c: Likewise.
28507 * math/w_asinl.c: Likewise.
28508 * math/w_atan2.c: Likewise.
28509 * math/w_atan2f.c: Likewise.
28510 * math/w_atan2l.c: Likewise.
28511 * math/w_atanh.c: Likewise.
28512 * math/w_atanhf.c: Likewise.
28513 * math/w_atanhl.c: Likewise.
28514 * math/w_cosh.c: Likewise.
28515 * math/w_coshf.c: Likewise.
28516 * math/w_coshl.c: Likewise.
28517 * math/w_dremf.c: Likewise.
28518 * math/w_exp10.c: Likewise.
28519 * math/w_exp10f.c: Likewise.
28520 * math/w_exp10l.c: Likewise.
28521 * math/w_exp2.c: Likewise.
28522 * math/w_exp2f.c: Likewise.
28523 * math/w_fmod.c: Likewise.
28524 * math/w_fmodf.c: Likewise.
28525 * math/w_fmodl.c: Likewise.
28526 * math/w_hypot.c: Likewise.
28527 * math/w_hypotf.c: Likewise.
28528 * math/w_hypotl.c: Likewise.
28529 * math/w_j0.c: Likewise.
28530 * math/w_j0f.c: Likewise.
28531 * math/w_j0l.c: Likewise.
28532 * math/w_j1.c: Likewise.
28533 * math/w_j1f.c: Likewise.
28534 * math/w_j1l.c: Likewise.
28535 * math/w_jn.c: Likewise.
28536 * math/w_jnf.c: Likewise.
28537 * math/w_jnl.c: Likewise.
28538 * math/w_lgamma.c: Likewise.
28539 * math/w_lgamma_r.c: Likewise.
28540 * math/w_lgammaf.c: Likewise.
28541 * math/w_lgammaf_r.c: Likewise.
28542 * math/w_lgammal.c: Likewise.
28543 * math/w_lgammal_r.c: Likewise.
28544 * math/w_log.c: Likewise.
28545 * math/w_log10.c: Likewise.
28546 * math/w_log10f.c: Likewise.
28547 * math/w_log10l.c: Likewise.
28548 * math/w_log2.c: Likewise.
28549 * math/w_log2f.c: Likewise.
28550 * math/w_log2l.c: Likewise.
28551 * math/w_logf.c: Likewise.
28552 * math/w_logl.c: Likewise.
28553 * math/w_pow.c: Likewise.
28554 * math/w_powf.c: Likewise.
28555 * math/w_powl.c: Likewise.
28556 * math/w_remainder.c: Likewise.
28557 * math/w_remainderf.c: Likewise.
28558 * math/w_remainderl.c: Likewise.
28559 * math/w_scalb.c: Likewise.
28560 * math/w_scalbf.c: Likewise.
28561 * math/w_scalbl.c: Likewise.
28562 * math/w_sinh.c: Likewise.
28563 * math/w_sinhf.c: Likewise.
28564 * math/w_sinhl.c: Likewise.
28565 * math/w_sqrt.c: Likewise.
28566 * math/w_sqrtf.c: Likewise.
28567 * math/w_sqrtl.c: Likewise.
28568 * math/w_tgamma.c: Likewise.
28569 * math/w_tgammaf.c: Likewise.
28570 * math/w_tgammal.c: Likewise.
28571
6a621eb7
UD
28572 * po/ja.po: Update from translation team.
28573
bf582445
AJ
285742011-09-29 Andreas Jaeger <aj@suse.de>
28575
f9efbf3a
AJ
28576 [BZ #13179]
28577 * sunrpc/netname.c (netname2host): Fix logic.
28578
bf582445
AJ
28579 [BZ #6779]
28580 [BZ #6783]
28581 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28582 correctly.
28583 * math/w_remainder.c (__remainder): Likewise.
28584 * math/w_remainderf.c (__remainderf): Likewise.
28585 * math/libm-test.inc (remainder_test): Add test cases.
28586
48693bea
AK
285872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28588
28589 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28590 sdiv_qrnnd.
28591
42622229
LD
285922011-10-07 Ulrich Drepper <drepper@gmail.com>
28593
28594 * string/test-memcmp.c: Avoid unncessary #defines.
28595 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28596
093ecf92
LD
285972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28598
28599 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28600 Use new sse2 version for core i3 - i7 as it's faster
28601 than sse42 version.
28602 (bit_Prefer_PMINUB_for_stringop): New.
28603 * sysdeps/x86_64/rawmemchr.S: Update.
28604 Replace with faster SSE2 version.
28605 * sysdeps/x86_64/memrchr.S: New file.
28606 * sysdeps/x86_64/memchr.S: Update.
28607 Replace with faster SSE2 version.
28608
fde56e5c
MP
286092011-09-12 Marek Polacek <mpolacek@redhat.com>
28610
28611 * elf/dl-load.c (lose): Add cast to avoid warning.
28612
21fd49a9
UD
286132011-10-07 Ulrich Drepper <drepper@gmail.com>
28614
5a06e643
UD
28615 * po/ca.po: Update from translation team.
28616
684ae515
UD
28617 * inet/getnetgrent_r.c: Hook up nscd.
28618 * nscd/Makefile (routines): Add nscd_netgroup.
28619 (nscd-modules): Add netgroupcache.
28620 (CFLAGS-netgroupcache.c): Define.
28621 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28622 (cache_search): Add const to second parameter.
28623 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28624 INNETGR.
28625 (dbs): Add netgrdb entry.
28626 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28627 (verify_persistent_db): Handle netgrdb.
28628 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28629 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28630 GETFDNETGR.
28631 (netgroup_response_header): Define.
28632 (innetgroup_response_header): Define.
28633 (datahead): Add netgroup_response_header and innetgroup_response_header
28634 elements.
28635 * nscd/nscd.conf: Add entries for netgroup cache.
28636 * nscd/nscd.h (dbtype): Add netgrdb.
28637 (_PATH_NSCD_NETGROUP_DB): Define.
28638 (netgroup_iov_disabled): Declare.
28639 (xmalloc, xcalloc, xrealloc): Move declarations here.
28640 (cache_search): Adjust prototype.
28641 Add netgroup-related prototypes.
28642 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28643 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28644 (__nscd_innetgr): Declare.
28645 * nscd/selinux.c (perms): Use access_vector_t as element type and
28646 add netgroup-related initializers.
28647 * nscd/netgroupcache.c: New file.
28648 * nscd/nscd_netgroup.c: New file.
28649 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28650 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28651 For four parameters use innetgr.
28652 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28653 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28654 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28655 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28656
21fd49a9
UD
28657 * nscd/connections.c (register_traced_file): Don't register file
28658 for disabled databases.
28659
054c0457
UD
286602011-10-06 Ulrich Drepper <drepper@gmail.com>
28661
32b63198
UD
28662 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28663
054c0457
UD
28664 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28665 from tree and freeing node.
28666
64031225
JO
286672011-09-25 Jiri Olsa <jolsa@redhat.com>
28668
28669 * nss/nsswitch.c (__nss_database_lookup): Handle
28670 nss_parse_service_list out of memory case.
28671
0490345c
JO
286722011-09-15 Jiri Olsa <jolsa@redhat.com>
28673
28674 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28675 out of memory case.
28676
3a62d00d
AS
286772011-10-04 Andreas Schwab <schwab@redhat.com>
28678
28679 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28680 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28681 pass it down.
28682 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28683 elf_machine_rela, elf_machine_lazy_rel.
28684 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28685 (ELF_DYNAMIC_DO_REL): Likewise.
28686 (ELF_DYNAMIC_DO_RELA): Likewise.
28687 (ELF_DYNAMIC_RELOCATE): Likewise.
28688 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28689 to ELF_DYNAMIC_DO_REL.
28690 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28691 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28692 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28693 elf_machine_rela.
28694 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28695 skip_ifunc, don't call ifunc function if non-zero.
28696 (elf_machine_rela): Likewise.
28697 (elf_machine_lazy_rel): Likewise.
28698 (elf_machine_lazy_rela): Likewise.
28699 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28700 (elf_machine_lazy_rel): Likewise.
28701 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28702 Likewise.
28703 (elf_machine_lazy_rel): Likewise.
28704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28705 Likewise.
28706 (elf_machine_lazy_rel): Likewise.
28707 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28708 (elf_machine_lazy_rel): Likewise.
28709 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28710 (elf_machine_lazy_rel): Likewise.
28711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28712 (elf_machine_lazy_rel): Likewise.
28713 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28714 (elf_machine_lazy_rel): Likewise.
28715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28716 (elf_machine_lazy_rel): Likewise.
28717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28718 (elf_machine_lazy_rel): Likewise.
28719
68577918
UD
287202011-09-28 Ulrich Drepper <drepper@gmail.com>
28721
28722 * nss/nss_files/files-init.c (_nss_files_init): Use static
28723 initialization for all the *_traced_file variables.
28724
68822d74
AS
287252011-09-28 Andreas Schwab <schwab@redhat.com>
28726
28727 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28728
2056100b
RM
287292011-09-27 Roland McGrath <roland@hack.frob.com>
28730
28731 [BZ #13226]
28732 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28733
32c76b63
AS
287342011-09-27 Andreas Schwab <schwab@redhat.com>
28735
28736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28737 Reread the line before reparsing it.
28738
bf972c9d
AS
287392011-09-26 Andreas Schwab <schwab@redhat.com>
28740
28741 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28742
e057a1b5
JM
287432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28744 Maxim Kuvyrkov <maxim@codesourcery.com>
28745 Joseph Myers <joseph@codesourcery.com>
28746
28747 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28748 if needed for __stack_chk_guard.
28749
bc7e1c36
RM
287502011-09-19 Roland McGrath <roland@hack.frob.com>
28751
ecb1482f
RM
28752 * sysdeps/posix/spawni.c (script_execute): Always define it.
28753 It will be optimized away if unused.
28754 (maybe_script_execute): New function.
28755 (__spawni): Call it.
28756
bc7e1c36
RM
28757 * Makerules: Don't include tls.make.
28758 (config-tls): Always set to thread.
28759 * tls.make.c: File removed.
28760
1c3b002b
MF
287612011-09-19 Mike Frysinger <vapier@gentoo.org>
28762
28763 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28764 * config.make.in (CPPFLAGS-config): New substituted variable.
28765
2840865d
UD
287662011-09-15 Ulrich Drepper <drepper@gmail.com>
28767
88738eb6
UD
28768 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28769
cbf645a6 28770 [BZ #13192]
2840865d
UD
28771 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28772 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28773
b402e91a
RM
287742011-09-15 Roland McGrath <roland@hack.frob.com>
28775
28776 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28777 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28779 (CALL_FAIL): Likewise.
28780 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28781 (CALL_FAIL): Macro removed.
28782 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28783
4c1a1f71
UD
287842011-09-15 Ulrich Drepper <drepper@gmail.com>
28785
28786 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28787 for __FINITE_MATH_ONLY__ == 1.
28788
edc121be
AS
287892011-09-15 Andreas Schwab <schwab@redhat.com>
28790
28791 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28792 __ieee754_sqrt instead of sqrt.
28793 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28794 __ieee754_sqrtf instead of sqrtf.
28795 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28796 __floorf instead of floorf.
28797 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28798 __floorf, __truncf instead of floorf, truncf.
28799
cd205654
UD
288002011-09-14 Ulrich Drepper <drepper@gmail.com>
28801
ee4d0315
UD
28802 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28803
cd205654
UD
28804 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28805 __extern_always_inline.
28806 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28807 32-bit.
28808
48b67d71
AS
288092011-09-14 Andreas Schwab <schwab@redhat.com>
28810
28811 * elf/rtld.c (dl_main): Also relocate in dependency order when
28812 doing symbol dependency testing.
28813
1ae12c75
AS
288142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28815
28816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28817 Always define `refsym'.
28818
995a80df
AS
288192011-09-13 Andreas Schwab <schwab@redhat.com>
28820
e529793b
AS
28821 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28822 (__FD_ELT): Renamed from __FDELT.
28823 * misc/bits/select2.h (__FD_ELT): Likewise.
28824 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28825 __FD_MASK instead of __FDELT, __FDMASK.
28826 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28827 Likewise.
28828 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28829 Likewise.
28830
52d4fef8
AS
28831 * elf/Makefile (gen-ldd): Fix pattern.
28832
995a80df
AS
28833 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28834 (init_tls): Likewise.
28835
8682f8b0
UD
288362011-09-12 Ulrich Drepper <drepper@gmail.com>
28837
28838 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28839
de82006d
AS
288402011-09-12 Andreas Schwab <schwab@redhat.com>
28841
a7c8e6a1
AS
28842 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28843 `struct cmsghdr *' instead of `void *'.
28844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28845 Likewise.
28846
0f31fe77
AS
288472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28848
28849 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28850 if non-absolute.
28851 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28852 ldd_rewrite_script.
0f31fe77 28853
32b4c839
UD
288542011-09-11 Ulrich Drepper <drepper@gmail.com>
28855
83cd1420
UD
28856 * configure.in: Remove --with-tls option.
28857 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28858 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28859 out in case it is missing.
28860 * sysdeps/ia64/elf/configure.in: Likewise.
28861 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28862 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28863 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28864 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28865 * sysdeps/sh/elf/configure.in: Likewise.
28866 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28867 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28868 * sysdeps/x86_64/elf/configure.in: Likewise.
28869 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28870 * sysdeps/mach/hurd/tls.h: Likewise.
28871
633f745d
UD
28872 [BZ #13067]
28873 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28874
f318beb8
UD
28875 [BZ #13090]
28876 * configure.in: Fix use of AC_INIT.
28877
32b4c839
UD
28878 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28879
3ce1f295
UD
288802011-09-10 Ulrich Drepper <drepper@gmail.com>
28881
bb016596
UD
28882 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28883 __set_errno.
8e58439c
UD
28884 * malloc/hooks.c: Likewise.
28885
aebae053 28886 [BZ #11929]
02d46fc4
UD
28887 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28888 variables statically.
28889 (narenas): Initialize.
28890 (list_lock): Initialize.
bb016596
UD
28891 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28892 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28893 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28894 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28895 Add initializers to main_arena and mp_.
28896 (malloc_state): Remove pagesize member. Change all users to use
28897 GLRO(dl_pagesize).
28898
28899 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28900 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28901 is always initialized.
28902
22a89187
UD
28903 * malloc/malloc.c: Removed unused configurations and dead code.
28904 * malloc/arena.c: Likewise.
28905 * malloc/hooks.c: Likewise.
02d46fc4 28906 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28907
d063d164
UD
28908 * include/tls.h: Removed. USE___THREAD must always be defined.
28909 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28910 * elf/dl-libc.c: Likewise.
28911 * elf/dl-tsd.c: Likewise.
28912 * include/errno.h: Likewise.
28913 * include/netdb.h: Likewise.
28914 * include/resolv.h: Likewise.
28915 * inet/herrno-loc.c: Likewise.
28916 * inet/herrno.c: Likewise.
28917 * malloc/arena.c: Likewise.
28918 * malloc/hooks.c: Likewise.
28919 * malloc/malloc.c: Likewise.
28920 * resolv/res-state.c: Likewise.
28921 * resolv/res_libc.c: Likewise.
28922 * sysdeps/i386/dl-machine.h: Likewise.
28923 * sysdeps/ia64/dl-machine.h: Likewise.
28924 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28925 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28926 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28927 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28928 * sysdeps/sh/dl-machine.h: Likewise.
28929 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28930 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28931 * sysdeps/unix/i386/sysdep.S: Likewise.
28932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28933 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28938 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28942 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28943 * sysdeps/x86_64/dl-machine.h: Likewise.
28944 * tls.make.c: Likewise.
28945
3ce1f295
UD
28946 * configure.in: Remove --with-__thread option. Make tests for
28947 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28948 tls_model attribute fail if no support is available. Remove
28949 USE_IN_LIBIO.
28950 * Makeconfig: Adjust for dropped configure option. All features are
28951 now mandatory.
28952 * Makerules: Likewise.
28953 * Versions.def: Likewise.
28954 * argp/argp-fmtstream.c: Likewise.
28955 * argp/argp-fmtstream.h: Likewise.
28956 * argp/argp-help.c: Likewise.
28957 * assert/assert.c: Likewise.
28958 * config.h.in: Likewise.
28959 * config.make.in: Likewise.
28960 * configure: Likewise.
28961 * configure.in: Likewise.
28962 * csu/Versions: Likewise.
28963 * csu/init.c: Likewise.
28964 * elf/tst-audit2.c: Likewise.
28965 * elf/tst-tls10.c: Likewise.
28966 * elf/tst-tls10.h: Likewise.
28967 * elf/tst-tls11.c: Likewise.
28968 * elf/tst-tls12.c: Likewise.
28969 * elf/tst-tls14.c: Likewise.
28970 * elf/tst-tlsmod11.c: Likewise.
28971 * elf/tst-tlsmod12.c: Likewise.
28972 * elf/tst-tlsmod13.c: Likewise.
28973 * elf/tst-tlsmod13a.c: Likewise.
28974 * elf/tst-tlsmod14a.c: Likewise.
28975 * elf/tst-tlsmod15b.c: Likewise.
28976 * elf/tst-tlsmod16a.c: Likewise.
28977 * elf/tst-tlsmod16b.c: Likewise.
28978 * elf/tst-tlsmod7.c: Likewise.
28979 * elf/tst-tlsmod8.c: Likewise.
28980 * elf/tst-tlsmod9.c: Likewise.
28981 * gmon/gmon.c: Likewise.
28982 * grp/fgetgrent_r.c: Likewise.
28983 * grp/putgrent.c: Likewise.
28984 * hurd/fopenport.c: Likewise.
28985 * include/libc-symbols.h: Likewise.
28986 * include/tls.h: Likewise.
28987 * intl/gettextP.h: Likewise.
28988 * intl/loadinfo.h: Likewise.
28989 * locale/global-locale.c: Likewise.
28990 * locale/localeinfo.h: Likewise.
28991 * mach/devstream.c: Likewise.
28992 * malloc/arena.c: Likewise.
28993 * malloc/set-freeres.c: Likewise.
28994 * misc/err.c: Likewise.
28995 * misc/getttyent.c: Likewise.
28996 * misc/mntent_r.c: Likewise.
28997 * posix/getopt.c: Likewise.
28998 * posix/wordexp.c: Likewise.
28999 * pwd/fgetpwent_r.c: Likewise.
29000 * resolv/Versions: Likewise.
29001 * resolv/res_hconf.c: Likewise.
29002 * shadow/fgetspent_r.c: Likewise.
29003 * shadow/putspent.c: Likewise.
29004 * stdio-common/printf_fphex.c: Likewise.
29005 * stdio-common/tmpfile.c: Likewise.
29006 * stdlib/abort.c: Likewise.
29007 * stdlib/fmtmsg.c: Likewise.
29008 * sunrpc/auth_unix.c: Likewise.
29009 * sunrpc/clnt_perr.c: Likewise.
29010 * sunrpc/clnt_tcp.c: Likewise.
29011 * sunrpc/clnt_udp.c: Likewise.
29012 * sunrpc/clnt_unix.c: Likewise.
29013 * sunrpc/openchild.c: Likewise.
29014 * sunrpc/svc_simple.c: Likewise.
29015 * sunrpc/svc_tcp.c: Likewise.
29016 * sunrpc/svc_udp.c: Likewise.
29017 * sunrpc/svc_unix.c: Likewise.
29018 * sunrpc/xdr.c: Likewise.
29019 * sunrpc/xdr_array.c: Likewise.
29020 * sunrpc/xdr_rec.c: Likewise.
29021 * sunrpc/xdr_ref.c: Likewise.
29022 * sunrpc/xdr_stdio.c: Likewise.
29023
1248c1c4
PB
290242011-09-09 Ulrich Drepper <drepper@gmail.com>
29025
29026 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29027
290282011-07-03 Andreas Jaeger <aj@suse.de>
29029
29030 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29031 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29032 regenerate with gen-libm-tests.pl.
29033
290342010-05-12 Petr Baudis <pasky@suse.cz>
29035
29036 [BZ #11589]
29037 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29038 around j0() zero points by switching to j1().
29039 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29043
f22e1074
UD
290442011-09-09 Ulrich Drepper <drepper@gmail.com>
29045
f19009c1
UD
29046 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29047 instead of 0.
29048 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29049 instead of 0.
f19009c1
UD
29050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29051 Patch in part by Pavel Roskin <proski@gnu.org>.
29052
3f8cc204
UD
29053 [BZ #13138]
29054 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29055 realloc.
29056 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29057 Free memory block if necessary.
29058
f22e1074
UD
29059 [BZ #12847]
29060 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29061 be NULL. Don't lock in this case.
29062
0a2349f9
RM
290632011-09-09 Roland McGrath <roland@hack.frob.com>
29064
29065 * elf/elf.h (ELFOSABI_GNU): New macro.
29066 (ELFOSABI_LINUX): Define to that.
29067
f3cdd467
DZ
290682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29069
29070 * string/strncat.c (strncat): Undef the symbol in case it has been
29071 defined in bits/string.h.
29072
74718d13
UD
290732011-09-09 Ulrich Drepper <drepper@gmail.com>
29074
633e9e0f
UD
29075 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29076
0a2349f9 29077 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29078 link map.
29079
f9924780
AJ
290802011-08-17 Andreas Jaeger <aj@suse.de>
29081
29082 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29083
7f5517aa
PP
290842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29085 Ian Lance Taylor <iant@google.com>
29086
29087 * math/libm-test.inc (lround_test): New testcase.
29088 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29089
762011fe
UD
290902011-09-08 Ulrich Drepper <drepper@gmail.com>
29091
92963737
UD
29092 * Makefile: Remove support for automatic cvs check-ins.
29093 * Makerules: Likewise.
29094 * config.make.in: Likewise.
29095 * configure.in: Likewise.
29096 * intl/Makefile: Likewise.
29097 * locale/Makefile: Likewise.
29098 * po/Makefile: Likewise.
29099 * posix/Makefile: Likewise.
29100 * sysdeps/gnu/Makefile: Likewise.
29101 * sysdeps/mach/hurd/Makefile: Likewise.
29102 * sysdeps/sparc/sparc32/Makefile: Likewise.
29103
b0727fd8
JS
29104 [BZ #13118]
29105 * posix/Makefile (bug-regex32-ENV): Define.
29106 Patch by John Stanley <jpsinthemix@verizon.net>.
29107
a0f33f99
UD
29108 * misc/Makefile (headers): Add bits/select2.h.
29109 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29110 * misc/bits/select2.h: New file.
29111 * include/bits/select2.h: New file.
29112 * debug/Makefile (routines): Add fdelt_chk.
29113 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29114 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29115 FD_ISSET.
29116 * debug/fdelt_chk.c: New file.
29117
762011fe
UD
29118 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29119 * wcsmbs/test-wmemcmp.c: Likewise.
29120 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29121 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29122
291232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29124
29125 * string/Makefile (strop-tests): Add memcmp.
29126 * string/test-wmemcmp.c: New file.
29127 * string/test-memcmp.c: Add wmemcmp support.
29128
7f513ec8
RM
291292011-09-08 Roland McGrath <roland@hack.frob.com>
29130
0442afb4
RM
29131 [BZ #13153]
29132 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29133 2011-07-19 change.
29134
7f513ec8
RM
29135 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29136 garbage value in a __mach_port_mod_refs call in the cases of the
29137 task-self and thread-self ports.
29138
a12b2239
ST
291392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29140
29141 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29142
610f9ab4
AS
291432011-09-08 Andreas Schwab <schwab@redhat.com>
29144
7f513ec8 29145 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29146
48882a1a
LD
291472011-09-07 Ulrich Drepper <drepper@gmail.com>
29148
b49865be
UD
29149 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29150
fdc86bc9
UD
29151 * elf/dl-libc.c (dlerror_run): Pass back error code from
29152 dl_catch_error.
29153
c966526a
UD
29154 [BZ #13123]
29155 * elf/dl-load.c (lose): Free l_origin if it is valid.
29156
48882a1a
LD
29157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29158 names.
29159 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29161 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29162 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29163 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29164 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29165
77a2a8b4
AZ
291662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29167
29168 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29169 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29170 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29171 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29172 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29173 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29174 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29175 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29176 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29177 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29178
24f579d8
AM
291792011-08-15 Alan Modra <amodra@gmail.com>
29180
29181 [BZ #13092]
29182 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29183 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29184 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29185 ppc_mcount to static-only-routines.
29186 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29187 __mcount_internal.
29188 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29189 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29190
3d4837df
UD
291912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29192
29193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29194 for finite and infinity parameters.
29195
22700377
WS
291962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29197
29198 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29199 and add nop instructions for throughput optimization.
29200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29201
5025581e
WS
292022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29203
29204 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29205 aligned copy for power7 with vector-scalar instructions.
29206 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29207
08a300c9
L
292082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29211 AVX check.
29212
59178ef9
AS
292132011-09-07 Andreas Schwab <schwab@redhat.com>
29214
29215 [BZ #13144]
29216 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29217 last change.
29218
e38ba7ab
UD
292192011-09-07 Ulrich Drepper <drepper@gmail.com>
29220
29221 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29222 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29223 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29224 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29225 clock_gettime.
29226
d53a73ac
UD
292272011-09-06 Ulrich Drepper <drepper@gmail.com>
29228
fc8bffcc
UD
29229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29230 Forgot to demangle the pointer.
29231
ceaa0c5d
UD
29232 * sysdeps/i386/sysdep.h: Define atom_text_section.
29233 * sysdeps/x86_64/sysdep.h: Likewise.
29234 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29235 section with atom_text_section.
29236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29237 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29238 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29239 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29241
a77d3c17
UD
29242 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29243 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29244 already be defined. Change to take two parameters and don't assign
29245 result to variable. Adjust all users.
29246 Define INTERNAL_GETTIME if not already defined.
29247 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29248 call.
29249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29250 HAVE_CLOCK_GETTIME_VSYSCALL.
29251 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29252
d53a73ac
UD
29253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29254 gettimeofday vsyscall, just use time.
29255
a8f84144
AS
292562011-09-06 Andreas Schwab <schwab@redhat.com>
29257
29258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29259 <errno.h>.
29260
ef606249
UD
292612011-09-06 Ulrich Drepper <drepper@gmail.com>
29262
29263 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29264 syscall on x86-64.
29265 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29266 syscall.
29267 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29269 syscall if possible.
29270
6585cb60
UD
292712011-09-05 Ulrich Drepper <drepper@gmail.com>
29272
29273 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29274 e_ident. Don't pass to find_mapsXX.
29275 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29276
a5f524e4
LD
292772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29278
29279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29280 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29281 * sysdeps/x86_64/multiarch/strchr.S: Update.
29282 Check bit_slow_BSF bit.
29283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29284 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29286
554881ef
UD
292872011-09-05 Ulrich Drepper <drepper@gmail.com>
29288
d96de963
UD
29289 [BZ #13134]
29290 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29291 before glibc 2.15.
29292 (tryshell): Define.
29293 (__spawni): Change last parameter to be flag. Test
29294 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29295 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29296 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29297 * posix/spawni.c: Likewise.
29298 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29299 * posix/spawnp.c: Likewise. Change normal version to use
29300 SPAWN_XFLAGS_USE_PATH.
29301 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29302 SPAWN_XFLAGS_TRY_SHELL.
29303
d48e5868
UD
29304 [BZ #13150]
29305 * posix/glob.h: Remove gcc 1.x support.
29306
554881ef
UD
29307 [BZ #13068]
29308 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29309
693fb948
LD
293102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29311
29312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29313 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29314 strrchr-sse2-bsf
29315 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29316 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29317 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29318 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29319 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29320 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29321
1b48c537
UD
293222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29323
49d42c37
UD
29324 * sysdeps/x86_64/wcscmp.S: New file.
29325
1b48c537
UD
29326 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29327 wcscmp-c wcscmp-sse2
29328 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29329 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29330 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29331 * wcsmbs/wcscmp.c: Allow renaming.
29332
15c95c5d
DM
293332011-09-05 David S. Miller <davem@davemloft.net>
29334
29335 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29336 stack slot, rather than the struct return pointer slot.
29337 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29338 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29340 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29341
2f0ad8f3
UD
293422011-09-05 Ulrich Drepper <drepper@gmail.com>
29343
d88ae418
UD
29344 * po/ja.po: Update from translation team.
29345
2f0ad8f3
UD
29346 [BZ #13144]
29347 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29348 kernel in 64-bit binaries.
29349
5f4318d1
DM
293502011-09-01 David S. Miller <davem@davemloft.net>
29351
29352 * elf/elf.h (HWCAP_SPARC_*): Move to..
29353 * sysdeps/sparc/sysdep.h: this new file and add new values.
29354 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29355 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29356 _DL_HWCAP_COUNT to 24.
29357 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29358 entries.
29359 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29360 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29361 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29363 instead of magic constants.
29364 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29365
3ba57516
DM
293662011-08-31 David S. Miller <davem@davemloft.net>
29367
29368 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29370 Reimplement to do errno handling inline.
29371 (SYSCALL_ERROR_HANDLER): New macro.
29372 (__SYSCALL_STRING): Do not do errno handling in asm.
29373 (__CLONE_SYSCALL_STRING): Delete.
29374 (__INTERNAL_SYSCALL_STRING): Delete.
29375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29376 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29377 (PSEUDO): Reimplement to do errno handling inline.
29378 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29379 (SYSCALL_ERROR_HANDLER): New macro.
29380 (__SYSCALL_STRING): Do not do errno handling in asm.
29381 (__CLONE_SYSCALL_STRING): Delete.
29382 (__INTERNAL_SYSCALL_STRING): Delete.
29383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29384 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29385 i386.
29386 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29387 (inline_syscall*): Add 'err' argument.
29388 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29389 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29390 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29391 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29392
29393 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29394 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29395
2bc17433
AS
293962011-08-30 Andreas Schwab <schwab@redhat.com>
29397
29398 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29399
fbeb5f4d
JO
294002011-08-29 Jiri Olsa <jolsa@redhat.com>
29401
29402 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29403 directive.
29404
ad69cc26
DM
294052011-08-24 David S. Miller <davem@davemloft.net>
29406
29407 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29408
39dd69df
AS
294092011-08-24 Andreas Schwab <schwab@redhat.com>
29410
29411 * elf/Makefile: Add rules to build and run unload8 test.
29412 * elf/unload8.c: New file.
29413 * elf/unload8mod1.c: New file.
29414 * elf/unload8mod1x.c: New file.
29415 * elf/unload8mod2.c: New file.
29416 * elf/unload8mod3.c: New file.
29417
29418 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29419 it wasn't used.
29420
2c0b250a
DM
294212011-08-23 David S. Miller <davem@davemloft.net>
29422
29423 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29424 subtract stack bias.
29425 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29426 %sp not %fp in calculations.
29427 (_JMPBUF_UNWINDS_ADJ): Likewise.
29428
22044b48
DM
29429 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29430 (aio_suspend): Call it to force an exception region around the
29431 AIO_MISC_WAIT() invocation.
29432
2cae4995
AS
294332011-08-23 Andreas Schwab <schwab@redhat.com>
29434
29435 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29436 backslash.
29437
873a772e
AJ
294382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29439
29440 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29441 protection macro.
29442 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29443 and <dl-machine.h>.
29444 (Elf64_FuncDesc): Remove.
29445
25ad0df1
DM
294462011-08-22 David S. Miller <davem@davemloft.net>
29447
29448 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29449 sigaltstack check, add missing cfi directives.
29450 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29451 missing cfi directives, and sigaltstack handling.
29452
e888bcbe
AS
294532011-08-16 Andreas Schwab <schwab@redhat.com>
29454
29455 [BZ #11724]
29456 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29457 object is seen twice.
29458 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29459
29460 * elf/Makefile (distribute): Add tst-initorder2.c.
29461 (tests): Add tst-initorder2.
29462 (modules-names): Add tst-initorder2a tst-initorder2b
29463 tst-initorder2c tst-initorder2d. Add rules to build them.
29464 ($(objpfx)tst-initorder2.out): New rule.
29465 * elf/tst-initorder2.c: New file.
29466 * elf/tst-initorder2.exp: New file.
29467
87162f46
AS
294682011-08-22 Andreas Schwab <schwab@redhat.com>
29469
70538b7f
AS
29470 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29471
f55ffe58
AS
29472 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29473 dependencies back to end of function.
29474
87162f46
AS
29475 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29476 $(elfobjdir)/ld.so.
29477
91b392a4
UD
294782011-08-21 Ulrich Drepper <drepper@gmail.com>
29479
29480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29481 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29483 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29484 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29485 of __vdso_gettimeofday.
29486 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29487 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29488 attribute_hidden.
29489 (_libc_vdso_platform_setup): Remove initialization of
29490 __vdso_gettimeofday and __vdso_time.
29491
5c43483f
UD
294922011-08-20 Ulrich Drepper <drepper@gmail.com>
29493
775a77e7
UD
29494 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29495 and fgetc_unlocked.
29496 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29497 getc_unlocked.
89f447ed 29498
49c74ba9
UD
29499 * elf/dl-open.c (add_to_global): Report additions to the global scope
29500 for LD_DEBUG=scopes.
29501 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29502 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29503
5c43483f
UD
29504 [BZ #13114]
29505 * stdio-common/Makefile (tests): Add bug24.
29506 * stdio-common/bug24.c: New file.
29507
a101b025
AJ
295082011-08-19 Andreas Jaeger <aj@suse.de>
29509
29510 [BZ #13114]
29511 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29512 non-existant file when using close-on-exec mode.
29513
c88f1766
UD
295142011-08-20 Ulrich Drepper <drepper@gmail.com>
29515
0276a718
UD
29516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29517 the very first instruction.
29518
c88f1766
UD
29519 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29520 the CFI state in the end.
29521 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29522 inclusion of dl-trampoline.h.
29523 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29524
51ccffa0
AS
295252011-08-19 Andreas Schwab <schwab@redhat.com>
29526
94d7165f
AS
29527 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29528 expectations for long double.
29529
51ccffa0
AS
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29531 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29532
fd708658 295332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29534
29535 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29536 artificual limit depends upon the system page size.
29537
44f0a71e
UD
295382011-08-17 Ulrich Drepper <drepper@gmail.com>
29539
29540 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29541 * resolv/Makefile: Define CFLAGS-libresolv.
29542
8de79a24
AS
295432011-08-17 Andreas Schwab <schwab@redhat.com>
29544
29545 * nss/makedb.c (compute_tables): Make variables used in nested
29546 function static.
29547
27724598
UD
295482011-08-17 Ulrich Drepper <drepper@gmail.com>
29549
c5305d88
UD
29550 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29551 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29552 if buffer was too small.
29553
27724598
UD
29554 * elf/pldd.c (main): Attach to all threads in the process.
29555 Rewrite /proc handling to use *at functions.
29556
076fe015
UD
295572011-08-16 Ulrich Drepper <drepper@gmail.com>
29558
174baab3
UD
29559 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29560 specifies first scope to show.
29561 (dl_open_worker): Update callers. Move printing scope of new
29562 object to before the relocation.
44f0a71e 29563 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29564 * sysdeps/generic/ldsodefs.h: Update declaration.
29565
076fe015
UD
29566 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29567 string for the scope number.
29568
a60df2c3
UD
295692011-08-14 Ulrich Drepper <drepper@gmail.com>
29570
29571 * nscd/servicescache.c (cache_addserv): Make sure written is always
29572 initialized.
29573
5e4287d1
RM
295742011-08-14 Roland McGrath <roland@hack.frob.com>
29575
85ae0589
RM
29576 * sysdeps/i386/i486/bits/atomic.h
29577 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29578 statement expression, so as to suppress "set but not used" warning.
29579 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29580
69f63097
RM
29581 * string/strncat.c (STRNCAT): Use prototype definition.
29582
675456ef
RM
29583 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29584 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29585 -Iprograms here.
29586 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29587 (localedef-modules): Add localedef.
29588 (locale-modules): Add locale.
29589
5e4287d1
RM
29590 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29591 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29592 to avoid a warning.
29593
9c96ff23
DM
295942011-08-14 David S. Miller <davem@davemloft.net>
29595
29596 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29597 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29598
f9ddf089
UD
295992011-08-13 Ulrich Drepper <drepper@gmail.com>
29600
44f0a71e 29601 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29602 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29603 * elf/rtld.c (dl_main): Set l_name of vDSO.
29604 Call _dl_show_scope when DL_DEBUG_SCOPES.
29605 (process_dl_debug): Recognize scopes flag and also set it for all.
29606 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29607 Declare _dl_show_scope.
29608
1dc27704
UD
29609 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29610 (do_dlopen): Pass caller_dlopen to dl_open.
29611 (__libc_dlopen_mode): Initialize caller_dlopen.
29612
f9ddf089
UD
29613 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29614 of libc. Make tolower call locale-independent. Optimize a bit by
29615 using isdigit instead of isalnum.
29616 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29617
9ac533d3
UD
296182011-08-12 Ulrich Drepper <drepper@gmail.com>
29619
29620 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29621 was a dependency or dynamically loaded.
29622
89edf2e9
UD
296232011-08-11 Ulrich Drepper <drepper@gmail.com>
29624
8e999d29
UD
29625 * intl/l10nflist.c: Allow architecture-specific pop function.
29626 * sysdeps/x86_64/l10nflist.c: New file.
29627
89edf2e9
UD
29628 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29629 classification.
29630
14d96785
AS
296312011-08-10 Andreas Schwab <schwab@redhat.com>
29632
29633 * include/dirent.h: Add libc_hidden_proto for scandirat and
29634 scandirat64. Don't declare __scandirat64.
29635 * dirent/scandirat.c: Add libc_hidden_def.
29636 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29637 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29638
6761ac04
DM
296392011-08-10 David S. Miller <davem@davemloft.net>
29640
29641 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29642 enum.
29643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29645 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29646
c55fbd1e
UD
296472011-08-09 Ulrich Drepper <drepper@gmail.com>
29648
29649 * Versions.def [libc]: Add GLIBC_2.15.
29650 * dirent/Makefile (routines): Add scandirat and scandirat64.
29651 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29652 GLIBC_2.15.
29653 * dirent/dirent.h: Declare scandirat and scandirat64.
29654 * dirent/scandirat.c: New file.
29655 * dirent/scandirat64.c: New file.
29656 * sysdeps/wordsize-64/scandirat.c: New file.
29657 * sysdeps/wordsize-64/scandirat64.c: New file.
29658 * dirent/opendir.c: Define opendirat.
29659 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29660 using scandirat.
29661 * dirent/scandir64.c: Adjust for scandir.c change.
29662 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29663 __scandirat64, and __scandir_cancel_handler.
29664 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29665 additional parameter and use openat instead of open (outside of ld.so).
29666 Add new __opendir as wrapper around __opendirat.
29667 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29668 here without requiring old scandirat implementation.
29669
879165f2
UD
296702011-08-08 Ulrich Drepper <drepper@gmail.com>
29671
29672 * dirent/scandir.c (cancel_handler): Renamed to
29673 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29674 defined. Adjust users.
29675 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29676 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29677
cb7e923b
UD
296782011-08-04 Ulrich Drepper <drepper@gmail.com>
29679
16292edd
UD
29680 * string/test-string.h (IMPL): Use __STRING to expand name and then
29681 stringify it.
29682
cb7e923b
UD
29683 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29684 of cleanups.
29685
cff82933
LD
296862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29687
29688 * string/Makefile: Update.
29689 (strop-tests): Append strncat.
29690 * string/test-wcscmp.c: New file.
29691 New comprehensive test for wcscmp.
29692 * string/test-strcmp.c: Update.
29693 (WIDE): New define.
29694
9be9bfcc
AS
296952011-07-22 Andreas Schwab <schwab@redhat.com>
29696
29697 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29698 line.
29699
2e96f1c7
AS
297002011-07-26 Andreas Schwab <schwab@redhat.com>
29701
29702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29703 encoding to ACE if AI_IDN.
29704
85188888
JJ
297052011-08-01 Jakub Jelinek <jakub@redhat.com>
29706
29707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29708 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29709
5fa16e9b
LD
297102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29711
29712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29713 Fix overflow bug in strncat.
29714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29715
29716 * string/test-strncat.c: Update.
29717 Add new tests for checking overflow bugs.
29718
297192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29720
29721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29722 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29723 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29724 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29726 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29727 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29728 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29729 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29730
29731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29732 (USE_AS_STRCAT): Define.
29733 Add strcat and strncat support.
29734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29735
8c1a459f
AS
297362011-07-25 Andreas Schwab <schwab@redhat.com>
29737
29738 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29739 __n bigger than INT_MAX+1.
29740 (__strncmp_g): Likewise.
29741
bba33c28
UD
297422011-07-23 Ulrich Drepper <drepper@gmail.com>
29743
798be72d
UD
29744 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29745 * libio/stido.h: Likewise.
29746
8accd4dc
UD
29747 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29748 (AF_NFC): Define.
29749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29750 (AF_NFC): Define.
29751
cbff0d96
UD
29752 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29754 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29755 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29757
9191c04a
UD
29758 [BZ #13021]
29759 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29760 installed.
29761
bba33c28
UD
29762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29763 typo.
29764 (_dl_x86_64_save_sse): Likewise.
29765
90f139dd
UD
297662011-07-22 Ulrich Drepper <drepper@gmail.com>
29767
1aae088a
UD
29768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29769 OSXSAVE.
29770 (_dl_x86_64_save_sse): Likewise.
29771
8e2045f5
UD
29772 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29773
90f139dd
UD
29774 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29775
1d002f25
AS
297762011-07-21 Andreas Schwab <schwab@redhat.com>
29777
29778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29779 change.
29780 (_dl_x86_64_save_sse): Use correct AVX check.
29781
21137f89
UD
297822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29783
29784 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29785 bug in strncpy/strncat.
29786 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29787
a65c0b7a
UD
297882011-07-21 Ulrich Drepper <drepper@gmail.com>
29789
29790 * string/tester.c (test_strcat): Add tests for different alignments
29791 of source and destination.
29792 (test_strncat): Likewise.
29793
6986b98a
UD
297942011-07-20 Ulrich Drepper <drepper@gmail.com>
29795
90bb2039
UD
29796 [BZ #12852]
29797 * posix/glob.c (glob): Check passed in values before using them in
29798 expressions to avoid some overflows.
29799 (glob_in_dir): Likewise.
29800
5644ef54
UD
29801 [BZ #13007]
29802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29803 check for AVX enablement so that we don't crash with old kernels and
29804 new hardware.
29805 * elf/tst-audit4.c: Add same checks here.
29806 * elf/tst-audit6.c: Likewise.
29807
29808 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29809
bfc9dc9b
AS
298102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29811
29812 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29813
702e64bb
UD
298142011-07-20 Ulrich Drepper <drepper@gmail.com>
29815
29816 * po/cs.po: Update from translation team.
29817 * po/bg.po: Likewise.
29818
295e904f
MP
298192011-07-12 Marek Polacek <mpolacek@redhat.com>
29820
29821 * misc/sys/cdefs.h: Add support for const attribute.
29822 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29823 to gnu_dev_{major,minor,makedev} functions.
29824
3ff94596
MP
298252011-07-20 Marek Polacek <mpolacek@redhat.com>
29826
29827 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29828
28b59fca
AS
298292011-07-20 Andreas Schwab <schwab@redhat.com>
29830
29831 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29832 strlen results.
29833
19df733e
AK
298342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29835
29836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29837 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29838 register in order to avoid conflicts with the soft frame pointer
29839 being held in r11 when necessary.
29840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29841 (INTERNAL_VSYSCALL_NCS): Likewise.
29842
c8835729
MP
298432011-07-14 Marek Polacek <mpolacek@redhat.com>
29844
29845 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29846 * elf/dl-fini.c (_dl_fini): Adjust caller.
29847 * elf/dl-close.c (_dl_close_worker): Likewise.
29848 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29849
b902330c
MP
298502011-07-15 Marek Polacek <mpolacek@redhat.com>
29851
8991e135
MP
29852 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29853 "aux_cache->nlibs < 0".
29854
b902330c
MP
29855 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29856 in the reload-count case.
29857
99710781
LD
298582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29859
29860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29861 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29862 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29863 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29864 * sysdeps/x86_64/multiarch/strcat.S: New file.
29865 * sysdeps/x86_64/multiarch/strncat.S: New file.
29866 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29867 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29868 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29869 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29870 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29871 (USE_AS_STRCAT): Define.
29872 Add strcat and strncat support.
29873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29874 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29875 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29876 * string/strncat.c: Update.
29877 (USE_AS_STRNCAT): Define.
29878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29879 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29880 and i7.
29881 * sysdeps/x86_64/multiarch/init-arch.h
29882 (bit_Prefer_PMINUB_for_stringop): New.
29883 (index_Prefer_PMINUB_for_stringop): Likewise.
29884 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29885 bit_Prefer_PMINUB_for_stringop.
29886
7dc6bd90
UD
298872011-07-19 Ulrich Drepper <drepper@gmail.com>
29888
29889 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29890 buffer64.
29891 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29892 of casting of buffer.
29893 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29894 buffer32 and buffer64.
29895 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29896 writes instead of casting of buffer.
29897 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29898 buffer32.
29899 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29900 casting of buffer.
29901
e0e72284
AS
299022011-07-19 Andreas Schwab <schwab@redhat.com>
29903
29904 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29905
feb1eb0b
UD
299062011-07-19 Ulrich Drepper <drepper@gmail.com>
29907
29908 * nscd/nscd.c (termination_handler): Don't do anything for a database
29909 if it has not yet been initialized.
29910
298711ff
UD
299112011-07-18 Ulrich Drepper <drepper@gmail.com>
29912
29913 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29914
299152011-07-15 Marek Polacek <mpolacek@redhat.com>
29916
29917 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29918
f9d68389
UD
299192011-07-18 Ulrich Drepper <drepper@gmail.com>
29920
29921 * po/nl.po: Update from translation team.
29922 * po/sv.po: Likewise.
29923
db290cf5
RM
299242011-07-16 Roland McGrath <roland@hack.frob.com>
29925
29926 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29927 now disallowed by GCC.
5c550700 29928
fd5e21c7
RM
29929 * configure.in (use-default-link): Default to yes if a test -shared
29930 link meets our qualifications.
29931 * configure: Regenerated.
29932
5c550700
RM
29933 * config.make.in (output-format): New variable.
29934 * configure.in: Check for ld --print-output-format support.
29935 * configure: Regenerated.
29936 * Makerules ($(common-objpfx)format.lds)
29937 [$(output-format) != unknown]: Just use $(output-format),
29938 instead of the linker-script munging.
29939
9fa2c032
RM
299402011-07-14 Roland McGrath <roland@hack.frob.com>
29941
a6928d51
RM
29942 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29943 of $(common-objpfx)shlib.lds.
29944 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29945
661607b3
RM
29946 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29947 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29948
9fa2c032
RM
29949 * configure.in (-z relro check): Adjust test code to add a large
29950 writable data section after it.
29951 * configure: Regenerated.
29952
defe9061
RM
299532011-07-11 Roland McGrath <roland@hack.frob.com>
29954
29955 * configure.in (-z relro check): Fix test code to make the variable
29956 truly const.
29957 * configure: Regenerated.
29958
319b9ad4
UD
299592011-07-11 Ulrich Drepper <drepper@gmail.com>
29960
29961 * nscd/nscd.h (struct traced_file): Define.
29962 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29963 elements. Add traced_files.
29964 (inotify_fd): Declare.
29965 (register_traced_file): Declare.
29966 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29967 (inotify_fd): Export.
29968 (resolv_conf_descr): Remove.
29969 (nscd_init): Move inotify descriptor creation to main.
29970 Don't register files for notification here.
29971 (register_traced_file): New function.
29972 (invalidate_cache): Don't use reset_res to determine whether to call
29973 res_init, go through the list of registered files.
29974 (main_loop_poll): The inotify descriptors are now stored in the
29975 structures for the traced files.
29976 (main_loop_epoll): Likewise
29977 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29978 to __nss_disable_nscd.
29979 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29980 for a database anymore. Check the records for all the registered
29981 files instead.
29982 * nss/Makefile (libnss_files-routines): Add files-init.
29983 (libnss_db-routines): Add db-init.
29984 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29985 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29986 * nss/nss_db/db-init.c: New file.
29987 * nss/nss_files/files-init.c: New file.
29988 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29989 __nss_lookup_function.
29990 (__nss_lookup_function): Call nss_load_library.
29991 (nss_load_all_libraries): New function.
29992 (__nss_disable_nscd): Take parameter with callback function for files
29993 to register. Set is_nscd. Load all the DSOs for the NSS modules
29994 used for the cached services.
29995 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29996 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29997 options for features to all the files in nscd.
29998
29999 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30000
23bee3e8
RM
300012011-07-10 Roland McGrath <roland@hack.frob.com>
30002
30003 * csu/elf-init.c (__libc_csu_init): Comment typo.
30004
46a5b7f0
UD
300052011-07-09 Ulrich Drepper <drepper@gmail.com>
30006
30007 * po/pl.po: Update from translation team.
30008 * po/ja.po: Likewise.
30009 * po/ru.po: Likewise.
30010 * po/ko.po: Likewise.
30011 * po/fr.po: Likewise.
30012
d30cf5bb
RM
300132011-07-09 Roland McGrath <roland@hack.frob.com>
30014
113ddea4
RM
30015 * configure.in (.ctors/.dtors header and trailer check):
30016 Use an empirical test on a built program.
30017 * configure: Regenerated.
30018
574920b4
RM
30019 * configure.in (-z relro check): Use an empirical test on a built DSO.
30020 Detect, but do not require, on ia64.
30021 * configure: Regenerated.
30022
d30cf5bb
RM
30023 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30024 Update tests that use readelf to use $READELF instead.
30025 * configure: Regenerated.
30026
8538fdb3
UD
300272011-07-08 Ulrich Drepper <drepper@gmail.com>
30028
30029 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30030 if the result is not used.
30031
04d08991
AJ
300322011-07-05 Andreas Jaeger <aj@suse.de>
30033
30034 [BZ#9696]
30035 * stdlib/tst-strtod.c: Add testcase.
30036
de283087
AD
300372011-07-07 Ulrich Drepper <drepper@gmail.com>
30038
4e5f31c8 30039 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30040 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30041 The latter has a higher limit. Take additional parameter to pass to
30042 the new function.
30043 (__pathconf): Pass file to __statfs_link_max.
30044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30045 __statfs_link_max.
30046 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30047 __statfs_link_max.
30048
de283087
AD
30049 [BZ #12868]
30050 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30052 Handle Lustre.
30053 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30054 (__statfs_filesize_max): Likewise.
30055 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30056
c75fa153
AJ
300572011-07-05 Andreas Jaeger <aj@suse.de>
30058
30059 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30060
1a544854
UD
300612011-07-06 Marek Polacek <mpolacek@redhat.com>
30062
30063 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30064 `status' variable.
30065 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30066 Likewise.
30067
6f0eec67
UD
300682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30069
30070 * Makefile (strop-tests): Add strncat.
30071 * string/test-strncat.c: New file.
30072
aae30307
UD
300732011-06-30 Marek Polacek <mpolacek@redhat.com>
30074
30075 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30076
c0cfb5eb
UD
300772011-06-21 Andreas Jaeger <aj@suse.de>
30078
30079 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30080 Copy rule from iconvdata/Makefile.
30081
01636b21
UD
300822011-07-06 Ulrich Drepper <drepper@gmail.com>
30083
30084 [BZ #12922]
30085 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30086 but no long options are defined, just return 'W'.
30087
9895c8bc
UD
300882011-06-22 Marek Polacek <mpolacek@redhat.com>
30089
30090 [BZ #9696]
30091 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30092
5d4cf042
UD
300932011-07-06 Ulrich Drepper <drepper@gmail.com>
30094
30095 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30096 netgroups to read.
960e5535 30097 (innetgr): Likewise.
5d4cf042 30098
751eb97e
RM
300992011-07-05 Roland McGrath <roland@hack.frob.com>
30100
30101 * config.make.in (install_root): Default to $(DESTDIR).
30102
f15f1e45
UD
301032011-07-05 Ulrich Drepper <drepper@gmail.com>
30104
30105 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30106
4e34ac6a
RM
301072011-07-02 Roland McGrath <roland@hack.frob.com>
30108
5e9b6af4
RM
30109 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30110
84f9ea0f
RM
30111 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30112 containing directory rather than embedding absolute directory names.
30113
ea5ee9f7
RM
30114 * scripts/check-local-headers.sh: Rewritten using awk.
30115 Match by word, not by line. Print error messages for matches.
30116 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30117
1b74661a
RM
30118 * Makerules [shlib-lds-flags empty]:
30119 ($(common-objpfx)libc_pic.opts): New target.
30120 ($(common-objpfx)libc_pic.os.clean): New target.
30121 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30122
30123 * config.make.in (OBJCOPY): New variable.
30124 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30125 * configure: Regenerated.
30126
f781ef40
RM
30127 * config.make.in (use-default-link): New variable.
30128 * configure.in (use_default_link): Grok --with-default-link to set it.
30129 * configure: Regenerated.
30130 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30131 (shlib-lds, shlib-lds-flags): Define to empty.
30132
2d4fa81e
RM
30133 * Makerules (shlib-lds): New variable.
30134 (shlib-lds-flags): New variable.
30135 (build-shlib, build-moduile, build-module-asneeded): Use it.
30136 ($(common-objpfx)libc.so): Use $(shlib-lds).
30137 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30138 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30139
31fffa6b
RM
30140 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30141 DT_FLAGS/DT_FLAGS_1 with zero flags.
30142
4e34ac6a
RM
30143 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30144 linker script munging.
30145
fcfc776b
UD
301462011-07-02 Ulrich Drepper <drepper@gmail.com>
30147
30148 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30149 as 128-bit value.
30150 * crypt/sha512.c (sha512_process_block): Perform total addition using
30151 128-bit if possible.
30152 (__sha512_finish_ctx): Likewise.
30153 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30154 as 64-bit value.
30155 * crypt/sha256.c (SWAP64): Define.
30156 (sha256_process_block): Perform total addition using 64-bit if
30157 possible.
30158 (__sha256_finish_ctx): Likewise.
30159
99231d9a
UD
301602011-07-01 Ulrich Drepper <drepper@gmail.com>
30161
30162 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30163 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30164 * nscd/hstcache.c (cache_addhst): Likewise.
30165 * nscd/grpcache.c (cache_addgr): Likewise.
30166 * nscd/aicache.c (addhstaiX): Likewise
30167 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30168
445b4a53
TK
301692011-07-01 Thorsten Kukuk <kukuk@suse.de>
30170
30171 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30173 * nscd/hstcache.c (cache_addhst): Likewise.
30174 * nscd/grpcache.c (cache_addgr): Likewise.
30175 * nscd/aicache.c (addhstaiX): Likewise
30176
6d4d8e8e
AS
301772011-07-01 Andreas Schwab <schwab@redhat.com>
30178
30179 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30180 domain only when needed.
30181
89f654c5
AS
301822011-06-30 Andreas Schwab <schwab@redhat.com>
30183
30184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30185 is always restored.
30186
cf3b23ff
UD
301872011-06-29 Ulrich Drepper <drepper@gmail.com>
30188
30189 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30190 are re-adding the entry.
30191 * nscd/servicescache.c (cache_addserv): Likewise.
30192
751626f9
AJ
301932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30194
30195 * sysdeps/generic/dl-irel.h: fix protection against multiple
30196 inclusions.
30197 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30198
9113ea1f
UD
301992011-06-28 Ulrich Drepper <drepper@gmail.com>
30200
5c0b8d90
UD
30201 [BZ #12935]
30202 * malloc/memusage.sh: Fix quoting in message.
30203 * debug/xtrace.sh: Likewise.
30204
9113ea1f
UD
30205 * configure.in: Remove support for --experimental-malloc option, make
30206 it the default.
30207 * config.make.in: Likewise.
30208 * malloc/Makefile: Likewise.
30209
a4172181
AS
302102011-06-27 Andreas Schwab <schwab@redhat.com>
30211
30212 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30213 two-byte characters.
30214
78a7eee7
RM
302152011-06-27 Roland McGrath <roland@hack.frob.com>
30216
62bede13
RM
30217 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30218 AC_CACHE_CHECK invocation.
30219 * configure: Regenerated.
30220
78a7eee7
RM
30221 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30222
5ce33a62
UD
302232011-06-27 Ulrich Drepper <drepper@gmail.com>
30224
034807a9
UD
30225 [BZ #12350]
30226 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30227 bit from old_res_options.
30228
4902da17
UD
30229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30230
5ce33a62
UD
30231 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30232 value type for setfct.
30233
c2344f56
L
302342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30235
30236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30237 __gettimeofday instead of gettimeofday.
30238
68468076
UD
302392011-06-26 Ulrich Drepper <drepper@gmail.com>
30240
30241 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30242
acb0d739
L
302432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30244
30245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30246
30247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30248 info.
30249
8912479f
L
302502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30251
30252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30253 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30254 strcpy-sse2-unaligned strncpy-sse2-unaligned
30255 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30256 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30257 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30258 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30259 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30260 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30262 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30263 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30264 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30265 (STRCPY): Support SSE2 and SSSE3 versions.
30266
d5495a11
UD
302672011-06-24 Ulrich Drepper <drepper@gmail.com>
30268
30269 [BZ #12874]
30270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30271 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30272 kernels which artificially limit size of requests.
30273
0b1cbaae
L
302742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30275
30276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30277 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30278 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30279 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30280 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30281 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30282 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30283 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30284 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30285 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30286 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30287 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30288 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30289 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30290 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30292 Enable unaligned load optimization for Intel Core i3, i5 and i7
30293 processors.
30294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30295 Define.
30296 (index_Fast_Unaligned_Load): Define.
30297 (HAS_FAST_UNALIGNED_LOAD): Define.
30298
07f494a0
MP
302992011-06-23 Marek Polacek <mpolacek@redhat.com>
30300
30301 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30302
fa3fc0fe
UD
303032011-06-22 Ulrich Drepper <drepper@gmail.com>
30304
30305 [BZ #12907]
30306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30307 until it is clear that the information is realy needed.
30308 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30309
e12df166
AS
303102011-06-22 Andreas Schwab <schwab@redhat.com>
30311
30312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30313
852eb34d
UD
303142011-06-22 Ulrich Drepper <drepper@gmail.com>
30315
84e2a551
UD
30316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30317 /sys/devices/system/cpu/online if it is usable.
30318
852eb34d
UD
30319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30320 reading the information from the /proc filesystem to once a second.
30321
6e502e19
UD
303222011-06-21 Andreas Jaeger <aj@suse.de>
30323
30324 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30325 NULL after inclusion of kernel headers.
30326
75d39ff2
UD
303272011-06-21 Ulrich Drepper <drepper@gmail.com>
30328
51f9aa6a
UD
30329 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30330 calls to internal_setent.
30331
c0244a9d
UD
30332 [BZ #12885]
30333 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30334 addresses using gethostbyname4_r ignore IPv4 addresses.
30335
c5e3c2ae
UD
30336 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30337 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30338
75d39ff2
UD
30339 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30340
42675c6f
DM
303412011-06-20 David S. Miller <davem@davemloft.net>
30342
30343 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30344 inclusions.
30345 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30346
30347 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30348 (elf_irel): Use it.
30349 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30350 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30351 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30352 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30353 * sysdeps/x86_64/dl-irel.h: Likewise.
30354
30355 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30356 * elf/dl-sym.c: Likewise.
30357
57912a71
UD
303582011-06-15 Ulrich Drepper <drepper@gmail.com>
30359
30360 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30361 need to dereference resplen2.
30362
ee22793d
AS
303632011-06-14 Andreas Schwab <schwab@redhat.com>
30364
30365 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30366
a9e836b0
UD
303672011-06-15 Ulrich Drepper <drepper@gmail.com>
30368
77fb9117
UD
30369 * Makeconfig: Define vardbdir and inst_vardbdir.
30370 * nss/Makefile: Add rules to install db-Makefile.
30371
40c1b22c
UD
30372 * nss/nss_db/db-XXX.c: Cleanup.
30373
9f2da732
UD
30374 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30375 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30376 GLIBC_PRIVATE.
30377 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30378 * nss/makedb.c: Implement -g option to specify that value strings
30379 are generated and should not be added to table iterated over for
30380 get*ent calls.
30381 * nss/nss_db/db-initgroups.c: New file.
30382
82e9a1f7
UD
30383 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30384 interface.
30385
c41af17e
UD
30386 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30387 (internal_getgrouplist): Adjust to name change.
30388 Update use_initgroups_entry if this is not the first call.
30389 * nss/databases.def: Add initgroups entry.
30390
a9e836b0
UD
30391 * nss/makedb.c (compute_tables): Check result of multiple hash table
30392 sizes to minimize maximum chain length.
30393
2666d441
UD
303942011-06-14 Ulrich Drepper <drepper@gmail.com>
30395
30396 * Versions.def: Add entry for libnss_db.
30397 * shlib-versions: Likewise.
30398 * nss/Makefile: Add rules to build libnss_db.
30399 * nss/Versions: Add libnss_db information. Organize libnss_files
30400 entries better.
30401 * nss/db-Makefile: Add gshadow support. Change rules for the new
30402 makedb progra. Some minor improvements to generate smaller files.
30403 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30404 here from...
30405 * nss/makedb.c: ...here.
30406 Improve database format to be smaller and require less memory at
30407 runtime.
30408 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30409 db anymore.
30410 * nss/nss_db/db-netgrp.c: Likewise.
30411 * nss/nss_db/db-open.c: Likewise.
30412 * nss/nss_files/flies-XXX.x: Adjust comments.
30413 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30414 * nss/nss_files/files-grp.c: Likewise.
30415 * nss/nss_files/files-hosts.c: Likewise.
30416 * nss/nss_files/files-network.c: Likewise.
30417 * nss/nss_files/files-proto.c: Likewise.
30418 * nss/nss_files/files-pwd.c: Likewise.
30419 * nss/nss_files/files-rpc.c: Likewise.
30420 * nss/nss_files/files-service.c: Likewise.
30421 * nss/nss_files/files-sgrp.c: Likewise.
30422 * nss/nss_files/files-spwd.c: Likewise.
30423 * nss/nss_db/db-alias.c: Removed.
30424 * nss/nss_db/dummy-db.h: Removed.
30425
9ee76b5a
UD
304262011-06-02 Ulrich Drepper <drepper@gmail.com>
30427
30428 * nss/makedb.c: Rewritten to not use database library.
30429 * nss/Makefile: Update to build new makedb program.
30430
c71ca1f8
AJ
304312011-06-14 Andreas Jaeger <aj@suse.de>
30432
30433 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30434 memset declaration.
30435
3154bfb8
UD
304362011-06-10 Andreas Schwab <schwab@redhat.com>
30437
30438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30439 tmpbuf.
30440
b350afab
RM
304412011-06-10 Roland McGrath <roland@hack.frob.com>
30442
decd4e50
RM
30443 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30444 * elf/Makefile ($(objpfx)ld.so): Likewise.
30445
5615eaf2
RM
30446 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30447 Don't list ld.so twice in dependencies.
30448
30449 * posix/bug-regex31.c: Include <stdlib.h>.
30450
30451 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30452
30453 * nis/nss_compat/compat-spwd.c
30454 (getspent_next_nss_netgr): Remove unused variable.
30455 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30456
30457 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30458 nonmembers" output to use the right array.
30459
30460 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30461
30462 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30463
30464 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30465 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30466 * catgets/gencat.c (read_input_file): Likewise.
30467 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30468
30469 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30470 variable definition inside #if's controlling its use.
30471
30472 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30473
30474 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30475
30476 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30477
30478 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30479 unreachable code.
30480
30481 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30482
b68e08db
RM
30483 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30484 * configure: Regenerated.
30485
b350afab
RM
30486 * Makerules: Revert last change.
30487 * elf/Makefile: Likewise.
30488
28368601
RM
304892011-06-09 Roland McGrath <roland@hack.frob.com>
30490
30491 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30492 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30493 (reloc-link): Likewise.
30494
11988f8f
UD
304952011-06-09 Ulrich Drepper <drepper@gmail.com>
30496
30497 * elf/Makefile: Add rules to build pldd.
30498 * elf/pldd.c: New file.
30499 * elf/pldd-xx.c: New file.
30500
e80fab37
UD
305012011-06-07 Ulrich Drepper <drepper@gmail.com>
30502
30503 * version.h: Update for 2.15 development version.
30504
9b849836
DM
305052011-06-07 David S. Miller <davem@davemloft.net>
30506
30507 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30508 ifuncs.
30509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30510 elf_machine_lazy_rel): Likewise.
30511 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30512 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30513 elf_machine_lazy_rel): Likewise.
30514 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30515 dl_hwcap via passed in argument.
30516 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30517 Likewise.
30518
5a31b283
AK
305192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30520
30521 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30522
069e52f8
RM
305232011-06-06 Roland McGrath <roland@hack.frob.com>
30524
30525 [BZ #12849]
30526 * manual/fdl-1.1.texi: New file, verbatim from:
30527 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30528 * manual/lgpl-2.1.texi: New file, verbatim from:
30529 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30530 * manual/Makefile (licenses): New variable, list those new file names.
30531 (texis): Use it.
30532 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30533
30534 * manual/fdl.texi: File removed.
30535 * manual/lesser.texi: File removed.
30536 * manual/libc.texinfo (Copying, Documentation License):
30537 Use new @include file names, put @appendix directive before @include.
30538
f16846a5
JJ
305392011-06-04 Jakub Jelinek <jakub@redhat.com>
30540
30541 [BZ #12841]
30542 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30543 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30544 (mq_open): Add __NTH.
30545
3d29045b
L
305462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30547
30548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30549 Assume Intel Core i3/i5/i7 processor if AVX is available.
30550
8c297311
UD
305512011-05-31 Ulrich Drepper <drepper@gmail.com>
30552
30553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30554 typo.
30555
c8fc0c91
UD
305562011-05-31 Andreas Schwab <schwab@redhat.com>
30557
30558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30559 memory. Use alloca_account. Fix memory leak when retrying.
30560
5b27a807
UD
305612011-05-31 Ulrich Drepper <drepper@gmail.com>
30562
356f8bc6
UD
30563 * version.h (RELEASE): Bump for 2.14 release.
30564 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30565
5b27a807
UD
30566 * config.make.in (RANLIB): Remove entry.
30567
01f16ab0
UD
305682011-05-30 Ulrich Drepper <drepper@gmail.com>
30569
41fce8bd
UD
30570 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30571 (libc.pot): Work around missing support for .ksh extension in xgettext.
30572
4769ae77
UD
30573 [BZ #12684]
30574 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30575 if both request failed.
30576 (send_dg): In case of server errors clear resplen or *resplen2.
30577
6b1e7d19
UD
30578 [BZ #12454]
30579 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30580 when there are multiple maps.
30581 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30582 (_dl_fini): Remove test here.
30583
01f16ab0
UD
30584 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30585
b1ebd700
UD
305862011-05-29 Ulrich Drepper <drepper@gmail.com>
30587
7ae22829
UD
30588 [BZ #12350]
30589 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30590 bit from old_res_options.
30591 (gaih_inet): Likewise.
30592
553149f6 30593 [BZ #11099]
18a84741 30594 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30595 as signed.
30596
652ffab1
UD
30597 * resolv/res_init.c (res_setoptions): Make the code more compact.
30598
16985fd0
UD
30599 [BZ #11558]
30600 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30601 set RES_USEVC.
30602
0464f746
UD
30603 [BZ #11634]
30604 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30605
7d17596c
UD
30606 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30607
cf6bbbd7
UD
30608 [BZ #11781]
30609 * malloc/malloc.h: Declare malloc hook variables as volatile.
30610
13f1ab36
UD
30611 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30612 in last patch.
30613
b1ebd700
UD
30614 [BZ #11799]
30615 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30616 raise in the comment.
80e2212d
UD
30617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30619 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30620
ce67228d
UD
306212011-05-28 Ulrich Drepper <drepper@gmail.com>
30622
8887a920
UD
30623 [BZ #12811]
30624 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30625 grow the buffers more if it already has to be sufficient.
30626 (build_wcs_upper_buffer): Likewise.
30627 * posix/regexec.c (check_matching): Likewise.
30628 (clean_state_log_if_needed): Likewise.
30629 (extend_buffers): Don't enlarge buffers beyond size of the input
30630 buffer.
30631 Patches mostly by Emil Wojak <emil@wojak.eu>.
30632 * posix/bug-regex32.c: New file.
30633 * posix/Makefile (tests): Add bug-regex32.
30634
4f031072
UD
30635 * locale/findlocale.c (_nl_find_locale): Return right away if
30636 _nl_explode_name failed.
30637 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30638
d0478f0c
UD
30639 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30640
de81b246
UD
30641 * debug/xtrace.sh: Unify messages.
30642 * malloc/memusage.sh: Likewise.
30643
c738465a
UD
30644 [BZ #12813]
30645 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30646 time symbol from vDSO. Substitute with vsyscall if not available.
30647 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30648 __vdso_time.
30649
f1f929d7
UD
30650 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30651 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30652 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30653 Add sendmmsg and internal_sendmmsg.
30654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30656 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30657
ce67228d
UD
30658 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30659 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30661
e57420c6
UD
306622011-05-27 Ulrich Drepper <drepper@gmail.com>
30663
a8509ca5
UD
30664 [BZ #12813]
30665 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30666 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30667 available.
30668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30669 __vdso_getcpu.
30670
e57420c6
UD
30671 [BZ #12814]
30672 * iconvdata/Makefile (tests): Add bug-iconv9.
30673 * iconvdata/bug-iconv9.c: New file.
30674
4d07db15
AS
306752011-05-27 Andreas Schwab <schwab@redhat.com>
30676
30677 [BZ #12814]
30678 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30679
ea486f69
JJ
306802011-05-25 Jakub Jelinek <jakub@redhat.com>
30681
30682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30683 (struct user_regs_struct): Change intcs field back to cs.
30684
6f038433
UD
306852011-05-25 Ulrich Drepper <drepper@gmail.com>
30686
30687 * po/ja.po: Update from translation team.
30688
67f86a25
UD
306892011-05-23 Ulrich Drepper <drepper@gmail.com>
30690
30691 [BZ #12795]
30692 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30694
def7fbd6
AS
306952011-05-20 Andreas Schwab <schwab@redhat.com>
30696
30697 * stdlib/longlong.h: Update from GCC.
30698
f50ef8f1
AS
306992011-05-23 Andreas Schwab <schwab@redhat.com>
30700
30701 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30702 parameter name.
30703 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30704 Add parameter name.
30705 (__sysconf): Pass it down.
30706
de7ce8f1
UD
307072011-05-22 Ulrich Drepper <drepper@gmail.com>
30708
f2962a71
UD
30709 [BZ #12671]
30710 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30711 some situations.
30712 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30713 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30714 add in in __libc_use_alloca calls. Adjust callers.
30715 (glob): Use malloc in some situations.
30716
de7ce8f1
UD
30717 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30718 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30719 pltexit.
30720
aec84f53
UD
307212011-05-21 Ulrich Drepper <drepper@gmail.com>
30722
05bb4a68
UD
30723 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30724 and CLOCK_BOOTTIME_ALARM.
30725
7ea72f99
UD
30726 [BZ #12782]
30727 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30728 is returned.
30729
7e4afad5
UD
30730 * string/_strerror.c (__strerror_r): Print negative errors as signed
30731 numbers.
30732
8e211fec
UD
30733 [BZ #12777]
30734 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30735 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30736 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30737
f7d82dc9
UD
30738 * configure.in: Fix typo in redirection and correct removal of test
30739 files in two cases.
30740
cc9e536d
UD
30741 [BZ #12788]
30742 * locale/setlocale.c (new_composite_name): Fix test to check for
30743 identical name of all categories.
30744
aec84f53
UD
30745 [BZ #12792]
30746 * libio/filedoalloc.c (local_isatty): New function.
30747 (_IO_file_doallocate): Use local_isatty.
30748 * stdio-common/perror.c (perror): In case a new stream is used
30749 forward the stream error.
30750 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30751 error flag.
30752
78e64fdc
RT
307532011-05-20 Ulrich Drepper <drepper@gmail.com>
30754
34a9094f
UD
30755 [BZ #11869]
30756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30757 alloca.
30758 * include/alloca.h (extend_alloca_account): Define.
30759
78e64fdc
RT
30760 [BZ #11857]
30761 * posix/regex.h: Fix comments with documentation of user-accessible
30762 fields after compilation and describe correct free'ing of pattern
30763 after re_compile_pattern.
30764 Patch by Reuben Thomas <rrt@sc3d.org>.
30765
457bddfc
RA
307662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30767
30768 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30769 and -mno-altivec to prevent the compiler from using Altivec and/or
30770 VSX instructions when the corresponding registers are not available.
30771
a4527b51
AS
307722011-05-19 Andreas Schwab <schwab@redhat.com>
30773
30774 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30775
ed690b2f
UD
307762011-05-19 Ulrich Drepper <drepper@gmail.com>
30777
30778 * libio/freopen.c (freopen): Use __dup2, not dup2.
30779 * libio/freopen64.c (freopen64): Likewise.
30780
8db73634
L
307812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30782
30783 [BZ #12775]
30784 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30785 * math/Makefile (tests): Add test-powl.
30786 (CFLAGS-test-powl.c): Define.
30787 * math/test-powl.c: New file.
30788
0a197a9d
L
307892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30790
30791 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30792
ee30c380
UD
307932011-05-17 Ulrich Drepper <drepper@gmail.com>
30794
30795 [BZ #11837]
30796 * iconvdata/gb18030.c: Update to GB18020-2005.
30797
6ce75379
UD
307982011-05-16 Ulrich Drepper <drepper@gmail.com>
30799
a4b89fd8
AR
30800 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30801 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30802 Patch by Aharon Robbins <arnold@skeeve.com>.
30803
ea389b12
UD
30804 [BZ #11892]
30805 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30806 on the stack.
30807
68a3f91f
UD
30808 [BZ #11895]
30809 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30810 through underflows.
30811
15cc7dd1
UD
30812 [BZ #12766]
30813 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30814 point to strings before performing equality test for error_one_per_line
30815 mode.
30816
f3799213
UD
30817 [BZ #11697]
30818 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30819
d79a9c94
UD
30820 [BZ #11820]
30821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30822 (struct user_fpregs_struct): Avoid __uint*_t types.
30823
56e5eb46
UD
30824 [BZ #6420]
30825 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30826 symbol info. Use it instead of calling _dl_addr locally.
30827 (lock_and_info): New function.
30828 (tr_freehook): Call lock_and_info and pass symbol info as additional
30829 parameter to tr_where.
30830 (tr_mallochook): Likewise.
30831 (tr_reallochook): Likewise.
30832 (tr_memalignhook): Likewise.
30833
6ce75379
UD
30834 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30835 used and couldn't be at all thread-safe.
30836
f8a3b5bf
UD
308372011-05-15 Ulrich Drepper <drepper@gmail.com>
30838
94b7cc37
UD
30839 * libio/freopen.c (freopen): Don't close old file descriptor
30840 before the new one is opened. Instead dup the new file descriptor
30841 to the old one after the new stream is created.
30842 * libio/freopen64.c (freopen64): Likewise.
30843 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30844 * libio/fileops.c (_IO_new_file_close_it): Handle new
30845 _IO_FLAGS2_NOCLOSE flag.
30846 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30847 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30848 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30849 _IO_FLAGS2_NOCLOSE flag.
30850 * include/unistd.h: Add hidden_proto for dup3.
30851 Define __have_dup3.
30852 * io/dup3.c: Define hidden symbol.
30853 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30854
bd25564e
UD
30855 [BZ #7101]
30856 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30857 when an incomplete long option is used.
30858 * posix/tst-getopt_long1.c: New file.
30859 * posix/Makefile (tests): Add tst-getopt_long1.
30860
c84cfef4
UD
30861 [BZ #10138]
30862 * scripts/config.guess: Update from autoconf-2.68.
30863 * scripts/config.sub: Likewise.
30864
3b85df27
UD
30865 [BZ #10157]
30866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30867 tests into ...
30868 (has_cpuclock): ...this. New function.
30869 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30870 macro here based on has_cpuclock code.
30871
15a856b1
UD
30872 [BZ #10149]
30873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30874 First byte (not low byte) is now always NUL.
30875 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30876
05f399e6
UD
30877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30878 Use non-cancelable interfaces.
30879
10a52685 30880 [BZ #9809]
94ecc67d
UD
30881 * locale/iso-639.def: Add entry for Sorani.
30882
f8a3b5bf
UD
30883 [BZ #11901]
30884 * include/stdlib.h: Move include protection to the right place.
30885 Define abort_msg_s. Declare __abort_msg with it.
30886 * stdlib/abort.c (__abort_msg): Adjust type.
30887 * assert/assert.c (__assert_fail_base): New function. Majority
30888 of code from __assert_fail. Allocate memory for __abort_msg with
30889 mmap.
30890 (__assert_fail): Now call __assert_fail_base.
30891 * assert/assert-perr.c: Remove bulk of implementation. Use
30892 __assert_fail_base.
30893 * include/assert.hL Declare __assert_fail_base.
30894 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30895 mmap.
30896 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30897
1af4e298
UD
308982011-05-14 Ulrich Drepper <drepper@gmail.com>
30899
f8a3b5bf 30900 [BZ #11952]
d26dfc60
MG
30901 [BZ #12453]
30902 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30903 until all modules are registered in the DTV.
30904 * elf/Makefile: Add rules to build and run tst-tls19.
30905 * elf/tst-tls19.c: New file.
30906 * elf/tst-tls19mod1.c: New file.
30907 * elf/tst-tls19mod2.c: New file.
30908 * elf/tst-tls19mod3.c: New file.
30909 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30910
2fc54d6f
UD
30911 [BZ #12083]
30912 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30913 correctly.
30914
98d76b46
UD
30915 [BZ #12601]
30916 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30917 two-byte sequence errors.
30918 * iconvdata/Makefile (tests): Add bug-iconv8.
30919 * iconvdata/bug-iconv8.c: New file.
30920
da3c19ef
UD
30921 [BZ #12626]
30922 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30923 buf2 definition.
30924
ca408c15
UD
30925 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30926
d6f67f7d
UD
30927 [BZ #12432]
30928 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30929 (dummy_getcfa): New function.
30930 (init): Get _Unwind_GetCFA address, use dummy if not found.
30931 (backtrace_helper): In recursion check, also check whether CFA changes.
30932 (__backtrace): Completely initialize arg.
30933
1af4e298 30934 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30935 storing incomplete byte sequence in state object. Avoid testing for
30936 guaranteed too small input if we know there is enough data available.
1af4e298 30937
da62f81b
AS
309382011-05-11 Andreas Schwab <schwab@redhat.com>
30939
30940 * Makeconfig (+link-pie): Indent.
30941 * Rules (binaries-pie): Define if $(have-fpie) and
30942 $(build-shared).
30943 (binaries-shared): Also filter out $(binaries-pie).
30944 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30945 * nscd/Makefile (others-pie): Add nscd.
30946 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30947 ($(objpfx)nscd): Remove command override.
30948 * login/Makefile (others-pie): Add pt_chown.
30949 ($(objpfx)pt_chown): Remove command override.
30950 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30951 remove command overrides.
30952
fcabc0f8
UD
309532011-05-13 Ulrich Drepper <drepper@gmail.com>
30954
20030ae6
UD
30955 * libio/tst_putwc.c: Fix error messages.
30956
fcabc0f8
UD
30957 [BZ #12724]
30958 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30959 currently writing and seek to current position when not.
30960 * libio/Makefile (tests): Add bug-fclose1.
30961 * libio/bug-fclose1.c: New file.
30962
320a5dc0
PB
309632011-05-12 Ulrich Drepper <drepper@gmail.com>
30964
30965 [BZ #12511]
30966 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30967 don't set DF_1_NODELETE here.
30968 (do_lookup_x): When entering new entry test for copy relocation
30969 and if necessary set DF_1_NODELETE flag.
30970 * elf/tst-unique4.cc: New file.
30971 * elf/tst-unique4.h: New file.
30972 * elf/tst-unique4lib.cc: New file.
30973 * elf/Makefile: Add rules to build and run tst-unique4.
30974 Patch by Piotr Bury <pbury@goahead.com>.
30975
22836f52
UD
309762011-05-11 Ulrich Drepper <drepper@gmail.com>
30977
f574184a
UD
30978 [BZ #12052]
30979 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30980
e1fb097f
UD
30981 [BZ #12625]
30982 * misc/mntent_r.c (addmntent): Flush the stream after the output
30983
22836f52
UD
30984 [BZ #12393]
30985 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30986 (is_trusted_path_normalize): Skip initial colon. Append slash
30987 to empty buffer. Duplicate is_trusted_path code but allow
30988 constructed patch to be prefix.
30989 (is_dst): Allow $ORIGIN followed by /.
30990 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30991 Correct testing of result of is_trusted_path_normalize
30992 (decompose_rpath): Fix warning.
30993
7b3b0b2a
UD
309942011-05-10 Ulrich Drepper <drepper@gmail.com>
30995
30996 [BZ #11257]
30997 * grp/initgroups.c (internal_getgrouplist): When we found the service
30998 list through the initgroups entry in nsswitch.conf do not always
30999 continue on a successful lookup. Don't always use the
eac80ce2 31000 __nss_group_database value if it is set.
7b3b0b2a
UD
31001 * nss/nsswitch.conf (initgroups): Change action for successful db
31002 lookup to continue for compatibility.
31003
2a81eaa5
UD
310042011-05-09 Ulrich Drepper <drepper@gmail.com>
31005
be97a69e
UD
31006 [BZ #11532]
31007 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31008 and CP774 modules.
31009 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31010 and CP774 modules.
31011 * iconvdata/tst-tables.sh: Likewise.
31012 * iconvdata/cp770.c: New file.
31013 * iconvdata/cp771.c: New file.
31014 * iconvdata/cp772.c: New file.
31015 * iconvdata/cp773.c: New file.
31016 * iconvdata/cp774.c: New file.
31017 * iconvdata/testdata/CP770: New file.
31018 * iconvdata/testdata/CP770..UTF8: New file.
31019 * iconvdata/testdata/CP771: New file.
31020 * iconvdata/testdata/CP771..UTF8: New file.
31021 * iconvdata/testdata/CP772: New file.
31022 * iconvdata/testdata/CP772..UTF8: New file.
31023 * iconvdata/testdata/CP773: New file.
31024 * iconvdata/testdata/CP773..UTF8: New file.
31025 * iconvdata/testdata/CP774: New file.
31026 * iconvdata/testdata/CP774..UTF8: New file.
31027
31028 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31029 END CHARMAP line.
31030 * iconvdata/gen-8bit-gap.sh: Likewise.
31031 * iconvdata/gen-8bit.sh: Likewise.
31032
c1e9e399
UD
31033 * locale/iso-639.def: Add ary entry.
31034
24c55fb3 31035 [BZ #11258]
96b4b1b0
UD
31036 * locale/C-translit.h.in: Add U20A1 transliteration.
31037
bdc2f971
KB
31038 [BZ #12178]
31039 * locale/iso-639.def: Add wae entry.
31040 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31041
2952b117
UD
31042 [BZ #12545]
31043 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31044 for n.
31045
2a81eaa5
UD
31046 [BZ #12711]
31047 * locale/C-translit.h.in: Add entry for U20B9.
31048 Patch by pravin.d.s@gmail.com.
31049
28377d1b
UD
310502011-05-08 Ulrich Drepper <drepper@gmail.com>
31051
7fb90fb8
UD
31052 [BZ #12713]
31053 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31054 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31055 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31056 in rtld. Use *stat64.
7fb90fb8 31057 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31058 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31059 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31060 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31061 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31062 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31063 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31064 __fstatat64 macros.
7fb90fb8
UD
31065 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31066 * dirent/rewinddir.c: Add libc_hidden_def.
31067 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31068 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31069
28377d1b
UD
31070 * include/dirent.h (__alloc_dir): Add flags parameter.
31071 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31072 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31073 __alloc_dir.
31074 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31075 from fdopendir if O_CLOEXEC is already set.
31076
66bdbaa4
AM
310772011-03-15 Alan Modra <amodra@gmail.com>
31078
31079 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31080 l_tls_firstbyte_offset non-zero. Save padding offset in
31081 l_tls_firstbyte_offset for later use.
31082 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31083 freeing static tls block.
31084
95721191
JN
310852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31086
31087 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31088 where #ifdef was intended. The intent is to prevent ARG_MAX from
31089 being defined by the kernel headers.
31090
f87dfb1f
UD
310912011-05-07 Ulrich Drepper <drepper@gmail.com>
31092
31093 [BZ #12734]
31094 * resolv/resolv.h: Define RES_NOTLDQUERY.
31095 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31096 no-tld-query and set RES_NOTLDQUERY.
31097 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31098 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31099 modern BIND to search name as TLD unless forbidden.
31100
47c3cd7a
UD
311012011-05-07 Petr Baudis <pasky@suse.cz>
31102 Ulrich Drepper <drepper@gmail.com>
31103
31104 [BZ #12393]
31105 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31106 (is_trusted_path): ...to here.
c1e9ea35 31107 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31108 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31109 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31110
8a35c912
PP
311112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31112
31113 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31114 __BEGIN/__END_DECLS.
31115
acd41f47
UD
311162011-05-06 Ulrich Drepper <drepper@gmail.com>
31117
31118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31119 NSS_STATUS_NOTFOUND if no record was found.
31120
597df647
AS
311212011-05-05 Andreas Schwab <schwab@redhat.com>
31122
31123 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31124 (headers-not-in-tirpc): Remove rpc/netdb.h
31125 * resolv/netdb.h: Revert last change.
31126
b9af1301
PP
311272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31128
31129 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31130 circular dependency between libgcc.a and libc.a.
31131
4e34d5f5
AS
311322011-05-05 Andreas Schwab <schwab@redhat.com>
31133
31134 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31135 * nis/Makefile: Don't install rpcsvc/*.
31136 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31137 instead of <rpc/types.h>.
31138 (MAXHOSTNAMELEN): Define.
31139
00ee369c
AS
311402011-05-03 Andreas Schwab <schwab@redhat.com>
31141
31142 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31143
0b592a30
MB
311442011-04-28 Maciej Babinski <mbabinski@google.com>
31145
31146 [BZ #12714]
31147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31148 gethostbyname4_r when IPv6 results are possible.
31149
6e04cbbe
UD
311502011-05-02 Ulrich Drepper <drepper@gmail.com>
31151
31152 [BZ #12723]
31153 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31154 _PC_PIPE_BUF handling.
31155
e4ecafe0
BH
311562011-04-30 Bruno Haible <bruno@clisp.org>
31157
31158 [BZ #12717]
31159 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31160 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31161 to 'int'.
31162 * inet/getnameinfo.c (getnameinfo): Likewise.
31163
125ee683
UD
311642011-04-29 Ulrich Drepper <drepper@gmail.com>
31165
31166 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31167 to groups setting in database lookup.
31168 * nss/nsswitch.conf: Add initgroups entry.
31169
b722481a
EB
311702011-04-22 Ulrich Drepper <drepper@gmail.com>
31171
31172 [BZ #12685]
31173 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31174 mode string.
31175 Patch by Eric Blake <eblake@redhat.com>.
31176
4df46dbd
L
311772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31178
31179 * sunrpc/Makefile (need-export-routines): Add svc_run.
31180 (routines): Remove svc_run.
31181 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31182 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31183 * sunrpc/svc_run.c (svc_run): Likewise.
31184 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31185
e84142d2
UD
311862011-04-21 Ulrich Drepper <drepper@gmail.com>
31187
31188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31189 problem in reallocation in last patch.
31190
877175d8
UD
311912011-04-20 Ulrich Drepper <drepper@gmail.com>
31192
31193 * sunrpc/Makefile: Move inclusion of Rules.
31194
ab8eed78
UD
311952011-04-19 Ulrich Drepper <drepper@gmail.com>
31196
31197 * nss/nss_files/files-initgroups.c: New file.
31198 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31199 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31200 _nss_files_initgroups_dyn.
31201
e3d8f584
RS
312022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31203
31204 * elf/elf.h (R_ARM_IRELATIVE): Define.
31205
af190f45
UD
312062011-04-19 Ulrich Drepper <drepper@gmail.com>
31207
31208 * po/ru.po: Update from translation team.
31209
53cf59ef
UD
312102011-04-17 Ulrich Drepper <drepper@gmail.com>
31211
31212 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31213 dependencies.
31214
4c559bcd
MF
312152011-02-06 Mike Frysinger <vapier@gentoo.org>
31216
31217 [BZ #12653]
31218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31219 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31221 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31223
4420675c
AS
312242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31225
31226 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31227 differing bytes.
31228 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31230 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31231
75ea32ab
UD
312322011-04-17 Ulrich Drepper <drepper@gmail.com>
31233
31234 [BZ #12420]
31235 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31236 storing it.
31237 * stdlib/bug-getcontext.c: New file.
31238 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31239
27390476
AK
312402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31241
31242 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31243 instructions into .machine "z9-109".
31244 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31245 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31246
10442705
AK
312472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31248
31249 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31250 between environment variables and auxiliary vector.
31251
7b57bfe5
UD
312522011-04-16 Ulrich Drepper <drepper@gmail.com>
31253
31254 * Makefile: Add rules to build linkobj/libc.so.
31255 * include/libc-symbols.h: Define libc_hidden_nolink.
31256 * include/rpc/auth.h: Mark functions which are to be hidden.
31257 * include/rpc/auth_des.h: Likewise.
31258 * include/rpc/auth_unix.h: Likewise.
31259 * include/rpc/clnt.h: Likewise.
31260 * include/rpc/des_crypt.h: Likewise.
31261 * include/rpc/key_prot.h: Likewise.
31262 * include/rpc/pmap_clnt.h: Likewise.
31263 * include/rpc/pmap_prot.h: Likewise.
31264 * include/rpc/pmap_rmt.h: Likewise.
31265 * include/rpc/rpc_msg.h: Likewise.
31266 * include/rpc/svc.h: Likewise.
31267 * include/rpc/svc_auth.h: Likewise.
31268 * include/rpc/xdr.h: Likewise.
31269 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31270 * nss/Makefile: Likewise.
31271 * sunrpc/Makefile: Don't install headers. Build library with normal
31272 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31273 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31274 for the compat linking library. Remove use of INTDEF/INTUSE.
31275 * sunrpc/auth_none.c: Likewise.
31276 * sunrpc/auth_unix.c: Likewise.
31277 * sunrpc/authdes_prot.c: Likewise.
31278 * sunrpc/authuxprot.c: Likewise.
31279 * sunrpc/clnt_gen.c: Likewise.
31280 * sunrpc/clnt_perr.c: Likewise.
31281 * sunrpc/clnt_raw.c: Likewise.
31282 * sunrpc/clnt_simp.c: Likewise.
31283 * sunrpc/clnt_tcp.c: Likewise.
31284 * sunrpc/clnt_udp.c: Likewise.
31285 * sunrpc/clnt_unix.c: Likewise.
31286 * sunrpc/des_crypt.c: Likewise.
31287 * sunrpc/des_soft.c: Likewise.
31288 * sunrpc/get_myaddr.c: Likewise.
31289 * sunrpc/key_call.c: Likewise.
31290 * sunrpc/key_prot.c: Likewise.
31291 * sunrpc/netname.c: Likewise.
31292 * sunrpc/pm_getmaps.c: Likewise.
31293 * sunrpc/pm_getport.c: Likewise.
31294 * sunrpc/pmap_clnt.c: Likewise.
31295 * sunrpc/pmap_prot.c: Likewise.
31296 * sunrpc/pmap_prot2.c: Likewise.
31297 * sunrpc/pmap_rmt.c: Likewise.
31298 * sunrpc/publickey.c: Likewise.
31299 * sunrpc/rpc_cmsg.c: Likewise.
31300 * sunrpc/rpc_common.c: Likewise.
31301 * sunrpc/rpc_dtable.c: Likewise.
31302 * sunrpc/rpc_prot.c: Likewise.
31303 * sunrpc/rpc_thread.c: Likewise.
31304 * sunrpc/rtime.c: Likewise.
31305 * sunrpc/svc.c: Likewise.
31306 * sunrpc/svc_auth.c: Likewise.
31307 * sunrpc/svc_authux.c: Likewise.
31308 * sunrpc/svc_raw.c: Likewise.
31309 * sunrpc/svc_run.c: Likewise.
31310 * sunrpc/svc_simple.c: Likewise.
31311 * sunrpc/svc_tcp.c: Likewise.
31312 * sunrpc/svc_udp.c: Likewise.
31313 * sunrpc/svc_unix.c: Likewise.
31314 * sunrpc/svcauth_des.c: Likewise.
31315 * sunrpc/xcrypt.c: Likewise.
31316 * sunrpc/xdr.c: Likewise.
31317 * sunrpc/xdr_array.c: Likewise.
31318 * sunrpc/xdr_float.c: Likewise.
31319 * sunrpc/xdr_intXX_t.c: Likewise.
31320 * sunrpc/xdr_mem.c: Likewise.
31321 * sunrpc/xdr_rec.c: Likewise.
31322 * sunrpc/xdr_ref.c: Likewise.
31323 * sunrpc/xdr_sizeof.c: Likewise.
31324 * sunrpc/xdr_stdio.c: Likewise.
31325
e6c61494
UD
313262011-04-10 Ulrich Drepper <drepper@gmail.com>
31327
31328 [BZ #12650]
31329 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31330 * sysdeps/ia64/dl-tls.h: Likewise.
31331 * sysdeps/powerpc/dl-tls.h: Likewise.
31332 * sysdeps/s390/dl-tls.h: Likewise.
31333 * sysdeps/sh/dl-tls.h: Likewise.
31334 * sysdeps/sparc/dl-tls.h: Likewise.
31335 * sysdeps/x86_64/dl-tls.h: Likewise.
31336 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31337
34fe483e
AS
313382011-03-14 Andreas Schwab <schwab@redhat.com>
31339
31340 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31341 rpath element also skip the following colon.
31342 (expand_dynamic_string_token): Add is_path parameter and pass
31343 down to DL_DST_REQUIRED and _dl_dst_substitute.
31344 (decompose_rpath): Call expand_dynamic_string_token with
31345 non-zero is_path. Ignore empty rpaths.
31346 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31347 with zero is_path.
31348
f12a32e6
AS
313492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31350
31351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31352 Make cancelable.
31353
38a7d692
UD
313542011-04-09 Ulrich Drepper <drepper@gmail.com>
31355
31356 [BZ #12655]
31357 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31358 Patch by Filipe David Manana <fdmanana@apache.org>.
31359
e451d22b
AS
313602011-04-07 Andreas Schwab <schwab@redhat.com>
31361
31362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31363 Maintain aligned stack.
31364 (CHECK_RSP): Remove unused macro.
31365
dedc7c7b
UD
313662011-04-03 Ulrich Drepper <drepper@gmail.com>
31367
31368 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31370
94521213
UD
313712011-04-02 Ulrich Drepper <drepper@gmail.com>
31372
31373 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31374
8cb700c0 31375 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31376
0354e355
L
313772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31378
31379 [BZ #12518]
31380 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31381 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31382 * sysdeps/x86_64/memmove.c: New file.
31383 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31384 (memcpy): Renamed to ...
31385 (__new_memcpy): This.
31386 (memcpy): Provide GLIBC_2_14 memcpy.
31387 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31388 (memcpy): Provide GLIBC_2_2_5 memcpy.
31389
8593482f
UD
313902011-04-01 Ulrich Drepper <drepper@gmail.com>
31391
31392 [BZ #12631]
31393 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31394
81a5726b
AS
313952011-03-30 Andreas Schwab <schwab@redhat.com>
31396
31397 * misc/syncfs.c: New file.
31398 * misc/Makefile (routines): Add syncfs.
31399 * posix/unistd.h: Declare syncfs.
31400 * sysdeps/unix/syscalls.list: Add syncfs.
31401
00e5419f
AS
314022011-04-01 Andreas Schwab <schwab@redhat.com>
31403
31404 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31405 open_by_handle_at.
31406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31411 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31413
748876bf
UD
314142011-04-01 Ulrich Drepper <drepper@gmail.com>
31415
658e451d
UD
31416 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31418 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31423
748876bf
UD
31424 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31425 sync_file_range.c with -fexceptions.
31426 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31427 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31428 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31429 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31430 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31433 sync_file_range as cancellation point
31434 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31435 now a wrapper around __call_sync_file_range with cancellation handling.
31436 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31437 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31438 function name to __call_sync_file_range.
31439 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31440 Add call_sync_file_range.
748876bf 31441
6e63d5e1
AS
314422011-04-01 Andreas Schwab <schwab@redhat.com>
31443
31444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31445 bits/timex.h.
6e63d5e1 31446
46998f74
UD
314472011-04-01 Ulrich Drepper <drepper@gmail.com>
31448
4c1423ed
UD
31449 * iconv/iconv.h: Fix typo in comment.
31450 * io/fcntl.h: Likewise.
31451 * libio/stdio.h: Likewise.
31452 * posix/spawn.h: Likewise.
31453 * posix/unistd.h: Likewise.
31454 * stdlib/stdlib.h: Likewise.
31455 * time/time.h: Likewise.
31456 * wcsmbs/wchar.h: Likewise.
31457
158648c0
UD
31458 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31459 open_by_handle): Add.
31460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31461 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31462 Augment a few comments.
31463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31468 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31469 open_by_handle.
31470
46998f74
UD
31471 * io/fcntl.h (AT_EMPTY_PATH): Define.
31472
83fe108b
UD
314732011-03-30 Ulrich Drepper <drepper@gmail.com>
31474
31475 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31476 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31477 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31478 to...
31479 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31480 * Versions.def: Add GLIBC_2.14.
31481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31482 Export.
83fe108b 31483
bb242059
UD
314842011-03-22 Ulrich Drepper <drepper@gmail.com>
31485
31486 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31487 round counter.
31488 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31489
c97a1282
L
314902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 [BZ #12597]
31493 * string/test-strncmp.c (do_page_test): New function.
31494 (check2): Likewise.
31495 (test_main): Call check2.
31496 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31497
2a115601
UD
314982011-03-20 Ulrich Drepper <drepper@gmail.com>
31499
31500 [BZ #12587]
31501 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31502 Handle cache information in CPU leaf 4.
31503 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31504
8126d904
UD
315052011-03-18 Ulrich Drepper <drepper@gmail.com>
31506
042c49c6 31507 [BZ #12583]
8126d904
UD
31508 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31509 character representation.
31510 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31511
ccfe366e
RA
315122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31513
31514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31515 END(__isnan) to END(__isnanf) to match function entry point/label
31516 EALIGN(__isnanf,...).
31517
c6e13027
JJ
315182011-03-10 Jakub Jelinek <jakub@redhat.com>
31519
31520 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31521
33f85a3f
UD
315222011-03-10 Ulrich Drepper <drepper@gmail.com>
31523
028478fa
UD
31524 [BZ #12510]
31525 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31526 copy from the symbol referenced in the relocation to initialize the
31527 used variable.
31528 Patch by Piotr Bury <pbury@goahead.com>.
31529 * elf/Makefile: Add rules to build and tst-unique3.
31530 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31531 * elf/tst-unique3.cc: New file.
31532 * elf/tst-unique3.h: New file.
31533 * elf/tst-unique3lib.cc: New file.
31534 * elf/tst-unique3lib2.cc: New file.
31535
33f85a3f
UD
31536 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31537
03592fc7
MF
315382011-03-10 Mike Frysinger <vapier@gentoo.org>
31539
31540 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31541 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31542 to _start.
03592fc7 31543
6a5ee102
UD
315442011-03-06 Ulrich Drepper <drepper@gmail.com>
31545
31546 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31547 to-be-loaded object along a path to loader is ld.so.
31548
7e4ba49c
HJ
315492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31550 Ulrich Drepper <drepper@gmail.com>
31551
31552 * sysdeps/x86_64/memset.S: After aligning destination, code
31553 branches to different locations depending on the value of
31554 misalignment, when multiarch is enabled. Fix this.
31555
315562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31557
31558 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31559 Set _x86_64_preferred_memory_instruction for AMD processsors.
31560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31561 Set bit_Prefer_SSE_for_memop for AMD processors.
31562
13a804de
UD
315632011-03-04 Ulrich Drepper <drepper@gmail.com>
31564
31565 * libio/fmemopen.c (fmemopen): Optimize a bit.
31566
9d25c392
AS
315672011-03-03 Andreas Schwab <schwab@redhat.com>
31568
31569 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31570
a5543c6a
RM
315712011-03-03 Roland McGrath <roland@redhat.com>
31572
31573 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31574
012d35f7
DM
315752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31576
7e4ba49c 31577 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31578 __bzero_ultra1 instead of __memset_ultra1.
31579
4bff6e01
AS
315802011-02-23 Andreas Schwab <schwab@redhat.com>
31581 Ulrich Drepper <drepper@gmail.com>
31582
31583 [BZ #12509]
31584 * include/link.h (struct link_map): Add l_orig_initfini.
31585 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31586 returning unsuccessfully.
31587 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31588 close of a file loaded at startup, restore the original l_initfini
31589 list.
31590 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31591 list, store the pointer.
31592 * elf/Makefile ($(objpfx)noload-mem): New rule.
31593 (noload-ENV): Define.
31594 (tests): Add $(objpfx)noload-mem.
31595 * elf/noload.c: Include <memcheck.h>.
31596 (main): Call mtrace. Close all opened handles.
31597
f2092faf
AS
315982011-02-17 Andreas Schwab <schwab@redhat.com>
31599
31600 [BZ #12454]
31601 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31602 dependencies are missing.
31603
6c8a2e88
ST
316042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31605
f2092faf 31606 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31607 Hurd needs munmap.
31608 * sysdeps/mach/hurd/ifreq.h: New file.
31609
84a42118
PB
316102011-01-27 Petr Baudis <pasky@suse.cz>
31611 Ulrich Drepper <drepper@gmail.com>
31612
071f805e 31613 [BZ 12445]#
84a42118
PB
31614 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31615 to extend_alloca().
31616 * stdio-common/bug23.c: New file.
31617 * stdio-common/Makefile (tests): Add bug23.
31618
e23fe25b
AS
316192010-09-28 Andreas Schwab <schwab@redhat.com>
31620 Ulrich Drepper <drepper@gmail.com>
31621
31622 [BZ #12489]
31623 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31624 before performing relro protection. At old place add assertion
31625 to make sure nothing changed.
31626
d3f02e10
NS
316272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31628 Glauber de Oliveira Costa <glommer@gmail.com>
31629
31630 * elf/elf.h: Add new ARM TLS relocs.
31631
d55fd7a5
RA
316322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31633
31634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31635 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31636 cast from r3.
31637 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31638 'tests' variable.
31639 * sysdeps/wordsize-64/tst-writev.c: New file.
31640
2206397e
RA
316412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31642
31643 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31644 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31645 insns in _dl_start to prevent a TOC reference before relocs are
31646 resolved.
31647
e9433893
UD
316482011-02-15 Ulrich Drepper <drepper@gmail.com>
31649
31650 [BZ #12469]
31651 * Makeconfig: Remove RANLIB definition.
31652 * Makerules: Don't use RANLIB.
31653 * aclocal.m4: Remove ranlib test.
31654 * configure.in: No need to check for ranlib.
31655 * elf/rtld-Rules: Don't use RANLIB.
31656
f75286c6
ST
316572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31658
8e31c82d
ST
31659 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31660 protection macro.
31661 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31662 inclusion protection macro.
31663
f75286c6
ST
31664 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31665 SIGRTMIN and SIGRTMAX and print information in that case only when
31666 SIGRTMIN is defined.
31667
c1d0e639
JJ
316682011-02-11 Jakub Jelinek <jakub@redhat.com>
31669
31670 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31671 arginfo fn returning -1.
31672
31673 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31674 and thousands string is zero terminated.
31675
edf9294e
AS
316762011-02-03 Andreas Schwab <schwab@redhat.com>
31677
31678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31679 sysdeps/unix/sysv/linux/bits/socket.h.
31680
2b7e92df
ST
316812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31682
edf9294e
AS
31683 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31684 (__CPU_COUNT): Remove old macros.
31685 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31686 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31687 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31688 (__sched_cpualloc, __sched_cpufree): Add declarations.
31689
a4c7ea7b
UD
316902011-02-05 Ulrich Drepper <drepper@gmail.com>
31691
31692 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31693 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31694 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31695 (readdhstai): Return value of addhstaiX call.
31696 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31697 (addgrbyX): Return value returned by cache_addgr.
31698 (readdgrbyname): Return value returned by addgrbyX.
31699 (readdgrbygid): Likewise.
31700 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31701 (addpwbyX): Return value returned by cache_addpw.
31702 (readdpwbyname): Return value returned by addhstbyX.
31703 (readdpwbyuid): Likewise.
31704 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31705 (addservbyX): Return value returned by cache_addserv.
31706 (readdservbyname): Return value returned by addservbyX:
31707 (readdservbyport): Likewise.
31708 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31709 (addhstbyX): Return value returned by cache_addhst.
31710 (readdhstbyname): Return value returned by addhstbyX.
31711 (readdhstbyaddr): Likewise.
31712 (readdhstbynamev6): Likewise.
31713 (readdhstbyaddrv6): Likewise.
31714 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31715 (readdinitgroups): Return value returned by addinitgroupsX.
31716 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31717 (prune_cache): Keep track of timeout value of re-added entries.
31718 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31719 * nscd/nscd.h: Adjust prototypes of readd* functions.
31720
a0bf67cc
RM
317212011-02-04 Roland McGrath <roland@redhat.com>
31722
31723 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31724 (nis_stats): Likewise.
31725 * nis/nis_modify.c (nis_modify): Likewise.
31726 * nis/nis_remove.c (nis_remove): Likewise.
31727 * nis/nis_add.c (nis_add): Likewise.
31728
31729 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31730
31731 * posix/fnmatch_loop.c: Add some consts.
31732
31733 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31734
435b95eb
L
317352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 [BZ #12460]
31738 * config.make.in (config-cflags-novzeroupper): Define.
31739 * configure.in: Substitute libc_cv_cc_novzeroupper.
31740 * elf/Makefile (AVX-CFLAGS): Define.
31741 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31742 (CFLAGS-tst-auditmod4a.c): Likewise.
31743 (CFLAGS-tst-auditmod4b.c): Likewise.
31744 (CFLAGS-tst-auditmod6b.c): Likewise.
31745 (CFLAGS-tst-auditmod6c.c): Likewise.
31746 (CFLAGS-tst-auditmod7b.c): Likewise.
31747 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31748
8517b15e
UD
317492011-02-02 Ulrich Drepper <drepper@gmail.com>
31750
31751 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31752 function to the callback.
31753 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31754
10a656fe
AS
317552011-02-02 Andreas Schwab <schwab@redhat.com>
31756
31757 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31758 of errno.
31759
968dad0a
UD
317602011-01-19 Ulrich Drepper <drepper@gmail.com>
31761
9f94d2ea 31762 [BZ #11724]
968dad0a
UD
31763 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31764 of constructors.
31765 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31766 of destructors.
31767 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31768
31769 [BZ #11724]
31770 * elf/Makefile: Add rules to build and run new test.
31771 * elf/tst-initorder.c: New file.
31772 * elf/tst-initorder.exp: New file.
31773 * elf/tst-initordera1.c: New file.
31774 * elf/tst-initordera2.c: New file.
31775 * elf/tst-initordera3.c: New file.
31776 * elf/tst-initordera4.c: New file.
31777 * elf/tst-initorderb1.c: New file.
31778 * elf/tst-initorderb2.c: New file.
31779 * elf/tst-order-a1.c: New file.
31780 * elf/tst-order-a2.c: New file.
31781 * elf/tst-order-a3.c: New file.
31782 * elf/tst-order-a4.c: New file.
31783 * elf/tst-order-b1.c: New file.
31784 * elf/tst-order-b2.c: New file.
31785 * elf/tst-order-main.c: New file.
31786 New test case by George Gensure <werkt0@gmail.com>.
31787
86e92359
UD
317882010-10-01 Andreas Schwab <schwab@redhat.com>
31789
31790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31791 decoding ACE if AI_CANONIDN.
31792
5d5732b0
UD
317932011-01-18 Ulrich Drepper <drepper@gmail.com>
31794
31795 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31796
a77e8cbc
UD
317972011-01-17 Ulrich Drepper <drepper@gmail.com>
31798
6392473f
UD
31799 * version.h (RELEASE): Bump for 2.13 release.
31800 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31801
620a0529
UD
31802 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31803
18ba70a5
UD
31804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31805 MADV_NOHUGEPAGE.
32465c3e
UD
31806 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31807 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31808 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31809 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31812
c0dafcf1
UD
31813 * posix/getconf.c: Update copyright year.
31814 * catgets/gencat.c: Likewise.
31815 * csu/version.c: Likewise.
31816 * debug/catchsegv.sh: Likewise.
31817 * debug/xtrace.sh: Likewise.
31818 * elf/ldconfig.c: Likewise.
31819 * elf/ldd.bash.in: Likewise.
31820 * elf/sprof.c (print_version): Likewise.
31821 * iconv/iconv_prog.c: Likewise.
31822 * iconv/iconvconfig.c: Likewise.
31823 * locale/programs/locale.c: Likewise.
31824 * locale/programs/localedef.c: Likewise.
31825 * malloc/memusage.sh: Likewise.
31826 * malloc/mtrace.pl: Likewise.
31827 * nscd/nscd.c (print_version): Likewise.
31828 * nss/getent.c: Likewise.
31829
a77e8cbc
UD
31830 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31831 PF_CAIF, and PF_ALG.
31832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31833
77e8bddf
AS
318342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31835
1f20b93a
AS
31836 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31837 (modules-names): Use them.
31838 (ifunc-test-modules, ifunc-pie-tests): Define.
31839 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31840 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31841 (test-extras): Likewise.
31842 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31843 $(compile-command.c).
31844 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31845 (all-built-dso): Define.
31846 (check-textrel.out, check-execstack.out): Depend on it.
31847
77e8bddf
AS
31848 * configure.in: Don't override --enable-multi-arch.
31849
bc425b33
UD
318502011-01-15 Ulrich Drepper <drepper@gmail.com>
31851
31852 [BZ #6812]
31853 * nscd/hstcache.c (tryagain): Define.
31854 (cache_addhst): Return tryagain not notfound for temporary errors.
31855 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31856 failed.
31857
794c3ad3
UD
318582011-01-14 Ulrich Drepper <drepper@gmail.com>
31859
70181fdd
UD
31860 [BZ #10563]
31861 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31862 to make the syscall.
31863 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31864
794c3ad3
UD
31865 [BZ #12378]
31866 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31867 and fall back to matching as normal character if the string ends before
31868 the matching ']' is found. This is what POSIX requires.
31869 * posix/testfnm.c: Adjust test result.
31870 * posix/globtest.sh: Adjust test result. Add new test.
31871 * posix/tst-fnmatch.input: Likewise.
31872 * posix/tst-fnmatch2.c: Add new test.
31873
68dc9497
AS
318742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31875
31876 * elf/Makefile (check-execstack): Revert last change. Depend on
31877 check-execstack.h.
31878 (check-execstack.h): New target.
31879 (generated): Add check-execstack.h.
31880 * elf/check-execstack.c: Include "check-execstack.h".
31881 (main): Revert last change.
31882 (handle_file): Return zero if GNU_STACK is absent and
31883 DEFAULT_STACK_PERMS doesn't include PF_X.
31884
451f001b
UD
318852011-01-13 Ulrich Drepper <drepper@gmail.com>
31886
cfa28e56
UD
31887 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31888 in child fails because the descriptor is already closed.
8cf8ce17
UD
31889 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31890 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31891 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31892
1086d70d
UD
31893 [BZ #12397]
31894 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31895 syscall.
31896
451f001b
UD
31897 [BZ #10484]
31898 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31899 temporary buffer used to handle multi lookups locally.
a85b5cb4 31900 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31901
08769175
UD
319022011-01-12 Ulrich Drepper <drepper@gmail.com>
31903
31904 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31905 loader is ld.so.
31906
5e49c52e
UD
319072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31908
31909 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31910 alignment for SSE2.
31911
60522a5f
UD
319122011-01-12 Ulrich Drepper <drepper@gmail.com>
31913
31914 [BZ #12394]
31915 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31916 characters. When rounding increased number of integer digits recompute
31917 number of groups.
31918 * stdio-common/tst-grouping.c: New file.
31919 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31920
f257bbd7
UD
319212011-01-09 Ulrich Drepper <drepper@gmail.com>
31922
31923 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31924 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31925
31926 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31927 void.
31928 * bits/select.h: Likewise.
31929
fa9c15cb
UD
319302011-01-08 Ulrich Drepper <drepper@gmail.com>
31931
31932 * po/ja.po: Update from translation team.
31933
16c2895f
DM
319342011-01-04 David S. Miller <davem@sunset.davemloft.net>
31935
31936 [BZ #11155]
31937 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31938 implementation just like for lxstat, fxstatat, et al.
31939
2543fef2
JM
319402010-12-27 Jim Meyering <meyering@redhat.com>
31941
31942 [BZ #12348]
31943 * posix/regexec.c (build_trtable): Return failure indication upon
31944 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31945
98727dbe
UD
319462010-12-25 Ulrich Drepper <drepper@gmail.com>
31947
5bd6dc5c
UD
31948 [BZ #12201]
31949 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31950 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31951 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31952 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31953
97983464
UD
31954 [BZ #12207]
31955 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31956
98727dbe
UD
31957 [BZ #12204]
31958 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31959 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31960
4a531bb0
L
319612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31962
31963 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31964 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31965 script has SORT_BY_INIT_PRIORITY.
31966 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31967 NO_CTORS_DTORS_SECTIONS is defined.
31968 * elf/soinit.c: Likewise.
31969 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31970 NO_CTORS_DTORS_SECTIONS is defined.
31971 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31972 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31973 * sysdeps/sh/init-first.c: Likewise.
31974 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31975
07eb4b71
UD
319762010-12-24 Ulrich Drepper <drepper@gmail.com>
31977
31978 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31979 always use the slow path.
31980
30950a5f
RA
319812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31982
31983 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31984 similar rule which adds the sysdep directories to the header search in
31985 order to pick up the correct platform stackinfo.h.
31986 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31987 perform test if it is, otherwise return successfully without testing.
31988 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31989 DEFAULT_STACK_PERMS define in stackinfo.h.
31990 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31991 defined in stackinfo.h.
31992 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31993 DEFAULT_STACK_PERMS defined in stackinfo.h.
31994 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31995 * sysdeps/ia64/stackinfo.h: Likewise.
31996 * sysdeps/s390/stackinfo.h: Likewise.
31997 * sysdeps/sh/stackinfo.h: Likewise.
31998 * sysdeps/sparc/stackinfo.h: Likewise.
31999 * sysdeps/x86_64/stackinfo.h: Likewise.
32000 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32001 PF_X for powerpc64. Retain PF_X for powerpc32.
32002
db753e2c
UD
320032010-12-19 Ulrich Drepper <drepper@gmail.com>
32004
14b697f7
UD
32005 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32006 accurately.
db753e2c
UD
32007 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32008 GETDENTS_64BIT_ALIGNED.
32009
28300719
UD
320102010-12-14 Ulrich Drepper <dreper@gmail.com>
32011
14b697f7 32012 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32013
4f197237
AS
320142010-12-10 Andreas Schwab <schwab@redhat.com>
32015
dbb0472f
AS
32016 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32017 _GNU_SOURCE.
32018
4f197237
AS
32019 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32020 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32021 Remove __restrict.
32022 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32023 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32024
fb88ac72
UD
320252010-12-09 Ulrich Drepper <drepper@gmail.com>
32026
32027 [BZ #11655]
32028 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32029 are initialized.
32030
42acbb92
JJ
320312010-12-09 Jakub Jelinek <jakub@redhat.com>
32032
32033 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32034
c038d98d
UD
320352010-12-03 Ulrich Drepper <drepper@gmail.com>
32036
32037 * po/it.po: Update from translation team.
32038
3a4a2499
L
320392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32040
32041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32042 unused codes.
32043
1e24cf6e
UD
320442010-11-30 Ulrich Drepper <drepper@gmail.com>
32045
32046 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32047
a7690819
AS
320482010-11-24 Andreas Schwab <schwab@redhat.com>
32049
32050 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32051 specially.
32052 (gaih_getanswer_slice): Likewise.
32053
3bf8d1b1
JJ
320542010-10-20 Jakub Jelinek <jakub@redhat.com>
32055
32056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32057
6db52fbb
PB
320582010-05-31 Petr Baudis <pasky@suse.cz>
32059
32060 [BZ #11149]
32061 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32062 silently even in the chroot mode.
32063
eaca7569
UD
320642010-11-22 Ulrich Drepper <drepper@gmail.com>
32065
32066 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32067 last patch a bit. Pretty printing
32068
3056dcdb
UD
320692010-05-31 Petr Baudis <pasky@suse.cz>
32070
32071 [BZ #10085]
32072 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32073 initialization of skip_initgroups_dyn.
32074
cf7c9078
UD
320752010-11-19 Ulrich Drepper <drepper@gmail.com>
32076
32077 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32078 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32079
a1fb5e3e
UD
320802010-11-16 Ulrich Drepper <drepper@gmail.com>
32081
32082 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32083
3540d66b
AS
320842010-11-11 Andreas Schwab <schwab@redhat.com>
32085
32086 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32087 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32088 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32089 ($(objpfx)tst-fnmatch-mem): New rule.
32090 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32091 * posix/tst-fnmatch.c (main): Call mtrace.
32092
13b69574
L
320932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32094
32095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32096 Support Intel processor model 6 and model 0x2c.
32097
da93d214
LM
320982010-11-10 Luis Machado <luisgpm@br.ibm.com>
32099
32100 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32101 signed comparison.
32102
8ca52c6e
L
321032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32104
32105 [BZ #12205]
32106 * string/test-strncasecmp.c (check_result): New function.
32107 (do_one_test): Use it.
32108 (check1): New function.
32109 (test_main): Use it.
32110 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32111 Support strcasecmp and strncasecmp.
32112
69da074d
UD
321132010-11-08 Ulrich Drepper <drepper@gmail.com>
32114
32115 [BZ #12194]
32116 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32117 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32118
ff02d528
L
321192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32122 IFUNC support.
32123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32124 memset-x86-64.
32125 * sysdeps/x86_64/multiarch/bzero.S: New file.
32126 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32127 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32128 * sysdeps/x86_64/multiarch/memset.S: New file.
32129 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32131 Set bit_Prefer_SSE_for_memop for Intel processors.
32132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32133 Define.
32134 (index_Prefer_SSE_for_memop): Define.
32135 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32136
344d0b54
LM
321372010-11-04 Luis Machado <luisgpm@br.ibm.com>
32138
32139 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32140 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32141
c0dde15b
UD
321422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 [BZ #12191]
32145 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32146 (__x86_64_raw_data_cache_size_half): Likewise.
32147 (__x86_64_raw_shared_cache_size): Likewise.
32148 (__x86_64_raw_shared_cache_size_half): Likewise.
32149
32150 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32151 (__x86_64_raw_data_cache_size_half): Likewise.
32152 (__x86_64_raw_shared_cache_size): Likewise.
32153 (__x86_64_raw_shared_cache_size_half): Likewise.
32154 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32155 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32156 and __x86_64_raw_shared_cache_size_half. Round
32157 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32158 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32159 to multiple of 256 bytes.
32160
0e516e0e
MS
321612010-11-03 Ulrich Drepper <drepper@gmail.com>
32162
32163 [BZ #12167]
32164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32165 of inacessible symlinks. Verify result of symlink before returning it.
32166 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32167 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32168
0e012e87
ER
321692010-10-28 Erich Ritz <erichritz@gmail.com>
32170
32171 * math/math.h (isinf): Fix typo in comment.
32172
de0ff7bc
UD
321732010-11-01 Ulrich Drepper <drepper@gmail.com>
32174
32175 * po/da.po: Update from translation team.
32176
fa41c84d
UD
321772010-10-26 Ulrich Drepper <drepper@gmail.com>
32178
32179 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32180 is added to the list.
32181
f0967738
AK
321822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32183 Ulrich Drepper <drepper@gmail.com>
32184
32185 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32186 the global list here. Move code to...
32187 (_dl_add_to_namespace_list): ...here. New function.
32188 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32189 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32190 * elf/dl-load.c (lose): Don't remove the element from the list.
32191 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32192 (_dl_map_object): Likewise.
32193
321942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32195
32196 [BZ #12159]
32197 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32198 into all bytes of SSE register.
32199 Patch by Richard Li <richardpku@gmail.com>.
32200
f0967738 322012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32202
32203 [BZ #12140]
32204 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32205 perturbing.
32206
d0b9e94f
MB
322072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32208
32209 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32210 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32211 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32212 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32214 submachine.
32215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32216
8e9f92e9
AS
322172010-10-22 Andreas Schwab <schwab@redhat.com>
32218
32219 * include/dlfcn.h (__RTLD_SECURE): Define.
32220 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32221 mode & __RTLD_SECURE instead.
32222 (open_path): Rename preloaded parameter to secure.
32223 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32224 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32225 * elf/dl-deps.c (openaux): Likewise.
32226 * elf/rtld.c (struct map_args): Remove is_preloaded.
32227 (map_doit): Don't use it.
32228 (dl_main): Likewise.
32229 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32230 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32231
bc96fbda
AS
322322010-09-09 Andreas Schwab <schwab@redhat.com>
32233
32234 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32235 (sysd-rules-targets): Remove duplicates.
32236 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32237 rtld-%.$o dependency.
32238
22cd1c9b
AS
322392010-10-18 Andreas Schwab <schwab@redhat.com>
32240
32241 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32242 _dl_map_object do it.
32243
18edac48
UD
322442010-10-19 Ulrich Drepper <drepper@gmail.com>
32245
32246 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32247 fast fma builtins, define the macros in the C99 standard.
32248 (FP_FAST_FMAF): Likewise.
32249 (FP_FAST_FMAL): Likewise.
32250 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32251
32252 * bits/mathdef.h: Update copyright year.
32253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32254
d2050124
MM
322552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32256
32257 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32258 builtins, define the macros in the C99 standard.
32259 (FP_FAST_FMAF): Likewise.
32260 (FP_FAST_FMAL): Likewise.
32261 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32262 multiply/add.
32263 (FP_FAST_FMAF): Likewise.
32264
475facd1
JJ
322652010-10-15 Jakub Jelinek <jakub@redhat.com>
32266
32267 [BZ #3268]
32268 * math/libm-test.inc (fma_test): Some new testcases.
32269 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32271 y and infinite z. Do multiplication by C already in long double.
32272 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32274 y and infinite z. Do bitwise or of inexact bit into u.d.
32275 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32276 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32277 * sysdeps/i386/fpu/s_fma.S: Removed.
32278 * sysdeps/i386/fpu/s_fmal.S: Removed.
32279
7c08a05c
JJ
322802010-10-16 Jakub Jelinek <jakub@redhat.com>
32281
32282 [BZ #3268]
32283 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32285 computation is not scheduled after fetestexcept. Fix value
32286 of minimum denormal long double.
32287
f3f7372d
JJ
322882010-10-14 Jakub Jelinek <jakub@redhat.com>
32289
32290 [BZ #3268]
32291 * math/libm-test.inc (fma_test): Add some more tests.
32292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32293 correctly.
32294
14d43591
AS
322952010-10-15 Andreas Schwab <schwab@redhat.com>
32296
32297 * scripts/data/localplt-s390-linux-gnu.data: New file.
32298 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32299
5e908464
JJ
323002010-10-13 Jakub Jelinek <jakub@redhat.com>
32301
32302 [BZ #3268]
32303 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32304 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32305 instead of dbl-64.
32306 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32307 inlines.
32308 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32310 if one of x and y is very large and the other is subnormal.
32311 * sysdeps/s390/fpu/s_fmaf.c: New file.
32312 * sysdeps/s390/fpu/s_fma.c: New file.
32313 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32314 * sysdeps/powerpc/fpu/s_fma.S: New file.
32315 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32316 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32317 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32318
323192010-10-12 Jakub Jelinek <jakub@redhat.com>
32320
32321 [BZ #3268]
32322 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32323 fma tests.
32324 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32325 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32326 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32327 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32328 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32329 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32330 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32331
b833d51f
UD
323322010-10-12 Ulrich Drepper <drepper@redhat.com>
32333
32334 [BZ #12078]
32335 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32336 * posix/bug-regex31.input: Add test case.
32337
1751705d
UD
323382010-10-11 Ulrich Drepper <drepper@gmail.com>
32339
e9b9cbf5
UD
32340 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32341 * posix/bug-regex31.input: New file.
32342
32343 [BZ #12078]
32344 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32345 (parse_sub_exp): Fix last change, use postorder.
32346
ef06edbe
UD
32347 * posix/bug-regex31.c: New file.
32348 * posix/Makefile: Add rules to build and run bug-regex31.
32349
a129c80d
UD
32350 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32351
32352 [BZ #12078]
32353 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32354
b76b818e
UD
32355 [BZ #12108]
32356 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32357 to have entries in sys_siglist.
32358
1751705d
UD
32359 [BZ #12093]
32360 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32361 be NULL.
32362
9ff8d36f
JJ
323632010-10-07 Jakub Jelinek <jakub@redhat.com>
32364
32365 [BZ #3268]
32366 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32367 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32368 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32369 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32370 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32371 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32372 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32373 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32374 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32375 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32376 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32377 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32378 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32379 * math/ftestexcept.c (fetestexcept): Likewise.
32380 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32381 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32382 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32383 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32384 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32385 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32386 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32387
af325969
UD
323882010-10-11 Ulrich Drepper <drepper@gmail.com>
32389
c579b202 32390 [BZ #12107]
af325969
UD
32391 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32392 newline.
32393
67a67b95
UD
323942010-10-06 Ulrich Drepper <drepper@gmail.com>
32395
32396 * string/bug-strstr1.c: New file.
32397 * string/Makefile: Add rules to build and run bug-strstr1.
32398
5fb308bc
EB
323992010-10-05 Eric Blake <eblake@redhat.com>
32400
32401 [BZ #12092]
32402 * string/str-two-way.h (two_way_long_needle): Always clear memory
32403 when skipping input due to the shift table.
32404
45db99c7
UD
324052010-10-03 Ulrich Drepper <drepper@gmail.com>
32406
3b111893
UD
32407 [BZ #12005]
32408 * malloc/mcheck.c: Handle large requests.
32409
45db99c7
UD
32410 [BZ #12077]
32411 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32412 for strncmp and strncasecmp.
32413 * string/stratcliff.c: Add tests for strcmp and strncmp.
32414 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32415
cf7a1eb8
NI
324162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32417
32418 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32419 __set_fpscr.
32420
6484ba5e
AJ
324212010-09-30 Andreas Jaeger <aj@suse.de>
32422
32423 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32424 (CGROUP_SUPER_MAGIC): Define.
32425 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32426 Handle btrfs and cgroup file systems.
32427 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32428 Likewise.
32429
91c42559
LM
324302010-09-27 Luis Machado <luisgpm@br.ibm.com>
32431
32432 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32433 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32434
87a97932
AK
324352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32436
32437 [BZ #12067]
32438 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32439 trying to locate the ELF header.
32440
c21cc9bc
AS
324412010-09-27 Andreas Schwab <schwab@redhat.com>
32442
32443 [BZ #11611]
32444 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32445 Mask out sign-bit copies when constructing f_fsid.
32446
315970f6
PB
324472010-09-24 Petr Baudis <pasky@suse.cz>
32448
32449 * debug/stack_chk_fail_local.c: Add missing licence exception.
32450 * debug/warning-nop.c: Likewise.
32451
1ac7a2c7
JM
324522010-09-15 Joseph Myers <joseph@codesourcery.com>
32453
32454 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32455 implementing getdents64 using getdents syscall, set d_type if
32456 __ASSUME_GETDENTS32_D_TYPE.
32457
56801c50
AS
324582010-09-16 Andreas Schwab <schwab@redhat.com>
32459
32460 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32461 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32462
dda51327
UD
324632010-09-21 Ulrich Drepper <drepper@redhat.com>
32464
32465 [BZ #12037]
32466 * posix/unistd.h: Undo change of feature selection for ftruncate from
32467 2010-01-11.
32468
8ffcee4a
UD
324692010-09-20 Ulrich Drepper <drepper@redhat.com>
32470
a545ecd9 32471 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32472 detection.
32473
e24f0a8b
AS
324742010-09-20 Andreas Schwab <schwab@redhat.com>
32475
32476 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32477 fanotify_mark.
32478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32479
7291c56f
AS
324802010-09-14 Andreas Schwab <schwab@redhat.com>
32481
32482 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32483 variables after CHECK_SP call.
32484 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32485
bc5fb037
AS
324862010-09-13 Andreas Schwab <schwab@redhat.com>
32487 Ulrich Drepper <drepper@redhat.com>
32488
32489 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32490 re-relocationg ld.so.
32491 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32492 _dl_init_paths call.
32493 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32494 here anymore.
32495
e66e7419
UD
324962010-09-14 Ulrich Drepper <drepper@redhat.com>
32497
32498 * resolv/res_init.c (__res_vinit): Count the default server we added.
32499
c044aa75
CLT
325002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32501 Ulrich Drepper <drepper@redhat.com>
32502
32503 [BZ #11968]
32504 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32505 (____longjmp_chk): Use %ebx for saving value across system call.
32506 Add unwind info.
32507
32cf4069
AS
325082010-09-06 Andreas Schwab <schwab@redhat.com>
32509
32510 * manual/Makefile: Don't mix pattern rules with normal rules.
32511
817328ee
AS
325122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32513
32514 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32515 operation.
32516 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32517 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32518 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32519 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32521 Likewise.
32522
29fddf61
UD
325232010-09-04 Ulrich Drepper <drepper@redhat.com>
32524
32525 [BZ #11979]
32526 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32527 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32528
0959ffc9
UD
325292010-09-02 Ulrich Drepper <drepper@redhat.com>
32530
32531 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32532 * sysdeps/x86_64/addmul_1.S: Likewise.
32533 * sysdeps/x86_64/lshift.S: Likewise.
32534 * sysdeps/x86_64/mul_1.S: Likewise.
32535 * sysdeps/x86_64/rshift.S: Likewise.
32536 * sysdeps/x86_64/sub_n.S: Likewise.
32537 * sysdeps/x86_64/submul_1.S: Likewise.
32538
ece29840
ST
325392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32540
0959ffc9
UD
32541 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32542 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32543 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32544 * bits/sched.h [__need_schedparam]
ece29840 32545 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32546 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32547 (__defined_schedparam): Define to 1.
ece29840
ST
32548 (__sched_param): New structure, identical to sched_param.
32549 (__need_schedparam): Undefine.
32550
e53a31fe
MF
325512010-08-31 Mike Frysinger <vapier@gentoo.org>
32552
fdc0c10d
MF
32553 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32554 (epoll_create1): Declare.
32555
e53a31fe
MF
32556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32557
a726d796
AS
325582010-08-31 Andreas Schwab <schwab@redhat.com>
32559
32560 [BZ #7066]
32561 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32562 shifting retval into place.
32563
2f3e3dc7
UD
325642010-09-01 Ulrich Drepper <drepper@redhat.com>
32565
f2933da9
UD
32566 * nis/rpcsvc/nis.h: Update copyright notice.
32567 * nis/rpcsvc/nis.x: Likewise.
32568 * nis/rpcsvc/nis_callback.h: Likewise.
32569 * nis/rpcsvc/nis_callback.x: Likewise.
32570 * nis/rpcsvc/nis_object.x: Likewise.
32571 * nis/rpcsvc/nis_tags.h: Likewise.
32572 * nis/rpcsvc/yp.h: Likewise.
32573 * nis/rpcsvc/yp.x: Likewise.
32574 * nis/rpcsvc/ypupd.h: Likewise.
32575 * nis/yp_xdr.c: Likewise.
32576 * nis/ypupdate_xdr.c: Likewise.
32577
2f3e3dc7
UD
32578 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32579 mainly the body of pmap_getport. Add parameters to specify timeouts.
32580 (pmap_getport): Use __libc_rpc_getport.
32581 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32582 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32583 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32584
f3dcc2f9
AS
325852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32586
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32588 fanotify_mark.
32589
6d34eb5b
RM
325902010-08-27 Roland McGrath <roland@redhat.com>
32591
32592 * sysdeps/i386/i686/multiarch/Makefile
32593 (CFLAGS-varshift.c): New variable.
32594
9ea3de11
UD
325952010-08-27 Ulrich Drepper <drepper@redhat.com>
32596
c96d23fc
UD
32597 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32598 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32599
9ea3de11
UD
32600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32601
32602 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32603
623aac7f
L
326042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32605
32606 * sysdeps/x86_64/strlen.S: Unroll the loop.
32607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32608 strlen-sse2 strlen-sse2-bsf.
32609 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32610 __strlen_no_bsf if bit_Slow_BSF is set.
32611 (__strlen_sse42): Removed.
32612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32613 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32614
8b2b7715
RM
326152010-08-25 Roland McGrath <roland@redhat.com>
32616
32617 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32618 * sysdeps/x86_64/multiarch/varshift.c: New file.
32619 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32620 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32621 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32622 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32623
e73015f2
L
326242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32625
32626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32627 strlen-sse2 strlen-sse2-bsf.
32628 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32629 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32630 (__strlen_sse2): Removed.
32631 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32632 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32634 bit_Slow_BSF for Atom.
32635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32636 (index_Slow_BSF): Define.
32637 (HAS_SLOW_BSF): Define.
32638
df24a73e
UD
326392010-08-25 Ulrich Drepper <drepper@redhat.com>
32640
32641 [BZ #10851]
32642 * resolv/res_init.c (__res_vinit): When no server address at all
32643 is given default to loopback.
32644
f2ac4868
RM
326452010-08-24 Roland McGrath <roland@redhat.com>
32646
09055553
RM
32647 * configure.in: Remove config-name.h generation.
32648 * configure: Regenerated.
32649 * config-name.in: File removed.
32650 * scripts/config-uname.sh: New file.
32651 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32652 ($(objdir)config-name.h): New target.
32653
f2ac4868
RM
32654 * sunrpc/rpc_parse.h: Avoid nested comment.
32655
73f27d5e
RH
326562010-08-24 Richard Henderson <rth@redhat.com>
32657 Ulrich Drepper <drepper@redhat.com>
32658 H.J. Lu <hongjiu.lu@intel.com>
32659
32660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32662 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32663 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32664 _mm_alignr_epi8 with _mm_loadu_si128.
32665 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32666 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32667 (__m128i_shift_right): Removed.
32668 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32669 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32670 * sysdeps/x86_64/multiarch/varshift.h: New file.
32671 * sysdeps/x86_64/multiarch/varshift.S: New file.
32672
84b9230c
MF
326732010-08-21 Mike Frysinger <vapier@gentoo.org>
32674
32675 * configure.in: Move assembler checks to before sysdep dir checking.
32676
9bbd0ddc
PB
326772010-08-20 Petr Baudis <pasky@suse.cz>
32678
32679 * LICENSES: Sync the sunrpc license.
32680
9da4bb31
UD
326812010-08-19 Ulrich Drepper <drepper@redhat.com>
32682
a7ab6ec8
UD
32683 * sunrpc/auth_des.c: Update copyright notice once again.
32684 * sunrpc/auth_none.c: Likewise.
32685 * sunrpc/auth_unix.c: Likewise.
32686 * sunrpc/authdes_prot.c: Likewise.
32687 * sunrpc/authuxprot.c: Likewise.
32688 * sunrpc/bindrsvprt.c: Likewise.
32689 * sunrpc/clnt_gen.c: Likewise.
32690 * sunrpc/clnt_perr.c: Likewise.
32691 * sunrpc/clnt_raw.c: Likewise.
32692 * sunrpc/clnt_simp.c: Likewise.
32693 * sunrpc/clnt_tcp.c: Likewise.
32694 * sunrpc/clnt_udp.c: Likewise.
32695 * sunrpc/clnt_unix.c: Likewise.
32696 * sunrpc/des_crypt.c: Likewise.
32697 * sunrpc/des_soft.c: Likewise.
32698 * sunrpc/get_myaddr.c: Likewise.
32699 * sunrpc/getrpcport.c: Likewise.
32700 * sunrpc/key_call.c: Likewise.
32701 * sunrpc/key_prot.c: Likewise.
32702 * sunrpc/openchild.c: Likewise.
32703 * sunrpc/pm_getmaps.c: Likewise.
32704 * sunrpc/pm_getport.c: Likewise.
32705 * sunrpc/pmap_clnt.c: Likewise.
32706 * sunrpc/pmap_prot.c: Likewise.
32707 * sunrpc/pmap_prot2.c: Likewise.
32708 * sunrpc/pmap_rmt.c: Likewise.
32709 * sunrpc/rpc/auth.h: Likewise.
32710 * sunrpc/rpc/auth_unix.h: Likewise.
32711 * sunrpc/rpc/clnt.h: Likewise.
32712 * sunrpc/rpc/des_crypt.h: Likewise.
32713 * sunrpc/rpc/key_prot.h: Likewise.
32714 * sunrpc/rpc/netdb.h: Likewise.
32715 * sunrpc/rpc/pmap_clnt.h: Likewise.
32716 * sunrpc/rpc/pmap_prot.h: Likewise.
32717 * sunrpc/rpc/pmap_rmt.h: Likewise.
32718 * sunrpc/rpc/rpc.h: Likewise.
32719 * sunrpc/rpc/rpc_des.h: Likewise.
32720 * sunrpc/rpc/rpc_msg.h: Likewise.
32721 * sunrpc/rpc/svc.h: Likewise.
32722 * sunrpc/rpc/svc_auth.h: Likewise.
32723 * sunrpc/rpc/types.h: Likewise.
32724 * sunrpc/rpc/xdr.h: Likewise.
32725 * sunrpc/rpc_clntout.c: Likewise.
32726 * sunrpc/rpc_cmsg.c: Likewise.
32727 * sunrpc/rpc_common.c: Likewise.
32728 * sunrpc/rpc_cout.c: Likewise.
32729 * sunrpc/rpc_dtable.c: Likewise.
32730 * sunrpc/rpc_hout.c: Likewise.
32731 * sunrpc/rpc_main.c: Likewise.
32732 * sunrpc/rpc_parse.c: Likewise.
32733 * sunrpc/rpc_parse.h: Likewise.
32734 * sunrpc/rpc_prot.c: Likewise.
32735 * sunrpc/rpc_sample.c: Likewise.
32736 * sunrpc/rpc_scan.c: Likewise.
32737 * sunrpc/rpc_scan.h: Likewise.
32738 * sunrpc/rpc_svcout.c: Likewise.
32739 * sunrpc/rpc_tblout.c: Likewise.
32740 * sunrpc/rpc_util.c: Likewise.
32741 * sunrpc/rpc_util.h: Likewise.
32742 * sunrpc/rpcinfo.c: Likewise.
32743 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32744 * sunrpc/rpcsvc/key_prot.x: Likewise.
32745 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32746 * sunrpc/rpcsvc/mount.x: Likewise.
32747 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32748 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32749 * sunrpc/rpcsvc/rex.x: Likewise.
32750 * sunrpc/rpcsvc/rstat.x: Likewise.
32751 * sunrpc/rpcsvc/rusers.x: Likewise.
32752 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32753 * sunrpc/rpcsvc/spray.x: Likewise.
32754 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32755 * sunrpc/rtime.c: Likewise.
32756 * sunrpc/svc.c: Likewise.
32757 * sunrpc/svc_auth.c: Likewise.
32758 * sunrpc/svc_authux.c: Likewise.
32759 * sunrpc/svc_raw.c: Likewise.
32760 * sunrpc/svc_run.c: Likewise.
32761 * sunrpc/svc_simple.c: Likewise.
32762 * sunrpc/svc_tcp.c: Likewise.
32763 * sunrpc/svc_udp.c: Likewise.
32764 * sunrpc/svc_unix.c: Likewise.
32765 * sunrpc/svcauth_des.c: Likewise.
32766 * sunrpc/xcrypt.c: Likewise.
32767 * sunrpc/xdr.c: Likewise.
32768 * sunrpc/xdr_array.c: Likewise.
32769 * sunrpc/xdr_float.c: Likewise.
32770 * sunrpc/xdr_mem.c: Likewise.
32771 * sunrpc/xdr_rec.c: Likewise.
32772 * sunrpc/xdr_ref.c: Likewise.
32773 * sunrpc/xdr_sizeof.c: Likewise.
32774 * sunrpc/xdr_stdio.c: Likewise.
32775
9da4bb31
UD
32776 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32777 handling.
32778
bdaa77bc
AS
327792010-08-19 Andreas Schwab <schwab@redhat.com>
32780
32781 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32782
fe2f79db
LM
327832010-08-19 Luis Machado <luisgpm@br.ibm.com>
32784
32785 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32786 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32787 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32788 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32789 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32790 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32791 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32792 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32793 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32794 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32795 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32796 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32797 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32798 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32799
b9b42ee0
AB
328002010-07-26 Anton Blanchard <anton@samba.org>
32801
32802 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32803 * malloc/arena.c (heap_trim): Likewise.
32804
1c06ba31
UD
328052010-08-16 Ulrich Drepper <drepper@redhat.com>
32806
32807 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32808 here. Not...
32809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32810 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32811
f8392f40
L
328122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32813
32814 * sysdeps/i386/elf/Makefile: New file.
32815
3162f12e
AS
328162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32817
32818 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32819 from fanotify_init.
32820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32822
28c90b2c
UD
328232010-08-15 Ulrich Drepper <drepper@redhat.com>
32824
32825 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32826 of strncasecmp_l.
1feccb6c 32827 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32828
ca6bb004
UD
328292010-08-14 Ulrich Drepper <drepper@redhat.com>
32830
e9f82e0d
UD
32831 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32832 strncase_l-nonascii.
32833 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32834 Add strncase_l-ssse3.
32835 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32836 * sysdeps/x86_64/strcmp.S: Likewise.
32837 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32838 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32839 * sysdeps/x86_64/strncase.S: New file.
32840 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32841 * sysdeps/x86_64/strncase_l.S: New file.
32842 * string/Makefile (strop-tests): Add strncasecmp.
32843 * string/test-strncasecmp.c: New file.
32844
32845 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32846 warning.
32847
ca6bb004
UD
32848 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32849 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32850
052fa7b3
AS
328512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32852
32853 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32854
962dba78
UD
328552010-08-12 Ulrich Drepper <drepper@redhat.com>
32856
32857 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32858 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32859 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32860
bebff237
AM
328612010-05-01 Alan Modra <amodra@gmail.com>
32862
32863 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32864 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32865 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32866 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32867 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32868 tidying. Don't tail-call __sigjmp_save for static lib.
32869 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32870 save location.
32871 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32872 (CALL_MCOUNT): Add eh info, and nop after bl.
32873 (TAIL_CALL_SYSCALL_ERROR): New macro.
32874 (PSEUDO_RET): Use it.
32875 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32876 Correct save location of integer regs and cr.
32877 (_dl_profile_resolve): Correct cr save location. Delete nops
32878 after bl when SHARED. Reduce cfi size a little by better
32879 placement of cfi directives.
32880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32881 make a stack frame. Instead use parm save area as a temp.
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32883 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32885 Don't make a stack frame for parent, use parm save area.
32886 Increase child stack frame to 112 bytes. Don't save unused reg,
32887 and adjust reg usage. Set up cfi on error recovery and
32888 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32890 (__makecontext): Add dummy nop after jump to exit.
32891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32892 Use correct parm save area and cr save, reduce stack frame.
32893 Correct cfi for possible PSEUDO_RET frame setup.
32894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32895 Branch to local label emitted by PSEUDO_RET rather than
32896 __syscall_error.
32897
02637374
AS
328982010-08-12 Andreas Schwab <schwab@redhat.com>
32899
32900 [BZ #11904]
32901 * locale/programs/locale.c (print_assignment): New function.
32902 (show_locale_vars): Use it.
32903
c3e2f19b
UD
329042010-08-11 Ulrich Drepper <drepper@redhat.com>
32905
3cdaa6ad
UD
32906 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32907 field.
32908 (struct statfs64): Likewise.
32909 (_STATFS_F_FLAGS): Define.
32910 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32912 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32913 (ST_VALID): Define locally.
32914 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32915 __statvfs_getflags, use the provided value.
32916 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32917 __ASSUME_STATFS_F_FLAGS.
32918
754f7da3
UD
32919 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32920
10b3bedc
UD
32921 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32922 Add sys/fanotify.h.
32923 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32924 fanotify_mask for GLIBC_2.13.
32925 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32926 fanotify_init and fanotify_mark.
32927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32928 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32929
c08fb0d7
UD
32930 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32931 Add prlimit.
32932 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32933 prlimit64 for GLIBC_2.13.
32934 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32935 prlimit64.
32936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32937 syscall.
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32939 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32940 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32941 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32943 add prlimit alias.
32944 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32945
15bac72b
UD
32946 [BZ #11903]
32947 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32948 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32949
c3e2f19b
UD
32950 * nss/Makefile: Add rules to build and run tst-nss-test1.
32951 * shlib-versions: Add entry for libnss_test1.
32952 * nss/nss_test1.c: New file.
32953 * nss/tst-nss-test1.c: New file.
32954
32955 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32956 (__nss_configure_lookup): Set appropriate entry in
32957 __nss_configure_lookup to true.
32958 * nss/nsswitch.h: Define enum with indeces of databases in
32959 databases and __nss_database_custom arrays. Declare
32960 __nss_database_custom.
32961 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32962 to avoid using nscd when custom rules are installed.
32963 * nss/getXXbyYY_r.c: Likewise.
32964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32965
32966 * nss/nss_files/files-parse.c: Whitespace fixes.
32967
f15ce4d8
UD
329682010-08-09 Ulrich Drepper <drepper@redhat.com>
32969
32970 [BZ #11883]
32971 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32972 * posix/fnmatch_loop.c: Likewise.
32973
d22e4cc9
AK
329742010-07-17 Andi Kleen <ak@linux.intel.com>
32975
32976 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32977 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32978 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32979 * Versions.def [GLIBC_2.13]: Add.
32980
805bc17d
UD
329812010-08-06 Ulrich Drepper <drepper@redhat.com>
32982
32983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32984 Also fail if tpwd after pwuid call is NULL.
32985
5a42321d
ST
329862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32987
32988 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32989 when converting to ms.
32990
fd3ebeda
ST
329912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32992
32993 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32994 EOPNOTSUPP errors with ENOTTY.
32995 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32996 EOPNOTSUPP errors with ENOTTY.
32997
73507d3a
UD
329982010-07-31 Ulrich Drepper <drepper@redhat.com>
32999
33000 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33001 Add strcasecmp_l-ssse3.
33002 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33003 strcasecmp.
33004 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33005 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33006 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33007
fe36dd02
UD
330082010-07-30 Ulrich Drepper <drepper@redhat.com>
33009
66f6765a
UD
33010 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33011
42e08a54
UD
33012 * string/Makefile (strop-tests): Add strcasecmp.
33013 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33014 strcasecmp_l-nonascii.
33015 (gen-as-const-headers): Add locale-defines.sym.
33016 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33017 * sysdeps/x86_64/strcasecmp.S: New file.
33018 * sysdeps/x86_64/strcasecmp_l.S: New file.
33019 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33020 * sysdeps/x86_64/locale-defines.sym: New file.
33021 * string/test-strcasecmp.c: New file.
33022
fe36dd02
UD
33023 * string/test-strcasestr.c: Test both ends of the range of characters.
33024 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33025
48cbc0d6
RM
330262010-07-29 Roland McGrath <roland@redhat.com>
33027
76e6d6bc 33028 [BZ #11856]
48cbc0d6
RM
33029 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33030
880113d9
UD
330312010-07-27 Ulrich Drepper <drepper@redhat.com>
33032
33033 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33034 for ld.so.
33035
deb9cabb
AS
330362010-07-27 Andreas Schwab <schwab@redhat.com>
33037
33038 * manual/memory.texi (Malloc Tunable Parameters): Document
33039 M_PERTURB.
33040
1c7570ff
RM
330412010-07-26 Roland McGrath <roland@redhat.com>
33042
33043 [BZ #11840]
33044 * configure.in (-fgnu89-inline check): Set and substitute
33045 gnu89_inline, not libc_cv_gnu89_inline.
33046 * configure: Regenerated.
33047 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33048
24fb0f88
UD
330492010-07-26 Ulrich Drepper <drepper@redhat.com>
33050
33051 * string/test-strnlen.c: New file.
33052 * string/Makefile (strop-tests): Add strnlen.
33053 * string/tester.c (test_strnlen): Add a few more test cases.
33054 * string/tst-strlen.c: Better error reporting.
33055
33056 * sysdeps/x86_64/strnlen.S: New file.
33057
8e96b93a
UD
330582010-07-24 Ulrich Drepper <drepper@redhat.com>
33059
33060 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33061 lower-latency instructions.
33062
dbc676d4
UD
330632010-07-23 Ulrich Drepper <drepper@redhat.com>
33064
33065 * string/test-strcasestr.c: New file.
33066 * string/test-strstr.c: New file.
33067 * string/Makefile (strop-tests): Add strstr and strcasestr.
33068 * string/str-two-way.h: Don't undefine MAX.
33069 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33070
f6a31e0e
AS
330712010-07-21 Andreas Schwab <schwab@redhat.com>
33072
33073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33074 strcasestr-nonascii.
33075 (CFLAGS-strcasestr-nonascii.c): Define.
33076 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33077 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33078 Remove unused attribute.
33079
5dbc3b6c
RM
330802010-07-20 Roland McGrath <roland@redhat.com>
33081
33082 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33083 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33084 ld.so.cache was broken. With it, there is no way to disable dsocaps
33085 like LD_HWCAP_MASK can disable hwcaps.
33086
23d101d8
EPM
330872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33088
33089 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33090
cc9f2e47
UD
330912010-07-16 Ulrich Drepper <drepper@redhat.com>
33092
33093 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33094 call in strcasestr.
33095 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33096 __strcasestr_sse42_nonascii.
33097 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33098 strcasestr-nonascii.c.
33099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33100
77c1b069
LM
331012010-06-15 Luis Machado <luisgpm@br.ibm.com>
33102
33103 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33104 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33105 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33106 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33107
440566c3
UD
331082010-07-09 Ulrich Drepper <drepper@redhat.com>
33109
33110 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33111 fcntl.
33112
5be9d05d
AS
331132010-07-06 Andreas Schwab <schwab@redhat.com>
33114
c30b7ee2 33115 [BZ #11577]
5be9d05d
AS
33116 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33117 dl_signal_cerror.
33118
8a492a67
UD
331192010-07-06 Ulrich Drepper <drepper@redhat.com>
33120
33121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33122 _PC_PIPE_BUF using F_GETPIPE_SZ.
33123
713df3d5
RM
331242010-07-05 Roland McGrath <roland@redhat.com>
33125
33126 * manual/arith.texi (Rounding Functions): Fix rint description
33127 implicit in round description.
33128
702e8f14
UD
331292010-07-02 Ulrich Drepper <drepper@redhat.com>
33130
33131 * elf/Makefile: Fix linking for a few tests to make recent linker
33132 happy.
33133
52ed8be9
AS
331342010-06-30 Andreas Schwab <schwab@redhat.com>
33135
33136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33137 $(common-objpfx)libc_nonshared.a.
33138
f47c9a11
LM
331392010-06-21 Luis Machado <luisgpm@br.ibm.com>
33140
33141 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33142 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33143 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33144 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33145 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33146 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33147 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33148 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33163 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33164 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33165 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33166 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33167 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33168 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33169 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33170 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33171 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33172 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33173 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33174 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33189
6fb8cbcb
L
331902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33191
33192 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33193 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33194 * string/memmove.c (memmove): Renamed to ...
33195 (MEMMOVE): ...this. Default to memmove.
33196 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33197 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33198 (END_CHK): Define.
33199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33200 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33201 mempcpy-ssse3-back memmove-ssse3-back.
33202 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33205 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33206 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33207 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33208 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33209 * sysdeps/x86_64/multiarch/memmove.c: New file.
33210 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33211 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33212 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33213 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33216 Define.
33217 (index_Fast_Copy_Backward): Define.
33218 (HAS_ARCH_FEATURE): Define.
33219 (HAS_FAST_REP_STRING): Define.
33220 (HAS_FAST_COPY_BACKWARD): Define.
33221
4e733bac 332222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33223
33224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33225 Restore proper fallback handling.
33226
63c4ed22
UD
332272010-06-19 Ulrich Drepper <drepper@redhat.com>
33228
ac2b484c
UD
33229 [BZ #11701]
33230 * posix/group_member.c (__group_member): Correct checking loop.
33231
63c4ed22
UD
33232 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33233 OOM in getpwuid_r correctly. Return error number when the caller
33234 should return, otherwise -1.
33235 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33236 call returning > 0 value.
33237 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33238
765ade4b
AS
332392010-06-07 Andreas Schwab <schwab@redhat.com>
33240
33241 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33242 libc_nonshared.a from targets in modules-names.
33243
80da2e09
KS
332442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33245
33246 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33247 requires it.
33248
158db122
LM
332492010-06-10 Luis Machado <luisgpm@br.ibm.com>
33250
33251 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33252 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33253 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33254 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33255
caa78cf8
AS
332562010-06-02 Andreas Schwab <schwab@redhat.com>
33257
33258 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33259
b2ef2c01
UD
332602010-06-14 Ulrich Drepper <drepper@redhat.com>
33261
33262 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33263 and F_GETPIPE_SZ.
33264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33270
fbd643b6
RM
332712010-06-14 Roland McGrath <roland@redhat.com>
33272
33273 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33274
f32f2869
JJ
332752010-06-07 Jakub Jelinek <jakub@redhat.com>
33276
33277 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33278 __REDIRECT followed by __THROW.
33279 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33280 * posix/getopt.h (getopt): Likewise.
33281
2a50c078
EPM
332822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33283
33284 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33285 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33286 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33287 in AT_FLAGS.
33288 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33289 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33290
eb5ad2eb
LM
332912010-05-28 Luis Machado <luisgpm@br.ibm.com>
33292
33293 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33294
3c88fe1e
L
332952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33296
33297 [BZ #11640]
33298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33299 Properly check family and model.
33300
d2f73151
TY
333012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33302
33303 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33304
ebd2e13d
LM
333052010-05-24 Luis Machado <luisgpm@br.ibm.com>
33306
33307 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33308
b32b8b45
UD
333092010-05-21 Ulrich Drepper <drepper@redhat.com>
33310
33311 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33312 symbol reference.
33313
9acbe24d
AS
333142010-05-19 Andreas Schwab <schwab@redhat.com>
33315
33316 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33317 symbol reference.
33318
f0ccf6ea
AS
333192010-05-21 Andreas Schwab <schwab@redhat.com>
33320
3d04ff3a
AS
33321 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33322 and internal_recvmmsg.
33323 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33324 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33325 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33326 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33327
f0ccf6ea
AS
33328 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33329 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33330 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33331
5b08ac57
AS
333322010-05-20 Andreas Schwab <schwab@redhat.com>
33333
33334 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33335
4828935d
LM
333362010-05-17 Luis Machado <luisgpm@br.ibm.com>
33337
33338 POWER7 optimizations.
33339 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33340 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33341
373d545e
UD
333422010-05-19 Ulrich Drepper <drepper@redhat.com>
33343
33344 * version.h: Update for 2.13 development version.
33345
21a2b1ae
AS
333462010-05-12 Andrew Stubbs <ams@codesourcery.com>
33347
33348 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33349 exceptions. Return 0.
33350
3f7dcb2b
RM
333512010-05-07 Roland McGrath <roland@redhat.com>
33352
33353 * elf/ldconfig.c (main): Add a const.
33354
5f24d53a 333552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33356
a160f8d8
UD
33357 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33358 (args_options): Add no-idn option.
33359 (ahosts_keys_int): Add idn_flags to ai_flags.
33360 (parse_option): Handle 'i' option to clear idn_flags.
33361
5f24d53a
UD
33362 * malloc/malloc.c (_int_free): Possible race in the most recently
33363 added check. Only act on the data if no current modification
33364 happened.
265bb1ce
UD
33365
33366See ChangeLog.17 for earlier changes.