]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix erroneous (and circular) implied pattern rule for linkobj/libc.so.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5f855e35
BM
12013-10-03 Brooks Moses <bmoses@google.com>
2
3 [BZ #15915]
4 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5 * Makerules: ...here, and adjust associated comments.
6
3cef6009
WN
72013-10-02 Will Newton <will.newton@linaro.org>
8
9 * malloc/Makefile: Add tst-pvalloc.
10 * malloc/tst-pvalloc.c: New file.
11
7815420b
WN
122013-10-02 Will Newton <will.newton@linaro.org>
13
14 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15 improve test coverage.
16
4868b204
WN
172013-10-02 Will Newton <will.newton@linaro.org>
18
19 * malloc/Makefile: Add tst-posix_memalign.
20 * malloc/tst-posix_memalign.c: New file.
21
29c793b3
EB
222013-10-01 Eric Blake <eblake@redhat.com>
23
24 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25 Use __THROWNL rather than __THROW on static functions.
26
fd967522
PM
272013-09-30 Petr Machata <pmachata@redhat.com>
28
29 * elf/elf.h (R_AARCH64_ABS16): New macro.
30 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
34 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
53 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
64 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
65 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
66 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
67 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
68 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
69 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
70 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
71 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
72 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
73 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
74 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
75 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
76 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
77 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
78 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
79 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
80 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
81 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
82 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
83 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
84 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
85 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
86 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
87 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
88 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
89 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
90 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
91 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
92 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
93 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
94 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
95 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
96 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
97 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
98 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
99 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
100 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
101 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
102 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
103 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
104 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
105 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
106 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
107 (R_AARCH64_TLSDESC_LDR): Likewise.
108 (R_AARCH64_TLSDESC_ADD): Likewise.
109 (R_AARCH64_TLSDESC_CALL): Likewise.
110
b2179107
AS
1112013-09-30 Andreas Schwab <schwab@suse.de>
112
113 [BZ #15048]
114 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
115 the nss database lookup.
116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
118
47f28d0a
MF
1192013-09-28 Mike Frysinger <vapier@gentoo.org>
120
121 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
122
1232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
124
125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
126 ${Bash-specific parameter/pattern/string} parameter expansion.
127 * sysdeps/unix/make-syscalls.sh: Likewise.
128
f4518a17
KK
1292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
130
131 * sysdeps/sh/stackguard-macros.h: New file.
132
dc1a95c7
OB
1332013-09-26 Ondřej Bílka <neleai@seznam.cz>
134
135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
137 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
140 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
141
5ebbff8f
AZ
1422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143
144 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
145 Fix thread ID register.
146
4fd2cf9f
JM
1472013-09-25 Joseph Myers <joseph@codesourcery.com>
148
149 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
150 [POSIX || UNIX98]: Require rather than permitting all symbols from
151 <time.h>.
152 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
153 element of struct sched_param.
154 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
155 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
156 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
157 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
158 constant.
159
12c22bc4
OL
1602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
161
162 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
163 argument calculation.
164
a03d8ea7
JM
1652013-09-24 Joseph Myers <joseph@codesourcery.com>
166
167 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
168 Expect macro.
169 [POSIX] (pthread_attr_t): Do not require type.
170 [POSIX] (pthread_cond_t): Likewise.
171 [POSIX] (pthread_condattr_t): Likewise.
172 [POSIX] (pthread_key_t): Likewise.
173 [POSIX] (pthread_mutex_t): Likewise.
174 [POSIX] (pthread_mutexattr_t): Likewise.
175 [POSIX] (pthread_once_t): Likewise.
176 [POSIX] (pthread_t): Likewise.
177 [POSIX-based standards] (pthread_atfork): Expect function.
178
6055173a
JM
1792013-09-24 Joseph Myers <joseph@codesourcery.com>
180 Richard Sandiford <richard@codesourcery.com>
181
182 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
183 (swap_endianness_p): New extern variable.
184 (set_big_endian): New inline function.
185 (maybe_swap_uint32): Likewise.
186 (maybe_swap_uint32_array): Likewise.
187 (maybe_swap_uint32_obstack): Likewise.
188 * locale/programs/locfile.c: Include <stdbool.h>.
189 (swap_endianness_p): New variable.
190 (add_locale_uint32): Call maybe_swap_uint32.
191 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
192 (write_locale_data): Call maybe_swap_uint32_array.
193 * locale/programs/ld-collate.c (obstack_int32_grow): Call
194 maybe_swap_uint32.
195 (obstack_int32_grow_fast): Likewise.
196 (output_weightwc): Call maybe_swap_uint32_obstack.
197 (collate_output): Likewise.
198 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
199 (OPT_LITTLE_ENDIAN): Likewise.
200 (options): Add --little-endian and --big-endian options.
201 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
202 * locale/programs/locarchive.c: Include "locfile.h".
203 (GET): New macro.
204 (SET): Likewise.
205 (INC): Likewise.
206 (create_archive): Use the new macros to access fields of
207 structures directly mapped from or written to locale archives.
208 (oldlocrecentcmp): Likewise.
209 (enlarge_archive): Likewise.
210 (insert_name): Likewise.
211 (add_alias): Likewise.
212 (add_locale): Likewise.
213 (delete_locales_from_archive): Likewise.
214 (show_archive_content): Likewise.
215 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
216 locale data.
217
39bf0bb4
RM
2182013-09-24 Roland McGrath <roland@hack.frob.com>
219
220 * manual/freemanuals.texi: Updated from (newly) canonical copy at
221 http://www.gnu.org/doc/freemanuals.texi.
222 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
223
f02eed10
WN
2242013-09-24 Will Newton <will.newton@linaro.org>
225
226 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
227 macro.
228
a3a6c312
JM
2292013-09-23 Joseph Myers <joseph@codesourcery.com>
230
231 * locale/hashval.h (compute_hashval): Interpret bytes of key as
232 unsigned char.
233
107375ac
MR
2342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
235
236 * manual/threads.texi (POSIX Threads): Fix a typo.
237
141f3a77
SP
2382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
239
303e567a
SP
240 [BZ #14547]
241 * string/tst-strcoll-overflow.c: New test case.
242 * string/Makefile (xtests): Add tst-strcoll-overflow.
243 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
244 cache if string sizes may cause integer overflow.
245
141f3a77
SP
246 [BZ #14547]
247 * string/strcoll_l.c (coll_seq): New members rule, idx,
248 save_idx and back_us.
249 (get_next_seq_nocache): New function.
250 (do_compare_nocache): New function.
251 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
252 when malloc fails.
253
c61b4d41
CD
2542013-09-23 Carlos O'Donell <carlos@redhat.com>
255
0b1f8e35
CD
256 [BZ #15754]
257 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
258 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
259 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
260
c61b4d41
CD
261 [BZ #15754]
262 * elf/Makefile (tests): Add tst-ptrguard1.
263 (tests-static): Add tst-ptrguard1-static.
264 (tst-ptrguard1-ARGS): Define.
265 (tst-ptrguard1-static-ARGS): Define.
266 * elf/tst-ptrguard1.c: New file.
267 * elf/tst-ptrguard1-static.c: New file.
268 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
269 * sysdeps/i386/stackguard-macros.h: Likewise.
270 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
271 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
272 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
273 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
274 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
275 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
276
2772013-09-23 Hector Marco <hecmargi@upv.es>
278 Ismael Ripoll <iripoll@disca.upv.es>
279 Carlos O'Donell <carlos@redhat.com>
280
281 [BZ #15754]
282 * sysdeps/generic/stackguard-macros.h: Define
283 __pointer_chk_guard_local and POINTER_CHK_GUARD.
284 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
285 Define __pointer_chk_guard_local.
286 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
287 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
288
f5f4e7b4
VV
2892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
290
291 [BZ #15859]
292 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
293
5bb43a43
AS
2942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
295
296 * include/string.h (__ffs): Declare as hidden.
297 * string/ffs.c (__ffs): Define as hidden.
298 * sysdeps/i386/ffs.c (__ffs): Likewise.
299 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
300 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
301 * sysdeps/s390/ffs.c (__ffs): Likewise.
302 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
303
3ea5be54
AO
3042013-09-20 Alexandre Oliva <aoliva@redhat.com>
305
ffb89e53
AO
306 * NEWS: Mention malloc probes.
307
322dea08
AO
308 * malloc/arena.c (new_heap): New memory_heap_new probe.
309 (grow_heap): New memory_heap_more probe.
310 (shrink_heap): New memory_heap_less probe.
311 (heap_trim): New memory_heap_free probe.
312 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
313 (systrim): New memory_sbrk_less probe.
314 * manual/probes.texi: Document them.
315
655673f3
AO
316 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
317 * manual/probes.texi: Document it.
318
35fed6f1
AO
319 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
320 (__libc_realloc): Add memory_realloc_retry probe.
321 (__libc_memalign): Add memory_memalign_retry probe.
322 (__libc_valloc): Add memory_valloc_retry probe.
323 (__libc_pvalloc): Add memory_pvalloc_retry probe.
324 (__libc_calloc): Add memory_calloc_retry probe.
325 * manual/probes.texi: Document them.
326
6999d38c
AO
327 * malloc/arena.c (get_free_list): Add probe
328 memory_arena_reuse_free_list.
329 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
330 and memory_arena_reuse.
331 (arena_get2) [!PER_THREAD]: Likewise.
332 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
333 memory_arena_reuse_realloc.
334 * manual/probes.texi: Document them.
335
0653427f
AO
336 * malloc/malloc.c (__libc_free): Add
337 memory_mallopt_free_dyn_thresholds probe.
338 (__libc_mallopt): Add multiple memory_mallopt probes.
339 * manual/probes.texi: Document them.
340
3ea5be54
AO
341 * malloc/malloc.c: Include stap-probe.h.
342 (__libc_mallopt): Add memory_mallopt probe.
343 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
344 * manual/probes.texi: New.
345 * manual/Makefile (chapters): Add probes.
346 * manual/threads.texi: Set next node.
347
e35696c3 3482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 349
e35696c3
CL
350 [BZ #15963, #13985]
351 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
352 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
353 Add `Chinese' to `nan' entry name.
354
4aafb73c
SP
3552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
356
357 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
358 (POLYNOMIAL): Likewise.
359 (TAYLOR_SINCOS): Likewise.
360 (TAYLOR_SLOW): Likewise.
361 (__sin): Use TAYLOR_SINCOS.
362 (__cos): Likewise.
363 (slow): Use TAYLOR_SLOW.
364 (sloww): Likewise.
365 (bsloww): Likewise.
366 (csloww): Likewise.
367
d84f25c7
LD
3682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
369
370 * stdlib/strtod_l.c: Fix buffer overrun.
371
5eea0404
SP
3722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
373
7849ff93
SP
374 * benchtests/Makefile (bench): Add sincos.
375 * benchtests/bench-sincos.c: New file.
376
cfa3c886
SP
377 * math/libm-test.inc (cos_test_data): New test inputs.
378 (sin_test_data): Likewise.
379
b348e1e3
SP
380 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
381 macro.
382 (__sin): Use it.
383 (__cos): Likewise.
384 (slow1): Likewise.
385 (slow2): Likewise.
386 (sloww1): Likewise.
387 (sloww2): Likewise.
388 (bsloww1): Likewise.
389 (bsloww2): Likewise.
390 (cslow2): Likewise.
391 (csloww1): Likewise.
392 (csloww2): Likewise.
393
6cce25f8
SP
394 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
395 function.
396 (__sin): Use it.
397 (__cos): Likewise.
398
5eea0404
SP
399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
400 gotos.
401 (__cos): Likewise.
402
9c21573c
MR
4032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
404
405 * config.h.in (HAVE_MIPS_NAN2008): New macro.
406 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
407 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
408 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
409 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
410 * elf/cache.c (print_entry): Handle the new cache flags.
411
24d22e65
JM
4122013-09-18 Joseph Myers <joseph@codesourcery.com>
413 Aldy Hernandez <aldyh@redhat.com>
414
415 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
416 Change condition to [_SOFT_FLOAT].
417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
429 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
432 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
433 declaration.
434
d13ef066
JM
4352013-09-18 Joseph Myers <joseph@codesourcery.com>
436
2e071de0
JM
437 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
438 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
439 (__longjmp): Use LOAD_GP to load saved GPRs.
440 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
441 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
442 (__sigsetjmp): Use SAVE_GP to save GPRs.
443
d13ef066
JM
444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
445 Do not append -msoft-float.
446 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
447
97a0650b
SP
4482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
449
450 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
451
11ca09e9
JM
4522013-09-17 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #15966]
455 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
456 (_FPU_GETCW): Use initial "__" on variable and field names but not
457 on macro parameter name.
458 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
459 parentheses around reference to macro parameter.
460
08ffcf34
RS
4612013-09-13 Richard Sandiford <richard@codesourcery.com>
462
463 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
464 prototype.
465 (ctype_startup): Use uint32_t in cast and sizeof for
466 ctype->charnames.
467
ae7080d3
JL
4682013-09-11 Jia Liu <proljc@gmail.com>
469
470 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
471 __daddr_t_defined.
472 [__FreeBSD__]: Likewise.
473
5905e7b3
OB
4742013-09-11 Ondřej Bílka <neleai@seznam.cz>
475
476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
477 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
478 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
479 (strchr): Remove __strchr_sse42 ifunc selection.
480 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
481 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
482
b987c776
WN
4832013-09-11 Will Newton <will.newton@linaro.org>
484
485 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
486 parameter to RES. Remove hardcoded 1000 value.
487 * benchtests/bench-skeleton.c (main): Pass RES parameter
488 to TIMING_INIT and multiply result by 1000.
489
ddf985af
AZ
4902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491
492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
493
ffdd3181
AS
4942013-09-11 Andreas Schwab <schwab@suse.de>
495
496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
497 if not defined.
498 (O_TMPFILE) [__USE_GNU]: Define.
499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
500 Define.
501
b73ed247
WN
5022013-09-11 Will Newton <will.newton@linaro.org>
503
504 [BZ #15857]
505 * malloc/malloc.c (__libc_memalign): Check the value of bytes
506 does not overflow.
507
55e17aad
WN
5082013-09-11 Will Newton <will.newton@linaro.org>
509
510 [BZ #15856]
511 * malloc/malloc.c (__libc_valloc): Check the value of bytes
512 does not overflow.
513
1159a193
WN
5142013-09-11 Will Newton <will.newton@linaro.org>
515
516 [BZ #15855]
517 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
518 does not overflow.
519
5905e7b3 5202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
521
522 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
527
cdfc721b
AM
5282013-09-10 Allan McRae <allan@archlinux.org>
529
aa04af00
AM
530 [BZ #15748]
531 * manual/arith.texi (Parsing of Floats): Clarify
532 cross-reference.
533
cdfc721b
AM
534 [BZ #15849]
535 * manual/install.texi (Running make install): Mention
536 --enable-pt-chown.
537 * INSTALL: Regenerated.
538
95e7cf29
MR
5392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
540
541 * csu/init-first.c (_init): Remove the !SHARED condition around
542 FPU control word initialization.
543 * elf/dl-support.c (_dl_fpu_control): New variable.
544 (_dl_aux_init) <AT_FPUCW>: Initialize it.
545 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
546 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
547 * math/test-fpucw-static.c: New file.
548 * math/test-fpucw-ieee.c: New file.
549 * math/test-fpucw-ieee-static.c: New file.
550 * math/Makefile (tests): Add `test-fpucw-ieee' and
551 `$(tests-static)'.
552 (tests-static): New variable.
553 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
554 dependency to...
555 [($(build-shared),yes)]
556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
557 ... this.
558 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
559 New dependency.
560
83e43bf0
AM
5612013-09-09 Allan McRae <allan@archlinux.org>
562
a9f5ce09
AM
563 [BZ #15939]
564 * manual/string.texi (Collation Functions): Fix typo in
565 strcoll example.
566 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
567
34829bc2
AM
568 [BZ #15893]
569 * stdlib/isomac.c (get_null_defines): Fix memory leak.
570
3932737d
AM
571 [BZ #15892]
572 * libio/memstream.c (open_memstream): Fix memory leak.
573 * libio/wmemstream.c (open_wmemstream): Likewise.
574
83e43bf0
AM
575 [BZ #15895]
576 * nscd/netgroupcache.c: Fix nesting of ifdefs.
577
0c66b8e9
WN
5782013-09-09 Will Newton <will.newton@linaro.org>
579
580 * malloc/Makefile: Add tst-realloc to tests.
581 * malloc/tst-realloc.c: New file.
582
f6b00fd1
AM
5832013-09-09 Allan McRae <allan@archlinux.org>
584
585 [BZ #15844]
586 * COPYING: Update from GNU website to fix FSF address.
587 * COPYING.LIB: Likewise.
588
eec55e16
DM
5892013-09-06 David S. Miller <davem@davemloft.net>
590
591 * po/zh_TW.po: Update Chinese (traditional) translation from
592 translation project.
593
1ecbb381
RS
5942013-09-06 Richard Sandiford <richard@codesourcery.com>
595 Joseph Myers <joseph@codesourcery.com>
596
597 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
598 "localeinfo.h".
599 (obstack_chunk_alloc): New macro.
600 (obstack_chunk_free): Likewise.
601 (record_offset): New function.
602 (init_locale_data): Likewise.
603 (align_locale_data): Likewise.
604 (add_locale_empty): Likewise.
605 (add_locale_raw_data): Likewise.
606 (add_locale_raw_obstack): Likewise.
607 (add_locale_string): Likewise.
608 (add_locale_wstring): Likewise.
609 (add_locale_uint32): Likewise.
610 (add_locale_uint32_array): Likewise.
611 (add_locale_char): Likewise.
612 (start_locale_structure): Likewise.
613 (end_locale_structure): Likewise.
614 (start_locale_prelude): Likewise.
615 (end_locale_prelude): Likewise.
616 (write_locale_data): Take locale_file structure rather than an
617 iovec.
618 * locale/programs/locfile.h: Include "obstack.h".
619 (struct locale_file): Change to store locale file contents instead
620 of header.
621 (init_locale_data): New prototype.
622 (align_locale_data): Likewise.
623 (add_locale_empty): Likewise.
624 (add_locale_raw_data): Likewise.
625 (add_locale_raw_obstack): Likewise.
626 (add_locale_string): Likewise.
627 (add_locale_wstring): Likewise.
628 (add_locale_uint32): Likewise.
629 (add_locale_uint32_array): Likewise.
630 (add_locale_char): Likewise.
631 (start_locale_structure): Likewise.
632 (end_locale_structure): Likewise.
633 (start_locale_prelude): Likewise.
634 (end_locale_prelude): Likewise.
635 (write_locale_data): Update prototype.
636 * locale/programs/3level.h (struct TABLE): Remove result field.
637 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
638 Use new locale_file interface.
639 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
640 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
641 * locale/programs/ld-address.c (address_output): Use new
642 locale_file interface.
643 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
644 NO_ADD_LOCALE.
645 (collate_finish): Don't call collseq_table_finalize.
646 (collate_output): Use new locale_file interface.
647 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
648 in file.
649 (NO_FINALIZE): Change to NO_ADD_LOCALE.
650 (TABLE): Move defines earlier in file.
651 (ELEMENT): Likewise.
652 (DEFAULT): Likewise.
653 (wctrans_table_add): Move macro and inline function earlier in
654 file.
655 (struct wctype_table): Move type earlier in file.
656 (add_locale_wctype_table): New static prototype.
657 (struct locale_ctype_t): Use logical types instead of struct iovec
658 pointers for members.
659 (ctype_output): Use new locale_file interface.
660 (wctype_table_finalize): Change to add_locale_wctype_table. Use
661 new locale_file interface.
662 (allocate_arrays): Update for use of new locale_file interface.
663 * locale/programs/ld-identification.c (identification_output): Use
664 new locale_file interface.
665 * locale/programs/ld-measurement.c (measurement_output): Likewise.
666 * locale/programs/ld-messages.c (messages_output): Likewise.
667 * locale/programs/ld-monetary.c (monetary_output): Likewise.
668 * locale/programs/ld-name.c (name_output): Likewise.
669 * locale/programs/ld-numeric.c (numeric_output): Likewise.
670 * locale/programs/ld-paper.c (paper_output): Likewise.
671 * locale/programs/ld-telephone.c (telephone_output): Likewise.
672 * locale/programs/ld-time.c (time_output): Likewise.
673
e029e2e5
AZ
6742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675
676 * benchtests/Makefile: Add memrchr benchmark.
677 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
678 benchmark as memrchr.
679 * benchtests/bench-memrchr-ifunc.c: New file.
680 * benchtests/bench-memrchr.c: New file.
681
bbf6e8e4
WN
6822013-09-06 Will Newton <will.newton@linaro.org>
683
684 * benchtests/Makefile (string-bench): Add memcpy.
685
6c82a2f8
CD
6862013-09-05 Carlos O'Donell <carlos@redhat.com>
687 Cong Wang <amwang@redhat.com>
688
689 * sysdeps/unix/sysv/linux/bits/in.h
690 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
691 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
692 before __USE_KERNEL_IPV6_DEFS uses.
693 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
694 IPPROTO_BEETPH.
695 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
696 sockaddr_in6, or ipv6_mreq.
697
5430fc65
AZ
6982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699
700 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
701 memory access for final bytes in some large inputs.
702 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
703
4660856c
AZ
7042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
706 * string/test-memrchr.c: New file.
707 * string/test-memrchr-ifunc.c: New file.
708 * string/Makefile: Add new memrchr testcase.
709
bb8ea713
MF
7102013-09-05 Mike Frysinger <vapier@gentoo.org>
711
712 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
713 fanotify_init returns EPERM.
714
b92a20b5
JM
7152013-09-04 Joseph Myers <joseph@codesourcery.com>
716
717 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
718 errors.
719 (top level): Treat second token from macro or constant entries for
720 allowed headers as allowed.
721 * include/complex.h: Condition internal declarations on
722 [!_ISOMAC].
723 * include/fenv.h: Condition include of <stdbool.h> and internal
724 declarations on [!_ISOMAC].
7447ccd9
CL
725
7262013-09-04 Chris Leonard <cjl@sugarlabs,.org>
727
3e181dda 728 [BZ #15923]
7447ccd9
CL
729 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
730
3f2e46a4
JM
7312013-09-04 Joseph Myers <joseph@codesourcery.com>
732
733 * configure.in (--enable-versioning): Remove configure option.
734 (libc_cv_asm_symver_directive): Remove configure test.
735 (libc_cv_ld_version_script_option): Likewise.
736 (VERSIONING): Remove variable and AC_SUBST.
737 (DO_VERSIONING): Remove AC_DEFINE.
738 * configure: Regenerated.
739 * config.h.in (DO_VERSIONING): Remove macro.
740 * Makerules [$(versioning) = yes]: Change conditionals to
741 [$(build-shared) = yes].
742 * config.make.in (versioning): Remove variable.
743 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
744 [$(build-shared) = yes].
745 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
746 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
747 * elf/Makefile [$(versioning) = yes]: Change conditionals to
748 [$(build-shared) = yes].
749 * extra-lib.mk [$(versioning) = yes]: Likewise.
750 * hurd/Makefile [$(versioning) = yes]: Likewise.
751 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
752 [SHARED].
753 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
754 [SHARED].
755 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
756 [SHARED && !NO_HIDDEN].
757 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
758 [SHARED].
759 [SHARED && DO_VERSIONING]: Likewise..
760 * libio/Makefile [$(versioning) = yes]: Change conditionals to
761 [$(build-shared) = yes].
762 * manual/install.texi (--disable-versioning): Remove
763 documentation.
764 * INSTALL: Regenerated.
765 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
766 to [SHARED].
767 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
768 [$(build-shared) = yes].
769 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
770 * sysdeps/i386/i686/multiarch/strstr-c.c
771 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
772 [SHARED && !NO_HIDDEN].
773 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
774 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
775 * sysdeps/powerpc/powerpc32/dl-machine.c
776 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
777 * sysdeps/powerpc/powerpc32/sysdep.h
778 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
779 to [SHARED && PIC && !NO_HIDDEN].
780 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
781 conditional to [SHARED].
782
44558701
WN
7832013-09-04 Will Newton <will.newton@linaro.org>
784
785 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
786 * benchtests/bench-string.h: Include bench-timing.h instead
787 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
788 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
789 call to HP_TIMING_DIFF_INIT.
790 * benchtests/bench-memccpy.c: Use bench-timing.h macros
791 instead of hp-timing.h macros.
792 * benchtests/bench-memchr.c: Likewise.
793 * benchtests/bench-memcmp.c: Likewise.
794 * benchtests/bench-memcpy.c: Likewise.
795 * benchtests/bench-memmem.c: Likewise.
796 * benchtests/bench-memmove.c: Likewise.
797 * benchtests/bench-memset.c: Likewise.
798 * benchtests/bench-rawmemchr.c: Likewise.
799 * benchtests/bench-strcasecmp.c: Likewise.
800 * benchtests/bench-strcasestr.c: Likewise.
801 * benchtests/bench-strcat.c: Likewise.
802 * benchtests/bench-strchr.c: Likewise.
803 * benchtests/bench-strcmp.c: Likewise.
804 * benchtests/bench-strcpy.c: Likewise.
805 * benchtests/bench-strcpy_chk.c: Likewise.
806 * benchtests/bench-strlen.c: Likewise.
807 * benchtests/bench-strncasecmp.c: Likewise.
808 * benchtests/bench-strncat.c: Likewise.
809 * benchtests/bench-strncmp.c: Likewise.
810 * benchtests/bench-strncpy.c: Likewise.
811 * benchtests/bench-strnlen.c: Likewise.
812 * benchtests/bench-strpbrk.c: Likewise.
813 * benchtests/bench-strrchr.c: Likewise.
814 * benchtests/bench-strspn.c: Likewise.
815 * benchtests/bench-strstr.c: Likewise.
816
cae16d66
WN
8172013-09-04 Will Newton <will.newton@linaro.org>
818
819 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
820
ffa3cd7f
JM
8212013-09-03 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #15427]
824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
825 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
826 * math/libm-test.inc (lgamma_test_data): Add more tests.
827 * sysdeps/i386/fpu/libm-test-ulps: Update.
828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
829
8f02859f
OB
8302013-09-03 Ondřej Bílka <neleai@seznam.cz>
831
832 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
834 Add ifunc.
835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
836 Add strcmp-sse2-unaligned
837 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
838
18d43716
MF
8392013-09-02 Mike Frysinger <vapier@gentoo.org>
840
841 * Versions.def (libc): Add GLIBC_2.19.
842
ac444012
MF
8432013-09-02 Mike Frysinger <vapier@gentoo.org>
844
845 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
846 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
847
b7835e32
JM
8482013-09-02 Joseph Myers <joseph@codesourcery.com>
849
850 [BZ #14155]
851 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
852 intermediate calculations in recurrence.
853 (__ieee754_ynf): Likewise.
854 * math/libm-test.inc (jn_test_data): Do not allow spurious
855 underflow exception. Add more tests.
856 (yn_test_data): Add more tests.
857 * sysdeps/i386/fpu/libm-test-ulps: Update.
858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
859
8220f4f0
OB
8602013-09-02 Ondřej Bílka <neleai@seznam.cz>
861
862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
863
f24a6d08
OB
8642013-08-30 Ondřej Bílka <neleai@seznam.cz>
865
866 * csu/init-first.c: Fix then/than typos.
867 * locale/programs/ld-collate.c: Likewise.
868 * locale/programs/linereader.h: Likewise.
869 * manual/charset.texi: Likewise.
870 * manual/filesys.texi: Likewise.
871 * manual/stdio.texi: Likewise.
872 * manual/string.texi: Likewise.
873 * stdlib/fmtmsg.c: Likewise.
874 * sysdeps/i386/stpncpy.S: Likewise.
875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
876 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
878 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
879
382466e0
OB
8802013-08-30 Ondřej Bílka <neleai@seznam.cz>
881
882 * elf/dl-open.c: Fix typos.
883 * iconvdata/gbbig5.c: Likewise.
884 * iconvdata/iso-2022-jp.c: Likewise.
885 * iconv/gconv_int.h: Likewise.
886 * iconv/loop.c: Likewise.
887 * nis/rpcsvc/nis.h: Likewise.
888 * resolv/ns_name.c: Likewise.
889 * stdio-common/vfscanf.c: Likewise.
890 * streams/stropts.h: Likewise.
891 * sunrpc/rpc_thread.c: Likewise.
892 * sysdeps/i386/strpbrk.S: Likewise.
893 * sysdeps/ieee754/k_standard.c: Likewise.
894 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
896 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
897 * sysdeps/mach/hurd/profil.c: Likewise.
898 * sysdeps/s390/dl-procinfo.h: Likewise.
899 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
900 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
901 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
902 * sysdeps/x86_64/dl-trampoline.S: Likewise.
903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
904
0186c6e9
OB
9052013-08-30 Ondřej Bílka <neleai@seznam.cz>
906
907 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
909
d4e16af1
OB
9102013-08-29 Ondřej Bílka <neleai@seznam.cz>
911
912 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
913 aix specific files.
914 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
920 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
921 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
922
88335980
TS
9232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
924 Roland McGrath <roland@hack.frob.com>
925
926 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
927 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
928
ed479b02
ST
9292013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
930
931 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
932 __executable_start symbol instead of _start.
933
f1cc4c86
TS
9342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
935
d821f07c
TS
936 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
937 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
938 Move macros to...
939 * sysdeps/gnu/ldsodefs.h: ... this new file.
940
c54290cf
TS
941 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
942 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
943 instead of ELFOSABI_LINUX.
944
0007fc9b 945 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
946 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
947 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
948 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
949 Likewise.
950 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
951 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
952 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
953 Likewise.
954 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
955 (ibm_extended_long_double): Add ieee_nan member.
956 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
957 (do_test): New function.
958
f1cc4c86
TS
959 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
960 TEST_TRUNC.
961 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
962 functions, renamed from truncdfsf_test, trunctfsf_test,
963 trunctfdf_test.
964 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
965 functions.
966 (do_test): Run all these.
967
6f65e668
OB
9682013-08-29 Ondřej Bílka <neleai@seznam.cz>
969
970 * argp/argp-help.c: Fix typos.
971 * argp/argp-parse.c: Likewise.
972 * debug/backtracesyms.c: Likewise.
973 * elf/elf.h: Likewise.
974 * malloc/malloc.c: Likewise.
975 * nis/nis_print.c: Likewise.
976 * resolv/res_comp.c: Likewise.
977 * stdlib/stdlib.h: Likewise.
978 * sunrpc/clnt_tcp.c: Likewise.
979 * sunrpc/clnt_udp.c: Likewise.
980 * sunrpc/clnt_unix.c: Likewise.
981 * sysdeps/unix/bsd/ptsname.c: Likewise.
982 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
985 Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
987 Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
989 Likewise.
6f65e668
OB
990 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
991
3a309239
SP
9922013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
993
994 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
996
3b813b29
MF
9972013-08-27 Mike Frysinger <vapier@gentoo.org>
998
999 [BZ #15897]
1000 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1001 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1002 ($(objpfx)bug-dl-leaf): New rule.
1003 ($(objpfx)bug-dl-leaf.so): Likewise.
1004 ($(objpfx)bug-dl-leaf.out): Likewise.
1005 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1006 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1007 * dlfcn/bug-dl-leaf.c: New test.
1008 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1009 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1010 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1011 (dlclose): Likewise.
1012 (dlmopen): Likewise.
1013
8cc3269f
RM
10142013-08-27 Roland McGrath <roland@hack.frob.com>
1015
7f9d0034
RM
1016 * include/netdb.h [!_ISOMAC]:
1017 Don't include <tls.h>.
1018 (h_errno, __libc_h_errno): Move declaration and macros out of
1019 [_LIBC_REENTRANT].
1020
fb431262
RM
1021 * include/resolv.h [_RESOLV_H_]:
1022 Don't include <tls.h>.
1023 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1024 * resolv/res_libc.c: Don't include <tls.h>.
1025 (_res): Use __attribute__ ((nocommon)) in place of
1026 __attribute__ ((section (".bss"))).
1027
bd81123a
RM
1028 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1029 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1030
c4e42566
RM
1031 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1032
f890a59b
RM
1033 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1034 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1035
1036 * resolv/res_mkquery.c: Include <sys/time.h>.
1037
5d1f0a09
RM
1038 * inet/ifreq.c: Moved to ...
1039 * sysdeps/unix/ifreq.c: ... here.
1040 * inet/ifreq.c: New file, true stub version.
1041
6fcf28b3
RM
1042 * socket/sa_len.c: New file.
1043 * socket/Makefile (aux): Add it.
1044 * sysdeps/unix/sysv/linux/Makefile
1045 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1046 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1047 and #include <socket/sa_len.c>.
1048 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1049 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1050
e041fb8b
RM
1051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1052 * bits/socket.h: ... here.
1053
8cc3269f
RM
1054 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1055 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1056 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1057
5d228a43
AS
10582013-08-27 Andreas Schwab <schwab@suse.de>
1059
45b8accc
AS
1060 [BZ #15736]
1061 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1062 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1063 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1064 * string/test-strcasecmp.c (test_main): Run tests in several
1065 locales.
1066 * string/test-strncasecmp.c (test_main): Likewise.
1067
5d228a43
AS
1068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1069 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1070 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1072 (__strncasecmp_ssse3) [PIC]: Likewise.
1073
59d112a4
RM
10742013-08-26 Roland McGrath <roland@hack.frob.com>
1075
53234cc3
RM
1076 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1077
59d112a4
RM
1078 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1079 instead of explicitly declaring xdecrypt.
1080 * nis/nss_nis/nis-publickey.c: Likewise.
1081
595aba70
SP
10822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1083
1084 [BZ #15890]
1085 * nscd/aicache.c: Include res_hconf.h.
1086 (addhstaiX): Initialize res_hconf.
1087
ffabd393
AS
10882013-08-26 Andreas Schwab <schwab@suse.de>
1089
1090 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1091 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1092
e0a69f5c
SP
10932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1094
1095 * nscd/aicache.c (addhstaiX): Fix indentation.
1096
8c12f01d
MF
10972013-08-25 Mike Frysinger <vapier@gentoo.org>
1098
1099 * configure.ac: Quote $build_pt_chown test.
1100 * configure: Regenerated.
1101
8fe89494
JM
11022013-08-23 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #15532]
1105 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1106 * math/s_cexpf.c (__cexpf): Likewise.
1107 * math/s_cexpl.c (__cexpl): Likewise.
1108 * math/libm-test.inc (cexp_test_data): Correct expected return
1109 value for NaN + i0. Add another test.
1110
75b181d6
DM
11112013-08-22 David S. Miller <davem@davemloft.net>
1112
1113 * po/ca.po: Update Catalan translation from translation project.
936241e4 1114 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1115
acd06bb1
JM
11162013-08-21 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #15797]
1119 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1120 is infinite, not alongside NaN test.
1121 * math/s_fdimf.c (__fdimf): Likewise.
1122 * math/s_fdiml.c (__fdiml): Likewise.
1123 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1124 errno is unchanged.
1125
c0c3f78a
OB
11262013-08-21 Ondřej Bílka <neleai@seznam.cz>
1127
1128 * argp/argp-help.c: Fix typos.
1129 * crypt/speeds.c: Likewise.
1130 * csu/check_fds.c: Likewise.
1131 * elf/dl-load.c: Likewise.
1132 * elf/dl-open.c: Likewise.
1133 * elf/reldep3.c: Likewise.
1134 * elf/reldep.c: Likewise.
1135 * elf/sprof.c: Likewise.
1136 * iconv/iconv_charmap.c: Likewise.
1137 * iconv/skeleton.c: Likewise.
1138 * iconv/strtab.c: Likewise.
1139 * io/lockf64.c: Likewise.
1140 * libio/libioP.h: Likewise.
1141 * resolv/gai_notify.c: Likewise.
1142 * resolv/ns_name.c: Likewise.
1143 * resolv/ns_samedomain.c: Likewise.
1144 * resolv/res_send.c: Likewise.
1145 * stdlib/random.c: Likewise.
1146 * sunrpc/rpc/xdr.h: Likewise.
1147 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1149 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1150 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1155 * sysdeps/mach/hurd/check_fds.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1157 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1159 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1160 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1161 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1162 * sysdeps/pthread/aio_notify.c: Likewise.
1163 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1164 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1167 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1168
46ed1038
LD
11692013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1170
1171 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1172 version if bit_Slow_SSE4_2 is set.
1173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1174 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1175
d400dcac
AZ
11762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 [BZ #15867]
1179 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1180 trampoline stack frame information.
1181 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1183 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1184 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1185 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1186 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1187 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1188 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1189 sa_flags value.
1190 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1191 interrupting a syscall and set with option SA_SIGINFO.
1192
42c8fdd8
JM
11932013-08-20 Joseph Myers <joseph@codesourcery.com>
1194
c980f2f4
JM
1195 [BZ #15531]
1196 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1197 argument is infinite.
1198 * math/s_cprojf.c (__cprojf): Likewise.
1199 * math/s_cprojl.c (__cprojl): Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1201 * math/libm-test.inc (cproj_test_data): Add more tests.
1202
0716c4fc
JM
1203 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1204
42c8fdd8
JM
1205 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1206 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1207 size. Use __ffs to determine corresponding shift.
1208
b31469d0
JM
12092013-08-20 Joseph Myers <joseph@codesourcery.com>
1210 Roland McGrath <roland@hack.frob.com>
1211
1212 * Makefile (INSTALL): Remove trailing blank lines from output of
1213 makeinfo.
1214
4e39af6e
AK
12152013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1216
1217 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1218 Align 32 bit compat elf_greg to 8 bytes.
1219
f315524e
AA
12202013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1221
1222 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1223
1326ba1a
SP
12242013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1225
1226 * string/strcoll_l.c (coll_seq): New structure.
1227 (get_next_seq_cached): New function.
1228 (get_next_seq): New function.
1229 (do_compare): New function.
1230 (STRCOLL): Use GNU style definition. Simplify implementation
1231 by using get_next_seq, get_next_seq_cached and do_compare.
1232
91ce4085
FW
12332013-08-16 Florian Weimer <fweimer@redhat.com>
1234
1235 [BZ #14699]
1236 CVE-2013-4237
1237 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1238 member.
1239 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1240 member.
1241 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1242 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1243 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1244 conditional.
1245 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1246 GETDENTS_64BIT_ALIGNED.
1247 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1248 * manual/filesys.texi (Reading/Closing Directory): Document
1249 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1250 strongly.
1251 * manual/conf.texi (Limits for Files): Add portability note to
1252 NAME_MAX, PATH_MAX.
1253 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1254
ca0a6bc4
AS
12552013-08-13 Andreas Schwab <schwab@suse.de>
1256
1257 [BZ #15749]
1258 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1259 of fabs.
1260 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1261 LDBL_MAX_EXP >= 16384]: Add tests for it.
1262
6c1fd795
DM
12632013-08-12 David S. Miller <davem@davemloft.net>
1264
1265 * version.h (RELEASE): Set to "development".
1266 (VERSION): Set to "2.18.90".
1267 * NEWS: Add 2.19 section.
1268
31ad488d
DM
12692013-08-03 David S. Miller <davem@davemloft.net>
1270
1271 * po/ko.po: Update Korean translation from translation project.
1272
db24e684
DM
12732013-08-01 David S. Miller <davem@davemloft.net>
1274
1275 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1276 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1277 Bilka.
1278
f723285b
DM
12792013-07-30 David S. Miller <davem@davemloft.net>
1280
1281 * po/fr.po: Update French translation from translation project.
1282
3cbc52db
DM
12832013-07-28 David S. Miller <davem@davemloft.net>
1284
30bbc0cc
DM
1285 * po/cs.po: Update Czech translation from translation project.
1286
3cbc52db
DM
1287 * po/sv.po: Update Swedish translation from translation project.
1288
d492e6d0
DM
12892013-07-27 David S. Miller <davem@davemloft.net>
1290
f1a7f492
DM
1291 * po/eo.po: Update Esperanto translation from translation project.
1292
90e62a4a
DM
1293 * po/vi.po: Update Vietnamese translation from translation project.
1294
d492e6d0
DM
1295 * po/de.po: Update German translation from translation project.
1296
d4baa62d
DM
12972013-07-26 David S. Miller <davem@davemloft.net>
1298
641aa7b4
DM
1299 * po/bg.po: Update Bulgarian translation from translation project.
1300
d4baa62d
DM
1301 * po/nl.po: Update Dutch translation from translation project.
1302 * po/pl.po: Update Polish translation from translation project.
1303 * po/ru.po: Update Russian translation from translation project.
1304
61a9dcb9
DM
13052013-07-24 David S. Miller <davem@davemloft.net>
1306
1307 * po/libc.pot: Update.
1308
7b1f8b58
AZ
13092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1310
1311 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1312 variable page size.
1313 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1314 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1316
a8fc7a03
AK
13172013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1318
1319 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1320
e4608715
CD
13212013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1322 Andreas Schwab <schwab@suse.de>
1323 Roland McGrath <roland@hack.frob.com>
1324 Joseph Myers <joseph@codesourcery.com>
1325 Carlos O'Donell <carlos@redhat.com>
1326
1327 [BZ #15755]
1328 * config.h.in: Define HAVE_PT_CHOWN.
1329 * config.make.in (build-pt-chown): New variable.
1330 * configure.in (--enable-pt_chown): New configure option.
1331 * configure: Regenerate.
1332 * login/Makefile: Include Makeconfig. Build pt_chown only if
1333 build-pt-chown is enabled.
1334 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1335 pt_chown to fix pty ownership.
1336 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1337 CLOSE_ALL_FDS.
1338 * manual/install.texi (Configuring and compiling): Mention
1339 --enable-pt_chown. Add @findex for grantpt.
1340 * INSTALL: Regenerate.
1341
da2d62df
DM
13422013-07-20 David S. Miller <davem@davemloft.net>
1343
1344 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1345 difference between 32-bit and 64-bit.
1346
d7e06450
CD
13472013-07-15 Carlos O'Donell <carlos@redhat.com>
1348
1349 [BZ #15711]
1350 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1351 Avoid system header dependency with -ffreestanding.
1352 ($(objpfx)bits/syscall%d): Likewise.
1353
f959cfd7
DM
13542013-07-13 David S. Miller <davem@davemloft.net>
1355
1356 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1357 underflows from atanl/atan2l due to bug 15319.
1358 (casinh_test_data): Likewise.
1359
c61f8513
DM
13602013-07-07 David S. Miller <davem@davemloft.net>
1361
1362 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1363
72c90ed0
JA
13642013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1365
1366 * sysdeps/i386/fpu/libm-test-ulps: Update.
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1368
52dfbe13
SP
13692013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1370
1371 * configure.in (--enable-lock-elision): Fix message text.
1372 * INSTALL: Regenerate.
1373 * configure: Regenerate.
1374
3f169543
AZ
13752013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1378
521c6785
AJ
13792013-07-03 Andreas Jaeger <aj@suse.de>
1380
1381 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1382 define.
1383 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1384 (ptrace_peeksiginfo_args): Add.
1385 (__ptrace_peeksiginfo_flags): Add.
1386 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1389
d2cc15cb
AM
13902013-07-03 Allan McRae <allan@archlinux.org>
1391
1392 * sysdeps/i386/fpu/libm-test-ulps: Update.
1393
3aaeeca7
DM
13942013-07-02 David S. Miller <davem@davemloft.net>
1395
1396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1397
5314ed1a
MT
13982013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1399
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1401
67338156
JM
14022013-07-02 Joseph Myers <joseph@codesourcery.com>
1403
1404 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1406
1717da59
AK
14072013-07-02 Andi Kleen <ak@linux.intel.com>
1408
1409 * config.h.in (ENABLE_LOCK_ELISION): Add.
1410 * configure.in (--enable-lock-elision): Add option.
1411 * manual/install.texi: Document --enable lock elision.
1412 * configure: Regenerate
1413 * INSTALL: Regenerate.
1414
1c81621c
L
14152013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1418 SSE4.2 strcasecmp for libc.a.
1419 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1420
77f01ab5
JM
14212013-07-02 Joseph Myers <joseph@codesourcery.com>
1422
1423 [BZ #13304]
1424 * soft-fp/op-common.h (_FP_FMA): New macro.
1425 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1426 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1427 (_FP_MUL_MEAT_1_imm): ... here.
1428 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1429 (_FP_MUL_MEAT_1_wide): ... here.
1430 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1431 (_FP_MUL_MEAT_1_hard): ... here.
1432 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1433 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1434 (_FP_MUL_MEAT_2_wide): ... here.
1435 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1436 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1437 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1438 (_FP_MUL_MEAT_2_gmp): ... here.
1439 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1440 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1441 (_FP_MUL_MEAT_4_wide): ... here.
1442 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1443 (_FP_MUL_MEAT_4_gmp): ... here.
1444 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1445 (_FP_WFRACBITS_DW_S): Likewise.
1446 (_FP_WFRACXBITS_DW_S): Likewise.
1447 (_FP_HIGHBIT_DW_S): Likewise.
1448 (FP_FMA_S): Likewise.
1449 (_FP_FRAC_HIGH_DW_S): Likewise.
1450 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1451 (_FP_WFRACBITS_DW_D): Likewise.
1452 (_FP_WFRACXBITS_DW_D): Likewise.
1453 (_FP_HIGHBIT_DW_D): Likewise.
1454 (FP_FMA_D): Likewise.
1455 (_FP_FRAC_HIGH_DW_D): Likewise.
1456 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1457 (_FP_WFRACBITS_DW_E): Likewise.
1458 (_FP_WFRACXBITS_DW_E): Likewise.
1459 (_FP_HIGHBIT_DW_E): Likewise.
1460 (FP_FMA_E): Likewise.
1461 (_FP_FRAC_HIGH_DW_E): Likewise.
1462 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1463 (_FP_WFRACBITS_DW_Q): Likewise.
1464 (_FP_WFRACXBITS_DW_Q): Likewise.
1465 (_FP_HIGHBIT_DW_Q): Likewise.
1466 (FP_FMA_Q): Likewise.
1467 (_FP_FRAC_HIGH_DW_Q): Likewise.
1468 * soft-fp/fmasf4.c: New file.
1469 * soft-fp/fmadf4.c: Likewise.
1470 * soft-fp/fmatf4.c: Likewise.
1471
6308fd9a
LD
14722013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1473
1474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1475 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1476 Silvermont.
1477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1478 macro.
1479 (index_Slow_SSE4_2): Likewise.
1480 (index_Prefer_PMINUB_for_stringop): Likewise.
1481 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1482 bit_Slow_SSE4_2 is set.
1483 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1485
89cd9569
RA
14862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1487
1488 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1489 rtld_global._dl_hwcap2.
1490 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1491 POWER8.
1492 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1493 POWER8 feature descriptions defined in _dl_hwcap2.
1494 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1495 string handling for POWER8 feature bits.
1496 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1497 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1498 _dl_powerpc_cap_flags.
1499 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1500 * sysdeps/powerpc/rtld-global-offsets.sym
1501 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1502 _dl_hwcap2 in the rtld_global_ro structure.
1503
1ae8bfe0
RA
15042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1505
1506 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1507 hardware capabilities in support of AT_HWCAP2.
1508 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1509 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1510 GLRO(dl_hwcap2).
1511 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1512 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1513 explicitly the unknown a_type display mechanism is used.
1514 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1515 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1516 struct member.
1517 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1518 to macro prototype for AT_HWCAP2 support.
1519 * sysdeps/i386/dl-procinfo.h: Likewise.
1520 * sysdeps/s390/dl-procinfo.h: Likewise.
1521 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1522 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1523 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1524 return -1 for unknown a_type display fallback.
1525 * sysdeps/sparc/dl-procinfo.h: Likewise.
1526 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1527 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1528
8fbec010
JM
15292013-06-28 Joseph Myers <joseph@codesourcery.com>
1530
1531 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1532 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1533
0432680e
PY
15342013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1535
1536 [BZ #12492]
1537 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1538 mprotect making __stack_prot writable.
1539
ce61a2ad
NF
15402013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1541 Joseph Myers <joseph@codesourcery.com>
1542
1543 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1544 as being properly aligned.
1545
f91f1c0f
MR
15462013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1547
3d0f5d0c
MR
1548 * dlfcn/modstatic5.c: New file.
1549 * dlfcn/tststatic5.c: New file.
1550 * dlfcn/Makefile (tests): Add tststatic5.
1551 (tests-static): Likewise.
1552 (modules-names): Add modstatic5.
1553 (tststatic5-ENV): New variable.
1554 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1555
f91f1c0f
MR
1556 [BZ #15022]
1557 * elf/dl-support.c (_dl_main_map): New variable.
1558 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1559 (_dl_nns, _dl_load_adds): Set to 1.
1560 (_dl_initial_searchlist): Refer to _dl_main_map.
1561 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1562 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1563 call to _dl_get_origin.
1564 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1565 around call_map.
1566 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1567 * dlfcn/modstatic3.c: New file.
1568 * dlfcn/tststatic3.c: New file.
1569 * dlfcn/tststatic4.c: New file.
1570 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1571 (tests-static): Likewise.
1572 (modules-names): Add modstatic3.
1573 (tststatic3-ENV, tststatic4-ENV): New variables.
1574 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1575 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1576
cbe7d24b
JM
15772013-06-26 Joseph Myers <joseph@codesourcery.com>
1578
1579 * configure.in (CC): Require GCC version 4.4 or later.
1580 * configure: Regenerated.
1581 * manual/install.texi (Tools for Compilation): Update GCC version
1582 requirement.
1583 * INSTALL: Regenerated.
1584
11b8a0e1
LD
15852013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1586
1587 [BZ #15674]
bb5bb87c
L
1588 * string/test-memcmp.c (check2): New.
1589 (main): Call check2.
1590
11b8a0e1
LD
1591 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1592
b0037103
MR
15932013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1594
1595 [BZ #15022]
1596 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1597 over to...
1598 (dl_open_worker) [!SHARED]: ... here.
1599
c18c701d
RA
16002013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1601
1602 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1603
1d17fa5f
RH
16042013-06-25 Richard Henderson <rth@redhat.com>
1605
1606 * locale/programs/locarchive.c: Include <libc-internal.h>
1607
8fcb833a
JM
16082013-06-25 Joseph Myers <joseph@codesourcery.com>
1609
1610 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1611 trailing whitespace removed.
1612
17db6e8d
MF
16132013-06-24 Mike Frysinger <vapier@gentoo.org>
1614
1615 [BZ #10283]
17db6e8d
MF
1616 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1617 * locale/programs/locarchive.c: Include libc-mmap.h.
1618 (prepare_address_space): Take two new outputs (the mmap base and len).
1619 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1620 values.
1621 (create_archive): Declare new mmap base and len values for
1622 prepare_address_space, and store the result in ah.
1623 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1624 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1625 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1626 Declare new mmap base and len values for
1627 prepare_address_space, and store the result in new_ah.
1628 (open_archive): Declare new mmap base and len values for
1629 prepare_address_space, and store the result in ah.
1630 (close_archive): If ah->mmap_base is not NULL, use that and
1631 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1632 * sysdeps/generic/libc-mmap.h: New file.
1633
d605071e
MF
16342013-06-24 Mike Frysinger <vapier@gentoo.org>
1635
1636 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1637 (ALIGN_UP): Likewise.
1638 (PTR_ALIGN_DOWN): Likewise.
1639 (PTR_ALIGN_UP): Likewise.
1640
2f063a6e
RA
16412013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1642
1643 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1644 entry mapped to PPC_PLATFORM_POWER8.
1645 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1646 POWER8.
1647 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1648 (_dl_string_platform): Add case for exporting platform position for
1649 POWER8.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1651 search path to sysdeps/powerpc/powerpc32/power8 directory.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1653 search path to sysdeps/powerpc/powerpc64/power8 directory.
1654 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1655 power7 directories.
1656 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1657 power7 directories.
1658
a31ee4b3
SP
16592013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1660
a74ca98f
SP
1661 * INSTALL: Regenerate.
1662
a31ee4b3
SP
1663 * nscd/connections.c (nscd_init): Fix comment.
1664
695c378f
JM
16652013-06-22 Joseph Myers <joseph@codesourcery.com>
1666
d8412221
JM
1667 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1668
695c378f
JM
1669 [BZ #15667]
1670 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1671 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1672
d1d54715
MR
16732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1674
1675 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1676 DL_DST_REQ_STATIC.
1677 (DL_DST_REQ_STATIC): Remove macro.
1678
8fdda7af
JM
16792013-06-21 Joseph Myers <joseph@codesourcery.com>
1680
1681 [BZ #7006]
1682 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1683 with a shift of 0 bits.
1684
f3bc5e5a
MR
16852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1686
1687 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1688 $(tststatic-ENV).
1689
be09e8c9
KK
16902013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1691
1692 [BZ #15655]
1693 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1694
85c2e611
AZ
16952013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696
1697 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1698 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1699 accepts -fno-tree-loop-distribute-patterns.
1700 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1701 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1702 recursive call.
1703 * string/memset.c (memset): Likewise.
1704 * string/test-memmove.c (simple_memmove): Disable loop transformation
1705 to library calls.
1706 * string/test-memset.c (simple_memset): Likewise.
1707 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1708 * benchtests/bench-memset.c (simple_memset): Likewise.
1709 * configure: Regenerated.
1710
c91e0825
JM
17112013-06-20 Joseph Myers <joseph@codesourcery.com>
1712
b8c792af
JM
1713 * math/test-misc.c (main): Ignore fesetround failure when failures
1714 of subsequent rounding tests would be ignored.
1715
c91e0825
JM
1716 [BZ #15654]
1717 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1718 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1719 * math/fegetenv.c (__fegetenv): Return 0.
1720 * math/fegetexcept.c (fegetexcept): Return 0.
1721 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1722 FE_TONEAREST.
1723 * math/feholdexcpt.c (feholdexcept): Return 0.
1724 * math/fesetenv.c (__fesetenv): Return 0.
1725 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1726 argument FE_TONEAREST.
1727 * math/feupdateenv.c (__feupdateenv): Return 0.
1728 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1729
bfcacbde
RM
17302013-06-18 Roland McGrath <roland@hack.frob.com>
1731
1732 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1733 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1734 ($(objpfx)rtld-%.os rules): Use them.
1735
e55a9b25
AZ
17362013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1737
1738 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1739 fields.
1740
346d65b3
RM
17412013-06-17 Roland McGrath <roland@hack.frob.com>
1742
12086fb4
RM
1743 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1744 length of target pattern, then descending length of dependency pattern.
1745 * configure.in (AWK): Require gawk 3.1.2 or newer.
1746 * manual/install.texi (Tools for Compilation): Say that we do.
1747 * configure: Regenerated.
1748
346d65b3
RM
1749 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1750 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1751 * scripts/sysd-rules.awk: ... this new script.
1752 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1753 than a glob-style pattern.
1754
1a846317
JM
17552013-06-17 Joseph Myers <joseph@codesourcery.com>
1756
1757 * math/test-misc.c (main): Do not treat incorrectly rounded
1758 conversions as failure unless ROUNDING_TESTS passes.
1759
8fc75e6f
JM
17602013-06-15 Joseph Myers <joseph@codesourcery.com>
1761
3711a167
JM
1762 [BZ #15631]
1763 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1764 restore exception state around main square root computation, then
1765 check for inexactness explicitly.
1766
8fc75e6f
JM
1767 * math/libm-test.inc (fma_test_data): Add another test.
1768
61dd6208
SP
17692013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
adf23d2c
SP
1771 * manual/threads.texi (Non-POSIX Extensions): New document
1772 node. Document pthread_getattr_default_np and
1773 pthread_setattr_default_np.
1774
61dd6208
SP
1775 * Versions.def (libpthread): Add GLIBC_2.18.
1776 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1788 Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1790 Likewise.
1791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1792 Likewise.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1794 Likewise.
1795
d086fc7b
LD
17962013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1797
1798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1799 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1800
747ef469
SP
18012013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1802 H.J. Lu <hjl.tools@gmail.com>
1803
1804 [BZ #15627]
1805 * sysdeps/x86_64/rtld-memset.c: Remove file.
1806 * sysdeps/x86_64/rtld-memset.S: New file.
1807
1b2feed2
JM
18082013-06-14 Joseph Myers <joseph@codesourcery.com>
1809
1810 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1811 (test_in_one_mode): Take arguments for whether the rounding mode
1812 is supported for each floating-point type.
1813 (do_test): Pass new arguments to test_in_one_mode using
1814 ROUNDING_TESTS.
1815
a58ad3f8
RM
18162013-06-13 Roland McGrath <roland@hack.frob.com>
1817
1818 * posix/tst-waitid.c (do_test): Distinguish different instances of
1819 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1820 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1821 before entering the kernel for waitpid.
1822
c204ab28
SP
18232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1824
1825 * NEWS: Fix note on clock function precision. Text by Roland
1826 McGrath.
1827
f4a29fba
RM
18282013-06-13 Roland McGrath <roland@hack.frob.com>
1829
1830 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1831 it into place only when and if the sanity check passes.
1832
1f24b9ad
JM
18332013-06-13 Joseph Myers <joseph@codesourcery.com>
1834
1835 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1836 output for whether conversion result is exact. Take argument
1837 indicating whether type is IBM long double.
1838 (round_for_all): Change need_exact field to ibm_ld.
1839 * stdlib/tst-strtod-round.c (struct exactness): New type.
1840 (struct test): Change bool ld_ok field to struct exactness exact.
1841 (TEST): Update all definitions for change to field.
1842 (tests): Regenerate array contents.
1843 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1844 field value. Check for IBM long double here.
1845 (do_test): Update calls to test_in_one_mode.
1846
58206c68
SP
18472013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
1849 [BZ #12515]
1850 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1851 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1852
2d6f4c5b 18532013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1854
1855 [BZ #15605]
1856 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1857 generated by the compiler on loop optimizations.
1858 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1859 general definitions.
1860
94f2c076
JM
18612013-06-12 Joseph Myers <joseph@codesourcery.com>
1862
1863 * math/bug-nextafter.c: Include <math-tests.h>.
1864 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1865 the relevant type.
1866 * math/bug-nexttoward.c: Include <math-tests.h>.
1867 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1868 the relevant type.
1869 * math/test-misc.c: Include <math-tests.h>.
1870 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1871 the relevant type.
1872
e0e50a0a
AJ
18732013-06-12 Andreas Jaeger <aj@suse.de>
1874
1875 * po/ia.po: Update Interlingua translation from translation
1876 project.
1877
25061094
SP
18782013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
1880 * include/fenv.h: Include stdbool.h.
1881 (struct rm_ctx): New structure.
1882 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1883 Define macro.
1884 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1885 (SET_RESTORE_ROUNDF): Likewise.
1886 (SET_RESTORE_ROUNDL): Likewise.
1887 (SET_RESTORE_ROUND_NOEX): Likewise.
1888 (SET_RESTORE_ROUND_NOEXF): Likewise.
1889 (SET_RESTORE_ROUND_NOEXL): Likewise.
1890 (SET_RESTORE_ROUND_53BIT): Likewise.
1891 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1892 (libc_feresetround_noexf_ctx): Likewise.
1893 (libc_feresetround_noexl_ctx): Likewise.
1894 (libc_feholdsetround_53bit_ctx): Likewise.
1895 (libc_feresetround_53bit_ctx): Likewise.
1896 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1897 (libc_feholdexcept_setround_sse_ctx): New function.
1898 (libc_fesetenv_sse_ctx): Likewise.
1899 (libc_feupdateenv_sse_ctx): Likewise.
1900 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1901 (libc_feholdexcept_setround_387_ctx): Likewise.
1902 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1903 (libc_feholdsetround_387_prec_ctx): Likewise.
1904 (libc_feholdsetround_387_ctx): Likewise.
1905 (libc_feholdsetround_387_53bit_ctx): Likewise.
1906 (libc_feholdsetround_sse_ctx): Likewise.
1907 (libc_feresetround_sse_ctx): Likewise.
1908 (libc_feresetround_387_ctx): Likewise.
1909 (libc_feupdateenv_387_ctx): Likewise.
1910 (libc_feholdexcept_setroundf_ctx): Define macro.
1911 (libc_fesetenvf_ctx): Likewise.
1912 (libc_feupdateenvf_ctx): Likewise.
1913 (libc_feholdsetroundf_ctx): Likewise.
1914 (libc_feresetroundf_ctx): Likewise.
1915 (libc_feholdexcept_setround_ctx): Likewise.
1916 (libc_fesetenv_ctx): Likewise.
1917 (libc_feupdateenv_ctx): Likewise.
1918 (libc_feholdsetround_ctx): Likewise.
1919 (libc_feresetround_ctx): Likewise.
1920 (libc_feholdexcept_setroundl_ctx): Likewise.
1921 (libc_feupdateenvl_ctx): Likewise.
1922 (libc_feholdsetroundl_ctx): Likewise.
1923 (libc_feresetroundl_ctx): Likewise.
1924 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1925 (libc_feresetround_53bit_ctx): Likewise.
1926
59b30555
SP
19272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1928
1929 * locale/iso-639.def: Convert to UTF-8.
1930
f1d73d30
JM
19312013-06-11 Joseph Myers <joseph@codesourcery.com>
1932
1933 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1934 (EXCEPTION_TESTS_double): Likewise.
1935 (EXCEPTION_TESTS_long_double): Likewise.
1936 (EXCEPTION_TESTS): Likewise.
1937 * math/libm-test.inc (test_exceptions): Only test exceptions if
1938 EXCEPTION_TESTS (FLOAT).
1939
94aca5e7
SP
19402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1941
1942 * benchtests/Makefile (string-bench): Add strcpy_chk and
1943 stpcpy_chk.
1944 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1945 * benchtests/bench-stpcpy_chk.c: New file.
1946 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1947 * benchtests/bench-strcpy_chk.c: New file.
1948 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1949 code.
1950 (do_test): Likewise.
1951
fac0c5f2
RA
19522013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1953
1954 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1955 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1956 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1957 with tabs where appropriate.
1958 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1959 dl-procinfo.h.
1960 [PPC_PLATFORM_PPC440]: Likewise.
1961 [PPC_PLATFORM_PPC464]: Likewise.
1962 [PPC_PLATFORM_PPC476]: Likewise.
1963 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1964 ppc464, and ppc476 platform strings merging from ports/
1965 dl-procinfo.h.
1966
f22bc486
AS
19672013-06-11 Andreas Schwab <schwab@suse.de>
1968
1969 [BZ #14991]
1970 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1971 (from_ucs4_idx): Regenerate.
1972 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1973 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1974 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1975 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1976 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1977 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1978 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1979 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1980 from FROM_LOOP and TO_LOOP specific macros.
1981 (BODY): Handle combining characters.
1982 * iconvdata/BIG5HKSCS.irreversible: Update.
1983 * iconvdata/BIG5HKSCS.precomposed: New file.
1984 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1985 characters.
1986 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1987
c1f75dc3
SP
19882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1989
4eacded2
SP
1990 * include/sys/time.h: Fix indentation and add copyright header.
1991
fec799f8
SP
1992 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1993 (do_test): Likewise.
1994 * string/test-memchr.c (do_one_test): Likewise.
1995 (do_test): Likewise.
1996 * string/test-memcmp.c (do_one_test): Likewise.
1997 (do_test): Likewise.
1998 * string/test-memcpy.c (do_one_test): Likewise.
1999 (do_test): Likewise.
2000 * string/test-memmem.c (do_one_test): Likewise.
2001 (do_test): Likewise.
2002 (do_random_tests): Likewise.
2003 * string/test-memmove.c (do_one_test): Likewise.
2004 (do_test): Likewise.
2005 * string/test-memset.c (do_one_test): Likewise.
2006 (do_test): Likewise.
2007 * string/test-rawmemchr.c (do_one_test): Likewise.
2008 (do_test): Likewise.
2009 * string/test-strcasecmp.c (do_one_test): Likewise.
2010 (do_test): Likewise.
2011 * string/test-strcasestr.c (do_one_test): Likewise.
2012 (do_test): Likewise.
2013 * string/test-strcat.c (do_one_test): Likewise.
2014 (do_test): Likewise.
2015 * string/test-strchr.c (do_one_test): Likewise.
2016 (do_test): Likewise.
2017 * string/test-strcmp.c (do_one_test): Likewise.
2018 (do_test): Likewise.
2019 * string/test-strcpy.c (do_one_test): Likewise.
2020 (do_test): Likewise.
2021 * string/test-string.h: Likewise.
2022 (test_init): Likewise.
2023 * string/test-strlen.c (do_one_test): Likewise.
2024 (do_test): Likewise.
2025 * string/test-strncasecmp.c (do_one_test): Likewise.
2026 (do_test): Likewise.
2027 * string/test-strncat.c (do_one_test): Likewise.
2028 (do_test): Likewise.
2029 * string/test-strncmp.c (do_one_test): Likewise.
2030 (do_test_limit): Likewise.
2031 (do_test): Likewise.
2032 * string/test-strncpy.c (do_one_test): Likewise.
2033 (do_test): Likewise.
2034 * string/test-strnlen.c (do_one_test): Likewise.
2035 (do_test): Likewise.
2036 * string/test-strpbrk.c (do_one_test): Likewise.
2037 (do_test): Likewise.
2038 * string/test-strrchr.c (do_one_test): Likewise.
2039 (do_test): Likewise.
2040 * string/test-strspn.c (do_one_test): Likewise.
2041 (do_test): Likewise.
2042 * string/test-strstr.c (do_one_test): Likewise.
2043 (do_test): Likewise.
2044
97020474
SP
2045 * benchtests/Makefile (string-bench): Add string benchmarks.
2046 * benchtests/bench-bcopy-ifunc.c: New file.
2047 * benchtests/bench-bcopy.c: New file.
2048 * benchtests/bench-bzero-ifunc.c: New file.
2049 * benchtests/bench-bzero.c: New file.
2050 * benchtests/bench-memccpy-ifunc.c: New file.
2051 * benchtests/bench-memccpy.c: New file.
2052 * benchtests/bench-memchr-ifunc.c: New file.
2053 * benchtests/bench-memchr.c: New file.
2054 * benchtests/bench-memcmp-ifunc.c: New file.
2055 * benchtests/bench-memcmp.c: New file.
2056 * benchtests/bench-memmem-ifunc.c: New file.
2057 * benchtests/bench-memmem.c: New file.
2058 * benchtests/bench-memmove-ifunc.c: New file.
2059 * benchtests/bench-memmove.c: New file.
2060 * benchtests/bench-mempcpy-ifunc.c: New file.
2061 * benchtests/bench-mempcpy.c: New file.
2062 * benchtests/bench-memset-ifunc.c: New file.
2063 * benchtests/bench-memset.c: New file.
2064 * benchtests/bench-rawmemchr-ifunc.c: New file.
2065 * benchtests/bench-rawmemchr.c: New file.
2066 * benchtests/bench-stpcpy-ifunc.c: New file.
2067 * benchtests/bench-stpcpy.c: New file.
2068 * benchtests/bench-stpncpy-ifunc.c: New file.
2069 * benchtests/bench-stpncpy.c: New file.
2070 * benchtests/bench-strcasecmp-ifunc.c: New file.
2071 * benchtests/bench-strcasecmp.c: New file.
2072 * benchtests/bench-strcasestr-ifunc.c: New file.
2073 * benchtests/bench-strcasestr.c: New file.
2074 * benchtests/bench-strcat-ifunc.c: New file.
2075 * benchtests/bench-strcat.c: New file.
2076 * benchtests/bench-strchr-ifunc.c: New file.
2077 * benchtests/bench-strchr.c: New file.
2078 * benchtests/bench-strchrnul-ifunc.c: New file.
2079 * benchtests/bench-strchrnul.c: New file.
2080 * benchtests/bench-strcmp-ifunc.c: New file.
2081 * benchtests/bench-strcmp.c: New file.
2082 * benchtests/bench-strcpy-ifunc.c: New file.
2083 * benchtests/bench-strcpy.c: New file.
2084 * benchtests/bench-strcspn-ifunc.c: New file.
2085 * benchtests/bench-strcspn.c: New file.
2086 * benchtests/bench-strlen-ifunc.c: New file.
2087 * benchtests/bench-strlen.c: New file.
2088 * benchtests/bench-strncasecmp-ifunc.c: New file.
2089 * benchtests/bench-strncasecmp.c: New file.
2090 * benchtests/bench-strncat-ifunc.c: New file.
2091 * benchtests/bench-strncat.c: New file.
2092 * benchtests/bench-strncmp-ifunc.c: New file.
2093 * benchtests/bench-strncmp.c: New file.
2094 * benchtests/bench-strncpy-ifunc.c: New file.
2095 * benchtests/bench-strncpy.c: New file.
2096 * benchtests/bench-strnlen-ifunc.c: New file.
2097 * benchtests/bench-strnlen.c: New file.
2098 * benchtests/bench-strpbrk-ifunc.c: New file.
2099 * benchtests/bench-strpbrk.c: New file.
2100 * benchtests/bench-strrchr-ifunc.c: New file.
2101 * benchtests/bench-strrchr.c: New file.
2102 * benchtests/bench-strspn-ifunc.c: New file.
2103 * benchtests/bench-strspn.c: New file.
2104 * benchtests/bench-strstr-ifunc.c: New file.
2105 * benchtests/bench-strstr.c: New file.
2106
c1f75dc3
SP
2107 * benchtests/Makefile: Disable parallel execution of targets.
2108 (string-bench): Add memcpy.
2109 (benchset): New variable to store a list of benchmark sets.
2110 (bench-func): Renamed from bench.
2111 (bench-set): New target.
2112 (bench): Depend on bench-func and bench-set.
2113 * benchtests/README: Add section on benchmark sets.
2114 * benchtests/bench-memcpy-ifunc.c: New file.
2115 * benchtests/bench-memcpy.c: New file.
2116 * benchtests/bench-string.h: New file.
2117
50fd745b
AS
21182013-06-11 Andreas Schwab <schwab@suse.de>
2119
2120 [BZ #15577]
2121 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2122 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2123 values in the triple.
2124 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2125 terminator in the group key.
2126
3ee7e9fe
AJ
21272013-06-11 Andreas Jaeger <aj@suse.de>
2128
2129 * po/zh_TW.po: Update Chinese (traditional) translation from
2130 translation project.
2131
89fb6835
SP
21322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
2134 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2135 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2136 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2137 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2138 (clock_getcpuclockid): Likewise.
2139 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2140 Add weak_alias and libc_hidden_def.
2141 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2142 * rt/clock_gettime.c (clock_gettime): Rename to
2143 __clock_gettime. Add weak_alias and libc_hidden_def.
2144 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2145 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2146 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2147 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2148 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2149 Likewise.
2150 * rt/clock_settime.c (clock_settime): Rename to
2151 __clock_settime. Add weak_alias and libc_hidden_def.
2152 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2153
0efa6f8b
JM
21542013-06-10 Joseph Myers <joseph@codesourcery.com>
2155
b8c61b4b
JM
2156 * mach/err_boot.sub: Remove trailing whitespace.
2157 * mach/err_ipc.sub: Likewise.
2158 * mach/err_mach.sub: Likewise.
2159
0efa6f8b
JM
2160 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2161 (ROUNDING_TESTS_double): Likewise.
2162 (ROUNDING_TESTS_long_double): Likewise.
2163 (ROUNDING_TESTS): Likewise.
2164 * math/libm-test.inc: Include <math-tests.h>.
2165 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2166 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2167 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2168 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2169
50b818bf
SP
21702013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2171
2172 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2173 of assigning.
2174
60d2f8f3
JM
21752013-06-08 Joseph Myers <joseph@codesourcery.com>
2176
4902d2c3
JM
2177 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2178 otherwise empty TRANS lines.
2179 * sysdeps/gnu/errlist.c: Regenerated.
2180
60d2f8f3
JM
2181 * catgets/gencat.c (error_print): Use (void) in function
2182 definition.
2183 * crypt/crypt_util.c (__init_des): Likewise.
2184 * crypt/speeds.c (Stop): Likewise.
2185 (main): Likewise.
2186 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2187 * inet/ruserpass.c (token): Likewise.
2188 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2189 * intl/localealias.c (extend_alias_table): Likewise.
2190 * intl/plural-exp.c (init_germanic_plural): Likewise.
2191 * libio/fcloseall.c (__fcloseall): Likewise.
2192 * libio/genops.c (_IO_flush_all): Likewise.
2193 (_IO_flush_all_linebuffered): Likewise.
2194 (_IO_cleanup): Likewise.
2195 (_IO_iter_begin): Likewise.
2196 (_IO_iter_end): Likewise.
2197 (_IO_list_lock): Likewise.
2198 (_IO_list_unlock): Likewise.
2199 (_IO_list_resetlock): Likewise.
2200 * libio/getchar.c (getchar): Likewise.
2201 * libio/getchar_u.c (getchar_unlocked): Likewise.
2202 * libio/getwchar.c (getwchar): Likewise.
2203 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2204 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2205 * login/getpt.c (__getpt): Likewise.
2206 * login/tst-utmp.c (main): Likewise.
2207 * malloc/hooks.c (__malloc_check_init): Likewise.
2208 * malloc/malloc.c (__malloc_stats): Likewise.
2209 * malloc/mtrace.c (tr_break): Likewise.
2210 (mtrace): Likewise.
2211 (muntrace): Likewise.
2212 * misc/fstab.c (endfsent): Likewise.
2213 * misc/getclktck.c (__getclktck): Likewise.
2214 * misc/getdtsz.c (__getdtablesize): Likewise.
2215 * misc/gethostid.c (gethostid): Likewise.
2216 * misc/getpagesize.c (__getpagesize): Likewise.
2217 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2218 (__get_nprocs): Likewise.
2219 (__get_phys_pages): Likewise.
2220 (__get_avphys_pages): Likewise.
2221 * misc/getttyent.c (getttyent): Likewise.
2222 (setttyent): Likewise.
2223 (endttyent): Likewise.
2224 * misc/getusershell.c (getusershell): Likewise.
2225 (endusershell): Likewise.
2226 (setusershell): Likewise.
2227 (initshells): Likewise.
2228 * misc/hsearch.c (__hdestroy): Likewise.
2229 * misc/sync.c (sync): Likewise.
2230 * misc/syslog.c (closelog_internal): Likewise.
2231 (closelog): Likewise.
2232 * misc/ttyslot.c (ttyslot): Likewise.
2233 * misc/vhangup.c (vhangup): Likewise.
2234 * posix/fork.c (__fork): Likewise.
2235 * posix/getegid.c (__getegid): Likewise.
2236 * posix/geteuid.c (__geteuid): Likewise.
2237 * posix/getgid.c (__getgid): Likewise.
2238 * posix/getpid.c (__getpid): Likewise.
2239 * posix/getppid.c (__getppid): Likewise.
2240 * posix/getuid.c (__getuid): Likewise.
2241 * posix/pause.c (pause): Likewise.
2242 * posix/setpgrp.c (setpgrp): Likewise.
2243 * posix/setsid.c (__setsid): Likewise.
2244 * posix/test-vfork.c (noop): Likewise.
2245 * resolv/gethnamaddr.c (_endhtent): Likewise.
2246 (_gethtent): Likewise.
2247 (ht_endhostent): Likewise.
2248 (gethostent): Likewise.
2249 (dns_service): Likewise.
2250 * stdlib/drand48.c (drand48): Likewise.
2251 * stdlib/lrand48.c (lrand48): Likewise.
2252 * stdlib/mrand48.c (mrand48): Likewise.
2253 * stdlib/rand.c (rand): Likewise.
2254 * stdlib/random.c (__random): Likewise.
2255 * stdlib/setenv.c (clearenv): Likewise.
2256 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2257 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2258 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2259 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2260 (__get_nprocs): Likewise.
2261 (__get_phys_pages): Likewise.
2262 (__get_avphys_pages): Likewise.
2263 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2264 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2265 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2266 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2267 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2268 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2269 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2270 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2271 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2272 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2273 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2274 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2275 * sysdeps/posix/clock.c (clock): Likewise.
2276 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2277 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2278 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2279 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2280 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2282 (__get_nprocs_conf): Likewise.
2283 (__get_phys_pages): Likewise.
2284 (__get_avphys_pages): Likewise.
2285 * time/clock.c (clock): Likewise.
2286 * time/tzset.c (__tzname_max): Likewise.
2287
2e09a79a
JM
22882013-06-07 Joseph Myers <joseph@codesourcery.com>
2289
2290 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2291 (__bswap_32): Do not use "register".
2292 * crypt/crypt.c (_ufc_doit_r): Likewise.
2293 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2294 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2295 * gmon/gmon.c (__monstartup): Likewise.
2296 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2297 * hurd/hurdmalloc.c (more_memory): Likewise.
2298 (malloc): Likewise.
2299 (free): Likewise.
2300 (realloc): Likewise.
2301 (malloc_fork_prepare): Likewise.
2302 (malloc_fork_parent): Likewise.
2303 (malloc_fork_child): Likewise.
2304 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2305 (_svcauth_des): Likewise.
2306 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2307 * inet/inet_net.c (inet_network): Likewise.
2308 * inet/inet_netof.c (inet_netof): Likewise.
2309 * inet/rcmd.c (__validuser2_sa): Likewise.
2310 * io/fts.c (fts_open): Likewise.
2311 (fts_load): Likewise.
2312 (fts_close): Likewise.
2313 (fts_read): Likewise.
2314 (fts_children): Likewise.
2315 (fts_build): Likewise.
2316 (fts_stat): Likewise.
2317 (fts_sort): Likewise.
2318 (fts_alloc): Likewise.
2319 (fts_lfree): Likewise.
2320 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2321 (_IO_file_xsgetn): Likewise.
2322 (_IO_file_xsgetn_mmap): Likewise.
2323 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2324 (_IO_cookie_write): Likewise.
2325 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2326 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2327 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2328 * malloc/obstack.c (_obstack_begin): Likewise.
2329 (_obstack_begin_1): Likewise.
2330 (_obstack_newchunk): Likewise.
2331 (_obstack_allocated_p): Likewise.
2332 (obstack_free): Likewise.
2333 (_obstack_memory_used): Likewise.
2334 * misc/getttyent.c (getttynam): Likewise.
2335 (getttyent): Likewise.
2336 (skip): Likewise.
2337 (value): Likewise.
2338 * misc/getusershell.c (initshells): Likewise.
2339 * misc/syslog.c (__vsyslog_chk): Likewise.
2340 * misc/ttyslot.c (ttyslot): Likewise.
2341 * nis/nis_hash.c (__nis_hash): Likewise.
2342 * posix/fnmatch_loop.c (FCT): Likewise.
2343 * posix/getconf.c (print_all): Likewise.
2344 (main): Likewise.
2345 * posix/getopt.c (exchange): Likewise.
2346 * posix/glob.c (globfree): Likewise.
2347 (prefix_array): Likewise.
2348 (__glob_pattern_type): Likewise.
2349 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2350 (NS_GET32): Likewise.
2351 (NS_PUT16): Likewise.
2352 (NS_PUT32): Likewise.
2353 * resolv/gethnamaddr.c (getanswer): Likewise.
2354 (gethostbyname2): Likewise.
2355 (gethostbyaddr): Likewise.
2356 (_gethtent): Likewise.
2357 (_gethtbyname2): Likewise.
2358 (_gethtbyaddr): Likewise.
2359 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2360 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2361 * resolv/res_init.c (__res_vinit): Likewise.
2362 (net_mask): Likewise.
2363 * resolv/res_mkquery.c (outchar): Likewise.
2364 (PRINT): Likewise.
2365 * stdio-common/printf_fp.c (outchar): Likewise.
2366 (PRINT): Likewise.
2367 * stdio-common/printf_fphex.c (outchar): Likewise.
2368 (PRINT): Likewise.
2369 * stdio-common/printf_size.c (outchar): Likewise.
2370 (PRINT): Likewise.
2371 * stdio-common/test_rdwr.c (main): Likewise.
2372 * stdio-common/tfformat.c (matches): Likewise.
2373 * stdio-common/vfprintf.c (outchar): Likewise.
2374 (printf_unknown): Likewise.
2375 (buffered_vfprintf): Likewise.
2376 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2377 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2378 (ReadFile): Likewise.
2379 * stdlib/qsort.c (SWAP): Likewise.
2380 (_quicksort): Likewise.
2381 * stdlib/setenv.c (__add_to_environ): Likewise.
2382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2383 * stdlib/strtol_l.c (__strtol_l): Likewise.
2384 * stdlib/tst-strtod.c (main): Likewise.
2385 * stdlib/tst-strtol.c (main): Likewise.
2386 * stdlib/tst-strtoll.c (main): Likewise.
2387 * string/bits/string2.h (__strcmp_cc): Likewise.
2388 (__strcmp_cg): Likewise.
2389 (__strcspn_c1): Likewise.
2390 (__strcspn_c2): Likewise.
2391 (__strcspn_c3): Likewise.
2392 (__strspn_c1): Likewise.
2393 (__strspn_c2): Likewise.
2394 (__strspn_c3): Likewise.
2395 (__strsep_1c): Likewise.
2396 (__strsep_2c): Likewise.
2397 (__strsep_3c): Likewise.
2398 * string/memccpy.c (__memccpy): Likewise.
2399 * string/stpcpy.c (__stpcpy): Likewise.
2400 * string/strcmp.c (strcmp): Likewise.
2401 * string/strrchr.c (strrchr): Likewise.
2402 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2403 Likewise.
2404 * sysdeps/mach/hurd/getcwd.c
2405 (_hurd_canonicalize_directory_name_internal): Likewise.
2406 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2407 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2408 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2409 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2410 Likewise, in both definitions.
2411 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2412 definitions.
2413 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2414 64] (__bswap_64): Likewise.
2415 * time/test_time.c (main): Likewise.
2416 * time/tzfile.c (__tzfile_read): Likewise.
2417 (__tzfile_compute): Likewise.
2418 * time/tzset.c (__tzset_parse_tz): Likewise.
2419 (tzset_internal): Likewise.
2420 (compute_change): Likewise.
2421 * wcsmbs/wcscat.c (__wcscat): Likewise.
2422 * wcsmbs/wcschr.c (wcschr): Likewise.
2423 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2424 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2425 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2426 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2427 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2428 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2429 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2430 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2431 * wcsmbs/wmemset.c (wmemset): Likewise.
2432
9e54314b
JM
24332013-06-06 Joseph Myers <joseph@codesourcery.com>
2434
2435 * scripts/config.guess: Update to version 2013-05-16.
2436 * scripts/config.sub: Update to version 2013-04-24.
2437 * scripts/install-sh: Update to version 2011-11-20.07.
2438 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2439 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2440
350635a5
OB
24412013-06-06 Ondřej Bílka <neleai@seznam.cz>
2442
2443 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2444 * elf/sln.c: Likewise.
2445 * hurd/hurd/ioctl.h: Likewise.
2446 * hurd/hurdmalloc.c: Likewise.
2447 * hurd/xattr.c: Likewise.
2448 * include/shlib-compat.h: Likewise.
2449 * inet/ruserpass.c: Likewise.
2450 * libio/iofgets_u.c: Likewise.
2451 * libio/iofgetws_u.c: Likewise.
2452 * locale/programs/ld-identification.c: Likewise.
2453 * locale/programs/ld-time.c: Likewise.
2454 * mach/msg-destroy.c: Likewise.
2455 * nss/nss_files/files-netgrp.c: Likewise.
2456 * resolv/res_data.c: Likewise.
2457 * soft-fp/op-1.h: Likewise.
2458 * soft-fp/op-2.h: Likewise.
2459 * soft-fp/op-4.h: Likewise.
2460 * soft-fp/op-common.h: Likewise.
2461 * stdio-common/printf_fphex.c: Likewise.
2462 * stdlib/strtod_l.c: Likewise.
2463 * sunrpc/rpc/clnt.h: Likewise.
2464 * sysdeps/generic/framestate.c: Likewise.
2465 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2466 * sysdeps/i386/bsd-setjmp.S: Likewise.
2467 * sysdeps/i386/__longjmp.S: Likewise.
2468 * sysdeps/i386/setjmp.S: Likewise.
2469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2487 * sysdeps/ieee754/support.c: Likewise.
2488 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2489 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2490 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2491 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2492 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2493 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2494 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2495 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2496 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2497 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2498 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2499 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2500 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2501 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2502 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2503 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2504 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2506
44a988af
OB
25072013-06-05 Ondřej Bílka <neleai@seznam.cz>
2508
25506f09 2509 * posix/transbug.c: Remove executable mode.
44a988af 2510
9c84384c
JM
25112013-06-05 Joseph Myers <joseph@codesourcery.com>
2512
2513 * crypt/speeds.c: Remove trailing whitespace.
2514 * dlfcn/default.c: Likewise.
2515 * elf/ifuncdep2.c: Likewise.
2516 * elf/ifuncmain1.c: Likewise.
2517 * elf/ifuncmain1vis.c: Likewise.
2518 * elf/testobj.h: Likewise.
2519 * elf/tst-stackguard1.c: Likewise.
2520 * gmon/sys/gmon.h: Likewise.
2521 * hurd/hurdmsg.c: Likewise.
2522 * hurd/new-fd.c: Likewise.
2523 * hurd/ports-get.c: Likewise.
2524 * iconvdata/ibm1008_420.c: Likewise.
2525 * inet/tst-getni1.c: Likewise.
2526 * inet/tst-getni2.c: Likewise.
2527 * libio/ioungetc.c: Likewise.
2528 * libio/wfiledoalloc.c: Likewise.
2529 * manual/libm-err-tab.pl: Likewise.
2530 * math/w_dremf.c: Likewise.
2531 * misc/ftruncate.c: Likewise.
2532 * posix/bug-glob2.c: Likewise.
2533 * posix/tst-pcre.c: Likewise.
2534 * posix/wait4.c: Likewise.
2535 * resolv/README: Likewise.
2536 * resolv/res_debug.h: Likewise.
2537 * resolv/tst-inet_ntop.c: Likewise.
2538 * setjmp/bug269-setjmp.c: Likewise.
2539 * soft-fp/extended.h: Likewise.
2540 * soft-fp/op-1.h: Likewise.
2541 * soft-fp/op-2.h: Likewise.
2542 * soft-fp/op-4.h: Likewise.
2543 * soft-fp/op-8.h: Likewise.
2544 * soft-fp/testit.c: Likewise.
2545 * stdio-common/bug16.c: Likewise.
2546 * stdlib/random.c: Likewise.
2547 * sunrpc/rpcsvc/rquota.x: Likewise.
2548 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2549 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2551 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2552 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2553 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2555 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2556 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2557 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2558 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2566 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2569 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2577 * sysdeps/ieee754/s_lib_version.c: Likewise.
2578 * sysdeps/mach/hurd/check_fds.c: Likewise.
2579 * sysdeps/mach/hurd/getsockname.c: Likewise.
2580 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2581 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2582 * sysdeps/powerpc/bits/link.h: Likewise.
2583 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2584 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2585 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2586 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2587 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2588 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2589 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2590 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2591 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2599 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2602 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2603 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2604 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2606 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2607 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2617 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2631 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2635 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2642 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2647 * sysdeps/powerpc/sysdep.h: Likewise.
2648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2649 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2650 * sysdeps/sh/dl-trampoline.S: Likewise.
2651 * sysdeps/sh/memset.S: Likewise.
2652 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2653 * sysdeps/sh/strlen.S: Likewise.
2654 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2655 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2656 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2657 * sysdeps/sparc/sparc32/rem.S: Likewise.
2658 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2659 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2660 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2661 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2662 * sysdeps/sparc/sparc32/urem.S: Likewise.
2663 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2664 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2665 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2666 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2668 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2669 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2670 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2671 * sysdeps/unix/bsd/times.c: Likewise.
2672 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2673 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2679 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2681 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2682 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2683 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2684 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2687 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2688 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2689 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2690 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2691 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2692 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2693 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2694 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2695 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2696 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2697 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2698 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2700 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2701 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2702 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2703 * sysdeps/x86_64/strcspn.S: Likewise.
2704
869378a5
RA
27052013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2706
2707 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2708 generated file. Regenerate properly from gen-translit.pl.
2709 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2710 locale/C-translit.h.
2711
840e2943
AS
27122013-06-05 Andreas Schwab <schwab@suse.de>
2713
2714 [BZ #15100]
2715 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2716 week as 6 instead of -1.
2717 * time/tst-strptime.c (day_tests): Add test case.
2718
4c60cb0c
SP
27192013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2720
2721 * sysdeps/generic/math_private.h
2722 (libc_feholdexcept_setround_53bit): Replace with
2723 libc_feholdsetround_53bit.
2724 (libc_feupdateenv_53bit): Replace with
2725 libc_feresetround_53bit.
2726 (SET_RESTORE_ROUND_53BIT): Adjust.
2727
d180203e
SP
27282013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2729
96df079a
SP
2730 * string/test-strchrnul.c: Add copyright header.
2731
d180203e
SP
2732 * posix/tst-getaddrinfo4.c: Increase test timeout.
2733
8b0ccb2d
CD
27342013-06-03 Carlos O'Donell <carlos@redhat.com>
2735
2736 [BZ #15536]
2737 * math/libm-test.inc (MAX_EXP): Remove
2738 (MIN_EXP): Define.
2739 (ulp): Use MIN_EXP - MANT_DIG.
2740 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2741
3b3c4d40
CD
27422013-05-31 Carlos O'Donell <carlos@redhat.com>
2743
2744 * po/be.po: Revert last change.
2745 * po/zh_CN.po: Likewise.
2746 * po/header.pot: Likewise.
2747
fab7ce3f
JM
27482013-05-31 Joseph Myers <joseph@codesourcery.com>
2749
2750 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2751 link-libc-deps to empty as target-specific variable.
2752 * Makerules (link-libc-args): New variable.
2753 (libc-for-link): Likewise.
2754 (link-libc-deps): Likewise.
2755 (lib%.so): Depend on $(link-libc-deps). Link with
2756 $(link-libc-args).
2757 (build-module): Link with $(link-libc-args).
2758 (build-module-asneeded): Likewise.
2759 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2760 list of objects.
2761 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2762 target-specific variable.
2763 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2764 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2765 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2766 libc.
2767 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2768 libc and ld.so.
2769 ($(objpfx)libpcprofile.so): Likewise.
2770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2771 libc_nonshared.a.
2772 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2773 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2774 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2775 $(link-libc-deps).
2776 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2777 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2778 * login/Makefile ($(objpfx)libutil.so): Likewise.
2779 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2780 * math/Makefile ($(objpfx)libm.so): Likewise.
2781 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2782 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2783 variable instead of depending directly on libc.
2784 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2785 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2786 $(link-libc-deps).
2787 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2788 libc.
2789 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2790 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2791 ($(objpfx)libanl.so): Likewise.
2792 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2793 ld.so.
2794 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2795 $(link-libc-deps).
2796 * sysdeps/i386/fpu/Makefile: Remove file.
2797 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2798 ($(objpfx)libm.so): Remove dependency on ld.so.
2799
eca5920c
PF
28002013-05-30 Patsy Franklin <pfrankli@redhat.com>
2801
2802 [BZ # 15553]
2803 * nis/yp_xdr.c (XDRMAXNAME): Define.
2804 (XDRMAXRECORD): Define.
2805 (xdr_domainname): Use XDRMAXNAME.
2806 (xdr_mapname): Likewise.
2807 (xdr_peername): Likewise.
2808 (xdr_keydat): Use XDRMAXRECORD.
2809 (xdr_valdat): Likewise.
2810
28112013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2812
2813 [BZ #14256]
2814 * manual/errno.texi (ESTALE): Update to account for more than
2815 just NFS file systems.
2816 * sysdeps/gnu/errlist.c: Regenerated.
2817
b9375348
SP
28182013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2819
2820 [BZ #15465]
2821 * elf/Makefile (tests): Add tst-null-argv.
2822 (modules-names): Add tst-null-argv-lib.
2823 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2824 (tst-null-argv-ENV): Set environment for tst-null-argv.
2825 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2826 (RTLD_PROGNAME): New macro.
2827 * elf/tst-null-argv.c: New test case.
2828 * elf/tst-null-argv-lib.c: Library for test case.
2829 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2830 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2831 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2832 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2833 * elf/dl-init.c (call_init): Likewise.
2834 (_dl_init): Likewise.
2835 * elf/dl-load.c (print_search_path): Likewise.
2836 (_dl_map_object): Likewise.
2837 * elf/dl-lookup.c (do_lookup_x): Likewise.
2838 (add_dependency): Likewise.
2839 (_dl_lookup_symbol_x): Likewise.
2840 (_dl_debug_bindings): Likewise.
2841 * elf/dl-open.c (_dl_show_scope): Likewise.
2842 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2843 * elf/dl-version.c (match_symbol): Likewise.
2844 (_dl_check_map_versions): Likewise.
2845 * elf/rtld.c (dl_main): Likewise.
2846 (print_unresolved): Use RTLD_PROGNAME.
2847 (print_missing_version): Likewise.
2848 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2849 (elf_machine_rela): Likewise.
2850 * sysdeps/powerpc/powerpc32/dl-machine.c
2851 (__process_machine_rela): Likewise.
2852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2853 Likewise.
2854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2855 Likewise.
2856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2857 Likewise.
2858 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2860 Likewise.
2861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2862 Likewise.
2863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2864
8a9f20c8
CD
28652013-05-28 Carlos O'Donell <carlos@redhat.com>
2866
2867 * po/be.po: Add descriptive title.
2868 * po/zh_CN.po: Likewise.
2869 * po/header.pot: Likewise.
2870
0e60d68e
MF
28712013-05-28 Mike Frysinger <vapier@gentoo.org>
2872
2873 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2874 error message.
2875 (enlarge_archive): Likewise.
2876
56b672e9
BN
28772013-05-28 Ben North <ben@redfrontdoor.org>
2878
2879 * manual/arith.texi (frexp): It is the magnitude of the return
2880 value which lies in [0.5, 1), not the return value itself.
2881
5e056687
AZ
28822013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2883
2884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2885
2b66ef5d
TS
28862013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2887
528c2405
TS
2888 * stdio-common/bug26.c (main): Correct fscanf template.
2889
07b4c13d
TS
2890 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2891 declare _dl_skip_args.
2892
ec9dd97c
TS
2893 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2894 Don't declare.
2895
2b66ef5d
TS
2896 * manual/platform.texi: Add missing @end deftypefun.
2897
4f8dfe27
JM
28982013-05-24 Joseph Myers <joseph@codesourcery.com>
2899
0323d086
JM
2900 [BZ #15529]
2901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2902 bit of mantissa of 2^16382.
2903 * math/libm-test.inc (hypot_test_data): Add more tests.
2904
dd4259b9
JM
2905 * math/libm-test.inc: Add drem and pow10 to list of tested
2906 functions.
2907 (pow10_test): New function.
2908 (drem_test): Likewise.
2909 (drem_test_tonearest): Likewise.
2910 (drem_test_towardzero): Likewise.
2911 (drem_test_downward): Likewise.
2912 (drem_test_upward): Likewise.
2913 (main): Call the new functions.
2914
4f8dfe27
JM
2915 * math/libm-test.inc (finite_test_data): Remove.
2916 (finite_test): Run tests from isfinite_test_data.
2917 (gamma_test_data): Remove.
2918 (gamma_test): Run tests from lgamma_test_data.
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2921
d116b7c4
AZ
29222013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923
2924 * manual/platform.texi: Add PowerPC PPR function set documentation.
2925 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2926 implementation.
2927
e96e3767
CD
29282013-05-24 Carlos O'Donell <carlos@redhat.com>
2929
2930 * math/libm-test.inc (MAX_EXP): Define.
2931 (ULPDIFF): Define.
2932 (ulp): New function.
2933 (check_float_internal): Use ULPDIFF.
2934 (cpow_test): Disable failing test.
2935 (check_ulp): Test ulp() implemetnation.
2936 (main): Call check_ulp before starting tests.
2937
b679a606
JM
29382013-05-24 Joseph Myers <joseph@codesourcery.com>
2939
e8bdba36
JM
2940 * math/gen-libm-test.pl (generate_testfile): Do not handle
2941 START_DATA and END_DATA.
2942 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2943 END_DATA.
2944 (acos_tonearest_test_data): Likewise.
2945 (acos_towardzero_test_data): Likewise.
2946 (acos_downward_test_data): Likewise.
2947 (acos_upward_test_data): Likewise.
2948 (acosh_test_data): Likewise.
2949 (asin_test_data): Likewise.
2950 (asin_tonearest_test_data): Likewise.
2951 (asin_towardzero_test_data): Likewise.
2952 (asin_downward_test_data): Likewise.
2953 (asin_upward_test_data): Likewise.
2954 (asinh_test_data): Likewise.
2955 (atan_test_data): Likewise.
2956 (atanh_test_data): Likewise.
2957 (atan2_test_data): Likewise.
2958 (cabs_test_data): Likewise.
2959 (cacos_test_data): Likewise.
2960 (cacosh_test_data): Likewise.
2961 (carg_test_data): Likewise.
2962 (casin_test_data): Likewise.
2963 (casinh_test_data): Likewise.
2964 (catan_test_data): Likewise.
2965 (catanh_test_data): Likewise.
2966 (cbrt_test_data): Likewise.
2967 (ccos_test_data): Likewise.
2968 (ccosh_test_data): Likewise.
2969 (ceil_test_data): Likewise.
2970 (cexp_test_data): Likewise.
2971 (cimag_test_data): Likewise.
2972 (clog_test_data): Likewise.
2973 (clog10_test_data): Likewise.
2974 (conj_test_data): Likewise.
2975 (copysign_test_data): Likewise.
2976 (cos_test_data): Likewise.
2977 (cos_tonearest_test_data): Likewise.
2978 (cos_towardzero_test_data): Likewise.
2979 (cos_downward_test_data): Likewise.
2980 (cos_upward_test_data): Likewise.
2981 (cosh_test_data): Likewise.
2982 (cosh_tonearest_test_data): Likewise.
2983 (cosh_towardzero_test_data): Likewise.
2984 (cosh_downward_test_data): Likewise.
2985 (cosh_upward_test_data): Likewise.
2986 (cpow_test_data): Likewise.
2987 (cproj_test_data): Likewise.
2988 (creal_test_data): Likewise.
2989 (csin_test_data): Likewise.
2990 (csinh_test_data): Likewise.
2991 (csqrt_test_data): Likewise.
2992 (ctan_test_data): Likewise.
2993 (ctan_tonearest_test_data): Likewise.
2994 (ctan_towardzero_test_data): Likewise.
2995 (ctan_downward_test_data): Likewise.
2996 (ctan_upward_test_data): Likewise.
2997 (ctanh_test_data): Likewise.
2998 (ctanh_tonearest_test_data): Likewise.
2999 (ctanh_towardzero_test_data): Likewise.
3000 (ctanh_downward_test_data): Likewise.
3001 (ctanh_upward_test_data): Likewise.
3002 (erf_test_data): Likewise.
3003 (erfc_test_data): Likewise.
3004 (exp_test_data): Likewise.
3005 (exp_tonearest_test_data): Likewise.
3006 (exp_towardzero_test_data): Likewise.
3007 (exp_downward_test_data): Likewise.
3008 (exp_upward_test_data): Likewise.
3009 (exp10_test_data): Likewise.
3010 (exp2_test_data): Likewise.
3011 (expm1_test_data): Likewise.
3012 (fabs_test_data): Likewise.
3013 (fdim_test_data): Likewise.
3014 (finite_test_data): Likewise.
3015 (floor_test_data): Likewise.
3016 (fma_test_data): Likewise.
3017 (fma_towardzero_test_data): Likewise.
3018 (fma_downward_test_data): Likewise.
3019 (fma_upward_test_data): Likewise.
3020 (fmax_test_data): Likewise.
3021 (fmin_test_data): Likewise.
3022 (fmod_test_data): Likewise.
3023 (fpclassify_test_data): Likewise.
3024 (frexp_test_data): Likewise.
3025 (gamma_test_data): Likewise.
3026 (hypot_test_data): Likewise.
3027 (ilogb_test_data): Likewise.
3028 (isfinite_test_data): Likewise.
3029 (isgreater_test_data): Likewise.
3030 (isgreaterequal_test_data): Likewise.
3031 (isinf_test_data): Likewise.
3032 (isless_test_data): Likewise.
3033 (islessequal_test_data): Likewise.
3034 (islessgreater_test_data): Likewise.
3035 (isnan_test_data): Likewise.
3036 (isnormal_test_data): Likewise.
3037 (issignaling_test_data): Likewise.
3038 (isunordered_test_data): Likewise.
3039 (j0_test_data): Likewise.
3040 (j1_test_data): Likewise.
3041 (jn_test_data): Likewise.
3042 (ldexp_test_data): Likewise.
3043 (lgamma_test_data): Likewise.
3044 (lrint_test_data): Likewise.
3045 (lrint_tonearest_test_data): Likewise.
3046 (lrint_towardzero_test_data): Likewise.
3047 (lrint_downward_test_data): Likewise.
3048 (lrint_upward_test_data): Likewise.
3049 (llrint_test_data): Likewise.
3050 (llrint_tonearest_test_data): Likewise.
3051 (llrint_towardzero_test_data): Likewise.
3052 (llrint_downward_test_data): Likewise.
3053 (llrint_upward_test_data): Likewise.
3054 (log_test_data): Likewise.
3055 (log10_test_data): Likewise.
3056 (log1p_test_data): Likewise.
3057 (log2_test_data): Likewise.
3058 (logb_test_data): Likewise.
3059 (logb_downward_test_data): Likewise.
3060 (lround_test_data): Likewise.
3061 (llround_test_data): Likewise.
3062 (modf_test_data): Likewise.
3063 (nearbyint_test_data): Likewise.
3064 (nextafter_test_data): Likewise.
3065 (nexttoward_test_data): Likewise.
3066 (pow_test_data): Likewise.
3067 (pow_tonearest_test_data): Likewise.
3068 (pow_towardzero_test_data): Likewise.
3069 (pow_downward_test_data): Likewise.
3070 (pow_upward_test_data): Likewise.
3071 (remainder_test_data): Likewise.
3072 (remainder_tonearest_test_data): Likewise.
3073 (remainder_towardzero_test_data): Likewise.
3074 (remainder_downward_test_data): Likewise.
3075 (remainder_upward_test_data): Likewise.
3076 (remquo_test_data): Likewise.
3077 (rint_test_data): Likewise.
3078 (rint_tonearest_test_data): Likewise.
3079 (rint_towardzero_test_data): Likewise.
3080 (rint_downward_test_data): Likewise.
3081 (rint_upward_test_data): Likewise.
3082 (round_test_data): Likewise.
3083 (scalb_test_data): Likewise.
3084 (scalbn_test_data): Likewise.
3085 (scalbln_test_data): Likewise.
3086 (signbit_test_data): Likewise.
3087 (sin_test_data): Likewise.
3088 (sin_tonearest_test_data): Likewise.
3089 (sin_towardzero_test_data): Likewise.
3090 (sin_downward_test_data): Likewise.
3091 (sin_upward_test_data): Likewise.
3092 (sincos_test_data): Likewise.
3093 (sinh_test_data): Likewise.
3094 (sinh_tonearest_test_data): Likewise.
3095 (sinh_towardzero_test_data): Likewise.
3096 (sinh_downward_test_data): Likewise.
3097 (sinh_upward_test_data): Likewise.
3098 (sqrt_test_data): Likewise.
3099 (tan_test_data): Likewise.
3100 (tan_tonearest_test_data): Likewise.
3101 (tan_towardzero_test_data): Likewise.
3102 (tan_downward_test_data): Likewise.
3103 (tan_upward_test_data): Likewise.
3104 (tanh_test_data): Likewise.
3105 (tgamma_test_data): Likewise.
3106 (trunc_test_data): Likewise.
3107 (y0_test_data): Likewise.
3108 (y1_test_data): Likewise.
3109 (yn_test_data): Likewise.
3110 (significand_test_data): Likewise.
3111
b679a606
JM
3112 * math/gen-libm-test.pl (@functions): Remove variable.
3113 (generate_testfile): Don't handle START and END lines.
3114 * math/libm-test.inc (START): New macro.
3115 (END): Likewise.
3116 (END_COMPLEX): Likewise.
3117 (acos_test): Use END macro without arguments.
3118 (acos_test_tonearest): Likewise.
3119 (acos_test_towardzero): Likewise.
3120 (acos_test_downward): Likewise.
3121 (acos_test_upward): Likewise.
3122 (acosh_test): Likewise.
3123 (asin_test): Likewise.
3124 (asin_test_tonearest): Likewise.
3125 (asin_test_towardzero): Likewise.
3126 (asin_test_downward): Likewise.
3127 (asin_test_upward): Likewise.
3128 (asinh_test): Likewise.
3129 (atan_test): Likewise.
3130 (atanh_test): Likewise.
3131 (atan2_test): Likewise.
3132 (cabs_test): Likewise.
3133 (cacos_test): Use END_COMPLEX macro without arguments.
3134 (cacosh_test): Likewise.
3135 (carg_test): Use END macro without arguments.
3136 (casin_test): Use END_COMPLEX macro without arguments.
3137 (casinh_test): Likewise.
3138 (catan_test): Likewise.
3139 (catanh_test): Likewise.
3140 (cbrt_test): Use END macro without arguments.
3141 (ccos_test): Use END_COMPLEX macro without arguments.
3142 (ccosh_test): Likewise.
3143 (ceil_test): Use END macro without arguments.
3144 (cexp_test): Use END_COMPLEX macro without arguments.
3145 (cimag_test): Use END macro without arguments.
3146 (clog_test): Use END_COMPLEX macro without arguments.
3147 (clog10_test): Likewise.
3148 (conj_test): Likewise.
3149 (copysign_test): Use END macro without arguments.
3150 (cos_test): Likewise.
3151 (cos_test_tonearest): Likewise.
3152 (cos_test_towardzero): Likewise.
3153 (cos_test_downward): Likewise.
3154 (cos_test_upward): Likewise.
3155 (cosh_test): Likewise.
3156 (cosh_test_tonearest): Likewise.
3157 (cosh_test_towardzero): Likewise.
3158 (cosh_test_downward): Likewise.
3159 (cosh_test_upward): Likewise.
3160 (cpow_test): Use END_COMPLEX macro without arguments.
3161 (cproj_test): Likewise.
3162 (creal_test): Use END macro without arguments.
3163 (csin_test): Use END_COMPLEX macro without arguments.
3164 (csinh_test): Likewise.
3165 (csqrt_test): Likewise.
3166 (ctan_test): Likewise.
3167 (ctan_test_tonearest): Likewise.
3168 (ctan_test_towardzero): Likewise.
3169 (ctan_test_downward): Likewise.
3170 (ctan_test_upward): Likewise.
3171 (ctanh_test): Likewise.
3172 (ctanh_test_tonearest): Likewise.
3173 (ctanh_test_towardzero): Likewise.
3174 (ctanh_test_downward): Likewise.
3175 (ctanh_test_upward): Likewise.
3176 (erf_test): Use END macro without arguments.
3177 (erfc_test): Likewise.
3178 (exp_test): Likewise.
3179 (exp_test_tonearest): Likewise.
3180 (exp_test_towardzero): Likewise.
3181 (exp_test_downward): Likewise.
3182 (exp_test_upward): Likewise.
3183 (exp10_test): Likewise.
3184 (exp2_test): Likewise.
3185 (expm1_test): Likewise.
3186 (fabs_test): Likewise.
3187 (fdim_test): Likewise.
3188 (finite_test): Likewise.
3189 (floor_test): Likewise.
3190 (fma_test): Likewise.
3191 (fma_test_towardzero): Likewise.
3192 (fma_test_downward): Likewise.
3193 (fma_test_upward): Likewise.
3194 (fmax_test): Likewise.
3195 (fmin_test): Likewise.
3196 (fmod_test): Likewise.
3197 (fpclassify_test): Likewise.
3198 (frexp_test): Likewise.
3199 (gamma_test): Likewise.
3200 (hypot_test): Likewise.
3201 (ilogb_test): Likewise.
3202 (isfinite_test): Likewise.
3203 (isgreater_test): Likewise.
3204 (isgreaterequal_test): Likewise.
3205 (isinf_test): Likewise.
3206 (isless_test): Likewise.
3207 (islessequal_test): Likewise.
3208 (islessgreater_test): Likewise.
3209 (isnan_test): Likewise.
3210 (isnormal_test): Likewise.
3211 (issignaling_test): Likewise.
3212 (isunordered_test): Likewise.
3213 (j0_test): Likewise.
3214 (j1_test): Likewise.
3215 (jn_test): Likewise.
3216 (ldexp_test): Likewise.
3217 (lgamma_test): Likewise.
3218 (lrint_test): Likewise.
3219 (lrint_test_tonearest): Likewise.
3220 (lrint_test_towardzero): Likewise.
3221 (lrint_test_downward): Likewise.
3222 (lrint_test_upward): Likewise.
3223 (llrint_test): Likewise.
3224 (llrint_test_tonearest): Likewise.
3225 (llrint_test_towardzero): Likewise.
3226 (llrint_test_downward): Likewise.
3227 (llrint_test_upward): Likewise.
3228 (log_test): Likewise.
3229 (log10_test): Likewise.
3230 (log1p_test): Likewise.
3231 (log2_test): Likewise.
3232 (logb_test): Likewise.
3233 (logb_test_downward): Likewise.
3234 (lround_test): Likewise.
3235 (llround_test): Likewise.
3236 (modf_test): Likewise.
3237 (nearbyint_test): Likewise.
3238 (nextafter_test): Likewise.
3239 (nexttoward_test): Likewise.
3240 (pow_test): Likewise.
3241 (pow_test_tonearest): Likewise.
3242 (pow_test_towardzero): Likewise.
3243 (pow_test_downward): Likewise.
3244 (pow_test_upward): Likewise.
3245 (remainder_test): Likewise.
3246 (remainder_test_tonearest): Likewise.
3247 (remainder_test_towardzero): Likewise.
3248 (remainder_test_downward): Likewise.
3249 (remainder_test_upward): Likewise.
3250 (remquo_test): Likewise.
3251 (rint_test): Likewise.
3252 (rint_test_tonearest): Likewise.
3253 (rint_test_towardzero): Likewise.
3254 (rint_test_downward): Likewise.
3255 (rint_test_upward): Likewise.
3256 (round_test): Likewise.
3257 (scalb_test): Likewise.
3258 (scalbn_test): Likewise.
3259 (scalbln_test): Likewise.
3260 (signbit_test): Likewise.
3261 (sin_test): Likewise.
3262 (sin_test_tonearest): Likewise.
3263 (sin_test_towardzero): Likewise.
3264 (sin_test_downward): Likewise.
3265 (sin_test_upward): Likewise.
3266 (sincos_test): Likewise.
3267 (sinh_test): Likewise.
3268 (sinh_test_tonearest): Likewise.
3269 (sinh_test_towardzero): Likewise.
3270 (sinh_test_downward): Likewise.
3271 (sinh_test_upward): Likewise.
3272 (sqrt_test): Likewise.
3273 (tan_test): Likewise.
3274 (tan_test_tonearest): Likewise.
3275 (tan_test_towardzero): Likewise.
3276 (tan_test_downward): Likewise.
3277 (tan_test_upward): Likewise.
3278 (tanh_test): Likewise.
3279 (tgamma_test): Likewise.
3280 (trunc_test): Likewise.
3281 (y0_test): Likewise.
3282 (y1_test): Likewise.
3283 (yn_test): Likewise.
3284 (significand_test): Likewise.
3285
bae143d2
OB
32862013-05-24 Ondřej Bílka <neleai@seznam.cz>
3287
3288 [BZ #15381]
3289 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3290
9323d39b
EM
32912013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3292
d4ea44a0 3293 [BZ #14894]
9323d39b
EM
3294 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3295 __ppc_mdoio and __ppc_mdoom.
3296 * manual/platform.texi: Document new functions __ppc_yield,
3297 __ppc_mdoio and __ppc_mdoom.
3298
13e23af7
CD
32992013-05-22 Carlos O'Donell <carlos@redhat.com>
3300
3301 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3302 (main): Mention "tls" pseudo-hwcap is legacy.
3303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3304
351fe550
JM
33052013-05-22 Joseph Myers <joseph@codesourcery.com>
3306
3307 * math/gen-libm-test.pl (parse_args): Output only string of
3308 arguments as text for test name, not full call or descriptions of
3309 tests for extra outputs.
3310 (generate_testfile): Do not pass function name to parse_args.
3311 Generate this_func variable from START.
3312 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3313 field to arg_str.
3314 (struct test_ff_f_data): Likewise.
3315 (test_ff_f_data_nexttoward): Likewise.
3316 (struct test_fi_f_data): Likewise.
3317 (struct test_fl_f_data): Likewise.
3318 (struct test_if_f_data): Likewise.
3319 (struct test_fff_f_data): Likewise.
3320 (struct test_c_f_data): Likewise.
3321 (struct test_f_f1_data): Likewise. Remove field extra_name.
3322 (struct test_fF_f1_data): Likewise.
3323 (struct test_ffI_f1_data): Likewise.
3324 (struct test_c_c_data): Rename test_name field to arg_str.
3325 (struct test_cc_c_data): Likewise.
3326 (struct test_f_i_data): Likewise.
3327 (struct test_ff_i_data): Likewise.
3328 (struct test_f_l_data): Likewise.
3329 (struct test_f_L_data): Likewise.
3330 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3331 and extra2_name.
3332 (COMMON_TEST_SETUP): New macro.
3333 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3334 (COMMON_TEST_CLEANUP): Likewise.
3335 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3336 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3337 macros.
3338 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3339 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3340 macros.
3341 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3342 (RUN_TEST_fff_f): Take argument string. Call new setup and
3343 cleanup macros.
3344 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3345 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3346 macros.
3347 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3348 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3349 macros.
3350 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3351 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3352 cleanup macros.
3353 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3354 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3355 cleanup macros.
3356 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3357 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3358 cleanup macros.
3359 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3360 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3361 macros.
3362 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3363 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3364 macros.
3365 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3366 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3367 macros.
3368 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3369 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3370 cleanup macros.
3371 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3372 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3373 cleanup macros.
3374 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3375 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3376 macros.
3377 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3378 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3379 cleanup macros.
3380 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3381 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3382 macros.
3383 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3384 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3385 macros.
3386 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3387 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3388 cleanup macros.
3389 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3390
85118d4d
EBM
33912013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3392
3393 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3394 to _sifields.sigfault.
3395 (si_addr_lsb): Define new macro.
3396 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3398 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3399
7a44c18f
CD
34002013-05-03 Carlos O'Donell <carlos at redhat.com>
3401
3402 [BZ #15441]
3403 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3404 returns -1.
3405 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3406 null return -1.
3407 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3408 loading the domain.
3409
b50a7181
JM
34102013-05-22 Joseph Myers <joseph@codesourcery.com>
3411
3412 * math/gen-libm-test.pl (parse_args): Do not include expected
3413 result in test name.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3420
051063c8
SP
34212013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
3ce9e010
SP
3423 * benchtests/Makefile: Sort function entries.
3424
051063c8
SP
3425 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3426 tanh, asinh, acosh, atanh.
3427 * benchtests/acos-inputs: New file.
3428 * benchtests/acosh-inputs: New file.
3429 * benchtests/asin-inputs: New file.
3430 * benchtests/asinh-inputs: New file.
3431 * benchtests/atanh-inputs: New file.
3432 * benchtests/cosh-inputs: New file.
3433 * benchtests/log-inputs: New file.
3434 * benchtests/sinh-inputs: New file.
3435 * benchtests/tanh-inputs: New file.
3436
47c22455
DL
34372013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3438
3439 [BZ #15339]
3440 * posix/tst-getaddrinfo4.c: New test.
3441 * posix/Makefile (tests): Add it.
3442
3d04f5db
SP
34432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 [BZ #15339]
3446 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3447 when no services were used.
3448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3449 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3450
d5dd6189
AS
34512013-05-21 Andreas Schwab <schwab@suse.de>
3452
3453 [BZ #15014]
3454 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3455 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3456 successful.
3457 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3458 redundant variable declarations and reallocation of buffer when
3459 parsing as IPv6 address. Always set NSS status when called from
3460 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3461 buffer too small. Correct computation of needed size.
3462 * nss/Makefile (tests): Add test-digits-dots.
3463 * nss/test-digits-dots.c: New test.
3464
fef94eab
SP
34652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
3467 * benchtests/Makefile: Remove instructions for adding
3468 benchmark tests.
3469 * benchtests/README: New file to explain how to execute and
3470 enhance the benchmark tests.
3471
e39adf43
AS
34722013-05-21 Andreas Schwab <schwab@suse.de>
3473
3474 [BZ #15493]
3475 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3476 * setjmp/tst-sigsetjmp.c: New test.
3477
b2b671b6
OB
34782013-05-20 Ondřej Bílka <neleai@seznam.cz>
3479
3480 * sysdeps/x86_64/memset.S (memset): New implementation.
3481 (__bzero): Likewise.
3482 (__memset_tail): New function.
3483
2d48b41c
OB
34842013-05-20 Ondřej Bílka <neleai@seznam.cz>
3485
3486 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3487 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3488 __memcpy_sse2_unaligned ifunc selection.
3489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3490 Add memcpy-sse2-unaligned.S.
3491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3492 Add: __memcpy_sse2_unaligned.
3493
f16cc3eb
JM
34942013-05-19 Joseph Myers <joseph@codesourcery.com>
3495
3e694268
JM
3496 [BZ #15490]
3497 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3498 math_force_eval before restoring floating-point envrionment.
3499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3501 Likewise.
3502 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3503 <math_private.h>.
3504 (__nearbyintl): Use math_force_eval before restoring
3505 floating-point environment.
3506 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3507
db62a907
JM
3508 * math/gen-libm-test.pl (special_functions): Remove.
3509 (parse_args): Don't handle TEST_extra. Handle functions with no
3510 return value.
3511 * math/libm-test.inc (struct test_sincos_data): Replace with
3512 struct test_fFF_11_data.
3513 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3514 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3515 (sincos_test_data): Change element type to struct
3516 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3517 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3518 RUN_TEST_LOOP_sincos.
3519 * math/README.libm-test: Don't mention special handling of
3520 individual functions.
3521 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3525 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3527
f16cc3eb
JM
3528 * math/gen-libm-test.pl (get_variable): Remove function.
3529 (parse_args): Don't show pointer parameters to call in test
3530 names. Use "extra output N" in test names for extra outputs
3531 rather than naming variables.
3532
3779b5b6
JM
35332013-05-18 Joseph Myers <joseph@codesourcery.com>
3534
2ee094ff
JM
3535 [BZ #15488]
3536 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3537 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3538 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3539 double tests.
3540 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3541 disable.
3542 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3543 check_long_double.
3544
3779b5b6
JM
3545 * math/gen-libm-test.pl (@tests): Remove variable.
3546 ($count): Likewise.
3547 (new_test): Remove function.
3548 (show_exceptions): New function.
3549 (special_functions): Use show_exceptions instead of new_test.
3550 (parse_args): Likewise.
3551 (generate_testfile): Pass only function name in generated call to
3552 print_max_error or print_complex_max_error.
3553 (get_ulps): Do not handle complex tests specially.
3554 (output_test): Rename to ...
3555 (get_all_ulps_for_test): ... this. Return a string rather than
3556 printing to a file. Require ulps to be present.
3557 (output_ulps): Generate arrays rather than #defines.
3558 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3559 (struct ulp_data): New type.
3560 (BUILD_COMPLEX_ULP): Remove macro.
3561 (compare_ulp_data): New function.
3562 (find_ulps): Likewise.
3563 (find_test_ulps): Likewise.
3564 (find_function_ulps): Likewise.
3565 (find_complex_function_ulps): Likewise.
3566 (print_max_error): Determine allowed ulps using
3567 find_function_ulps.
3568 (print_complex_max_error): Determine allowed ulps using
3569 find_complex_function_ulps.
3570 (check_float_internal): Determine max ulps using find_test_ulps.
3571 (check_float): Do not take max_ulp parameter. Update call to
3572 check_float_internal.
3573 (check_complex): Likewise.
3574 (check_int): Do not take max_ulp parameter.
3575 (check_long): Likewise.
3576 (check_bool): Likewise.
3577 (check_longlong): Likewise.
3578 (struct test_f_f_data): Remove max_ulp field.
3579 (struct test_ff_f_data): Likewise.
3580 (struct test_ff_f_data_nexttoward): Likewise.
3581 (struct test_fi_f_data): Likewise.
3582 (struct test_fl_f_data): Likewise.
3583 (struct test_if_f_data): Likewise.
3584 (struct test_fff_f_data): Likewise.
3585 (struct test_c_f_data): Likewise.
3586 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3587 (struct test_fF_f1_data): Likewise.
3588 (struct test_ffI_f1_data): Likewise.
3589 (struct test_c_c_data): Remove max_ulp field.
3590 (struct test_cc_c_data): Likewise.
3591 (struct test_f_i_data): Likewise.
3592 (struct test_ff_i_data): Likewise.
3593 (struct test_f_l_data): Likewise.
3594 (struct test_f_L_data): Likewise.
3595 (struct test_sincos_data): Likewise.
3596 (RUN_TEST_f_f): Do not handle ulps.
3597 (RUN_TEST_LOOP_f_f): Likewise.
3598 (RUN_TEST_2_f): Likewise.
3599 (RUN_TEST_LOOP_2_f): Likewise.
3600 (RUN_TEST_fff_f): Likewise.
3601 (RUN_TEST_LOOP_fff_f): Likewise.
3602 (RUN_TEST_c_f): Likewise.
3603 (RUN_TEST_LOOP_c_f): Likewise.
3604 (RUN_TEST_f_f1): Likewise.
3605 (RUN_TEST_LOOP_f_f1): Likewise.
3606 (RUN_TEST_fF_f1): Likewise.
3607 (RUN_TEST_LOOP_fF_f1): Likewise.
3608 (RUN_TEST_fI_f1): Likewise.
3609 (RUN_TEST_LOOP_fI_f1): Likewise.
3610 (RUN_TEST_ffI_f1): Likewise.
3611 (RUN_TEST_LOOP_ffI_f1): Likewise.
3612 (RUN_TEST_c_c): Likewise.
3613 (RUN_TEST_LOOP_c_c): Likewise.
3614 (RUN_TEST_cc_c): Likewise.
3615 (RUN_TEST_LOOP_cc_c): Likewise.
3616 (RUN_TEST_f_i): Likewise.
3617 (RUN_TEST_LOOP_f_i): Likewise.
3618 (RUN_TEST_f_i_tg): Likewise.
3619 (RUN_TEST_LOOP_f_i_tg): Likewise.
3620 (RUN_TEST_ff_i_tg): Likewise.
3621 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3622 (RUN_TEST_f_b): Likewise.
3623 (RUN_TEST_LOOP_f_b): Likewise.
3624 (RUN_TEST_f_b_tg): Likewise.
3625 (RUN_TEST_LOOP_f_b_tg): Likewise.
3626 (RUN_TEST_f_l): Likewise.
3627 (RUN_TEST_LOOP_f_l): Likewise.
3628 (RUN_TEST_f_L): Likewise.
3629 (RUN_TEST_LOOP_f_L): Likewise.
3630 (RUN_TEST_sincos): Likewise.
3631 (RUN_TEST_LOOP_sincos): Likewise.
3632
8269107f
JM
36332013-05-17 Joseph Myers <joseph@codesourcery.com>
3634
bb38759d
JM
3635 [BZ #15480]
3636 [BZ #15485]
3637 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3638 main case of finite arguments, set rounding mode to FE_TONEAREST
3639 and discard exceptions.
3640 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3641 exceptions.
3642 (remainder_tonearest_test_data): New variable.
3643 (remainder_test_tonearest): New function.
3644 (remainder_towardzero_test_data): New variable.
3645 (remainder_test_towardzero): New function.
3646 (remainder_downward_test_data): New variable.
3647 (remainder_test_downward): New function.
3648 (remainder_upward_test_data): New variable.
3649 (remainder_test_upward): New function.
3650 (main): Call the new test functions.
3651
a00bdcf0
JM
3652 * math/libm-test.inc (struct test_f_f1_data): Remove field
3653 extra_init.
3654 (struct test_fF_f1_data): Likewise.
3655 (struct test_ffI_f1_data): Likewise.
3656 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3657 based on value of EXTRA_EXPECTED.
3658 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3659 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3660 EXTRA_VAR based on value of EXTRA_EXPECTED.
3661 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3662 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3663 EXTRA_VAR based on value of EXTRA_EXPECTED.
3664 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3665 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3666 EXTRA_VAR based on value of EXTRA_EXPECTED.
3667 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3668 * math/gen-libm-test.pl (parse_args): Don't output initializers
3669 for extra output values.
3670
de407f79
JM
3671 * math/libm-test.inc (check_int): Expect result to be exactly
3672 equal to expected value and do not handle ulps.
3673 (check_long): Likewise.
3674 (check_longlong): Likewise.
3675
8269107f
JM
3676 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3677 exceptions.
3678 (cimag_test_data): Likewise.
3679 (conj_test_data): Likewise.
3680 (copysign_test_data): Likewise.
3681 (cproj_test_data): Likewise.
3682 (creal_test_data): Likewise.
3683 (fabs_test_data): Likewise.
3684 (fdim_test_data): Likewise.
3685 (finite_test_data): Likewise.
3686 (floor_test_data): Likewise.
3687 (fmax_test_data): Likewise.
3688 (fmin_test_data): Likewise.
3689 (fmod_test_data): Likewise.
3690 (fpclassify_test_data): Likewise.
3691 (frexp_test_data): Likewise.
3692 (ilogb_test_data): Likewise.
3693 (isfinite_test_data): Likewise.
3694 (isgreater_test_data): Likewise.
3695 (isgreaterequal_test_data): Likewise.
3696 (isinf_test_data): Likewise.
3697 (isless_test_data): Likewise.
3698 (islessequal_test_data): Likewise.
3699 (islessgreater_test_data): Likewise.
3700 (isnan_test_data): Likewise.
3701 (isnormal_test_data): Likewise.
3702 (issignaling_test_data): Likewise.
3703 (isunordered_test_data): Likewise.
3704 (ldexp_test_data): Likewise.
3705 (lrint_test_data): Likewise.
3706 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3707 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3708 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3709 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3710 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3711 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3712 test input.
3713 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3714 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3715 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3716 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3717 that test input.
3718 (lrint_downward_test_data): Test for "inexact" exceptions.
3719 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3720 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3721 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3722 test input.
3723 (lrint_upward_test_data): Test for "inexact" exceptions.
3724 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3725 test input.
3726 (llrint_test_data): Test for "inexact" exceptions.
3727 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3728 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3729 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3730 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3731 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3732 (llrint_downward_test_data): Test for "inexact" exceptions.
3733 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3734 (llrint_upward_test_data): Test for "inexact" exceptions.
3735 (logb_test_data): Likewise.
3736 (logb_downward_test_data): Likewise.
3737 (nextafter_test_data): Likewise.
3738 (nexttoward_test_data): Likewise.
3739 (remainder_test_data): Likewise.
3740 (remquo_test_data): Likewise.
3741 (scalbn_test_data): Likewise.
3742 (scalbln_test_data): Likewise.
3743 (signbit_test_data): Likewise.
3744 (sqrt_test_data): Likewise.
3745 (significand_test_data): Likewise.
3746
48a18de1
SP
37472013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3748
3749 [BZ #15424]
3750 * benchtests/bench-modf.c (struct args): Mark arg0 as
3751 volatile.
3752 * scripts/bench.pl: Mark members of struct args as volatile.
3753
13d3b41a
AZ
37542013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3755
68191c1d 3756 [BZ # 15497]
13d3b41a
AZ
3757 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3758 negative infinity on POWER6 or lower.
3759 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3760
2848b105
MR
37612013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3762
3763 [BZ #15442]
3764 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3765 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3766 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3767 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3768 (_FP_SETQNAN): New macro.
3769 (_FP_SETQNAN_SEMIRAW): Likewise.
3770 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3771 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3772 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3773 (FP_EXTEND): Use _FP_FRAC_SNANP.
3774 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3775 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3776 into account.
3777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3778 New macro.
3779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3780 Likewise.
3781
323e5cb7
JM
37822013-05-16 Joseph Myers <joseph@codesourcery.com>
3783
c58b274f
JM
3784 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3785 with DIVIDE_BY_ZERO_EXCEPTION.
3786 (gamma_test_data): Likewise.
3787 (lgamma_test_data): Likewise.
3788 (log_test_data): Likewise.
3789 (log10_test_data): Likewise.
3790 (log2_test_data): Likewise.
3791 (tgamma_test_data): Likewise.
3792
0ab34904
JM
3793 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3794 (acos_test_tonearest): Likewise.
3795 (acos_test_towardzero): Likewise.
3796 (acos_test_downward): Likewise.
3797 (acos_test_upward): Likewise.
3798 (acosh_test): Likewise.
3799 (asin_test): Likewise.
3800 (asin_test_tonearest): Likewise.
3801 (asin_test_towardzero): Likewise.
3802 (asin_test_downward): Likewise.
3803 (asin_test_upward): Likewise.
3804 (asinh_test): Likewise.
3805 (atan_test): Likewise.
3806 (atanh_test): Likewise.
3807 (atan2_test): Likewise.
3808 (cabs_test): Likewise.
3809 (cacos_test): Likewise.
3810 (cacosh_test): Likewise.
3811 (casin_test): Likewise.
3812 (casinh_test): Likewise.
3813 (catan_test): Likewise.
3814 (catanh_test): Likewise.
3815 (cbrt_test): Likewise.
3816 (ccos_test): Likewise.
3817 (ccosh_test): Likewise.
3818 (cexp_test): Likewise.
3819 (clog_test): Likewise.
3820 (clog10_test): Likewise.
3821 (cos_test): Likewise.
3822 (cos_test_tonearest): Likewise.
3823 (cos_test_towardzero): Likewise.
3824 (cos_test_downward): Likewise.
3825 (cos_test_upward): Likewise.
3826 (cosh_test): Likewise.
3827 (cosh_test_tonearest): Likewise.
3828 (cosh_test_towardzero): Likewise.
3829 (cosh_test_downward): Likewise.
3830 (cosh_test_upward): Likewise.
3831 (cpow_test): Likewise.
3832 (csin_test): Likewise.
3833 (csinh_test): Likewise.
3834 (csqrt_test): Likewise.
3835 (ctan_test): Likewise.
3836 (ctan_test_tonearest): Likewise.
3837 (ctan_test_towardzero): Likewise.
3838 (ctan_test_downward): Likewise.
3839 (ctan_test_upward): Likewise.
3840 (ctanh_test): Likewise.
3841 (ctanh_test_tonearest): Likewise.
3842 (ctanh_test_towardzero): Likewise.
3843 (ctanh_test_downward): Likewise.
3844 (ctanh_test_upward): Likewise.
3845 (erf_test): Likewise.
3846 (erfc_test): Likewise.
3847 (exp_test): Likewise.
3848 (exp_test_tonearest): Likewise.
3849 (exp_test_towardzero): Likewise.
3850 (exp_test_downward): Likewise.
3851 (exp_test_upward): Likewise.
3852 (exp10_test): Likewise.
3853 (exp2_test): Likewise.
3854 (expm1_test): Likewise.
3855 (fmod_test): Likewise.
3856 (gamma_test): Likewise.
3857 (hypot_test): Likewise.
3858 (j0_test): Likewise.
3859 (j1_test): Likewise.
3860 (jn_test): Likewise.
3861 (lgamma_test): Likewise.
3862 (log_test): Likewise.
3863 (log10_test): Likewise.
3864 (log1p_test): Likewise.
3865 (log2_test): Likewise.
3866 (logb_test_downward): Likewise.
3867 (pow_test): Likewise.
3868 (pow_test_tonearest): Likewise.
3869 (pow_test_towardzero): Likewise.
3870 (pow_test_downward): Likewise.
3871 (pow_test_upward): Likewise.
3872 (remainder_test): Likewise.
3873 (remquo_test): Likewise.
3874 (sin_test): Likewise.
3875 (sin_test_tonearest): Likewise.
3876 (sin_test_towardzero): Likewise.
3877 (sin_test_downward): Likewise.
3878 (sin_test_upward): Likewise.
3879 (sincos_test): Likewise.
3880 (sinh_test): Likewise.
3881 (sinh_test_tonearest): Likewise.
3882 (sinh_test_towardzero): Likewise.
3883 (sinh_test_downward): Likewise.
3884 (sinh_test_upward): Likewise.
3885 (sqrt_test): Likewise.
3886 (tan_test): Likewise.
3887 (tan_test_tonearest): Likewise.
3888 (tan_test_towardzero): Likewise.
3889 (tan_test_downward): Likewise.
3890 (tan_test_upward): Likewise.
3891 (tanh_test): Likewise.
3892 (tgamma_test): Likewise.
3893 (y0_test): Likewise.
3894 (y1_test): Likewise.
3895 (yn_test): Likewise.
3896
323e5cb7
JM
3897 * math/gen-libm-test.pl (adjust_arg): Remove function.
3898 (special_function): Remove argument $in_func. Only handle
3899 generating output for tables of tests, not inside functions.
3900 (parse_args): Likewise.
3901 (generate_testfile): Remove variable $in_func. Update call to
3902 parse_args.
3903 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3904 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3905 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3906 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3907 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3908 (MAX_VALUE_INIT): Rename macro to max_value.
3909 (MIN_VALUE_INIT): Rename macro to min_value.
3910 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3911 (plus_zero): Remove variable.
3912 (minus_zero): Likewise.
3913 (plus_infty): Likewise.
3914 (minus_infty): Likewise.
3915 (qnan_value): Likewise.
3916 (max_value): Likewise.
3917 (min_value): Likewise.
3918 (min_subnorm_value): Likewise.
3919
e054f494
RA
39202013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3921
3922 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3923 uint64_t or uint32_t usage.
3924 * crypt/sha256-block.c: Likewise.
3925 * crypt/sha256-crypt.c: Likewise.
3926 * crypt/sha256.c: Likewise.
3927 * crypt/sha512-block.c: Likewise.
3928 * crypt/sha512-crypt.c: Likewise.
3929 * crypt/sha512.c: Likewise.
3930 * debug/backtrace-tst.c: Likewise.
3931 * debug/pcprofiledump.c: Likewise.
3932 * elf/cache.c: Likewise.
3933 * elf/dl-cache.c: Likewise.
3934 * elf/dl-misc.c: Likewise.
3935 * elf/dl-profile.c: Likewise.
3936 * elf/dl-support.c: Likewise.
3937 * elf/ldconfig.c: Likewise.
3938 * elf/sprof.c: Likewise.
3939 * iconv/dummy-repertoire.c: Likewise.
3940 * iconv/iconv_charmap.c: Likewise.
3941 * iconv/skeleton.c: Likewise.
3942 * iconvdata/8bit-generic.c: Likewise.
3943 * iconvdata/cp737.h: Likewise.
3944 * iconvdata/cp775.h: Likewise.
3945 * iconvdata/ibm1008.h: Likewise.
3946 * iconvdata/ibm1025.h: Likewise.
3947 * iconvdata/ibm1046.h: Likewise.
3948 * iconvdata/ibm1097.h: Likewise.
3949 * iconvdata/ibm1112.h: Likewise.
3950 * iconvdata/ibm1122.h: Likewise.
3951 * iconvdata/ibm1123.h: Likewise.
3952 * iconvdata/ibm1124.h: Likewise.
3953 * iconvdata/ibm1129.h: Likewise.
3954 * iconvdata/ibm1130.h: Likewise.
3955 * iconvdata/ibm1132.h: Likewise.
3956 * iconvdata/ibm1133.h: Likewise.
3957 * iconvdata/ibm1137.h: Likewise.
3958 * iconvdata/ibm1140.h: Likewise.
3959 * iconvdata/ibm1141.h: Likewise.
3960 * iconvdata/ibm1142.h: Likewise.
3961 * iconvdata/ibm1143.h: Likewise.
3962 * iconvdata/ibm1144.h: Likewise.
3963 * iconvdata/ibm1145.h: Likewise.
3964 * iconvdata/ibm1146.h: Likewise.
3965 * iconvdata/ibm1147.h: Likewise.
3966 * iconvdata/ibm1148.h: Likewise.
3967 * iconvdata/ibm1149.h: Likewise.
3968 * iconvdata/ibm1153.h: Likewise.
3969 * iconvdata/ibm1154.h: Likewise.
3970 * iconvdata/ibm1155.h: Likewise.
3971 * iconvdata/ibm1156.h: Likewise.
3972 * iconvdata/ibm1157.h: Likewise.
3973 * iconvdata/ibm1158.h: Likewise.
3974 * iconvdata/ibm1160.h: Likewise.
3975 * iconvdata/ibm1161.h: Likewise.
3976 * iconvdata/ibm1162.h: Likewise.
3977 * iconvdata/ibm1163.h: Likewise.
3978 * iconvdata/ibm1164.h: Likewise.
3979 * iconvdata/ibm1166.h: Likewise.
3980 * iconvdata/ibm1167.h: Likewise.
3981 * iconvdata/ibm12712.h: Likewise.
3982 * iconvdata/ibm1390.h: Likewise.
3983 * iconvdata/ibm1399.h: Likewise.
3984 * iconvdata/ibm16804.h: Likewise.
3985 * iconvdata/ibm4517.h: Likewise.
3986 * iconvdata/ibm4899.h: Likewise.
3987 * iconvdata/ibm4909.h: Likewise.
3988 * iconvdata/ibm4971.h: Likewise.
3989 * iconvdata/ibm5347.h: Likewise.
3990 * iconvdata/ibm803.h: Likewise.
3991 * iconvdata/ibm856.h: Likewise.
3992 * iconvdata/ibm901.h: Likewise.
3993 * iconvdata/ibm902.h: Likewise.
3994 * iconvdata/ibm9030.h: Likewise.
3995 * iconvdata/ibm9066.h: Likewise.
3996 * iconvdata/ibm921.h: Likewise.
3997 * iconvdata/ibm922.h: Likewise.
3998 * iconvdata/ibm9448.h: Likewise.
3999 * iconvdata/isiri-3342.h: Likewise.
4000 * iconvdata/jis0201.h: Likewise.
4001 * include/link.h: Likewise.
4002 * include/netdb.h: Likewise.
4003 * inet/check_native.c: Likewise.
4004 * inet/check_pf.c: Likewise.
4005 * inet/getipv4sourcefilter.c: Likewise.
4006 * inet/getnameinfo.c: Likewise.
4007 * inet/getsourcefilter.c: Likewise.
4008 * inet/htonl.c: Likewise.
4009 * inet/setipv4sourcefilter.c: Likewise.
4010 * inet/setsourcefilter.c: Likewise.
4011 * inet/test-inet6_opt.c: Likewise.
4012 * inet/tst-network.c: Likewise.
4013 * locale/C-collate.c: Likewise.
4014 * locale/C-ctype.c: Likewise.
4015 * locale/C-time.c: Likewise.
4016 * locale/C-translit.h: Likewise.
4017 * locale/loadarchive.c: Likewise.
4018 * locale/programs/3level.h: Likewise.
4019 * locale/programs/charmap.c: Likewise.
4020 * locale/programs/charmap.h: Likewise.
4021 * locale/programs/ld-address.c: Likewise.
4022 * locale/programs/ld-collate.c: Likewise.
4023 * locale/programs/ld-ctype.c: Likewise.
4024 * locale/programs/ld-identification.c: Likewise.
4025 * locale/programs/ld-measurement.c: Likewise.
4026 * locale/programs/ld-messages.c: Likewise.
4027 * locale/programs/ld-monetary.c: Likewise.
4028 * locale/programs/ld-name.c: Likewise.
4029 * locale/programs/ld-numeric.c: Likewise.
4030 * locale/programs/ld-paper.c: Likewise.
4031 * locale/programs/ld-telephone.c: Likewise.
4032 * locale/programs/ld-time.c: Likewise.
4033 * locale/programs/linereader.c: Likewise.
4034 * locale/programs/locale.c: Likewise.
4035 * locale/programs/locarchive.c: Likewise.
4036 * locale/programs/locfile.h: Likewise.
4037 * locale/programs/repertoire.c: Likewise.
4038 * locale/programs/simple-hash.c: Likewise.
4039 * locale/programs/simple-hash.h: Likewise.
4040 * malloc/memusage.c: Likewise.
4041 * malloc/memusagestat.c: Likewise.
4042 * nis/nis_defaults.c: Likewise.
4043 * nis/nis_hash.c: Likewise.
4044 * nis/nis_print.c: Likewise.
4045 * nis/nis_xdr.c: Likewise.
4046 * nscd/connections.c: Likewise.
4047 * nscd/hstcache.c: Likewise.
4048 * nscd/nscd_gethst_r.c: Likewise.
4049 * nscd/nscd_getserv_r.c: Likewise.
4050 * nscd/nscd_helper.c: Likewise.
4051 * nscd/servicescache.c: Likewise.
4052 * nss/makedb.c: Likewise.
4053 * nss/nss_db/db-XXX.c: Likewise.
4054 * nss/nss_db/db-initgroups.c: Likewise.
4055 * nss/nss_db/db-netgrp.c: Likewise.
4056 * nss/nss_files/files-network.c: Likewise.
4057 * nss/nss_files/files-parse.c: Likewise.
4058 * posix/bug-regex5.c: Likewise.
4059 * posix/fnmatch_loop.c: Likewise.
4060 * posix/regcomp.c: Likewise.
4061 * posix/regexec.c: Likewise.
4062 * posix/tst-rfc3484-2.c: Likewise.
4063 * posix/tst-rfc3484-3.c: Likewise.
4064 * posix/tst-rfc3484.c: Likewise.
4065 * resolv/nss_dns/dns-canon.c: Likewise.
4066 * resolv/nss_dns/dns-network.c: Likewise.
4067 * resolv/res_init.c: Likewise.
4068 * resolv/res_mkquery.c: Likewise.
4069 * resolv/tst-aton.c: Likewise.
4070 * stdlib/cxa_atexit.c: Likewise.
4071 * stdlib/cxa_finalize.c: Likewise.
4072 * stdlib/gen-fpioconst.c: Likewise.
4073 * stdlib/strtol_l.c: Likewise.
4074 * string/tst-endian.c: Likewise.
4075 * sunrpc/auth_des.c: Likewise.
4076 * sunrpc/clnt_udp.c: Likewise.
4077 * sunrpc/rtime.c: Likewise.
4078 * sunrpc/svcauth_des.c: Likewise.
4079 * sunrpc/xdr.c: Likewise.
4080 * sunrpc/xdr_intXX_t.c: Likewise.
4081 * sunrpc/xdr_rec.c: Likewise.
4082 * sysdeps/generic/ldconfig.h: Likewise.
4083 * sysdeps/generic/ldsodefs.h: Likewise.
4084 * sysdeps/generic/memusage.h: Likewise.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4095 * sysdeps/posix/getaddrinfo.c: Likewise.
4096 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4097 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4098 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4099 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4100 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4101 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4102 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4103 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4104 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4105 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4106 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4107 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4108 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4109 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4111 * sysdeps/x86_64/dl-tls.h: Likewise.
4112 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4113 * time/alt_digit.c: Likewise.
4114 * time/era.c: Likewise.
4115 * wcsmbs/tst-c16c32-1.c: Likewise.
4116
8c75f674
JM
41172013-05-16 Joseph Myers <joseph@codesourcery.com>
4118
4119 * math/libm-test.inc (struct test_sincos_data): New type.
4120 (RUN_TEST_LOOP_sincos): New macro.
4121 (sincos_test_data): New variable.
4122 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4123
e6e49e59
RH
41242013-05-16 Richard Henderson <rth@redhat.com>
4125
4126 * math/atest-exp2.c (LIMB64): New macro.
4127 (CONSTSZ): New macro.
4128 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4129 (hexdig): Move ...
4130 (print_mpn_fp): ... to function scope.
4131 (read_mpn_hex): Remove.
4132 (get_log2): Remove.
4133 (exp2_mpn): Use mp_log2.
4134 (main): Use mp_exp1.
4135
15c7c18d
JM
41362013-05-16 Joseph Myers <joseph@codesourcery.com>
4137
105a07df
JM
4138 * math/libm-test.inc: Remove comment about not testing "inexact"
4139 exceptions.
4140 (INEXACT_EXCEPTION): New macro.
4141 (NO_INEXACT_EXCEPTION): Likewise.
4142 (INVALID_EXCEPTION_OK): Update value.
4143 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4144 (OVERFLOW_EXCEPTION_OK): Likewise.
4145 (UNDERFLOW_EXCEPTION_OK): Likewise.
4146 (IGNORE_ZERO_INF_SIGN): Likewise.
4147 (ERRNO_UNCHANGED): Likewise.
4148 (ERRNO_EDOM): Likewise.
4149 (ERRNO_ERANGE): Likewise.
4150 (test_exceptions): Handle testing "inexact" exceptions.
4151 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4152 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4153 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4154 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4155 INEXACT_EXCEPTION.
4156 (rint_towardzero_test_data): Likewise.
4157 (rint_downward_test_data): Likewise.
4158 (rint_upward_test_data): Likewise.
4159
e9eee333
JM
4160 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4161 with OVERFLOW_EXCEPTION.
4162 (exp10_test_data): Likewise.
4163 (exp2_test_data): Likewise.
4164 (expm1_test_data): Likewise.
4165 (lgamma_test_data): Likewise.
4166 (pow_test_data): Likewise.
4167 (tgamma_test_data): Likewise.
4168 (yn_test_data): Remove duplicate test of overflow.
4169
1c38ff73
JM
4170 * math/libm-test.inc (struct test_cc_c_data): New type.
4171 (RUN_TEST_LOOP_cc_c): New macro.
4172 (cpow_test_data): New variable.
4173 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4174
15c7c18d
JM
4175 * math/libm-test.inc (struct test_f_L_data): New type.
4176 (RUN_TEST_LOOP_f_L): New macro.
4177 (llrint_test_data): New variable.
4178 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4179 (llrint_tonearest_test_data): New variable.
4180 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4181 (llrint_towardzero_test_data): New variable.
4182 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4183 (llrint_downward_test_data): New variable.
4184 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4185 (llrint_upward_test_data): New variable.
4186 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4187 (llround_test_data): New variable.
4188 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4189
f137ff13
PC
41902013-05-13 Peter Collingbourne <pcc@google.com>
4191
4192 * math/atest-exp2.c (get_log2): Remove const attribute.
4193
3608cb24
JM
41942013-05-15 Joseph Myers <joseph@codesourcery.com>
4195
4196 * math/libm-test.inc (struct test_f_l_data): New type.
4197 (RUN_TEST_LOOP_f_l): New macro.
4198 (lrint_test_data): New variable.
4199 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4200 (lrint_tonearest_test_data): New variable.
4201 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4202 (lrint_towardzero_test_data): New variable.
4203 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4204 (lrint_downward_test_data): New variable.
4205 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4206 (lrint_upward_test_data): New variable.
4207 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4208 (lround_test_data): New variable.
4209 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4210
39b1f617
PC
42112013-05-15 Peter Collingbourne <pcc@google.com>
4212
1deff3dc
PC
4213 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4214 (EXTRACT_WORDS64) Use where appropriate.
4215 (INSERT_WORDS64) Likewise.
4216
791f3ba0
PC
4217 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4218 constraints with x constraints.
4219 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4220
39b1f617
PC
4221 * malloc/obstack.c (_obstack_compat): Add initializer.
4222
12fba011
EM
42232013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4224
4225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4226 si_trapno and add si_addr_lsb to _sifields.sigfault.
4227 (si_trapno): Remove macro.
4228 (si_addr_lsb): Define new macro.
4229 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4230
d369f531
JM
42312013-05-15 Joseph Myers <joseph@codesourcery.com>
4232
b861c6c4
JM
4233 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4234 instead of TEST_f_l.
4235 (llrint_test_tonearest): Likewise.
4236 (llrint_test_towardzero): Likewise.
4237 (llrint_test_downward): Likewise.
4238 (llrint_test_upward): Likewise.
4239 (llround_test): Likewise.
4240
7abeee12
JM
4241 * math/libm-test.inc (struct test_f_i_data): Add comment.
4242 (RUN_TEST_LOOP_f_b): New macro.
4243 (RUN_TEST_LOOP_f_b_tg): Likewise.
4244 (finite_test_data): New variable.
4245 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4246 (isfinite_test_data): New variable.
4247 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4248 (isinf_test_data): New variable.
4249 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4250 (isnan_test_data): New variable.
4251 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4252 (isnormal_test_data): New variable.
4253 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4254 (issignaling_test_data): New variable.
4255 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4256 (signbit_test_data): New variable.
4257 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4258
cbe8c4d3
JM
4259 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4260 with INVALID_EXCEPTION.
4261 (acosh_test_data): Likewise.
4262 (asin_test_data): Likewise.
4263 (atanh_test_data): Likewise.
4264 (fmod_test_data): Likewise.
4265 (log_test_data): Likewise.
4266 (log10_test_data): Likewise.
4267 (log2_test_data): Likewise.
4268 (pow_test_data): Likewise.
4269 (sqrt_test_data): Likewise.
4270 (y0_test_data): Likewise.
4271 (y1_test_data): Likewise.
4272 (yn_test_data): Likewise.
4273
5575c0e5
JM
4274 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4275 function contents.
4276
d369f531
JM
4277 * math/libm-test.inc (struct test_ff_i_data): New type.
4278 (RUN_TEST_LOOP_ff_i_tg): New macro.
4279 (isgreater_test_data): New variable.
4280 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4281 (isgreaterequal_test_data): New variable.
4282 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4283 (isless_test_data): New variable.
4284 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4285 (islessequal_test_data): New variable.
4286 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4287 (islessgreater_test_data): New variable.
4288 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4289 (isunordered_test_data): New variable.
4290 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4291
781fd748
DM
42922013-05-14 David S. Miller <davem@davemloft.net>
4293
4294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4295
87aa21df
JM
42962013-05-14 Joseph Myers <joseph@codesourcery.com>
4297
5e908270
JM
4298 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4299
f71172e5
JM
4300 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4301 extra_test to int.
4302 (struct test_f_i_data): Change type of max_ulp to int.
4303
8cfa635a
JM
4304 * math/libm-test.inc (test_ffI_f1_data): New type.
4305 (RUN_TEST_LOOP_ffI_f1): New macro.
4306 (remquo_test_data): New variable.
4307 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4308
2bcb36b2
JM
4309 * setjmp/tst-setjmp-fp.c: New file.
4310 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4311 (link-libm): New variable.
4312 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4313
acbd839a
JM
4314 * math/libm-test.inc (struct test_f_i_data): New type.
4315 (RUN_TEST_LOOP_f_i): New macro.
4316 (RUN_TEST_LOOP_f_i_tg): Likewise.
4317 (fpclassify_test_data): New variable.
4318 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4319 (ilogb_test_data): New variable.
4320 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4321
e414d745
JM
4322 * math/libm-test.inc (scalbln_test): Correct function name in END
4323 call.
4324
d9c2a0fd
JM
4325 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4326 (RUN_TEST_LOOP_fI_f1): New macro.
4327 (frexp_test_data): New variable.
4328 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4329
9dc9095d
JM
4330 * math/libm-test.inc (struct test_fF_f1_data): New type.
4331 (RUN_TEST_LOOP_fF_f1): New macro.
4332 (modf_test_data): New variable.
4333 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4334
87aa21df
JM
4335 * math/libm-test.inc (struct test_f_f1_data): New type.
4336 (RUN_TEST_LOOP_f_f1): New macro.
4337 (gamma_test_data): New variable.
4338 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4339 (lgamma_test_data): New variable.
4340 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4341
141af660
CD
43422013-05-13 Carlos O'Donell <carlos@redhat.com>
4343
4344 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4345 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4346 (main): Comment "tls" pseudo-hwcap.
4347
6d33265c
JM
43482013-05-13 Joseph Myers <joseph@codesourcery.com>
4349
68fc074c
JM
4350 * math/libm-test.inc (struct test_fl_f_data): New type.
4351 (RUN_TEST_LOOP_fl_f): New variable.
4352 (scalbln_test_data): New variable.
4353 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4354
243216e1
JM
4355 * math/libm-test.inc (struct test_fi_f_data): New type.
4356 (RUN_TEST_LOOP_fi_f): New macro.
4357 (ldexp_test_data): New variable.
4358 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4359 (scalbn_test_data): New variable.
4360 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4361
6a1992e2
JM
4362 * math/libm-test.inc (struct test_c_f_data): New type.
4363 (RUN_TEST_LOOP_c_f): New macro.
4364 (cabs_test_data): New variable.
4365 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4366 (carg_test_data): New variable.
4367 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4368 (cimag_test_data): New variable.
4369 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4370 (creal_test_data): New variable.
4371 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4372
0e400df5
JM
4373 * math/libm-test.inc (struct test_if_f_data): New type.
4374 (RUN_TEST_LOOP_if_f): New macro.
4375 (jn_test_data): New variable.
4376 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4377 (yn_test_data): New variable.
4378 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4379
6d33265c
JM
4380 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4381
f98ece5f
AZ
43822013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4383
4384 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4385 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4386
0f7d347b
SP
43872013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4388
43fe811b
SP
4389 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4390 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4391 (bench-deps): Add bench-timing.h.
4392 * benchtests-bench-skeleton.c: Include bench-timing.h.
4393 (main): Use TIMING_* macros instead of clock_gettime.
4394 * benchtests/bench-timing.h: New file.
4395
0f7d347b
SP
4396 [BZ #14582]
4397 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4398 Renamed from _LIB_VERSION.
4399 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4400
601a3a5f
JM
44012013-05-12 Joseph Myers <joseph@codesourcery.com>
4402
4f184d30
JM
4403 * math/libm-test.inc (struct test_fff_f_data): New type.
4404 (RUN_TEST_LOOP_fff_f): New macro.
4405 (fma_test_data): New variable.
4406 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4407 (fma_towardzero_test_data): New variable.
4408 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4409 (fma_downward_test_data): New variable.
4410 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4411 (fma_upward_test_data): New variable.
4412 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4413
08198877
JM
4414 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4415 (struct test_c_c_data): New type.
4416 (RUN_TEST_LOOP_c_c): New macro.
4417 (cacos_test_data): New variable.
4418 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4419 (cacosh_test_data): New variable.
4420 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4421 (casin_test_data): New variable.
4422 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4423 (casinh_test_data): New variable.
4424 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4425 (catan_test_data): New variable.
4426 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4427 (catanh_test_data): New variable.
4428 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4429 (ccos_test_data): New variable.
4430 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4431 (ccosh_test_data): New variable.
4432 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4433 (cexp_test_data): New variable.
4434 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4435 (clog_test_data): New variable.
4436 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4437 (clog10_test_data): New variable.
4438 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4439 (conj_test_data): New variable.
4440 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4441 (cproj_test_data): New variable.
4442 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4443 (csin_test_data): New variable.
4444 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4445 (csinh_test_data): New variable.
4446 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4447 (csqrt_test_data): New variable.
4448 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4449 (ctan_test_data): New variable.
4450 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4451 (ctan_tonearest_test_data): New variable.
4452 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4453 (ctan_towardzero_test_data): New variable.
4454 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4455 (ctan_downward_test_data): New variable.
4456 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4457 (ctan_upward_test_data): New variable.
4458 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4459 (ctanh_test_data): New variable.
4460 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4461 (ctanh_tonearest_test_data): New variable.
4462 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4463 (ctanh_towardzero_test_data): New variable.
4464 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4465 (ctanh_downward_test_data): New variable.
4466 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4467 (ctanh_upward_test_data): New variable.
4468 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4469 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4470 of BUILD_COMPLEX.
4471
601a3a5f
JM
4472 * math/libm-test.inc (struct test_ff_f_data): New type.
4473 (struct test_ff_f_data_nexttoward): Likewise.
4474 (RUN_TEST_LOOP_2_f): New macro.
4475 (RUN_TEST_LOOP_ff_f): Likewise.
4476 (atan2_test_data): New variable.
4477 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4478 (copysign_test_data): New variable.
4479 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4480 (fdim_test_data): New variable.
4481 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4482 (fmax_test_data): New variable.
4483 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4484 (fmin_test_data): New variable.
4485 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4486 (fmod_test_data): New variable.
4487 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4488 (hypot_test_data): New variable.
4489 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4490 (nextafter_test_data): New variable.
4491 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4492 (nexttoward_test_data): New variable.
4493 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4494 (pow_test_data): New variable.
4495 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4496 (pow_tonearest_test_data): New variable.
4497 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4498 (pow_towardzero_test_data): New variable.
4499 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4500 (pow_downward_test_data): New variable.
4501 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4502 (pow_upward_test_data): New variable.
4503 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4504 (remainder_test_data): New variable.
4505 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4506 (scalb_test_data): New variable.
4507 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4508 * sysdeps/i386/fpu/libm-test-ulps: Update.
4509
74c57478
JM
45102013-05-11 Joseph Myers <joseph@codesourcery.com>
4511
8329e4da
JM
4512 * math/libm-test.inc (fma_test): Use max_value instead of local
4513 variable fltmax.
4514 (nextafter_test): Likewise.
4515
74c57478
JM
4516 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4517 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4518 (acos_downward_test_data): New variable.
4519 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4520 (acos_upward_test_data): New variable.
4521 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4522 (acosh_test_data): New variable.
4523 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4524 (asin_test_data): New variable.
4525 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4526 (asin_tonearest_test_data): New variable.
4527 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4528 (asin_towardzero_test_data): New variable.
4529 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4530 (asin_downward_test_data): New variable.
4531 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4532 (asin_upward_test_data): New variable.
4533 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4534 (asinh_test_data): New variable.
4535 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4536 (atan_test_data): New variable.
4537 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4538 (atanh_test_data): New variable.
4539 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4540 (cbrt_test_data): New variable.
4541 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4542 (ceil_test_data): New variable.
4543 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4544 (cos_test_data): New variable.
4545 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4546 (cos_tonearest_test_data): New variable.
4547 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4548 (cos_towardzero_test_data): New variable.
4549 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4550 (cos_downward_test_data): New variable.
4551 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4552 (cos_upward_test_data): New variable.
4553 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4554 (cosh_test_data): New variable.
4555 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4556 (cosh_tonearest_test_data): New variable.
4557 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4558 (cosh_towardzero_test_data): New variable.
4559 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4560 (cosh_downward_test_data): New variable.
4561 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4562 (cosh_upward_test_data): New variable.
4563 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4564 (erf_test_data): New variable.
4565 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4566 (erfc_test_data): New variable.
4567 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4568 (exp_test_data): New variable.
4569 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4570 (exp_tonearest_test_data): New variable.
4571 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4572 (exp_towardzero_test_data): New variable.
4573 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4574 (exp_downward_test_data): New variable.
4575 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4576 (exp_upward_test_data): New variable.
4577 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4578 (exp10_test_data): New variable.
4579 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4580 (exp2_test_data): New variable.
4581 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4582 (expm1_test_data): New variable.
4583 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4584 (fabs_test_data): New variable.
4585 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4586 (floor_test_data): New variable.
4587 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4588 (j0_test_data): New variable.
4589 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4590 (j1_test_data): New variable.
4591 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4592 (log_test_data): New variable.
4593 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4594 (log10_test_data): New variable.
4595 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4596 (log1p_test_data): New variable.
4597 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4598 (log2_test_data): New variable.
4599 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4600 (logb_test_data): New variable.
4601 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4602 (logb_downward_test_data): New variable.
4603 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4604 (nearbyint_test_data): New variable.
4605 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4606 (rint_test_data): New variable.
4607 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4608 (rint_tonearest_test_data): New variable.
4609 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4610 (rint_towardzero_test_data): New variable.
4611 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4612 (rint_downward_test_data): New variable.
4613 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4614 (rint_upward_test_data): New variable.
4615 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4616 (round_test_data): New variable.
4617 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4618 (sin_test_data): New variable.
4619 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4620 (sin_tonearest_test_data): New variable.
4621 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4622 (sin_towardzero_test_data): New variable.
4623 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4624 (sin_downward_test_data): New variable.
4625 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4626 (sin_upward_test_data): New variable.
4627 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4628 (sinh_test_data): New variable.
4629 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4630 (sinh_tonearest_test_data): New variable.
4631 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4632 (sinh_towardzero_test_data): New variable.
4633 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4634 (sinh_downward_test_data): New variable.
4635 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4636 (sinh_upward_test_data): New variable.
4637 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4638 (sqrt_test_data): New variable.
4639 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4640 (tan_test_data): New variable.
4641 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4642 (tan_tonearest_test_data): New variable.
4643 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4644 (tan_towardzero_test_data): New variable.
4645 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4646 (tan_downward_test_data): New variable.
4647 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4648 (tan_upward_test_data): New variable.
4649 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4650 (tanh_test_data): New variable.
4651 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4652 (tgamma_test_data): New variable.
4653 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4654 (trunc_test_data): New variable.
4655 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4656 (y0_test_data): New variable.
4657 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4658 (y1_test_data): New variable.
4659 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4660 (significand_test_data): New variable.
4661 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4662
7187d844
CG
46632013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4664
4665 [BZ #12387]
4666 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4667
f63fae73
PT
46682013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4669
4670 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4671
8a67a4b3
AJ
46722013-05-10 Andreas Jaeger <aj@suse.de>
4673
4674 [BZ #15448]
4675 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4676 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4677
51df539d
JM
46782013-05-10 Joseph Myers <joseph@codesourcery.com>
4679
4680 * math/gen-libm-test.pl (adjust_arg): New function.
4681 (special_functions): Handle generating output in both functions
4682 and arrays.
4683 (parse_args): Likewise.
4684 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4685 $in_func argument to parse_args.
4686 * math/libm-test.inc (struct test_f_f_data): New type.
4687 (IF_ROUND_INIT_): New macro.
4688 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4689 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4690 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4691 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4692 (ROUND_RESTORE_): Likewise.
4693 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4694 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4695 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4696 (ROUND_RESTORE_FE_UPWARD): Likewise.
4697 (RUN_TEST_LOOP_f_f): New macro.
4698 (acos_test_data): New variable.
4699 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4700 (acos_tonearest_test_data): New variable.
4701 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4702
5c637fe5
SP
47032013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 * benchtests/bench-skeleton.c (startup): Fix coding style.
4706
ab2b9461
JM
47072013-05-10 Joseph Myers <joseph@codesourcery.com>
4708
4709 [BZ #6809]
4710 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4711 negative infinity argument.
4712 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4713 negative infinity argument.
4714 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4715 negative infinity argument.
4716 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4717 domain errors.
4718
4c0fe6fe
FW
47192013-05-10 Florian Weimer <fweimer@redhat.com>
4720
4721 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4722 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4723 * iconv/iconv_prog.c (main): Likewise.
4724 * locale/programs/charmap-dir.c (charmap_readdir)
4725 (fopen_uncompressed): Likewise.
4726 * locale/programs/locfile.c (siblings_uncached)
4727 (write_locale_data): Use lstat64 instead of lstat.
4728 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4729 stat.
4730
a3375d29
AJ
47312013-05-10 Andreas Jaeger <aj@suse.de>
4732
4733 [BZ #15395]
4734 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4735 localization.
4736 Include <locale.h>.
4737
36129722
CD
47382013-05-09 Carlos O'Donell <carlos@redhat.com>
4739
4740 * elf/dl-close.c (_dl_close_worker): Add comments.
4741
faa7f811
JM
47422013-05-09 Joseph Myers <joseph@codesourcery.com>
4743
ed41ffef
JM
4744 [BZ #15359]
4745 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4746 high part of pi/2.
4747 (__ieee754_rem_pio2l): Update comments.
4748
d0213cd0
JM
4749 [BZ #15429]
4750 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4751 high part of pi/2.
4752 (__ieee754_rem_pio2l): Update comments.
4753
0d3e777a
JM
4754 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4755 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4756
24f56066
JM
4757 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4758 M_PI_4l.
4759
faa7f811
JM
4760 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4761 (M_PI_34_LOG10El): Likewise.
4762 (M_PI2_LOG10El): Likewise.
4763 (M_PI4_LOG10El): Likewise.
4764 (M_PI_LOG10El): Likewise.
4765
e9a5e0fd
AZ
47662013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767
4768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4769
d8cd06db
JM
47702013-05-08 Joseph Myers <joseph@codesourcery.com>
4771
a0d9f9d7
JM
4772 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4773 (MINUS_ZERO_INIT): Likewise.
4774 (PLUS_INFTY_INIT): Likewise.
4775 (MINUS_INFTY_INIT): Likewise.
4776 (QNAN_VALUE_INIT): Likewise.
4777 (MAX_VALUE_INIT): Likewise.
4778 (MIN_VALUE_INIT): Likewise.
4779 (MIN_SUBNORM_VALUE_INIT): Likewise.
4780 (plus_zero): Initialize with PLUS_ZERO_INIT.
4781 (minus_zero): Initialize with MINUS_ZERO_INIT.
4782 (plus_infty): Initialize with PLUS_INFTY_INIT.
4783 (minus_infty): Initialize with MINUS_INFTY_INIT.
4784 (qnan_value): Initialize with QNAN_VALUE_INIT.
4785 (max_value): Initialize with MAX_VALUE_INIT.
4786 (min_value): Initialize with MIN_VALUE_INIT.
4787 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4788
ae08db3b
JM
4789 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4790 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4791 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4792 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4793
f44bf14a
JM
4794 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4795 (RUN_TEST_2_f): Likewise.
4796 (RUN_TEST_ff_f): Likewise.
4797 (RUN_TEST_fi_f): Likewise.
4798 (RUN_TEST_fl_f): Likewise.
4799 (RUN_TEST_fff_f): Likewise.
4800 (RUN_TEST_c_f): Likewise.
4801 (RUN_TEST_f_f1): Likewise.
4802 (RUN_TEST_fF_f1): Likewise.
4803 (RUN_TEST_fI_f1): Likewise.
4804 (RUN_TEST_ffI_f1): Likewise.
4805 (RUN_TEST_c_c): Likewise.
4806 (RUN_TEST_cc_c): Likewise.
4807 (RUN_TEST_f_i): Likewise.
4808 (RUN_TEST_f_i_tg): Likewise.
4809 (RUN_TEST_ff_i_tg): Likewise.
4810 (RUN_TEST_f_b): Likewise.
4811 (RUN_TEST_f_b_tg): Likewise.
4812 (RUN_TEST_f_l): Likewise.
4813 (RUN_TEST_f_L): Likewise.
4814 (RUN_TEST_sincos): Likewise.
4815 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4816 whether to show exceptions. Do not include ");\n" in return
4817 value.
4818 (special_functions): Output call to RUN_TEST_sincos instead of
4819 check_float calls. Update calls to new_test.
4820 (parse_args): Output call to single RUN_TEST_* macro instead of
4821 check_* calls and other assignments. Update calls to new_test.
4822
d8cd06db
JM
4823 [BZ #2546]
4824 [BZ #2560]
4825 [BZ #5159]
4826 [BZ #15426]
4827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4828 input to result for tgamma overflow.
4829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4830 (gamma_coeff): New variable.
4831 (NCOEFF): New macro.
4832 (gamma_positive): New function.
4833 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4834 underflow here. Use gamma_positive instead of exp (lgamma) for
4835 other arguments.
4836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4837 (gamma_coeff): New variable.
4838 (NCOEFF): New macro.
4839 (gammaf_positive): New function.
4840 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4841 underflow here. Use gamma_positive instead of exp (lgamma) for
4842 other arguments.
4843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4844 (gamma_coeff): New variable.
4845 (NCOEFF): New macro.
4846 (gammal_positive): New function.
4847 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4848 underflow here. Use gamma_positive instead of exp (lgamma) for
4849 other arguments.
4850 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4851 (gamma_coeff): New variable.
4852 (NCOEFF): New macro.
4853 (gammal_positive): New function.
4854 (__ieee754_gammal_r): Handle positive infinity, overflow and
4855 underflow here. Handle NaN the same as positive infinity. Remove
4856 check x < 0xffffffff for negative integers. Use gamma_positive
4857 instead of exp (lgamma) for other arguments.
4858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4859 (gamma_coeff): New variable.
4860 (NCOEFF): New macro.
4861 (gammal_positive): New function.
4862 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4863 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4868 * sysdeps/generic/math_private.h (__gamma_productf): New
4869 prototype.
4870 (__gamma_product): Likewise.
4871 (__gamma_productl): Likewise.
4872 * math/Makefile (libm-calls): Add gamma_product.
4873 * math/libm-test.inc (tgamma_test): Add more tests.
4874 * sysdeps/i386/fpu/libm-test-ulps: Update.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4876
bb7cf681
OB
48772013-05-08 Ondřej Bílka <neleai@seznam.cz>
4878
4879 * benchtests/bench-skeleton.c (main): Preheat CPU.
4880
ba853947
AJ
48812013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4882
4883 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4884
8347c74c
RM
48852013-05-07 Roland McGrath <roland@hack.frob.com>
4886
4887 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4888 and _dl_skip_args_internal.
4889
e8dd4791
CD
48902013-05-07 Carlos O'Donell <carlos@redhat.com>
4891
4892 * manual/message.texi (Message Translation): Talk about users.
4893 Message to key mapping impacts design.
4894
c7405830
RM
48952013-05-06 Roland McGrath <roland@hack.frob.com>
4896
a9173057
RM
4897 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4898
976e2f03
RM
4899 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4900
9723ffc5
RM
4901 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4902 * sysdeps/wordsize-64/glob64.c: ... here.
4903
962e6658
RM
4904 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4905 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4906 New macros.
4907
ee586a6d
RM
4908 * debug/getlogin_r_chk.c: Moved to ...
4909 * login/getlogin_r_chk.c: ... here.
4910 * debug/Makefile (routines): Move getlogin_r_chk to ...
4911 * login/Makefile (routines): ... here.
4912 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4913 * login/Versions (libc: GLIBC_2.4): ... here.
4914
355f9165
RM
4915 * io/poll.c (__poll): Renamed from poll.
4916 Add libc_hidden_def.
4917 (poll): Define as weak alias.
4918
bd9ffde6
RM
4919 * debug/ptsname_r_chk.c: Moved to ...
4920 * login/ptsname_r_chk.c: ... here.
4921 * debug/Makefile (routines): Move ptsname_r_chk to ...
4922 * login/Makefile (routines): ... here.
4923 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4924 * login/Versions (libc: GLIBC_2.4): ... here.
4925
8fb16a04
RM
4926 * posix/getlogin.c: Moved to ...
4927 * login/getlogin.c: ... here.
4928 * posix/getlogin_r.c: Moved to ...
4929 * login/getlogin_r.c: ... here.
4930 * posix/getlogin_r.c: Moved to ...
4931 * login/getlogin_r.c: ... here.
4932 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4933 * login/Makefile (routines): ... here.
4934 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4935 * login/Versions (libc: GLIBC_2.0): ... here.
4936
b99b892f
RM
4937 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4938 (setrlimit): Define as weak alias.
4939
c7405830
RM
4940 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4941 Call __ names for open, ftruncate, and close.
4942 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4943 (truncate): Define as weak alias.
4944
5bf96de5
JM
49452013-05-06 Joseph Myers <joseph@codesourcery.com>
4946
9ea3513c
JM
4947 * math/gen-libm-test.pl (parse_args): Initialize x before each
4948 test of frexp, modf and remquo.
4949
5bf96de5
JM
4950 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4951 test signgam value.
4952
16e616a7
AZ
49532013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 [BZ #15418]
4956 [BZ #15419]
4957 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4958 internal tests.
4959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4960
d5e82754
RM
49612013-05-06 Roland McGrath <roland@hack.frob.com>
4962
4963 * elf/dl-writev.h: New file.
4964 * elf/dl-misc.c: Include it.
4965 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4966 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4967
a7548d41
JM
49682013-05-04 Joseph Myers <joseph@codesourcery.com>
4969
b7dab1e4
JM
4970 * math/libm-test.inc (noXFails): Remove variable.
4971 (noXPasses): Likewise.
4972 (BUILD_COMPLEX_INT): Remove macro.
4973 (print_screen): Remove xfail argument.
4974 (print_screen_max_error): Likewise.
4975 (update_stats): Likewise.
4976 (print_max_error): Likewise. Update calls to other affected
4977 functions.
4978 (print_complex_max_error): Likewise.
4979 (test_single_exception): Update calls to print_screen.
4980 (test_single_errno): Likewise.
4981 (check_float_internal): Remove xfail argument. Update calls to
4982 other affected functions.
4983 (check_float): Likewise.
4984 (check_complex): Likewise.
4985 (check_int): Likewise.
4986 (check_long): Likewise.
4987 (check_bool): Likewise.
4988 (check_longlong): Likewise.
4989 (main): Don't print noXFails and noXPasses.
4990 * math/gen-libm-test.pl (top level): Don't mention expected
4991 failure handling in comment.
4992 (new_test): Don't handle expected failures.
4993 (parse_args): Don't mention expected failure handling in comment.
4994 (generate_testfile): Don't handle expected failures.
4995 (parse_ulps): Likewise.
4996 (print_ulps_file): Likewise.
4997 (get_failure): Remove function.
4998 (output_test): Don't handle expected failures.
4999 * make/README.libm-test: Don't mention expected failure handling.
5000
a7548d41
JM
5001 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5002 (minus_zero): Likewise.
5003 (plus_infty): Likewise.
5004 (minus_infty): Likewise.
5005 (qnan_value): Likewise.
5006 (max_value): Likewise.
5007 (min_value): Likewise.
5008 (min_subnorm_value): Likewise.
5009 (initialize): Do not initialize those variables dynamically.
5010
60bfd54c
RM
50112013-05-03 Roland McGrath <roland@hack.frob.com>
5012
cc0e6ed8
RM
5013 * io/open.c (__open_2): Moved to ...
5014 * io/open_2.c: ... this new file.
5015 * io/open64.c (__open64_2): Moved to ...
5016 * io/open64_2.c: ... this new file.
5017 * io/openat.c (__openat_2): Moved to ...
5018 * io/openat_2.c: ... this new file.
5019 * io/openat64.c (__openat64_2): Moved to ...
5020 * io/openat64_2.c: ... this new file.
5021 * io/Makefile (routines): Add them.
5022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5023 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5024 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5025 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5026 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5027 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5028 (__openat64): Add hidden_ver.
5029 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5030 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5031
60bfd54c
RM
5032 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5033 Separately conditionalize setting of GLRO(dl_sysinfo) so
5034 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5035 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5036
83e7640f
AZ
50372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5040 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5041 definition.
5042 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5043 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5044 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5045 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5046 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5047
d5dc2af3
JM
50482013-05-03 Joseph Myers <joseph@codesourcery.com>
5049
c31a5b1e
JM
5050 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5051 test signgam value.
5052
d5dc2af3
JM
5053 * math/libm-test.inc (hypot_test): Do not use
5054 IGNORE_ZERO_INF_SIGN.
5055
164fd39d
AJ
50562013-05-03 Andreas Jaeger <aj@suse.de>
5057
5058 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5059 Linux 3.9.
5060 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5061 (PF_MAX): Adjust for VSOCK change.
5062
8237f48c
AZ
50632013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064
5065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5066
9df02941
CD
50672013-05-02 Carlos O'Donell <carlos@redhat.com>
5068
5069 [BZ #15264]
5070 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5071 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5072 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5073
d422395e
DM
50742013-05-02 David S. Miller <davem@davemloft.net>
5075
5076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5077
a07c5731
OB
50782013-05-01 Ondřej Bílka <neleai@seznam.cz>
5079
5080 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5081
1324e37f
RM
50822013-05-01 Roland McGrath <roland@hack.frob.com>
5083
5084 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5085
0695940b
RS
50862013-05-01 Richard Smith <richard@metafoo.co.uk>
5087
bb5f27ad 5088 [BZ #14952]
0695940b
RS
5089 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5090 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5091 Use __attribute__ ((__gnu_inline__)).
5092 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5093 Don't use __attribute__ ((__gnu_inline__)).
5094
10de07f5
JM
50952013-05-01 Joseph Myers <joseph@codesourcery.com>
5096
5097 [BZ #15423]
5098 * math/s_catan.c (__catan): Handle small real or imaginary part of
5099 input specially to avoid spurious underflow.
5100 * math/s_catanf.c (__catanf): Likewise.
5101 * math/s_catanh.c (__catanh): Likewise.
5102 * math/s_catanhf.c (__catanhf): Likewise.
5103 * math/s_catanhl.c (__catanhl): Likewise.
5104 * math/s_catanl.c (__catanl): Likewise.
5105 * math/libm-test.inc (catan_test): Add more tests.
5106 (catanh_test): Likewise.
5107 * sysdeps/i386/fpu/libm-test-ulps: Update.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5109
cb4d5414
AZ
51102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5111
5112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5113
caf84319
JM
51142013-04-30 Joseph Myers <joseph@codesourcery.com>
5115
5116 [BZ #15416]
5117 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5118 accurately for denominator in atan2.
5119 * math/s_catanf.c (__catanf): Likewise.
5120 * math/s_catanh.c (__catanh): Likewise.
5121 * math/s_catanhf.c (__catanhf): Likewise.
5122 * math/s_catanhl.c (__catanhl): Likewise.
5123 * math/s_catanl.c (__catanl): Likewise.
5124 * math/libm-test.inc (catan_test): Add more tests.
5125 (catanh_test): Likewise.
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128
d569c6ee
SP
51292013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5130
6dbe713d
SP
5131 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5132
f0ee064b
SP
5133 * benchtests/Makefile (bench): Remove slow benchmarks.
5134 * benchtests/atan-inputs: Add slow benchmark inputs.
5135 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5136 (BENCH_FUNC): Accept variant offset.
5137 (VARIANT): Define.
5138 * benchtests/bench-skeleton.c (main): Run benchmark for each
5139 variant.
5140 * benchtests/cos-inputs: Add slow benchmark inputs.
5141 * benchtests/exp-inputs: Likewise.
5142 * benchtests/pow-inputs: Likewise.
5143 * benchtests/sin-inputs: Likewise.
5144 * benchtests/slowatan-inputs: Remove.
5145 * benchtests/slowatan.c: Remove.
5146 * benchtests/slowcos-inputs: Remove.
5147 * benchtests/slowcos.c: Remove.
5148 * benchtests/slowexp-inputs: Remove.
5149 * benchtests/slowexp.c: Remove.
5150 * benchtests/slowpow-inputs: Remove.
5151 * benchtests/slowpow.c: Remove.
5152 * benchtests/slowsin-inputs: Remove.
5153 * benchtests/slowsin.c: Remove.
5154 * benchtests/slowtan-inputs: Remove.
5155 * benchtests/slowtan.c: Remove.
5156 * benchtests/tan-inputs: Add slow benchmark inputs.
5157 * scripts/bench.pl: Parse comments and directives.
5158
d569c6ee
SP
5159 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5160 in CPPFLAGS.
5161 ($(objpfx)bench-%.c): Remove *-ITER.
5162 * benchtests/bench-modf.c: Remove definition of ITER.
5163 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5164 (main): Loop for DURATION seconds instead of fixed number of
5165 iterations.
5166 * scripts/bench.pl: Don't expect iterations in parameters.
5167
a6a242fe
RM
51682013-04-29 Roland McGrath <roland@hack.frob.com>
5169
5170 * io/fchdir.c (__fchdir): Renamed from fchdir.
5171 (fchdir): Define as weak alias.
5172
f2da7793
JM
51732013-04-29 Joseph Myers <joseph@codesourcery.com>
5174
5175 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5176 (ERRNO_EDOM): Likewise.
5177 (ERRNO_ERANGE): Likewise.
5178 (noErrnoTests): New variable.
5179 (init_max_error): Set errno to 0.
5180 (test_single_errno): New function.
5181 (test_errno): Likewise.
5182 (check_float_internal): Call test_errno. Set errno to 0.
5183 (check_complex): Refer to errno tests in comment.
5184 (check_int): Call test_errno. Set errno to 0.
5185 (check_long): Likewise.
5186 (check_bool): Likewise.
5187 (check_longlong): Likewise.
5188 (cos_test): Use ERRNO_* flags for errno tests instead of
5189 check_int.
5190 (expm1_test): Likewise.
5191 (fmod_test): Likewise.
5192 (ilogb_test): Likewise.
5193 (lgamma_test): Likewise.
5194 (pow_test): Likewise.
5195 (remainder_test): Likewise.
5196 (sin_test): Likewise.
5197 (tan_test): Likewise.
5198 (yn_test): Likewise.
5199 (initialize): Set errno to 0.
5200 (main): Print number of errno tests.
5201 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5202
b1a36ceb
AJ
52032013-04-29 Andreas Jaeger <aj@suse.de>
5204
c3ed8088
AJ
5205 [BZ #15084]
5206 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5207 and RES_USEVC.
5208
f1a24198
AJ
5209 [BZ #15085]
5210 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5211 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5212 unimplemented.
5213
9ce3b2cb
AJ
5214 [BZ #15380]
5215 * stdlib/random.c (__initstate): Return NULL if
5216 __initstate fails.
5217
f1a24198 5218 [BZ #15086]
b1a36ceb
AJ
5219 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5220 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5221 RES_SNGLKUPREOP.
5222
7e7b6f36
AZ
52232013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5224
5225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5226
4d14f449
JM
52272013-04-29 Joseph Myers <joseph@codesourcery.com>
5228
5229 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5230 of individual tests.
5231 (casin_test): Likewise.
5232 (casinh_test): Likewise.
5233
5b4217d7
JM
52342013-04-27 Joseph Myers <joseph@codesourcery.com>
5235
5236 [BZ #15409]
5237 * math/s_catan.c (__catan): Handle arguments with large real or
5238 imaginary part separately without squaring.
5239 * math/s_catanf.c (__catanf): Likewise.
5240 * math/s_catanh.c (__catanh): Likewise.
5241 * math/s_catanhf.c (__catanhf): Likewise.
5242 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5243 and redefine.
5244 (__catanhl): Handle arguments with large real or imaginary part
5245 separately without squaring.
5246 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5247 and redefine.
5248 (__catanl): Handle arguments with large real or imaginary part
5249 separately without squaring.
5250 * math/libm-test.inc (catan_test): Add more tests.
5251 (catanh_test): Likewise.
5252 * sysdeps/i386/fpu/libm-test-ulps: Update.
5253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5254
4220c3ef
AJ
52552013-04-27 Andreas Jaeger <aj@suse.de>
5256
5257 [BZ #15007]
5258 * stdlib/stdlib.h: Update guards for qecvt.
5259 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5260 <stdlib.h>.
5261
4721b2d1
AM
52622013-04-27 Allan McRae <allan@archlinux.org>
5263
5264 * sysdeps/i386/fpu/libm-test-ulps: Update.
5265
f0302940
JM
52662013-04-26 Joseph Myers <joseph@codesourcery.com>
5267
9457fd95
JM
5268 [BZ #15406]
5269 * math/s_catan.c: Include <float.h>.
5270 (__catan): Ensure underflow exception occurs for underflowed
5271 result.
5272 * math/s_catanf.c: Include <float.h>.
5273 (__catanf): Ensure underflow exception occurs for underflowed
5274 result.
5275 * math/s_catanh.c: Include <float.h>.
5276 (__catanh): Ensure underflow exception occurs for underflowed
5277 result.
5278 * math/s_catanhf.c: Include <float.h>.
5279 (__catanhf): Ensure underflow exception occurs for underflowed
5280 result.
5281 * math/s_catanhl.c: Include <float.h>.
5282 (__catanhl): Ensure underflow exception occurs for underflowed
5283 result.
5284 * math/s_catanl.c: Include <float.h>.
5285 (__catanl): Ensure underflow exception occurs for underflowed
5286 result.
5287 * math/libm-test.inc (catan_test): Add more tests.
5288 (catanh_test): Likewise.
5289
f0302940
JM
5290 [BZ #15405]
5291 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5292 underflowed result.
5293 * math/s_ccoshf.c (__ccoshf): Likewise.
5294 * math/s_ccoshl.c (__ccoshl): Likewise.
5295 * math/s_csin.c (__csin): Likewise.
5296 * math/s_csinf.c (__csinf): Likewise.
5297 * math/s_csinh.c (__csinh): Likewise.
5298 * math/s_csinhf.c (__csinhf): Likewise.
5299 * math/s_csinhl.c (__csinhl): Likewise.
5300 * math/s_csinl.c (__csinl): Likewise.
5301 * math/libm-test.inc (ccos_test): Add more tests.
5302 (ccosh_test): Likewise.
5303 (csin_test): Likewise.
5304 (csinh_test): Likewise.
5305
aa630f59
AZ
53062013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5307
5308 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5309 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5310 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5311 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5312 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5313 powerpc/power5+/fpu folders.
5314 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5315
5316
1b835983
MT
53172013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5318
5319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5320
73709b26
JM
53212013-04-25 Joseph Myers <joseph@codesourcery.com>
5322
5323 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5324 additions to variable.
5325 [$(config-machine) = x86_64] (modules-names): Likewise.
5326 ($(objpfx)tst-audit3): Remove dependency.
5327 ($(objpfx)tst-audit3.out): Likewise.
5328 ($(objpfx)tst-audit4): Likewise.
5329 ($(objpfx)tst-audit4.out): Likewise.
5330 ($(objpfx)tst-audit5): Likewise.
5331 ($(objpfx)tst-audit5.out): Likewise.
5332 ($(objpfx)tst-audit6): Likewise.
5333 ($(objpfx)tst-audit6.out): Likewise.
5334 ($(objpfx)tst-audit7): Likewise.
5335 ($(objpfx)tst-audit7.out): Likewise.
5336 (tst-audit3-ENV): Remove variable.
5337 (tst-audit4-ENV): Likewise.
5338 (tst-audit5-ENV): Likewise.
5339 (tst-audit6-ENV): Likewise.
5340 (tst-audit7-ENV): Likewise.
5341 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5342 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5343 addition to variable.
5344 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5345 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5349 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5350 tst-audit3, tst-audit4 and tst-audit5.
5351 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5352 tst-audit6 and tst-audit7.
5353 [$(subdir) = elf] (modules-names): Add audit modules for those
5354 tests.
5355 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5356 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5357 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5358 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5359 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5360 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5361 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5362 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5363 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5364 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5365 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5366 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5367 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5368 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5369 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5370 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5371 Likewise.
5372 [$(subdir) = elf && $(config-cflags-avx) = yes]
5373 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5374 [$(subdir) = elf && $(config-cflags-avx) = yes]
5375 (CFLAGS-tst-auditmod4a.c): Likewise.
5376 [$(subdir) = elf && $(config-cflags-avx) = yes]
5377 (CFLAGS-tst-auditmod4b.c): Likewise.
5378 [$(subdir) = elf && $(config-cflags-avx) = yes]
5379 (CFLAGS-tst-auditmod6b.c): Likewise.
5380 [$(subdir) = elf && $(config-cflags-avx) = yes]
5381 (CFLAGS-tst-auditmod6c.c): Likewise.
5382 [$(subdir) = elf && $(config-cflags-avx) = yes]
5383 (CFLAGS-tst-auditmod7b.c): Likewise.
5384 * elf/tst-audit3.c: Move to ...
5385 * sysdeps/x86_64/tst-audit3.c: ... here.
5386 * elf/tst-audit4.c: Move to ...
5387 * sysdeps/x86_64/tst-audit4.c: ... here.
5388 * elf/tst-audit5.c: Move to ...
5389 * sysdeps/x86_64/tst-audit5.c: ... here.
5390 * elf/tst-audit6.c: Move to ...
5391 * sysdeps/x86_64/tst-audit6.c: ... here.
5392 * elf/tst-audit7.c: Move to ...
5393 * sysdeps/x86_64/tst-audit7.c: ... here.
5394 * elf/tst-auditmod3a.c: Move to ...
5395 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5396 * elf/tst-auditmod3b.c: Move to ...
5397 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5398 * elf/tst-auditmod4a.c: Move to ...
5399 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5400 * elf/tst-auditmod4b.c: Move to ...
5401 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5402 * elf/tst-auditmod5a.c: Move to ...
5403 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5404 * elf/tst-auditmod5b.c: Move to ...
5405 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5406 * elf/tst-auditmod6a.c: Move to ...
5407 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5408 * elf/tst-auditmod6b.c: Move to ...
5409 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5410 * elf/tst-auditmod6c.c: Move to ...
5411 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5412 * elf/tst-auditmod7a.c: Move to ...
5413 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5414 * elf/tst-auditmod7b.c: Move to ...
5415 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5416
1ef74943
PP
54172013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5418
5419 [BZ #15366]
5420 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5421 define unconditionally.
5422 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5423 define unconditionally.
5424 (INT8_C, INT16_C, etc.): Likewise.
5425
93fd48c5
MR
54262013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5427
ae9552cf
MR
5428 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5429 __ehdr_start with hidden visibility.
5430
93fd48c5
MR
5431 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5432
418601aa
CD
54332013-04-24 Carlos O'Donell <carlos@redhat.com>
5434
5435 * math/libm-test.inc (cos_test): Use accurate hex constants.
5436 (sincost_test): Likewise.
5437
2f38fbfe
JM
54382013-04-24 Joseph Myers <joseph@codesourcery.com>
5439
5e221800
JM
5440 * math/libm-test.inc (catan_test): Add more tests.
5441 (catanh_test): Likewise.
5442
77f143fd
JM
5443 * math/s_catanf.c (__catanf): Use suffixed floating-point
5444 constants.
5445 * math/s_catanhf.c (__catanhf): Likewise.
5446 * math/s_catanhl.c (__catanhl): Likewise.
5447 * math/s_catanl.c (__catanl): Likewise.
5448
2f38fbfe
JM
5449 [BZ #15394]
5450 * math/s_catan.c (__catan): Calculate imaginary part of result
5451 with log1p not log unless computing log of number close to 0.
5452 * math/s_catanf.c (__catanf): Likewise.
5453 * math/s_catanl.c (__catanl): Likewise.
5454 * math/s_catanh.c (__catanh): Calculate real part of result with
5455 log1p not log unless computing log of number close to 0.
5456 * math/s_catanhf.c (__catanhf): Likewise.
5457 * math/s_catanhl.c (__catanhl): Likewise.
5458 * math/libm-test.inc (catan_test): Add more tests.
5459 (catanh_test): Likewise.
5460 * sysdeps/i386/fpu/libm-test-ulps: Update.
5461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462
45d69176
SP
54632013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 * benchtests/Makefile: Mention files in which fast and slow
5466 paths of math functions are implemented.
5467
87f51853
RM
54682013-04-23 Roland McGrath <roland@hack.frob.com>
5469
5470 * sysdeps/posix/timespec_get.c: New file.
5471
3c026539
AZ
54722013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473
5474 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5475 POWER.
5476 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5477 for POWER.
5478 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5479 powerpc/power5/fpu folders.
5480 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5481 * benchtests/Makefile: Add modf testcase.
5482 * benchtests/bench-modf.c: New file: Benchmark test for mo
5483
ff491d14
SP
54842013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5485
5486 [BZ #14888]
5487 * time/Makefile (tests): Add tst-strptime-whitespace.
5488 * time/strptime_l.c (get_number): Use ISSPACE.
5489 (__strptime_internal): Likewise.
5490 * time/tst-strptime-whitespace.c: New test case.
5491
7ed3f4e8
AS
54922013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5493
5494 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5495 member.
5496 (_nss_files_init): Set it here.
5497
5c95f7b6
HC
54982013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5499
5500 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5501 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5502 unsigned.
5503
d34c9158
JBG
55042013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5505
5506 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5507
2169712d
SP
55082013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5509
5510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5511 size just once.
5512
29c5de99
DM
55132013-04-21 David S. Miller <davem@davemloft.net>
5514
5515 * po/ru.po: Update Russion translation from translation project.
5516
ccdad15d
AC
55172013-04-17 Adam Conrad <adconrad@0c3.net>
5518
5519 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5520 and setfsgid.
5521
0f122b8d
CD
55222013-04-17 Carlos O'Donell <carlos@redhat.com>
5523
5c5b07da 5524 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5525 * configure: Regenerate.
5c5b07da 5526 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5527 Add example to error message.
5528 * sysdeps/i386/configure: Regenerate.
5529
037714dd
SP
55302013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5531
5532 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5533 slowtan.
5534 * benchtests/cos-inputs: New file.
5535 * benchtests/slowcos-inputs: New file.
5536 * benchtests/slowcos.c: New file.
5537 * benchtests/slowtan-inputs: New file.
5538 * benchtests/slowtan.c: New file.
5539 * benchtests/tan-inputs: New file.
5540
e913141d
RM
55412013-04-16 Roland McGrath <roland@hack.frob.com>
5542
5543 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5544 considered kosher.
5545
a2964074
SP
55462013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5547
4856bcd2
SP
5548 * benchtests/Makefile: Include cppflags-iterator.mk to add
5549 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5550
a2964074
SP
5551 * Makefile.in (bench-clean): New target.
5552 * benchtests/Makefile (bench-clean): Likewise.
5553
9fbf9aca
DH
55542013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5555
5556 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5557
207d1e2a
TS
55582013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5559
5560 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5561
306dfba9
AS
55622013-04-15 Andreas Schwab <schwab@suse.de>
5563
5564 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5566 * nscd/pwdcache.c (cache_addpw): Likewise.
5567 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5568 more than recsize.
5569
206a6699
SP
55702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5571
5572 * benchtests/Makefile (bench): Write all output to
5573 bench-out.tmp together.
5574
0582f6b3
AS
55752013-04-15 Andreas Schwab <schwab@suse.de>
5576
5577 * nscd/nscd.c (main): Don't fork again after closing files.
5578
acb4325f
SP
55792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
5cb26d0a
SP
5581 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5582
acb4325f
SP
5583 * benchtests/Rules (bench-deps): Collect dependencies into a
5584 single variable. Add Makefile to dependencies.
5585 ($(objpfx)bench-%.c): Depend on bench-deps.
5586
47792506
RM
55872013-04-12 Roland McGrath <roland@hack.frob.com>
5588 Xavier Roche <roche+kml2@exalead.com>
5589
5590 [BZ #15361]
5591 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5592 just that it's a file descriptor.
5593 * manual/llio.texi (Synchronizing AIO Operations): Update description
5594 for EBADF error from aio_fsync.
5595
8fc1bee5
SP
55962013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
5598 * Rules (bench): Move target definition...
5599 * benchtests/Makefile: ... here.
5600
aba5e333
CD
56012013-04-11 Carlos O'Donell <carlos@redhat.com>
5602
5603 * math/libm-test.inc (cos_test): Fix PI/2 test.
5604 (sincos_test): Likewise.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5606 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5607
273cdee8
AS
56082013-04-11 Andreas Schwab <schwab@suse.de>
5609
6ecec3b6
AS
5610 [BZ #13988]
5611 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5612 accept exponent character only when digits were seen.
5613 * stdio-common/Makefile (tests): Add bug26.
5614 * stdio-common/bug26.c: New file.
5615
273cdee8
AS
5616 [BZ #14293]
5617 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5618 non-freeable.
5619
8da491f5
SP
56202013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5621
01dc6df9
SP
5622 * Makeconfig (rtld-prefix): Define built linker prefix.
5623 * Rules (run-bench): Use it.
5624 * math/Makefile (run-regen-ulps): Likewise.
5625
8da491f5
SP
5626 * Rules (bench): Remove eval.
5627
abe7f530
SP
56282013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5629 Roland McGrath <roland@hack.frob.com>
5630 Ondrej Bilka <neleai@seznam.cz>
5631
5632 [BZ #15346]
5633 * time/getdate.c: Include ctype.h and alloca.h.
5634 (__getdate_r): Trim leading and trailing spaces of input.
5635 * time/tst-getdate.c (tests): Add tests with leading and
5636 trailing spaces.
5637
61c23e62
RM
56382013-04-08 Roland McGrath <roland@hack.frob.com>
5639
5640 [BZ #14280]
5641 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5642 when computing value.
5643
7208a313
CD
56442013-04-06 Carlos O'Donell <carlos@redhat.com>
5645
085b2d41
CD
5646 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5647 Use testrun.sh to run libm tests.
5648
7208a313
CD
5649 [BZ #15309]
5650 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5651
872c0acd
MM
56522013-04-06 Marko Myllynen <myllynen@redhat.com>
5653
5654 [BZ #15264]
5655 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5656
26510bdd
CD
56572013-04-06 Carlos O'Donell <carlos@redhat.com>
5658
5659 * Makefile.in (regen-ulps): New target.
5660 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5661 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5662 [ifneq (no,$(PERL)] (regen-ulps): New target.
5663 [ifeq (no,$(PERL)] (regen-ulps): New target.
5664 * math/libm-test.inc (ulps_file_name): Define.
5665 (output_dir): New variable.
5666 (options): Add "output-dir" option.
5667 (parse_opt): Handle 'o' case.
5668 (main): If output_dir is non-NULL use it as a prefix
5669 otherwise use "".
5670 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5671
a01f19c8
CD
56722013-04-06 Carlos O'Donell <carlos@redhat.com>
5673
5674 [BZ #10060, #10062]
5675 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5676 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5677 fail configure if __sync_val_compare_and_swap is not inlined.
5678 * sysdeps/i386/configure: Regenerate.
5679 * configure.in: Build for i686 when configured for i386.
5680 * configure: Regenerate.
5681 * README: Remove i386 reference.
5682
b7a329a5
CD
56832013-04-06 Carlos O'Donell <carlos@redhat.com>
5684
5685 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5686 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5687
bf0f50df
TS
56882013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5689
ee091edf
TS
5690 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5691 (lmsnanval): New variables.
5692 (F): Add conversion tests.
5693 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5694 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5695
a8b792d6
TS
5696 * stdio-common/tstdiomisc.c (F): Properly collect individual
5697 tests' results.
5698
a1cbf437
TS
5699 [BZ #14686, #15336]
5700 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5701 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5702 Instead, use input NaN values or generate a qNaN by arithmetic
5703 operation. Also fix bugs to comply with the standard.
5704 * math/libm-test.inc (remainder_test): Add more tests.
5705
8b43a0c9
TS
5706 [BZ #15335, #15342]
5707 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5709 input NaN values or generate a qNaN by arithmetic operation.
5710
d91da4ce
TS
5711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5712 unreachable code.
5713
bf0f50df
TS
5714 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5715 definitions.
5716
05e166c8
JM
57172013-04-03 Joseph Myers <joseph@codesourcery.com>
5718
5719 [BZ #14478]
5720 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5721 underflowed result.
5722 * math/s_cexpf.c (__cexpf): Likewise.
5723 * math/s_cexpl.c (__cexpl): Likewise.
5724 * math/libm-test.inc (cexp_test): Add more tests.
5725
1cef1b19
AS
57262013-04-03 Andreas Schwab <schwab@suse.de>
5727
5728 [BZ #15330]
5729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5730 order arrays from heap if bigger than alloca cutoff.
5731
74d87055
TS
57322013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5733
5734 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5735 (SNAN_TESTS_double): Refer to GCC PR56831.
5736 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5737 GCC PR56828.
5738
d755bba4
SP
57392013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5740
90d5d5bb
SP
5741 * Rules (bench): Move bench.out after the run is complete.
5742
73e0cd5d
SP
5743 * Rules (bench): Echo currently running benchmark.
5744
64aabd4b
SP
5745 * benchtests/Makefile (bench): Add atan and slowatan.
5746 * benchtests/atan-inputs: New file.
5747 * benchtests/slowatan-inputs: New file.
5748 * benchtests/slowatan.c: New file.
5749
c871eccd
SP
5750 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5752 its value.
5753
d755bba4
SP
5754 [BZ #15305]
5755 * sysdeps/unix/sysv/linux/kernel-features.h
5756 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5757 __ASSUME_XFS_RESTRICTED_CHOWN.
5758 * sysdeps/unix/sysv/linux/pathconf.c
5759 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5760 Save and restore errno.
5761
52ce4860
JM
57622013-04-02 Joseph Myers <joseph@codesourcery.com>
5763
5764 [BZ #15327]
5765 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5766 arguments using __kernel_casinh.
5767 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5768 arguments using __kernel_casinhf.
5769 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5770 arguments using __kernel_casinhl.
5771 * math/libm-test.inc (cacosh_test): Add more tests.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774
81f311c2
SP
57752013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5776
e7906a47
SP
5777 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5779
92e3664b
SP
5780 * bench/Makefile (bench): Add sin and slowsin.
5781 * benchtests/sin-inputs: New file.
5782 * benchtests/slowsin-inputs: New file.
5783 * benchtests/slowsin.c: New file.
5784
81f311c2
SP
5785 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5786 (bench): Add slowexp and slowpow.
5787 (exp-ITER): Increase iterations.
5788 (pow-ITER): Likewise.
5789 * benchtests/exp-inputs: Change input.
5790 * benchtests/pow-inputs: Likewise.
5791 * benchtests/slowexp-inputs: New file.
5792 * benchtests/slowexp.c: New file.
5793 * benchtests/slowpow-inputs: New file.
5794 * benchtests/slowpow.c: New file.
5795
ab0f1aa9
AZ
57962013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5799 instructions.
5800 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5801 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5802 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5803 * benchtests/Makefile: Add rint benchtest.
5804 * benchtests/rint-inputs: Input for rint benchtest.
5805
57267616
TS
58062013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5807
5808 * Versions.def (libm): Add GLIBC_2.18.
5809 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5810 hidden libm prototypes.
5811 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5812 * math/Makefile (libm-calls): Add s_issignaling.
5813 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5814 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5815 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5816 declaration.
5817 * math/math.h [__USE_GNU] (issignaling): New macro.
5818 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5819 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5821 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5824 * manual/arith.texi (issignaling): New section.
5825 * manual/libm-err-tab.pl (@all_functions): Update comment.
5826 * math/gen-libm-test.pl (parse_args): Apply special handling for
5827 issignaling.
5828 * math/libm-test.inc (print_float, issignaling_test): New
5829 functions.
5830 (check_float_internal): Add issignaling checks.
5831 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5832 default definition.
5833 * sysdeps/powerpc/math-tests.h: New file.
5834 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5835 tests.
5836 * math/test-snan.c (TEST_FUNC): Likewise.
5837
6142896d
DM
58382013-03-30 David S. Miller <davem@davemloft.net>
5839
5840 * po/de.po: Update from translation team.
5841
ccc8cadf
JM
58422013-03-30 Joseph Myers <joseph@codesourcery.com>
5843
5844 [BZ #10357]
5845 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5846 imaginary part less than 1.0 and real part less than 0.5
5847 specially.
5848 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5849 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5850 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5851 (cacos_test): Add more tests.
5852 (casin_test): Likewise.
5853 (casinh_test): Likewise.
5854 * sysdeps/i386/fpu/libm-test-ulps: Update.
5855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5856
0f6a8d4b
SP
58572013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5858
0d1029de
SP
5859 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5860 ONE with its value.
5861
c2d94018
SP
5862 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5863 (__pow_mp): Replace ONE and MONE with their values.
5864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5867 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5868 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5870
27ec37f1
SP
5871 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5872
a64d7e0e
SP
5873 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5874 (__pow_mp): Replace ZERO and MZERO with their values.
5875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5877 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5879 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5880 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5881 (__sqr): Likewise.
5882
d26dd3eb
SP
5883 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5884
0f6a8d4b
SP
5885 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5886
e57b0c61
RM
58872013-03-28 Roland McGrath <roland@hack.frob.com>
5888
5889 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5890 Declare with __attribute__ ((weak)).
5891 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5892 Call __call_tls_dtors only if it's not NULL.
5893
356b3480
RM
58942013-03-28 Roland McGrath <roland@hack.frob.com>
5895
288f7d79
RM
5896 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5897 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5898 magic __ehdr_start linker symbol if it's defined.
5899 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5900 them up here if it was already done.
5901
dc0a0263
RM
5902 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5903 (_dl_aux_init): Use const in cast when setting it.
5904 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5905 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5906 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5907
3d3436ae
RM
5908 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5909 Declare them here.
5910 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5911 * csu/libc-tls.c: Nor here.
5912 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5913
356b3480
RM
5914 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5915 (__libc_message): Never call vsyslog.
5916
b0f1246a
AM
59172013-03-28 Alan Modra <amodra@gmail.com>
5918
5919 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5920 Define as empty.
5921 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5922 Likewise.
5923
fbbe2b9a
AZ
59242013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925
5926 [BZ #15214]
5927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5928 underflow.
5929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5930
1728ab37
SP
59312013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5932
7a86be6e
SP
5933 [BZ #15304]
5934 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5935 Don't add gid passed as argument.
5936
1728ab37
SP
5937 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5938
3a7182a1
JM
59392013-03-27 Joseph Myers <joseph@codesourcery.com>
5940
5941 [BZ #15307]
5942 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5943 imaginary part between 1.0 and 1.5 and real part less than 0.5
5944 specially.
5945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5947 * math/libm-test.inc (cacos_test): Add more tests.
5948 (casin_test): Likewise.
5949 (casinh_test): Likewise.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5952
6f2e90e7
SP
59532013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5954
5739f705
SP
5955 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5956 constants.
5957 (norm): Likewise.
5958 (denorm): Likewise.
5959 (__dbl_mp): Likewise.
5960 (add_magnitudes): Likewise.
5961 (sub_magnitudes): Likewise.
5962 (__add): Likewise.
5963 (__sub): Likewise.
5964 (__mul): Likewise.
5965 (__sqr): Likewise.
5966 (__inv): Likewise.
5967 (__dvd): Likewise.
5968
e375e83d
SP
5969 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5970 commented code.
5971 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5972 (__dubcos): Likewise.
5973 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5974 (__ieee754_acos): Likewise.
5975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5976 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5977 (__exp1): Likewise.
5978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5980 (log1): Likewise.
5981 (my_log2): Likewise.
5982 (checkint): Likewise.
5983 * sysdeps/ieee754/dbl-64/e_remainder.c
5984 (__ieee754_remainder): Likewise.
5985 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5987 (bsloww): Likewise.
5988 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5989
6f2e90e7
SP
5990 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5991 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5992 MANTISSA_STORE_T to store computations on mantissa. Use
5993 macros for rounding and division.
5994 (denorm): Likewise.
5995 (__dbl_mp): Likewise.
5996 (add_magnitudes): Likewise.
5997 (sub_magnitudes): Likewise.
5998 (__mul): Likewise.
5999 (__sqr): Likewise.
6000 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6001 powers of two in terms of TWOPOW macro.
6002 (mp_no): Make type of mantissa as MANTISSA_T.
6003 [!RADIXI]: Define RADIXI.
6004 [!TWO52]: Define TWO52.
6005 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6006
fce14d4e
AZ
60072013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6010 llroundl symbol when building for PPC32.
6011
9ad027fb
MW
60122013-03-24 Mark H Weaver <mhw@netris.org>
6013
6014 * manual/arith.texi (Normalization Functions): Fix prototypes for
6015 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6016
e42a38dd
AZ
60172013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018
6019 [BZ #13889]
6020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6021 high value to check if expl overflow.
6022 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6023 to check for underflow and overflow.
6024 * math/libm-test.inc: Add exp test.
6025
2e0fb521
DL
60262013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6027
6028 [BZ #11120]
6029 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6030 with NOT_IN_libc.
6031
b5784d95
AZ
60322013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033
6034 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6035 symbol.
6036
5aa4a1a1
TS
60372013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6038
bdef0be7
TS
6039 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6040 wrap blocks consisting of several statements.
6041
5aa4a1a1
TS
6042 * sysdeps/generic/math-tests.h: New file.
6043 * sysdeps/i386/fpu/math-tests.h: Likewise.
6044 * math/test-snan.c: Include it.
6045 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6046
98c48fe5
JM
60472013-03-21 Joseph Myers <joseph@codesourcery.com>
6048
6049 [BZ #15285]
6050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6051 (__ieee754_j0l): Do not improve calculations using cos of twice
6052 input for inputs above LDBL_MAX / 2.0L.
6053 (__ieee754_y0l): Likewise.
6054 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6055 (__ieee754_j1l): Do not improve calculations using cos of twice
6056 input for inputs above LDBL_MAX / 2.0L.
6057 (__ieee754_y1l): Likewise.
6058 * math/libm-test.inc (j0_test): Add another test.
6059 (j1_test): Likewise.
6060 (y0_test): Likewise.
6061 (y1_test): Likewise.
6062 * sysdeps/i386/fpu/libm-test-ulps: Update.
6063
3775a8bc
SP
60642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6065
6066 * Rules ($(objpfx)bench-%.c): Include code from a C source
6067 file.
6068
0a1b2ae6
JM
60692013-03-21 Joseph Myers <joseph@codesourcery.com>
6070
6071 [BZ #15287]
6072 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6073 imaginary part 1.0 and real part less than 0.5 specially.
6074 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6075 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6076 * math/libm-test.inc (cacos_test): Add more tests.
6077 (casin_test): Likewise.
6078 (casinh_test): Likewise.
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6081
b33d4ce4
SP
60822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6083
6084 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6085 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6086
bef0b507
JM
60872013-03-20 Joseph Myers <joseph@codesourcery.com>
6088
6089 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6090 * config.make.in (config-cflags-sse4): Remove variable.
6091 (config-cflags-avx): Likewise.
6092 (config-cflags-sse2avx): Likewise.
6093 (config-cflags-novzeroupper): Likewise.
6094 (config-asflags-i686): Likewise.
6095 (have-mfma4): Likewise.
6096 (have-as-vis3): Likewise.
6097 (MIG): Likewise.
6098 * configure.in (MIG): Do not AC_SUBST.
6099 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6100 (libc_cv_cc_sse4): Do not AC_SUBST.
6101 (libc_cv_cc_avx): Likewise.
6102 (libc_cv_cc_sse2avx): Likewise.
6103 (libc_cv_cc_novzeroupper): Likewise.
6104 (libc_cv_cc_fma4): Likewise.
6105 (libc_cv_as_i686): Likewise.
6106 (libc_cv_sparc_as_vis3): Likewise.
6107 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6108 LIBC_CONFIG_VAR.
6109 (config-asflags-i686): Likewise.
6110 (config-cflags-avx): Likewise.
6111 (config-cflags-sse2avx): Likewise.
6112 (have-mfma4): Likewise.
6113 (config-cflags-novzeroupper): Likewise.
6114 * sysdeps/mach/configure.in (MIG): Likewise.
6115 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6116 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6117 LIBC_CONFIG_VAR.
6118 (config-cflags-avx): Likewise.
6119 (config-cflags-sse2avx): Likewise.
6120 (have-mfma4): Likewise.
6121 (config-cflags-novzeroupper): Likewise.
6122 * configure: Regenerated.
6123 * sysdeps/i386/configure: Likewise.
6124 * sysdeps/mach/configure: Likewise.
6125 * sysdeps/sparc/configure: Likewise.
6126 * sysdeps/x86_64/configure: Likewise.
6127
912cc4b3
RM
61282013-03-20 Roland McGrath <roland@hack.frob.com>
6129
6130 [BZ #14812]
6131 * locale/programs/localedef.c (options): Put N_ translation marker
6132 on argument names, not just descriptions.
6133
04eed2b0
MS
61342013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6135
6136 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6137
a065ceff
OB
61382013-03-20 Ondřej Bílka <neleai@seznam.cz>
6139
9bb2a810 6140 [BZ #14176]
a065ceff
OB
6141 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6142
a600e5ce
RM
61432013-03-19 Roland McGrath <roland@hack.frob.com>
6144
6145 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6146 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6147 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6148 [!BEFORE_ABORT] (before_abort): New function.
6149 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6150 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6151 (writev_for_fatal): New function.
6152 (WRITEV_FOR_FATAL): New macro; call that.
6153 (backtrace_and_maps): New function.
6154 (BEFORE_ABORT): New macro; call that.
6155 (struct str_list): Type removed.
6156 (__libc_message, __libc_fatal): Functions removed.
6157 Include <sysdeps/posix/libc_fatal.c> instead.
6158
6b18bea6
JM
61592013-03-19 Joseph Myers <joseph@codesourcery.com>
6160
6161 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6162 constants.
6163 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6164 double constants.
6165
aaa8cb4b
AS
61662013-03-19 Andreas Schwab <schwab@suse.de>
6167
44673770
AS
6168 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6169 * sysdeps/gnu/configure: Regenerate.
6170
aaa8cb4b
AS
6171 * configure.in: Substitute libc_cv_rtlddir.
6172 * configure: Regenerate.
6173 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6174 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6175 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6176 * elf/Makefile (install-others, CFLAGS-interp.c)
6177 (ldso_install, common-ldd-rewrite): Likewise.
6178 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6179 $(inst_slibdir)/$(rtld-installed-name).
6180 * scripts/rellns-sh: Add -p option.
6181 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6182 for source.
6183
d3cfc668
SP
61842013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6185
6186 * manual/nptl.texi: Renamed to ...
6187 * manual/threads.texi: ... this.
6188 * manual/Makefile (chapters): Update.
6189
0e2b9cdd
RM
61902013-03-18 Roland McGrath <roland@hack.frob.com>
6191
6192 [BZ #14812]
6193 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6194 on argument names, not just descriptions.
0e2b9cdd
RM
6195 * malloc/memusagestat.c (options): Likewise.
6196 * nss/getent.c (options): Likewise.
63270c24
RM
6197
61982013-03-18 Benno Schulenberg <bensberg@justemail.net>
6199
6200 [BZ #14812]
6201 * iconv/iconv_prog.c (options): Put N_ translation marker
6202 on argument names, not just descriptions.
6203 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6204
b2e1393c
OB
62052013-03-18 Ondrej Bilka <neleai@seznam.cz>
6206
6207 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6208 implementation which is faster on all x86_64 architectures.
6209 Tested on AMD, Intel Nehalem, SNB, IVB.
6210 * sysdeps/x86_64/strnlen.S: Likewise.
6211
6212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6213 Remove all multiarch strlen and strnlen versions.
6214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6215 Remove strlen and strnlen related parts.
6216
6217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6218 Inline strlen part.
6219 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6220
6221 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6222 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6223 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6224 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6225 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6226 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6227
ec4ff04d
CD
62282013-03-17 Carlos O'Donell <carlos@redhat.com>
6229
6230 * manual/memory.texi (Malloc Tunable Parameters):
6231 Sort parameters alphabetically. Add comments for missing entries.
6232
cd18e90a
DM
62332013-03-17 David S. Miller <davem@davemloft.net>
6234
6235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6236
2a185d32
JM
62372013-03-16 Joseph Myers <joseph@codesourcery.com>
6238
d2f9799e
JM
6239 [BZ #15283]
6240 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6241 for arguments at most half maximum finite value.
6242 * math/libm-test.inc (j0_test): Add more tests.
6243 (j1_test): Likewise.
6244 (y0_test): Likewise.
6245 (y1_test): Likewise.
6246 * sysdeps/i386/fpu/libm-test-ulps: Update.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6248
2a185d32
JM
6249 [BZ #14155]
6250 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6251 1 / x and functions P and Q for arguments above 0x1p256L.
6252 (__ieee754_y0l): Likewise.
6253 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6254 (__ieee754_y1l): Likewise.
6255 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6256 (j1_test): Likewise.
6257 (y0_test): Likewise.
6258 (y1_test): Likewise.
6259
6cbec759
TS
62602013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6261
6262 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6263 variable.
6264
bc16e260
RM
62652013-03-15 Roland McGrath <roland@hack.frob.com>
6266
aefc9b8c
RM
6267 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6268 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6269 zero since it's initialized to EXEC_PAGESIZE.
6270
bc16e260
RM
6271 * sysdeps/unix/sysv/linux/ldsodefs.h
6272 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6273 * sysdeps/generic/ldsodefs.h: ... here.
6274
a57da955
TS
62752013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6276
af00a34d
TS
6277 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6278
495ded2c
TS
6279 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6280 math/test-snan.c.
6281 * math/test-snan.c: Renamed from
6282 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6283 * math/Makefile (tests): Add test-snan.
6284 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6285 test-powerpc-snan.
6286
777b0332
TS
6287 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6288 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6289 functions.
6290 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6291 __builtin_nan family of functions.
6292 * math/libm-test.inc (initialize): Initialize qnan_value with
6293 __builtin_nan family of functions.
6294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6295 Remove variables.
6296 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6297 Remove functions.
6298 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6299 storage class. Initialize qNaN_var and sNaN_var with
6300 __builtin_nan and __builtin_nans families of functions,
6301 respectively.
6302
64d063b8
TS
6303 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6304 (sqrt_test): Remove duplicate test with qNaN input.
6305 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6306 (round_test, signbit_test, significand_test): Note missing +/-Inf
6307 as well as qNaN tests.
6308
67e971f1
TS
6309 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6310 qNaN_var. Fix a few strings, too.
6311 * math/libm-test.inc (nan_value): Rename to qnan_value.
6312 * math/gen-libm-test.pl (%beautify): Adjust to that.
6313 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6314 * math/test-misc.c (main): Likewise.
6315 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6316 to __qnan_bytes, and __qnan_union, respectively.
6317 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6318 Likewise.
6319 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6320 and lqnanval, respectively.
6321 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6322 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6323 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6324 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6325
64487e12
TS
6326 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6327 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6328 doubles.
6329
e015e27b
TS
6330 * math/test-misc.c (main): Fix copy'n'pastos.
6331 * misc/tst-efgcvt.c (special): Likewise.
6332
a57da955
TS
6333 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6334 Remove declarations.
6335
1e380345
SP
63362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6337
6338 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6339 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6340 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6341 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6342
ef26eece
AZ
63432013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6346 macro to return vdso values correctly in IFUNC implementations.
6347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6348 Optimization by using IFUNC.
6349
8cfdb7e0
SP
63502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6351 Richard Henderson <rth@redhat.com>
6352 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6353
6354 * Makefile.in (bench): New target.
6355 * NEWS: Mention the benchmark framework.
6356 * Rules (bench): Likewise.
6357 (binaries-bench): Generate binaries for functions to
6358 benchmark.
6359 * benchtests/Makefile: New makefile for benchmark tests.
6360 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6361 programs.
6362 * benchtests/exp-inputs: New input file for EXP function.
6363 * benchtests/pow-inputs: New input file for POW function.
6364 * scripts/bench.pl: New script to generate source files for
6365 benchmark programs.
6366
bcda9880
SP
63672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
d22ca8cd
SP
6369 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6371 computations on mantissa. Use macros for rounding and
6372 division.
6373 (denorm): Likewise.
6374 (__dbl_mp): Likewise.
6375 (add_magnitudes): Likewise.
6376 (sub_magnitudes): Likewise.
6377 (__mul): Likewise.
6378 (__sqr): Likewise.
6379 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6380 powers of two in terms of TWOPOW macro.
6381 (mp_no): Make type of mantissa as MANTISSA_T.
6382 [!RADIXI]: Define RADIXI.
6383 [!TWO52]: Define TWO52.
6384 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6385
bcda9880
SP
6386 * manual/nptl.texi (cindex): Modify threads to pthreads.
6387
06d5adfb
JM
63882013-03-15 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/x86_64/preconfigure: Regenerated.
6391
41c7328e
JM
63922013-03-14 Joseph Myers <joseph@codesourcery.com>
6393
6394 [BZ #14155]
6395 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6396 0x1p28 and above.
6397 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6398 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6399 0x1p28 and above.
6400 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6401 * math/libm-test.inc (j0_test): Do not allow one spurious
6402 underflow exception.
6403 (y1_test): Likewise.
6404
e25cfa60
SP
64052013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
0409959c
SP
6407 * manual/Makefile (chapters): Add nptl.
6408 * manual/debug.texi (Debugging Support): Add link to Threads
6409 chapter.
6410 * manual/nptl.texi: New file.
6411
e25cfa60
SP
6412 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6413
58a1335e
PB
64142013-03-14 Petr Baudis <pasky@ucw.cz>
6415
6416 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6417 for non-NULL pointer before the memory validity test. Pointed
6418 out by Holger Brunck <holger.brunck@keymile.com>.
6419
9dc7c64f
AS
64202013-03-13 Andreas Schwab <schwab@suse.de>
6421
6422 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6423 instead of .os.
6424
54206aa6
JM
64252013-03-13 Joseph Myers <joseph@codesourcery.com>
6426
6427 * timezone/zic.c: Update from tzcode 2013b.
6428
e98cdb38
CD
64292013-03-12 Carlos O'Donell <carlos@redhat.com>
6430
6431 * manual/install.texi (Configuring and compiling):
6432 Mention i686 and i586.
6433 * INSTALL: Regenerate.
6434
9967e003
RM
64352013-03-12 Roland McGrath <roland@hack.frob.com>
6436
6437 * sysdeps/init_array/elf-init.c: New file.
6438 * csu/elf-init.c
6439 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6440 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6441
6442 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6443 __gmon_start__ as global, but as static with a .preinit_array pointer.
6444 * sysdeps/init_array/gmon-start.c: New file. Use that.
6445 * sysdeps/init_array/crti.S: New file, empty except for comments.
6446 * sysdeps/init_array/crtn.S: Likewise.
6447
e6b5a293 64482013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6449
6450 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6451 definining bcopy.
80f844c9
OB
6452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6453 Remove Prefer_SSE_for_memop.
6454 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6455 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6456 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6458 memset-x86-64.
80f844c9 6459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6460 Remove bzero, memset ifunc support.
80f844c9
OB
6461 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6462 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6463 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6464 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6465
fb6b0fcb
AS
64662013-03-11 Andreas Schwab <schwab@suse.de>
6467
6468 [BZ #15234]
6469 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6470 by SHLIB_COMPAT.
6471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6472 (GLIBC_2.16): Remove pthread_atfork.
6473
3e6bd4b1
PP
64742013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6475
6476 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6477 (ptestcases.h): Likewise.
6478
222d7f00
RM
64792013-03-08 Roland McGrath <roland@hack.frob.com>
6480
6481 * Makeconfig ($(common-objpfx)config.status): Depend on
6482 sysdeps/*/preconfigure{,.in} too.
6483
1ba4f030
JM
64842013-03-08 Joseph Myers <joseph@codesourcery.com>
6485
a222d91a
JM
6486 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6487 (__free_hook): Use void * instead of __malloc_ptr_t.
6488 (__malloc_hook): Likewise.
6489 (__realloc_hook): Likewise.
6490 (__memalign_hook): Likewise.
6491 (__after_morecore_hook): Likewise.
6492 * malloc/arena.c (save_malloc_hook): Likewise.
6493 (save_free_hook): Likewise.
6494 * malloc/hooks.c (malloc_hook_ini): Likewise.
6495 (realloc_hook_ini): Likewise.
6496 (memalign_hook_ini): Likewise.
6497 * malloc/malloc.c (malloc_hook_ini): Likewise.
6498 (realloc_hook_ini): Likewise.
6499 (memalign_hook_ini): Likewise.
6500 (__free_hook): Likewise.
6501 (__malloc_hook): Likewise.
6502 (__realloc_hook): Likewise.
6503 (__memalign_hook): Likewise.
6504 (__libc_malloc): Likewise.
6505 (__libc_free): Likewise.
6506 (__libc_realloc): Likewise.
6507 (__libc_memalign): Likewise.
6508 (__libc_valloc): Likewise.
6509 (__libc_pvalloc): Likewise.
6510 (__libc_calloc): Likewise.
6511 (__posix_memalign): Likewise.
6512 * malloc/morecore.c (__sbrk): Likewise.
6513 (__default_morecore): Likewise.
6514
5cc45e10
JM
6515 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6516
dd54b864
JM
6517 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6518 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6519 __malloc_ptrdiff_t.
6520
1ba4f030
JM
6521 * malloc/malloc.h (__malloc_size_t): Remove macro.
6522 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6523 __malloc_size_t.
6524 (old_memalign_hook): Likewise.
6525 (old_realloc_hook): Likewise.
6526 (struct hdr): Likewise.
6527 (flood): Likewise.
6528 (mallochook): Likewise.
6529 (memalignhook): Likewise.
6530 (reallochook): Likewise.
6531 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6532 (tr_old_realloc_hook): Likewise.
6533 (tr_old_memalign_hook): Likewise.
6534 (tr_mallochook): Likewise.
6535 (tr_reallochook): Likewise.
6536 (tr_memalignhook): Likewise.
6537
edf66e57
AZ
65382013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539
6540 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6541 default_ldbl_pack and using as default implementation.
6542 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6543 implementation.
6544 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6545 redundant definition.
6546 (ldbl_insert_mantissa): Likewise.
6547 (ldbl_canonicalize): Likewise.
6548 (ldbl_nearbyint): Likewise.
6549 (ldbl_pack): Rename to ldbl_pack_ppc.
6550 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6551 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6552 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6553
6d9145d8
SP
65542013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
6556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6557 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6559 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6561 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6562 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6563 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6564
4dd4e157
AJ
65652013-03-07 Andreas Jaeger <aj@suse.de>
6566
6567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6568 bits/mman-linux.h.
6569
adbb8027
SP
65702013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6571
ce544b5b
SP
6572 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6573 Include mpa.h and declare __MPEXP.
6574 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6576 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6578 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6579 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6580 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6581
4cc149fd
SP
6582 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6583 (__slowpow): Use long double EXPL and LOGL functions to
6584 compute POW.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6586 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6588 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6589 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6591
e6ebd4a7
SP
6592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6593 intermediate variable to calculate exponent.
6594 (__sqr): Likewise.
6595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6596 Likewise.
6597 (__sqr): Likewise.
6598
82a9811d
SP
6599 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6600 [!NO__SQR]: Define __sqr.
6601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6602 and NO__SQR. Remove all code except __mul and __sqr. Include
6603 sysdeps/ieee754/dbl-64/mpa.c.
6604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6605
adbb8027
SP
6606 [BZ #12723]
6607 * posix/Makefile (tests): Add tst-pathconf.
6608 * posix/tst-pathconf.c: New test case.
6609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6610 _PC_PIPE_BUF.
6611 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6612
39120df9
PF
66132013-03-06 Patsy Franklin <pfrankli@redhat.com>
6614
6615 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6616
67525cb8
AJ
66172013-03-06 Andreas Jaeger <aj@suse.de>
6618
664a9ce4
AJ
6619 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6620 definition via __MAP_ANONYMOUS.
6621
8e39047d
AJ
6622 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6623 it's not part of Linux headers.
6624
67525cb8
AJ
6625 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6626 (MAP_HUGE_MASK): Define.
6627
6628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6629 Define.
6630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6632 Define.
6633 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6634 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6635 Define.
6636 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6638 Define.
6639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6640
6641 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6642 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6643 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6644 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6645 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6647
6648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6649 Handle f2fs.
6650
6651 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6652 Handle f2fs and efivarfs.
6653
6654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6655 f2fs.
6656
6657 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6658 (EFIVARFS_MAGIC): Add.
6659 (F2FS_LINK_MAX): Add.
6660
e1b42695
PP
66612013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6662
6663 * stdio-common/vfprintf.c: Replace __builtin_expect with
6664 __glibc_unlikely.
6665
2d67d91a
JM
66662013-03-06 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #13550]
6669 * sysdeps/generic/bp-sym.h: Remove file.
6670 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6672 <bp-sym.h> and <bp-asm.h>.
6673 (__longjmp): Don't use BP_SYM.
6674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6675 and <bp-asm.h>.
6676 (memcpy): Don't use BP_SYM.
6677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6678 <bp-sym.h> and <bp-asm.h>.
6679 (memcpy): Don't use BP_SYM.
6680 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6681 <bp-asm.h>.
6682 (memcpy): Don't use BP_SYM.
6683 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6684 <bp-asm.h>.
6685 (memset): Don't use BP_SYM.
6686 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6687 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6688 (__bzero): Don't use BP_SYM.
6689 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6690 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6691 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6692 <bp-sym.h> and <bp-asm.h>.
6693 (memcmp): Don't use BP_SYM. Remove comment about bounded
6694 pointers.
6695 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6696 <bp-sym.h> and <bp-asm.h>.
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6699 <bp-sym.h> and <bp-asm.h>.
6700 (memset): Don't use BP_SYM.
6701 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6703 (__bzero): Don't use BP_SYM.
6704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6706 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6707 <bp-sym.h> and <bp-asm.h>.
6708 (strncmp): Don't use BP_SYM. Remove comment about bounded
6709 pointers.
6710 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (memcpy): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (memset): Don't use BP_SYM.
6716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6718 (__bzero): Don't use BP_SYM.
6719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6722 <bp-sym.h> and <bp-asm.h>.
6723 (__memchr): Don't use BP_SYM.
6724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6725 <bp-sym.h> and <bp-asm.h>.
6726 (memcmp): Don't use BP_SYM. Remove comment about bounded
6727 pointers.
6728 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (memcpy): Don't use BP_SYM.
6731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6732 <bp-sym.h> and <bp-asm.h>.
6733 (__mempcpy): Don't use BP_SYM.
6734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6735 <bp-sym.h> and <bp-asm.h>.
6736 (__memrchr): Don't use BP_SYM.
6737 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6738 <bp-sym.h> and <bp-asm.h>.
6739 (memset): Don't use BP_SYM.
6740 (__bzero): Likewise.
6741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6742 <bp-sym.h> and <bp-asm.h>.
6743 (__rawmemchr): Don't use BP_SYM.
6744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6745 <bp-sym.h> and <bp-asm.h>.
6746 (__STRCMP): Don't use BP_SYM.
6747 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6748 <bp-sym.h> and <bp-asm.h>.
6749 (strchr): Don't use BP_SYM.
6750 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6751 <bp-sym.h> and <bp-asm.h>.
6752 (__strchrnul): Don't use BP_SYM.
6753 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6754 <bp-sym.h> and <bp-asm.h>.
6755 (strlen): Don't use BP_SYM.
6756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6757 <bp-sym.h> and <bp-asm.h>.
6758 (strncmp): Don't use BP_SYM. Remove comment about bounded
6759 pointers.
6760 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6761 <bp-sym.h> and <bp-asm.h>.
6762 (__strnlen): Don't use BP_SYM.
6763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6764 <bp-sym.h> and <bp-asm.h>.
6765 (__GI__setjmp): Don't use BP_SYM.
6766 (_setjmp): Likewise.
6767 (__sigsetjmp): Likewise.
6768 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6769 (L(start_addresses)): Don't use BP_SYM.
6770 (_start): Likewise.
6771 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6772 <bp-asm.h>.
6773 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6774 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6775 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6776 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6777 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6778 <bp-asm.h>.
6779 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6780 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6781 about bounded pointers.
6782 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6783 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6784 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6785 <bp-asm.h>.
6786 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6787 about bounded pointers. Remove GKM FIXME comments.
6788 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6789 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6790 <bp-asm.h>.
6791 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6792 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6793 Remove GKM FIXME comments.
6794 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6795 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6796 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6797 <bp-asm.h>.
6798 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6799 about bounded pointers. Remove GKM FIXME comment.
6800 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6801 and <bp-asm.h>.
6802 (strncmp): Don't use BP_SYM. Remove comment about bounded
6803 pointers.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6805 <bp-sym.h> and <bp-asm.h>.
6806 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6808 <bp-sym.h> and <bp-asm.h>.
6809 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6810 comment.
6811
cdcf361f
PP
68122013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6813
6814 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6815 call free(NULL).
6816
3c4a2b15
DM
68172013-03-05 David S. Miller <davem@davemloft.net>
6818
6819 * po/es.po: Update from translation team.
6820
cdcf361f 68212013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6822
6823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6824 <bits/mman-linux.h>.
6825 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6826 is fine.
6827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6828 <bits/mman-linux.h> to end of file.
6829 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6830 is fine.
6831 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6832 <bits/mman-linux.h> to end of file.
6833 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6834 is fine.
6835 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6836 <bits/mman-linux.h> to end of file.
6837
6838 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6839 (MCL_CURRENT, MCL_FUTURE): Define here.
6840
5f67c04f
AK
68412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6842
8a4473cc 6843 [BZ #15232]
5f67c04f
AK
6844 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6845 attribute_hidden.
6846 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6847
c3e94a95
AK
68482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6849
6850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6851 fourth parameter needed for rt_sigprocmask syscall.
6852 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6857 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6858
cfb6382a
JM
68592013-03-04 Joseph Myers <joseph@codesourcery.com>
6860
6861 [BZ #13550]
6862 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6863 comment about bounded pointers.
6864 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6865 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6866
539d8e01
AJ
68672013-03-04 Andreas Jaeger <aj@suse.de>
6868
6869 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6870 common definitions.
6871
6872 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6873 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6874 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6878
2e167a70 68792013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6880
6881 [BZ #15055]
6882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6883 __ieee754_sqrl instead of __sqrl.
6884
68508633
JM
68852013-03-01 Joseph Myers <joseph@codesourcery.com>
6886
6887 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6888 * sysdeps/powerpc/fpu_control.h: ... here.
6889 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6890 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6891 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6892 * sysdeps/powerpc/bits/mathinline.h: ... here.
6893
7775448e
RM
68942013-03-01 Roland McGrath <roland@hack.frob.com>
6895
6896 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6897 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6898 to just [NEED_DL_SYSINFO_DSO].
6899 * elf/dl-support.c: Likewise.
6900 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6901 * elf/rtld.c (dl_main): Likewise.
6902 * elf/setup-vdso.h (setup_vdso): Likewise.
6903 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6904 * sysdeps/unix/sysv/linux/dl-sysdep.c
6905 (_dl_discover_osversion): Likewise.
6906
4e9b5995
CD
69072013-03-01 Carlos O'Donell <carlos@redhat.com>
6908
6909 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6910 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6911
e23872c8
SP
69122013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6913
e5c74c63
SP
6914 * NEWS: Mention libm performance improvements and non-x86 PI
6915 futex support.
6916
e23872c8
SP
6917 * csu/libc-start.c (__pthread_initialize_minimal): Change
6918 function arguments.
6919 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6920
b5510883
JM
69212013-02-28 Joseph Myers <joseph@codesourcery.com>
6922
6923 [BZ #13550]
6924 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6925 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6926 <bp-sym.h> and <bp-asm.h>.
6927 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6929 and <bp-asm.h>.
6930 (memcpy): Don't use BP_SYM.
6931 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6932 <bp-asm.h>.
6933 (__mpn_add_n): Don't use BP_SYM.
6934 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6935 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6936 and <bp-asm.h>.
6937 (__mpn_addmul_1): Don't use BP_SYM.
6938 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6939 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6940 <bp-sym.h>.
6941 (_setjmp): Don't use BP_SYM.
6942 (__novmx_setjmp): Likewise.
6943 (__GI__setjmp): Likewise.
6944 (__vmx_setjmp): Likewise.
6945 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6946 <bp-sym.h>.
6947 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6948 (__bzero): Don't use BP_SYM.
6949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6951 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6952 <bp-sym.h> and <bp-asm.h>.
6953 (memcpy): Don't use BP_SYM.
6954 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6955 <bp-sym.h> and <bp-asm.h>.
6956 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6957 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6958 <bp-sym.h> and <bp-asm.h>.
6959 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6960 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6961 <bp-asm.h>.
6962 (__mpn_lshift): Don't use BP_SYM.
6963 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6964 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6965 <bp-asm.h>.
6966 (memset): Don't use BP_SYM.
6967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6969 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6970 <bp-asm.h>.
6971 (__mpn_mul_1): Don't use BP_SYM.
6972 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6973 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6974 <bp-sym.h> and <bp-asm.h>.
6975 (memcmp): Don't use BP_SYM.
6976 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (memcpy): Don't use BP_SYM.
6979 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (memset): Don't use BP_SYM.
6982 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6983 <bp-sym.h> and <bp-asm.h>.
6984 (strncmp): Don't use BP_SYM.
6985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6986 <bp-sym.h> and <bp-asm.h>.
6987 (memcpy): Don't use BP_SYM.
6988 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (memset): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (__memchr): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (memcmp): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (memcpy): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (__mempcpy): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (__memrchr): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (memset): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7010 <bp-sym.h> and <bp-asm.h>.
7011 (__rawmemchr): Don't use BP_SYM.
7012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (__STRCMP): Don't use BP_SYM.
7015 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7016 <bp-sym.h> and <bp-asm.h>.
7017 (strchr): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7019 <bp-sym.h> and <bp-asm.h>.
7020 (__strchrnul): Don't use BP_SYM.
7021 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7022 <bp-sym.h> and <bp-asm.h>.
7023 (strlen): Don't use BP_SYM.
7024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7025 <bp-sym.h> and <bp-asm.h>.
7026 (strncmp): Don't use BP_SYM.
7027 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7028 <bp-sym.h> and <bp-asm.h>.
7029 (__strnlen): Don't use BP_SYM.
7030 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7031 <bp-asm.h>.
7032 (__mpn_rshift): Don't use BP_SYM.
7033 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7034 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7035 <bp-sym.h> and <bp-asm.h>.
7036 (__sigsetjmp): Don't use BP_SYM.
7037 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7038 (L(start_addresses)): Don't use BP_SYM.
7039 (_start): Likewise.
7040 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7041 <bp-asm.h>.
7042 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7043 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7044 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7045 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7046 <bp-asm.h>.
7047 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7048 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7049 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7050 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7051 <bp-asm.h>.
7052 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7053 comments.
7054 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7055 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7056 <bp-asm.h>.
7057 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7058 FIXME comments.
7059 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7060 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7061 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7062 <bp-asm.h>.
7063 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7064 comment.
7065 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7066 and <bp-asm.h>.
7067 (strncmp): Don't use BP_SYM,
7068 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7069 <bp-asm.h>.
7070 (__mpn_sub_n): Don't use BP_SYM.
7071 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7072 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7073 and <bp-asm.h>.
7074 (__mpn_submul_1): Don't use BP_SYM.
7075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7077 <bp-sym.h> and <bp-asm.h>.
7078 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7080 <bp-sym.h> and <bp-asm.h>.
7081 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7082 comment.
7083
8d19fe64
SP
70842013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7087 Use ZK to minimize writes to Z.
7088 (sub_magnitudes): Simplify code a bit.
7089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7090 Use ZK to minimize writes to Z.
7091 (sub_magnitudes): Simplify code a bit.
7092
85bd816a
RM
70932013-02-27 Roland McGrath <roland@hack.frob.com>
7094
7095 * csu/gmon-start.c: Add special exception to license text.
7096
b5977bf2
RH
70972013-02-27 Richard Henderson <rth@redhat.com>
7098
7099 * scripts/config.guess: Update from config.git.
7100 * scripts/config.sub: Likewise.
7101
11d6e2f2
SP
71022013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
09c14ed2
SP
7104 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7105
a688864e
SP
7106 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7107
6295157a
SP
7108 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7109
b8de2202
SP
7110 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7111
11d6e2f2
SP
7112 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7113
7e80ddb8
RM
71142013-02-26 Roland McGrath <roland@hack.frob.com>
7115
7116 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7117 [$(build-shared = yes].
7e80ddb8 7118
7da6d9ed
SP
71192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
45f05884
SP
7121 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7122 (__mul): Reduce iterations for calculating mantissa.
7123
2236d359
SP
7124 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7125 MPTWO.
7126 (__mpranred): Likewise.
7127
7da6d9ed
SP
7128 [BZ #15160]
7129 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7130 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7131
b7688c42
PE
71322013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7133
7134 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7135 Define __attribute__.
7136
53a5c423
SP
71372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7138
7139 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7140 unused.
7141 * posix/regex_internal.h (__attribute): Remove.
7142 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7143 (re_string_context_at): Likewise.
7144 (bitset_not): Use __attribute__ and mark function as possibly
7145 unused.
7146 (bitset_merge): Likewise.
7147 (bitset_mask): Likewise.
7148 (re_string_char_size_at): Likewise.
7149 (re_string_wchar_at): Likewise.
7150 (re_string_elem_size_at): Likewise.
7151
60f5a8b5
SP
71522013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
2a983a2e
SP
7154 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7155 code.
7156 (cc32): Likewise.
7157
e69804d1
SP
7158 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7159 (__acr): Likewise.
7160 (__cpy): Likewise.
7161 (norm): Likewise.
7162 (denorm): Likewise.
7163 (__dbl_mp): Likewise.
7164 (add_magnitudes): Likewise.
7165 (sub_magnitudes): Likewise.
7166 (__mul): Likewise.
7167 (__inv): Likewise.
7168
2f22a1e8
SP
7169 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7170 style.
7171
8930ddc7
SP
7172 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7173 style.
7174
dc60cb11
SP
7175 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7176 code.
7177
60f5a8b5
SP
7178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7179 up changes with default code.
7180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7181 Likewise.
7182
b4d1fd33
AM
71832013-02-24 Allan McRae <allan@archlinux.org>
7184
faf6f8bc
AM
7185 * manual/socket.texi (The Internet Namespace): Order menu items
7186 to match that in the file.
7187
b4d1fd33
AM
7188 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7189 node listing of the info page menu.
7190
2366713d
JM
71912013-02-21 Joseph Myers <joseph@codesourcery.com>
7192
7193 [BZ #13550]
7194 * sysdeps/i386/bp-asm.h: Remove file.
7195 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7196 (PARMS): Do not use macros from bp-asm.h.
7197 (S1): Likewise.
7198 (S2): Likewise.
7199 (SIZE): Likewise.
7200 (__mpn_add_n): Do not use BP_SYM
7201 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7202 "bp-asm.h".
7203 (PARMS): Do not use macros from bp-asm.h.
7204 (S1): Likewise.
7205 (SIZE): Likewise.
7206 (__mpn_addmul_1): Do not use BP_SYM
7207 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7208 "bp-asm.h".
7209 (PARMS): Do not use macros from bp-asm.h.
7210 (SIGMSK): Likewise.
7211 (_setjmp): Likewise. Do not use BP_SYM.
7212 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7213 "bp-asm.h".
7214 (PARMS): Do not use macros from bp-asm.h.
7215 (SIGMSK): Likewise.
7216 (setjmp): Likewise. Do not use BP_SYM.
7217 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7218 "bp-asm.h".
7219 (PARMS): Do not use macros from bp-asm.h.
7220 (__frexp): Do not use BP_SYM.
7221 (frexp): Likewise.
7222 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7223 "bp-asm.h".
7224 (PARMS): Do not use macros from bp-asm.h.
7225 (__frexpf): Do not use BP_SYM.
7226 (frexpf): Likewise.
7227 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7228 "bp-asm.h".
7229 (PARMS): Do not use macros from bp-asm.h.
7230 (__frexpl): Do not use BP_SYM.
7231 (frexpl): Likewise.
7232 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7233 "bp-asm.h".
7234 (PARMS): Do not use macros from bp-asm.h.
7235 (__remquo): Do not use BP_SYM.
7236 (remquo): Likewise.
7237 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7238 "bp-asm.h".
7239 (PARMS): Do not use macros from bp-asm.h.
7240 (__remquof): Do not use BP_SYM.
7241 (remquof): Likewise.
7242 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7243 "bp-asm.h".
7244 (PARMS): Do not use macros from bp-asm.h.
7245 (__remquol): Do not use BP_SYM.
7246 (remquol): Likewise.
7247 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7248 "bp-asm.h".
7249 (PARMS): Do not use macros from bp-asm.h.
7250 (DEST): Likewise.
7251 (SRC): Likewise.
7252 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7253 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7254 "bp-asm.h".
7255 (PARMS): Do not use macros from bp-asm.h.
7256 (strlen): Do not use BP_SYM.
7257 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7258 "bp-asm.h".
7259 (PARMS): Do not use macros from bp-asm.h.
7260 (S1): Likewise.
7261 (S2): Likewise.
7262 (SIZE): Likewise.
7263 (__mpn_add_n): Do not use BP_SYM.
7264 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7265 "bp-asm.h".
7266 (PARMS): Do not use macros from bp-asm.h.
7267 (S1): Likewise.
7268 (SIZE): Likewise.
7269 (__mpn_addmul_1): Do not use BP_SYM.
7270 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7271 weak_alias.
7272 (bzero): Likewise.
7273 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7274 "bp-asm.h".
7275 (PARMS): Do not use macros from bp-asm.h.
7276 (S): Likewise.
7277 (SIZE): Likewise.
7278 (__mpn_lshift): Do not use BP_SYM.
7279 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7280 "bp-asm.h".
7281 (PARMS): Do not use macros from bp-asm.h.
7282 (DEST): Likewise.
7283 (SRC): Likewise.
7284 (LEN): Likewise.
7285 (memcpy): Likewise. Do not use BP_SYM.
7286 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7287 libc_hidden_def and weak_alias.
7288 (mempcpy): Do not use BP_SYM in weak_alias.
7289 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7290 "bp-asm.h".
7291 (PARMS): Do not use macros from bp-asm.h.
7292 (DEST): Likewise.
7293 (LEN): Likewise.
7294 [!BZERO_P] (CHR): Likewise.
7295 (memset): Likewise. Do not use BP_SYM.
7296 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7297 "bp-asm.h".
7298 (PARMS): Do not use macros from bp-asm.h.
7299 (S1): Likewise.
7300 (SIZE): Likewise.
7301 (__mpn_mul_1): Do not use BP_SYM.
7302 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7303 "bp-asm.h".
7304 (PARMS): Do not use macros from bp-asm.h.
7305 (S): Likewise.
7306 (SIZE): Likewise.
7307 (__mpn_rshift): Do not use BP_SYM.
7308 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7309 "bp-asm.h".
7310 (PARMS): Do not use macros from bp-asm.h.
7311 (STR): Likewise.
7312 (CHR): Likewise.
7313 (strchr): Likewise. Do not use BP_SYM.
7314 (index): Do not use BP_SYM in weak_alias.
7315 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7316 "bp-asm.h".
7317 (PARMS): Do not use macros from bp-asm.h.
7318 (DEST): Likewise.
7319 (SRC): Likewise.
7320 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7321 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7322 "bp-asm.h".
7323 (PARMS): Do not use macros from bp-asm.h.
7324 (strlen): Do not use BP_SYM.
7325 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7326 "bp-asm.h".
7327 (PARMS): Do not use macros from bp-asm.h.
7328 (S1): Likewise.
7329 (S2): Likewise.
7330 (SIZE): Likewise.
7331 (__mpn_sub_n): Do not use BP_SYM.
7332 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7333 "bp-asm.h".
7334 (PARMS): Do not use macros from bp-asm.h.
7335 (S1): Likewise.
7336 (SIZE): Likewise.
7337 (__mpn_submul_1): Do not use BP_SYM.
7338 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7339 "bp-asm.h".
7340 (PARMS): Do not use macros from bp-asm.h.
7341 (S1): Likewise.
7342 (S2): Likewise.
7343 (SIZE): Likewise.
7344 (__mpn_add_n): Do not use BP_SYM.
7345 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7346 weak_alias.
7347 (bzero): Likewise.
7348 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7349 "bp-asm.h".
7350 (PARMS): Do not use macros from bp-asm.h.
7351 (BLK2): Likewise.
7352 (LEN): Likewise.
7353 (memcmp): Do not use BP_SYM.
7354 (bcmp): Do not use BP_SYM in weak_alias.
7355 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7356 "bp-asm.h".
7357 (PARMS): Do not use macros from bp-asm.h.
7358 (DEST): Likewise.
7359 (SRC): Likewise.
7360 (LEN): Likewise.
7361 (memcpy): Likewise. Do not use BP_SYM.
7362 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7363 "bp-asm.h".
7364 (PARMS): Do not use macros from bp-asm.h.
7365 (DEST): Likewise.
7366 (SRC): Likewise.
7367 (LEN): Likewise.
7368 (memmove): Likewise. Do not use BP_SYM.
7369 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7370 "bp-asm.h".
7371 (PARMS): Do not use macros from bp-asm.h.
7372 (DEST): Likewise.
7373 (SRC): Likewise.
7374 (LEN): Likewise.
7375 (__mempcpy): Likewise. Do not use BP_SYM.
7376 (mempcpy): Do not use BP_SYM in weak_alias.
7377 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7378 "bp-asm.h".
7379 (PARMS): Do not use macros from bp-asm.h.
7380 (DEST): Likewise.
7381 (LEN): Likewise.
7382 [!BZERO_P] (CHR): Likewise.
7383 (memset): Likewise. Do not use BP_SYM.
7384 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7385 "bp-asm.h".
7386 (PARMS): Do not use macros from bp-asm.h.
7387 (STR2): Likewise.
7388 (strcmp): Do not use BP_SYM.
7389 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7390 "bp-asm.h".
7391 (PARMS): Do not use macros from bp-asm.h.
7392 (STR): Likewise.
7393 (DELIM): Likewise.
7394 [USE_AS_STRTOK_R] (SAVE): Likewise.
7395 (FUNCTION): Likewise. Do not use BP_SYM.
7396 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7397 aliases.
7398 (strtok_r): Likewise.
7399 (__GI___strtok_r): Likewise.
7400 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7401 (PARMS): Do not use macros from bp-asm.h.
7402 (S): Likewise.
7403 (SIZE): Likewise.
7404 (__mpn_lshift): Do not use BP_SYM.
7405 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (STR): Likewise.
7408 (CHR): Likewise.
7409 (__memchr): Do not use BP_SYM.
7410 (memchr): Do not use BP_SYM in weak_alias.
7411 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7412 (PARMS): Do not use macros from bp-asm.h.
7413 (BLK2): Likewise.
7414 (LEN): Likewise.
7415 (memcmp): Do not use BP_SYM.
7416 (bcmp): Do not use BP_SYM in weak_alias.
7417 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7418 (PARMS): Do not use macros from bp-asm.h.
7419 (S1): Likewise.
7420 (SIZE): Likewise.
7421 (__mpn_mul_1): Do not use BP_SYM.
7422 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7423 "bp-asm.h".
7424 (PARMS): Do not use macros from bp-asm.h.
7425 (STR): Likewise.
7426 (CHR): Likewise.
7427 (__rawmemchr): Do not use BP_SYM.
7428 (rawmemchr): Do not use BP_SYM in weak_alias.
7429 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7430 (PARMS): Do not use macros from bp-asm.h.
7431 (S): Likewise.
7432 (SIZE): Likewise.
7433 (__mpn_rshift): Do not use BP_SYM.
7434 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7435 (PARMS): Do not use macros from bp-asm.h.
7436 (SIGMSK): Likewise.
7437 (__sigsetjmp): Likewise. Do not use BP_SYM.
7438 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7439 (_start): Do not use BP_SYM.
7440 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7441 (PARMS): Do not use macros from bp-asm.h.
7442 (DEST): Likewise.
7443 (SRC): Likewise.
7444 (__stpcpy): Likewise. Do not use BP_SYM.
7445 (stpcpy): Do not use BP_SYM in weak_alias.
7446 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7447 "bp-asm.h".
7448 (PARMS): Do not use macros from bp-asm.h.
7449 (DEST): Likewise.
7450 (SRC): Likewise.
7451 (LEN): Likewise.
7452 (__stpncpy): Likewise. Do not use BP_SYM.
7453 (stpncpy): Do not use BP_SYM in weak_alias.
7454 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7455 (PARMS): Do not use macros from bp-asm.h.
7456 (STR): Likewise.
7457 (CHR): Likewise.
7458 (strchr): Likewise. Do not use BP_SYM.
7459 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7460 "bp-asm.h".
7461 (PARMS): Do not use macros from bp-asm.h.
7462 (STR): Likewise.
7463 (CHR): Likewise.
7464 (__strchrnul): Likewise. Do not use BP_SYM.
7465 (strchrnul): Do not use BP_SYM in weak_alias.
7466 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7467 "bp-asm.h".
7468 (PARMS): Do not use macros from bp-asm.h.
7469 (STOP): Likewise.
7470 (strcspn): Do not use BP_SYM.
7471 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7472 "bp-asm.h".
7473 (PARMS): Do not use macros from bp-asm.h.
7474 (STR): Likewise.
7475 (STOP): Likewise.
7476 (strpbrk): Likewise. Do not use BP_SYM.
7477 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7478 "bp-asm.h".
7479 (PARMS): Do not use macros from bp-asm.h.
7480 (STR): Likewise.
7481 (CHR): Likewise.
7482 (strrchr): Likewise. Do not use BP_SYM.
7483 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7484 (PARMS): Do not use macros from bp-asm.h.
7485 (SKIP): Likewise.
7486 (strspn): Do not use BP_SYM.
7487 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7488 (PARMS): Do not use macros from bp-asm.h.
7489 (STR): Likewise.
7490 (DELIM): Likewise.
7491 (SAVE): Likewise.
7492 (FUNCTION): Likewise. Do not use BP_SYM.
7493 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7494 aliases.
7495 (strtok_r): Likewise.
7496 (__GI___strtok_r): Likewise.
7497 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7498 (PARMS): Do not use macros from bp-asm.h.
7499 (S1): Likewise.
7500 (S2): Likewise.
7501 (SIZE): Likewise.
7502 (__mpn_sub_n): Do not use BP_SYM.
7503 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7504 "bp-asm.h".
7505 (PARMS): Do not use macros from bp-asm.h.
7506 (S1): Likewise.
7507 (SIZE): Likewise.
7508 (__mpn_submul_1): Do not use BP_SYM.
7509 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7510 <bp-sym.h>.
7511 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7512 and <bp-asm.h>.
7513 (PARMS): Do not use macros from bp-asm.h.
7514 (FLAGS): Likewise.
7515 (PTID): Likewise.
7516 (TLS): Likewise.
7517 (CTID): Likewise.
7518 (__clone): Do not use BP_SYM.
7519 (clone): Do not use BP_SYM in weak_alias.
7520 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7521 and <bp-asm.h>.
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (LEN): Likewise.
7524 (__mmap64): Do not use BP_SYM.
7525 (mmap64): Do not use BP_SYM in weak_alias.
7526 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7527 <bp-sym.h> and <bp-asm.h>.
7528 (PARMS): Do not use macros from bp-asm.h.
7529 (__posix_fadvise64_l64): Do not use BP_SYM.
7530 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7531 (PARMS): Do not use macros from bp-asm.h.
7532 (NSOPS): Likewise.
7533 (semtimedop): Do not use BP_SYM.
7534 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7535 and <bp-asm.h>.
7536
582a3cff
AM
75372013-02-21 Allan McRae <allan@archlinux.org>
7538
7539 * manual/message.texi (Charset conversion in gettext):
7540 Move @end statement to beginning of line.
7541
bab8a695
SP
75422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7543
80945231
SP
7544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7545 static.
7546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7547 Likewise.
7548
bab8a695
SP
7549 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7550 (denorm): Likewise.
7551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7553
e21d7aa7
AK
75542013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7555
7556 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7557 tail-call to the resolved function if pltexit isn't needed.
7558
4c7a4263
SP
75592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7560
7561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7562 or Y being zero as being unlikely.
7563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7564 Likewise.
7565
41f49342
CD
75662013-02-20 Carlos O'Donell <carlos@redhat.com>
7567
7568 * manual/nss.texi (System Databases and Name Service Switch):
7569 Remove frobnicate @pxref.
7570
50022a93
TS
75712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7572
7573 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7574 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7575
08cbd996
PM
75762013-02-20 Petr Machata <pmachata@redhat.com>
7577
7578 * elf/elf.h (R_ARM_TARGET1): New macro.
7579 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7580 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7581 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7582 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7583 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7584 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7585 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7586 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7587 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7588 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7589 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7590 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7591 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7592 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7593 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7594 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7595 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7596 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7597 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7598 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7599 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7600 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7601 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7602 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7603 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7604 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7605 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7606 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7607 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7608 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7609 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7610 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7611 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7612 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7613 (R_ARM_THM_GOT_BREL12): Likewise.
7614 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7615 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7616 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7617 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7618 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7619 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7620 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7621 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7622 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7623
c7b275d6
TS
76242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7625
7626 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7627 __attribute_used__ to __attribute__ ((unused)).
7628
20cd7fb3
SP
76292013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7630
7631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7632 powerpc mpa.c.
7633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7634 comment formatting.
7635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7636
92945b52
JM
76372013-02-19 Joseph Myers <joseph@codesourcery.com>
7638
7639 [BZ #13550]
7640 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7641 Remove macro.
7642 (ENTER): Remove both macro definitions.
7643 (LEAVE): Likewise.
7644 (CHECK_BOUNDS_LOW): Likewise.
7645 (CHECK_BOUNDS_HIGH): Likewise.
7646 (CHECK_BOUNDS_BOTH): Likewise.
7647 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7648 (RETURN_BOUNDED_POINTER): Likewise.
7649 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7650 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7651 (POP_ERRNO_LOCATION_RETURN): Likewise.
7652 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7653 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7654 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7655 macros.
7656 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7657 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7658 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7659 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7660 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7661 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7662 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7663 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7664 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7665 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7666 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7667 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7668 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7669 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7670 removed macros.
7671 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7672 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7673 macros.
7674 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7675 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7676 * sysdeps/i386/i586/memset.S (memset): Likewise.
7677 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7678 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7679 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7680 macros.
7681 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7682 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7683 Change uses of L(2) to L(out).
7684 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7685 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7686 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7687 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7688 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7689 removed macros.
7690 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7692 macros.
7693 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7694 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7695 (RETURN): Do not use macro LEAVE.
7696 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7697 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7698 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7699 * sysdeps/i386/i686/memset.S (memset): Likewise.
7700 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7701 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7702 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7703 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7704 Likewise.
7705 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7706 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7707 L(1_2) and L(1_3) into L(1).
7708 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7709 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7711 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7712 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7713 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7714 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7715 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7716 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7717 macros.
7718 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7719 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7720 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7721 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7722 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7723 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7724 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7725 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7726 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7727 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7728 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7729 * sysdeps/i386/strspn.S (strspn): Likewise.
7730 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7731 conditional code.
7732 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7733 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7734 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7735 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7736 L(1_3) into L(1_1).
7737 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7738 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7739 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7740 macros.
7741 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7742
2389741a
JJ
77432013-02-19 Jakub Jelinek <jakub@redhat.com>
7744
7745 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7746 macro.
7747
2016b3cd
SP
77482013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7749
e4f22324
SP
7750 * math/atest-exp.c (exp_mpn): Remove ROUND.
7751 * math/atest-exp2.c (exp_mpn): Likewise.
7752 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7753
2016b3cd
SP
7754 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7755 * stdlib/tst-tls-atexit-lib.c: Likewise.
7756 * stdlib/tst-tls-atexit.c: Likewise.
7757
4be9b544
MF
77582013-02-18 Mike Frysinger <vapier@gentoo.org>
7759
7760 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7761 and __attribute_alloc_size__.
7762
2f62b9ee
MF
77632013-02-18 Mike Frysinger <vapier@gentoo.org>
7764
7765 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7766 __attribute_alloc_size__.
7767 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7768 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7769
6ff444c4
MF
77702013-02-18 Mike Frysinger <vapier@gentoo.org>
7771
7772 * include/programs/xmalloc.h: New file.
7773 * catgets/gencat.c: Include it.
7774 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7775 * elf/pldd.c: Likewise.
7776 * iconv/iconv_charmap.c: Likewise.
7777 * iconv/iconvconfig.c: Likewise.
7778 * iconv/strtab.c: Likewise.
7779 * locale/programs/locale.c: Likewise.
7780 * locale/programs/localedef.h: Likewise.
7781 * locale/programs/simple-hash.c: Likewise.
7782 * nscd/nscd.h: Likewise.
7783 * nss/makedb.c: Likewise.
7784 * sysdeps/generic/ldconfig.h: Likewise.
7785
be179c8a
SP
77862013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7787
ba384f6e
SP
7788 * Versions.def: Add GLIBC_2.18.
7789 * include/link.h (struct link_map): New member l_tls_dtor_count.
7790 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7791 (__call_tls_dtors): Likewise.
7792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7793 __cxa_thread_atexit_impl.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7795 Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7799 Likewise.
7800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7801 Likewise.
7802 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7804 Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7806 Likewise.
7807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7809 Likewise.
7810 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7811 (tests): Add test case tst-tls-atexit.
7812 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7813 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7814 (GLIBC_PRIVATE): Add __call_tls_dtors.
7815 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7816 for libstdc++.
7817 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7818 * stdlib/tst-tls-atexit.c: New test case.
7819 * stdlib/tst-tls-atexit-lib.c: New test case.
7820
ffaa74cf 7821 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7822
be179c8a
SP
7823 * elf/Versions (ld): Add _dl_find_dso_for_object.
7824 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7825 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7826 (dl_open_worker): Use _dl_find_dso_for_object.
7827 * elf/dl-sym.c (do_sym): Likewise.
7828 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7829
f78b5caa
AK
78302013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7831
7832 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7833 Syntactic changes only.
7834 (_dl_runtime_profile): Do a tail-call to the resolved function.
7835
29691210
JM
78362013-02-17 Joseph Myers <joseph@codesourcery.com>
7837
7838 [BZ #13550]
7839 * sysdeps/x86_64/bp-asm.h: Remove file.
7840 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7841 <bp-sym.h> and <bp-asm.h>.
7842 (__clone): Do not use BP_SYM.
7843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7844 <bp-sym.h> and <bp-asm.h>.
7845 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7846 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7847 "bp-asm.h".
7848 (_setjmp): Do not use BP_SYM.
7849 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7850 "bp-asm.h".
7851 (setjmp): Do not use BP_SYM.
7852 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7853 libc_hidden_def.
7854 (mempcpy): Do not use BP_SYM in weak_alias.
7855 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7856 "bp-asm.h".
7857 (strchr): Do not use BP_SYM.
7858 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7859 "bp-asm.h".
7860 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7861 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7862 (_start): Do not use BP_SYM.
7863 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7864 "bp-asm.h".
7865 (strcat): Do not use BP_SYM.
7866 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7867 "bp-asm.h".
7868 (STRCMP): Do not use BP_SYM.
7869 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7870 "bp-asm.h".
7871 (STRCPY): Do not use BP_SYM.
7872 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7873 "bp-asm.h".
7874 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7875 "bp-asm.h".
7876 (FUNCTION): Do not use BP_SYM.
7877 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7878 weak_alias.
7879 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7880
f238fd19
AJ
78812013-02-17 Andreas Jaeger <aj@suse.de>
7882
7883 * time/Versions: Sort entries.
7884 * string/Versions: Likewise.
7885 * resolv/Versions: Likewise.
7886 * posix/Versions: Likewise.
7887 * iconv/Versions: Likewise.
7888 * elf/Versions: Likewise.
7889 * wcsmbs/Versions: Likewise.
7890
bd07f23c 78912013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7892
22af19f9
SP
7893 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7894 loop termination condition.
7895
4709fe76
SP
7896 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7897 variable to calculate EZ.
7898 (__sqr): Likewise.
2d0e0f29
SP
7899
7900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7901 the lower precision input.
7902
daaa7713
JM
79032013-02-15 Joseph Myers <joseph@codesourcery.com>
7904
7905 [BZ #13550]
7906 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7907 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7908 (run-via-rtld-prefix): Do not handle %-bp tests.
7909 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7910 (all-object-suffixes): Remove .ob.
7911 (bppfx): Remove variable.
7912 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7913 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7914 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7915 [$(build-bounded) = yes] (libtype.ob): Likewise.
7916 * Makerules (elide-routines.ob): Remove variable.
7917 (do-tests-clean): Do not handle *-bp.out.
7918 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7919 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7920 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7921 (tests): Do not include $(tests-bp.out).
7922 (xtests): Do not include $(xtests-bp.out).
7923 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7924 [$(build-bounded) = yes] ($(addprefix
7925 $(objpfx),$(binaries-bounded))): Remove rule.
7926 ($(objpfx)%-bp.out): Remove rule.
7927 * config.make.in (build-bounded): Remove variable.
7928 * crypt/Makefile [$(build-bounded) = yes]
7929 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7930 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7931 append to variable.
7932 [$(build-bounded) = yes] (install-lib): Likewise.
7933 [$(build-bounded) = yes] (generated): Likewise.
7934 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7935 Remove rule.
7936 * intl/Makefile [$(build-bounded) = yes]
7937 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7938 * math/Makefile [$(build-bounded) = yes]
7939 ($(tests:%=$(objpfx)%-bp): Likewise.
7940 * misc/Makefile [$(build-bounded) = yes]
7941 ($(objpfx)tst-tsearch-bp): Likewise.
7942 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7943 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7944 Remove dependency.
7945 * string/Makefile (o-objects.ob): Remove variable.
7946 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7947 (CFLAGS-.ob): Remove variable.
7948 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7949 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7950 both definitions of variable.
7951 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7952 (ASFLAGS-.ob): Remove variable.
7953
e97ed6dd
JM
79542013-02-14 Joseph Myers <joseph@codesourcery.com>
7955
2bdd4ca6
JM
7956 [BZ #13550]
7957 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7958 Remove __BOUNDED_POINTERS__ from condition.
7959 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7960 * string/bits/string2.h [!__NO_STRING_INLINES &&
7961 !__BOUNDED_POINTERS__]: Likewise.
7962 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7963 Likewise.
7964 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7965 Remove conditional code.
7966 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7967 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7968 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7969 condition.
7970
e97ed6dd
JM
7971 [BZ #13550]
7972 * csu/libc-start.c: Do not include <bp-sym.h>.
7973 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7974 * elf/dl-open.c: Do not include <bp-sym.h>.
7975 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7976 * math/fegetenv.c: Do not include <bp-sym.h>.
7977 (fegetenv): Do not use BP_SYM in versioned symbols.
7978 * nptl/sysdeps/pthread/bits/libc-lockP.h
7979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7980 <bp-sym.h>.
7981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7982 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7984 (__pthread_mutex_destroy): Likewise.
7985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7986 (__pthread_mutex_lock): Likewise.
7987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7988 (__pthread_mutex_trylock): Likewise.
7989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7990 (__pthread_mutex_unlock): Likewise.
7991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7992 (__pthread_mutexattr_init): Likewise.
7993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7994 (__pthread_mutexattr_destroy): Likewise.
7995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7996 (__pthread_mutexattr_settype): Likewise.
7997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7998 (__pthread_rwlock_init): Likewise.
7999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8000 (__pthread_rwlock_destroy): Likewise.
8001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8002 (__pthread_rwlock_rdlock): Likewise.
8003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8004 (__pthread_rwlock_tryrdlock): Likewise.
8005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8006 (__pthread_rwlock_wrlock): Likewise.
8007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8008 (__pthread_rwlock_trywrlock): Likewise.
8009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8010 (__pthread_rwlock_unlock): Likewise.
8011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8012 (__pthread_key_create): Likewise.
8013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8014 (__pthread_setspecific): Likewise.
8015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8016 (__pthread_getspecific): Likewise.
8017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8018 Likewise.
8019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8020 (_pthread_cleanup_push_defer): Likewise.
8021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8022 (_pthread_cleanup_pop_restore): Likewise.
8023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8024 (pthread_setcancelstate): Likewise.
8025 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8026 <bp-sym.h>.
8027 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8028 (memchr): Do not use BP_SYM in weak_alias.
8029 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8030 (fegetenv): Do not use BP_SYM in versioned symbols.
8031 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8032 (fesetenv): Do not use BP_SYM in versioned symbols.
8033 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8034 (feupdateenv): Do not use BP_SYM in versioned symbols.
8035 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8036 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8037 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8038 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8039 (open64): Do not use BP_SYM in weak_alias.
8040 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8041 (fegetenv): Do not use BP_SYM in versioned symbols.
8042 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8043 (fesetenv): Do not use BP_SYM in versioned symbols.
8044 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8045 (feupdateenv): Do not use BP_SYM in versioned symbols.
8046 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8047 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8048 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8049 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8050 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8051 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8052 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8053 <bp-sym.h>.
8054 (__libc_start_main): Do not use BP_SYM.
8055
d6752ccd
SP
80562013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8057
cb57ce60
SP
8058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8059 redundant return line.
8060 (norm): Likewise.
8061 (denorm): Likewise.
8062 (dbl_mp): Likewise.
8063 (sub_magnitudes): Likewise.
8064 (__add): Likewise.
8065 (__sub): Likewise.
8066 (__mul): Likewise.
8067 (__inv): Likewise.
8068 (__dvd): Likewise.
8069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8070 (norm): Likewise.
8071 (denorm): Likewise.
8072 (dbl_mp): Likewise.
8073 (sub_magnitudes): Likewise.
8074 (__add): Likewise.
8075 (__sub): Likewise.
8076 (__mul): Likewise.
8077 (__inv): Likewise.
8078 (__dvd): Likewise.
8079
f414520d
SP
8080 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8081 instead of __mul.
8082 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8083 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8084 (cc32): Likewise.
8085
d6752ccd
SP
8086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8087 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8089 of __mul for squares.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8091 function
8092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8093 Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8096
70d9946a
JM
80972013-02-13 Joseph Myers <joseph@codesourcery.com>
8098
8099 [BZ #13550]
8100 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8101 code.
8102 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8103 prototype or function definition. Rename ubp_* variables and
8104 parameters. Remove argv definitions conditional on
8105 [__BOUNDED_POINTERS__].
8106 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8107 * elf/dl-runtime.c (_dl_fixup): Likewise.
8108 * include/set-hooks.h (RUN_HOOK): Likewise.
8109 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8110 definition.
8111 * string/strcpy.c (strcpy): Do not use __unbounded.
8112 * sysdeps/generic/frame.h (struct layout): Likewise.
8113 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8114 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8115 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8116 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8117 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8118 (__backtrace): Likewise.
8119 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8120 use __ptrvalue.
8121 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8122 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8123 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8124 Likewise.
8125 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8126 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8127 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8128 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8129 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8130 Do not use __unbounded.
8131 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8132 Rename __unboundedrlimits parameter to rlimits in prototype.
8133 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8134 Do not use __unbounded.
8135 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8136 not use __ptrvalue.
8137 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8138 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8139 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8140 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8141 __ptrvalue or __unbounded.
8142 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8143 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8144 use __unbounded.
8145 (__new_msgctl): Do not use __ptrvalue.
8146 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8147 __unbounded.
8148 (__libc_msgrcv): Do not use __ptrvalue.
8149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8150 startup_info): Do not use __unbounded.
8151 (__libc_start_main): Likewise. Rename ubp_* variables and
8152 parameters. Remove argv definitions conditional on
8153 [__BOUNDED_POINTERS__].
8154 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8155 __ptrvalue.
8156 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8157 use __unbounded.
8158 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8159 or __ptrvalue.
8160 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8161 use __unbounded.
8162 (__new_shmctl): Do not use __ptrvalue.
8163 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8164 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8165 Likewise.
8166 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8168 (__libc_sigaction): Likewise.
8169 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8170 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8171 Likewise.
8172 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8173
cc7834d6
OB
81742013-02-13 Ondřej Bílka <neleai@seznam.cz>
8175
ffb1ec7b 8176 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8177
8178 * string/mempcpy.c: Implement by calling memcpy.
8179
bdf02814
SP
81802013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8181
c2af38aa
SP
8182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8183
4e92d59e
SP
8184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8185 evaluation.
8186
909279a5
SP
8187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8188 values in the mantissa.
8189
bdf02814
SP
8190 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8191 minimize writes to Z.
8192 (sub_magnitudes): Simplify code a bit.
8193
cd525923
RM
81942013-02-12 Roland McGrath <roland@hack.frob.com>
8195
8196 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8197 from the message. The linker prefixes all warnings with that already.
8198
7e2f0d2d
AS
81992013-02-12 Andreas Schwab <schwab@suse.de>
8200
a445af0b
AS
8201 [BZ #15078]
8202 * posix/regexec.c (extend_buffers): Add parameter min_len.
8203 (check_matching): Pass minimum needed length.
8204 (clean_state_log_if_needed): Likewise.
8205 (get_subexp): Likewise.
8206 * posix/Makefile (tests): Add bug-regex34.
8207 (bug-regex34-ENV): Define.
8208 * posix/bug-regex34.c: New file.
8209
7e2f0d2d
AS
8210 [BZ #11561]
8211 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8212 elements compare against the byte sequence of it, not its name.
8213 * posix/Makefile (tests): Add bug-regex35.
8214 (bug-regex35-ENV): Define.
8215 * posix/bug-regex35.c: New file.
8216
a175b684
TV
82172013-02-11 Tom de Vries <tom@codesourcery.com>
8218
8219 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8220 comment.
8221 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8222 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8223 (CHECK_EOL): Add undef.
8224
310998fe 82252013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8226
8227 * bits/stdlib-bsearch.h: New file.
8228 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8229 * stdlib/stdlib.h: Likewise.
41eda41d 8230
8ded91fb
RM
82312013-02-11 Roland McGrath <roland@hack.frob.com>
8232
8233 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8234 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8235 declaration.
8236 * manual/search.texi (Array Search Function): Add missing const in
8237 lfind prototype.
8238 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8239 declaration to use rlim_t.
8240 (Basic Scheduling Functions): Remove erroneous const from
8241 sched_getparam prototype. Remove erroneous * from
8242 sched_get_priority_max and sched_get_priority_min prototypes.
8243 (Resource Usage): Fix summary @comment on vtimes to refer to
8244 sys/vtimes.h rather than vtimes.h.
8245 Add missing *s in vtimes prototype.
8246 (Limits on Resources): Fix ulimit prototype to return long int.
8247 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8248 prototypes to use long int rather than double.
8249 (BSD Random): Fix initstate and setstate to use char *, not void *.
8250 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8251 prototype to make second argument 'struct aiocb64 *const[]'.
8252 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8253 (Status of AIO Operations): Remove erroneous const in aio_return and
8254 aio_return64 prototypes.
8255 (Synchronizing I/O): Fix sync prototype to return void.
8256 * manual/startup.texi (Suboptions): Remove an erroneous const in
8257 getsubopt prototype.
8258 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8259 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8260 use size_t rather than int.
8261 (Scanning All Users): Likewise for getpwent_r.
8262 (Setting Groups): Add missing const to setgroups prototype.
8263 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8264 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8265 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8266 'const void *' rather than 'const char *'.
8267 (Host Address Functions): Likewise for inet_ntop.
8268 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8269 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8270 ssize_t for return value.
8271 (Sending Data): Likewise for send, sendto, sendmsg.
8272 (Socket Option Functions): Add a missing const in setsockopt prototype.
8273 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8274 use wchar_t for the argument.
8275 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8276 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8277 take no arguments.
8278 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8279 double/float/long double for second argument.
8280 Fix return types of significand, significandf, significandl.
8281 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8282 argument in fchmod prototype.
8283 (File Owner): Use uid_t and gid_t in fchown prototype.
8284 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8285 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8286 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8287 use 'const struct dirent **' as argument types to CMP function pointer
8288 argument.
8289 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8290 (File Times): Fix summary magic @comment for struct utimbuf and utime
8291 to refer to utime.h, not time.h.
8292 * manual/string.texi (Argz Functions): Add missing const in
8293 argz_extract and argz_next prototypes.
8294 (Finding Tokens in a String): Likewise for basename.
8295 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8296 (Copying and Concatenation): Fix typo in wmemmove prototype.
8297 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8298 (Signal Stack): Remove erroneous const in sigstack prototype.
8299 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8300 prototype.
8301 (Simple Calendar Time): Likewise for stime.
8302 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8303 prototype.
8304 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8305 say sys/sysctl.h instead.
8306 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8307 and vsyslog prototypes.
8308
fe77fe6d
TV
83092013-02-11 Tom de Vries <tom@codesourcery.com>
8310
8311 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8312 Remove.
8313
3a09b620
RM
83142013-02-11 Roland McGrath <roland@hack.frob.com>
8315
8316 * misc/sys/mman.h: Fix typo in mremap comment.
8317
550a0b89
RM
83182013-02-08 Roland McGrath <roland@hack.frob.com>
8319
8320 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8321 the '\0' terminator.
8322
a2da1673
JM
83232013-02-08 Joseph Myers <joseph@codesourcery.com>
8324
8325 [BZ #13550]
8326 * debug/segfault.c: Don't include <bp-checks.h>.
8327 * sysdeps/generic/bp-checks.h: Remove file.
8328 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8329 (__GETDENTS): Don't use CHECK_N.
8330 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8331 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8332 (__getgroups): Don't use CHECK_N.
8333 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8334 (setgroups): Don't use CHECK_N.
8335 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8336 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8337 (__libc_msgrcv): Don't use CHECK_N.
8338 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8339 (__libc_msgsnd): Don't use CHECK_N.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8341 <bp-checks.h>.
8342 (__libc_pread): Don't use CHECK_N.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8344 include <bp-checks.h>.
8345 (__libc_pread64): Don't use CHECK_N.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8347 include <bp-checks.h>.
8348 (__libc_pwrite): Don't use CHECK_N.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8350 include <bp-checks.h>.
8351 (__libc_pwrite64): Don't use CHECK_N.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8353 <bp-checks.h>.
8354 (__libc_pread): Don't use CHECK_N.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8356 include <bp-checks.h>.
8357 (__libc_pread64): Don't use CHECK_N.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8359 include <bp-checks.h>.
8360 (__libc_pwrite): Don't use CHECK_N.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8362 include <bp-checks.h>.
8363 (__libc_pwrite64): Don't use CHECK_N.
8364 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8365 (do_pread): Don't use CHECK_N.
8366 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8367 (do_pread64): Don't use CHECK_N.
8368 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8369 (do_pwrite): Don't use CHECK_N.
8370 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8371 (do_pwrite64): Don't use CHECK_N.
8372 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8373 (__libc_readv): Don't use CHECK_N.
8374 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8375 (semop): Don't use CHECK_N.
8376 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8377 <bp-checks.h>.
8378 (semtimedop): Don't use CHECK_N.
8379 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8380 (__libc_pread): Don't use CHECK_N.
8381 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8382 <bp-checks.h>.
8383 (__libc_pread64): Don't use CHECK_N.
8384 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8385 <bp-checks.h>.
8386 (__libc_pwrite): Don't use CHECK_N.
8387 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8388 <bp-checks.h>.
8389 (__libc_pwrite64): Don't use CHECK_N.
8390 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8391 <bp-checks.h>.
8392 (__libc_msgrcv): Don't use CHECK_N.
8393 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8394 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8395 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8396 (__libc_writev): Don't use CHECK_N.
8397
b84660a8
RM
83982013-02-08 Roland McGrath <roland@hack.frob.com>
8399
7f3e75f8
RM
8400 * string/strcpy.c: Removed unused variable.
8401
b84660a8
RM
8402 * Makeconfig (+sysdep-includes): Define with := rather than =.
8403 Use an existing include/ subdir of each sysdeps dir before it.
8404
471514d3
CD
84052013-02-08 Carlos O'Donell <carlos@redhat.com>
8406
8407 * nscd/connection.c (register_traced_file): Comment function.
8408 [HAVE_INOTIFY] (union __inev): Define.
8409 [HAVE_INOTIFY] (inotify_check_files): New function.
8410 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8411 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8412 clear_db_cache.
8413 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8414
b2d3c3be
CD
84152013-02-08 Carlos O'Donell <carlos@redhat.com>
8416
8417 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8418 loaded if not already and that a failure is permanent.
8419
b39949d2
CD
84202013-02-08 Carlos O'Donell <carlos@redhat.com>
8421
ddacd1db 8422 [BZ #15006]
b39949d2
CD
8423 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8424 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8425
b2c9eff4
JM
84262013-02-08 Joseph Myers <joseph@codesourcery.com>
8427
f3aae3f3
JM
8428 [BZ #13550]
8429 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8430 (CHECK_1_NULL_OK): Likewise.
8431 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8432 (__fxstat): Do not use CHECK_1.
8433 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8434 <bp-checks.h>.
8435 (___fxstat64): Do not use CHECK_1.
8436 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8437 <bp-checks.h>.
8438 (__fxstatat): Do not use CHECK_1.
8439 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8440 <bp-checks.h>.
8441 (__fxstatat64): Do not use CHECK_1.
8442 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8443 <bp-checks.h>.
8444 (__fxstat): Do not use CHECK_1.
8445 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8446 <bp-checks.h>.
8447 (__fxstatat): Do not use CHECK_1.
8448 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8449 <bp-checks.h>.
8450 (__getresgid): Do not use CHECK_1.
8451 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8452 <bp-checks.h>.
8453 (__getresuid): Do not use CHECK_1.
8454 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8455 <bp-checks.h>.
8456 (__lxstat): Do not use CHECK_1.
8457 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8458 <bp-checks.h>.
8459 (__old_msgctl): Do not use CHECK_1.
8460 (__new_msgctl): Likewise.
8461 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8462 <bp-checks.h>.
8463 (__new_setrlimit): Do not use CHECK_1.
8464 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8465 <bp-checks.h>.
8466 (__old_shmctl): Do not use CHECK_1.
8467 (__new_shmctl): Likewise.
8468 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8469 <bp-checks.h>.
8470 (__xstat): Do not use CHECK_1.
8471 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8472 (__lxstat): Do not use CHECK_1.
8473 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8474 <bp-checks.h>.
8475 (___lxstat64): Do not use CHECK_1.
8476 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8477 (__old_msgctl): Do not use CHECK_1.
8478 (__new_msgctl): Likewise.
8479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8480 <bp-checks.h>.
8481 (__gettimeofday): Do not use CHECK_1.
8482 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8483 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8484 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8485 <bp-checks.h>.
8486 (__gettimeofday): Do not use CHECK_1.
8487 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8488 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8489 (__new_shmctl): Do not use CHECK_1.
8490 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8491 <bp-checks.h>.
8492 (do_sigtimedwait): Do not use CHECK_1.
8493 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8494 <bp-checks.h>.
8495 (do_sigwaitinfo): Do not use CHECK_1.
8496 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8497 <bp-checks.h>.
8498 (msgctl): Do not use CHECK_1.
8499 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8500 <bp-checks.h>.
8501 (shmctl): Do not use CHECK_1.
8502 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8503 (ustat): Do not use CHECK_1.
8504 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8505 <bp-checks.h>.
8506 (__fxstat): Do not use CHECK_1.
8507 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8508 <bp-checks.h>.
8509 (__fxstatat): Do not use CHECK_1.
8510 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8511 <bp-checks.h>.
8512 (__lxstat): Do not use CHECK_1.
8513 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8514 <bp-checks.h>.
8515 (__xstat): Do not use CHECK_1.
8516 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8517 (__xstat): Do not use CHECK_1.
8518 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8519 (___xstat64): Do not use CHECK_1.
8520
b2c9eff4
JM
8521 [BZ #13550]
8522 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8523 definitions.
8524 (CHECK_BOUNDS_HIGH): Likewise.
8525 * string/strcpy.c: Do not include <bp-checks.h>.
8526 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8527
f1d70dad
RM
85282013-02-07 Roland McGrath <roland@hack.frob.com>
8529
8530 * nscd/nscd-client.h (__nscd_drop_map_ref):
8531 Add __attribute__ ((unused)).
8532 * nis/nss-nisplus.h (niserr2nss): Likewise.
8533
8534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8535 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8536
8537 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8538 Remove inline keyword.
8539 * include/rounding-mode.h (round_away): Likewise.
8540 * libio/wfileops.c (adjust_wide_data): Likewise.
8541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8542 (__m128i_strloadu_tolower): Likewise.
8543 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8544 (__m128i_strloadu_tolower): Likewise.
8545 * time/mktime.c (ydhms_diff): Likewise.
8546 * locale/elem-hash.h (elem_hash): Likewise.
8547 * locale/setlocale.c (setdata): Likewise.
8548 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8549 (re_string_wchar_at): Likewise.
8550 (bitset_not, bitset_merge, bitset_mask): Likewise.
8551 [!(__GNUC__ > 3)] (inline): Remove macro.
8552 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8553 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8554 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8555 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8556 * string/memcmp.c (memcmp_bytes): Likewise.
8557 * locale/programs/locarchive.c (compute_hashval): Likewise.
8558 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8559 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8560 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8561 * nss/getent.c (print_rpc, print_protocols): Likewise.
8562 (print_passwd, print_group, print_aliases): Likewise.
8563 * nis/nss-nisplus.h (niserr2nss): Likewise.
8564 * nscd/connections.c (restart_p): Likewise.
8565 Change return type to bool.
8566
eab55bfb
RM
85672013-02-05 Roland McGrath <roland@hack.frob.com>
8568
7bd642f5
RM
8569 * Makeconfig (all-Depend-files): Add existing
8570 $(sorted-subdirs:=/Depend) files.
8571 (all-subdirs): Remove nss.
8572 * sysdeps/unix/inet/Subdirs: Add it here instead.
8573 * hesiod/Depend: New file.
8574
573c29b2
RM
8575 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8576 instead of calling alloca.
8577
b2e25af0
RM
8578 * io/lseek.c (__lseek): Rename to __libc_lseek.
8579 Define __lseek as an alias.
8580
eab55bfb
RM
8581 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8582
9a0d1941
CD
85832013-02-04 Carlos O'Donell <carlos@redhat.com>
8584
8585 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8586 else clause and remove check for non-standard endianness.
8587
b83bbec4
DM
85882013-02-04 David S. Miller <davem@davemloft.net>
8589
8590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8591
6277fdab
JM
85922013-02-04 Joseph Myers <joseph@codesourcery.com>
8593
8594 [BZ #13550]
8595 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8596 (__ubp_memchr): Remove prototype.
8597 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8598 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8599 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8600 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8601 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8602 Remove alias.
8603 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8604 (__ubp_memchr): Likewise.
8605 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8606 (__ubp_memchr): Likewise.
8607 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8608 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8609 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8610 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8611 CHECK_STRING.
8612 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8613 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8614 (__getcwd): Do not use CHECK_STRING.
8615 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8616 <bp-checks.h>.
8617 (__real_chown): Do not use CHECK_STRING.
8618 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8619 <bp-checks.h>.
8620 (fchownat): Do not use CHECK_STRING.
8621 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8622 CHECK_STRING.
8623 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8624 <bp-checks.h>.
8625 (__lchown): Do not use CHECK_STRING.
8626 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8627 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8628 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8629 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8631 include <bp-checks.h>.
8632 (truncate64): Do not use CHECK_STRING.
8633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8634 <bp-checks.h>.
8635 (__real_chown): Do not use CHECK_STRING.
8636 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8637 <bp-checks.h>.
8638 (__lchown): Do not use CHECK_STRING.
8639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8640 <bp-checks.h>.
8641 (__chown): Do not use CHECK_STRING.
8642 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8643 <bp-checks.h>.
8644 (truncate64): Do not use CHECK_STRING.
8645 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8646 Likewise.
8647 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8648 (__xmknod): Do not use CHECK_STRING.
8649 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8650 <bp-checks.h>.
8651 (__xmknodat): Do not use CHECK_STRING.
8652 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8653 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8654
903ae060
AS
86552013-02-04 Andreas Schwab <schwab@suse.de>
8656
8657 [BZ #14142]
8658 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8659 * include/netdb.h: Likewise for h_errno.
8660 * elf/tst-stackguard1.c: Include <tls.h>.
8661
542f9466
JK
86622013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8663
8664 * elf/link.h (struct link_map): Extend the l_addr comment.
8665 * include/link.h (struct link_map): Likewise.
8666
e782a927
JM
86672013-02-01 Joseph Myers <joseph@codesourcery.com>
8668
8669 [BZ #13550]
8670 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8671 (BOUNDED_1): Remove macro.
8672 * debug/backtrace.c: Don't include <bp-checks.h>.
8673 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8674 (__backtrace): Likewise.
8675 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8676 <bp-checks.h>.
8677 (__backtrace): Don't use BOUNDED_1.
8678 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8679 <bp-checks.h>.
8680 (__backtrace): Don't use BOUNDED_1.
8681 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8682 (__backtrace): Don't use BOUNDED_1.
8683 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8684 (shmat): Don't use BOUNDED_N.
8685
8cf28c5e
JM
86862013-01-31 Joseph Myers <joseph@codesourcery.com>
8687
3a7ac8a0
JM
8688 [BZ #13550]
8689 * sysdeps/generic/bp-start.h: Remove file.
8690 * csu/libc-start.c: Don't include <bp-start.h>.
8691 (LIBC_START_MAIN): Set up __environ directly instead of using
8692 INIT_ARGV_and_ENVIRON.
8693 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8694 <bp-start.h>.
8695
f3499f95
JM
8696 [BZ #13550]
8697 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8698 definitions.
8699 (CHECK_FCNTL): Likewise.
8700 (CHECK_N_PAGES): Likewise.
8701
32a45bea
JM
8702 [BZ #13550]
8703 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8704 definitions.
8705 (CHECK_SIGSET_NULL_OK): Likewise.
8706 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8707 <bp-checks.h>.
8708 (sigpending): Don't use CHECK_SIGSET.
8709 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8710 <bp-checks.h>.
8711 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8712 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8713 <bp-checks.h>.
8714 (do_sigsuspend): Don't use CHECK_SIGSET.
8715 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8716 use CHECK_SIGSET.
8717 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8718 (do_sigwait): Don't use CHECK_SIGSET.
8719 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8720 use CHECK_SIGSET.
8721 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8722 include <bp-checks.h>.
8723 (sigpending): Don't use CHECK_SIGSET.
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8725 include <bp-checks.h>.
8726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8727 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8728 <bp-checks.h>.
8729 (sigpending): Don't use CHECK_SIGSET.
8730 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8731 <bp-checks.h>.
8732 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8733
2e8a5c8c
JM
8734 [BZ #13550]
8735 * sysdeps/generic/bp-semctl.h: Remove file.
8736 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8737 <bp-checks.h> and <bp-semctl.h>.
8738 (__old_semctl): Don't use CHECK_SEMCTL.
8739 (__new_semctl): Likewise.
8740 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8741 and <bp-semctl.h>.
8742 (__old_semctl): Don't use CHECK_SEMCTL.
8743 (__new_semctl): Likewise.
8744 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8745 <bp-checks.h> and <bp-semctl.h>.
8746 (__old_semctl): Don't use CHECK_SEMCTL.
8747 (__new_semctl): Likewise.
8748 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8749 <bp-checks.h> and <bp-semctl.h>.
8750 (semctl): Don't use CHECK_SEMCTL.
8751
c2d54929
JM
8752 [BZ #13550]
8753 * Makerules (elide-bp-thunks): Remove variable.
8754 (elide-routines.oS): Don't use $(elide-bp-thunks).
8755 (elide-routines.os): Likewise.
8756 (elide-routines.o): Likewise.
8757 (elide-routines.op): Likewise.
8758 (elide-routines.og): Likewise.
8759 (objects): Don't use $(bp-thunks).
8760 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8761 include.
8762 (common-generated): Do not add s-proto-bp.d.
8763 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8764 (int): Likewise.
8765 (typ): Likewise.
8766 Do not generate makefile rules for bounded-pointer thunks.
8767 * sysdeps/generic/bp-thunks.h: Remove file.
8768 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8769 * sysdeps/unix/s-proto-bp.S: Likewise.
8770
8cf28c5e
JM
8771 [BZ #15062]
8772 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8773 parts of result separately when argument is not close to line from
8774 -i to i and one part of argument is small.
8775 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8776 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8777 * math/libm-test.inc (cacos_test): Add more tests.
8778 (casin_test): Likewise.
8779 (casinh_test): Likewise.
8780 * sysdeps/i386/fpu/libm-test-ulps: Update.
8781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8782
c4e33b8d
DM
87832013-01-31 David S. Miller <davem@davemloft.net>
8784
8785 * po/de.po: Update from translation team.
8786
3b60b421
MK
87872013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8788
8789 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8790
bb931195
TS
87912013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8792
b5a5da23
TS
8793 * configure.in (_AC_PROG_CC_C89): New definition.
8794 * configure: Regenerate.
8795
bb931195
TS
8796 * configure.in (AC_PROG_CPP): New definition.
8797 * configure: Regenerate.
8798
8c53a12c
JM
87992013-01-23 Joseph Myers <joseph@codesourcery.com>
8800
8801 * debug/tst-backtrace.h: New file.
8802 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8803 (ret): Remove variable.
8804 (x): Likewise.
8805 (FAIL): Remove macro.
8806 (NO_INLINE): Likewise.
8807 (fn1): Use match function instead of strstr.
8808 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8809 (ret): Remove variable.
8810 (x): Likewise.
8811 (FAIL): Remove macro.
8812 (NO_INLINE): Likewise.
8813 (fn): Use match function instead of strstr.
8814 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8815 (ret): Remove variable.
8816 (x): Likewise.
8817 (FAIL): Remove macro.
8818 (NO_INLINE): Likewise.
8819 (handle_signal): Use match function instead of strstr.
8820 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8821 (ret): Remove variable.
8822 (x): Likewise.
8823 (FAIL): Remove macro.
8824 (NO_INLINE): Likewise.
8825 (handle_signal): Use match function instead of strstr.
8826
4858fa2a
RM
88272013-01-23 Roland McGrath <roland@hack.frob.com>
8828
8829 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8830
bae8e7f5
DM
88312013-01-23 David S. Miller <davem@davemloft.net>
8832
8833 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8834 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8835 argument of CAS if possible.
8836 * sysdeps/sparc/sparc64/bits/atomic.h
8837 (__arch_compare_and_exchange_val_32_acq): Likewise.
8838 (__arch_compare_and_exchange_val_64_acq): Likewise.
8839
9cbbc4ae
PT
88402013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8841
8842 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8843 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8844 Include <limits.h>.
67b3f58c 8845 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8846
5655a0b5
AC
88472013-01-23 Adam Conrad <adconrad@0c3.net>
8848
8849 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8850 (LDFLAGS-tst-array5): Likewise.
8851
052aff95
JM
88522013-01-23 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #15036]
8855 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8856 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8857 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8858 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8859
7c1e01aa
DM
88602013-01-21 David S. Miller <davem@davemloft.net>
8861
8862 * sysdeps/sparc/backtrace.c: New file.
8863 * sysdeps/sparc/sparc32/backtrace.h: New file.
8864 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8865 * sysdeps/sparc/sparc64/backtrace.h: New file.
8866 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8867 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8868 -funwind-tables.
8869
ab087e0a
AS
88702013-01-21 Andreas Schwab <schwab@suse.de>
8871
8872 [BZ #15020]
8873 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8874 closed its stdout.
8875
ed689c2f
AS
88762013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8877
8878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8879 "mpa2.h".
8880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8881
31d470ac
JM
88822013-01-18 Joseph Myers <joseph@codesourcery.com>
8883 Mark Mitchell <mark@codesourcery.com>
8884 Tom de Vries <tom@codesourcery.com>
8885 Paul Pluzhnikov <ppluzhnikov@google.com>
8886
8887 * debug/tst-backtrace2.c: New file.
8888 * debug/tst-backtrace3.c: Likewise.
8889 * debug/tst-backtrace4.c: Likewise.
8890 * debug/tst-backtrace5.c: Likewise.
8891 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8892 (CFLAGS-tst-backtrace3.c): Likewise.
8893 (CFLAGS-tst-backtrace4.c): Likewise.
8894 (CFLAGS-tst-backtrace5.c): Likewise.
8895 (LDFLAGS-tst-backtrace2): Likewise.
8896 (LDFLAGS-tst-backtrace3): Likewise.
8897 (LDFLAGS-tst-backtrace4): Likewise.
8898 (LDFLAGS-tst-backtrace5): Likewise.
8899 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8900 tst-backtrace4 and tst-backtrace5.
8901
90567f30 89022013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8903 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8904
8905 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8906 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8908 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8910 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8911 "+r" and remove output regs list as redundant. Add explicit inline
8912 asm to specify register of return val to work around compiler codegen
8913 bug. Remove (int) cast on return value. Add return type parameter to
8914 use in macro so that this macro does not truncate return value for
8915 64-bit values.
8916 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8917 pass to INTERNAL_VSYSCALL_NCS.
8918 (INLINE_VSYSCALL): Add 'long int' as return type to
8919 INTERNAL_VSYSCALL_NCS macro invocation.
8920 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8921 INTERNAL_VSYSCALL_NCS macro invocation.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8923
d3b9ea61
SP
89242013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
0b57daeb
SP
8926 [BZ #14496]
8927 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8928 Fix application of SIMD FP exception mask.
8929
caa99d06
SP
8930 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8931 mp_no from a power of two.
8932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8933 __mpexp_twomm1. Use __pow_mp.
8934
d3b9ea61
SP
8935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8936 multiplication.
8937
1dbaee3c
DM
89382013-01-17 David S. Miller <davem@davemloft.net>
8939
8940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8941
728d7b43
JM
89422013-01-17 Joseph Myers <joseph@codesourcery.com>
8943
8944 [BZ #15023]
8945 * include/complex.h: Condition contents on [!_COMPLEX_H].
8946 (__kernel_casinhf): New prototype.
8947 (__kernel_casinh): Likewise.
8948 (__kernel_casinhl): Likewise.
8949 * math/Makefile (libm_calls): Add k_casinh.
8950 * math/k_casinh.c: New file.
8951 * math/k_casinhf.c: Likewise.
8952 * math/k_casinhl.c: Likewise.
8953 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8954 finite nonzero arguments.
8955 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8956 finite nonzero arguments.
8957 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8958 finite nonzero arguments.
8959 * math/s_casinh.c: Do not include <float.h>.
8960 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8961 * math/s_casinhf.c: Do not include <float.h>.
8962 (__casinhf): Move code for finite nonzero arguments to
8963 k_casinhf.c.
8964 * math/s_casinhl.c: Do not include <float.h>.
8965 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8966 redefine.
8967 (__casinhl): Move code for finite nonzero arguments to
8968 k_casinhl.c.
8969 * math/libm-test.inc (cacos_test): Add more tests.
8970 * sysdeps/i386/fpu/libm-test-ulps: Update.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972
2a26ef3a
PT
89732013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8974
8975 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8976 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8977 [!HAVE_MREMAP]: Remove [defined linux] case.
8978 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8979
a897655d
SP
89802013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8981
8982 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8983
881ebe89 89842013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8985
8986 * elf/elf.h (R_386_SIZE32): New relocation.
8987 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8988 R_386_SIZE32.
8989 (elf_machine_rela): Likewise.
8990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8991 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8992
59981e9b
JM
89932013-01-17 Joseph Myers <joseph@codesourcery.com>
8994
8995 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8996 (FP_FAST_FMA): Do not define.
8997 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8998 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8999 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9000 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9001 !_SOFT_FLOAT]: Likewise.
9002 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9003 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9004 value.
9005 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9006 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9007 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9008 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9009 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9010 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9011 file.
9012
cfa8054f
AS
90132013-01-16 Andreas Schwab <schwab@suse.de>
9014
9015 [BZ #14327]
9016 * include/stdlib.h (__mktemp): Add declaration.
9017 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9018 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9019
dd930cc5
SP
90202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9021
881ebe89
SP
9022 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9023 definitions.
9024 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9025 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9026 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9027 definitions here.
9028 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9029 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9030 definitions.
9031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9032 and ONE.
9033 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9034 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9035 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9036 definitions.
9037 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9038 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9039 definitions.
9040 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9041
dd930cc5
SP
9042 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9043
c19a9f89
DM
90442013-01-15 David S. Miller <davem@davemloft.net>
9045
1aa61767
DM
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9047 trunc{,f} to libm-sysdep_routes.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9050 file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9053 file.
9054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9055 file.
9056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9059 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9060 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9062 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9064
c42d5e98
DM
9065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9066 nearbyint{,f} to libm-sysdep_routes.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9069 New file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9071 file.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9073 New file.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9075 file.
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9079 file.
9080 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9082 file.
9083 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9084 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9085 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9086
c19a9f89
DM
9087 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9088 libc_feholdexcept and libc_fesetenv.
9089
357679d2
MF
90902013-01-15 Mike Frysinger <vapier@gentoo.org>
9091
9092 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9093
65a82e3d
DM
90942013-01-14 David S. Miller <davem@davemloft.net>
9095
8b954ab9
DM
9096 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9097 (SPARC_ASM_VIS2_IFUNC): Likewise.
9098 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9100 use of 'siam' instruction.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9102 Likewise.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9104 Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9106 Likewise.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9112 file.
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9114 file.
9115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9116 file.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9118 file.
9119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9124 new VIS2 routines.
9125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9128 Likewise.
9129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9134 routines to libm-sysdep_routines.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9136
65a82e3d
DM
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9138 fdim/fdimf to libm-sysdep_routines.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9140 file.
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9143 file.
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9147 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9148 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9149 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9151
e34ab705
SP
91522013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9153
2a91b573
SP
9154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9155 to optimize copies.
9156
1066a534
SP
9157 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9160
e34ab705
SP
9161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9162 local variable MPTWO.
9163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9164 Likewise.
9165
aba5e596
MF
91662013-01-13 Mike Frysinger <vapier@gentoo.org>
9167
9168 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9169 GLOB_NOESCAPE.
9170
e557e9e5
MF
91712013-01-13 Mike Frysinger <vapier@gentoo.org>
9172
9173 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9174
0428cec9
MF
91752013-01-13 Mike Frysinger <vapier@gentoo.org>
9176
9177 * manual/pattern.texi (glob_t): Document gl_flags.
9178 (glob64_t): Likewise.
9179
8794a964
DM
91802013-01-11 David S. Miller <davem@davemloft.net>
9181
66438c3f
RM
9182 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9183 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9184 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9185 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9186 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9187 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9188 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9189 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9190 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9191 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9192 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9193 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9194 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9195
4ae4244d
DM
9196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9197 sparc V9 rather than using V8 code.
9198 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9199 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9200
8794a964
DM
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9202 Move to...
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9204 Here.
9205
6270516e
RM
92062013-01-11 Roland McGrath <roland@hack.frob.com>
9207
9208 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9209 not in the main loop.
9210 * configure: Regenerated.
9211
6a57d931
JM
92122013-01-11 Joseph Myers <joseph@codesourcery.com>
9213
9214 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9215 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9216 to just #else.
9217 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9218 [!__GLIBC_HAVE_LONG_LONG] case.
9219 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9220 condition to just #else.
9221 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9222 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9223 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9224 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9225 unconditional.
9226 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9227 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9228 #elif condition to just #else.
9229 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9230 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9231 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9232 #elif condition to just #else.
9233
0e8529e9
SE
92342013-01-11 Steve Ellcey <sellcey@mips.com>
9235
9236 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9237 (EF_MIPS_ARCH_64): Fix value.
9238 (EF_MIPS_ARCH_32R2): New.
9239 (EF_MIPS_ARCH_64R2): New.
9240
740b3dbe
L
92412013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * Makeconfig (+link-pie-before-libc): New.
9244 (+link-pie-after-libc): Likewise.
9245 (+link-pie-tests): Likewise.
9246 (+link-pie): Rewritten.
9247 (link-before-libc): Remove $(config-LDFLAGS).
9248 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9249 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9250 (config-LDFLAGS): Renamed to ...
9251 (rtld-LDFLAGS): This.
9252 (rtld-tests-LDFLAGS): New macro.
9253 (link-libc-rpath-link): Likewise.
9254 (link-libc-tests-rpath-link): Likewise.
9255 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9256 (link-libc): Prepand $(link-libc-rpath-link).
9257 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9258 (test-program-prefix): New macro.
9259 (test-via-rtld-prefix): Likewise.
9260 (test-program-cmd): Likewise.
9261 (host-test-program-cmd): Likewise.
9262 * Makefile ($(common-objpfx)testrun.sh): Replace
9263 $(run-program-prefix) with $(test-program-prefix).
9264 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9265 $(rtld-LDFLAGS).
9266 ($(common-objpfx)shlib.lds): Likewise.
9267 (build-module-helper): Likewise.
9268 ($(common-objpfx)format.lds): Likewise.
9269 * Rules (binaries-pie-tests): New.
9270 (binaries-pie-notests): Likewise.
9271 (binaries-pie): Rewritten.
9272 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9273 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9274 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9275 (make-test-out): Replace $(host-built-program-cmd) with
9276 $(host-test-program-cmd).
9277 * config.make.in (build-hardcoded-path-in-tests): New variable.
9278 * configure.in (--enable-hardcoded-path-in-tests): New configure
9279 option.
9280 (hardcoded_path_in_tests): New AC_SUBST.
9281 * configure: Regenerated.
9282 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9283 $(built-program-cmd) with $(test-program-cmd).
9284 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9285 (test_program_cmd): This.
9286 * elf/Makefile ($(objpfx)order.out): Run test with
9287 $(test-program-prefix).
9288 ($(objpfx)order2.out): Likewise.
9289 ($(objpfx)tst-initorder.out): Likewise.
9290 ($(objpfx)tst-initorder2.out): Likewise.
9291 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9292 $(test-program-cmd).
9293 ($(objpfx)tst-array1-static.out): Likewise.
9294 ($(objpfx)tst-array2.out): Likewise.
9295 ($(objpfx)tst-array3.out): Likewise.
9296 ($(objpfx)tst-array4.out): Likewise.
9297 ($(objpfx)tst-array5.out): Likewise.
9298 ($(objpfx)tst-array5-static.out): Likewise.
9299 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9300 $(test-program-cmd).
9301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9302 $(run-program-prefix) with $(test-program-prefix).
9303 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9304 (test_program_prefix): This.
9305 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9306 $(run-program-prefix) with $(test-program-prefix).
9307 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9308 (test_program_prefix): This.
9309 * iconvdata/tst-tables.sh: Likewise.
9310 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9311 $(run-program-prefix) with $(test-program-prefix).
9312 ($(objpfx)tst-translit.out): Likewise.
9313 ($(objpfx)tst-gettext2.out): Likewise.
9314 ($(objpfx)tst-gettext4.out): Likewise.
9315 ($(objpfx)tst-gettext6.out): Likewise.
9316 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9317 (test_program_prefix): This.
9318 * intl/tst-gettext2.sh: Likewise.
9319 * intl/tst-gettext4.sh Likewise.
9320 * intl/tst-gettext6.sh: Likewise.
9321 * intl/tst-translit.sh: Likewise.
9322 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9323 with $(test-program-cmd).
9324 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9325 $(run-program-prefix) with $(test-program-prefix).
9326 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9327 (test_program_prefix): This.
9328 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9329 $(run-program-prefix) with $(test-program-prefix).
9330 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9331 (test_program_prefix): This.
9332 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9333 * posix/Makefile ($(objpfx)globtest.out): Replace
9334 $(run-via-rtld-prefix) and $(test-wrapper) with
9335 $(test-program-prefix) and $(test-via-rtld-prefix).
9336 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9337 $(test-program-prefix).
9338 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9339 $(host-test-program-cmd).
9340 (tst-spawn-ARGS): Likewise.
9341 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9342 $(test-program-prefix).
9343 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9344 (test_via_rtld_prefix): This.
9345 (test_wrapper): Renamed to ...
9346 (test_program_prefix): This.
9347 (run_program_prefix): Replaced by test_program_prefix.
9348 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9349 (test_program_prefix): This.
9350 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9351 with $(host-test-program-cmd).
9352 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9353 $(run-program-prefix) with $(test-program-prefix).
9354 ($(objpfx)tst-printf.out): Likewise.
9355 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9356 $(test-program-cmd).
9357 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9358 (test_program_prefix): This.
9359 * stdio-common/tst-unbputc.sh: Likewise.
9360 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9361 $(run-program-prefix) with $(test-program-prefix).
9362 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9363 (test_program_prefix): This.
9364 * string/Makefile ($(objpfx)tst-svc.out): Replace
9365 $(built-program-cmd) with $(test-program-cmd).
9366
c6fe55cf
AJ
93672013-01-11 Andreas Jaeger <aj@suse.de>
9368
9369 [BZ #15003]
9370 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9371 value. Sync with Linux 3.7.
9372
9e6919c8
DM
93732013-01-10 David S. Miller <davem@davemloft.net>
9374
9375 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9378
1c9f1a02
RM
93792013-01-10 Roland McGrath <roland@hack.frob.com>
9380
9381 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9382 never set.
9383 * configure: Regenerated.
9384
b9de2dde
DM
93852013-01-10 David S. Miller <davem@davemloft.net>
9386
9387 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9388 sparc V9 rather than using V8 code.
9389 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9390 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9391
e7f68ef4
RM
93922013-01-10 Roland McGrath <roland@hack.frob.com>
9393
9394 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9395 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9396 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9397 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9398 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9399 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9400 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9401 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9402 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9403 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9404 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9405 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9406 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9407 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9408 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9409 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9410 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9411 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9412 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9413 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9414 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9415 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9416 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9417 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9418 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9419 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9420 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9421
5a47cc9c
DM
94222013-01-10 David S. Miller <davem@davemloft.net>
9423
9424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9425
4cf8f209
L
94262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9427
9428 * posix/Makefile (tests-static): New variable.
9429 (tests): Add $(tests-static).
9430 (tst-exec-static-ARGS): New variable.
9431 (tst-spawn-static-ARGS): Likewise.
9432 * posix/tst-exec-static.c: New file.
9433 * posix/tst-spawn-static.c: Likewise.
9434 * posix/tst-exec.c: Support run directly.
9435 * posix/tst-spawn.c: Likewise.
9436
fed0faa1
JM
94372013-01-10 Joseph Myers <joseph@codesourcery.com>
9438
828beb13
JM
9439 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9440 long.
9441 * math/bits/mathcalls.h (llrint): Likewise.
9442 (llround): Likewise.
9443 * stdlib/stdlib.h (struct drand48_data): Likewise.
9444 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9445 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9447 Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9449 Likewise.
9450 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9451 (elf_greg_t): Likewise.
9452 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9453 (__jmp_buf): Likewise.
9454 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9455 definitions.
9456 (llrint): Likewise, for all definitions.
9457 (llrintl): Likewise.
9458
fed0faa1
JM
9459 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9460 Remove [__GNUC__] condition.
9461 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9462 condition to just [__USE_ISOC99].
9463 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9464
1a20cb20
L
94652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9466
9467 [BZ #14200]
9468 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9469 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9470 defined.
9471 (_POSIX_V6_ILP32_OFF32): Likewise.
9472 (_XBS5_ILP32_OFF32): Likewise.
9473 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9474 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9475
751b85f7
SP
94762013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9477
7490eb81
SP
9478 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9479
751b85f7
SP
9480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9481 doubles __mpexp_twomm1. Adjust usage.
9482 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9483 Remove.
9484
988197f0
AS
94852013-01-10 Andreas Schwab <schwab@suse.de>
9486
9487 [BZ #14964]
9488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9489 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9490
e83d7298
DM
94912013-01-09 David S. Miller <davem@davemloft.net>
9492
034ed64b 9493 [BZ #15003]
e83d7298
DM
9494 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9495 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9496 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9497 TCP_FASTOPEN): Define.
9498 (tcp_repair_opt): New structure.
9499 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9500 enum values.
9501 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9502 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9503 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9504 (tcp_cookie_transactions): New structure.
9505
d5e0b9bd
AB
95062013-01-09 Anton Blanchard <anton@samba.org>
9507
9508 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9509 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9512
0c07e3ea
JM
95132013-01-09 Joseph Myers <joseph@codesourcery.com>
9514
9515 * include/features.h (__USE_ANSI): Remove.
9516
232f7002
RM
95172013-01-09 Roland McGrath <roland@hack.frob.com>
9518
ad98e30c
RM
9519 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9520
232f7002
RM
9521 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9522
950c99ca
SP
95232013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9524
b5792741
SP
9525 * sysdeps/s390/fpu/libm-test-ulps: Update.
9526
47cf2278
SP
9527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9528
950c99ca
SP
9529 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9530 (__acr): Likewise.
9531 (__cpy): Likewise.
9532 (norm): Likewise.
9533 (denorm): Likewise.
9534 (__mp_dbl): Likewise.
9535 (__dbl_mp): Likewise.
9536 (add_magnitudes): Likewise.
9537 (sub_magnitudes): Likewise.
9538 (__add): Likewise.
9539 (__sub): Likewise.
9540 (__mul): Likewise.
9541 (__inv): Likewise.
9542 (__dvd): Likewise.
9543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9544 (__acr): Likewise.
9545 (__cpy): Likewise.
9546 (norm): Likewise.
9547 (denorm): Likewise.
9548 (__mp_dbl): Likewise.
9549 (__dbl_mp): Likewise.
9550 (add_magnitudes): Likewise.
9551 (sub_magnitudes): Likewise.
9552 (__add): Likewise.
9553 (__sub): Likewise.
9554 (__mul): Likewise.
9555 (__inv): Likewise.
9556 (__dvd): Likewise.
9557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9558 (__acr): Likewise.
9559 (__cpy): Likewise.
9560 (norm): Likewise.
9561 (denorm): Likewise.
9562 (__mp_dbl): Likewise.
9563 (__dbl_mp): Likewise.
9564 (add_magnitudes): Likewise.
9565 (sub_magnitudes): Likewise.
9566 (__add): Likewise.
9567 (__sub): Likewise.
9568 (__mul): Likewise.
9569 (__inv): Likewise.
9570 (__dvd): Likewise.
9571
eede9df9
JM
95722013-01-08 Joseph Myers <joseph@codesourcery.com>
9573
9574 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9575 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9576 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9577 2 && __USE_EXTERN_INLINES]: Likewise.
9578
c40ea3d9
AJ
95792013-01-08 Andreas Jaeger <aj@suse.de>
9580
9581 [BZ# 14985]
9582 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9583 Remove.
9584 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9585 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9586
2ccdea26
AB
95872013-01-07 Anton Blanchard <anton@samba.org>
9588
9589 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9590 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9591 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9592 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9593 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9594 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9595 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9600 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9609 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9613 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9614 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9615 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9616 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9619 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9621 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9622 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9624 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9627 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9629 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9631 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9632
a9708fed
JM
96332013-01-07 Joseph Myers <joseph@codesourcery.com>
9634
375607b9
JM
9635 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9636 (__MALLOC_PMT): Likewise.
9637 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9638 [__GNUC__], only on [_LIBC].
9639 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9640 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9641 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9642 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9643 forward declaration.
9644 (realloc_hook_ini): Likewise.
9645 (memalign_hook_ini): Likewise.
9646 (__libc_memalign): Do not use __MALLOC_PMT in variable
9647 declaration.
9648 (__libc_valloc): Likewise.
9649 (__libc_pvalloc): Likewise.
9650 (__libc_calloc): Likewise.
9651 (__posix_memalign): Likewise.
9652
a9708fed
JM
9653 [BZ #14996]
9654 * math/s_casinh.c: Include <float.h>.
9655 (__casinh): Do not do computation with squaring and square root
9656 for large arguments.
9657 * math/s_casinhf.c: Include <float.h>.
9658 (__casinhf): Do not do computation with squaring and square root
9659 for large arguments.
9660 * math/s_casinhl.c: Include <float.h>.
9661 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9662 (__casinhl): Do not do computation with squaring and square root
9663 for large arguments.
9664 * math/libm-test.inc (casin_test): Add more tests.
9665 (casinh_test): Likewise.
9666 * sysdeps/i386/fpu/libm-test-ulps: Update.
9667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668
afec409a
L
96692013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9670
9671 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9672 (__x86_64_raw_data_cache_size): Likewise.
9673 (__x86_64_data_cache_size_half): Likewise.
9674 (__x86_64_raw_data_cache_size_half): Likewise.
9675 (__x86_64_shared_cache_size): Likewise.
9676 (__x86_64_raw_shared_cache_size): Likewise.
9677 (__x86_64_shared_cache_size_half): Likewise.
9678 (__x86_64_raw_shared_cache_size_half): Likewise.
9679 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9680 to ...
9681 (__x86_data_cache_size): This.
9682 (__x86_64_raw_data_cache_size): Renamed to ...
9683 (__x86_raw_data_cache_size): This.
9684 (__x86_64_data_cache_size_half): Renamed to ...
9685 (__x86_data_cache_size_half): This.
9686 (__x86_64_raw_data_cache_size_half): Renamed to ...
9687 (__x86_raw_data_cache_size_half): This.
9688 (__x86_64_shared_cache_size): Renamed to ...
9689 (__x86_shared_cache_size): This.
9690 (__x86_64_raw_shared_cache_size): Renamed to ...
9691 (__x86_raw_shared_cache_size): This.
9692 (__x86_64_shared_cache_size_half): Renamed to ...
9693 (__x86_shared_cache_size_half): This.
9694 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9695 (__x86_raw_shared_cache_size_half): This.
9696 * sysdeps/x86_64/memcpy.S: Updated.
9697 * sysdeps/x86_64/memset.S: Likewise.
9698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9701
0b3986d0
DM
97022013-01-04 David S. Miller <davem@davemloft.net>
9703
9704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9705
e47686e9
AS
97062013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9707
d643bac1
AS
9708 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9709 1 to avoid redefinition warning.
9710 (__USE_GNU): Don't define.
9711 (init_signaling_nan): Protoize.
9712
e47686e9
AS
9713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9714
b18decba
SP
97152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9716
fffb407f
SP
9717 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9719 (__cpymn): Likewise.
9720 (norm): Remove commented code.
9721 (denorm): Likewise.
9722 (__mp_dbl): Likewise.
9723 (__inv): Likewise.
9724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9725 (__cpymn): Likewise.
9726 (norm): Remove commented code.
9727 (denorm): Likewise.
9728 (__mp_dbl): Likewise.
9729 (__inv): Likewise.
9730
b18decba
SP
9731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9732 mp_no value for 1.0 and 2.0.
9733 (norm): Use RADIXI instead of radixi.d.
9734 (denorm): Likewise.
9735 (__mul): Use 0.0 instead of zero.d.
9736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9737 mp_no value for 1.0 and 2.0.
9738 (norm): Use RADIXI instead of radixi.d.
9739 (denorm): Likewise.
9740 (__mul): Use 0.0 instead of zero.d.
9741
cdc1c96f
JM
97422013-01-04 Joseph Myers <joseph@codesourcery.com>
9743
9744 [BZ #14994]
9745 * math/s_casinh.c (__casinh): Reduce finite argument to first
9746 quadrant then set signs of results at the end.
9747 * math/s_casinhf.c (__casinhf): Likewise.
9748 * math/s_casinhl.c (__casinhl): Likewise.
9749 * math/libm-test.inc (casin_test): Add more tests.
9750 (casinh_test): Likewise.
9751 * sysdeps/i386/fpu/libm-test-ulps: Update.
9752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753
302913e1
SP
97542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9755
6420d207
SP
9756 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9757
a9e48ab4
SP
9758 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9759
b7837264
SP
9760 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9761 declarations.
9762 (denorm): Likewise.
9763 (__mp_dbl): Likewise.
9764 (__inv): Likewise.
9765
f8af25d2
SP
9766 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9767 and adjust the header comment.
9768
302913e1
SP
9769 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9770 variable name from declaration.
9771
5d7dd1ca
L
97722013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9775 Initialize COMMON_CPUID_INDEX_7 element.
9776 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9777 (CPUID_RTM): Likewise.
9778 (HAS_RTM): Likewise.
9779 (COMMON_CPUID_INDEX_7): New enum.
9780
2f5f40f4
AS
97812013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9782
9783 [BZ #14981]
9784 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9785 size is zero, record memory as freed.
9786
4056f4a0
AJ
97872013-01-03 Andreas Jaeger <aj@suse.de>
9788
9789 * po/ia.po: Add new Interlingua translation.
9790
ab15736f 97912012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9792
9793 * locale/programs/localedef.c: Fix description of '--posix' flag.
9794
568035b7
JM
97952013-01-02 Joseph Myers <joseph@codesourcery.com>
9796
e6898b8d
JM
9797 * NEWS: Update dates in second copyright notice.
9798 * README: Update copyright dates in example.
9799 * manual/libc.texinfo: Update copyright dates.
9800 * scripts/test-installation.pl: Update copyright date in --version
9801 output.
9802
0e2f9562
JM
9803 * hurd/ctty-input.c: Fix copyright notice formatting.
9804 * hurd/ctty-output.c: Likewise.
9805 * hurd/dtable.c: Likewise.
9806 * hurd/hurd-raise.c: Likewise.
9807 * hurd/hurdprio.c: Likewise.
9808 * hurd/msgportdemux.c: Likewise.
9809 * misc/sys/file.h: Likewise.
9810 * misc/sys/ioctl.h: Likewise.
9811 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9812 * sysdeps/mach/hurd/chdir.c: Likewise.
9813 * sysdeps/mach/hurd/fchdir.c: Likewise.
9814 * sysdeps/mach/hurd/rename.c: Likewise.
9815 * sysdeps/mach/hurd/rmdir.c: Likewise.
9816 * sysdeps/mach/hurd/seekdir.c: Likewise.
9817 * sysdeps/mach/hurd/setsid.c: Likewise.
9818 * sysdeps/posix/wait3.c: Likewise.
9819
568035b7
JM
9820 * All files with FSF copyright notices: Update copyright dates
9821 using scripts/update-copyrights.
9822 * intl/plural.c: Regenerated.
9823 * locale/programs/charmap-kw.h: Likewise.
9824 * locale/programs/locfile-kw.h: Likewise.
9825
da08f647
SP
98262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9827
0f5477af
SP
9828 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9829 four values.
9830
44e0d4c2
SP
9831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9832 calculation loop and add branch prediction.
9833
4d55b4e5
SP
9834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9835 check access beyond bounds of m1np.
9836
da08f647
SP
9837 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9838 MPTWO.
9839 (__inv): Remove local variable MPTWO to use the global
9840 constant.
9841 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9843 variable MPTWO.
9844 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9845 MP3HALFS static const.
9846
8e051029
DM
98472013-01-01 David S. Miller <davem@davemloft.net>
9848
9849 * po/ca.po: Update from translation team.
9850
f4cf5f2d
JM
98512013-01-01 Joseph Myers <joseph@codesourcery.com>
9852
9853 * scripts/update-copyrights: New file.
9854 * Makeconfig: Reformat copyright notice.
9855 * ctype/ctype.h: Likewise.
9856 * debug/swprintf_chk.c: Likewise.
9857 * elf/dl-cache.c: Likewise.
9858 * elf/dl-debug.c: Likewise.
9859 * elf/dl-object.c: Likewise.
9860 * grp/initgroups.c: Likewise.
9861 * hurd/Makefile: Likewise.
9862 * hurd/hurd/signal.h: Likewise.
9863 * hurd/hurdfault.c: Likewise.
9864 * hurd/hurdioctl.c: Likewise.
9865 * hurd/hurdlookup.c: Likewise.
9866 * hurd/intr-msg.c: Likewise.
9867 * iconv/gconv_open.c: Likewise.
9868 * libio/swprintf.c: Likewise.
9869 * locale/lc-ctype.c: Likewise.
9870 * locale/nl_langinfo.c: Likewise.
9871 * mach/Machrules: Likewise.
9872 * mach/Makefile: Likewise.
9873 * malloc/obstack.h: Likewise.
9874 * manual/Makefile: Likewise.
9875 * manual/tsort.awk: Likewise.
9876 * misc/bits/stab.def: Likewise.
9877 * nis/nis_print_group_entry.c: Likewise.
9878 * nis/nis_table.c: Likewise.
9879 * nis/nss_compat/compat-pwd.c: Likewise.
9880 * nis/nss_compat/compat-spwd.c: Likewise.
9881 * po/Makefile: Likewise.
9882 * posix/fnmatch.c: Likewise.
9883 * posix/regex.h: Likewise.
9884 * resolv/Makefile: Likewise.
9885 * resolv/nss_dns/dns-network.c: Likewise.
9886 * resolv/res_hconf.c: Likewise.
9887 * scripts/gen-sorted.awk: Likewise.
9888 * soft-fp/soft-fp.h: Likewise.
9889 * stdio-common/printf.h: Likewise.
9890 * stdlib/monetary.h: Likewise.
9891 * stdlib/random.c: Likewise.
9892 * stdlib/random_r.c: Likewise.
9893 * sysdeps/generic/Makefile: Likewise.
9894 * sysdeps/gnu/Makefile: Likewise.
9895 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9923 * sysdeps/mach/hurd/errnos.awk: Likewise.
9924 * sysdeps/mach/hurd/fork.c: Likewise.
9925 * sysdeps/mach/hurd/getcwd.c: Likewise.
9926 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9927 * sysdeps/mach/hurd/mmap.c: Likewise.
9928 * sysdeps/mach/hurd/utimes.c: Likewise.
9929 * sysdeps/mach/hurd/xmknod.c: Likewise.
9930 * sysdeps/posix/profil.c: Likewise.
9931 * sysdeps/posix/readdir_r.c: Likewise.
9932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9933 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9934 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9935 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9937 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9939 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9941 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9942 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9943 * sysdeps/pthread/lio_listio.c: Likewise.
9944 * sysdeps/sparc/dl-procinfo.h: Likewise.
9945 * sysdeps/unix/i386/sysdep.S: Likewise.
9946 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9947 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9948 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9949 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9951 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9952 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9953 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9954 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9955 * sysdeps/wordsize-32/divdi3.c: Likewise.
9956 * time/sys/time.h: Likewise.
9957 * wcsmbs/Makefile: Likewise.
9958
0549fbba
DM
99592013-01-01 David S. Miller <davem@davemloft.net>
9960
a141f1a7
DM
9961 * po/fr.po: Update from translation team.
9962
0549fbba
DM
9963 * catgets/gencat.c: Update copyright year.
9964 * csu/version.c: Likewise.
9965 * debug/catchsegv.sh: Likewise.
9966 * debug/pcprofiledump.c: Likewise.
9967 * debug/xtrace.sh: Likewise.
9968 * elf/ldconfig.c: Likewise.
9969 * elf/ldd.bash.in: Likewise.
9970 * elf/pldd.c: Likewise.
9971 * elf/sotruss.ksh: Likewise.
9972 * elf/sprof.c: Likewise.
9973 * iconv/iconv_prog.c: Likewise.
9974 * iconv/iconvconfig.c: Likewise.
9975 * locale/programs/locale.c: Likewise.
9976 * locale/programs/localedef.c: Likewise.
9977 * login/programs/pt_chown.c: Likewise.
9978 * malloc/memusage.sh: Likewise.
9979 * malloc/memusagestat.c: Likewise.
9980 * malloc/mtrace.pl: Likewise.
9981 * nscd/nscd.c: Likewise.
9982 * nss/getent.c: Likewise.
9983 * nss/makedb.c: Likewise.
9984 * posix/getconf.c: Likewise.
9985
18ea052c
SP
99862012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9987
9988 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9989 numbers.
9990
9c89fca6
MF
99912012-12-30 Mike Frysinger <vapier@gentoo.org>
9992
9993 * math/bits/mathcalls.h (modf): Use __nonnull.
9994
085ec079
SP
99952012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9996
9997 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9998 (split): Use macro CN instead of the bare value.
9999 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10000 could be used.
10001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10002 instead of the bare value.
10003 (power1): Likewise.
10004
6d9f97e1
SP
100052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10006
d63f73be
SP
10007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10008 __ATAN_TWOM.
10009 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10010
6d9f97e1
SP
10011 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10012 their values.
10013 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10015 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10016 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10017
4c4febf5
AJ
100182012-12-28 Andreas Jaeger <aj@suse.de>
10019
af5843ef
AJ
10020 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10021 values are from Linux 3.7.
10022
4c4febf5
AJ
10023 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10024 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10025
99136f82
SP
100262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
2f216c3c 10028 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10029 TRUE case.
10030
99136f82
SP
10031 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10032 (norm): Likewise.
10033 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10034 variables with preprocessor constants.
10035 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10036 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10037 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10038
7fffbdff
BH
100392012-12-27 Bruno Haible <bruno@clisp.org>
10040
10041 [BZ #14317]
10042 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10043 only if needed.
10044
b76eb5f0
SP
100452012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
31a7fe5c
SP
10047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10048 and use variable directly.
10049 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10050
b76eb5f0
SP
10051 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10052 MPONE.
10053 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10055 variable MPONE.
10056 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10058 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10059 include directive. Remove local variable MPONE.
10060 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10063
2c8bfe7d
DM
100642012-12-25 David S. Miller <davem@davemloft.net>
10065
10066 * version.h (RELEASE): Set to "development".
10067 (VERSION): Set to "2.17.90".
10068 * NEWS: Add 2.18 section.
10069
147d03b0
DM
100702012-12-21 David S. Miller <davem@davemloft.net>
10071
10072 * po/hr.po: Update from translation team.
10073
a8ebb2b9
AK
100742012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10075
10076 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10077
95b4f1b6
SE
100782012-12-19 Steve Ellcey <sellcey@mips.com>
10079
b2d94007 10080 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10081
cedb2a90
MS
100822012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10083
10084 * manual/contrib.texi (Contributors): Spelling correction.
10085
bbf527d6
DM
100862012-12-15 David S. Miller <davem@davemloft.net>
10087
10088 * po/ru.po: Update from translation team.
10089
bc38c906
DM
100902012-12-13 David S. Miller <davem@davemloft.net>
10091
85429b1a
DM
10092 * NEWS: Mention IFUNC testsuite enhancements.
10093
d283e353
DM
10094 * po/pl.po: Update from translation team.
10095 * po/bg.po: Likewise.
10096
bc38c906
DM
10097 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10098 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10099
a181b0d7
DM
101002012-12-11 David S. Miller <davem@davemloft.net>
10101
4641d57e
DM
10102 * po/sv.po: Update from translation team.
10103
f7bc6495
DM
10104 * po/vi.po: Update from translation team.
10105
6fc9048f
DM
10106 * po/cs.po: Update from translation team.
10107
a181b0d7
DM
10108 * po/de.po: Update from translation team.
10109 * po/eo.po: Likewise.
10110 * po/nl.po: Likewise.
10111
f70bfe80
SP
101122012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10113
3c8b4190
SP
10114 [BZ #14246]
10115 * manual/argp.texi (Argp Helper Functions): Move node to follow
10116 Argp Parsing State.
10117
f70bfe80
SP
10118 [BZ #14872]
10119 * manual/conf.texi (Limits on File System Capacity): Mention if
10120 terminating null is included in the max size.
10121
188f0adf
AJ
101222012-12-10 Andreas Jaeger <aj@suse.de>
10123
10124 * po/cs.po: Update from translation team.
10125
56e7d3ad
SP
101262012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10127
10128 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10129 void pointer and cast to uintptr_t.
10130 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10131 path.
10132 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10133 * sysdeps/s390/s390-64/memset.S: Likewise.
10134
76f2d2ea 101352012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10136
10137 [BZ #14833]
10138 * menual/message.texi (Message Translation): Fix typos.
10139 (Helper programs for gettext): Likewise.
10140
67cbf9a2
AS
101412012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10142
10143 [BZ #14898]
10144 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10145 Change to -1.
10146
682d0e9a
DM
101472012-12-07 David S. Miller <davem@davemloft.net>
10148
10149 * po/libc.pot: Update.
10150
573cd484
RH
101512012-12-07 Richard Henderson <rth@redhat.com>
10152
7e9da188 10153 [BZ #10114]
573cd484
RH
10154 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10155 normal/normal case to before the switch.
10156 (_FP_DIV): Likewise.
10157
e933a943
MF
101582012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10159 Mike Frysinger <vapier@gentoo.org>
10160
10161 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10162 check for __NR_fadvise64_64.
10163
82123268
CM
101642012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10165
10166 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10167 0, not just to plain "0" as a statement.
10168 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10169 with cw.
10170
d9814526
JM
101712012-12-06 Joseph Myers <joseph@codesourcery.com>
10172
10173 * NEWS: Use sourceware.org in Bugzilla URL.
10174
7728c574
SP
101752012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10176
f16946dd
SP
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10178 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10179
5704bbcb
SP
10180 * stdio-common/tst-put-error.c (do_test): Add newline to the
10181 padded test to ensure flush.
10182
17aa0516
JL
101832012-12-05 Jeff Law <law@redhat.com>
10184
10185 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10186
363313b5
JM
101872012-12-05 Joseph Myers <joseph@codesourcery.com>
10188
effbd42a
JM
10189 * README: Don't refer to ports add-on as distributed separately.
10190 Mention AArch64 in list of systems supported in the ports add-on.
10191
87600365
JM
10192 * LICENSES: Add more non-FSF copyright and license notices.
10193
a0d7066a
JM
10194 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10195 ((unused)).
10196
66ca5a5b
JM
10197 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10198
363313b5
JM
10199 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10200 10000 as width of padded output.
10201
b37984ad
JM
102022012-12-04 Joseph Myers <joseph@codesourcery.com>
10203
9003570a
JM
10204 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10205
b37984ad
JM
10206 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10207 variable LX with __attribute__ ((unused)).
10208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10209 Likewise.
10210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10213 with __attribute__ ((unused)).
10214
c8df52ec
DM
102152012-12-04 David S. Miller <davem@abraco.davemloft.net>
10216
10217 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10218
b3b099af
JM
102192012-12-04 Joseph Myers <joseph@codesourcery.com>
10220
c33aa6e3
JM
10221 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10222 (CFLAGS-nldbl-acos.c): New variable.
10223 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10224 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10225 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10226 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10227 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10228 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10229 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10230 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10231 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10232 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10233 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10234 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10235 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10236 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10237 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10238 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10309 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10310 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10311 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10312 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10313 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10314 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10315 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10316 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10317 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10318 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10319 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10320
20f0018d
JM
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10322 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10323
b3b099af
JM
10324 [BZ #14914]
10325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10326 whole low double instead of just low 47 bits when splitting values
10327 into two parts.
10328
029264d1
AM
103292012-12-03 Allan McRae <allan@archlinux.org>
10330
10331 * manual/stdio.texi (Predefined Printf Handlers): Remove
10332 @hsep and @vsep usage.
10333
c9d6789e
MF
103342012-12-03 Mike Frysinger <vapier@gentoo.org>
10335
10336 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10337 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10338
4b7634a5
JL
103392012-12-03 Jeff Law <law@redhat.com>
10340
10341 * time/sys/time.h (settimeofday): Do not mark TV argument
10342 as __nonnull.
10343
eb6cbd24
MF
103442012-12-01 Mike Frysinger <vapier@gentoo.org>
10345
10346 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10347 when currently writing and seek to current position when not.
10348 * libio/Makefile (tests): Remove bug-fclose1.
10349 * libio/bug-fclose1.c: Delete.
10350
f638872a
JM
103512012-12-01 Joseph Myers <joseph@codesourcery.com>
10352
10353 * manual/arith.texi (feenableexcept): Fix typo.
10354 (fedisableexcept): Likewise.
10355
48085d14
RM
103562012-11-30 Roland McGrath <roland@hack.frob.com>
10357
10358 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10359 second, differently-typed declaration, rather than a cast.
10360
1a538b9f
SP
103612012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10362
10363 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10364 * include/rpc/svc.h: ... here.
10365
d07f2ff1 103662012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10367
10368 [BZ #13013]
10369 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10370 depending n and resplen2 to catch cases where answer
10371 equals answerp2.
10372
c93ec1f0
CD
103732012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10374
10375 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10376 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10377
37db69de
MF
103782012-11-29 Mike Frysinger <vapier@gentoo.org>
10379
10380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10381
e10c4e4f
RM
103822012-11-29 Roland McGrath <roland@hack.frob.com>
10383
10384 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10385
2af1b328
JL
103862012-11-28 Jeff Law <law@redhat.com>
10387
10388 [BZ #13761]
10389 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10390 dataset_temporary. Track alloca usage into alloca_used.
10391 If dataset is large allocate and release it via malloc/free.
10392
111db5b1
FW
103932012-06-04 Florian Weimer <fweimer@redhat.com>
10394
f06cc227 10395 [BZ #14197]
111db5b1
FW
10396 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10397
dd694abd
DM
103982012-11-28 David S. Miller <davem@davemloft.net>
10399
10400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10401
9984dd01
JM
104022012-11-28 Joseph Myers <joseph@codesourcery.com>
10403
10404 [BZ #14803]
10405 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10406 of pi/2 rounded to nearest to 64 bits.
10407 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10408 nearest to 64 bits.
10409 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10410 bits.
10411
14bc93a9
JL
104122012-11-28 Jeff Law <law@redhat.com>
10413 Martin Osvald <mosvald@redhat.com>
10414
10415 [BZ #14889]
10416 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10417 * sunrpc/svc.c: Include time.h.
10418 (__svc_accept_failed): New function.
10419 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10420 any reason other than EINTR, call __svc_accept_failed.
10421 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10422 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10423
e3c6aa3a
AS
104242012-11-28 Andreas Schwab <schwab@suse.de>
10425
10426 * scripts/abilist.awk: Also handle indirect functions in .opd
10427 section.
10428
1bead169
JM
104292012-11-28 Joseph Myers <joseph@codesourcery.com>
10430
10431 [BZ #13881]
10432 * sysdeps/x86/fpu/powl_helper.c: New file.
10433 * sysdeps/x86/fpu/Makefile: Likewise.
10434 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10435 (p3): New object.
10436 (__ieee754_powl): Use __powl_helper for finite arguments except
10437 integer exponents below 8.
10438 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10439 (p3): New object.
10440 (__ieee754_powl): Use __powl_helper for finite arguments except
10441 integer exponents below 8.
10442 * math/libm-test.inc (pow_test): Add more tests and enable some
10443 previously disabled tests.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10446
0817d63d
SP
104472012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10448 Carlos O'Donell <carlos_odonell@mentor.com>
10449
10450 * nss/makedb.c (is_prime): Assert that input is odd and greater
10451 than 4. Note that fact in a comment too.
10452 (next_prime): Add 4 to input.
10453
de2fd463
SP
104542012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
10456 [BZ #11741]
10457 * libio/Makefile (tests): Add test case tst-fwrite-error.
10458 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10459 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10460 * libio/tst-fwrite-error.c: New test case.
10461
c515fb51
L
104622012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10463
10464 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10465 before casting to void *.
10466 * include/libc-internal.h (__pointer_type): New macro.
10467 (__integer_if_pointer_type_sub): Likewise.
10468 (__integer_if_pointer_type): Likewise.
10469 (cast_to_integer): Likewise.
10470 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10471 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10472 before casting to atomic64_t.
10473 (atomic_exchange_acq): Likewise.
10474 (__arch_exchange_and_add_body): Likewise.
10475 (__arch_add_body): Likewise.
10476 (atomic_add_negative): Likewise.
10477 (atomic_add_zero): Likewise.
10478
4cf77aa9
JM
104792012-11-26 Joseph Myers <joseph@codesourcery.com>
10480
10481 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10482 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10483 (add_fdes): Likewise.
10484 (linear_search_fdes): Likewise.
10485 (binary_search_unencoded_fdes): Likewise.
10486
d260b3b4
AS
104872012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10488
10489 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10490
67060746
AC
104912012-11-24 Adam Conrad <adconrad@0c3.net>
10492
10493 * configure.in: Autodetect C++ header directories.
10494 * configure: Regenerated.
10495
800938a1
MF
104962012-11-23 Mike Frysinger <vapier@gentoo.org>
10497
10498 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10499
4e6e34e6
AS
105002012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10501
10502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10503
7c7feb47
JM
105042012-11-22 Joseph Myers <joseph@codesourcery.com>
10505
7184dcdf
JM
10506 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10507 LDBL_MANT_DIG == 106]: Disable some tests.
10508 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10509 Likewise.
10510 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10511 Likewise.
10512
0a42601f
JM
10513 [BZ #14871]
10514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10515 input for small inputs. Return +/- pi/2 for large inputs.
10516 * math/libm-test.inc (atan_test): Add more tests.
10517
79c9b9fe
JM
10518 * sysdeps/generic/unwind-dw2-fde-glibc.c
10519 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10520 __attribute__ ((unused)).
10521
c60d3bf2
JM
10522 [BZ #14645]
10523 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10524 x * y if x and y are nonzero and z is zero.
10525
ef1e0867
JM
10526 [BZ #14811]
10527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10528 nonzero exponents with absolute value below 0x1p-117 to +/-
10529 0x1p-117.
10530
1468ded3
JM
10531 [BZ #14869]
10532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10533 up arguments below 2**-450, not just those below 2**-500.
10534 * math/libm-test.inc (hypot_test): Add another test.
10535
8e27e3cc
JM
10536 [BZ #14868]
10537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10538 Return a+b for ratio over 2**120, not 2**60.
10539 * math/libm-test.inc (hypot_test): Add another test.
10540
c9c0279b
JM
10541 * math/libm-test.inc (clog_test): Use
10542 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10543 (clog10_test): Likewise.
10544
7c7feb47
JM
10545 [BZ #6778]
10546 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10547
fff1530e
AS
105482012-11-22 Andreas Schwab <schwab@suse.de>
10549
10550 * sysdeps/i386/fpu/libm-test-ulps: Update.
10551
94558d30
PT
105522012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10553
10554 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10555 printf output with newline.
10556
7e1be741
L
105572012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10558
6bfea974
L
10559 [BZ #14865]
10560 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10561 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10562 -z nodlopen, -z initfirst and -z execstack support.
10563 * configure: Regenerated.
10564
7e1be741
L
10565 * elf/elf.h (DF_1_NODIRECT): New macro.
10566 (DF_1_IGNMULDEF): Likewise.
10567 (DF_1_NOKSYMS): Likewise.
10568 (DF_1_NOHDR): Likewise.
10569 (DF_1_EDITED): Likewise.
10570 (DF_1_NORELOC): Likewise.
10571 (DF_1_SYMINTPOSE): Likewise.
10572 (DF_1_GLOBAUDIT): Likewise.
10573 (DF_1_SINGLETON): Likewise.
10574 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10575 DT_1_SUPPORTED_MASK bits.
10576 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10577
105ce2ce
CD
105782012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10579
10580 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10581
123be9de
TS
105822012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10583
d072f3f7
TS
10584 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10585 macro.
10586
123be9de
TS
10587 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10588 (sendmmsg): Move declarations...
10589 * socket/sys/socket.h: ... here.
10590 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10591 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10592 include it from...
10593 * socket/recvmmsg.c: ... this new file.
10594 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10595 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10596 definition of __sendmmsg hidden.
10597 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10598 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10599 Move ENOSYS stub into and include it from...
10600 * socket/sendmmsg.c: ... this new file.
10601 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10602 (sysdep_routines): Move recvmmsg and sendmmsg...
10603 * socket/Makefile (routines): ... here.
10604 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10605 (GLIBC_PRIVATE): Add __sendmmsg.
10606 * include/sys/socket.h (__sendmmsg): Add declarations.
10607 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10608 sendmmsg.
10609
cf9a5d18
JM
106102012-11-20 Joseph Myers <joseph@codesourcery.com>
10611
10612 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10613 variable I1 with __attribute__ ((unused)).
10614 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10615
ecd4caf9
JM
106162012-11-19 Joseph Myers <joseph@codesourcery.com>
10617
be14d48f
JM
10618 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10619 DUMMY variables with __attribute__ ((unused)).
10620
ecd4caf9
JM
10621 * bits/byteswap.h: Include <bits/types.h>.
10622 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10623
986cab95
PT
106242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10625
10626 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10627 string_t. Do not manually set errno.
10628 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10629 length with __strnlen. Make sure to both set errno and return it on
10630 failure.
10631
6d33cc9d
DM
106322012-11-19 David S. Miller <davem@davemloft.net>
10633
10634 With help from Joseph Myers.
10635 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10636 very large arguments properly.
10637 * math/libm-test.inc (atan_test): New tests.
10638 (atan2_test): New tests.
10639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10641
ee663277
JM
106422012-11-19 Joseph Myers <joseph@codesourcery.com>
10643
877f2d8e
JM
10644 [BZ #14856]
10645 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10646 Define to 3.
10647
116fc08a
JM
10648 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10649 [POSIX] (EADDRNOTAVAIL): Likewise.
10650 [POSIX] (EAFNOSUPPORT): Likewise.
10651 [POSIX] (EALREADY): Likewise.
10652 [POSIX] (ECONNABORTED): Likewise.
10653 [POSIX] (ECONNREFUSED): Likewise.
10654 [POSIX] (ECONNRESET): Likewise.
10655 [POSIX] (EDESTADDRREQ): Likewise.
10656 [POSIX] (EDQUOT): Likewise.
10657 [POSIX] (EHOSTUNREACH): Likewise.
10658 [POSIX] (EIDRM): Likewise.
10659 [POSIX] (EISCONN): Likewise.
10660 [POSIX] (ELOOP): Likewise.
10661 [POSIX] (EMULTIHOP): Likewise.
10662 [POSIX] (ENETDOWN): Likewise.
10663 [POSIX] (ENETUNREACH): Likewise.
10664 [POSIX] (ENOBUFS): Likewise.
10665 [POSIX] (ENODATA): Likewise.
10666 [POSIX] (ENOLINK): Likewise.
10667 [POSIX] (ENOMSG): Likewise.
10668 [POSIX] (ENOPROTOOPT): Likewise.
10669 [POSIX] (ENOSR): Likewise.
10670 [POSIX] (ENOSTR): Likewise.
10671 [POSIX] (ENOTCONN): Likewise.
10672 [POSIX] (ENOTSOCK): Likewise.
10673 [POSIX] (EOPNOTSUPP): Likewise.
10674 [POSIX] (EOVERFLOW): Likewise.
10675 [POSIX] (EPROTO): Likewise.
10676 [POSIX] (EPROTONOSUPPORT): Likewise.
10677 [POSIX] (EPROTOTYPE): Likewise.
10678 [POSIX] (ESTALE): Likewise.
10679 [POSIX] (ETIME): Likewise.
10680 [POSIX] (ETXTBSY): Likewise.
10681 [POSIX] (EWOULDBLOCK): Likewise.
10682 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10683 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10684 [POSIX] (SEEK_CUR): Likewise.
10685 [POSIX] (SEEK_END): Likewise.
10686 [POSIX || UNIX98] (mode_t): Do not require.
10687 [POSIX] (off_t): Likewise.
10688 [POSIX] (pid_t): Likewise.
10689 [POSIX] (sys/stat.h): Do not allow header.
10690 [POSIX] (unistd.h): Likewise.
10691 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10692 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10693 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10694 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10695 require.
10696 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10697 sigevent): Specify elements.
10698 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10699 entry.
10700 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10701 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10702
a483863f
JM
10703 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10704 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10705 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10706 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10707 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10708 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10709 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10710 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10712 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10713 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10714 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10715 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10717 Likewise.
10718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10719 Likewise.
10720 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10721 Likewise.
10722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10723 Likewise.
10724 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10725 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10726 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10729 Specify lower bound on value.
10730 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10736 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10737 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10738 value.
10739 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10740 as optional.
10741 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10752 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10753 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10754 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10755 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10756 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10757 entry.
10758 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10759 optional.
10760 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10766 Likewise.
10767 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10772 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10773 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10774 as optional.
10775 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10779 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10780 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10781 specify as optional.
10782 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10785 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10786 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10787 [XPG3] (NL_LANGMAX): Likewise.
10788 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10789 [POSIX || XPG3] (NL_NMAX): Likewise.
10790 [POSIX || XPG3] (NL_SETMAX): Likewise.
10791 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10792 [XPG3] (NZERO): Likewise.
10793 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10794 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10795 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10796 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10797 (REG_ERANGE): Expect.
10798 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10799 optional-constant.
10800 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10801 Use (void) in prototype.
10802 [POSIX] (*_t): Allow.
10803 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10804 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10805 (WRDE_BADVAL): Expect.
10806
5ba924e3
JM
10807 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10808 expect.
10809 [XPG3 || XPG4] (O_RSYNC): Likewise.
10810 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10811 Likewise.
10812 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10813 [XPG3 || XPG4] (sigqueue): Likewise.
10814 [XPG3 || XPG4] (sigtimedwait): Likewise.
10815 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10816 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10817 [XPG3 || XPG4] (vsnprintf): Likewise.
10818 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10819 Likewise.
10820 [XPG3 || XPG4] (blksize_t): Likewise.
10821 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10822 Likewise.
10823 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10824 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10825 [XPG3 || XPG4] (struct itimerspec): Likewise.
10826 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10827 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10828 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10829 [XPG3 || XPG4] (clockid_t): Likewise.
10830 [XPG3 || XPG4] (timer_t): Likewise.
10831 [XPG3 || XPG4] (clock_getres): Likewise.
10832 [XPG3 || XPG4] (clock_gettime): Likewise.
10833 [XPG3 || XPG4] (clock_settime): Likewise.
10834 [XPG3 || XPG4] (nanosleep): Likewise.
10835 [XPG3 || XPG4] (timer_create): Likewise.
10836 [XPG3 || XPG4] (timer_delete): Likewise.
10837 [XPG3 || XPG4] (timer_gettime): Likewise.
10838 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10839 [XPG3 || XPG4] (timer_settime): Likewise.
10840 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10841 [XPG3 || XPG4] (getlogin_r): Likewise.
10842 [XPG3 || XPG4] (pread): Likewise.
10843 [XPG3 || XPG4] (pthread_atfork): Likewise.
10844 [XPG3 || XPG4] (pwrite): Likewise.
10845
ee663277
JM
10846 [BZ #14835]
10847 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10848 <bits/siginfo.h>.
10849
942caa16
PT
108502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10851
e19af380
PT
10852 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10853 finalizing MALLSTREAM.
10854
942caa16
PT
10855 * sysdeps/mach/hurd/syncfs.c: New file.
10856
cfde9b46
SP
108572012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
10859 [BZ #14719]
10860 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10861 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10862 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10863 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10864 (_nss_dns_gethostbyname4_r): Likewise.
10865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10866 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10867
f6da27e5
PH
108682012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10869
10870 [BZ #13763]
10871 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10872
6665d4a2
SM
108732012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10874
1f51ee92
SM
10875 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10876 * elf/cache.c (print_entry): Print ",AArch64" for
10877 FLAG_AARCH64_LIB64
10878
6665d4a2
SM
10879 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10880 * elf/cache.c (print_entry): Print ",hard-float" for
10881 FLAG_ARM_LIBHF.
10882
05b227bd
DM
108832012-11-18 David S. Miller <davem@davemloft.net>
10884
10885 With help from Joseph Myers.
10886 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10887 cutoff to 2**-13.
10888 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10889 cutoff to 2**-25.
10890 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10891 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10892 small.
10893 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10894 * math/libm-test.inc (y0_test): New tests.
10895 (y1_test): New tests.
10896 * sysdeps/i386/fpu/libm-test-ulps: Update.
10897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10899
786b0b67
AS
109002012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10901
10902 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10903 64-bit targets.
10904 * configure: Regenerated.
10905
8e18b86d
DM
109062012-11-17 David S. Miller <davem@davemloft.net>
10907
10908 [BZ #14811]
10909 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10910 nonzero exponents with absolute value below 0x1p-128 to +/-
10911 0x1p-128.
10912
531f1ae0
JM
109132012-11-17 Joseph Myers <joseph@codesourcery.com>
10914
12df29e2
JM
10915 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10916
150dc1a0
JM
10917 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10918
531f1ae0
JM
10919 * posix/getconf-speclist.c: New file.
10920 * posix/posix-envs.def: Likewise.
10921 * posix/confstr.c (START_ENV_GROUP): New macro.
10922 (END_ENV_GROUP): Likewise.
10923 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10924 (KNOWN_PRESENT_ENV_STRING): Likewise.
10925 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10926 (UNKNOWN_ENVIRONMENT): Likewise.
10927 (confstr): Include posix-envs.def instead of handling
10928 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10929 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10930 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10931 (END_ENV_GROUP): Likewise.
10932 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10933 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10934 (UNKNOWN_ENVIRONMENT): Likewise.
10935 (__sysconf): Include posix-envs.def instead of handling associated
10936 cases directly here.
10937 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10938 preprocessing getconf-speclist.c rather than running getconf or
10939 generating empty file.
10940
a93f9cbc
PT
109412012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10942
10943 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10944
d64d9f87
AL
109452012-11-16 Andrej Lajovic <natrij@gmail.com>
10946
10947 [BZ #14672]
10948 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10949
447885eb
DM
109502012-11-16 David S. Miller <davem@davemloft.net>
10951
10952 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10953 smaller than LDBL_EPSILON/2.0L, just return xm1.
10954
bcbf9830
L
109552012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10956
10957 * elf/tst-array1.c (init): Set constructor priority to 1000.
10958 (fini): Set destructor priority to 1000.
10959 * elf/tst-array2dep.c: Likewise.
10960
2b766585
SP
109612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10962
10963 [BZ #11741]
10964 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10965 (_IO_new_file_xsputn): Also return EOF if none of the input
10966 data was written when overflow failed.
10967 * libio/iopadn.c (_IO_padn): Likewise.
10968 * libio/iowpadn.c (_IO_wpadn): Likewise.
10969 * stdio-common/tst-put-error.c: Add copyright notice.
10970 (do_test): Add case for printing padded string.
10971 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10972 _IO_padn returned error.
10973 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10974 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10975 return EOF.
10976
b1848fde
SP
109772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10978
10979 * libio/libioP.h: Add comment note that the references to C++
10980 bits are now obsolete.
10981
2fd89785
MS
109822012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10983
10984 * math/libm-test.inc (check_complex): Use asprintf.
10985
e3ea5409
JM
109862012-11-14 Joseph Myers <joseph@codesourcery.com>
10987
10988 * debug/pcprofiledump.c (print_version): Update copyright year.
10989 * malloc/memusagestat.c (print_version): Likewise.
10990
2e64d265
L
109912012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10992
10993 [BZ #14831]
10994 * elf/Makefile (tests): Add tst-audit8.
10995 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10996 ($(objpfx)tst-audit8.out): New target.
10997 (tst-audit8-ENV): New variable.
10998 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10999 audit if l_reloc_result is NULL.
11000 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11001 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11002 * elf/tst-audit8.c: New file.
11003
c485e4d2
MS
110042012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11005
11006 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11007 * misc/Makefile (CFLAGS-select.c): Define.
11008 * posix/Makefile (CFLAGS-pause.c): Define.
11009
3a0d900a
DM
110102012-11-13 David S. Miller <davem@davemloft.net>
11011
11012 * crypt/Makefile: Move test targets after toplevel Rules
11013 inclusion. Grab any necessary sysdep routines when linking.
11014 * crypt/md5.c (md5_process_block): Remove define, we will always
11015 name it __md5_process_block.
11016 (md5_finish_ctx): Update md5_process_block call.
11017 (md5_stream): Likewise.
11018 (md5_process_bytes): Likewise.
11019 (md5_process_block): Rename to __md5_process_block and move to ...
11020 * crypt/md5-block.c: ... here.
11021 * crypt/sha256.c (sha256_process_block): Move to ...
11022 * crypt/sha256-block.c: ... here.
11023 * crypt/sha512.c (sha512_process_block): Move to ...
11024 * crypt/sha512-block.c: ... here.
11025 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11026 path.
11027 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11028 * sysdeps/sparc/sparc64/multiarch/Makefile
11029 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11030 crypt subdir.
11031 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11032 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11033 multiarch changes.
11034 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11035 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11036 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11037 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11038 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11039 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11040 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11041 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11042 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11043 file.
11044 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11046 file.
11047 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11048
8ca89318
JM
110492012-11-13 Joseph Myers <joseph@codesourcery.com>
11050
e27d476a
JM
11051 * timezone/tzselect.ksh: Update from tzcode git revision
11052 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11053 * timezone/zdump.c: Likewise.
11054 * timezone/zic.c: Likewise.
11055 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11056 in TZVERSION setting, not $(PKGVERSION).
11057 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11058 REPORT_BUGS_TO settings.
11059
8ca89318
JM
11060 [BZ #14838]
11061 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11062 macro.
11063
47594329
MS
110642012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11065
11066 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11067 detection to immediately after _FP_ROUND().
11068 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11069 bits are 0.
11070
640ac3f1
DM
110712012-11-11 David S. Miller <davem@davemloft.net>
11072
11073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11074 inttypes.h
11075 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11076 __close rather than their public counterparts.
11077
3d2577bb
JM
110782012-11-10 Joseph Myers <joseph@codesourcery.com>
11079
11080 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11081 file.
11082 [UNIX98] (sem_timedwait): Do not expect.
11083 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11084 [XPG4 || UNIX98] (sockatmark): Do not expect.
11085 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11086 (clock_getcpuclockid): Do not expect.
11087 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11088 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11089 Do not expect.
11090 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11091 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11092 [UNIX98] (vwscanf): Likewise.
11093 [UNIX98] (vswscanf): Likewise.
11094
fb1ae1ee
JM
110952012-11-09 Joseph Myers <joseph@codesourcery.com>
11096
9ec6f8bd
JM
11097 * timezone/version.h: Remove file.
11098 * timezone/README: Do not refer to version.h.
11099 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11100 $(objpfx)version.h.
11101 ($(objpfx)zdump.o): Likewise.
c3f81911 11102 ($(objpfx)version.h): New target.
9ec6f8bd 11103
0aa8f8a1
JM
11104 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11105 2012i.
11106 * timezone/README: Don't mention modification to tzselect.ksh.
11107 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11108 work on unmodified tzselect.ksh. Substitute version numbers in
11109 tzselect.ksh.
11110
4e87147f
JM
11111 * Makefile (format-me): Remove.
11112 (INSTALL): Adjust indentation. Use commands directly instead of
11113 using $(format-me).
11114
8b748aed
JM
11115 * aclocal.m4 (ACX_PKGVERSION): New macro.
11116 (ACX_BUGURL): Likewise.
11117 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11118 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11119 (REPORT_BUGS_TO): Likewise.
11120 * configure: Regenerated.
11121 * config.h.in (PKGVERSION): New macro.
11122 (REPORT_BUGS_TO): Likewise.
11123 * config.make.in (PKGVERSION): New variable.
11124 (PKGVERSION_TEXI): Likewise.
11125 (REPORT_BUGS_TO): Likewise.
11126 (REPORT_BUGS_TEXI): Likewise.
11127 * Makefile (format-me): Use -I$(common-objpfx)manual.
11128 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11129 ($(common-objpfx)manual/%): New target.
11130 (manual/%): Remove target.
11131 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11132 (print_version): Use PKGVERSION.
11133 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11134 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11135 and REPORT_BUGS_TO.
11136 ($(objpfx)xtrace): Likewise.
11137 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11138 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11139 (print_version): Use PKGVERSION.
11140 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11141 (do_version): Use PKGVERSION.
11142 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11143 REPORT_BUGS_TO.
11144 (common-ldd-rewrite): Likewise.
11145 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11146 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11147 (print_version): Use PKGVERSION.
11148 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11149 * elf/pldd.c (argp_program_bug_address): Remove variable.
11150 (more_help): New function.
11151 (argp): Use more_help.
11152 (print_version): Use PKGVERSION.
11153 * elf/sln.c (main): Use PKGVERSION.
11154 (usage): Use REPORT_BUGS_TO.
11155 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11156 (top level): Use PKGVERSION.
11157 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11158 (print_version): Use PKGVERSION.
11159 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11160 (print_version): Use PKGVERSION.
11161 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11162 (print_version): Use PKGVERSION.
11163 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11164 (print_version): Use PKGVERSION.
11165 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11166 (print_version): Use PKGVERSION.
11167 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11168 (print_version): Use PKGVERSION.
11169 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11170 and BUGURL.
11171 ($(objpfx)memusage): Likewise.
11172 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11173 (do_version): Use PKGVERSION.
11174 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11175 (print_version): Use PKGVERSION.
11176 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11177 ($PKGVERSION): New variable.
11178 ($REPORT_BUGS_TO): Likewise.
11179 (usage): Use $REPORT_BUGS_TO.
11180 (top level): Use $PKGVERSION.
11181 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11182 ($(objpfx)pkgvers.texi): New rule.
11183 ($(objpfx)stamp-pkgvers): Likewise.
11184 * manual/install.texi: Include pkgvers.texi.
11185 (--with-pkgversion): Document new configure option.
11186 (--with-bugurl): Likewise.
11187 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11188 than necessarily for this particular distribution. Use
11189 REPORT_BUGS_TO for where to report bugs.
11190 * INSTALL: Regenerated.
11191 * manual/libc.texinfo: Include pkgvers.texi.
11192 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11193 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11194 (print_version): Use PKGVERSION.
11195 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11196 (print_version): Use PKGVERSION.
11197 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11198 (print_version): Use PKGVERSION.
11199 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11200 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11201 macro.
11202 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11203 (print_version): Use PKGVERSION.
11204 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11205 (print_version): Use PKGVERSION.
11206 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11207 and PKGVERSION.
11208
92e4b6a9
JM
11209 * timezone/checktab.awk: Update from tzcode 2012i.
11210 * timezone/ialloc.c: Likewise.
11211 * timezone/private.h: Likewise.
11212 * timezone/scheck.c: Likewise.
11213 * timezone/tzfile.h: Likewise.
11214 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11215 (TZVERSION): Hardcode tzcode version number.
11216 * timezone/zdump.c: Update from tzcode 2012i.
11217 * timezone/zic.c: Likewise.
11218 * timezone/version.h: New file.
11219 * timezone/README: Describe version.h. Update upstream location.
11220
9bde902c
JM
11221 [BZ #14824]
11222 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11223 (mktemp): Enable declaration.
11224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11228 Likewise.
11229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11230 Likewise.
11231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11232 Likewise.
11233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11234 Likewise.
11235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11236 Likewise.
11237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11238 Likewise.
11239
fb1ae1ee
JM
11240 [BZ #14821]
11241 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11242 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11243 for copies of such integer values.
11244 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11245 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11246
2c1adbcb
AJ
112472012-11-09 Andreas Jaeger <aj@suse.de>
11248
11249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11250 definitions and declarations that are provided by
11251 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11252
d0f8457e
AK
112532012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11254
3a235abb 11255 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11256 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11257 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11258 definition.
11259
57241e26
MS
112602012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11261
11262 * elf/elf.h: Update comment before AArch64 relocations.
11263
60e8270d
DM
112642012-11-07 David S. Miller <davem@davemloft.net>
11265
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11267 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11268 (__start_context): Declare.
11269 (__makecontext_ret): Delete.
11270 (__makecontext): Hook up __start_context instead of
11271 __makecontext_ret.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11273 (sysdep_routines): Add __start_context when in stdlib.
11274
0fbb0fbc
JM
112752012-11-07 Joseph Myers <joseph@codesourcery.com>
11276
11277 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11278 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11279 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11280 hardcoded "nm".
11281 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11282 (READELF): New variable. Use it instead of hardcoded "readelf".
11283
eb48db7e
L
112842012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11285
11286 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11287 * sysdeps/x86/Makefile: Here.
11288 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11289 * sysdeps/x86/tst-xmmymm.sh: This.
11290
05bcf62a
JM
112912012-11-07 Joseph Myers <joseph@codesourcery.com>
11292
c4b6cf53
JM
11293 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11294 expectations.
11295 [UNIX98] (pthread_barrier_t): Do not expect.
11296 [UNIX98] (pthread_barrierattr_t): Likewise.
11297 [UNIX98] (pthread_spinlock_t): Likewise.
11298 [UNIX98] (pthread_barrier_destroy): Likewise.
11299 [UNIX98] (pthread_barrier_init): Likewise.
11300 [UNIX98] (pthread_barrier_wait): Likewise.
11301 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11302 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11303 [UNIX98] (pthread_barrierattr_init): Likewise.
11304 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11305 [UNIX98] (pthread_getcpuclockid): Likewise.
11306 [UNIX98] (pthread_mutex_timedlock): Likewise.
11307 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11308 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11309 [UNIX98] (pthread_sigmask): Likewise.
11310 [UNIX98] (pthread_spin_destroy): Likewise.
11311 [UNIX98] (pthread_spin_init): Likewise.
11312 [UNIX98] (pthread_spin_lock): Likewise.
11313 [UNIX98] (pthread_spin_trylock): Likewise.
11314 [UNIX98] (pthread_spin_unlock): Likewise.
11315 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11316 Do not expect.
11317 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11319 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11320 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11321 [XPG3 || XPG4] (pthread_key_t): Likewise.
11322 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11323 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11324 [XPG3 || XPG4] (pthread_once_t): Likewise.
11325 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11326 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11328 [XPG3 || XPG4] (pthread_t): Likewise.
11329
cbe6e120
JM
11330 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11331 not expect.
11332 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11333
1b126443
JM
11334 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11335 Change function return type to int.
11336
b961a573
JM
11337 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11338 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11339 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11340 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11341 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11342 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11343 [!POSIX] (posix_madvise): Likewise.
11344 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11345 && !UNIX98].
11346 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11347 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11348 (mode_t): Likewise.
11349 (posix_mem_offset): Likewise.
11350 (posix_typed_mem_get_info): Likewise.
11351 (posix_typed_mem_open): Likewise.
11352
9e188909
JM
11353 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11354 Change condition to [XOPEN2K8].
11355
05bcf62a
JM
11356 * conform/conformtest.pl: Preprocess allow-header data with -x c
11357 instead of from stdin.
11358 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11359 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11360 [C99-based standards] (cerfc): Likewise.
11361 [C99-based standards] (cexp2): Likewise.
11362 [C99-based standards] (cexpm1): Likewise.
11363 [C99-based standards] (clog10): Likewise.
11364 [C99-based standards] (clog1p): Likewise.
11365 [C99-based standards] (clog2): Likewise.
11366 [C99-based standards] (clgamma): Likewise.
11367 [C99-based standards] (ctgamma): Likewise.
11368 [C99-based standards] (cerff): Likewise.
11369 [C99-based standards] (cerfcf): Likewise.
11370 [C99-based standards] (cexp2f): Likewise.
11371 [C99-based standards] (cexpm1f): Likewise.
11372 [C99-based standards] (clog10f): Likewise.
11373 [C99-based standards] (clog1pf): Likewise.
11374 [C99-based standards] (clog2f): Likewise.
11375 [C99-based standards] (clgammaf): Likewise.
11376 [C99-based standards] (ctgammaf): Likewise.
11377 [C99-based standards] (cerfl): Likewise.
11378 [C99-based standards] (cerfcl): Likewise.
11379 [C99-based standards] (cexp2l): Likewise.
11380 [C99-based standards] (cexpm1l): Likewise.
11381 [C99-based standards] (clog10l): Likewise.
11382 [C99-based standards] (clog1pl): Likewise.
11383 [C99-based standards] (clog2l): Likewise.
11384 [C99-based standards] (clgammal): Likewise.
11385 [C99-based standards] (ctgammal): Likewise.
11386 * conform/data/inttypes.h-data [C99-based standards]: Include
11387 stdint.h-data. Remove all expectations for stdint.h contents.
11388 [C99-based standards] (PRI*): Do not allow.
11389 [C99-based standards] (SCN*): Likewise.
11390 [C99-based standards] (*_t): Likewise.
11391 [C99-based-standards] (PRId8): Expect macro.
11392 [C99-based-standards] (PRIi8): Likewise.
11393 [C99-based-standards] (PRIo8): Likewise.
11394 [C99-based-standards] (PRIu8): Likewise.
11395 [C99-based-standards] (PRIx8): Likewise.
11396 [C99-based-standards] (PRIX8): Likewise.
11397 [C99-based-standards] (SCNd8): Likewise.
11398 [C99-based-standards] (SCNi8): Likewise.
11399 [C99-based-standards] (SCNo8): Likewise.
11400 [C99-based-standards] (SCNu8): Likewise.
11401 [C99-based-standards] (SCNx8): Likewise.
11402 [C99-based-standards] (PRIdLEAST8): Likewise.
11403 [C99-based-standards] (PRIiLEAST8): Likewise.
11404 [C99-based-standards] (PRIoLEAST8): Likewise.
11405 [C99-based-standards] (PRIuLEAST8): Likewise.
11406 [C99-based-standards] (PRIxLEAST8): Likewise.
11407 [C99-based-standards] (PRIXLEAST8): Likewise.
11408 [C99-based-standards] (SCNdLEAST8): Likewise.
11409 [C99-based-standards] (SCNiLEAST8): Likewise.
11410 [C99-based-standards] (SCNoLEAST8): Likewise.
11411 [C99-based-standards] (SCNuLEAST8): Likewise.
11412 [C99-based-standards] (SCNxLEAST8): Likewise.
11413 [C99-based-standards] (PRIdFAST8): Likewise.
11414 [C99-based-standards] (PRIiFAST8): Likewise.
11415 [C99-based-standards] (PRIoFAST8): Likewise.
11416 [C99-based-standards] (PRIuFAST8): Likewise.
11417 [C99-based-standards] (PRIxFAST8): Likewise.
11418 [C99-based-standards] (PRIXFAST8): Likewise.
11419 [C99-based-standards] (SCNdFAST8): Likewise.
11420 [C99-based-standards] (SCNiFAST8): Likewise.
11421 [C99-based-standards] (SCNoFAST8): Likewise.
11422 [C99-based-standards] (SCNuFAST8): Likewise.
11423 [C99-based-standards] (SCNxFAST8): Likewise.
11424 [C99-based-standards] (PRId16): Likewise.
11425 [C99-based-standards] (PRIi16): Likewise.
11426 [C99-based-standards] (PRIo16): Likewise.
11427 [C99-based-standards] (PRIu16): Likewise.
11428 [C99-based-standards] (PRIx16): Likewise.
11429 [C99-based-standards] (PRIX16): Likewise.
11430 [C99-based-standards] (SCNd16): Likewise.
11431 [C99-based-standards] (SCNi16): Likewise.
11432 [C99-based-standards] (SCNo16): Likewise.
11433 [C99-based-standards] (SCNu16): Likewise.
11434 [C99-based-standards] (SCNx16): Likewise.
11435 [C99-based-standards] (PRIdLEAST16): Likewise.
11436 [C99-based-standards] (PRIiLEAST16): Likewise.
11437 [C99-based-standards] (PRIoLEAST16): Likewise.
11438 [C99-based-standards] (PRIuLEAST16): Likewise.
11439 [C99-based-standards] (PRIxLEAST16): Likewise.
11440 [C99-based-standards] (PRIXLEAST16): Likewise.
11441 [C99-based-standards] (SCNdLEAST16): Likewise.
11442 [C99-based-standards] (SCNiLEAST16): Likewise.
11443 [C99-based-standards] (SCNoLEAST16): Likewise.
11444 [C99-based-standards] (SCNuLEAST16): Likewise.
11445 [C99-based-standards] (SCNxLEAST16): Likewise.
11446 [C99-based-standards] (PRIdFAST16): Likewise.
11447 [C99-based-standards] (PRIiFAST16): Likewise.
11448 [C99-based-standards] (PRIoFAST16): Likewise.
11449 [C99-based-standards] (PRIuFAST16): Likewise.
11450 [C99-based-standards] (PRIxFAST16): Likewise.
11451 [C99-based-standards] (PRIXFAST16): Likewise.
11452 [C99-based-standards] (SCNdFAST16): Likewise.
11453 [C99-based-standards] (SCNiFAST16): Likewise.
11454 [C99-based-standards] (SCNoFAST16): Likewise.
11455 [C99-based-standards] (SCNuFAST16): Likewise.
11456 [C99-based-standards] (SCNxFAST16): Likewise.
11457 [C99-based-standards] (PRId32): Likewise.
11458 [C99-based-standards] (PRIi32): Likewise.
11459 [C99-based-standards] (PRIo32): Likewise.
11460 [C99-based-standards] (PRIu32): Likewise.
11461 [C99-based-standards] (PRIx32): Likewise.
11462 [C99-based-standards] (PRIX32): Likewise.
11463 [C99-based-standards] (SCNd32): Likewise.
11464 [C99-based-standards] (SCNi32): Likewise.
11465 [C99-based-standards] (SCNo32): Likewise.
11466 [C99-based-standards] (SCNu32): Likewise.
11467 [C99-based-standards] (SCNx32): Likewise.
11468 [C99-based-standards] (PRIdLEAST32): Likewise.
11469 [C99-based-standards] (PRIiLEAST32): Likewise.
11470 [C99-based-standards] (PRIoLEAST32): Likewise.
11471 [C99-based-standards] (PRIuLEAST32): Likewise.
11472 [C99-based-standards] (PRIxLEAST32): Likewise.
11473 [C99-based-standards] (PRIXLEAST32): Likewise.
11474 [C99-based-standards] (SCNdLEAST32): Likewise.
11475 [C99-based-standards] (SCNiLEAST32): Likewise.
11476 [C99-based-standards] (SCNoLEAST32): Likewise.
11477 [C99-based-standards] (SCNuLEAST32): Likewise.
11478 [C99-based-standards] (SCNxLEAST32): Likewise.
11479 [C99-based-standards] (PRIdFAST32): Likewise.
11480 [C99-based-standards] (PRIiFAST32): Likewise.
11481 [C99-based-standards] (PRIoFAST32): Likewise.
11482 [C99-based-standards] (PRIuFAST32): Likewise.
11483 [C99-based-standards] (PRIxFAST32): Likewise.
11484 [C99-based-standards] (PRIXFAST32): Likewise.
11485 [C99-based-standards] (SCNdFAST32): Likewise.
11486 [C99-based-standards] (SCNiFAST32): Likewise.
11487 [C99-based-standards] (SCNoFAST32): Likewise.
11488 [C99-based-standards] (SCNuFAST32): Likewise.
11489 [C99-based-standards] (SCNxFAST32): Likewise.
11490 [C99-based-standards] (PRId64): Likewise.
11491 [C99-based-standards] (PRIi64): Likewise.
11492 [C99-based-standards] (PRIo64): Likewise.
11493 [C99-based-standards] (PRIu64): Likewise.
11494 [C99-based-standards] (PRIx64): Likewise.
11495 [C99-based-standards] (PRIX64): Likewise.
11496 [C99-based-standards] (SCNd64): Likewise.
11497 [C99-based-standards] (SCNi64): Likewise.
11498 [C99-based-standards] (SCNo64): Likewise.
11499 [C99-based-standards] (SCNu64): Likewise.
11500 [C99-based-standards] (SCNx64): Likewise.
11501 [C99-based-standards] (PRIdLEAST64): Likewise.
11502 [C99-based-standards] (PRIiLEAST64): Likewise.
11503 [C99-based-standards] (PRIoLEAST64): Likewise.
11504 [C99-based-standards] (PRIuLEAST64): Likewise.
11505 [C99-based-standards] (PRIxLEAST64): Likewise.
11506 [C99-based-standards] (PRIXLEAST64): Likewise.
11507 [C99-based-standards] (SCNdLEAST64): Likewise.
11508 [C99-based-standards] (SCNiLEAST64): Likewise.
11509 [C99-based-standards] (SCNoLEAST64): Likewise.
11510 [C99-based-standards] (SCNuLEAST64): Likewise.
11511 [C99-based-standards] (SCNxLEAST64): Likewise.
11512 [C99-based-standards] (PRIdFAST64): Likewise.
11513 [C99-based-standards] (PRIiFAST64): Likewise.
11514 [C99-based-standards] (PRIoFAST64): Likewise.
11515 [C99-based-standards] (PRIuFAST64): Likewise.
11516 [C99-based-standards] (PRIxFAST64): Likewise.
11517 [C99-based-standards] (PRIXFAST64): Likewise.
11518 [C99-based-standards] (SCNdFAST64): Likewise.
11519 [C99-based-standards] (SCNiFAST64): Likewise.
11520 [C99-based-standards] (SCNoFAST64): Likewise.
11521 [C99-based-standards] (SCNuFAST64): Likewise.
11522 [C99-based-standards] (SCNxFAST64): Likewise.
11523 [C99-based-standards] (PRIdMAX): Likewise.
11524 [C99-based-standards] (PRIiMAX): Likewise.
11525 [C99-based-standards] (PRIoMAX): Likewise.
11526 [C99-based-standards] (PRIuMAX): Likewise.
11527 [C99-based-standards] (PRIxMAX): Likewise.
11528 [C99-based-standards] (PRIXMAX): Likewise.
11529 [C99-based-standards] (SCNdMAX): Likewise.
11530 [C99-based-standards] (SCNiMAX): Likewise.
11531 [C99-based-standards] (SCNoMAX): Likewise.
11532 [C99-based-standards] (SCNuMAX): Likewise.
11533 [C99-based-standards] (SCNxMAX): Likewise.
11534 [C99-based-standards] (PRIdPTR): Likewise.
11535 [C99-based-standards] (PRIiPTR): Likewise.
11536 [C99-based-standards] (PRIoPTR): Likewise.
11537 [C99-based-standards] (PRIuPTR): Likewise.
11538 [C99-based-standards] (PRIxPTR): Likewise.
11539 [C99-based-standards] (PRIXPTR): Likewise.
11540 [C99-based-standards] (SCNdPTR): Likewise.
11541 [C99-based-standards] (SCNiPTR): Likewise.
11542 [C99-based-standards] (SCNoPTR): Likewise.
11543 [C99-based-standards] (SCNuPTR): Likewise.
11544 [C99-based-standards] (SCNxPTR): Likewise.
11545 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11546 allow.
11547 * conform/data/stdint.h-data: Update comments to clarify
11548 requirements.
11549 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11550 type.
11551 [C99-based standards] (INT8_MAX): Likewise.
11552 [C99-based standards] (INT16_MIN): Likewise.
11553 [C99-based standards] (INT16_MAX): Likewise.
11554 [C99-based standards] (INT32_MIN): Likewise.
11555 [C99-based standards] (INT32_MAX): Likewise.
11556 [C99-based standards] (INT64_MIN): Likewise.
11557 [C99-based standards] (INT64_MAX): Likewise.
11558 [C99-based standards] (UINT8_MAX): Likewise.
11559 [C99-based standards] (UINT16_MAX): Likewise.
11560 [C99-based standards] (UINT32_MAX): Likewise.
11561 [C99-based standards] (UINT64_MAX): Likewise.
11562 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11563 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11564 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11565 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11566 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11567 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11568 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11569 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11570 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11571 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11572 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11573 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11574 [C99-based standards] (INT_FAST8_MIN): Likewise.
11575 [C99-based standards] (INT_FAST8_MAX): Likewise.
11576 [C99-based standards] (INT_FAST16_MIN): Likewise.
11577 [C99-based standards] (INT_FAST16_MAX): Likewise.
11578 [C99-based standards] (INT_FAST32_MIN): Likewise.
11579 [C99-based standards] (INT_FAST32_MAX): Likewise.
11580 [C99-based standards] (INT_FAST64_MIN): Likewise.
11581 [C99-based standards] (INT_FAST64_MAX): Likewise.
11582 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11583 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11584 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11585 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11586 [C99-based standards] (INTPTR_MIN): Likewise.
11587 [C99-based standards] (INTPTR_MAX): Likewise.
11588 [C99-based standards] (UINTPTR_MAX): Likewise.
11589 [C99-based standards] (INTMAX_MIN): Likewise.
11590 [C99-based standards] (INTMAX_MAX): Likewise.
11591 [C99-based standards] (UINTMAX_MAX): Likewise.
11592 [C99-based standards] (PTRDIFF_MIN): Likewise.
11593 [C99-based standards] (PTRDIFF_MAX): Likewise.
11594 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11595 [C99-based standards] (SIZE_MAX): Likewise.
11596 [C99-based standards] (WCHAR_MAX): Likewise.
11597 [C99-based standards] (WINT_MAX): Likewise.
11598 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11599 constraint on value.
11600 [C99-based standards] (WCHAR_MIN): Likewise.
11601 [C99-based standards] (WINT_MIN): Likewise.
11602 [C99-based standards] (*_t): Allow.
11603 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11604 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11605 Include math.h-data and complex.h-data. Remove all expectations
11606 of math.h and complex.h contents.
11607 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11608 at end of line.
11609 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11610 (struct tm): Expect tag.
11611 [C99-based-standards] (wcstof): Expect function.
11612 [C99-based-standards] (wcstold): Likewise.
11613 [C99-based-standards] (wcstoll): Likewise.
11614 [C99-based-standards] (wcstoull): Likewise.
11615 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11616 macro-int-constant. Specify type.
11617 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11618 constraint on value.
11619 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11620 Specify type.
11621 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11622 Specify value.
11623 [ISO C standards]: Do not allow headers.
11624 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11625 wcs[abcdefghijklmnopqrstuvwxyz]*.
11626 [ISO C standards] (*_t): Do not allow.
11627 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11628 Expect function.
11629 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11630 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11631 Specify type.
11632 [ISO C standards]: Do not allow headers.
11633 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11634 is[abcdefghijklmnopqrstuvwxyz]*.
11635 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11636 to[abcdefghijklmnopqrstuvwxyz]*.
11637 [ISO C standards] (*_t): Do not allow.
11638 * conform/data/stdalign.h-data: New file.
11639 * conform/data/stdbool.h-data: Likewise.
11640 * conform/data/stdnoreturn.h-data: Likewise.
11641
7514feb8
RM
116422012-11-07 Roland McGrath <roland@hack.frob.com>
11643
11644 [BZ #14815]
11645 * manual/filesys.texi (Directory Entries): Typo fix.
11646 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11647
19b2ecfc
MS
116482012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11649
11650 * elf/elf.h (EM_AARCH64): New macro.
11651 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11652 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11653 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11654 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11655 (R_AARCH64_TLSDESC): Likewise.
11656 (NT_ARM_TLS): Likewise.
11657 (NT_ARM_HW_BREAK): Likewise.
11658 (NT_ARM_HW_WATCH): Likewise.
11659
60e235ee
JM
116602012-11-07 Joseph Myers <joseph@codesourcery.com>
11661
11662 [BZ #14811]
11663 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11664 (__ieee754_powl): Saturate nonzero exponents with absolute value
11665 below 0x1p-79 to +/- 0x1p-79.
11666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11667 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11668 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11669 nonzero exponents with absolute value below 0x1p-32 to +/-
11670 0x1p-32.
11671 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11672 (__ieee754_powl): Saturate nonzero exponents with absolute value
11673 below 0x1p-79 to +/- 0x1p-79.
11674 * math/libm-test.inc (pow_test): Add more tests.
11675
0ab234b7
AK
116762012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11677
11678 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11679 _dl_s390_cap_flags with kernel. Increase string length.
11680 (_dl_s390_platforms): Add z196 and zEC12.
11681
45832f74
JM
116822012-11-07 Joseph Myers <joseph@codesourcery.com>
11683
11684 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11685 Change XOPEN21K to XOPEN2K.
11686
19218757
MK
116872012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11688
11689 * string/memmove.c: Use memcpy when possible.
11690
c5f45721
AJ
116912012-11-06 Andreas Jaeger <aj@suse.de>
11692
11693 * po/eo.po: Update from translation team.
11694
82477c28
JM
116952012-11-06 Joseph Myers <joseph@codesourcery.com>
11696
11697 [BZ #14793]
11698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11699 exponent and small x and y exponents, scale x or y up. Increase
11700 by 2 the exponent used in scaling up.
11701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11703 * math/libm-test.inc (fma_test): Add more tests.
11704 (fma_test_towardzero): Likewise.
11705 (fma_test_downward): Likewise.
11706 (fma_test_upward): Likewise.
11707
99252c8c
JM
117082012-11-05 Joseph Myers <joseph@codesourcery.com>
11709
acfa885f
JM
11710 [BZ #14805]
11711 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11712 fenv_t *.
11713
99252c8c
JM
11714 [BZ #14801]
11715 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11716 namespace for names of struct fields.
11717 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11718 fenv_t fields.
11719 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11720 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11721
d6d98dea
ST
117222012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11723
11724 [BZ #3665]
11725 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11726
e10bb107
TS
117272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11728
11729 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11730 PTR_DEMANGLE.
11731
11732 [BZ #5246]
11733 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11734 PTR_DEMANGLE.
11735
a0c2940d
JM
117362012-11-04 Joseph Myers <joseph@codesourcery.com>
11737
11738 [BZ #14797]
11739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11740 definitely overflow as x * y not x * y + z.
11741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11743 * math/libm-test.inc (fma_test): Add more tests.
11744 (fma_test_towardzero): Likewise.
11745 (fma_test_downward): Likewise.
11746 (fma_test_upward): Likewise.
11747
b830319d
TS
117482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11749
11750 [BZ #157]
11751
11752 * include/stub-tag.h: Remove file.
11753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11754 '#include' of it.
11755 * manual/maint.texi (Porting): Don't reference it.
11756 * Makerules ($(objpfx)stubs): Likewise.
11757 * dirent/closedir.c: Don't include <stub-tag.h>.
11758 * dirent/dirfd.c: Likewise.
11759 * dirent/fdopendir.c: Likewise.
11760 * dirent/getdents.c: Likewise.
11761 * dirent/getdents64.c: Likewise.
11762 * dirent/opendir.c: Likewise.
11763 * dirent/readdir.c: Likewise.
11764 * dirent/readdir64.c: Likewise.
11765 * dirent/readdir64_r.c: Likewise.
11766 * dirent/readdir_r.c: Likewise.
11767 * dirent/rewinddir.c: Likewise.
11768 * dirent/seekdir.c: Likewise.
11769 * dirent/telldir.c: Likewise.
11770 * gmon/profil.c: Likewise.
11771 * grp/setgroups.c: Likewise.
11772 * inet/if_index.c: Likewise.
11773 * io/access.c: Likewise.
11774 * io/chdir.c: Likewise.
11775 * io/chmod.c: Likewise.
11776 * io/chown.c: Likewise.
11777 * io/close.c: Likewise.
11778 * io/dup.c: Likewise.
11779 * io/dup2.c: Likewise.
11780 * io/dup3.c: Likewise.
11781 * io/euidaccess.c: Likewise.
11782 * io/faccessat.c: Likewise.
11783 * io/fchdir.c: Likewise.
11784 * io/fchmod.c: Likewise.
11785 * io/fchmodat.c: Likewise.
11786 * io/fchown.c: Likewise.
11787 * io/fchownat.c: Likewise.
11788 * io/fcntl.c: Likewise.
11789 * io/flock.c: Likewise.
11790 * io/fstatfs.c: Likewise.
11791 * io/fstatfs64.c: Likewise.
11792 * io/fstatvfs.c: Likewise.
11793 * io/fstatvfs64.c: Likewise.
11794 * io/futimens.c: Likewise.
11795 * io/fxstat.c: Likewise.
11796 * io/fxstat64.c: Likewise.
11797 * io/fxstatat.c: Likewise.
11798 * io/fxstatat64.c: Likewise.
11799 * io/getcwd.c: Likewise.
11800 * io/isatty.c: Likewise.
11801 * io/lchmod.c: Likewise.
11802 * io/lchown.c: Likewise.
11803 * io/link.c: Likewise.
11804 * io/linkat.c: Likewise.
11805 * io/lseek.c: Likewise.
11806 * io/lseek64.c: Likewise.
11807 * io/lxstat64.c: Likewise.
11808 * io/mkdir.c: Likewise.
11809 * io/mkdirat.c: Likewise.
11810 * io/mkfifo.c: Likewise.
11811 * io/mkfifoat.c: Likewise.
11812 * io/open.c: Likewise.
11813 * io/open64.c: Likewise.
11814 * io/openat.c: Likewise.
11815 * io/openat64.c: Likewise.
11816 * io/pipe.c: Likewise.
11817 * io/pipe2.c: Likewise.
11818 * io/poll.c: Likewise.
11819 * io/posix_fadvise.c: Likewise.
11820 * io/posix_fadvise64.c: Likewise.
11821 * io/posix_fallocate.c: Likewise.
11822 * io/posix_fallocate64.c: Likewise.
11823 * io/read.c: Likewise.
11824 * io/readlink.c: Likewise.
11825 * io/readlinkat.c: Likewise.
11826 * io/rmdir.c: Likewise.
11827 * io/sendfile.c: Likewise.
11828 * io/sendfile64.c: Likewise.
11829 * io/statfs.c: Likewise.
11830 * io/statfs64.c: Likewise.
11831 * io/statvfs.c: Likewise.
11832 * io/statvfs64.c: Likewise.
11833 * io/symlink.c: Likewise.
11834 * io/symlinkat.c: Likewise.
11835 * io/ttyname.c: Likewise.
11836 * io/ttyname_r.c: Likewise.
11837 * io/umask.c: Likewise.
11838 * io/unlink.c: Likewise.
11839 * io/unlinkat.c: Likewise.
11840 * io/utime.c: Likewise.
11841 * io/utimensat.c: Likewise.
11842 * io/write.c: Likewise.
11843 * io/xmknod.c: Likewise.
11844 * io/xmknodat.c: Likewise.
11845 * io/xstat.c: Likewise.
11846 * io/xstat64.c: Likewise.
11847 * login/getpt.c: Likewise.
11848 * login/grantpt.c: Likewise.
11849 * login/unlockpt.c: Likewise.
11850 * math/e_acoshl.c: Likewise.
11851 * math/e_acosl.c: Likewise.
11852 * math/e_asinl.c: Likewise.
11853 * math/e_atan2l.c: Likewise.
11854 * math/e_atanhl.c: Likewise.
11855 * math/e_coshl.c: Likewise.
11856 * math/e_expl.c: Likewise.
11857 * math/e_fmodl.c: Likewise.
11858 * math/e_gammal_r.c: Likewise.
11859 * math/e_hypotl.c: Likewise.
11860 * math/e_j0l.c: Likewise.
11861 * math/e_j1l.c: Likewise.
11862 * math/e_jnl.c: Likewise.
11863 * math/e_lgammal_r.c: Likewise.
11864 * math/e_log10l.c: Likewise.
11865 * math/e_log2l.c: Likewise.
11866 * math/e_logl.c: Likewise.
11867 * math/e_powl.c: Likewise.
11868 * math/e_rem_pio2l.c: Likewise.
11869 * math/e_sinhl.c: Likewise.
11870 * math/e_sqrtl.c: Likewise.
11871 * math/fclrexcpt.c: Likewise.
11872 * math/fedisblxcpt.c: Likewise.
11873 * math/feenablxcpt.c: Likewise.
11874 * math/fegetenv.c: Likewise.
11875 * math/fegetexcept.c: Likewise.
11876 * math/fegetround.c: Likewise.
11877 * math/feholdexcpt.c: Likewise.
11878 * math/fesetenv.c: Likewise.
11879 * math/fesetround.c: Likewise.
11880 * math/feupdateenv.c: Likewise.
11881 * math/fgetexcptflg.c: Likewise.
11882 * math/fraiseexcpt.c: Likewise.
11883 * math/fsetexcptflg.c: Likewise.
11884 * math/ftestexcept.c: Likewise.
11885 * math/k_cosl.c: Likewise.
11886 * math/k_rem_pio2l.c: Likewise.
11887 * math/k_sinl.c: Likewise.
11888 * math/k_tanl.c: Likewise.
11889 * math/s_asinhl.c: Likewise.
11890 * math/s_atanl.c: Likewise.
11891 * math/s_cbrtl.c: Likewise.
11892 * math/s_erfl.c: Likewise.
11893 * math/s_expm1l.c: Likewise.
11894 * math/s_log1pl.c: Likewise.
11895 * math/s_tanhl.c: Likewise.
11896 * misc/acct.c: Likewise.
11897 * misc/brk.c: Likewise.
11898 * misc/chflags.c: Likewise.
11899 * misc/chroot.c: Likewise.
11900 * misc/fchflags.c: Likewise.
11901 * misc/fgetxattr.c: Likewise.
11902 * misc/flistxattr.c: Likewise.
11903 * misc/fremovexattr.c: Likewise.
11904 * misc/fsetxattr.c: Likewise.
11905 * misc/fsync.c: Likewise.
11906 * misc/ftruncate.c: Likewise.
11907 * misc/futimes.c: Likewise.
11908 * misc/futimesat.c: Likewise.
11909 * misc/getdomain.c: Likewise.
11910 * misc/getdtsz.c: Likewise.
11911 * misc/gethostid.c: Likewise.
11912 * misc/gethostname.c: Likewise.
11913 * misc/getloadavg.c: Likewise.
11914 * misc/getpagesize.c: Likewise.
11915 * misc/getsysstats.c: Likewise.
11916 * misc/getxattr.c: Likewise.
11917 * misc/gtty.c: Likewise.
11918 * misc/ioctl.c: Likewise.
11919 * misc/lgetxattr.c: Likewise.
11920 * misc/listxattr.c: Likewise.
11921 * misc/llistxattr.c: Likewise.
11922 * misc/lremovexattr.c: Likewise.
11923 * misc/lsetxattr.c: Likewise.
11924 * misc/lutimes.c: Likewise.
11925 * misc/madvise.c: Likewise.
11926 * misc/mincore.c: Likewise.
11927 * misc/mlock.c: Likewise.
11928 * misc/mlockall.c: Likewise.
11929 * misc/mmap.c: Likewise.
11930 * misc/mprotect.c: Likewise.
11931 * misc/msync.c: Likewise.
11932 * misc/munlock.c: Likewise.
11933 * misc/munlockall.c: Likewise.
11934 * misc/munmap.c: Likewise.
11935 * misc/preadv.c: Likewise.
11936 * misc/preadv64.c: Likewise.
11937 * misc/ptrace.c: Likewise.
11938 * misc/pwritev.c: Likewise.
11939 * misc/pwritev64.c: Likewise.
11940 * misc/readv.c: Likewise.
11941 * misc/reboot.c: Likewise.
11942 * misc/remap_file_pages.c: Likewise.
11943 * misc/removexattr.c: Likewise.
11944 * misc/revoke.c: Likewise.
11945 * misc/select.c: Likewise.
11946 * misc/setdomain.c: Likewise.
11947 * misc/setegid.c: Likewise.
11948 * misc/seteuid.c: Likewise.
11949 * misc/sethostid.c: Likewise.
11950 * misc/sethostname.c: Likewise.
11951 * misc/setregid.c: Likewise.
11952 * misc/setreuid.c: Likewise.
11953 * misc/setxattr.c: Likewise.
11954 * misc/sstk.c: Likewise.
11955 * misc/stty.c: Likewise.
11956 * misc/swapoff.c: Likewise.
11957 * misc/swapon.c: Likewise.
11958 * misc/sync.c: Likewise.
11959 * misc/syncfs.c: Likewise.
11960 * misc/syscall.c: Likewise.
11961 * misc/truncate.c: Likewise.
11962 * misc/ualarm.c: Likewise.
11963 * misc/usleep.c: Likewise.
11964 * misc/ustat.c: Likewise.
11965 * misc/utimes.c: Likewise.
11966 * misc/vhangup.c: Likewise.
11967 * misc/writev.c: Likewise.
11968 * posix/_exit.c: Likewise.
11969 * posix/alarm.c: Likewise.
11970 * posix/execve.c: Likewise.
11971 * posix/fexecve.c: Likewise.
11972 * posix/fork.c: Likewise.
11973 * posix/fpathconf.c: Likewise.
11974 * posix/getaddrinfo.c: Likewise.
11975 * posix/getegid.c: Likewise.
11976 * posix/geteuid.c: Likewise.
11977 * posix/getgid.c: Likewise.
11978 * posix/getgroups.c: Likewise.
11979 * posix/getlogin.c: Likewise.
11980 * posix/getlogin_r.c: Likewise.
11981 * posix/getpgid.c: Likewise.
11982 * posix/getpid.c: Likewise.
11983 * posix/getppid.c: Likewise.
11984 * posix/getresgid.c: Likewise.
11985 * posix/getresuid.c: Likewise.
11986 * posix/getsid.c: Likewise.
11987 * posix/getuid.c: Likewise.
11988 * posix/glob64.c: Likewise.
11989 * posix/nanosleep.c: Likewise.
11990 * posix/pathconf.c: Likewise.
11991 * posix/pause.c: Likewise.
11992 * posix/posix_madvise.c: Likewise.
11993 * posix/pread.c: Likewise.
11994 * posix/pread64.c: Likewise.
11995 * posix/pwrite.c: Likewise.
11996 * posix/pwrite64.c: Likewise.
11997 * posix/sched_getaffinity.c: Likewise.
11998 * posix/sched_getp.c: Likewise.
11999 * posix/sched_gets.c: Likewise.
12000 * posix/sched_primax.c: Likewise.
12001 * posix/sched_primin.c: Likewise.
12002 * posix/sched_rr_gi.c: Likewise.
12003 * posix/sched_setaffinity.c: Likewise.
12004 * posix/sched_setp.c: Likewise.
12005 * posix/sched_sets.c: Likewise.
12006 * posix/sched_yield.c: Likewise.
12007 * posix/setgid.c: Likewise.
12008 * posix/setlogin.c: Likewise.
12009 * posix/setpgid.c: Likewise.
12010 * posix/setresgid.c: Likewise.
12011 * posix/setresuid.c: Likewise.
12012 * posix/setsid.c: Likewise.
12013 * posix/setuid.c: Likewise.
12014 * posix/sleep.c: Likewise.
12015 * posix/spawni.c: Likewise.
12016 * posix/sysconf.c: Likewise.
12017 * posix/times.c: Likewise.
12018 * posix/wait.c: Likewise.
12019 * posix/wait3.c: Likewise.
12020 * posix/wait4.c: Likewise.
12021 * posix/waitpid.c: Likewise.
12022 * resolv/gai_sigqueue.c: Likewise.
12023 * resource/getpriority.c: Likewise.
12024 * resource/getrlimit.c: Likewise.
12025 * resource/getrusage.c: Likewise.
12026 * resource/nice.c: Likewise.
12027 * resource/setpriority.c: Likewise.
12028 * resource/setrlimit.c: Likewise.
12029 * resource/ulimit.c: Likewise.
12030 * rt/aio_cancel.c: Likewise.
12031 * rt/aio_fsync.c: Likewise.
12032 * rt/aio_read.c: Likewise.
12033 * rt/aio_sigqueue.c: Likewise.
12034 * rt/aio_suspend.c: Likewise.
12035 * rt/aio_write.c: Likewise.
12036 * rt/clock_getres.c: Likewise.
12037 * rt/clock_gettime.c: Likewise.
12038 * rt/clock_nanosleep.c: Likewise.
12039 * rt/clock_settime.c: Likewise.
12040 * rt/lio_listio.c: Likewise.
12041 * rt/mq_close.c: Likewise.
12042 * rt/mq_getattr.c: Likewise.
12043 * rt/mq_notify.c: Likewise.
12044 * rt/mq_open.c: Likewise.
12045 * rt/mq_receive.c: Likewise.
12046 * rt/mq_send.c: Likewise.
12047 * rt/mq_setattr.c: Likewise.
12048 * rt/mq_timedreceive.c: Likewise.
12049 * rt/mq_timedsend.c: Likewise.
12050 * rt/mq_unlink.c: Likewise.
12051 * rt/shm_open.c: Likewise.
12052 * rt/shm_unlink.c: Likewise.
12053 * rt/timer_create.c: Likewise.
12054 * rt/timer_delete.c: Likewise.
12055 * rt/timer_getoverr.c: Likewise.
12056 * rt/timer_gettime.c: Likewise.
12057 * rt/timer_settime.c: Likewise.
12058 * setjmp/__longjmp.c: Likewise.
12059 * setjmp/setjmp.c: Likewise.
12060 * signal/kill.c: Likewise.
12061 * signal/killpg.c: Likewise.
12062 * signal/raise.c: Likewise.
12063 * signal/sigaction.c: Likewise.
12064 * signal/sigaltstack.c: Likewise.
12065 * signal/sigblock.c: Likewise.
12066 * signal/sigignore.c: Likewise.
12067 * signal/sigintr.c: Likewise.
12068 * signal/signal.c: Likewise.
12069 * signal/sigpause.c: Likewise.
12070 * signal/sigpending.c: Likewise.
12071 * signal/sigqueue.c: Likewise.
12072 * signal/sigreturn.c: Likewise.
12073 * signal/sigset.c: Likewise.
12074 * signal/sigsetmask.c: Likewise.
12075 * signal/sigstack.c: Likewise.
12076 * signal/sigsuspend.c: Likewise.
12077 * signal/sigtimedwait.c: Likewise.
12078 * signal/sigvec.c: Likewise.
12079 * signal/sigwait.c: Likewise.
12080 * signal/sigwaitinfo.c: Likewise.
12081 * signal/sysv_signal.c: Likewise.
12082 * socket/accept.c: Likewise.
12083 * socket/accept4.c: Likewise.
12084 * socket/bind.c: Likewise.
12085 * socket/connect.c: Likewise.
12086 * socket/getpeername.c: Likewise.
12087 * socket/getsockname.c: Likewise.
12088 * socket/getsockopt.c: Likewise.
12089 * socket/isfdtype.c: Likewise.
12090 * socket/listen.c: Likewise.
12091 * socket/recv.c: Likewise.
12092 * socket/recvfrom.c: Likewise.
12093 * socket/recvmsg.c: Likewise.
12094 * socket/send.c: Likewise.
12095 * socket/sendmsg.c: Likewise.
12096 * socket/sendto.c: Likewise.
12097 * socket/setsockopt.c: Likewise.
12098 * socket/shutdown.c: Likewise.
12099 * socket/sockatmark.c: Likewise.
12100 * socket/socket.c: Likewise.
12101 * socket/socketpair.c: Likewise.
12102 * stdio-common/ctermid.c: Likewise.
12103 * stdio-common/cuserid.c: Likewise.
12104 * stdio-common/remove.c: Likewise.
12105 * stdio-common/rename.c: Likewise.
12106 * stdio-common/renameat.c: Likewise.
12107 * stdio-common/tempname.c: Likewise.
12108 * stdlib/getcontext.c: Likewise.
12109 * stdlib/makecontext.c: Likewise.
12110 * stdlib/setcontext.c: Likewise.
12111 * stdlib/swapcontext.c: Likewise.
12112 * stdlib/system.c: Likewise.
12113 * streams/fattach.c: Likewise.
12114 * streams/fdetach.c: Likewise.
12115 * streams/getmsg.c: Likewise.
12116 * streams/getpmsg.c: Likewise.
12117 * streams/putmsg.c: Likewise.
12118 * streams/putpmsg.c: Likewise.
12119 * sysdeps/unix/bsd/getpt.c: Likewise.
12120 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12121 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12122 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12124 Likewise.
12125 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12126 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12127 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12128 * sysvipc/msgctl.c: Likewise.
12129 * sysvipc/msgget.c: Likewise.
12130 * sysvipc/msgrcv.c: Likewise.
12131 * sysvipc/msgsnd.c: Likewise.
12132 * sysvipc/semctl.c: Likewise.
12133 * sysvipc/semget.c: Likewise.
12134 * sysvipc/semop.c: Likewise.
12135 * sysvipc/semtimedop.c: Likewise.
12136 * sysvipc/shmat.c: Likewise.
12137 * sysvipc/shmctl.c: Likewise.
12138 * sysvipc/shmdt.c: Likewise.
12139 * sysvipc/shmget.c: Likewise.
12140 * termios/tcdrain.c: Likewise.
12141 * termios/tcflow.c: Likewise.
12142 * termios/tcflush.c: Likewise.
12143 * termios/tcgetattr.c: Likewise.
12144 * termios/tcgetpgrp.c: Likewise.
12145 * termios/tcsendbrk.c: Likewise.
12146 * termios/tcsetattr.c: Likewise.
12147 * termios/tcsetpgrp.c: Likewise.
12148 * time/adjtime.c: Likewise.
12149 * time/clock.c: Likewise.
12150 * time/getitimer.c: Likewise.
12151 * time/gettimeofday.c: Likewise.
12152 * time/setitimer.c: Likewise.
12153 * time/settimeofday.c: Likewise.
12154 * time/stime.c: Likewise.
12155 * time/time.c: Likewise.
12156
121572012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12158
a20492cf
PT
12159 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12160 /usr/old/bin.
12161
72e182e3
PT
12162 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12163 instead of spaces.
12164 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12165
fbeafede
JM
121662012-11-03 Joseph Myers <joseph@codesourcery.com>
12167
5b5b04d6
JM
12168 [BZ #14796]
12169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12170 FE_TONEAREST before applying Dekker multiplication and Knuth
12171 addition. Clear inexact exceptions and check for exact zero
12172 results afterwards.
12173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12176 * math/libm-test.inc (fma_test): Add more tests.
12177 (fma_test_towardzero): Likewise.
12178 (fma_test_downward): Likewise.
12179 (fma_test_upward): Likewise.
12180 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12181 function.
12182 (libc_fesetround): New macro.
12183 (libc_fesetroundf): Likewise.
12184 (libc_fesetroundl): Likewise.
12185 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12186 function.
12187 (libc_fesetround_387): Likewise.
12188 (libc_fesetroundf): New macro.
12189 (libc_fesetround): Likewise.
12190 (libc_fesetroundl): Likewise.
12191 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12192 function.
12193 (libc_fesetroundf): New macro.
12194 (libc_fesetround): Likewise.
12195 (libc_fesetroundl): Likewise.
12196 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12197 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12198 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12199 libm_hidden_ver.
12200 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12201 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12202 libm_hidden_def.
12203 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12204 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12205 libm_hidden_ver.
12206 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12207 libm_hidden_def.
12208
fbeafede
JM
12209 [BZ #3439]
12210 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12211 integer constant usable in #if and use that to give value to enum
12212 constant.
12213 (FE_DIVBYZERO): Likewise.
12214 (FE_UNDERFLOW): Likewise.
12215 (FE_OVERFLOW): Likewise.
12216 (FE_INVALID): Likewise.
12217 (FE_INVALID_SNAN): Likewise.
12218 (FE_INVALID_ISI): Likewise.
12219 (FE_INVALID_IDI): Likewise.
12220 (FE_INVALID_ZDZ): Likewise.
12221 (FE_INVALID_IMZ): Likewise.
12222 (FE_INVALID_COMPARE): Likewise.
12223 (FE_INVALID_SOFTWARE): Likewise.
12224 (FE_INVALID_SQRT): Likewise.
12225 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12226 (FE_TONEAREST): Likewise.
12227 (FE_TOWARDZERO): Likewise.
12228 (FE_UPWARD): Likewise.
12229 (FE_DOWNWARD): Likewise.
12230 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12231 (FE_DIVBYZERO): Likewise.
12232 (FE_OVERFLOW): Likewise.
12233 (FE_UNDERFLOW): Likewise.
12234 (FE_INEXACT): Likewise.
12235 (FE_TONEAREST): Likewise.
12236 (FE_DOWNWARD): Likewise.
12237 (FE_UPWARD): Likewise.
12238 (FE_TOWARDZERO): Likewise.
12239 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12240 (FE_UNDERFLOW): Likewise.
12241 (FE_OVERFLOW): Likewise.
12242 (FE_DIVBYZERO): Likewise.
12243 (FE_INVALID): Likewise.
12244 (FE_TONEAREST): Likewise.
12245 (FE_TOWARDZERO): Likewise.
12246 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12247 (FE_OVERFLOW): Likewise.
12248 (FE_UNDERFLOW): Likewise.
12249 (FE_DIVBYZERO): Likewise.
12250 (FE_INEXACT): Likewise.
12251 (FE_TONEAREST): Likewise.
12252 (FE_TOWARDZERO): Likewise.
12253 (FE_UPWARD): Likewise.
12254 (FE_DOWNWARD): Likewise.
12255 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12256 (FE_DIVBYZERO): Likewise.
12257 (FE_OVERFLOW): Likewise.
12258 (FE_UNDERFLOW): Likewise.
12259 (FE_INEXACT): Likewise.
12260 (FE_TONEAREST): Likewise.
12261 (FE_DOWNWARD): Likewise.
12262 (FE_UPWARD): Likewise.
12263 (FE_TOWARDZERO): Likewise.
12264
105ca950
CM
122652012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12266
12267 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12268
a542b389
AS
122692012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12270
12271 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12272 commands. Quote $PWD.
12273 (blacklist_exports): Don't use remove_newlines. Replace "declare
12274 -x" by "export".
12275 (remove_newlines): Remove.
12276
f62c8abc
L
122772012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12278
12279 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12280 * stdlib/stdlib.h (atof): Moved to ...
12281 * include/bits/stdlib-float.h: Here. New file.
12282 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12283 * stdlib/bits/stdlib-float.h: New file.
12284 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12285 -mno-sse -mno-mmx.
12286 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12287 <xmmintrin.h>.
12288
0155d5b2
JM
122892012-11-02 Joseph Myers <joseph@codesourcery.com>
12290
a68d0680
JM
12291 * conform/conformtest.pl (@headers): Add fenv.h.
12292 * conform/data/fenv.h-data: New file.
12293 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12294 include of <math/fenv.h>.
12295
caf7f573
JM
12296 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12297 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12298 && !UNIX98]. Enables tests for XOPEN2K8.
12299 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12300 POSIX2008]: Likewise.
12301
6c073ad6
JM
12302 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12303 (struct rusage): Do not expect type or its members.
12304
0155d5b2
JM
12305 [BZ #3439]
12306 * math/math.h (FP_NAN): Define macro to integer constant usable in
12307 #if and use that to give value to enum constant.
12308 (FP_INFINITE): Likewise.
12309 (FP_ZERO): Likewise.
12310 (FP_SUBNORMAL): Likewise.
12311 (FP_NORMAL): Likewise.
12312
b5dcacb4
AS
123132012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12316 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12317 arguments.
12318
f7934be8
RM
123192012-11-02 Roland McGrath <roland@hack.frob.com>
12320
12321 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12322 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12323 autoconf-time if not.
12324 * configure.in: Remove AC_PREREQ.
12325
d7d08bde
TMQMF
123262012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12327
12328 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12329 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12330 of the internal implementation.
12331
dcdae19a
JM
123322012-11-02 Joseph Myers <joseph@codesourcery.com>
12333
12334 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12335 except include of <misc/sys/syslog.h>.
12336
d6cffd3e
AS
123372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12338
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12340 function returns with a NULL context exit with zero.
12341
b3563932
TMQMF
123422012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12343
12344 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12345
b288a93d
L
123462012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12349 (run_program_cmd): This.
12350 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12351 (tst_langinfo): New variable. Use it.
12352
a2421a68
SAS
123532012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12354
12355 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12356 floating point opcodes.
12357
6f796e1b
TS
123582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12359
7402596b
TS
12360 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12361 variable.
12362
d0d4f868
TS
12363 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12364
6f796e1b
TS
12365 * sysdeps/mach/hurd/powerpc: Remove directory.
12366 * sysdeps/mach/powerpc: Likewise.
12367
4da224a2
AS
123682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12369
12370 * scripts/check-local-headers.sh: Ignore c++ headers.
12371
341dd673
TS
123722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12373
12374 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12375 __libc_cleanup_region_start argument.
12376
473611b2
JM
123772012-11-01 Joseph Myers <joseph@codesourcery.com>
12378
12379 [BZ #14784]
12380 [BZ #14785]
12381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12382 x * y using scaling, not as x * y + z.
12383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12385 * math/libm-test.inc (fma_test): Add more tests.
12386 (fma_test_towardzero): Likewise.
12387 (fma_test_downward): Likewise.
12388 (fma_test_upward): Likewise.
12389
4078da3d
TS
123902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12391
12392 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12393
903252aa
JM
123942012-10-31 Joseph Myers <joseph@codesourcery.com>
12395
12396 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12397 New variable.
12398
cbc818d0
TS
123992012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12400
12401 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12402
5a03cb1e
AS
124032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12404
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12406 Fix sort order.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12408 Likewise.
12409
90aff2ff
TMQMF
124102012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12411
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12413 Fix the order of the list for glibc 2.17.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12415 Likewise.
12416
1818fcb7
AS
124172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12418
12419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12420
ef82f4da
JM
124212012-10-31 Joseph Myers <joseph@codesourcery.com>
12422
16a0e2ec
JM
12423 [BZ #14610]
12424 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12425 for low part of x being zero before using __atanl (y).
12426 * math/libm-test.inc (atan2_test): Add another test.
12427
0eb69512
JM
12428 * manual/install.texi (Configuring and compiling): Document
12429 general use of test-wrapper and test-wrapper-env.
12430 * INSTALL: Regenerated.
12431
ef82f4da
JM
12432 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12433 (__fma): Do not extract and scale down low bits on after-rounding
12434 systems when result rounded to normal precision would have normal
12435 exponent.
12436 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12437 (__fmal): Do not extract and scale down low bits on after-rounding
12438 systems when result rounded to normal precision would have normal
12439 exponent.
12440 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12441 (__fmal): Do not extract and scale down low bits on after-rounding
12442 systems when result rounded to normal precision would have normal
12443 exponent.
12444 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12445 macro.
12446 (fma_test): Add more tests.
12447 (fma_test_towardzero): Likewise.
12448 (fma_test_downward): Likewise.
12449 (fma_test_upward): Likewise.
12450
954ef0d9
L
124512012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 * sysdeps/i386/tininess.h: Renamed to ...
12454 * sysdeps/x86/tininess.h: This.
12455 * sysdeps/x86_64/tininess.h: Removed.
12456
df61ffb2
JM
124572012-10-30 Joseph Myers <joseph@codesourcery.com>
12458
12459 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12460 input. Use $(build-program-cmd).
12461 ($(objpfx)tst-array1-static.out): Likewise.
12462 ($(objpfx)tst-array2.out): Likewise.
12463 ($(objpfx)tst-array3.out): Likewise.
12464 ($(objpfx)tst-array4.out): Likewise.
12465 ($(objpfx)tst-array5.out): Likewise.
12466 ($(objpfx)tst-array5-static.out): Likewise.
12467
01767843
CM
124682012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12469
47cc1490
CM
12470 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12471 if defined.
12472
01767843
CM
12473 * nss/nsswitch.h (nss_interface_function): Provide new
12474 macro for use with NSS functions.
12475 * grp/initgroups.c: Use new macro.
12476 * nss/getXXbyYY.c: Likewise.
12477 * nss/getXXbyYY_r.c: Likewise.
12478 * nss/getXXent.c: Likewise.
12479 * nss/getXXent_r.c: Likewise.
12480 * sysdeps/posix/getaddrinfo.c: Likewise.
12481
8321aa97
AJ
124822012-10-30 Andreas Jaeger <aj@suse.de>
12483
12484 * po/ru.po: Update Russion translation from translation project.
12485
2a27fd6d
JM
124862012-10-30 Joseph Myers <joseph@codesourcery.com>
12487
8627a232
JM
12488 [BZ #14152]
12489 [BZ #14783]
12490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12491 result and shift together with sticky bit instead of replicating
12492 round-to-nearest rounding.
12493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12495 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12496 missing underflow exceptions.
12497 (fma_test_towardzero): Add more tests.
12498 (fma_test_downward): Likewise.
12499 (fma_test_upward): Likewise.
12500
2a27fd6d
JM
12501 [BZ #14047]
12502 * sysdeps/generic/tininess.h: New file.
12503 * sysdeps/i386/tininess.h: Likewise.
12504 * sysdeps/sh/tininess.h: Likewise.
12505 * sysdeps/x86_64/tininess.h: Likewise.
12506 * stdlib/tst-strtod-underflow.c: Likewise.
12507 * stdlib/tst-tininess.c: Likewise.
12508 * stdlib/strtod_l.c: Include <tininess.h>.
12509 (round_and_return): Do not set errno for exact underflow cases.
12510 Force an underflow exception when setting errno for underflow.
12511 Determine underflow based on rounding to normal precision if
12512 TININESS_AFTER_ROUNDING.
12513 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12514 ERANGE for exact underflow cases.
12515 * stdlib/Makefile (tests): Add tst-tininess and
12516 tst-strtod-underflow.
12517 ($(objpfx)tst-tininess): Use $(link-libm).
12518 ($(objpfx)tst-strtod-underflow): Likewise.
12519
e7170363
AJ
125202012-10-30 Andreas Jaeger <aj@suse.de>
12521
e5088dc6
AJ
12522 [BZ#14767]
12523 * elf/Makefile (tests): Remove conditional for have-initfini-array
12524 since this is now always required and the variable does not exist
12525 anymore.
12526 (tests-static): Likewise.
12527 (modules-names): Likewise.
12528
e7170363 12529 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12530
12531 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12532 merged with constructor/destructor.
12533 (init_array): Likewise.
12534 * elf/tst-array2dep.c (fini_array): Likewise.
12535 (init_array): Likewise.
12536
60457d8a
MF
125372012-10-29 Mike Frysinger <vapier@gentoo.org>
12538
12539 * manual/message.texi: Delete @cartouche tags.
12540
8bece752
PT
125412012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12542
94ce799f
PT
12543 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12544 EOPNOTSUPP.
12545 * sysdeps/mach/hurd/fsync.c: Likewise.
12546
8bece752
PT
12547 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12548 [_POSIX_REALTIME_SIGNALS]: Change condition to
12549 [_POSIX_REALTIME_SIGNALS > 0].
12550
86ebe6b1
AJ
125512012-10-27 Andreas Jaeger <aj@suse.de>
12552
12553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12554 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12556 [__WORDSIZE != 64]: Likewise.
12557
54399c08
L
125582012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 * iconvdata/tst-table.sh: Remove ${SHELL}.
12561 * iconvdata/tst-tables.sh: Likewise.
12562
e2211bed
DM
125632012-10-25 David S. Miller <davem@davemloft.net>
12564
12565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12566 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12567 of strtoull.
12568
f303f97c
DM
12569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12570 ifunc-impl-list.c
12571 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12572 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12573 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12574 file.
12575
1e9d84cd
RM
125762012-10-25 Roland McGrath <roland@hack.frob.com>
12577
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12579 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12580 __getdirentries.
12581
df381762
JM
125822012-10-25 Joseph Myers <joseph@codesourcery.com>
12583 Jim Blandy <jimb@codesourcery.com>
12584
12585 * scripts/cross-test-ssh.sh: New file.
12586 * manual/install.texi (Configuring and compiling): Document use of
12587 cross-test-ssh.sh.
12588 * INSTALL: Regenerated.
12589
bff64913
PT
125902012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12591
12592 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12593 EOPNOTSUPP.
12594
25fe8932
JM
125952012-10-25 Joseph Myers <joseph@codesourcery.com>
12596
12597 * Makeconfig (run-program-prefix): Fix comment.
12598
cc1290d0
JM
125992012-10-24 Joseph Myers <joseph@codesourcery.com>
12600 Jim Blandy <jimb@codesourcery.com>
12601
12602 * Makeconfig (test-wrapper): New variable,
12603 (test-wrapper-env): Likewise.
12604 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12605 (run-built-tests): Define to yes.
12606 (run-program-prefix): Use $(test-wrapper).
12607 (built-program-cmd): Likewise.
12608 * Rules (make-test-out): Use $(test-wrapper-env) and
12609 $(host-built-program-cmd).
12610 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12611 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12612 tst-pathopt.sh.
12613 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12614 $(test-wrapper-env) to tst-rtld-load-self.sh.
12615 ($(objpfx)order2.out): Use $(test-wrapper).
12616 ($(objpfx)tst-initorder.out): Likewise.
12617 ($(objpfx)tst-initorder2.out): Likewise.
12618 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12619 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12620 (test_wrapper_env): New variable. Use it to run ld.so.
12621 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12622 Use it to run ld.so.
12623 (test_wrapper_env): Likewise.
12624 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12625 $(test-wrapper) to run-iconv-test.sh.
12626 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12627 (ICONV): Use $test_wrapper.
12628 * posix/Makefile ($(objpfx)globtest.out): Pass
12629 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12630 globtest.sh, not $(run-program-prefix).
12631 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12632 (test_wrapper): Likewise.
12633 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12634 set together with run_via_rtld_prefix.
12635 (run_program_prefix): Define in terms of test_wrapper and
12636 run_via_rtld_prefix.
12637
6e6249d0
RM
126382012-10-24 Roland McGrath <roland@hack.frob.com>
12639
12640 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12641 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12642 Targets removed.
12643
12644 [BZ #14743]
12645 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12646 Declare __clock_getres, __clock_gettime, __clock_settime,
12647 __clock_nanosleep, and __clock_getcpuclockid.
12648 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12649 Remove librt_hidden_def (clock_gettime).
12650 * sysdeps/unix/clock_gettime.c: Likewise.
12651 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12653 * rt/clock_getres.c: Define __clock_getres as an alias.
12654 * sysdeps/posix/clock_getres.c: Likewise.
12655 * rt/clock_settime.c: Define __clock_settime as an alias.
12656 * sysdeps/unix/clock_settime.c: Likewise.
12657 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12658 * sysdeps/unix/clock_nanosleep.c: Likewise.
12659 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12660 * rt/clock-compat.c: New file.
12661 * rt/Makefile (librt-routines): Add clock-compat and move
12662 $(clock-routines) to ...
12663 (routines): ... here, new variable.
12664 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12665 Don't add get_clockfreq here.
12666 * rt/Versions (libc: GLIBC_2.17): New version set.
12667 Add clock_* symbols here.
12668 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12670 (GLIBC_2.17): Add clock_* symbols.
12671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12675 Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12677 Likewise.
12678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12682 * NEWS: Mention the move.
12683
12684 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12685 Use __open, __read, __close rather than their public counterparts.
12686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12687 (__get_clockfreq_via_cpuinfo): Likewise.
12688 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12689 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12690
12691 * config.h.in (HAVE_IFUNC): New #undef.
12692 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12693 was successful.
12694 * configure: Regenerated.
12695
0cae3f4b
MF
126962012-10-24 Mike Frysinger <vapier@gentoo.org>
12697
12698 * configure.in: Move READELF check to start of file.
12699 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12700 libc_cv_asm_gnu_indirect_function in the process.
12701 * configure: Regenerated.
12702
8175a253
MF
127032012-10-24 Mike Frysinger <vapier@gentoo.org>
12704
12705 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12706 send the output to /dev/null.
12707 (libc_cv_cc_with_libunwind): Likewise.
12708 (libc_cv_as_noexecstack): Likewise.
12709 * configure: Regenerate.
12710
0708a7d1
JM
127112012-10-24 Joseph Myers <joseph@codesourcery.com>
12712
10b40d85
JM
12713 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12714
0708a7d1
JM
12715 * posix/globtest.sh (TMPDIR): Do not set.
12716 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12717 (testout): Likewise.
12718
9fddec1a
AJ
127192012-10-24 Andreas Jaeger <aj@suse.de>
12720
3a8db22f
AJ
12721 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12722 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12723 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12724 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12725 posix_fadvise64, posix_fallocate64.
12726
9fddec1a
AJ
12727 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12728 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12729 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12730 Likewise.
12731 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12732 Likewise.
12733 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12734
12735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12736 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12737 <bits/fcntl-linux.h>.
12738 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12739
12740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12741 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12742 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12743 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12744 [__WORDSIZE != 64]: Likewise.
12745
ebfd1bbd
JM
127462012-10-23 Joseph Myers <joseph@codesourcery.com>
12747
03ac099f
JM
12748 * Makeconfig (run-built-tests): New variable.
12749 * Rules [$(cross-compiling) = yes]: Change condition to
12750 [$(run-built-tests) = no].
12751 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12752 to [$(run-built-tests) = yes].
12753 * elf/Makefile [$(cross-compiling) = no]: Likewise
12754 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12755 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12756 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12757 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12758 * io/Makefile [$(cross-compiling) = no]: Likewise.
12759 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12760 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12761 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12762 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12763 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12764 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12765 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12766 * string/Makefile [$(cross-compiling) = no]: Likewise.
12767
ebfd1bbd
JM
12768 * posix/Makefile ($(objpfx)globtest.out): Pass
12769 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12770 $(rtld-installed-name).
12771 * posix/globtest.sh (elf_objpfx): Remove variable.
12772 (rtld_installed_name): Likewise.
12773 (library_path): Likewise.
12774 (run_program_prefix): New variable. Use for running globtest
12775 binary.
12776
166bca24
JB
127772012-10-23 Jim Blandy <jimb@codesourcery.com>
12778 Joseph Myers <joseph@codesourcery.com>
12779
12780 * Makeconfig (host-built-program-cmd): New variable.
12781 * elf/Makefile (tst-stackguard1-ARGS): Use
12782 $(host-built-program-cmd).
12783 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12784 (tst-spawn-ARGS): Likewise.
12785 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12786
88866099
JM
127872012-10-23 Joseph Myers <joseph@codesourcery.com>
12788 Jim Blandy <jimb@codesourcery.com>
12789
12790 * Makeconfig (run-via-rtld-prefix): New variable.
12791 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12792 (built-program-cmd): Likewise.
12793
b4b4c296
AJ
127942012-10-22 Andreas Jaeger <aj@suse.de>
12795
12796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12797 __O_RSYNC if it exists, otherwise to O_SYNC.
12798
6fb54a22
JB
127992012-10-22 Jim Blandy <jimb@codesourcery.com>
12800 Joseph Myers <joseph@codesourcery.com>
12801
12802 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12803 /dev/null.
12804 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12805 from /dev/null
12806 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12807 /dev/null.
12808
481b90b9
AJ
128092012-10-22 Andreas Jaeger <aj@suse.de>
12810
2a0e2669
AJ
12811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12812 Define always.
12813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12814
76e38f9a
AJ
12815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12816 bits/fcntl-linux.h.
12817
7cd37b43
AJ
12818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12819 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12820
481b90b9
AJ
12821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12822 to __O_LARGEFILE.
12823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12824 to __O_LARGEFILE.
12825
aba75984
JB
128262012-10-21 Jim Blandy <jimb@codesourcery.com>
12827 Joseph Myers <joseph@codesourcery.com>
12828
12829 * config.make.in (NM): New variable.
12830
88d4247f
AJ
128312012-10-21 Andreas Jaeger <aj@suse.de>
12832
12833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12834 definitions and declarations that are provided by
12835 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12836
f2eed205
L
128372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12838
12839 [BZ #14683]
12840 * elf/Makefile (tests-static): Add tst-leaks1-static.
12841 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12842 ($(objpfx)tst-leaks1-static): New rule.
12843 ($(objpfx)tst-leaks1-static-mem): Likewise.
12844 (tst-leaks1-static-ENV): New macro.
12845 * elf/dl-open.c (dl_open_worker): Check the main application
12846 only if SHARED is defined.
12847 * elf/tst-leaks1-static.c: New file.
12848
335e6931
AJ
128492012-10-20 Andreas Jaeger <aj@suse.de>
12850
12851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12852 generic values for Linux.
12853 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12854 and declarations that are provided by <bits/fcntl-linux.h> and
12855 include <bits/fcntl-linux.h>.
12856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12858
ac5c94d3
RM
128592012-10-20 Roland McGrath <roland@hack.frob.com>
12860
12861 * io/fcntl.h: Move include of <bits/types.h> to the top and
12862 include it unconditionally.
12863
de54b33a
L
128642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12865
228cfb01
L
12866 * wcsmbs/Makefile (tests-ifunc): New variable.
12867 (tests): Add $(tests-ifunc).
12868 * wcsmbs/test-wcschr-ifunc.c: New file.
12869 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12870 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12871 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12872 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12873 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12874
69f07e5f
L
12875 * string/Makefile (tests-ifunc): New variable.
12876 (tests): Add $(tests-ifunc).
12877 * string/test-memccpy.c (TEST_NAME): New macro.
12878 * string/test-memchr.c (TEST_NAME): Likewise.
12879 * string/test-memcmp.c (TEST_NAME): Likewise.
12880 * string/test-memcpy.c (TEST_NAME): Likewise.
12881 * string/test-memmem.c (TEST_NAME): Likewise.
12882 * string/test-memmove.c (TEST_NAME): Likewise.
12883 * string/test-memset.c (TEST_NAME): Likewise.
12884 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12885 * string/test-stpcpy.c (TEST_NAME): Likewise.
12886 * string/test-stpncpy.c (TEST_NAME): Likewise.
12887 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12888 * string/test-strcasestr.c (TEST_NAME): Likewise.
12889 * string/test-strcat.c (TEST_NAME): Likewise.
12890 * string/test-strchr.c (TEST_NAME): Likewise.
12891 * string/test-strcmp.c(TEST_NAME): Likewise.
12892 * string/test-strcpy.c (TEST_NAME): Likewise.
12893 * string/test-strcspn.c (TEST_NAME): Likewise.
12894 * string/test-strlen.c (TEST_NAME): Likewise.
12895 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12896 * string/test-strncmp.c (TEST_NAME): Likewise.
12897 * string/test-strncpy.c (TEST_NAME): Likewise.
12898 * string/test-strnlen.c (TEST_NAME): Likewise.
12899 * string/test-strpbrk.c (TEST_NAME): Likewise.
12900 * string/test-strrchr.c (TEST_NAME): Likewise.
12901 * string/test-strspn.c (TEST_NAME): Likewise.
12902 * string/test-strstr.c (TEST_NAME): Likewise.
12903 * string/test-bcopy-ifunc.c: New file.
12904 * string/test-bzero-ifunc.c: Likewise.
12905 * string/test-memccpy-ifunc.c: Likewise.
12906 * string/test-memchr-ifunc.c: Likewise.
12907 * string/test-memcmp-ifunc.c: Likewise.
12908 * string/test-memcpy-ifunc.c: Likewise.
12909 * string/test-memmem-ifunc.c: Likewise.
12910 * string/test-memmove-ifunc.c: Likewise.
12911 * string/test-mempcpy-ifunc.c: Likewise.
12912 * string/test-memset-ifunc.c: Likewise.
12913 * string/test-rawmemchr-ifunc.c: Likewise.
12914 * string/test-stpcpy-ifunc.c: Likewise.
12915 * string/test-stpncpy-ifunc.c: Likewise.
12916 * string/test-strcasecmp-ifunc.c: Likewise.
12917 * string/test-strcasestr-ifunc.c: Likewise.
12918 * string/test-strcat-ifunc.c: Likewise.
12919 * string/test-strchr-ifunc.c: Likewise.
12920 * string/test-strchrnul-ifunc.c: Likewise.
12921 * string/test-strcmp-ifunc.c: Likewise.
12922 * string/test-strcpy-ifunc.c: Likewise.
12923 * string/test-strcspn-ifunc.c: Likewise.
12924 * string/test-strlen-ifunc.c: Likewise.
12925 * string/test-strncasecmp-ifunc.c: Likewise.
12926 * string/test-strncat-ifunc.c: Likewise.
12927 * string/test-strncmp-ifunc.c: Likewise.
12928 * string/test-strncpy-ifunc.c: Likewise.
12929 * string/test-strnlen-ifunc.c: Likewise.
12930 * string/test-strpbrk-ifunc.c: Likewise.
12931 * string/test-strrchr-ifunc.c: Likewise.
12932 * string/test-strspn-ifunc.c: Likewise.
12933 * string/test-strstr-ifunc.c: Likewise.
12934
de54b33a
L
12935 * debug/Makefile (tests-ifunc): New variable.
12936 (tests): Add $(tests-ifunc).
12937 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12938 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12939 * debug/test-stpcpy_chk-ifunc.c: New file.
12940 * debug/test-strcpy_chk-ifunc.c: Likewise.
12941
88481c16
SP
129422012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
12944 [BZ #13601]
12945 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12946 header is not read in.
12947
135948bd
JM
129482012-10-19 Joseph Myers <joseph@codesourcery.com>
12949
89f1c388
JM
12950 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12951 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12952 directly. Pass built executable to script as
12953 $(built-program-cmd).
12954 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12955 $testprogram without using LD_LIBRARY_PATH and $ldso.
12956
e40a0d21
JM
12957 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12958 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12959 $(rtld-installed-name).
12960 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12961 (rtld_installed_name): Likewise.
12962 (library_path): Likewise.
12963 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12964 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12965 $(run-program-prefix) to tst-tables.sh.
12966 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12967 it to run tst-table-from and tst-table-to.
12968 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12969 Pass it to tst-table.sh.
12970 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12971 $(run-program-prefix) to tst-gettext.sh.
12972 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12973 tst-translit.sh.
12974 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12975 tst-gettext2.sh.
12976 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12977 to run tst-gettext.
12978 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12979 to run tst-gettext2.
12980 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12981 to run tst-translit.
12982 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12983 $(run-program-prefix) to tst-mtrace.sh.
12984 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12985 to run tst-mtrace.
12986 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12987 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12988 $(rtld-installed-name).
12989 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12990 (rtld_installed_name): Likewise.
12991 (run_program_prefix): New variable. Use it to run wordexp-test.
12992
728e272a
JM
12993 * Makeconfig (ARCH): Remove all definitions.
12994 (machine): Likewise.
12995 [ARCH]: Remove conditional code.
12996 [!objdir]: Give error.
12997 [!objdir] (objpfx): Remove.
12998 [!objdir] (common-objpfx): Likewise.
12999 [!objdir] (common-objdir): Likewise.
13000 * configure.in (config_makefile): Remove. Hardcode Makefile in
13001 AC_CONFIG_FILES call.
13002 * configure: Regenerated.
13003
d528cdcf
JM
13004 [BZ #13888]
13005 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13006 or TMPDIR.
13007 (testout): Likewise.
13008
135948bd
JM
13009 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13010 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13011 $(rtld-installed-name).
13012 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13013 (rtld_installed_name): Likwise.
13014 (runit): Remove function.
13015 (run_getconf): New variable, Use it for running getconf binary.
13016
38c78296
L
130172012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 [BZ #14716]
13020 * string/test-memmem.c (check_result): New function.
13021 (do_one_test): Use it.
13022 (check1): New function.
13023 (test_main): Use it.
13024
d077f65f
MT
130252012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13026
13027 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13028
ced52c71
JM
130292012-10-18 Joseph Myers <joseph@codesourcery.com>
13030
13031 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13032 (_G_LSEEK64): Likewise.
13033 (_G_MMAP64): Likewise.
13034 (_G_FSTAT64): Likewise.
13035 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13036 (_G_LSEEK64): Likewise.
13037 (_G_MMAP64): Likewise.
13038 (_G_FSTAT64): Likewise.
13039 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13040 unconditional. Call __mmap64 directly.
13041 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13042 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13043 __lseek64 directly.
13044 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13045 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13046 __mmap64 directly.
13047 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13048 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13049 __lseek64 directly.
13050 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13051 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13052 __lseek64 directly.
13053 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13054 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13055 __lseek64 directly.
13056 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13057 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13058 __fxstat64 directly.
13059 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13060 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13061 unconditional.
13062 (freopen64) [!_G_OPEN64]: Remove conditional code.
13063 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13064 unconditional.
13065 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13066 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13067 unconditional.
13068 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13069 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13070 unconditional.
13071 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13072 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13073 unconditional.
13074 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13075 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13076 unconditional.
13077 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13078 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13079 unconditional.
13080 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13081 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13082 unconditional.
13083 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13084
b741de23
SP
130852012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13086
13087 [BZ #12140]
13088 * manual/memory.texi (Malloc Tunable Parameters): Add note
13089 about free list pointers overwriting some perturb bytes.
13090 Wording suggested by Roland McGrath.
13091
f9b9d9c9
JM
130922012-10-17 Joseph Myers <joseph@codesourcery.com>
13093
13094 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13095 (lgamma_test): Likewise.
13096 (tgamma_test): Likewise.
13097
172a631a
FW
130982012-10-16 Florian Weimer <fweimer@redhat.com>
13099
13100 [BZ #14700]
13101 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13102 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13103
e9f37252
MK
131042012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13105
13106 * NEWS: Mention BZ #14716.
13107 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13108 when removing AVAILABLE1_USES_J macro.
13109
d394eb74
L
131102012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13111
13112 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13113 (__bswap_64): __uint64_t for unsigned 64-bit int.
13114
ca38dc17
AS
131152012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13116
13117 * include/string.h (memmem): Declare libc hidden alias.
13118 * string/memmem.c (memmem): Define libc hidden alias.
13119 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13120 __read, __close instead of open, read, close.
13121
9a387d1f
L
131222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13123
ac49ecaf
L
13124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13125 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13126 global and hidden.
13127 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13128 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13129 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13130 Likewise.
13131 (__rawmemchr_sse2): Likewise.
13132 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13133 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13134 (__strchr_sse2): Likewise.
13135 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13136 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13137 (__strcasecmp_sse2): Likewise.
13138 (__strncasecmp_sse2): Likewise.
13139 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13140 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13141 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13142 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13143 (__strrchr_sse2): Likewise.
13144 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13145 ifunc-impl-list.c.
13146 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13147 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13148 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13149 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13150 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13152 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13153 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13154 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13155 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13156 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13157 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13158 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13159 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13160 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13161 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13162 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13163 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13164 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13165 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13166 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13167 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13168 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13169 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13170 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13172 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13173 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13174 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13175 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13176
b090e8ea
L
13177 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13178 global and hidden.
13179 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13180 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13181 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13182 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13183 Likewise.
13184 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13185 Likewise.
13186 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13187 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13188 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13189 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13190 ifunc-impl-list.c.
13191 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13201 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13202 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13203 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13204 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13205 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13209 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13212 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13214 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13215 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13216 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13217 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13218 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13219 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13220 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13221 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13222 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13224 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13231 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13232
11dd4af6
L
13233 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13234 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13235 * include/ifunc-impl-list.h: New file.
13236 * misc/ifunc-impl-list.c: Likewise.
13237 * misc/Makefile (routines): Add ifunc-impl-list.
13238 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13239 * string/test-string.h: Include <ifunc-impl-list.h>.
13240 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13241 impl_array): New variables.
13242 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13243 are defined.
13244 (test_init): Call __libc_ifunc_impl_list to initialize
13245 func_list if TEST_IFUNC and TEST_NAME are defined.
13246
9a387d1f
L
13247 * string/Makefile (strop-tests): Add bcopy and bzero.
13248 * string/test-bcopy.c: New file.
13249 * string/test-bzero.c: Likewise.
13250 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13251 defined.
13252 * string/test-memset.c: Support bzero test if TEST_BZERO is
13253 defined.
13254 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13255 __libc_memmove.
13256 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13257 __libc_memset.
13258 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13259 of memset.
13260
472371b9
JM
132612012-10-10 Joseph Myers <joseph@codesourcery.com>
13262
1e4a9536
JM
13263 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13264 * configure: Regenerated.
13265
d173d12e
JM
13266 * Makeconfig (+link-static-before-libc): Don't include
13267 $(link-static-libc).
13268
472371b9
JM
13269 * libio/libio.h (_IO_pos_t): Remove.
13270
89a3ad0b
AO
132712012-10-10 Alexandre Oliva <aoliva@redhat.com>
13272
13273 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13274 McGrath.
13275
e7451425
AO
132762012-10-10 Alexandre Oliva <aoliva@redhat.com>
13277
13278 * crypt/crypt-entry.c: Include fips-private.h.
13279 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13280 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13281 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13282 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13283
4ba74a35
AO
132842012-10-10 Alexandre Oliva <aoliva@redhat.com>
13285
13286 * crypt/crypt-private.h: Include stdbool.h.
13287 (_ufc_setup_salt_r): Return bool.
13288 * crypt/crypt-entry.c: Include errno.h.
13289 (__crypt_r): Return NULL with EINVAL for bad salt.
13290 * crypt/crypt_util.c (bad_for_salt): New.
13291 (_ufc_setup_salt_r): Check that salt is long enough and within
13292 the specified alphabet.
13293 * crypt/badsalttest.c: New file.
13294 * crypt/Makefile (tests): Add it.
13295 ($(objpfx)badsalttest): New.
13296
f96f1242
MK
132972012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13298
13299 * NEWS: Add entry for BZ #14602.
13300
0e8e0c1c
JM
133012012-10-09 Joseph Myers <joseph@codesourcery.com>
13302
13303 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13304 type-generic.
13305 * math/libm-test.inc: Update comment listing what functions and
13306 macros are tested.
13307 (isgreater_test): New function.
13308 (isgreaterequal_test): Likewise.
13309 (isless_test): Likewise.
13310 (islessequal_test): Likewise.
13311 (islessgreater_test): Likewise.
13312 (isunordered_test): Likewise.
13313 (main): Call the new functions.
13314
273edc5e
RM
133152012-10-09 Roland McGrath <roland@hack.frob.com>
13316
b8493de0
RM
13317 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13318 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13319 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13320 * sysdeps/i386/configure: Regenerated.
13321 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13322 * sysdeps/mach/configure: Regenerated.
13323 * sysdeps/mach/hurd/configure: Regenerated.
13324 * sysdeps/powerpc/configure: Regenerated.
13325 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13326 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13327 * sysdeps/s390/s390-32/configure: Regenerated.
13328 * sysdeps/s390/s390-64/configure: Regenerated.
13329 * sysdeps/sh/configure: Regenerated.
13330 * sysdeps/sparc/configure: Regenerated.
13331 * sysdeps/unix/sysv/linux/configure: Regenerated.
13332 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13333 * sysdeps/x86_64/configure: Regenerated.
13334
273edc5e
RM
13335 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13336 defined. Don't check if MAP is NULL.
13337
c8450f70
JM
133382012-10-09 Joseph Myers <joseph@codesourcery.com>
13339
13340 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13341 (_G_stat64): Likewise.
13342 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13343 (_G_stat64): Likewise.
13344 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13345 instead of struct _G_stat64.
13346 * libio/fileops.c (mmap_remap_check): Likewise.
13347 (decide_maybe_mmap): Likewise.
13348 (_IO_new_file_seekoff): Likewise.
13349 (_IO_file_stat): Likewise.
13350 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13351 _G_off64_t.
13352 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13353 instead of struct _G_stat64.
13354 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13355
57e605ba
MK
133562012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13357
13358 [BZ #14602]
13359 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13360 Replace with ...
13361 (CHECK_EOL): New macro.
13362 (two_way_short_needle): Check beginning of haystack for EOL. Use
13363 CHECK_EOL.
13364 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13365 Replace with CHECK_EOL.
13366 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13367 Replace with CHECK_EOL.
13368
ef1bb361
JM
133692012-10-08 Joseph Myers <joseph@codesourcery.com>
13370
13371 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13372 type-generic.
13373 * math/libm-test.inc: Update comment listing what functions and
13374 macros are tested.
13375 (finite_test): New function.
13376 (isinf_test): Likewise.
13377 (isnan_test): Likewise.
13378 (fpclassify_test): Test subnormal input.
13379 (isfinite_test): Likewise.
13380 (isnormal_test): Likewise.
13381 (main): Call the new functions.
13382
55f11534
JN
133832012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13384
13385 [BZ #14660]
13386 * Makerules (%.dynsym): Force C locale when running
13387 $(OBJDUMP) --dynamic-syms.
13388
1ab29350
AS
133892012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13390
13391 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13392 <stdint.h>.
13393
f1ecb7ef
DM
133942012-10-06 David S. Miller <davem@davemloft.net>
13395
13396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13397 upper 32-bits of the length value in %o2 since we use branch-on-register
13398 tests which consider the entire 64-bit register.
13399
5d41d91a
L
134002012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13401
13402 * string/test-strstr.c (check2): Add a test for page boundary.
13403
3baddb72
DM
134042012-10-05 David S. Miller <davem@davemloft.net>
13405
13406 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13408 file.
13409 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13410 sysdep_routines.
13411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13412 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13413 and bzero when HWCAP_SPARC_CRYPTO is present.
13414
9cee5585
L
134152012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13416
d7e0dab9
L
13417 [BZ #14602]
13418 * string/test-strstr.c (check2): New function.
13419 (test_main): Call check2.
13420
03759f47
L
13421 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13422 and bug-strchr1.
13423 * string/bug-strcasestr1.c (do_test): Moved to ...
13424 * string/test-strcasestr.c (check1): Here. New function.
13425 (do_one_test): Break out result checking code into ...
13426 (check_result): This. New function.
13427 (do_one_test): Call check_result.
13428 (test_main): Call check1.
13429 * string/bug-strchr1.c (do_test): Moved to ...
13430 * string/test-strchr.c (check1): Here. New function.
13431 (do_one_test): Break out result checking code into ...
13432 (check_result): This. New function.
13433 (do_one_test): Call check_result.
13434 (test_main): Call check1.
13435 * string/bug-strstr1.c (main): Moved to ...
046f153e 13436 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13437 (do_one_test): Break out result checking code into ...
13438 (check_result): This. New function.
13439 (do_one_test): Call check_result.
13440 (test_main): Call check1.
13441 * string/bug-strcasestr1.c: Removed.
13442 * string/bug-strchr1.c: Likewise.
13443 * string/bug-strstr1.c: Likewise.
13444
53cea63e
L
13445 * elf/Makefile (dl-routines): Add hwcaps.
13446 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13447 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13448 (_dl_important_hwcaps): Moved to ...
13449 * elf/dl-hwcaps.c: Here. New file.
13450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13451
9cee5585 13452 [BZ #14557]
bb859b06
L
13453 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13454 if IS_IN_rtld isn't defined.
13455
9cee5585
L
13456 * elf/dl-support.c (_dl_sysinfo_map): New.
13457 Include "get-dynamic-info.h" and "setup-vdso.h".
13458 (_dl_non_dynamic_init): Call setup_vdso.
13459 * elf/dynamic-link.h: Don't include <assert.h>.
13460 (elf_get_dynamic_info): Moved to ...
13461 * elf/get-dynamic-info.h: Here. New file.
13462 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13463 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13464 * elf/setup-vdso.h: Here. New file.
13465 * elf/rtld.c: Include "setup-vdso.h".
13466 (dl_main): Call setup_vdso.
13467
23c31b76
JM
134682012-10-05 Joseph Myers <joseph@codesourcery.com>
13469
28234b07
JM
13470 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13471 creal in comment listing functions tested. List finite, isinf,
13472 isnan, isless, islessequal, isgreater, isgreaterequal,
13473 islessgreater, isunordered, lgamma_r and pow10 as functions and
13474 macros not tested. Mention which functions not tested are aliases
13475 for other functions. Fix typo. Note that signs of NaNs are not
13476 tested.
13477
23c31b76
JM
13478 * scripts/config.guess: Update from config.git.
13479 * scripts/config.sub: Likewise.
13480
9043e228
RM
134812012-10-04 Roland McGrath <roland@hack.frob.com>
13482
13483 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13484 * misc/madvise.c (madvise): Renamed to __madvise.
13485 Make madvise a weak alias.
13486 * include/sys/mman.h: Declare __madvise.
13487 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13488 * sysdeps/unix/syscalls.list
13489 (madvise): Make __madvise the strong name, and madvise a weak alias.
13490 * sysdeps/unix/sysv/linux/syscalls.list
13491 (madvise, mmap): Remove redundant entries.
13492 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13493 * malloc/malloc.c (mtrim): Likewise.
13494 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13495
f57f8055
RM
134962012-10-03 Roland McGrath <roland@hack.frob.com>
13497
13498 * sysdeps/mach/hurd/dl-cache.c: File removed.
13499 * config.h.in (USE_LDCONFIG): New #undef.
13500 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13501 * configure: Regenerated.
13502 * elf/Makefile (dl-routines): Add dl-cache only under
13503 [$(use-ldconfig) = yes].
13504 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13505 cache on [USE_LDCONFIG].
13506 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13507 [USE_LDCONFIG].
13508 * elf/rtld.c (dl_main): Likewise.
13509
5bb0c10a
PT
135102012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13511
13512 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13513 _SC_LEVEL4_CACHE_LINESIZE.
13514
010188c6
RM
135152012-10-03 Roland McGrath <roland@hack.frob.com>
13516
13517 * sysdeps/unix/bsd/confstr.h: File removed.
13518
b6c5ec07
AO
135192012-10-02 Alexandre Oliva <aoliva@redhat.com>
13520
13521 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13522 sys/sdt-config.h.
13523
408223d4
RM
135242012-10-02 Roland McGrath <roland@hack.frob.com>
13525
13526 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13527 Make 'mapoff' field ElfW(Off) rather than off_t.
13528
bb9510dc
DL
135292012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13530
fc997c6e
DL
13531 * nscd/Makefile: Remove nscd-cflags and all its users.
13532 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13533 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13534
bb9510dc
DL
13535 [BZ #10631]
13536 * malloc.c (malloc_printerr): Clarify error message.
13537
05699367
L
135382012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13539
13540 [BZ #14648]
13541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13542 Set bit_FMA_Usable if FMA is supported.
13543 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13544 macro.
13545 (bit_FMA4_Usable): Updated.
13546 (index_FMA_Usable): New macro.
13547 (CPUID_FMA): Likewise
13548 (HAS_FMA): Defined with bit_FMA_Usable.
13549
51367701
RM
135502012-10-01 Roland McGrath <roland@hack.frob.com>
13551
13552 * bits/types.h (__swblk_t): Type removed.
13553 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13554 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13556 (__SWBLK_T_TYPE): Likewise.
13557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13558 (__SWBLK_T_TYPE): Likewise.
13559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13560 (__SWBLK_T_TYPE): Likewise.
13561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13562 (__SWBLK_T_TYPE): Likewise.
13563
4d57bf63 135642012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13565 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13566
13567 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13568 (xdr_mapname): Use YPMAXMAP as maxsize.
13569 (xdr_peername): Use YPMAXPEER as maxsize.
13570 (xdr_keydat): Use YPAXRECORD as maxsize.
13571 (xdr_valdat): Use YPMAXRECORD as maxsize.
13572
93c65d43
RM
135732012-10-01 Roland McGrath <roland@hack.frob.com>
13574
497a03d6
RM
13575 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13576
93c65d43
RM
13577 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13578 * csu/init-first.c: ... here.
13579 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13580 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13581 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13583 * sysdeps/i386/init-first.c: File removed.
13584 * sysdeps/sh/init-first.c: File removed.
13585
bec749fd
JM
135862012-10-01 Joseph Myers <joseph@codesourcery.com>
13587
13588 [BZ #14645]
13589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13590 if x * y might underflow to zero and z is zero.
13591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13593 * math/libm-test.inc (min_subnorm_value): New variable.
13594 (fma_test): Add more tests.
13595 (fma_test_towardzero): Likewise.
13596 (fma_test_downward): Likewise
13597 (fma_test_upward): Likewise.
13598 (initialize): Set min_subnorm_value.
13599
8ec5b013
JM
136002012-09-29 Joseph Myers <joseph@codesourcery.com>
13601
13602 [BZ #14638]
13603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13604 0 + 0.
13605 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13606 mode for addition resulting in exact zero.
13607 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13609 exact 0 + 0.
13610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13612 * math/libm-test.inc (fma_test): Add more tests.
13613 (fma_test_towardzero): New function.
13614 (fma_test_downward): Likewise.
13615 (fma_test_upward): Likewise.
13616 (main): Call the new functions.
13617
b1fa802e
DM
136182012-09-28 David S. Miller <davem@davemloft.net>
13619
13620 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13621
d3b9fd9e
RM
136222012-09-28 Roland McGrath <roland@hack.frob.com>
13623
ea4d37b3
RM
13624 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13625 instead of SIGALRM.
13626
ac51c949
RM
13627 * sysdeps/gnu/_G_config.h: Moved to ...
13628 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13629 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13630 * sysdeps/generic/_G_config.h: ... here.
13631
28c195f7
RM
13632 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13633
848917f9
RM
13634 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13635
6bacf05b
RM
13636 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13637 Conditionalize target on [libnss_test1.so-version].
13638
91363dbb
RM
13639 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13640
cc87f7d8
RM
13641 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13642 (elfobjdir): Move out of conditionals.
13643
b1c608fe
RM
13644 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13645 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13646 (__nss_lookup_function): Conditionalize label remove_from_tree on
13647 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13648
1d9a6d96
DM
136492012-09-28 David S. Miller <davem@davemloft.net>
13650
13651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13652 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13653 file.
13654 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13655 sysdep_routines.
13656 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13658 when HWCAP_SPARC_CRYPTO is present.
13659
72581615
PT
136602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13661
13662 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13663
715a900c
JL
136642012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13665
13666 [BZ #6530]
13667 * stdio-common/vfprintf.c (process_string_arg): Revert
13668 2000-07-22 change.
13669
136702011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13671
13672 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13673 for testcase.
13674 * stdio-common/tst-sprintf.c: Include <locale.h>
13675 (main): Test sprintf's handling of incomplete multibyte
13676 characters.
13677
9bac1d86
L
136782012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * elf/dl-runtime.c (VERSYMIDX): Removed.
13681 * elf/dl-version.c (VERSYMIDX): Likewise.
13682 * elf/do-rel.h (VERSYMIDX): Likewise.
13683 (VALIDX): Likewise.
13684 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13685 * elf/rtld.c (VALIDX): Likewise.
13686 (ADDRIDX): Likewise.
9bac1d86
L
13687 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13688 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13689 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13690 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13691 (VALIDX): Likewise.
13692 (ADDRIDX): Likewise.
9bac1d86 13693
b31606c0
PT
136942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13695
13696 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13697
11541177
JL
136982012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13699
13700 [BZ #11438]
13701 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13702 to global scope.
13703 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13704 addresses are in the same scope as 192.0.2/24.
13705 * posix/gai.conf: Document new scope table defaults.
13706
adb26fae
SP
137072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13708
13709 [BZ #5298]
13710 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13711 for ftell. Compute offsets from write pointers instead.
13712 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13713
4573c6b0
SP
137142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13715
13716 [BZ #14543]
13717 * libio/Makefile (tests): New test case tst-fseek.
13718 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13719 combination works in wide mode.
13720 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13721 state when the external buffer state changes.
13722
aa9bbfe6
DM
137232012-09-27 David S. Miller <davem@davemloft.net>
13724
13725 [BZ #14376]
13726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13727 pass reloc->r_addend in as the 'high' argument to
13728 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13729
784421e7
DM
13730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13731
c39bc8b8
PT
137322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13733
13734 * rt/tst-aio2.c: Include <pthread.h>.
13735 * rt/tst-aio3.c: Likewise.
13736
1ccc2399
SE
137372012-09-27 Steve Ellcey <sellcey@mips.com>
13738
13739 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13740
31ed4153
L
137412012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13742
25f5f885
L
13743 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13744 contents on [SHARED].
31ed4153 13745
b7bfe116
MP
137462012-09-26 Marek Polacek <polacek@redhat.com>
13747
13748 [BZ #14530]
13749 [BZ #13741]
13750 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13751 for C++ and GCC <4.3 as well as for non GCC compilers.
13752
43c4edba
MT
137532012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13754
13755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13756
6a1bf82f
RM
137572012-09-25 Roland McGrath <roland@hack.frob.com>
13758
13759 * Makefile.in (all, install): Declare with .PHONY.
13760 Reported by Michael Hope <michael.hope@linaro.org>.
13761
8ad11b9a
TMQMF
137622012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13763
13764 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13765 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13766 system header.
13767 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13768 Likewise.
13769 (sydep_routines): Add the new and the internal functions.
13770 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13771 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13773 (GLIBC_2.17): Add the new function.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13775 (GLIBC_2.17): Likewise.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13777 (GLIBC_2.17): Likewise.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13779 (GLIBC_2.17): Likewise.
13780 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13781
7e2fca8d
AM
137822012-09-25 Alan Modra <amodra@gmail.com>
13783
13784 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13785 Add release barrier before setting once_control to say
13786 initialisation is done. Add hints on lwarx. Use macro in
13787 place of isync.
13788 (clear_once_control): Add release barrier.
13789
b87c4b24
JM
137902012-09-25 Joseph Myers <joseph@codesourcery.com>
13791
d032e0d2
JM
13792 [BZ #13629]
13793 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13794 specially.
13795 * math/s_clog10.c (__clog10): Likewise.
13796 * math/s_clog10f.c (__clog10f): Likewise.
13797 * math/s_clog10l.c (__clog10l): Likewise.
13798 * math/s_clogf.c (__clogf): Likewise.
13799 * math/s_clogl.c (__clogl): Likewise.
13800 * math/Makefile (libm-calls): Add x2y2m1.
13801 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13802 (__x2y2m1): Likewise.
13803 (__x2y2m1l): Likewise.
13804 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13805 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13810 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13811 * sysdeps/i386/fpu/libm-test-ulps: Update.
13812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13813
b87c4b24
JM
13814 [BZ #14621]
13815 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13816 int as type of variable DEPTH.
13817 (glob): Use size_t instead of int as type of variables NEWCOUNT
13818 and OLD_PATHC.
13819
6d3bf199
LD
138202012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13821
22bf5c17
LD
13822 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13823 Add s_sincosf-sse2.
13824 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13825 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13826 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13827 macros for using routine as __sincosf_ia32.
13828 Use macro for function declaration and weak_alias.
13829 * sysdeps/i386/fpu/libm-test-ulps: Update.
13830
13831 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13833
13834 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13835 subnormal argument.
13836 * math/s_cexpf.c (__cexpf): Likewise.
13837 * math/s_csinf.c (__csinf): Likewise.
13838 * math/s_csinhf.c (__csinhf): Likewise.
13839 * math/s_ctanf.c (__ctanf): Likewise.
13840 * math/s_ctanhf.c (__ctanhf): Likewise.
13841 * math/s_ccosh.c (__ccoshf): Likewise.
13842 * math/s_cexp.c (__cexpl): Likewise.
13843 * math/s_csin.c (__csin): Likewise.
13844 * math/s_csinh.c (__csinh): Likewise.
13845 * math/s_ctan.c (__ctan): Likewise.
13846 * math/s_ctanh.c (ctanh): Likewise.
13847 * math/s_ccoshl.c (__ccoshl): Likewise.
13848 * math/s_cexpl.c (__cexpl): Likewise.
13849 * math/s_csinl.c (__csinl): Likewise.
13850 * math/s_csinhl.c (__csinhl): Likewise.
13851 * math/s_ctanl.c (__ctanl): Likewise.
13852 * math/s_ctanhl.c (__ctanhl): Likewise.
13853
203e5603
JM
138542012-09-25 Joseph Myers <joseph@codesourcery.com>
13855
13856 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13857 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13858 (_IO_off_t): Define to __off_t, not _G_off_t.
13859 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13860 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13861 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13862 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13863 type of __dummy and __dummy2 fields.
13864 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13865 (_G_ssize_t): Likewise.
13866 (_G_off_t): Likewise.
13867 (_G_pid_t): Likewise.
13868 (_G_uid_t): Likewise.
13869 (_G_wchar_t): Likewise.
13870 (_G_wint_t): Likewise.
13871 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13872 (_G_ssize_t): Likewise.
13873 (_G_off_t): Likewise.
13874 (_G_pid_t): Likewise.
13875 (_G_uid_t): Likewise.
13876 (_G_wchar_t): Likewise.
13877 (_G_wint_t): Likewise.
13878 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13879 (_G_ssize_t): Likewise.
13880 (_G_off_t): Likewise.
13881 (_G_pid_t): Likewise.
13882 (_G_uid_t): Likewise.
13883 (_G_wchar_t): Likewise.
13884 (_G_wint_t): Likewise.
13885
9fab36eb
SP
138862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13887
13888 * malloc/arena.c: Include malloc-sysdep.h.
13889 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13890 is sufficient to shrink the heap or an unmap is needed.
13891 * sysdeps/generic/malloc-sysdep.h: New file. Define
13892 new function check_may_shrink_heap.
13893 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13894 new function check_may_shrink_heap.
13895
2b4f00d1
SP
138962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13897
13898 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13899 comments.
13900
9a9028b1
DL
139012012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13902
57c69bef
DL
13903 * catgets/test-gencat.sh: Add "set -e".
13904 * elf/tst-pathopt.sh: Likewise.
13905 * grp/tst_fgetgrent.sh: Likewise.
13906 * iconvdata/run-iconv-test.sh: Likewise.
13907 * intl/tst-gettext.sh: Likewise.
13908 * intl/tst-gettext2.sh: Likewise.
13909 * intl/tst-gettext4.sh: Likewise.
13910 * intl/tst-gettext6.sh: Likewise.
13911 * intl/tst-translit.sh: Likewise.
13912 * io/ftwtest-sh: Likewise.
13913 * libio/test-freopen.sh: Likewise.
13914 * malloc/tst-mtrace.sh: Likewise.
13915 * posix/globtest.sh: Likewise.
13916 * posix/tst-getconf.sh: Likewise.
13917 * posix/wordexp-tst.sh: Likewise.
13918 * stdio-common/tst-printf.sh: Likewise.
13919 * stdio-common/tst-unbputc.sh: Likewise.
13920 * stdlib/tst-fmtmsg.sh: Likewise.
13921 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13922 * catgets/Makefile: Do not specify -e option when running
13923 testsuite shell scripts.
13924 * elf/Makefile: Likewise.
13925 * grp/Makefile: Likewise.
13926 * iconvdata/Makefile: Likewise.
13927 * intl/Makefile: Likewise.
13928 * io/Makefile: Likewise.
13929 * libio/Makefile: Likewise.
13930 * malloc/Makefile: Likewise.
13931 * posix/Makefile: Likewise.
13932 * stdio-common/Makefile: Likewise.
13933 * stdlib/Makefile: Likewise.
13934 * sysdeps/x86_64/Makefile: Likewise.
13935
9a9028b1
DL
13936 * io/ftwtest-sh: Add copyright header.
13937 * posix/globtest.sh: Likewise.
13938 * posix/tst-getconf.sh: Likewise.
13939 * posix/wordexp-tst.sh: Likewise.
13940 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13941
ced6f16e
L
139422012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13943
94b32c39
L
13944 [BZ #13679]
13945 * Makeconfig (+link): Defined as $(+link-static) if
13946 $(build-shared) isn't yes.
13947 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13948 isn't yes.
13949 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13950
189e935b
L
13951 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13952
ced6f16e
L
13953 [BZ #14562]
13954 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13955 new chunk size with MALLOC_ALIGN_MASK.
13956
a9f8e53a
JM
139572012-09-24 Joseph Myers <joseph@codesourcery.com>
13958
13959 [BZ #5044]
13960 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13961 <rounding-mode.h>.
13962 (__printf_fphex): Determine rounding using get_rounding_mode and
13963 round_away.
13964 * stdio-common/tst-printf-round.c (struct hex_test): New
13965 structure.
13966 (hex_tests): New variable.
13967 (test_hex_in_one_mode): New function.
13968 (do_test): Also run tests for hex float output.
13969
43153109
JM
139702012-09-21 Joseph Myers <joseph@codesourcery.com>
13971
13972 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13973 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13974 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13975 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13976 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13977 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13978 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13979 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13980
8a26625d
JM
139812012-09-20 Joseph Myers <joseph@codesourcery.com>
13982
13983 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13984 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13985 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13986 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13987
f3fd569c
DL
139882012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13989
13990 [BZ #14579]
13991 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13992 mode only.
13993 * elf/tst-rtld-load-self.sh: New test.
13994 * elf/Makefile: Run it.
13995
63bbedd4
JM
139962012-09-18 Joseph Myers <joseph@codesourcery.com>
13997
13998 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13999 (tst-writev-ENV): Remove.
14000 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14001
626f8b6a
CM
140022012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14003
14004 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14005
b7aaa4d6
JM
140062012-09-17 Joseph Myers <joseph@codesourcery.com>
14007
14008 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14009 unconditional.
14010 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14011 Likewise.
14012 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14013 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14014 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14015 Likewise.
14016
65513990
L
140172012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14018
14019 [BZ #14587]
14020 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14021 * config.make.in (have-cpp-asm-debuginfo): Removed.
14022 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14023 * configure: Regenerated.
14024
784761be
JM
140252012-09-14 Joseph Myers <joseph@codesourcery.com>
14026
14027 [BZ #5044]
14028 * stdio-common/printf_fp.c: Include <stdbool.h> and
14029 <rounding-mode.h>.
14030 (___printf_fp): Determine rounding using get_rounding_mode and
14031 round_away.
14032 * stdio-common/tst-printf-round.c: New file.
14033 * stdio-common/Makefile (tests): Add tst-printf-round.
14034 (link-libm): New variable.
14035 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14036
9503345f
L
140372012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14038
14039 [BZ #14576]
14040 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14041 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14042 Likewise.
14043 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14044 Likewise.
14045
ad35fc00
JM
140462012-09-13 Joseph Myers <joseph@codesourcery.com>
14047
14048 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14049 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14050 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14051 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14052
6c9b0f68
JM
140532012-09-12 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #14518]
14056 * include/rounding-mode.h: New file.
14057 * sysdeps/generic/get-rounding-mode.h: Likewise.
14058 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14059 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14060 (MAX_VALUE): New macro.
14061 (MIN_VALUE): Likewise.
14062 (overflow_value): New function.
14063 (underflow_value): Likewise.
14064 (round_and_return): Use overflow_value and underflow_value to
14065 determine return values in overflow and underflow cases. Use
14066 round_away to determine rounding depending on rounding mode.
14067 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14068 determine return values in overflow and underflow cases.
14069 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14070 (struct test_results): New structure.
14071 (struct test): Use struct test_results to store expected results
14072 for all rounding modes.
14073 (TEST): Include expected results for all rounding modes.
14074 (test_in_one_mode): New function.
14075 (do_test): Use test_in_one_mode to compute and check results.
14076 Check results for all rounding modes.
14077 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14078 $(link-libm).
14079
19fcedd5
AM
140802012-12-09 Allan McRae <allan@archlinux.org>
14081
1e9d84cd 14082 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14083
8bbfd2f1
JM
140842012-09-11 Joseph Myers <joseph@codesourcery.com>
14085
14086 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14087 (_G_int32_t): Likewise.
14088 (_G_uint16_t): Likewise.
14089 (_G_uint32_t): Likewise.
14090 (_G_HAVE_BOOL): Likewise.
14091 (_G_HAVE_ATEXIT): Likewise.
14092 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14093 (_G_HAVE_IO_FILE_OPEN): Likewise.
14094 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14095 (_G_int32_t): Likewise.
14096 (_G_uint16_t): Likewise.
14097 (_G_uint32_t): Likewise.
14098 (_G_HAVE_BOOL): Likewise.
14099 (_G_HAVE_ATEXIT): Likewise.
14100 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14101 (_G_HAVE_IO_FILE_OPEN): Likewise.
14102 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14103 (_G_int32_t): Likewise.
14104 (_G_uint16_t): Likewise.
14105 (_G_uint32_t): Likewise.
14106 (_G_HAVE_BOOL): Likewise.
14107 (_G_HAVE_ATEXIT): Likewise.
14108 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14109 (_G_HAVE_IO_FILE_OPEN): Likewise.
14110
b1dc5912
L
141112012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14112
14113 * csu/libc-tls.c: Update copyright years.
14114
0e886ef9
JM
141152012-09-10 Joseph Myers <joseph@codesourcery.com>
14116
28361c5e
JM
14117 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14118 [!_G_USING_THUNKS]: Remove conditional code.
14119 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14120 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14121
0e886ef9
JM
14122 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14123 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14124 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14125 (_G_VTABLE_LABEL_PREFIX): Likewise.
14126 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14127 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14129 (_G_VTABLE_LABEL_PREFIX): Likewise.
14130 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14131 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14132 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14133 (_G_VTABLE_LABEL_PREFIX): Likewise.
14134 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14135
bcba7aa2
L
141362012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14137
14138 * libio/Makefile: Include ../Makeconfig before tests.
14139 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14140 only if $(build-shared) is yes.
14141
06585ee8
L
14142 * iconv/gconv_db.c: Update copyright years.
14143
80ccd52c
LD
141442012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14145
14146 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14147 unwind info if defined PIC. Fix special cases description.
14148 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14149
14150 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14151 DP_HI_MASK entry.
14152 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14153
691bc9c1
L
141542012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14155
3d9b46b3
L
14156 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14157
de2139a9
L
14158 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14159 is NULL.
14160
5ca78dd0
L
14161 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14162 (LDLIBS-tst-chk4): This.
14163 (LDFLAGS-tst-chk5): Renamed to ...
14164 (LDLIBS-tst-chk5): This.
14165 (LDFLAGS-tst-chk6): Renamed to ...
14166 (LDLIBS-tst-chk6): This.
14167 (LDFLAGS-tst-lfschk4): Renamed to ...
14168 (LDLIBS-tst-lfschk4): This.
14169 (LDFLAGS-tst-lfschk5): Renamed to ...
14170 (LDLIBS-tst-lfschk5): This.
14171 (LDFLAGS-tst-lfschk6): Renamed to ...
14172 (LDLIBS-tst-lfschk6): This.
14173
691bc9c1
L
14174 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14175 on $(common-objpfx)soversions.mk.
14176
65cafb1c
JM
141772012-09-07 Joseph Myers <joseph@codesourcery.com>
14178
14179 [BZ #10014]
14180 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14181 example host name.
14182
c78ab094
SP
141832012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14184
14185 * malloc/arena.c (arena_get_retry): New function that gets
14186 another arena for the caller to try its request on.
14187 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14188 current arena cannot fulfill the request.
14189 (__libc_memalign): Likewise.
14190 (__libc_memalign): Likewise.
14191 (__libc_pvalloc): Likewise.
14192 (__libc_calloc): Likewise.
14193
01f49f59
JT
141942012-09-05 John Tobey <john.tobey@gmail.com>
14195
14196 [BZ #13542]
14197 * manual/arith.texi (Operations on Complex): Fix description
14198 of carg branch cut.
14199
4c23fed5
JM
142002012-09-06 Joseph Myers <joseph@codesourcery.com>
14201
1d3c8572
JM
14202 [BZ #10014]
14203 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14204 host name.
14205
4c23fed5
JM
14206 [BZ #10038]
14207 * manual/memory.texi (Memory): Make order of menu items match
14208 order of sections.
14209
04570aaa
L
142102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14213 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14214 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14215
b80af2f4
L
142162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * csu/libc-tls.c (static_dtv): Renamed to ...
14219 (_dl_static_dtv): This. Make it global.
14220 (_dl_initial_dtv): Removed.
14221 (__libc_setup_tls): Updated.
14222 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14223 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14224 DL_INITIAL_DTV.
14225
2abe9f15
PM
142262012-09-06 Petr Machata <pmachata@redhat.com>
14227
14228 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14229 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14230 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14231 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14232
0948c3af
L
142332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 [BZ #14545]
14236 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14237 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14238 freeing dtv[-1].
14239
a5055ad1
L
142402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 [BZ #14544]
14243 * Makeconfig (link-static-before-libc): Replace $(+prector)
14244 with $(+prectorT).
14245 (link-static-after-libc): Replace $(+postctor) with
14246 $(+postctorT).
14247 (link-bounded): Replace $(+prector)/$(+postctor) with
14248 $(+prectorT)/$(+postctorT).
14249 (+prectorT): New macro.
14250 (+postctorT): Likewise.
14251
ed8c2ecd
JM
142522012-09-06 Joseph Myers <joseph@codesourcery.com>
14253
14254 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14255 (round_str): Handle values above the maximum for IBM long double
14256 as inexact.
14257 * stdlib/tst-strtod-round.c (tests): Regenerated.
14258
14c996c8
AK
142592012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14260
14261 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14262 assembler flag.
14263 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14264 zarch_nohighgprs around the zarch optimized routines.
14265 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14266 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14268 for zarch.
14269
430d6ce6
DM
142702012-09-05 David S. Miller <davem@davemloft.net>
14271
14272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14273
ff04dda4
DM
14274 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14275 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14276 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14277 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14278 entries.
14279
24d4e01b
AO
142802012-09-05 Alexandre Oliva <aoliva@redhat.com>
14281
14282 * malloc/arena.c: Fold copyright years.
14283 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14284
61d58174
AO
142852012-09-05 Alexandre Oliva <aoliva@redhat.com>
14286
14287 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14288
20196a5e
AO
142892012-09-05 Alexandre Oliva <aoliva@redhat.com>
14290
14291 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14292
5c447383
AO
142932012-09-05 Alexandre Oliva <aoliva@redhat.com>
14294
14295 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14296 change internal state upon failure.
14297
fad64255
AO
142982012-09-05 Alexandre Oliva <aoliva@redhat.com>
14299
14300 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14301 * malloc/memusage.c (mmap): Likewise.
14302 (mmap64, mremap): Likewise. Adjust name in comment.
14303
1ffb8c90
SP
143042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14305
14306 * libio/fileops.c: Fix typos in comments.
14307 * libio/oldfileops.c: Likewise.
14308 * libio/wfileops.c: Likewise.
14309
6ef9cc37
SP
143102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14311
14312 [BZ #1349]
14313 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14314 (tst-malloc-usable-ENV): Set environment for test case.
14315 * malloc/hooks.c (malloc_check_get_size): New function to get
14316 requested size.
14317 * malloc/malloc.c (musable): Use malloc_check_get_size.
14318 * malloc/tst-malloc-usable.c: New test case.
14319
4d038ae3
AS
143202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14321
14322 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14323
c4e85184
AM
143242012-09-05 Allan McRae <allan@archlinux.org>
14325
b9dafc56 14326 [BZ #13966]
c4e85184
AM
14327 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14328 determine header location.
14329 * configure: Regenerated.
14330
e1343020
AS
143312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14332
14333 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14334 float format.
14335 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14336 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14337 format.
e1343020
AS
14338 (test): Regenerate.
14339
0a9f1987
DM
143402012-09-04 David S. Miller <davem@davemloft.net>
14341
14342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14345
29237804
FW
143462012-09-04 Florian Weimer <fweimer@redhat.com>
14347
14348 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14349 failures.
14350
edb3cb88
FW
14351 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14352
60160d83
JM
143532012-09-04 Joseph Myers <joseph@codesourcery.com>
14354
14355 [BZ #9914]
14356 * libio/iogetdelim.c: Include <limits.h>.
14357 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14358 + len + 1 would overflow.
14359
bcd6c8dc
AJ
143602012-09-03 Andreas Jaeger <aj@suse.de>
14361
14362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14363 * sysdeps/i386/fpu/libm-test-ulps: Update.
14364
4ffffbd2
LD
143652012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14366
14367 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14368 Add s_sinf-sse2, s_conf-sse2.
14369
14370 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14371 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14372 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14373 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14374
14375 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14376 for using routine as __sinf_ia32.
14377 Use macro for function declaration and weak_alias.
14378 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14379 for using routine as __cosf_ia32.
14380 Use macro for function declaration and weak_alias.
14381
14382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14383 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14384
14385 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14386 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14388
14389 * math/libm-test.inc (cos_test): Add more test cases.
14390 (sin_test): Likewise.
14391 (sincos_test): Likewise.
14392
511fa286
AK
143932012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14394
14395 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14396 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14397 hidden.
14398 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14399
5f30cfec
L
144002012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14401
14402 [BZ #14538]
14403 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14404 first element of the GOT.
14405 (elf_machine_load_address): Return the difference between
14406 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14407
0786794f
AM
144082012-09-01 Allan McRae <allan@archlinux.org>
14409
5f30cfec
L
14410 [BZ #13412]
14411 * configure.in (AWK): Require gawk version 3.0 or later.
14412 * configure: Regenerated.
0786794f 14413
26889eac
JM
144142012-09-01 Joseph Myers <joseph@codesourcery.com>
14415
14416 * sysdeps/unix/sysv/linux/kernel-features.h
14417 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14419 [__NR_clock_getres]: Make code unconditional.
14420 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14421 (clock_getcpuclockid): Remove code left unreachable by removal of
14422 conditionals.
14423 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14424 code unconditional.
14425 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14426 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14427 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14428 Make code unconditional.
14429 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14430 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14431 * sysdeps/unix/sysv/linux/clock_settime.c
14432 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14433 conditional code.
14434 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14436
d22e28b0
L
144372012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14438
14439 [BZ #14476]
14440 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14441 scripts/test-installation.pl.
14442
14443 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14444 and $ld_so_version if it is set.
14445
050af9c4
SP
144462012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14447
14448 [BZ #14516]
14449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14450 failure if reading from procfs failed.
14451 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14452
ad845c0b
JM
144532012-08-27 Joseph Myers <joseph@codesourcery.com>
14454
14455 * sysdeps/unix/sysv/linux/kernel-features.h
14456 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14457 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14458 Remove conditional code.
14459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14460 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14461 Remove conditional code.
14462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14463 * sysdeps/unix/sysv/linux/i386/fxstat.c
14464 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14467 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/i386/lxstat.c
14470 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14476 Remove conditional code.
14477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14479 <kernel-features.h>.
14480 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14481 Remove.
14482 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14483 Remove conditional code.
14484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14485 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14486 Remove conditional.
14487
5dbf56af
MF
144882012-08-27 Mike Frysinger <vapier@gentoo.org>
14489
14490 [BZ #5400]
14491 * NEWS: Add fixed bug number.
14492
d6e70f43
JM
144932012-08-27 Joseph Myers <joseph@codesourcery.com>
14494
7efb4737
JM
14495 [BZ #14519]
14496 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14497 underflowing exponent in case of negative sign.
14498 * stdlib/tst-strtod-round-data: Add more tests.
14499 * stdlib/tst-strtod-round.c (tests): Regenerated.
14500
af92131a
JM
14501 [BZ #3479]
14502 * stdlib/strtod_l.c (NDIG): Remove.
14503 (HEXNDIG): Likewise.
14504 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14505 smallest representable value.
14506 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14507 lie within an exact representation of 1/2 ulp of the result.
14508 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14509 unconditionally.
14510 (TENS_P9_IDX): Define unconditionally.
14511 (TENS_P9_SIZE): Likewise.
14512 (TENS_P10_IDX): Likewise.
14513 (TENS_P10_SIZE): Likewise.
14514 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14515 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14516 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14517 entries for 10^2^13 and 10^2^14.
14518 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14519 (TENS_P13_IDX): Define.
14520 (TENS_P13_SIZE): Likewise.
14521 (TENS_P14_IDX): Likewise.
14522 (TENS_P14_SIZE): Likewise.
14523 (_fpioconst_pow10): Change array size to
14524 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14525 unconditional.
14526 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14527 1024]: Add entries for 10^2^13 and 10^2^14.
14528 [LAST_POW10 > _LAST_POW10]: Remove #error.
14529 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14530 (_fpioconst_pow10): Change array size to
14531 FPIOCONST_POW10_ARRAY_SIZE.
14532 * stdlib/gen-fpioconst.c: New file.
14533 * stdlib/gen-tst-strtod-round.c: Likewise.
14534 * stdlib/tst-strtod-round-data: Likewise.
14535 * stdlib/tst-strtod-round.c: Likewise.
14536 * stdlib/Makefile (tests): Add tst-strtod-round.
14537
d6e70f43
JM
14538 [BZ #14459]
14539 * stdlib/strtod_l.c: Include <stdint.h>.
14540 (NDEBUG): Do not define.
14541 (round_and_return): Change EXPONENT parameter to type intmax_t.
14542 Rearrange calculations to avoid internal overflow possibilities.
14543 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14544 Rearrange calculations to avoid internal overflow possibilities.
14545 Assert that number fits inside MPNSIZE limbs.
14546 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14547 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14548 calculations and add assertions to avoid internal overflow
14549 possibilities. Add casts to avoid signed/unsigned operations.
14550 * stdlib/tst-strtod-overflow.c: New file.
14551 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14552
1f529f7d
MP
145532012-08-25 Marek Polacek <polacek@redhat.com>
14554
14555 * time/time.h: Fix some typos in comments.
14556
59a629f1
RM
145572012-08-23 Roland McGrath <roland@hack.frob.com>
14558
14559 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14560 * posix/tst-rfc3484-2.c: Likewise.
14561 * posix/tst-rfc3484-3.c: Likewise.
14562
d3bafbc9
SM
145632012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14564
14565 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14566 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14567
4efcc022
JM
145682012-08-23 Joseph Myers <joseph@codesourcery.com>
14569
14570 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14571 #include of fxstatat64.c.
14572
3cc3ef96
RM
145732012-08-22 Roland McGrath <roland@hack.frob.com>
14574
f04e2132
RM
14575 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14576 * shadow/getspent_r.c: Likewise.
14577 * shadow/getspnam.c: Likewise.
14578 * shadow/getspnam_r.c: Likewise.
14579 * gshadow/getsgent.c: Likewise.
14580 * gshadow/getsgent_r.c: Likewise.
14581 * gshadow/getsgnam.c: Likewise.
14582 * gshadow/getsgnam_r.c: Likewise.
14583 * inet/getnetbyad.c: Likewise.
14584 * inet/getnetbyad_r.c: Likewise.
14585 * inet/getnetbynm.c: Likewise.
14586 * inet/getnetbynm_r.c: Likewise.
14587 * inet/getnetent.c: Likewise.
14588 * inet/getnetent_r.c: Likewise.
14589 * inet/getproto.c: Likewise.
14590 * inet/getproto_r.c: Likewise.
14591 * inet/getprtent.c: Likewise.
14592 * inet/getprtent_r.c: Likewise.
14593 * inet/getprtname.c: Likewise.
14594 * inet/getprtname_r.c: Likewise.
14595 * inet/getrpcbyname.c: Likewise.
14596 * inet/getrpcbyname_r.c: Likewise.
14597 * inet/getrpcbynumber.c: Likewise.
14598 * inet/getrpcbynumber_r.c: Likewise.
14599 * inet/getrpcent.c: Likewise.
14600 * inet/getrpcent_r.c: Likewise.
14601 * inet/getaliasent.c: Likewise.
14602 * inet/getaliasent_r.c: Likewise.
14603 * inet/getaliasname.c: Likewise.
14604 * inet/getaliasname_r.c: Likewise.
14605 * nscd/getgrgid_r.c: Likewise.
14606 * nscd/getgrnam_r.c: Likewise.
14607 * nscd/gethstbyad_r.c: Likewise.
14608 * nscd/gethstbynm3_r.c: Likewise.
14609 * nscd/getpwnam_r.c: Likewise.
14610 * nscd/getpwuid_r.c: Likewise.
14611 * nscd/getsrvbynm_r.c: Likewise.
14612 * nscd/getsrvbypt_r.c: Likewise.
14613 * nscd/gai.c: Likewise.
14614
c53d909c
RM
14615 * configure.in (build_nscd): New substituted variable, set
14616 by --disable-build-nscd and defaults to $use_nscd.
14617 * configure: Regenerated.
14618 * config.make.in (build-nscd): New substituted variable.
14619 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14620 Change conditional to require [$(build-nscd) = yes] as well.
14621 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14622
3cc3ef96
RM
14623 [BZ# 13696]
14624 * configure.in (use_nscd): New substituted variable, set by
14625 --disable-nscd. If enabled, define USE_NSCD.
14626 * configure: Regenerated.
14627 * config.h.in: Add USE_NSCD.
14628 * config.make.in (use-nscd): New substituted variable.
14629 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14630 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14631 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14632 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14633 (CFLAGS-getgrnam_r.c): Likewise.
14634 (CFLAGS-initgroups.c): Likewise.
14635 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14636 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14637 Variables removed.
14638 * inet/getnetgrent_r.c
14639 (nscd_setnetgrent): New function, broken out of ...
14640 (setnetgrent): ... here. Call it.
14641 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14642 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14643 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14644 * nscd/Makefile (routines, aux): Move definitions after include of
14645 Makeconfig. Conditionalize on [$(use-nscd) != no].
14646 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14647 Conditionalize on [USE_NSCD].
14648 (is_nscd, nscd_init_cb): Likewise.
14649 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14650 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14651 * nss/nss_db/db-init.c: Likewise.
14652 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14653 [USE_NSCD].
14654 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14655 (make_request): Use it.
14656 (cache_valid_p): New function.
14657 (__check_pf): Use it.
14658 * NEWS: Add item for --disable-nscd.
14659
07e51550
DL
146602012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14661
14662 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14663 to support sed >= 4.2.1-20-ga9bf076.
14664 * configure: Regenerated.
14665
35a5b08b
RM
146662012-08-22 Roland McGrath <roland@hack.frob.com>
14667
14668 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14669 Conditionalize whole body on [IREL].
14670
8479f23a
JL
146712012-08-22 Jeff Law <law@redhat.com>
14672
14673 [BZ #14505]
14674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14675 if the family is PF_UNSPEC.
14676
48da0b21
MF
146772012-08-22 Mike Frysinger <vapier@gentoo.org>
14678
14679 * Makerules (lib-version): Rename from V.
14680 (install-lib-nosubdir): Change V to lib-version.
14681
15d0da8c
WS
146822012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14683
14684 [BZ #14252]
14685 * powerpc32/power6/wcschr.c: New file.
14686 * powerpc32/power6/wcscpy.c: New file.
14687 * powerpc32/power6/wcsrchr.c: New file.
14688 * powerpc64/power6/wcschr.c: New file.
14689 * powerpc64/power6/wcscpy.c: New file.
14690 * powerpc64/power6/wcsrchr.c: New file.
14691
bcca0895
MK
146922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14693
14694 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14695 (two_way_short_needle): Use it.
5a4aaa33
RM
14696 * string/strstr.c (AVAILABLE1_USES_J): Define.
14697 * string/strcasestr.c: Likewise.
99677e57
MK
14698
14699 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14700 array references.
14701 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14702
400726de
MK
14703 [BZ #11607]
14704 * NEWS: Add an entry.
14705 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14706 define their defaults.
14707 (two_way_short_needle): Detect end-of-string on-the-fly.
14708 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14709 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14710 * string/bug-strcasestr1.c: New test.
14711 * string/Makefile: Run it.
14712
20a71f2c
MK
147132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14714
14715 [BZ #11607]
14716 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14717 the first character.
14718
21ad0558
RM
147192012-08-21 Roland McGrath <roland@hack.frob.com>
14720
14721 * csu/elf-init.c (__libc_csu_irel): Function removed.
14722 * csu/libc-start.c (apply_irel): New function.
14723 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14724
0e1d9911
JM
147252012-08-21 Joseph Myers <joseph@codesourcery.com>
14726
14727 * sysdeps/unix/sysv/linux/kernel-features.h
14728 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14729 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14730 <kernel-features.h>.
14731 [__NR_fadvise64_64]: Make code unconditional.
14732 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14733 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14734 !__NR_fadvise64_64)]: Likewise.
14735 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14736 !__NR_fadvise64_64))]: Likewise.
14737 [__NR_fadvise64]: Make code unconditional.
14738 [!__NR_fadvise64]: Remove conditional code.
14739 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14740 <kernel-features.h>.
14741 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14742 unconditional.
14743 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14744 conditional code.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14746 not include <kernel-features.h>.
14747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14748 unconditional.
14749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14750 conditional code.
14751 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14752 include <kernel-features.h>.
14753 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14754 unconditional.
14755 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14756 conditional code.
14757
14a50c9d
WS
147582012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14759
14760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14761 slight instruction rearrangements per scrollpipe analysis.
14762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14763
c0f4faf0
RM
147642012-08-20 Roland McGrath <roland@hack.frob.com>
14765
696da859
RM
14766 * manual/syslog.texi (syslog; vsyslog, closelog):
14767 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14768 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14769
c0f4faf0
RM
14770 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14771 DSOCAPS to match condition on defining it.
14772
348363b2
JM
147732012-08-20 Joseph Myers <joseph@codesourcery.com>
14774
a35cbf28
JM
14775 * sysdeps/unix/sysv/linux/kernel-features.h
14776 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14778 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14779 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14781 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14782 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14784 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14785 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14786
445f7ecd
JM
14787 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14788 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14789
348363b2
JM
14790 * sysdeps/unix/sysv/linux/kernel-features.h
14791 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14792 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14793 unconditional.
14794 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14795 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14796 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14797 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14798 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14799 Make code unconditional.
14800 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14801 (__mmap64) [!__NR_mmap2]: Likewise.
14802 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14803 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14804 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14805 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14806 [__NR_mmap2]: Make code unconditional.
14807 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14808 (__mmap64) [!__NR_mmap2]: Likewise.
14809
bc5bc0e5
AK
148102012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14811
14812 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14813
88d506de
AJ
148142012-08-18 Andreas Jaeger <aj@suse.de>
14815
14816 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14817
493387d2
MF
148182012-08-18 Mike Frysinger <vapier@gentoo.org>
14819
14820 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14821 * include/unistd.h (__have_sock_cloexec): Likewise.
14822 (__have_pipe2): Likewise.
14823 (__have_dup3): Likewise.
14824
a277af22
MF
148252012-08-18 Mike Frysinger <vapier@gentoo.org>
14826
14827 [BZ #9685]
14828 * include/unistd.h (__have_pipe2): Change define into an extern int.
14829 (__have_dup3): Likewise.
14830 * socket/have_sock_cloexec.c: Include fcntl.h.
14831 (__have_pipe2): New variable.
14832 (__have_dup3): Likewise.
14833
fdab8fd3
MF
148342012-08-17 Mike Frysinger <vapier@gentoo.org>
14835
14836 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14837
31035e80
MP
148382012-08-17 Marek Polacek <polacek@redhat.com>
14839
14840 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14841 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14842
3bd9e993
RM
148432012-08-17 Roland McGrath <roland@hack.frob.com>
14844
c91c505f
RM
14845 * configure.in: Add AC_SUBST for sysheaders.
14846 * configure: Regenerated.
14847 * config.make.in (sysheaders): New substituted variable.
14848
7c6f9d53
RM
14849 * sysdeps/unix/mkfifo.c: Moved ...
14850 * sysdeps/posix/mkfifo.c: ... here.
14851 * sysdeps/unix/mkfifoat.c: Moved ...
14852 * sysdeps/posix/mkfifoat.c: ... here.
14853
14854 * sysdeps/unix/utime.c: Moved ...
14855 * sysdeps/posix/utime.c: ... here.
14856
14857 * sysdeps/unix/time.c: Moved ...
14858 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14859 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14860 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14861
14862 * sysdeps/unix/nice.c: Moved ...
14863 * sysdeps/posix/nice.c: ... here.
14864
14865 * sysdeps/unix/alarm.c: Moved ...
14866 * sysdeps/posix/alarm.c: ... here.
14867
3bd9e993
RM
14868 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14869
d1f09384
JL
148702012-08-17 Jeff Law <law@redhat.com>
14871
14872 * intl/Makefile (codeset_mo): New variable.
14873 ($(codeset_mo)): New target.
14874 (tst-codeset.out): Depend on that. Remove explicit rule.
14875 (tst-gettext3.out, tst-gettext5.out): Likewise.
14876 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14877 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14878 * intl/tst-codeset.sh: Remove.
14879 * intl/tst-gettext3.sh: Likewise.
14880 * intl/tst-gettext5.sh: Likewise.
14881
2ae1ae5c
RM
148822012-08-17 Roland McGrath <roland@hack.frob.com>
14883
c31fdb83
RM
14884 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14885 * sysdeps/unix/syscalls.list: ... here.
14886
a0844057
RM
14887 * sysdeps/posix/getaddrinfo.c
14888 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14889 (gaiconf_init, gaiconf_reload): Use them.
14890 [!_STATBUF_ST_NSEC]
14891 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14892 Define using time_t rather than struct timespec.
14893
750c1f2a
RM
14894 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14895 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14896 Macros removed.
14897 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14898 [!NO_THREADS].
14899 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14900 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14901 Likewise.
14902
2ae1ae5c
RM
14903 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14904 __libc_cleanup_push argument.
14905
e66a42f5
RM
14906 * bits/param.h: New file.
14907 * misc/sys/param.h: New file.
14908 * include/sys/param.h: New file.
14909 * misc/Makefile (headers): Add bits/param.h.
14910 * sysdeps/generic/sys/param.h: File removed.
14911 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14912 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14913 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14914 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14915
b7c08a66
RM
14916 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14917 last change.
14918
b2e1c562
RM
14919 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14920 [_IO_MTSAFE_IO].
14921 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14922 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14923 New macros.
14924
c75ccd4c
RM
14925 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14926 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14927 rather than -D_IO_MTSAFE_IO conditionally.
14928 * stdio-common/Makefile (CPPFLAGS): Likewise.
14929 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14930 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14931 Use $(libio-mtsafe).
14932 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14933 of -D_IO_MTSAFE_IO.
14934 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14935 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14936 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14937 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14938 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14939 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14940 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14941 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14942 (CFLAGS-fread_u_chk.c): Likewise.
14943 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14944 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14945 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14946 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14947 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14948 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14949 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14950 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14951 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14952
14953 * libio/Makefile: Test [$(libc-reentrant) = yes]
14954 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14955
14956 * Makeconfig
14957 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14958 * sysdeps/pthread/configure: File removed.
14959 * sysdeps/pthread/Makeconfig: New file.
14960 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14961 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14962
d9195db8
GB
149632012-08-16 Gary Benson <gbenson@redhat.com>
14964
14965 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14966 unmapping the first object in a namespace.
14967
86466cd9
RM
149682012-08-16 Roland McGrath <roland@hack.frob.com>
14969
14970 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14971 (__internal_setnetgrent): ... this. Add internal_function to
14972 definition. Add libc_hidden_def.
14973 (setnetgrent): Update caller.
14974 (internal_endnetgrent): Renamed to ...
14975 (__internal_endnetgrent): ... this. Add internal_function to
14976 definition. Add libc_hidden_def.
14977 (endnetgrent): Update caller.
14978 (internal_getnetgrent_r): Renamed to ...
14979 (__internal_getnetgrent_r): ... this. Add internal_function to
14980 definition. Add libc_hidden_def.
14981 (__getnetgrent_r): Update caller.
14982 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14983
c3c8283c
JM
149842012-08-16 Joseph Myers <joseph@codesourcery.com>
14985
14986 * stdlib/longlong.h: Update from GCC.
14987
db1ee0a8
RM
149882012-08-16 Roland McGrath <roland@hack.frob.com>
14989
14990 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14991 on _QL, which is set by umul_ppmm but never used.
14992 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14993 variables, which are set by GMP macros but never used.
14994 * stdio-common/_itowa.c (_itowa): Likewise.
14995 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14996 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14997
30f69637
CD
149982012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14999
15000 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15001 struct La_sh_regs is not constant.
15002 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15003 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15004 and struct La_sparc64_regs are not constant.
15005
93a78ac4
JM
150062012-08-16 Joseph Myers <joseph@codesourcery.com>
15007
15008 * sysdeps/unix/sysv/linux/kernel-features.h
15009 (__ASSUME_POSIX_TIMERS): Remove.
15010 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15012 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15013 Make code unconditional.
15014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15015 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15016 Make code unconditional.
15017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15018 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15019 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15021 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15022 Make code unconditional.
15023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15024 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15025 (__libc_missing_posix_timers): Remove.
15026
dd924cd7
RM
150272012-08-15 Roland McGrath <roland@hack.frob.com>
15028
4b4f2771
RM
15029 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15030 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15031
601c888b
RM
15032 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15033
176790a7
RM
15034 * elf/dl-sym.c: Include <stdlib.h>.
15035
329bc018
RM
15036 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15037 constants, which avoids warnings in 32-bit builds.
15038
e04e272d
RM
15039 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15040 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15041
952bf94a
RM
15042 * misc/lseek.c: File moved to ...
15043 * io/lseek.c: ... here.
15044
7c99b50a
RM
15045 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15046
dd924cd7
RM
15047 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15048 shifting LEN more than 31 bits at once.
15049
b3f479a8
LD
150502012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15051
15052 [BZ #14195]
8c4ae0d4
RM
15053 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15054 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15055 * string/test-strncasecmp.c (check1): Renamed to...
15056 (bz12205): ...this.
15057 (bz14195): Add new testcase for two empty input strings and N > 0.
15058 (test_main): Call new testcase, adapt for renamed function.
15059
9c55864e
AJ
150602012-08-15 Andreas Jaeger <aj@suse.de>
15061
15062 [BZ #14090]
15063 * crypt/md5test2.c: New test, based on test supplied by Serge
15064 Belyshev <belyshev@depni.sinp.msu.ru>.
15065 * crypt/Makefile (xtests): Add md5test-giant..
15066 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15067
02dcb6c5
PE
150682012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15069
15070 [BZ #14090]
15071 * crypt/md5.c (md5_process_block): Don't assume the buffer
15072 length is less than 2**32.
15073 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15074 length is less than 2**64.
15075
a3f95dcc
RM
150762012-08-15 Roland McGrath <roland@hack.frob.com>
15077
be75d758
RM
15078 * string/str-two-way.h: Include <sys/param.h>.
15079 (MAX): Macro removed.
15080
7312ca90
RM
15081 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15082 Move #define and #undef of memmove to just before and after
15083 including <string.h>.
15084
9a0a5486
RM
15085 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15086 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15087 and after including <string.h>. Move declarations of
15088 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15089 to before #include "string/memmove.c".
15090
67cc348d
RM
15091 * include/dirent.h: Declare __getdirentries.
15092
a3f95dcc
RM
15093 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15094 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15095
ca98e171
MF
150962012-08-14 Mike Frysinger <vapier@gentoo.org>
15097
15098 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15099 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15100 * sysdeps/i386/configure: Regenerated.
15101 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15102 STABS_CURRENT_FILE, and STABS_FUN.
15103 (END): Remove call to STABS_FUN_END.
15104 (STABS_CURRENT_FILE1): Delete.
15105 (STABS_CURRENT_FILE): Likewise.
15106 (STABS_FUN): Likewise.
15107 (STABS_FUN_END): Likewise.
15108 (STABS_FUN2): Likewise.
15109 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15110 * sysdeps/x86_64/configure: Regenerated.
15111
5908bf46
RM
151122012-08-14 Roland McGrath <roland@hack.frob.com>
15113
15114 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15115 * elf/dl-lookup.c: Likewise.
5908bf46 15116
f2c05b9e
JM
151172012-08-14 Joseph Myers <joseph@codesourcery.com>
15118
15119 * sysdeps/unix/sysv/linux/kernel-features.h
15120 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15121 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15122 unconditionally.
15123 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15124 unconditionally.
15125 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15126 condition on __ASSUME_CLONE_THREAD_FLAGS.
15127
e11f5155
AJ
151282012-08-14 Andreas Jaeger <aj@suse.de>
15129
15130 * sysdeps/i386/fpu/libm-test-ulps: Update.
15131
51a9ba86
MK
151322012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15133
2fdd4f78
AJ
15134 * include/atomic.h (atomic_exchange_and_add): Split into ...
15135 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15136 New atomic macros.
51a9ba86 15137
ba6cba9e
MT
151382012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15139
15140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15141
42443a47
JL
151422012-08-13 Jeff Law <law@redhat.com>
15143
15144 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15145 null byte in the output string.
15146
121dce05
JM
151472012-08-10 Joseph Myers <joseph@codesourcery.com>
15148
15149 * sysdeps/unix/sysv/linux/kernel-features.h
15150 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15151 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15152 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15153 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15154 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15155 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15156 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15157
bf51f568
JL
151582012-08-09 Jeff Law <law@redhat.com>
15159
15160 [BZ #13939]
15161 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15162 When avoid_arena is set, don't retry in the that arena. Pick the
15163 next one, whatever it might be.
15164 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15165 (arena_lock): Pass in new parameter to arena_get2.
15166 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15167 arena_get2.
15168 (__libc_malloc): Unify retrying after main arena failure with
15169 __libc_memalign version.
15170 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15171
f85fa270
L
151722012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 [BZ #14166]
15175 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15176 to __redirect_strstr.
15177 (__strstr_sse42): Use typeof __redirect_strstr.
15178 (__strstr_ia32): Likewise.
15179 (__libc_strstr): New prototype.
15180 (strstr): Renamed to ...
15181 (__libc_strstr): This.
15182 (strstr): New strong alias of __libc_strstr.
15183 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15184 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15185 __redirect_time.
15186 Include <time.h>.
15187 (__libc_time): New prototype.
15188 (time_ifunc): Replace time with __libc_time.
15189 (time): New strong alias and hidden definition of __libc_time.
15190 (__GI_time): Remove strong alias.
15191 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15192 Include <stddef.h>.
15193 (memmove): Redefined to __redirect_memmove.
15194 (__memmove_sse2): Use typeof __redirect_memmove.
15195 (__memmove_ssse3): Likewise.
15196 (__memmove_ssse3_back): Likewise.
15197 (__libc_memmove): New prototype.
15198 (memmove): Renamed to ...
15199 (__libc_memmove): This.
15200 (memmove): New strong alias of __libc_memmove.
15201
33b4a91e
MS
152022012-08-08 Mark Salter <msalter@redhat.com>
15203
15204 * elf/elf.h
15205 (R_MN10300_TLS_GD): Define.
15206 (R_MN10300_TLS_LD): Likewise.
15207 (R_MN10300_TLS_LDO): Likewise.
15208 (R_MN10300_TLS_GOTIE): Likewise.
15209 (R_MN10300_TLS_IE): Likewise.
15210 (R_MN10300_TLS_LE): Likewise.
15211 (R_MN10300_TLS_DTPMOD): Likewise.
15212 (R_MN10300_TLS_DTPOFF): Likewise.
15213 (R_MN10300_TLS_TPOFF): Likewise.
15214 (R_MN10300_SYM_DIFF): Likewise.
15215 (R_MN10300_ALIGN): Likewise.
15216 (R_MN10300_NUM): Update.
15217
b36137f1
JM
152182012-08-08 Joseph Myers <joseph@codesourcery.com>
15219
15220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15221 Remove.
15222
cdd915fd
RM
152232012-08-08 Roland McGrath <roland@hack.frob.com>
15224
a2433aac
RM
15225 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15226
cdd915fd
RM
15227 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15228 sysdeps/unix -> sysdeps/posix move.
15229 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15230
bf9b740a
AM
152312012-08-07 Allan McRae <allan@archlinux.org>
15232
15233 [BZ #14303]
15234 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15235 (SUNOS_CPP): Likewise.
15236 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15237 not found.
15238 (open_input): Call CPP using execvp.
15239
93df14ee
JM
152402012-08-07 Joseph Myers <joseph@codesourcery.com>
15241
15242 * sysdeps/unix/sysv/linux/kernel-features.h
15243 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15244 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15245 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15246 (__ASSUME_WAITID_SYSCALL): Likewise.
15247 * sysdeps/unix/sysv/linux/dl-execstack.c
15248 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15249 code unconditional.
15250 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15251 conditional code.
15252 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15253 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15254 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15255 code.
15256 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15257 unconditional.
15258 [__ASSUME_WAITID_SYSCALL]: Likewise.
15259 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15260
d34689de
RM
152612012-08-07 Roland McGrath <roland@hack.frob.com>
15262
a281decc
RM
15263 * sysdeps/unix/closedir.c: Renamed to ...
15264 * sysdeps/posix/closedir.c: ... here.
15265 * sysdeps/unix/dirfd.c: Renamed to ...
15266 * sysdeps/posix/dirfd.c: ... here.
15267 * sysdeps/unix/dirstream.h: Renamed to ...
15268 * sysdeps/posix/dirstream.h: ... here.
15269 * sysdeps/unix/fdopendir.c: Renamed to ...
15270 * sysdeps/posix/fdopendir.c: ... here.
15271 * sysdeps/unix/opendir.c: Renamed to ...
15272 * sysdeps/posix/opendir.c: ... here.
15273 * sysdeps/unix/readdir.c: Renamed to ...
15274 * sysdeps/posix/readdir.c: ... here.
15275 * sysdeps/unix/readdir_r.c: Renamed to ...
15276 * sysdeps/posix/readdir_r.c: ... here.
15277 * sysdeps/unix/rewinddir.c: Renamed to ...
15278 * sysdeps/posix/rewinddir.c: ... here.
15279 * sysdeps/unix/seekdir.c: Renamed to ...
15280 * sysdeps/posix/seekdir.c: ... here.
15281 * sysdeps/unix/telldir.c: Renamed to ...
15282 * sysdeps/posix/telldir.c: ... here.
15283 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15284 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15285 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15286 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15287
22895b47
RM
15288 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15289 * bits/fcntl.h: ... here.
15290
707a53b6
RM
15291 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15292 not 0.
15293 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15294 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15295 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15296 (struct flock): Move l_start, l_len to the beginning.
15297 Use __pid_t for l_pid.
15298 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15299 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15300 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15301 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15302 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15303 [__USE_LARGEFILE64] (struct flock64): New type.
15304 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15305
f0bd3e25
RM
15306 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15307 * bits/dirent.h: ... here.
15308
d34689de
RM
15309 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15310 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15311
6dad2c06
JM
153122012-08-07 Joseph Myers <joseph@codesourcery.com>
15313
15314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15315 Change from 2.6.0 to 2.6.16.
15316 * sysdeps/unix/sysv/linux/configure: Regenerated.
15317 * sysdeps/unix/sysv/linux/kernel-features.h
15318 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15319 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15320 version.
15321 (__ASSUME_UTIMES): Likewise.
15322 (__ASSUME_CLONE_STOPPED): Remove.
15323 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15324 architectures, not kernel version.
15325 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15326 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15327 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15328 (__ASSUME_WAITID_SYSCALL): Likewise.
15329 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15330 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15331 * README: State 2.6.16 as minimum Linux kernel version. Do not
15332 refer to older versions.
15333
03af9520
RM
153342012-08-06 Roland McGrath <roland@hack.frob.com>
15335
8e49df1d
RM
15336 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15337 Define alphasort64 as an alias.
15338 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15339 Define versionsort64 as an alias.
15340 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15341 Define scandir64 as an alias.
15342 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15343 Define scandirat64 as an alias.
15344 * dirent/alphasort64.c (alphasort64):
15345 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15346 * dirent/versionsort64.c: Likewise.
15347 * dirent/scandir64.c: Likewise.
15348 * dirent/scandirat64.c: Likewise.
15349 * sysdeps/wordsize-64/alphasort.c: File removed.
15350 * sysdeps/wordsize-64/alphasort64.c: File removed.
15351 * sysdeps/wordsize-64/scandir.c: File removed.
15352 * sysdeps/wordsize-64/scandir64.c: File removed.
15353 * sysdeps/wordsize-64/scandirat.c: File removed.
15354 * sysdeps/wordsize-64/scandirat64.c: File removed.
15355 * sysdeps/wordsize-64/versionsort.c: File removed.
15356 * sysdeps/wordsize-64/versionsort64.c: File removed.
15357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15363 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15365
15366 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15368 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15370 [defined __arch64__ || defined __sparcv9]
15371 (__INO_T_MATCHES_INO64_T): New macro.
15372 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15373 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15374 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15375 * sysdeps/unix/sysv/linux/bits/dirent.h
15376 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15377 (_DIRENT_MATCHES_DIRENT64): New macro.
15378
03af9520
RM
15379 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15380 Define lockf64 as an alias.
15381 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15382 Define fseeko64 as an alias.
15383 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15384 Define ftello64 as an alias.
15385 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15386 Define _IO_fgetpos64 and fgetpos64 as aliases.
15387 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15388 Define _IO_fsetpos64 and fsetpos64 as aliases.
15389 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15390 Conditionalize body on this.
15391 * libio/fseeko64.c: Likewise.
15392 * libio/ftello64.c: Likewise.
15393 * libio/iofgetpos64.c: Likewise.
15394 * libio/iofsetpos64.c: Likewise.
15395 * sysdeps/wordsize-64/lockf.c: File removed.
15396 * sysdeps/wordsize-64/lockf64.c: File removed.
15397 * sysdeps/wordsize-64/fseeko.c: File removed.
15398 * sysdeps/wordsize-64/fseeko64.c: File removed.
15399 * sysdeps/wordsize-64/ftello.c: File removed.
15400 * sysdeps/wordsize-64/ftello64.c: File removed.
15401 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15402 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15403 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15404 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15405 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15406 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15407 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15409 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15411 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15412 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15413 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15414 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15415
15416 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15418 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15420 [defined __arch64__ || defined __sparcv9]
15421 (__OFF_T_MATCHES_OFF64_T): New macro.
15422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15423 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15425 (__OFF_T_MATCHES_OFF64_T): New macro.
15426
c5757acd
L
154272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15428
15429 * stdlib/secure-getenv.c (__secure_getenv): Replace
15430 GLIBC_2_16 with GLIBC_2_17.
15431
3a31811e
L
154322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15433
15434 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15435 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15436
faa2bccb
DM
154372012-08-03 David S. Miller <davem@davemloft.net>
15438
15439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15440
85fe1997
JM
154412012-08-03 Joseph Myers <joseph@codesourcery.com>
15442
15443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15444 Remove.
15445 (__ASSUME_CORRECT_SI_PID): Likewise.
15446 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15447 (__ASSUME_TMPFS_NAME): Likewise.
15448 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15449 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15450 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15451 (HAVE_AUX_SECURE): Make definition unconditional.
15452 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15453 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15454
4f75b7a0
RM
154552012-08-03 Roland McGrath <roland@hack.frob.com>
15456
15457 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15458 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15459 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15460 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15461 __eloop_threshold instead of SYMLOOP_MAX.
15462
15463 * sysdeps/generic/eloop-threshold.h: New file.
15464 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15465 of MAXSYMLINKS.
15466 * elf/chroot_canon.c (chroot_canon): Likewise.
15467
7aab07e4
JM
154682012-08-03 Joseph Myers <joseph@codesourcery.com>
15469
15470 [BZ #13717]
15471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15472 Change to 2.6.0 everywhere.
15473 * sysdeps/unix/sysv/linux/configure: Regenerated.
15474 * sysdeps/unix/sysv/linux/kernel-features.h
15475 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15476 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15477 kernel versions.
15478 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15479 (__ASSUME_FUTEX_REQUEUE): Remove.
15480 (__ASSUME_STATFS64): Define unconditionally.
15481 (__ASSUME_AT_SECURE): Likewise.
15482 (__ASSUME_CORRECT_SI_PID): Likewise.
15483 (__ASSUME_TGKILL): Define without depending on kernel version for
15484 i386.
15485 (__ASSUME_UTIMES): Likewise.
15486 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15487 kernel version.
15488 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15489 (__ASSUME_TMPFS_NAME): Likewise.
15490 * README: Update reference to Linux kernel versions.
15491
b67e9372
MP
154922012-08-02 Marek Polacek <polacek@redhat.com>
15493
1f529f7d 15494 [BZ# 14150]
b67e9372
MP
15495 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15496 libc_cv_asm_type_prefix with %.
15497 * configure: Regenerated.
d2441631
RM
15498 * include/libc-symbols.h: Remove comment about
15499 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15500 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15501 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15502 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15503 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15504 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15505 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15506 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15507 * elf/tst-unique2mod1.c: Likewise.
15508 * elf/tst-unique1mod2.c: Likewise.
15509 * elf/tst-unique1mod1.c: Likewise.
15510 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15511 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15512 Replace ASM_TYPE_DIRECTIVE with .type.
15513 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15514 * sysdeps/i386/sysdep.h: Likewise.
15515 * sysdeps/x86_64/sysdep.h: Likewise.
15516 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15518 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15519 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15520 * sysdeps/powerpc/powerpc32/sysdep.h:
15521 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15522 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15523 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15524 * sysdeps/i386/fpu/e_powf.S: Likewise.
15525 * sysdeps/i386/fpu/e_expl.S: Likewise.
15526 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15527 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15528 * sysdeps/i386/fpu/e_pow.S: Likewise.
15529 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15530 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15531 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15532 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15533 * sysdeps/i386/fpu/e_log2.S: Likewise.
15534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15535 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15536 * sysdeps/i386/fpu/e_powl.S: Likewise.
15537 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15538 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15539 * sysdeps/i386/fpu/e_logl.S: Likewise.
15540 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15541 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15542 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15544 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15545 * sysdeps/i386/fpu/e_log.S: Likewise.
15546 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15547 * sysdeps/i386/fpu/e_logf.S: Likewise.
15548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15549 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15550 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15551 * sysdeps/i386/fpu/e_log10.S: Likewise.
15552 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15554 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15555 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15557 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15558 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15559 * sysdeps/i386/i686/strtok.S: Likewise.
15560 * sysdeps/i386/i386-mcount.S: Likewise.
15561 * sysdeps/i386/strtok.S: Likewise.
15562 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15565 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15566 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15567 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15568 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15569 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15570 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15571 * sysdeps/x86_64/_mcount.S: Likewise.
15572 * sysdeps/x86_64/strtok.S: Likewise.
15573 * sysdeps/sh/_mcount.S: Likewise.
15574
2747bf9a
RM
155752012-08-01 Roland McGrath <roland@hack.frob.com>
15576
15577 * libio/iofopen.c: Include <fcntl.h>.
15578 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15579 (_IO_fopen64, fopen64): Define as aliases.
15580 * libio/iofopen64.c: Include <fcntl.h>.
15581 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15582 Conditionalize body on this.
15583 * sysdeps/wordsize-64/iofopen.c: File removed.
15584 * sysdeps/wordsize-64/iofopen64.c: File removed.
15585
3fb791b8
MP
155862012-08-01 Marek Polacek <polacek@redhat.com>
15587
15588 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15589 Use dlfcn directly instead of a variable.
15590 (binfmt-subdir): Do not define.
15591 (dlfcn): Likewise.
15592
a9f1039f
JM
155932012-08-01 Joseph Myers <joseph@codesourcery.com>
15594
23bddc06
JM
15595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15596 Remove all definitions.
15597 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15598 <kernel-features.h>.
15599 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15600 (miss_F_GETOWN_EX): Remove all definitions.
15601 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15602 macro definition.
15603 [!__ASSUME_FCNTL64]: Remove conditional code.
15604 [__ASSUME_FCNTL64]: Make code unconditional.
15605 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15606 <kernel-features.h>.
15607 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15608 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15609 (lockf64) [__NR_fcntl64]: Make code unconditional.
15610 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15611
a9f1039f
JM
15612 * sysdeps/unix/sysv/linux/kernel-features.h
15613 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15614 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15615 Make code unconditional.
15616 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15617 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15619 [__NR_vfork]: Make code unconditional.
15620 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15621 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15623 [__NR_vfork]: Make code unconditional.
15624 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15625 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15626
09c0ee5f
RM
156272012-08-01 Roland McGrath <roland@hack.frob.com>
15628
48aec5b9
RM
15629 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15630 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15631
cd97c966
RM
15632 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15633 Define mkstemp64 as an alias.
3f55550c
RM
15634 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15635 Define mkstemps64 as an alias.
cd97c966
RM
15636 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15637 Define mkostemp64 as an alias.
b8625cfc
RM
15638 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15639 Define mkostemps64 as an alias.
cd97c966
RM
15640 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15641 Conditionalize body on this.
15642 * misc/mkostemp64.c: Likewise.
b8625cfc 15643 * misc/mkostemps64.c: Likewise.
3f55550c 15644 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15645 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15646 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15647 * sysdeps/wordsize-64/mkostemp.c: File removed.
15648 * sysdeps/wordsize-64/mkstemp.c: File removed.
15649 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15650 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15652 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15653
09c0ee5f
RM
15654 [BZ #14138]
15655 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15656 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15657 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15658 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15659
15660 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15661 compat_symbol macros from <shlib-compat.h> rather than the underlying
15662 default_symbol_version and symbol_version macros, so that DEFAULT
15663 lines in shlib-versions are respected.
15664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15665
7e66ee51
FW
156662012-08-01 Florian Weimer <fweimer@redhat.com>
15667
15668 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15669 Declare with warn_unused_result.
15670 (setgid, setregid, setegid, setresgid): Likewise.
15671 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15672 Likewise.
15673 * WUR-REPORT: Remove set*id functions.
15674
d2a54255
PT
156752012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15676
15677 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15678
7ecdb005
RM
156792012-07-31 Roland McGrath <roland@hack.frob.com>
15680
b4180a5e 15681 [BZ #10191]
789bd351
RM
15682 * include/sys/socket.h (__libc_accept, __libc_accept4):
15683 Add attribute_hidden.
15684 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15685
40ce302d
RM
15686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15687 use of PTR_MANGLE.
15688 * inet/getnetgrent_r.c (setup): Likewise.
15689
7ecdb005
RM
15690 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15691
e2eabb2c
DM
156922012-07-31 David S. Miller <davem@davemloft.net>
15693
15694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15695
d0419dbf
JM
156962012-07-31 Joseph Myers <joseph@codesourcery.com>
15697
15698 [BZ #13629]
15699 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15700 value between 1.0 and 2.0 and smaller part has absolute value less
15701 than 1.0.
15702 * math/s_clog10.c (__clog10): Likewise.
15703 * math/s_clog10f.c (__clog10f): Likewise.
15704 * math/s_clog10l.c (__clog10l): Likewise.
15705 * math/s_clogf.c (__clogf): Likewise.
15706 * math/s_clogl.c (__clogl): Likewise.
15707 * math/libm-test.inc (clog_test): Add more tests.
15708 (clog10_test): Likewise.
15709 * sysdeps/i386/fpu/libm-test-ulps: Update.
15710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15711
2bc13872
FW
157122012-07-31 Florian Weimer <fweimer@redhat.com>
15713
15714 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15715 Exit with zero in case no suitable GID is found, and write a
15716 message to standard error.
15717
bea9b193
RM
157182012-07-30 Roland McGrath <roland@hack.frob.com>
15719
15720 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15721 rather than to 1.
15722 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15723 (MAXPATHLEN): Removed.
15724 (NOGROUP, NODEV): New macros.
15725 (setbit, clrbit, isset, isclr): New macros.
15726 (howmany, roundup, powerof2): New macros.
15727 (DEV_BSIZE): New macro.
15728
15729 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15730 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15731
15732 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15733 definition on [!__NO_LONG_DOUBLE_MATH].
15734
15735 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15736 PTR_MANGLE and PTR_DEMANGLE.
15737
15738 * socket/accept4.c (accept4): Rename to __libc_accept4.
15739 Define accept4 as a weak alias.
15740
15741 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15742 on [_DIRENT_HAVE_D_TYPE].
15743 * io/ftw.c (ftw_dir): Likewise.
15744
15745 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15746
15747 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15748
15749 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15750 Use the BSD numbers rather than the arbitrary ones we had.
15751 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15752 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15753 (SIGXCPU, SIGXFSZ): New macros.
15754 (_NSIG): Now 32.
15755
15756 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15757 initializer on [_LIBC_REENTRANT].
15758
15759 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15760 definitions inside [_POSIX_MAPPED_FILES].
15761
15762 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15763
15764 * dirent/opendir.c: Include <fcntl.h>.
15765
15766 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15767 (__libc_getspecific): Likewise.
15768 (__libc_key_create): Likewise.
15769
15770 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15771 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15772 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15773 (tmpfile64): Define as alias.
15774 * sysdeps/wordsize-64/tmpfile.c: File removed.
15775 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15778
15779 * stdio-common/vfscanf.c: Include <stdbool.h>.
15780 * nss/makedb.c: Likewise.
15781 * stdio-common/_i18n_number.h: Likewise.
15782 * argp/argp-help.c: Likewise.
15783 * posix/wordexp.c: Likewise.
15784 * sysdeps/posix/spawni.c: Likewise.
15785 * nss/nss_files/files-initgroups.c: Likewise.
15786 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15787 * nss/nss_files/files-initgroups.c: Likewise.
15788 * nss/nss_db/db-netgrp.c: Likewise.
15789 * nss/nss_db/db-initgroups.c: Likewise.
15790 * io/fchmodat.c: Include <sys/stat.h>.
15791
15792 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15793 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15794
15795 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15796 [HAVE_MMAP].
15797
15798 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15799 Add multiple inclusion protection.
15800
e5abc686
DM
158012012-07-27 David S. Miller <davem@davemloft.net>
15802
15803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15804
815e6fa3
GB
158052012-07-27 Gary Benson <gbenson@redhat.com>
15806
15807 [BZ #14298]
15808 * elf/rtld.c: Include <stap-probe.h>.
15809 (dl_main): Added static probes "init_start" and "init_complete".
15810 * elf/dl-load.c: Include <stap-probe.h>.
15811 (lose): Take new parameter "nsid".
15812 Added static probe "map_failed".
15813 (_dl_map_object_from_fd): Pass namespace id to lose.
15814 Added static probe "map_start".
15815 (open_verify): Pass namespace id to lose.
15816 * elf/dl-open.c: Include <stap-probe.h>.
15817 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15818 and "reloc_complete".
15819 * elf/dl-close.c: Include <stap-probe.h>.
15820 (_dl_close_worker): Added static probes "unmap_start" and
15821 "unmap_complete".
15822 * elf/rtld-debugger-interface.txt: New file documenting the above.
15823
9f98c16c
RM
158242012-07-26 Roland McGrath <roland@hack.frob.com>
15825
15826 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15827 rather than a string variable.
15828 * sunrpc/rpc_main.c (h_output): Likewise.
15829 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15830
f3c22df3
PT
158312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15832
15833 * inet/check_native.c: New file.
15834
3129cfc6
JM
158352012-07-26 Joseph Myers <joseph@codesourcery.com>
15836
da865e95
JM
15837 [BZ #13629]
15838 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15839 if larger part has absolute value 1.0.
15840 * math/s_clog10.c (__clog10): Likewise.
15841 * math/s_clog10f.c (__clog10f): Likewise.
15842 * math/s_clog10l.c (__clog10l): Likewise.
15843 * math/s_clogf.c (__clogf): Likewise.
15844 * math/s_clogl.c (__clogl): Likewise.
15845 * math/libm-test.inc (clog_test): Add more tests.
15846 (clog10_test): Likewise.
15847 * sysdeps/i386/fpu/libm-test-ulps: Update.
15848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15849
3129cfc6
JM
15850 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15851 (pltexit): Likewise.
15852 (La_regs): Likewise.
15853 (La_retval): Likewise.
15854 (int_retval): Likewise.
15855 Update #error for removed macros to refer only to definitions in
15856 tst-audit.h.
15857 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15858 macro.
15859 (pltexit): Likewise.
15860 (La_regs): Likewise.
15861 (La_retval): Likewise.
15862 (int_retval): Likewise.
15863 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15864 macro.
15865 (pltexit): Likewise.
15866 (La_regs): Likewise.
15867 (La_retval): Likewise.
15868 (int_retval): Likewise.
15869 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15870 macro.
15871 (pltexit): Likewise.
15872 (La_regs): Likewise.
15873 (La_retval): Likewise.
15874 (int_retval): Likewise.
15875 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15876 macro.
15877 (pltexit): Likewise.
15878 (La_regs): Likewise.
15879 (La_retval): Likewise.
15880 (int_retval): Likewise.
15881 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15882 macro.
15883 (pltexit): Likewise.
15884 (La_regs): Likewise.
15885 (La_retval): Likewise.
15886 (int_retval): Likewise.
15887 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15888 macro.
15889 (pltexit): Likewise.
15890 (La_regs): Likewise.
15891 (La_retval): Likewise.
15892 (int_retval): Likewise.
15893 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15894 macro definitions in tst-audit.h.
15895 * sysdeps/i386/tst-audit.h: New file.
15896 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15897 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15898 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15899 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15900 * sysdeps/sh/tst-audit.h: Likewise.
15901 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15902 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15903 * sysdeps/x86_64/tst-audit.h: Likewise.
15904
bfc07087
AJ
159052012-07-26 Andreas Jaeger <aj@suse.de>
15906
b1b2aaf8
AJ
15907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15908 ptrace.
15909
15910 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15911 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15912 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15913 PTRACE_O_MASK.
15914 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15916 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15917
bfc07087
AJ
15918 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15919 value.
15920
15921 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15922 _sigsys.
15923 (si_call_addr, si_syscall, si_arch): Define new macro.
15924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15925 _sigsys.
15926 (si_call_addr, si_syscall, si_arch): Define new marcro.
15927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15928 _sigsys.
15929 (si_call_addr, si_syscall, si_arch): Define new macro.
15930 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15931 _sigsys.
15932 (si_call_addr, si_syscall, si_arch): Define new macro.
15933
89b4b02f
JM
159342012-07-25 Joseph Myers <joseph@codesourcery.com>
15935
15936 [BZ #13717]
15937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15938 Change to 2.4.21 where previously 2.4.1.
15939 * sysdeps/unix/sysv/linux/configure: Regenerated.
15940 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15941 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15942 Linux kernel version.
15943 (__ASSUME_STD_AUXV): Remove.
15944 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15945 kernel version.
15946 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15947 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15948 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15949 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15950 (__ASSUME_NETLINK_SUPPORT): Likewise.
15951 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15952 (__no_netlink_support): Remove conditional definition.
15953 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15954 Remove.
15955 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15956 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15957 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15958 (if_nameindex_ioctl): Remove.
15959 (if_nameindex_netlink): Do not handle __no_netlink_support.
15960 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15961 code.
15962 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15963 Remove conditional code.
15964 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15965 code.
15966 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15967 unconditional.
15968 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15969 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15970 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15971 Remove.
15972 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15973 [!__ASSUME_STD_AUXV]: Remove conditional code.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15975 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15976 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15978 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15979 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15980 code.
15981 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15983 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15984 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15985 conditional code.
15986 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15988 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15989 code.
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15991 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15992 conditional code.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15994 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15995 code unconditional.
15996 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15997 conditional code.
15998 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15999 unconditional.
16000 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16001 conditional code.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16003 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16004 unconditional.
16005 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16006 conditional code.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16008 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16009 code unconditional.
16010 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16011 conditional code.
16012 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16013 unconditional.
16014 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16015 conditional code.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16017 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16018 code unconditional.
16019 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16020 conditional code.
16021 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16022 unconditional.
16023 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16024 conditional code.
16025
842a39cd
AS
160262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16027
16028 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16029 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16030 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16031 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16032 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16033 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16034 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16035 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16036 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16037 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16038 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16039 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16040 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16041 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16051
84b3fd84
FW
160522012-07-25 Florian Weimer <fweimer@redhat.com>
16053
16054 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16055 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16056 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16057 Introduce __libc_secure_getenv.
0c7936d5
FW
16058 * stdlib/Versions (2.17): Add secure_getenv
16059 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16060 * stdlib/secure-getenv.c: Rename __secure_getenv to
16061 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16062 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16063 * stdlib/tst-secure-getenv.c: New.
16064 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16065 * manual/startup.texi (Environment Access): Document
16066 secure_getenv.
84b3fd84
FW
16067 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16068 __libc_secure_getenv.
16069 * inet/ruserpass.c (ruserpass): Likewise.
16070 * malloc/mtrace.c (mtrace): Likewise.
16071 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16072 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16073 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16074 * sysdeps/posix/tempname.c: Likewise. Evaluate
16075 HAVE_SECURE_GETENV.
16076 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16077 __secure_getenv to __libc_secure_getenv.
84b3fd84 16078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16080 Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16082 Likewise.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16090
56e49b71
JM
160912012-07-25 Joseph Myers <joseph@codesourcery.com>
16092
16093 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16094 (struct La_i86_retval): Likewise.
16095 (struct La_x86_64_regs): Likewise.
16096 (struct La_x86_64_retval): Likewise.
16097 (struct La_x32_regs): Likewise.
16098 (struct La_x32_retval): Likewise.
16099 (struct La_ppc32_regs): Likewise.
16100 (struct La_ppc32_retval): Likewise.
16101 (struct La_ppc64_regs): Likewise.
16102 (struct La_ppc64_retval): Likewise.
16103 (struct La_sh_regs): Likewise.
16104 (struct La_sh_retval): Likewise.
16105 (struct La_s390_32_regs): Likewise.
16106 (struct La_s390_32_retval): Likewise.
16107 (struct La_s390_64_regs): Likewise.
16108 (struct La_s390_64_retval): Likewise.
16109 (struct La_sparc32_regs): Likewise.
16110 (struct La_sparc32_retval): Likewise.
16111 (struct La_sparc64_regs): Likewise.
16112 (struct La_sparc64_retval): Likewise.
16113 (struct audit_ifaces): Remove architecture-specific pltenter and
16114 pltexit members.
16115 * sysdeps/i386/ldsodefs.h: New file.
16116 * sysdeps/powerpc/ldsodefs.h: Likewise.
16117 * sysdeps/s390/ldsodefs.h: Likewise.
16118 * sysdeps/sh/ldsodefs.h: Likewise.
16119 * sysdeps/sparc/ldsodefs.h: Likewise.
16120 * sysdeps/x86_64/ldsodefs.h: Likewise.
16121
354691b7
MP
161222012-07-25 Marek Polacek <polacek@redhat.com>
16123
16124 [BZ #6808]
16125 * math/libm-test.inc (yn_test): Add another test.
16126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16127 to ERANGE when the result is +-Inf.
16128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16129 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16130 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16131 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16132
bf9e2071
JM
161332012-07-24 Joseph Myers <joseph@codesourcery.com>
16134
16135 * conform/data/time.h-data (NULL): Use macro-constant. Require
16136 equal to 0.
16137 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16138 clock_t.
16139 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16140
57633811
TS
161412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16142
16143 * configure.in <sysdeps resolving>: Correct printing
16144 Implies_before.
16145 * configure: Regenerate.
16146
c23c33b0
TS
161472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16148
16149 * math/w_ilogb.c: Include <limits.h>.
16150 * math/w_ilogbl.c: Likewise.
16151
b5982523
JM
161522012-07-20 Joseph Myers <joseph@codesourcery.com>
16153
16154 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16155 va_copy. Document allowing for unavailable va_copy only as
16156 pre-C99 compatibility.
16157 * manual/string.texi (Copying and Concatenation): Use va_copy
16158 instead of __va_copy in concat example.
16159
ac4ea442
PT
161602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16161
16162 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16163 (__sendto): Use create_address_port. Initialize APORT and deallocate
16164 it if not null.
16165
f98eafbd
PT
16166 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16167 with O_NOLINK passed to __file_name_lookup.
16168
898c7aab
PT
16169 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16170 with O_NOLINK passed to __file_name_lookup.
16171
0ced335a
PT
16172 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16173 negative N or less than NGIDS.
16174
b3404dbd
PT
16175 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16176 type to string_t. Set ERANGE as errno and return it if NAME is not big
16177 enough. Use memcpy instead of strncpy.
16178
0f48659e
JM
161792012-07-20 Joseph Myers <joseph@codesourcery.com>
16180
16181 * elf/Makefile (check-data): Remove.
16182 (localplt.data): New vpath directive.
16183 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16184 instead of $(check-data).
16185 * scripts/data/localplt-generic.data: Move to ...
16186 * sysdeps/generic/localplt.data: ... here.
16187 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16188 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16189 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16191 ... here.
16192 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16194 ... here.
16195 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16197 ... here.
16198 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16200 ... here.
16201 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16203 ... here.
16204 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16206 ... here.
16207
d37cbdaa
AZ
162082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16209
16210 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16211 PPC32 and PPC64 files.
16212 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16213 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16214
46f85fc2
AK
162152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16216
16217 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16218 __makecontext_ret to ...
16219 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16220 ... here and call exit if uc_link is NULL. New file.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16222 __makecontext_ret.S.
16223 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16224 __makecontext_ret to ...
16225 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16226 ... here and call exit if uc_link is NULL. New file.
16227 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16228 __makecontext_ret.S.
16229
08f43f9b
AK
162302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16231
16232 * elf/elf.h (R_390_IRELATIVE): New definition.
16233 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16234 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16235 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16236 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16237 (elf_machine_lazy_rel): Likewise.
16238 * sysdeps/s390/dl-irel.h: New file.
16239 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16240 * sysdeps/s390/s390-64/memset.S: New asm code.
16241 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16242 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16244 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16245 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16246 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16248 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16249 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16250 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16251 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16252 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16253 * sysdeps/s390/s390-32/memset.S: New asm code.
16254 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16255
3b05db33
MP
162562012-07-17 Marek Polacek <polacek@redhat.com>
16257
16258 [BZ #14349]
16259 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16260 * sysdeps/s390/s390-64/configure.in: Likewise.
16261 * sysdeps/sparc/configure.in: Likewise.
16262 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16263 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16264 * sysdeps/i386/configure.in: Likewise.
16265 * sysdeps/x86_64/configure.in: Likewise.
16266 * sysdeps/sh/configure.in: Likewise.
16267 * sysdeps/s390/s390-32/configure: Regenerated.
16268 * sysdeps/s390/s390-64/configure: Likewise.
16269 * sysdeps/x86_64/configure: Likewise.
16270 * sysdeps/sh/configure: Likewise.
16271 * sysdeps/powerpc/powerpc64/configure: Likewise.
16272 * sysdeps/powerpc/powerpc32/configure: Likewise.
16273 * sysdeps/sparc/configure: Likwise.
16274 * sysdeps/i386/configure: Likewise.
16275
a66877c6
MP
16276 * elf/dl-open.c: Comment fixes.
16277
cfc82fd8
JM
162782012-07-17 Joseph Myers <joseph@codesourcery.com>
16279
bd29910a
JM
16280 * Makefile [CXX] (check-data): Remove.
16281 [CXX] (c++-types.data): New vpath directive.
16282 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16283 vpath. Do not allow for C++ type data being missing.
16284 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16285 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16286 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16287 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16288 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16289 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16290 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16292 ... here.
16293 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16295 ... here.
16296 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16298 ... here.
16299 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16301 ... here.
16302 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16304 ... here.
16305 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16307 ... here.
16308 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16310 ... here.
16311 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16313
cfc82fd8
JM
16314 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16315 definitions to architecture-specific files.
16316 (TLS_IE): Likewise.
16317 (TLS_LD): Likewise.
16318 (TLS_GD): Likewise.
16319 * sysdeps/i386/tls-macros.h: New file.
16320 * sysdeps/powerpc/tls-macros.h: Likewise.
16321 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16322 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16323 * sysdeps/sh/tls-macros.h: Likewise.
16324 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16325 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16326 * sysdeps/x86_64/tls-macros.h: Likewise.
16327
f7db3170
TS
163282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16329
07cbfc23
TS
16330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16331 zero value for regular exit case.
16332
f7db3170
TS
16333 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16334 (__start_context): Preserve zero value for regular exit case.
16335
dc97c227
TS
163362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16337 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16338
16339 * manual/setjmp.texi (setcontext): Clarify normal process
16340 termination when uc_link is the null pointer.
16341 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16342 exit call.
16343
d0cd7d02
AS
163442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16345
16346 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16347 preprocessor. Test for each exception mask separately.
16348
dd318934
AJ
163492012-07-16 Andreas Jaeger <aj@suse.de>
16350
16351 * po/ru.po: Update from translation team.
16352
8048311a
JM
163532012-07-15 Joseph Myers <joseph@codesourcery.com>
16354
16355 * conform/data/string.h-data (NULL): Use macro-constant. Require
16356 equal to 0.
16357 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16358 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16359 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16360 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16362
b637d46e
AJ
163632012-07-13 Andreas Jaeger <aj@suse.de>
16364
16365 * po/fr.po: Update from translation team.
16366
541428fe
MP
163672012-07-12 Marek Polacek <polacek@redhat.com>
16368
16369 [BZ #14173]
16370 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16371 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16372 loop condition.
16373
ec332e94
JM
163742012-07-12 Joseph Myers <joseph@codesourcery.com>
16375
16376 [BZ #13717]
16377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16378 Change to 2.4.1 where previously 2.4.0.
16379 * sysdeps/unix/sysv/linux/configure: Regenerated.
16380 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16381 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16382 version.
16383 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16384 (__ASSUME_AT_CLKTCK): Remove.
16385 (__ASSUME_AT_PAGESIZE): Likewise.
16386 (__ASSUME_AT_XID): Likewise.
16387 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16388 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16389 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16390 unconditionally.
16391 (HAVE_AUX_PAGESIZE): Likewise.
16392 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16393 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16394 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16395
7b6e99be
JB
163962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16397
16398 [BZ #14307]
16399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16400 the temporary buffer used to invoke __gethostbyname2_r,
16401 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16402 host_data / struct gaih_addrtuple.
16403 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16404 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16405 header file nss/nsswitch.h.
16406 * nss/nsswitch.h (global scope): Add definition of implementation
16407 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16408 resolv/nss_dns/dns-host.c).
16409
608404eb
AJ
164102012-07-11 Andreas Jaeger <aj@suse.de>
16411
16412 * po/fr.po: Update from translation team.
16413
71220aca
AJ
16414 * po/sv.po: Update from translation team
16415 * po/fr.po: Another update from translation team.
16416
28cfe843
AZ
164172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16418
16419 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16420 for subnormals or multiply small sinh result by itself.
16421 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16423
6b90f981
DM
164242012-07-11 David S. Miller <davem@davemloft.net>
16425
16426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16427
c6825772
AS
164282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16429
16430 [BZ #14347]
16431 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16432 (INTERNAL_MARK): Shift it here.
16433
7b8e0d49
MP
164342012-07-10 Marek Polacek <polacek@redhat.com>
16435
16436 [BZ #14151]
16437 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16438 libc_cv_asm_global_directive with .globl.
16439 * configure: Regenerated.
16440 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16441 with .globl.
16442 * sysdeps/i386/configure: Regenerated.
16443 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16444 with .globl.
16445 * sysdeps/x86_64/configure: Regenerated.
16446 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16447 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16448 * elf/tst-unique2mod2.c: Likewise.
16449 * elf/tst-unique2mod1.c: Likewise.
16450 * elf/tst-unique1mod2.c: Likewise.
16451 * elf/tst-unique1mod1.c: Likewise.
16452 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16453 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16455 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16456 * sysdeps/mach/sysdep.h: Likewise.
16457 * sysdeps/i386/sysdep.h: Likewise.
16458 * sysdeps/i386/i386-mcount.S: Likewise.
16459 * sysdeps/x86_64/_mcount.S: Likewise.
16460 * sysdeps/x86_64/sysdep.h: Likewise.
16461 * sysdeps/sh/_mcount.S: Likewise.
16462 * sysdeps/sh/sysdep.h: Likewise.
16463 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16464 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16465 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16467 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16469 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16470 * locale/localeinfo.h: Likewise.
16471 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16472 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16473
6c55cda3
RM
164742012-07-09 Roland McGrath <roland@hack.frob.com>
16475
16476 [BZ #14336]
16477 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16478 system".
16479 * manual/message.texi (The Uniforum approach): Likewise.
16480 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16481 (glibc iconv Implementation): Likewise.
16482
638a572e
JM
164832012-07-09 Joseph Myers <joseph@codesourcery.com>
16484
16485 [BZ #14337]
16486 * math/s_clog.c (__clog): Avoid scaling a value down where that
16487 could result in underflow.
16488 * math/s_clog10.c (__clog10): Likewise.
16489 * math/s_clog10f.c (__clog10f): Likewise.
16490 * math/s_clog10l.c (__clog10l): Likewise.
16491 * math/s_clogf.c (__clogf): Likewise.
16492 * math/s_clogl.c (__clogl): Likewise.
16493 * math/libm-test.inc (clog_test): Add more tests.
16494 (clog10_test): Likewise.
16495 * sysdeps/i386/fpu/libm-test-ulps: Update.
16496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16497
261f4859
AS
164982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16499
0abaf3e4
AS
16500 [BZ #14283]
16501 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16502 by 7 not 8 to examine high bit of fractional part.
16503
261f4859
AS
16504 [BZ #14042]
16505 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16506 for call to __mcount_internal.
16507 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16508 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16509 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16510
f17ac40d
JM
165112012-07-06 Joseph Myers <joseph@codesourcery.com>
16512
9ad63c23
JM
16513 [BZ #14154]
16514 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16515 approximation for values within 0x1p-13f of an odd multiple of
16516 pi/4.
16517 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16518 exception. Add more tests.
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16520
f17ac40d
JM
16521 [BZ #6778]
16522 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16523 inputs and return -1 for them. Do not check for +Inf in case not
16524 reachable for +Inf.
16525 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16526 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16528 and return -1 for them. Do not check for +Inf in case not
16529 reachable for +Inf.
16530 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16531 define.
16532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16533 and return -1 for them. Do not check for +Inf in case not
16534 reachable for +Inf.
16535 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16536 spurious underflow.
16537 * sysdeps/i386/fpu/libm-test-ulps: Update.
16538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16539
fb21f89b
MF
165402012-07-06 Mike Frysinger <vapier@gentoo.org>
16541
16542 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16543
cdfe2c5e
JM
165442012-07-05 Joseph Myers <joseph@codesourcery.com>
16545
16546 [BZ #14157]
16547 [BZ #14331]
16548 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16549 could result in spurious underflow. Scale down values above
16550 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16551 * math/s_csqrtf.c (__csqrtf): Likewise.
16552 * math/s_csqrtl.c (__csqrtl): Likewise.
16553 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16554 spurious underflow.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557
70d35b67
AS
165582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16559
704bc459
AS
16560 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16561 xopen-msg.sed.
16562 * catgets/xopen-msg.awk: New file.
16563 * catgets/xopen-msg.sed: Removed.
16564
70d35b67
AS
16565 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16566 po2text.sed.
16567 * intl/po2test.awk: New file.
16568 * intl/po2test.sed: Removed.
16569
ca61cf32
JM
165702012-07-04 Joseph Myers <joseph@codesourcery.com>
16571
16572 [BZ #14328]
16573 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16574 or multiply small sinh result by itself.
16575 * math/s_ctanf.c (__ctanf): Likewise.
16576 * math/s_ctanh.c (__ctanh): Likewise.
16577 * math/s_ctanhf.c (__ctanhf): Likewise.
16578 * math/s_ctanhl.c (__ctanhl): Likewise.
16579 * math/s_ctanl.c (__ctanl): Likewise.
16580 * math/libm-test.inc (ctan_test_tonearest): New function.
16581 (ctan_test_towardzero): Likewise.
16582 (ctan_test_downward): Likewise.
16583 (ctan_test_upward): Likewise.
16584 (ctanh_test_tonearest): Likewise.
16585 (ctanh_test_towardzero): Likewise.
16586 (ctanh_test_downward): Likewise.
16587 (ctanh_test_upward): Likewise.
16588 (main): Call these new functions.
16589 * sysdeps/i386/fpu/libm-test-ulps: Update.
16590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16591
ca48a46a
MF
165922012-07-03 Mike Frysinger <vapier@gentoo.org>
16593
16594 * .gitignore: Delete /ports entry.
16595
9d63d37d
AJ
165962012-07-03 Andreas Jaeger <aj@suse.de>
16597
16598 * po/bg.po: Update from translation team.
16599 * po/cs.po: Likewise.
16600 * po/de.po: Likewise.
16601 * po/hr.po: Likewise.
16602 * po/nl.pl: Likewise.
16603 * po/pl.po: Likewise.
16604 * po/vi.po: Likewise.
16605
370ca3d2
JM
166062012-07-03 Joseph Myers <joseph@codesourcery.com>
16607
95f5a9a8
JM
16608 * Makeconfig [!+link] (+link-before-libc): New variable.
16609 [!+link] (+link-after-libc): Likewise.
16610 [!+link] (+link-tests): Likewise.
16611 [!+link] (+link): Define in terms of $(+link-before-libc) and
16612 $(+link-after-libc).
16613 [!+link-static] (+link-static-before-libc): New variable.
16614 [!+link-static] (+link-static-after-libc): Likewise.
16615 [!+link-static] (+link-static-tests): Likewise.
16616 [!+link-static] (+link-static): Define in terms of
16617 $(+link-static-before-libc) and $(+link-static-after-libc).
16618 [build-shared] (link-libc-before-gnulib): New variable.
16619 [build-shared] (link-libc-tests): Likewise.
16620 [build-shared] (link-libc): Define in terms of
16621 $(link-libc-before-gnulib).
16622 [!build-shared] (link-libc-tests): New variable.
16623 (link-libc-static-tests): New variable.
16624 [!gnulib] (gnulib-arch): New variable.
16625 [!gnulib] (gnulib-tests): Likewise.
16626 [!gnulib] (static-gnulib-arch): Likewise.
16627 [!gnulib] (static-gnulib-tests): Likewise.
16628 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16629 Define with "=" instead of ":=".
16630 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16631 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16632 * Rules (binaries-all-notests): New variable.
16633 (binaries-all-tests): Likewise.
16634 (binaries-static-notests): Likewise.
16635 (binaries-static-tests): Likewise.
16636 (binaries-all): Define using $(binaries-all-notests) and
16637 $(binaries-all-tests).
16638 (binaries-static): Define using $(binaries-static-notests) and
16639 $(binaries-static-tests).
16640 (binaries-shared-tests): New variable.
16641 (binaries-shared-notests): Likewise.
16642 (binaries-shared): Remove variable.
16643 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16644 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16645 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16646 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16647 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16648 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16649 * elf/Makefile (sln-modules): New variable.
16650 (extra-objs): Add $(sln-modules:=.o).
16651 (ldconfig-modules): Add static-stubs.
16652 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16653 * elf/static-stubs.c: New file.
16654
7a845b2c
JM
16655 [BZ #14283]
16656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16657 by 7 not 8 to examine high bit of fractional part. Use volatile
16658 variables when splitting into final array of floats if
16659 __FLT_EVAL_METHOD__ != 0.
16660 * math/libm-test.inc (cos_test): Add another test.
16661 (sin_test): Likewise.
16662 * sysdeps/i386/fpu/libm-test-ulps: Update.
16663
e2283f38
JM
16664 [BZ #14273]
16665 * math/libm-test.inc (cosh_test): Add more tests.
16666
370ca3d2
JM
16667 * version.h (RELEASE): Set to "development".
16668 (VERSION): Set to "2.16.90".
16669
ee9247c3
CD
166702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16671
16672 * NEWS: Update copyright. Remove last-updated date.
16673 Mention math library bug fixes and timezone data changes.
16674 * README: Mention GNU/Hurd, x32, and HPPA support status.
16675
4648c381
TS
166762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16677
16678 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16679
aac78a43
AJ
166802012-06-27 Andreas Jaeger <aj@suse.de>
16681
16682 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16683
ed3dbfad
AJ
166842012-06-25 Andreas Jaeger <aj@suse.de>
16685
16686 * sysdeps/s390/fpu/libm-test-ulps: Update.
16687
4d0ee855
AS
166882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16689 Thomas Schwinge <thomas@codesourcery.com>
16690
16691 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16692 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16694 fanotify_mark.
16695
af1bce34
TS
166962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16697
a9fa33ba
TS
16698 * sysdeps/mach/start.c: Remove file.
16699 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16700 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16701 * sysdeps/sh/init-first.c: Likewise.
16702
58f902b8
TS
16703 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16704 registers for frame unwinding purposes, add CFI directives.
16705 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16706 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16707 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16708 Likewise.
16709
1518f58b
TS
16710 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16711 __fortify_fail returning.
16712 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16713
db9b5059
TS
16714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16715 sysdeps/sh/____longjmp_chk.S.
16716 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16717 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16718 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16719 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16720
967705fe
TS
16721 * sysdeps/sh/abort-instr.h: New file.
16722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16723 process in case exit returns.
16724
a9def8c4
TS
16725 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16726 initialize the GOT register before use.
16727
2a649725
TS
16728 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16729 calculation of ARGC > 4.
16730
af1bce34
TS
16731 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16732 meaningful names to some local labels.
16733
d230f50a
KK
167342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16735 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16736
16737 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16738 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16739 (__arch_compare_and_exchange_val_16_acq): Likewise.
16740 (__arch_compare_and_exchange_val_32_acq): Likewise.
16741 (atomic_exchange_and_add): Fix gUSA sequence.
16742 (atomic_add): Likewise.
16743 (atomic_add_negative): Likewise.
16744 (atomic_add_zero): Likewise.
16745 (atomic_bit_test_set): Likewise.
16746
0479b305
AS
167472012-06-22 Andreas Schwab <schwab@redhat.com>
16748
16749 [BZ #13579]
16750 * include/link.h (struct link_map): Add l_free_initfini.
16751 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16752 l_initfini.
16753 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16754 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16755 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16756 set.
16757
0e3933b9
CD
167582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16759
16760 * configure.in: Use AC_LANG_SOURCE.
16761 * configure: Regenerate.
16762
4248b1b1
RM
167632012-06-22 Roland McGrath <roland@hack.frob.com>
16764
16765 * configure.in (libc_cv_localstatedir): New substituted variable.
16766 * configure: Regenerated.
16767 * config.make.in (localstatedir): New variable, substituted from
16768 libc_cv_localstatedir.
16769 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16770 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16771 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16772 * sysdeps/gnu/configure: Regenerated.
16773
006dd861
JL
167742012-06-21 Jeff Law <law@redhat.com>
16775
16776 [BZ #14277]
16777 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16778 free. Simplify list management for _LIBC case.
16779
79662d42
JM
167802012-06-21 Joseph Myers <joseph@codesourcery.com>
16781
b7abb4bf
JM
16782 [BZ #14273]
16783 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16784 Clear sign bit of 64-bit integer value before comparing against
16785 overflow value.
16786
79662d42
JM
16787 * sysdeps/mach/configure: Regenerated.
16788
1f150908
L
167892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16790
16791 [BZ #14278]
16792 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16793
28363bbf
JL
167942012-06-21 Jeff Law <law@redhat.com>
16795
16796 [BZ #13882]
16797 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16798 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16800 * elf/dl-open.c (dl_open_worker): Likewise.
16801
09615db4
CD
168022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16803
16804 * scripts/list-sources.sh: Scan PORTS for translations.
16805 * po/libc.pot: Regenerated.
16806
2174c6dd
AJ
168072012-06-21 Andreas Jaeger <aj@suse.de>
16808
16809 [BZ #12194]
16810 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16811 warning.
16812 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16813 * bits/byteswap-16.h (__bswap_16): Likewise.
16814 * bits/byteswap.h (__bswap_constant_16): Likewise.
16815
3ee947b1
L
168162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16817
16818 [BZ #14117]
a2f34833
L
16819 * sysdeps/i386/fpu_control.h: Removed.
16820 * sysdeps/x86_64/fpu_control.h: Moved to ...
16821 * sysdeps/x86/fpu_control.h: Here.
16822
3ee947b1
L
16823 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16824 (_FPU_SETCW): Likewise.
16825
ed1825f8
L
168262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16827
25f1282a
L
16828 [BZ #14117]
16829 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16830 * sysdeps/x86/fpu/bits/mathinline.h: This.
16831 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16832
ed1825f8
L
16833 [BZ #14050]
16834 [BZ #14117]
16835 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16836 functions if __x86_64__ is defined.
16837
36d54b74
CLT
168382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16839
16840 * string/endian.h: Add !__ASSEMBLER__ condition for including
16841 conversion interfaces.
16842
10285c21
JM
168432012-06-15 Joseph Myers <joseph@codesourcery.com>
16844
16845 [BZ #14241]
16846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16847 of ABS(x) in calculating zero to negative powers other than odd
16848 integers.
16849 * math/libm-test.inc (pow_test): Add more tests.
16850
06c5abbd
AJ
168512012-06-15 Andreas Jaeger <aj@suse.de>
16852
16853 * manual/contrib.texi (Contributors): Update entry of Liubov
16854 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16855 Machado Filho.
16856
a3aeac40
CH
168572012-06-15 Cyril Hrubis <metan@ucw.cz>
16858
16859 * string/string.h: Add __wur to GNU version of strerror_r.
16860
49bdf4c1
L
168612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 [BZ #14229]
16864 * string/Makefile (tests): Add tst-strtok_r.
16865 * string/tst-strtok_r.c: New file.
16866 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16867 RAX_LP/RDX_LP on SAVE_PTR.
16868
834f9b8d
RM
168692012-06-14 Roland McGrath <roland@hack.frob.com>
16870
16871 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16872
75fa1921
JM
168732012-06-14 Joseph Myers <joseph@codesourcery.com>
16874
16875 * libm_test.inc (csqrt_test): Allow more spurious underflow
16876 exceptions.
16877 (j0_test): Likewise.
16878 (j1_test): Likewise.
16879 (y0_test): Likewise.
16880 (y1_test): Likewise.
16881
771766df
CD
168822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16883
16884 * po/Makefile (libc.pot): Use UTF-8 charset.
16885
ceb9e56b
PP
168862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16887
16888 [BZ #14210]
16889 Suppress sign-conversion warning from FD_SET.
16890 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16891 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16892 not unsigned long int.
16893 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16894
ddb28975
L
168952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16896
16897 [BZ #14050]
16898 [BZ #14117]
16899 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16900 __extern_always_inline instead of __extern_inline.
16901 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16902 (__signbit): Likewise.
16903 (__signbitl): Support C++ namespace.
16904 (lrintf): New inline function.
16905 (lrint): Likewise.
16906 (llrintf): Likewise.
16907 (llrint): Likewise.
16908 (fmaxf): Likewise.
16909 (fmax): Likewise.
16910 (fminf): Likewise.
16911 (fmin): Likewise.
16912 (rint): Likewise.
16913 (rintf): Likewise.
16914 (ceil): Likewise.
16915 (ceilf): Likewise.
16916 (floor): Likewise.
16917 (floorf): Likewise.
16918 (nearbyint): Likewise.
16919 (nearbyintf): Likewise.
16920
d7b4fb26
TS
169212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16922
16923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16924 non-default versions.
16925
eb55f5c2
RM
169262012-06-11 Roland McGrath <roland@hack.frob.com>
16927
16928 [BZ #14218]
16929 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16930
366af02c
TS
169312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16932
99ff6e5c
TS
16933 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16934 (FE_UPWARD, FE_DOWNWARD): Don't define.
16935 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16936 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16937
366af02c
TS
16938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16939 reading it.
16940 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16941 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16942
793ea851
KK
169432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16944
16945 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16947 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16948 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16949
a728a38f
L
169502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16951
16952 [BZ #14117]
c08010c7
L
16953 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16954 * sysdeps/i386/fpu/Implies: New file.
16955 * sysdeps/x86_64/fpu/Implies: Likewise.
16956 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16957 * sysdeps/x86/fpu/bits/fenv.h: This.
16958
a728a38f
L
16959 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16960 __SSE_MATH__.
16961
6e230d11
SP
169622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 [BZ #14134]
16965 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16966 character 0xffff that matches the last element of the
16967 conversion table.
16968
1b671feb
AZ
169692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
16971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16972 fmodl commit.
16973
6043738b
AZ
169742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16975
16976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16977 values higher than 25.6283.
16978
34ae0b32
AZ
169792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16980
16981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16982 subnormal exponent extraction and add some __builtin_expect.
16983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16984 Fix for subnormal mantissa calculation.
16985
1214ec8f
MF
169862012-06-04 Mike Frysinger <vapier@gentoo.org>
16987
16988 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16989 cpu2 is -1 and errno is not ENOSYS.
16990
f3d1f93c
L
169912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16992
16993 [BZ #14117]
0e4a3cd7
L
16994 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16995 * sysdeps/x86/bits/string.h: This.
16996 * sysdeps/x86_64/bits/string.h: Removed.
16997
6704c645
L
16998 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16999 if not compiling for x86-64, but compiling for >= i486.
17000
48495318
L
17001 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17002 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17003
14adcbfc
L
17004 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17005 New macro from Linux kernel 3.4.0.
17006 (FP_XSTATE_MAGIC2): Likewise.
17007 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17008 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17009 (struct _fpx_sw_bytes): New struct.
17010 (struct _xsave_hdr): Likewise.
17011 (struct _ymmh_state): Likewise.
17012 (struct _xstate): Likewise.
17013
68e408ab
L
17014 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17015 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17017 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17018 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17019 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17020
f3d1f93c
L
17021 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17022 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17023 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17024 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17025 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17026 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17027
d9dc34cd
TMQMF
170282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17029
17030 [BZ #13743]
17031 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17032 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17033 (sysdep_headers): Include sys/platform/ppc.h.
17034 * sysdeps/powerpc/test-gettimebase.c: Test for
17035 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17036 * manual/Makefile (appendices): Include platform.texi.
17037 * manual/contrib.texi (Contributors): Update @node pointers.
17038 * manual/maint.texi (Maintenance): Likewise.
17039 (Platform): New node.
17040 * manual/platform.texi: New file. Document the new features.
17041
4af3879c
SP
170422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17043 Jakub Jelinek <jakub@redhat.com>
17044
17045 [BZ #14188]
17046 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17047 where __builtin_expect is unavailable.
17048
2fd6ff13
DM
170492012-06-03 David S. Miller <davem@davemloft.net>
17050
17051 * stdlib/longlong.h: Updated from GCC.
17052
173f7220
AS
170532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17054
17055 [BZ #14042]
17056 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17057 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17058 __mcount_internal.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17060 (GLIBC_2.16): Likewise.
17061
f34a1c6f
L
170622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17065
88a4576f
JM
170662012-06-01 Joseph Myers <joseph@codesourcery.com>
17067
ea32bcdd
JM
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17069 (default-abi): New variable.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17071 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17072 variable.
17073 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17074 Likewise.
17075 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17076 Likewise.
17077 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17078 Likewise.
17079
88a4576f
JM
17080 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17081 definition. Document in comment.
17082
402fe938
DM
170832012-06-01 David S. Miller <davem@davemloft.net>
17084
17085 * stdlib/longlong.h: Updated from GCC.
17086
3553723f
L
170872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 [BZ #14117]
3bd872c4
L
17090 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17091 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17092 sys/debugreg.h sys/io.h here.
17093 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17094 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17095 sys/io.h.
17096 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17097 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17099 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17101 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17102
3553723f
L
17103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17104 Define only if __x86_64__ is defined.
17105
4842e4fe
JM
171062012-06-01 Joseph Myers <joseph@codesourcery.com>
17107
c5bfe3d5
JM
17108 [BZ #14048]
17109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17110 Use int64_t for variable i.
17111 * math/libm-test.inc (fmod_test): Add more tests.
17112
4842e4fe
JM
17113 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17114 z computation is not scheduled after fetestexcept.
17115 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17116 Use math_force_eval instead of asm to ensure calculation scheduled
17117 before exception test.
17118 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17119 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17120
efb73488
AJ
171212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17122
17123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17124 computation is not scheduled after fetestexcept.
17125
29bcce7c
L
171262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 [BZ #14117]
17129 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17130 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17131
73a68f94
AZ
171322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17133
17134 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17135 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17136
67b6df78
L
171372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17138
edf2933a 17139 [BZ #14117]
ebc64a18
L
17140 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17141 <bits/wordsize.h>.
17142 (__WCHAR_MIN): Support __WORDSIZE == 64.
17143 (__WCHAR_MAX): Likewise.
17144
edf2933a
L
17145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17146 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17147
57c6cf40
L
17148 [BZ #14183]
17149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17150 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17151
67b6df78 17152 [BZ #14117]
8eb6281e
L
17153 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17155
aac639f4
L
17156 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17157 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17158
67b6df78
L
17159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17160 Defined to 1 if __x86_64__ isn't defined.
17161 (_STAT_VER_LINUX_OLD): New.
17162 (st_atime): Remove duplicate.
17163 (st_mtime): Likewise.
17164 (st_ctime): Likewise.
17165
1c2cfe81
DM
171662012-05-31 David S. Miller <davem@davemloft.net>
17167
17168 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17169 entries.
17170
5be8418c
AS
171712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17172
e7725326
AS
17173 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17174 gen-libm-test.pl.
17175
5be8418c
AS
17176 [BZ #14132]
17177 * elf/dl-reloc.c: Include <_itoa.h>.
17178 (_dl_reloc_bad_type): Remove use of INTUSE.
17179 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17180 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17181 * stdio-common/psiginfo.c (psiginfo): Likewise.
17182 * stdio-common/psignal.c (psignal): Likewise.
17183 * string/strsignal.c (strsignal): Likewise.
17184 * include/signal.h (_sys_siglist): Declare hidden proto.
17185 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17186 INTVARDEF with libc_hidden_data_def.
17187 * stdio-common/itoa-udigits.c: Likewise.
17188 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17189 (_itoa_lower_digits_internal): Remove declaration.
17190 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17191 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17192 (_sys_sigabbrev_internal): Remove aliases.
17193 (_sys_siglist): Define hidden alias.
17194
507352f1
MT
171952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17196
17197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17198 bits/sysctl.h.
17199
42bbb1c3
L
172002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 [BZ #14117]
6bd784b6
L
17203 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17204 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17205
8bca20f0
L
17206 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17207 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17208 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17209 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17211 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17212
f9e890a9
L
17213 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17214 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17215 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17216
471101a1
L
17217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17218 with __addr.
17219 (insw): Likewise.
17220 (insl): Likewise.
17221 (outsb): Likewise.
17222 (outsw): Likewise.
17223 (outsl): Likewise.
17224
6451c862
L
17225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17227 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17228
a254b8c9
L
17229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17230 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17232 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17233 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17234 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17235
b8dfdd92
L
17236 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17237 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17238
578cd270
L
17239 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17240 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17241
de662f5f
L
17242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17245
25653439
L
17246 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17247 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17248 to ...
17249 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17250
6bad24a0
L
17251 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17253 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17254
42bbb1c3
L
17255 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17256 for x86-64.
17257 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17258
2d10d547
JM
172592012-05-31 Joseph Myers <joseph@codesourcery.com>
17260
17261 * math/math.h (M_El): Use two more decimal places.
17262 (M_LOG2El): Likewise.
17263 (M_LOG10El): Likewise.
17264 (M_LN2l): Likewise.
17265 (M_LN10l): Likewise.
17266 (M_PIl): Likewise.
17267 (M_PI_2l): Likewise.
17268 (M_PI_4l): Likewise.
17269 (M_1_PIl): Likewise.
17270 (M_2_PIl): Likewise.
17271 (M_2_SQRTPIl): Likewise.
17272 (M_SQRT2l): Likewise.
17273 (M_SQRT1_2l): Likewise.
17274
f230c29b
DM
172752012-05-31 David S. Miller <davem@davemloft.net>
17276
17277 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17278 values between float registers.
17279 * sysdeps/sparc/sparc64/memset.S: Likewise.
17280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17281
fed806c3
MF
172822012-05-31 Mike Frysinger <vapier@gentoo.org>
17283
17284 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17285 -D_FORTIFY_SOURCE=1.
17286 (CPPFLAGS-tst-longjmp_chk.c): Define.
17287 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17288 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17289 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17290 CFLAGS-tst-wchar-h.c.
17291
30917259
MP
172922012-05-31 Marek Polacek <polacek@redhat.com>
17293
17294 [BZ #14132]
17295 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17296 __endmntent_internal): Remove declaration.
17297 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17298 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17299 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17300
1c58d5dc
DM
173012012-05-30 David S. Miller <davem@davemloft.net>
17302
17303 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17304 (___Q_simulate_exceptions): Use real FP ops rather than writing
17305 into the %fsr.
17306 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17307 Likewise.
17308
7dc00e0d
L
173092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17310
17311 [BZ #14117]
0bd53985
L
17312 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17313 * sysdeps/x86/bits/xtitypes.h: This.
17314
3a257e66
L
17315 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17316 * sysdeps/x86/bits/wordsize.h: This.
17317
62f62904
L
17318 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17319 * sysdeps/x86/bits/huge_vall.h: This.
17320
404fe9d9
L
17321 * sysdeps/i386/bits/select.h: Removed.
17322 * sysdeps/x86_64/bits/select.h: Renamed to ...
17323 * sysdeps/x86/bits/select.h: This.
17324
d48d0446
L
17325 * sysdeps/i386/bits/setjmp.h: Removed.
17326 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17327 * sysdeps/x86/bits/setjmp.h: This.
17328
7dc00e0d
L
17329 * sysdeps/i386/bits/mathdef.h: Removed.
17330 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17331 * sysdeps/x86/bits/mathdef.h: This.
17332
03277f8f
AS
173332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17334
17335 [BZ #14132]
17336 * include/sys/socket.h (__connect_internal)
17337 (__libc_sa_len_internal): Remove declaration.
17338 (__connect, __libc_sa_len): Declare hidden_proto.
17339 (SA_LEN): Remove use of INTUSE.
17340 * socket/connect.c: Add libc_hidden_def.
17341 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17342 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17343 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17344 alias.
17345 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17347 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17348 of adding _internal alias.
17349
13764867
L
173502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #14117]
6bd97696
L
17353 * sysdeps/i386/bits/link.h: Removed.
17354 * sysdeps/i386/bits/linkmap.h: Likewise.
17355 * sysdeps/x86_64/bits/link.h: Renamed to ...
17356 * sysdeps/x86/bits/link.h: This.
17357 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17358 * sysdeps/x86/bits/linkmap.h: This.
17359
f726f0bb
L
17360 * sysdeps/i386/bits/endian.h: Removed.
17361 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17362 * sysdeps/x86/bits/endian.h: This.
17363
13764867
L
17364 * sysdeps/i386/bits/byteswap.h: Removed.
17365 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17366 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17367 * sysdeps/x86/bits/byteswap.h: This.
17368 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17369 * sysdeps/x86/bits/byteswap-16.h: This.
17370 * sysdeps/i386/Implies: Add x86.
17371 * sysdeps/x86_64/Implies: Likewise.
17372
ae251b0b
DM
173732012-05-30 David S. Miller <davem@davemloft.net>
17374
17375 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17376 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17377 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17378 (FP_TRAPPING_EXCEPTIONS): Define.
17379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17380 (FP_TRAPPING_EXCEPTIONS): Define.
17381 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17382 subnormals only when inexact has been signalled or underflow
17383 exceptions are enabled.
17384 (_FP_PACK_CANONICAL): Likewise.
17385
d5c90867
L
173862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17387
17388 [BZ #14183]
17389 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17390 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17391
63f1549e
RH
173922012-05-30 Richard Henderson <rth@twiddle.net>
17393
8d8f2279
RH
17394 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17395 with #ifndef NOT_IN_libc.
17396
63f1549e
RH
17397 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17398 marked to avoid plt entry.
17399
0ab0291b
L
174002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17401
17402 [BZ #14112]
17403 * Makeconfig (default-abi): New macro.
17404 (abi-includes): Likewise.
17405 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17406 $(abi-$(default-abi)-lib-soname) for soname if defined.
17407 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17408 abi-variants.
17409 * Makefile (installed-stubs): Likewise.
17410 * include/stubs-biarch.h: Removed.
17411 * scripts/lib-names.awk: Only handle one library at a time.
17412 * scripts/soversions.awk: Remove WORDSIZE support.
17413 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17414 entries.
17415 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17416 Removed.
17417 (syscall-list-default-condition): Likewise.
17418 (syscall-list-default-condition): Likewise.
17419 (syscall-list-includes): Likewise.
17420 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17421 syscall-list-* with abi-*. Handle undefined abi-variants.
17422 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17423 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17424 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17426 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17427 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17428 Removed.
17429 (syscall-list-32-options): Likewise.
17430 (syscall-list-32-condition): Likewise.
17431 (syscall-list-64-options): Likewise.
17432 (syscall-list-64-condition): Likewise.
17433 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17434 macro.
17435 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17436 Renamed to ...
17437 (abi-*): This.
17438 (abi-64-ld-soname): New macro.
17439 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17441 Renamed to ...
17442 (abi-*): This.
17443 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17444 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17445
4da0431d
JM
174462012-05-30 Joseph Myers <joseph@codesourcery.com>
17447
3a85279c
JM
17448 * sysdeps/unix/sysv/linux/kernel-features.h
17449 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17450 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17451 include <kernel-features.h>.
17452 [!__NR_ftruncate64]: Remove conditional code.
17453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17454 [__NR_ftruncate64]: Make code unconditional.
17455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17456 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17457 include <kernel-features.h>.
17458 [!__NR_ftruncate64]: Remove conditional code.
17459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17460 [__NR_ftruncate64]: Make code unconditional.
17461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17463 include <kernel-features.h>.
17464 [!__NR_ftruncate64]: Remove conditional code.
17465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17466 [__NR_ftruncate64]: Make code unconditional.
17467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17469 include <kernel-features.h>.
17470 [!__NR_ftruncate64]: Remove conditional code.
17471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17472 [__NR_ftruncate64]: Make code unconditional.
17473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17474
4da0431d
JM
17475 * configure.in (libc_cv_fpie): Weaken to a compile test using
17476 LIBC_TRY_CC_OPTION.
17477 * configure: Regenerated.
17478
11ef492c
AK
174792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17480
17481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17485 Refreshed.
17486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17492 Refreshed.
17493
d66ef399
DM
174942012-05-27 David S. Miller <davem@davemloft.net>
17495
17496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17497 (___Q_zero): New.
17498 (__Q_simulate_exceptions): Return void. Change to simulate
17499 exceptions by writing into the %fsr.
17500 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17501 (__Qp_handle_exceptions): Likewise.
17502 (numbers): Delete.
17503 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17504 __Qp_handle_exceptions.
17505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17506 __Qp_handle_exceptions.
17507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17508 as unused and give dummy FP_RND_NEAREST initializer.
17509 (FP_INHIBIT_RESULTS): Define.
17510 (___Q_simulate_exceptions): Update declaration.
17511 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17512 formatting.
17513 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17514 as unused and give dummy FP_RND_NEAREST initializer.
17515 (__Qp_handle_exceptions): Update declaration.
17516 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17517 formatting.
17518
04fb54b5
TS
175192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17520
17521 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17522 the temporary FPU control word.
17523 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17524 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17527 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17528 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17529 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17531 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17532 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17533 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17534
3f99608f
KK
175352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17536
17537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17538 fields.
17539
65a4de4e
CLT
175402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17541
17542 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17543 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17544 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17545 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17546 Likewise.
17547 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17548 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17549 Likewise.
17550
15749d40
UD
175512012-05-27 Ulrich Drepper <drepper@gmail.com>
17552
17553 * po/h.po: Update from translation team.
17554
25dbcb27
AS
175552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17556
3d3f8e55
AS
17557 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17558
25dbcb27
AS
17559 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17560 handling of denormals.
17561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17562 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17563 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17568 Likewise.
17569
7ad47a80 175702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17571
17572 [BZ #14152]
17573 * math/libm-test.inc (fma_test): Don't always expect underflow
17574 exception.
17575
9c6ea9fa
SP
175762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17577
17578 [BZ #12416]
17579 * elf/tst-execstack.c: Include stackinfo.h.
17580 (do_test): Adjust test case to ensure that pthread_getattr_np
17581 behaviour remains the same after marking stack executable.
17582
a8239222
JM
175832012-05-25 Joseph Myers <joseph@codesourcery.com>
17584
17585 * sysdeps/unix/sysv/linux/kernel-features.h
17586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17588 kernel-features.h.
17589 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17590 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17591 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17592 kernel-features.h.
17593 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17594 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17595
918b5606
L
175962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17597
17598 * configure.in: Define the default includes to being none.
17599 * configure: Regenerated.
17600
3a097cc7
RM
176012012-05-25 Roland McGrath <roland@hack.frob.com>
17602
8422c9a5
RM
17603 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17604 * sysdeps/x86_64/setjmp.S: Likewise.
17605 * sysdeps/i386/bsd-setjmp.S: Likewise.
17606 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17607 * sysdeps/i386/setjmp.S: Likewise.
17608 * sysdeps/i386/__longjmp.S: Likewise.
17609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17610 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17611
3a097cc7
RM
17612 * include/stap-probe.h: New file.
17613 * configure.in: Handle --enable-systemtap.
17614 * configure: Regenerated.
17615 * config.h.in (USE_STAP_PROBE): New #undef.
17616 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17617 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17618 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17619
21708942
JM
176202012-05-25 Joseph Myers <joseph@codesourcery.com>
17621
17622 [BZ #13717]
17623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17624 to 2.4.0 where earlier.
17625 * sysdeps/unix/sysv/linux/configure: Regenerated.
17626 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
17635 [__ASSUME_32BITUIDS]: Make code unconditional.
17636 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17637 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17638 <kernel-features.h>.
17639 [__ASSUME_32BITUIDS]: Make code unconditional.
17640 [!__ASSUME_32BITUIDS]: Remove conditional code.
17641 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17642 <kernel-features.h>.
17643 [__ASSUME_32BITUIDS]: Make code unconditional.
17644 [!__ASSUME_32BITUIDS]: Remove conditional code.
17645 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17646 <kernel-features.h>.
17647 [__ASSUME_32BITUIDS]: Make code unconditional.
17648 [!__ASSUME_32BITUIDS]: Remove conditional code.
17649 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17650 <kernel-features.h>.
17651 [__ASSUME_32BITUIDS]: Make code unconditional.
17652 [!__ASSUME_32BITUIDS]: Remove conditional code.
17653 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17654 <kernel-features.h>.
17655 [__ASSUME_32BITUIDS]: Make code unconditional.
17656 [!__ASSUME_32BITUIDS]: Remove conditional code.
17657 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17658 <kernel-features.h>.
17659 [__ASSUME_32BITUIDS]: Make code unconditional.
17660 [!__ASSUME_32BITUIDS]: Remove conditional code.
17661 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17662 <kernel-features.h>.
17663 [__ASSUME_32BITUIDS]: Make code unconditional.
17664 [!__ASSUME_32BITUIDS]: Remove conditional code.
17665 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17666 <kernel-features.h>.
17667 [__ASSUME_32BITUIDS]: Make code unconditional.
17668 [!__ASSUME_32BITUIDS]: Remove conditional code.
17669 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17670 <kernel-features.h>.
17671 [__ASSUME_32BITUIDS]: Make code unconditional.
17672 [!__ASSUME_32BITUIDS]: Remove conditional code.
17673 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17674 <kernel-features.h>.
17675 [__ASSUME_32BITUIDS]: Make code unconditional.
17676 [!__ASSUME_32BITUIDS]: Remove conditional code.
17677 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17678 <kernel-features.h>.
17679 [__NR_setresgid] (__setresgid): Do not declare.
17680 [__ASSUME_32BITUIDS]: Make code unconditional.
17681 [!__ASSUME_32BITUIDS]: Remove conditional code.
17682 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17683 <kernel-features.h>.
17684 [__NR_setresuid] (__setresuid): Do not declare.
17685 [__ASSUME_32BITUIDS]: Make code unconditional.
17686 [!__ASSUME_32BITUIDS]: Remove conditional code.
17687 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17688 <kernel-features.h>.
17689 [__ASSUME_32BITUIDS]: Make code unconditional.
17690 [!__ASSUME_32BITUIDS]: Remove conditional code.
17691 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17692 <kernel-features.h>.
17693 [__ASSUME_32BITUIDS]: Make code unconditional.
17694 [!__ASSUME_32BITUIDS]: Remove conditional code.
17695 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17696 <kernel-features.h>.
17697 [__ASSUME_32BITUIDS]: Make code unconditional.
17698 [!__ASSUME_32BITUIDS]: Remove conditional code.
17699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17700 <kernel-features.h>.
17701 [__ASSUME_32BITUIDS]: Make code unconditional.
17702 [!__ASSUME_32BITUIDS]: Remove conditional code.
17703 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17704 <kernel-features.h>.
17705 [__ASSUME_32BITUIDS]: Make code unconditional.
17706 [!__ASSUME_32BITUIDS]: Remove conditional code.
17707 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17708 <kernel-features.h>.
17709 [__ASSUME_32BITUIDS]: Make code unconditional.
17710 [!__ASSUME_32BITUIDS]: Remove conditional code.
17711 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17712 <kernel-features.h>.
17713 [__ASSUME_32BITUIDS]: Make code unconditional.
17714 [!__ASSUME_32BITUIDS]: Remove conditional code.
17715 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17716 <kernel-features.h>.
17717 [__ASSUME_32BITUIDS]: Make code unconditional.
17718 [!__ASSUME_32BITUIDS]: Remove conditional code.
17719 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17720 <kernel-features.h>.
17721 [__ASSUME_32BITUIDS]: Make code unconditional.
17722 [!__ASSUME_32BITUIDS]: Remove conditional code.
17723 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17724 <kernel-features.h>.
17725 [__ASSUME_32BITUIDS]: Make code unconditional.
17726 [!__ASSUME_32BITUIDS]: Remove conditional code.
17727 * sysdeps/unix/sysv/linux/kernel-features.h
17728 (__ASSUME_SETRESUID_SYSCALL): Remove.
17729 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17730 (__ASSUME_32BITUIDS): Likewise.
17731 (__ASSUME_LDT_WORKS): Likewise.
17732 (__ASSUME_O_DIRECTORY): Likewise.
17733 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17734 architecture but not kernel version.
17735 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17736 (__ASSUME_MMAP2_SYSCALL): Likewise.
17737 (__ASSUME_STAT64_SYSCALL): Likewise.
17738 (__ASSUME_IPC64): Likewise.
17739 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17740 <kernel-features.h>.
17741 [__ASSUME_32BITUIDS]: Make code unconditional.
17742 [!__ASSUME_32BITUIDS]: Remove conditional code.
17743 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17744 <kernel-features.h>.
17745 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17746 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17747 132096]: Remove conditional code.
17748 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17750 <kernel-features.h>.
17751 [__ASSUME_32BITUIDS]: Make code unconditional.
17752 [!__ASSUME_32BITUIDS]: Remove conditional code.
17753 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17754 <kernel-features.h>.
17755 [__ASSUME_32BITUIDS]: Make code unconditional.
17756 [!__ASSUME_32BITUIDS]: Remove conditional code.
17757 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17758 <kernel-features.h>.
17759 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17760 unconditional.
17761 (__setresgid): Do not declare.
17762 [__ASSUME_32BITUIDS]: Make code unconditional.
17763 [!__ASSUME_32BITUIDS]: Remove conditional code.
17764 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17765 <kernel-features.h>.
17766 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17767 unconditional.
17768 (__setresuid): Do not declare.
17769 [__ASSUME_32BITUIDS]: Make code unconditional.
17770 [!__ASSUME_32BITUIDS]: Remove conditional code.
17771 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17772 <kernel-features.h>.
17773 [__ASSUME_32BITUIDS]: Make code unconditional.
17774 [!__ASSUME_32BITUIDS]: Remove conditional code.
17775 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17776 <kernel-features.h>.
17777 [__ASSUME_32BITUIDS]: Make code unconditional.
17778 [!__ASSUME_32BITUIDS]: Remove conditional code.
17779
a386f1cc
RH
177802012-05-25 Richard Henderson <rth@twiddle.net>
17781
17782 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17783 dl_hwcap to ifunc resolver.
17784 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17785 elf_ifunc_invoke.
17786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17787 dl_hwcap to ifunc resolver.
17788 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17789
b6550497
JM
177902012-05-24 Joseph Myers <joseph@codesourcery.com>
17791
17792 [BZ #14153]
17793 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17794 for |x| <= 2**-26, not 2**-57.
17795 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17796 exception.
17797
b0bc23a1
JL
177982012-05-24 Jeff Law <law@redhat.com>
17799
17800 * stdio-common/Makefile (tests): Add bug25.
17801 * stdio-common/bug25.c: New test.
17802
347c92e9
L
178032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 [BZ #13576]
17806 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17807 multiple of MALLOC_ALIGNMENT in size.
17808 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17809
6bcc8b3f
JM
178102012-05-24 Joseph Myers <joseph@codesourcery.com>
17811
17812 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17813 Require >= 256.
17814 (FILENAME_MAX): Use macro-int-constant.
17815 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17816 (_IOFBF): Use macro-int-constant.
17817 (_IOLBF): Likewise.
17818 (_IONBF): Likewise.
17819 (SEEK_CUR): Likewise.
17820 (SEEK_END): Likewise.
17821 (SEEK_SET): Likewise.
17822 (TMP_MAX): Likewise.
17823 (EOF): Use macro-int-constant. Require < 0.
17824 (NULL): Use macro-constant. Require == 0.
17825 (stdin): Require type to be FILE *.
17826 (stdout): Likewise.
17827 (stderr): Likewise.
17828 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17829 macro-int-constant.
17830 (EXIT_SUCCESS): Likewise.
17831 (NULL): Use macro-constant. Require == 0.
17832 (RAND_MAX): Use macro-int-constant.
17833 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17834 [C99-based standards] (strtof): Require function.
17835 [C99-based standards] (strtold): Likewise.
17836 [C99-based standards] (strtoll): Likewise.
17837 [C99-based standards] (strtoull): Likewise.
17838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17839 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17840 [ISO || ISO99 || ISO11] (math.h): Likewise.
17841 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17842 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17844
d18ea0c5
AS
178452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17846
17847 [BZ #14132]
56d25bb8
AS
17848 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17849 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17850 * intl/dgettext.c (DCGETTEXT): Likewise.
17851 * intl/gettext.c (DCGETTEXT): Likewise.
17852 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17853 * posix/regex_internal.h (gettext): Likewise.
17854 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17855 Remove declaration.
17856 * include/argz.h (__argz_count_internal)
17857 (__argz_stringify_internal): Remove declaration.
17858 (__argz_count, __argz_stringify): Declare hidden proto.
17859 * intl/dcgettext.c: Remove use of INTDEF.
17860 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17861 * string/argz-stringify.c: Likewise.
17862 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17863 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17864 Declare hidden proto.
d18ea0c5
AS
17865 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17866 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17867 Declare hidden proto.
17868 * include/stdio.h (__asprintf_internal): Don't declare.
17869 (__asprintf): Don't define as macro. Declare hidden proto.
17870 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17871 (__fsetlocking): Declare hidden proto.
17872 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17873 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17874 hidden proto.
17875 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17876 (_IO_setlinebuf): Remove use of INTUSE.
17877 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17878 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17879 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17880 Remove declaration.
17881 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17882 (_IO_do_flush): Remove use of INTUSE.
17883 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17884 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17885 (_IO_adjust_column, _IO_least_wmarker)
17886 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17887 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17888 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17889 (_IO_default_doallocate, _IO_wdefault_doallocate)
17890 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17891 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17892 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17893 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17894 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17895 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17896 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17897 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17898 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17899 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17900 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17901 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17902 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17903 proto.
17904 (_IO_flush_all_internal, _IO_adjust_column_internal)
17905 (_IO_default_uflow_internal, _IO_default_finish_internal)
17906 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17907 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17908 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17909 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17910 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17911 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17912 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17913 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17914 (_IO_file_close_internal, _IO_file_close_it_internal)
17915 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17916 (_IO_file_init_internal, _IO_file_attach_internal)
17917 (_IO_file_fopen_internal, _IO_file_read_internal)
17918 (_IO_file_sync_internal, _IO_file_seek_internal)
17919 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17920 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17921 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17922 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17923 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17924 (_IO_list_all_internal, _IO_link_in_internal)
17925 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17926 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17927 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17928 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17929 (_IO_do_write_internal, _IO_padn_internal)
17930 (_IO_getline_info_internal, _IO_getline_internal)
17931 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17932 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17933 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17934 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17935 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17936 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17937 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17938 with libc_hidden_ver, remove use of INTUSE.
17939 * libio/genops.c: Likewise.
17940 * libio/freopen.c: Likewise.
17941 * libio/freopen64.c: Likewise.
17942 * libio/iofclose.c: Likewise.
17943 * libio/iofdopen.c: Likewise.
17944 * libio/iofflush.c: Likewise.
17945 * libio/iofflush_u.c: Likewise.
17946 * libio/iofgets.c: Likewise.
17947 * libio/iofgets_u.c: Likewise.
17948 * libio/iofopen.c: Likewise.
17949 * libio/iofopncook.c: Likewise.
17950 * libio/iofread.c: Likewise.
17951 * libio/iofread_u.c: Likewise.
17952 * libio/ioftell.c: Likewise.
17953 * libio/iofwrite.c: Likewise.
17954 * libio/iogetline.c: Likewise.
17955 * libio/iogets.c: Likewise.
17956 * libio/iogetwline.c: Likewise.
17957 * libio/iopadn.c: Likewise.
17958 * libio/iopopen.c: Likewise.
17959 * libio/ioseekoff.c: Likewise.
17960 * libio/ioseekpos.c: Likewise.
17961 * libio/iosetbuffer.c: Likewise.
17962 * libio/iosetvbuf.c: Likewise.
17963 * libio/ioungetc.c: Likewise.
17964 * libio/ioungetwc.c: Likewise.
17965 * libio/iovdprintf.c: Likewise.
17966 * libio/iovsprintf.c: Likewise.
17967 * libio/iovsscanf.c: Likewise.
17968 * libio/memstream.c: Likewise.
17969 * libio/obprintf.c: Likewise.
17970 * libio/oldfileops.c: Likewise.
17971 * libio/oldiofclose.c: Likewise.
17972 * libio/oldiofdopen.c: Likewise.
17973 * libio/oldiofopen.c: Likewise.
17974 * libio/oldiopopen.c: Likewise.
17975 * libio/oldstdfiles.c: Likewise.
17976 * libio/putc.c: Likewise.
17977 * libio/setbuf.c: Likewise.
17978 * libio/setlinebuf.c: Likewise.
17979 * libio/stdfiles.c: Likewise.
17980 * libio/strops.c: Likewise.
17981 * libio/vasprintf.c: Likewise.
17982 * libio/vscanf.c: Likewise.
17983 * libio/vsnprintf.c: Likewise.
17984 * libio/vswprintf.c: Likewise.
17985 * libio/wfiledoalloc.c: Likewise.
17986 * libio/wfileops.c: Likewise.
17987 * libio/wgenops.c: Likewise.
17988 * libio/wmemstream.c: Likewise.
17989 * libio/wstrops.c: Likewise.
17990 * libio/__fpurge.c: Likewise.
17991 * libio/__fsetlocking.c: Likewise.
17992 * assert/assert.c: Likewise.
17993 * debug/fgets_chk.c: Likewise.
17994 * debug/fgets_u_chk.c: Likewise.
17995 * debug/fread_chk.c: Likewise.
17996 * debug/fread_u_chk.c: Likewise.
17997 * debug/gets_chk.c: Likewise.
17998 * debug/obprintf_chk.c: Likewise.
17999 * debug/vasprintf_chk.c: Likewise.
18000 * debug/vdprintf_chk.c: Likewise.
18001 * debug/vsnprintf_chk.c: Likewise.
18002 * debug/vsprintf_chk.c: Likewise.
18003 * malloc/mtrace.c: Likewise.
18004 * misc/error.c: Likewise.
18005 * misc/syslog.c: Likewise.
18006 * stdio-common/asprintf.c: Likewise.
18007 * stdio-common/fxprintf.c: Likewise.
18008 * stdio-common/getw.c: Likewise.
18009 * stdio-common/isoc99_fscanf.c: Likewise.
18010 * stdio-common/isoc99_scanf.c: Likewise.
18011 * stdio-common/isoc99_vfscanf.c: Likewise.
18012 * stdio-common/isoc99_vscanf.c: Likewise.
18013 * stdio-common/isoc99_vsscanf.c: Likewise.
18014 * stdio-common/printf-prs.c: Likewise.
18015 * stdio-common/printf_fp.c: Likewise.
18016 * stdio-common/printf_fphex.c: Likewise.
18017 * stdio-common/printf_size.c: Likewise.
18018 * stdio-common/putw.c: Likewise.
18019 * stdio-common/scanf.c: Likewise.
18020 * stdio-common/sprintf.c: Likewise.
18021 * stdio-common/tmpfile.c: Likewise.
18022 * stdio-common/vfprintf.c: Likewise.
18023 * stdio-common/vfscanf.c: Likewise.
18024 * stdlib/strfmon_l.c: Likewise.
18025 * sunrpc/openchild.c: Likewise.
18026 * sunrpc/xdr_stdio.c: Likewise.
18027 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18028 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18029
d6c33fda
RM
180302012-05-24 Roland McGrath <roland@hack.frob.com>
18031
c1487492
RM
18032 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18033
18034 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18035 in the third column, to generate for the shared library an IFUNC
18036 that uses _dl_vdso_vsym.
18037 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18038 * Makeconfig (object-suffixes-noshared): New variable.
18039
18040 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18041 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18042 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18043 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18044
d6c33fda
RM
18045 [BZ #14132]
18046 * include/sys/time.h (__gettimeofday): Remove macro.
18047 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18048 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18049 Remove INTDEF.
18050 (__gettimeofday): Add libc_hidden_def.
18051 (gettimeofday): Add libc_hidden_weak.
18052 * sysdeps/mach/gettimeofday.c: Likewise.
18053 * sysdeps/posix/gettimeofday.c: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18055 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18057 (__gettimeofday_internal): Remove strong_alias.
18058 (__gettimeofday): Add libc_hidden_def.
18059 (gettimeofday): Add libc_hidden_weak.
18060 * sysdeps/unix/syscalls.list (gettimeofday):
18061 Remove __gettimeofday_internal alias.
18062
b5a2bbe6
L
180632012-05-24 Daniel Jacobowitz <drow@false.org>
18064 H.J. Lu <hongjiu.lu@intel.com>
18065
18066 [BZ #12495]
18067 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18068 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18069 (largebin_index_32_big): New.
18070 (largebin_index): Use it for 16-byte alignment.
18071 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18072 correction with front_misalign.
18073
cfba4fda
L
180742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18075
7f907421
L
18076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18078 Likewise.
18079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18082 Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18084 Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18086 Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18088 Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18090 Likewise.
18091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18094 Likewise.
18095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18096 Likewise.
18097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18098 Likewise.
18099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18100 Likewise.
18101
cfba4fda
L
18102 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18103 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18104
80bad0cc
JM
181052012-05-24 Joseph Myers <joseph@codesourcery.com>
18106
7a25eb06
JM
18107 [BZ #10846]
18108 [BZ #14036]
18109 * math/libm-test.inc (exp_test): Add test from bug 14036.
18110 (pow_test): Add test from bug 10846.
18111
795405f9
JM
18112 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18113 and other flags.
18114 (special_function): Do not include flags in test name.
18115 (parse_args): Likewise.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18121
80bad0cc
JM
18122 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18123 exceptions.
18124 * math/libm-test.inc ("Philosophy"): Update comment about
18125 exception testing.
18126 (UNDERFLOW_EXCEPTION): New macro.
18127 (UNDERFLOW_EXCEPTION_OK): Likewise.
18128 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18129 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18130 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18131 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18132 (INVALID_EXCEPTION_OK): Update value.
18133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18134 (OVERFLOW_EXCEPTION_OK): Likewise.
18135 (IGNORE_ZERO_INF_SIGN): Likewise.
18136 (test_exceptions): Handle underflow exceptions.
18137 (acos_test): Update for underflow exception expectations.
18138 (cexp_test): Likewise.
18139 (clog_test): Likewise.
18140 (clog10_test): Likewise.
18141 (csqrt_test): Likewise.
18142 (ctan_test): Likewise.
18143 (ctanh_test): Likewise.
18144 (exp_test): Likewise.
18145 (exp10_test): Likewise.
18146 (exp2_test): Likewise.
18147 (expm1_test): Likewise.
18148 (fma_test): Likewise.
18149 (j0_test): Likewise.
18150 (jn_test): Likewise.
18151 (nexttoward_test): Likewise.
18152 (pow_test): Likewise.
18153 (scalbn_test): Likewise.
18154 (scalbln_test): Likewise.
18155 (tan_test): Likewise.
18156 (y1_test): Likewise.
18157 * sysdeps/i386/fpu/libm-test-ulps: Update.
18158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18159
9e0e3d0b
DM
181602012-05-23 David S. Miller <davem@davemloft.net>
18161
18162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18163 (__libc_sigaction): Remove unused local variables.
18164
ccd0a08f
L
181652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18168
62bdf9a6
PE
181692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18170
f8591f80
PE
18171 mktime: avoid signed integer overflow
18172 * time/mktime.c (__mktime_internal): Do not mishandle the case
18173 where diff == INT_MIN.
18174
94c7d826
PE
18175 mktime: simplify computation of average
18176 * time/mktime.c (ranged_convert): Use new time_t_avg function
18177 instead of rolling our own (probably-slower) code.
18178
ce73d683
PE
18179 mktime: do not assume signed right shift propagates sign bit
18180 * time/mktime.c (isdst_differ): New static function.
18181 (__mktime_internal): No need to normalize tm_isdst now.
18182 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18183 tm_isdst values.
18184
72a22e59
PE
18185 mktime: merge another wrapv change from gnulib
18186 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18187 from some compilers.
18188
68605433
PE
18189 mktime: remove incorrect attempt at unusual arithmetics
18190 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18191 The code didn't really work on such machines anyway.
18192 (TYPE_MINIMUM): Assume two's complement.
18193 (twos_complement_arithmetic): Verify that long_int and time_t
18194 are two's complement (or unsigned, in the latter case).
18195
03cf7fe3
PE
18196 mktime: check signed shifts on long_int and time_t, too
18197 * time/mktime.c (SHR): Check that shifts work as desired
18198 on the types long_int and time_t too, as SHR is used on
18199 such types.
18200
f04dfbc2
PE
18201 mktime: do not assume 'long' is wide enough
18202 * time/mktime.c (verify): Move decl up.
18203 (long_int): New type.
18204 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18205 to remove assumption in the code that 'long' is wide enough to
18206 store year values. This assumption is not true on x32 and on
18207 some non-glibc platforms.
18208
62bdf9a6
PE
18209 mktime: merge wrapv change from gnulib
18210 * time/mktime.c (WRAPV): New macro.
18211 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18212 (guess_time_tm, __mktime_internal): Do not assume that signed
18213 integer overflow wraps around; modern compilers generate code
18214 where this assumption is no longer valid.
18215
5e292e4f
L
182162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18217
18218 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18219 Replace "jmp L(pseudo_end)" with "ret".
18220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18221 Likewise.
18222
8caf8c87
AJ
182232012-05-23 Andreas Jaeger <aj@suse.de>
18224
18225 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18226 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18227
1a09dc56
AJ
182282012-05-23 Andreas Jaeger <aj@suse.de>
18229 Maximilian Attems <max@stro.at>
18230
18231 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18232 New macros.
18233
1c87aba0
L
182342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18237 code so that pseudo_end is just ret and the stack pointer is
18238 correct also for static library in error case.
18239
40e45bd5
JM
182402012-05-23 Joseph Myers <joseph@codesourcery.com>
18241
c2670533
JM
18242 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18243 move to syscalls.list.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18248
40e45bd5
JM
18249 * manual/install.texi (Running make install): Do not mention Linux
18250 kernel version for which pt_chown is not needed.
18251 (Linux): Do not mention problems with nscd with 2.0 kernels.
18252 * INSTALL: Regenerated.
18253
be08eda5
AJ
182542012-05-23 Andreas Jaeger <aj@suse.de>
18255
18256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18257 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18258 macro.
18259 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18261 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18263 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18269 * sysdeps/unix/sysv/linux/bits/in.h
18270 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18271
a6a056bb
RM
182722012-05-22 Roland McGrath <roland@hack.frob.com>
18273
18274 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18275 (PREPARE_VERSION): Just use assert instead, it will be elided
18276 under [NDEBUG] anyway.
18277
c9009328
L
182782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18279
18280 * sysdeps/unix/sysv/linux/Makefile: Include
18281 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18282 (sysdep_routines): Remove sysctl.
c9009328
L
18283 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18284 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18285 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18287 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18288
73338355
AJ
182892012-05-22 Andreas Jaeger <aj@suse.de>
18290
18291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18292 that pseudo_end is just ret and the stack pointer is correct also
18293 for static library in error case.
18294
d44638b0
PP
182952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18296
18297 [BZ #14122]
18298 * nss/nsswitch.c (defconfig_entries): New variable.
18299 (__nss_database_lookup): Don't leak defconfig entries.
18300 (nss_parse_service_list): Don't leak on error paths.
18301 (free_database_entries): New function.
18302 (free_defconfig): New function.
18303 (free_mem): Move common code to free_database_entries.
18304
31a39bd8
L
183052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18306
da0331a8
L
18307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18308 Add arch_prctl.
18309 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18310
31a39bd8
L
18311 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18312 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18314 New macro.
18315 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18316 (INTERNAL_SYSCALL_TYPES): Likewise.
18317 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18318 (LOAD_REGS_TYPES_[1-6]): Likewise.
18319 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18320 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18321
45470df3
AZ
183222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18323
18324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18325 copysignl for GLIBC_2_0.
18326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18327 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18329 logbl for GLIBC_2_0.
18330 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18331 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18332
98a61bcb
L
183332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18334
a4f6e481
L
18335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18336 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18337
f63d5db6
L
18338 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18339 Use "neg %eax".
18340
98a61bcb
L
18341 * time/mktime.c: Update copyright years.
18342
95770f14
PE
183432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18344
6226efbd
PE
18345 mktime: merge comment-quoting-style change from gnulib
18346 * time/mktime.c: Quote 'like this' in comments.
18347 The GNU coding standards suggest that we no longer quote `like this',
18348 as "`" and "'" are typically rendered asymmetrically nowadays.
18349 The typical gnulib style is to quote 'like this' when quoting
18350 code, and "like this" when quoting English.
18351
b99e4f78
PE
18352 * time/mktime.c (compile-command): Add "-I.".
18353
643e01e6
PE
18354 mktime: merge mktime-internal.h change from gnulib
18355 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18356
2554247d
PE
18357 mktime: merge time_r change from gnulib
18358 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18359
826dd0ab
PE
18360 mktime: merge DEBUG change from gnulib
18361 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18362 case system <time.h> has a #define.
18363
bd83aabe
PE
18364 mktime: merge <sys/types.h> change from gnulib
18365 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18366 since <time.t> is now guaranteed to define time_t.
18367
95770f14
PE
18368 mktime: merge HAVE_CONFIG_H change from gnulib
18369 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18370
5e1a27a9
L
183712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18372
0e44a77e
L
18373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18374 Use "neg %eax".
18375
5e1a27a9
L
18376 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18377 __rlim_t cast.
18378 (struct rusage): Use anonymous union to pad each field to
18379 __syscall_slong_t.
18380
46259bec
DM
183812012-05-21 David S. Miller <davem@davemloft.net>
18382
18383 * Makefules (o-iterator): Remove .s cases.
18384 (compile-command.s): Delete.
18385 (COMPILE.s): Delete.
18386 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18387
59f0c22e
JM
183882012-05-21 Joseph Myers <joseph@codesourcery.com>
18389
18390 * configure.in (libc_cv_predef_stack_protector): Only consider
18391 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18392 * configure: Regenerated.
18393
20c07380
L
183942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18395
bbb3154b
L
18396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18397 New macro. Use R*LP on int and pointer.
18398 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18399 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18400 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18401 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18402
20c07380
L
18403 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18404 [__WORDSIZE_TIME64_COMPAT32] instead of
18405 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18406 (struct utmp): Likewise.
18407 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18408 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18409 Renamed to ...
18410 (__WORDSIZE_TIME64_COMPAT32): This.
18411 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18412 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18413 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18414 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18416 (__WORDSIZE_TIME64_COMPAT32): New macro.
18417
d8d1017e
AJ
184182012-05-21 Andreas Jaeger <aj@suse.de>
18419
18420 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18421 only if [SHARED]. Add prototype for __wcschr_ia32.
18422
6c7fb145
RM
184232012-05-21 Roland McGrath <roland@hack.frob.com>
18424
18425 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18426 of %rbp unmolested in the jmp_buf while mangling the low bits.
18427 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18428 unmolested high bits of %rbp while demangling the low bits.
18429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18430
66274218
AJ
184312012-05-21 Andreas Jaeger <aj@suse.de>
18432
07c58f8f
AJ
18433 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18434 * sunrpc/svc_simple.c: Use it for registerrpc.
18435 * sunrpc/xcrypt.c: Use it for passwd2des.
18436
66274218
AJ
18437 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18438
61f65140
L
184392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18440
18441 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18442 Don't define if [__SYSCALL_WORDSIZE != 32].
18443 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18444 New macro.
18445
5fefb436
AJ
184462012-05-21 Bruno Haible <bruno@clisp.org>
18447 Andreas Jaeger <aj@suse.de>
18448
18449 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18450 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18451 inptr and inend for must_buffer_ch.
18452 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18453 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18454 * stdio-common/Makefile (tests): Remove bug15.
18455 (bug15-ENV): Remove macro.
18456 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18457 anymore.
18458
d8e272ab
AJ
184592012-05-19 Andreas Jaeger <aj@suse.de>
18460 Roland McGrath <roland@hack.frob.com>
18461
18462 * manual/contrib.texi: Completely rewritten. It contains now an
18463 alphabetical list of contributors and their contributions.
18464
4a56a162
RH
184652012-05-21 Richard Henderson <rth@twiddle.net>
18466
18467 * misc/getauxval.c (__getauxval): Use unsigned long int.
18468 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18469 (getauxval): Use unsigned long int.
18470
d024d23c
L
184712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18472
18473 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18474
cbc00a03
RM
184752012-05-21 Roland McGrath <roland@hack.frob.com>
18476
18477 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18478 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18479 __alignof__ (long double).
18480
478143fa
AZ
184812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18482
18483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18484
c7683a6d
RH
184852012-05-20 Richard Henderson <rth@twiddle.net>
18486
18487 * misc/getauxval.c: New file.
18488 * misc/sys/auxv.h: New file.
18489 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18490 (routines): Add getauxval.
18491 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18492 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18493 * elf/dl-sysdep.c (_dl_auxv): Remove.
18494 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18495 * elf/dl-support.c (_dl_auxv): New variable.
18496 (_dl_aux_init): Initialize it.
18497 * manual/startup.texi (Auxiliary Vector): New node.
18498 * sysdeps/generic/bits/hwcap.h: New file.
18499 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18500 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18501 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18502 * sysdeps/sparc/sysdep.h: ... here. Include it.
18503 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18506 Update.
c7683a6d
RH
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18515
a6f1845d
AZ
185162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18517
18518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18519
cbcbe830
DM
185202012-05-19 David S. Miller <davem@davemloft.net>
18521
18522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18523
e0b16cc2
JM
185242012-05-19 Joseph Myers <joseph@codesourcery.com>
18525
18526 [BZ #14123]
18527 * math/s_ccosh.c: Include <float.h>
18528 (__ccosh): Avoid internal overflow calculating sinh and cosh
18529 values before multiplying by sin and cos values.
18530 * math/s_ccoshf.c: Likewise.
18531 * math/s_ccoshl.c: Likewise.
18532 * math/s_csin.c: Likewise.
18533 * math/s_csinf.c: Likewise.
18534 * math/s_csinl.c: Likewise.
18535 * math/s_csinh.c: Likewise.
18536 * math/s_csinhf.c: Likewise.
18537 * math/s_csinhl.c: Likewise.
18538 * math/libm-test.inc (ccos_test): Add more tests.
18539 (ccosh_test): Likewise.
18540 (csin_test): Likewise.
18541 (csinh_test): Likewise.
18542 * sysdeps/i386/fpu/libm-test-ulps: Update.
18543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544
6ad13e08
L
185452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18546
f66f0ce8
L
18547 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18548 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18549
6ad13e08
L
18550 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18551
b1d072a7
JM
185522012-05-19 Joseph Myers <joseph@codesourcery.com>
18553
18554 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18555 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18556 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18557 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18558 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18559 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18560 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18561 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18562 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18563 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18564 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18565 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18566 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18567 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18568 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18569 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18570 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18571 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18572 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18573 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18574 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18575 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18576 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18577 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18578 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18579 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18580 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18581 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18582 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18583 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18584 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18585
9eae47cb
AJ
185862012-05-18 Andreas Jaeger <aj@suse.de>
18587
18588 * csu/.gitignore: Delete.
18589
bb07f69f
L
185902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18591
18592 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18593 (timex): Use __syscall_slong_t.
18594
e6bdb741
AJ
185952012-05-18 Andreas Jaeger <aj@suse.de>
18596 Carlos O'Donell <carlos_odonell@mentor.com>
18597
18598 * manual/install.texi (Configuring and compiling): Update
18599 description about files modified in the source directory.
d6c33fda 18600 * INSTALL: Regenerated.
e6bdb741 18601
1b74487e
L
186022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18603
18604 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18605 value. Use "or" to set return value to -1.
18606 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18607 negate return value.
18608
a88b64b9
TMQMF
186092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18610
18611 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18612 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18613 failure if the compiler has Graphite support disabled.
18614 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18615 Likewise.
18616 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18617 CFLAGS-memmove.c): Likewise.
18618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18619 Likewise.
18620
3707636e
L
186212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18622
610b8622
L
18623 * sysdeps/x86_64/x32/_itoa.h: New file.
18624
7cd195df
L
18625 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18626 getdents system call only if kernel and user dirents have the
18627 same d_ino and d_off.
18628
94b07d20
L
18629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18630 LLONG_MAX != LONG_MAX.
18631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18632 (_fitoa_word): Likewise.
18633
18298070
L
18634 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18635 years.
18636 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18638 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18639
553c7ea4
L
18640 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18641 include <bits/wordsize.h>. Check __x86_64__ instead of
18642 __WORDSIZE.
18643 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18644 if __x86_64__ is defined. Use anonymous union on fpstate.
18645
3707636e
L
18646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18647 anonymous union.
18648
b53ef01a
AS
186492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18650
37fb1dc0
AS
18651 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18652 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18654 Refer to _rtld_local_ro instead of _rtld_global_ro.
18655 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18656 Likewise.
18657 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18658 Likewise.
18659 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18660 Likewise.
18661 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18662 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18663 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18664
b53ef01a
AS
18665 * sysdeps/powerpc/powerpc32/dl-machine.c
18666 (__elf_machine_runtime_setup) [PROF]: Don't reference
18667 _dl_prof_resolve.
18668
7a185db2
AJ
186692012-05-18 Andreas Jaeger <aj@suse.de>
18670
18671 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18672 function only available for GCCs before 3.4 since GCC 3.4
18673 introduced a builtin.
18674 (lrint): Likewise.
18675 (llrintf): Likewise.
18676 (llrint): Likewise.
18677 (fmaxf): Likewise.
18678 (fmax): Likewise.
18679 (fminf): Likewise.
18680 (fmin): Likewise.
18681 (rint): Likewise.
18682 (rintf): Likewise.
18683 (nearbyint): Likewise.
18684 (nearbyintf): Likewise.
18685 (ceil): Likewise.
18686 (ceilf): Likewise.
18687 (floor): Likewise.
18688 (floorf): Likewise.
18689
3e5aef87
L
186902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18691
428bd707
L
18692 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18693 on both fields and cast pointer to __syscall_ulong_t.
18694
3e5aef87
L
18695 * bits/types.h (__fsword_t): New type.
18696 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18697 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18699 (__FSWORD_T_TYPE): Likewise.
18700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18701 (__FSWORD_T_TYPE): Likewise.
18702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18703 (__FSWORD_T_TYPE): Likewise.
18704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18705 (__FSWORD_T_TYPE): Likewise.
18706 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18707 __SWORD_TYPE with __fsword_t.
18708 (statfs64): Likewise.
18709
1ba7c3dc
DM
187102012-05-17 David S. Miller <davem@davemloft.net>
18711
18712 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18713
59910343
AJ
187142012-05-17 Andreas Jaeger <aj@suse.de>
18715
18716 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18717 warning.
18718
2e4c1e9e
L
187192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18720
18721 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18722
de7f5ce7
AJ
187232012-05-17 Andreas Jaeger <aj@suse.de>
18724
18725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18726 when it is used.
18727
286abc3d
CM
187282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18729
18730 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18731
477cc68e
L
187322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18735 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18736
1a0994f5
CD
187372012-05-17 Andreas Jaeger <aj@suse.de>
18738 Carlos O'Donell <carlos_odonell@mentor.com>
18739
18740 [BZ #14059]
18741 * sysdeps/x86_64/multiarch/init-arch.h
18742 (bit_YMM_Usable): Rename to...
18743 (bit_AVX_Usable): ... this.
18744 (bit_FMA4_Usable): New macro.
18745 (bit_XMM_state): New macro.
18746 (bit_YMM_state): New macro.
18747 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18748 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18749 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18750 (CPUID_OSXSAVE): New macro.
18751 (CPUID_AVX): New macro.
18752 (CPUID_FMA4): New macro.
18753 (index_YMM_Usable): Rename to...
18754 (index_AVX_Usable): ... this.
18755 (HAS_AVX): Use HAS_ARCH_FEATURE.
18756 (HAS_FMA4): Likewise.
18757 (HAS_YMM_USABLE): Remove.
18758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18759 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18760 are present.
18761 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18762 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18763 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18764 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18765 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18766
0af797de
CM
187672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18768
18769 * math/libm-test.c: Support platforms without multiple rounding modes.
18770 * math/bug-nextafter.c: Support platforms without FP exceptions.
18771 * math/bug-nexttoward.c: Likewise.
18772 * math/test-fenv.c: Likewise.
18773 * math/test-misc.c: Likewise.
18774 * stdlib/bug-getcontext.c: Likewise.
18775
e39745ff
AJ
187762012-05-17 Andreas Jaeger <aj@suse.de>
18777
18778 * manual/examples/search.c (critter_cmp): Change signature to
18779 avoid warnings.
18780 * manual/string.texi (Collation Functions): Likewise.
18781
48970aba
L
187822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18783
18784 * bits/types.h: Fold copyright years.
18785 * bits/typesizes.h: Likewise.
18786 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18790 * time/time.h: Likewise.
18791
bedee953
PP
187922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18793
18794 [BZ #208]
18795 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18796 in instead of returning them. Return void.
18797 (__libc_mallinfo): Accumulate over all arenas.
18798 (__malloc_stats): Adjust for change in int_mallinfo interface.
18799
61653dfb
RM
188002012-05-16 Roland McGrath <roland@hack.frob.com>
18801
30b99d79
RM
18802 [BZ #10375]
18803 * configure.in (NM): Add AC_CHECK_TOOL for it.
18804 (libc_extra_cflags): New substituted variable.
18805 Check for -fstack-protector being used implicitly.
18806 * configure: Regenerated.
18807 * config.make.in (config-extra-cflags): New variable,
18808 gets @libc_extra_cflags@.
18809 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18810
61653dfb
RM
18811 [BZ #10375]
18812 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18813 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18814 * configure: Regenerated.
18815 * config.make.in (CPPUNDEFS): New substituted variable.
18816 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18817 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18818 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18819
661768bb
L
188202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18823 (mq_attr): Use __syscall_slong_t.
18824
d4261567
L
188252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18828 Check __x86_64__ instead of __WORDSIZE.
18829 (_STAT_VER_LINUX): Likewise.
18830 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18831 __syscall_ulong_t and __syscall_slong_t.
18832 (stat64): Likewise.
18833
cf3ff365
L
188342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18837
76cf3e4d
L
188382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18839
18840 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18841
a637753a
L
188422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18843
18844 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18845 __syscall_ulong_t.
18846
d5e05119
L
18847 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18848 include <bits/wordsize.h>. Check __x86_64__ instead of
18849 __WORDSIZE.
18850 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18851 defined.
18852 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18853
f62ee380
L
18854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18855 include <bits/wordsize.h>. Check __x86_64__ instead of
18856 __WORDSIZE.
18857 (user_regs_struct): Use "__extension__ unsigned long long"
18858 instead of "unsigned long" if __x86_64__ is defined.
18859 (user): Likewise. Pad after pointer field if __ILP32__ is
18860 defined.
18861
4e124ced
JM
188622012-05-16 Joseph Myers <joseph@codesourcery.com>
18863
6a3951a0
JM
18864 * configure.in (makeinfo): Require version 4.5 or later. Allow
18865 versions 5 to 9.
18866 * configure: Regenerated.
18867 * manual/install.texi (texinfo): Increase version requirement to
18868 4.5 or later.
18869 * INSTALL: Regenerated.
18870
4e124ced
JM
18871 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18872
953ca31a
L
188732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18874
18875 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18876
617aca05
L
18877 * sysdeps/x86_64/x32/ffs.c: New file.
18878
5762f7ae
L
18879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18880 __syscall_ulong_t.
18881 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18882 defined. Use __syscall_ulong_t.
18883 (shminfo): Use __syscall_ulong_t.
18884 (shm_info): Likewise.
18885
a26b6856
L
18886 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18887 __syscall_ulong_t.
18888
cb2b9ef7
L
18889 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18890 <bits/wordsize.h>.
18891 (msgqnum_t): Use __syscall_ulong_t.
18892 (msglen_t): Likewise.
18893 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18894 __syscall_ulong_t.
18895
34683bb0
L
18896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18897 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18898
84a68786
L
18899 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18900
48baa5f1
L
18901 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18902 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18903
180be88b
L
18904 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18905 __syscall_slong_t.
18906
5e90c8ad
L
18907 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18908 include <bits/wordsize.h>. Check __x86_64__ instead of
18909 __WORDSIZE.
18910
23dfb58b
L
18911 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18912 "unsigned long long int" if __x86_64__ is defined.
18913 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18914
ce5d54b0
L
18915 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18917 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18918
13dc9eac
L
18919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18920 <stdint.h>.
18921 (GET_PC): Cast to uintptr_t first.
18922 (GET_FRAME): Likewise.
18923 (GET_STACK): Likewise.
18924
a7895d15
L
18925 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18929 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18931 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18933 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18934 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18936 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18940 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18944 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18952 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18954
656416c9
AS
189552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18956
5bd66283
AS
18957 * Makerules (+depfiles): Also collect depfiles from .oS in
18958 $(extra-objs).
18959 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18960 .oS, $(libnldbl-routines)).
18961
656416c9
AS
18962 * Makerules (native-compile-mkdep-flags): Define.
18963 * sunrpc/Makefile (extra-objs): Add $(addprefix
18964 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18965 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18966 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18967 calling $(make-target-directory).
18968
a46f2169
L
189692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * bits/types.h (__snseconds_t): Removed.
18972 * time/time.h (struct timespec): Replace __snseconds_t with
18973 __syscall_slong_t.
18974 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18975 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18976 Likewise.
18977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18978 (__SNSECONDS_T_TYPE): Likewise.
18979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18980 (__SNSECONDS_T_TYPE): Likewise.
18981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18982 (__SNSECONDS_T_TYPE): Likewise.
18983
6af6528b
L
189842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 * sysdeps/mach/hurd/bits/typesizes.h
18987 (__SYSCALL_SLONG_TYPE): New macro.
18988 (__SYSCALL_ULONG_TYPE): Likewise.
18989
de986b56
L
189902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18991
18992 * bits/types.h (__syscall_slong_t): New type.
18993 (__syscall_ulong_t): Likewise.
18994
18995 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18996 (__SYSCALL_ULONG_TYPE): Likewise.
18997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18998 (__SYSCALL_SLONG_TYPE): Likewise.
18999 (__SYSCALL_ULONG_TYPE): Likewise.
19000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19001 (__SYSCALL_SLONG_TYPE): Likewise.
19002 (__SYSCALL_ULONG_TYPE): Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19004 (__SYSCALL_SLONG_TYPE): Likewise.
19005 (__SYSCALL_ULONG_TYPE): Likewise.
19006
85736dc7
L
190072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19008
19009 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19010 Add sigaltstack-offsets.sym.
19011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19012 <sigaltstack-offsets.h>.
19013 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19014 longjmp_msg pointer.
19015 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19016 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19017 signal stack.
19018 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19019
cc03b296
JM
190202012-05-15 Joseph Myers <joseph@codesourcery.com>
19021
a9538892
JM
19022 * elf/stackguard-macros.h: Remove file.
19023 * sysdeps/generic/stackguard-macros.h: New file.
19024 * sysdeps/i386/stackguard-macros.h: Likewise.
19025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19031 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19032 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19033 <elf/stackguard-macros.h>.
19034
cc03b296
JM
19035 [BZ #14109]
19036 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19037 __aligned__ in attribute.
19038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19039 (gregset_t): Likewise.
19040
93171016
L
190412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19044 * sysdeps/x86_64/64/Implies-after: Here. New file.
19045 * sysdeps/x86_64/x32/Implies-after: New file.
19046
d86813a0
L
190472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19050 and access return value for _dl_profile_fixup. Use R10_LP to
19051 load frame size.
19052
2953ec75
L
190532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19056
3b550e9e
L
190572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19058
19059 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19060 * sysdeps/x86_64/x32/sysdep.h: New file.
19061
eda41706
L
190622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19063
19064 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19065 * sysdeps/x86_64/setjmp.S: Likewise.
19066
9ea01d93
AZ
190672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19068
19069 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19071 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19073 remove unused global constant.
19074
02a91938
CM
190752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19076
19077 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19078 include of <not-cancel.h>.
19079
6540185f
RM
190802012-05-15 Roland McGrath <roland@hack.frob.com>
19081
19082 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19083
509072a0
AJ
190842012-05-15 Jeff Law <law@redhat.com>
19085 Andreas Jaeger <aj@suse.de>
19086
19087 [BZ #13594]
19088 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19089 out from...
19090 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19091 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19092 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19093 code changing __hst_map_handle.map.
19094
ba75122d
RM
190952012-05-15 Roland McGrath <roland@hack.frob.com>
19096
19097 * configure.in (sysnames): Look for Implies-before and Implies-after
19098 files.
19099 * configure: Regenerated.
19100
890d8bd8
L
191012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19102
19103 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19104 8-byte data alignment with LP_SIZE alignment.
19105
f6ee6623
L
191062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19109 into R10_LP.
19110
ea2626f6
L
191112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19112
19113 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19114
085f715e
L
191152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19118 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19120 Likewise.
19121 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19122
be8498fc
L
191232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19124
19125 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19126 (stackinfo_sub_sp): Likewise.
19127
70bc83b9
L
191282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19129
19130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19131 RAX_LP.
19132
9bc0b730
L
191332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19134
19135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19136 into R*_LP.
19137
6d2850e7
L
191382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19139
19140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19141 sizes into R*_LP.
19142
3cb84561
L
191432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19146
54e2ed81
L
191472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19148
19149 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19150 into R11_LP and load __x86_64_shared_cache_size_half into
19151 R8_LP.
19152
8a17f349
L
191532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19154
19155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19156 R8_LP.
19157
777b1eea
AZ
191582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19159
19160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19161 logb for POWER7.
19162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19163 logbf for POWER7.
19164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19165 logbl for POWER7.
19166 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19167 powerpc32/power7/fpu/s_logb.c via #include.
19168 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19169 powerpc32/power7/fpu/s_logbf.c via #include.
19170 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19171 powerpc32/power7/fpu/s_logbl.c via #include.
19172
d20d4ac2
JM
191732012-05-15 Joseph Myers <joseph@codesourcery.com>
19174
19175 * README.libm: Remove file.
19176
6cdef1ab
L
191772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19178
19179 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19180 count for x32. Use R*_LP and omit operand-size suffix.
19181
0b254d8f
L
191822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19183
19184 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19185 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19186 * sysdeps/x86_64/x32/shlib-versions: New file.
19187
ceb809dc
RM
191882012-05-14 Roland McGrath <roland@hack.frob.com>
19189
19190 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19191 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19192 Use _dl_fatal_printf instead.
19193
37f1abd4
JM
191942012-05-14 Joseph Myers <joseph@codesourcery.com>
19195
19196 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19197 set if not set by the user. Do not allow for being unset.
19198 * sysdeps/unix/sysv/linux/configure: Regenerated.
19199
11de3a33
L
192002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19201
19202 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19203 the `q' suffix from lea and replace .quad with ASM_ADDR.
19204
e02f153a
L
192052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19206
19207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19208 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19209 instead of $17.
19210 (PTR_DEMANGLE): Likewise.
19211
520ae0fd
L
192122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19215 (LP_OP): Likewise.
19216 (ASM_ADDR): Likewise.
19217 (RAX_LP): Likewise.
19218 (RBP_LP): Likewise.
19219 (RBX_LP): Likewise.
19220 (RCX_LP): Likewise.
19221 (RDI_LP): Likewise.
19222 (RSI_LP): Likewise.
19223 (RSP_LP): Likewise.
19224 (R8_LP): Likewise.
19225 (R9_LP): Likewise.
19226 (R10_LP): Likewise.
19227 (R10_LP): Likewise.
19228 (R11_LP): Likewise.
19229 (R12_LP): Likewise.
19230 (R13_LP): Likewise.
19231 (R14_LP): Likewise.
19232 (R15_LP): Likewise.
19233
b985be81
L
192342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/x86_64/x32/dl-machine.h: New file.
19237
6a4888ff
AJ
192382012-05-14 Andreas Jaeger <aj@suse.de>
19239
19240 * manual/Makefile (subdir): Remove export of subdir.
19241 (all): Remove target.
19242 (.PHONY): Remove all from list.
19243 (mkinstalldirs): Remove.
19244 (.PHONY): Remove installdirs from list.
19245 ($(inst_infodir)/libc.info): Use make-target-directory.
19246 (installdirs): Remove.
19247 (subdir_%): Remove.
19248 (glibc-targets): Remove.
19249 (lib): Remove.
19250 (stubs): Remove.
19251 ($(objpfx)stubs ../po/manual.pot): Remove.
19252 ($(objpfx)stamp%): Remove.
19253 (make-target-directory): Remove.
19254 (subdir_install): Remove.
19255 (routines): Remove.
19256 (aux): Remove.
19257 (sources): Remove.
19258 (objects): Remove.
19259 (headers): Remove.
19260
19261 [BZ #13750]
19262 * manual/.gitignore: Remove, it's not needed anymore.
19263 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19264 all files in it.
19265 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19266 directory.
19267 (texis): Renamed to $(objpfx)texis.
19268 (texis-path): New, contains path to generated files.
19269 (chapters.%): Use texis-path for complete path, add extra argument
19270 libc-texinfo.sh.
19271 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19272 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19273 (summary,texi, stamp-summary): Use complete path of
19274 files. Generate files in build dir.
19275 (dir-add.texi): Build in build dir.
19276 (libm-err.texi,stamp-libm-err): Likewise.
19277 (version.texi, stamp-version): Likewise.
19278 (.%c.texi): Likewise.
19279 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19280 (mostlyclean): Remove target.
19281 (realclean): Remove target.
19282 (generated): Add new variable with contents from mostlyclean and
19283 realclean, remove entries duplicated in common-mostlyclean, add
19284 stamp-libm-err and stamp-version.
19285 (generated-dirs): Add libc directory.
19286 ($(inst_infodir)/libc.info): Install files from build dir.
19287
19288 * manual/install.texi (Configuring and compiling): Adjust since
19289 the info files are not part of the tar ball anymore.
19290
7ac77294
AJ
192912012-05-14 Andreas Jaeger <aj@suse.de>
19292
19293 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19294 variable.
19295
ffb7875d
JM
192962012-05-14 Joseph Myers <joseph@codesourcery.com>
19297
19298 [BZ #13717]
19299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19300 to 2.2.0 where earlier.
19301 * sysdeps/unix/sysv/linux/configure: Regenerated.
19302 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19303 Remove conditional code.
19304 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19305 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19306 Remove conditional code.
19307 [!__NR_lchown]: Likewise.
19308 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19309 [__NR_lchown]: Likewise.
19310 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19311 comment referencing __ASSUME_LCHOWN_SYSCALL.
19312 * sysdeps/unix/sysv/linux/i386/sigaction.c
19313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19315 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19316 Remove conditional code.
19317 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19318 (__protocol_available): Remove #if 0 code.
19319 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19320 conditional code.
19321 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19322 * sysdeps/unix/sysv/linux/kernel-features.h
19323 (__ASSUME_GETCWD_SYSCALL): Don't define.
19324 (__ASSUME_REALTIME_SIGNALS): Likewise.
19325 (__ASSUME_PREAD_SYSCALL): Likewise.
19326 (__ASSUME_PWRITE_SYSCALL): Likewise.
19327 (__ASSUME_POLL_SYSCALL): Likewise.
19328 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19329 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19330 non-SPARC.
19331 (__ASSUME_SIOCGIFNAME): Don't define.
19332 (__ASSUME_MSG_NOSIGNAL): Likewise.
19333 (__ASSUME_SENDFILE): Define unconditionally.
19334 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19335 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19336 conditional code.
19337 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19339 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19340 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19342 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19343 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19348 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19372 Remove conditional code.
19373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19375 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19376 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19377 Remove conditional code.
19378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19379 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19380 Remove conditional code.
19381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19382 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19383 Remove conditional code.
19384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19385 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19386 Remove conditional code.
19387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19388 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19389 Remove conditional code.
19390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19391 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19394 * sysdeps/unix/sysv/linux/sigaction.c
19395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19397 * sysdeps/unix/sysv/linux/sigpending.c
19398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19400 * sysdeps/unix/sysv/linux/sigprocmask.c
19401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19403 * sysdeps/unix/sysv/linux/sigsuspend.c
19404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19407 (__libc_missing_rt_sigs): Remove.
19408 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19409 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19410 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19411 Remove conditional code.
19412 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19413 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19414 return 1.
19415 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19416 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19417 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19418 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19419
1bfb7291
AJ
194202012-05-14 Andreas Jaeger <aj@suse.de>
19421
caae5a81
AJ
19422 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19423 it's not used in glibc.
19424 (__coshm1): Likewise.
19425 (__acosh1p): Likewise.
19426 (__sgn): Likewise.
19427
1bfb7291
AJ
19428 * manual/string.texi (Copying and Concatenation): Add missing
19429 variable in concat example.
19430 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19431
c044d724
L
194322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19433
144c5467 19434 [BZ #14103]
c044d724
L
19435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19436 __builtin_clzl with __builtin_clzll.
19437
2523c62b
L
194382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19439
19440 [BZ #14104]
19441 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19442 libc_freeres_ptr.
19443
d7bb4c42
LD
194442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19445
19446 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19447 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19448 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19449 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19450
9dc4e1fb
MF
194512012-05-14 Mike Frysinger <vapier@gentoo.org>
19452
19453 * NEWS: Update ia64 info.
19454
c7df0112
AS
194552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19456
19457 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19458 used as bcopy.
19459
dc70356c
TS
194602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19461
19462 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19463 * sysdeps/unix/syscalls.list (dup3): Likewise.
19464 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19465 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19466
9fb1a21f
L
194672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19470 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19471
4822a2a5
L
194722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19473
19474 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19475 thread pointer.
19476 (TLS_IE): Use mov/add instead of movq/addq to load thread
19477 pointer.
19478 (TLS_GD_PREFIX): New.
19479 (TLS_GD): Use it.
19480
842b81d6
DM
194812012-05-11 David S. Miller <davem@davemloft.net>
19482
19483 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19484 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19485 (_FPU_SETCW): Likewise.
19486
1cf463cd
L
194872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19490 is 32-byte aligned.
19491
60cc4a18
AS
194922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19493
19494 [BZ #11837]
19495 * iconvdata/gb18030.c: Update tables.
19496 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19497 characters specially.
19498 (BODY for TO_LOOP): Add encoding of missing ranges.
19499
febb44a4
TS
195002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19501
19502 [BZ #13673]
19503 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19504 * sysdeps/mach/hurd/dup3.c: Likewise.
19505 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19506 * sysdeps/powerpc/memmove.c:: Likewise.
19507
0a10fb9e
L
195082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19509
19510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19511 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19512
df8a552f
L
195132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * elf/elf.h (R_X86_64_RELATIVE64): New.
19516 (R_X86_64_NUM): Updated.
19517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19518 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19519 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19520 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19521 tst-quad1pie tst-quad2pie
19522 (modules-names): Add tst-quadmod1 tst-quadmod2.
19523 ($(objpfx)tst-quad1): New dependency.
19524 ($(objpfx)tst-quad2): Likewise.
19525 ($(objpfx)tst-quad1pie): Likewise.
19526 ($(objpfx)tst-quad2pie): Likewise.
19527 * sysdeps/x86_64/tst-quad1.c: New file.
19528 * sysdeps/x86_64/tst-quad1pie.c: New file.
19529 * sysdeps/x86_64/tst-quad2.c: Likewise.
19530 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19531 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19532 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19533 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19534 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19535
f34d6f84
ST
195362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19537
f42d41d1
ST
19538 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19539 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19540 * streams/stropts.h (t_scalar_t): Define type.
19541
3c3571fc
ST
19542 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19543 (_PATH_PRESERVE): Set to "/var/lib".
19544 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19545
61f06bd3
ST
19546 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19547 instead of int.
19548
918d4d71
ST
19549 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19550 if __dir_mkfile succeeded.
19551
f34d6f84
ST
19552 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19553 checking for _hurd_dtablesize. Unlock it right after having
19554 finished _hurd_dtable allocation.
19555
10589b4a
TS
195562012-05-10 Thomas Schwinge <thomas@schwinge.name>
19557
674cdbc7
TS
19558 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19559 * sysdeps/mach/hurd/configure: Regenerated.
19560 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19561 special-casing to...
19562 * sysdeps/gnu/configure.in: ... this new file.
19563 * sysdeps/unix/sysv/linux/configure: Regenerated.
19564 * sysdeps/gnu/configure: New generated file.
19565
8e41b99f
TS
19566 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19567 for Linux: use nsec instead of usec, as well as:
19568 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19569 members of type struct timespec.
19570 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19571 New macros.
19572 (struct stat64): Likewise.
19573 (_STATBUF_ST_NSEC): New macro.
19574 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19575
10589b4a
TS
19576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19577 __strtoul_internal rather than strtoul.
19578
63643c85
PT
195792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19580
19581 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19582 and reject them.
19583
3faebe6a
ST
195842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19585
19586 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19587 which preserves existing values.
19588 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19589
c6474b07
PT
195902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19591
19592 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19593 TIMEOUT values. Return EINVAL for NFDS values either negative or
19594 greater than FD_SETSIZE.
19595
1043890b
ST
195962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19597
19598 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19599 allocated, call __vm_protect to finish enabling the existing space, and
19600 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19601 allocate the remainder.
19602
37ed8b9b
PT
196032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19604
19605 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19606 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19607
db653660
ST
196082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19609
37ed8b9b
PT
19610 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19611 sysdeps/mach/hurd/readlink.c.
b29d4053 19612
db653660
ST
19613 * posix/tst-sysconf.c (posix_options): Only use
19614 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19615 _POSIX_SYNCHRONIZED_IO when they are defined
19616 * sysdeps/mach/hurd/bits/posix_opt.h:
19617 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19618 (_XOPEN_REALTIME): Undefine macro.
19619 (_XOPEN_REALTIME_THREADS): Undefine macro.
19620 (_XOPEN_SHM): Undefine macro.
19621 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19622 macro to -1.
19623 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19624 macro to -1.
19625 (_POSIX_ASYNC_IO): Undefine macro.
19626 (_POSIX_PRIORITIZED_IO): Undefine macro.
19627 (_POSIX_SPIN_LOCKS): Define macro to -1.
19628
ee16e894
ST
19629 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19630 SA_NODEFER, SA_RESETHAND.
19631 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19632 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19633 F_DUPFD_CLOEXEC.
19634
6103ae3b
TS
196352012-05-10 Thomas Schwinge <thomas@schwinge.name>
19636
19637 * elf/Makefile (pldd-modules): Define unconditionally.
19638
80b4e5f3
TS
196392012-05-10 Thomas Schwinge <thomas@schwinge.name>
19640
19641 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19642
edadcbd6
ST
196432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19644
19645 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19646 Return ENOENT when name is empty.
19647 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19648
80694780
TS
196492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19650
1792c087
TS
19651 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19652
80694780
TS
19653 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19654
6b645f0d
ST
196552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19656
80694780
TS
19657 Fix mlock in all cases except non-readable pages.
19658 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19659 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19660
6b645f0d
ST
19661 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19662 (__mkdir): When path is `/', just fail with EEXIST.
19663 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19664
e468f8a3
TS
196652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19666
19667 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19668 <sys/uio.h> (for writev).
19669 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19670 and <sys/param.h> (for MIN).
19671
a4186cff
PT
196722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19673
19674 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19675 REQUESTED_TIME. Properly set the remaining time and return EINTR
19676 if interrupted.
19677
510bbf14
TS
196782012-05-10 Thomas Schwinge <thomas@schwinge.name>
19679
19680 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19681 Depend on against $(link-rpcuserlibs).
19682
5d5722e8
ST
196832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19684
a4186cff
PT
19685 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19686 (__libc_stack_end): Do not use attribute_relro.
19687 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19688 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19689 to libthread-provided value.
a4186cff
PT
19690 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19691 attribute_relro.
5d5722e8 19692
37233df9
TS
196932012-05-10 Thomas Schwinge <thomas@schwinge.name>
19694
be971a2b
TS
19695 [BZ #3748]
19696 * bits/libc-lock.h (__libc_once_get): New macro.
19697 * sysdeps/mach/bits/libc-lock.h: Likewise.
19698 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19700 instead of using implementation details.
19701
37233df9
TS
19702 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19703 * libio/freopen.c: Likewise.
19704 * libio/freopen64.c: Likewise.
19705 * misc/syslog.c: Likewise.
19706 * nscd/connections.c: Likewise.
19707 * nscd/netgroupcache.c: Likewise.
19708 * sysdeps/posix/getcwd.c: Likewise.
19709
38de94a5
RM
197102012-05-10 Roland McGrath <roland@hack.frob.com>
19711
19712 * math/w_ilogbf.c: Add #include <limits.h>.
19713
67530489
ST
197142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19715
a4186cff 19716 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19717 path instead of returning without unlocking.
19718
67530489
ST
19719 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19720 immediate-write ioctls.
19721 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19722
5aa3a74a
TS
197232012-05-10 Thomas Schwinge <thomas@schwinge.name>
19724
18bad2ae
TS
19725 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19726 __builtin_frame_address instead of making assumptions about the
19727 location of the return address relative to DATA. Force early load of
19728 the return address.
19729 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19730 __builtin_frame_address.
19731
5aa3a74a
TS
19732 dup3 for GNU Hurd.
19733 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19734 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19735 implement dup3 and do some further code clean-ups.
19736 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19737 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19738
ecd0de9a
ST
197392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19740
cd9fa985
ST
19741 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19742
a4186cff
PT
19743 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19744 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19745 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19746 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19747 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19748 d->port.lock.
802ca5a5 19749
a4186cff
PT
19750 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19751 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19752 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19753
bcf55240
TS
197542012-05-10 Thomas Schwinge <thomas@schwinge.name>
19755
6960eb42
TS
19756 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19757 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19758 definitions.
19759
eb43375f
TS
19760 accept4 for GNU Hurd.
19761 * include/sys/socket.h (__libc_accept4): New prototype.
19762 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19763 to implement __libc_accept4.
19764 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19765 __libc_accept4.
19766 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19767
bcf55240
TS
19768 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19769 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19770 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19771 signal-defines.sym.
19772
6178c55b
ST
197732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19774
a4186cff 19775 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19776
6f080c2f
TS
197772012-05-10 Thomas Schwinge <thomas@schwinge.name>
19778
19779 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19780 assertion on O_CLOEXEC flag.
19781 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19782 * hurd/intern-fd.c: Likewise.
19783 * hurd/port2fd.c: Likewise.
19784
bcfe3a54
ST
197852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19786
19787 [BZ #3906]
19788 * bits/in.h (IPV6_PKTINFO): Define new macro.
19789 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19790
89c9aa49
AZ
197912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19792
19793 [BZ #13954]
19794 [BZ #13955]
19795 [BZ #13956]
19796 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19798 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19799 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19801 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19802 * math/libm-test.inc (logb_test) : Additional logb tests.
19803
021db4be
AJ
198042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19805 Andreas Jaeger <aj@suse.de>
19806
19807 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19808 * configure: Regenerated.
19809 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19810 * config.make.in (link-obsolete-rpc): New substituted variable.
19811 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19812 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19813 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19814 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19815 so that libc.a contains the symbols.
19816 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19817 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19818 * sunrpc/auth_none.c: Likewise.
19819 * sunrpc/auth_unix.c: Likewise.
19820 * sunrpc/authdes_prot.c: Likewise.
19821 * sunrpc/authuxprot.c: Likewise.
19822 * sunrpc/clnt_gen.c: Likewise.
19823 * sunrpc/clnt_perr.c: Likewise.
19824 * sunrpc/clnt_raw.c: Likewise.
19825 * sunrpc/clnt_simp.c: Likewise.
19826 * sunrpc/clnt_tcp.c: Likewise.
19827 * sunrpc/clnt_udp.c: Likewise.
19828 * sunrpc/clnt_unix.c: Likewise.
19829 * sunrpc/des_crypt.c: Likewise.
19830 * sunrpc/des_soft.c: Likewise.
19831 * sunrpc/get_myaddr.c: Likewise.
19832 * sunrpc/key_call.c: Likewise.
19833 * sunrpc/key_prot.c: Likewise.
19834 * sunrpc/netname.c: Likewise.
19835 * sunrpc/pm_getmaps.c: Likewise.
19836 * sunrpc/pm_getport.c: Likewise.
19837 * sunrpc/pmap_clnt.c: Likewise.
19838 * sunrpc/pmap_prot.c: Likewise.
19839 * sunrpc/pmap_prot2.c: Likewise.
19840 * sunrpc/pmap_rmt.c: Likewise.
19841 * sunrpc/publickey.c: Likewise.
19842 * sunrpc/rpc_cmsg.c: Likewise.
19843 * sunrpc/rpc_common.c: Likewise.
19844 * sunrpc/rpc_dtable.c: Likewise.
19845 * sunrpc/rpc_prot.c: Likewise.
19846 * sunrpc/rpc_thread.c: Likewise.
19847 * sunrpc/rtime.c: Likewise.
19848 * sunrpc/svc.c: Likewise.
19849 * sunrpc/svc_auth.c: Likewise.
19850 * sunrpc/svc_raw.c: Likewise.
19851 * sunrpc/svc_run.c: Likewise.
19852 * sunrpc/svc_tcp.c: Likewise.
19853 * sunrpc/svc_udp.c: Likewise.
19854 * sunrpc/svc_unix.c: Likewise.
19855 * sunrpc/svcauth_des.c: Likewise.
19856 * sunrpc/xcrypt.c: Likewise.
19857 * sunrpc/xdr.c: Likewise.
19858 * sunrpc/xdr_array.c: Likewise.
19859 * sunrpc/xdr_float.c: Likewise.
19860 * sunrpc/xdr_intXX_t.c: Likewise.
19861 * sunrpc/xdr_mem.c: Likewise.
19862 * sunrpc/xdr_rec.c: Likewise.
19863 * sunrpc/xdr_ref.c: Likewise.
19864 * sunrpc/xdr_sizeof.c: Likewise.
19865 * sunrpc/xdr_stdio.c: Likewise.
19866
b5c086a2
RM
198672012-05-10 Roland McGrath <roland@hack.frob.com>
19868
19869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19870 change. Update copyright years.
19871
6d74dd09
JM
198722012-05-10 Joseph Myers <joseph@codesourcery.com>
19873
19874 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19875
28e72501
MK
198762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19877 Joseph Myers <joseph@codesourcery.com>
19878 Paul Pluzhnikov <ppluzhnikov@google.com>
19879
19880 [BZ #14012]
19881 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19882 requiring rpcgen.
19883 [cross-compiling] (extra-libs): Likewise.
19884 [cross-compiling] (extra-libs-others): Likewise.
19885 [cross-compiling] (librpcsvc-routines): Likewise.
19886 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19887 [cross-compiling] (omit-deps): Likewise.
19888 (sunrpc-CPPFLAGS): New variable.
19889 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19890 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19891 (cross-rpcgen-objs): New variable.
19892 (extra-objs): Append $(cross-rpcgen-objs).
19893 ($(cross-rpcgen-objs)): New rule.
19894 ($(objpfx)cross-rpcgen): Likewise.
19895 (rpcgen-cmd): Define to use $(built-program-file). Expand
19896 comment.
19897 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19898 ($(objpfx)x%.stmp): Likewise.
19899 * sunrpc/proto.h [IS_IN_build] (_): Define.
19900 [IS_IN_build] (_libc_intl_domainname): Likewise.
19901
c8c59454
L
199022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19903
19904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19905 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19906 and R_X86_64_TPOFF64.
19907
6f27cd16
JM
199082012-05-10 Joseph Myers <joseph@codesourcery.com>
19909
19910 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19911 sysdeps/unix/sysv/syscalls.list.
19912 (stime): Likewise.
19913 (utime): Likewise.
19914 * sysdeps/unix/sysv/syscalls.list: Remove file.
19915
02467e1c
PE
199162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19917
19918 [BZ #3440]
19919 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19920 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19921 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19922 (__LC_IDENTIFICATION): Make these macros useful in #if
19923 expressions, as required by C99.
19924
da392631
AS
199252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19926
19927 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19928 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19929 after this.
19930
8115f29b
L
199312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19932
19933 * stdlib/longlong.h: Updated from GCC.
19934
bdd74070
AJ
199352012-05-09 Andreas Jaeger <aj@suse.de>
19936
edfe0dbe
AJ
19937 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19938 default is first entry.
19939 (run_mode): Set type.
19940 (main): Remove informal message about syslog.
19941 (options): Fix typo.
19942
bcfe3a54
ST
19943 [BZ #14053]
19944 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19945 to asm.
bcfe3a54
ST
19946 (lrint): Likewise.
19947 (llrintf): Likewise.
19948 (llrint): Likewise.
19949 (rint): Likewise.
19950 (rintf): Likewise.
19951 (nearbyint): Likewise.
19952 (nearbyintf): Likewise.
bdd74070 19953
91d8d69e
AJ
199542012-05-09 Andreas Jaeger <aj@suse.de>
19955 Pedro Alves <palves@redhat.com>
19956
19957 * nscd/nscd.c (run_mode): Use enum.
19958 (main): Cleanup coding style issue.
19959
bb90b80b
AJ
199602012-05-09 Alexandre Oliva <aoliva@redhat.com>
19961 Andreas Jaeger <aj@suse.de>
19962
bcfe3a54
ST
19963 * nscd/nscd.c (go_background): Replaced with...
19964 (run_mode): ... this.
bb90b80b 19965 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19966 (options): Add -F --foreground.
19967 (main): Implement it.
19968 (parse_opt): Parse it.
bb90b80b 19969
1a4b75a1
AJ
199702012-05-09 Andreas Jaeger <aj@suse.de>
19971
19972 [BZ #14083]
19973 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19974 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19975 -Wconversion warning.
19976 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19977 Likewise.
19978
b1cc2472
JM
199792012-05-09 Joseph Myers <joseph@codesourcery.com>
19980
19981 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19982 == 0.
19983 (LC_ALL): Use macro-int-constant.
19984 (LC_COLLATE): Likewise.
19985 (LC_CTYPE): Likewise.
19986 (LC_MESSAGES): Likewise.
19987 (LC_MONETARY): Likewise.
19988 (LC_NUMERIC): Likewise.
19989 (LC_TIME): Likewise.
19990 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19991 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19993 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19994 Specify type.
19995 [C99-based standards] (float_t): Expect type.
19996 [C99-based standards] (double_t): Expect type.
19997 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19998 type.
19999 [C99-based standards] (HUGE_VALL): Likewise.
20000 [C99-based standards] (INFINITY): Likewise.
20001 [C99-based standards] (NAN): Likewise.
20002 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20003 [C99-based standards] (FP_NAN): Likewise.
20004 [C99-based standards] (FP_NORMAL): Likewise.
20005 [C99-based standards] (FP_SUBNORMAL): Likewise.
20006 [C99-based standards] (FP_ZERO): Likewise.
20007 [C99-based standards] (FP_FAST_FMA): Use
20008 optional-macro-int-constant. Specify type. Require == 1.
20009 [C99-based standards] (FP_FAST_FMAF): Likewise.
20010 [C99-based standards] (FP_FAST_FMAL): Likewise.
20011 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20012 [C99-based standards] (FP_ILOGBNAN): Likewise.
20013 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20014 Specify type.
20015 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20016 [C99-based standards] (math_errhandling): Specify type.
20017 [ISO99 || ISO11] (signgam): Do not allow.
20018 [non-C99-based standards] (copysignf): Do not allow.
20019 [non-C99-based standards] (exp2f): Likewise.
20020 [non-C99-based standards] (log2f): Likewise.
20021 [non-C99-based standards] (modff): Allow.
20022 [non-C99-based standards] (erff): Do not allow.
20023 [non-C99-based standards] (erfcf): Likewise.
20024 [non-C99-based standards] (gammaf): Likewise.
20025 [non-C99-based standards] (hypotf): Likewise.
20026 [non-C99-based standards] (j0f): Likewise.
20027 [non-C99-based standards] (j1f): Likewise.
20028 [non-C99-based standards] (jnf): Likewise.
20029 [non-C99-based standards] (lgammaf): Likewise.
20030 [non-C99-based standards] (tgammaf): Likewise.
20031 [non-C99-based standards] (y0f): Likewise.
20032 [non-C99-based standards] (y1f): Likewise.
20033 [non-C99-based standards] (ynf): Likewise.
20034 [non-C99-based standards] (isnanf): Likewise.
20035 [non-C99-based standards] (acoshf): Likewise.
20036 [non-C99-based standards] (asinhf): Likewise.
20037 [non-C99-based standards] (atanhf): Likewise.
20038 [non-C99-based standards] (cbrtf): Likewise.
20039 [non-C99-based standards] (expm1f): Likewise.
20040 [non-C99-based standards] (ilogbf): Likewise.
20041 [non-C99-based standards] (log1pf): Likewise.
20042 [non-C99-based standards] (logbf): Likewise.
20043 [non-C99-based standards] (nextafterf): Likewise.
20044 [non-C99-based standards] (remainderf): Likewise.
20045 [non-C99-based standards] (rintf): Likewise.
20046 [non-C99-based standards] (scalbf): Likewise.
20047 [non-C99-based standards] (copysignl): Likewise.
20048 [non-C99-based standards] (exp2l): Likewise.
20049 [non-C99-based standards] (log2l): Likewise.
20050 [non-C99-based standards] (modfl): Allow.
20051 [non-C99-based standards] (erfl): Do not allow.
20052 [non-C99-based standards] (erfcl): Likewise.
20053 [non-C99-based standards] (gammal): Likewise.
20054 [non-C99-based standards] (hypotl): Likewise.
20055 [non-C99-based standards] (j0l): Likewise.
20056 [non-C99-based standards] (j1l): Likewise.
20057 [non-C99-based standards] (jnl): Likewise.
20058 [non-C99-based standards] (lgammal): Likewise.
20059 [non-C99-based standards] (tgammal): Likewise.
20060 [non-C99-based standards] (y0l): Likewise.
20061 [non-C99-based standards] (y1l): Likewise.
20062 [non-C99-based standards] (ynl): Likewise.
20063 [non-C99-based standards] (isnanl): Likewise.
20064 [non-C99-based standards] (acoshl): Likewise.
20065 [non-C99-based standards] (asinhl): Likewise.
20066 [non-C99-based standards] (atanhl): Likewise.
20067 [non-C99-based standards] (cbrtl): Likewise.
20068 [non-C99-based standards] (expm1l): Likewise.
20069 [non-C99-based standards] (ilogbl): Likewise.
20070 [non-C99-based standards] (log1pl): Likewise.
20071 [non-C99-based standards] (logbl): Likewise.
20072 [non-C99-based standards] (nextafterl): Likewise.
20073 [non-C99-based standards] (remainderl): Likewise.
20074 [non-C99-based standards] (rintl): Likewise.
20075 [non-C99-based standards] (scalbl): Likewise.
20076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20077 [non-C99-based standards] (FP_*): Do not allow.
20078 [C99-based standards] (FP_*): Change to
20079 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20080 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20081 allow.
20082 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20083 (SIG_ERR): Likewise.
20084 [X/Open-based standards] (SIG_HOLD): Likewise.
20085 (SIG_IGN): Likewise.
20086 (SIGABRT): Use macro-int-constant. Specify type. Require
20087 positive value.
20088 (SIGFPE): Likewise.
20089 (SIGILL): Likewise.
20090 (SIGINT): Likewise.
20091 (SIGSEGV): Likewise.
20092 (SIGTER): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20111 [X/Open-based standards] (SIGTRAP): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20113 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20114 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20115 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20116 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20117 allow.
20118
b9f1922d
IW
201192012-05-08 Ian Wienand <ianw@vmware.com>
20120
20121 [BZ #14080]
20122 * time/tzset.c (__tzset_parse_tz): Update default rules for
20123 daylight time changes in the Energy Policy Act of 2005.
20124
1db86e88
AJ
201252012-05-09 Andreas Jaeger <aj@suse.de>
20126
20127 [BZ #13983]
20128 * elf/ldconfig.c (parse_conf): Change string to make clear that
20129 ldconfig only issued a warning if ld.so.conf does not exist.
20130
dee4a4e3
DM
201312012-05-08 David S. Miller <davem@davemloft.net>
20132
ee0db190
DM
20133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20134 movxtod instead of popping the value on the stack.
20135
dee4a4e3
DM
20136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20137
6a43ec98
CD
201382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20139
20140 * config.h.in: Add HAVE_ARM_PCS_VFP.
20141
05c2c961
RMG
201422012-05-08 Roland Mc Grath <roland@hack.frob.com>
20143
bcfe3a54
ST
20144 [BZ #13979]
20145 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20146 checking but the checks are disabled for any reason.
05c2c961 20147
4b30f61a
L
201482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20151 and ELF64_R_TYPE with ELFW(R_TYPE).
20152
eee2bc67
JM
201532012-05-08 Joseph Myers <joseph@codesourcery.com>
20154
7ea5391a
JM
20155 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20156 (ulimit): Likewise.
20157
eee2bc67
JM
20158 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20159 (settimeofday): Likewise.
20160
abb66a67
MF
201612012-05-08 Mike Frysinger <vapier@gentoo.org>
20162
20163 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20164 a struct th_u2 inside the union, and move tu_block/tu_code into
20165 a new th_u3 union of tu_block/tu_code inside of that. Move
20166 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20167 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20168 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20169 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20170 (th_stuff): Change to th_u1.tu_stuff.
20171 (th_data): Define.
20172 (th_msg): Change to th_u1.th_u2.tu_data.
20173
7f18b530
DM
201742012-05-07 David S. Miller <davem@davemloft.net>
20175
05760585
DM
20176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20177
7f18b530
DM
20178 [BZ #14074]
20179 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20180 (SETUP_PIC_REG): Use it.
20181 (SETUP_PIC_REG_LEAF): Use it.
20182
495fd99f
JM
201832012-05-07 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #13885]
20186 [BZ #13923]
20187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20188 USE_AS_EXPM1L.
20189 (EXPL_FINITE): Likewise.
20190 (FLDLOG): Likewise.
20191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20192 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20193 e_expl.S.
20194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20195 USE_AS_EXPM1L.
20196 (EXPL_FINITE): Likewise.
20197 (FLDLOG): Likewise.
20198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20199 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20200 e_expl.S.
20201 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20202 test of -max_value argument for long double.
20203 * sysdeps/i386/fpu/libm-test-ulps: Update.
20204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20205
6693d694
DM
202062012-05-06 David S. Miller <davem@davemloft.net>
20207
20208 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20209 quad soft-float symbols whose references which are compiler
20210 generated.
20211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20212
6c23e11c
JM
202132012-05-06 Joseph Myers <joseph@codesourcery.com>
20214
d8b82cad
JM
20215 [BZ #13884]
20216 [BZ #13914]
20217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20218 USE_AS_EXP10L.
20219 (EXPL_FINITE): Likewise.
20220 (FLDLOG): Likewise.
20221 (c0): Likewise.
20222 (c1): Likewise.
20223 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20224 Adjust comments for base varying.
20225 (__expl_finite): Change alias to EXPL_FINITE.
20226 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20227 e_expl.S.
20228 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20229 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20231 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20233 USE_AS_EXP10L.
20234 (EXPL_FINITE): Likewise.
20235 (FLDLOG): Likewise.
20236 (c0): Likewise.
20237 (c1): Likewise.
20238 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20239 Adjust comments for base varying.
20240 (__expl_finite): Change alias to EXPL_FINITE.
20241 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20242 tests for bugs.
20243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20244
6c23e11c
JM
20245 [BZ #14064]
20246 * math/libm-test.inc (check_float_internal): Correct ulp
20247 calculation for subnormal expected results.
20248
29ba805c
AJ
202492012-05-06 Andreas Jaeger <aj@suse.de>
20250
20251 * Makeconfig (+math-flags): New, set to -frounding-math.
20252 (+cflags): Add +math-flags so that all of glibc gets compiled with
20253 it.
20254
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20256
7b17aeda
JM
202572012-05-05 Joseph Myers <joseph@codesourcery.com>
20258
5779f134
JM
20259 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20260 Disable one test.
20261
41498f4d
JM
20262 [BZ #13787]
20263 [BZ #13922]
20264 [BZ #14036]
20265 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20266 (__ieee754_expl): Allow for and saturate large arguments.
20267 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20268 (u_threshold): Likewise.
20269 (__exp): Call __ieee754_exp before checking for overflow and
20270 underflow.
20271 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20272 (u_threshold): Likewise.
20273 (__expf): Call __ieee754_expf before checking for overflow and
20274 underflow.
20275 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20276 (u_threshold): Likewise.
20277 (__expl): Call __ieee754_expl before checking for overflow and
20278 underflow.
20279 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20280 (__ieee754_expl): Allow for and saturate large arguments.
20281 * math/libm-test.inc (exp_test): Add another test. Do not allow
20282 missing overflow exception on overflow.
20283 (expm1_test): Do not allow missing overflow exception on overflow.
20284
6698b8bf
JM
20285 * sysdeps/i386/fpu/e_expl.c: Move to ...
20286 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20287 rather than using inline asm.
20288 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20289 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20290 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20291
7b17aeda
JM
20292 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20293 (nice): Likewise.
20294 (poll): Likewise.
20295 (signal): Likewise.
20296 (time): Likewise.
20297 (times): Likewise.
20298
f7c85819
JM
202992012-05-04 Joseph Myers <joseph@codesourcery.com>
20300
20301 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20302 sysdeps/unix/common/syscalls.list.
20303 (fchmod): Likewise.
20304 (fchown): Likewise.
20305 (ftruncate): Likewise.
20306 (getrusage): Likewise.
20307 (gettimeofday): Likewise.
20308 (setpgid): Likewise.
20309 (setregid): Likewise.
20310 (setreuid): Likewise.
20311 (sigaction): Likewise.
20312 (truncate): Likewise.
20313 (vhangup): Likewise.
20314 * sysdeps/unix/common/syscalls.list: Remove file.
20315 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20316 * sysdeps/unix/sysv/linux/Implies: Likewise.
20317
336270d0
L
203182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20319
20320 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20322 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20323 Moved to ...
20324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20325 Here.
20326 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20327 to ...
20328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20329 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20330 to ...
20331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20332 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20333 to ...
20334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20335 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20336 to ...
20337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20338 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20339 to ...
20340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20341 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20342 to ...
20343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20345 to ...
20346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20347 Here.
20348 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20349 to ...
20350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20351 Here.
20352 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20353 to ...
20354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20356 Moved to ...
20357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20358 Here.
20359 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20360 to ...
20361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20362
d128e450
JM
203632012-05-04 Joseph Myers <joseph@codesourcery.com>
20364
fa8ee516
JM
20365 * sysdeps/unix/common/bits/dirent.h: Remove file.
20366 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20367
d128e450
JM
20368 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20369 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20370 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20371 * sysdeps/unix/bsd/isatty.c: Likewise.
20372 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20373 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20374 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20375
ff8faaf0 203762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20377
62881be4 20378 [BZ #13563]
31dc8730
AZ
20379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20380 long double comparison inaccuracies.
20381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20383
6fef930c
AS
203842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20385
20386 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20388
8f203e6c
JM
203892012-05-04 Joseph Myers <joseph@codesourcery.com>
20390
20391 [BZ #14049]
20392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20393 nonzero digits before rounding a hex value.
20394 * stdlib/tst-strtod.c (tests): Add another test.
20395
5197d9c2
AK
203962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20397
20398 * sysdeps/s390/fpu/libm-test-ulps: Update.
20399
f0c1dedf
AJ
204002012-05-03 Andreas Jaeger <aj@suse.de>
20401
20402 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20403 does not get optimized out.
20404 (malloc_opt_barrier): New.
20405
a65ef2ae 204062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20407 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20408
2b942cb7 20409 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20410 intermediate file deletion.
2b942cb7 20411 (generated): Add .symlist files.
a65ef2ae 20412
54b71e02
JM
204132012-05-03 Joseph Myers <joseph@codesourcery.com>
20414
20415 [BZ #13775]
20416 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20417 Redirect under this condition.
20418 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20419 [__USE_GNU] (__dprintf_chk): Not under this condition.
20420 [__USE_GNU] (__vdprintf_chk): Likewise.
20421 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20422 under this condition.
20423 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20424 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20425 [__USE_XOPEN2K8] (vdprintf): Likewise.
20426 [__USE_GNU] (__dprintf_chk): Not under this condition.
20427 [__USE_GNU] (__vdprintf_chk): Likewise.
20428 [__USE_GNU] (dprintf): Likewise.
20429 [__USE_GNU] (vdprintf): Likewise.
20430
d3dfcc41
RM
204312012-05-03 Roland McGrath <roland@hack.frob.com>
20432
20433 * elf/Makefile (common-generated): Set this instead of generated for
20434 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20435 $(all-built-dso)-derived lists.
20436
7ac30cc5
AJ
204372012-05-03 Andreas Jaeger <aj@suse.de>
20438
0c51e550
AJ
20439 * sysdeps/i386/fpu/libm-test-ulps: Update.
20440
7ac30cc5
AJ
20441 * FAQ: Removed.
20442 * FAQ.in: Likewise.
20443 * scripts/gen-FAQ.pl: Likewise.
20444 * manual/install.texi (Installation): Point to online location of
20445 FAQ.
20446 * Makefile (files-for-dist): Remove FAQ.
20447 (FAQ): Remove.
20448
d4c2917f
AM
204492012-05-02 Allan McRae <allan@archlinux.org>
20450
20451 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20452 (LDFLAGS-reldepmod5.so): Likewise.
20453 (LDFLAGS-reldep6mod1.so): Likewise.
20454 (LDFLAGS-reldep6mod4.so): Likewise.
20455 (LDFLAGS-reldep8mod3.so): Likewise.
20456 (LDFLAGS-unload4mod1.so): Likewise.
20457 (LDFLAGS-unload4mod2.so): Likewise.
20458 (LDFLAGS-tst-initorder): Likewise.
20459 (LDFLAGS-tst-initordera2.so): Likewise.
20460 (LDFLAGS-tst-initordera3.so): Likewise.
20461 (LDFLAGS-tst-initordera4.so): Likewise.
20462 (LDFLAGS-tst-initorderb2.so): Likewise.
20463 (LDFLAGS-noload): Likewise.
20464 (LDFLAGS-next): Likewise.
20465 (LDFLAGS-order2mod1.so): Likewise.
20466 (LDFLAGS-order2mod2.so): Likewise.
20467 (LDFLAGS-tst-initorder2): Likewise.
20468 (LDFLAGS-tst-initorder2a.so): Likewise.
20469 (LDFLAGS-tst-initorder2b.so): Likewise.
20470 (LDFLAGS-tst-initorder2c.so): Likewise.
20471 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20472
d77f993f
DM
204732012-05-02 David S. Miller <davem@davemloft.net>
20474
20475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20476
171a70b4
PP
204772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20478
20479 [BZ #14055]
20480 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20481
0be196ad
AJ
204822012-05-02 Andreas Jaeger <aj@suse.de>
20483
20484 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20485 since we manipulate rounding mode.
20486 (CPPFLAGS-test-idouble.c): Likewise.
20487 (CPPFLAGS-test-ifloat.c): Likewise.
20488 (CFLAGS-test-ldouble.c): Likewise.
20489 (CFLAGS-test-double.c): Likewise.
20490 (CFLAGS-test-float.c): Likewise.
20491 (CFLAGS-test-misc.c): Likewise.
20492 (CFLAGS-test-test-fenv.c): Likewise.
20493
4f9d04aa
AZ
204942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20495
2b942cb7
RM
20496 [BZ #2550]
20497 [BZ #2570]
20498 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20499 comparisons to determine direction to adjust input.
4f9d04aa 20500
82a79e7d
RM
205012012-05-01 Roland McGrath <roland@hack.frob.com>
20502
f5a01ca9
RM
20503 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20504 output to the target.
20505
90fe4186
RM
20506 * scripts/localplt.awk: New file.
20507 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20508 (check-localplt-CFLAGS): Variable removed.
20509 ($(all-built-dso:=.jmprel)): New static pattern rule.
20510 (generated): Add those targets.
20511 (localplt-built-dso): New variable.
20512 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20513
20514 * elf/check-localplt.c: File removed.
20515
82397ed6
RM
20516 * scripts/check-execstack.awk: New file.
20517 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20518 (check-execstack-CFLAGS): Variable removed.
20519 ($(objpfx)check-execstack.h): Target removed.
20520 ($(objpfx)execstack-default): New target.
20521 (generated): Add that instead of check-execstack.h.
20522 ($(all-built-dso:=.phdr)): New static pattern rule.
20523 (generated): Add those targets.
20524 * elf/check-execstack.c: File removed.
20525
82a79e7d
RM
20526 * scripts/check-textrel.awk: New file.
20527 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20528 (check-textrel-CFLAGS): Variable removed.
20529 (all-built-dso): Use := to define.o
20530 ($(all-built-dso:=.dyn)): New static pattern rule.
20531 (generated): Add those targets.
20532 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20533 * config.make.in (READELF): New substituted variable.
20534 * elf/check-textrel.c: File removed.
20535
62fde54f 205362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20537
615605c9
JM
20538 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20539 allow.
20540 * conform/data/ctype.h-data [C99-based standards] (isblank):
20541 Expect function.
20542 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20543 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20545 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20546 Specify type. Require positive value.
20547 (EILSEQ): Likewise.
20548 (ERANGE): Likewise.
20549 [ISO || POSIX] (EILSEQ): Do not expect.
20550 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20551 Specify type. Require positive value.
20552 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20623 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20625 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20626 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20627 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20628 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20629 Require >= 2.
20630 (FLT_ROUNDS): Expect as macro, not constant.
20631 (FLT_MANT_DIG): Use macro-int-constant.
20632 (DBL_MANT_DIG): Likewise.
20633 (LDBL_MANT_DIG): Likewise.
20634 (FLT_DIG): Likewise.
20635 (DBL_DIG): Likewise.
20636 (LDBL_DIG): Likewise.
20637 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20638 (DBL_MIN_EXP): Likewise.
20639 (LDBL_MIN_EXP): Likewise.
20640 (FLT_MAX_EXP): Use macro-int-constant.
20641 (DBL_MAX_EXP): Likewise.
20642 (LDBL_MAX_EXP): Likewise.
20643 (FLT_MAX_10_EXP): Likewise.
20644 (DBL_MAX_10_EXP): Likewise.
20645 (LDBL_MAX_10_EXP): Likewise.
20646 (FLT_MAX): Use macro-constant.
20647 (DBL_MAX): Likewise.
20648 (LDBL_MAX): Likewise.
20649 (FLT_EPSILON): Use macro-constant. Give upper bound.
20650 (DBL_EPSILON): Likewise.
20651 (LDBL_EPSILON): Likewise.
20652 (FLT_MIN): Likewise.
20653 (DBL_MIN): Likewise.
20654 (LDBL_MIN): Likewise.
20655 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20656 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20657 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20658 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20659 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20660 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20661 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20662 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20663 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20664 [ISO11] (FLT_TRUE_MIN): Likewise.
20665 [ISO11] (LDBL_TRUE_MIN): Likewise.
20666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20667 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20668 (SCHAR_MIN): Use macro-int-constant. Specify type.
20669 (SCHAR_MAX): Likewise.
20670 (UCHAR_MAX): Likewise.
20671 (CHAR_MIN): Likewise.
20672 (CHAR_MAX): Likewise.
20673 (MB_LEN_MAX): Use macro-int-constant.
20674 (SHRT_MIN): Use macro-int-constant. Specify type.
20675 (SHRT_MAX): Likewise.
20676 (USHRT_MAX): Likewise.
20677 (INT_MAX): Likewise.
20678 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20679 bound negative.
20680 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20681 bound with "U".
20682 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20683 bound with "L".
20684 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20685 bound negative. Suffix upper bound with "L".
20686 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20687 bound with "UL".
20688 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20689 Specify type.
20690 [C99-based standards] (LLONG_MAX): Likewise.
20691 [C99-based standards] (ULLONG_MAX): Likewise.
20692 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20693 == 0.
20694 [ISO11] (max_align_t): Require type.
20695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20696
c9140a62
JM
20697 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20698 from $CFLAGS, without defining away __attribute__ calls.
20699 (checknamespace): Use $CFLAGS_namespace.
20700
9af0bf29
JM
20701 * conform/conformtest.pl (@keywords): Only include C99 keywords
20702 for standards based on C99 or C11.
20703
343222a2
JM
20704 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20705 Disable tests.
20706 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20707 UNIX98]: Likewise.
20708
661f8cf0
JM
20709 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20710 usability of symbols in #if.
20711
ee74b9cb
JM
20712 * conform/conformtest.pl: If macro or constant types start
20713 "promoted:", expect the symbol to be of the following type
20714 promoted by the integer promotions.
62fde54f 20715
aafc49b3
JM
20716 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20717 in one place. Also handle "macro-constant".
20718
fefdf574
JM
20719 * conform/conformtest.pl: Only accept expected macro values with
20720 "==". Parse all "macro" lines in one place.
20721 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20722
f2d922fe
JM
20723 * conform/conformtest.pl: Handle braced types on "constant" lines
20724 instead of handling "typed-constant".
20725 * conform/data/signal.h-data: Use "constant" instead of
20726 "typed-constant".
20727
d22956c9
JM
20728 * conform/conformtest.pl: Handle "optional-" at start of lines in
20729 one place rather than duplicating several cases. Handle each
20730 format of "macro" line with initial "optional-".
20731
028e2e38
JM
20732 * conform/conformtest.pl: Only accept expected constant or
20733 optional-constant values with "==". Parse all "constant" lines in
20734 one place. Parse all "optional-constant" lines in one place.
20735 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20736 * conform/data/fmtmsg.h-data: Likewise.
20737 * conform/data/netinet/in.h-data: Likewise.
20738 * conform/data/tar.h-data: Likewise.
20739 * conform/data/limits.h-data: Use "==" form on "constant" and
20740 "optional-constant" lines.
20741
1b8f2850
JM
20742 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20743 Use -std=c99 for XOPEN2K.
20744 (@knownproblems): Remove.
20745 (newtoken): Don't check %isknown.
20746
a05a144b
JM
20747 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20748 Do not expect macro.
20749 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20750 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20751 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20758 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20761 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20762 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20776 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20778 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20779 [XPG3] (acosh): Likewise.
20780 [XPG3] (asinh): Likewise.
20781 [XPG3] (atanh): Likewise.
20782 [XPG3] (cbrt): Likewise.
20783 [XPG3] (expm1): Likewise.
20784 [XPG3] (ilogb): Likewise.
20785 [XPG3] (log1p): Likewise.
20786 [XPG3] (logb): Likewise.
20787 [XPG3] (nextafter): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20790 [XPG3] (remainder): Likewise.
20791 [XPG3] (rint): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20795 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20799 [UNIX98 || XOPEN2K] (scalb): Expect.
20800 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20801 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20937
73c5ebe3
JM
20938 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20939 _XOPEN_SOURCE_EXTENDED for XPG4.
20940
39c33b6c
JM
20941 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20942
62fde54f
JM
20943 * Makeconfig (localtime): Remove variable.
20944 (inst_localtime-file): Likewise.
20945
0741d64c
AS
209462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20947
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20949 Update.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20951 Update.
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20953 Update.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20955 Update.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20957 Update.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20959 Update.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20961 Update.
20962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20963 Update.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20965 Update.
20966
7cb029ee
JM
209672012-05-01 Joseph Myers <joseph@codesourcery.com>
20968
20969 [BZ #2550]
20970 [BZ #2570]
20971 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20972 comparisons to determine direction to adjust input.
20973 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20974 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20976 Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20978 Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20980 Likewise.
20981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20983 Likewise.
20984 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20985 Likewise.
20986 * math/libm-test.inc (nexttoward_test): Add more tests.
20987
412bd966
AS
209882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20989
20990 [BZ #14040]
20991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20992 in version GLIBC_2.1, not GLIBC_2.0.
20993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20994 Likewise.
20995
9568c0c2
JM
209962012-04-30 Joseph Myers <joseph@codesourcery.com>
20997
adfbc8ac
JM
20998 [BZ #13942]
20999 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21000 (1 - x) * (1 + x).
21001 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21002 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21003 * math/libm-test.inc (acos_test): Add more tests.
21004 (asin_test): Likewise.
21005 * sysdeps/i386/fpu/libm-test-ulps: Update.
21006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007
5ba3cc69
JM
21008 [BZ #14034]
21009 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21010 of square root.
21011 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21012 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21013 * math/libm-test.inc (acos_test_tonearest): New function.
21014 (acos_test_towardzero): Likewise.
21015 (acos_test_downward): Likewise.
21016 (acos_test_upward): Likewise.
21017 (asin_test_tonearest): Likewise.
21018 (asin_test_towardzero): Likewise.
21019 (asin_test_downward): Likewise.
21020 (asin_test_upward): Likewise.
21021 (main): Call the new functions.
21022 * sysdeps/i386/fpu/libm-test-ulps: Update.
21023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21024
9568c0c2
JM
21025 [BZ #13884]
21026 [BZ #13924]
21027 * math/e_exp10.c: Include <float.h>.
21028 (__ieee754_exp10): Handle underflow here rather than multiplying
21029 large negative argument by M_LN10.
21030 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21031 of __ieee754_expf.
21032 * math/e_exp10l.c: Include <float.h>.
21033 (__ieee754_exp10l): Handle underflow here rather than multiplying
21034 large negative argument by M_LN10l.
21035 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21036 spurious overflow exception on underflow.
21037
5ac3ea17
MP
210382012-04-29 Marek Polacek <polacek@redhat.com>
21039
21040 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21041 (__fortify_function): New macro.
21042 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21043 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21044 __extern_always_inline.
21045 * libio/bits/stdio2.h: Likewise.
21046 * libio/bits/stdio.h: Likewise.
21047 * string/string.h: Likewise.
21048 * string/bits/string3.h: Likewise.
21049 * include/stdio.h: Likewise.
21050 * stdlib/bits/stdlib.h: Likewise.
21051 * stdlib/stdlib.h: Likewise.
21052 * rt/bits/mqueue2.h: Likewise.
21053 * rt/mqueue.h: Likewise.
21054 * posix/bits/unistd.h: Likewise.
21055 * posix/unistd.h: Likewise.
21056 * io/bits/poll2.h: Likewise.
21057 * io/bits/fcntl2.h: Likewise.
21058 * io/fcntl.h: Likewise.
21059 * io/sys/poll.h: Likewise.
21060 * misc/bits/syslog.h: Likewise.
21061 * misc/bits/syslog-ldbl.h: Likewise.
21062 * misc/sys/syslog.h: Likewise.
21063 * socket/bits/socket2.h: Likewise.
21064 * socket/sys/socket.h: Likewise.
21065 * debug/tst-chk1.c: Likewise.
21066 * wcsmbs/bits/wchar2.h: Likewise.
21067 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21068 * wcsmbs/wchar.h: Likewise.
21069
ecf0ebfb
AJ
210702012-04-29 Andreas Jaeger <aj@suse.de>
21071
21072 * Makerules (tests): Remove enable-check-abi protection.
21073 (check-abi-warn): Remove.
21074 (check-abi-%): Remove check-abi-warn usage.
21075
21076 * configure.in: Remove check-abi configure option.
21077 * configure: Regenerated.
21078 * config.make.in (enable-check-abi): Remove.
21079
6d5c57fa
AS
210802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21081
24c5d07e 21082 [BZ #14033]
ded5180a
AS
21083 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21084 double functions to double *_finite functions.
21085
7e0d315d
AS
21086 [BZ #13941]
21087 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21088 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21089 LDBL_MIN_EXP.
21090 * stdio-common/Makefile (tests): Add tst-sprintf3.
21091 * stdio-common/tst-sprintf3.c: New file.
21092
6d5c57fa
AS
21093 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21094 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21095
0749ff8b
JM
210962012-04-28 Joseph Myers <joseph@codesourcery.com>
21097
21098 * conform/conformtest.pl: Remove duplicate typed-constant
21099 handling.
21100
8dbd5d7b
DM
211012012-04-28 David S. Miller <davem@davemloft.net>
21102
21103 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21104 (check-abi-%): Remove AWK script prerequisite and explicit
21105 abilist directory.
21106 (check-abi): Rewrite to just diff the symlist with the abilist.
21107 (config-tls, config-abi-config): Delete, no longer used.
21108 (update-abi-%): Remove AWK script and explicit abilist directory.
21109 (update-abi): Rewrite to simply compare and conditionally copy the
21110 symlist and the sysdep abilist file. Remove update-abi-config
21111 checks.
21112 * abilist/ld.abilist: Remove.
21113 * abilist/libBrokenLocale.abilist: Remove.
21114 * abilist/libanl.abilist: Remove.
21115 * abilist/libcrypt.abilist: Remove.
21116 * abilist/libdl.abilist: Remove.
21117 * abilist/librt.abilist: Remove.
21118 * abilist/libthread_db.abilist: Remove.
21119 * abilist/libutil.abilist: Remove.
21120 * scripts/extract-abilist.awk: Remove.
21121 * scripts/merge-abilist.awk: Remove.
21122 * sysdeps/generic/libcidn.abilist: New file.
21123 * sysdeps/generic/libnss_compat.abilist: New file.
21124 * sysdeps/generic/libnss_db.abilist: New file.
21125 * sysdeps/generic/libnss_dns.abilist: New file.
21126 * sysdeps/generic/libnss_files.abilist: New file.
21127 * sysdeps/generic/libnss_hesiod.abilist: New file.
21128 * sysdeps/generic/libnss_nis.abilist: New file.
21129 * sysdeps/generic/libnss_nisplus.abilist: New file.
21130 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21131 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21132 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21133 file.
21134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21135 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21136 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21137 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21138 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21139 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21140 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21141 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21142 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21143 file.
21144 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21148 file.
21149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21150 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21151 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21153 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21154 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21155 file.
21156 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21157 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21158 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21159 file.
21160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21162 New file.
21163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21164 New file.
21165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21166 New file.
21167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21168 New file.
21169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21170 New file.
21171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21172 New file.
21173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21174 New file.
21175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21176 New file.
21177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21178 New file.
21179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21180 New file.
21181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21182 New file.
21183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21184 New file.
21185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21186 New file.
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21188 file.
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21190 New file.
21191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21192 New file.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21194 file.
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21196 New file.
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21198 New file.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21200 file.
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21202 New file.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21204 New file.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21206 New file.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21208 New file.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21210 New file.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21212 New file.
21213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21215 file.
21216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21217 New file.
21218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21219 file.
21220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21221 file.
21222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21223 file.
21224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21225 file.
21226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21227 file.
21228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21229 New file.
21230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21231 file.
21232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21233 file.
21234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21235 New file.
21236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21237 file.
21238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21240 file.
21241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21242 New file.
21243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21244 file.
21245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21246 file.
21247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21248 file.
21249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21250 file.
21251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21252 file.
21253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21254 New file.
21255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21256 file.
21257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21258 file.
21259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21260 New file.
21261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21262 file.
21263 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21264 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21265 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21266 file.
21267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21268 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21269 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21270 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21271 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21272 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21273 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21274 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21275 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21276 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21279 file.
21280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21281 New file.
21282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21283 file.
21284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21285 file.
21286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21287 file.
21288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21289 file.
21290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21291 file.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21293 New file.
21294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21295 New file.
21296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21297 file.
21298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21299 New file.
21300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21301 file.
21302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21304 file.
21305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21306 New file.
21307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21308 file.
21309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21310 file.
21311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21312 file.
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21314 file.
21315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21316 file.
21317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21318 New file.
21319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21320 New file.
21321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21322 file.
21323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21324 New file.
21325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21326 file.
21327
41d73a1b
JM
213282012-04-28 Joseph Myers <joseph@codesourcery.com>
21329
21330 * conform/conformtest.pl: Fix typo in handling typed-constant from
21331 allow-header.
21332
28aeeda4
JM
213332012-04-27 Joseph Myers <joseph@codesourcery.com>
21334
adae8f5e
JM
21335 * README: Cut down references to pre-2.6 Linux kernels and
21336 Linuxthreads. Update lists of configurations in libc and ports
21337 and sort alphabetically. Say "or newer" with Linux kernel version
21338 requirements.
21339
28aeeda4
JM
21340 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21341
a462cb63
RA
213422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21343
21344 [BZ #887]
21345 * math/libm-test.inc (logb_test_downward): New test to expose
21346 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21347 rounding mode.
21348
6ad3493e
JM
213492012-04-27 Joseph Myers <joseph@codesourcery.com>
21350
21351 [BZ #14027]
21352 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21353 to be done.
21354 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21355 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21356
2ce4f015
JM
213572012-04-26 Joseph Myers <joseph@codesourcery.com>
21358
5aeb141a
JM
21359 * sysdeps/unix/i386/brk.S: Remove file.
21360 * sysdeps/unix/i386/dl-brk.S: Likewise.
21361 * sysdeps/unix/i386/pipe.S: Likewise.
21362 * sysdeps/unix/i386/sigreturn.S: Likewise.
21363 * sysdeps/unix/i386/syscall.S: Likewise.
21364 * sysdeps/unix/i386/vfork.S: Likewise.
21365 * sysdeps/unix/i386/wait.S: Likewise.
21366
7143acae
JM
21367 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21368 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21369
2ce4f015
JM
21370 * configure.in (arm*-none*): Do not allow without
21371 --enable-hacker-mode.
21372 (netbsd*): Remove case setting base_os.
21373 (386bsd*): Likewise.
21374 (freebsd*): Likewise.
21375 (bsdi*): Likewise.
21376 (osf*): Likewise.
21377 (sunos*): Likewise.
21378 (ultrix*): Likewise.
21379 (newsos*): Likewise.
21380 (dynix*): Likewise.
21381 (*bsd*): Likewise.
21382 (sysv*): Likewise.
21383 (isc*): Likewise.
21384 (esix*): Likewise.
21385 (sco*): Likewise.
21386 (minix*): Likewise.
21387 (irix4*): Likewise.
21388 (irix6*): Likewise.
21389 (solaris[2-9]*): Likewise.
21390 (none): Likewise.
21391 * configure: Regenerated.
21392
0ac229c8
AZ
213932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21394
21395 [BZ #11521]
21396 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21397 overflow or cancellation in calculating denominator.
21398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21400 down expression to avoid unexpected rounding in newer GCCs.
21401 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21402
33f244f4
DM
214032012-04-26 David S. Miller <davem@davemloft.net>
21404
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21406 long-double compat symbols.
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21420
cfa1f3e8
DM
214212012-04-25 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21424 HWCAP_* values only after the memory barriers have been defined.
21425 (atomic_full_barrier): Define.
21426 (atomic_read_barrier): Define.
21427 (atomic_write_barrier): Define.
21428
6e236b92
SP
214292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21430
21431 * shlib-versions: Add libgcc_s version information.
21432 * sysdeps/generic/libgcc_s.h: Remove.
21433 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21434 libgcc_s.h.
21435 * sysdeps/gnu/unwind-resume.c: Likewise.
21436 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21437
aab39a09
DM
214382012-04-25 David S. Miller <davem@davemloft.net>
21439
21440 * sysdeps/unix/sparc/brk.S: Delete.
21441 * sysdeps/unix/sparc/dl-brk.S: Delete.
21442 * sysdeps/unix/sparc/pipe.S: Delete.
21443 * sysdeps/unix/sparc/sysdep.S: Delete.
21444 * sysdeps/unix/sparc/sysdep.h: Delete.
21445 * sysdeps/unix/sparc/vfork.S: Delete.
21446 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21447 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21448 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21449 ret_ERRVAL, r0, r1, MOVE): Define.
21450 (JUMPTARGET): Remove.
21451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21452 sysdeps/unix/sparc/sysdep.h
21453 (ENTRY, END): Remove.
21454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21455
a3cc4f48
JM
214562012-04-25 Joseph Myers <joseph@codesourcery.com>
21457
2ed8cda2
JM
21458 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21459 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21460 -DIS_IN_build.
21461
35d76d59
JM
21462 * timezone/README: Update upstream location and email address for
21463 tzcode and tzdata.
21464 * timezone/zdump.c: Update from tzcode 2012b.
21465 * timezone/zic.c: Likewise.
21466
a3cc4f48
JM
21467 * configure.in (libc_cv_as_needed): Remove test.
21468 * configure: Regenerated.
21469 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21470 conditional definition.
21471 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21472 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21473 * config.make.in (have-as-needed): Remove variable.
21474
ceab42c3
SP
214752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21476 Paul Pluzhnikov <ppluzhnikov@google.com>
21477
21478 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21479 strings correctly.
21480
3ce2865f
CLT
214812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21482
21483 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21484 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21485 * sysdeps/sh/strlen.S: Likewise.
21486
f37e0d68
JM
214872012-04-24 Joseph Myers <joseph@codesourcery.com>
21488
ae186e9a
JM
21489 * sysdeps/unix/fork.S: Remove file.
21490 * sysdeps/unix/i386/fork.S: Likewise.
21491 * sysdeps/unix/sparc/fork.S: Likewise.
21492
b96914af
JM
21493 * sysdeps/unix/system.c: Remove file.
21494 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21495
f37e0d68
JM
21496 * sysdeps/unix/getegid.S: Remove file.
21497 * sysdeps/unix/geteuid.S: Likewise.
21498
87ef29ca
RM
214992012-04-24 Roland McGrath <roland@hack.frob.com>
21500
83bcd236
RM
21501 * scripts/check-localplt.awk: New file.
21502 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21503 of diff.
21504 * scripts/data/localplt-generic.data: Add a comment.
21505
87ef29ca
RM
21506 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21507 NODE when __dir_mkfile failed.
21508 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21509 Reported by Ludovic Courtès <ludo@gnu.org>.
21510
e5a6e567
AJ
215112012-04-24 Andreas Jaeger <aj@suse.de>
21512
21513 * Makerules (common-clean): Also remove gen-as-const-headers
21514 files.
21515
c1820385
JM
215162012-04-24 Joseph Myers <joseph@codesourcery.com>
21517
21518 * Makerules (native-compile): Do not change working directory for
21519 build. Use $(OUTPUT_OPTION) in command.
21520 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21521
94e02fc4
AZ
215222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21523
21524 [BZ #13886]
21525 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21526 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21527 * math/libm-test.inc (floor_test): Add more tests.
21528 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21529
3a533ca3
JM
215302012-04-24 Joseph Myers <joseph@codesourcery.com>
21531
940ab4b3
JM
21532 * sysdeps/unix/getdents.c: Remove file.
21533 * sysdeps/unix/sysv/getdents.c: Likewise.
21534 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21535
90e037bd
JM
21536 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21537 sysdeps/unix/mman/syscalls.list.
21538 (mmap): Likewise.
21539 (mprotect): Likewise.
21540 (msync): Likewise.
21541 (munmap): Likewise.
21542 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21543 * sysdeps/unix/mman/syscalls.list: Remove.
21544 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21545
3a533ca3
JM
21546 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21547 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21548 * configure: Regenerated.
21549 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21550 $(libgcc_s_suffix).
21551 * config.make.in (libgcc_s_suffix): Remove variable.
21552
1ad743de
JM
215532012-04-23 Joseph Myers <joseph@codesourcery.com>
21554
4ad451e2
JM
21555 * sysdeps/unix/sysv/gethostname.c: Move to ...
21556 * sysdeps/posix/gethostname.c: ... here.
21557
5e37ce39
JM
21558 * sysdeps/unix/execve.S: Remove file.
21559
1ad743de
JM
21560 * sysdeps/unix/_exit.S: Remove file.
21561
4e681b5b
AJ
215622012-04-23 Andreas Jaeger <aj@suse.de>
21563
21564 [BZ #13739]
21565 * manual/Makefile: Remove make dist support, there's no
21566 need for a stand-alone documentation tar ball.
21567 (TEXI2DVI): Define always, it's not in Makeconfig.
21568 (dist): Removed.
21569 (tar-it): Removed.
21570 (edition): Removed.
21571 (glibc-doc-$(edition).tar): Removed
21572 (%.Z): Removed.
21573 (%.gz): Removed.
21574 (%.uu): Removed.
21575 (ETAGS): Remove, it's in Makeconfig.
21576 (move-if-change): Remove, it's in Makeconfig.
21577
38686a03 215782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21579
21580 [BZ #13970]
21581 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21582 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21583 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21584 (strtod_l, strtof_l, strtold_l): Remove __wur.
21585 It is not necessarily an error to ignore strtol's return value.
21586 One can reliably look at the stored endptr to decide whether
21587 the number had valid syntax.
21588
7c0616fa
AJ
215892012-04-21 Andreas Jaeger <aj@suse.de>
21590
803cb6b7 21591 [BZ #13739]
7c0616fa
AJ
21592 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21593
b0fe253f
JM
215942012-04-21 Joseph Myers <joseph@codesourcery.com>
21595
21596 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21597 * sysdeps/unix/sysv/Versions: Remove file.
21598
8280f22d
MT
215992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21600
21601 [BZ #13927]
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21603
75ce411f 216042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21605
21606 [BZ #7064]
21607 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21608 version from __vm86.
21609
097d59fa
JM
216102012-04-20 Joseph Myers <joseph@codesourcery.com>
21611
a90f3bcb
JM
21612 * sysdeps/unix/common/lxstat.c: Remove file.
21613 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21614
edc7ea78
JM
21615 * sysdeps/unix/sysv/Makefile: Remove file.
21616
cb78c221
JM
21617 * sysdeps/unix/sysv/direct.h: Remove file.
21618
efa6a45f
JM
21619 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21620 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21621 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21622 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21623 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21624 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21625 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21626
9c9f2d0c
JM
21627 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21628
4541c83b
JM
21629 * sysdeps/unix/xmknod.c: Remove file.
21630 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21631
f5d153a0
JM
21632 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21633
aa746595
JM
21634 * sysdeps/unix/sysv/i386/time.S: Remove file.
21635
cce5905e
JM
21636 * sysdeps/unix/fxstat.c: Remove file.
21637 * sysdeps/unix/xstat.c: Likewise.
21638 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21639
37fa3841
JM
21640 * sysdeps/unix/sysv/sigaction.c: Remove file.
21641
ff1962a3
JM
21642 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21643 (sysdep_headers): Remove variable.
21644 [termio.h not in sysdep_headers] (generated): Likewise.
21645 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21646 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21647 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21648 * sysdeps/unix/sysv/tcflow.c: Likewise.
21649 * sysdeps/unix/sysv/tcflush.c: Likewise.
21650 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21651 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21652 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21653 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21654 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21655
e7740d31
JM
21656 * sysdeps/unix/siglist.c: Remove file.
21657
ee06f18b
JM
21658 * sysdeps/unix/getppid.S: Remove file.
21659
097d59fa
JM
21660 * sysdeps/unix/mkdir.c: Remove file.
21661 * sysdeps/unix/rmdir.c: Likewise.
21662
ff3d51ec
AS
216632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21664
21665 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21666 ERR_MAX value.
21667 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21668 errlist-compat value.
21669
50f81fd7
DM
216702012-04-18 David S. Miller <davem@davemloft.net>
21671
21672 * sysdeps/generic/memcopy.h (reg_char): Delete.
21673 * debug/strcat_chk.c: Use char, not reg_char.
21674 * debug/strcpy_chk.c: Likewise.
21675 * debug/strncat_chk.c: Likewise.
21676 * debug/strncpy_chk.c: Likewise.
21677 * string/memchr.c: Likewise.
21678 * string/memrchr.c: Likewise.
21679 * string/rawmemchr.c: Likewise.
21680 * string/strcat.c: Likewise.
21681 * string/strchr.c: Likewise.
21682 * string/strchrnul.c: Likewise.
21683 * string/strcmp.c: Likewise.
21684 * string/strcpy.c: Likewise.
21685 * string/strncat.c: Likewise.
21686 * string/strncmp.c: Likewise.
21687 * string/strncpy.c: Likewise.
21688
8ff41c46
WS
216892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21690
21691 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21692 __builtin_memcopy is called when src and dest ranges are known to not
21693 overlap.
21694
6b652f46
WS
216952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21696
21697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21698 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21699 fwd_align_merge macro call.
21700 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21701 bwd_align_merge macro call.
21702 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21703
b282631e
WS
217042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21705
21706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21707 bwd_align_merge macros.
21708 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21709 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21710 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21711
95aa737c
DM
217122012-04-18 David S. Miller <davem@davemloft.net>
21713
21714 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21715
7a99a614
AJ
217162012-04-18 Andreas Jaeger <aj@suse.de>
21717
21718 [BZ# 6794]
21719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21720 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21721 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21722
21723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21724 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21725 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21726
21727 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21728 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21729 Adjust for changed ldbl-128 files.
21730
21731 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21732 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21734
e5270c23
DM
217352012-04-17 David S. Miller <davem@davemloft.net>
21736
21737 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21738
fb5e92c9
AS
217392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21740
21741 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21742 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21743 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21744 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21745 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21746 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21747
76da7265
AZ
217482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21749
21750 [BZ #6794]
21751 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21752 * math/libm-test.inc: Add ilogb errno and exception tests.
21753 * math/w_ilogb.c: New file: ilogb wrapper.
21754 * math/w_ilogbf.c: New file: ilogbf wrapper.
21755 * math/w_ilogbl.c: New file: ilogbl wrapper.
21756 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21757 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21758 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21759 exception being thrown with 0.0 as argument.
21760 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21761 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21762 exception being thrown with 0.0 as argument.
21763 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21764 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21765 exception being thrown with 0.0 as argument.
21766 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21767 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21768 exception being thrown with 0.0 as argument.
21769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21770 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21771 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21772 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21774 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21775 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21776 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21777 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21778
0396e69d
PB
217792012-04-17 Petr Baudis <pasky@ucw.cz>
21780
21781 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21782 with altivec.
21783
750b5926
MP
217842012-04-16 Marek Polacek <polacek@redhat.com>
21785
21786 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21787
751728a1
MP
217882012-04-16 Marek Polacek <polacek@redhat.com>
21789
21790 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21791 operands of fdivp instruction.
21792
34a27407
L
217932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21794
21795 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21796 * elf/tst-auditmod3b.c: Likewise.
21797 * elf/tst-auditmod4b.c: Likewise.
21798 * elf/tst-auditmod5b.c: Likewise.
21799 * elf/tst-auditmod6b.c: Likewise.
21800 * elf/tst-auditmod6c.c: Likewise.
21801 * elf/tst-auditmod7b.c: Likewise.
21802 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21803 * sysdeps/x86_64/preconfigure.in: Likewise.
21804 * sysdeps/x86_64/preconfigure: Regenerated.
21805
7e73e17d
L
218062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21807
21808 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21809 __ILP32__.
21810
c7a6ab72
AB
218112012-04-13 Antoine Balestrat <merkil33@gmail.com>
21812
21813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21814 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21815
a9e8e0e0
CL
218162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21817
21818 [BZ #13973]
21819 * locale/iso-639.def: Fix gl language name. Spotted by
21820 Yaron Shahrabani.
21821
ec98af7d
RM
218222012-04-12 Roland McGrath <roland@hack.frob.com>
21823
21824 [BZ #2074]
21825 * libio/libio.h (__io_write_fn): Update comment.
21826
247c3ede
PB
218272012-04-12 Petr Baudis <pasky@ucw.cz>
21828
21829 [BZ #2074]
21830 * stdio.texi (Hook Functions): The user provided writer function
21831 is not allowed to return -1.
21832
55939d6d
DM
218332012-04-11 David S. Miller <davem@davemloft.net>
21834
21835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21836
90020f5a
MF
218372012-04-11 Mike Frysinger <vapier@gentoo.org>
21838
21839 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21840 Add a leading slash to rtkaio.
21841
288f9098
JM
218422012-04-11 Jim Meyering <meyering@redhat.com>
21843
90020f5a
MF
21844 [BZ #11959]
21845 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21846 It is not necessarily an error to ignore fwrite's return
21847 value. One can reliably use ferror to test for errors after
21848 the fact.
288f9098 21849
4be2b570
L
218502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21851
21852 * bits/types.h (__snseconds_t): New type.
21853 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21854
21855 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21857 (__SNSECONDS_T_TYPE): Likewise.
21858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21859 (__SNSECONDS_T_TYPE): Likewise.
21860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21861 (__SNSECONDS_T_TYPE): Likewise.
21862
288f9098 218632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21864
21865 [BZ #2636]
21866 * manual/time.texi (Processor Time): Return type of times is
21867 elapsed real time since an arbitrary point in the past.
21868 (CPU Time): Move CLK_TCK from here...
21869 (Processor Time): ...to here. Correct description.
21870 * manual/conf.texi (Constants for Sysconf): Correct description of
21871 _SC_CLK_TCK.
21872
d7dd4413
DM
218732012-04-10 David S. Miller <davem@davemloft.net>
21874
21875 [BZ #13967]
21876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21877 where the is a gap between DT_REL(A) and DT_JMPREL.
21878
b46068fc
L
218792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21880
21881 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21884
73d65cc3
SP
218852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21886
21887 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21888 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21889 (dl_main): Handle --inhibit-cache.
21890 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21891 _dl_inhibit_cache.
21892 * elf/dl-load.c (_dl_map_object): Use it.
21893 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21894
bcc8d661
JM
218952012-04-09 Joseph Myers <joseph@codesourcery.com>
21896
8f9a2fae
JM
21897 [BZ #13872]
21898 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21899 (__ieee754_powl): Saturate large exponents rather than testing for
21900 overflow of y*log2(x).
21901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21902 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21903 exceptions.
21904
bcc8d661
JM
21905 [BZ #11521]
21906 * math/s_ctan.c: Include <float.h>.
21907 (__ctan): Avoid internal overflow or cancellation in calculating
21908 denominator.
21909 * math/s_ctanf.c: Likewise.
21910 * math/s_ctanl.c: Likewise.
21911 * math/s_ctanh.c: Likewise.
21912 * math/s_ctanhf.c: Likewise.
21913 * math/s_ctanhl.c: Likewise.
21914 * math/libm-test.inc (ctan_test): Add more tests.
21915 (ctanh_test): Likewise.
21916 * sysdeps/i386/fpu/libm-test-ulps: Update.
21917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21918
823fbbb4
AJ
219192012-04-09 Andreas Jaeger <aj@suse.de>
21920
03879793
AJ
21921 [BZ #6894]
21922 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21923 is an optional BSD extension.
21924
823fbbb4
AJ
21925 [BZ #10254]
21926 * manual/stdio.texi (Opening Streams): Document additional fopen
21927 parameters.
21928
8de131cb
RM
219292012-04-09 Roland McGrath <roland@hack.frob.com>
21930
21931 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21932 %eax without telling the compiler.
21933
c0ed9d7d
CD
219342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21935
21936 [BZ # 13963]
21937 * manual/install.texi: Use sourceware.org.
21938
c483f6b4
JM
219392012-04-09 Joseph Myers <joseph@codesourcery.com>
21940
d7dd9453
JM
21941 [BZ #13873]
21942 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21943 (__ieee754_pow): Generate overflow and underflow using huge*huge
21944 and tiny*tiny rather than just returning constant infinity or zero
21945 for large exponents.
21946 * math/libm-test.inc (pow_test): Require overflow exceptions for
21947 applicable cases of large exponents.
21948
c483f6b4
JM
21949 [BZ #706]
21950 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21951 (__ieee754_pow): Use iterative multiplication algorithm only for
21952 integer exponents with absolute value below 1024. Check for odd
21953 integer exponents when using algorithm for real exponents.
21954 * math/libm-test.inc (pow_test): Add more tests.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21956
d2de7579
JM
219572012-04-08 Joseph Myers <joseph@codesourcery.com>
21958
21959 [BZ #13705]
21960 * math/libm-test.inc (exp_test): Do not allow overflow exception
21961 on underflow test.
21962
f77f1232
AJ
219632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21964
21965 [BZ #13705]
21966 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21967 instead of __kernel_standard_f.
21968
3884932b
MF
219692012-04-08 Mike Frysinger <vapier@gentoo.org>
21970
21971 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21972 * sysdeps/x86_64/memset_chk.S: Likewise.
21973
54472e9c
AJ
219742012-04-08 Andreas Jaeger <aj@suse.de>
21975
6ab0fbfc
AJ
21976 [BZ #10153]
21977 * manual/startup.texi (Environment Access): Describe return value
21978 for putenv and setenv.
21979
61efba8c
AJ
21980 [BZ #6895]
21981 * manual/filesys.texi (Directory Entries): Add description for
21982 DT_LNK.
21983
95c3f29a
AJ
21984 [BZ #6890]
21985 * manual/filesys.texi (Directory Entries): Clarify that it's file
21986 system not operating system in the description of DT_UNKNOWN.
21987
54472e9c
AJ
21988 [BZ #6578]
21989 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21990
624254b1
SC
219912012-04-08 Stephen Compall <s11@member.fsf.org>
21992
21993 [BZ #6649]
21994 * manual/llio.texi (Opening and Closing Files): Add cross
21995 reference to explain mode argument.
21996
1e4920e0
MF
219972012-04-07 Mike Frysinger <vapier@gentoo.org>
21998
21999 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22000 * sysdeps/x86_64/memset_chk.S: Likewise.
22001
5ed848f3
DM
220022012-04-07 David S. Miller <davem@davemloft.net>
22003
22004 * elf/elf.h (R_SPARC_WDISP10): Define.
22005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22006 R_SPARC_SIZE32.
22007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22008 R_SPARC_SIZE64 and R_SPARC_H34.
22009
96154cd8
CD
220102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22011
22012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22013 conditions and remove no longer applicable assertion.
22014
9904dc47
L
220152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22016
22017 * bits/byteswap.h: Include <features.h>.
22018 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22019 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22020
f8887d0a
L
220212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * bits/byteswap.h (__bswap_16): Removed.
22024 Include <bits/byteswap-16.h> to get __bswap_16.
22025 * sysdeps/i386/bits/byteswap.h: Likewise.
22026 * sysdeps/s390/bits/byteswap.h: Likewise.
22027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22028 * bits/byteswap-16.h: New file.
22029 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22030 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22031 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22032 * string/Makefile (headers): Add bits/byteswap-16.h.
22033
62470f60
PP
220342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22035
22036 [BZ #13895]
22037 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22038 extra indirection.
22039 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22040 * nss/tst-nss-static.c: New.
22041
4dad7bab
RM
220422012-04-06 Robert Millan <rmh@gnu.org>
22043
22044 [BZ #6486]
22045 * manual/llio.texi (File Position Primitive): lseek
22046 refers to WHENCE when it really means OFFSET.
22047
e9142a17
AJ
220482012-04-06 Andreas Jaeger <aj@suse.de>
22049
2c040eff
AJ
22050 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22051 strncmp declarations.
22052
e9142a17
AJ
22053 * abilist/libc.abilist: Add __poll and __ppoll.
22054
ff9f1c5f
DM
220552012-04-05 David S. Miller <davem@davemloft.net>
22056
dcd2ae90
DM
22057 * scripts/check-local-headers.sh: Accept a host triplet in the
22058 path matched by the exclude regexp.
22059
993eb054
DM
22060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22061 definition.
22062 * sysdeps/powerpc/powerpc32/dl-machine.h
22063 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22064 * sysdeps/s390/s390-32/dl-machine.h
22065 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22066 * sysdeps/sparc/sparc32/dl-machine.h
22067 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22068 * sysdeps/sparc/sparc64/dl-machine.h
22069 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22070
ff9f1c5f
DM
22071 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22072 lazy binding.
48e2e132 22073 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22074 undefined symbol errors.
22075
48e2e132 22076 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22077 DT_NEEDED entries.
22078
e80d6f94
MM
220792012-04-05 Michael Matz <matz@suse.de>
22080
22081 [BZ #13592]
22082 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22083
349fa79f
AJ
220842012-04-05 Andreas Jaeger <aj@suse.de>
22085
22086 [BZ #13908]
22087 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22088 comment.
22089
f402708f
KK
220902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22091
22092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22093 which ROUND is no valid rounding mode.
22094
2ecccfc9
KK
220952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22096
22097 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22098 read again.
22099 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22100
8a53f50f
KK
221012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22102
22103 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22104 an exception using FPU order intentionally.
22105
221062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22107
22108 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22109 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22110 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22111 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22112
d653abb7
SJ
221132012-04-05 Simon Josefsson <simon@josefsson.org>
22114
22115 [BZ #12340]
22116 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22117 EINVAL when BUFLEN is too smal.
22118
c3b1bf7d
TS
221192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22120
22121 [BZ #13553]
22122 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22123 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22124
b1aa60f3
AJ
221252012-04-03 Andreas Jaeger <aj@suse.de>
22126
c3b1bf7d 22127 [BZ #13938]
67f60a26
AJ
22128 * manual/setjmp.texi (System V contexts): Fix sentence.
22129
b1aa60f3
AJ
22130 [BZ #13926]
22131 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22132 New macro for this case.
22133 [!__GNUC__] (__bswap_64): New inline function for this case.
22134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22135 * bits/byteswap.h: Likewise.
22136 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22137 ull, guard with __GLIBC_HAVE_LONG_LONG.
22138
22139 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22140 __GLIBC_HAVE_LONG_LONG.
22141
22142 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22143 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22144
39c59c35
TMQMF
221452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22146
22147 [BZ #13691]
22148 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22149 inptr and inend, rather than using last_ch.
22150
135ffda8
DM
221512012-04-02 David S. Miller <davem@davemloft.net>
22152
22153 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22154 * stdio-common/printf-parse.h (read_int): Change return type to
22155 'int', return -1 on INT_MAX overflow.
22156 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22157 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22158 overflows INT_MAX. Check for overflow of in-format-string precision
22159 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22160 SIZE_MAX not INT_MAX for integer overflow test.
22161 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22162 skip the construct in the format string but do not record anything.
22163 * stdio-common/bug22.c: Adjust to test both width/prevision
22164 INT_MAX overflow as well as total length INT_MAX overflow. Check
22165 explicitly for proper errno values.
22166
228c019e
TS
221672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22168
302cadd3
TS
22169 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22170 CHAR_MAX.
22171 * string/test-strcmp.c [! WIDE]: Likewise.
22172 * time/tst-mktime2.c: Likewise for INT_MAX.
22173 * string/test-string.h: #include <sys/param.h> for MIN.
22174
228c019e
TS
22175 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22176 * sysdeps/i386/init-first.c (init): Likewise.
22177 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22178 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22179 * sysdeps/sh/init-first.c (init): Likewise.
22180
cfa633f5
UD
221812012-04-01 Ulrich Drepper <drepper@gmail.com>
22182
22183 * po/ru.po: Update from translation team.
d1635ef8 22184 * po/vi.po: Likewise.
cfa633f5 22185
6cd0a5ea
SP
221862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22187
22188 * resolv/nss_dns/dns-host.c: Merge copyright years.
22189
4b43400f
LD
221902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22191
22192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22193 Optimize memcpy with prefetch if
22194 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22195 src, dst pointers have unequal 16 byte alignments.
22196
48c41d04
SP
221972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22198
22199 [BZ #13928]
22200 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22201 from a CNAME entry and return the minimum ttl for the query.
22202 (gaih_getanswer_slice): Likewise.
22203
b8dc394d
JL
222042012-03-30 Jeff Law <law@redhat.com>
22205
22206 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22207 due to long keys.
22208 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22209 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22210
2f5a5ed0
JL
22211 * resolv/nss_dns/dns-host.c: Update copyright year.
22212
1d39e359
UD
222132012-03-30 Ulrich Drepper <drepper@gmail.com>
22214
c030f70c 22215 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22216 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22217
1d39e359
UD
22218 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22219 comments for sendmmsg.
22220
222212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22222
22223 [BZ #13691]
22224 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22225 with only 1 character between 0x0041 and 0x01b0.
22226 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22227 * wcsmbs/tst-mbsnrtowcs.c: New file.
22228
20fde227
DM
222292012-03-29 David S. Miller <davem@davemloft.net>
22230
22231 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22232 small copies by hand.
22233
984a4237
JL
222342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22235
22236 [BZ #13761]
22237 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22238 _nss_compat_initgroups_dyn): Fall back to malloc/free
22239 for large group memberships.
22240
18c9d62b
DM
222412012-03-28 David S. Miller <davem@davemloft.net>
22242
88d85d4f
DM
22243 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22244 that branches into memcpy.
22245 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22246 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22248 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22250 bits.
22251 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22252 implementation too.
22253 * sysdeps/sparc/mempcpy.S: New file.
22254
e5aa83e1
DM
22255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22256 the IFUNC routine in the libc case.
22257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22258
88570753
DM
22259 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22261 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22262 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22263 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22264 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22265 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22266 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22267
249d7567
DM
22268 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22269 loop to 256 bytes instead of 64 bytes and fix test signedness.
22270
18c9d62b
DM
22271 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22272 * sysdeps/sparc/sparc32/Makefile: rather than here...
22273 * sysdeps/sparc/sparc64/Makefile: and here.
22274
05f3d1f6
UD
222752012-03-28 Ulrich Drepper <drepper@gmail.com>
22276
22277 * malloc/mallocbug.c: Avoid warnings about unused variables.
22278
86ae07a8
JL
222792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22280
22281 [BZ #13760]
22282 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22283 in the right place. Discard and retry query if response is
22284 larger than input buffer size.
22285
41bf21a1
JM
222862012-03-28 Joseph Myers <joseph@codesourcery.com>
22287
d6270972
JM
22288 [BZ #369]
22289 [BZ #2678]
22290 [BZ #3866]
22291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22292 x for large integer exponent.
22293 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22294 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22295 sign of result as needed afterwards.
22296 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22297 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22298 result for underflowing pow the same as for overflow.
22299 (__kernel_standard_l): Handle powl overflow and underflow here
22300 rather than calling __kernel_standard.
22301 * math/libm-test.inc (pow_test): Add more tests.
22302
414fca03 22303 [BZ #3868]
41bf21a1
JM
22304 [BZ #13879]
22305 [BZ #13910]
22306 [BZ #13911]
22307 [BZ #13912]
22308 [BZ #13913]
22309 [BZ #13915]
22310 [BZ #13916]
22311 [BZ #13917]
22312 [BZ #13918]
22313 [BZ #13919]
22314 [BZ #13920]
22315 [BZ #13921]
22316 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22317 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22318 (__kernel_standard_l): New function.
22319 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22320 __kernel_standard.
22321 * math/w_acosl.c (__acosl): Likewise.
22322 * math/w_asinl.c (__asinl): Likewise.
22323 * math/w_atan2l.c (__atan2l): Likewise.
22324 * math/w_atanhl.c (__atanhl): Likewise.
22325 * math/w_coshl.c (__coshl): Likewise.
22326 * math/w_exp10l.c (__exp10l): Likewise.
22327 * math/w_exp2l.c (__exp2l): Likewise.
22328 * math/w_fmodl.c (__fmodl): Likewise.
22329 * math/w_hypotl.c (__hypotl): Likewise.
22330 * math/w_j0l.c (__j0l, __y0l): Likewise.
22331 * math/w_j1l.c (__j1l, __y1l): Likewise.
22332 * math/w_jnl.c (__jnl, __ynl): Likewise.
22333 * math/w_lgammal.c (__lgammal): Likewise.
22334 * math/w_log10l.c (__log10l): Likewise.
22335 * math/w_log2l.c (__log2l): Likewise.
22336 * math/w_logl.c (__logl): Likewise.
22337 * math/w_powl.c (__powl): Likewise.
22338 * math/w_remainderl.c (__remainderl): Likewise.
22339 * math/w_scalbl.c (sysv_scalbl): Likewise.
22340 * math/w_sinhl.c (__sinhl): Likewise.
22341 * math/w_sqrtl.c (__sqrtl): Likewise.
22342 * math/w_tgammal.c (__tgammal): Likewise.
22343 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22344 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22345 * math/libm-test.inc (acos_test): Add more tests.
22346 (acosh_test): Likewise.
22347 (asin_test): Likewise.
22348 (atanh_test): Likewise.
22349 (exp_test): Likewise.
22350 (exp10_test): Likewise.
22351 (exp2_test): Likewise.
22352 (expm1_test): Likewise.
22353 (lgamma_test): Likewise.
22354 (log_test): Likewise.
22355 (log10_test): Likewise.
22356 (log1p_test): Likewise.
22357 (log2_test): Likewise.
22358 (pow_test): Do not allow some spurious overflow exceptions.
22359 (sqrt_test): Add more tests.
22360 (tgamma_test): Likewise.
22361 (y0_test): Likewise.
22362 (y1_test): Likewise.
22363 (yn_test): Likewise.
22364
dd62fda6
AB
223652012-03-27 Anton Blanchard <anton@samba.org>
22366
22367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22368 MAP_HUGETLB.
22369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22372
1e3cdfda
AJ
223732012-03-27 David S. Miller <davem@davemloft.net>
22374
b855ab85
DM
22375 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22376
1e3cdfda
AJ
22377 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22378 have-as-vis3 check.
22379
223802012-03-27 Andreas Jaeger <aj@suse.de>
22381
22382 * sysdeps/x86_64/elf/configure.in: Moved to ...
22383 * sysdeps/x86_64/configure.in: ... here.
22384 * sysdeps/x86_64/elf/start.S: Moved to ...
22385 * sysdeps/x86_64/start.S: ... here.
22386 * sysdeps/x86_64/elf/configure: Delete.
22387
22388 * sysdeps/x86_64/configure.in: Merge contents from
22389 sysdeps/i386/configure.in (without i686 check).
22390
22391 * sysdeps/i386/elf/Versions: Merge into ...
22392 * sysdeps/i386/Versions: ... this.
22393 * sysdeps/i386/elf/Versions: Delete file.
22394 * sysdeps/i386/elf/start.S: Moved to ...
22395 * sysdeps/i386/start.S: ...here.
22396 * sysdeps/i386/elf/configure.in: Merge into...
22397 * sysdeps/i386/configure.in: ...here.
22398 * sysdeps/i386/elf/configure.in: Delete file.
22399 * sysdeps/i386/elf/configure: Delete file.
22400
22401 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22402 * debug/backtracesyms.c: ... here.
22403 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22404 * debug/backtracesymsfd.c: ... here.
22405 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22406 * sysdeps/generic/ifunc-sel.h: ... here.
22407
22408 * sysdeps/unix/i386/start.c: Delete file.
22409 * sysdeps/unix/sparc/start.c: Delete file.
22410 * sysdeps/unix/start.c: Delete file.
22411
22412 * sysdeps/sh/elf/configure.in: Moved to ...
22413 * sysdeps/sh/configure.in: ... here.
22414 * sysdeps/sh/elf/start.S: Moved to ...
22415 * sysdeps/sh/start.S: ... here.
22416 * sysdeps/sh/elf/configure: Delete file.
22417
22418 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22419 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22420 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22421 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22422 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22423 * sysdeps/powerpc/powerpc64/start.S: here.
22424 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22425 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22426 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22427 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22428 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22429
22430 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22431 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22432 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22433 * sysdeps/powerpc/powerpc32/start.S: ... here.
22434 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22435 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22436 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22437
22438 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22439 * sysdeps/powerpc/ifunc-sel.h: ... here.
22440 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22441 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22442
22443 * sysdeps/sparc/elf/configure.in: Moved to ...
22444 * sysdeps/sparc/configure.in: ... here.
22445 * sysdeps/sparc/elf/configure: Delete file.
22446 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22447 * sysdeps/sparc/sparc32/start.S: ... here.
22448 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22449 * sysdeps/sparc/sparc64/start.S: ... here.
22450 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22451 * sysdeps/sparc/sparc32/Makefile: ... this.
22452 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22453 * sysdeps/sparc/sparc64/Makefile: ... this.
22454
22455 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22456 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22457 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22458 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22459 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22460 * sysdeps/s390/s390-32/setjmp.S: ... here.
22461 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22462 * sysdeps/s390/s390-32/configure.in: ... here.
22463 * sysdeps/s390/s390-32/elf/configure: Delete file.
22464 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22465 * sysdeps/s390/s390-32/start.S: ... here.
22466
22467 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22468 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22469 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22470 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22471 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22472 * sysdeps/s390/s390-64/setjmp.S: ... here.
22473 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22474 * sysdeps/s390/s390-64/configure.in: ... here
22475 * sysdeps/s390/s390-64/elf/configure: Delete file.
22476 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22477 * sysdeps/s390/s390-64/start.S: ... here.
22478 * sysdeps/s390/s390-64/elf/configure: Delete.
22479
22480 * configure.in: Remove support for elf directories in sysdeps.
22481
22482 * configure: Regenerated.
22483 * sysdeps/i386/configure: Regenerated.
22484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22486 * sysdeps/s390/s390-32/configure: Regenerated.
22487 * sysdeps/s390/s390-64/configure: Regenerated.
22488 * sysdeps/sh/configure: Regenerated.
22489 * sysdeps/sparc/configure: Regenerated.
22490 * sysdeps/x86_64/configure: Regenerated.
22491
a3f61311
AS
224922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22493
c876e002
AS
22494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22495
a3f61311
AS
22496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22497 denormal result into account.
22498
ac4c54f0
RM
224992012-03-25 Roland McGrath <roland@hack.frob.com>
22500
22501 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22502 Reported by Allan McRae <allan@archlinux.org>.
22503
6a9b9c02
JL
225042012-03-23 Jeff Law <law@redhat.com>
22505
22506 * nss/getnssent.c (__nss_getent): Fix typo.
22507
4c42a0c1
DM
225082012-03-23 David S. Miller <davem@davemloft.net>
22509
22510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22511
1532c7ac
L
225122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22513
22514 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22515 to pad to uint64_t for each field.
22516 (dl_tls_index): Replace unsigned long with uint64_t.
22517
3ff42526
PP
225182012-03-23 Daniel Jacobowitz <dmj@google.com>
22519 Paul Pluzhnikov <ppluzhnikov@google.com>
22520
22521 [BZ #6528]
22522 * grp/Makefile (otherlibs): Don't set it.
22523 * inet/Makefile (otherlibs): Likewise.
22524 * login/Makefile (otherlibs): Likewise.
22525 * nscd/Makefile (otherlibs): Likewise.
22526 * posix/Makefile (otherlibs): Likewise.
22527 * pwd/Makefile (otherlibs): Likewise.
22528 * rt/Makefile (otherlibs): Likewise.
22529 * sunrpc/Makefile (otherlibs): Likewise.
22530 * nss/Makefile (otherlibs): Likewise.
22531 Add libnss_files to routines and static-only-routines.
22532 ($(objpfx)getent): Remove rule.
22533 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22534 static-only-routines.
22535
7c69cd14
JM
225362012-03-22 Joseph Myers <joseph@codesourcery.com>
22537
22538 [BZ #13892]
22539 * math/s_cexp.c: Include <float.h>.
22540 (__cexp): Handle exp result overflowing not necessarily
22541 overflowing both real and imaginary parts of result.
22542 * math/s_cexpf.c: Likewise.
22543 * math/s_cexpl.c: Likewise.
22544 * math/libm-test.inc (cexp_test): Add more tests.
22545 * sysdeps/i386/fpu/libm-test-ulps: Update.
22546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547
81b035fe
L
225482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 * include/link.h (ELFW): New macro.
22551 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22552 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22553
1da7940c
L
225542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22557 with uint64_t.
22558
b749dbb9
L
225592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22562 declaration.
22563 (struct La_x32_retval): Likewise.
22564
2ff87f3f
L
225652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * sysdeps/x86_64/preconfigure.in: New file.
22568 * sysdeps/x86_64/preconfigure: New generated file.
22569
c0df8e69
JM
225702012-03-22 Joseph Myers <joseph@codesourcery.com>
22571
48e44791
JM
22572 [BZ #13824]
22573 * math/e_exp2l.c: Include <float.h>.
22574 (__ieee754_exp2l): Handle overflow and underflow cases
22575 separately. Only pass fractional part of argument to
22576 __ieee754_expl.
22577 * math/libm-test.inc (exp2_test): Add more tests.
22578
c0df8e69
JM
22579 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22580 negating x to take absolute value.
22581 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22582 Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22585 Likewise.
22586 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22587 computing low part if x was negated.
22588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22589
c8e43ba7
L
225902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22591
22592 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22593 la_x32_gnu_pltexit.
22594 (pltexit): Cast int_retval to ptrdiff_t.
22595 * elf/tst-auditmod3b.c: Likewise.
22596 * elf/tst-auditmod4b.c: Likewise.
22597 * elf/tst-auditmod5b.c: Likewise.
22598 * elf/tst-auditmod6b.c: Likewise.
22599 * elf/tst-auditmod6c.c: Likewise.
22600 * elf/tst-auditmod7b.c: Likewise.
22601
22602 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22603 and x32_gnu_pltexit.
22604
22605 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22606 __ELF_NATIVE_CLASS.
22607 (La_x32_regs): New macro.
22608 (La_x32_retval): Likewise.
22609 (la_x32_gnu_pltenter): New function prototype.
22610 (la_x32_gnu_pltexit): Likewise.
22611
7998fa78
AS
226122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22613
dcb33988
AS
22614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22615 exponent.
22616
233fc563
AS
22617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22618
7998fa78
AS
22619 * configure.in (libc_cv_cc_nofma): Check for option to disable
22620 generation of FMA instructions.
22621 * configure: Regenerate.
22622 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22623 * sysdeps/ieee754/dbl-64/Makefile: New file.
22624 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22625 Remove brandred-fma4.
22626 (CFLAGS-brandred-fma4.c): Remove.
22627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22628 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22629 define.
22630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22631 define.
22632
8e95c99a
L
226332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22634
22635 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22636 LLONG_MAX != LONG_MAX.
22637 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22638 (_fitoa_word): Likewise.
22639 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22640 LLONG_MAX != LONG_MAX.
22641 * stdio-common/_itowa.h: Include <_itoa.h>.
22642 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22643 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22644 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22645 only if not defined.
22646 (_ITOA_WORD_TYPE): Likewise.
22647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22648 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22649
6f4db457
DM
226502012-03-21 David S. Miller <davem@davemloft.net>
22651
22652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22653
7785fe5a
L
226542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22657 of x86_64 when setting libc_cv_slibdir, libdir and
22658 libc_cv_localedir.
22659 * sysdeps/unix/sysv/linux/configure: Regenerated.
22660
4535cd55
JM
226612012-03-21 Joseph Myers <joseph@codesourcery.com>
22662
22663 * manual/lang.texi (Old Varargs): Remove section.
22664 (How Variadic): Update menu.
22665 (va_start): Do not mention varargs.h.
22666
17228132
TS
226672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22668 Joseph Myers <joseph@codesourcery.com>
22669
22670 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22671 link test.
22672 * configure: Regenerated.
22673
8149f976
TS
226742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22675
05f3d1f6
UD
22676 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22677 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22678 conformtest.pl
8149f976 22679
1a4ac776
JM
226802012-03-21 Joseph Myers <joseph@codesourcery.com>
22681
be22ce65
JM
22682 * NOTES: Remove.
22683 * Makefile (files-for-dist): Remove NOTES.
22684 (NOTES): Remove rule.
22685 * README: Don't refer to NOTES.
22686 * manual/creature.texi: Don't include macros.texi.
22687 * manual/intro.texi (creature.texi): Remove comment referring to
22688 NOTES.
22689
40b601fb
JM
22690 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22691 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22692 * configure: Regenerated.
22693 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22694 LIBC_TRY_CC_OPTION.
22695 (libc_cv_as_i686): Likewise.
22696 (libc_cv_cc_avx): Likewise.
22697 (libc_cv_cc_sse2avx): Likewise.
22698 (libc_cv_cc_fma4): Likewise.
22699 (libc_cv_cc_novzeroupper): Likewise.
22700 * sysdeps/i386/configure: Regenerated.
22701
1a4ac776
JM
22702 [BZ #13883]
22703 * sysdeps/i386/fpu/s_cexp.S: Remove.
22704 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22705 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22706 * math/libm-test.inc (cexp_test): Add more tests.
22707 * sysdeps/i386/fpu/libm-test-ulps: Update.
22708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22709
a458e7fe
AM
227102012-03-21 Allan McRae <allan@archlinux.org>
22711
22712 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22713
0cb7efc5
JM
227142012-03-21 Joseph Myers <joseph@codesourcery.com>
22715
22716 [BZ #13871]
22717 * math/w_exp2.c: Do not include <float.h>.
22718 (o_threshold, u_threshold): Remove.
22719 (__exp2): Calculate result before checking finiteness and calling
22720 __kernel_standard.
22721 * math/w_exp2f.c: Likewise.
22722 * math/w_exp2l.c: Likewise.
22723 * math/libm-test.inc (exp2_test): Require overflow exception for
22724 1e6 input.
2460d3aa
JM
22725
22726 [BZ #3866]
22727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22728 range of signed 64-bit integers before using fistpll. Remove
22729 checks for whether integers fit in mantissa bits.
22730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22731 the range of signed 32-bit integers before using fistpl. Remove
22732 checks for whether integers fit in mantissa bits.
22733 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22734 (__ieee754_powl): Test for y outside the range of signed 64-bit
22735 integers before using fistpll. Reduce 64-bit values to 63-bit
22736 ones as needed.
22737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22738 divide-by-zero is raised for zero to large negative powers.
22739 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22740 (__ieee754_powl): Test for y outside the range of signed 64-bit
22741 integers before using fistpll. Reduce 64-bit values to 63-bit
22742 ones as needed.
22743 * math/libm-test.inc (pow_test): Add more tests.
22744
eb96ffb0
L
227452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22748 <stdio-common/_itoa.h>.
22749 * debug/segfault.c: Likewise.
22750 * elf/dl-cache.c: Likewise.
22751 * elf/dl-minimal.c: Likewise.
22752 * elf/dl-misc.c: Likewise.
22753 * elf/dl-sysdep.c: Likewise.
22754 * elf/dl-version.c: Likewise.
22755 * elf/rtld.c: Likewise.
22756 * hurd/hurdsock.c: Likewise.
22757 * hurd/lookup-retry.c: Likewise.
22758 * malloc/malloc.c: Likewise.
22759 * malloc/mtrace.c: Likewise.
22760 * nscd/nscd_getgr_r.c: Likewise.
22761 * nscd/nscd_getpw_r.c: Likewise.
22762 * nscd/nscd_getserv_r.c: Likewise.
22763 * posix/getopt_init.c: Likewise.
22764 * posix/wordexp.c: Likewise.
22765 * stdio-common/_itoa.c: Likewise.
22766 * stdio-common/printf_fphex.c: Likewise.
22767 * stdio-common/vfprintf.c: Likewise.
22768 * string/_strerror.c: Likewise.
22769 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22770 * sysdeps/i386/i686/hp-timing.h: Likewise.
22771 * sysdeps/mach/_strerror.c: Likewise.
22772 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22773 * sysdeps/mach/hurd/sethostid.c: Likewise.
22774 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22775 * sysdeps/mach/xpg-strerror.c: Likewise.
22776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22778 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22779 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22780 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22781 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22782 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22783 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22784 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22785 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22786 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22787 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22788 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22789 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22790 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22791 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22792 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22793 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22794 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22795 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22797
22798 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22799
22800 * stdio-common/_itoa.h: Moved to ...
22801 * sysdeps/generic/_itoa.h: Here.
22802
22803 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22804
22805 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22806 instead of "_itoa.h" and "_itowa.h".
22807 * stdio-common/vfprintf.: Likewise.
22808
d1af992d
L
228092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22810
22811 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22812 <bits/wordsize.h>.
22813 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22814 (__signbit): Likwise.
22815 (llrintf): Likwise.
22816 (llrint): Likwise.
22817
114883e0
L
228182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22819
22820 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22821 __WORDSIZE != 64.
22822
c135cc1b
JM
228232012-03-20 Joseph Myers <joseph@codesourcery.com>
22824
22825 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22826 OVERFLOW_EXCEPTION_OK.
22827 * math/libm-test.inc ("Philosophy"): Update comment about
22828 exception testing.
22829 (OVERFLOW_EXCEPTION): Define.
22830 (OVERFLOW_EXCEPTION_OK): Likewise.
22831 (INVALID_EXCEPTION_OK): Renumber.
22832 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22833 (IGNORE_ZERO_INF_SIGN): Likewise.
22834 (test_exceptions): Handle FE_OVERFLOW.
22835 (exp10_test): Expect overflow exceptions.
22836 (exp2_test): Likewise.
22837 (expm1_test): Likewise.
22838 (nextafter_test): Likewise.
22839 (pow_test): Likewise.
22840 (scalbn_test): Likewise.
22841 (scalbln_test): Likewise.
22842
95443d88
L
228432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 * sysdeps/x86_64/bits/atomic.h
22846 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22847 64bit integer.
22848 (atomic_exchange_acq): Likewise.
22849 (__arch_exchange_and_add_body): Likewise.
22850 (__arch_add_body): Likewise.
22851 (atomic_add_negative): Likewise.
22852 (atomic_add_zero): Likewise.
22853
490df6c4
L
228542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22855
c2722551 22856 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22857 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22858
5e52b189
L
228592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22860
22861 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22862 Check __x86_64__ instead of __WORDSIZE.
22863
a9879d4c
L
228642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22867
5df98260
DM
228682012-03-19 David S. Miller <davem@davemloft.net>
22869
e1497744
DM
22870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22871
5df98260
DM
22872 * sysdeps/sparc/fpu/fenv_private.h: New file.
22873 * sysdeps/sparc/fpu/math_private.h: Use it.
22874 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22875 Remove.
22876 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22877 (libc_feholdexcept_setroundl): Remove.
22878 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22879 Remove.
22880 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22881 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22882
b4c35121
L
228832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22886 int64_t instead of long int.
22887 (INSERT_WORDS64): Likwise.
22888
56965fd7
L
228892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22892 _Unwind_GetCFA return to _Unwind_Ptr first.
22893
83d1aec8
JM
228942012-03-19 Joseph Myers <joseph@codesourcery.com>
22895
1897ad44
JM
22896 [BZ #13629]
22897 * math/s_clog.c: Include <float.h>.
22898 (__clog): Scale large or subnormal inputs.
22899 * math/s_clogf.c: Likewise.
22900 * math/s_clogl.c: Likewise.
22901 * math/s_clog10.c: Include <float.h>.
22902 (M_LOG10_2): Define.
22903 (__clog10): Scale large or subnormal inputs.
22904 * math/s_clog10f.c: Likewise.
22905 * math/s_clog10l.c: Likewise.
22906 * math/libm-test.inc (clog_test): Add more tests.
22907 (clog10_test): Likewise.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22910
7726d6a9
JM
22911 [BZ #11451]
22912 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22913 x and y.
22914 * math/libm-test.inc (atan2_test): Add another test.
22915
83d1aec8
JM
22916 * Makerules (common-objdir-compile): Remove.
22917 * sysdeps/unix/Makefile (config-generated): Do not add
22918 $(unix-generated) to variable.
22919 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22920 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22921 Remove rule.
22922 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22923 Likewise.
22924 [generic bits/local_lim.h] (before-compile): Do not append to
22925 variable.
22926 [generic bits/local_lim.h] (common-generated): Likewise.
22927 [generic sys/param.h] (before-compile): Do not append to variable.
22928 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22929 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22930 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22932 include.
22933 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22934 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22935 [generic sys/param.h] ($(addprefix
22936 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22937 [generic sys/param.h] (common-generated): Do not append to
22938 variable.
22939 [generic sys/param.h] (sysdep_headers): Likewise.
22940 [generic bits/errno.h] (before-compile): Do not append to
22941 variable.
22942 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22943 rule.
22944 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22945 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22946 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22947 [generic bits/errno.h] (common-generated): Do not append to
22948 variable.
22949 [generic bits/ioctls.h] (before-compile): Do not append to
22950 variable.
22951 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22952 rule.
22953 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22954 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22955 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22956 rule.
22957 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22958 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22959 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22960 [generic bits/ioctls.h] (common-generated): Do not append to
22961 variable.
22962 [generic sys/syscall.h] (syscall.h): Remove variable.
22963 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22964 rule.
22965 [generic sys/syscall.h] (before-compile): Do not append to
22966 variable.
22967 [generic sys/syscall.h] (common-generated): Likewise.
22968 * sysdeps/unix/errnos-tmpl.c: Remove file.
22969 * sysdeps/unix/errnos.awk: Likewise.
22970 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22971 * sysdeps/unix/ioctls.awk: Likewise.
22972 * sysdeps/unix/mk-local_lim.c: Likewise.
22973 * sysdeps/unix/snarf-ioctls: Likewise.
22974
4851a949
RH
229752012-03-19 Richard Henderson <rth@twiddle.net>
22976
bd37f2ee
RH
22977 * sysdeps/i386/fpu/fenv_private.h: New file.
22978 * sysdeps/i386/fpu/math_private.h: Use it.
22979 (math_opt_barrier, math_force_eval): Remove.
22980 (libc_feholdexcept_setround_53bit): Remove.
22981 (libc_feupdateenv_53bit): Remove.
22982 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22983 (math_opt_barrier, math_force_eval): Remove.
22984 (libc_feholdexcept): Remove.
22985 (libc_feholdexcept_setround): Remove.
22986 (libc_fetestexcept, libc_fesetenv): Remove.
22987 (libc_feupdateenv_test): Remove.
22988 (libc_feupdateenv, libc_feholdsetround): Remove.
22989 (libc_feresetround): Remove.
22990
d0adc922
RH
22991 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22992 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22993
0fe0f1f8
RH
22994 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22995 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22996 (libc_feupdateenv_testl): New.
22997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22998 (libc_feupdateenv_testf): New.
22999 (libc_feupdateenv): Use libc_feupdateenv_test.
23000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23002
eb92c487
RH
23003 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23004 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23005 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23006 (libc_feresetround_noex): New.
23007 (libc_feresetround_noexf): New.
23008 (libc_feresetround_noexl): New.
23009 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23010 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23011 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23013 SET_RESTORE_ROUND.
23014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23016 (__cos): Likewise.
23017 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23019 SET_RESTORE_ROUND_NOEX.
23020 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23021 SET_RESTORE_ROUND_NOEXF.
23022 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23023 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23024 (libc_feholdsetroundf): New.
23025 (libc_feresetround, libc_feresetroundf): New.
23026
7d2e8012
RH
23027 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23028 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23029 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23030
b4dabbb4
RH
23031 * sysdeps/generic/math_private.h: Include <fenv.h>.
23032 (default_libc_feholdexcept): New.
23033 (default_libc_feholdexcept_setround): New.
23034 (default_libc_fesetenv, default_libc_feupdateenv): New.
23035 (libc_feholdexcept): Only define if undefined.
23036 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23037 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23038 (libc_feholdexcept_setroundl): Likewise.
23039 (libc_feholdexcept_setround_53bit): Likewise.
23040 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23041 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23042 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23043 (libc_feupdateenv_53bit): Likewise.
23044 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23045 (libc_feholdexcept): Convert from macro to inline function.
23046 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23047 (libc_fesetenv, libc_feupdateenv): Likewise.
23048
4851a949
RH
23049 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23050 not previously defined.
23051 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23052 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23053 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23054 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23055 * sysdeps/ieee754/flt-32/math_private.h: New file.
23056 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23057 math_private.h below SET_FLOAT_WORD.
23058 (__isnan, __isinf_ns, __finite): Remove.
23059 (__isnanf, __isinf_nsf, __finitef): Remove.
23060
e79d442e
AS
230612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23062
23063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23064
90b80344
DM
230652012-03-17 David S. Miller <davem@davemloft.net>
23066
23067 [BZ #6471]
23068 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23069 for 2.16.
23070
edc21804
DM
230712012-03-16 David S. Miller <davem@davemloft.net>
23072
77e927af
DM
23073 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23074 warnings.
23075
374976dd
DM
23076 [BZ #6471]
23077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23078 properly.
23079 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23080 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23081 sysdep_routines when subdir is sysvipc.
23082 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23083 __getshmlba helper.
23084
edc21804
DM
23085 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23086
473c3ef3
L
230872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23088
23089 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23090 [__LP64__].
23091
eb0f39b6
L
230922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23095 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23096 (__lround): Renamed to ...
23097 (__llround): This. Replace long int with long long int.
23098 Define lround functions as aliases of llround functions.
23099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23100
6b6cd74b
L
231012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23104 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23105 adresses to uintptr_t. Replace "long int" and "unsigned long
23106 int" with "greg_t" on va_arg.
23107
f1a77b01
L
231082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23111 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23112
23113 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23114 Move e_machine check before EI_CLASS check. Handle x32
23115 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23116 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23117 SKIP_EM_IA_64 and include
23118 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23119
23120 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23121 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23122 (add_system_dir): New macro.
23123
23124 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23125 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23126
11b90b9f
JM
231272012-03-16 Joseph Myers <joseph@codesourcery.com>
23128
c36e1d23
JM
23129 [BZ #2551]
23130 [BZ #2552]
23131 [BZ #2553]
23132 [BZ #2554]
23133 [BZ #2562]
23134 [BZ #2563]
23135 [BZ #2565]
23136 [BZ #2566]
23137 [BZ #2576]
23138 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23139 (y0): Likewise.
23140 * math/w_j0f.c (j0f): Likewise.
23141 (y0f): Likewise.
23142 * math/w_j0l.c (__j0l): Likewise.
23143 (__y0l): Likewise.
23144 * math/w_j1.c (j1): Likewise.
23145 (y1): Likewise.
23146 * math/w_j1f.c (j1f): Likewise.
23147 (y1f): Likewise.
23148 * math/w_j1l.c (__j1l): Likewise.
23149 (__y1l): Likewise.
23150 * math/w_jn.c (jn): Likewise.
23151 (yn): Likewise.
23152 * math/w_jnf.c (jnf): Likewise.
23153 (ynf): Likewise.
23154 * math/w_jnl.c (__jnl): Likewise.
23155 (__ynl): Likewise.
23156 * math/libm-test.inc (j0_test): Add more tests.
23157 (j1_test): Likewise.
23158 (jn_test): Likewise. Add trailing semicolon to existing test.
23159 (y0_test): Likewise.
23160 (y1_test): Likewise.
23161 * sysdeps/i386/fpu/libm-test-ulps: Update.
23162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23163
11b90b9f
JM
23164 [BZ #13851]
23165 [BZ #13854]
23166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23167 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23168 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23170 (__tanl): Set errno for infinite argument.
23171 * sysdeps/i386/fpu/mptan.c: Remove.
23172 * sysdeps/i386/fpu/s_tan.S: Likewise.
23173 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23174 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23175 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23176 * math/libm-test.inc (tan_test): Add more tests and enable more
23177 tests for double and long double.
23178 * sysdeps/i386/fpu/libm-test-ulps: Update.
23179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23180
6a1bd2a1
JK
231812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23182
23183 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23184 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23185
10a803e0
RM
231862012-03-16 Roland McGrath <roland@hack.frob.com>
23187
23188 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23189 * configure.in: Use it for both main tree and add-ons.
23190 * configure: Regenerated.
23191
f196c7f7
L
231922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23193
23194 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23195
8848d99d
JM
231962012-03-16 Joseph Myers <joseph@codesourcery.com>
23197
96cbe7f4
JM
23198 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23199 in comment.
23200
8848d99d
JM
23201 [BZ #13851]
23202 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23203 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23207 infinite argument.
23208 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23210 != 0 for prec == 2.
23211 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23212 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23213 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23214 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23215 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23216 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23217 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23218 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23219 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23220 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23221 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23222 * math/libm-test.inc (cos_test): Add more tests and enable more
23223 tests for long double.
23224 (sin_test): Likewise.
23225 (sincos_test): Likewise.
23226 * sysdeps/i386/fpu/libm-test-ulps: Update.
23227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23228
dd7f4703
DM
232292012-03-16 David S. Miller <davem@davemloft.net>
23230
23231 * sysdeps/sparc/fpu/math_private.h: New file.
23232
006f1daa
DM
232332012-03-15 David S. Miller <davem@davemloft.net>
23234
c0c83bc8
DM
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23236 file.
e6a62e18 23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23239 file.
e6a62e18
DM
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23246 sysdep routines.
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23248
88cb87d9
DM
23249 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23250 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23251
006f1daa 23252 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23254 sparc-ifunc.h
006f1daa 23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23257 Likewise.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23259 Likewise.
006f1daa
DM
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23264 Likewise.
006f1daa
DM
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23270 Likewise.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23272 Likewise.
006f1daa
DM
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23297
11e0098e
AS
232982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23299
23300 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23301 scaling.
23302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23303
e85b09d0
AJ
233042012-03-15 Andreas Jaeger <aj@suse.de>
23305
23306 [BZ #13852]
23307 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23308 ieee754/flt-32 implementation for sin, cos and sincos.
23309 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23310 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23311 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23312 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23313 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23314 ieee754/flt-32 implementation for tan.
23315
23316 * math/libm-test.inc (cos_test): Enable some large input tests for
23317 float as well
23318 (sin_test): Likewise.
23319 (sincos_test): Likewise.
23320 (tan_test): Add tests for large input.
23321
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23323
81c64153
AJ
233242012-03-15 Andreas Jaeger <aj@suse.de>
23325
23326 [BZ #13658]
23327 * math/libm-test.inc (cos_test): Add more test cases.
23328 (sin_test): Likewise.
23329 (sincos_test): Likewise.
23330
7bbfa5c6
AJ
233312012-03-15 Andreas Jaeger <aj@suse.de>
23332
23333 [BZ #13837]
23334 * math/libm-test.inc (cos_test): Add a test case for large input
23335 value.
23336 (sin_test): Likewise.
23337 (sincos_test): Likewise.
23338
233392012-03-15 Andreas Jaeger <aj@suse.de>,
23340 Joseph Myers <joseph@codesourcery.com>
23341
23342 [BZ #13658]
0671f479 23343 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23344 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23345 * sysdeps/i386/fpu/branred.c: Likewise.
23346 * sysdeps/i386/fpu/dosincos.c: Likewise.
23347 * sysdeps/i386/fpu/mpa.c: Likewise.
23348 * sysdeps/i386/fpu/s_cos.S: Likewise.
23349 * sysdeps/i386/fpu/s_sin.S: Likewise.
23350 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23351 * sysdeps/i386/fpu/sincos32.c: Likewise.
23352
23353 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23354 Define.
23355 (libc_feupdateenv_53bit): Define.
23356 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23357 Define.
23358 (libc_feupdateenv_53bit): Define.
23359
23360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23361 53 bit (without extend i386 double precision).
23362
23363 * math/libm-test.inc (sincos_test): Add tests for large input.
23364 (sin): Likewise.
23365 (cos): Likewise.
23366
23367 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23368
9cad04ea
AS
233692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23370
23371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23372
f7062b9a
DM
233732012-03-15 David S. Miller <davem@davemloft.net>
23374
23375 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23376 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23377 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23378 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23391 file.
f7062b9a 23392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23394 file.
f7062b9a 23395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23397 file.
f7062b9a 23398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23400 file.
f7062b9a
DM
23401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23403 fmin/fmax sysdep routines.
23404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23405
7bd951ff
DM
234062012-03-14 David S. Miller <davem@davemloft.net>
23407
559398ab
DM
23408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23437 routines.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23439 file.
559398ab 23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23442 file.
559398ab 23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23445 file.
559398ab 23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23448 file.
559398ab 23449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23451 file.
559398ab 23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23454 file.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23456 file.
23457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23458 file.
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23460 file.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23462 New file.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23464 file.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23466 file.
559398ab 23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23469 file.
559398ab 23470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23472 file.
559398ab 23473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23475 file.
559398ab 23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23478 VIS3 routines.
559398ab
DM
23479
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23481 New file.
23482
5a1c1e32
DM
23483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23484
eae47a36
DM
23485 * sysdeps/sparc/configure.in: New file.
23486 * sysdeps/sparc/configure: Generate.
23487 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23488 * configure: Regenerate.
23489 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23490 * config.make.in (have-as-vis3): New.
23491 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23492 available use -Av9d instead of -Av9a.
23493 * sysdeps/sparc/sparc64/Makefile: Likewise.
23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23496 New file.
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23498 file.
23499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23500 New file.
23501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23502 file.
eae47a36
DM
23503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23508
c0c83bc8
DM
23509 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23510 fzeros/fnegs to load 0x80000000 into a float register instead of
23511 using the stack.
7bd951ff
DM
23512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23513
bd951ccb
JM
235142012-03-14 Joseph Myers <joseph@codesourcery.com>
23515
23516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23517 bits/syscall.h.
23518 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23519 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23520 ($(inst_includedir)/bits/syscall.h): Remove rule.
23521 ($(objpfx)bits/syscall.d): Include instead of
23522 $(objpfx)syscall-list.d.
23523 (generated): Change syscall-list.h and syscall-list.d to
23524 bits/syscall.h and bits/syscall.d.
23525
bb4e6db2
RM
235262012-03-14 Roland McGrath <roland@hack.frob.com>
23527
23528 [BZ #13846]
23529 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23530
aa4a2ae1
JM
235312012-03-14 Joseph Myers <joseph@codesourcery.com>
23532
e456826d
JM
23533 [BZ #13841]
23534 * math/s_csqrt.c: Include <float.h>.
23535 (__csqrt): Scale large or subnormal inputs.
23536 * math/s_csqrtf.c: Likewise.
23537 * math/s_csqrtl.c: Likewise.
23538 * math/libm-test.inc (csqrt_test): Add more tests.
23539 * sysdeps/i386/fpu/libm-test-ulps: Update.
23540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23541
aa4a2ae1
JM
23542 [BZ #13840]
23543 * math/libm-test.inc (hypot_test): Add more tests.
23544
7c10fd35
DM
235452012-03-13 David S. Miller <davem@davemloft.net>
23546
23547 [BZ #13840]
23548 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23549 double-precision for the calculation instead of scaling.
23550
f453b98b
JM
235512012-03-13 Joseph Myers <joseph@codesourcery.com>
23552
23553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23554 manipulate bits before adding and subtracting TWO52[sx].
23555 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23557 Likewise.
23558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23559
09a3453f
DM
235602012-03-13 David S. Miller <davem@davemloft.net>
23561
8e59da90
DM
23562 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23563 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23565 rtld-global-offsets.h
23566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23567
2a8ab7f2
DM
23568 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23569 large parameters.
23570
10f62770
DM
23571 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23572
5f0bdb18
DM
23573 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23574 'err' in the ifdef scope in which it is actually used.
23575
09a3453f
DM
23576 * nss/nss_db/db-init.c: Include string.h
23577
b4b2eb5e
DM
235782012-03-12 David S. Miller <davem@davemloft.net>
23579
98bb2f1c
DM
23580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23581 masking out of the most significant byte of random value used.
23582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23583 Fix coding style in previous change.
23584
b4b2eb5e
DM
23585 * sysdeps/unix/sysv/linux/kernel-features.h
23586 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23587 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23588 expression.
23589 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23590 later.
23591
6e226b09
DM
235922012-03-11 David S. Miller <davem@davemloft.net>
23593
a1bcbd40
DM
23594 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23595 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23597 for 'resultvar' otherwise things get truncated on 64-bit.
23598
cb9d6174
DM
23599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23600 Fix masking out of the most significant byte of random value used.
23601
6e226b09
DM
23602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23603
058c132d
AS
236042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23605
23606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23607
2d2cd515
DM
236082012-03-09 David S. Miller <davem@davemloft.net>
23609
23610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23611 variables with appropriate CPP guards.
23612 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23613 frame pointer, not the stack pointer. Correct layout comments. Fix test
23614 on resulting framesize and the management of the outregs buffer for pltexit.
23615 Preserve floating point return values across _dl_call_pltexit call.
23616 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23617 framesize and the management of the outregs buffer for pltexit.
23618 Preserve floating point return values across _dl_call_pltexit
23619 call.
23620 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23621 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23622 (print_exit): Fix format string for return register value.
23623
9a07f9d0
JM
236242012-03-10 Joseph Myers <joseph@codesourcery.com>
23625
23626 * sunrpc/Makefile (others): Add rpcgen.
23627 ($(objpfx)rpcgen): Remove special build rule and dependency on
23628 libc.
23629 * sunrpc/rpcgen.c: New file.
23630
547b5e30
PE
236312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23632
c524201a
PE
23633 [BZ #13673]
23634 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23635 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23636 * sysdeps/i386/crti.S: Likewise.
23637 * sysdeps/i386/crtn.S: Likewise.
23638 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23639 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23640 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23642 * sysdeps/sh/crti.S: Likewise.
23643 * sysdeps/sh/crtn.S: Likewise.
23644 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23645
7b6235f2
PE
23646 [BZ #13673]
23647 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23648 with URL.
23649 * locale/programs/locfile-kw.gperf: Likewise.
23650 * locale/programs/charmap-kw.h: Regenerated.
23651 * locale/programs/locfile-kw.h: Likewise.
23652
547b5e30
PE
23653 [BZ #13673]
23654 * intl/plural.y: Replace FSF snail mail address with URL.
23655 * intl/plural.c: Regenerated.
23656
5f0a5dae
RH
236572012-03-09 Richard Henderson <rth@twiddle.net>
23658
23659 * include/math_private.h: Remove file.
23660 * math/math_private.h: Move file ...
23661 * sysdeps/generic/math_private.h: ... here.
23662
b8c03620
RH
23663 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23664 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23666
4e234f5d 23667 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23668 and <math_private.h>.
23669 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23670 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23757 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23760 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23761 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23763 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23764 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23766 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23769 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23770 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23771 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23772 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23774 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23779 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23786 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23787 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23797 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23799 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23801 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23802 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23803 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23804 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23806 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23807 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23809 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23810 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23812 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23813 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23814 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23815 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23817 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23818 * sysdeps/ieee754/k_standard.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23831 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23832 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23938 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23939 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23979 * sysdeps/ieee754/s_lib_version.c: Likewise.
23980 * sysdeps/ieee754/s_matherr.c: Likewise.
23981 * sysdeps/ieee754/s_signgam.c: Likewise.
23982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23984 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23985 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23986 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23987 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23988 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23989 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23990 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23991 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23992 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23993 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23994 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23995 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23996 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23997 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23999 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24000 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24001 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24003
1991fa03
JM
240042012-03-09 Joseph Myers <joseph@codesourcery.com>
24005
24006 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24007 * sunrpc/rpc_main.c: Likewise.
24008 * sunrpc/rpc_svcout.c: Likewise.
24009
60d6f5a6
DM
240102012-03-09 David S. Miller <davem@davemloft.net>
24011
24012 * include/math_private.h: New file.
24013
4962050e
JM
240142012-03-09 Joseph Myers <joseph@codesourcery.com>
24015
02a6f887
JM
24016 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24017 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24018 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24019 from <bits/socket_type.h>.
24020 (enum __socket_type): Don't define here.
24021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24023 bits/socket_type.h.
24024
c6e013c1
JM
24025 [BZ #13566]
24026 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24027 checking __USE_GNU.
24028
4962050e
JM
24029 * Makerules ($(inst_includedir)/%.h): New rule.
24030 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24031 (install-others): Remove variable setting.
24032 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24033
38842f45
RH
240342012-03-08 Richard Henderson <rth@twiddle.net>
24035
67bb6da6
RH
24036 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24037 from macro to inline function; merge with the
24038 !__LIBC_INTERNAL_MATH_INLINES version.
24039 (__ieee754_sqrtf): Likewise.
24040
15194b4b
RH
24041 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24042 to inline function.
24043 (__rintf, __floor, __floorf): Likewise.
24044
64e21ede
RH
24045 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24046 macro to inline function.
24047 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24048
38842f45
RH
24049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24050 not <math/math_private.h>.
24051
c64bf5fe
DM
240522012-03-08 David S. Miller <davem@davemloft.net>
24053
24054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24055 copyright year.
24056 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24057
82d86f28
TS
240582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24059
24060 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24061 normalization.
24062 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24063 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24064
aea5d727
UD
240652012-03-08 Ulrich Drepper <drepper@gmail.com>
24066
24067 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24068 be defined individually, they must be defined as a block. Define
24069 S for printing a string instead of hidint the different by using a
24070 macro for adding the 'l'.
24071 * stdio-common/tst-fphex-wide.c: Adjust.
24072
70bca0a3
MP
240732012-03-07 Marek Polacek <polacek@redhat.com>
24074
24075 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24076
65b81130
MP
240772012-03-08 Marek Polacek <polacek@redhat.com>
24078
24079 [BZ #13806]
24080 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24081 * stdio-common/tst-fphex.c: Define a few macros to make the
24082 test reusable. Use them.
24083 * stdio-common/tst-fphex-wide.c: New file.
24084
07037eeb
JM
240852012-03-08 Joseph Myers <joseph@codesourcery.com>
24086
a7a93d50
JM
24087 [BZ #6911]
24088 * manual/macros.texi (gnusystems): New macro.
24089 (nongnusystems): Likewise.
24090 (gnulinuxhurdsystems): Likewise.
24091 (gnuhurdsystems): Likewise..
24092 (gnulinuxsystems): Likewise.
24093 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24094 variants of the GNU system, not "GNU system".
24095 * manual/conf.texi: Likewise.
24096 * manual/errno.texi: Likewise. Update example of errno macro
24097 expansion.
24098 * manual/filesys.texi: Likewise.
24099 (getumask): Document as specific to GNU/Hurd.
24100 * manual/install.texi: Likewise. Reword some references to
24101 GNU/Linux.
24102 * manual/intro.texi: Likewise.
24103 * manual/io.texi: Likewise.
24104 (File Name Portability): Detail which constraints are inapplicable
24105 to all GNU systems and which are only inapplicable to GNU/Hurd.
24106 * manual/job.texi: Likewise.
24107 * manual/llio.texi: Likewise.
24108 (O_NOCTTY): Document as present on GNU/Linux.
24109 * manual/maint.texi: Likewise.
24110 * manual/memory.texi: Likewise.
24111 * manual/pattern.texi: Likewise.
24112 * manual/pipe.texi: Likewise.
24113 * manual/process.texi: Likewise.
24114 * manual/resource.texi: Likewise.
24115 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24116 child on GNU/Hurd.
24117 * manual/setjmp.texi: Likewise.
24118 * manual/signal.texi: Likewise.
24119 * manual/startup.texi: Likewise.
24120 * manual/stdio.texi: Likewise.
24121 * manual/terminal.texi: Likewise.
24122 (ONLCR): Document as POSIX.
24123 (OXTABS): Document availability on GNU/Linux as XTABS.
24124 (ONOEOT): Document availability separately from other bits.
24125 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24126 * manual/time.texi: Likewise.
24127 * manual/users.texi: Likewise.
24128 * INSTALL: Regenerated.
24129 * sysdeps/gnu/errlist.c: Regenerated.
24130
07037eeb
JM
24131 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24132 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24133 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24134 puts.
24135 * configure: Regenerated.
24136
d1d3431a
JM
241372012-03-07 Joseph Myers <joseph@codesourcery.com>
24138
af6a1e37
JM
24139 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24140 default includes instead of AC_HEADER_CHECK.
24141 * sysdeps/i386/configure: Regenerated.
24142
d1d3431a
JM
24143 [BZ #10716]
24144 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24145 * math/s_cacoshf.c (__cacoshf): Likewise.
24146 * math/s_cacoshl.c (__cacoshl): Likewise.
24147 * math/s_casinh.c (__casinh): Set signs of result from argument.
24148 * math/s_casinhf.c (__casinhf): Likewise.
24149 * math/s_casinhl.c (__casinhl): Likewise.
24150 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24151 (casinh_test): Add more tests.
24152 * sysdeps/i386/fpu/libm-test-ulps: Update.
24153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154
482ff4da
UD
241552012-03-07 Ulrich Drepper <drepper@gmail.com>
24156
872fda05
UD
24157 * po/zh_TW.po: Update from translation team.
24158
a4300c7a
UD
24159 * login/Makefile (distribute): Remove variable.
24160 * catgets/Makefile: Likewise.
24161 * mach/Makefile: Likewise.
24162 * malloc/Makefile: Likewise.
24163 * misc/Makefile: Likewise.
24164 * iconv/Makefile: Likewise.
24165 * nscd/Makefile: Likewise.
24166 * hurd/Makefile: Likewise.
24167 * manual/Makefile: Likewise.
24168 * locale/Makefile: Likewise.
24169 * intl/Makefile: Likewise.
24170 * conform/Makefile: Likewise.
24171 * nss/Makefile: Likewise.
24172 * time/Makefile: Likewise.
24173 * soft-fp/Makefile: Likewise.
24174 * dirent/Makefile: Likewise.
24175 * gmon/Makefile: Likewise.
24176 * po/Makefile: Likewise.
24177 * rt/Makefile: Likewise.
24178 * socket/Makefile: Likewise.
24179 * math/Makefile: Likewise.
24180 * signal/Makefile: Likewise.
24181 * debug/Makefile: Likewise.
24182 * elf/Makefile: Likewise.
24183 * timezone/Makefile: Likewise.
24184 * stdlib/Makefile: Likewise.
24185 * iconvdata/Makefile: Likewise.
24186 * sunrpc/Makefile: Likewise.
24187 * io/Makefile: Likewise.
24188 * argp/Makefile: Likewise.
24189 * inet/Makefile: Likewise.
24190 * hesiod/Makefile: Likewise.
24191 * grp/Makefile: Likewise.
24192 * csu/Makefile: Likewise.
24193 * wctype/Makefile: Likewise.
24194 * crypt/Makefile: Likewise.
24195 * libio/Makefile: Likewise.
24196 * string/Makefile: Likewise.
24197 * nis/Makefile: Likewise.
24198 * resolv/Makefile: Likewise.
24199 * stdio-common/Makefile: Likewise.
24200 * wcsmbs/Makefile: Likewise.
24201 * dlfcn/Makefile: Likewise.
24202 * posix/Makefile: Likewise.
24203
3b7c4e74 24204 [BZ #6959]
482ff4da
UD
24205 * timezone/Makefile: Don't install timezone files, just the programs
24206 and scripts.
24207
f72ed77d
UD
242082012-03-06 Ulrich Drepper <drepper@gmail.com>
24209
a000466f
UD
24210 * nss/databases.def: Add missing gshadow entry.
24211
f72ed77d
UD
24212 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24213
a53b7a4e
MP
242142012-03-06 Marek Polacek <polacek@redhat.com>
24215
24216 [BZ #13726]
24217 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24218 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24219 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24220 * stdio-common/tst-long-dbl-fphex.c: New file.
24221
e9258400
DM
242222012-03-06 David S. Miller <davem@davemloft.net>
24223
24224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24225 (set_obp_int): New function.
24226 (get_obp_int): New function.
24227 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24228 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24229 Avoid unused variable warnings on 'val' and use builtin_expect.
24230 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24231 __builtin_expect.
e9258400
DM
24232 (INLINE_CLONE_SYSCALL): Likewise.
24233
3bd2c723
DM
242342012-03-05 David S. Miller <davem@davemloft.net>
24235
24236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24237
bbb78d03
AS
242382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24239
884c5db4
AS
24240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24241
bbb78d03
AS
24242 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24243 only for |x| >= 40.
24244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24245
1c9f702a 242462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24247
24248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24249 Replace gettimeofday with __vdso_gettimeofday.
24250
7be16f82
RM
24251 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24252 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24253 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24254
24255 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24256 time with __vdso_time.
24257
ed58a00f
JM
242582012-03-05 Joseph Myers <joseph@codesourcery.com>
24259
24260 * manual/lang.texi (size_t): Note types to which size_t may be
24261 equivalent with the GNU C Library, but do not describe when
24262 differences between them are significant.
24263
30ee4ced
AJ
242642012-03-05 Andreas Jaeger <aj@suse.de>
24265
24266 * sysdeps/i386/fpu/libm-test-ulps: Update.
24267
b7cd39e8
JM
242682012-03-05 Joseph Myers <joseph@codesourcery.com>
24269
24270 [BZ #3976]
24271 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24272 (__ieee754_pow): Save and restore rounding mode and use
24273 round-to-nearest for main computations.
24274 * math/libm-test.inc (pow_test_tonearest): New function.
24275 (pow_test_towardzero): Likewise.
24276 (pow_test_downward): Likewise.
24277 (pow_test_upward): Likewise.
24278 (main): Call the new functions.
24279 * sysdeps/i386/fpu/libm-test-ulps: Update.
24280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24281
24282 [BZ #3976]
24283 * math/libm-test.inc (cosh_test_tonearest): New function.
24284 (cosh_test_towardzero): Likewise.
24285 (cosh_test_downward): Likewise.
24286 (cosh_test_upward): Likewise.
24287 (sinh_test_tonearest): Likewise.
24288 (sinh_test_towardzero): Likewise.
24289 (sinh_test_downward): Likewise.
24290 (sinh_test_upward): Likewise.
24291 (main): Call the new functions.
24292 * sysdeps/i386/fpu/libm-test-ulps: Update.
24293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24294
6c6a98c9
TV
242952012-03-05 Tom de Vries <tom@codesourcery.com>
24296
24297 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24298 default stack guard is set in last bytes.
24299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24300
21bb2d2e 243012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24302
21bb2d2e 24303 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24304
21bb2d2e
AJ
24305 [BZ #13656]
24306 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24307 possibly allocate from heap instead of stack.
24308 * stdio-common/bug-vfprintf-nargs.c: New file.
24309 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24310
c6922934
AS
243112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24312
24313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24314
bc957d53
MP
243152012-03-03 Marek Polacek <polacek@redhat.com>
24316
24317 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24318 * math/math_private.h: Likewise.
24319 * stdlib/tst-strtod.c: Likewise.
24320 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24321 * sysdeps/x86_64/bits/atomic.h: Likewise.
24322
6358490d
DM
243232012-03-02 David S. Miller <davem@davemloft.net>
24324
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24329 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24330 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24331 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24332 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24333
01ae168d
RM
243342012-03-02 Roland McGrath <roland@hack.frob.com>
24335
d9a17c07
RM
24336 [BZ #13792]
24337 * manual/examples/README: New file, says the example source files
24338 can be used under GPL>=2.
24339 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24340 line containing just "*/".
24341 * manual/examples/add.c: Add copyright header (GPL>=2).
24342 * manual/examples/argp-ex1.c: Likewise.
24343 * manual/examples/argp-ex2.c: Likewise.
24344 * manual/examples/argp-ex3.c: Likewise.
24345 * manual/examples/argp-ex4.c: Likewise.
24346 * manual/examples/atexit.c: Likewise.
24347 * manual/examples/db.c: Likewise.
24348 * manual/examples/dir.c: Likewise.
24349 * manual/examples/dir2.c: Likewise.
24350 * manual/examples/execinfo.c: Likewise.
24351 * manual/examples/filecli.c: Likewise.
24352 * manual/examples/filesrv.c: Likewise.
24353 * manual/examples/fmtmsgexpl.c: Likewise.
24354 * manual/examples/genpass.c: Likewise.
24355 * manual/examples/inetcli.c: Likewise.
24356 * manual/examples/inetsrv.c: Likewise.
24357 * manual/examples/isockad.c: Likewise.
24358 * manual/examples/longopt.c: Likewise.
24359 * manual/examples/memopen.c: Likewise.
24360 * manual/examples/memstrm.c: Likewise.
24361 * manual/examples/mkfsock.c: Likewise.
24362 * manual/examples/mkisock.c: Likewise.
24363 * manual/examples/mygetpass.c: Likewise.
24364 * manual/examples/pipe.c: Likewise.
24365 * manual/examples/popen.c: Likewise.
24366 * manual/examples/rprintf.c: Likewise.
24367 * manual/examples/search.c: Likewise.
24368 * manual/examples/select.c: Likewise.
24369 * manual/examples/setjmp.c: Likewise.
24370 * manual/examples/sigh1.c: Likewise.
24371 * manual/examples/sigusr.c: Likewise.
24372 * manual/examples/stpcpy.c: Likewise.
24373 * manual/examples/strdupa.c: Likewise.
24374 * manual/examples/strftim.c: Likewise.
24375 * manual/examples/strncat.c: Likewise.
24376 * manual/examples/subopt.c: Likewise.
24377 * manual/examples/swapcontext.c: Likewise.
24378 * manual/examples/termios.c: Likewise.
24379 * manual/examples/testopt.c: Likewise.
24380 * manual/examples/testpass.c: Likewise.
24381 * manual/examples/timeval_subtract.c: Likewise.
24382
01ae168d
RM
24383 [BZ #13792]
24384 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24385 function to ...
24386 * manual/timeval_subtract.c.texi: ... here, new file.
24387
49efa33d
DM
243882012-03-02 David S. Miller <davem@davemloft.net>
24389
24390 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24391
28afd92d
JM
243922012-03-02 Joseph Myers <joseph@codesourcery.com>
24393
804360ed
JM
24394 [BZ #3976]
24395 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24396 (__sin): Save and restore rounding mode and use round-to-nearest
24397 for all computations.
24398 (__cos): Save and restore rounding mode and use round-to-nearest
24399 for all computations.
24400 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24401 <fenv.h>.
24402 (tan): Save and restore rounding mode and use round-to-nearest for
24403 all computations.
24404 * math/libm-test.inc (cos_test_tonearest): New function.
24405 (cos_test_towardzero): Likewise.
24406 (cos_test_downward): Likewise.
24407 (cos_test_upward): Likewise.
24408 (sin_test_tonearest): Likewise.
24409 (sin_test_towardzero): Likewise.
24410 (sin_test_downward): Likewise.
24411 (sin_test_upward): Likewise.
24412 (tan_test_tonearest): Likewise.
24413 (tan_test_towardzero): Likewise.
24414 (tan_test_downward): Likewise.
24415 (tan_test_upward): Likewise.
24416 (main): Call the new functions.
24417 * sysdeps/i386/fpu/libm-test-ulps: Update.
24418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24419
a6d06d7b
JM
24420 [BZ #10135]
24421 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24422 small n, then large n, before computing and testing k+n.
24423 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24425 Likewise.
24426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24427 Likewise.
24428 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24429 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24436 * math/libm-test.inc (scalbn_test): Add more tests.
24437 (scalbln_test): Likewise.
24438
07e12bb3
JM
24439 * manual/filesys.texi (mode_t): Describe constraints on size and
24440 signedness, not exact equivalence to a particular type.
24441 (ino_t): Likewise.
24442 (ino64_t): Likewise.
24443 (dev_t): Likewise.
24444 (nlink_t): Likewise.
24445 (blkcnt_t): Likewise.
24446 (blkcnt64_t): Likewise.
24447 * manual/llio.texi (off_t): Likewise.
24448
28afd92d
JM
24449 [BZ #3976]
24450 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24451 (__ieee754_exp): Save and restore rounding mode and use
24452 round-to-nearest for all computations.
24453 * math/libm-test.inc (exp_test_tonearest): New function.
24454 (exp_test_towardzero): Likewise.
24455 (exp_test_downward): Likewise.
24456 (exp_test_upward): Likewise.
24457 (main): Call the new functions.
24458 * sysdeps/i386/fpu/libm-test-ulps: Update.
24459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24460
b1eeb65d
CD
244612012-03-01 Chris Demetriou <cgd@google.com>
24462
24463 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24464 have predictable order.
24465
53362a4b
DM
244662012-03-01 David S. Miller <davem@davemloft.net>
24467
3c969083
DM
24468 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24469
759707de
DM
24470 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24471 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24472 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24473 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24474
dfdb8ff2
DM
24475 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24476 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24477 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24479 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24480 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24481 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24482 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24483 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24484
ead89f96
DM
24485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24486
7f66bd07
DM
24487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24488 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24489 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24490
53362a4b
DM
24491 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24492 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24493 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24494 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24495 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24498 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24499 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24500 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24501 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24507 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24508 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24509 * sysdeps/sparc/elf/configure: Regenerated.
24510
7b1902cb
JM
245112012-03-01 Joseph Myers <joseph@codesourcery.com>
24512
bec039bc
JM
24513 * configure.in (AS, LD): Require binutils 2.20 or later.
24514 * configure: Regenerated.
24515 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24516 as required minimum version.
24517 * INSTALL: Regenerated.
24518
7b1902cb
JM
24519 [BZ #2541]
24520 [BZ #4108]
24521 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24522 before squaring exponent.
24523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24524 bottom long double and 27 bits of top long double before squaring
24525 exponent.
24526 * math/libm-test.inc (erfc_test): Add more tests.
24527 * sysdeps/i386/fpu/libm-test-ulps: Update.
24528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24530
f775c276
KT
245312012-03-01 Kai Tietz <ktietz@redhat.com>
24532
24533 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24534 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24535 containing bit-fields.
24536 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24537 * soft-fp/single.h (_FP_UNION_S): Likewise.
24538 * soft-fp/double.h (_FP_UNION_D): Likewise.
24539
5b8a4d4a
JM
245402012-02-29 Joseph Myers <joseph@codesourcery.com>
24541
0bab47b6
JM
24542 [BZ #13786]
24543 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24544 not include ../strcmp.S.
24545 [USE_AS_STRNCASECMP_L]: Likewise.
24546 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24547 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24548 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24549 (__strncasecmp_l_ia32): Define as alias to
24550 __strncasecmp_l_nonascii.
24551
0fcad3e2
JM
24552 [BZ #5794]
24553 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24554 * sysdeps/i386/fpu/libm-test-ulps: Update.
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24556
5b8a4d4a
JM
24557 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559
8fdceb2e
JL
245602012-02-29 Jeff Law <law@redhat.com>
24561
24562 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24563 out of bounds read.
24564
1f393a11
MP
245652012-02-29 Marek Polacek <polacek@redhat.com>
24566
24567 [BZ #13706]
24568 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24569 * elf/Makefile: Add rules to run tst-unused-dep.out.
24570
8847f037
DM
245712012-02-28 David S. Miller <davem@davemloft.net>
24572
24573 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24574 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24577 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24578 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24579
169d7f11
JM
245802012-02-29 Joseph Myers <joseph@codesourcery.com>
24581
24582 * math/libm-test.inc (llround_test): Move one test from
24583 lround_test. Use TEST_f_L in moved test.
24584 (lround_test): Move misplaced test to llround_test. Add testcase
24585 from bug 2561.
24586
39adf059
UD
245872012-02-28 Ulrich Drepper <drepper@gmail.com>
24588
24589 * sysdeps/x86_64/fpu/e_expf.S: New file.
24590 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24591
71b5d1c5
SB
245922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24593
24594 [BZ #13637]
24595 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24596 of remain_len that may cause incomplete multi-byte character and
24597 false match.
24598 * posix/bug-regex33.c: New file.
24599 * posix/Makefile (tests): Add bug-regex33.
24600
1f77f049
JM
246012012-02-28 Joseph Myers <joseph@codesourcery.com>
24602
24603 * manual/macros.texi: New file.
24604 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24605 * manual/libc.texinfo: Include macros.texi.
24606 * manual/creatute.texi: Likewise.
24607 * manual/install.texi: Likewise.
24608 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24609 @glibcadj{} in references to the GNU C Library.
24610 * manual/charset.texi: Likewise.
24611 * manual/conf.texi: Likewise.
24612 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24613 when not using those macros.
24614 * manual/creature.texi: Likewise.
24615 * manual/crypt.texi: Likewise.
24616 * manual/errno.texi: Likewise.
24617 * manual/filesys.texi: Likewise.
24618 * manual/header.texi: Likewise.
24619 * manual/install.texi: Likewise.
24620 * manual/intro.texi: Likewise.
24621 * manual/io.texi: Likewise.
24622 * manual/job.texi: Likewise.
24623 * manual/lang.texi: Likewise.
24624 * manual/libc.texiinfo: Likewise.
24625 * manual/llio.texi: Likewise.
24626 * manual/locale.texi: Likewise.
24627 * manual/maint.texi: Likewise.
24628 * manual/math.texi: Likewise.
24629 * manual/memory.texi: Likewise.
24630 * manual/message.texi: Likewise.
24631 * manual/nss.texi: Likewise.
24632 * manual/pattern.texi: Likewise.
24633 * manual/process.texi: Likewise.
24634 * manual/resource.texi: Likewise.
24635 * manual/search.texi: Likewise.
24636 * manual/setjmp.texi: Likewise.
24637 * manual/signal.texi: Likewise.
24638 * manual/socket.texi: Likewise.
24639 * manual/startup.texi: Likewise.
24640 * manual/stdio.texi: Likewise.
24641 * manual/string.texi: Likewise.
24642 * manual/sysinfo.texi: Likewise.
24643 * manual/syslog.texi: Likewise.
24644 * manual/terminal.texi: Likewise.
24645 * manual/time.texi: Likewise.
24646 * manual/users.texi: Likewise.
24647 * INSTALL: Regenerated.
24648 * NOTES: Regenerated.
d40c5d54 24649 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24650
450bf206
AS
246512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24652
24653 * include/dirent.h: Include <dirstream.h> before
24654 <dirent/dirent.h>.
24655
741a235b
DM
246562012-02-28 David S. Miller <davem@davemloft.net>
24657
24658 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24659 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24660 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24662
d6b5aa58
DM
246632012-02-27 David S. Miller <davem@davemloft.net>
24664
1aff59a3
DM
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24668 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24669
d6b5aa58
DM
24670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24671 frame pointer instead of stack pointer relative arg slot.
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24673 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24674 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24675
433f48bf
CD
246762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24677
24678 [BZ #3992]
24679 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24680
d674b76d
DM
246812012-02-27 David S. Miller <davem@davemloft.net>
24682
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24689 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24691
0e7727f7
JM
246922012-02-27 Joseph Myers <joseph@codesourcery.com>
24693
24694 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24695 later. Allow versions 5-9.
43be4ca2 24696 * configure: Regenerated.
0e7727f7
JM
24697 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24698 required minimum version and 4.6 as recommended version. Do not
24699 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24700 * INSTALL: Regenerated.
0e7727f7 24701
a78bc654
DM
247022012-02-27 David S. Miller <davem@davemloft.net>
24703
428d5830
DM
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24708 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24709 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24710 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24711 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24712
a78bc654
DM
24713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24714 manipulate bits before adding and subtracting TWO112[sx].
24715 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24716
4579f81c
RM
247172012-02-27 Roland McGrath <roland@hack.frob.com>
24718
36c8acb4
RM
24719 [BZ #13775]
24720 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24721 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24722 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24723 being in POSIX, because they are in 1003.1-2008.
24724
84ad622b
RM
24725 * rt/tst-aio.c: Include <fcntl.h>.
24726 * rt/tst-aio7.c: Likewise.
24727 * rt/tst-aio64.c: Likewise.
24728
4579f81c
RM
24729 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24730
abd923db
JM
247312012-02-27 Joseph Myers <joseph@codesourcery.com>
24732
24733 * manual/install.texi (--with-headers): Describe headers as
24734 interface headers, not private headers.
24735 (Specific advice for GNU/Linux systems): Describe use of headers
24736 from "make headers_install", not private headers from older
24737 kernels.
43be4ca2 24738 * INSTALL: Regenerated.
abd923db
JM
24739 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24740 Change to 2.6.19.
24741 * sysdeps/unix/sysv/linux/configure: Regenerated.
24742
6664049b
JM
24743 * manual/llio.texi (fclean): Remove documentation.
24744
bb8b6697
JM
24745 * manual/Makefile (libc-texi-generated): New variable. Include
24746 version.texi.
24747 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24748 $(libc-texi-generated), not duplicated list of files.
24749 (version.texi, stamp-version): New rules.
24750 (realclean): Remove $(libc-texi-generated), not individual files
24751 from that list. Do not remove dir-add.texinfo.
24752 * manual/libc.texinfo: Comment out uses of edition numbers and
24753 references to printed manual. Remove last-updated dates.
24754 (EDITION): Comment out.
24755 (ISBN): Likewise.
24756 (VERSION, UPDATED): Remove.
24757 (version.texi): Include.
24758
12e5c3b9
AS
247592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24760
24761 * sysdeps/posix/spawni.c: Include <signal.h>.
24762 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24763 * sysdeps/pthread/aio_fsync.c: Likewise.
24764
4efeffc1 247652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24766
ba63ba08
UD
24767 * conform/Makefile (tests): Run only when not cross-compiling and
24768 when fast-check is not defined.
24769
d94a4670
UD
24770 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24771 * conform/data/limits.h-data: Fixes for POSIX2008.
24772 * conform/run-conformtest.sh: Run all tests.
24773 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24774 headers.
24775 * include/bits/dlfcn.h: Likewise.
24776 * include/langinfo.h: Likewise.
24777 * include/monetary.h: Likewise.
24778 * include/sys/poll.h: Likewise.
24779
24780 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24781 for __USE_GNU.
24782 * posix/spawn.h: Define __need_sigset_t.
24783 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24784 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24785 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24786 to get sigevent_t only.
24787 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24788 only for __USE_GNU.
24789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24790 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24791 process_vm_writev only for __USE_GNU.
24792 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24793
24794 * conform/Makefile: For now ignore errors from run-conformtest.
24795 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24796 POSIX to avoid namespace pollution. Don't prepend headers.
24797 * conform/data/aio.h-data: Fixes for POSIX testing.
24798 * conform/data/fcntl.h-data: Likewise.
24799 * conform/data/glob.h-data: Likewise.
24800 * conform/data/grp.h-data: Likewise.
24801 * conform/data/pthread.h-data: Likewise.
24802 * conform/data/pwd.h-data: Likewise.
24803 * conform/data/signal.h-data: Likewise.
24804 * conform/data/spawn.h-data: Likewise.
24805 * conform/data/stdio.h-data: Likewise.
24806 * conform/data/stdlib.h-data: Likewise.
24807 * conform/data/stropts.h-data: Likewise.
24808 * conform/data/sys/mman.h-data: Likewise.
24809 * conform/data/sys/stat.h-data: Likewise.
24810 * conform/data/sys/types.h-data: Likewise.
24811 * conform/data/sys/wait.h-data: Likewise.
24812 * conform/data/time.h-data: Likewise.
24813 * conform/data/unistd.h-data: Likewise.
24814 * conform/data/utime.h-data: Likewise.
24815
24816 * io/sys/stat.h: fchmod was always in POSIX.
24817 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24818 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24819 * rt/aio.h: Define __need_timespec before including <time.h>.
24820 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24821 struct. Add forward declaration of pthread_attr_t and use it in
24822 sigevent.
24823 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24825 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24826 always remove CLK_TCK definition.
24827
c20105c3
AS
248282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24829
24830 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24831
7a270350
UD
248322012-02-25 Ulrich Drepper <drepper@gmail.com>
24833
31341567
UD
24834 * conform/run-conformtest.sh: New file.
24835 * conform/Makefile: Run run-conformtest for tests.
24836 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24837 support.
24838
24839 * conform/data/uchar.h-data: New file.
24840 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24841 * conform/data/arpa/inet.h-data: Likewise.
24842 * conform/data/assert.h-data: Likewise.
24843 * conform/data/complex.h-data: Likewise.
24844 * conform/data/cpio.h-data: Likewise.
24845 * conform/data/ctype.h-data: Likewise.
24846 * conform/data/dirent.h-data: Likewise.
24847 * conform/data/dlfcn.h-data: Likewise.
24848 * conform/data/errno.h-data: Likewise.
24849 * conform/data/fcntl.h-data: Likewise.
24850 * conform/data/float.h-data: Likewise.
24851 * conform/data/fmtmsg.h-data: Likewise.
24852 * conform/data/fnmatch.h-data: Likewise.
24853 * conform/data/ftw.h-data: Likewise.
24854 * conform/data/glob.h-data: Likewise.
24855 * conform/data/grp.h-data: Likewise.
24856 * conform/data/iconv.h-data: Likewise.
24857 * conform/data/inttypes.h-data: Likewise.
24858 * conform/data/langinfo.h-data: Likewise.
24859 * conform/data/libgen.h-data: Likewise.
24860 * conform/data/limits.h-data: Likewise.
24861 * conform/data/locale.h-data: Likewise.
24862 * conform/data/math.h-data: Likewise.
24863 * conform/data/monetary.h-data: Likewise.
24864 * conform/data/mqueue.h-data: Likewise.
24865 * conform/data/ndbm.h-data: Likewise.
24866 * conform/data/net/if.h-data: Likewise.
24867 * conform/data/netdb.h-data: Likewise.
24868 * conform/data/netinet/in.h-data: Likewise.
24869 * conform/data/nl_types.h-data: Likewise.
24870 * conform/data/poll.h-data: Likewise.
24871 * conform/data/pthread.h-data: Likewise.
24872 * conform/data/pwd.h-data: Likewise.
24873 * conform/data/regex.h-data: Likewise.
24874 * conform/data/sched.h-data: Likewise.
24875 * conform/data/search.h-data: Likewise.
24876 * conform/data/semaphore.h-data: Likewise.
24877 * conform/data/setjmp.h-data: Likewise.
24878 * conform/data/signal.h-data: Likewise.
24879 * conform/data/spawn.h-data: Likewise.
24880 * conform/data/stdarg.h-data: Likewise.
24881 * conform/data/stdio.h-data: Likewise.
24882 * conform/data/stdlib.h-data: Likewise.
24883 * conform/data/string.h-data: Likewise.
24884 * conform/data/strings.h-data: Likewise.
24885 * conform/data/stropts.h-data: Likewise.
24886 * conform/data/sys/ipc.h-data: Likewise.
24887 * conform/data/sys/mman.h-data: Likewise.
24888 * conform/data/sys/msg.h-data: Likewise.
24889 * conform/data/sys/resource.h-data: Likewise.
24890 * conform/data/sys/select.h-data: Likewise.
24891 * conform/data/sys/sem.h-data: Likewise.
24892 * conform/data/sys/shm.h-data: Likewise.
24893 * conform/data/sys/socket.h-data: Likewise.
24894 * conform/data/sys/stat.h-data: Likewise.
24895 * conform/data/sys/statvfs.h-data: Likewise.
24896 * conform/data/sys/time.h-data: Likewise.
24897 * conform/data/sys/timeb.h-data: Likewise.
24898 * conform/data/sys/times.h-data: Likewise.
24899 * conform/data/sys/types.h-data: Likewise.
24900 * conform/data/sys/uio.h-data: Likewise.
24901 * conform/data/sys/un.h-data: Likewise.
24902 * conform/data/sys/utsname.h-data: Likewise.
24903 * conform/data/sys/wait.h-data: Likewise.
24904 * conform/data/syslog.h-data: Likewise.
24905 * conform/data/tar.h-data: Likewise.
24906 * conform/data/termios.h-data: Likewise.
24907 * conform/data/utime.h-data: Likewise.
24908 * conform/data/utmpx.h-data: Likewise.
24909 * conform/data/varargs.h-data: Likewise.
24910 * conform/data/wchar.h-data: Likewise.
24911 * conform/data/wctype.h-data: Likewise.
24912 * conform/data/wordexp.h-data: Likewise.
24913
24914 * include/stropts.h: New file.
24915 * include/uchar.h: New file.
24916 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24917 * include/assert.h: Likewise.
24918 * include/ctype.h: Likewise.
24919 * include/dirent.h: Likewise.
24920 * include/dlfcn.h: Likewise.
24921 * include/fcntl.h: Likewise.
24922 * include/fnmatch.h: Likewise.
24923 * include/glob.h: Likewise.
24924 * include/grp.h: Likewise.
24925 * include/libio.h: Likewise.
24926 * include/locale.h: Likewise.
24927 * include/math.h: Likewise.
24928 * include/net/if.h: Likewise.
24929 * include/netdb.h: Likewise.
24930 * include/netinet/in.h: Likewise.
24931 * include/pthread.h: Likewise.
24932 * include/pwd.h: Likewise.
24933 * include/regex.h: Likewise.
24934 * include/sched.h: Likewise.
24935 * include/search.h: Likewise.
24936 * include/setjmp.h: Likewise.
24937 * include/signal.h: Likewise.
24938 * include/stdio.h: Likewise.
24939 * include/stdlib.h: Likewise.
24940 * include/string.h: Likewise.
24941 * include/sys/cdefs.h: Likewise.
24942 * include/sys/mman.h: Likewise.
24943 * include/sys/msg.h: Likewise.
24944 * include/sys/resource.h: Likewise.
24945 * include/sys/select.h: Likewise.
24946 * include/sys/socket.h: Likewise.
24947 * include/sys/stat.h: Likewise.
24948 * include/sys/statvfs.h: Likewise.
24949 * include/sys/time.h: Likewise.
24950 * include/sys/times.h: Likewise.
24951 * include/sys/uio.h: Likewise.
24952 * include/sys/utsname.h: Likewise.
24953 * include/sys/wait.h: Likewise.
24954 * include/termios.h: Likewise.
24955 * include/time.h: Likewise.
24956 * include/ulimit.h: Likewise.
24957 * include/unistd.h: Likewise.
24958 * include/utime.h: Likewise.
24959 * include/wchar.h: Likewise.
24960 * include/wctype.h: Likewise.
24961 * include/wordexp.h: Likewise.
24962
24963 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24964
7a270350
UD
24965 * time/time.h: TIME_UTC must be a macro.
24966 Make timespec_get available for ISO C11 only as well.
24967
7724defc
UD
249682012-02-24 Ulrich Drepper <drepper@gmail.com>
24969
24970 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24971 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24972
6b1d1d46
JM
249732012-02-24 Joseph Myers <joseph@codesourcery.com>
24974
24975 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24976
0f8bbd69
JM
249772012-02-24 Joseph Myers <joseph@codesourcery.com>
24978
24979 * manual/texinfo.tex: Update to version 2012-01-19.16.
24980
66ab80bc
JM
249812012-02-24 Joseph Myers <joseph@codesourcery.com>
24982
24983 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24984
74981cc5
RM
249852012-02-24 Roland McGrath <roland@hack.frob.com>
24986
ee968201
RM
24987 [BZ #13738]
24988 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24989 * manual/fdl-1.3.texi: New file.
24990 * manual/fdl-1.1.texi: File removed.
24991
74981cc5
RM
24992 [BZ #13738]
24993 * manual/libc.texinfo (FDL_VERSION): New @set.
24994 Use it for mention of FDL in cover text.
24995 (Documentation License): Use it in @include file name.
24996
7bb764bc
JM
249972012-02-22 Joseph Myers <joseph@codesourcery.com>
24998 Roland McGrath <roland@hack.frob.com>
24999
25000 [BZ #5461]
25001 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25002 not LONG_LONG_MAX and LONG_LONG_MIN.
25003 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25004 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25005 name.
25006 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25007
6cbeae47
JM
250082012-02-22 Joseph Myers <joseph@codesourcery.com>
25009
25010 [BZ #2547]
25011 [BZ #11365]
25012 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25013 manipulate bits before adding and subtracting TWO23[sx].
25014 * math/libm-test.inc (nearbyint_test): Add more tests.
25015
fe45ce09
JM
250162012-02-22 Joseph Myers <joseph@codesourcery.com>
25017
25018 [BZ #2548]
25019 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25020 bits before adding and subtracting TWO23[sx].
25021 * math/libm-test.inc (rint_test): Add more tests.
25022 (rint_test_tonearest): Likewise.
25023 (rint_test_towardzero): Likewise.
25024 (rint_test_downward): Likewise.
25025 (rint_test_upward: Likewise.
25026
ff3b3d82
JM
250272012-02-22 Joseph Myers <joseph@codesourcery.com>
25028
25029 [BZ #10110]
25030 * include/stdc-predef.h: New file. Extracted from features.h.
25031 * include/features.h: Include stdc-predef.h.
25032 * Makefile (headers): Add stdc-predef.h.
25033 * CONFORMANCE (Compiler limitations): Update.
25034
ef0aab35
JM
250352012-02-22 Joseph Myers <joseph@codesourcery.com>
25036
25037 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25038
58639409
DM
250392012-02-21 David S. Miller <davem@davemloft.net>
25040
25041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25042 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25043
c0e70b25
DM
250442012-02-20 David S. Miller <davem@davemloft.net>
25045
25046 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25047 using a normal save/restore sequence, rather than allocating a
25048 dummy stack frame just to store a frame pointer and restore.
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25050
fb06851d
JM
250512012-02-21 Joseph Myers <joseph@codesourcery.com>
25052
25053 * manual/install.texi: Fix stray word in line-wrapped comment.
25054
7a8b71c3
DM
250552012-02-20 David S. Miller <davem@davemloft.net>
25056
d510c123
DM
25057 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25058 both binutils and gcc support GOTDATA.
25059
0722d7c2
DM
25060 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25061 "rd %pc" in the PIC register setup sequences.
25062
3d2b3019
DM
25063 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25064 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25065 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25066 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25067 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25069 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25070 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25072 (SYSCALL_ERROR_HANDLER): Likewise.
25073 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25074 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25076 (SYSCALL_ERROR_HANDLER): Likewise.
25077
c80098a9
DM
25078 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25079 (HAVE_GCC_GOTDATA): New.
25080 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25081 relocation support in both binutils and gcc.
25082 * sysdeps/sparc/elf/configure: Regenerate.
25083
3a2545a0
DM
25084 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25085 * sysdeps/sparc/sparc32/elf/configure: Delete.
25086 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25087 * sysdeps/sparc/sparc64/elf/configure: Delete.
25088 * sysdeps/sparc/elf/configure.in: New file.
25089 * sysdeps/sparc/elf/configure: Generate.
25090
7a8b71c3
DM
25091 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25092 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25093 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25094 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25095 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25096
f1e86fca
JM
250972012-02-21 Joseph Myers <joseph@codesourcery.com>
25098
25099 * manual/install.texi: Do not mention specific glibc version
25100 numbers.
25101 * manual/libc.texinfo (VERSION, UPDATED): Update.
25102 (@copying): Use @copyright{} and range of years.
25103
0e7dfaef
JM
251042012-02-21 Joseph Myers <joseph@codesourcery.com>
25105
25106 [BZ #13695]
25107 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25108 [crti.S not in sysdirs] (generated): Do not append.
25109 [crti.S not in sysdirs] (omit-deps): Likewise.
25110 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25111 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25112 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25113 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25114 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25115 Likewise.
25116 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25117 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25118 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25119 * csu/defs.awk: Remove file.
25120 * sysdeps/generic/initfini.c: Likewise.
25121 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25122 variable.
25123 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25124 Likewise.
25125
599af3ca
JM
251262012-02-20 Joseph Myers <joseph@codesourcery.com>
25127
25128 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25129 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25130 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25133 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25134 <bits/epoll.h>.
25135 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25136 (__EPOLL_PACKED): Define to empty if not defined by
25137 <bits/epoll.h>.
25138 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25140 bits/epoll.h.
25141
0e499750
JM
251422012-02-20 Joseph Myers <joseph@codesourcery.com>
25143
25144 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25145 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25147 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25148 <bits/timerfd.h>.
25149 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25151 bits/timerfd.h.
25152
5ad91f6e
JM
251532012-02-20 Joseph Myers <joseph@codesourcery.com>
25154
25155 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25156 in C locale.
25157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25158 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161
06b99b02
AJ
251622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25163
25164 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25165 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25166
7638c0fd
AS
251672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25168
25169 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25170 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25171 defined.
25172 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25173 Likewise.
25174 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25175 entry for 2.16.
25176
92221550
AJ
251772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25178
25179 * math/w_acos.c: Use non-signaling floating-point comparisons.
25180 * math/w_acosf.c: Likewise.
25181 * math/w_acosh.c: Likewise.
25182 * math/w_acoshf.c: Likewise.
25183 * math/w_acoshl.c: Likewise.
25184 * math/w_acosl.c: Likewise.
25185 * math/w_asin.c: Likewise.
25186 * math/w_asinf.c: Likewise.
25187 * math/w_asinl.c: Likewise.
25188 * math/w_atanh.c: Likewise.
25189 * math/w_atanhf.c: Likewise.
25190 * math/w_atanhl.c: Likewise.
25191 * math/w_exp2.c: Likewise.
25192 * math/w_exp2f.c: Likewise.
25193 * math/w_exp2l.c: Likewise.
25194 * math/w_j0.c: Likewise.
25195 * math/w_j0f.c: Likewise.
25196 * math/w_j0l.c: Likewise.
25197 * math/w_j1.c: Likewise.
25198 * math/w_j1f.c: Likewise.
25199 * math/w_j1l.c: Likewise.
25200 * math/w_jn.c: Likewise.
25201 * math/w_jnf.c: Likewise.
25202 * math/w_log.c: Likewise.
25203 * math/w_log10.c: Likewise.
25204 * math/w_log10f.c: Likewise.
25205 * math/w_log10l.c: Likewise.
25206 * math/w_log2.c: Likewise.
25207 * math/w_log2f.c: Likewise.
25208 * math/w_log2l.c: Likewise.
25209 * math/w_logf.c: Likewise.
25210 * math/w_logl.c: Likewise.
25211 * math/w_sqrt.c: Likewise.
25212 * math/w_sqrtf.c: Likewise.
25213 * math/w_sqrtl.c: Likewise.
25214 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25215 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25217 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25218 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25219
ebaf36eb
JM
252202012-02-19 Joseph Myers <joseph@codesourcery.com>
25221
25222 [BZ #9739]
25223 * manual/string.texi (strnlen): Use correct parameter name in
25224 equivalent expression.
25225
71c254a6
JM
252262012-02-19 Joseph Myers <joseph@codesourcery.com>
25227
25228 [BZ #11174]
25229 * manual/users.texi (seteuid): Consistently use neweuid for
25230 argument name.
25231
16d2c631
JM
252322012-02-19 Joseph Myers <joseph@codesourcery.com>
25233
25234 [BZ #13704]
25235 * manual/nss.texi (Services in the NSS configuration): Correct
25236 list of services in example configuration file.
25237
cd837b09
NB
252382012-02-19 Nick Bowler <nbowler@draconx.ca>
25239
25240 [BZ #11322]
25241 * manual/arith.texi: Remove statements about negative zero
25242 behaving identically to zero.
25243
02c4bbad
JM
252442012-02-18 Joseph Myers <joseph@codesourcery.com>
25245
25246 [BZ #5993]
25247 * manual/install.texi: Do not document upgrading from libc5.
25248
366842e7
JM
252492012-02-18 Joseph Myers <joseph@codesourcery.com>
25250
25251 [BZ #4596]
25252 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25253
dd54084d
DM
252542012-02-18 David S. Miller <davem@davemloft.net>
25255
25256 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25257 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25258 %o7 across the call.
25259 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25260 instead.
25261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25262 SETUP_PIC_REG_LEAF.
25263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25264 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25265 * sysdeps/sparc/crtn.S: Likewise.
25266
2bcc53a3
UD
252672012-02-17 Ulrich Drepper <drepper@gmail.com>
25268
25269 * aout/Makefile: Remove.
25270
09c093b5
RK
252712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25272
25273 [BZ #13058]
25274 * manual/examples/argp-ex1.c (main): Format definition in GNU
25275 style.
25276 * manual/examples/argp-ex2.c (main): Likewise.
25277 * manual/examples/argp-ex3.c (main): Likewise.
25278 * manual/examples/argp-ex4.c (main): Likewise.
25279 * manual/examples/longopt.c (main): Use new-style prototype
25280 definition.
25281 * manual/examples/strncat.c (main): Specify return type and use
25282 (void) for arguments.
25283 * manual/examples/subopt.c (main): Use char **argv argument.
25284
2ee633a2
JM
252852012-02-17 Joseph Myers <joseph@codesourcery.com>
25286
25287 [BZ #5077]
25288 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25289 rounding modes.
25290
0520adde
FB
252912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25292
25293 [BZ #6907]
25294 * manual/string.texi (strchr): Change when strchrnul is
25295 recommended.
25296
3f4081cd
DGM
252972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25298
25299 [BZ #174]
25300 * manual/locale.texi (setlocale): Document LOCPATH.
25301
d1b10e78
JM
253022012-02-17 Joseph Myers <joseph@codesourcery.com>
25303
25304 [BZ #10210]
25305 * manual/process.texi (execle): Move @dots{} before last argument.
25306
79c6869c
PB
253072012-02-17 Paul Bolle <pebolle@tiscali.nl>
25308
25309 [BZ #12047]
25310 * manual/charset.texi (Generic Charset Conversion): Fix typo
25311 (LC_TYPE -> LC_CTYPE).
25312
cc6e48bc
NB
253132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25314
25315 [BZ #5805]
25316 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25317 (scalbnf): Likewise.
25318 (scalbnl): Likewise.
25319 (scalbln): Likewise.
25320 (scalblnf): Likewise.
25321 (scalblnl): Likewise.
25322 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25323 (vwarnx): Likewise.
25324 (verr): Likewise.
25325 (verrx): Likewise.
25326 * manual/filesys.texi (telldir): Use braces around return type.
25327 * manual/llio.texi (mmap): Add space after comma.
25328 (mmap64): Likewise.
25329 * manual/math.texi (jn): Use @var{} on parameter names.
25330 (jnf): Likewise.
25331 (jnl): Likewise.
25332 (yn): Likewise.
25333 (ynf): Likewise.
25334 (ynl): Likewise.
25335 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25336 line.
25337 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25338 "...".
25339 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25340 (sched_get_priority_max): Likewise.
25341 * manual/signal.texi (sigvec): Add space after comma.
25342 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25343 names.
25344 (if_indextoname): Likewise.
25345 (if_freenameindex): Likewise.
25346 (sendto): Use ',' instead of '.' in prototype.
25347 * manual/startup.texi (syscall): Use @dots{} instead of literal
25348 "...".
25349 * manual/stdio.texi (__fpending): Separate initial words of
25350 paragraph from @deftypefun line.
25351 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25352 "...".
25353 (vsyslog): Use @var{} on parameter names.
25354 * manual/terminal.texi (stty): Use @var{} on parameter names.
25355 * manual/users.texi (getutmp): Use @var{} on parameter names.
25356 (getutmpx): Likewise.
25357
5b23062f
JM
253582012-02-17 Joseph Myers <joseph@codesourcery.com>
25359
25360 [BZ #6884]
25361 * manual/stdio.texi (fopen): Fix typos in description of
25362 ",ccs=STRING".
25363
8dee4833
AJ
253642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25365
25366 [BZ #4026]
25367 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25368 get clock_id definition.
25369
9078ce93
TS
253702012-02-17 Thomas Schwinge <thomas@schwinge.name>
25371
25372 [BZ #4822]
25373 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25374 (madvise): Cast every argument to void on its own.
25375
3835c55f
JM
253762012-02-17 Joseph Myers <joseph@codesourcery.com>
25377
25378 [BZ #9902]
25379 * manual/startup.texi (Exit Status): Fix typo.
25380
35c47e37
JM
253812012-02-17 Joseph Myers <joseph@codesourcery.com>
25382
25383 [BZ #10140]
25384 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25385 * manual/examples/argp-ex2.c: Likewise.
25386 * manual/examples/argp-ex3.c: Likewise.
25387
e3b69ca7
RH
253882012-02-16 Richard Henderson <rth@redhat.com>
25389
25390 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25391 * sysdeps/s390/s390-32/initfini.c: Remove.
25392 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25393 * sysdeps/s390/s390-64/initfini.c: Remove.
25394
df83af67
KK
253952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25396
25397 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25398 compiler output for sysdeps/generic/initfini.c.
25399 * sysdeps/sh/elf/initfini.c: Remove file.
25400
f63f3380
DM
254012012-02-16 David S. Miller <davem@davemloft.net>
25402
fb59b3a4
DM
25403 [BZ #11494]
25404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25405
f63f3380
DM
25406 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25407 * sysdeps/sparc/crti.S: New file.
25408 * sysdeps/sparc/crtn.S: New file.
25409 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25410 * sysdeps/sparc/sparc64/Makefile: Likewise.
25411
df6a4a4a
MF
254122012-02-15 Mike Frysinger <vapier@gentoo.org>
25413
6dd8f3dc 25414 [BZ #3335]
df6a4a4a
MF
25415 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25416
1cac7236
RM
254172012-02-15 Roland McGrath <roland@hack.frob.com>
25418
d2c736f8
RM
25419 [BZ #4822]
25420 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25421
1cac7236
RM
25422 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25423 (write, read, close): Likewise.
25424 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25425
8e475601
JM
254262012-02-15 Joseph Myers <joseph@codesourcery.com>
25427
25428 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25429 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25430 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25431 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25432 <bits/signalfd.h>.
25433 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25435 bits/signalfd.h.
25436
ed656b40
MP
254372012-02-14 Marek Polacek <polacek@redhat.com>
25438
25439 * sysdeps/x86_64/crti.S: New file.
25440 * sysdeps/x86_64/crtn.S: New file.
25441 * sysdeps/x86_64/elf/initfini.c: Remove file.
25442
2a979d3a
JM
254432012-02-13 Joseph Myers <joseph@codesourcery.com>
25444
25445 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25446 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25448 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25449 <bits/inotify.h>.
25450 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25452 bits/inotify.h.
25453
2a418ac3
JM
254542012-02-13 Joseph Myers <joseph@codesourcery.com>
25455
25456 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25457 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25459 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25460 <bits/eventfd.h>.
25461 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25463 bits/eventfd.h.
25464
fb779be7
TS
254652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25466
e19e83c5
RM
25467 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25468 __feraiseexcept instead of feraiseexcept.
7c35ffed 25469
fb779be7
TS
25470 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25471 nanosleep invocations.
25472 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25473 strings, and add error checking for a nanosleep invocations.
25474
59ba27a6
PE
254752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25476
25477 Replace FSF snail mail address with URLs, as per GNU coding standards.
25478 Most of the snail mail addresses were wrong anyway, and omitting
25479 them makes the source code easier to maintain. Almost all of the
25480 changes are to license notices and to locale LC_IDENTIFICATION
25481 addresses, except for this one:
25482 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25483 not its snail mail address.
25484
57b957eb
RH
254852012-02-09 Richard Henderson <rth@twiddle.net>
25486
af850b1c
RH
25487 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25488 of kernel-features.h.
25489
57b957eb
RH
25490 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25491
6b73181a
MP
254922012-02-08 Marek Polacek <polacek@redhat.com>
25493
25494 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25495 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25496 * sysdeps/gnu/_G_config.h: Likewise.
25497 * sysdeps/generic/_G_config.h: Likewise.
25498
26ecc33a
AS
254992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25500
6c6dbc63
AS
25501 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25502 tests.
25503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504
e216c012
AS
25505 * sysdeps/powerpc/powerpc32/crti.S: New file.
25506 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25507 * sysdeps/powerpc/powerpc64/crti.S: New file.
25508 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25509
26ecc33a
AS
25510 * Makeconfig (have-initfini): Don't set.
25511 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25512 * configure.in (nopic_initfini): Don't substitute.
25513 * config.h.in (HAVE_INITFINI): Don't #undef.
25514 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25515 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25516
3add8e13
JM
255172012-02-08 Joseph Myers <joseph@codesourcery.com>
25518
25519 Support crti.S and crtn.S provided directly by architectures.
25520 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25521 [crti.S in sysdirs] (omit-deps): Likewise.
25522 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25523 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25524 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25525 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25526 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25527 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25528 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25529 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25530 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25531 compiler output for sysdeps/generic/initfini.c.
25532 * sysdeps/i386/elf/Makefile: Remove file.
25533 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25534
a22f12b4
MP
255352012-02-07 Marek Polacek <polacek@redhat.com>
25536
25537 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25538 * sysdeps/gnu/_G_config.h: Likewise.
25539 * sysdeps/mach/hurd/_G_config.h: Likewise.
25540
148cf100
MP
255412012-02-07 Marek Polacek <polacek@redhat.com>
25542
25543 * math/Makefile (tests): Add tst-CMPLX2.
25544 * math/tst-CMPLX2.c: New file.
25545
cfdc0dd7
AS
255462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25547
84ba42c4
AS
25548 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25549
cfdc0dd7
AS
25550 * math/libm-test.inc (jn_test): Add missing L suffix.
25551
622c86f4
MP
255522012-02-06 Marek Polacek <polacek@redhat.com>
25553
25554 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25555 * sysdeps/i386/fpu/e_powf.S: Likewise.
25556 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25557 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25558 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25559 * sysdeps/i386/fpu/e_pow.S: Likewise.
25560 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25562 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25563 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25564 * sysdeps/i386/fpu/e_log2.S: Likewise.
25565 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25566 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25567 * sysdeps/i386/fpu/e_powl.S: Likewise.
25568 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25569 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25570 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25571 * sysdeps/i386/fpu/e_logl.S: Likewise.
25572 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25573 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25574 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25575 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25578 * sysdeps/i386/fpu/e_log.S: Likewise.
25579 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25581 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25582 * sysdeps/i386/fpu/e_logf.S: Likewise.
25583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25585 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25586 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25587 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25588 * sysdeps/i386/fpu/e_log10.S: Likewise.
25589 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25591 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25592 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25594 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25595 * sysdeps/i386/asm-syntax.h: Likewise.
25596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25599 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25600 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25602 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25603 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25605 * sysdeps/powerpc/sysdep.h: Likewise.
25606 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25607 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25608
d4a54ac6
JM
256092012-02-06 Joseph Myers <joseph@codesourcery.com>
25610
25611 [BZ #411]
25612 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25613
314054ea
JM
256142012-02-06 Joseph Myers <joseph@codesourcery.com>
25615
25616 * sysdeps/i386/sysdep.h: Include <features.h>.
25617 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25618 version.
25619
d8e0ca50
JM
256202012-02-05 Joseph Myers <joseph@codesourcery.com>
25621
25622 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25623 Define.
25624 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25625 LOAD_PIC_REG_STR.
25626
b1da7dd9
JM
256272012-02-03 Joseph Myers <joseph@codesourcery.com>
25628
25629 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25630 (SETUP_PIC_REG): Use GET_PC_THUNK.
25631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25632 macro.
25633
9a1d9254
JM
256342012-02-03 Joseph Myers <joseph@codesourcery.com>
25635
25636 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25637 for non-PIC compilation.
25638 (SETUP_PIC_REG): Add .p2align directive.
25639 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25640 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25648 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25671 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25672 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25673 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25674 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25675 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25676 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25680
65dc3b75
JM
256812012-02-03 Joseph Myers <joseph@codesourcery.com>
25682
25683 * math/tst-CMPLX.c: Include <stdio.h>.
25684
d55bf177
JM
256852012-01-31 Joseph Myers <joseph@codesourcery.com>
25686
25687 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25688 float.
25689 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25690 * sysdeps/sparc/bits/mathdef.h: Likewise.
25691
69db4f8f
MP
256922012-01-31 Marek Polacek <polacek@redhat.com>
25693
25694 * libio/libio.h: Don't define _PARAMS.
25695 * locale/programs/config.h: Don't define PARAMS.
25696 * stdlib/strtol_l.c: Likewise.
25697 (__strtol_l): Remove PARAMS from the prototype.
25698
41b81892
UD
256992012-01-31 Ulrich Drepper <drepper@gmail.com>
25700
3b49edc0
UD
25701 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25702 names. Just use the correct names. Remove unnecessary wrapper
25703 functions.
25704 * malloc/arena.c: Likewise.
25705 * malloc/hooks.c: Likewise.
25706
41b81892
UD
25707 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25708 ARENA_TEST says not to. Simplify test for creation of a new arena.
25709 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25710
27a25b6e
UD
257112012-01-30 Ulrich Drepper <drepper@gmail.com>
25712
25713 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25714 into tail calls.
25715 (update_get_addr): New function.
25716 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25717 GET_ADDR_MODULE parameter.
25718
c8a89e7d
JM
257192012-01-30 Joseph Myers <joseph@codesourcery.com>
25720
25721 * crypt/cert.c: Remove __STDC__ conditionals.
25722 * crypt/crypt-entry.c: Likewise.
25723 * crypt/crypt_util.c: Likewise.
25724 * libio/filedoalloc.c: Likewise.
25725 * libio/fileops.c: Likewise.
25726 * libio/genops.c: Likewise.
25727 * libio/iofclose.c: Likewise.
25728 * libio/iofdopen.c: Likewise.
25729 * libio/iofopen.c: Likewise.
25730 * libio/iofopen64.c: Likewise.
25731 * libio/iogetdelim.c: Likewise.
25732 * libio/iopopen.c: Likewise.
25733 * libio/obprintf.c: Likewise.
25734 * libio/oldfileops.c: Likewise.
25735 * libio/oldiofclose.c: Likewise.
25736 * libio/oldiofdopen.c: Likewise.
25737 * libio/oldiofopen.c: Likewise.
25738 * libio/oldiopopen.c: Likewise.
25739 * libio/wfiledoalloc.c: Likewise.
25740 * libio/wgenops.c: Likewise.
25741 * locale/programs/xmalloc.c: Likewise.
25742 * misc/syslog.c: Likewise.
25743 * stdio-common/xbug.c: Likewise.
25744 * string/memchr.c: Likewise.
25745 * string/memcmp.c: Likewise.
25746 * string/memrchr.c: Likewise.
25747 * string/rawmemchr.c: Likewise.
25748 * sysdeps/posix/getcwd.c: Likewise.
25749 * time/strftime_l.c: Likewise.
25750
3b100462
JM
257512012-01-30 Joseph Myers <joseph@codesourcery.com>
25752
25753 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25754 * config.make.in (config-cflags-sse2avx): Define.
25755 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25756 Fix typo.
25757
607998af
CM
257582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25759
25760 * scripts/config.guess: Update from upstream config git repository.
25761 * scripts/config.sub: Likewise.
25762
3601428f
CM
257632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25764
3ac8b282
CM
25765 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25766 (EM_NUM): Update.
25767 (R_TILEPRO_*, R_TILEGX_*): New macros.
25768
e034841e
CM
25769 * scripts/firstversions.awk: Fix bug in version range handling.
25770
540d7568
CM
25771 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25772
3601428f
CM
25773 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25774
463de862
CM
25775 * include/sys/epoll.h: New file.
25776 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25777 libc_hidden_def.
25778
73139a76
UD
257792012-01-28 Ulrich Drepper <drepper@gmail.com>
25780
96bc5b45
UD
25781 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25782 Avoid unnecessary __WORDSIZE == 64 test.
25783 (fmaxf): Use VEX format if possible.
25784 (fmax): Likewise.
25785 (fminf): Likewise.
25786 (fmin): Likewise.
25787
56f6f6a2
UD
25788 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25789 * math/math_private.h: Remove libc_fegetround* and
25790 libc_fesetround*.
25791 * sysdeps/i386/configure.in: Check for -msse2avx.
25792 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25793 also if SSE2AVX is defined.
25794 Remove libc_fegetround* and libc_fesetround*.
25795 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25796 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25798 of HAS_YMM_USABLE.
25799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25804
73139a76
UD
25805 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25806
d73f93a4
AZ
258072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25808
25809 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25810 size is not set.
25811 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25812
6ee65ed6
UD
258132012-01-27 Ulrich Drepper <drepper@gmail.com>
25814
25815 [BZ #13618]
25816 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25817 relocation.
25818 * Makeconfig (libm): Define.
25819 * elf/Makefile: Add rules to build and run tst-relsort1.
25820 * elf/tst-relsort1.c: New file.
25821 * elf/tst-relsort1mod1.c: New file.
25822 * elf/tst-relsort1mod2.c: New file.
25823
8db21882
JM
258242012-01-27 Joseph Myers <joseph@codesourcery.com>
25825
25826 * math/s_ldexp.c: Remove __STDC__ conditionals.
25827 * math/s_ldexpf.c: Likewise.
25828 * math/s_ldexpl.c: Likewise.
25829 * math/s_nextafter.c: Likewise.
25830 * math/s_nexttowardf.c: Likewise.
25831 * math/s_significand.c: Likewise.
25832 * math/s_significandf.c: Likewise.
25833 * math/s_significandl.c: Likewise.
25834 * math/w_jnl.c: Likewise.
25835 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25836 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25837 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25838 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25839 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25854 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25855 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25856 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25857 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25858 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25859 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25860 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25861 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25862 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25863 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25864 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25865 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25866 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25869 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25870 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25872 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25873 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25874 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25875 * sysdeps/ieee754/k_standard.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25937 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25942 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25950 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25955 * sysdeps/ieee754/s_matherr.c: Likewise.
25956 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25957 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25960
965a54a4
JM
259612012-01-26 Joseph Myers <joseph@codesourcery.com>
25962
25963 * crypt/md5.h: Remove __STDC__ conditionals.
25964 * libio/libioP.h: Likewise.
25965 * locale/programs/config.h: Likewise.
25966 * sysdeps/generic/sysdep.h: Likewise.
25967 * sysdeps/i386/asm-syntax.h: Likewise.
25968 * sysdeps/s390/asm-syntax.h: Likewise.
25969 * sysdeps/unix/sysdep.h: Likewise.
25970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25972
7071ad79
JM
259732012-01-26 Joseph Myers <joseph@codesourcery.com>
25974
25975 * libio/libio.h: Remove __STDC__ conditionals.
25976 * malloc/obstack.h: Likewise.
25977 * math/complex.h: Likewise.
25978 * math/math.h: Likewise.
25979 * sysdeps/generic/_G_config.h: Likewise.
25980 * sysdeps/gnu/_G_config.h: Likewise.
25981 * sysdeps/mach/hurd/_G_config.h: Likewise.
25982 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25983 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25984 * sysdeps/sparc/bits/mathdef.h: Likewise.
25985
afc5ed09
UD
259862012-01-26 Ulrich Drepper <drepper@gmail.com>
25987
25988 [BZ #13583]
25989 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25990 Clean up HAS_* macros.
afc5ed09 25991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25992 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25993 possible.
25994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25995 HAS_AVX.
25996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25997 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25998 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26001
bdb6de1d
JM
260022012-01-25 Joseph Myers <joseph@codesourcery.com>
26003
26004 * elf/tst-unique3.cc (gets): Remove declaration.
26005 * elf/tst-unique3lib.cc (gets): Likewise.
26006 * elf/tst-unique3lib2.cc (gets): Likewise.
26007 * elf/tst-unique4.cc (gets): Likewise.
26008
b15549e6
UD
260092012-01-24 Ulrich Drepper <drepper@gmail.com>
26010
26011 * include/stdio.h: Add C++ protection. Add gets declarations and
26012 definitions.
26013 * debug/tst-chk1.c: Don't declare gets here.
26014 * stdio-common/tst-gets.c: Likewise.
26015
a037381f
JM
260162012-01-24 Joseph Myers <joseph@codesourcery.com>
26017
26018 * posix/glob: Remove directory.
26019
f1d4aa75
JM
260202012-01-24 Joseph Myers <joseph@codesourcery.com>
26021
26022 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26023
81c0c964
PT
260242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26025
26026 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26027 of the non-standard EPFNOSUPPORT.
26028
0ea698ae
ST
260292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26030
26031 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26032 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26033 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26034
d220b117
UD
260352012-01-21 Ulrich Drepper <drepper@gmail.com>
26036
26037 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26038
3e1aa84e
UD
260392012-01-20 Ulrich Drepper <drepper@gmail.com>
26040
26041 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26042 transient errors.
26043 * nscd/grpcache.c (cache_addgr): Likewise.
26044 * nscd/hstcache.c (cache_addhst): Likewise.
26045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26046 * nscd/pwdcache.c (cache_addpw): Likewise.
26047 * nscd/servicescache.c (cache_addserv): Likewise.
26048
400aa020
UD
260492012-01-16 Ulrich Drepper <drepper@gmail.com>
26050
d77e7869
UD
26051 * malloc/malloc.c: Various cleanups.
26052 * malloc/hooks.c: Likewise.
26053
400aa020
UD
26054 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26055 * stdlib/bug-fmtmsg1.c: New file.
26056
26057 * stdlib/fmtmsg.c (init): Add missing unlock.
26058 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26059
e0a309cf
MP
260602012-01-12 Marek Polacek <polacek@redhat.com>
26061
26062 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26063 and _GNU_SOURCE.
26064
929d11c7
WS
260652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26066
26067 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26068 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26069 macro to ensure uniqueness of label name.
26070 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26071 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26072
41d0e869
UD
260732012-01-11 Ulrich Drepper <drepper@gmail.com>
26074
0cc5ed3b
UD
26075 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26076
41d0e869
UD
26077 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26078 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26081
a47a831a
UD
260822012-01-10 Ulrich Drepper <drepper@gmail.com>
26083
daa891c0
UD
26084 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26085
26086 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26089
e58ef0f2
UD
26090 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26091
a47a831a 26092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26093 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26096
26097 * math/bits/math-finite.h: Add ldexp support.
26098
a0bfc9c7
MP
260992012-01-10 Marek Polacek <polacek@redhat.com>
26100
26101 * locale/programs/localedef.h (show_archive_content): Add noreturn
26102 attribute.
26103
d6e97a1d
UD
261042012-01-09 Ulrich Drepper <drepper@gmail.com>
26105
26106 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26107
d5835c26
UD
261082012-01-08 Ulrich Drepper <drepper@gmail.com>
26109
e5f484c6
UD
26110 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26111
d5835c26
UD
26112 * io/Makefile (headers): Add bits/poll2.h.
26113
d1f741e9
WS
261142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26115
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26117 typo #include statement.
26118
ec09c1c4
UD
261192012-01-08 Ulrich Drepper <drepper@gmail.com>
26120
26121 * include/sys/cdefs.h: Define __attribute_alloc_size.
26122 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26123 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26124 * elf/pldd.c: Likewise.
26125 * iconv/iconv_charmap.c: Likewise.
26126 * iconv/iconvconfig.c: Likewise.
26127 * iconv/strtab.c: Likewise.
26128 * locale/programs/locale.c: Likewise.
26129 * locale/programs/localedef.h: Likewise.
26130 * locale/programs/simple-hash.c: Likewise.
26131 * nscd/nscd.h: Likewise.
26132 * nss/makedb.c: Likewise.
26133 * sysdeps/generic/ldconfig.h: Likewise.
26134 * locale/programs/localedef.c: Remove xmalloc prototype.
26135 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26136
20b38e03
PP
261372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26138
26139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26140 appropriate.
26141
a0da5fe1
UD
261422012-01-08 Ulrich Drepper <drepper@gmail.com>
26143
1d5a644a 26144 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26145 * math/tst-CMPLX.c: New file.
1d5a644a 26146
8784a6db
UD
26147 * math/complex.h (CMPLXL): Fix typo.
26148
d9a216c0
UD
26149 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26150 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26151 GLIBC_2.16.
26152 * debug/tst-chk1.c: Add poll and ppoll tests.
26153 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26154 * include/sys/poll.h: Add hidden proto for ppoll.
26155 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26156 * sysdeps/mach/hurd/ppoll.c: Likewise.
26157 * io/ppoll.c: Likewise.
26158 * debug/poll_chk.c: New file.
26159 * debug/ppoll_chk.c: New file.
26160 * include/bits/poll2.h: New file.
26161 * io/bits/poll2.h: New file.
26162
ac097f5c
UD
26163 [BZ #1350]
26164 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26165
2119dcfa
UD
26166 * configure.in: static is always set to yes. Remove.
26167 * config.make.in: Don't set build-static.
26168 * Makeconfig: Remove use of build-static.
26169 * dlfcn/Makefile: Likewise.
26170 * elf/Makefile: Likewise.
26171 * math/Makefile: Likewise.
26172 * misc/Makefile: Likewise.
26173 * nptl/Makefile: Likewise.
26174 * sysdeps/mach/hurd/Makefile: Likewise.
26175
121766a9
UD
26176 * configure.in: PWD_P is not used anymore.
26177 * config.make.in: Remove PWD_P entry.
26178
51a1d39c 26179 * configure.in: Remove last remnants of RANLIB.
8720d066 26180 No need to check for signed size_t anymore.
215f4bdc
UD
26181 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26182 and IA-64.
3857022a 26183 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26184 * aclocal.m4: Likewise.
26185
d3ed7225
UD
26186 * wcsmbs/mbrtoc16.c: Implement using towc function.
26187 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26188 * wcsmbs/wcsmbsload.c: Likewise.
26189 * iconv/gconv_simple.c: Likewise.
26190 * iconv/gconv_int.h: Likewise.
26191 * iconv/gconv_builtin.h: Likewise.
26192 * iconv/iconv_prog.c: Remove CHAR16 handling.
26193
26194 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26195
26196 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26197
a0da5fe1
UD
26198 * configure.in: Remove --with-elf and --enable-bounded options.
26199 Dont set base_machine for ia64. More non-ELF conditions removed.
26200 Remove testing and setting of leading underscore information.
26201 * config.make.in (build-bounded): Set to no.
26202 * config.h.in: Remove NO_UNDERSCORES entry.
26203 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26204 them.
26205 * csu/start.c: Remove !NO_UNDERSCORE code.
26206 * locale/localeinfo.h: Likewise.
26207 * sysdeps/generic/machine-gmon.h: Likewise.
26208 * sysdeps/generic/sysdep.h: Likewise.
26209 * sysdeps/i386/sysdep.h: Likewise.
26210 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26211 * sysdeps/mach/sysdep.h: Likewise.
26212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26214 * sysdeps/sh/sysdep.h: Likewise.
26215 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26216 * sysdeps/unix/i386/sysdep.S: Likewise.
26217 * sysdeps/unix/sparc/start.c: Likewise.
26218 * sysdeps/unix/sparc/sysdep.S: Likewise.
26219 * sysdeps/unix/sparc/sysdep.h: Likewise.
26220 * sysdeps/unix/start.c: Likewise.
26221 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26222 * sysdeps/x86_64/sysdep.h: Likewise.
26223
df78418a
UD
262242012-01-07 Ulrich Drepper <drepper@gmail.com>
26225
a784e502
UD
26226 [BZ #13553]
26227 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26228 for non-gcc.
26229 * argp/argp-fmtstream.h: Use const instead __const.
26230 * argp/argp.h: Likewise.
26231 * assert/assert.h: Likewise.
26232 * bits/fenv.h: Likewise.
26233 * bits/sched.h: Likewise.
26234 * bits/sigset.h: Likewise.
26235 * bits/sigthread.h: Likewise.
26236 * catgets/nl_types.h: Likewise.
26237 * conform/data/pthread.h-data: Likewise.
26238 * crypt/crypt-private.h: Likewise.
26239 * crypt/crypt.h: Likewise.
26240 * crypt/crypt_util.c: Likewise.
26241 * ctype/ctype.h: Likewise.
26242 * debug/execinfo.h: Likewise.
26243 * debug/mbsnrtowcs_chk.c: Likewise.
26244 * debug/mbsrtowcs_chk.c: Likewise.
26245 * debug/wcsnrtombs_chk.c: Likewise.
26246 * debug/wcsrtombs_chk.c: Likewise.
26247 * debug/wcstombs_chk.c: Likewise.
26248 * dirent/dirent.h: Likewise.
26249 * dlfcn/dlfcn.h: Likewise.
26250 * elf/neededtest4.c: Likewise.
26251 * grp/grp.h: Likewise.
26252 * gshadow/gshadow.h: Likewise.
26253 * iconv/gconv.h: Likewise.
26254 * iconv/gconv_int.h: Likewise.
26255 * iconv/gconv_simple.c: Likewise.
26256 * iconv/iconv.h: Likewise.
26257 * iconv/loop.c: Likewise.
26258 * iconv/skeleton.c: Likewise.
26259 * include/aio.h: Likewise.
26260 * include/aliases.h: Likewise.
26261 * include/argz.h: Likewise.
26262 * include/arpa/inet.h: Likewise.
26263 * include/assert.h: Likewise.
26264 * include/dirent.h: Likewise.
26265 * include/dlfcn.h: Likewise.
26266 * include/execinfo.h: Likewise.
26267 * include/fcntl.h: Likewise.
26268 * include/fenv.h: Likewise.
26269 * include/glob.h: Likewise.
26270 * include/grp.h: Likewise.
26271 * include/libintl.h: Likewise.
26272 * include/mntent.h: Likewise.
26273 * include/netdb.h: Likewise.
26274 * include/pwd.h: Likewise.
26275 * include/rpc/netdb.h: Likewise.
26276 * include/sched.h: Likewise.
26277 * include/search.h: Likewise.
26278 * include/shadow.h: Likewise.
26279 * include/signal.h: Likewise.
26280 * include/stdio.h: Likewise.
26281 * include/stdlib.h: Likewise.
26282 * include/string.h: Likewise.
26283 * include/sys/socket.h: Likewise.
26284 * include/sys/stat.h: Likewise.
26285 * include/sys/statfs.h: Likewise.
26286 * include/sys/statvfs.h: Likewise.
26287 * include/sys/syslog.h: Likewise.
26288 * include/sys/time.h: Likewise.
26289 * include/sys/uio.h: Likewise.
26290 * include/time.h: Likewise.
26291 * include/unistd.h: Likewise.
26292 * include/utmp.h: Likewise.
26293 * include/wchar.h: Likewise.
26294 * include/wctype.h: Likewise.
26295 * inet/aliases.h: Likewise.
26296 * inet/arpa/inet.h: Likewise.
26297 * inet/netinet/ether.h: Likewise.
26298 * inet/netinet/in.h: Likewise.
26299 * intl/libintl.h: Likewise.
26300 * io/bits/fcntl2.h: Likewise.
26301 * io/fcntl.h: Likewise.
26302 * io/ftw.h: Likewise.
26303 * io/sys/poll.h: Likewise.
26304 * io/sys/stat.h: Likewise.
26305 * io/sys/statfs.h: Likewise.
26306 * io/sys/statvfs.h: Likewise.
26307 * io/utime.h: Likewise.
26308 * libio/bits/stdio.h: Likewise.
26309 * libio/bits/stdio2.h: Likewise.
26310 * libio/libio.h: Likewise.
26311 * libio/libioP.h: Likewise.
26312 * libio/stdio.h: Likewise.
26313 * locale/lc-ctype.c: Likewise.
26314 * locale/locale.h: Likewise.
26315 * login/utmp.h: Likewise.
26316 * malloc/arena.c: Likewise.
26317 * malloc/malloc.c: Likewise.
26318 * malloc/malloc.h: Likewise.
26319 * malloc/mcheck.c: Likewise.
26320 * malloc/mtrace.c: Likewise.
26321 * math/bits/mathcalls.h: Likewise.
26322 * math/fenv.h: Likewise.
26323 * math/math_private.h: Likewise.
26324 * misc/bits/error.h: Likewise.
26325 * misc/bits/syslog.h: Likewise.
26326 * misc/err.h: Likewise.
26327 * misc/error.h: Likewise.
26328 * misc/fstab.h: Likewise.
26329 * misc/mntent.h: Likewise.
26330 * misc/regexp.h: Likewise.
26331 * misc/search.h: Likewise.
26332 * misc/sgtty.h: Likewise.
26333 * misc/sys/mman.h: Likewise.
26334 * misc/sys/syslog.h: Likewise.
26335 * misc/sys/uio.h: Likewise.
26336 * misc/sys/xattr.h: Likewise.
26337 * misc/ttyent.h: Likewise.
26338 * nis/rpcsvc/ypclnt.h: Likewise.
26339 * nss/nss.h: Likewise.
26340 * posix/bits/unistd.h: Likewise.
26341 * posix/fnmatch.h: Likewise.
26342 * posix/glob.h: Likewise.
26343 * posix/sched.h: Likewise.
26344 * posix/spawn.h: Likewise.
26345 * posix/sys/wait.h: Likewise.
26346 * posix/unistd.h: Likewise.
26347 * posix/wordexp.h: Likewise.
26348 * pwd/pwd.h: Likewise.
26349 * resolv/netdb.h: Likewise.
26350 * resource/sys/resource.h: Likewise.
26351 * rt/aio.h: Likewise.
26352 * rt/bits/mqueue2.h: Likewise.
26353 * rt/mqueue.h: Likewise.
26354 * shadow/shadow.h: Likewise.
26355 * signal/signal.h: Likewise.
26356 * socket/send.c: Likewise.
26357 * socket/sendto.c: Likewise.
26358 * socket/sys/socket.h: Likewise.
26359 * stdio-common/printf.h: Likewise.
26360 * stdlib/bits/stdlib.h: Likewise.
26361 * stdlib/fmtmsg.h: Likewise.
26362 * stdlib/monetary.h: Likewise.
26363 * stdlib/stdlib.h: Likewise.
26364 * stdlib/ucontext.h: Likewise.
26365 * streams/stropts.h: Likewise.
26366 * string/argz.h: Likewise.
26367 * string/bits/string2.h: Likewise.
26368 * string/string.h: Likewise.
26369 * string/strings.h: Likewise.
26370 * sunrpc/rpc/auth.h: Likewise.
26371 * sunrpc/rpc/auth_des.h: Likewise.
26372 * sunrpc/rpc/clnt.h: Likewise.
26373 * sunrpc/rpc/netdb.h: Likewise.
26374 * sunrpc/rpc/pmap_clnt.h: Likewise.
26375 * sunrpc/rpc/xdr.h: Likewise.
26376 * sysdeps/generic/inttypes.h: Likewise.
26377 * sysdeps/generic/net/if.h: Likewise.
26378 * sysdeps/generic/sys/swap.h: Likewise.
26379 * sysdeps/gnu/net/if.h: Likewise.
26380 * sysdeps/gnu/utmpx.h: Likewise.
26381 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26382 * sysdeps/i386/i486/bits/string.h: Likewise.
26383 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26384 * sysdeps/s390/bits/string.h: Likewise.
26385 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26386 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26387 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26388 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26389 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26390 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26391 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26392 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26393 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26394 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26395 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26396 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26397 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26398 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26399 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26400 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26401 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26406 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26407 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26408 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26409 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26410 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26411 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26413 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26414 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26415 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26416 * sysvipc/sys/ipc.h: Likewise.
26417 * sysvipc/sys/msg.h: Likewise.
26418 * sysvipc/sys/sem.h: Likewise.
26419 * sysvipc/sys/shm.h: Likewise.
26420 * termios/termios.h: Likewise.
26421 * time/sys/time.h: Likewise.
26422 * time/time.h: Likewise.
26423 * wcsmbs/bits/wchar2.h: Likewise.
26424 * wcsmbs/uchar.h: Likewise.
26425 * wcsmbs/wchar.h: Likewise.
26426 * wctype/wctype.h: Likewise.
26427
0269750c
UD
26428 [BZ #13551]
26429 * Makeconfig: Remove all but ELF support including AIX support.
26430 * Makerules: Likewise.
26431 * config.h.in: Likewise.
26432 * config.make.in: Likewise.
26433 * configure: Likewise.
26434 * configure.in: Likewise.
26435 * csu/Makefile: Likewise.
26436 * csu/version.c: Likewise.
26437 * debug/Makefile: Likewise.
26438 * dlfcn/Makefile: Likewise.
26439 * elf/Makefile: Likewise.
26440 * extra-lib.mk: Likewise.
26441 * iconv/Makefile: Likewise.
26442 * include/libc-symbols.h: Likewise.
26443 * include/shlib-compat.h: Likewise.
26444 * resolv/Makefile: Likewise.
26445 * resolv/res_libc.c: Likewise.
26446 * rt/Makefile: Likewise.
26447 * sysdeps/i386/asm-syntax.h: Likewise.
26448 * sysdeps/i386/sysdep.h: Likewise.
26449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26450 * sysdeps/mach/sysdep.h: Likewise.
26451 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26452 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26453 * sysdeps/s390/asm-syntax.h: Likewise.
26454 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26456 * sysdeps/sh/sysdep.h: Likewise.
26457 * sysdeps/unix/sparc/sysdep.h: Likewise.
26458 * sysdeps/wordsize-32/divdi3.c: Likewise.
26459 * sysdeps/x86_64/sysdep.h: Likewise.
26460
00bbd29b
UD
26461 * argp/Versions: Remove _argp_unlock_xxx.
26462
26463 [BZ #13559]
26464 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26465 * abilist/libBrokenLocale.abilist: Likewise.
26466 * abilist/libanl.abilist: Likewise.
26467 * abilist/libc.abilist: Likewise.
26468 * abilist/libcrypt.abilist: Likewise.
26469 * abilist/libdl.abilist: Likewise.
26470 * abilist/libm.abilist: Likewise.
26471 * abilist/libnsl.abilist: Likewise.
26472 * abilist/libpthread.abilist: Likewise.
26473 * abilist/libresolv.abilist: Likewise.
26474 * abilist/librt.abilist: Likewise.
26475 * abilist/libthread_db.abilist: Likewise.
26476 * abilist/libutil.abilist: Likewise.
26477 * abilist/libnss_db.abilist: New file.
26478
26479 * scripts/abilist.awk: Add support for indirect functions.
26480
a2693a0e
UD
26481 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26482
3f05895f
UD
26483 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26484
ecb6fb48
UD
26485 * shlib-versions: Remove entries for ports architectures.
26486
664f8cb9
UD
26487 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26488 files in ports.
26489 * elf/stackguard-macros.h: Remove support for IA-64.
26490 * elf/tst-auditmod1.c: Likewise.
26491 * sysdeps/generic/ldsodefs.h: Likewise.
26492
7ae81d88
UD
26493 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26494 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26495 configure files.
26496
bdeba135
UD
26497 [BZ #13552]
26498 * configure.in: Remove --enable-omitfp support.
26499 * FAQ.in: Adjust.
26500 * config.make.in: Likewise.
26501 * Makeconfig: Likewise.
26502 * manual/install.texi: Likewise.
26503
d75a0a62
UD
26504 In case anyone cares, the IA-64 architecture could move to ports.
26505 * sysdeps/ia64/*: Removed.
26506 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26507 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26508
dcc9756b
UD
26509 [BZ #13555]
26510 * configure.in: Remove entries for unsupported architectures.
26511
d3761ebc 26512 [BZ #13533]
9954432e
UD
26513 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26514 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26515 routines.
26516 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26517 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26518 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26519 fall back to using wcrtomb.
26520 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26521 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26522 renaming.
26523 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26524 * wcsmbs/tst-c16c32-1.c: New file.
26525
26526 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26527 local variable.
26528
c3a87236
UD
26529 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26530
28926a1b
UD
26531 * elf/tst-unique3.cc: Add explicit declaration of gets.
26532 * elf/tst-unique3lib.cc: Likewise.
26533 * elf/tst-unique3lib2.cc: Likewise.
26534 * elf/tst-unique4.cc: Likewise.
26535
df78418a
UD
26536 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26537
8ecd6b2a
JM
265382012-01-06 Joseph Myers <joseph@codesourcery.com>
26539
26540 [BZ #13566]
26541 * assert/assert.h (static_assert): Don't define for C++.
26542 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26543 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26544
9f115170
UD
265452012-01-03 Ulrich Drepper <drepper@gmail.com>
26546
5e0d0300
UD
26547 * iconv/loop.c (single loop): Fix assertion in storing of
26548 remaining bytes.
26549
9f115170
UD
26550 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26551
81fb02b0
UD
265522012-01-01 Ulrich Drepper <drepper@gmail.com>
26553
26554 * posix/getconf.c: Update copyright year.
26555 * nss/getent.c: Likewise.
a316c1f6 26556 * nss/makedb.c: Likewise.
81fb02b0
UD
26557 * iconv/iconvconfig.c: Likewise.
26558 * iconv/iconv_prog.c: Likewise.
26559 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26560 * elf/pldd.c: Likewise.
26561 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26562 * catgets/gencat.c: Likewise.
26563 * csu/version.c: Likewise.
26564 * elf/ldd.bash.in: Likewise.
26565 * elf/sprof.c (print_version): Likewise.
26566 * locale/programs/locale.c: Likewise.
26567 * locale/programs/localedef.c: Likewise.
a316c1f6 26568 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26569 * nscd/nscd.c (print_version): Likewise.
26570 * debug/xtrace.sh: Likewise.
26571 * malloc/memusage.sh: Likewise.
26572 * malloc/mtrace.pl: Likewise.
26573 * debug/catchsegv.sh: Likewise.
26574
2ba92745
JJ
265752011-12-30 Jakub Jelinek <jakub@redhat.com>
26576
26577 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26578 pure attribute.
26579
dadebdae
UD
265802011-12-24 Ulrich Drepper <drepper@gmail.com>
26581
d3761ebc 26582 [BZ #13533]
db6af3eb
UD
26583 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26584 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26585 transformations.
26586 * iconv/gconv_int.h: Likewise.
26587 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26588 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26589 from libc for GLIBC_2.16.
26590 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26591 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26592 * wcsmbs/uchar.h: Really define mbstate_t.
26593 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26594 * wcsmbs/c16rtomb.c: New file.
26595 * wcsmbs/mbrtoc16.c: New file.
26596 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26597 for C/POSIX locale.
26598 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26599 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26600
dadebdae
UD
26601 * wcsmbs/wchar.h: Add missing __restrict.
26602
67371b56
UD
266032011-12-23 Ulrich Drepper <drepper@gmail.com>
26604
74033a25
UD
26605 [BZ #13532]
26606 * time/Makefile (routines): Add timespec_get.
26607 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26608 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26609 timespec for ISO C11.
26610 * time/timespec_get.c: New file.
26611 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26612 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26613
380d7e87
UD
26614 [BZ #13531]
26615 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26616 * stdlib/stdlib.h: Declare aligned_alloc.
26617 * Versions.def: Add GLIBC_2.16 for libc.
26618 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26619
4e9e7a35
UD
26620 [BZ 13527]
26621 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26622 ISO C11.
26623
380d7e87 26624 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26625 code.
26626
03a71829
UD
26627 [BZ #13528]
26628 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26629
839e283e
UD
26630 [BZ #13529]
26631 * assert/assert.h (static_assert): Define.
26632
ce5294e2 26633 * version.h: Update for 2.16 development version.
90fa7312 26634
8d44e150 26635 [BZ #13526]
d7809905
UD
26636 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26637 _ISOC11_SOURCE.
26638
c0da14cd
UD
26639 * version.h (RELEASE): Bump for 2.15 release.
26640 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26641
530a3249
MP
26642 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26643 Patch by Marek Polacek <mpolacek@redhat.com>.
26644
67371b56
UD
26645 * bits/byteswap.h: Protect long long constants with __extension__.
26646 * sysdeps/i386/bits/byteswap.h: Likewise.
26647 * sysdeps/ia64/bits/byteswap.h: Likewise.
26648 * sysdeps/s390/bits/byteswap.h: Likewise.
26649 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26650
15db4de1
LD
266512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26652
26653 [BZ #13540]
bbe315ea
LD
26654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26655 destination buffer.
15db4de1
LD
26656 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26657
2b2596b1
MP
266582011-12-23 Marek Polacek <polacek@redhat.com>
26659
26660 * elf/dl-addr.c (determine_info): Add inline keyword.
26661 * elf/tst-auditmod4b.c (check_avx): Likewise.
26662 * elf/tst-auditmod6b.c (check_avx): Likewise.
26663 * elf/tst-auditmod6c.c (check_avx): Likewise.
26664 * elf/tst-auditmod7b.c (check_avx): Likewise.
26665
70c6c246
UD
266662011-12-23 Ulrich Drepper <drepper@gmail.com>
26667
26668 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26669 !__SSE_MATH__.
26670
c044cf14
LD
266712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26672
15db4de1 26673 [BZ #13540]
c044cf14
LD
26674 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26675 processing for last bytes.
26676
6b13d9d9
BH
266772011-08-06 Bruno Haible <bruno@clisp.org>
26678
d455f537
BH
26679 [BZ #13061]
26680 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26681 U+0385, not to U+1FEE.
26682
6b13d9d9
BH
26683 [BZ #13062]
26684 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26685 entry for U+00A5 U+0301.
26686
db910efd
UD
266872011-12-22 Ulrich Drepper <drepper@gmail.com>
26688
27deeafc
UD
26689 [BZ #13166]
26690 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26691 buffer for the output is too small.
26692
aed9d171
UD
26693 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26694 optimization.
26695
db910efd
UD
26696 [BZ #13185]
26697 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26698 SSE flags if possible.
26699
2bd779ae
LD
267002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26701
e7f9dac3 26702 [BZ #13540]
2bd779ae
LD
26703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26704 processing for last bytes.
26705
154bfc16
JM
267062011-12-22 Joseph Myers <joseph@codesourcery.com>
26707
26708 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26709 (syscall-list-default-options, syscall-list-default-condition)
26710 (syscall-list-includes): Define.
26711 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26712 list of ABIs and options and #if conditions for each ABI. Do not
26713 handle common syscalls between ABIs specially.
26714 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26715 Remove.
26716 (syscall-list-variants, syscall-list-32bit-options)
26717 (syscall-list-32bit-condition, syscall-list-64bit-options)
26718 (syscall-list-64bit-condition): Define.
26719 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26720 (syscall-list-variants, syscall-list-32bit-options)
26721 (syscall-list-32bit-condition, syscall-list-64bit-options)
26722 (syscall-list-64bit-condition): Define.
26723 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26724 Remove.
26725 (syscall-list-variants, syscall-list-32bit-options)
26726 (syscall-list-32bit-condition, syscall-list-64bit-options)
26727 (syscall-list-64bit-condition): Define.
26728 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26729 Remove.
26730 (syscall-list-variants, syscall-list-32bit-options)
26731 (syscall-list-32bit-condition, syscall-list-64bit-options)
26732 (syscall-list-64bit-condition): Define.
26733
21eaf3a5
UD
267342011-12-22 Ulrich Drepper <drepper@gmail.com>
26735
16c6f992
UD
26736 * locale/iso-639.def: Add brx entry.
26737
41043168
UD
26738 [BZ #13328]
26739 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26740 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26741
21eaf3a5
UD
26742 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26743 __feraiseexcept_renamed.
26744
e3a851a2
UD
267452011-12-21 Ulrich Drepper <drepper@gmail.com>
26746
4920765e
UD
26747 [BZ #13538]
26748 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26749 EPOLLET with unsigned values.
26750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26752
e3a851a2
UD
26753 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26754 to large cancellation.
26755 * math/s_cacoshf.c: Likewise.
26756 * math/s_cacoshl.c: Likewise.
26757
b27e24b8
RK
267582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26759
26760 [BZ #13305]
aebefeee 26761 [BZ #12786]
b27e24b8
RK
26762 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26763 * math/s_cacoshf.c: Likewise.
26764 * math/s_cacoshl.c: Likewise.
26765
ee190f67
UD
267662011-12-21 Ulrich Drepper <drepper@gmail.com>
26767
26768 [BZ #13439]
26769 * iconv/gconv.h: Define __GCONV_SWAP.
26770 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26771 * iconvdata/utf-16.c: Likewise.
26772 * iconvdata/utf-32.c: Likewise.
26773
707f25df
AS
267742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26775
26776 [BZ #13524]
26777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26778 numerator after shifting it by one limb.
26779
d2daaa1e
RÁE
267802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26781
26782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26783 under [__USE_EXTERN_INLINES].
26784
a4647e72
UD
267852011-12-17 Ulrich Drepper <drepper@gmail.com>
26786
26787 [BZ #13446]
26788 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26789
f0b264f1
AZ
267902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26791
26792 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26793 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26794 optimized code.
26795 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26796 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26797 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26798 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26799 for strncasecmp/strncasecmp_l compilation.
26800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26801 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26802
8ef4f244
MP
268032011-12-08 Marek Polacek <mpolacek@redhat.com>
26804
26805 [BZ #13484]
26806 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26807 of __asm__.
26808
97ac2654
UD
268092011-12-17 Ulrich Drepper <drepper@gmail.com>
26810
26811 [BZ #13506]
26812 * time/tzfile.c (__tzfile_read): Check values from file header.
26813
91d2a845
WS
268142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26815
26816 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26817 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26818 * powerpc/powerpc32/dl-start.S: Likewise.
26819 * powerpc/powerpc32/elf/start.S: Likewise.
26820 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26821 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26822 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26823 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26824 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26825 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26826 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26827 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26828 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26829 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26830 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26831 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26832 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26833 * powerpc/powerpc32/memset.S: Likewise.
26834 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26835 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26836 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26837 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26838 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26839 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26840 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26841 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26842 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26843 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26844 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26845 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26846 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26847
a1267ba1
AZ
268482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26849
26850 * math/libm-test.inc: Added more nearbyint tests.
26851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26852 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26855
ad8ac1bd
RL
268562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26857
26858 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26859 FD_CLOEXEC.
26860
1d3e4b61
UD
268612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26862
26863 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26864 Add wcscpy-ssse3 wcscpy-c.
26865 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26866 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26867 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26868 * sysdeps/x86_64/wcschr.S: New file.
26869 * sysdeps/x86_64/wcsrchr.S: New file.
26870 * string/test-strcmp.c: Remove checking of wcscmp function for
26871 wrong alignments.
26872 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26873 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26874 wcsrchr-sse2 wcsrchr-c.
26875 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26876 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26877 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26878 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26879 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26880 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26881 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26882 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26883 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26884 * wcsmbc/wcschr.c (WCSCHR): New macro.
26885
5b330a2d
UD
268862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26887
26888 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26889 * wcsmbs/test-wcsrchr.c: New file.
26890 * string/test-strrchr.c: Add wcsrchr support.
26891 (WIDE): New macro.
26892 * wcsmbs/test-wcscpy.c: New file.
26893 * string/test-strcpy.c: Add wcscpy support.
26894 (WIDE): New macro.
26428b7c 26895
f039c043
UD
268962011-12-10 Ulrich Drepper <drepper@gmail.com>
26897
26898 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26899 the inner loop.
26900
850fb039
AS
269012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26902
26903 [BZ #13472]
26904 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26905
4efbd5cb
UD
269062011-12-04 Ulrich Drepper <drepper@gmail.com>
26907
52ff5dd0 26908 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26909 Minor optimizations.
52ff5dd0 26910
4efbd5cb
UD
26911 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26912 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26913 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26914
8a426e12
UD
269152011-12-03 Ulrich Drepper <drepper@gmail.com>
26916
aff2453d
UD
26917 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26918 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26919 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26920 for gcc to avoid warnings.
26921 * inet/Makefile (tests): Add tst-checks.
26922 * inet/tst-checks.c: New file.
26923
26924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26925 warning.
26926
26927 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26928 __wmemcmp_sse2.
26929
26930 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26931 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26932
8a426e12
UD
26933 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26934
9bea3473
UD
269352011-12-02 Ulrich Drepper <drepper@gmail.com>
26936
3a965496
UD
26937 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26938 problem.
26939
9bea3473
UD
26940 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26941
f101631b
UD
269422011-11-29 Joseph Myers <joseph@codesourcery.com>
26943
26944 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26945 conditional on GCC version.
26946 (__arch_compare_and_exchange_val_8_acq)
26947 (__arch_compare_and_exchange_val_16_acq)
26948 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26949 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26950 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26951
a98275aa
UD
269522011-12-02 Joseph Myers <joseph@codesourcery.com>
26953
26954 * sysdeps/sh/backtrace.c: New file.
26955
d4cc29a2
AS
269562011-12-02 Andreas Schwab <schwab@redhat.com>
26957
26958 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26959 parenthesis.
26960
6257af2d
AS
269612011-12-01 Andreas Schwab <schwab@redhat.com>
26962
26963 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26964 falling back to utime.
26965
b5f44c1a
AS
269662011-11-30 Andreas Schwab <schwab@redhat.com>
26967
26968 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26969 expectations for float.
26970
f3a6cc0a
AS
269712011-11-29 Andreas Schwab <schwab@redhat.com>
26972
26973 * locale/weight.h (findidx): Add parameter len.
26974 * locale/weightwc.h (findidx): Likewise.
26975 * posix/fnmatch_loop.c (FCT): Adjust caller.
26976 * posix/regcomp.c (build_equiv_class): Likewise.
26977 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26978 * posix/regexec.c (check_node_accept_bytes): Likewise.
26979 * string/strcoll_l.c (STRCOLL): Likewise.
26980 * string/strxfrm_l.c (STRXFRM): Likewise.
26981
9d65ea3a
UD
269822011-11-17 Ulrich Drepper <drepper@gmail.com>
26983
26984 * Makefile.in: Remove CVSOPT handling.
26985 * configure.in: Remove use of AC_REVISION.
26986 * iconvdata/Makefile (distribute): No need to filter out CVS.
26987 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26988 handling.
26989
5583a086
AS
269902011-11-16 Andreas Schwab <schwab@redhat.com>
26991
26992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26993 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26994 [USE_AS_STRNCASECMP_L]: Likewise.
26995 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26996 NO_TLS_DIRECT_SEG_REFS.
26997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26998 Fix argument offsets for non-PIC.
26999 [USE_AS_STRNCASECMP_L]: Likewise.
27000 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27001 NO_TLS_DIRECT_SEG_REFS.
27002
d62a8200
UD
270032011-11-15 Ulrich Drepper <drepper@gmail.com>
27004
9d65ea3a 27005 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27006 O_CLOEXEC.
27007 * locale/loadlocale.c (_nl_load_locale): Likewise.
27008
09f93bd3
AS
270092011-11-15 Andreas Schwab <schwab@redhat.com>
27010
446514f9
AS
27011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27012 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27013 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27014 (SYSCALL_GETTIME): Set errno on error.
27015
09f93bd3
AS
27016 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27017 count references to noai6ai_cached.
27018
312be3f9
UD
270192011-11-15 Ulrich Drepper <drepper@gmail.com>
27020
27021 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27022
27023 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27024 FD_CLOEXEC for /proc/self/maps.
27025
27026 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27027 FD_CLOEXEC for /proc/meminfo.
27028
27029 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27030 gai.conf.
27031
27032 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27033 FD_CLOEXEC for given file.
27034
27035 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27036
27037 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27038 FD_CLOEXEC for /etc/hosts.
27039 (_gethtent): Likewise.
27040
27041 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27042
27043 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27044 cancellation and set FD_CLOEXEC for /etc/netgroup.
27045
27046 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27047 reading /etc/publickey.
27048
27049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27050 allow cancellation when reading /etc/group.
27051
27052 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27053 cancellation.
27054 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27055
27056 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27057 when using data file.
27058
27059 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27060
27061 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27062 (write_nis_obj): Use "c" and "e" in fopen.
27063
27064 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27065
27066 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27067
27068 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27069
27070 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27071
27072 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27073 locale.alias.
27074
27075 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27076
27077 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27078
27079 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27080
27081 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27082 file parsing and set FD_CLOEXEC.
27083
82af0fa8
UD
270842011-11-14 Ulrich Drepper <drepper@gmail.com>
27085
27086 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27087
a5fb313c
AS
270882011-11-14 Andreas Schwab <schwab@redhat.com>
27089
27090 * malloc/arena.c (arena_get2): Don't call reused_arena when
27091 _int_new_arena failed.
27092
6abf3465
UD
270932011-11-14 Ulrich Drepper <drepper@gmail.com>
27094
27095 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27096 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27098 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27101 to compile strcasecmp and strncasecmp.
27102 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27103 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27104
27105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27106
76e3966e
UD
271072011-11-13 Ulrich Drepper <drepper@gmail.com>
27108
27109 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27110 locale-defines.sym to gen-as-const-headers.
27111 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27112 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27114 to compile strcasecmp and strncasecmp.
27115 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27116 strcasecmp_l and strncasecmp_l.
27117 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27118 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27119 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27121 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27122 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27123 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27124 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27125 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27126 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27127 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27128
ab26144e
UD
271292011-11-12 Ulrich Drepper <drepper@gmail.com>
27130
7edb22ef
UD
27131 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27132 result of SYSDEP_GETTIME_CPU to retval.
27133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27134 parameter list to macro. Remove trailing semicolon. Adjust users.
27135
9694fc44
UD
27136 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27137 variable.
27138
8ad89ef8
UD
27139 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27140 mantissa words.
27141 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27142
0c822ef9
UD
27143 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27144 from unused variable.
27145
874e0564
UD
27146 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27147 DWARF definitions.
27148 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27149 for assembling.
27150
3a2edc79
UD
27151 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27152 over namespaces.
27153
f3c2577f
UD
27154 * sunrpc/rpc_prot.c (rejected): Fix case value.
27155
294ce126
UD
27156 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27157 unsigned long long int to avoid warnings in shift.
27158
5e2b63c6
UD
27159 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27160 of use of trans.
27161 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27162 variable tmp.
27163
e7f4b08e
UD
27164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27165 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27167
ab26144e
UD
27168 * nis/nis_table.c (nis_list): Use variable of correct type for
27169 result of __follow_path call.
27170
8a6d5255
AZ
271712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27172
27173 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27174 of math functions ceil, trunc, floor, round, and sqrt, when
27175 avaliable on the platform.
27176 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27177 name clash.
27178 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27179 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27180 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27181
aaddc98c
MP
271822011-10-30 Marek Polacek <mpolacek@redhat.com>
27183
27184 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27186
95b7042b
RM
271872011-11-11 Roland McGrath <roland@hack.frob.com>
27188
27189 * include/unistd.h: Fix __readlink return type.
27190 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27191
57769839
UD
271922011-11-11 Ulrich Drepper <drepper@gmail.com>
27193
27194 * stdlib/ucontext.h: Undo last change for makecontext.
27195
edc5984d
AS
271962011-11-11 Andreas Schwab <schwab@redhat.com>
27197
98591e58
AS
27198 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27199
edc5984d
AS
27200 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27201 * setjmp/setjmp.h: Mark functions as non-leaf.
27202 * setjmp/bits/setjmp2.h: Likewise.
27203 * stdlib/ucontext.h: Likewise.
27204
77cdc054
AS
272052011-11-10 Andreas Schwab <schwab@redhat.com>
27206
27207 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27208 (reused_arena): Don't check arena limit.
27209 (arena_get2): Atomically check arena limit.
27210
fe72eebd
UD
272112011-11-08 Ulrich Drepper <drepper@gmail.com>
27212
5f078c32
UD
27213 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27214 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27215
fe72eebd
UD
27216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27217 instructions.
27218
ae1bc2fa
AS
272192011-11-07 Andreas Schwab <schwab@redhat.com>
27220
7583a88d
AS
27221 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27222 handler when locking.
27223
ae1bc2fa
AS
27224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27225 Fix size of allocated buffer.
27226
10fb0bfa
AS
272272011-11-04 Andreas Schwab <schwab@redhat.com>
27228
998832a4
AS
27229 [BZ #10103]
27230 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27231 declarations for long double functions.
27232 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27233
10fb0bfa
AS
27234 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27235
3d7ba52b
AS
272362011-11-03 Andreas Schwab <schwab@redhat.com>
27237
a9ae54a1
AS
27238 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27239 installed.
27240
3d7ba52b
AS
27241 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27242 is disabled.
27243
bc8db248
ST
272442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27245
27246 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27247
45b96dd6
AS
272482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27249
647776f6
AS
27250 * include/alloca.h (stackinfo_alloca_round): Define.
27251 (extend_alloca): Use it.
27252 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27253 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27254 here.
27255
d91a8b93
AS
27256 * scripts/check-local-headers.sh: Ignore libaudit.h.
27257
45b96dd6
AS
27258 * nscd/Makefile (extra-objs): Make recursively expanded.
27259
432d41ce
UD
272602011-11-01 Ulrich Drepper <drepper@gmail.com>
27261
34372fc6
UD
27262 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27264
fadb59f8
UD
27265 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27266 * posix/tst-rfc3484-2.c: Likewise.
27267 * posix/tst-rfc3484-3.c: Likewise.
27268
78239589
UD
27269 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27270 process_vm_writev.
27271 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27272 process_vm_writev.
27273 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27274 process_vm_writev from libc using GLIBC_2.15 version.
27275
432d41ce
UD
27276 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27277
02f9c6cf
PP
272782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27279
27280 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27281 stack usage.
27282
3a2c0242
UD
272832011-10-31 Ulrich Drepper <drepper@gmail.com>
27284
f4ec4833
UD
27285 [BZ #13367]
27286 * nss/getent.c (initgroups_keys): Show error message in case no group
27287 names are given.
27288
3a2c0242
UD
27289 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27290 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27291 __bump_nl_timestamp.
27292 * nscd/connections (nscd_init): When host database is served open
27293 netlink socket and request notification about configuration changes.
27294 (main_loop_poll): Track netlink file descriptor and bump timestamp
27295 in case data becomes available.
27296 (main_loop_epoll): Likewise.
27297 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27298 (database_pers_head): Add extra_data fileds.
27299 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27301 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27302 Adjust caller.
27303 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27304 in6ai data, call __free_in6ai.
27305 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27306 Add -DHAVE_NETLINK.
27307 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27308 interface information. Reuse previous data if netlink timestamp
27309 is not changed.
27310 (__bump_nl_timestamp): New function.
27311 (__free_in6ai): New function.
27312
636064eb
UD
273132011-10-30 Ulrich Drepper <drepper@gmail.com>
27314
27315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27316 close_not_cancel_no_status here.
27317 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27318
9beb2334
UD
273192011-10-29 Ulrich Drepper <drepper@gmail.com>
27320
6ef76f3b
UD
27321 [BZ #13276]
27322 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27323 return value.
27324
0ffc4f3e 27325 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27326 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27327 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27328
cb95113e
UD
273292011-07-03 Andreas Jaeger <aj@suse.de>
27330
27331 [BZ #10709]
27332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27333 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27334 * math/libm-test.inc (sin_test): Add test case.
27335
a1b560ff
UD
273362011-10-29 Ulrich Drepper <drepper@gmail.com>
27337
c9aaface
UD
27338 [BZ #13337]
27339 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27340 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27341
d272e7f1
UD
27342 * elf/chroot_canon.c (chroot_canon): Cleanups.
27343
1bc33071
UD
27344 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27345
1760874d
TJ
27346 [BZ #13335]
27347 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27348 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27349
51d91b18
UD
27350 * string/test-strchr.c: Make usable for strchrnul testing.
27351 * string/test-strchrnul.c: New file.
27352 * string/Makefile (strop-tests): Add strchrnul.
27353
a1b560ff 27354 * po/it.po: Update from translation team.
b611fb81 27355 * po/es.po: Likewise.
a1b560ff 27356
a5b81e1f
UD
273572011-10-28 Ulrich Drepper <drepper@gmail.com>
27358
fd52bc6d
UD
27359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27360 the three constants needed as parameters. Drop the others.
27361 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27362 __m128i_strloadu_tolower.
52e4b9eb
UD
27363 Create and initialize variable zero and use it in all the places
27364 where _mm_setzero_si128 was used.
fd52bc6d 27365
a5b81e1f
UD
27366 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27367 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27368 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27370 anymore.
27371 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27372 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27373 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27374 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27375 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27376 __mpranred, __mptan.
27377 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27378 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27379 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27380 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27381 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27382 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27384 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27385 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27386
b4343346
AS
273872011-10-28 Andreas Schwab <schwab@redhat.com>
27388
0c92d8a8
AS
27389 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27390 redefine if SHARED.
27391 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27392
b4343346
AS
27393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27394 wide char related routines to wcsmbs subdir.
27395
3871f58f
AS
273962011-10-27 Andreas Schwab <schwab@redhat.com>
27397
27398 [BZ #13344]
27399 * misc/sys/cdefs.h (__THROWNL): Define.
27400 * posix/unistd.h: Use __THREADNL instead of __THREAD
27401 for memory synchronization functions.
27402
94d44d9f
RM
274032011-10-26 Roland McGrath <roland@hack.frob.com>
27404
21b64b15 27405 [BZ #13349]
94d44d9f
RM
27406 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27407 doesn't exist.
27408 * manual/stdio.texi (Obstack Streams): Node removed.
27409
f6ce9294
AS
274102011-10-26 Andreas Schwab <schwab@redhat.com>
27411
80479147
AS
27412 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27414 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27415
f6ce9294
AS
27416 * math/math_private.h (math_force_eval): Allow non-addressable
27417 arguments.
27418 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27419
618280a1
UD
274202011-10-25 Ulrich Drepper <drepper@gmail.com>
27421
e0016b11
UD
27422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27423 file is not needed.
27424
27425 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27432 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27433 Add AVX variants.
27434 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27436 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27438 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27440 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27442 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27443 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27444 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27445 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27447 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27448 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27449 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27450 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27451 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27452 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27453
27454 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27455 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27456
618280a1
UD
27457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27458 place. Use VEX encoding when compiling for AVX.
27459
37822576
AS
274602011-10-25 Andreas Schwab <schwab@redhat.com>
27461
1f1e1947
AS
27462 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27463 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27464
37822576
AS
27465 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27466
31ea014d
UD
274672011-10-25 Ulrich Drepper <drepper@gmail.com>
27468
d7826aa1 27469 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27470 useless if() expression.
d7826aa1
UD
27471 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27482 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27483 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27485 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27486 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27489 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27490
31ea014d
UD
27491 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27492
16437fec
AS
274932011-10-25 Andreas Schwab <schwab@redhat.com>
27494
27495 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27496 condition.
27497 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27498
31d3cc00
UD
274992011-10-25 Ulrich Drepper <drepper@gmail.com>
27500
27501 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27502 .text section. Avoid duplicate constants.
27503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27515 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27518 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27520 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27530 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27531 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27532 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27533 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27534 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27536 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27537 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27538 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27539 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27541 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27542 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27543 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27544 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27545 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27547 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27548
58985aa9
UD
275492011-10-24 Ulrich Drepper <drepper@gmail.com>
27550
202c9deb
UD
27551 * sysdeps/x86_64/dla.h: Move to ...
27552 * sysdeps/x86_64/fpu/dla.h: ...here.
27553 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27554 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27555
af968f62
UD
27556 * config.make.in: Add have-mfma4 entry.
27557 * configure.in: Substitute libc_cv_cc_fma4.
27558 * math/Makefile (dbl-only-routines): Add sincostab.
27559 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27560 Use __sincostab not sincos.
27561 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27562 name is a macro.
27563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27567 using __copysign.
27568 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27569 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27570 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27571 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27572 and __inv.
27573 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27574 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27575 __copysign.
27576 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27577 define aliases when function name is a macro.
27578 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27579 sysdeps/ieee754/dbl-64/sincos.tbl.
27580 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27581 fma4-enabled routines.
27582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27583 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27584 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27585 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27586 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27587 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27589 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27591 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27592 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27594 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27595 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27596 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27597 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27599 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27600 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27602 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27603 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27605 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27606 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27607 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27608 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27609 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27610 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27611 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27612
58985aa9
UD
27613 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27614 rename.
27615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27623
a201fbcf
AS
276242011-10-24 Andreas Schwab <schwab@redhat.com>
27625
27626 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27627
fc2ee42a
LD
276282011-10-23 Ulrich Drepper <drepper@gmail.com>
27629
bb3129bd
UD
27630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27631
0275fff8
UD
27632 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27633 prediction.
27634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27635
2fa2ae85
UD
27636 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27637 Remove unused variable magic_bits.
27638 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27639
fc2ee42a
LD
27640 * string/strnlen.c: Define and use STRNLEN macro.
27641 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27642 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27644 * wcsmbs/wcslen.c: Define and use WCSLEN.
27645 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27646 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27647 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27648 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27649 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27650 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27651 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27652
ce7dd29f
LD
276532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27654
27655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27656 strnlen-sse2-no-bsf.
27657 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27659 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27660 Add strnlen support.
27661 (USE_AS_STRNLEN): New macro.
27662 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27664 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27665 * sysdeps/x86_64/wcslen.S: New file.
27666
979c70a3
MZ
276672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27668
27669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27670 XMM-moves are used for copying on small sizes.
27671
2d09f82f
LD
276722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27673
27674 * wcsmbs/Makefile (strop-tests): Add wcschr.
27675 * wcsmbs/test-wcschr.c: New file.
27676 * string/test-strchr.c: Update.
27677 Add wcschr support.
27678 (WIDE): New macro.
27679
619fccca
LD
276802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27681
2d09f82f 27682 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27683 * wcsmbs/test-wcslen.c: New file.
27684 * string/test-strlen.c: Update.
27685 Add wcslen support.
27686 (WIDE): New macro.
27687
09f699ea
UD
276882011-10-23 Ulrich Drepper <drepper@gmail.com>
27689
27690 * po/it.po: Update from translation team.
27691
95584d3b
LD
276922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27693
27694 * sysdeps/x86_64/wcscmp.S: Update.
27695 Fix wrong comparison semantics.
27696 wcscmp shall use signed comparison not unsigned.
27697 Don't use substraction to avoid overflow bug.
27698 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27699 * wcsmbc/wcscmp.c: Likewise.
27700 * string/test-strcmp.c: Likewise.
27701 Add new tests to check cases with negative values.
27702
c8b3296b
UD
277032011-10-23 Ulrich Drepper <drepper@gmail.com>
27704
27705 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27706 * sysdeps/x86_64/dla.h: ...here. New file.
27707 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27716
246ad57a
AS
277172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27718
27719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27720 __ynl_finite aliases.
27721
a1a87169
UD
277222011-10-22 Ulrich Drepper <drepper@gmail.com>
27723
0d355eb7
UD
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27725
a1a87169
UD
27726 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27727 define DLA_FMA.
27728 [DLA_FMA] (EMULV): Use DLA_FMA.
27729 [DLA_FMA] (MUL12): Use EMULV.
27730 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27731 that are not needed.
27732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27739
ee2aafe0
AS
277402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27741
27742 * math/s_nan.c: Undef __nan.
27743 * math/s_nanf.c: Undef __nanf.
27744 * math/s_nanl.c: Undef __nanl.
27745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27746 "math_private.h".
27747
bc62c2fb
UD
277482011-10-22 Ulrich Drepper <drepper@gmail.com>
27749
77425c63
UD
27750 * math/s_catan.c: Add branch predictions.
27751 * math/s_catanf.c: Likewise.
27752 * math/s_catanh.c: Likewise.
27753 * math/s_catanhf.c: Likewise.
27754 * math/s_catanhl.c: Likewise.
27755 * math/s_catanl.c: Likewise.
27756 * math/s_cexp.c: Likewise.
27757 * math/s_cexpf.c: Likewise.
27758 * math/s_cexpl.c: Likewise.
27759 * math/s_clog.c: Likewise.
27760 * math/s_clog10.c: Likewise.
27761 * math/s_clog10f.c: Likewise.
27762 * math/s_clog10l.c: Likewise.
27763 * math/s_clogf.c: Likewise.
27764 * math/s_clogl.c: Likewise.
27765 * math/s_csqrt.c: Likewise.
27766 * math/s_csqrtf.c: Likewise.
27767 * math/s_csqrtl.c: Likewise.
27768 * math/s_ctanf.c: Likewise.
27769 * math/s_ctanh.c: Likewise.
27770 * math/s_ctanhf.c: Likewise.
27771 * math/s_ctanhl.c: Likewise.
27772 * math/s_ctanl.c: Likewise.
27773
bc62c2fb
UD
27774 * math/math_private.h: Define __nan, __nanf, __nanl.
27775 * math/s_cacosh.c: Include <math_private.h>.
27776 * math/s_cacoshl.c: Likewise.
27777 * math/s_casinh.c: Likewise.
27778 * math/s_casinhf.c: Likewise.
27779 * math/s_casinhl.c: Likewise.
27780 * math/s_ccos.c: Rely entire on ccosh.
27781 * math/s_ccosf.c: Rely entire on ccoshf.
27782 * math/s_ccosl.c: Rely entirely on ccoshl.
27783 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27784 Remove tests for FE_INVALID.
27785 * math/s_ccoshf.c: Likewise.
27786 * math/s_ccoshl.c: Likewise.
27787 * math/s_csin.c: Likewise.
27788 * math/s_csinf.c: Likewise.
27789 * math/s_csinh.c Likewise.
27790 * math/s_csinhf.c: Likewise.
27791 * math/s_csinhl.c: Likewise.
27792 * math/s_csinl.c: Likewise.
27793 * math/s_ctan.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27795 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27796 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27797
8ec250a4
UD
277982011-10-21 Ulrich Drepper <drepper@gmail.com>
27799
c196fed8
UD
27800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27801 compilation problems.
27802
8ec250a4
UD
27803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27804 __builtin_expect.
27805
8d4f46c6
UD
278062011-10-20 Ulrich Drepper <drepper@gmail.com>
27807
ed72b654
UD
27808 * sysdeps/i386/configure.in: Test for -mfma4 option.
27809 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27810 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27811 COMMON_CPUID_INDEX_80000001.
27812 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27813 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27814 use it if FMA3 is not supported.
27815 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27816
8d4f46c6
UD
27817 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27818 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27819
d45c60c2
AS
278202011-10-20 Andreas Schwab <schwab@redhat.com>
27821
27822 [BZ #12892]
27823 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27824 it would create a cycle with a link time dependency.
27825
d9a4d2ab
UD
278262011-10-19 Ulrich Drepper <drepper@gmail.com>
27827
855d1560
UD
27828 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27829 instruction.
27830 * string/Makefile (strop-tests): Add rawmemchr.
27831 * string/test-rawmemchr.c: New file.
27832
d9a4d2ab
UD
27833 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27834 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27835 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27836 when compiling str{,n}casecmp and when AVX is available. Hook up
27837 new optimized code in initializers.
27838
8f3b1ffe
AS
278392011-10-19 Andreas Schwab <schwab@redhat.com>
27840
27841 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27842 __feraiseexcept instead of feraiseexcept.
27843
d38f1dba
UD
278442011-10-18 Ulrich Drepper <drepper@gmail.com>
27845
d9a8d0ab
UD
27846 * math/math_private.h: Define defaults for libc_fetestexcept and
27847 libc_feupdateenv.
27848 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27849 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27850 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27851 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27853 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27854 libc_fetestexcept and libc_feupdateenv.
27855
4855e3dd
UD
27856 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27857 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27858 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27859 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27860 libc_feholdexcept_setround.
27861
581d30e3
UD
27862 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27863 Add s_nearbyint-c and s_nearbyintf-c.
27864 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27865 nearbyintf inlines.
27866 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27868 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27869 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27870
d38f1dba
UD
27871 * math/math_private.h: Define defaults for libc_fegetround,
27872 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27873 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27874 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27876 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27877 standard functions.
27878 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27879 Remove comments and hacks for old compiler versions.
27880 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27881 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27882 libc_feholdexceptl.
27883
caa6c9d8
AS
278842011-10-18 Andreas Schwab <schwab@redhat.com>
27885
27886 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27887 (__feraiseexcept_renamed): Add __NTH.
27888 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27889 namespace violations.
27890
97c066e6
UD
278912011-10-17 Ulrich Drepper <drepper@gmail.com>
27892
99ce7b04
UD
27893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27894
1004d182
UD
27895 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27896
228a984d
UD
27897 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27898 recently added interfaces.
27899 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27900
c8553a6a
UD
27901 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27902 about macro parameter expansion.
27903
ed22dcf6
UD
27904 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27905 __NO_MATH_INLINES is defined. Cleanups.
27906
27907 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27908 and __floorf is target has SSE4.1.
27909 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27910 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27911 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27912 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27913
b171c137
UD
27914 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27915 name.
27916 (floorf): Likewise.
27917
97c066e6
UD
27918 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27919
629f62ef
AS
279202011-10-17 Andreas Schwab <schwab@redhat.com>
27921
49a43d80
AS
27922 * misc/sys/cdefs.h: Fix last change.
27923
629f62ef
AS
27924 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27925 database lookup.
27926
e453f6cd
UD
279272011-10-16 Ulrich Drepper <drepper@gmail.com>
27928
aa78043a
UD
27929 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27930
ad0f5cad
UD
27931 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27933 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27936 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27938 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27939 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27940 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27941 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27942 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27943 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27944 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27945 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27946 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27947 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27948 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27949 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27950 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27951 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27952 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27953
27954 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27955 ceil, ceilf, floor, floorf.
27956
27957 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27958 Perform IRELATIVE relocations last.
27959
e453f6cd
UD
27960 * elf/do-rel.h: Add another parameter nrelative, replacing the
27961 local variable with the same name. Change name of the function
27962 to end in Rel or Rela (uppercase).
27963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27964 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27965 elf_dynamic_do_##reloc function.
27966
fd5bdc09
UD
279672011-10-15 Ulrich Drepper <drepper@gmail.com>
27968
79b195b5
UD
27969 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27970 is sufficient, at least on modern CPUs.
27971
d4a28569
UD
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27973
b61099b5
UD
27974 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27975 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27976
bcf01e6d
UD
27977 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27978 __expl_finite.
27979 * math/bits/math-finite.h: Add entries for exp.
27980 * math/e_expl.c: Add __*_finite alias.
27981 * sysdeps/i386/fpu/e_exp.S: Likewise.
27982 * sysdeps/i386/fpu/e_expf.S: Likewise.
27983 * sysdeps/i386/fpu/e_expl.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27985 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27989 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27990 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27991
ba1a0d59
UD
27992 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27993 is sufficient, at least on modern CPUs.
27994
fd5bdc09
UD
27995 * ctype/ctype-info.c (__ctype_init): Define.
27996 * include/ctype.h (__ctype_init): Declare.
27997 (__ctype_b_loc): The variable is always initialized.
27998 (__ctype_toupper_loc): Likewise.
27999 (__ctype_tolower_loc): Likewise.
28000 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28001 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28002
7872cfb0
AS
280032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28004
b468825a
AS
28005 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28006
7872cfb0
AS
28007 * configure.in: Also look in $cxxmachine/include for C++ system
28008 headers.
28009
be13f7bf
LD
280102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28011
28012 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28013 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28014 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28015 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28017 (USE_AS_WMEMCMP): New macro.
28018 Fixing indents.
28019 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28020 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28021 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28022 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28024 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28025 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28026 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28027 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28028 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28030 (USE_AS_WMEMCMP): New macro.
28031 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28032 * sysdeps/string/test-memcmp.c: Update.
28033 Fix simple_wmemcmp.
28034 Add new tests.
28035 * wcsmbs/wmemcmp.c: Update.
28036 (WMEMCMP): New macro.
28037 Fix overflow bug.
28038
556a2007
AJ
280392011-10-12 Andreas Jaeger <aj@suse.de>
28040
28041 [BZ #13268]
28042 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28043
538faaa7
UD
280442011-10-15 Ulrich Drepper <drepper@gmail.com>
28045
ab6737ff
UD
28046 * libio/iofwide.c (do_length): Avoid warning.
28047
538faaa7
UD
28048 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28049
396a21b1
UD
280502011-10-14 Ulrich Drepper <drepper@gmail.com>
28051
cdf2901f
UD
28052 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28053
38ad40ce
UD
28054 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28055 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28056 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28057 * sysdeps/i386/i686/fpu/e_log.S: New file.
28058 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28059 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28060
396a21b1
UD
28061 * ctype/ctype.h: Add support for inlined isXXX functions when
28062 compiling C++ code.
28063
6b1f68c9
AS
280642011-10-14 Andreas Schwab <schwab@redhat.com>
28065
349290c0
AS
28066 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28067
6b1f68c9
AS
28068 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28069
f2282d42
RM
280702011-10-13 Roland McGrath <roland@hack.frob.com>
28071
28072 [BZ #13291]
28073 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28074
5298ffa8
AS
280752011-10-13 Andreas Schwab <schwab@redhat.com>
28076
714fad23
AS
28077 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28078 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28079 feraiseexcept.
28080
81dcc7fb
AS
28081 * sysdeps/x86_64/memrchr.S: Check for zero size.
28082
5298ffa8
AS
28083 * string/stratcliff.c: Add memrchr tests.
28084
951fbcec
LD
280852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28086
28087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28088 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28089 rawmemchr-sse2 rawmemchr-sse2-bsf.
28090 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28091 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28092 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28093 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28094 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28095 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28096 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28097 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28098 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28099 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28100 * string/memrchr.c (MEMRCHR): New macro.
28101
0ac5ae23
UD
281022011-10-12 Ulrich Drepper <drepper@gmail.com>
28103
28104 Add integration with gcc's -ffinite-math-only and optimize wrapper
28105 functions in libm.
28106 * Versions.def: Define GLIBC_2.15 version for libm.
28107 * math/Makefile (headers): Add bits/math-finite.h.
28108 * math/bits/math-finite.h: New file.
28109 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28110 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28111 * math/e_acoshl.c: Add __*_finite alias.
28112 * math/e_acosl.c: Likewise.
28113 * math/e_asinl.c: Likewise.
28114 * math/e_atan2l.c: Likewise.
28115 * math/e_atanhl.c: Likewise.
28116 * math/e_coshl.c: Likewise.
28117 * math/e_exp10.c: Likewise.
28118 * math/e_exp10f.c: Likewise.
28119 * math/e_exp10l.c: Likewise.
28120 * math/e_exp2l.c: Likewise.
28121 * math/e_fmodl.c: Likewise.
28122 * math/e_gammal_r.c: Likewise.
28123 * math/e_hypotl.c: Likewise.
28124 * math/e_j0l.c: Likewise.
28125 * math/e_j1l.c: Likewise.
28126 * math/e_jnl.c: Likewise.
28127 * math/e_lgammal_r.c: Likewise.
28128 * math/e_log10l.c: Likewise.
28129 * math/e_log2l.c: Likewise.
28130 * math/e_logl.c: Likewise.
28131 * math/e_powl.c: Likewise.
28132 * math/e_sinhl.c: Likewise.
28133 * math/e_sqrtl.c: Likewise.
28134 * math/e_scalb.c: Completely rewritten and optimized.
28135 * math/e_scalbf.c: Likewise.
28136 * math/e_scalbl.c: Likewise.
28137 * math/w_acos.c: Likewise.
28138 * math/w_acosf.c: Likewise.
28139 * math/w_acosl.c: Likewise.
28140 * math/w_acosh.c: Likewise.
28141 * math/w_acoshf.c: Likewise.
28142 * math/w_acoshl.c: Likewise.
28143 * math/w_asin.c: Likewise.
28144 * math/w_asinf.c: Likewise.
28145 * math/w_asinl.c: Likewise.
28146 * math/w_atan2.c: Likewise.
28147 * math/w_atan2f.c: Likewise.
28148 * math/w_atan2l.c: Likewise.
28149 * math/w_atanh.c: Likewise.
28150 * math/w_atanhf.c: Likewise.
28151 * math/w_atanhl.c: Likewise.
28152 * math/w_exp10.c: Likewise.
28153 * math/w_exp10f.c: Likewise.
28154 * math/w_exp10l.c: Likewise.
28155 * math/w_fmod.c: Likewise.
28156 * math/w_fmodf.c: Likewise.
28157 * math/w_fmodl.c: Likewise.
28158 * math/w_j0.c: Likewise.
28159 * math/w_j0f.c: Likewise.
28160 * math/w_j0l.c: Likewise.
28161 * math/w_j1.c: Likewise.
28162 * math/w_j1f.c: Likewise.
28163 * math/w_j1l.c: Likewise.
28164 * math/w_jn.c: Likewise.
28165 * math/w_jnf.c: Likewise.
28166 * math/w_log.c: Likewise.
28167 * math/w_logf.c: Likewise.
28168 * math/w_logl.c: Likewise.
28169 * math/w_log10.c: Likewise.
28170 * math/w_log10f.c: Likewise.
28171 * math/w_log10l.c: Likewise.
28172 * math/w_log2.c: Likewise.
28173 * math/w_log2f.c: Likewise.
28174 * math/w_log2l.c: Likewise.
28175 * math/w_pow.c: Likewise.
28176 * math/w_powf.c: Likewise.
28177 * math/w_powl.c: Likewise.
28178 * math/w_remainder.c: Likewise.
28179 * math/w_remainderf.c: Likewise.
28180 * math/w_remainderl.c: Likewise.
28181 * math/w_scalb.c: Likewise.
28182 * math/w_scalbf.c: Likewise.
28183 * math/w_scalbl.c: Likewise.
28184 * math/w_sqrt.c: Likewise.
28185 * math/w_sqrtf.c: Likewise.
28186 * math/w_sqrtl.c: Likewise.
28187 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28188 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28189 used.
28190 * math/math_private.h: Declare __kernel_standard_f.
28191 * math/w_cosh.c: Remove cruft and optimize a bit.
28192 * math/w_coshf.c: Likewise.
28193 * math/w_coshl.c: Likewise.
28194 * math/w_exp2.c: Likewise.
28195 * math/w_exp2f.c: Likewise.
28196 * math/w_exp2l.c: Likewise.
28197 * math/w_hypot.c: Likewise.
28198 * math/w_hypotf.c: Likewise.
28199 * math/w_hypotl.c: Likewise.
28200 * math/w_lgamma.c: Likewise.
28201 * math/w_lgamma_r.c: Likewise.
28202 * math/w_lgammaf.c: Likewise.
28203 * math/w_lgammaf_r.c: Likewise.
28204 * math/w_lgammal.c: Likewise.
28205 * math/w_lgammal_r.c: Likewise.
28206 * math/w_sinh.c: Likewise.
28207 * math/w_sinhf.c: Likewise.
28208 * math/w_sinhl.c: Likewise.
28209 * math/w_tgamma.c: Likewise.
28210 * math/w_tgammaf.c: Likewise.
28211 * math/w_tgammal.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28214 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28215 Minor optimizations. Pretty printing. Remove cruft.
28216 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28217 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28218 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28219 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28220 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28221 * sysdeps/i386/fpu/e_asin.S: Likewise.
28222 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28223 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28224 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28225 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28226 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28227 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28228 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28229 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28230 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28231 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28232 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28233 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28234 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28235 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28236 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28237 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28238 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28239 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28240 * sysdeps/i386/fpu/e_log.S: Likewise.
28241 * sysdeps/i386/fpu/e_log10.S: Likewise.
28242 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28243 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28244 * sysdeps/i386/fpu/e_log2.S: Likewise.
28245 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28246 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28247 * sysdeps/i386/fpu/e_logf.S: Likewise.
28248 * sysdeps/i386/fpu/e_logl.S: Likewise.
28249 * sysdeps/i386/fpu/e_pow.S: Likewise.
28250 * sysdeps/i386/fpu/e_powf.S: Likewise.
28251 * sysdeps/i386/fpu/e_powl.S: Likewise.
28252 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28253 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28254 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28255 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28256 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28258 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28259 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28260 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28271 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28272 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28278 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28282 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28286 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28287 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28290 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28292 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28295 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28296 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28297 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28298 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28299 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28300 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28301 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28344 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28348 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28349 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28354 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28355 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28356 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28357 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28358 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28359 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28360 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28361 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28362 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28363 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28364 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28365 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28369 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28370 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28371 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28372 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28373 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28374 (__isnanf): Likewise.
28375 (__isinf_ns): Likewise.
28376 (__isinf_nsf): Likewise.
28377 (__finite): Likewise.
28378 (__finitef): Likewise.
28379 (__ieee754_sqrt): Define as macro.
28380 (__ieee754_sqrtf): Define as macro.
28381 (__ieee754_sqrtl): Define as macro.
28382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28383 inlined copy.
28384 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28385 __FINITE_MATH_ONLY__ consistent.
28386 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28387
12cc2fcd
AS
283882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28389
a843a204
AS
28390 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28391 of rawmemchr.
28392
12cc2fcd
AS
28393 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28394
c853acd5
UD
283952011-10-09 Ulrich Drepper <drepper@gmail.com>
28396
28397 * po/ja.po: Update from translation team.
28398
c658d255
RM
283992011-10-08 Roland McGrath <roland@hack.frob.com>
28400
110946e4
RM
28401 * locale/programs/locarchive.c (prepare_address_space): New function.
28402 (create_archive, enlarge_archive, open_archive): Use it.
28403
50604220
RM
28404 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28405 inside [SHARED], where it is used.
28406
c658d255
RM
28407 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28408
28409 * nss/getent.c (netgroup_keys): Remove unused variable.
28410 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28411
6a621eb7
UD
284122011-10-08 Ulrich Drepper <drepper@gmail.com>
28413
7edb55ce
UD
28414 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28415 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28417 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28418 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28419 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28420 * math/Makefile (libm-calls): Add s_isinf_ns.
28421 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28422 * math/multc3.c: Likewise.
28423 * math/s_casin.c: Likewise.
28424 * math/s_casinf.c: Likewise.
28425 * math/s_casinl.c: Likewise.
28426 * math/s_ccos.c: Likewise.
28427 * math/s_ccosf.c: Likewise.
28428 * math/s_ccosl.c: Likewise.
28429 * math/s_ctan.c: Likewise.
28430 * math/s_ctanf.c: Likewise.
28431 * math/s_ctanh.c: Likewise.
28432 * math/s_ctanhf.c: Likewise.
28433 * math/s_ctanhl.c: Likewise.
28434 * math/s_ctanl.c: Likewise.
28435 * math/w_fmod.c: Likewise.
28436 * math/w_fmodf.c: Likewise.
28437 * math/w_fmodl.c: Likewise.
28438 * math/w_remainder.c: Likewise.
28439 * math/w_remainderf.c: Likewise.
28440 * math/w_remainderl.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28442 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28443 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28445 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28446 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28447 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28448 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28449
187da0ae
UD
28450 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28451 of the number.
28452 * stdio-common/printf_fphex.c: Likewise.
28453 * stdio-common/printf_size.c: Likewise.
28454
9277c064
UD
28455 * math/e_exp10.c: Include math_private.h using <...> not "...".
28456 * math/e_exp10f.c: Likewise.
28457 * math/e_exp10l.c: Likewise.
28458 * math/e_exp2l.c: Likewise.
28459 * math/e_j0l.c: Likewise.
28460 * math/e_j1l.c: Likewise.
28461 * math/e_jnl.c: Likewise.
28462 * math/e_lgammal_r.c: Likewise.
28463 * math/e_rem_pio2l.c: Likewise.
28464 * math/e_scalb.c: Likewise.
28465 * math/e_scalbf.c: Likewise.
28466 * math/e_scalbl.c: Likewise.
28467 * math/k_cosl.c: Likewise.
28468 * math/k_sinl.c: Likewise.
28469 * math/k_tanl.c: Likewise.
28470 * math/s_cacoshf.c: Likewise.
28471 * math/s_catan.c: Likewise.
28472 * math/s_catanf.c: Likewise.
28473 * math/s_catanh.c: Likewise.
28474 * math/s_catanhf.c: Likewise.
28475 * math/s_catanhl.c: Likewise.
28476 * math/s_catanl.c: Likewise.
28477 * math/s_ccosh.c: Likewise.
28478 * math/s_ccoshf.c: Likewise.
28479 * math/s_ccoshl.c: Likewise.
28480 * math/s_cexp.c: Likewise.
28481 * math/s_cexpf.c: Likewise.
28482 * math/s_cexpl.c: Likewise.
28483 * math/s_clog.c: Likewise.
28484 * math/s_clog10.c: Likewise.
28485 * math/s_clog10f.c: Likewise.
28486 * math/s_clog10l.c: Likewise.
28487 * math/s_clogf.c: Likewise.
28488 * math/s_clogl.c: Likewise.
28489 * math/s_csin.c: Likewise.
28490 * math/s_csinf.c: Likewise.
28491 * math/s_csinh.c: Likewise.
28492 * math/s_csinhf.c: Likewise.
28493 * math/s_csinhl.c: Likewise.
28494 * math/s_csinl.c: Likewise.
28495 * math/s_csqrt.c: Likewise.
28496 * math/s_csqrtf.c: Likewise.
28497 * math/s_csqrtl.c: Likewise.
28498 * math/s_ctan.c: Likewise.
28499 * math/s_ctanf.c: Likewise.
28500 * math/s_ctanh.c: Likewise.
28501 * math/s_ctanhf.c: Likewise.
28502 * math/s_ctanhl.c: Likewise.
28503 * math/s_ctanl.c: Likewise.
28504 * math/s_ldexp.c: Likewise.
28505 * math/s_ldexpf.c: Likewise.
28506 * math/s_ldexpl.c: Likewise.
28507 * math/s_significand.c: Likewise.
28508 * math/s_significandf.c: Likewise.
28509 * math/s_significandl.c: Likewise.
28510 * math/w_acos.c: Likewise.
28511 * math/w_acosf.c: Likewise.
28512 * math/w_acosh.c: Likewise.
28513 * math/w_acoshf.c: Likewise.
28514 * math/w_acoshl.c: Likewise.
28515 * math/w_acosl.c: Likewise.
28516 * math/w_asin.c: Likewise.
28517 * math/w_asinf.c: Likewise.
28518 * math/w_asinl.c: Likewise.
28519 * math/w_atan2.c: Likewise.
28520 * math/w_atan2f.c: Likewise.
28521 * math/w_atan2l.c: Likewise.
28522 * math/w_atanh.c: Likewise.
28523 * math/w_atanhf.c: Likewise.
28524 * math/w_atanhl.c: Likewise.
28525 * math/w_cosh.c: Likewise.
28526 * math/w_coshf.c: Likewise.
28527 * math/w_coshl.c: Likewise.
28528 * math/w_dremf.c: Likewise.
28529 * math/w_exp10.c: Likewise.
28530 * math/w_exp10f.c: Likewise.
28531 * math/w_exp10l.c: Likewise.
28532 * math/w_exp2.c: Likewise.
28533 * math/w_exp2f.c: Likewise.
28534 * math/w_fmod.c: Likewise.
28535 * math/w_fmodf.c: Likewise.
28536 * math/w_fmodl.c: Likewise.
28537 * math/w_hypot.c: Likewise.
28538 * math/w_hypotf.c: Likewise.
28539 * math/w_hypotl.c: Likewise.
28540 * math/w_j0.c: Likewise.
28541 * math/w_j0f.c: Likewise.
28542 * math/w_j0l.c: Likewise.
28543 * math/w_j1.c: Likewise.
28544 * math/w_j1f.c: Likewise.
28545 * math/w_j1l.c: Likewise.
28546 * math/w_jn.c: Likewise.
28547 * math/w_jnf.c: Likewise.
28548 * math/w_jnl.c: Likewise.
28549 * math/w_lgamma.c: Likewise.
28550 * math/w_lgamma_r.c: Likewise.
28551 * math/w_lgammaf.c: Likewise.
28552 * math/w_lgammaf_r.c: Likewise.
28553 * math/w_lgammal.c: Likewise.
28554 * math/w_lgammal_r.c: Likewise.
28555 * math/w_log.c: Likewise.
28556 * math/w_log10.c: Likewise.
28557 * math/w_log10f.c: Likewise.
28558 * math/w_log10l.c: Likewise.
28559 * math/w_log2.c: Likewise.
28560 * math/w_log2f.c: Likewise.
28561 * math/w_log2l.c: Likewise.
28562 * math/w_logf.c: Likewise.
28563 * math/w_logl.c: Likewise.
28564 * math/w_pow.c: Likewise.
28565 * math/w_powf.c: Likewise.
28566 * math/w_powl.c: Likewise.
28567 * math/w_remainder.c: Likewise.
28568 * math/w_remainderf.c: Likewise.
28569 * math/w_remainderl.c: Likewise.
28570 * math/w_scalb.c: Likewise.
28571 * math/w_scalbf.c: Likewise.
28572 * math/w_scalbl.c: Likewise.
28573 * math/w_sinh.c: Likewise.
28574 * math/w_sinhf.c: Likewise.
28575 * math/w_sinhl.c: Likewise.
28576 * math/w_sqrt.c: Likewise.
28577 * math/w_sqrtf.c: Likewise.
28578 * math/w_sqrtl.c: Likewise.
28579 * math/w_tgamma.c: Likewise.
28580 * math/w_tgammaf.c: Likewise.
28581 * math/w_tgammal.c: Likewise.
28582
6a621eb7
UD
28583 * po/ja.po: Update from translation team.
28584
bf582445
AJ
285852011-09-29 Andreas Jaeger <aj@suse.de>
28586
f9efbf3a
AJ
28587 [BZ #13179]
28588 * sunrpc/netname.c (netname2host): Fix logic.
28589
bf582445
AJ
28590 [BZ #6779]
28591 [BZ #6783]
28592 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28593 correctly.
28594 * math/w_remainder.c (__remainder): Likewise.
28595 * math/w_remainderf.c (__remainderf): Likewise.
28596 * math/libm-test.inc (remainder_test): Add test cases.
28597
48693bea
AK
285982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28599
28600 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28601 sdiv_qrnnd.
28602
42622229
LD
286032011-10-07 Ulrich Drepper <drepper@gmail.com>
28604
28605 * string/test-memcmp.c: Avoid unncessary #defines.
28606 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28607
093ecf92
LD
286082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28609
28610 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28611 Use new sse2 version for core i3 - i7 as it's faster
28612 than sse42 version.
28613 (bit_Prefer_PMINUB_for_stringop): New.
28614 * sysdeps/x86_64/rawmemchr.S: Update.
28615 Replace with faster SSE2 version.
28616 * sysdeps/x86_64/memrchr.S: New file.
28617 * sysdeps/x86_64/memchr.S: Update.
28618 Replace with faster SSE2 version.
28619
fde56e5c
MP
286202011-09-12 Marek Polacek <mpolacek@redhat.com>
28621
28622 * elf/dl-load.c (lose): Add cast to avoid warning.
28623
21fd49a9
UD
286242011-10-07 Ulrich Drepper <drepper@gmail.com>
28625
5a06e643
UD
28626 * po/ca.po: Update from translation team.
28627
684ae515
UD
28628 * inet/getnetgrent_r.c: Hook up nscd.
28629 * nscd/Makefile (routines): Add nscd_netgroup.
28630 (nscd-modules): Add netgroupcache.
28631 (CFLAGS-netgroupcache.c): Define.
28632 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28633 (cache_search): Add const to second parameter.
28634 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28635 INNETGR.
28636 (dbs): Add netgrdb entry.
28637 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28638 (verify_persistent_db): Handle netgrdb.
28639 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28640 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28641 GETFDNETGR.
28642 (netgroup_response_header): Define.
28643 (innetgroup_response_header): Define.
28644 (datahead): Add netgroup_response_header and innetgroup_response_header
28645 elements.
28646 * nscd/nscd.conf: Add entries for netgroup cache.
28647 * nscd/nscd.h (dbtype): Add netgrdb.
28648 (_PATH_NSCD_NETGROUP_DB): Define.
28649 (netgroup_iov_disabled): Declare.
28650 (xmalloc, xcalloc, xrealloc): Move declarations here.
28651 (cache_search): Adjust prototype.
28652 Add netgroup-related prototypes.
28653 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28654 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28655 (__nscd_innetgr): Declare.
28656 * nscd/selinux.c (perms): Use access_vector_t as element type and
28657 add netgroup-related initializers.
28658 * nscd/netgroupcache.c: New file.
28659 * nscd/nscd_netgroup.c: New file.
28660 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28661 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28662 For four parameters use innetgr.
28663 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28664 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28665 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28666 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28667
21fd49a9
UD
28668 * nscd/connections.c (register_traced_file): Don't register file
28669 for disabled databases.
28670
054c0457
UD
286712011-10-06 Ulrich Drepper <drepper@gmail.com>
28672
32b63198
UD
28673 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28674
054c0457
UD
28675 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28676 from tree and freeing node.
28677
64031225
JO
286782011-09-25 Jiri Olsa <jolsa@redhat.com>
28679
28680 * nss/nsswitch.c (__nss_database_lookup): Handle
28681 nss_parse_service_list out of memory case.
28682
0490345c
JO
286832011-09-15 Jiri Olsa <jolsa@redhat.com>
28684
28685 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28686 out of memory case.
28687
3a62d00d
AS
286882011-10-04 Andreas Schwab <schwab@redhat.com>
28689
28690 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28691 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28692 pass it down.
28693 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28694 elf_machine_rela, elf_machine_lazy_rel.
28695 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28696 (ELF_DYNAMIC_DO_REL): Likewise.
28697 (ELF_DYNAMIC_DO_RELA): Likewise.
28698 (ELF_DYNAMIC_RELOCATE): Likewise.
28699 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28700 to ELF_DYNAMIC_DO_REL.
28701 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28702 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28703 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28704 elf_machine_rela.
28705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28706 skip_ifunc, don't call ifunc function if non-zero.
28707 (elf_machine_rela): Likewise.
28708 (elf_machine_lazy_rel): Likewise.
28709 (elf_machine_lazy_rela): Likewise.
28710 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28711 (elf_machine_lazy_rel): Likewise.
28712 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28713 Likewise.
28714 (elf_machine_lazy_rel): Likewise.
28715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28716 Likewise.
28717 (elf_machine_lazy_rel): Likewise.
28718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28719 (elf_machine_lazy_rel): Likewise.
28720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28721 (elf_machine_lazy_rel): Likewise.
28722 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28723 (elf_machine_lazy_rel): Likewise.
28724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28725 (elf_machine_lazy_rel): Likewise.
28726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28727 (elf_machine_lazy_rel): Likewise.
28728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28729 (elf_machine_lazy_rel): Likewise.
28730
68577918
UD
287312011-09-28 Ulrich Drepper <drepper@gmail.com>
28732
28733 * nss/nss_files/files-init.c (_nss_files_init): Use static
28734 initialization for all the *_traced_file variables.
28735
68822d74
AS
287362011-09-28 Andreas Schwab <schwab@redhat.com>
28737
28738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28739
2056100b
RM
287402011-09-27 Roland McGrath <roland@hack.frob.com>
28741
28742 [BZ #13226]
28743 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28744
32c76b63
AS
287452011-09-27 Andreas Schwab <schwab@redhat.com>
28746
28747 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28748 Reread the line before reparsing it.
28749
bf972c9d
AS
287502011-09-26 Andreas Schwab <schwab@redhat.com>
28751
28752 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28753
e057a1b5
JM
287542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28755 Maxim Kuvyrkov <maxim@codesourcery.com>
28756 Joseph Myers <joseph@codesourcery.com>
28757
28758 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28759 if needed for __stack_chk_guard.
28760
bc7e1c36
RM
287612011-09-19 Roland McGrath <roland@hack.frob.com>
28762
ecb1482f
RM
28763 * sysdeps/posix/spawni.c (script_execute): Always define it.
28764 It will be optimized away if unused.
28765 (maybe_script_execute): New function.
28766 (__spawni): Call it.
28767
bc7e1c36
RM
28768 * Makerules: Don't include tls.make.
28769 (config-tls): Always set to thread.
28770 * tls.make.c: File removed.
28771
1c3b002b
MF
287722011-09-19 Mike Frysinger <vapier@gentoo.org>
28773
28774 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28775 * config.make.in (CPPFLAGS-config): New substituted variable.
28776
2840865d
UD
287772011-09-15 Ulrich Drepper <drepper@gmail.com>
28778
88738eb6
UD
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28780
cbf645a6 28781 [BZ #13192]
2840865d
UD
28782 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28783 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28784
b402e91a
RM
287852011-09-15 Roland McGrath <roland@hack.frob.com>
28786
28787 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28788 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28789 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28790 (CALL_FAIL): Likewise.
28791 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28792 (CALL_FAIL): Macro removed.
28793 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28794
4c1a1f71
UD
287952011-09-15 Ulrich Drepper <drepper@gmail.com>
28796
28797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28798 for __FINITE_MATH_ONLY__ == 1.
28799
edc121be
AS
288002011-09-15 Andreas Schwab <schwab@redhat.com>
28801
28802 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28803 __ieee754_sqrt instead of sqrt.
28804 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28805 __ieee754_sqrtf instead of sqrtf.
28806 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28807 __floorf instead of floorf.
28808 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28809 __floorf, __truncf instead of floorf, truncf.
28810
cd205654
UD
288112011-09-14 Ulrich Drepper <drepper@gmail.com>
28812
ee4d0315
UD
28813 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28814
cd205654
UD
28815 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28816 __extern_always_inline.
28817 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28818 32-bit.
28819
48b67d71
AS
288202011-09-14 Andreas Schwab <schwab@redhat.com>
28821
28822 * elf/rtld.c (dl_main): Also relocate in dependency order when
28823 doing symbol dependency testing.
28824
1ae12c75
AS
288252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28826
28827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28828 Always define `refsym'.
28829
995a80df
AS
288302011-09-13 Andreas Schwab <schwab@redhat.com>
28831
e529793b
AS
28832 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28833 (__FD_ELT): Renamed from __FDELT.
28834 * misc/bits/select2.h (__FD_ELT): Likewise.
28835 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28836 __FD_MASK instead of __FDELT, __FDMASK.
28837 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28838 Likewise.
28839 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28840 Likewise.
28841
52d4fef8
AS
28842 * elf/Makefile (gen-ldd): Fix pattern.
28843
995a80df
AS
28844 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28845 (init_tls): Likewise.
28846
8682f8b0
UD
288472011-09-12 Ulrich Drepper <drepper@gmail.com>
28848
28849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28850
de82006d
AS
288512011-09-12 Andreas Schwab <schwab@redhat.com>
28852
a7c8e6a1
AS
28853 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28854 `struct cmsghdr *' instead of `void *'.
28855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28856 Likewise.
28857
0f31fe77
AS
288582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28859
28860 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28861 if non-absolute.
28862 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28863 ldd_rewrite_script.
0f31fe77 28864
32b4c839
UD
288652011-09-11 Ulrich Drepper <drepper@gmail.com>
28866
83cd1420
UD
28867 * configure.in: Remove --with-tls option.
28868 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28869 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28870 out in case it is missing.
28871 * sysdeps/ia64/elf/configure.in: Likewise.
28872 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28873 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28874 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28875 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28876 * sysdeps/sh/elf/configure.in: Likewise.
28877 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28879 * sysdeps/x86_64/elf/configure.in: Likewise.
28880 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28881 * sysdeps/mach/hurd/tls.h: Likewise.
28882
633f745d
UD
28883 [BZ #13067]
28884 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28885
f318beb8
UD
28886 [BZ #13090]
28887 * configure.in: Fix use of AC_INIT.
28888
32b4c839
UD
28889 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28890
3ce1f295
UD
288912011-09-10 Ulrich Drepper <drepper@gmail.com>
28892
bb016596
UD
28893 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28894 __set_errno.
8e58439c
UD
28895 * malloc/hooks.c: Likewise.
28896
aebae053 28897 [BZ #11929]
02d46fc4
UD
28898 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28899 variables statically.
28900 (narenas): Initialize.
28901 (list_lock): Initialize.
bb016596
UD
28902 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28903 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28904 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28905 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28906 Add initializers to main_arena and mp_.
28907 (malloc_state): Remove pagesize member. Change all users to use
28908 GLRO(dl_pagesize).
28909
28910 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28911 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28912 is always initialized.
28913
22a89187
UD
28914 * malloc/malloc.c: Removed unused configurations and dead code.
28915 * malloc/arena.c: Likewise.
28916 * malloc/hooks.c: Likewise.
02d46fc4 28917 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28918
d063d164
UD
28919 * include/tls.h: Removed. USE___THREAD must always be defined.
28920 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28921 * elf/dl-libc.c: Likewise.
28922 * elf/dl-tsd.c: Likewise.
28923 * include/errno.h: Likewise.
28924 * include/netdb.h: Likewise.
28925 * include/resolv.h: Likewise.
28926 * inet/herrno-loc.c: Likewise.
28927 * inet/herrno.c: Likewise.
28928 * malloc/arena.c: Likewise.
28929 * malloc/hooks.c: Likewise.
28930 * malloc/malloc.c: Likewise.
28931 * resolv/res-state.c: Likewise.
28932 * resolv/res_libc.c: Likewise.
28933 * sysdeps/i386/dl-machine.h: Likewise.
28934 * sysdeps/ia64/dl-machine.h: Likewise.
28935 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28936 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28937 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28938 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28939 * sysdeps/sh/dl-machine.h: Likewise.
28940 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28941 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28942 * sysdeps/unix/i386/sysdep.S: Likewise.
28943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28944 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28949 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28953 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28954 * sysdeps/x86_64/dl-machine.h: Likewise.
28955 * tls.make.c: Likewise.
28956
3ce1f295
UD
28957 * configure.in: Remove --with-__thread option. Make tests for
28958 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28959 tls_model attribute fail if no support is available. Remove
28960 USE_IN_LIBIO.
28961 * Makeconfig: Adjust for dropped configure option. All features are
28962 now mandatory.
28963 * Makerules: Likewise.
28964 * Versions.def: Likewise.
28965 * argp/argp-fmtstream.c: Likewise.
28966 * argp/argp-fmtstream.h: Likewise.
28967 * argp/argp-help.c: Likewise.
28968 * assert/assert.c: Likewise.
28969 * config.h.in: Likewise.
28970 * config.make.in: Likewise.
28971 * configure: Likewise.
28972 * configure.in: Likewise.
28973 * csu/Versions: Likewise.
28974 * csu/init.c: Likewise.
28975 * elf/tst-audit2.c: Likewise.
28976 * elf/tst-tls10.c: Likewise.
28977 * elf/tst-tls10.h: Likewise.
28978 * elf/tst-tls11.c: Likewise.
28979 * elf/tst-tls12.c: Likewise.
28980 * elf/tst-tls14.c: Likewise.
28981 * elf/tst-tlsmod11.c: Likewise.
28982 * elf/tst-tlsmod12.c: Likewise.
28983 * elf/tst-tlsmod13.c: Likewise.
28984 * elf/tst-tlsmod13a.c: Likewise.
28985 * elf/tst-tlsmod14a.c: Likewise.
28986 * elf/tst-tlsmod15b.c: Likewise.
28987 * elf/tst-tlsmod16a.c: Likewise.
28988 * elf/tst-tlsmod16b.c: Likewise.
28989 * elf/tst-tlsmod7.c: Likewise.
28990 * elf/tst-tlsmod8.c: Likewise.
28991 * elf/tst-tlsmod9.c: Likewise.
28992 * gmon/gmon.c: Likewise.
28993 * grp/fgetgrent_r.c: Likewise.
28994 * grp/putgrent.c: Likewise.
28995 * hurd/fopenport.c: Likewise.
28996 * include/libc-symbols.h: Likewise.
28997 * include/tls.h: Likewise.
28998 * intl/gettextP.h: Likewise.
28999 * intl/loadinfo.h: Likewise.
29000 * locale/global-locale.c: Likewise.
29001 * locale/localeinfo.h: Likewise.
29002 * mach/devstream.c: Likewise.
29003 * malloc/arena.c: Likewise.
29004 * malloc/set-freeres.c: Likewise.
29005 * misc/err.c: Likewise.
29006 * misc/getttyent.c: Likewise.
29007 * misc/mntent_r.c: Likewise.
29008 * posix/getopt.c: Likewise.
29009 * posix/wordexp.c: Likewise.
29010 * pwd/fgetpwent_r.c: Likewise.
29011 * resolv/Versions: Likewise.
29012 * resolv/res_hconf.c: Likewise.
29013 * shadow/fgetspent_r.c: Likewise.
29014 * shadow/putspent.c: Likewise.
29015 * stdio-common/printf_fphex.c: Likewise.
29016 * stdio-common/tmpfile.c: Likewise.
29017 * stdlib/abort.c: Likewise.
29018 * stdlib/fmtmsg.c: Likewise.
29019 * sunrpc/auth_unix.c: Likewise.
29020 * sunrpc/clnt_perr.c: Likewise.
29021 * sunrpc/clnt_tcp.c: Likewise.
29022 * sunrpc/clnt_udp.c: Likewise.
29023 * sunrpc/clnt_unix.c: Likewise.
29024 * sunrpc/openchild.c: Likewise.
29025 * sunrpc/svc_simple.c: Likewise.
29026 * sunrpc/svc_tcp.c: Likewise.
29027 * sunrpc/svc_udp.c: Likewise.
29028 * sunrpc/svc_unix.c: Likewise.
29029 * sunrpc/xdr.c: Likewise.
29030 * sunrpc/xdr_array.c: Likewise.
29031 * sunrpc/xdr_rec.c: Likewise.
29032 * sunrpc/xdr_ref.c: Likewise.
29033 * sunrpc/xdr_stdio.c: Likewise.
29034
1248c1c4
PB
290352011-09-09 Ulrich Drepper <drepper@gmail.com>
29036
29037 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29038
290392011-07-03 Andreas Jaeger <aj@suse.de>
29040
29041 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29042 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29043 regenerate with gen-libm-tests.pl.
29044
290452010-05-12 Petr Baudis <pasky@suse.cz>
29046
29047 [BZ #11589]
29048 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29049 around j0() zero points by switching to j1().
29050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29054
f22e1074
UD
290552011-09-09 Ulrich Drepper <drepper@gmail.com>
29056
f19009c1
UD
29057 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29058 instead of 0.
29059 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29060 instead of 0.
f19009c1
UD
29061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29062 Patch in part by Pavel Roskin <proski@gnu.org>.
29063
3f8cc204
UD
29064 [BZ #13138]
29065 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29066 realloc.
29067 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29068 Free memory block if necessary.
29069
f22e1074
UD
29070 [BZ #12847]
29071 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29072 be NULL. Don't lock in this case.
29073
0a2349f9
RM
290742011-09-09 Roland McGrath <roland@hack.frob.com>
29075
29076 * elf/elf.h (ELFOSABI_GNU): New macro.
29077 (ELFOSABI_LINUX): Define to that.
29078
f3cdd467
DZ
290792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29080
29081 * string/strncat.c (strncat): Undef the symbol in case it has been
29082 defined in bits/string.h.
29083
74718d13
UD
290842011-09-09 Ulrich Drepper <drepper@gmail.com>
29085
633e9e0f
UD
29086 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29087
0a2349f9 29088 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29089 link map.
29090
f9924780
AJ
290912011-08-17 Andreas Jaeger <aj@suse.de>
29092
29093 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29094
7f5517aa
PP
290952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29096 Ian Lance Taylor <iant@google.com>
29097
29098 * math/libm-test.inc (lround_test): New testcase.
29099 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29100
762011fe
UD
291012011-09-08 Ulrich Drepper <drepper@gmail.com>
29102
92963737
UD
29103 * Makefile: Remove support for automatic cvs check-ins.
29104 * Makerules: Likewise.
29105 * config.make.in: Likewise.
29106 * configure.in: Likewise.
29107 * intl/Makefile: Likewise.
29108 * locale/Makefile: Likewise.
29109 * po/Makefile: Likewise.
29110 * posix/Makefile: Likewise.
29111 * sysdeps/gnu/Makefile: Likewise.
29112 * sysdeps/mach/hurd/Makefile: Likewise.
29113 * sysdeps/sparc/sparc32/Makefile: Likewise.
29114
b0727fd8
JS
29115 [BZ #13118]
29116 * posix/Makefile (bug-regex32-ENV): Define.
29117 Patch by John Stanley <jpsinthemix@verizon.net>.
29118
a0f33f99
UD
29119 * misc/Makefile (headers): Add bits/select2.h.
29120 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29121 * misc/bits/select2.h: New file.
29122 * include/bits/select2.h: New file.
29123 * debug/Makefile (routines): Add fdelt_chk.
29124 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29125 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29126 FD_ISSET.
29127 * debug/fdelt_chk.c: New file.
29128
762011fe
UD
29129 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29130 * wcsmbs/test-wmemcmp.c: Likewise.
29131 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29132 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29133
291342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29135
29136 * string/Makefile (strop-tests): Add memcmp.
29137 * string/test-wmemcmp.c: New file.
29138 * string/test-memcmp.c: Add wmemcmp support.
29139
7f513ec8
RM
291402011-09-08 Roland McGrath <roland@hack.frob.com>
29141
0442afb4
RM
29142 [BZ #13153]
29143 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29144 2011-07-19 change.
29145
7f513ec8
RM
29146 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29147 garbage value in a __mach_port_mod_refs call in the cases of the
29148 task-self and thread-self ports.
29149
a12b2239
ST
291502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29151
29152 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29153
610f9ab4
AS
291542011-09-08 Andreas Schwab <schwab@redhat.com>
29155
7f513ec8 29156 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29157
48882a1a
LD
291582011-09-07 Ulrich Drepper <drepper@gmail.com>
29159
b49865be
UD
29160 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29161
fdc86bc9
UD
29162 * elf/dl-libc.c (dlerror_run): Pass back error code from
29163 dl_catch_error.
29164
c966526a
UD
29165 [BZ #13123]
29166 * elf/dl-load.c (lose): Free l_origin if it is valid.
29167
48882a1a
LD
29168 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29169 names.
29170 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29173 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29174 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29175 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29176
77a2a8b4
AZ
291772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29178
29179 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29180 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29181 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29182 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29183 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29184 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29185 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29186 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29187 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29188 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29189
24f579d8
AM
291902011-08-15 Alan Modra <amodra@gmail.com>
29191
29192 [BZ #13092]
29193 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29194 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29195 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29196 ppc_mcount to static-only-routines.
29197 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29198 __mcount_internal.
29199 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29200 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29201
3d4837df
UD
292022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29203
29204 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29205 for finite and infinity parameters.
29206
22700377
WS
292072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29208
29209 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29210 and add nop instructions for throughput optimization.
29211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29212
5025581e
WS
292132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29214
29215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29216 aligned copy for power7 with vector-scalar instructions.
29217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29218
08a300c9
L
292192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29222 AVX check.
29223
59178ef9
AS
292242011-09-07 Andreas Schwab <schwab@redhat.com>
29225
29226 [BZ #13144]
29227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29228 last change.
29229
e38ba7ab
UD
292302011-09-07 Ulrich Drepper <drepper@gmail.com>
29231
29232 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29233 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29234 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29235 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29236 clock_gettime.
29237
d53a73ac
UD
292382011-09-06 Ulrich Drepper <drepper@gmail.com>
29239
fc8bffcc
UD
29240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29241 Forgot to demangle the pointer.
29242
ceaa0c5d
UD
29243 * sysdeps/i386/sysdep.h: Define atom_text_section.
29244 * sysdeps/x86_64/sysdep.h: Likewise.
29245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29246 section with atom_text_section.
29247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29248 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29249 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29251 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29252
a77d3c17
UD
29253 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29254 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29255 already be defined. Change to take two parameters and don't assign
29256 result to variable. Adjust all users.
29257 Define INTERNAL_GETTIME if not already defined.
29258 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29259 call.
29260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29261 HAVE_CLOCK_GETTIME_VSYSCALL.
29262 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29263
d53a73ac
UD
29264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29265 gettimeofday vsyscall, just use time.
29266
a8f84144
AS
292672011-09-06 Andreas Schwab <schwab@redhat.com>
29268
29269 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29270 <errno.h>.
29271
ef606249
UD
292722011-09-06 Ulrich Drepper <drepper@gmail.com>
29273
29274 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29275 syscall on x86-64.
29276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29277 syscall.
29278 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29280 syscall if possible.
29281
6585cb60
UD
292822011-09-05 Ulrich Drepper <drepper@gmail.com>
29283
29284 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29285 e_ident. Don't pass to find_mapsXX.
29286 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29287
a5f524e4
LD
292882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29289
29290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29291 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29292 * sysdeps/x86_64/multiarch/strchr.S: Update.
29293 Check bit_slow_BSF bit.
29294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29295 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29296 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29297
554881ef
UD
292982011-09-05 Ulrich Drepper <drepper@gmail.com>
29299
d96de963
UD
29300 [BZ #13134]
29301 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29302 before glibc 2.15.
29303 (tryshell): Define.
29304 (__spawni): Change last parameter to be flag. Test
29305 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29306 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29307 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29308 * posix/spawni.c: Likewise.
29309 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29310 * posix/spawnp.c: Likewise. Change normal version to use
29311 SPAWN_XFLAGS_USE_PATH.
29312 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29313 SPAWN_XFLAGS_TRY_SHELL.
29314
d48e5868
UD
29315 [BZ #13150]
29316 * posix/glob.h: Remove gcc 1.x support.
29317
554881ef
UD
29318 [BZ #13068]
29319 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29320
693fb948
LD
293212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29322
29323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29324 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29325 strrchr-sse2-bsf
29326 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29327 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29329 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29330 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29332
1b48c537
UD
293332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29334
49d42c37
UD
29335 * sysdeps/x86_64/wcscmp.S: New file.
29336
1b48c537
UD
29337 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29338 wcscmp-c wcscmp-sse2
29339 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29340 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29341 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29342 * wcsmbs/wcscmp.c: Allow renaming.
29343
15c95c5d
DM
293442011-09-05 David S. Miller <davem@davemloft.net>
29345
29346 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29347 stack slot, rather than the struct return pointer slot.
29348 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29349 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29352
2f0ad8f3
UD
293532011-09-05 Ulrich Drepper <drepper@gmail.com>
29354
d88ae418
UD
29355 * po/ja.po: Update from translation team.
29356
2f0ad8f3
UD
29357 [BZ #13144]
29358 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29359 kernel in 64-bit binaries.
29360
5f4318d1
DM
293612011-09-01 David S. Miller <davem@davemloft.net>
29362
29363 * elf/elf.h (HWCAP_SPARC_*): Move to..
29364 * sysdeps/sparc/sysdep.h: this new file and add new values.
29365 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29366 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29367 _DL_HWCAP_COUNT to 24.
29368 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29369 entries.
29370 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29371 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29372 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29374 instead of magic constants.
29375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29376
3ba57516
DM
293772011-08-31 David S. Miller <davem@davemloft.net>
29378
29379 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29381 Reimplement to do errno handling inline.
29382 (SYSCALL_ERROR_HANDLER): New macro.
29383 (__SYSCALL_STRING): Do not do errno handling in asm.
29384 (__CLONE_SYSCALL_STRING): Delete.
29385 (__INTERNAL_SYSCALL_STRING): Delete.
29386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29387 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29388 (PSEUDO): Reimplement to do errno handling inline.
29389 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29390 (SYSCALL_ERROR_HANDLER): New macro.
29391 (__SYSCALL_STRING): Do not do errno handling in asm.
29392 (__CLONE_SYSCALL_STRING): Delete.
29393 (__INTERNAL_SYSCALL_STRING): Delete.
29394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29395 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29396 i386.
29397 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29398 (inline_syscall*): Add 'err' argument.
29399 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29400 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29401 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29402 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29403
29404 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29405 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29406
2bc17433
AS
294072011-08-30 Andreas Schwab <schwab@redhat.com>
29408
29409 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29410
fbeb5f4d
JO
294112011-08-29 Jiri Olsa <jolsa@redhat.com>
29412
29413 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29414 directive.
29415
ad69cc26
DM
294162011-08-24 David S. Miller <davem@davemloft.net>
29417
29418 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29419
39dd69df
AS
294202011-08-24 Andreas Schwab <schwab@redhat.com>
29421
29422 * elf/Makefile: Add rules to build and run unload8 test.
29423 * elf/unload8.c: New file.
29424 * elf/unload8mod1.c: New file.
29425 * elf/unload8mod1x.c: New file.
29426 * elf/unload8mod2.c: New file.
29427 * elf/unload8mod3.c: New file.
29428
29429 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29430 it wasn't used.
29431
2c0b250a
DM
294322011-08-23 David S. Miller <davem@davemloft.net>
29433
29434 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29435 subtract stack bias.
29436 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29437 %sp not %fp in calculations.
29438 (_JMPBUF_UNWINDS_ADJ): Likewise.
29439
22044b48
DM
29440 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29441 (aio_suspend): Call it to force an exception region around the
29442 AIO_MISC_WAIT() invocation.
29443
2cae4995
AS
294442011-08-23 Andreas Schwab <schwab@redhat.com>
29445
29446 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29447 backslash.
29448
873a772e
AJ
294492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29450
29451 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29452 protection macro.
29453 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29454 and <dl-machine.h>.
29455 (Elf64_FuncDesc): Remove.
29456
25ad0df1
DM
294572011-08-22 David S. Miller <davem@davemloft.net>
29458
29459 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29460 sigaltstack check, add missing cfi directives.
29461 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29462 missing cfi directives, and sigaltstack handling.
29463
e888bcbe
AS
294642011-08-16 Andreas Schwab <schwab@redhat.com>
29465
29466 [BZ #11724]
29467 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29468 object is seen twice.
29469 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29470
29471 * elf/Makefile (distribute): Add tst-initorder2.c.
29472 (tests): Add tst-initorder2.
29473 (modules-names): Add tst-initorder2a tst-initorder2b
29474 tst-initorder2c tst-initorder2d. Add rules to build them.
29475 ($(objpfx)tst-initorder2.out): New rule.
29476 * elf/tst-initorder2.c: New file.
29477 * elf/tst-initorder2.exp: New file.
29478
87162f46
AS
294792011-08-22 Andreas Schwab <schwab@redhat.com>
29480
70538b7f
AS
29481 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29482
f55ffe58
AS
29483 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29484 dependencies back to end of function.
29485
87162f46
AS
29486 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29487 $(elfobjdir)/ld.so.
29488
91b392a4
UD
294892011-08-21 Ulrich Drepper <drepper@gmail.com>
29490
29491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29492 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29494 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29495 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29496 of __vdso_gettimeofday.
29497 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29498 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29499 attribute_hidden.
29500 (_libc_vdso_platform_setup): Remove initialization of
29501 __vdso_gettimeofday and __vdso_time.
29502
5c43483f
UD
295032011-08-20 Ulrich Drepper <drepper@gmail.com>
29504
775a77e7
UD
29505 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29506 and fgetc_unlocked.
29507 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29508 getc_unlocked.
89f447ed 29509
49c74ba9
UD
29510 * elf/dl-open.c (add_to_global): Report additions to the global scope
29511 for LD_DEBUG=scopes.
29512 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29513 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29514
5c43483f
UD
29515 [BZ #13114]
29516 * stdio-common/Makefile (tests): Add bug24.
29517 * stdio-common/bug24.c: New file.
29518
a101b025
AJ
295192011-08-19 Andreas Jaeger <aj@suse.de>
29520
29521 [BZ #13114]
29522 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29523 non-existant file when using close-on-exec mode.
29524
c88f1766
UD
295252011-08-20 Ulrich Drepper <drepper@gmail.com>
29526
0276a718
UD
29527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29528 the very first instruction.
29529
c88f1766
UD
29530 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29531 the CFI state in the end.
29532 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29533 inclusion of dl-trampoline.h.
29534 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29535
51ccffa0
AS
295362011-08-19 Andreas Schwab <schwab@redhat.com>
29537
94d7165f
AS
29538 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29539 expectations for long double.
29540
51ccffa0
AS
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29542 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29543
fd708658 295442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29545
29546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29547 artificual limit depends upon the system page size.
29548
44f0a71e
UD
295492011-08-17 Ulrich Drepper <drepper@gmail.com>
29550
29551 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29552 * resolv/Makefile: Define CFLAGS-libresolv.
29553
8de79a24
AS
295542011-08-17 Andreas Schwab <schwab@redhat.com>
29555
29556 * nss/makedb.c (compute_tables): Make variables used in nested
29557 function static.
29558
27724598
UD
295592011-08-17 Ulrich Drepper <drepper@gmail.com>
29560
c5305d88
UD
29561 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29562 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29563 if buffer was too small.
29564
27724598
UD
29565 * elf/pldd.c (main): Attach to all threads in the process.
29566 Rewrite /proc handling to use *at functions.
29567
076fe015
UD
295682011-08-16 Ulrich Drepper <drepper@gmail.com>
29569
174baab3
UD
29570 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29571 specifies first scope to show.
29572 (dl_open_worker): Update callers. Move printing scope of new
29573 object to before the relocation.
44f0a71e 29574 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29575 * sysdeps/generic/ldsodefs.h: Update declaration.
29576
076fe015
UD
29577 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29578 string for the scope number.
29579
a60df2c3
UD
295802011-08-14 Ulrich Drepper <drepper@gmail.com>
29581
29582 * nscd/servicescache.c (cache_addserv): Make sure written is always
29583 initialized.
29584
5e4287d1
RM
295852011-08-14 Roland McGrath <roland@hack.frob.com>
29586
85ae0589
RM
29587 * sysdeps/i386/i486/bits/atomic.h
29588 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29589 statement expression, so as to suppress "set but not used" warning.
29590 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29591
69f63097
RM
29592 * string/strncat.c (STRNCAT): Use prototype definition.
29593
675456ef
RM
29594 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29595 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29596 -Iprograms here.
29597 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29598 (localedef-modules): Add localedef.
29599 (locale-modules): Add locale.
29600
5e4287d1
RM
29601 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29602 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29603 to avoid a warning.
29604
9c96ff23
DM
296052011-08-14 David S. Miller <davem@davemloft.net>
29606
29607 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29608 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29609
f9ddf089
UD
296102011-08-13 Ulrich Drepper <drepper@gmail.com>
29611
44f0a71e 29612 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29613 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29614 * elf/rtld.c (dl_main): Set l_name of vDSO.
29615 Call _dl_show_scope when DL_DEBUG_SCOPES.
29616 (process_dl_debug): Recognize scopes flag and also set it for all.
29617 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29618 Declare _dl_show_scope.
29619
1dc27704
UD
29620 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29621 (do_dlopen): Pass caller_dlopen to dl_open.
29622 (__libc_dlopen_mode): Initialize caller_dlopen.
29623
f9ddf089
UD
29624 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29625 of libc. Make tolower call locale-independent. Optimize a bit by
29626 using isdigit instead of isalnum.
29627 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29628
9ac533d3
UD
296292011-08-12 Ulrich Drepper <drepper@gmail.com>
29630
29631 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29632 was a dependency or dynamically loaded.
29633
89edf2e9
UD
296342011-08-11 Ulrich Drepper <drepper@gmail.com>
29635
8e999d29
UD
29636 * intl/l10nflist.c: Allow architecture-specific pop function.
29637 * sysdeps/x86_64/l10nflist.c: New file.
29638
89edf2e9
UD
29639 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29640 classification.
29641
14d96785
AS
296422011-08-10 Andreas Schwab <schwab@redhat.com>
29643
29644 * include/dirent.h: Add libc_hidden_proto for scandirat and
29645 scandirat64. Don't declare __scandirat64.
29646 * dirent/scandirat.c: Add libc_hidden_def.
29647 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29648 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29649
6761ac04
DM
296502011-08-10 David S. Miller <davem@davemloft.net>
29651
29652 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29653 enum.
29654 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29657
c55fbd1e
UD
296582011-08-09 Ulrich Drepper <drepper@gmail.com>
29659
29660 * Versions.def [libc]: Add GLIBC_2.15.
29661 * dirent/Makefile (routines): Add scandirat and scandirat64.
29662 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29663 GLIBC_2.15.
29664 * dirent/dirent.h: Declare scandirat and scandirat64.
29665 * dirent/scandirat.c: New file.
29666 * dirent/scandirat64.c: New file.
29667 * sysdeps/wordsize-64/scandirat.c: New file.
29668 * sysdeps/wordsize-64/scandirat64.c: New file.
29669 * dirent/opendir.c: Define opendirat.
29670 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29671 using scandirat.
29672 * dirent/scandir64.c: Adjust for scandir.c change.
29673 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29674 __scandirat64, and __scandir_cancel_handler.
29675 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29676 additional parameter and use openat instead of open (outside of ld.so).
29677 Add new __opendir as wrapper around __opendirat.
29678 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29679 here without requiring old scandirat implementation.
29680
879165f2
UD
296812011-08-08 Ulrich Drepper <drepper@gmail.com>
29682
29683 * dirent/scandir.c (cancel_handler): Renamed to
29684 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29685 defined. Adjust users.
29686 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29688
cb7e923b
UD
296892011-08-04 Ulrich Drepper <drepper@gmail.com>
29690
16292edd
UD
29691 * string/test-string.h (IMPL): Use __STRING to expand name and then
29692 stringify it.
29693
cb7e923b
UD
29694 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29695 of cleanups.
29696
cff82933
LD
296972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29698
29699 * string/Makefile: Update.
29700 (strop-tests): Append strncat.
29701 * string/test-wcscmp.c: New file.
29702 New comprehensive test for wcscmp.
29703 * string/test-strcmp.c: Update.
29704 (WIDE): New define.
29705
9be9bfcc
AS
297062011-07-22 Andreas Schwab <schwab@redhat.com>
29707
29708 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29709 line.
29710
2e96f1c7
AS
297112011-07-26 Andreas Schwab <schwab@redhat.com>
29712
29713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29714 encoding to ACE if AI_IDN.
29715
85188888
JJ
297162011-08-01 Jakub Jelinek <jakub@redhat.com>
29717
29718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29719 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29720
5fa16e9b
LD
297212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29722
29723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29724 Fix overflow bug in strncat.
29725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29726
29727 * string/test-strncat.c: Update.
29728 Add new tests for checking overflow bugs.
29729
297302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29731
29732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29733 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29734 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29735 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29736 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29737 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29738 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29739 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29740 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29741
29742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29743 (USE_AS_STRCAT): Define.
29744 Add strcat and strncat support.
29745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29746
8c1a459f
AS
297472011-07-25 Andreas Schwab <schwab@redhat.com>
29748
29749 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29750 __n bigger than INT_MAX+1.
29751 (__strncmp_g): Likewise.
29752
bba33c28
UD
297532011-07-23 Ulrich Drepper <drepper@gmail.com>
29754
798be72d
UD
29755 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29756 * libio/stido.h: Likewise.
29757
8accd4dc
UD
29758 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29759 (AF_NFC): Define.
29760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29761 (AF_NFC): Define.
29762
cbff0d96
UD
29763 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29768
9191c04a
UD
29769 [BZ #13021]
29770 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29771 installed.
29772
bba33c28
UD
29773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29774 typo.
29775 (_dl_x86_64_save_sse): Likewise.
29776
90f139dd
UD
297772011-07-22 Ulrich Drepper <drepper@gmail.com>
29778
1aae088a
UD
29779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29780 OSXSAVE.
29781 (_dl_x86_64_save_sse): Likewise.
29782
8e2045f5
UD
29783 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29784
90f139dd
UD
29785 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29786
1d002f25
AS
297872011-07-21 Andreas Schwab <schwab@redhat.com>
29788
29789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29790 change.
29791 (_dl_x86_64_save_sse): Use correct AVX check.
29792
21137f89
UD
297932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29794
29795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29796 bug in strncpy/strncat.
29797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29798
a65c0b7a
UD
297992011-07-21 Ulrich Drepper <drepper@gmail.com>
29800
29801 * string/tester.c (test_strcat): Add tests for different alignments
29802 of source and destination.
29803 (test_strncat): Likewise.
29804
6986b98a
UD
298052011-07-20 Ulrich Drepper <drepper@gmail.com>
29806
90bb2039
UD
29807 [BZ #12852]
29808 * posix/glob.c (glob): Check passed in values before using them in
29809 expressions to avoid some overflows.
29810 (glob_in_dir): Likewise.
29811
5644ef54
UD
29812 [BZ #13007]
29813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29814 check for AVX enablement so that we don't crash with old kernels and
29815 new hardware.
29816 * elf/tst-audit4.c: Add same checks here.
29817 * elf/tst-audit6.c: Likewise.
29818
29819 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29820
bfc9dc9b
AS
298212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29822
29823 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29824
702e64bb
UD
298252011-07-20 Ulrich Drepper <drepper@gmail.com>
29826
29827 * po/cs.po: Update from translation team.
29828 * po/bg.po: Likewise.
29829
295e904f
MP
298302011-07-12 Marek Polacek <mpolacek@redhat.com>
29831
29832 * misc/sys/cdefs.h: Add support for const attribute.
29833 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29834 to gnu_dev_{major,minor,makedev} functions.
29835
3ff94596
MP
298362011-07-20 Marek Polacek <mpolacek@redhat.com>
29837
29838 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29839
28b59fca
AS
298402011-07-20 Andreas Schwab <schwab@redhat.com>
29841
29842 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29843 strlen results.
29844
19df733e
AK
298452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29846
29847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29848 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29849 register in order to avoid conflicts with the soft frame pointer
29850 being held in r11 when necessary.
29851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29852 (INTERNAL_VSYSCALL_NCS): Likewise.
29853
c8835729
MP
298542011-07-14 Marek Polacek <mpolacek@redhat.com>
29855
29856 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29857 * elf/dl-fini.c (_dl_fini): Adjust caller.
29858 * elf/dl-close.c (_dl_close_worker): Likewise.
29859 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29860
b902330c
MP
298612011-07-15 Marek Polacek <mpolacek@redhat.com>
29862
8991e135
MP
29863 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29864 "aux_cache->nlibs < 0".
29865
b902330c
MP
29866 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29867 in the reload-count case.
29868
99710781
LD
298692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29870
29871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29872 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29873 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29874 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29875 * sysdeps/x86_64/multiarch/strcat.S: New file.
29876 * sysdeps/x86_64/multiarch/strncat.S: New file.
29877 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29878 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29879 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29880 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29882 (USE_AS_STRCAT): Define.
29883 Add strcat and strncat support.
29884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29885 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29886 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29887 * string/strncat.c: Update.
29888 (USE_AS_STRNCAT): Define.
29889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29890 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29891 and i7.
29892 * sysdeps/x86_64/multiarch/init-arch.h
29893 (bit_Prefer_PMINUB_for_stringop): New.
29894 (index_Prefer_PMINUB_for_stringop): Likewise.
29895 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29896 bit_Prefer_PMINUB_for_stringop.
29897
7dc6bd90
UD
298982011-07-19 Ulrich Drepper <drepper@gmail.com>
29899
29900 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29901 buffer64.
29902 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29903 of casting of buffer.
29904 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29905 buffer32 and buffer64.
29906 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29907 writes instead of casting of buffer.
29908 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29909 buffer32.
29910 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29911 casting of buffer.
29912
e0e72284
AS
299132011-07-19 Andreas Schwab <schwab@redhat.com>
29914
29915 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29916
feb1eb0b
UD
299172011-07-19 Ulrich Drepper <drepper@gmail.com>
29918
29919 * nscd/nscd.c (termination_handler): Don't do anything for a database
29920 if it has not yet been initialized.
29921
298711ff
UD
299222011-07-18 Ulrich Drepper <drepper@gmail.com>
29923
29924 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29925
299262011-07-15 Marek Polacek <mpolacek@redhat.com>
29927
29928 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29929
f9d68389
UD
299302011-07-18 Ulrich Drepper <drepper@gmail.com>
29931
29932 * po/nl.po: Update from translation team.
29933 * po/sv.po: Likewise.
29934
db290cf5
RM
299352011-07-16 Roland McGrath <roland@hack.frob.com>
29936
29937 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29938 now disallowed by GCC.
5c550700 29939
fd5e21c7
RM
29940 * configure.in (use-default-link): Default to yes if a test -shared
29941 link meets our qualifications.
29942 * configure: Regenerated.
29943
5c550700
RM
29944 * config.make.in (output-format): New variable.
29945 * configure.in: Check for ld --print-output-format support.
29946 * configure: Regenerated.
29947 * Makerules ($(common-objpfx)format.lds)
29948 [$(output-format) != unknown]: Just use $(output-format),
29949 instead of the linker-script munging.
29950
9fa2c032
RM
299512011-07-14 Roland McGrath <roland@hack.frob.com>
29952
a6928d51
RM
29953 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29954 of $(common-objpfx)shlib.lds.
29955 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29956
661607b3
RM
29957 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29958 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29959
9fa2c032
RM
29960 * configure.in (-z relro check): Adjust test code to add a large
29961 writable data section after it.
29962 * configure: Regenerated.
29963
defe9061
RM
299642011-07-11 Roland McGrath <roland@hack.frob.com>
29965
29966 * configure.in (-z relro check): Fix test code to make the variable
29967 truly const.
29968 * configure: Regenerated.
29969
319b9ad4
UD
299702011-07-11 Ulrich Drepper <drepper@gmail.com>
29971
29972 * nscd/nscd.h (struct traced_file): Define.
29973 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29974 elements. Add traced_files.
29975 (inotify_fd): Declare.
29976 (register_traced_file): Declare.
29977 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29978 (inotify_fd): Export.
29979 (resolv_conf_descr): Remove.
29980 (nscd_init): Move inotify descriptor creation to main.
29981 Don't register files for notification here.
29982 (register_traced_file): New function.
29983 (invalidate_cache): Don't use reset_res to determine whether to call
29984 res_init, go through the list of registered files.
29985 (main_loop_poll): The inotify descriptors are now stored in the
29986 structures for the traced files.
29987 (main_loop_epoll): Likewise
29988 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29989 to __nss_disable_nscd.
29990 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29991 for a database anymore. Check the records for all the registered
29992 files instead.
29993 * nss/Makefile (libnss_files-routines): Add files-init.
29994 (libnss_db-routines): Add db-init.
29995 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29996 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29997 * nss/nss_db/db-init.c: New file.
29998 * nss/nss_files/files-init.c: New file.
29999 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30000 __nss_lookup_function.
30001 (__nss_lookup_function): Call nss_load_library.
30002 (nss_load_all_libraries): New function.
30003 (__nss_disable_nscd): Take parameter with callback function for files
30004 to register. Set is_nscd. Load all the DSOs for the NSS modules
30005 used for the cached services.
30006 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30007 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30008 options for features to all the files in nscd.
30009
30010 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30011
23bee3e8
RM
300122011-07-10 Roland McGrath <roland@hack.frob.com>
30013
30014 * csu/elf-init.c (__libc_csu_init): Comment typo.
30015
46a5b7f0
UD
300162011-07-09 Ulrich Drepper <drepper@gmail.com>
30017
30018 * po/pl.po: Update from translation team.
30019 * po/ja.po: Likewise.
30020 * po/ru.po: Likewise.
30021 * po/ko.po: Likewise.
30022 * po/fr.po: Likewise.
30023
d30cf5bb
RM
300242011-07-09 Roland McGrath <roland@hack.frob.com>
30025
113ddea4
RM
30026 * configure.in (.ctors/.dtors header and trailer check):
30027 Use an empirical test on a built program.
30028 * configure: Regenerated.
30029
574920b4
RM
30030 * configure.in (-z relro check): Use an empirical test on a built DSO.
30031 Detect, but do not require, on ia64.
30032 * configure: Regenerated.
30033
d30cf5bb
RM
30034 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30035 Update tests that use readelf to use $READELF instead.
30036 * configure: Regenerated.
30037
8538fdb3
UD
300382011-07-08 Ulrich Drepper <drepper@gmail.com>
30039
30040 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30041 if the result is not used.
30042
04d08991
AJ
300432011-07-05 Andreas Jaeger <aj@suse.de>
30044
30045 [BZ#9696]
30046 * stdlib/tst-strtod.c: Add testcase.
30047
de283087
AD
300482011-07-07 Ulrich Drepper <drepper@gmail.com>
30049
4e5f31c8 30050 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30051 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30052 The latter has a higher limit. Take additional parameter to pass to
30053 the new function.
30054 (__pathconf): Pass file to __statfs_link_max.
30055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30056 __statfs_link_max.
30057 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30058 __statfs_link_max.
30059
de283087
AD
30060 [BZ #12868]
30061 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30063 Handle Lustre.
30064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30065 (__statfs_filesize_max): Likewise.
30066 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30067
c75fa153
AJ
300682011-07-05 Andreas Jaeger <aj@suse.de>
30069
30070 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30071
1a544854
UD
300722011-07-06 Marek Polacek <mpolacek@redhat.com>
30073
30074 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30075 `status' variable.
30076 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30077 Likewise.
30078
6f0eec67
UD
300792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 * Makefile (strop-tests): Add strncat.
30082 * string/test-strncat.c: New file.
30083
aae30307
UD
300842011-06-30 Marek Polacek <mpolacek@redhat.com>
30085
30086 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30087
c0cfb5eb
UD
300882011-06-21 Andreas Jaeger <aj@suse.de>
30089
30090 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30091 Copy rule from iconvdata/Makefile.
30092
01636b21
UD
300932011-07-06 Ulrich Drepper <drepper@gmail.com>
30094
30095 [BZ #12922]
30096 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30097 but no long options are defined, just return 'W'.
30098
9895c8bc
UD
300992011-06-22 Marek Polacek <mpolacek@redhat.com>
30100
30101 [BZ #9696]
30102 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30103
5d4cf042
UD
301042011-07-06 Ulrich Drepper <drepper@gmail.com>
30105
30106 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30107 netgroups to read.
960e5535 30108 (innetgr): Likewise.
5d4cf042 30109
751eb97e
RM
301102011-07-05 Roland McGrath <roland@hack.frob.com>
30111
30112 * config.make.in (install_root): Default to $(DESTDIR).
30113
f15f1e45
UD
301142011-07-05 Ulrich Drepper <drepper@gmail.com>
30115
30116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30117
4e34ac6a
RM
301182011-07-02 Roland McGrath <roland@hack.frob.com>
30119
5e9b6af4
RM
30120 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30121
84f9ea0f
RM
30122 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30123 containing directory rather than embedding absolute directory names.
30124
ea5ee9f7
RM
30125 * scripts/check-local-headers.sh: Rewritten using awk.
30126 Match by word, not by line. Print error messages for matches.
30127 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30128
1b74661a
RM
30129 * Makerules [shlib-lds-flags empty]:
30130 ($(common-objpfx)libc_pic.opts): New target.
30131 ($(common-objpfx)libc_pic.os.clean): New target.
30132 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30133
30134 * config.make.in (OBJCOPY): New variable.
30135 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30136 * configure: Regenerated.
30137
f781ef40
RM
30138 * config.make.in (use-default-link): New variable.
30139 * configure.in (use_default_link): Grok --with-default-link to set it.
30140 * configure: Regenerated.
30141 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30142 (shlib-lds, shlib-lds-flags): Define to empty.
30143
2d4fa81e
RM
30144 * Makerules (shlib-lds): New variable.
30145 (shlib-lds-flags): New variable.
30146 (build-shlib, build-moduile, build-module-asneeded): Use it.
30147 ($(common-objpfx)libc.so): Use $(shlib-lds).
30148 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30149 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30150
31fffa6b
RM
30151 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30152 DT_FLAGS/DT_FLAGS_1 with zero flags.
30153
4e34ac6a
RM
30154 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30155 linker script munging.
30156
fcfc776b
UD
301572011-07-02 Ulrich Drepper <drepper@gmail.com>
30158
30159 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30160 as 128-bit value.
30161 * crypt/sha512.c (sha512_process_block): Perform total addition using
30162 128-bit if possible.
30163 (__sha512_finish_ctx): Likewise.
30164 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30165 as 64-bit value.
30166 * crypt/sha256.c (SWAP64): Define.
30167 (sha256_process_block): Perform total addition using 64-bit if
30168 possible.
30169 (__sha256_finish_ctx): Likewise.
30170
99231d9a
UD
301712011-07-01 Ulrich Drepper <drepper@gmail.com>
30172
30173 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30174 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30175 * nscd/hstcache.c (cache_addhst): Likewise.
30176 * nscd/grpcache.c (cache_addgr): Likewise.
30177 * nscd/aicache.c (addhstaiX): Likewise
30178 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30179
445b4a53
TK
301802011-07-01 Thorsten Kukuk <kukuk@suse.de>
30181
30182 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30184 * nscd/hstcache.c (cache_addhst): Likewise.
30185 * nscd/grpcache.c (cache_addgr): Likewise.
30186 * nscd/aicache.c (addhstaiX): Likewise
30187
6d4d8e8e
AS
301882011-07-01 Andreas Schwab <schwab@redhat.com>
30189
30190 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30191 domain only when needed.
30192
89f654c5
AS
301932011-06-30 Andreas Schwab <schwab@redhat.com>
30194
30195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30196 is always restored.
30197
cf3b23ff
UD
301982011-06-29 Ulrich Drepper <drepper@gmail.com>
30199
30200 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30201 are re-adding the entry.
30202 * nscd/servicescache.c (cache_addserv): Likewise.
30203
751626f9
AJ
302042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30205
30206 * sysdeps/generic/dl-irel.h: fix protection against multiple
30207 inclusions.
30208 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30209
9113ea1f
UD
302102011-06-28 Ulrich Drepper <drepper@gmail.com>
30211
5c0b8d90
UD
30212 [BZ #12935]
30213 * malloc/memusage.sh: Fix quoting in message.
30214 * debug/xtrace.sh: Likewise.
30215
9113ea1f
UD
30216 * configure.in: Remove support for --experimental-malloc option, make
30217 it the default.
30218 * config.make.in: Likewise.
30219 * malloc/Makefile: Likewise.
30220
a4172181
AS
302212011-06-27 Andreas Schwab <schwab@redhat.com>
30222
30223 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30224 two-byte characters.
30225
78a7eee7
RM
302262011-06-27 Roland McGrath <roland@hack.frob.com>
30227
62bede13
RM
30228 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30229 AC_CACHE_CHECK invocation.
30230 * configure: Regenerated.
30231
78a7eee7
RM
30232 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30233
5ce33a62
UD
302342011-06-27 Ulrich Drepper <drepper@gmail.com>
30235
034807a9
UD
30236 [BZ #12350]
30237 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30238 bit from old_res_options.
30239
4902da17
UD
30240 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30241
5ce33a62
UD
30242 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30243 value type for setfct.
30244
c2344f56
L
302452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30246
30247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30248 __gettimeofday instead of gettimeofday.
30249
68468076
UD
302502011-06-26 Ulrich Drepper <drepper@gmail.com>
30251
30252 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30253
acb0d739
L
302542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30257
30258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30259 info.
30260
8912479f
L
302612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30262
30263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30264 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30265 strcpy-sse2-unaligned strncpy-sse2-unaligned
30266 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30267 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30268 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30269 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30270 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30272 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30273 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30274 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30275 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30276 (STRCPY): Support SSE2 and SSSE3 versions.
30277
d5495a11
UD
302782011-06-24 Ulrich Drepper <drepper@gmail.com>
30279
30280 [BZ #12874]
30281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30282 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30283 kernels which artificially limit size of requests.
30284
0b1cbaae
L
302852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30286
30287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30288 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30289 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30290 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30291 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30292 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30293 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30294 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30296 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30297 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30298 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30299 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30300 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30301 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30303 Enable unaligned load optimization for Intel Core i3, i5 and i7
30304 processors.
30305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30306 Define.
30307 (index_Fast_Unaligned_Load): Define.
30308 (HAS_FAST_UNALIGNED_LOAD): Define.
30309
07f494a0
MP
303102011-06-23 Marek Polacek <mpolacek@redhat.com>
30311
30312 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30313
fa3fc0fe
UD
303142011-06-22 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ #12907]
30317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30318 until it is clear that the information is realy needed.
30319 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30320
e12df166
AS
303212011-06-22 Andreas Schwab <schwab@redhat.com>
30322
30323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30324
852eb34d
UD
303252011-06-22 Ulrich Drepper <drepper@gmail.com>
30326
84e2a551
UD
30327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30328 /sys/devices/system/cpu/online if it is usable.
30329
852eb34d
UD
30330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30331 reading the information from the /proc filesystem to once a second.
30332
6e502e19
UD
303332011-06-21 Andreas Jaeger <aj@suse.de>
30334
30335 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30336 NULL after inclusion of kernel headers.
30337
75d39ff2
UD
303382011-06-21 Ulrich Drepper <drepper@gmail.com>
30339
51f9aa6a
UD
30340 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30341 calls to internal_setent.
30342
c0244a9d
UD
30343 [BZ #12885]
30344 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30345 addresses using gethostbyname4_r ignore IPv4 addresses.
30346
c5e3c2ae
UD
30347 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30348 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30349
75d39ff2
UD
30350 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30351
42675c6f
DM
303522011-06-20 David S. Miller <davem@davemloft.net>
30353
30354 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30355 inclusions.
30356 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30357
30358 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30359 (elf_irel): Use it.
30360 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30361 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30362 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30363 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30364 * sysdeps/x86_64/dl-irel.h: Likewise.
30365
30366 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30367 * elf/dl-sym.c: Likewise.
30368
57912a71
UD
303692011-06-15 Ulrich Drepper <drepper@gmail.com>
30370
30371 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30372 need to dereference resplen2.
30373
ee22793d
AS
303742011-06-14 Andreas Schwab <schwab@redhat.com>
30375
30376 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30377
a9e836b0
UD
303782011-06-15 Ulrich Drepper <drepper@gmail.com>
30379
77fb9117
UD
30380 * Makeconfig: Define vardbdir and inst_vardbdir.
30381 * nss/Makefile: Add rules to install db-Makefile.
30382
40c1b22c
UD
30383 * nss/nss_db/db-XXX.c: Cleanup.
30384
9f2da732
UD
30385 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30386 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30387 GLIBC_PRIVATE.
30388 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30389 * nss/makedb.c: Implement -g option to specify that value strings
30390 are generated and should not be added to table iterated over for
30391 get*ent calls.
30392 * nss/nss_db/db-initgroups.c: New file.
30393
82e9a1f7
UD
30394 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30395 interface.
30396
c41af17e
UD
30397 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30398 (internal_getgrouplist): Adjust to name change.
30399 Update use_initgroups_entry if this is not the first call.
30400 * nss/databases.def: Add initgroups entry.
30401
a9e836b0
UD
30402 * nss/makedb.c (compute_tables): Check result of multiple hash table
30403 sizes to minimize maximum chain length.
30404
2666d441
UD
304052011-06-14 Ulrich Drepper <drepper@gmail.com>
30406
30407 * Versions.def: Add entry for libnss_db.
30408 * shlib-versions: Likewise.
30409 * nss/Makefile: Add rules to build libnss_db.
30410 * nss/Versions: Add libnss_db information. Organize libnss_files
30411 entries better.
30412 * nss/db-Makefile: Add gshadow support. Change rules for the new
30413 makedb progra. Some minor improvements to generate smaller files.
30414 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30415 here from...
30416 * nss/makedb.c: ...here.
30417 Improve database format to be smaller and require less memory at
30418 runtime.
30419 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30420 db anymore.
30421 * nss/nss_db/db-netgrp.c: Likewise.
30422 * nss/nss_db/db-open.c: Likewise.
30423 * nss/nss_files/flies-XXX.x: Adjust comments.
30424 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30425 * nss/nss_files/files-grp.c: Likewise.
30426 * nss/nss_files/files-hosts.c: Likewise.
30427 * nss/nss_files/files-network.c: Likewise.
30428 * nss/nss_files/files-proto.c: Likewise.
30429 * nss/nss_files/files-pwd.c: Likewise.
30430 * nss/nss_files/files-rpc.c: Likewise.
30431 * nss/nss_files/files-service.c: Likewise.
30432 * nss/nss_files/files-sgrp.c: Likewise.
30433 * nss/nss_files/files-spwd.c: Likewise.
30434 * nss/nss_db/db-alias.c: Removed.
30435 * nss/nss_db/dummy-db.h: Removed.
30436
9ee76b5a
UD
304372011-06-02 Ulrich Drepper <drepper@gmail.com>
30438
30439 * nss/makedb.c: Rewritten to not use database library.
30440 * nss/Makefile: Update to build new makedb program.
30441
c71ca1f8
AJ
304422011-06-14 Andreas Jaeger <aj@suse.de>
30443
30444 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30445 memset declaration.
30446
3154bfb8
UD
304472011-06-10 Andreas Schwab <schwab@redhat.com>
30448
30449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30450 tmpbuf.
30451
b350afab
RM
304522011-06-10 Roland McGrath <roland@hack.frob.com>
30453
decd4e50
RM
30454 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30455 * elf/Makefile ($(objpfx)ld.so): Likewise.
30456
5615eaf2
RM
30457 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30458 Don't list ld.so twice in dependencies.
30459
30460 * posix/bug-regex31.c: Include <stdlib.h>.
30461
30462 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30463
30464 * nis/nss_compat/compat-spwd.c
30465 (getspent_next_nss_netgr): Remove unused variable.
30466 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30467
30468 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30469 nonmembers" output to use the right array.
30470
30471 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30472
30473 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30474
30475 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30476 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30477 * catgets/gencat.c (read_input_file): Likewise.
30478 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30479
30480 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30481 variable definition inside #if's controlling its use.
30482
30483 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30484
30485 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30486
30487 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30488
30489 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30490 unreachable code.
30491
30492 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30493
b68e08db
RM
30494 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30495 * configure: Regenerated.
30496
b350afab
RM
30497 * Makerules: Revert last change.
30498 * elf/Makefile: Likewise.
30499
28368601
RM
305002011-06-09 Roland McGrath <roland@hack.frob.com>
30501
30502 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30503 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30504 (reloc-link): Likewise.
30505
11988f8f
UD
305062011-06-09 Ulrich Drepper <drepper@gmail.com>
30507
30508 * elf/Makefile: Add rules to build pldd.
30509 * elf/pldd.c: New file.
30510 * elf/pldd-xx.c: New file.
30511
e80fab37
UD
305122011-06-07 Ulrich Drepper <drepper@gmail.com>
30513
30514 * version.h: Update for 2.15 development version.
30515
9b849836
DM
305162011-06-07 David S. Miller <davem@davemloft.net>
30517
30518 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30519 ifuncs.
30520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30521 elf_machine_lazy_rel): Likewise.
30522 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30524 elf_machine_lazy_rel): Likewise.
30525 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30526 dl_hwcap via passed in argument.
30527 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30528 Likewise.
30529
5a31b283
AK
305302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30531
30532 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30533
069e52f8
RM
305342011-06-06 Roland McGrath <roland@hack.frob.com>
30535
30536 [BZ #12849]
30537 * manual/fdl-1.1.texi: New file, verbatim from:
30538 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30539 * manual/lgpl-2.1.texi: New file, verbatim from:
30540 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30541 * manual/Makefile (licenses): New variable, list those new file names.
30542 (texis): Use it.
30543 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30544
30545 * manual/fdl.texi: File removed.
30546 * manual/lesser.texi: File removed.
30547 * manual/libc.texinfo (Copying, Documentation License):
30548 Use new @include file names, put @appendix directive before @include.
30549
f16846a5
JJ
305502011-06-04 Jakub Jelinek <jakub@redhat.com>
30551
30552 [BZ #12841]
30553 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30554 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30555 (mq_open): Add __NTH.
30556
3d29045b
L
305572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30558
30559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30560 Assume Intel Core i3/i5/i7 processor if AVX is available.
30561
8c297311
UD
305622011-05-31 Ulrich Drepper <drepper@gmail.com>
30563
30564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30565 typo.
30566
c8fc0c91
UD
305672011-05-31 Andreas Schwab <schwab@redhat.com>
30568
30569 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30570 memory. Use alloca_account. Fix memory leak when retrying.
30571
5b27a807
UD
305722011-05-31 Ulrich Drepper <drepper@gmail.com>
30573
356f8bc6
UD
30574 * version.h (RELEASE): Bump for 2.14 release.
30575 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30576
5b27a807
UD
30577 * config.make.in (RANLIB): Remove entry.
30578
01f16ab0
UD
305792011-05-30 Ulrich Drepper <drepper@gmail.com>
30580
41fce8bd
UD
30581 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30582 (libc.pot): Work around missing support for .ksh extension in xgettext.
30583
4769ae77
UD
30584 [BZ #12684]
30585 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30586 if both request failed.
30587 (send_dg): In case of server errors clear resplen or *resplen2.
30588
6b1e7d19
UD
30589 [BZ #12454]
30590 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30591 when there are multiple maps.
30592 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30593 (_dl_fini): Remove test here.
30594
01f16ab0
UD
30595 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30596
b1ebd700
UD
305972011-05-29 Ulrich Drepper <drepper@gmail.com>
30598
7ae22829
UD
30599 [BZ #12350]
30600 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30601 bit from old_res_options.
30602 (gaih_inet): Likewise.
30603
553149f6 30604 [BZ #11099]
18a84741 30605 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30606 as signed.
30607
652ffab1
UD
30608 * resolv/res_init.c (res_setoptions): Make the code more compact.
30609
16985fd0
UD
30610 [BZ #11558]
30611 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30612 set RES_USEVC.
30613
0464f746
UD
30614 [BZ #11634]
30615 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30616
7d17596c
UD
30617 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30618
cf6bbbd7
UD
30619 [BZ #11781]
30620 * malloc/malloc.h: Declare malloc hook variables as volatile.
30621
13f1ab36
UD
30622 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30623 in last patch.
30624
b1ebd700
UD
30625 [BZ #11799]
30626 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30627 raise in the comment.
80e2212d
UD
30628 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30629 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30630 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30631
ce67228d
UD
306322011-05-28 Ulrich Drepper <drepper@gmail.com>
30633
8887a920
UD
30634 [BZ #12811]
30635 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30636 grow the buffers more if it already has to be sufficient.
30637 (build_wcs_upper_buffer): Likewise.
30638 * posix/regexec.c (check_matching): Likewise.
30639 (clean_state_log_if_needed): Likewise.
30640 (extend_buffers): Don't enlarge buffers beyond size of the input
30641 buffer.
30642 Patches mostly by Emil Wojak <emil@wojak.eu>.
30643 * posix/bug-regex32.c: New file.
30644 * posix/Makefile (tests): Add bug-regex32.
30645
4f031072
UD
30646 * locale/findlocale.c (_nl_find_locale): Return right away if
30647 _nl_explode_name failed.
30648 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30649
d0478f0c
UD
30650 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30651
de81b246
UD
30652 * debug/xtrace.sh: Unify messages.
30653 * malloc/memusage.sh: Likewise.
30654
c738465a
UD
30655 [BZ #12813]
30656 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30657 time symbol from vDSO. Substitute with vsyscall if not available.
30658 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30659 __vdso_time.
30660
f1f929d7
UD
30661 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30662 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30663 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30664 Add sendmmsg and internal_sendmmsg.
30665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30666 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30667 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30668
ce67228d
UD
30669 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30670 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30672
e57420c6
UD
306732011-05-27 Ulrich Drepper <drepper@gmail.com>
30674
a8509ca5
UD
30675 [BZ #12813]
30676 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30677 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30678 available.
30679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30680 __vdso_getcpu.
30681
e57420c6
UD
30682 [BZ #12814]
30683 * iconvdata/Makefile (tests): Add bug-iconv9.
30684 * iconvdata/bug-iconv9.c: New file.
30685
4d07db15
AS
306862011-05-27 Andreas Schwab <schwab@redhat.com>
30687
30688 [BZ #12814]
30689 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30690
ea486f69
JJ
306912011-05-25 Jakub Jelinek <jakub@redhat.com>
30692
30693 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30694 (struct user_regs_struct): Change intcs field back to cs.
30695
6f038433
UD
306962011-05-25 Ulrich Drepper <drepper@gmail.com>
30697
30698 * po/ja.po: Update from translation team.
30699
67f86a25
UD
307002011-05-23 Ulrich Drepper <drepper@gmail.com>
30701
30702 [BZ #12795]
30703 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30705
def7fbd6
AS
307062011-05-20 Andreas Schwab <schwab@redhat.com>
30707
30708 * stdlib/longlong.h: Update from GCC.
30709
f50ef8f1
AS
307102011-05-23 Andreas Schwab <schwab@redhat.com>
30711
30712 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30713 parameter name.
30714 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30715 Add parameter name.
30716 (__sysconf): Pass it down.
30717
de7ce8f1
UD
307182011-05-22 Ulrich Drepper <drepper@gmail.com>
30719
f2962a71
UD
30720 [BZ #12671]
30721 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30722 some situations.
30723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30724 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30725 add in in __libc_use_alloca calls. Adjust callers.
30726 (glob): Use malloc in some situations.
30727
de7ce8f1
UD
30728 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30729 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30730 pltexit.
30731
aec84f53
UD
307322011-05-21 Ulrich Drepper <drepper@gmail.com>
30733
05bb4a68
UD
30734 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30735 and CLOCK_BOOTTIME_ALARM.
30736
7ea72f99
UD
30737 [BZ #12782]
30738 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30739 is returned.
30740
7e4afad5
UD
30741 * string/_strerror.c (__strerror_r): Print negative errors as signed
30742 numbers.
30743
8e211fec
UD
30744 [BZ #12777]
30745 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30746 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30747 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30748
f7d82dc9
UD
30749 * configure.in: Fix typo in redirection and correct removal of test
30750 files in two cases.
30751
cc9e536d
UD
30752 [BZ #12788]
30753 * locale/setlocale.c (new_composite_name): Fix test to check for
30754 identical name of all categories.
30755
aec84f53
UD
30756 [BZ #12792]
30757 * libio/filedoalloc.c (local_isatty): New function.
30758 (_IO_file_doallocate): Use local_isatty.
30759 * stdio-common/perror.c (perror): In case a new stream is used
30760 forward the stream error.
30761 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30762 error flag.
30763
78e64fdc
RT
307642011-05-20 Ulrich Drepper <drepper@gmail.com>
30765
34a9094f
UD
30766 [BZ #11869]
30767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30768 alloca.
30769 * include/alloca.h (extend_alloca_account): Define.
30770
78e64fdc
RT
30771 [BZ #11857]
30772 * posix/regex.h: Fix comments with documentation of user-accessible
30773 fields after compilation and describe correct free'ing of pattern
30774 after re_compile_pattern.
30775 Patch by Reuben Thomas <rrt@sc3d.org>.
30776
457bddfc
RA
307772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30778
30779 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30780 and -mno-altivec to prevent the compiler from using Altivec and/or
30781 VSX instructions when the corresponding registers are not available.
30782
a4527b51
AS
307832011-05-19 Andreas Schwab <schwab@redhat.com>
30784
30785 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30786
ed690b2f
UD
307872011-05-19 Ulrich Drepper <drepper@gmail.com>
30788
30789 * libio/freopen.c (freopen): Use __dup2, not dup2.
30790 * libio/freopen64.c (freopen64): Likewise.
30791
8db73634
L
307922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30793
30794 [BZ #12775]
30795 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30796 * math/Makefile (tests): Add test-powl.
30797 (CFLAGS-test-powl.c): Define.
30798 * math/test-powl.c: New file.
30799
0a197a9d
L
308002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30803
ee30c380
UD
308042011-05-17 Ulrich Drepper <drepper@gmail.com>
30805
30806 [BZ #11837]
30807 * iconvdata/gb18030.c: Update to GB18020-2005.
30808
6ce75379
UD
308092011-05-16 Ulrich Drepper <drepper@gmail.com>
30810
a4b89fd8
AR
30811 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30812 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30813 Patch by Aharon Robbins <arnold@skeeve.com>.
30814
ea389b12
UD
30815 [BZ #11892]
30816 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30817 on the stack.
30818
68a3f91f
UD
30819 [BZ #11895]
30820 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30821 through underflows.
30822
15cc7dd1
UD
30823 [BZ #12766]
30824 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30825 point to strings before performing equality test for error_one_per_line
30826 mode.
30827
f3799213
UD
30828 [BZ #11697]
30829 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30830
d79a9c94
UD
30831 [BZ #11820]
30832 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30833 (struct user_fpregs_struct): Avoid __uint*_t types.
30834
56e5eb46
UD
30835 [BZ #6420]
30836 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30837 symbol info. Use it instead of calling _dl_addr locally.
30838 (lock_and_info): New function.
30839 (tr_freehook): Call lock_and_info and pass symbol info as additional
30840 parameter to tr_where.
30841 (tr_mallochook): Likewise.
30842 (tr_reallochook): Likewise.
30843 (tr_memalignhook): Likewise.
30844
6ce75379
UD
30845 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30846 used and couldn't be at all thread-safe.
30847
f8a3b5bf
UD
308482011-05-15 Ulrich Drepper <drepper@gmail.com>
30849
94b7cc37
UD
30850 * libio/freopen.c (freopen): Don't close old file descriptor
30851 before the new one is opened. Instead dup the new file descriptor
30852 to the old one after the new stream is created.
30853 * libio/freopen64.c (freopen64): Likewise.
30854 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30855 * libio/fileops.c (_IO_new_file_close_it): Handle new
30856 _IO_FLAGS2_NOCLOSE flag.
30857 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30858 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30859 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30860 _IO_FLAGS2_NOCLOSE flag.
30861 * include/unistd.h: Add hidden_proto for dup3.
30862 Define __have_dup3.
30863 * io/dup3.c: Define hidden symbol.
30864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30865
bd25564e
UD
30866 [BZ #7101]
30867 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30868 when an incomplete long option is used.
30869 * posix/tst-getopt_long1.c: New file.
30870 * posix/Makefile (tests): Add tst-getopt_long1.
30871
c84cfef4
UD
30872 [BZ #10138]
30873 * scripts/config.guess: Update from autoconf-2.68.
30874 * scripts/config.sub: Likewise.
30875
3b85df27
UD
30876 [BZ #10157]
30877 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30878 tests into ...
30879 (has_cpuclock): ...this. New function.
30880 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30881 macro here based on has_cpuclock code.
30882
15a856b1
UD
30883 [BZ #10149]
30884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30885 First byte (not low byte) is now always NUL.
30886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30887
05f399e6
UD
30888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30889 Use non-cancelable interfaces.
30890
10a52685 30891 [BZ #9809]
94ecc67d
UD
30892 * locale/iso-639.def: Add entry for Sorani.
30893
f8a3b5bf
UD
30894 [BZ #11901]
30895 * include/stdlib.h: Move include protection to the right place.
30896 Define abort_msg_s. Declare __abort_msg with it.
30897 * stdlib/abort.c (__abort_msg): Adjust type.
30898 * assert/assert.c (__assert_fail_base): New function. Majority
30899 of code from __assert_fail. Allocate memory for __abort_msg with
30900 mmap.
30901 (__assert_fail): Now call __assert_fail_base.
30902 * assert/assert-perr.c: Remove bulk of implementation. Use
30903 __assert_fail_base.
30904 * include/assert.hL Declare __assert_fail_base.
30905 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30906 mmap.
30907 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30908
1af4e298
UD
309092011-05-14 Ulrich Drepper <drepper@gmail.com>
30910
f8a3b5bf 30911 [BZ #11952]
d26dfc60
MG
30912 [BZ #12453]
30913 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30914 until all modules are registered in the DTV.
30915 * elf/Makefile: Add rules to build and run tst-tls19.
30916 * elf/tst-tls19.c: New file.
30917 * elf/tst-tls19mod1.c: New file.
30918 * elf/tst-tls19mod2.c: New file.
30919 * elf/tst-tls19mod3.c: New file.
30920 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30921
2fc54d6f
UD
30922 [BZ #12083]
30923 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30924 correctly.
30925
98d76b46
UD
30926 [BZ #12601]
30927 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30928 two-byte sequence errors.
30929 * iconvdata/Makefile (tests): Add bug-iconv8.
30930 * iconvdata/bug-iconv8.c: New file.
30931
da3c19ef
UD
30932 [BZ #12626]
30933 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30934 buf2 definition.
30935
ca408c15
UD
30936 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30937
d6f67f7d
UD
30938 [BZ #12432]
30939 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30940 (dummy_getcfa): New function.
30941 (init): Get _Unwind_GetCFA address, use dummy if not found.
30942 (backtrace_helper): In recursion check, also check whether CFA changes.
30943 (__backtrace): Completely initialize arg.
30944
1af4e298 30945 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30946 storing incomplete byte sequence in state object. Avoid testing for
30947 guaranteed too small input if we know there is enough data available.
1af4e298 30948
da62f81b
AS
309492011-05-11 Andreas Schwab <schwab@redhat.com>
30950
30951 * Makeconfig (+link-pie): Indent.
30952 * Rules (binaries-pie): Define if $(have-fpie) and
30953 $(build-shared).
30954 (binaries-shared): Also filter out $(binaries-pie).
30955 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30956 * nscd/Makefile (others-pie): Add nscd.
30957 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30958 ($(objpfx)nscd): Remove command override.
30959 * login/Makefile (others-pie): Add pt_chown.
30960 ($(objpfx)pt_chown): Remove command override.
30961 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30962 remove command overrides.
30963
fcabc0f8
UD
309642011-05-13 Ulrich Drepper <drepper@gmail.com>
30965
20030ae6
UD
30966 * libio/tst_putwc.c: Fix error messages.
30967
fcabc0f8
UD
30968 [BZ #12724]
30969 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30970 currently writing and seek to current position when not.
30971 * libio/Makefile (tests): Add bug-fclose1.
30972 * libio/bug-fclose1.c: New file.
30973
320a5dc0
PB
309742011-05-12 Ulrich Drepper <drepper@gmail.com>
30975
30976 [BZ #12511]
30977 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30978 don't set DF_1_NODELETE here.
30979 (do_lookup_x): When entering new entry test for copy relocation
30980 and if necessary set DF_1_NODELETE flag.
30981 * elf/tst-unique4.cc: New file.
30982 * elf/tst-unique4.h: New file.
30983 * elf/tst-unique4lib.cc: New file.
30984 * elf/Makefile: Add rules to build and run tst-unique4.
30985 Patch by Piotr Bury <pbury@goahead.com>.
30986
22836f52
UD
309872011-05-11 Ulrich Drepper <drepper@gmail.com>
30988
f574184a
UD
30989 [BZ #12052]
30990 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30991
e1fb097f
UD
30992 [BZ #12625]
30993 * misc/mntent_r.c (addmntent): Flush the stream after the output
30994
22836f52
UD
30995 [BZ #12393]
30996 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30997 (is_trusted_path_normalize): Skip initial colon. Append slash
30998 to empty buffer. Duplicate is_trusted_path code but allow
30999 constructed patch to be prefix.
31000 (is_dst): Allow $ORIGIN followed by /.
31001 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31002 Correct testing of result of is_trusted_path_normalize
31003 (decompose_rpath): Fix warning.
31004
7b3b0b2a
UD
310052011-05-10 Ulrich Drepper <drepper@gmail.com>
31006
31007 [BZ #11257]
31008 * grp/initgroups.c (internal_getgrouplist): When we found the service
31009 list through the initgroups entry in nsswitch.conf do not always
31010 continue on a successful lookup. Don't always use the
eac80ce2 31011 __nss_group_database value if it is set.
7b3b0b2a
UD
31012 * nss/nsswitch.conf (initgroups): Change action for successful db
31013 lookup to continue for compatibility.
31014
2a81eaa5
UD
310152011-05-09 Ulrich Drepper <drepper@gmail.com>
31016
be97a69e
UD
31017 [BZ #11532]
31018 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31019 and CP774 modules.
31020 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31021 and CP774 modules.
31022 * iconvdata/tst-tables.sh: Likewise.
31023 * iconvdata/cp770.c: New file.
31024 * iconvdata/cp771.c: New file.
31025 * iconvdata/cp772.c: New file.
31026 * iconvdata/cp773.c: New file.
31027 * iconvdata/cp774.c: New file.
31028 * iconvdata/testdata/CP770: New file.
31029 * iconvdata/testdata/CP770..UTF8: New file.
31030 * iconvdata/testdata/CP771: New file.
31031 * iconvdata/testdata/CP771..UTF8: New file.
31032 * iconvdata/testdata/CP772: New file.
31033 * iconvdata/testdata/CP772..UTF8: New file.
31034 * iconvdata/testdata/CP773: New file.
31035 * iconvdata/testdata/CP773..UTF8: New file.
31036 * iconvdata/testdata/CP774: New file.
31037 * iconvdata/testdata/CP774..UTF8: New file.
31038
31039 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31040 END CHARMAP line.
31041 * iconvdata/gen-8bit-gap.sh: Likewise.
31042 * iconvdata/gen-8bit.sh: Likewise.
31043
c1e9e399
UD
31044 * locale/iso-639.def: Add ary entry.
31045
24c55fb3 31046 [BZ #11258]
96b4b1b0
UD
31047 * locale/C-translit.h.in: Add U20A1 transliteration.
31048
bdc2f971
KB
31049 [BZ #12178]
31050 * locale/iso-639.def: Add wae entry.
31051 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31052
2952b117
UD
31053 [BZ #12545]
31054 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31055 for n.
31056
2a81eaa5
UD
31057 [BZ #12711]
31058 * locale/C-translit.h.in: Add entry for U20B9.
31059 Patch by pravin.d.s@gmail.com.
31060
28377d1b
UD
310612011-05-08 Ulrich Drepper <drepper@gmail.com>
31062
7fb90fb8
UD
31063 [BZ #12713]
31064 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31065 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31066 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31067 in rtld. Use *stat64.
7fb90fb8 31068 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31069 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31070 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31071 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31072 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31073 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31074 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31075 __fstatat64 macros.
7fb90fb8
UD
31076 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31077 * dirent/rewinddir.c: Add libc_hidden_def.
31078 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31079 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31080
28377d1b
UD
31081 * include/dirent.h (__alloc_dir): Add flags parameter.
31082 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31083 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31084 __alloc_dir.
31085 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31086 from fdopendir if O_CLOEXEC is already set.
31087
66bdbaa4
AM
310882011-03-15 Alan Modra <amodra@gmail.com>
31089
31090 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31091 l_tls_firstbyte_offset non-zero. Save padding offset in
31092 l_tls_firstbyte_offset for later use.
31093 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31094 freeing static tls block.
31095
95721191
JN
310962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31097
31098 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31099 where #ifdef was intended. The intent is to prevent ARG_MAX from
31100 being defined by the kernel headers.
31101
f87dfb1f
UD
311022011-05-07 Ulrich Drepper <drepper@gmail.com>
31103
31104 [BZ #12734]
31105 * resolv/resolv.h: Define RES_NOTLDQUERY.
31106 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31107 no-tld-query and set RES_NOTLDQUERY.
31108 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31109 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31110 modern BIND to search name as TLD unless forbidden.
31111
47c3cd7a
UD
311122011-05-07 Petr Baudis <pasky@suse.cz>
31113 Ulrich Drepper <drepper@gmail.com>
31114
31115 [BZ #12393]
31116 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31117 (is_trusted_path): ...to here.
c1e9ea35 31118 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31119 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31120 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31121
8a35c912
PP
311222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31123
31124 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31125 __BEGIN/__END_DECLS.
31126
acd41f47
UD
311272011-05-06 Ulrich Drepper <drepper@gmail.com>
31128
31129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31130 NSS_STATUS_NOTFOUND if no record was found.
31131
597df647
AS
311322011-05-05 Andreas Schwab <schwab@redhat.com>
31133
31134 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31135 (headers-not-in-tirpc): Remove rpc/netdb.h
31136 * resolv/netdb.h: Revert last change.
31137
b9af1301
PP
311382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31139
31140 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31141 circular dependency between libgcc.a and libc.a.
31142
4e34d5f5
AS
311432011-05-05 Andreas Schwab <schwab@redhat.com>
31144
31145 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31146 * nis/Makefile: Don't install rpcsvc/*.
31147 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31148 instead of <rpc/types.h>.
31149 (MAXHOSTNAMELEN): Define.
31150
00ee369c
AS
311512011-05-03 Andreas Schwab <schwab@redhat.com>
31152
31153 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31154
0b592a30
MB
311552011-04-28 Maciej Babinski <mbabinski@google.com>
31156
31157 [BZ #12714]
31158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31159 gethostbyname4_r when IPv6 results are possible.
31160
6e04cbbe
UD
311612011-05-02 Ulrich Drepper <drepper@gmail.com>
31162
31163 [BZ #12723]
31164 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31165 _PC_PIPE_BUF handling.
31166
e4ecafe0
BH
311672011-04-30 Bruno Haible <bruno@clisp.org>
31168
31169 [BZ #12717]
31170 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31171 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31172 to 'int'.
31173 * inet/getnameinfo.c (getnameinfo): Likewise.
31174
125ee683
UD
311752011-04-29 Ulrich Drepper <drepper@gmail.com>
31176
31177 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31178 to groups setting in database lookup.
31179 * nss/nsswitch.conf: Add initgroups entry.
31180
b722481a
EB
311812011-04-22 Ulrich Drepper <drepper@gmail.com>
31182
31183 [BZ #12685]
31184 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31185 mode string.
31186 Patch by Eric Blake <eblake@redhat.com>.
31187
4df46dbd
L
311882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31189
31190 * sunrpc/Makefile (need-export-routines): Add svc_run.
31191 (routines): Remove svc_run.
31192 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31193 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31194 * sunrpc/svc_run.c (svc_run): Likewise.
31195 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31196
e84142d2
UD
311972011-04-21 Ulrich Drepper <drepper@gmail.com>
31198
31199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31200 problem in reallocation in last patch.
31201
877175d8
UD
312022011-04-20 Ulrich Drepper <drepper@gmail.com>
31203
31204 * sunrpc/Makefile: Move inclusion of Rules.
31205
ab8eed78
UD
312062011-04-19 Ulrich Drepper <drepper@gmail.com>
31207
31208 * nss/nss_files/files-initgroups.c: New file.
31209 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31210 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31211 _nss_files_initgroups_dyn.
31212
e3d8f584
RS
312132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31214
31215 * elf/elf.h (R_ARM_IRELATIVE): Define.
31216
af190f45
UD
312172011-04-19 Ulrich Drepper <drepper@gmail.com>
31218
31219 * po/ru.po: Update from translation team.
31220
53cf59ef
UD
312212011-04-17 Ulrich Drepper <drepper@gmail.com>
31222
31223 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31224 dependencies.
31225
4c559bcd
MF
312262011-02-06 Mike Frysinger <vapier@gentoo.org>
31227
31228 [BZ #12653]
31229 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31230 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31234
4420675c
AS
312352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31236
31237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31238 differing bytes.
31239 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31242
75ea32ab
UD
312432011-04-17 Ulrich Drepper <drepper@gmail.com>
31244
31245 [BZ #12420]
31246 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31247 storing it.
31248 * stdlib/bug-getcontext.c: New file.
31249 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31250
27390476
AK
312512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31252
31253 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31254 instructions into .machine "z9-109".
31255 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31256 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31257
10442705
AK
312582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31259
31260 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31261 between environment variables and auxiliary vector.
31262
7b57bfe5
UD
312632011-04-16 Ulrich Drepper <drepper@gmail.com>
31264
31265 * Makefile: Add rules to build linkobj/libc.so.
31266 * include/libc-symbols.h: Define libc_hidden_nolink.
31267 * include/rpc/auth.h: Mark functions which are to be hidden.
31268 * include/rpc/auth_des.h: Likewise.
31269 * include/rpc/auth_unix.h: Likewise.
31270 * include/rpc/clnt.h: Likewise.
31271 * include/rpc/des_crypt.h: Likewise.
31272 * include/rpc/key_prot.h: Likewise.
31273 * include/rpc/pmap_clnt.h: Likewise.
31274 * include/rpc/pmap_prot.h: Likewise.
31275 * include/rpc/pmap_rmt.h: Likewise.
31276 * include/rpc/rpc_msg.h: Likewise.
31277 * include/rpc/svc.h: Likewise.
31278 * include/rpc/svc_auth.h: Likewise.
31279 * include/rpc/xdr.h: Likewise.
31280 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31281 * nss/Makefile: Likewise.
31282 * sunrpc/Makefile: Don't install headers. Build library with normal
31283 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31284 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31285 for the compat linking library. Remove use of INTDEF/INTUSE.
31286 * sunrpc/auth_none.c: Likewise.
31287 * sunrpc/auth_unix.c: Likewise.
31288 * sunrpc/authdes_prot.c: Likewise.
31289 * sunrpc/authuxprot.c: Likewise.
31290 * sunrpc/clnt_gen.c: Likewise.
31291 * sunrpc/clnt_perr.c: Likewise.
31292 * sunrpc/clnt_raw.c: Likewise.
31293 * sunrpc/clnt_simp.c: Likewise.
31294 * sunrpc/clnt_tcp.c: Likewise.
31295 * sunrpc/clnt_udp.c: Likewise.
31296 * sunrpc/clnt_unix.c: Likewise.
31297 * sunrpc/des_crypt.c: Likewise.
31298 * sunrpc/des_soft.c: Likewise.
31299 * sunrpc/get_myaddr.c: Likewise.
31300 * sunrpc/key_call.c: Likewise.
31301 * sunrpc/key_prot.c: Likewise.
31302 * sunrpc/netname.c: Likewise.
31303 * sunrpc/pm_getmaps.c: Likewise.
31304 * sunrpc/pm_getport.c: Likewise.
31305 * sunrpc/pmap_clnt.c: Likewise.
31306 * sunrpc/pmap_prot.c: Likewise.
31307 * sunrpc/pmap_prot2.c: Likewise.
31308 * sunrpc/pmap_rmt.c: Likewise.
31309 * sunrpc/publickey.c: Likewise.
31310 * sunrpc/rpc_cmsg.c: Likewise.
31311 * sunrpc/rpc_common.c: Likewise.
31312 * sunrpc/rpc_dtable.c: Likewise.
31313 * sunrpc/rpc_prot.c: Likewise.
31314 * sunrpc/rpc_thread.c: Likewise.
31315 * sunrpc/rtime.c: Likewise.
31316 * sunrpc/svc.c: Likewise.
31317 * sunrpc/svc_auth.c: Likewise.
31318 * sunrpc/svc_authux.c: Likewise.
31319 * sunrpc/svc_raw.c: Likewise.
31320 * sunrpc/svc_run.c: Likewise.
31321 * sunrpc/svc_simple.c: Likewise.
31322 * sunrpc/svc_tcp.c: Likewise.
31323 * sunrpc/svc_udp.c: Likewise.
31324 * sunrpc/svc_unix.c: Likewise.
31325 * sunrpc/svcauth_des.c: Likewise.
31326 * sunrpc/xcrypt.c: Likewise.
31327 * sunrpc/xdr.c: Likewise.
31328 * sunrpc/xdr_array.c: Likewise.
31329 * sunrpc/xdr_float.c: Likewise.
31330 * sunrpc/xdr_intXX_t.c: Likewise.
31331 * sunrpc/xdr_mem.c: Likewise.
31332 * sunrpc/xdr_rec.c: Likewise.
31333 * sunrpc/xdr_ref.c: Likewise.
31334 * sunrpc/xdr_sizeof.c: Likewise.
31335 * sunrpc/xdr_stdio.c: Likewise.
31336
e6c61494
UD
313372011-04-10 Ulrich Drepper <drepper@gmail.com>
31338
31339 [BZ #12650]
31340 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31341 * sysdeps/ia64/dl-tls.h: Likewise.
31342 * sysdeps/powerpc/dl-tls.h: Likewise.
31343 * sysdeps/s390/dl-tls.h: Likewise.
31344 * sysdeps/sh/dl-tls.h: Likewise.
31345 * sysdeps/sparc/dl-tls.h: Likewise.
31346 * sysdeps/x86_64/dl-tls.h: Likewise.
31347 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31348
34fe483e
AS
313492011-03-14 Andreas Schwab <schwab@redhat.com>
31350
31351 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31352 rpath element also skip the following colon.
31353 (expand_dynamic_string_token): Add is_path parameter and pass
31354 down to DL_DST_REQUIRED and _dl_dst_substitute.
31355 (decompose_rpath): Call expand_dynamic_string_token with
31356 non-zero is_path. Ignore empty rpaths.
31357 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31358 with zero is_path.
31359
f12a32e6
AS
313602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31361
31362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31363 Make cancelable.
31364
38a7d692
UD
313652011-04-09 Ulrich Drepper <drepper@gmail.com>
31366
31367 [BZ #12655]
31368 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31369 Patch by Filipe David Manana <fdmanana@apache.org>.
31370
e451d22b
AS
313712011-04-07 Andreas Schwab <schwab@redhat.com>
31372
31373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31374 Maintain aligned stack.
31375 (CHECK_RSP): Remove unused macro.
31376
dedc7c7b
UD
313772011-04-03 Ulrich Drepper <drepper@gmail.com>
31378
31379 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31381
94521213
UD
313822011-04-02 Ulrich Drepper <drepper@gmail.com>
31383
31384 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31385
8cb700c0 31386 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31387
0354e355
L
313882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31389
31390 [BZ #12518]
31391 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31392 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31393 * sysdeps/x86_64/memmove.c: New file.
31394 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31395 (memcpy): Renamed to ...
31396 (__new_memcpy): This.
31397 (memcpy): Provide GLIBC_2_14 memcpy.
31398 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31399 (memcpy): Provide GLIBC_2_2_5 memcpy.
31400
8593482f
UD
314012011-04-01 Ulrich Drepper <drepper@gmail.com>
31402
31403 [BZ #12631]
31404 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31405
81a5726b
AS
314062011-03-30 Andreas Schwab <schwab@redhat.com>
31407
31408 * misc/syncfs.c: New file.
31409 * misc/Makefile (routines): Add syncfs.
31410 * posix/unistd.h: Declare syncfs.
31411 * sysdeps/unix/syscalls.list: Add syncfs.
31412
00e5419f
AS
314132011-04-01 Andreas Schwab <schwab@redhat.com>
31414
31415 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31416 open_by_handle_at.
31417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31418 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
31423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31424
748876bf
UD
314252011-04-01 Ulrich Drepper <drepper@gmail.com>
31426
658e451d
UD
31427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31428 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31434
748876bf
UD
31435 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31436 sync_file_range.c with -fexceptions.
31437 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31438 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31439 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31440 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31441 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31442 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31444 sync_file_range as cancellation point
31445 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31446 now a wrapper around __call_sync_file_range with cancellation handling.
31447 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31448 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31449 function name to __call_sync_file_range.
31450 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31451 Add call_sync_file_range.
748876bf 31452
6e63d5e1
AS
314532011-04-01 Andreas Schwab <schwab@redhat.com>
31454
31455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31456 bits/timex.h.
6e63d5e1 31457
46998f74
UD
314582011-04-01 Ulrich Drepper <drepper@gmail.com>
31459
4c1423ed
UD
31460 * iconv/iconv.h: Fix typo in comment.
31461 * io/fcntl.h: Likewise.
31462 * libio/stdio.h: Likewise.
31463 * posix/spawn.h: Likewise.
31464 * posix/unistd.h: Likewise.
31465 * stdlib/stdlib.h: Likewise.
31466 * time/time.h: Likewise.
31467 * wcsmbs/wchar.h: Likewise.
31468
158648c0
UD
31469 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31470 open_by_handle): Add.
31471 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31472 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31473 Augment a few comments.
31474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31479 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31480 open_by_handle.
31481
46998f74
UD
31482 * io/fcntl.h (AT_EMPTY_PATH): Define.
31483
83fe108b
UD
314842011-03-30 Ulrich Drepper <drepper@gmail.com>
31485
31486 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31487 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31488 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31489 to...
31490 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31491 * Versions.def: Add GLIBC_2.14.
31492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31493 Export.
83fe108b 31494
bb242059
UD
314952011-03-22 Ulrich Drepper <drepper@gmail.com>
31496
31497 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31498 round counter.
31499 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31500
c97a1282
L
315012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31502
31503 [BZ #12597]
31504 * string/test-strncmp.c (do_page_test): New function.
31505 (check2): Likewise.
31506 (test_main): Call check2.
31507 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31508
2a115601
UD
315092011-03-20 Ulrich Drepper <drepper@gmail.com>
31510
31511 [BZ #12587]
31512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31513 Handle cache information in CPU leaf 4.
31514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31515
8126d904
UD
315162011-03-18 Ulrich Drepper <drepper@gmail.com>
31517
042c49c6 31518 [BZ #12583]
8126d904
UD
31519 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31520 character representation.
31521 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31522
ccfe366e
RA
315232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31524
31525 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31526 END(__isnan) to END(__isnanf) to match function entry point/label
31527 EALIGN(__isnanf,...).
31528
c6e13027
JJ
315292011-03-10 Jakub Jelinek <jakub@redhat.com>
31530
31531 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31532
33f85a3f
UD
315332011-03-10 Ulrich Drepper <drepper@gmail.com>
31534
028478fa
UD
31535 [BZ #12510]
31536 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31537 copy from the symbol referenced in the relocation to initialize the
31538 used variable.
31539 Patch by Piotr Bury <pbury@goahead.com>.
31540 * elf/Makefile: Add rules to build and tst-unique3.
31541 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31542 * elf/tst-unique3.cc: New file.
31543 * elf/tst-unique3.h: New file.
31544 * elf/tst-unique3lib.cc: New file.
31545 * elf/tst-unique3lib2.cc: New file.
31546
33f85a3f
UD
31547 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31548
03592fc7
MF
315492011-03-10 Mike Frysinger <vapier@gentoo.org>
31550
31551 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31552 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31553 to _start.
03592fc7 31554
6a5ee102
UD
315552011-03-06 Ulrich Drepper <drepper@gmail.com>
31556
31557 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31558 to-be-loaded object along a path to loader is ld.so.
31559
7e4ba49c
HJ
315602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31561 Ulrich Drepper <drepper@gmail.com>
31562
31563 * sysdeps/x86_64/memset.S: After aligning destination, code
31564 branches to different locations depending on the value of
31565 misalignment, when multiarch is enabled. Fix this.
31566
315672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31568
31569 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31570 Set _x86_64_preferred_memory_instruction for AMD processsors.
31571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31572 Set bit_Prefer_SSE_for_memop for AMD processors.
31573
13a804de
UD
315742011-03-04 Ulrich Drepper <drepper@gmail.com>
31575
31576 * libio/fmemopen.c (fmemopen): Optimize a bit.
31577
9d25c392
AS
315782011-03-03 Andreas Schwab <schwab@redhat.com>
31579
31580 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31581
a5543c6a
RM
315822011-03-03 Roland McGrath <roland@redhat.com>
31583
31584 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31585
012d35f7
DM
315862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31587
7e4ba49c 31588 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31589 __bzero_ultra1 instead of __memset_ultra1.
31590
4bff6e01
AS
315912011-02-23 Andreas Schwab <schwab@redhat.com>
31592 Ulrich Drepper <drepper@gmail.com>
31593
31594 [BZ #12509]
31595 * include/link.h (struct link_map): Add l_orig_initfini.
31596 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31597 returning unsuccessfully.
31598 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31599 close of a file loaded at startup, restore the original l_initfini
31600 list.
31601 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31602 list, store the pointer.
31603 * elf/Makefile ($(objpfx)noload-mem): New rule.
31604 (noload-ENV): Define.
31605 (tests): Add $(objpfx)noload-mem.
31606 * elf/noload.c: Include <memcheck.h>.
31607 (main): Call mtrace. Close all opened handles.
31608
f2092faf
AS
316092011-02-17 Andreas Schwab <schwab@redhat.com>
31610
31611 [BZ #12454]
31612 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31613 dependencies are missing.
31614
6c8a2e88
ST
316152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31616
f2092faf 31617 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31618 Hurd needs munmap.
31619 * sysdeps/mach/hurd/ifreq.h: New file.
31620
84a42118
PB
316212011-01-27 Petr Baudis <pasky@suse.cz>
31622 Ulrich Drepper <drepper@gmail.com>
31623
071f805e 31624 [BZ 12445]#
84a42118
PB
31625 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31626 to extend_alloca().
31627 * stdio-common/bug23.c: New file.
31628 * stdio-common/Makefile (tests): Add bug23.
31629
e23fe25b
AS
316302010-09-28 Andreas Schwab <schwab@redhat.com>
31631 Ulrich Drepper <drepper@gmail.com>
31632
31633 [BZ #12489]
31634 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31635 before performing relro protection. At old place add assertion
31636 to make sure nothing changed.
31637
d3f02e10
NS
316382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31639 Glauber de Oliveira Costa <glommer@gmail.com>
31640
31641 * elf/elf.h: Add new ARM TLS relocs.
31642
d55fd7a5
RA
316432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31644
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31646 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31647 cast from r3.
31648 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31649 'tests' variable.
31650 * sysdeps/wordsize-64/tst-writev.c: New file.
31651
2206397e
RA
316522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31653
31654 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31655 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31656 insns in _dl_start to prevent a TOC reference before relocs are
31657 resolved.
31658
e9433893
UD
316592011-02-15 Ulrich Drepper <drepper@gmail.com>
31660
31661 [BZ #12469]
31662 * Makeconfig: Remove RANLIB definition.
31663 * Makerules: Don't use RANLIB.
31664 * aclocal.m4: Remove ranlib test.
31665 * configure.in: No need to check for ranlib.
31666 * elf/rtld-Rules: Don't use RANLIB.
31667
f75286c6
ST
316682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31669
8e31c82d
ST
31670 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31671 protection macro.
31672 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31673 inclusion protection macro.
31674
f75286c6
ST
31675 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31676 SIGRTMIN and SIGRTMAX and print information in that case only when
31677 SIGRTMIN is defined.
31678
c1d0e639
JJ
316792011-02-11 Jakub Jelinek <jakub@redhat.com>
31680
31681 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31682 arginfo fn returning -1.
31683
31684 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31685 and thousands string is zero terminated.
31686
edf9294e
AS
316872011-02-03 Andreas Schwab <schwab@redhat.com>
31688
31689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31690 sysdeps/unix/sysv/linux/bits/socket.h.
31691
2b7e92df
ST
316922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31693
edf9294e
AS
31694 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31695 (__CPU_COUNT): Remove old macros.
31696 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31697 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31698 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31699 (__sched_cpualloc, __sched_cpufree): Add declarations.
31700
a4c7ea7b
UD
317012011-02-05 Ulrich Drepper <drepper@gmail.com>
31702
31703 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31704 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31705 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31706 (readdhstai): Return value of addhstaiX call.
31707 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31708 (addgrbyX): Return value returned by cache_addgr.
31709 (readdgrbyname): Return value returned by addgrbyX.
31710 (readdgrbygid): Likewise.
31711 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31712 (addpwbyX): Return value returned by cache_addpw.
31713 (readdpwbyname): Return value returned by addhstbyX.
31714 (readdpwbyuid): Likewise.
31715 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31716 (addservbyX): Return value returned by cache_addserv.
31717 (readdservbyname): Return value returned by addservbyX:
31718 (readdservbyport): Likewise.
31719 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31720 (addhstbyX): Return value returned by cache_addhst.
31721 (readdhstbyname): Return value returned by addhstbyX.
31722 (readdhstbyaddr): Likewise.
31723 (readdhstbynamev6): Likewise.
31724 (readdhstbyaddrv6): Likewise.
31725 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31726 (readdinitgroups): Return value returned by addinitgroupsX.
31727 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31728 (prune_cache): Keep track of timeout value of re-added entries.
31729 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31730 * nscd/nscd.h: Adjust prototypes of readd* functions.
31731
a0bf67cc
RM
317322011-02-04 Roland McGrath <roland@redhat.com>
31733
31734 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31735 (nis_stats): Likewise.
31736 * nis/nis_modify.c (nis_modify): Likewise.
31737 * nis/nis_remove.c (nis_remove): Likewise.
31738 * nis/nis_add.c (nis_add): Likewise.
31739
31740 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31741
31742 * posix/fnmatch_loop.c: Add some consts.
31743
31744 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31745
435b95eb
L
317462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 [BZ #12460]
31749 * config.make.in (config-cflags-novzeroupper): Define.
31750 * configure.in: Substitute libc_cv_cc_novzeroupper.
31751 * elf/Makefile (AVX-CFLAGS): Define.
31752 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31753 (CFLAGS-tst-auditmod4a.c): Likewise.
31754 (CFLAGS-tst-auditmod4b.c): Likewise.
31755 (CFLAGS-tst-auditmod6b.c): Likewise.
31756 (CFLAGS-tst-auditmod6c.c): Likewise.
31757 (CFLAGS-tst-auditmod7b.c): Likewise.
31758 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31759
8517b15e
UD
317602011-02-02 Ulrich Drepper <drepper@gmail.com>
31761
31762 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31763 function to the callback.
31764 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31765
10a656fe
AS
317662011-02-02 Andreas Schwab <schwab@redhat.com>
31767
31768 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31769 of errno.
31770
968dad0a
UD
317712011-01-19 Ulrich Drepper <drepper@gmail.com>
31772
9f94d2ea 31773 [BZ #11724]
968dad0a
UD
31774 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31775 of constructors.
31776 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31777 of destructors.
31778 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31779
31780 [BZ #11724]
31781 * elf/Makefile: Add rules to build and run new test.
31782 * elf/tst-initorder.c: New file.
31783 * elf/tst-initorder.exp: New file.
31784 * elf/tst-initordera1.c: New file.
31785 * elf/tst-initordera2.c: New file.
31786 * elf/tst-initordera3.c: New file.
31787 * elf/tst-initordera4.c: New file.
31788 * elf/tst-initorderb1.c: New file.
31789 * elf/tst-initorderb2.c: New file.
31790 * elf/tst-order-a1.c: New file.
31791 * elf/tst-order-a2.c: New file.
31792 * elf/tst-order-a3.c: New file.
31793 * elf/tst-order-a4.c: New file.
31794 * elf/tst-order-b1.c: New file.
31795 * elf/tst-order-b2.c: New file.
31796 * elf/tst-order-main.c: New file.
31797 New test case by George Gensure <werkt0@gmail.com>.
31798
86e92359
UD
317992010-10-01 Andreas Schwab <schwab@redhat.com>
31800
31801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31802 decoding ACE if AI_CANONIDN.
31803
5d5732b0
UD
318042011-01-18 Ulrich Drepper <drepper@gmail.com>
31805
31806 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31807
a77e8cbc
UD
318082011-01-17 Ulrich Drepper <drepper@gmail.com>
31809
6392473f
UD
31810 * version.h (RELEASE): Bump for 2.13 release.
31811 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31812
620a0529
UD
31813 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31814
18ba70a5
UD
31815 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31816 MADV_NOHUGEPAGE.
32465c3e
UD
31817 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31819 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31821 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31822 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31823
c0dafcf1
UD
31824 * posix/getconf.c: Update copyright year.
31825 * catgets/gencat.c: Likewise.
31826 * csu/version.c: Likewise.
31827 * debug/catchsegv.sh: Likewise.
31828 * debug/xtrace.sh: Likewise.
31829 * elf/ldconfig.c: Likewise.
31830 * elf/ldd.bash.in: Likewise.
31831 * elf/sprof.c (print_version): Likewise.
31832 * iconv/iconv_prog.c: Likewise.
31833 * iconv/iconvconfig.c: Likewise.
31834 * locale/programs/locale.c: Likewise.
31835 * locale/programs/localedef.c: Likewise.
31836 * malloc/memusage.sh: Likewise.
31837 * malloc/mtrace.pl: Likewise.
31838 * nscd/nscd.c (print_version): Likewise.
31839 * nss/getent.c: Likewise.
31840
a77e8cbc
UD
31841 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31842 PF_CAIF, and PF_ALG.
31843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31844
77e8bddf
AS
318452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31846
1f20b93a
AS
31847 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31848 (modules-names): Use them.
31849 (ifunc-test-modules, ifunc-pie-tests): Define.
31850 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31851 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31852 (test-extras): Likewise.
31853 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31854 $(compile-command.c).
31855 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31856 (all-built-dso): Define.
31857 (check-textrel.out, check-execstack.out): Depend on it.
31858
77e8bddf
AS
31859 * configure.in: Don't override --enable-multi-arch.
31860
bc425b33
UD
318612011-01-15 Ulrich Drepper <drepper@gmail.com>
31862
31863 [BZ #6812]
31864 * nscd/hstcache.c (tryagain): Define.
31865 (cache_addhst): Return tryagain not notfound for temporary errors.
31866 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31867 failed.
31868
794c3ad3
UD
318692011-01-14 Ulrich Drepper <drepper@gmail.com>
31870
70181fdd
UD
31871 [BZ #10563]
31872 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31873 to make the syscall.
31874 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31875
794c3ad3
UD
31876 [BZ #12378]
31877 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31878 and fall back to matching as normal character if the string ends before
31879 the matching ']' is found. This is what POSIX requires.
31880 * posix/testfnm.c: Adjust test result.
31881 * posix/globtest.sh: Adjust test result. Add new test.
31882 * posix/tst-fnmatch.input: Likewise.
31883 * posix/tst-fnmatch2.c: Add new test.
31884
68dc9497
AS
318852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31886
31887 * elf/Makefile (check-execstack): Revert last change. Depend on
31888 check-execstack.h.
31889 (check-execstack.h): New target.
31890 (generated): Add check-execstack.h.
31891 * elf/check-execstack.c: Include "check-execstack.h".
31892 (main): Revert last change.
31893 (handle_file): Return zero if GNU_STACK is absent and
31894 DEFAULT_STACK_PERMS doesn't include PF_X.
31895
451f001b
UD
318962011-01-13 Ulrich Drepper <drepper@gmail.com>
31897
cfa28e56
UD
31898 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31899 in child fails because the descriptor is already closed.
8cf8ce17
UD
31900 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31901 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31902 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31903
1086d70d
UD
31904 [BZ #12397]
31905 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31906 syscall.
31907
451f001b
UD
31908 [BZ #10484]
31909 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31910 temporary buffer used to handle multi lookups locally.
a85b5cb4 31911 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31912
08769175
UD
319132011-01-12 Ulrich Drepper <drepper@gmail.com>
31914
31915 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31916 loader is ld.so.
31917
5e49c52e
UD
319182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31919
31920 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31921 alignment for SSE2.
31922
60522a5f
UD
319232011-01-12 Ulrich Drepper <drepper@gmail.com>
31924
31925 [BZ #12394]
31926 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31927 characters. When rounding increased number of integer digits recompute
31928 number of groups.
31929 * stdio-common/tst-grouping.c: New file.
31930 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31931
f257bbd7
UD
319322011-01-09 Ulrich Drepper <drepper@gmail.com>
31933
31934 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31935 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31936
31937 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31938 void.
31939 * bits/select.h: Likewise.
31940
fa9c15cb
UD
319412011-01-08 Ulrich Drepper <drepper@gmail.com>
31942
31943 * po/ja.po: Update from translation team.
31944
16c2895f
DM
319452011-01-04 David S. Miller <davem@sunset.davemloft.net>
31946
31947 [BZ #11155]
31948 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31949 implementation just like for lxstat, fxstatat, et al.
31950
2543fef2
JM
319512010-12-27 Jim Meyering <meyering@redhat.com>
31952
31953 [BZ #12348]
31954 * posix/regexec.c (build_trtable): Return failure indication upon
31955 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31956
98727dbe
UD
319572010-12-25 Ulrich Drepper <drepper@gmail.com>
31958
5bd6dc5c
UD
31959 [BZ #12201]
31960 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31961 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31962 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31964
97983464
UD
31965 [BZ #12207]
31966 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31967
98727dbe
UD
31968 [BZ #12204]
31969 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31970 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31971
4a531bb0
L
319722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31973
31974 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31975 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31976 script has SORT_BY_INIT_PRIORITY.
31977 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31978 NO_CTORS_DTORS_SECTIONS is defined.
31979 * elf/soinit.c: Likewise.
31980 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31981 NO_CTORS_DTORS_SECTIONS is defined.
31982 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31983 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31984 * sysdeps/sh/init-first.c: Likewise.
31985 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31986
07eb4b71
UD
319872010-12-24 Ulrich Drepper <drepper@gmail.com>
31988
31989 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31990 always use the slow path.
31991
30950a5f
RA
319922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31993
31994 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31995 similar rule which adds the sysdep directories to the header search in
31996 order to pick up the correct platform stackinfo.h.
31997 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31998 perform test if it is, otherwise return successfully without testing.
31999 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32000 DEFAULT_STACK_PERMS define in stackinfo.h.
32001 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32002 defined in stackinfo.h.
32003 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32004 DEFAULT_STACK_PERMS defined in stackinfo.h.
32005 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32006 * sysdeps/ia64/stackinfo.h: Likewise.
32007 * sysdeps/s390/stackinfo.h: Likewise.
32008 * sysdeps/sh/stackinfo.h: Likewise.
32009 * sysdeps/sparc/stackinfo.h: Likewise.
32010 * sysdeps/x86_64/stackinfo.h: Likewise.
32011 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32012 PF_X for powerpc64. Retain PF_X for powerpc32.
32013
db753e2c
UD
320142010-12-19 Ulrich Drepper <drepper@gmail.com>
32015
14b697f7
UD
32016 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32017 accurately.
db753e2c
UD
32018 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32019 GETDENTS_64BIT_ALIGNED.
32020
28300719
UD
320212010-12-14 Ulrich Drepper <dreper@gmail.com>
32022
14b697f7 32023 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32024
4f197237
AS
320252010-12-10 Andreas Schwab <schwab@redhat.com>
32026
dbb0472f
AS
32027 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32028 _GNU_SOURCE.
32029
4f197237
AS
32030 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32031 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32032 Remove __restrict.
32033 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32034 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32035
fb88ac72
UD
320362010-12-09 Ulrich Drepper <drepper@gmail.com>
32037
32038 [BZ #11655]
32039 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32040 are initialized.
32041
42acbb92
JJ
320422010-12-09 Jakub Jelinek <jakub@redhat.com>
32043
32044 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32045
c038d98d
UD
320462010-12-03 Ulrich Drepper <drepper@gmail.com>
32047
32048 * po/it.po: Update from translation team.
32049
3a4a2499
L
320502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32053 unused codes.
32054
1e24cf6e
UD
320552010-11-30 Ulrich Drepper <drepper@gmail.com>
32056
32057 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32058
a7690819
AS
320592010-11-24 Andreas Schwab <schwab@redhat.com>
32060
32061 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32062 specially.
32063 (gaih_getanswer_slice): Likewise.
32064
3bf8d1b1
JJ
320652010-10-20 Jakub Jelinek <jakub@redhat.com>
32066
32067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32068
6db52fbb
PB
320692010-05-31 Petr Baudis <pasky@suse.cz>
32070
32071 [BZ #11149]
32072 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32073 silently even in the chroot mode.
32074
eaca7569
UD
320752010-11-22 Ulrich Drepper <drepper@gmail.com>
32076
32077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32078 last patch a bit. Pretty printing
32079
3056dcdb
UD
320802010-05-31 Petr Baudis <pasky@suse.cz>
32081
32082 [BZ #10085]
32083 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32084 initialization of skip_initgroups_dyn.
32085
cf7c9078
UD
320862010-11-19 Ulrich Drepper <drepper@gmail.com>
32087
32088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32090
a1fb5e3e
UD
320912010-11-16 Ulrich Drepper <drepper@gmail.com>
32092
32093 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32094
3540d66b
AS
320952010-11-11 Andreas Schwab <schwab@redhat.com>
32096
32097 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32098 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32099 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32100 ($(objpfx)tst-fnmatch-mem): New rule.
32101 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32102 * posix/tst-fnmatch.c (main): Call mtrace.
32103
13b69574
L
321042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32105
32106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32107 Support Intel processor model 6 and model 0x2c.
32108
da93d214
LM
321092010-11-10 Luis Machado <luisgpm@br.ibm.com>
32110
32111 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32112 signed comparison.
32113
8ca52c6e
L
321142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32115
32116 [BZ #12205]
32117 * string/test-strncasecmp.c (check_result): New function.
32118 (do_one_test): Use it.
32119 (check1): New function.
32120 (test_main): Use it.
32121 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32122 Support strcasecmp and strncasecmp.
32123
69da074d
UD
321242010-11-08 Ulrich Drepper <drepper@gmail.com>
32125
32126 [BZ #12194]
32127 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32129
ff02d528
L
321302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32133 IFUNC support.
32134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32135 memset-x86-64.
32136 * sysdeps/x86_64/multiarch/bzero.S: New file.
32137 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32138 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32139 * sysdeps/x86_64/multiarch/memset.S: New file.
32140 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32142 Set bit_Prefer_SSE_for_memop for Intel processors.
32143 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32144 Define.
32145 (index_Prefer_SSE_for_memop): Define.
32146 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32147
344d0b54
LM
321482010-11-04 Luis Machado <luisgpm@br.ibm.com>
32149
32150 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32151 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32152
c0dde15b
UD
321532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32154
32155 [BZ #12191]
32156 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32157 (__x86_64_raw_data_cache_size_half): Likewise.
32158 (__x86_64_raw_shared_cache_size): Likewise.
32159 (__x86_64_raw_shared_cache_size_half): Likewise.
32160
32161 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32162 (__x86_64_raw_data_cache_size_half): Likewise.
32163 (__x86_64_raw_shared_cache_size): Likewise.
32164 (__x86_64_raw_shared_cache_size_half): Likewise.
32165 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32166 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32167 and __x86_64_raw_shared_cache_size_half. Round
32168 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32169 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32170 to multiple of 256 bytes.
32171
0e516e0e
MS
321722010-11-03 Ulrich Drepper <drepper@gmail.com>
32173
32174 [BZ #12167]
32175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32176 of inacessible symlinks. Verify result of symlink before returning it.
32177 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32178 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32179
0e012e87
ER
321802010-10-28 Erich Ritz <erichritz@gmail.com>
32181
32182 * math/math.h (isinf): Fix typo in comment.
32183
de0ff7bc
UD
321842010-11-01 Ulrich Drepper <drepper@gmail.com>
32185
32186 * po/da.po: Update from translation team.
32187
fa41c84d
UD
321882010-10-26 Ulrich Drepper <drepper@gmail.com>
32189
32190 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32191 is added to the list.
32192
f0967738
AK
321932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32194 Ulrich Drepper <drepper@gmail.com>
32195
32196 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32197 the global list here. Move code to...
32198 (_dl_add_to_namespace_list): ...here. New function.
32199 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32200 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32201 * elf/dl-load.c (lose): Don't remove the element from the list.
32202 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32203 (_dl_map_object): Likewise.
32204
322052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32206
32207 [BZ #12159]
32208 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32209 into all bytes of SSE register.
32210 Patch by Richard Li <richardpku@gmail.com>.
32211
f0967738 322122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32213
32214 [BZ #12140]
32215 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32216 perturbing.
32217
d0b9e94f
MB
322182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32219
32220 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32221 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32223 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32225 submachine.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32227
8e9f92e9
AS
322282010-10-22 Andreas Schwab <schwab@redhat.com>
32229
32230 * include/dlfcn.h (__RTLD_SECURE): Define.
32231 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32232 mode & __RTLD_SECURE instead.
32233 (open_path): Rename preloaded parameter to secure.
32234 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32235 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32236 * elf/dl-deps.c (openaux): Likewise.
32237 * elf/rtld.c (struct map_args): Remove is_preloaded.
32238 (map_doit): Don't use it.
32239 (dl_main): Likewise.
32240 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32241 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32242
bc96fbda
AS
322432010-09-09 Andreas Schwab <schwab@redhat.com>
32244
32245 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32246 (sysd-rules-targets): Remove duplicates.
32247 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32248 rtld-%.$o dependency.
32249
22cd1c9b
AS
322502010-10-18 Andreas Schwab <schwab@redhat.com>
32251
32252 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32253 _dl_map_object do it.
32254
18edac48
UD
322552010-10-19 Ulrich Drepper <drepper@gmail.com>
32256
32257 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32258 fast fma builtins, define the macros in the C99 standard.
32259 (FP_FAST_FMAF): Likewise.
32260 (FP_FAST_FMAL): Likewise.
32261 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32262
32263 * bits/mathdef.h: Update copyright year.
32264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32265
d2050124
MM
322662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32267
32268 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32269 builtins, define the macros in the C99 standard.
32270 (FP_FAST_FMAF): Likewise.
32271 (FP_FAST_FMAL): Likewise.
32272 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32273 multiply/add.
32274 (FP_FAST_FMAF): Likewise.
32275
475facd1
JJ
322762010-10-15 Jakub Jelinek <jakub@redhat.com>
32277
32278 [BZ #3268]
32279 * math/libm-test.inc (fma_test): Some new testcases.
32280 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32282 y and infinite z. Do multiplication by C already in long double.
32283 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32285 y and infinite z. Do bitwise or of inexact bit into u.d.
32286 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32287 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32288 * sysdeps/i386/fpu/s_fma.S: Removed.
32289 * sysdeps/i386/fpu/s_fmal.S: Removed.
32290
7c08a05c
JJ
322912010-10-16 Jakub Jelinek <jakub@redhat.com>
32292
32293 [BZ #3268]
32294 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32296 computation is not scheduled after fetestexcept. Fix value
32297 of minimum denormal long double.
32298
f3f7372d
JJ
322992010-10-14 Jakub Jelinek <jakub@redhat.com>
32300
32301 [BZ #3268]
32302 * math/libm-test.inc (fma_test): Add some more tests.
32303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32304 correctly.
32305
14d43591
AS
323062010-10-15 Andreas Schwab <schwab@redhat.com>
32307
32308 * scripts/data/localplt-s390-linux-gnu.data: New file.
32309 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32310
5e908464
JJ
323112010-10-13 Jakub Jelinek <jakub@redhat.com>
32312
32313 [BZ #3268]
32314 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32315 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32316 instead of dbl-64.
32317 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32318 inlines.
32319 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32321 if one of x and y is very large and the other is subnormal.
32322 * sysdeps/s390/fpu/s_fmaf.c: New file.
32323 * sysdeps/s390/fpu/s_fma.c: New file.
32324 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32325 * sysdeps/powerpc/fpu/s_fma.S: New file.
32326 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32327 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32328 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32329
323302010-10-12 Jakub Jelinek <jakub@redhat.com>
32331
32332 [BZ #3268]
32333 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32334 fma tests.
32335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32336 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32337 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32338 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32339 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32340 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32341 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32342
b833d51f
UD
323432010-10-12 Ulrich Drepper <drepper@redhat.com>
32344
32345 [BZ #12078]
32346 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32347 * posix/bug-regex31.input: Add test case.
32348
1751705d
UD
323492010-10-11 Ulrich Drepper <drepper@gmail.com>
32350
e9b9cbf5
UD
32351 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32352 * posix/bug-regex31.input: New file.
32353
32354 [BZ #12078]
32355 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32356 (parse_sub_exp): Fix last change, use postorder.
32357
ef06edbe
UD
32358 * posix/bug-regex31.c: New file.
32359 * posix/Makefile: Add rules to build and run bug-regex31.
32360
a129c80d
UD
32361 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32362
32363 [BZ #12078]
32364 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32365
b76b818e
UD
32366 [BZ #12108]
32367 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32368 to have entries in sys_siglist.
32369
1751705d
UD
32370 [BZ #12093]
32371 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32372 be NULL.
32373
9ff8d36f
JJ
323742010-10-07 Jakub Jelinek <jakub@redhat.com>
32375
32376 [BZ #3268]
32377 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32378 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32379 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32380 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32381 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32382 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32383 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32384 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32385 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32386 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32387 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32388 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32389 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32390 * math/ftestexcept.c (fetestexcept): Likewise.
32391 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32392 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32393 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32394 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32395 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32396 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32398
af325969
UD
323992010-10-11 Ulrich Drepper <drepper@gmail.com>
32400
c579b202 32401 [BZ #12107]
af325969
UD
32402 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32403 newline.
32404
67a67b95
UD
324052010-10-06 Ulrich Drepper <drepper@gmail.com>
32406
32407 * string/bug-strstr1.c: New file.
32408 * string/Makefile: Add rules to build and run bug-strstr1.
32409
5fb308bc
EB
324102010-10-05 Eric Blake <eblake@redhat.com>
32411
32412 [BZ #12092]
32413 * string/str-two-way.h (two_way_long_needle): Always clear memory
32414 when skipping input due to the shift table.
32415
45db99c7
UD
324162010-10-03 Ulrich Drepper <drepper@gmail.com>
32417
3b111893
UD
32418 [BZ #12005]
32419 * malloc/mcheck.c: Handle large requests.
32420
45db99c7
UD
32421 [BZ #12077]
32422 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32423 for strncmp and strncasecmp.
32424 * string/stratcliff.c: Add tests for strcmp and strncmp.
32425 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32426
cf7a1eb8
NI
324272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32428
32429 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32430 __set_fpscr.
32431
6484ba5e
AJ
324322010-09-30 Andreas Jaeger <aj@suse.de>
32433
32434 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32435 (CGROUP_SUPER_MAGIC): Define.
32436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32437 Handle btrfs and cgroup file systems.
32438 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32439 Likewise.
32440
91c42559
LM
324412010-09-27 Luis Machado <luisgpm@br.ibm.com>
32442
32443 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32444 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32445
87a97932
AK
324462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32447
32448 [BZ #12067]
32449 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32450 trying to locate the ELF header.
32451
c21cc9bc
AS
324522010-09-27 Andreas Schwab <schwab@redhat.com>
32453
32454 [BZ #11611]
32455 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32456 Mask out sign-bit copies when constructing f_fsid.
32457
315970f6
PB
324582010-09-24 Petr Baudis <pasky@suse.cz>
32459
32460 * debug/stack_chk_fail_local.c: Add missing licence exception.
32461 * debug/warning-nop.c: Likewise.
32462
1ac7a2c7
JM
324632010-09-15 Joseph Myers <joseph@codesourcery.com>
32464
32465 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32466 implementing getdents64 using getdents syscall, set d_type if
32467 __ASSUME_GETDENTS32_D_TYPE.
32468
56801c50
AS
324692010-09-16 Andreas Schwab <schwab@redhat.com>
32470
32471 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32472 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32473
dda51327
UD
324742010-09-21 Ulrich Drepper <drepper@redhat.com>
32475
32476 [BZ #12037]
32477 * posix/unistd.h: Undo change of feature selection for ftruncate from
32478 2010-01-11.
32479
8ffcee4a
UD
324802010-09-20 Ulrich Drepper <drepper@redhat.com>
32481
a545ecd9 32482 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32483 detection.
32484
e24f0a8b
AS
324852010-09-20 Andreas Schwab <schwab@redhat.com>
32486
32487 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32488 fanotify_mark.
32489 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32490
7291c56f
AS
324912010-09-14 Andreas Schwab <schwab@redhat.com>
32492
32493 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32494 variables after CHECK_SP call.
32495 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32496
bc5fb037
AS
324972010-09-13 Andreas Schwab <schwab@redhat.com>
32498 Ulrich Drepper <drepper@redhat.com>
32499
32500 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32501 re-relocationg ld.so.
32502 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32503 _dl_init_paths call.
32504 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32505 here anymore.
32506
e66e7419
UD
325072010-09-14 Ulrich Drepper <drepper@redhat.com>
32508
32509 * resolv/res_init.c (__res_vinit): Count the default server we added.
32510
c044aa75
CLT
325112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32512 Ulrich Drepper <drepper@redhat.com>
32513
32514 [BZ #11968]
32515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32516 (____longjmp_chk): Use %ebx for saving value across system call.
32517 Add unwind info.
32518
32cf4069
AS
325192010-09-06 Andreas Schwab <schwab@redhat.com>
32520
32521 * manual/Makefile: Don't mix pattern rules with normal rules.
32522
817328ee
AS
325232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32524
32525 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32526 operation.
32527 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32528 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32529 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32530 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32532 Likewise.
32533
29fddf61
UD
325342010-09-04 Ulrich Drepper <drepper@redhat.com>
32535
32536 [BZ #11979]
32537 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32538 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32539
0959ffc9
UD
325402010-09-02 Ulrich Drepper <drepper@redhat.com>
32541
32542 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32543 * sysdeps/x86_64/addmul_1.S: Likewise.
32544 * sysdeps/x86_64/lshift.S: Likewise.
32545 * sysdeps/x86_64/mul_1.S: Likewise.
32546 * sysdeps/x86_64/rshift.S: Likewise.
32547 * sysdeps/x86_64/sub_n.S: Likewise.
32548 * sysdeps/x86_64/submul_1.S: Likewise.
32549
ece29840
ST
325502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32551
0959ffc9
UD
32552 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32553 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32554 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32555 * bits/sched.h [__need_schedparam]
ece29840 32556 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32557 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32558 (__defined_schedparam): Define to 1.
ece29840
ST
32559 (__sched_param): New structure, identical to sched_param.
32560 (__need_schedparam): Undefine.
32561
e53a31fe
MF
325622010-08-31 Mike Frysinger <vapier@gentoo.org>
32563
fdc0c10d
MF
32564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32565 (epoll_create1): Declare.
32566
e53a31fe
MF
32567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32568
a726d796
AS
325692010-08-31 Andreas Schwab <schwab@redhat.com>
32570
32571 [BZ #7066]
32572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32573 shifting retval into place.
32574
2f3e3dc7
UD
325752010-09-01 Ulrich Drepper <drepper@redhat.com>
32576
f2933da9
UD
32577 * nis/rpcsvc/nis.h: Update copyright notice.
32578 * nis/rpcsvc/nis.x: Likewise.
32579 * nis/rpcsvc/nis_callback.h: Likewise.
32580 * nis/rpcsvc/nis_callback.x: Likewise.
32581 * nis/rpcsvc/nis_object.x: Likewise.
32582 * nis/rpcsvc/nis_tags.h: Likewise.
32583 * nis/rpcsvc/yp.h: Likewise.
32584 * nis/rpcsvc/yp.x: Likewise.
32585 * nis/rpcsvc/ypupd.h: Likewise.
32586 * nis/yp_xdr.c: Likewise.
32587 * nis/ypupdate_xdr.c: Likewise.
32588
2f3e3dc7
UD
32589 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32590 mainly the body of pmap_getport. Add parameters to specify timeouts.
32591 (pmap_getport): Use __libc_rpc_getport.
32592 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32593 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32594 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32595
f3dcc2f9
AS
325962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32597
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32599 fanotify_mark.
32600
6d34eb5b
RM
326012010-08-27 Roland McGrath <roland@redhat.com>
32602
32603 * sysdeps/i386/i686/multiarch/Makefile
32604 (CFLAGS-varshift.c): New variable.
32605
9ea3de11
UD
326062010-08-27 Ulrich Drepper <drepper@redhat.com>
32607
c96d23fc
UD
32608 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32609 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32610
9ea3de11
UD
32611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32612
32613 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32614
623aac7f
L
326152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * sysdeps/x86_64/strlen.S: Unroll the loop.
32618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32619 strlen-sse2 strlen-sse2-bsf.
32620 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32621 __strlen_no_bsf if bit_Slow_BSF is set.
32622 (__strlen_sse42): Removed.
32623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32624 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32625
8b2b7715
RM
326262010-08-25 Roland McGrath <roland@redhat.com>
32627
32628 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32629 * sysdeps/x86_64/multiarch/varshift.c: New file.
32630 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32631 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32632 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32633 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32634
e73015f2
L
326352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32636
32637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32638 strlen-sse2 strlen-sse2-bsf.
32639 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32640 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32641 (__strlen_sse2): Removed.
32642 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32645 bit_Slow_BSF for Atom.
32646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32647 (index_Slow_BSF): Define.
32648 (HAS_SLOW_BSF): Define.
32649
df24a73e
UD
326502010-08-25 Ulrich Drepper <drepper@redhat.com>
32651
32652 [BZ #10851]
32653 * resolv/res_init.c (__res_vinit): When no server address at all
32654 is given default to loopback.
32655
f2ac4868
RM
326562010-08-24 Roland McGrath <roland@redhat.com>
32657
09055553
RM
32658 * configure.in: Remove config-name.h generation.
32659 * configure: Regenerated.
32660 * config-name.in: File removed.
32661 * scripts/config-uname.sh: New file.
32662 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32663 ($(objdir)config-name.h): New target.
32664
f2ac4868
RM
32665 * sunrpc/rpc_parse.h: Avoid nested comment.
32666
73f27d5e
RH
326672010-08-24 Richard Henderson <rth@redhat.com>
32668 Ulrich Drepper <drepper@redhat.com>
32669 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32673 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32674 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32675 _mm_alignr_epi8 with _mm_loadu_si128.
32676 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32677 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32678 (__m128i_shift_right): Removed.
32679 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32680 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32681 * sysdeps/x86_64/multiarch/varshift.h: New file.
32682 * sysdeps/x86_64/multiarch/varshift.S: New file.
32683
84b9230c
MF
326842010-08-21 Mike Frysinger <vapier@gentoo.org>
32685
32686 * configure.in: Move assembler checks to before sysdep dir checking.
32687
9bbd0ddc
PB
326882010-08-20 Petr Baudis <pasky@suse.cz>
32689
32690 * LICENSES: Sync the sunrpc license.
32691
9da4bb31
UD
326922010-08-19 Ulrich Drepper <drepper@redhat.com>
32693
a7ab6ec8
UD
32694 * sunrpc/auth_des.c: Update copyright notice once again.
32695 * sunrpc/auth_none.c: Likewise.
32696 * sunrpc/auth_unix.c: Likewise.
32697 * sunrpc/authdes_prot.c: Likewise.
32698 * sunrpc/authuxprot.c: Likewise.
32699 * sunrpc/bindrsvprt.c: Likewise.
32700 * sunrpc/clnt_gen.c: Likewise.
32701 * sunrpc/clnt_perr.c: Likewise.
32702 * sunrpc/clnt_raw.c: Likewise.
32703 * sunrpc/clnt_simp.c: Likewise.
32704 * sunrpc/clnt_tcp.c: Likewise.
32705 * sunrpc/clnt_udp.c: Likewise.
32706 * sunrpc/clnt_unix.c: Likewise.
32707 * sunrpc/des_crypt.c: Likewise.
32708 * sunrpc/des_soft.c: Likewise.
32709 * sunrpc/get_myaddr.c: Likewise.
32710 * sunrpc/getrpcport.c: Likewise.
32711 * sunrpc/key_call.c: Likewise.
32712 * sunrpc/key_prot.c: Likewise.
32713 * sunrpc/openchild.c: Likewise.
32714 * sunrpc/pm_getmaps.c: Likewise.
32715 * sunrpc/pm_getport.c: Likewise.
32716 * sunrpc/pmap_clnt.c: Likewise.
32717 * sunrpc/pmap_prot.c: Likewise.
32718 * sunrpc/pmap_prot2.c: Likewise.
32719 * sunrpc/pmap_rmt.c: Likewise.
32720 * sunrpc/rpc/auth.h: Likewise.
32721 * sunrpc/rpc/auth_unix.h: Likewise.
32722 * sunrpc/rpc/clnt.h: Likewise.
32723 * sunrpc/rpc/des_crypt.h: Likewise.
32724 * sunrpc/rpc/key_prot.h: Likewise.
32725 * sunrpc/rpc/netdb.h: Likewise.
32726 * sunrpc/rpc/pmap_clnt.h: Likewise.
32727 * sunrpc/rpc/pmap_prot.h: Likewise.
32728 * sunrpc/rpc/pmap_rmt.h: Likewise.
32729 * sunrpc/rpc/rpc.h: Likewise.
32730 * sunrpc/rpc/rpc_des.h: Likewise.
32731 * sunrpc/rpc/rpc_msg.h: Likewise.
32732 * sunrpc/rpc/svc.h: Likewise.
32733 * sunrpc/rpc/svc_auth.h: Likewise.
32734 * sunrpc/rpc/types.h: Likewise.
32735 * sunrpc/rpc/xdr.h: Likewise.
32736 * sunrpc/rpc_clntout.c: Likewise.
32737 * sunrpc/rpc_cmsg.c: Likewise.
32738 * sunrpc/rpc_common.c: Likewise.
32739 * sunrpc/rpc_cout.c: Likewise.
32740 * sunrpc/rpc_dtable.c: Likewise.
32741 * sunrpc/rpc_hout.c: Likewise.
32742 * sunrpc/rpc_main.c: Likewise.
32743 * sunrpc/rpc_parse.c: Likewise.
32744 * sunrpc/rpc_parse.h: Likewise.
32745 * sunrpc/rpc_prot.c: Likewise.
32746 * sunrpc/rpc_sample.c: Likewise.
32747 * sunrpc/rpc_scan.c: Likewise.
32748 * sunrpc/rpc_scan.h: Likewise.
32749 * sunrpc/rpc_svcout.c: Likewise.
32750 * sunrpc/rpc_tblout.c: Likewise.
32751 * sunrpc/rpc_util.c: Likewise.
32752 * sunrpc/rpc_util.h: Likewise.
32753 * sunrpc/rpcinfo.c: Likewise.
32754 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32755 * sunrpc/rpcsvc/key_prot.x: Likewise.
32756 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32757 * sunrpc/rpcsvc/mount.x: Likewise.
32758 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32759 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32760 * sunrpc/rpcsvc/rex.x: Likewise.
32761 * sunrpc/rpcsvc/rstat.x: Likewise.
32762 * sunrpc/rpcsvc/rusers.x: Likewise.
32763 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32764 * sunrpc/rpcsvc/spray.x: Likewise.
32765 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32766 * sunrpc/rtime.c: Likewise.
32767 * sunrpc/svc.c: Likewise.
32768 * sunrpc/svc_auth.c: Likewise.
32769 * sunrpc/svc_authux.c: Likewise.
32770 * sunrpc/svc_raw.c: Likewise.
32771 * sunrpc/svc_run.c: Likewise.
32772 * sunrpc/svc_simple.c: Likewise.
32773 * sunrpc/svc_tcp.c: Likewise.
32774 * sunrpc/svc_udp.c: Likewise.
32775 * sunrpc/svc_unix.c: Likewise.
32776 * sunrpc/svcauth_des.c: Likewise.
32777 * sunrpc/xcrypt.c: Likewise.
32778 * sunrpc/xdr.c: Likewise.
32779 * sunrpc/xdr_array.c: Likewise.
32780 * sunrpc/xdr_float.c: Likewise.
32781 * sunrpc/xdr_mem.c: Likewise.
32782 * sunrpc/xdr_rec.c: Likewise.
32783 * sunrpc/xdr_ref.c: Likewise.
32784 * sunrpc/xdr_sizeof.c: Likewise.
32785 * sunrpc/xdr_stdio.c: Likewise.
32786
9da4bb31
UD
32787 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32788 handling.
32789
bdaa77bc
AS
327902010-08-19 Andreas Schwab <schwab@redhat.com>
32791
32792 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32793
fe2f79db
LM
327942010-08-19 Luis Machado <luisgpm@br.ibm.com>
32795
32796 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32798 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32799 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32800 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32801 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32802 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32803 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32805 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32806 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32807 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32808 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32809 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32810
b9b42ee0
AB
328112010-07-26 Anton Blanchard <anton@samba.org>
32812
32813 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32814 * malloc/arena.c (heap_trim): Likewise.
32815
1c06ba31
UD
328162010-08-16 Ulrich Drepper <drepper@redhat.com>
32817
32818 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32819 here. Not...
32820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32821 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32822
f8392f40
L
328232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 * sysdeps/i386/elf/Makefile: New file.
32826
3162f12e
AS
328272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32828
32829 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32830 from fanotify_init.
32831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32833
28c90b2c
UD
328342010-08-15 Ulrich Drepper <drepper@redhat.com>
32835
32836 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32837 of strncasecmp_l.
1feccb6c 32838 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32839
ca6bb004
UD
328402010-08-14 Ulrich Drepper <drepper@redhat.com>
32841
e9f82e0d
UD
32842 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32843 strncase_l-nonascii.
32844 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32845 Add strncase_l-ssse3.
32846 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32847 * sysdeps/x86_64/strcmp.S: Likewise.
32848 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32849 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32850 * sysdeps/x86_64/strncase.S: New file.
32851 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32852 * sysdeps/x86_64/strncase_l.S: New file.
32853 * string/Makefile (strop-tests): Add strncasecmp.
32854 * string/test-strncasecmp.c: New file.
32855
32856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32857 warning.
32858
ca6bb004
UD
32859 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32861
052fa7b3
AS
328622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32863
32864 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32865
962dba78
UD
328662010-08-12 Ulrich Drepper <drepper@redhat.com>
32867
32868 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32869 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32871
bebff237
AM
328722010-05-01 Alan Modra <amodra@gmail.com>
32873
32874 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32875 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32876 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32877 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32878 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32879 tidying. Don't tail-call __sigjmp_save for static lib.
32880 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32881 save location.
32882 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32883 (CALL_MCOUNT): Add eh info, and nop after bl.
32884 (TAIL_CALL_SYSCALL_ERROR): New macro.
32885 (PSEUDO_RET): Use it.
32886 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32887 Correct save location of integer regs and cr.
32888 (_dl_profile_resolve): Correct cr save location. Delete nops
32889 after bl when SHARED. Reduce cfi size a little by better
32890 placement of cfi directives.
32891 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32892 make a stack frame. Instead use parm save area as a temp.
32893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32894 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32896 Don't make a stack frame for parent, use parm save area.
32897 Increase child stack frame to 112 bytes. Don't save unused reg,
32898 and adjust reg usage. Set up cfi on error recovery and
32899 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32901 (__makecontext): Add dummy nop after jump to exit.
32902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32903 Use correct parm save area and cr save, reduce stack frame.
32904 Correct cfi for possible PSEUDO_RET frame setup.
32905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32906 Branch to local label emitted by PSEUDO_RET rather than
32907 __syscall_error.
32908
02637374
AS
329092010-08-12 Andreas Schwab <schwab@redhat.com>
32910
32911 [BZ #11904]
32912 * locale/programs/locale.c (print_assignment): New function.
32913 (show_locale_vars): Use it.
32914
c3e2f19b
UD
329152010-08-11 Ulrich Drepper <drepper@redhat.com>
32916
3cdaa6ad
UD
32917 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32918 field.
32919 (struct statfs64): Likewise.
32920 (_STATFS_F_FLAGS): Define.
32921 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32923 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32924 (ST_VALID): Define locally.
32925 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32926 __statvfs_getflags, use the provided value.
32927 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32928 __ASSUME_STATFS_F_FLAGS.
32929
754f7da3
UD
32930 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32931
10b3bedc
UD
32932 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32933 Add sys/fanotify.h.
32934 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32935 fanotify_mask for GLIBC_2.13.
32936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32937 fanotify_init and fanotify_mark.
32938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32939 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32940
c08fb0d7
UD
32941 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32942 Add prlimit.
32943 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32944 prlimit64 for GLIBC_2.13.
32945 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32946 prlimit64.
32947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32948 syscall.
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32950 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32951 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32954 add prlimit alias.
32955 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32956
15bac72b
UD
32957 [BZ #11903]
32958 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32959 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32960
c3e2f19b
UD
32961 * nss/Makefile: Add rules to build and run tst-nss-test1.
32962 * shlib-versions: Add entry for libnss_test1.
32963 * nss/nss_test1.c: New file.
32964 * nss/tst-nss-test1.c: New file.
32965
32966 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32967 (__nss_configure_lookup): Set appropriate entry in
32968 __nss_configure_lookup to true.
32969 * nss/nsswitch.h: Define enum with indeces of databases in
32970 databases and __nss_database_custom arrays. Declare
32971 __nss_database_custom.
32972 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32973 to avoid using nscd when custom rules are installed.
32974 * nss/getXXbyYY_r.c: Likewise.
32975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32976
32977 * nss/nss_files/files-parse.c: Whitespace fixes.
32978
f15ce4d8
UD
329792010-08-09 Ulrich Drepper <drepper@redhat.com>
32980
32981 [BZ #11883]
32982 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32983 * posix/fnmatch_loop.c: Likewise.
32984
d22e4cc9
AK
329852010-07-17 Andi Kleen <ak@linux.intel.com>
32986
32987 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32988 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32989 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32990 * Versions.def [GLIBC_2.13]: Add.
32991
805bc17d
UD
329922010-08-06 Ulrich Drepper <drepper@redhat.com>
32993
32994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32995 Also fail if tpwd after pwuid call is NULL.
32996
5a42321d
ST
329972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32998
32999 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33000 when converting to ms.
33001
fd3ebeda
ST
330022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33003
33004 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33005 EOPNOTSUPP errors with ENOTTY.
33006 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33007 EOPNOTSUPP errors with ENOTTY.
33008
73507d3a
UD
330092010-07-31 Ulrich Drepper <drepper@redhat.com>
33010
33011 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33012 Add strcasecmp_l-ssse3.
33013 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33014 strcasecmp.
33015 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33016 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33017 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33018
fe36dd02
UD
330192010-07-30 Ulrich Drepper <drepper@redhat.com>
33020
66f6765a
UD
33021 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33022
42e08a54
UD
33023 * string/Makefile (strop-tests): Add strcasecmp.
33024 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33025 strcasecmp_l-nonascii.
33026 (gen-as-const-headers): Add locale-defines.sym.
33027 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33028 * sysdeps/x86_64/strcasecmp.S: New file.
33029 * sysdeps/x86_64/strcasecmp_l.S: New file.
33030 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33031 * sysdeps/x86_64/locale-defines.sym: New file.
33032 * string/test-strcasecmp.c: New file.
33033
fe36dd02
UD
33034 * string/test-strcasestr.c: Test both ends of the range of characters.
33035 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33036
48cbc0d6
RM
330372010-07-29 Roland McGrath <roland@redhat.com>
33038
76e6d6bc 33039 [BZ #11856]
48cbc0d6
RM
33040 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33041
880113d9
UD
330422010-07-27 Ulrich Drepper <drepper@redhat.com>
33043
33044 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33045 for ld.so.
33046
deb9cabb
AS
330472010-07-27 Andreas Schwab <schwab@redhat.com>
33048
33049 * manual/memory.texi (Malloc Tunable Parameters): Document
33050 M_PERTURB.
33051
1c7570ff
RM
330522010-07-26 Roland McGrath <roland@redhat.com>
33053
33054 [BZ #11840]
33055 * configure.in (-fgnu89-inline check): Set and substitute
33056 gnu89_inline, not libc_cv_gnu89_inline.
33057 * configure: Regenerated.
33058 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33059
24fb0f88
UD
330602010-07-26 Ulrich Drepper <drepper@redhat.com>
33061
33062 * string/test-strnlen.c: New file.
33063 * string/Makefile (strop-tests): Add strnlen.
33064 * string/tester.c (test_strnlen): Add a few more test cases.
33065 * string/tst-strlen.c: Better error reporting.
33066
33067 * sysdeps/x86_64/strnlen.S: New file.
33068
8e96b93a
UD
330692010-07-24 Ulrich Drepper <drepper@redhat.com>
33070
33071 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33072 lower-latency instructions.
33073
dbc676d4
UD
330742010-07-23 Ulrich Drepper <drepper@redhat.com>
33075
33076 * string/test-strcasestr.c: New file.
33077 * string/test-strstr.c: New file.
33078 * string/Makefile (strop-tests): Add strstr and strcasestr.
33079 * string/str-two-way.h: Don't undefine MAX.
33080 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33081
f6a31e0e
AS
330822010-07-21 Andreas Schwab <schwab@redhat.com>
33083
33084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33085 strcasestr-nonascii.
33086 (CFLAGS-strcasestr-nonascii.c): Define.
33087 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33089 Remove unused attribute.
33090
5dbc3b6c
RM
330912010-07-20 Roland McGrath <roland@redhat.com>
33092
33093 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33094 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33095 ld.so.cache was broken. With it, there is no way to disable dsocaps
33096 like LD_HWCAP_MASK can disable hwcaps.
33097
23d101d8
EPM
330982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33099
33100 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33101
cc9f2e47
UD
331022010-07-16 Ulrich Drepper <drepper@redhat.com>
33103
33104 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33105 call in strcasestr.
33106 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33107 __strcasestr_sse42_nonascii.
33108 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33109 strcasestr-nonascii.c.
33110 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33111
77c1b069
LM
331122010-06-15 Luis Machado <luisgpm@br.ibm.com>
33113
33114 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33115 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33118
440566c3
UD
331192010-07-09 Ulrich Drepper <drepper@redhat.com>
33120
33121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33122 fcntl.
33123
5be9d05d
AS
331242010-07-06 Andreas Schwab <schwab@redhat.com>
33125
c30b7ee2 33126 [BZ #11577]
5be9d05d
AS
33127 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33128 dl_signal_cerror.
33129
8a492a67
UD
331302010-07-06 Ulrich Drepper <drepper@redhat.com>
33131
33132 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33133 _PC_PIPE_BUF using F_GETPIPE_SZ.
33134
713df3d5
RM
331352010-07-05 Roland McGrath <roland@redhat.com>
33136
33137 * manual/arith.texi (Rounding Functions): Fix rint description
33138 implicit in round description.
33139
702e8f14
UD
331402010-07-02 Ulrich Drepper <drepper@redhat.com>
33141
33142 * elf/Makefile: Fix linking for a few tests to make recent linker
33143 happy.
33144
52ed8be9
AS
331452010-06-30 Andreas Schwab <schwab@redhat.com>
33146
33147 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33148 $(common-objpfx)libc_nonshared.a.
33149
f47c9a11
LM
331502010-06-21 Luis Machado <luisgpm@br.ibm.com>
33151
33152 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33153 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33154 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33155 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33156 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33157 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33159 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33174 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33175 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33176 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33177 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33178 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33179 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33180 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33181 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33182 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33183 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33184 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33185 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33200
6fb8cbcb
L
332012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33202
33203 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33204 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33205 * string/memmove.c (memmove): Renamed to ...
33206 (MEMMOVE): ...this. Default to memmove.
33207 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33208 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33209 (END_CHK): Define.
33210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33211 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33212 mempcpy-ssse3-back memmove-ssse3-back.
33213 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33216 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33217 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33218 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33219 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33220 * sysdeps/x86_64/multiarch/memmove.c: New file.
33221 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33222 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33223 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33224 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33225 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33227 Define.
33228 (index_Fast_Copy_Backward): Define.
33229 (HAS_ARCH_FEATURE): Define.
33230 (HAS_FAST_REP_STRING): Define.
33231 (HAS_FAST_COPY_BACKWARD): Define.
33232
4e733bac 332332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33234
33235 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33236 Restore proper fallback handling.
33237
63c4ed22
UD
332382010-06-19 Ulrich Drepper <drepper@redhat.com>
33239
ac2b484c
UD
33240 [BZ #11701]
33241 * posix/group_member.c (__group_member): Correct checking loop.
33242
63c4ed22
UD
33243 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33244 OOM in getpwuid_r correctly. Return error number when the caller
33245 should return, otherwise -1.
33246 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33247 call returning > 0 value.
33248 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33249
765ade4b
AS
332502010-06-07 Andreas Schwab <schwab@redhat.com>
33251
33252 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33253 libc_nonshared.a from targets in modules-names.
33254
80da2e09
KS
332552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33256
33257 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33258 requires it.
33259
158db122
LM
332602010-06-10 Luis Machado <luisgpm@br.ibm.com>
33261
33262 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33265 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33266
caa78cf8
AS
332672010-06-02 Andreas Schwab <schwab@redhat.com>
33268
33269 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33270
b2ef2c01
UD
332712010-06-14 Ulrich Drepper <drepper@redhat.com>
33272
33273 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33274 and F_GETPIPE_SZ.
33275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33281
fbd643b6
RM
332822010-06-14 Roland McGrath <roland@redhat.com>
33283
33284 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33285
f32f2869
JJ
332862010-06-07 Jakub Jelinek <jakub@redhat.com>
33287
33288 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33289 __REDIRECT followed by __THROW.
33290 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33291 * posix/getopt.h (getopt): Likewise.
33292
2a50c078
EPM
332932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33294
33295 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33296 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33297 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33298 in AT_FLAGS.
33299 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33300 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33301
eb5ad2eb
LM
333022010-05-28 Luis Machado <luisgpm@br.ibm.com>
33303
33304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33305
3c88fe1e
L
333062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33307
33308 [BZ #11640]
33309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33310 Properly check family and model.
33311
d2f73151
TY
333122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33313
33314 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33315
ebd2e13d
LM
333162010-05-24 Luis Machado <luisgpm@br.ibm.com>
33317
33318 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33319
b32b8b45
UD
333202010-05-21 Ulrich Drepper <drepper@redhat.com>
33321
33322 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33323 symbol reference.
33324
9acbe24d
AS
333252010-05-19 Andreas Schwab <schwab@redhat.com>
33326
33327 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33328 symbol reference.
33329
f0ccf6ea
AS
333302010-05-21 Andreas Schwab <schwab@redhat.com>
33331
3d04ff3a
AS
33332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33333 and internal_recvmmsg.
33334 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33335 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33336 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33337 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33338
f0ccf6ea
AS
33339 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33340 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33341 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33342
5b08ac57
AS
333432010-05-20 Andreas Schwab <schwab@redhat.com>
33344
33345 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33346
4828935d
LM
333472010-05-17 Luis Machado <luisgpm@br.ibm.com>
33348
33349 POWER7 optimizations.
33350 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33351 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33352
373d545e
UD
333532010-05-19 Ulrich Drepper <drepper@redhat.com>
33354
33355 * version.h: Update for 2.13 development version.
33356
21a2b1ae
AS
333572010-05-12 Andrew Stubbs <ams@codesourcery.com>
33358
33359 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33360 exceptions. Return 0.
33361
3f7dcb2b
RM
333622010-05-07 Roland McGrath <roland@redhat.com>
33363
33364 * elf/ldconfig.c (main): Add a const.
33365
5f24d53a 333662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33367
a160f8d8
UD
33368 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33369 (args_options): Add no-idn option.
33370 (ahosts_keys_int): Add idn_flags to ai_flags.
33371 (parse_option): Handle 'i' option to clear idn_flags.
33372
5f24d53a
UD
33373 * malloc/malloc.c (_int_free): Possible race in the most recently
33374 added check. Only act on the data if no current modification
33375 happened.
265bb1ce
UD
33376
33377See ChangeLog.17 for earlier changes.