]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Add pointer encryption support.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3cef6009
WN
12013-10-02 Will Newton <will.newton@linaro.org>
2
3 * malloc/Makefile: Add tst-pvalloc.
4 * malloc/tst-pvalloc.c: New file.
5
7815420b
WN
62013-10-02 Will Newton <will.newton@linaro.org>
7
8 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9 improve test coverage.
10
4868b204
WN
112013-10-02 Will Newton <will.newton@linaro.org>
12
13 * malloc/Makefile: Add tst-posix_memalign.
14 * malloc/tst-posix_memalign.c: New file.
15
29c793b3
EB
162013-10-01 Eric Blake <eblake@redhat.com>
17
18 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19 Use __THROWNL rather than __THROW on static functions.
20
fd967522
PM
212013-09-30 Petr Machata <pmachata@redhat.com>
22
23 * elf/elf.h (R_AARCH64_ABS16): New macro.
24 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
34 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
53 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
64 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
65 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
66 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
67 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
68 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
69 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
70 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
71 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
72 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
73 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
74 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
75 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
76 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
77 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
78 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
79 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
80 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
81 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
82 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
83 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
84 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
85 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
86 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
87 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
88 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
89 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
90 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
91 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
92 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
93 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
94 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
95 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
96 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
97 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
98 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
99 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
100 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
101 (R_AARCH64_TLSDESC_LDR): Likewise.
102 (R_AARCH64_TLSDESC_ADD): Likewise.
103 (R_AARCH64_TLSDESC_CALL): Likewise.
104
b2179107
AS
1052013-09-30 Andreas Schwab <schwab@suse.de>
106
107 [BZ #15048]
108 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
109 the nss database lookup.
110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
112
47f28d0a
MF
1132013-09-28 Mike Frysinger <vapier@gentoo.org>
114
115 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
116
1172013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
118
119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
120 ${Bash-specific parameter/pattern/string} parameter expansion.
121 * sysdeps/unix/make-syscalls.sh: Likewise.
122
f4518a17
KK
1232013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
124
125 * sysdeps/sh/stackguard-macros.h: New file.
126
dc1a95c7
OB
1272013-09-26 Ondřej Bílka <neleai@seznam.cz>
128
129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
131 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
134 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
135
5ebbff8f
AZ
1362013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
139 Fix thread ID register.
140
4fd2cf9f
JM
1412013-09-25 Joseph Myers <joseph@codesourcery.com>
142
143 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
144 [POSIX || UNIX98]: Require rather than permitting all symbols from
145 <time.h>.
146 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
147 element of struct sched_param.
148 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
149 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
150 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
151 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
152 constant.
153
12c22bc4
OL
1542013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
155
156 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
157 argument calculation.
158
a03d8ea7
JM
1592013-09-24 Joseph Myers <joseph@codesourcery.com>
160
161 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
162 Expect macro.
163 [POSIX] (pthread_attr_t): Do not require type.
164 [POSIX] (pthread_cond_t): Likewise.
165 [POSIX] (pthread_condattr_t): Likewise.
166 [POSIX] (pthread_key_t): Likewise.
167 [POSIX] (pthread_mutex_t): Likewise.
168 [POSIX] (pthread_mutexattr_t): Likewise.
169 [POSIX] (pthread_once_t): Likewise.
170 [POSIX] (pthread_t): Likewise.
171 [POSIX-based standards] (pthread_atfork): Expect function.
172
6055173a
JM
1732013-09-24 Joseph Myers <joseph@codesourcery.com>
174 Richard Sandiford <richard@codesourcery.com>
175
176 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
177 (swap_endianness_p): New extern variable.
178 (set_big_endian): New inline function.
179 (maybe_swap_uint32): Likewise.
180 (maybe_swap_uint32_array): Likewise.
181 (maybe_swap_uint32_obstack): Likewise.
182 * locale/programs/locfile.c: Include <stdbool.h>.
183 (swap_endianness_p): New variable.
184 (add_locale_uint32): Call maybe_swap_uint32.
185 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
186 (write_locale_data): Call maybe_swap_uint32_array.
187 * locale/programs/ld-collate.c (obstack_int32_grow): Call
188 maybe_swap_uint32.
189 (obstack_int32_grow_fast): Likewise.
190 (output_weightwc): Call maybe_swap_uint32_obstack.
191 (collate_output): Likewise.
192 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
193 (OPT_LITTLE_ENDIAN): Likewise.
194 (options): Add --little-endian and --big-endian options.
195 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
196 * locale/programs/locarchive.c: Include "locfile.h".
197 (GET): New macro.
198 (SET): Likewise.
199 (INC): Likewise.
200 (create_archive): Use the new macros to access fields of
201 structures directly mapped from or written to locale archives.
202 (oldlocrecentcmp): Likewise.
203 (enlarge_archive): Likewise.
204 (insert_name): Likewise.
205 (add_alias): Likewise.
206 (add_locale): Likewise.
207 (delete_locales_from_archive): Likewise.
208 (show_archive_content): Likewise.
209 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
210 locale data.
211
39bf0bb4
RM
2122013-09-24 Roland McGrath <roland@hack.frob.com>
213
214 * manual/freemanuals.texi: Updated from (newly) canonical copy at
215 http://www.gnu.org/doc/freemanuals.texi.
216 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
217
f02eed10
WN
2182013-09-24 Will Newton <will.newton@linaro.org>
219
220 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
221 macro.
222
a3a6c312
JM
2232013-09-23 Joseph Myers <joseph@codesourcery.com>
224
225 * locale/hashval.h (compute_hashval): Interpret bytes of key as
226 unsigned char.
227
107375ac
MR
2282013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
229
230 * manual/threads.texi (POSIX Threads): Fix a typo.
231
141f3a77
SP
2322013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
233
303e567a
SP
234 [BZ #14547]
235 * string/tst-strcoll-overflow.c: New test case.
236 * string/Makefile (xtests): Add tst-strcoll-overflow.
237 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
238 cache if string sizes may cause integer overflow.
239
141f3a77
SP
240 [BZ #14547]
241 * string/strcoll_l.c (coll_seq): New members rule, idx,
242 save_idx and back_us.
243 (get_next_seq_nocache): New function.
244 (do_compare_nocache): New function.
245 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
246 when malloc fails.
247
c61b4d41
CD
2482013-09-23 Carlos O'Donell <carlos@redhat.com>
249
0b1f8e35
CD
250 [BZ #15754]
251 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
252 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
253 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
254
c61b4d41
CD
255 [BZ #15754]
256 * elf/Makefile (tests): Add tst-ptrguard1.
257 (tests-static): Add tst-ptrguard1-static.
258 (tst-ptrguard1-ARGS): Define.
259 (tst-ptrguard1-static-ARGS): Define.
260 * elf/tst-ptrguard1.c: New file.
261 * elf/tst-ptrguard1-static.c: New file.
262 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
263 * sysdeps/i386/stackguard-macros.h: Likewise.
264 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
265 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
266 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
267 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
268 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
269 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
270
2712013-09-23 Hector Marco <hecmargi@upv.es>
272 Ismael Ripoll <iripoll@disca.upv.es>
273 Carlos O'Donell <carlos@redhat.com>
274
275 [BZ #15754]
276 * sysdeps/generic/stackguard-macros.h: Define
277 __pointer_chk_guard_local and POINTER_CHK_GUARD.
278 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
279 Define __pointer_chk_guard_local.
280 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
281 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
282
f5f4e7b4
VV
2832013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
284
285 [BZ #15859]
286 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
287
5bb43a43
AS
2882013-09-20 Andreas Schwab <schwab@linux-m68k.org>
289
290 * include/string.h (__ffs): Declare as hidden.
291 * string/ffs.c (__ffs): Define as hidden.
292 * sysdeps/i386/ffs.c (__ffs): Likewise.
293 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
294 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
295 * sysdeps/s390/ffs.c (__ffs): Likewise.
296 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
297
3ea5be54
AO
2982013-09-20 Alexandre Oliva <aoliva@redhat.com>
299
ffb89e53
AO
300 * NEWS: Mention malloc probes.
301
322dea08
AO
302 * malloc/arena.c (new_heap): New memory_heap_new probe.
303 (grow_heap): New memory_heap_more probe.
304 (shrink_heap): New memory_heap_less probe.
305 (heap_trim): New memory_heap_free probe.
306 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
307 (systrim): New memory_sbrk_less probe.
308 * manual/probes.texi: Document them.
309
655673f3
AO
310 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
311 * manual/probes.texi: Document it.
312
35fed6f1
AO
313 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
314 (__libc_realloc): Add memory_realloc_retry probe.
315 (__libc_memalign): Add memory_memalign_retry probe.
316 (__libc_valloc): Add memory_valloc_retry probe.
317 (__libc_pvalloc): Add memory_pvalloc_retry probe.
318 (__libc_calloc): Add memory_calloc_retry probe.
319 * manual/probes.texi: Document them.
320
6999d38c
AO
321 * malloc/arena.c (get_free_list): Add probe
322 memory_arena_reuse_free_list.
323 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
324 and memory_arena_reuse.
325 (arena_get2) [!PER_THREAD]: Likewise.
326 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
327 memory_arena_reuse_realloc.
328 * manual/probes.texi: Document them.
329
0653427f
AO
330 * malloc/malloc.c (__libc_free): Add
331 memory_mallopt_free_dyn_thresholds probe.
332 (__libc_mallopt): Add multiple memory_mallopt probes.
333 * manual/probes.texi: Document them.
334
3ea5be54
AO
335 * malloc/malloc.c: Include stap-probe.h.
336 (__libc_mallopt): Add memory_mallopt probe.
337 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
338 * manual/probes.texi: New.
339 * manual/Makefile (chapters): Add probes.
340 * manual/threads.texi: Set next node.
341
e35696c3 3422013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 343
e35696c3
CL
344 [BZ #15963, #13985]
345 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
346 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
347 Add `Chinese' to `nan' entry name.
348
4aafb73c
SP
3492013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
350
351 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
352 (POLYNOMIAL): Likewise.
353 (TAYLOR_SINCOS): Likewise.
354 (TAYLOR_SLOW): Likewise.
355 (__sin): Use TAYLOR_SINCOS.
356 (__cos): Likewise.
357 (slow): Use TAYLOR_SLOW.
358 (sloww): Likewise.
359 (bsloww): Likewise.
360 (csloww): Likewise.
361
d84f25c7
LD
3622013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
363
364 * stdlib/strtod_l.c: Fix buffer overrun.
365
5eea0404
SP
3662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
367
7849ff93
SP
368 * benchtests/Makefile (bench): Add sincos.
369 * benchtests/bench-sincos.c: New file.
370
cfa3c886
SP
371 * math/libm-test.inc (cos_test_data): New test inputs.
372 (sin_test_data): Likewise.
373
b348e1e3
SP
374 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
375 macro.
376 (__sin): Use it.
377 (__cos): Likewise.
378 (slow1): Likewise.
379 (slow2): Likewise.
380 (sloww1): Likewise.
381 (sloww2): Likewise.
382 (bsloww1): Likewise.
383 (bsloww2): Likewise.
384 (cslow2): Likewise.
385 (csloww1): Likewise.
386 (csloww2): Likewise.
387
6cce25f8
SP
388 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
389 function.
390 (__sin): Use it.
391 (__cos): Likewise.
392
5eea0404
SP
393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
394 gotos.
395 (__cos): Likewise.
396
9c21573c
MR
3972013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
398
399 * config.h.in (HAVE_MIPS_NAN2008): New macro.
400 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
401 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
402 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
403 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
404 * elf/cache.c (print_entry): Handle the new cache flags.
405
24d22e65
JM
4062013-09-18 Joseph Myers <joseph@codesourcery.com>
407 Aldy Hernandez <aldyh@redhat.com>
408
409 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
410 Change condition to [_SOFT_FLOAT].
411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
423 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
426 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
427 declaration.
428
d13ef066
JM
4292013-09-18 Joseph Myers <joseph@codesourcery.com>
430
2e071de0
JM
431 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
432 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
433 (__longjmp): Use LOAD_GP to load saved GPRs.
434 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
435 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
436 (__sigsetjmp): Use SAVE_GP to save GPRs.
437
d13ef066
JM
438 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
439 Do not append -msoft-float.
440 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
441
97a0650b
SP
4422013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
443
444 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
445
11ca09e9
JM
4462013-09-17 Joseph Myers <joseph@codesourcery.com>
447
448 [BZ #15966]
449 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
450 (_FPU_GETCW): Use initial "__" on variable and field names but not
451 on macro parameter name.
452 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
453 parentheses around reference to macro parameter.
454
08ffcf34
RS
4552013-09-13 Richard Sandiford <richard@codesourcery.com>
456
457 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
458 prototype.
459 (ctype_startup): Use uint32_t in cast and sizeof for
460 ctype->charnames.
461
ae7080d3
JL
4622013-09-11 Jia Liu <proljc@gmail.com>
463
464 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
465 __daddr_t_defined.
466 [__FreeBSD__]: Likewise.
467
5905e7b3
OB
4682013-09-11 Ondřej Bílka <neleai@seznam.cz>
469
470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
471 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
473 (strchr): Remove __strchr_sse42 ifunc selection.
474 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
475 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
476
b987c776
WN
4772013-09-11 Will Newton <will.newton@linaro.org>
478
479 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
480 parameter to RES. Remove hardcoded 1000 value.
481 * benchtests/bench-skeleton.c (main): Pass RES parameter
482 to TIMING_INIT and multiply result by 1000.
483
ddf985af
AZ
4842013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485
486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
487
ffdd3181
AS
4882013-09-11 Andreas Schwab <schwab@suse.de>
489
490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
491 if not defined.
492 (O_TMPFILE) [__USE_GNU]: Define.
493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
494 Define.
495
b73ed247
WN
4962013-09-11 Will Newton <will.newton@linaro.org>
497
498 [BZ #15857]
499 * malloc/malloc.c (__libc_memalign): Check the value of bytes
500 does not overflow.
501
55e17aad
WN
5022013-09-11 Will Newton <will.newton@linaro.org>
503
504 [BZ #15856]
505 * malloc/malloc.c (__libc_valloc): Check the value of bytes
506 does not overflow.
507
1159a193
WN
5082013-09-11 Will Newton <will.newton@linaro.org>
509
510 [BZ #15855]
511 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
512 does not overflow.
513
5905e7b3 5142013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
515
516 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
521
cdfc721b
AM
5222013-09-10 Allan McRae <allan@archlinux.org>
523
aa04af00
AM
524 [BZ #15748]
525 * manual/arith.texi (Parsing of Floats): Clarify
526 cross-reference.
527
cdfc721b
AM
528 [BZ #15849]
529 * manual/install.texi (Running make install): Mention
530 --enable-pt-chown.
531 * INSTALL: Regenerated.
532
95e7cf29
MR
5332013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
534
535 * csu/init-first.c (_init): Remove the !SHARED condition around
536 FPU control word initialization.
537 * elf/dl-support.c (_dl_fpu_control): New variable.
538 (_dl_aux_init) <AT_FPUCW>: Initialize it.
539 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
540 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
541 * math/test-fpucw-static.c: New file.
542 * math/test-fpucw-ieee.c: New file.
543 * math/test-fpucw-ieee-static.c: New file.
544 * math/Makefile (tests): Add `test-fpucw-ieee' and
545 `$(tests-static)'.
546 (tests-static): New variable.
547 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
548 dependency to...
549 [($(build-shared),yes)]
550 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
551 ... this.
552 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
553 New dependency.
554
83e43bf0
AM
5552013-09-09 Allan McRae <allan@archlinux.org>
556
a9f5ce09
AM
557 [BZ #15939]
558 * manual/string.texi (Collation Functions): Fix typo in
559 strcoll example.
560 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
561
34829bc2
AM
562 [BZ #15893]
563 * stdlib/isomac.c (get_null_defines): Fix memory leak.
564
3932737d
AM
565 [BZ #15892]
566 * libio/memstream.c (open_memstream): Fix memory leak.
567 * libio/wmemstream.c (open_wmemstream): Likewise.
568
83e43bf0
AM
569 [BZ #15895]
570 * nscd/netgroupcache.c: Fix nesting of ifdefs.
571
0c66b8e9
WN
5722013-09-09 Will Newton <will.newton@linaro.org>
573
574 * malloc/Makefile: Add tst-realloc to tests.
575 * malloc/tst-realloc.c: New file.
576
f6b00fd1
AM
5772013-09-09 Allan McRae <allan@archlinux.org>
578
579 [BZ #15844]
580 * COPYING: Update from GNU website to fix FSF address.
581 * COPYING.LIB: Likewise.
582
eec55e16
DM
5832013-09-06 David S. Miller <davem@davemloft.net>
584
585 * po/zh_TW.po: Update Chinese (traditional) translation from
586 translation project.
587
1ecbb381
RS
5882013-09-06 Richard Sandiford <richard@codesourcery.com>
589 Joseph Myers <joseph@codesourcery.com>
590
591 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
592 "localeinfo.h".
593 (obstack_chunk_alloc): New macro.
594 (obstack_chunk_free): Likewise.
595 (record_offset): New function.
596 (init_locale_data): Likewise.
597 (align_locale_data): Likewise.
598 (add_locale_empty): Likewise.
599 (add_locale_raw_data): Likewise.
600 (add_locale_raw_obstack): Likewise.
601 (add_locale_string): Likewise.
602 (add_locale_wstring): Likewise.
603 (add_locale_uint32): Likewise.
604 (add_locale_uint32_array): Likewise.
605 (add_locale_char): Likewise.
606 (start_locale_structure): Likewise.
607 (end_locale_structure): Likewise.
608 (start_locale_prelude): Likewise.
609 (end_locale_prelude): Likewise.
610 (write_locale_data): Take locale_file structure rather than an
611 iovec.
612 * locale/programs/locfile.h: Include "obstack.h".
613 (struct locale_file): Change to store locale file contents instead
614 of header.
615 (init_locale_data): New prototype.
616 (align_locale_data): Likewise.
617 (add_locale_empty): Likewise.
618 (add_locale_raw_data): Likewise.
619 (add_locale_raw_obstack): Likewise.
620 (add_locale_string): Likewise.
621 (add_locale_wstring): Likewise.
622 (add_locale_uint32): Likewise.
623 (add_locale_uint32_array): Likewise.
624 (add_locale_char): Likewise.
625 (start_locale_structure): Likewise.
626 (end_locale_structure): Likewise.
627 (start_locale_prelude): Likewise.
628 (end_locale_prelude): Likewise.
629 (write_locale_data): Update prototype.
630 * locale/programs/3level.h (struct TABLE): Remove result field.
631 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
632 Use new locale_file interface.
633 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
634 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
635 * locale/programs/ld-address.c (address_output): Use new
636 locale_file interface.
637 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
638 NO_ADD_LOCALE.
639 (collate_finish): Don't call collseq_table_finalize.
640 (collate_output): Use new locale_file interface.
641 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
642 in file.
643 (NO_FINALIZE): Change to NO_ADD_LOCALE.
644 (TABLE): Move defines earlier in file.
645 (ELEMENT): Likewise.
646 (DEFAULT): Likewise.
647 (wctrans_table_add): Move macro and inline function earlier in
648 file.
649 (struct wctype_table): Move type earlier in file.
650 (add_locale_wctype_table): New static prototype.
651 (struct locale_ctype_t): Use logical types instead of struct iovec
652 pointers for members.
653 (ctype_output): Use new locale_file interface.
654 (wctype_table_finalize): Change to add_locale_wctype_table. Use
655 new locale_file interface.
656 (allocate_arrays): Update for use of new locale_file interface.
657 * locale/programs/ld-identification.c (identification_output): Use
658 new locale_file interface.
659 * locale/programs/ld-measurement.c (measurement_output): Likewise.
660 * locale/programs/ld-messages.c (messages_output): Likewise.
661 * locale/programs/ld-monetary.c (monetary_output): Likewise.
662 * locale/programs/ld-name.c (name_output): Likewise.
663 * locale/programs/ld-numeric.c (numeric_output): Likewise.
664 * locale/programs/ld-paper.c (paper_output): Likewise.
665 * locale/programs/ld-telephone.c (telephone_output): Likewise.
666 * locale/programs/ld-time.c (time_output): Likewise.
667
e029e2e5
AZ
6682013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
669
670 * benchtests/Makefile: Add memrchr benchmark.
671 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
672 benchmark as memrchr.
673 * benchtests/bench-memrchr-ifunc.c: New file.
674 * benchtests/bench-memrchr.c: New file.
675
bbf6e8e4
WN
6762013-09-06 Will Newton <will.newton@linaro.org>
677
678 * benchtests/Makefile (string-bench): Add memcpy.
679
6c82a2f8
CD
6802013-09-05 Carlos O'Donell <carlos@redhat.com>
681 Cong Wang <amwang@redhat.com>
682
683 * sysdeps/unix/sysv/linux/bits/in.h
684 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
685 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
686 before __USE_KERNEL_IPV6_DEFS uses.
687 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
688 IPPROTO_BEETPH.
689 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
690 sockaddr_in6, or ipv6_mreq.
691
5430fc65
AZ
6922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
695 memory access for final bytes in some large inputs.
696 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
697
4660856c
AZ
6982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699
700 * string/test-memrchr.c: New file.
701 * string/test-memrchr-ifunc.c: New file.
702 * string/Makefile: Add new memrchr testcase.
703
bb8ea713
MF
7042013-09-05 Mike Frysinger <vapier@gentoo.org>
705
706 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
707 fanotify_init returns EPERM.
708
b92a20b5
JM
7092013-09-04 Joseph Myers <joseph@codesourcery.com>
710
711 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
712 errors.
713 (top level): Treat second token from macro or constant entries for
714 allowed headers as allowed.
715 * include/complex.h: Condition internal declarations on
716 [!_ISOMAC].
717 * include/fenv.h: Condition include of <stdbool.h> and internal
718 declarations on [!_ISOMAC].
7447ccd9
CL
719
7202013-09-04 Chris Leonard <cjl@sugarlabs,.org>
721
3e181dda 722 [BZ #15923]
7447ccd9
CL
723 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
724
3f2e46a4
JM
7252013-09-04 Joseph Myers <joseph@codesourcery.com>
726
727 * configure.in (--enable-versioning): Remove configure option.
728 (libc_cv_asm_symver_directive): Remove configure test.
729 (libc_cv_ld_version_script_option): Likewise.
730 (VERSIONING): Remove variable and AC_SUBST.
731 (DO_VERSIONING): Remove AC_DEFINE.
732 * configure: Regenerated.
733 * config.h.in (DO_VERSIONING): Remove macro.
734 * Makerules [$(versioning) = yes]: Change conditionals to
735 [$(build-shared) = yes].
736 * config.make.in (versioning): Remove variable.
737 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
738 [$(build-shared) = yes].
739 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
740 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
741 * elf/Makefile [$(versioning) = yes]: Change conditionals to
742 [$(build-shared) = yes].
743 * extra-lib.mk [$(versioning) = yes]: Likewise.
744 * hurd/Makefile [$(versioning) = yes]: Likewise.
745 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
746 [SHARED].
747 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
748 [SHARED].
749 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
750 [SHARED && !NO_HIDDEN].
751 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
752 [SHARED].
753 [SHARED && DO_VERSIONING]: Likewise..
754 * libio/Makefile [$(versioning) = yes]: Change conditionals to
755 [$(build-shared) = yes].
756 * manual/install.texi (--disable-versioning): Remove
757 documentation.
758 * INSTALL: Regenerated.
759 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
760 to [SHARED].
761 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
762 [$(build-shared) = yes].
763 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
764 * sysdeps/i386/i686/multiarch/strstr-c.c
765 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
766 [SHARED && !NO_HIDDEN].
767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
768 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
769 * sysdeps/powerpc/powerpc32/dl-machine.c
770 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
771 * sysdeps/powerpc/powerpc32/sysdep.h
772 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
773 to [SHARED && PIC && !NO_HIDDEN].
774 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
775 conditional to [SHARED].
776
44558701
WN
7772013-09-04 Will Newton <will.newton@linaro.org>
778
779 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
780 * benchtests/bench-string.h: Include bench-timing.h instead
781 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
782 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
783 call to HP_TIMING_DIFF_INIT.
784 * benchtests/bench-memccpy.c: Use bench-timing.h macros
785 instead of hp-timing.h macros.
786 * benchtests/bench-memchr.c: Likewise.
787 * benchtests/bench-memcmp.c: Likewise.
788 * benchtests/bench-memcpy.c: Likewise.
789 * benchtests/bench-memmem.c: Likewise.
790 * benchtests/bench-memmove.c: Likewise.
791 * benchtests/bench-memset.c: Likewise.
792 * benchtests/bench-rawmemchr.c: Likewise.
793 * benchtests/bench-strcasecmp.c: Likewise.
794 * benchtests/bench-strcasestr.c: Likewise.
795 * benchtests/bench-strcat.c: Likewise.
796 * benchtests/bench-strchr.c: Likewise.
797 * benchtests/bench-strcmp.c: Likewise.
798 * benchtests/bench-strcpy.c: Likewise.
799 * benchtests/bench-strcpy_chk.c: Likewise.
800 * benchtests/bench-strlen.c: Likewise.
801 * benchtests/bench-strncasecmp.c: Likewise.
802 * benchtests/bench-strncat.c: Likewise.
803 * benchtests/bench-strncmp.c: Likewise.
804 * benchtests/bench-strncpy.c: Likewise.
805 * benchtests/bench-strnlen.c: Likewise.
806 * benchtests/bench-strpbrk.c: Likewise.
807 * benchtests/bench-strrchr.c: Likewise.
808 * benchtests/bench-strspn.c: Likewise.
809 * benchtests/bench-strstr.c: Likewise.
810
cae16d66
WN
8112013-09-04 Will Newton <will.newton@linaro.org>
812
813 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
814
ffa3cd7f
JM
8152013-09-03 Joseph Myers <joseph@codesourcery.com>
816
817 [BZ #15427]
818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
819 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
820 * math/libm-test.inc (lgamma_test_data): Add more tests.
821 * sysdeps/i386/fpu/libm-test-ulps: Update.
822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823
8f02859f
OB
8242013-09-03 Ondřej Bílka <neleai@seznam.cz>
825
826 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
828 Add ifunc.
829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
830 Add strcmp-sse2-unaligned
831 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
832
18d43716
MF
8332013-09-02 Mike Frysinger <vapier@gentoo.org>
834
835 * Versions.def (libc): Add GLIBC_2.19.
836
ac444012
MF
8372013-09-02 Mike Frysinger <vapier@gentoo.org>
838
839 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
840 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
841
b7835e32
JM
8422013-09-02 Joseph Myers <joseph@codesourcery.com>
843
844 [BZ #14155]
845 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
846 intermediate calculations in recurrence.
847 (__ieee754_ynf): Likewise.
848 * math/libm-test.inc (jn_test_data): Do not allow spurious
849 underflow exception. Add more tests.
850 (yn_test_data): Add more tests.
851 * sysdeps/i386/fpu/libm-test-ulps: Update.
852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
853
8220f4f0
OB
8542013-09-02 Ondřej Bílka <neleai@seznam.cz>
855
856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
857
f24a6d08
OB
8582013-08-30 Ondřej Bílka <neleai@seznam.cz>
859
860 * csu/init-first.c: Fix then/than typos.
861 * locale/programs/ld-collate.c: Likewise.
862 * locale/programs/linereader.h: Likewise.
863 * manual/charset.texi: Likewise.
864 * manual/filesys.texi: Likewise.
865 * manual/stdio.texi: Likewise.
866 * manual/string.texi: Likewise.
867 * stdlib/fmtmsg.c: Likewise.
868 * sysdeps/i386/stpncpy.S: Likewise.
869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
870 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
873
382466e0
OB
8742013-08-30 Ondřej Bílka <neleai@seznam.cz>
875
876 * elf/dl-open.c: Fix typos.
877 * iconvdata/gbbig5.c: Likewise.
878 * iconvdata/iso-2022-jp.c: Likewise.
879 * iconv/gconv_int.h: Likewise.
880 * iconv/loop.c: Likewise.
881 * nis/rpcsvc/nis.h: Likewise.
882 * resolv/ns_name.c: Likewise.
883 * stdio-common/vfscanf.c: Likewise.
884 * streams/stropts.h: Likewise.
885 * sunrpc/rpc_thread.c: Likewise.
886 * sysdeps/i386/strpbrk.S: Likewise.
887 * sysdeps/ieee754/k_standard.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
890 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
891 * sysdeps/mach/hurd/profil.c: Likewise.
892 * sysdeps/s390/dl-procinfo.h: Likewise.
893 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
895 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
896 * sysdeps/x86_64/dl-trampoline.S: Likewise.
897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
898
0186c6e9
OB
8992013-08-30 Ondřej Bílka <neleai@seznam.cz>
900
901 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
903
d4e16af1
OB
9042013-08-29 Ondřej Bílka <neleai@seznam.cz>
905
906 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
907 aix specific files.
908 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
916
88335980
TS
9172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
918 Roland McGrath <roland@hack.frob.com>
919
920 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
921 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
922
ed479b02
ST
9232013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
924
925 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
926 __executable_start symbol instead of _start.
927
f1cc4c86
TS
9282013-08-29 Thomas Schwinge <thomas@codesourcery.com>
929
d821f07c
TS
930 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
931 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
932 Move macros to...
933 * sysdeps/gnu/ldsodefs.h: ... this new file.
934
c54290cf
TS
935 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
936 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
937 instead of ELFOSABI_LINUX.
938
0007fc9b 939 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
940 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
941 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
942 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
943 Likewise.
944 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
945 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
946 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
947 Likewise.
948 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
949 (ibm_extended_long_double): Add ieee_nan member.
950 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
951 (do_test): New function.
952
f1cc4c86
TS
953 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
954 TEST_TRUNC.
955 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
956 functions, renamed from truncdfsf_test, trunctfsf_test,
957 trunctfdf_test.
958 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
959 functions.
960 (do_test): Run all these.
961
6f65e668
OB
9622013-08-29 Ondřej Bílka <neleai@seznam.cz>
963
964 * argp/argp-help.c: Fix typos.
965 * argp/argp-parse.c: Likewise.
966 * debug/backtracesyms.c: Likewise.
967 * elf/elf.h: Likewise.
968 * malloc/malloc.c: Likewise.
969 * nis/nis_print.c: Likewise.
970 * resolv/res_comp.c: Likewise.
971 * stdlib/stdlib.h: Likewise.
972 * sunrpc/clnt_tcp.c: Likewise.
973 * sunrpc/clnt_udp.c: Likewise.
974 * sunrpc/clnt_unix.c: Likewise.
975 * sysdeps/unix/bsd/ptsname.c: Likewise.
976 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
979 Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
981 Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
983 Likewise.
6f65e668
OB
984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
985
3a309239
SP
9862013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
987
988 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
990
3b813b29
MF
9912013-08-27 Mike Frysinger <vapier@gentoo.org>
992
993 [BZ #15897]
994 * dlfcn/Makefile (tests): Add bug-dl-leaf.
995 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
996 ($(objpfx)bug-dl-leaf): New rule.
997 ($(objpfx)bug-dl-leaf.so): Likewise.
998 ($(objpfx)bug-dl-leaf.out): Likewise.
999 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1000 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1001 * dlfcn/bug-dl-leaf.c: New test.
1002 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1003 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1004 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1005 (dlclose): Likewise.
1006 (dlmopen): Likewise.
1007
8cc3269f
RM
10082013-08-27 Roland McGrath <roland@hack.frob.com>
1009
7f9d0034
RM
1010 * include/netdb.h [!_ISOMAC]:
1011 Don't include <tls.h>.
1012 (h_errno, __libc_h_errno): Move declaration and macros out of
1013 [_LIBC_REENTRANT].
1014
fb431262
RM
1015 * include/resolv.h [_RESOLV_H_]:
1016 Don't include <tls.h>.
1017 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1018 * resolv/res_libc.c: Don't include <tls.h>.
1019 (_res): Use __attribute__ ((nocommon)) in place of
1020 __attribute__ ((section (".bss"))).
1021
bd81123a
RM
1022 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1023 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1024
c4e42566
RM
1025 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1026
f890a59b
RM
1027 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1028 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1029
1030 * resolv/res_mkquery.c: Include <sys/time.h>.
1031
5d1f0a09
RM
1032 * inet/ifreq.c: Moved to ...
1033 * sysdeps/unix/ifreq.c: ... here.
1034 * inet/ifreq.c: New file, true stub version.
1035
6fcf28b3
RM
1036 * socket/sa_len.c: New file.
1037 * socket/Makefile (aux): Add it.
1038 * sysdeps/unix/sysv/linux/Makefile
1039 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1040 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1041 and #include <socket/sa_len.c>.
1042 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1043 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1044
e041fb8b
RM
1045 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1046 * bits/socket.h: ... here.
1047
8cc3269f
RM
1048 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1049 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1050 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1051
5d228a43
AS
10522013-08-27 Andreas Schwab <schwab@suse.de>
1053
45b8accc
AS
1054 [BZ #15736]
1055 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1056 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1057 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1058 * string/test-strcasecmp.c (test_main): Run tests in several
1059 locales.
1060 * string/test-strncasecmp.c (test_main): Likewise.
1061
5d228a43
AS
1062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1063 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1064 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1066 (__strncasecmp_ssse3) [PIC]: Likewise.
1067
59d112a4
RM
10682013-08-26 Roland McGrath <roland@hack.frob.com>
1069
53234cc3
RM
1070 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1071
59d112a4
RM
1072 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1073 instead of explicitly declaring xdecrypt.
1074 * nis/nss_nis/nis-publickey.c: Likewise.
1075
595aba70
SP
10762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 [BZ #15890]
1079 * nscd/aicache.c: Include res_hconf.h.
1080 (addhstaiX): Initialize res_hconf.
1081
ffabd393
AS
10822013-08-26 Andreas Schwab <schwab@suse.de>
1083
1084 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1085 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1086
e0a69f5c
SP
10872013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
1089 * nscd/aicache.c (addhstaiX): Fix indentation.
1090
8c12f01d
MF
10912013-08-25 Mike Frysinger <vapier@gentoo.org>
1092
1093 * configure.ac: Quote $build_pt_chown test.
1094 * configure: Regenerated.
1095
8fe89494
JM
10962013-08-23 Joseph Myers <joseph@codesourcery.com>
1097
1098 [BZ #15532]
1099 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1100 * math/s_cexpf.c (__cexpf): Likewise.
1101 * math/s_cexpl.c (__cexpl): Likewise.
1102 * math/libm-test.inc (cexp_test_data): Correct expected return
1103 value for NaN + i0. Add another test.
1104
75b181d6
DM
11052013-08-22 David S. Miller <davem@davemloft.net>
1106
1107 * po/ca.po: Update Catalan translation from translation project.
936241e4 1108 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1109
acd06bb1
JM
11102013-08-21 Joseph Myers <joseph@codesourcery.com>
1111
1112 [BZ #15797]
1113 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1114 is infinite, not alongside NaN test.
1115 * math/s_fdimf.c (__fdimf): Likewise.
1116 * math/s_fdiml.c (__fdiml): Likewise.
1117 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1118 errno is unchanged.
1119
c0c3f78a
OB
11202013-08-21 Ondřej Bílka <neleai@seznam.cz>
1121
1122 * argp/argp-help.c: Fix typos.
1123 * crypt/speeds.c: Likewise.
1124 * csu/check_fds.c: Likewise.
1125 * elf/dl-load.c: Likewise.
1126 * elf/dl-open.c: Likewise.
1127 * elf/reldep3.c: Likewise.
1128 * elf/reldep.c: Likewise.
1129 * elf/sprof.c: Likewise.
1130 * iconv/iconv_charmap.c: Likewise.
1131 * iconv/skeleton.c: Likewise.
1132 * iconv/strtab.c: Likewise.
1133 * io/lockf64.c: Likewise.
1134 * libio/libioP.h: Likewise.
1135 * resolv/gai_notify.c: Likewise.
1136 * resolv/ns_name.c: Likewise.
1137 * resolv/ns_samedomain.c: Likewise.
1138 * resolv/res_send.c: Likewise.
1139 * stdlib/random.c: Likewise.
1140 * sunrpc/rpc/xdr.h: Likewise.
1141 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1143 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1144 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1149 * sysdeps/mach/hurd/check_fds.c: Likewise.
1150 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1151 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1156 * sysdeps/pthread/aio_notify.c: Likewise.
1157 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1158 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1159 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1161 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1162
46ed1038
LD
11632013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1164
1165 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1166 version if bit_Slow_SSE4_2 is set.
1167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1169
d400dcac
AZ
11702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 [BZ #15867]
1173 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1174 trampoline stack frame information.
1175 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1177 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1178 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1179 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1180 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1181 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1182 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1183 sa_flags value.
1184 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1185 interrupting a syscall and set with option SA_SIGINFO.
1186
42c8fdd8
JM
11872013-08-20 Joseph Myers <joseph@codesourcery.com>
1188
c980f2f4
JM
1189 [BZ #15531]
1190 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1191 argument is infinite.
1192 * math/s_cprojf.c (__cprojf): Likewise.
1193 * math/s_cprojl.c (__cprojl): Likewise.
1194 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1195 * math/libm-test.inc (cproj_test_data): Add more tests.
1196
0716c4fc
JM
1197 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1198
42c8fdd8
JM
1199 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1200 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1201 size. Use __ffs to determine corresponding shift.
1202
b31469d0
JM
12032013-08-20 Joseph Myers <joseph@codesourcery.com>
1204 Roland McGrath <roland@hack.frob.com>
1205
1206 * Makefile (INSTALL): Remove trailing blank lines from output of
1207 makeinfo.
1208
4e39af6e
AK
12092013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1210
1211 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1212 Align 32 bit compat elf_greg to 8 bytes.
1213
f315524e
AA
12142013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1215
1216 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1217
1326ba1a
SP
12182013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1219
1220 * string/strcoll_l.c (coll_seq): New structure.
1221 (get_next_seq_cached): New function.
1222 (get_next_seq): New function.
1223 (do_compare): New function.
1224 (STRCOLL): Use GNU style definition. Simplify implementation
1225 by using get_next_seq, get_next_seq_cached and do_compare.
1226
91ce4085
FW
12272013-08-16 Florian Weimer <fweimer@redhat.com>
1228
1229 [BZ #14699]
1230 CVE-2013-4237
1231 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1232 member.
1233 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1234 member.
1235 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1236 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1237 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1238 conditional.
1239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1240 GETDENTS_64BIT_ALIGNED.
1241 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1242 * manual/filesys.texi (Reading/Closing Directory): Document
1243 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1244 strongly.
1245 * manual/conf.texi (Limits for Files): Add portability note to
1246 NAME_MAX, PATH_MAX.
1247 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1248
ca0a6bc4
AS
12492013-08-13 Andreas Schwab <schwab@suse.de>
1250
1251 [BZ #15749]
1252 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1253 of fabs.
1254 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1255 LDBL_MAX_EXP >= 16384]: Add tests for it.
1256
6c1fd795
DM
12572013-08-12 David S. Miller <davem@davemloft.net>
1258
1259 * version.h (RELEASE): Set to "development".
1260 (VERSION): Set to "2.18.90".
1261 * NEWS: Add 2.19 section.
1262
31ad488d
DM
12632013-08-03 David S. Miller <davem@davemloft.net>
1264
1265 * po/ko.po: Update Korean translation from translation project.
1266
db24e684
DM
12672013-08-01 David S. Miller <davem@davemloft.net>
1268
1269 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1270 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1271 Bilka.
1272
f723285b
DM
12732013-07-30 David S. Miller <davem@davemloft.net>
1274
1275 * po/fr.po: Update French translation from translation project.
1276
3cbc52db
DM
12772013-07-28 David S. Miller <davem@davemloft.net>
1278
30bbc0cc
DM
1279 * po/cs.po: Update Czech translation from translation project.
1280
3cbc52db
DM
1281 * po/sv.po: Update Swedish translation from translation project.
1282
d492e6d0
DM
12832013-07-27 David S. Miller <davem@davemloft.net>
1284
f1a7f492
DM
1285 * po/eo.po: Update Esperanto translation from translation project.
1286
90e62a4a
DM
1287 * po/vi.po: Update Vietnamese translation from translation project.
1288
d492e6d0
DM
1289 * po/de.po: Update German translation from translation project.
1290
d4baa62d
DM
12912013-07-26 David S. Miller <davem@davemloft.net>
1292
641aa7b4
DM
1293 * po/bg.po: Update Bulgarian translation from translation project.
1294
d4baa62d
DM
1295 * po/nl.po: Update Dutch translation from translation project.
1296 * po/pl.po: Update Polish translation from translation project.
1297 * po/ru.po: Update Russian translation from translation project.
1298
61a9dcb9
DM
12992013-07-24 David S. Miller <davem@davemloft.net>
1300
1301 * po/libc.pot: Update.
1302
7b1f8b58
AZ
13032013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1306 variable page size.
1307 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1309 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1310
a8fc7a03
AK
13112013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1312
1313 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1314
e4608715
CD
13152013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1316 Andreas Schwab <schwab@suse.de>
1317 Roland McGrath <roland@hack.frob.com>
1318 Joseph Myers <joseph@codesourcery.com>
1319 Carlos O'Donell <carlos@redhat.com>
1320
1321 [BZ #15755]
1322 * config.h.in: Define HAVE_PT_CHOWN.
1323 * config.make.in (build-pt-chown): New variable.
1324 * configure.in (--enable-pt_chown): New configure option.
1325 * configure: Regenerate.
1326 * login/Makefile: Include Makeconfig. Build pt_chown only if
1327 build-pt-chown is enabled.
1328 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1329 pt_chown to fix pty ownership.
1330 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1331 CLOSE_ALL_FDS.
1332 * manual/install.texi (Configuring and compiling): Mention
1333 --enable-pt_chown. Add @findex for grantpt.
1334 * INSTALL: Regenerate.
1335
da2d62df
DM
13362013-07-20 David S. Miller <davem@davemloft.net>
1337
1338 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1339 difference between 32-bit and 64-bit.
1340
d7e06450
CD
13412013-07-15 Carlos O'Donell <carlos@redhat.com>
1342
1343 [BZ #15711]
1344 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1345 Avoid system header dependency with -ffreestanding.
1346 ($(objpfx)bits/syscall%d): Likewise.
1347
f959cfd7
DM
13482013-07-13 David S. Miller <davem@davemloft.net>
1349
1350 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1351 underflows from atanl/atan2l due to bug 15319.
1352 (casinh_test_data): Likewise.
1353
c61f8513
DM
13542013-07-07 David S. Miller <davem@davemloft.net>
1355
1356 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1357
72c90ed0
JA
13582013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1359
1360 * sysdeps/i386/fpu/libm-test-ulps: Update.
1361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1362
52dfbe13
SP
13632013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1364
1365 * configure.in (--enable-lock-elision): Fix message text.
1366 * INSTALL: Regenerate.
1367 * configure: Regenerate.
1368
3f169543
AZ
13692013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
1371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1372
521c6785
AJ
13732013-07-03 Andreas Jaeger <aj@suse.de>
1374
1375 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1376 define.
1377 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1378 (ptrace_peeksiginfo_args): Add.
1379 (__ptrace_peeksiginfo_flags): Add.
1380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1383
d2cc15cb
AM
13842013-07-03 Allan McRae <allan@archlinux.org>
1385
1386 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387
3aaeeca7
DM
13882013-07-02 David S. Miller <davem@davemloft.net>
1389
1390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1391
5314ed1a
MT
13922013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1393
1394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1395
67338156
JM
13962013-07-02 Joseph Myers <joseph@codesourcery.com>
1397
1398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400
1717da59
AK
14012013-07-02 Andi Kleen <ak@linux.intel.com>
1402
1403 * config.h.in (ENABLE_LOCK_ELISION): Add.
1404 * configure.in (--enable-lock-elision): Add option.
1405 * manual/install.texi: Document --enable lock elision.
1406 * configure: Regenerate
1407 * INSTALL: Regenerate.
1408
1c81621c
L
14092013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1412 SSE4.2 strcasecmp for libc.a.
1413 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1414
77f01ab5
JM
14152013-07-02 Joseph Myers <joseph@codesourcery.com>
1416
1417 [BZ #13304]
1418 * soft-fp/op-common.h (_FP_FMA): New macro.
1419 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1420 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1421 (_FP_MUL_MEAT_1_imm): ... here.
1422 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1423 (_FP_MUL_MEAT_1_wide): ... here.
1424 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1425 (_FP_MUL_MEAT_1_hard): ... here.
1426 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1427 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1428 (_FP_MUL_MEAT_2_wide): ... here.
1429 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1430 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1431 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1432 (_FP_MUL_MEAT_2_gmp): ... here.
1433 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1434 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1435 (_FP_MUL_MEAT_4_wide): ... here.
1436 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1437 (_FP_MUL_MEAT_4_gmp): ... here.
1438 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1439 (_FP_WFRACBITS_DW_S): Likewise.
1440 (_FP_WFRACXBITS_DW_S): Likewise.
1441 (_FP_HIGHBIT_DW_S): Likewise.
1442 (FP_FMA_S): Likewise.
1443 (_FP_FRAC_HIGH_DW_S): Likewise.
1444 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1445 (_FP_WFRACBITS_DW_D): Likewise.
1446 (_FP_WFRACXBITS_DW_D): Likewise.
1447 (_FP_HIGHBIT_DW_D): Likewise.
1448 (FP_FMA_D): Likewise.
1449 (_FP_FRAC_HIGH_DW_D): Likewise.
1450 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1451 (_FP_WFRACBITS_DW_E): Likewise.
1452 (_FP_WFRACXBITS_DW_E): Likewise.
1453 (_FP_HIGHBIT_DW_E): Likewise.
1454 (FP_FMA_E): Likewise.
1455 (_FP_FRAC_HIGH_DW_E): Likewise.
1456 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1457 (_FP_WFRACBITS_DW_Q): Likewise.
1458 (_FP_WFRACXBITS_DW_Q): Likewise.
1459 (_FP_HIGHBIT_DW_Q): Likewise.
1460 (FP_FMA_Q): Likewise.
1461 (_FP_FRAC_HIGH_DW_Q): Likewise.
1462 * soft-fp/fmasf4.c: New file.
1463 * soft-fp/fmadf4.c: Likewise.
1464 * soft-fp/fmatf4.c: Likewise.
1465
6308fd9a
LD
14662013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1467
1468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1469 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1470 Silvermont.
1471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1472 macro.
1473 (index_Slow_SSE4_2): Likewise.
1474 (index_Prefer_PMINUB_for_stringop): Likewise.
1475 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1476 bit_Slow_SSE4_2 is set.
1477 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1479
89cd9569
RA
14802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1483 rtld_global._dl_hwcap2.
1484 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1485 POWER8.
1486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1487 POWER8 feature descriptions defined in _dl_hwcap2.
1488 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1489 string handling for POWER8 feature bits.
1490 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1491 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1492 _dl_powerpc_cap_flags.
1493 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1494 * sysdeps/powerpc/rtld-global-offsets.sym
1495 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1496 _dl_hwcap2 in the rtld_global_ro structure.
1497
1ae8bfe0
RA
14982013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1499
1500 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1501 hardware capabilities in support of AT_HWCAP2.
1502 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1503 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1504 GLRO(dl_hwcap2).
1505 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1506 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1507 explicitly the unknown a_type display mechanism is used.
1508 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1509 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1510 struct member.
1511 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1512 to macro prototype for AT_HWCAP2 support.
1513 * sysdeps/i386/dl-procinfo.h: Likewise.
1514 * sysdeps/s390/dl-procinfo.h: Likewise.
1515 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1516 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1517 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1518 return -1 for unknown a_type display fallback.
1519 * sysdeps/sparc/dl-procinfo.h: Likewise.
1520 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1521 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1522
8fbec010
JM
15232013-06-28 Joseph Myers <joseph@codesourcery.com>
1524
1525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1526 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1527
0432680e
PY
15282013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1529
1530 [BZ #12492]
1531 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1532 mprotect making __stack_prot writable.
1533
ce61a2ad
NF
15342013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1535 Joseph Myers <joseph@codesourcery.com>
1536
1537 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1538 as being properly aligned.
1539
f91f1c0f
MR
15402013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1541
3d0f5d0c
MR
1542 * dlfcn/modstatic5.c: New file.
1543 * dlfcn/tststatic5.c: New file.
1544 * dlfcn/Makefile (tests): Add tststatic5.
1545 (tests-static): Likewise.
1546 (modules-names): Add modstatic5.
1547 (tststatic5-ENV): New variable.
1548 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1549
f91f1c0f
MR
1550 [BZ #15022]
1551 * elf/dl-support.c (_dl_main_map): New variable.
1552 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1553 (_dl_nns, _dl_load_adds): Set to 1.
1554 (_dl_initial_searchlist): Refer to _dl_main_map.
1555 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1556 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1557 call to _dl_get_origin.
1558 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1559 around call_map.
1560 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1561 * dlfcn/modstatic3.c: New file.
1562 * dlfcn/tststatic3.c: New file.
1563 * dlfcn/tststatic4.c: New file.
1564 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1565 (tests-static): Likewise.
1566 (modules-names): Add modstatic3.
1567 (tststatic3-ENV, tststatic4-ENV): New variables.
1568 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1569 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1570
cbe7d24b
JM
15712013-06-26 Joseph Myers <joseph@codesourcery.com>
1572
1573 * configure.in (CC): Require GCC version 4.4 or later.
1574 * configure: Regenerated.
1575 * manual/install.texi (Tools for Compilation): Update GCC version
1576 requirement.
1577 * INSTALL: Regenerated.
1578
11b8a0e1
LD
15792013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1580
1581 [BZ #15674]
bb5bb87c
L
1582 * string/test-memcmp.c (check2): New.
1583 (main): Call check2.
1584
11b8a0e1
LD
1585 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1586
b0037103
MR
15872013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1588
1589 [BZ #15022]
1590 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1591 over to...
1592 (dl_open_worker) [!SHARED]: ... here.
1593
c18c701d
RA
15942013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1595
1596 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1597
1d17fa5f
RH
15982013-06-25 Richard Henderson <rth@redhat.com>
1599
1600 * locale/programs/locarchive.c: Include <libc-internal.h>
1601
8fcb833a
JM
16022013-06-25 Joseph Myers <joseph@codesourcery.com>
1603
1604 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1605 trailing whitespace removed.
1606
17db6e8d
MF
16072013-06-24 Mike Frysinger <vapier@gentoo.org>
1608
1609 [BZ #10283]
17db6e8d
MF
1610 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1611 * locale/programs/locarchive.c: Include libc-mmap.h.
1612 (prepare_address_space): Take two new outputs (the mmap base and len).
1613 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1614 values.
1615 (create_archive): Declare new mmap base and len values for
1616 prepare_address_space, and store the result in ah.
1617 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1618 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1619 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1620 Declare new mmap base and len values for
1621 prepare_address_space, and store the result in new_ah.
1622 (open_archive): Declare new mmap base and len values for
1623 prepare_address_space, and store the result in ah.
1624 (close_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 * sysdeps/generic/libc-mmap.h: New file.
1627
d605071e
MF
16282013-06-24 Mike Frysinger <vapier@gentoo.org>
1629
1630 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1631 (ALIGN_UP): Likewise.
1632 (PTR_ALIGN_DOWN): Likewise.
1633 (PTR_ALIGN_UP): Likewise.
1634
2f063a6e
RA
16352013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1638 entry mapped to PPC_PLATFORM_POWER8.
1639 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1640 POWER8.
1641 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1642 (_dl_string_platform): Add case for exporting platform position for
1643 POWER8.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1645 search path to sysdeps/powerpc/powerpc32/power8 directory.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1647 search path to sysdeps/powerpc/powerpc64/power8 directory.
1648 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1649 power7 directories.
1650 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1651 power7 directories.
1652
a31ee4b3
SP
16532013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1654
a74ca98f
SP
1655 * INSTALL: Regenerate.
1656
a31ee4b3
SP
1657 * nscd/connections.c (nscd_init): Fix comment.
1658
695c378f
JM
16592013-06-22 Joseph Myers <joseph@codesourcery.com>
1660
d8412221
JM
1661 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1662
695c378f
JM
1663 [BZ #15667]
1664 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1665 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1666
d1d54715
MR
16672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1668
1669 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1670 DL_DST_REQ_STATIC.
1671 (DL_DST_REQ_STATIC): Remove macro.
1672
8fdda7af
JM
16732013-06-21 Joseph Myers <joseph@codesourcery.com>
1674
1675 [BZ #7006]
1676 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1677 with a shift of 0 bits.
1678
f3bc5e5a
MR
16792013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1680
1681 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1682 $(tststatic-ENV).
1683
be09e8c9
KK
16842013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1685
1686 [BZ #15655]
1687 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1688
85c2e611
AZ
16892013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690
1691 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1692 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1693 accepts -fno-tree-loop-distribute-patterns.
1694 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1695 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1696 recursive call.
1697 * string/memset.c (memset): Likewise.
1698 * string/test-memmove.c (simple_memmove): Disable loop transformation
1699 to library calls.
1700 * string/test-memset.c (simple_memset): Likewise.
1701 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1702 * benchtests/bench-memset.c (simple_memset): Likewise.
1703 * configure: Regenerated.
1704
c91e0825
JM
17052013-06-20 Joseph Myers <joseph@codesourcery.com>
1706
b8c792af
JM
1707 * math/test-misc.c (main): Ignore fesetround failure when failures
1708 of subsequent rounding tests would be ignored.
1709
c91e0825
JM
1710 [BZ #15654]
1711 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1712 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1713 * math/fegetenv.c (__fegetenv): Return 0.
1714 * math/fegetexcept.c (fegetexcept): Return 0.
1715 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1716 FE_TONEAREST.
1717 * math/feholdexcpt.c (feholdexcept): Return 0.
1718 * math/fesetenv.c (__fesetenv): Return 0.
1719 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1720 argument FE_TONEAREST.
1721 * math/feupdateenv.c (__feupdateenv): Return 0.
1722 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1723
bfcacbde
RM
17242013-06-18 Roland McGrath <roland@hack.frob.com>
1725
1726 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1727 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1728 ($(objpfx)rtld-%.os rules): Use them.
1729
e55a9b25
AZ
17302013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731
1732 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1733 fields.
1734
346d65b3
RM
17352013-06-17 Roland McGrath <roland@hack.frob.com>
1736
12086fb4
RM
1737 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1738 length of target pattern, then descending length of dependency pattern.
1739 * configure.in (AWK): Require gawk 3.1.2 or newer.
1740 * manual/install.texi (Tools for Compilation): Say that we do.
1741 * configure: Regenerated.
1742
346d65b3
RM
1743 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1744 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1745 * scripts/sysd-rules.awk: ... this new script.
1746 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1747 than a glob-style pattern.
1748
1a846317
JM
17492013-06-17 Joseph Myers <joseph@codesourcery.com>
1750
1751 * math/test-misc.c (main): Do not treat incorrectly rounded
1752 conversions as failure unless ROUNDING_TESTS passes.
1753
8fc75e6f
JM
17542013-06-15 Joseph Myers <joseph@codesourcery.com>
1755
3711a167
JM
1756 [BZ #15631]
1757 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1758 restore exception state around main square root computation, then
1759 check for inexactness explicitly.
1760
8fc75e6f
JM
1761 * math/libm-test.inc (fma_test_data): Add another test.
1762
61dd6208
SP
17632013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
adf23d2c
SP
1765 * manual/threads.texi (Non-POSIX Extensions): New document
1766 node. Document pthread_getattr_default_np and
1767 pthread_setattr_default_np.
1768
61dd6208
SP
1769 * Versions.def (libpthread): Add GLIBC_2.18.
1770 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1774 Likewise.
1775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1788 Likewise.
1789
d086fc7b
LD
17902013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1791
1792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1793 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1794
747ef469
SP
17952013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1796 H.J. Lu <hjl.tools@gmail.com>
1797
1798 [BZ #15627]
1799 * sysdeps/x86_64/rtld-memset.c: Remove file.
1800 * sysdeps/x86_64/rtld-memset.S: New file.
1801
1b2feed2
JM
18022013-06-14 Joseph Myers <joseph@codesourcery.com>
1803
1804 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1805 (test_in_one_mode): Take arguments for whether the rounding mode
1806 is supported for each floating-point type.
1807 (do_test): Pass new arguments to test_in_one_mode using
1808 ROUNDING_TESTS.
1809
a58ad3f8
RM
18102013-06-13 Roland McGrath <roland@hack.frob.com>
1811
1812 * posix/tst-waitid.c (do_test): Distinguish different instances of
1813 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1814 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1815 before entering the kernel for waitpid.
1816
c204ab28
SP
18172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1818
1819 * NEWS: Fix note on clock function precision. Text by Roland
1820 McGrath.
1821
f4a29fba
RM
18222013-06-13 Roland McGrath <roland@hack.frob.com>
1823
1824 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1825 it into place only when and if the sanity check passes.
1826
1f24b9ad
JM
18272013-06-13 Joseph Myers <joseph@codesourcery.com>
1828
1829 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1830 output for whether conversion result is exact. Take argument
1831 indicating whether type is IBM long double.
1832 (round_for_all): Change need_exact field to ibm_ld.
1833 * stdlib/tst-strtod-round.c (struct exactness): New type.
1834 (struct test): Change bool ld_ok field to struct exactness exact.
1835 (TEST): Update all definitions for change to field.
1836 (tests): Regenerate array contents.
1837 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1838 field value. Check for IBM long double here.
1839 (do_test): Update calls to test_in_one_mode.
1840
58206c68
SP
18412013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1842
1843 [BZ #12515]
1844 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1845 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1846
2d6f4c5b 18472013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1848
1849 [BZ #15605]
1850 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1851 generated by the compiler on loop optimizations.
1852 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1853 general definitions.
1854
94f2c076
JM
18552013-06-12 Joseph Myers <joseph@codesourcery.com>
1856
1857 * math/bug-nextafter.c: Include <math-tests.h>.
1858 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1859 the relevant type.
1860 * math/bug-nexttoward.c: Include <math-tests.h>.
1861 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1862 the relevant type.
1863 * math/test-misc.c: Include <math-tests.h>.
1864 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1865 the relevant type.
1866
e0e50a0a
AJ
18672013-06-12 Andreas Jaeger <aj@suse.de>
1868
1869 * po/ia.po: Update Interlingua translation from translation
1870 project.
1871
25061094
SP
18722013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 * include/fenv.h: Include stdbool.h.
1875 (struct rm_ctx): New structure.
1876 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1877 Define macro.
1878 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1879 (SET_RESTORE_ROUNDF): Likewise.
1880 (SET_RESTORE_ROUNDL): Likewise.
1881 (SET_RESTORE_ROUND_NOEX): Likewise.
1882 (SET_RESTORE_ROUND_NOEXF): Likewise.
1883 (SET_RESTORE_ROUND_NOEXL): Likewise.
1884 (SET_RESTORE_ROUND_53BIT): Likewise.
1885 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1886 (libc_feresetround_noexf_ctx): Likewise.
1887 (libc_feresetround_noexl_ctx): Likewise.
1888 (libc_feholdsetround_53bit_ctx): Likewise.
1889 (libc_feresetround_53bit_ctx): Likewise.
1890 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1891 (libc_feholdexcept_setround_sse_ctx): New function.
1892 (libc_fesetenv_sse_ctx): Likewise.
1893 (libc_feupdateenv_sse_ctx): Likewise.
1894 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1895 (libc_feholdexcept_setround_387_ctx): Likewise.
1896 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1897 (libc_feholdsetround_387_prec_ctx): Likewise.
1898 (libc_feholdsetround_387_ctx): Likewise.
1899 (libc_feholdsetround_387_53bit_ctx): Likewise.
1900 (libc_feholdsetround_sse_ctx): Likewise.
1901 (libc_feresetround_sse_ctx): Likewise.
1902 (libc_feresetround_387_ctx): Likewise.
1903 (libc_feupdateenv_387_ctx): Likewise.
1904 (libc_feholdexcept_setroundf_ctx): Define macro.
1905 (libc_fesetenvf_ctx): Likewise.
1906 (libc_feupdateenvf_ctx): Likewise.
1907 (libc_feholdsetroundf_ctx): Likewise.
1908 (libc_feresetroundf_ctx): Likewise.
1909 (libc_feholdexcept_setround_ctx): Likewise.
1910 (libc_fesetenv_ctx): Likewise.
1911 (libc_feupdateenv_ctx): Likewise.
1912 (libc_feholdsetround_ctx): Likewise.
1913 (libc_feresetround_ctx): Likewise.
1914 (libc_feholdexcept_setroundl_ctx): Likewise.
1915 (libc_feupdateenvl_ctx): Likewise.
1916 (libc_feholdsetroundl_ctx): Likewise.
1917 (libc_feresetroundl_ctx): Likewise.
1918 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1919 (libc_feresetround_53bit_ctx): Likewise.
1920
59b30555
SP
19212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1922
1923 * locale/iso-639.def: Convert to UTF-8.
1924
f1d73d30
JM
19252013-06-11 Joseph Myers <joseph@codesourcery.com>
1926
1927 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1928 (EXCEPTION_TESTS_double): Likewise.
1929 (EXCEPTION_TESTS_long_double): Likewise.
1930 (EXCEPTION_TESTS): Likewise.
1931 * math/libm-test.inc (test_exceptions): Only test exceptions if
1932 EXCEPTION_TESTS (FLOAT).
1933
94aca5e7
SP
19342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1935
1936 * benchtests/Makefile (string-bench): Add strcpy_chk and
1937 stpcpy_chk.
1938 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1939 * benchtests/bench-stpcpy_chk.c: New file.
1940 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1941 * benchtests/bench-strcpy_chk.c: New file.
1942 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1943 code.
1944 (do_test): Likewise.
1945
fac0c5f2
RA
19462013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1947
1948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1949 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1950 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1951 with tabs where appropriate.
1952 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1953 dl-procinfo.h.
1954 [PPC_PLATFORM_PPC440]: Likewise.
1955 [PPC_PLATFORM_PPC464]: Likewise.
1956 [PPC_PLATFORM_PPC476]: Likewise.
1957 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1958 ppc464, and ppc476 platform strings merging from ports/
1959 dl-procinfo.h.
1960
f22bc486
AS
19612013-06-11 Andreas Schwab <schwab@suse.de>
1962
1963 [BZ #14991]
1964 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1965 (from_ucs4_idx): Regenerate.
1966 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1967 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1968 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1969 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1970 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1971 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1972 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1973 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1974 from FROM_LOOP and TO_LOOP specific macros.
1975 (BODY): Handle combining characters.
1976 * iconvdata/BIG5HKSCS.irreversible: Update.
1977 * iconvdata/BIG5HKSCS.precomposed: New file.
1978 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1979 characters.
1980 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1981
c1f75dc3
SP
19822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1983
4eacded2
SP
1984 * include/sys/time.h: Fix indentation and add copyright header.
1985
fec799f8
SP
1986 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1987 (do_test): Likewise.
1988 * string/test-memchr.c (do_one_test): Likewise.
1989 (do_test): Likewise.
1990 * string/test-memcmp.c (do_one_test): Likewise.
1991 (do_test): Likewise.
1992 * string/test-memcpy.c (do_one_test): Likewise.
1993 (do_test): Likewise.
1994 * string/test-memmem.c (do_one_test): Likewise.
1995 (do_test): Likewise.
1996 (do_random_tests): Likewise.
1997 * string/test-memmove.c (do_one_test): Likewise.
1998 (do_test): Likewise.
1999 * string/test-memset.c (do_one_test): Likewise.
2000 (do_test): Likewise.
2001 * string/test-rawmemchr.c (do_one_test): Likewise.
2002 (do_test): Likewise.
2003 * string/test-strcasecmp.c (do_one_test): Likewise.
2004 (do_test): Likewise.
2005 * string/test-strcasestr.c (do_one_test): Likewise.
2006 (do_test): Likewise.
2007 * string/test-strcat.c (do_one_test): Likewise.
2008 (do_test): Likewise.
2009 * string/test-strchr.c (do_one_test): Likewise.
2010 (do_test): Likewise.
2011 * string/test-strcmp.c (do_one_test): Likewise.
2012 (do_test): Likewise.
2013 * string/test-strcpy.c (do_one_test): Likewise.
2014 (do_test): Likewise.
2015 * string/test-string.h: Likewise.
2016 (test_init): Likewise.
2017 * string/test-strlen.c (do_one_test): Likewise.
2018 (do_test): Likewise.
2019 * string/test-strncasecmp.c (do_one_test): Likewise.
2020 (do_test): Likewise.
2021 * string/test-strncat.c (do_one_test): Likewise.
2022 (do_test): Likewise.
2023 * string/test-strncmp.c (do_one_test): Likewise.
2024 (do_test_limit): Likewise.
2025 (do_test): Likewise.
2026 * string/test-strncpy.c (do_one_test): Likewise.
2027 (do_test): Likewise.
2028 * string/test-strnlen.c (do_one_test): Likewise.
2029 (do_test): Likewise.
2030 * string/test-strpbrk.c (do_one_test): Likewise.
2031 (do_test): Likewise.
2032 * string/test-strrchr.c (do_one_test): Likewise.
2033 (do_test): Likewise.
2034 * string/test-strspn.c (do_one_test): Likewise.
2035 (do_test): Likewise.
2036 * string/test-strstr.c (do_one_test): Likewise.
2037 (do_test): Likewise.
2038
97020474
SP
2039 * benchtests/Makefile (string-bench): Add string benchmarks.
2040 * benchtests/bench-bcopy-ifunc.c: New file.
2041 * benchtests/bench-bcopy.c: New file.
2042 * benchtests/bench-bzero-ifunc.c: New file.
2043 * benchtests/bench-bzero.c: New file.
2044 * benchtests/bench-memccpy-ifunc.c: New file.
2045 * benchtests/bench-memccpy.c: New file.
2046 * benchtests/bench-memchr-ifunc.c: New file.
2047 * benchtests/bench-memchr.c: New file.
2048 * benchtests/bench-memcmp-ifunc.c: New file.
2049 * benchtests/bench-memcmp.c: New file.
2050 * benchtests/bench-memmem-ifunc.c: New file.
2051 * benchtests/bench-memmem.c: New file.
2052 * benchtests/bench-memmove-ifunc.c: New file.
2053 * benchtests/bench-memmove.c: New file.
2054 * benchtests/bench-mempcpy-ifunc.c: New file.
2055 * benchtests/bench-mempcpy.c: New file.
2056 * benchtests/bench-memset-ifunc.c: New file.
2057 * benchtests/bench-memset.c: New file.
2058 * benchtests/bench-rawmemchr-ifunc.c: New file.
2059 * benchtests/bench-rawmemchr.c: New file.
2060 * benchtests/bench-stpcpy-ifunc.c: New file.
2061 * benchtests/bench-stpcpy.c: New file.
2062 * benchtests/bench-stpncpy-ifunc.c: New file.
2063 * benchtests/bench-stpncpy.c: New file.
2064 * benchtests/bench-strcasecmp-ifunc.c: New file.
2065 * benchtests/bench-strcasecmp.c: New file.
2066 * benchtests/bench-strcasestr-ifunc.c: New file.
2067 * benchtests/bench-strcasestr.c: New file.
2068 * benchtests/bench-strcat-ifunc.c: New file.
2069 * benchtests/bench-strcat.c: New file.
2070 * benchtests/bench-strchr-ifunc.c: New file.
2071 * benchtests/bench-strchr.c: New file.
2072 * benchtests/bench-strchrnul-ifunc.c: New file.
2073 * benchtests/bench-strchrnul.c: New file.
2074 * benchtests/bench-strcmp-ifunc.c: New file.
2075 * benchtests/bench-strcmp.c: New file.
2076 * benchtests/bench-strcpy-ifunc.c: New file.
2077 * benchtests/bench-strcpy.c: New file.
2078 * benchtests/bench-strcspn-ifunc.c: New file.
2079 * benchtests/bench-strcspn.c: New file.
2080 * benchtests/bench-strlen-ifunc.c: New file.
2081 * benchtests/bench-strlen.c: New file.
2082 * benchtests/bench-strncasecmp-ifunc.c: New file.
2083 * benchtests/bench-strncasecmp.c: New file.
2084 * benchtests/bench-strncat-ifunc.c: New file.
2085 * benchtests/bench-strncat.c: New file.
2086 * benchtests/bench-strncmp-ifunc.c: New file.
2087 * benchtests/bench-strncmp.c: New file.
2088 * benchtests/bench-strncpy-ifunc.c: New file.
2089 * benchtests/bench-strncpy.c: New file.
2090 * benchtests/bench-strnlen-ifunc.c: New file.
2091 * benchtests/bench-strnlen.c: New file.
2092 * benchtests/bench-strpbrk-ifunc.c: New file.
2093 * benchtests/bench-strpbrk.c: New file.
2094 * benchtests/bench-strrchr-ifunc.c: New file.
2095 * benchtests/bench-strrchr.c: New file.
2096 * benchtests/bench-strspn-ifunc.c: New file.
2097 * benchtests/bench-strspn.c: New file.
2098 * benchtests/bench-strstr-ifunc.c: New file.
2099 * benchtests/bench-strstr.c: New file.
2100
c1f75dc3
SP
2101 * benchtests/Makefile: Disable parallel execution of targets.
2102 (string-bench): Add memcpy.
2103 (benchset): New variable to store a list of benchmark sets.
2104 (bench-func): Renamed from bench.
2105 (bench-set): New target.
2106 (bench): Depend on bench-func and bench-set.
2107 * benchtests/README: Add section on benchmark sets.
2108 * benchtests/bench-memcpy-ifunc.c: New file.
2109 * benchtests/bench-memcpy.c: New file.
2110 * benchtests/bench-string.h: New file.
2111
50fd745b
AS
21122013-06-11 Andreas Schwab <schwab@suse.de>
2113
2114 [BZ #15577]
2115 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2116 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2117 values in the triple.
2118 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2119 terminator in the group key.
2120
3ee7e9fe
AJ
21212013-06-11 Andreas Jaeger <aj@suse.de>
2122
2123 * po/zh_TW.po: Update Chinese (traditional) translation from
2124 translation project.
2125
89fb6835
SP
21262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2127
2128 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2129 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2130 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2132 (clock_getcpuclockid): Likewise.
2133 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2134 Add weak_alias and libc_hidden_def.
2135 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2136 * rt/clock_gettime.c (clock_gettime): Rename to
2137 __clock_gettime. Add weak_alias and libc_hidden_def.
2138 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2139 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2140 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2141 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2142 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2143 Likewise.
2144 * rt/clock_settime.c (clock_settime): Rename to
2145 __clock_settime. Add weak_alias and libc_hidden_def.
2146 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2147
0efa6f8b
JM
21482013-06-10 Joseph Myers <joseph@codesourcery.com>
2149
b8c61b4b
JM
2150 * mach/err_boot.sub: Remove trailing whitespace.
2151 * mach/err_ipc.sub: Likewise.
2152 * mach/err_mach.sub: Likewise.
2153
0efa6f8b
JM
2154 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2155 (ROUNDING_TESTS_double): Likewise.
2156 (ROUNDING_TESTS_long_double): Likewise.
2157 (ROUNDING_TESTS): Likewise.
2158 * math/libm-test.inc: Include <math-tests.h>.
2159 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2160 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2161 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2162 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2163
50b818bf
SP
21642013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2165
2166 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2167 of assigning.
2168
60d2f8f3
JM
21692013-06-08 Joseph Myers <joseph@codesourcery.com>
2170
4902d2c3
JM
2171 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2172 otherwise empty TRANS lines.
2173 * sysdeps/gnu/errlist.c: Regenerated.
2174
60d2f8f3
JM
2175 * catgets/gencat.c (error_print): Use (void) in function
2176 definition.
2177 * crypt/crypt_util.c (__init_des): Likewise.
2178 * crypt/speeds.c (Stop): Likewise.
2179 (main): Likewise.
2180 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2181 * inet/ruserpass.c (token): Likewise.
2182 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2183 * intl/localealias.c (extend_alias_table): Likewise.
2184 * intl/plural-exp.c (init_germanic_plural): Likewise.
2185 * libio/fcloseall.c (__fcloseall): Likewise.
2186 * libio/genops.c (_IO_flush_all): Likewise.
2187 (_IO_flush_all_linebuffered): Likewise.
2188 (_IO_cleanup): Likewise.
2189 (_IO_iter_begin): Likewise.
2190 (_IO_iter_end): Likewise.
2191 (_IO_list_lock): Likewise.
2192 (_IO_list_unlock): Likewise.
2193 (_IO_list_resetlock): Likewise.
2194 * libio/getchar.c (getchar): Likewise.
2195 * libio/getchar_u.c (getchar_unlocked): Likewise.
2196 * libio/getwchar.c (getwchar): Likewise.
2197 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2198 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2199 * login/getpt.c (__getpt): Likewise.
2200 * login/tst-utmp.c (main): Likewise.
2201 * malloc/hooks.c (__malloc_check_init): Likewise.
2202 * malloc/malloc.c (__malloc_stats): Likewise.
2203 * malloc/mtrace.c (tr_break): Likewise.
2204 (mtrace): Likewise.
2205 (muntrace): Likewise.
2206 * misc/fstab.c (endfsent): Likewise.
2207 * misc/getclktck.c (__getclktck): Likewise.
2208 * misc/getdtsz.c (__getdtablesize): Likewise.
2209 * misc/gethostid.c (gethostid): Likewise.
2210 * misc/getpagesize.c (__getpagesize): Likewise.
2211 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2212 (__get_nprocs): Likewise.
2213 (__get_phys_pages): Likewise.
2214 (__get_avphys_pages): Likewise.
2215 * misc/getttyent.c (getttyent): Likewise.
2216 (setttyent): Likewise.
2217 (endttyent): Likewise.
2218 * misc/getusershell.c (getusershell): Likewise.
2219 (endusershell): Likewise.
2220 (setusershell): Likewise.
2221 (initshells): Likewise.
2222 * misc/hsearch.c (__hdestroy): Likewise.
2223 * misc/sync.c (sync): Likewise.
2224 * misc/syslog.c (closelog_internal): Likewise.
2225 (closelog): Likewise.
2226 * misc/ttyslot.c (ttyslot): Likewise.
2227 * misc/vhangup.c (vhangup): Likewise.
2228 * posix/fork.c (__fork): Likewise.
2229 * posix/getegid.c (__getegid): Likewise.
2230 * posix/geteuid.c (__geteuid): Likewise.
2231 * posix/getgid.c (__getgid): Likewise.
2232 * posix/getpid.c (__getpid): Likewise.
2233 * posix/getppid.c (__getppid): Likewise.
2234 * posix/getuid.c (__getuid): Likewise.
2235 * posix/pause.c (pause): Likewise.
2236 * posix/setpgrp.c (setpgrp): Likewise.
2237 * posix/setsid.c (__setsid): Likewise.
2238 * posix/test-vfork.c (noop): Likewise.
2239 * resolv/gethnamaddr.c (_endhtent): Likewise.
2240 (_gethtent): Likewise.
2241 (ht_endhostent): Likewise.
2242 (gethostent): Likewise.
2243 (dns_service): Likewise.
2244 * stdlib/drand48.c (drand48): Likewise.
2245 * stdlib/lrand48.c (lrand48): Likewise.
2246 * stdlib/mrand48.c (mrand48): Likewise.
2247 * stdlib/rand.c (rand): Likewise.
2248 * stdlib/random.c (__random): Likewise.
2249 * stdlib/setenv.c (clearenv): Likewise.
2250 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2251 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2252 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2253 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2254 (__get_nprocs): Likewise.
2255 (__get_phys_pages): Likewise.
2256 (__get_avphys_pages): Likewise.
2257 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2258 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2259 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2260 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2261 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2262 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2263 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2264 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2265 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2266 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2267 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2268 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2269 * sysdeps/posix/clock.c (clock): Likewise.
2270 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2271 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2272 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2273 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2274 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2276 (__get_nprocs_conf): Likewise.
2277 (__get_phys_pages): Likewise.
2278 (__get_avphys_pages): Likewise.
2279 * time/clock.c (clock): Likewise.
2280 * time/tzset.c (__tzname_max): Likewise.
2281
2e09a79a
JM
22822013-06-07 Joseph Myers <joseph@codesourcery.com>
2283
2284 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2285 (__bswap_32): Do not use "register".
2286 * crypt/crypt.c (_ufc_doit_r): Likewise.
2287 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2288 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2289 * gmon/gmon.c (__monstartup): Likewise.
2290 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2291 * hurd/hurdmalloc.c (more_memory): Likewise.
2292 (malloc): Likewise.
2293 (free): Likewise.
2294 (realloc): Likewise.
2295 (malloc_fork_prepare): Likewise.
2296 (malloc_fork_parent): Likewise.
2297 (malloc_fork_child): Likewise.
2298 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2299 (_svcauth_des): Likewise.
2300 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2301 * inet/inet_net.c (inet_network): Likewise.
2302 * inet/inet_netof.c (inet_netof): Likewise.
2303 * inet/rcmd.c (__validuser2_sa): Likewise.
2304 * io/fts.c (fts_open): Likewise.
2305 (fts_load): Likewise.
2306 (fts_close): Likewise.
2307 (fts_read): Likewise.
2308 (fts_children): Likewise.
2309 (fts_build): Likewise.
2310 (fts_stat): Likewise.
2311 (fts_sort): Likewise.
2312 (fts_alloc): Likewise.
2313 (fts_lfree): Likewise.
2314 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2315 (_IO_file_xsgetn): Likewise.
2316 (_IO_file_xsgetn_mmap): Likewise.
2317 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2318 (_IO_cookie_write): Likewise.
2319 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2320 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2321 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2322 * malloc/obstack.c (_obstack_begin): Likewise.
2323 (_obstack_begin_1): Likewise.
2324 (_obstack_newchunk): Likewise.
2325 (_obstack_allocated_p): Likewise.
2326 (obstack_free): Likewise.
2327 (_obstack_memory_used): Likewise.
2328 * misc/getttyent.c (getttynam): Likewise.
2329 (getttyent): Likewise.
2330 (skip): Likewise.
2331 (value): Likewise.
2332 * misc/getusershell.c (initshells): Likewise.
2333 * misc/syslog.c (__vsyslog_chk): Likewise.
2334 * misc/ttyslot.c (ttyslot): Likewise.
2335 * nis/nis_hash.c (__nis_hash): Likewise.
2336 * posix/fnmatch_loop.c (FCT): Likewise.
2337 * posix/getconf.c (print_all): Likewise.
2338 (main): Likewise.
2339 * posix/getopt.c (exchange): Likewise.
2340 * posix/glob.c (globfree): Likewise.
2341 (prefix_array): Likewise.
2342 (__glob_pattern_type): Likewise.
2343 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2344 (NS_GET32): Likewise.
2345 (NS_PUT16): Likewise.
2346 (NS_PUT32): Likewise.
2347 * resolv/gethnamaddr.c (getanswer): Likewise.
2348 (gethostbyname2): Likewise.
2349 (gethostbyaddr): Likewise.
2350 (_gethtent): Likewise.
2351 (_gethtbyname2): Likewise.
2352 (_gethtbyaddr): Likewise.
2353 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2354 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2355 * resolv/res_init.c (__res_vinit): Likewise.
2356 (net_mask): Likewise.
2357 * resolv/res_mkquery.c (outchar): Likewise.
2358 (PRINT): Likewise.
2359 * stdio-common/printf_fp.c (outchar): Likewise.
2360 (PRINT): Likewise.
2361 * stdio-common/printf_fphex.c (outchar): Likewise.
2362 (PRINT): Likewise.
2363 * stdio-common/printf_size.c (outchar): Likewise.
2364 (PRINT): Likewise.
2365 * stdio-common/test_rdwr.c (main): Likewise.
2366 * stdio-common/tfformat.c (matches): Likewise.
2367 * stdio-common/vfprintf.c (outchar): Likewise.
2368 (printf_unknown): Likewise.
2369 (buffered_vfprintf): Likewise.
2370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2371 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2372 (ReadFile): Likewise.
2373 * stdlib/qsort.c (SWAP): Likewise.
2374 (_quicksort): Likewise.
2375 * stdlib/setenv.c (__add_to_environ): Likewise.
2376 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2377 * stdlib/strtol_l.c (__strtol_l): Likewise.
2378 * stdlib/tst-strtod.c (main): Likewise.
2379 * stdlib/tst-strtol.c (main): Likewise.
2380 * stdlib/tst-strtoll.c (main): Likewise.
2381 * string/bits/string2.h (__strcmp_cc): Likewise.
2382 (__strcmp_cg): Likewise.
2383 (__strcspn_c1): Likewise.
2384 (__strcspn_c2): Likewise.
2385 (__strcspn_c3): Likewise.
2386 (__strspn_c1): Likewise.
2387 (__strspn_c2): Likewise.
2388 (__strspn_c3): Likewise.
2389 (__strsep_1c): Likewise.
2390 (__strsep_2c): Likewise.
2391 (__strsep_3c): Likewise.
2392 * string/memccpy.c (__memccpy): Likewise.
2393 * string/stpcpy.c (__stpcpy): Likewise.
2394 * string/strcmp.c (strcmp): Likewise.
2395 * string/strrchr.c (strrchr): Likewise.
2396 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2397 Likewise.
2398 * sysdeps/mach/hurd/getcwd.c
2399 (_hurd_canonicalize_directory_name_internal): Likewise.
2400 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2401 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2403 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2404 Likewise, in both definitions.
2405 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2406 definitions.
2407 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2408 64] (__bswap_64): Likewise.
2409 * time/test_time.c (main): Likewise.
2410 * time/tzfile.c (__tzfile_read): Likewise.
2411 (__tzfile_compute): Likewise.
2412 * time/tzset.c (__tzset_parse_tz): Likewise.
2413 (tzset_internal): Likewise.
2414 (compute_change): Likewise.
2415 * wcsmbs/wcscat.c (__wcscat): Likewise.
2416 * wcsmbs/wcschr.c (wcschr): Likewise.
2417 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2418 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2419 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2420 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2421 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2422 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2423 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2424 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2425 * wcsmbs/wmemset.c (wmemset): Likewise.
2426
9e54314b
JM
24272013-06-06 Joseph Myers <joseph@codesourcery.com>
2428
2429 * scripts/config.guess: Update to version 2013-05-16.
2430 * scripts/config.sub: Update to version 2013-04-24.
2431 * scripts/install-sh: Update to version 2011-11-20.07.
2432 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2433 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2434
350635a5
OB
24352013-06-06 Ondřej Bílka <neleai@seznam.cz>
2436
2437 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2438 * elf/sln.c: Likewise.
2439 * hurd/hurd/ioctl.h: Likewise.
2440 * hurd/hurdmalloc.c: Likewise.
2441 * hurd/xattr.c: Likewise.
2442 * include/shlib-compat.h: Likewise.
2443 * inet/ruserpass.c: Likewise.
2444 * libio/iofgets_u.c: Likewise.
2445 * libio/iofgetws_u.c: Likewise.
2446 * locale/programs/ld-identification.c: Likewise.
2447 * locale/programs/ld-time.c: Likewise.
2448 * mach/msg-destroy.c: Likewise.
2449 * nss/nss_files/files-netgrp.c: Likewise.
2450 * resolv/res_data.c: Likewise.
2451 * soft-fp/op-1.h: Likewise.
2452 * soft-fp/op-2.h: Likewise.
2453 * soft-fp/op-4.h: Likewise.
2454 * soft-fp/op-common.h: Likewise.
2455 * stdio-common/printf_fphex.c: Likewise.
2456 * stdlib/strtod_l.c: Likewise.
2457 * sunrpc/rpc/clnt.h: Likewise.
2458 * sysdeps/generic/framestate.c: Likewise.
2459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2460 * sysdeps/i386/bsd-setjmp.S: Likewise.
2461 * sysdeps/i386/__longjmp.S: Likewise.
2462 * sysdeps/i386/setjmp.S: Likewise.
2463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2464 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2481 * sysdeps/ieee754/support.c: Likewise.
2482 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2483 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2484 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2485 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2486 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2487 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2488 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2489 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2490 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2491 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2492 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2493 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2497 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2498 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2500
44a988af
OB
25012013-06-05 Ondřej Bílka <neleai@seznam.cz>
2502
25506f09 2503 * posix/transbug.c: Remove executable mode.
44a988af 2504
9c84384c
JM
25052013-06-05 Joseph Myers <joseph@codesourcery.com>
2506
2507 * crypt/speeds.c: Remove trailing whitespace.
2508 * dlfcn/default.c: Likewise.
2509 * elf/ifuncdep2.c: Likewise.
2510 * elf/ifuncmain1.c: Likewise.
2511 * elf/ifuncmain1vis.c: Likewise.
2512 * elf/testobj.h: Likewise.
2513 * elf/tst-stackguard1.c: Likewise.
2514 * gmon/sys/gmon.h: Likewise.
2515 * hurd/hurdmsg.c: Likewise.
2516 * hurd/new-fd.c: Likewise.
2517 * hurd/ports-get.c: Likewise.
2518 * iconvdata/ibm1008_420.c: Likewise.
2519 * inet/tst-getni1.c: Likewise.
2520 * inet/tst-getni2.c: Likewise.
2521 * libio/ioungetc.c: Likewise.
2522 * libio/wfiledoalloc.c: Likewise.
2523 * manual/libm-err-tab.pl: Likewise.
2524 * math/w_dremf.c: Likewise.
2525 * misc/ftruncate.c: Likewise.
2526 * posix/bug-glob2.c: Likewise.
2527 * posix/tst-pcre.c: Likewise.
2528 * posix/wait4.c: Likewise.
2529 * resolv/README: Likewise.
2530 * resolv/res_debug.h: Likewise.
2531 * resolv/tst-inet_ntop.c: Likewise.
2532 * setjmp/bug269-setjmp.c: Likewise.
2533 * soft-fp/extended.h: Likewise.
2534 * soft-fp/op-1.h: Likewise.
2535 * soft-fp/op-2.h: Likewise.
2536 * soft-fp/op-4.h: Likewise.
2537 * soft-fp/op-8.h: Likewise.
2538 * soft-fp/testit.c: Likewise.
2539 * stdio-common/bug16.c: Likewise.
2540 * stdlib/random.c: Likewise.
2541 * sunrpc/rpcsvc/rquota.x: Likewise.
2542 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2564 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2571 * sysdeps/ieee754/s_lib_version.c: Likewise.
2572 * sysdeps/mach/hurd/check_fds.c: Likewise.
2573 * sysdeps/mach/hurd/getsockname.c: Likewise.
2574 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2575 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2576 * sysdeps/powerpc/bits/link.h: Likewise.
2577 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2578 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2579 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2580 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2581 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2582 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2583 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2584 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2585 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2587 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2614 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2615 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2616 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2617 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2631 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2641 * sysdeps/powerpc/sysdep.h: Likewise.
2642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2643 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2644 * sysdeps/sh/dl-trampoline.S: Likewise.
2645 * sysdeps/sh/memset.S: Likewise.
2646 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2647 * sysdeps/sh/strlen.S: Likewise.
2648 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2649 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2650 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2651 * sysdeps/sparc/sparc32/rem.S: Likewise.
2652 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2653 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2654 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2655 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2656 * sysdeps/sparc/sparc32/urem.S: Likewise.
2657 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2659 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2660 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2662 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2663 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2664 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2665 * sysdeps/unix/bsd/times.c: Likewise.
2666 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2667 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2671 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2673 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2675 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2677 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2678 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2681 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2683 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2684 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2685 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2686 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2687 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2689 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2690 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2691 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2692 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2694 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2695 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2696 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2697 * sysdeps/x86_64/strcspn.S: Likewise.
2698
869378a5
RA
26992013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2700
2701 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2702 generated file. Regenerate properly from gen-translit.pl.
2703 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2704 locale/C-translit.h.
2705
840e2943
AS
27062013-06-05 Andreas Schwab <schwab@suse.de>
2707
2708 [BZ #15100]
2709 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2710 week as 6 instead of -1.
2711 * time/tst-strptime.c (day_tests): Add test case.
2712
4c60cb0c
SP
27132013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2714
2715 * sysdeps/generic/math_private.h
2716 (libc_feholdexcept_setround_53bit): Replace with
2717 libc_feholdsetround_53bit.
2718 (libc_feupdateenv_53bit): Replace with
2719 libc_feresetround_53bit.
2720 (SET_RESTORE_ROUND_53BIT): Adjust.
2721
d180203e
SP
27222013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2723
96df079a
SP
2724 * string/test-strchrnul.c: Add copyright header.
2725
d180203e
SP
2726 * posix/tst-getaddrinfo4.c: Increase test timeout.
2727
8b0ccb2d
CD
27282013-06-03 Carlos O'Donell <carlos@redhat.com>
2729
2730 [BZ #15536]
2731 * math/libm-test.inc (MAX_EXP): Remove
2732 (MIN_EXP): Define.
2733 (ulp): Use MIN_EXP - MANT_DIG.
2734 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2735
3b3c4d40
CD
27362013-05-31 Carlos O'Donell <carlos@redhat.com>
2737
2738 * po/be.po: Revert last change.
2739 * po/zh_CN.po: Likewise.
2740 * po/header.pot: Likewise.
2741
fab7ce3f
JM
27422013-05-31 Joseph Myers <joseph@codesourcery.com>
2743
2744 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2745 link-libc-deps to empty as target-specific variable.
2746 * Makerules (link-libc-args): New variable.
2747 (libc-for-link): Likewise.
2748 (link-libc-deps): Likewise.
2749 (lib%.so): Depend on $(link-libc-deps). Link with
2750 $(link-libc-args).
2751 (build-module): Link with $(link-libc-args).
2752 (build-module-asneeded): Likewise.
2753 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2754 list of objects.
2755 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2756 target-specific variable.
2757 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2758 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2759 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2760 libc.
2761 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2762 libc and ld.so.
2763 ($(objpfx)libpcprofile.so): Likewise.
2764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2765 libc_nonshared.a.
2766 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2767 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2768 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2769 $(link-libc-deps).
2770 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2771 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2772 * login/Makefile ($(objpfx)libutil.so): Likewise.
2773 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2774 * math/Makefile ($(objpfx)libm.so): Likewise.
2775 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2776 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2777 variable instead of depending directly on libc.
2778 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2779 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2780 $(link-libc-deps).
2781 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2782 libc.
2783 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2784 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2785 ($(objpfx)libanl.so): Likewise.
2786 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2787 ld.so.
2788 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2789 $(link-libc-deps).
2790 * sysdeps/i386/fpu/Makefile: Remove file.
2791 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2792 ($(objpfx)libm.so): Remove dependency on ld.so.
2793
eca5920c
PF
27942013-05-30 Patsy Franklin <pfrankli@redhat.com>
2795
2796 [BZ # 15553]
2797 * nis/yp_xdr.c (XDRMAXNAME): Define.
2798 (XDRMAXRECORD): Define.
2799 (xdr_domainname): Use XDRMAXNAME.
2800 (xdr_mapname): Likewise.
2801 (xdr_peername): Likewise.
2802 (xdr_keydat): Use XDRMAXRECORD.
2803 (xdr_valdat): Likewise.
2804
28052013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2806
2807 [BZ #14256]
2808 * manual/errno.texi (ESTALE): Update to account for more than
2809 just NFS file systems.
2810 * sysdeps/gnu/errlist.c: Regenerated.
2811
b9375348
SP
28122013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2813
2814 [BZ #15465]
2815 * elf/Makefile (tests): Add tst-null-argv.
2816 (modules-names): Add tst-null-argv-lib.
2817 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2818 (tst-null-argv-ENV): Set environment for tst-null-argv.
2819 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2820 (RTLD_PROGNAME): New macro.
2821 * elf/tst-null-argv.c: New test case.
2822 * elf/tst-null-argv-lib.c: Library for test case.
2823 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2824 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2825 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2826 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2827 * elf/dl-init.c (call_init): Likewise.
2828 (_dl_init): Likewise.
2829 * elf/dl-load.c (print_search_path): Likewise.
2830 (_dl_map_object): Likewise.
2831 * elf/dl-lookup.c (do_lookup_x): Likewise.
2832 (add_dependency): Likewise.
2833 (_dl_lookup_symbol_x): Likewise.
2834 (_dl_debug_bindings): Likewise.
2835 * elf/dl-open.c (_dl_show_scope): Likewise.
2836 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2837 * elf/dl-version.c (match_symbol): Likewise.
2838 (_dl_check_map_versions): Likewise.
2839 * elf/rtld.c (dl_main): Likewise.
2840 (print_unresolved): Use RTLD_PROGNAME.
2841 (print_missing_version): Likewise.
2842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2843 (elf_machine_rela): Likewise.
2844 * sysdeps/powerpc/powerpc32/dl-machine.c
2845 (__process_machine_rela): Likewise.
2846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2847 Likewise.
2848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2849 Likewise.
2850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2851 Likewise.
2852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2854 Likewise.
2855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2856 Likewise.
2857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2858
8a9f20c8
CD
28592013-05-28 Carlos O'Donell <carlos@redhat.com>
2860
2861 * po/be.po: Add descriptive title.
2862 * po/zh_CN.po: Likewise.
2863 * po/header.pot: Likewise.
2864
0e60d68e
MF
28652013-05-28 Mike Frysinger <vapier@gentoo.org>
2866
2867 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2868 error message.
2869 (enlarge_archive): Likewise.
2870
56b672e9
BN
28712013-05-28 Ben North <ben@redfrontdoor.org>
2872
2873 * manual/arith.texi (frexp): It is the magnitude of the return
2874 value which lies in [0.5, 1), not the return value itself.
2875
5e056687
AZ
28762013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2877
2878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2879
2b66ef5d
TS
28802013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2881
528c2405
TS
2882 * stdio-common/bug26.c (main): Correct fscanf template.
2883
07b4c13d
TS
2884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2885 declare _dl_skip_args.
2886
ec9dd97c
TS
2887 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2888 Don't declare.
2889
2b66ef5d
TS
2890 * manual/platform.texi: Add missing @end deftypefun.
2891
4f8dfe27
JM
28922013-05-24 Joseph Myers <joseph@codesourcery.com>
2893
0323d086
JM
2894 [BZ #15529]
2895 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2896 bit of mantissa of 2^16382.
2897 * math/libm-test.inc (hypot_test_data): Add more tests.
2898
dd4259b9
JM
2899 * math/libm-test.inc: Add drem and pow10 to list of tested
2900 functions.
2901 (pow10_test): New function.
2902 (drem_test): Likewise.
2903 (drem_test_tonearest): Likewise.
2904 (drem_test_towardzero): Likewise.
2905 (drem_test_downward): Likewise.
2906 (drem_test_upward): Likewise.
2907 (main): Call the new functions.
2908
4f8dfe27
JM
2909 * math/libm-test.inc (finite_test_data): Remove.
2910 (finite_test): Run tests from isfinite_test_data.
2911 (gamma_test_data): Remove.
2912 (gamma_test): Run tests from lgamma_test_data.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915
d116b7c4
AZ
29162013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * manual/platform.texi: Add PowerPC PPR function set documentation.
2919 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2920 implementation.
2921
e96e3767
CD
29222013-05-24 Carlos O'Donell <carlos@redhat.com>
2923
2924 * math/libm-test.inc (MAX_EXP): Define.
2925 (ULPDIFF): Define.
2926 (ulp): New function.
2927 (check_float_internal): Use ULPDIFF.
2928 (cpow_test): Disable failing test.
2929 (check_ulp): Test ulp() implemetnation.
2930 (main): Call check_ulp before starting tests.
2931
b679a606
JM
29322013-05-24 Joseph Myers <joseph@codesourcery.com>
2933
e8bdba36
JM
2934 * math/gen-libm-test.pl (generate_testfile): Do not handle
2935 START_DATA and END_DATA.
2936 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2937 END_DATA.
2938 (acos_tonearest_test_data): Likewise.
2939 (acos_towardzero_test_data): Likewise.
2940 (acos_downward_test_data): Likewise.
2941 (acos_upward_test_data): Likewise.
2942 (acosh_test_data): Likewise.
2943 (asin_test_data): Likewise.
2944 (asin_tonearest_test_data): Likewise.
2945 (asin_towardzero_test_data): Likewise.
2946 (asin_downward_test_data): Likewise.
2947 (asin_upward_test_data): Likewise.
2948 (asinh_test_data): Likewise.
2949 (atan_test_data): Likewise.
2950 (atanh_test_data): Likewise.
2951 (atan2_test_data): Likewise.
2952 (cabs_test_data): Likewise.
2953 (cacos_test_data): Likewise.
2954 (cacosh_test_data): Likewise.
2955 (carg_test_data): Likewise.
2956 (casin_test_data): Likewise.
2957 (casinh_test_data): Likewise.
2958 (catan_test_data): Likewise.
2959 (catanh_test_data): Likewise.
2960 (cbrt_test_data): Likewise.
2961 (ccos_test_data): Likewise.
2962 (ccosh_test_data): Likewise.
2963 (ceil_test_data): Likewise.
2964 (cexp_test_data): Likewise.
2965 (cimag_test_data): Likewise.
2966 (clog_test_data): Likewise.
2967 (clog10_test_data): Likewise.
2968 (conj_test_data): Likewise.
2969 (copysign_test_data): Likewise.
2970 (cos_test_data): Likewise.
2971 (cos_tonearest_test_data): Likewise.
2972 (cos_towardzero_test_data): Likewise.
2973 (cos_downward_test_data): Likewise.
2974 (cos_upward_test_data): Likewise.
2975 (cosh_test_data): Likewise.
2976 (cosh_tonearest_test_data): Likewise.
2977 (cosh_towardzero_test_data): Likewise.
2978 (cosh_downward_test_data): Likewise.
2979 (cosh_upward_test_data): Likewise.
2980 (cpow_test_data): Likewise.
2981 (cproj_test_data): Likewise.
2982 (creal_test_data): Likewise.
2983 (csin_test_data): Likewise.
2984 (csinh_test_data): Likewise.
2985 (csqrt_test_data): Likewise.
2986 (ctan_test_data): Likewise.
2987 (ctan_tonearest_test_data): Likewise.
2988 (ctan_towardzero_test_data): Likewise.
2989 (ctan_downward_test_data): Likewise.
2990 (ctan_upward_test_data): Likewise.
2991 (ctanh_test_data): Likewise.
2992 (ctanh_tonearest_test_data): Likewise.
2993 (ctanh_towardzero_test_data): Likewise.
2994 (ctanh_downward_test_data): Likewise.
2995 (ctanh_upward_test_data): Likewise.
2996 (erf_test_data): Likewise.
2997 (erfc_test_data): Likewise.
2998 (exp_test_data): Likewise.
2999 (exp_tonearest_test_data): Likewise.
3000 (exp_towardzero_test_data): Likewise.
3001 (exp_downward_test_data): Likewise.
3002 (exp_upward_test_data): Likewise.
3003 (exp10_test_data): Likewise.
3004 (exp2_test_data): Likewise.
3005 (expm1_test_data): Likewise.
3006 (fabs_test_data): Likewise.
3007 (fdim_test_data): Likewise.
3008 (finite_test_data): Likewise.
3009 (floor_test_data): Likewise.
3010 (fma_test_data): Likewise.
3011 (fma_towardzero_test_data): Likewise.
3012 (fma_downward_test_data): Likewise.
3013 (fma_upward_test_data): Likewise.
3014 (fmax_test_data): Likewise.
3015 (fmin_test_data): Likewise.
3016 (fmod_test_data): Likewise.
3017 (fpclassify_test_data): Likewise.
3018 (frexp_test_data): Likewise.
3019 (gamma_test_data): Likewise.
3020 (hypot_test_data): Likewise.
3021 (ilogb_test_data): Likewise.
3022 (isfinite_test_data): Likewise.
3023 (isgreater_test_data): Likewise.
3024 (isgreaterequal_test_data): Likewise.
3025 (isinf_test_data): Likewise.
3026 (isless_test_data): Likewise.
3027 (islessequal_test_data): Likewise.
3028 (islessgreater_test_data): Likewise.
3029 (isnan_test_data): Likewise.
3030 (isnormal_test_data): Likewise.
3031 (issignaling_test_data): Likewise.
3032 (isunordered_test_data): Likewise.
3033 (j0_test_data): Likewise.
3034 (j1_test_data): Likewise.
3035 (jn_test_data): Likewise.
3036 (ldexp_test_data): Likewise.
3037 (lgamma_test_data): Likewise.
3038 (lrint_test_data): Likewise.
3039 (lrint_tonearest_test_data): Likewise.
3040 (lrint_towardzero_test_data): Likewise.
3041 (lrint_downward_test_data): Likewise.
3042 (lrint_upward_test_data): Likewise.
3043 (llrint_test_data): Likewise.
3044 (llrint_tonearest_test_data): Likewise.
3045 (llrint_towardzero_test_data): Likewise.
3046 (llrint_downward_test_data): Likewise.
3047 (llrint_upward_test_data): Likewise.
3048 (log_test_data): Likewise.
3049 (log10_test_data): Likewise.
3050 (log1p_test_data): Likewise.
3051 (log2_test_data): Likewise.
3052 (logb_test_data): Likewise.
3053 (logb_downward_test_data): Likewise.
3054 (lround_test_data): Likewise.
3055 (llround_test_data): Likewise.
3056 (modf_test_data): Likewise.
3057 (nearbyint_test_data): Likewise.
3058 (nextafter_test_data): Likewise.
3059 (nexttoward_test_data): Likewise.
3060 (pow_test_data): Likewise.
3061 (pow_tonearest_test_data): Likewise.
3062 (pow_towardzero_test_data): Likewise.
3063 (pow_downward_test_data): Likewise.
3064 (pow_upward_test_data): Likewise.
3065 (remainder_test_data): Likewise.
3066 (remainder_tonearest_test_data): Likewise.
3067 (remainder_towardzero_test_data): Likewise.
3068 (remainder_downward_test_data): Likewise.
3069 (remainder_upward_test_data): Likewise.
3070 (remquo_test_data): Likewise.
3071 (rint_test_data): Likewise.
3072 (rint_tonearest_test_data): Likewise.
3073 (rint_towardzero_test_data): Likewise.
3074 (rint_downward_test_data): Likewise.
3075 (rint_upward_test_data): Likewise.
3076 (round_test_data): Likewise.
3077 (scalb_test_data): Likewise.
3078 (scalbn_test_data): Likewise.
3079 (scalbln_test_data): Likewise.
3080 (signbit_test_data): Likewise.
3081 (sin_test_data): Likewise.
3082 (sin_tonearest_test_data): Likewise.
3083 (sin_towardzero_test_data): Likewise.
3084 (sin_downward_test_data): Likewise.
3085 (sin_upward_test_data): Likewise.
3086 (sincos_test_data): Likewise.
3087 (sinh_test_data): Likewise.
3088 (sinh_tonearest_test_data): Likewise.
3089 (sinh_towardzero_test_data): Likewise.
3090 (sinh_downward_test_data): Likewise.
3091 (sinh_upward_test_data): Likewise.
3092 (sqrt_test_data): Likewise.
3093 (tan_test_data): Likewise.
3094 (tan_tonearest_test_data): Likewise.
3095 (tan_towardzero_test_data): Likewise.
3096 (tan_downward_test_data): Likewise.
3097 (tan_upward_test_data): Likewise.
3098 (tanh_test_data): Likewise.
3099 (tgamma_test_data): Likewise.
3100 (trunc_test_data): Likewise.
3101 (y0_test_data): Likewise.
3102 (y1_test_data): Likewise.
3103 (yn_test_data): Likewise.
3104 (significand_test_data): Likewise.
3105
b679a606
JM
3106 * math/gen-libm-test.pl (@functions): Remove variable.
3107 (generate_testfile): Don't handle START and END lines.
3108 * math/libm-test.inc (START): New macro.
3109 (END): Likewise.
3110 (END_COMPLEX): Likewise.
3111 (acos_test): Use END macro without arguments.
3112 (acos_test_tonearest): Likewise.
3113 (acos_test_towardzero): Likewise.
3114 (acos_test_downward): Likewise.
3115 (acos_test_upward): Likewise.
3116 (acosh_test): Likewise.
3117 (asin_test): Likewise.
3118 (asin_test_tonearest): Likewise.
3119 (asin_test_towardzero): Likewise.
3120 (asin_test_downward): Likewise.
3121 (asin_test_upward): Likewise.
3122 (asinh_test): Likewise.
3123 (atan_test): Likewise.
3124 (atanh_test): Likewise.
3125 (atan2_test): Likewise.
3126 (cabs_test): Likewise.
3127 (cacos_test): Use END_COMPLEX macro without arguments.
3128 (cacosh_test): Likewise.
3129 (carg_test): Use END macro without arguments.
3130 (casin_test): Use END_COMPLEX macro without arguments.
3131 (casinh_test): Likewise.
3132 (catan_test): Likewise.
3133 (catanh_test): Likewise.
3134 (cbrt_test): Use END macro without arguments.
3135 (ccos_test): Use END_COMPLEX macro without arguments.
3136 (ccosh_test): Likewise.
3137 (ceil_test): Use END macro without arguments.
3138 (cexp_test): Use END_COMPLEX macro without arguments.
3139 (cimag_test): Use END macro without arguments.
3140 (clog_test): Use END_COMPLEX macro without arguments.
3141 (clog10_test): Likewise.
3142 (conj_test): Likewise.
3143 (copysign_test): Use END macro without arguments.
3144 (cos_test): Likewise.
3145 (cos_test_tonearest): Likewise.
3146 (cos_test_towardzero): Likewise.
3147 (cos_test_downward): Likewise.
3148 (cos_test_upward): Likewise.
3149 (cosh_test): Likewise.
3150 (cosh_test_tonearest): Likewise.
3151 (cosh_test_towardzero): Likewise.
3152 (cosh_test_downward): Likewise.
3153 (cosh_test_upward): Likewise.
3154 (cpow_test): Use END_COMPLEX macro without arguments.
3155 (cproj_test): Likewise.
3156 (creal_test): Use END macro without arguments.
3157 (csin_test): Use END_COMPLEX macro without arguments.
3158 (csinh_test): Likewise.
3159 (csqrt_test): Likewise.
3160 (ctan_test): Likewise.
3161 (ctan_test_tonearest): Likewise.
3162 (ctan_test_towardzero): Likewise.
3163 (ctan_test_downward): Likewise.
3164 (ctan_test_upward): Likewise.
3165 (ctanh_test): Likewise.
3166 (ctanh_test_tonearest): Likewise.
3167 (ctanh_test_towardzero): Likewise.
3168 (ctanh_test_downward): Likewise.
3169 (ctanh_test_upward): Likewise.
3170 (erf_test): Use END macro without arguments.
3171 (erfc_test): Likewise.
3172 (exp_test): Likewise.
3173 (exp_test_tonearest): Likewise.
3174 (exp_test_towardzero): Likewise.
3175 (exp_test_downward): Likewise.
3176 (exp_test_upward): Likewise.
3177 (exp10_test): Likewise.
3178 (exp2_test): Likewise.
3179 (expm1_test): Likewise.
3180 (fabs_test): Likewise.
3181 (fdim_test): Likewise.
3182 (finite_test): Likewise.
3183 (floor_test): Likewise.
3184 (fma_test): Likewise.
3185 (fma_test_towardzero): Likewise.
3186 (fma_test_downward): Likewise.
3187 (fma_test_upward): Likewise.
3188 (fmax_test): Likewise.
3189 (fmin_test): Likewise.
3190 (fmod_test): Likewise.
3191 (fpclassify_test): Likewise.
3192 (frexp_test): Likewise.
3193 (gamma_test): Likewise.
3194 (hypot_test): Likewise.
3195 (ilogb_test): Likewise.
3196 (isfinite_test): Likewise.
3197 (isgreater_test): Likewise.
3198 (isgreaterequal_test): Likewise.
3199 (isinf_test): Likewise.
3200 (isless_test): Likewise.
3201 (islessequal_test): Likewise.
3202 (islessgreater_test): Likewise.
3203 (isnan_test): Likewise.
3204 (isnormal_test): Likewise.
3205 (issignaling_test): Likewise.
3206 (isunordered_test): Likewise.
3207 (j0_test): Likewise.
3208 (j1_test): Likewise.
3209 (jn_test): Likewise.
3210 (ldexp_test): Likewise.
3211 (lgamma_test): Likewise.
3212 (lrint_test): Likewise.
3213 (lrint_test_tonearest): Likewise.
3214 (lrint_test_towardzero): Likewise.
3215 (lrint_test_downward): Likewise.
3216 (lrint_test_upward): Likewise.
3217 (llrint_test): Likewise.
3218 (llrint_test_tonearest): Likewise.
3219 (llrint_test_towardzero): Likewise.
3220 (llrint_test_downward): Likewise.
3221 (llrint_test_upward): Likewise.
3222 (log_test): Likewise.
3223 (log10_test): Likewise.
3224 (log1p_test): Likewise.
3225 (log2_test): Likewise.
3226 (logb_test): Likewise.
3227 (logb_test_downward): Likewise.
3228 (lround_test): Likewise.
3229 (llround_test): Likewise.
3230 (modf_test): Likewise.
3231 (nearbyint_test): Likewise.
3232 (nextafter_test): Likewise.
3233 (nexttoward_test): Likewise.
3234 (pow_test): Likewise.
3235 (pow_test_tonearest): Likewise.
3236 (pow_test_towardzero): Likewise.
3237 (pow_test_downward): Likewise.
3238 (pow_test_upward): Likewise.
3239 (remainder_test): Likewise.
3240 (remainder_test_tonearest): Likewise.
3241 (remainder_test_towardzero): Likewise.
3242 (remainder_test_downward): Likewise.
3243 (remainder_test_upward): Likewise.
3244 (remquo_test): Likewise.
3245 (rint_test): Likewise.
3246 (rint_test_tonearest): Likewise.
3247 (rint_test_towardzero): Likewise.
3248 (rint_test_downward): Likewise.
3249 (rint_test_upward): Likewise.
3250 (round_test): Likewise.
3251 (scalb_test): Likewise.
3252 (scalbn_test): Likewise.
3253 (scalbln_test): Likewise.
3254 (signbit_test): Likewise.
3255 (sin_test): Likewise.
3256 (sin_test_tonearest): Likewise.
3257 (sin_test_towardzero): Likewise.
3258 (sin_test_downward): Likewise.
3259 (sin_test_upward): Likewise.
3260 (sincos_test): Likewise.
3261 (sinh_test): Likewise.
3262 (sinh_test_tonearest): Likewise.
3263 (sinh_test_towardzero): Likewise.
3264 (sinh_test_downward): Likewise.
3265 (sinh_test_upward): Likewise.
3266 (sqrt_test): Likewise.
3267 (tan_test): Likewise.
3268 (tan_test_tonearest): Likewise.
3269 (tan_test_towardzero): Likewise.
3270 (tan_test_downward): Likewise.
3271 (tan_test_upward): Likewise.
3272 (tanh_test): Likewise.
3273 (tgamma_test): Likewise.
3274 (trunc_test): Likewise.
3275 (y0_test): Likewise.
3276 (y1_test): Likewise.
3277 (yn_test): Likewise.
3278 (significand_test): Likewise.
3279
bae143d2
OB
32802013-05-24 Ondřej Bílka <neleai@seznam.cz>
3281
3282 [BZ #15381]
3283 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3284
9323d39b
EM
32852013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3286
d4ea44a0 3287 [BZ #14894]
9323d39b
EM
3288 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3289 __ppc_mdoio and __ppc_mdoom.
3290 * manual/platform.texi: Document new functions __ppc_yield,
3291 __ppc_mdoio and __ppc_mdoom.
3292
13e23af7
CD
32932013-05-22 Carlos O'Donell <carlos@redhat.com>
3294
3295 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3296 (main): Mention "tls" pseudo-hwcap is legacy.
3297 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3298
351fe550
JM
32992013-05-22 Joseph Myers <joseph@codesourcery.com>
3300
3301 * math/gen-libm-test.pl (parse_args): Output only string of
3302 arguments as text for test name, not full call or descriptions of
3303 tests for extra outputs.
3304 (generate_testfile): Do not pass function name to parse_args.
3305 Generate this_func variable from START.
3306 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3307 field to arg_str.
3308 (struct test_ff_f_data): Likewise.
3309 (test_ff_f_data_nexttoward): Likewise.
3310 (struct test_fi_f_data): Likewise.
3311 (struct test_fl_f_data): Likewise.
3312 (struct test_if_f_data): Likewise.
3313 (struct test_fff_f_data): Likewise.
3314 (struct test_c_f_data): Likewise.
3315 (struct test_f_f1_data): Likewise. Remove field extra_name.
3316 (struct test_fF_f1_data): Likewise.
3317 (struct test_ffI_f1_data): Likewise.
3318 (struct test_c_c_data): Rename test_name field to arg_str.
3319 (struct test_cc_c_data): Likewise.
3320 (struct test_f_i_data): Likewise.
3321 (struct test_ff_i_data): Likewise.
3322 (struct test_f_l_data): Likewise.
3323 (struct test_f_L_data): Likewise.
3324 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3325 and extra2_name.
3326 (COMMON_TEST_SETUP): New macro.
3327 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3328 (COMMON_TEST_CLEANUP): Likewise.
3329 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3330 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3331 macros.
3332 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3333 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3334 macros.
3335 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3336 (RUN_TEST_fff_f): Take argument string. Call new setup and
3337 cleanup macros.
3338 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3339 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3340 macros.
3341 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3342 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3343 macros.
3344 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3345 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3346 cleanup macros.
3347 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3348 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3349 cleanup macros.
3350 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3351 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3352 cleanup macros.
3353 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3354 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3355 macros.
3356 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3357 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3358 macros.
3359 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3360 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3361 macros.
3362 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3363 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3364 cleanup macros.
3365 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3366 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3367 cleanup macros.
3368 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3369 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3370 macros.
3371 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3372 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3373 cleanup macros.
3374 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3375 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3376 macros.
3377 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3378 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3379 macros.
3380 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3381 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3382 cleanup macros.
3383 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3384
85118d4d
EBM
33852013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3386
3387 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3388 to _sifields.sigfault.
3389 (si_addr_lsb): Define new macro.
3390 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3392 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3393
7a44c18f
CD
33942013-05-03 Carlos O'Donell <carlos at redhat.com>
3395
3396 [BZ #15441]
3397 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3398 returns -1.
3399 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3400 null return -1.
3401 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3402 loading the domain.
3403
b50a7181
JM
34042013-05-22 Joseph Myers <joseph@codesourcery.com>
3405
3406 * math/gen-libm-test.pl (parse_args): Do not include expected
3407 result in test name.
3408 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3410 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3412 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3414
051063c8
SP
34152013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3416
3ce9e010
SP
3417 * benchtests/Makefile: Sort function entries.
3418
051063c8
SP
3419 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3420 tanh, asinh, acosh, atanh.
3421 * benchtests/acos-inputs: New file.
3422 * benchtests/acosh-inputs: New file.
3423 * benchtests/asin-inputs: New file.
3424 * benchtests/asinh-inputs: New file.
3425 * benchtests/atanh-inputs: New file.
3426 * benchtests/cosh-inputs: New file.
3427 * benchtests/log-inputs: New file.
3428 * benchtests/sinh-inputs: New file.
3429 * benchtests/tanh-inputs: New file.
3430
47c22455
DL
34312013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3432
3433 [BZ #15339]
3434 * posix/tst-getaddrinfo4.c: New test.
3435 * posix/Makefile (tests): Add it.
3436
3d04f5db
SP
34372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3438
3439 [BZ #15339]
3440 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3441 when no services were used.
3442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3443 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3444
d5dd6189
AS
34452013-05-21 Andreas Schwab <schwab@suse.de>
3446
3447 [BZ #15014]
3448 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3449 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3450 successful.
3451 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3452 redundant variable declarations and reallocation of buffer when
3453 parsing as IPv6 address. Always set NSS status when called from
3454 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3455 buffer too small. Correct computation of needed size.
3456 * nss/Makefile (tests): Add test-digits-dots.
3457 * nss/test-digits-dots.c: New test.
3458
fef94eab
SP
34592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3460
3461 * benchtests/Makefile: Remove instructions for adding
3462 benchmark tests.
3463 * benchtests/README: New file to explain how to execute and
3464 enhance the benchmark tests.
3465
e39adf43
AS
34662013-05-21 Andreas Schwab <schwab@suse.de>
3467
3468 [BZ #15493]
3469 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3470 * setjmp/tst-sigsetjmp.c: New test.
3471
b2b671b6
OB
34722013-05-20 Ondřej Bílka <neleai@seznam.cz>
3473
3474 * sysdeps/x86_64/memset.S (memset): New implementation.
3475 (__bzero): Likewise.
3476 (__memset_tail): New function.
3477
2d48b41c
OB
34782013-05-20 Ondřej Bílka <neleai@seznam.cz>
3479
3480 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3481 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3482 __memcpy_sse2_unaligned ifunc selection.
3483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3484 Add memcpy-sse2-unaligned.S.
3485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3486 Add: __memcpy_sse2_unaligned.
3487
f16cc3eb
JM
34882013-05-19 Joseph Myers <joseph@codesourcery.com>
3489
3e694268
JM
3490 [BZ #15490]
3491 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3492 math_force_eval before restoring floating-point envrionment.
3493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3495 Likewise.
3496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3497 <math_private.h>.
3498 (__nearbyintl): Use math_force_eval before restoring
3499 floating-point environment.
3500 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3501
db62a907
JM
3502 * math/gen-libm-test.pl (special_functions): Remove.
3503 (parse_args): Don't handle TEST_extra. Handle functions with no
3504 return value.
3505 * math/libm-test.inc (struct test_sincos_data): Replace with
3506 struct test_fFF_11_data.
3507 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3508 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3509 (sincos_test_data): Change element type to struct
3510 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3511 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3512 RUN_TEST_LOOP_sincos.
3513 * math/README.libm-test: Don't mention special handling of
3514 individual functions.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3518 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3521
f16cc3eb
JM
3522 * math/gen-libm-test.pl (get_variable): Remove function.
3523 (parse_args): Don't show pointer parameters to call in test
3524 names. Use "extra output N" in test names for extra outputs
3525 rather than naming variables.
3526
3779b5b6
JM
35272013-05-18 Joseph Myers <joseph@codesourcery.com>
3528
2ee094ff
JM
3529 [BZ #15488]
3530 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3531 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3532 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3533 double tests.
3534 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3535 disable.
3536 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3537 check_long_double.
3538
3779b5b6
JM
3539 * math/gen-libm-test.pl (@tests): Remove variable.
3540 ($count): Likewise.
3541 (new_test): Remove function.
3542 (show_exceptions): New function.
3543 (special_functions): Use show_exceptions instead of new_test.
3544 (parse_args): Likewise.
3545 (generate_testfile): Pass only function name in generated call to
3546 print_max_error or print_complex_max_error.
3547 (get_ulps): Do not handle complex tests specially.
3548 (output_test): Rename to ...
3549 (get_all_ulps_for_test): ... this. Return a string rather than
3550 printing to a file. Require ulps to be present.
3551 (output_ulps): Generate arrays rather than #defines.
3552 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3553 (struct ulp_data): New type.
3554 (BUILD_COMPLEX_ULP): Remove macro.
3555 (compare_ulp_data): New function.
3556 (find_ulps): Likewise.
3557 (find_test_ulps): Likewise.
3558 (find_function_ulps): Likewise.
3559 (find_complex_function_ulps): Likewise.
3560 (print_max_error): Determine allowed ulps using
3561 find_function_ulps.
3562 (print_complex_max_error): Determine allowed ulps using
3563 find_complex_function_ulps.
3564 (check_float_internal): Determine max ulps using find_test_ulps.
3565 (check_float): Do not take max_ulp parameter. Update call to
3566 check_float_internal.
3567 (check_complex): Likewise.
3568 (check_int): Do not take max_ulp parameter.
3569 (check_long): Likewise.
3570 (check_bool): Likewise.
3571 (check_longlong): Likewise.
3572 (struct test_f_f_data): Remove max_ulp field.
3573 (struct test_ff_f_data): Likewise.
3574 (struct test_ff_f_data_nexttoward): Likewise.
3575 (struct test_fi_f_data): Likewise.
3576 (struct test_fl_f_data): Likewise.
3577 (struct test_if_f_data): Likewise.
3578 (struct test_fff_f_data): Likewise.
3579 (struct test_c_f_data): Likewise.
3580 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3581 (struct test_fF_f1_data): Likewise.
3582 (struct test_ffI_f1_data): Likewise.
3583 (struct test_c_c_data): Remove max_ulp field.
3584 (struct test_cc_c_data): Likewise.
3585 (struct test_f_i_data): Likewise.
3586 (struct test_ff_i_data): Likewise.
3587 (struct test_f_l_data): Likewise.
3588 (struct test_f_L_data): Likewise.
3589 (struct test_sincos_data): Likewise.
3590 (RUN_TEST_f_f): Do not handle ulps.
3591 (RUN_TEST_LOOP_f_f): Likewise.
3592 (RUN_TEST_2_f): Likewise.
3593 (RUN_TEST_LOOP_2_f): Likewise.
3594 (RUN_TEST_fff_f): Likewise.
3595 (RUN_TEST_LOOP_fff_f): Likewise.
3596 (RUN_TEST_c_f): Likewise.
3597 (RUN_TEST_LOOP_c_f): Likewise.
3598 (RUN_TEST_f_f1): Likewise.
3599 (RUN_TEST_LOOP_f_f1): Likewise.
3600 (RUN_TEST_fF_f1): Likewise.
3601 (RUN_TEST_LOOP_fF_f1): Likewise.
3602 (RUN_TEST_fI_f1): Likewise.
3603 (RUN_TEST_LOOP_fI_f1): Likewise.
3604 (RUN_TEST_ffI_f1): Likewise.
3605 (RUN_TEST_LOOP_ffI_f1): Likewise.
3606 (RUN_TEST_c_c): Likewise.
3607 (RUN_TEST_LOOP_c_c): Likewise.
3608 (RUN_TEST_cc_c): Likewise.
3609 (RUN_TEST_LOOP_cc_c): Likewise.
3610 (RUN_TEST_f_i): Likewise.
3611 (RUN_TEST_LOOP_f_i): Likewise.
3612 (RUN_TEST_f_i_tg): Likewise.
3613 (RUN_TEST_LOOP_f_i_tg): Likewise.
3614 (RUN_TEST_ff_i_tg): Likewise.
3615 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3616 (RUN_TEST_f_b): Likewise.
3617 (RUN_TEST_LOOP_f_b): Likewise.
3618 (RUN_TEST_f_b_tg): Likewise.
3619 (RUN_TEST_LOOP_f_b_tg): Likewise.
3620 (RUN_TEST_f_l): Likewise.
3621 (RUN_TEST_LOOP_f_l): Likewise.
3622 (RUN_TEST_f_L): Likewise.
3623 (RUN_TEST_LOOP_f_L): Likewise.
3624 (RUN_TEST_sincos): Likewise.
3625 (RUN_TEST_LOOP_sincos): Likewise.
3626
8269107f
JM
36272013-05-17 Joseph Myers <joseph@codesourcery.com>
3628
bb38759d
JM
3629 [BZ #15480]
3630 [BZ #15485]
3631 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3632 main case of finite arguments, set rounding mode to FE_TONEAREST
3633 and discard exceptions.
3634 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3635 exceptions.
3636 (remainder_tonearest_test_data): New variable.
3637 (remainder_test_tonearest): New function.
3638 (remainder_towardzero_test_data): New variable.
3639 (remainder_test_towardzero): New function.
3640 (remainder_downward_test_data): New variable.
3641 (remainder_test_downward): New function.
3642 (remainder_upward_test_data): New variable.
3643 (remainder_test_upward): New function.
3644 (main): Call the new test functions.
3645
a00bdcf0
JM
3646 * math/libm-test.inc (struct test_f_f1_data): Remove field
3647 extra_init.
3648 (struct test_fF_f1_data): Likewise.
3649 (struct test_ffI_f1_data): Likewise.
3650 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3651 based on value of EXTRA_EXPECTED.
3652 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3653 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3654 EXTRA_VAR based on value of EXTRA_EXPECTED.
3655 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3656 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3657 EXTRA_VAR based on value of EXTRA_EXPECTED.
3658 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3659 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3660 EXTRA_VAR based on value of EXTRA_EXPECTED.
3661 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3662 * math/gen-libm-test.pl (parse_args): Don't output initializers
3663 for extra output values.
3664
de407f79
JM
3665 * math/libm-test.inc (check_int): Expect result to be exactly
3666 equal to expected value and do not handle ulps.
3667 (check_long): Likewise.
3668 (check_longlong): Likewise.
3669
8269107f
JM
3670 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3671 exceptions.
3672 (cimag_test_data): Likewise.
3673 (conj_test_data): Likewise.
3674 (copysign_test_data): Likewise.
3675 (cproj_test_data): Likewise.
3676 (creal_test_data): Likewise.
3677 (fabs_test_data): Likewise.
3678 (fdim_test_data): Likewise.
3679 (finite_test_data): Likewise.
3680 (floor_test_data): Likewise.
3681 (fmax_test_data): Likewise.
3682 (fmin_test_data): Likewise.
3683 (fmod_test_data): Likewise.
3684 (fpclassify_test_data): Likewise.
3685 (frexp_test_data): Likewise.
3686 (ilogb_test_data): Likewise.
3687 (isfinite_test_data): Likewise.
3688 (isgreater_test_data): Likewise.
3689 (isgreaterequal_test_data): Likewise.
3690 (isinf_test_data): Likewise.
3691 (isless_test_data): Likewise.
3692 (islessequal_test_data): Likewise.
3693 (islessgreater_test_data): Likewise.
3694 (isnan_test_data): Likewise.
3695 (isnormal_test_data): Likewise.
3696 (issignaling_test_data): Likewise.
3697 (isunordered_test_data): Likewise.
3698 (ldexp_test_data): Likewise.
3699 (lrint_test_data): Likewise.
3700 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3701 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3702 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3703 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3704 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3705 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3706 test input.
3707 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3708 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3709 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3710 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3711 that test input.
3712 (lrint_downward_test_data): Test for "inexact" exceptions.
3713 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3714 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3715 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3716 test input.
3717 (lrint_upward_test_data): Test for "inexact" exceptions.
3718 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3719 test input.
3720 (llrint_test_data): Test for "inexact" exceptions.
3721 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3722 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3723 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3724 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3725 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3726 (llrint_downward_test_data): Test for "inexact" exceptions.
3727 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3728 (llrint_upward_test_data): Test for "inexact" exceptions.
3729 (logb_test_data): Likewise.
3730 (logb_downward_test_data): Likewise.
3731 (nextafter_test_data): Likewise.
3732 (nexttoward_test_data): Likewise.
3733 (remainder_test_data): Likewise.
3734 (remquo_test_data): Likewise.
3735 (scalbn_test_data): Likewise.
3736 (scalbln_test_data): Likewise.
3737 (signbit_test_data): Likewise.
3738 (sqrt_test_data): Likewise.
3739 (significand_test_data): Likewise.
3740
48a18de1
SP
37412013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 [BZ #15424]
3744 * benchtests/bench-modf.c (struct args): Mark arg0 as
3745 volatile.
3746 * scripts/bench.pl: Mark members of struct args as volatile.
3747
13d3b41a
AZ
37482013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749
68191c1d 3750 [BZ # 15497]
13d3b41a
AZ
3751 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3752 negative infinity on POWER6 or lower.
3753 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3754
2848b105
MR
37552013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3756
3757 [BZ #15442]
3758 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3759 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3760 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3761 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3762 (_FP_SETQNAN): New macro.
3763 (_FP_SETQNAN_SEMIRAW): Likewise.
3764 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3765 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3766 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3767 (FP_EXTEND): Use _FP_FRAC_SNANP.
3768 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3769 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3770 into account.
3771 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3772 New macro.
3773 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3774 Likewise.
3775
323e5cb7
JM
37762013-05-16 Joseph Myers <joseph@codesourcery.com>
3777
c58b274f
JM
3778 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3779 with DIVIDE_BY_ZERO_EXCEPTION.
3780 (gamma_test_data): Likewise.
3781 (lgamma_test_data): Likewise.
3782 (log_test_data): Likewise.
3783 (log10_test_data): Likewise.
3784 (log2_test_data): Likewise.
3785 (tgamma_test_data): Likewise.
3786
0ab34904
JM
3787 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3788 (acos_test_tonearest): Likewise.
3789 (acos_test_towardzero): Likewise.
3790 (acos_test_downward): Likewise.
3791 (acos_test_upward): Likewise.
3792 (acosh_test): Likewise.
3793 (asin_test): Likewise.
3794 (asin_test_tonearest): Likewise.
3795 (asin_test_towardzero): Likewise.
3796 (asin_test_downward): Likewise.
3797 (asin_test_upward): Likewise.
3798 (asinh_test): Likewise.
3799 (atan_test): Likewise.
3800 (atanh_test): Likewise.
3801 (atan2_test): Likewise.
3802 (cabs_test): Likewise.
3803 (cacos_test): Likewise.
3804 (cacosh_test): Likewise.
3805 (casin_test): Likewise.
3806 (casinh_test): Likewise.
3807 (catan_test): Likewise.
3808 (catanh_test): Likewise.
3809 (cbrt_test): Likewise.
3810 (ccos_test): Likewise.
3811 (ccosh_test): Likewise.
3812 (cexp_test): Likewise.
3813 (clog_test): Likewise.
3814 (clog10_test): Likewise.
3815 (cos_test): Likewise.
3816 (cos_test_tonearest): Likewise.
3817 (cos_test_towardzero): Likewise.
3818 (cos_test_downward): Likewise.
3819 (cos_test_upward): Likewise.
3820 (cosh_test): Likewise.
3821 (cosh_test_tonearest): Likewise.
3822 (cosh_test_towardzero): Likewise.
3823 (cosh_test_downward): Likewise.
3824 (cosh_test_upward): Likewise.
3825 (cpow_test): Likewise.
3826 (csin_test): Likewise.
3827 (csinh_test): Likewise.
3828 (csqrt_test): Likewise.
3829 (ctan_test): Likewise.
3830 (ctan_test_tonearest): Likewise.
3831 (ctan_test_towardzero): Likewise.
3832 (ctan_test_downward): Likewise.
3833 (ctan_test_upward): Likewise.
3834 (ctanh_test): Likewise.
3835 (ctanh_test_tonearest): Likewise.
3836 (ctanh_test_towardzero): Likewise.
3837 (ctanh_test_downward): Likewise.
3838 (ctanh_test_upward): Likewise.
3839 (erf_test): Likewise.
3840 (erfc_test): Likewise.
3841 (exp_test): Likewise.
3842 (exp_test_tonearest): Likewise.
3843 (exp_test_towardzero): Likewise.
3844 (exp_test_downward): Likewise.
3845 (exp_test_upward): Likewise.
3846 (exp10_test): Likewise.
3847 (exp2_test): Likewise.
3848 (expm1_test): Likewise.
3849 (fmod_test): Likewise.
3850 (gamma_test): Likewise.
3851 (hypot_test): Likewise.
3852 (j0_test): Likewise.
3853 (j1_test): Likewise.
3854 (jn_test): Likewise.
3855 (lgamma_test): Likewise.
3856 (log_test): Likewise.
3857 (log10_test): Likewise.
3858 (log1p_test): Likewise.
3859 (log2_test): Likewise.
3860 (logb_test_downward): Likewise.
3861 (pow_test): Likewise.
3862 (pow_test_tonearest): Likewise.
3863 (pow_test_towardzero): Likewise.
3864 (pow_test_downward): Likewise.
3865 (pow_test_upward): Likewise.
3866 (remainder_test): Likewise.
3867 (remquo_test): Likewise.
3868 (sin_test): Likewise.
3869 (sin_test_tonearest): Likewise.
3870 (sin_test_towardzero): Likewise.
3871 (sin_test_downward): Likewise.
3872 (sin_test_upward): Likewise.
3873 (sincos_test): Likewise.
3874 (sinh_test): Likewise.
3875 (sinh_test_tonearest): Likewise.
3876 (sinh_test_towardzero): Likewise.
3877 (sinh_test_downward): Likewise.
3878 (sinh_test_upward): Likewise.
3879 (sqrt_test): Likewise.
3880 (tan_test): Likewise.
3881 (tan_test_tonearest): Likewise.
3882 (tan_test_towardzero): Likewise.
3883 (tan_test_downward): Likewise.
3884 (tan_test_upward): Likewise.
3885 (tanh_test): Likewise.
3886 (tgamma_test): Likewise.
3887 (y0_test): Likewise.
3888 (y1_test): Likewise.
3889 (yn_test): Likewise.
3890
323e5cb7
JM
3891 * math/gen-libm-test.pl (adjust_arg): Remove function.
3892 (special_function): Remove argument $in_func. Only handle
3893 generating output for tables of tests, not inside functions.
3894 (parse_args): Likewise.
3895 (generate_testfile): Remove variable $in_func. Update call to
3896 parse_args.
3897 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3898 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3899 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3900 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3901 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3902 (MAX_VALUE_INIT): Rename macro to max_value.
3903 (MIN_VALUE_INIT): Rename macro to min_value.
3904 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3905 (plus_zero): Remove variable.
3906 (minus_zero): Likewise.
3907 (plus_infty): Likewise.
3908 (minus_infty): Likewise.
3909 (qnan_value): Likewise.
3910 (max_value): Likewise.
3911 (min_value): Likewise.
3912 (min_subnorm_value): Likewise.
3913
e054f494
RA
39142013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3915
3916 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3917 uint64_t or uint32_t usage.
3918 * crypt/sha256-block.c: Likewise.
3919 * crypt/sha256-crypt.c: Likewise.
3920 * crypt/sha256.c: Likewise.
3921 * crypt/sha512-block.c: Likewise.
3922 * crypt/sha512-crypt.c: Likewise.
3923 * crypt/sha512.c: Likewise.
3924 * debug/backtrace-tst.c: Likewise.
3925 * debug/pcprofiledump.c: Likewise.
3926 * elf/cache.c: Likewise.
3927 * elf/dl-cache.c: Likewise.
3928 * elf/dl-misc.c: Likewise.
3929 * elf/dl-profile.c: Likewise.
3930 * elf/dl-support.c: Likewise.
3931 * elf/ldconfig.c: Likewise.
3932 * elf/sprof.c: Likewise.
3933 * iconv/dummy-repertoire.c: Likewise.
3934 * iconv/iconv_charmap.c: Likewise.
3935 * iconv/skeleton.c: Likewise.
3936 * iconvdata/8bit-generic.c: Likewise.
3937 * iconvdata/cp737.h: Likewise.
3938 * iconvdata/cp775.h: Likewise.
3939 * iconvdata/ibm1008.h: Likewise.
3940 * iconvdata/ibm1025.h: Likewise.
3941 * iconvdata/ibm1046.h: Likewise.
3942 * iconvdata/ibm1097.h: Likewise.
3943 * iconvdata/ibm1112.h: Likewise.
3944 * iconvdata/ibm1122.h: Likewise.
3945 * iconvdata/ibm1123.h: Likewise.
3946 * iconvdata/ibm1124.h: Likewise.
3947 * iconvdata/ibm1129.h: Likewise.
3948 * iconvdata/ibm1130.h: Likewise.
3949 * iconvdata/ibm1132.h: Likewise.
3950 * iconvdata/ibm1133.h: Likewise.
3951 * iconvdata/ibm1137.h: Likewise.
3952 * iconvdata/ibm1140.h: Likewise.
3953 * iconvdata/ibm1141.h: Likewise.
3954 * iconvdata/ibm1142.h: Likewise.
3955 * iconvdata/ibm1143.h: Likewise.
3956 * iconvdata/ibm1144.h: Likewise.
3957 * iconvdata/ibm1145.h: Likewise.
3958 * iconvdata/ibm1146.h: Likewise.
3959 * iconvdata/ibm1147.h: Likewise.
3960 * iconvdata/ibm1148.h: Likewise.
3961 * iconvdata/ibm1149.h: Likewise.
3962 * iconvdata/ibm1153.h: Likewise.
3963 * iconvdata/ibm1154.h: Likewise.
3964 * iconvdata/ibm1155.h: Likewise.
3965 * iconvdata/ibm1156.h: Likewise.
3966 * iconvdata/ibm1157.h: Likewise.
3967 * iconvdata/ibm1158.h: Likewise.
3968 * iconvdata/ibm1160.h: Likewise.
3969 * iconvdata/ibm1161.h: Likewise.
3970 * iconvdata/ibm1162.h: Likewise.
3971 * iconvdata/ibm1163.h: Likewise.
3972 * iconvdata/ibm1164.h: Likewise.
3973 * iconvdata/ibm1166.h: Likewise.
3974 * iconvdata/ibm1167.h: Likewise.
3975 * iconvdata/ibm12712.h: Likewise.
3976 * iconvdata/ibm1390.h: Likewise.
3977 * iconvdata/ibm1399.h: Likewise.
3978 * iconvdata/ibm16804.h: Likewise.
3979 * iconvdata/ibm4517.h: Likewise.
3980 * iconvdata/ibm4899.h: Likewise.
3981 * iconvdata/ibm4909.h: Likewise.
3982 * iconvdata/ibm4971.h: Likewise.
3983 * iconvdata/ibm5347.h: Likewise.
3984 * iconvdata/ibm803.h: Likewise.
3985 * iconvdata/ibm856.h: Likewise.
3986 * iconvdata/ibm901.h: Likewise.
3987 * iconvdata/ibm902.h: Likewise.
3988 * iconvdata/ibm9030.h: Likewise.
3989 * iconvdata/ibm9066.h: Likewise.
3990 * iconvdata/ibm921.h: Likewise.
3991 * iconvdata/ibm922.h: Likewise.
3992 * iconvdata/ibm9448.h: Likewise.
3993 * iconvdata/isiri-3342.h: Likewise.
3994 * iconvdata/jis0201.h: Likewise.
3995 * include/link.h: Likewise.
3996 * include/netdb.h: Likewise.
3997 * inet/check_native.c: Likewise.
3998 * inet/check_pf.c: Likewise.
3999 * inet/getipv4sourcefilter.c: Likewise.
4000 * inet/getnameinfo.c: Likewise.
4001 * inet/getsourcefilter.c: Likewise.
4002 * inet/htonl.c: Likewise.
4003 * inet/setipv4sourcefilter.c: Likewise.
4004 * inet/setsourcefilter.c: Likewise.
4005 * inet/test-inet6_opt.c: Likewise.
4006 * inet/tst-network.c: Likewise.
4007 * locale/C-collate.c: Likewise.
4008 * locale/C-ctype.c: Likewise.
4009 * locale/C-time.c: Likewise.
4010 * locale/C-translit.h: Likewise.
4011 * locale/loadarchive.c: Likewise.
4012 * locale/programs/3level.h: Likewise.
4013 * locale/programs/charmap.c: Likewise.
4014 * locale/programs/charmap.h: Likewise.
4015 * locale/programs/ld-address.c: Likewise.
4016 * locale/programs/ld-collate.c: Likewise.
4017 * locale/programs/ld-ctype.c: Likewise.
4018 * locale/programs/ld-identification.c: Likewise.
4019 * locale/programs/ld-measurement.c: Likewise.
4020 * locale/programs/ld-messages.c: Likewise.
4021 * locale/programs/ld-monetary.c: Likewise.
4022 * locale/programs/ld-name.c: Likewise.
4023 * locale/programs/ld-numeric.c: Likewise.
4024 * locale/programs/ld-paper.c: Likewise.
4025 * locale/programs/ld-telephone.c: Likewise.
4026 * locale/programs/ld-time.c: Likewise.
4027 * locale/programs/linereader.c: Likewise.
4028 * locale/programs/locale.c: Likewise.
4029 * locale/programs/locarchive.c: Likewise.
4030 * locale/programs/locfile.h: Likewise.
4031 * locale/programs/repertoire.c: Likewise.
4032 * locale/programs/simple-hash.c: Likewise.
4033 * locale/programs/simple-hash.h: Likewise.
4034 * malloc/memusage.c: Likewise.
4035 * malloc/memusagestat.c: Likewise.
4036 * nis/nis_defaults.c: Likewise.
4037 * nis/nis_hash.c: Likewise.
4038 * nis/nis_print.c: Likewise.
4039 * nis/nis_xdr.c: Likewise.
4040 * nscd/connections.c: Likewise.
4041 * nscd/hstcache.c: Likewise.
4042 * nscd/nscd_gethst_r.c: Likewise.
4043 * nscd/nscd_getserv_r.c: Likewise.
4044 * nscd/nscd_helper.c: Likewise.
4045 * nscd/servicescache.c: Likewise.
4046 * nss/makedb.c: Likewise.
4047 * nss/nss_db/db-XXX.c: Likewise.
4048 * nss/nss_db/db-initgroups.c: Likewise.
4049 * nss/nss_db/db-netgrp.c: Likewise.
4050 * nss/nss_files/files-network.c: Likewise.
4051 * nss/nss_files/files-parse.c: Likewise.
4052 * posix/bug-regex5.c: Likewise.
4053 * posix/fnmatch_loop.c: Likewise.
4054 * posix/regcomp.c: Likewise.
4055 * posix/regexec.c: Likewise.
4056 * posix/tst-rfc3484-2.c: Likewise.
4057 * posix/tst-rfc3484-3.c: Likewise.
4058 * posix/tst-rfc3484.c: Likewise.
4059 * resolv/nss_dns/dns-canon.c: Likewise.
4060 * resolv/nss_dns/dns-network.c: Likewise.
4061 * resolv/res_init.c: Likewise.
4062 * resolv/res_mkquery.c: Likewise.
4063 * resolv/tst-aton.c: Likewise.
4064 * stdlib/cxa_atexit.c: Likewise.
4065 * stdlib/cxa_finalize.c: Likewise.
4066 * stdlib/gen-fpioconst.c: Likewise.
4067 * stdlib/strtol_l.c: Likewise.
4068 * string/tst-endian.c: Likewise.
4069 * sunrpc/auth_des.c: Likewise.
4070 * sunrpc/clnt_udp.c: Likewise.
4071 * sunrpc/rtime.c: Likewise.
4072 * sunrpc/svcauth_des.c: Likewise.
4073 * sunrpc/xdr.c: Likewise.
4074 * sunrpc/xdr_intXX_t.c: Likewise.
4075 * sunrpc/xdr_rec.c: Likewise.
4076 * sysdeps/generic/ldconfig.h: Likewise.
4077 * sysdeps/generic/ldsodefs.h: Likewise.
4078 * sysdeps/generic/memusage.h: Likewise.
4079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4089 * sysdeps/posix/getaddrinfo.c: Likewise.
4090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4094 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4095 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4096 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4097 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4098 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4099 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4100 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4101 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4102 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4103 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4105 * sysdeps/x86_64/dl-tls.h: Likewise.
4106 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4107 * time/alt_digit.c: Likewise.
4108 * time/era.c: Likewise.
4109 * wcsmbs/tst-c16c32-1.c: Likewise.
4110
8c75f674
JM
41112013-05-16 Joseph Myers <joseph@codesourcery.com>
4112
4113 * math/libm-test.inc (struct test_sincos_data): New type.
4114 (RUN_TEST_LOOP_sincos): New macro.
4115 (sincos_test_data): New variable.
4116 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4117
e6e49e59
RH
41182013-05-16 Richard Henderson <rth@redhat.com>
4119
4120 * math/atest-exp2.c (LIMB64): New macro.
4121 (CONSTSZ): New macro.
4122 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4123 (hexdig): Move ...
4124 (print_mpn_fp): ... to function scope.
4125 (read_mpn_hex): Remove.
4126 (get_log2): Remove.
4127 (exp2_mpn): Use mp_log2.
4128 (main): Use mp_exp1.
4129
15c7c18d
JM
41302013-05-16 Joseph Myers <joseph@codesourcery.com>
4131
105a07df
JM
4132 * math/libm-test.inc: Remove comment about not testing "inexact"
4133 exceptions.
4134 (INEXACT_EXCEPTION): New macro.
4135 (NO_INEXACT_EXCEPTION): Likewise.
4136 (INVALID_EXCEPTION_OK): Update value.
4137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4138 (OVERFLOW_EXCEPTION_OK): Likewise.
4139 (UNDERFLOW_EXCEPTION_OK): Likewise.
4140 (IGNORE_ZERO_INF_SIGN): Likewise.
4141 (ERRNO_UNCHANGED): Likewise.
4142 (ERRNO_EDOM): Likewise.
4143 (ERRNO_ERANGE): Likewise.
4144 (test_exceptions): Handle testing "inexact" exceptions.
4145 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4146 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4147 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4148 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4149 INEXACT_EXCEPTION.
4150 (rint_towardzero_test_data): Likewise.
4151 (rint_downward_test_data): Likewise.
4152 (rint_upward_test_data): Likewise.
4153
e9eee333
JM
4154 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4155 with OVERFLOW_EXCEPTION.
4156 (exp10_test_data): Likewise.
4157 (exp2_test_data): Likewise.
4158 (expm1_test_data): Likewise.
4159 (lgamma_test_data): Likewise.
4160 (pow_test_data): Likewise.
4161 (tgamma_test_data): Likewise.
4162 (yn_test_data): Remove duplicate test of overflow.
4163
1c38ff73
JM
4164 * math/libm-test.inc (struct test_cc_c_data): New type.
4165 (RUN_TEST_LOOP_cc_c): New macro.
4166 (cpow_test_data): New variable.
4167 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4168
15c7c18d
JM
4169 * math/libm-test.inc (struct test_f_L_data): New type.
4170 (RUN_TEST_LOOP_f_L): New macro.
4171 (llrint_test_data): New variable.
4172 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4173 (llrint_tonearest_test_data): New variable.
4174 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4175 (llrint_towardzero_test_data): New variable.
4176 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4177 (llrint_downward_test_data): New variable.
4178 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4179 (llrint_upward_test_data): New variable.
4180 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4181 (llround_test_data): New variable.
4182 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4183
f137ff13
PC
41842013-05-13 Peter Collingbourne <pcc@google.com>
4185
4186 * math/atest-exp2.c (get_log2): Remove const attribute.
4187
3608cb24
JM
41882013-05-15 Joseph Myers <joseph@codesourcery.com>
4189
4190 * math/libm-test.inc (struct test_f_l_data): New type.
4191 (RUN_TEST_LOOP_f_l): New macro.
4192 (lrint_test_data): New variable.
4193 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4194 (lrint_tonearest_test_data): New variable.
4195 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4196 (lrint_towardzero_test_data): New variable.
4197 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4198 (lrint_downward_test_data): New variable.
4199 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4200 (lrint_upward_test_data): New variable.
4201 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4202 (lround_test_data): New variable.
4203 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4204
39b1f617
PC
42052013-05-15 Peter Collingbourne <pcc@google.com>
4206
1deff3dc
PC
4207 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4208 (EXTRACT_WORDS64) Use where appropriate.
4209 (INSERT_WORDS64) Likewise.
4210
791f3ba0
PC
4211 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4212 constraints with x constraints.
4213 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4214
39b1f617
PC
4215 * malloc/obstack.c (_obstack_compat): Add initializer.
4216
12fba011
EM
42172013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4218
4219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4220 si_trapno and add si_addr_lsb to _sifields.sigfault.
4221 (si_trapno): Remove macro.
4222 (si_addr_lsb): Define new macro.
4223 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4224
d369f531
JM
42252013-05-15 Joseph Myers <joseph@codesourcery.com>
4226
b861c6c4
JM
4227 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4228 instead of TEST_f_l.
4229 (llrint_test_tonearest): Likewise.
4230 (llrint_test_towardzero): Likewise.
4231 (llrint_test_downward): Likewise.
4232 (llrint_test_upward): Likewise.
4233 (llround_test): Likewise.
4234
7abeee12
JM
4235 * math/libm-test.inc (struct test_f_i_data): Add comment.
4236 (RUN_TEST_LOOP_f_b): New macro.
4237 (RUN_TEST_LOOP_f_b_tg): Likewise.
4238 (finite_test_data): New variable.
4239 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4240 (isfinite_test_data): New variable.
4241 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4242 (isinf_test_data): New variable.
4243 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4244 (isnan_test_data): New variable.
4245 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4246 (isnormal_test_data): New variable.
4247 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4248 (issignaling_test_data): New variable.
4249 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4250 (signbit_test_data): New variable.
4251 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4252
cbe8c4d3
JM
4253 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4254 with INVALID_EXCEPTION.
4255 (acosh_test_data): Likewise.
4256 (asin_test_data): Likewise.
4257 (atanh_test_data): Likewise.
4258 (fmod_test_data): Likewise.
4259 (log_test_data): Likewise.
4260 (log10_test_data): Likewise.
4261 (log2_test_data): Likewise.
4262 (pow_test_data): Likewise.
4263 (sqrt_test_data): Likewise.
4264 (y0_test_data): Likewise.
4265 (y1_test_data): Likewise.
4266 (yn_test_data): Likewise.
4267
5575c0e5
JM
4268 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4269 function contents.
4270
d369f531
JM
4271 * math/libm-test.inc (struct test_ff_i_data): New type.
4272 (RUN_TEST_LOOP_ff_i_tg): New macro.
4273 (isgreater_test_data): New variable.
4274 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4275 (isgreaterequal_test_data): New variable.
4276 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4277 (isless_test_data): New variable.
4278 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4279 (islessequal_test_data): New variable.
4280 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4281 (islessgreater_test_data): New variable.
4282 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4283 (isunordered_test_data): New variable.
4284 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4285
781fd748
DM
42862013-05-14 David S. Miller <davem@davemloft.net>
4287
4288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4289
87aa21df
JM
42902013-05-14 Joseph Myers <joseph@codesourcery.com>
4291
5e908270
JM
4292 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4293
f71172e5
JM
4294 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4295 extra_test to int.
4296 (struct test_f_i_data): Change type of max_ulp to int.
4297
8cfa635a
JM
4298 * math/libm-test.inc (test_ffI_f1_data): New type.
4299 (RUN_TEST_LOOP_ffI_f1): New macro.
4300 (remquo_test_data): New variable.
4301 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4302
2bcb36b2
JM
4303 * setjmp/tst-setjmp-fp.c: New file.
4304 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4305 (link-libm): New variable.
4306 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4307
acbd839a
JM
4308 * math/libm-test.inc (struct test_f_i_data): New type.
4309 (RUN_TEST_LOOP_f_i): New macro.
4310 (RUN_TEST_LOOP_f_i_tg): Likewise.
4311 (fpclassify_test_data): New variable.
4312 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4313 (ilogb_test_data): New variable.
4314 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4315
e414d745
JM
4316 * math/libm-test.inc (scalbln_test): Correct function name in END
4317 call.
4318
d9c2a0fd
JM
4319 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4320 (RUN_TEST_LOOP_fI_f1): New macro.
4321 (frexp_test_data): New variable.
4322 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4323
9dc9095d
JM
4324 * math/libm-test.inc (struct test_fF_f1_data): New type.
4325 (RUN_TEST_LOOP_fF_f1): New macro.
4326 (modf_test_data): New variable.
4327 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4328
87aa21df
JM
4329 * math/libm-test.inc (struct test_f_f1_data): New type.
4330 (RUN_TEST_LOOP_f_f1): New macro.
4331 (gamma_test_data): New variable.
4332 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4333 (lgamma_test_data): New variable.
4334 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4335
141af660
CD
43362013-05-13 Carlos O'Donell <carlos@redhat.com>
4337
4338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4339 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4340 (main): Comment "tls" pseudo-hwcap.
4341
6d33265c
JM
43422013-05-13 Joseph Myers <joseph@codesourcery.com>
4343
68fc074c
JM
4344 * math/libm-test.inc (struct test_fl_f_data): New type.
4345 (RUN_TEST_LOOP_fl_f): New variable.
4346 (scalbln_test_data): New variable.
4347 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4348
243216e1
JM
4349 * math/libm-test.inc (struct test_fi_f_data): New type.
4350 (RUN_TEST_LOOP_fi_f): New macro.
4351 (ldexp_test_data): New variable.
4352 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4353 (scalbn_test_data): New variable.
4354 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4355
6a1992e2
JM
4356 * math/libm-test.inc (struct test_c_f_data): New type.
4357 (RUN_TEST_LOOP_c_f): New macro.
4358 (cabs_test_data): New variable.
4359 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4360 (carg_test_data): New variable.
4361 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4362 (cimag_test_data): New variable.
4363 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4364 (creal_test_data): New variable.
4365 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4366
0e400df5
JM
4367 * math/libm-test.inc (struct test_if_f_data): New type.
4368 (RUN_TEST_LOOP_if_f): New macro.
4369 (jn_test_data): New variable.
4370 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4371 (yn_test_data): New variable.
4372 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4373
6d33265c
JM
4374 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4375
f98ece5f
AZ
43762013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4377
4378 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4379 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4380
0f7d347b
SP
43812013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4382
43fe811b
SP
4383 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4384 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4385 (bench-deps): Add bench-timing.h.
4386 * benchtests-bench-skeleton.c: Include bench-timing.h.
4387 (main): Use TIMING_* macros instead of clock_gettime.
4388 * benchtests/bench-timing.h: New file.
4389
0f7d347b
SP
4390 [BZ #14582]
4391 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4392 Renamed from _LIB_VERSION.
4393 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4394
601a3a5f
JM
43952013-05-12 Joseph Myers <joseph@codesourcery.com>
4396
4f184d30
JM
4397 * math/libm-test.inc (struct test_fff_f_data): New type.
4398 (RUN_TEST_LOOP_fff_f): New macro.
4399 (fma_test_data): New variable.
4400 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4401 (fma_towardzero_test_data): New variable.
4402 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4403 (fma_downward_test_data): New variable.
4404 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4405 (fma_upward_test_data): New variable.
4406 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4407
08198877
JM
4408 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4409 (struct test_c_c_data): New type.
4410 (RUN_TEST_LOOP_c_c): New macro.
4411 (cacos_test_data): New variable.
4412 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4413 (cacosh_test_data): New variable.
4414 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4415 (casin_test_data): New variable.
4416 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4417 (casinh_test_data): New variable.
4418 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4419 (catan_test_data): New variable.
4420 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4421 (catanh_test_data): New variable.
4422 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4423 (ccos_test_data): New variable.
4424 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4425 (ccosh_test_data): New variable.
4426 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4427 (cexp_test_data): New variable.
4428 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4429 (clog_test_data): New variable.
4430 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4431 (clog10_test_data): New variable.
4432 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4433 (conj_test_data): New variable.
4434 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4435 (cproj_test_data): New variable.
4436 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4437 (csin_test_data): New variable.
4438 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4439 (csinh_test_data): New variable.
4440 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4441 (csqrt_test_data): New variable.
4442 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4443 (ctan_test_data): New variable.
4444 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4445 (ctan_tonearest_test_data): New variable.
4446 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4447 (ctan_towardzero_test_data): New variable.
4448 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4449 (ctan_downward_test_data): New variable.
4450 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4451 (ctan_upward_test_data): New variable.
4452 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4453 (ctanh_test_data): New variable.
4454 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4455 (ctanh_tonearest_test_data): New variable.
4456 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4457 (ctanh_towardzero_test_data): New variable.
4458 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4459 (ctanh_downward_test_data): New variable.
4460 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4461 (ctanh_upward_test_data): New variable.
4462 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4463 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4464 of BUILD_COMPLEX.
4465
601a3a5f
JM
4466 * math/libm-test.inc (struct test_ff_f_data): New type.
4467 (struct test_ff_f_data_nexttoward): Likewise.
4468 (RUN_TEST_LOOP_2_f): New macro.
4469 (RUN_TEST_LOOP_ff_f): Likewise.
4470 (atan2_test_data): New variable.
4471 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4472 (copysign_test_data): New variable.
4473 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4474 (fdim_test_data): New variable.
4475 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4476 (fmax_test_data): New variable.
4477 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4478 (fmin_test_data): New variable.
4479 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4480 (fmod_test_data): New variable.
4481 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4482 (hypot_test_data): New variable.
4483 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4484 (nextafter_test_data): New variable.
4485 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4486 (nexttoward_test_data): New variable.
4487 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4488 (pow_test_data): New variable.
4489 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4490 (pow_tonearest_test_data): New variable.
4491 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4492 (pow_towardzero_test_data): New variable.
4493 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4494 (pow_downward_test_data): New variable.
4495 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4496 (pow_upward_test_data): New variable.
4497 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4498 (remainder_test_data): New variable.
4499 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4500 (scalb_test_data): New variable.
4501 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4502 * sysdeps/i386/fpu/libm-test-ulps: Update.
4503
74c57478
JM
45042013-05-11 Joseph Myers <joseph@codesourcery.com>
4505
8329e4da
JM
4506 * math/libm-test.inc (fma_test): Use max_value instead of local
4507 variable fltmax.
4508 (nextafter_test): Likewise.
4509
74c57478
JM
4510 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4511 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4512 (acos_downward_test_data): New variable.
4513 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4514 (acos_upward_test_data): New variable.
4515 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4516 (acosh_test_data): New variable.
4517 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4518 (asin_test_data): New variable.
4519 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4520 (asin_tonearest_test_data): New variable.
4521 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4522 (asin_towardzero_test_data): New variable.
4523 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4524 (asin_downward_test_data): New variable.
4525 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4526 (asin_upward_test_data): New variable.
4527 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4528 (asinh_test_data): New variable.
4529 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4530 (atan_test_data): New variable.
4531 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4532 (atanh_test_data): New variable.
4533 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4534 (cbrt_test_data): New variable.
4535 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4536 (ceil_test_data): New variable.
4537 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4538 (cos_test_data): New variable.
4539 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4540 (cos_tonearest_test_data): New variable.
4541 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4542 (cos_towardzero_test_data): New variable.
4543 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4544 (cos_downward_test_data): New variable.
4545 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4546 (cos_upward_test_data): New variable.
4547 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4548 (cosh_test_data): New variable.
4549 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4550 (cosh_tonearest_test_data): New variable.
4551 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4552 (cosh_towardzero_test_data): New variable.
4553 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4554 (cosh_downward_test_data): New variable.
4555 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4556 (cosh_upward_test_data): New variable.
4557 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4558 (erf_test_data): New variable.
4559 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4560 (erfc_test_data): New variable.
4561 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4562 (exp_test_data): New variable.
4563 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4564 (exp_tonearest_test_data): New variable.
4565 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4566 (exp_towardzero_test_data): New variable.
4567 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4568 (exp_downward_test_data): New variable.
4569 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4570 (exp_upward_test_data): New variable.
4571 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4572 (exp10_test_data): New variable.
4573 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4574 (exp2_test_data): New variable.
4575 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4576 (expm1_test_data): New variable.
4577 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4578 (fabs_test_data): New variable.
4579 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4580 (floor_test_data): New variable.
4581 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4582 (j0_test_data): New variable.
4583 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4584 (j1_test_data): New variable.
4585 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4586 (log_test_data): New variable.
4587 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4588 (log10_test_data): New variable.
4589 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4590 (log1p_test_data): New variable.
4591 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4592 (log2_test_data): New variable.
4593 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4594 (logb_test_data): New variable.
4595 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4596 (logb_downward_test_data): New variable.
4597 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4598 (nearbyint_test_data): New variable.
4599 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4600 (rint_test_data): New variable.
4601 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4602 (rint_tonearest_test_data): New variable.
4603 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4604 (rint_towardzero_test_data): New variable.
4605 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4606 (rint_downward_test_data): New variable.
4607 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4608 (rint_upward_test_data): New variable.
4609 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4610 (round_test_data): New variable.
4611 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4612 (sin_test_data): New variable.
4613 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4614 (sin_tonearest_test_data): New variable.
4615 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4616 (sin_towardzero_test_data): New variable.
4617 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4618 (sin_downward_test_data): New variable.
4619 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4620 (sin_upward_test_data): New variable.
4621 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4622 (sinh_test_data): New variable.
4623 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4624 (sinh_tonearest_test_data): New variable.
4625 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4626 (sinh_towardzero_test_data): New variable.
4627 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4628 (sinh_downward_test_data): New variable.
4629 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4630 (sinh_upward_test_data): New variable.
4631 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4632 (sqrt_test_data): New variable.
4633 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4634 (tan_test_data): New variable.
4635 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4636 (tan_tonearest_test_data): New variable.
4637 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4638 (tan_towardzero_test_data): New variable.
4639 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4640 (tan_downward_test_data): New variable.
4641 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4642 (tan_upward_test_data): New variable.
4643 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4644 (tanh_test_data): New variable.
4645 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4646 (tgamma_test_data): New variable.
4647 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4648 (trunc_test_data): New variable.
4649 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4650 (y0_test_data): New variable.
4651 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4652 (y1_test_data): New variable.
4653 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4654 (significand_test_data): New variable.
4655 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4656
7187d844
CG
46572013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4658
4659 [BZ #12387]
4660 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4661
f63fae73
PT
46622013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4663
4664 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4665
8a67a4b3
AJ
46662013-05-10 Andreas Jaeger <aj@suse.de>
4667
4668 [BZ #15448]
4669 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4670 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4671
51df539d
JM
46722013-05-10 Joseph Myers <joseph@codesourcery.com>
4673
4674 * math/gen-libm-test.pl (adjust_arg): New function.
4675 (special_functions): Handle generating output in both functions
4676 and arrays.
4677 (parse_args): Likewise.
4678 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4679 $in_func argument to parse_args.
4680 * math/libm-test.inc (struct test_f_f_data): New type.
4681 (IF_ROUND_INIT_): New macro.
4682 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4683 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4684 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4685 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4686 (ROUND_RESTORE_): Likewise.
4687 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4688 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4689 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4690 (ROUND_RESTORE_FE_UPWARD): Likewise.
4691 (RUN_TEST_LOOP_f_f): New macro.
4692 (acos_test_data): New variable.
4693 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4694 (acos_tonearest_test_data): New variable.
4695 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4696
5c637fe5
SP
46972013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4698
4699 * benchtests/bench-skeleton.c (startup): Fix coding style.
4700
ab2b9461
JM
47012013-05-10 Joseph Myers <joseph@codesourcery.com>
4702
4703 [BZ #6809]
4704 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4705 negative infinity argument.
4706 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4707 negative infinity argument.
4708 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4709 negative infinity argument.
4710 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4711 domain errors.
4712
4c0fe6fe
FW
47132013-05-10 Florian Weimer <fweimer@redhat.com>
4714
4715 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4716 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4717 * iconv/iconv_prog.c (main): Likewise.
4718 * locale/programs/charmap-dir.c (charmap_readdir)
4719 (fopen_uncompressed): Likewise.
4720 * locale/programs/locfile.c (siblings_uncached)
4721 (write_locale_data): Use lstat64 instead of lstat.
4722 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4723 stat.
4724
a3375d29
AJ
47252013-05-10 Andreas Jaeger <aj@suse.de>
4726
4727 [BZ #15395]
4728 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4729 localization.
4730 Include <locale.h>.
4731
36129722
CD
47322013-05-09 Carlos O'Donell <carlos@redhat.com>
4733
4734 * elf/dl-close.c (_dl_close_worker): Add comments.
4735
faa7f811
JM
47362013-05-09 Joseph Myers <joseph@codesourcery.com>
4737
ed41ffef
JM
4738 [BZ #15359]
4739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4740 high part of pi/2.
4741 (__ieee754_rem_pio2l): Update comments.
4742
d0213cd0
JM
4743 [BZ #15429]
4744 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4745 high part of pi/2.
4746 (__ieee754_rem_pio2l): Update comments.
4747
0d3e777a
JM
4748 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4749 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4750
24f56066
JM
4751 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4752 M_PI_4l.
4753
faa7f811
JM
4754 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4755 (M_PI_34_LOG10El): Likewise.
4756 (M_PI2_LOG10El): Likewise.
4757 (M_PI4_LOG10El): Likewise.
4758 (M_PI_LOG10El): Likewise.
4759
e9a5e0fd
AZ
47602013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4763
d8cd06db
JM
47642013-05-08 Joseph Myers <joseph@codesourcery.com>
4765
a0d9f9d7
JM
4766 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4767 (MINUS_ZERO_INIT): Likewise.
4768 (PLUS_INFTY_INIT): Likewise.
4769 (MINUS_INFTY_INIT): Likewise.
4770 (QNAN_VALUE_INIT): Likewise.
4771 (MAX_VALUE_INIT): Likewise.
4772 (MIN_VALUE_INIT): Likewise.
4773 (MIN_SUBNORM_VALUE_INIT): Likewise.
4774 (plus_zero): Initialize with PLUS_ZERO_INIT.
4775 (minus_zero): Initialize with MINUS_ZERO_INIT.
4776 (plus_infty): Initialize with PLUS_INFTY_INIT.
4777 (minus_infty): Initialize with MINUS_INFTY_INIT.
4778 (qnan_value): Initialize with QNAN_VALUE_INIT.
4779 (max_value): Initialize with MAX_VALUE_INIT.
4780 (min_value): Initialize with MIN_VALUE_INIT.
4781 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4782
ae08db3b
JM
4783 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4784 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4785 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4786 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4787
f44bf14a
JM
4788 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4789 (RUN_TEST_2_f): Likewise.
4790 (RUN_TEST_ff_f): Likewise.
4791 (RUN_TEST_fi_f): Likewise.
4792 (RUN_TEST_fl_f): Likewise.
4793 (RUN_TEST_fff_f): Likewise.
4794 (RUN_TEST_c_f): Likewise.
4795 (RUN_TEST_f_f1): Likewise.
4796 (RUN_TEST_fF_f1): Likewise.
4797 (RUN_TEST_fI_f1): Likewise.
4798 (RUN_TEST_ffI_f1): Likewise.
4799 (RUN_TEST_c_c): Likewise.
4800 (RUN_TEST_cc_c): Likewise.
4801 (RUN_TEST_f_i): Likewise.
4802 (RUN_TEST_f_i_tg): Likewise.
4803 (RUN_TEST_ff_i_tg): Likewise.
4804 (RUN_TEST_f_b): Likewise.
4805 (RUN_TEST_f_b_tg): Likewise.
4806 (RUN_TEST_f_l): Likewise.
4807 (RUN_TEST_f_L): Likewise.
4808 (RUN_TEST_sincos): Likewise.
4809 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4810 whether to show exceptions. Do not include ");\n" in return
4811 value.
4812 (special_functions): Output call to RUN_TEST_sincos instead of
4813 check_float calls. Update calls to new_test.
4814 (parse_args): Output call to single RUN_TEST_* macro instead of
4815 check_* calls and other assignments. Update calls to new_test.
4816
d8cd06db
JM
4817 [BZ #2546]
4818 [BZ #2560]
4819 [BZ #5159]
4820 [BZ #15426]
4821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4822 input to result for tgamma overflow.
4823 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4824 (gamma_coeff): New variable.
4825 (NCOEFF): New macro.
4826 (gamma_positive): New function.
4827 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4828 underflow here. Use gamma_positive instead of exp (lgamma) for
4829 other arguments.
4830 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4831 (gamma_coeff): New variable.
4832 (NCOEFF): New macro.
4833 (gammaf_positive): New function.
4834 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4835 underflow here. Use gamma_positive instead of exp (lgamma) for
4836 other arguments.
4837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4838 (gamma_coeff): New variable.
4839 (NCOEFF): New macro.
4840 (gammal_positive): New function.
4841 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4842 underflow here. Use gamma_positive instead of exp (lgamma) for
4843 other arguments.
4844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4845 (gamma_coeff): New variable.
4846 (NCOEFF): New macro.
4847 (gammal_positive): New function.
4848 (__ieee754_gammal_r): Handle positive infinity, overflow and
4849 underflow here. Handle NaN the same as positive infinity. Remove
4850 check x < 0xffffffff for negative integers. Use gamma_positive
4851 instead of exp (lgamma) for other arguments.
4852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4853 (gamma_coeff): New variable.
4854 (NCOEFF): New macro.
4855 (gammal_positive): New function.
4856 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4857 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4861 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4862 * sysdeps/generic/math_private.h (__gamma_productf): New
4863 prototype.
4864 (__gamma_product): Likewise.
4865 (__gamma_productl): Likewise.
4866 * math/Makefile (libm-calls): Add gamma_product.
4867 * math/libm-test.inc (tgamma_test): Add more tests.
4868 * sysdeps/i386/fpu/libm-test-ulps: Update.
4869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4870
bb7cf681
OB
48712013-05-08 Ondřej Bílka <neleai@seznam.cz>
4872
4873 * benchtests/bench-skeleton.c (main): Preheat CPU.
4874
ba853947
AJ
48752013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4876
4877 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4878
8347c74c
RM
48792013-05-07 Roland McGrath <roland@hack.frob.com>
4880
4881 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4882 and _dl_skip_args_internal.
4883
e8dd4791
CD
48842013-05-07 Carlos O'Donell <carlos@redhat.com>
4885
4886 * manual/message.texi (Message Translation): Talk about users.
4887 Message to key mapping impacts design.
4888
c7405830
RM
48892013-05-06 Roland McGrath <roland@hack.frob.com>
4890
a9173057
RM
4891 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4892
976e2f03
RM
4893 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4894
9723ffc5
RM
4895 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4896 * sysdeps/wordsize-64/glob64.c: ... here.
4897
962e6658
RM
4898 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4899 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4900 New macros.
4901
ee586a6d
RM
4902 * debug/getlogin_r_chk.c: Moved to ...
4903 * login/getlogin_r_chk.c: ... here.
4904 * debug/Makefile (routines): Move getlogin_r_chk to ...
4905 * login/Makefile (routines): ... here.
4906 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4907 * login/Versions (libc: GLIBC_2.4): ... here.
4908
355f9165
RM
4909 * io/poll.c (__poll): Renamed from poll.
4910 Add libc_hidden_def.
4911 (poll): Define as weak alias.
4912
bd9ffde6
RM
4913 * debug/ptsname_r_chk.c: Moved to ...
4914 * login/ptsname_r_chk.c: ... here.
4915 * debug/Makefile (routines): Move ptsname_r_chk to ...
4916 * login/Makefile (routines): ... here.
4917 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4918 * login/Versions (libc: GLIBC_2.4): ... here.
4919
8fb16a04
RM
4920 * posix/getlogin.c: Moved to ...
4921 * login/getlogin.c: ... here.
4922 * posix/getlogin_r.c: Moved to ...
4923 * login/getlogin_r.c: ... here.
4924 * posix/getlogin_r.c: Moved to ...
4925 * login/getlogin_r.c: ... here.
4926 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4927 * login/Makefile (routines): ... here.
4928 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4929 * login/Versions (libc: GLIBC_2.0): ... here.
4930
b99b892f
RM
4931 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4932 (setrlimit): Define as weak alias.
4933
c7405830
RM
4934 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4935 Call __ names for open, ftruncate, and close.
4936 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4937 (truncate): Define as weak alias.
4938
5bf96de5
JM
49392013-05-06 Joseph Myers <joseph@codesourcery.com>
4940
9ea3513c
JM
4941 * math/gen-libm-test.pl (parse_args): Initialize x before each
4942 test of frexp, modf and remquo.
4943
5bf96de5
JM
4944 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4945 test signgam value.
4946
16e616a7
AZ
49472013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4948
4949 [BZ #15418]
4950 [BZ #15419]
4951 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4952 internal tests.
4953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4954
d5e82754
RM
49552013-05-06 Roland McGrath <roland@hack.frob.com>
4956
4957 * elf/dl-writev.h: New file.
4958 * elf/dl-misc.c: Include it.
4959 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4960 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4961
a7548d41
JM
49622013-05-04 Joseph Myers <joseph@codesourcery.com>
4963
b7dab1e4
JM
4964 * math/libm-test.inc (noXFails): Remove variable.
4965 (noXPasses): Likewise.
4966 (BUILD_COMPLEX_INT): Remove macro.
4967 (print_screen): Remove xfail argument.
4968 (print_screen_max_error): Likewise.
4969 (update_stats): Likewise.
4970 (print_max_error): Likewise. Update calls to other affected
4971 functions.
4972 (print_complex_max_error): Likewise.
4973 (test_single_exception): Update calls to print_screen.
4974 (test_single_errno): Likewise.
4975 (check_float_internal): Remove xfail argument. Update calls to
4976 other affected functions.
4977 (check_float): Likewise.
4978 (check_complex): Likewise.
4979 (check_int): Likewise.
4980 (check_long): Likewise.
4981 (check_bool): Likewise.
4982 (check_longlong): Likewise.
4983 (main): Don't print noXFails and noXPasses.
4984 * math/gen-libm-test.pl (top level): Don't mention expected
4985 failure handling in comment.
4986 (new_test): Don't handle expected failures.
4987 (parse_args): Don't mention expected failure handling in comment.
4988 (generate_testfile): Don't handle expected failures.
4989 (parse_ulps): Likewise.
4990 (print_ulps_file): Likewise.
4991 (get_failure): Remove function.
4992 (output_test): Don't handle expected failures.
4993 * make/README.libm-test: Don't mention expected failure handling.
4994
a7548d41
JM
4995 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4996 (minus_zero): Likewise.
4997 (plus_infty): Likewise.
4998 (minus_infty): Likewise.
4999 (qnan_value): Likewise.
5000 (max_value): Likewise.
5001 (min_value): Likewise.
5002 (min_subnorm_value): Likewise.
5003 (initialize): Do not initialize those variables dynamically.
5004
60bfd54c
RM
50052013-05-03 Roland McGrath <roland@hack.frob.com>
5006
cc0e6ed8
RM
5007 * io/open.c (__open_2): Moved to ...
5008 * io/open_2.c: ... this new file.
5009 * io/open64.c (__open64_2): Moved to ...
5010 * io/open64_2.c: ... this new file.
5011 * io/openat.c (__openat_2): Moved to ...
5012 * io/openat_2.c: ... this new file.
5013 * io/openat64.c (__openat64_2): Moved to ...
5014 * io/openat64_2.c: ... this new file.
5015 * io/Makefile (routines): Add them.
5016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5017 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5018 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5019 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5020 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5021 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5022 (__openat64): Add hidden_ver.
5023 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5024 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5025
60bfd54c
RM
5026 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5027 Separately conditionalize setting of GLRO(dl_sysinfo) so
5028 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5029 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5030
83e7640f
AZ
50312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032
5033 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5034 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5035 definition.
5036 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5038 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5039 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5040 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5041
d5dc2af3
JM
50422013-05-03 Joseph Myers <joseph@codesourcery.com>
5043
c31a5b1e
JM
5044 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5045 test signgam value.
5046
d5dc2af3
JM
5047 * math/libm-test.inc (hypot_test): Do not use
5048 IGNORE_ZERO_INF_SIGN.
5049
164fd39d
AJ
50502013-05-03 Andreas Jaeger <aj@suse.de>
5051
5052 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5053 Linux 3.9.
5054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5055 (PF_MAX): Adjust for VSOCK change.
5056
8237f48c
AZ
50572013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058
5059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5060
9df02941
CD
50612013-05-02 Carlos O'Donell <carlos@redhat.com>
5062
5063 [BZ #15264]
5064 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5065 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5066 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5067
d422395e
DM
50682013-05-02 David S. Miller <davem@davemloft.net>
5069
5070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5071
a07c5731
OB
50722013-05-01 Ondřej Bílka <neleai@seznam.cz>
5073
5074 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5075
1324e37f
RM
50762013-05-01 Roland McGrath <roland@hack.frob.com>
5077
5078 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5079
0695940b
RS
50802013-05-01 Richard Smith <richard@metafoo.co.uk>
5081
bb5f27ad 5082 [BZ #14952]
0695940b
RS
5083 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5084 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5085 Use __attribute__ ((__gnu_inline__)).
5086 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5087 Don't use __attribute__ ((__gnu_inline__)).
5088
10de07f5
JM
50892013-05-01 Joseph Myers <joseph@codesourcery.com>
5090
5091 [BZ #15423]
5092 * math/s_catan.c (__catan): Handle small real or imaginary part of
5093 input specially to avoid spurious underflow.
5094 * math/s_catanf.c (__catanf): Likewise.
5095 * math/s_catanh.c (__catanh): Likewise.
5096 * math/s_catanhf.c (__catanhf): Likewise.
5097 * math/s_catanhl.c (__catanhl): Likewise.
5098 * math/s_catanl.c (__catanl): Likewise.
5099 * math/libm-test.inc (catan_test): Add more tests.
5100 (catanh_test): Likewise.
5101 * sysdeps/i386/fpu/libm-test-ulps: Update.
5102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5103
cb4d5414
AZ
51042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105
5106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5107
caf84319
JM
51082013-04-30 Joseph Myers <joseph@codesourcery.com>
5109
5110 [BZ #15416]
5111 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5112 accurately for denominator in atan2.
5113 * math/s_catanf.c (__catanf): Likewise.
5114 * math/s_catanh.c (__catanh): Likewise.
5115 * math/s_catanhf.c (__catanhf): Likewise.
5116 * math/s_catanhl.c (__catanhl): Likewise.
5117 * math/s_catanl.c (__catanl): Likewise.
5118 * math/libm-test.inc (catan_test): Add more tests.
5119 (catanh_test): Likewise.
5120 * sysdeps/i386/fpu/libm-test-ulps: Update.
5121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5122
d569c6ee
SP
51232013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5124
6dbe713d
SP
5125 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5126
f0ee064b
SP
5127 * benchtests/Makefile (bench): Remove slow benchmarks.
5128 * benchtests/atan-inputs: Add slow benchmark inputs.
5129 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5130 (BENCH_FUNC): Accept variant offset.
5131 (VARIANT): Define.
5132 * benchtests/bench-skeleton.c (main): Run benchmark for each
5133 variant.
5134 * benchtests/cos-inputs: Add slow benchmark inputs.
5135 * benchtests/exp-inputs: Likewise.
5136 * benchtests/pow-inputs: Likewise.
5137 * benchtests/sin-inputs: Likewise.
5138 * benchtests/slowatan-inputs: Remove.
5139 * benchtests/slowatan.c: Remove.
5140 * benchtests/slowcos-inputs: Remove.
5141 * benchtests/slowcos.c: Remove.
5142 * benchtests/slowexp-inputs: Remove.
5143 * benchtests/slowexp.c: Remove.
5144 * benchtests/slowpow-inputs: Remove.
5145 * benchtests/slowpow.c: Remove.
5146 * benchtests/slowsin-inputs: Remove.
5147 * benchtests/slowsin.c: Remove.
5148 * benchtests/slowtan-inputs: Remove.
5149 * benchtests/slowtan.c: Remove.
5150 * benchtests/tan-inputs: Add slow benchmark inputs.
5151 * scripts/bench.pl: Parse comments and directives.
5152
d569c6ee
SP
5153 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5154 in CPPFLAGS.
5155 ($(objpfx)bench-%.c): Remove *-ITER.
5156 * benchtests/bench-modf.c: Remove definition of ITER.
5157 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5158 (main): Loop for DURATION seconds instead of fixed number of
5159 iterations.
5160 * scripts/bench.pl: Don't expect iterations in parameters.
5161
a6a242fe
RM
51622013-04-29 Roland McGrath <roland@hack.frob.com>
5163
5164 * io/fchdir.c (__fchdir): Renamed from fchdir.
5165 (fchdir): Define as weak alias.
5166
f2da7793
JM
51672013-04-29 Joseph Myers <joseph@codesourcery.com>
5168
5169 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5170 (ERRNO_EDOM): Likewise.
5171 (ERRNO_ERANGE): Likewise.
5172 (noErrnoTests): New variable.
5173 (init_max_error): Set errno to 0.
5174 (test_single_errno): New function.
5175 (test_errno): Likewise.
5176 (check_float_internal): Call test_errno. Set errno to 0.
5177 (check_complex): Refer to errno tests in comment.
5178 (check_int): Call test_errno. Set errno to 0.
5179 (check_long): Likewise.
5180 (check_bool): Likewise.
5181 (check_longlong): Likewise.
5182 (cos_test): Use ERRNO_* flags for errno tests instead of
5183 check_int.
5184 (expm1_test): Likewise.
5185 (fmod_test): Likewise.
5186 (ilogb_test): Likewise.
5187 (lgamma_test): Likewise.
5188 (pow_test): Likewise.
5189 (remainder_test): Likewise.
5190 (sin_test): Likewise.
5191 (tan_test): Likewise.
5192 (yn_test): Likewise.
5193 (initialize): Set errno to 0.
5194 (main): Print number of errno tests.
5195 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5196
b1a36ceb
AJ
51972013-04-29 Andreas Jaeger <aj@suse.de>
5198
c3ed8088
AJ
5199 [BZ #15084]
5200 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5201 and RES_USEVC.
5202
f1a24198
AJ
5203 [BZ #15085]
5204 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5205 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5206 unimplemented.
5207
9ce3b2cb
AJ
5208 [BZ #15380]
5209 * stdlib/random.c (__initstate): Return NULL if
5210 __initstate fails.
5211
f1a24198 5212 [BZ #15086]
b1a36ceb
AJ
5213 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5214 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5215 RES_SNGLKUPREOP.
5216
7e7b6f36
AZ
52172013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218
5219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5220
4d14f449
JM
52212013-04-29 Joseph Myers <joseph@codesourcery.com>
5222
5223 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5224 of individual tests.
5225 (casin_test): Likewise.
5226 (casinh_test): Likewise.
5227
5b4217d7
JM
52282013-04-27 Joseph Myers <joseph@codesourcery.com>
5229
5230 [BZ #15409]
5231 * math/s_catan.c (__catan): Handle arguments with large real or
5232 imaginary part separately without squaring.
5233 * math/s_catanf.c (__catanf): Likewise.
5234 * math/s_catanh.c (__catanh): Likewise.
5235 * math/s_catanhf.c (__catanhf): Likewise.
5236 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5237 and redefine.
5238 (__catanhl): Handle arguments with large real or imaginary part
5239 separately without squaring.
5240 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5241 and redefine.
5242 (__catanl): Handle arguments with large real or imaginary part
5243 separately without squaring.
5244 * math/libm-test.inc (catan_test): Add more tests.
5245 (catanh_test): Likewise.
5246 * sysdeps/i386/fpu/libm-test-ulps: Update.
5247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5248
4220c3ef
AJ
52492013-04-27 Andreas Jaeger <aj@suse.de>
5250
5251 [BZ #15007]
5252 * stdlib/stdlib.h: Update guards for qecvt.
5253 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5254 <stdlib.h>.
5255
4721b2d1
AM
52562013-04-27 Allan McRae <allan@archlinux.org>
5257
5258 * sysdeps/i386/fpu/libm-test-ulps: Update.
5259
f0302940
JM
52602013-04-26 Joseph Myers <joseph@codesourcery.com>
5261
9457fd95
JM
5262 [BZ #15406]
5263 * math/s_catan.c: Include <float.h>.
5264 (__catan): Ensure underflow exception occurs for underflowed
5265 result.
5266 * math/s_catanf.c: Include <float.h>.
5267 (__catanf): Ensure underflow exception occurs for underflowed
5268 result.
5269 * math/s_catanh.c: Include <float.h>.
5270 (__catanh): Ensure underflow exception occurs for underflowed
5271 result.
5272 * math/s_catanhf.c: Include <float.h>.
5273 (__catanhf): Ensure underflow exception occurs for underflowed
5274 result.
5275 * math/s_catanhl.c: Include <float.h>.
5276 (__catanhl): Ensure underflow exception occurs for underflowed
5277 result.
5278 * math/s_catanl.c: Include <float.h>.
5279 (__catanl): Ensure underflow exception occurs for underflowed
5280 result.
5281 * math/libm-test.inc (catan_test): Add more tests.
5282 (catanh_test): Likewise.
5283
f0302940
JM
5284 [BZ #15405]
5285 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5286 underflowed result.
5287 * math/s_ccoshf.c (__ccoshf): Likewise.
5288 * math/s_ccoshl.c (__ccoshl): Likewise.
5289 * math/s_csin.c (__csin): Likewise.
5290 * math/s_csinf.c (__csinf): Likewise.
5291 * math/s_csinh.c (__csinh): Likewise.
5292 * math/s_csinhf.c (__csinhf): Likewise.
5293 * math/s_csinhl.c (__csinhl): Likewise.
5294 * math/s_csinl.c (__csinl): Likewise.
5295 * math/libm-test.inc (ccos_test): Add more tests.
5296 (ccosh_test): Likewise.
5297 (csin_test): Likewise.
5298 (csinh_test): Likewise.
5299
aa630f59
AZ
53002013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5301
5302 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5303 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5304 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5305 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5306 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5307 powerpc/power5+/fpu folders.
5308 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5309
5310
1b835983
MT
53112013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5312
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5314
73709b26
JM
53152013-04-25 Joseph Myers <joseph@codesourcery.com>
5316
5317 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5318 additions to variable.
5319 [$(config-machine) = x86_64] (modules-names): Likewise.
5320 ($(objpfx)tst-audit3): Remove dependency.
5321 ($(objpfx)tst-audit3.out): Likewise.
5322 ($(objpfx)tst-audit4): Likewise.
5323 ($(objpfx)tst-audit4.out): Likewise.
5324 ($(objpfx)tst-audit5): Likewise.
5325 ($(objpfx)tst-audit5.out): Likewise.
5326 ($(objpfx)tst-audit6): Likewise.
5327 ($(objpfx)tst-audit6.out): Likewise.
5328 ($(objpfx)tst-audit7): Likewise.
5329 ($(objpfx)tst-audit7.out): Likewise.
5330 (tst-audit3-ENV): Remove variable.
5331 (tst-audit4-ENV): Likewise.
5332 (tst-audit5-ENV): Likewise.
5333 (tst-audit6-ENV): Likewise.
5334 (tst-audit7-ENV): Likewise.
5335 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5336 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5337 addition to variable.
5338 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5343 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5344 tst-audit3, tst-audit4 and tst-audit5.
5345 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5346 tst-audit6 and tst-audit7.
5347 [$(subdir) = elf] (modules-names): Add audit modules for those
5348 tests.
5349 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5350 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5351 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5352 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5353 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5354 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5355 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5356 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5357 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5358 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5359 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5360 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5361 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5362 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5363 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5364 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5365 Likewise.
5366 [$(subdir) = elf && $(config-cflags-avx) = yes]
5367 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5368 [$(subdir) = elf && $(config-cflags-avx) = yes]
5369 (CFLAGS-tst-auditmod4a.c): Likewise.
5370 [$(subdir) = elf && $(config-cflags-avx) = yes]
5371 (CFLAGS-tst-auditmod4b.c): Likewise.
5372 [$(subdir) = elf && $(config-cflags-avx) = yes]
5373 (CFLAGS-tst-auditmod6b.c): Likewise.
5374 [$(subdir) = elf && $(config-cflags-avx) = yes]
5375 (CFLAGS-tst-auditmod6c.c): Likewise.
5376 [$(subdir) = elf && $(config-cflags-avx) = yes]
5377 (CFLAGS-tst-auditmod7b.c): Likewise.
5378 * elf/tst-audit3.c: Move to ...
5379 * sysdeps/x86_64/tst-audit3.c: ... here.
5380 * elf/tst-audit4.c: Move to ...
5381 * sysdeps/x86_64/tst-audit4.c: ... here.
5382 * elf/tst-audit5.c: Move to ...
5383 * sysdeps/x86_64/tst-audit5.c: ... here.
5384 * elf/tst-audit6.c: Move to ...
5385 * sysdeps/x86_64/tst-audit6.c: ... here.
5386 * elf/tst-audit7.c: Move to ...
5387 * sysdeps/x86_64/tst-audit7.c: ... here.
5388 * elf/tst-auditmod3a.c: Move to ...
5389 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5390 * elf/tst-auditmod3b.c: Move to ...
5391 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5392 * elf/tst-auditmod4a.c: Move to ...
5393 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5394 * elf/tst-auditmod4b.c: Move to ...
5395 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5396 * elf/tst-auditmod5a.c: Move to ...
5397 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5398 * elf/tst-auditmod5b.c: Move to ...
5399 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5400 * elf/tst-auditmod6a.c: Move to ...
5401 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5402 * elf/tst-auditmod6b.c: Move to ...
5403 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5404 * elf/tst-auditmod6c.c: Move to ...
5405 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5406 * elf/tst-auditmod7a.c: Move to ...
5407 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5408 * elf/tst-auditmod7b.c: Move to ...
5409 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5410
1ef74943
PP
54112013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5412
5413 [BZ #15366]
5414 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5415 define unconditionally.
5416 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5417 define unconditionally.
5418 (INT8_C, INT16_C, etc.): Likewise.
5419
93fd48c5
MR
54202013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5421
ae9552cf
MR
5422 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5423 __ehdr_start with hidden visibility.
5424
93fd48c5
MR
5425 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5426
418601aa
CD
54272013-04-24 Carlos O'Donell <carlos@redhat.com>
5428
5429 * math/libm-test.inc (cos_test): Use accurate hex constants.
5430 (sincost_test): Likewise.
5431
2f38fbfe
JM
54322013-04-24 Joseph Myers <joseph@codesourcery.com>
5433
5e221800
JM
5434 * math/libm-test.inc (catan_test): Add more tests.
5435 (catanh_test): Likewise.
5436
77f143fd
JM
5437 * math/s_catanf.c (__catanf): Use suffixed floating-point
5438 constants.
5439 * math/s_catanhf.c (__catanhf): Likewise.
5440 * math/s_catanhl.c (__catanhl): Likewise.
5441 * math/s_catanl.c (__catanl): Likewise.
5442
2f38fbfe
JM
5443 [BZ #15394]
5444 * math/s_catan.c (__catan): Calculate imaginary part of result
5445 with log1p not log unless computing log of number close to 0.
5446 * math/s_catanf.c (__catanf): Likewise.
5447 * math/s_catanl.c (__catanl): Likewise.
5448 * math/s_catanh.c (__catanh): Calculate real part of result with
5449 log1p not log unless computing log of number close to 0.
5450 * math/s_catanhf.c (__catanhf): Likewise.
5451 * math/s_catanhl.c (__catanhl): Likewise.
5452 * math/libm-test.inc (catan_test): Add more tests.
5453 (catanh_test): Likewise.
5454 * sysdeps/i386/fpu/libm-test-ulps: Update.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456
45d69176
SP
54572013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5458
5459 * benchtests/Makefile: Mention files in which fast and slow
5460 paths of math functions are implemented.
5461
87f51853
RM
54622013-04-23 Roland McGrath <roland@hack.frob.com>
5463
5464 * sysdeps/posix/timespec_get.c: New file.
5465
3c026539
AZ
54662013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467
5468 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5469 POWER.
5470 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5471 for POWER.
5472 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5473 powerpc/power5/fpu folders.
5474 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5475 * benchtests/Makefile: Add modf testcase.
5476 * benchtests/bench-modf.c: New file: Benchmark test for mo
5477
ff491d14
SP
54782013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5479
5480 [BZ #14888]
5481 * time/Makefile (tests): Add tst-strptime-whitespace.
5482 * time/strptime_l.c (get_number): Use ISSPACE.
5483 (__strptime_internal): Likewise.
5484 * time/tst-strptime-whitespace.c: New test case.
5485
7ed3f4e8
AS
54862013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5487
5488 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5489 member.
5490 (_nss_files_init): Set it here.
5491
5c95f7b6
HC
54922013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5493
5494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5495 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5496 unsigned.
5497
d34c9158
JBG
54982013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5499
5500 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5501
2169712d
SP
55022013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5505 size just once.
5506
29c5de99
DM
55072013-04-21 David S. Miller <davem@davemloft.net>
5508
5509 * po/ru.po: Update Russion translation from translation project.
5510
ccdad15d
AC
55112013-04-17 Adam Conrad <adconrad@0c3.net>
5512
5513 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5514 and setfsgid.
5515
0f122b8d
CD
55162013-04-17 Carlos O'Donell <carlos@redhat.com>
5517
5c5b07da 5518 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5519 * configure: Regenerate.
5c5b07da 5520 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5521 Add example to error message.
5522 * sysdeps/i386/configure: Regenerate.
5523
037714dd
SP
55242013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5525
5526 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5527 slowtan.
5528 * benchtests/cos-inputs: New file.
5529 * benchtests/slowcos-inputs: New file.
5530 * benchtests/slowcos.c: New file.
5531 * benchtests/slowtan-inputs: New file.
5532 * benchtests/slowtan.c: New file.
5533 * benchtests/tan-inputs: New file.
5534
e913141d
RM
55352013-04-16 Roland McGrath <roland@hack.frob.com>
5536
5537 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5538 considered kosher.
5539
a2964074
SP
55402013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5541
4856bcd2
SP
5542 * benchtests/Makefile: Include cppflags-iterator.mk to add
5543 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5544
a2964074
SP
5545 * Makefile.in (bench-clean): New target.
5546 * benchtests/Makefile (bench-clean): Likewise.
5547
9fbf9aca
DH
55482013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5549
5550 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5551
207d1e2a
TS
55522013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5553
5554 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5555
306dfba9
AS
55562013-04-15 Andreas Schwab <schwab@suse.de>
5557
5558 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5560 * nscd/pwdcache.c (cache_addpw): Likewise.
5561 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5562 more than recsize.
5563
206a6699
SP
55642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 * benchtests/Makefile (bench): Write all output to
5567 bench-out.tmp together.
5568
0582f6b3
AS
55692013-04-15 Andreas Schwab <schwab@suse.de>
5570
5571 * nscd/nscd.c (main): Don't fork again after closing files.
5572
acb4325f
SP
55732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5574
5cb26d0a
SP
5575 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5576
acb4325f
SP
5577 * benchtests/Rules (bench-deps): Collect dependencies into a
5578 single variable. Add Makefile to dependencies.
5579 ($(objpfx)bench-%.c): Depend on bench-deps.
5580
47792506
RM
55812013-04-12 Roland McGrath <roland@hack.frob.com>
5582 Xavier Roche <roche+kml2@exalead.com>
5583
5584 [BZ #15361]
5585 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5586 just that it's a file descriptor.
5587 * manual/llio.texi (Synchronizing AIO Operations): Update description
5588 for EBADF error from aio_fsync.
5589
8fc1bee5
SP
55902013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5591
5592 * Rules (bench): Move target definition...
5593 * benchtests/Makefile: ... here.
5594
aba5e333
CD
55952013-04-11 Carlos O'Donell <carlos@redhat.com>
5596
5597 * math/libm-test.inc (cos_test): Fix PI/2 test.
5598 (sincos_test): Likewise.
5599 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5600 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5601
273cdee8
AS
56022013-04-11 Andreas Schwab <schwab@suse.de>
5603
6ecec3b6
AS
5604 [BZ #13988]
5605 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5606 accept exponent character only when digits were seen.
5607 * stdio-common/Makefile (tests): Add bug26.
5608 * stdio-common/bug26.c: New file.
5609
273cdee8
AS
5610 [BZ #14293]
5611 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5612 non-freeable.
5613
8da491f5
SP
56142013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5615
01dc6df9
SP
5616 * Makeconfig (rtld-prefix): Define built linker prefix.
5617 * Rules (run-bench): Use it.
5618 * math/Makefile (run-regen-ulps): Likewise.
5619
8da491f5
SP
5620 * Rules (bench): Remove eval.
5621
abe7f530
SP
56222013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5623 Roland McGrath <roland@hack.frob.com>
5624 Ondrej Bilka <neleai@seznam.cz>
5625
5626 [BZ #15346]
5627 * time/getdate.c: Include ctype.h and alloca.h.
5628 (__getdate_r): Trim leading and trailing spaces of input.
5629 * time/tst-getdate.c (tests): Add tests with leading and
5630 trailing spaces.
5631
61c23e62
RM
56322013-04-08 Roland McGrath <roland@hack.frob.com>
5633
5634 [BZ #14280]
5635 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5636 when computing value.
5637
7208a313
CD
56382013-04-06 Carlos O'Donell <carlos@redhat.com>
5639
085b2d41
CD
5640 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5641 Use testrun.sh to run libm tests.
5642
7208a313
CD
5643 [BZ #15309]
5644 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5645
872c0acd
MM
56462013-04-06 Marko Myllynen <myllynen@redhat.com>
5647
5648 [BZ #15264]
5649 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5650
26510bdd
CD
56512013-04-06 Carlos O'Donell <carlos@redhat.com>
5652
5653 * Makefile.in (regen-ulps): New target.
5654 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5655 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5656 [ifneq (no,$(PERL)] (regen-ulps): New target.
5657 [ifeq (no,$(PERL)] (regen-ulps): New target.
5658 * math/libm-test.inc (ulps_file_name): Define.
5659 (output_dir): New variable.
5660 (options): Add "output-dir" option.
5661 (parse_opt): Handle 'o' case.
5662 (main): If output_dir is non-NULL use it as a prefix
5663 otherwise use "".
5664 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5665
a01f19c8
CD
56662013-04-06 Carlos O'Donell <carlos@redhat.com>
5667
5668 [BZ #10060, #10062]
5669 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5670 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5671 fail configure if __sync_val_compare_and_swap is not inlined.
5672 * sysdeps/i386/configure: Regenerate.
5673 * configure.in: Build for i686 when configured for i386.
5674 * configure: Regenerate.
5675 * README: Remove i386 reference.
5676
b7a329a5
CD
56772013-04-06 Carlos O'Donell <carlos@redhat.com>
5678
5679 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5681
bf0f50df
TS
56822013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5683
ee091edf
TS
5684 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5685 (lmsnanval): New variables.
5686 (F): Add conversion tests.
5687 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5688 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5689
a8b792d6
TS
5690 * stdio-common/tstdiomisc.c (F): Properly collect individual
5691 tests' results.
5692
a1cbf437
TS
5693 [BZ #14686, #15336]
5694 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5695 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5696 Instead, use input NaN values or generate a qNaN by arithmetic
5697 operation. Also fix bugs to comply with the standard.
5698 * math/libm-test.inc (remainder_test): Add more tests.
5699
8b43a0c9
TS
5700 [BZ #15335, #15342]
5701 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5703 input NaN values or generate a qNaN by arithmetic operation.
5704
d91da4ce
TS
5705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5706 unreachable code.
5707
bf0f50df
TS
5708 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5709 definitions.
5710
05e166c8
JM
57112013-04-03 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #14478]
5714 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5715 underflowed result.
5716 * math/s_cexpf.c (__cexpf): Likewise.
5717 * math/s_cexpl.c (__cexpl): Likewise.
5718 * math/libm-test.inc (cexp_test): Add more tests.
5719
1cef1b19
AS
57202013-04-03 Andreas Schwab <schwab@suse.de>
5721
5722 [BZ #15330]
5723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5724 order arrays from heap if bigger than alloca cutoff.
5725
74d87055
TS
57262013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5727
5728 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5729 (SNAN_TESTS_double): Refer to GCC PR56831.
5730 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5731 GCC PR56828.
5732
d755bba4
SP
57332013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5734
90d5d5bb
SP
5735 * Rules (bench): Move bench.out after the run is complete.
5736
73e0cd5d
SP
5737 * Rules (bench): Echo currently running benchmark.
5738
64aabd4b
SP
5739 * benchtests/Makefile (bench): Add atan and slowatan.
5740 * benchtests/atan-inputs: New file.
5741 * benchtests/slowatan-inputs: New file.
5742 * benchtests/slowatan.c: New file.
5743
c871eccd
SP
5744 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5746 its value.
5747
d755bba4
SP
5748 [BZ #15305]
5749 * sysdeps/unix/sysv/linux/kernel-features.h
5750 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5751 __ASSUME_XFS_RESTRICTED_CHOWN.
5752 * sysdeps/unix/sysv/linux/pathconf.c
5753 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5754 Save and restore errno.
5755
52ce4860
JM
57562013-04-02 Joseph Myers <joseph@codesourcery.com>
5757
5758 [BZ #15327]
5759 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5760 arguments using __kernel_casinh.
5761 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5762 arguments using __kernel_casinhf.
5763 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5764 arguments using __kernel_casinhl.
5765 * math/libm-test.inc (cacosh_test): Add more tests.
5766 * sysdeps/i386/fpu/libm-test-ulps: Update.
5767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768
81f311c2
SP
57692013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
e7906a47
SP
5771 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5773
92e3664b
SP
5774 * bench/Makefile (bench): Add sin and slowsin.
5775 * benchtests/sin-inputs: New file.
5776 * benchtests/slowsin-inputs: New file.
5777 * benchtests/slowsin.c: New file.
5778
81f311c2
SP
5779 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5780 (bench): Add slowexp and slowpow.
5781 (exp-ITER): Increase iterations.
5782 (pow-ITER): Likewise.
5783 * benchtests/exp-inputs: Change input.
5784 * benchtests/pow-inputs: Likewise.
5785 * benchtests/slowexp-inputs: New file.
5786 * benchtests/slowexp.c: New file.
5787 * benchtests/slowpow-inputs: New file.
5788 * benchtests/slowpow.c: New file.
5789
ab0f1aa9
AZ
57902013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5793 instructions.
5794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5795 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5796 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5797 * benchtests/Makefile: Add rint benchtest.
5798 * benchtests/rint-inputs: Input for rint benchtest.
5799
57267616
TS
58002013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5801
5802 * Versions.def (libm): Add GLIBC_2.18.
5803 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5804 hidden libm prototypes.
5805 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5806 * math/Makefile (libm-calls): Add s_issignaling.
5807 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5808 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5809 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5810 declaration.
5811 * math/math.h [__USE_GNU] (issignaling): New macro.
5812 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5813 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5814 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5818 * manual/arith.texi (issignaling): New section.
5819 * manual/libm-err-tab.pl (@all_functions): Update comment.
5820 * math/gen-libm-test.pl (parse_args): Apply special handling for
5821 issignaling.
5822 * math/libm-test.inc (print_float, issignaling_test): New
5823 functions.
5824 (check_float_internal): Add issignaling checks.
5825 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5826 default definition.
5827 * sysdeps/powerpc/math-tests.h: New file.
5828 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5829 tests.
5830 * math/test-snan.c (TEST_FUNC): Likewise.
5831
6142896d
DM
58322013-03-30 David S. Miller <davem@davemloft.net>
5833
5834 * po/de.po: Update from translation team.
5835
ccc8cadf
JM
58362013-03-30 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #10357]
5839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5840 imaginary part less than 1.0 and real part less than 0.5
5841 specially.
5842 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5843 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5845 (cacos_test): Add more tests.
5846 (casin_test): Likewise.
5847 (casinh_test): Likewise.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5850
0f6a8d4b
SP
58512013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5852
0d1029de
SP
5853 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5854 ONE with its value.
5855
c2d94018
SP
5856 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5857 (__pow_mp): Replace ONE and MONE with their values.
5858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5859 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5861 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5864
27ec37f1
SP
5865 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5866
a64d7e0e
SP
5867 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5868 (__pow_mp): Replace ZERO and MZERO with their values.
5869 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5871 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5874 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5875 (__sqr): Likewise.
5876
d26dd3eb
SP
5877 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5878
0f6a8d4b
SP
5879 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5880
e57b0c61
RM
58812013-03-28 Roland McGrath <roland@hack.frob.com>
5882
5883 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5884 Declare with __attribute__ ((weak)).
5885 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5886 Call __call_tls_dtors only if it's not NULL.
5887
356b3480
RM
58882013-03-28 Roland McGrath <roland@hack.frob.com>
5889
288f7d79
RM
5890 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5891 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5892 magic __ehdr_start linker symbol if it's defined.
5893 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5894 them up here if it was already done.
5895
dc0a0263
RM
5896 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5897 (_dl_aux_init): Use const in cast when setting it.
5898 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5899 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5900 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5901
3d3436ae
RM
5902 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5903 Declare them here.
5904 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5905 * csu/libc-tls.c: Nor here.
5906 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5907
356b3480
RM
5908 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5909 (__libc_message): Never call vsyslog.
5910
b0f1246a
AM
59112013-03-28 Alan Modra <amodra@gmail.com>
5912
5913 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5914 Define as empty.
5915 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5916 Likewise.
5917
fbbe2b9a
AZ
59182013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919
5920 [BZ #15214]
5921 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5922 underflow.
5923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5924
1728ab37
SP
59252013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5926
7a86be6e
SP
5927 [BZ #15304]
5928 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5929 Don't add gid passed as argument.
5930
1728ab37
SP
5931 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5932
3a7182a1
JM
59332013-03-27 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #15307]
5936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5937 imaginary part between 1.0 and 1.5 and real part less than 0.5
5938 specially.
5939 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5940 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5941 * math/libm-test.inc (cacos_test): Add more tests.
5942 (casin_test): Likewise.
5943 (casinh_test): Likewise.
5944 * sysdeps/i386/fpu/libm-test-ulps: Update.
5945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946
6f2e90e7
SP
59472013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
5739f705
SP
5949 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5950 constants.
5951 (norm): Likewise.
5952 (denorm): Likewise.
5953 (__dbl_mp): Likewise.
5954 (add_magnitudes): Likewise.
5955 (sub_magnitudes): Likewise.
5956 (__add): Likewise.
5957 (__sub): Likewise.
5958 (__mul): Likewise.
5959 (__sqr): Likewise.
5960 (__inv): Likewise.
5961 (__dvd): Likewise.
5962
e375e83d
SP
5963 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5964 commented code.
5965 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5966 (__dubcos): Likewise.
5967 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5968 (__ieee754_acos): Likewise.
5969 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5971 (__exp1): Likewise.
5972 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5974 (log1): Likewise.
5975 (my_log2): Likewise.
5976 (checkint): Likewise.
5977 * sysdeps/ieee754/dbl-64/e_remainder.c
5978 (__ieee754_remainder): Likewise.
5979 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5981 (bsloww): Likewise.
5982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5983
6f2e90e7
SP
5984 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5986 MANTISSA_STORE_T to store computations on mantissa. Use
5987 macros for rounding and division.
5988 (denorm): Likewise.
5989 (__dbl_mp): Likewise.
5990 (add_magnitudes): Likewise.
5991 (sub_magnitudes): Likewise.
5992 (__mul): Likewise.
5993 (__sqr): Likewise.
5994 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5995 powers of two in terms of TWOPOW macro.
5996 (mp_no): Make type of mantissa as MANTISSA_T.
5997 [!RADIXI]: Define RADIXI.
5998 [!TWO52]: Define TWO52.
5999 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6000
fce14d4e
AZ
60012013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6004 llroundl symbol when building for PPC32.
6005
9ad027fb
MW
60062013-03-24 Mark H Weaver <mhw@netris.org>
6007
6008 * manual/arith.texi (Normalization Functions): Fix prototypes for
6009 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6010
e42a38dd
AZ
60112013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 [BZ #13889]
6014 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6015 high value to check if expl overflow.
6016 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6017 to check for underflow and overflow.
6018 * math/libm-test.inc: Add exp test.
6019
2e0fb521
DL
60202013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6021
6022 [BZ #11120]
6023 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6024 with NOT_IN_libc.
6025
b5784d95
AZ
60262013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027
6028 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6029 symbol.
6030
5aa4a1a1
TS
60312013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6032
bdef0be7
TS
6033 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6034 wrap blocks consisting of several statements.
6035
5aa4a1a1
TS
6036 * sysdeps/generic/math-tests.h: New file.
6037 * sysdeps/i386/fpu/math-tests.h: Likewise.
6038 * math/test-snan.c: Include it.
6039 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6040
98c48fe5
JM
60412013-03-21 Joseph Myers <joseph@codesourcery.com>
6042
6043 [BZ #15285]
6044 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6045 (__ieee754_j0l): Do not improve calculations using cos of twice
6046 input for inputs above LDBL_MAX / 2.0L.
6047 (__ieee754_y0l): Likewise.
6048 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6049 (__ieee754_j1l): Do not improve calculations using cos of twice
6050 input for inputs above LDBL_MAX / 2.0L.
6051 (__ieee754_y1l): Likewise.
6052 * math/libm-test.inc (j0_test): Add another test.
6053 (j1_test): Likewise.
6054 (y0_test): Likewise.
6055 (y1_test): Likewise.
6056 * sysdeps/i386/fpu/libm-test-ulps: Update.
6057
3775a8bc
SP
60582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6059
6060 * Rules ($(objpfx)bench-%.c): Include code from a C source
6061 file.
6062
0a1b2ae6
JM
60632013-03-21 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #15287]
6066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6067 imaginary part 1.0 and real part less than 0.5 specially.
6068 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6069 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6070 * math/libm-test.inc (cacos_test): Add more tests.
6071 (casin_test): Likewise.
6072 (casinh_test): Likewise.
6073 * sysdeps/i386/fpu/libm-test-ulps: Update.
6074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6075
b33d4ce4
SP
60762013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
6078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6079 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6080
bef0b507
JM
60812013-03-20 Joseph Myers <joseph@codesourcery.com>
6082
6083 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6084 * config.make.in (config-cflags-sse4): Remove variable.
6085 (config-cflags-avx): Likewise.
6086 (config-cflags-sse2avx): Likewise.
6087 (config-cflags-novzeroupper): Likewise.
6088 (config-asflags-i686): Likewise.
6089 (have-mfma4): Likewise.
6090 (have-as-vis3): Likewise.
6091 (MIG): Likewise.
6092 * configure.in (MIG): Do not AC_SUBST.
6093 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6094 (libc_cv_cc_sse4): Do not AC_SUBST.
6095 (libc_cv_cc_avx): Likewise.
6096 (libc_cv_cc_sse2avx): Likewise.
6097 (libc_cv_cc_novzeroupper): Likewise.
6098 (libc_cv_cc_fma4): Likewise.
6099 (libc_cv_as_i686): Likewise.
6100 (libc_cv_sparc_as_vis3): Likewise.
6101 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6102 LIBC_CONFIG_VAR.
6103 (config-asflags-i686): Likewise.
6104 (config-cflags-avx): Likewise.
6105 (config-cflags-sse2avx): Likewise.
6106 (have-mfma4): Likewise.
6107 (config-cflags-novzeroupper): Likewise.
6108 * sysdeps/mach/configure.in (MIG): Likewise.
6109 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6110 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6111 LIBC_CONFIG_VAR.
6112 (config-cflags-avx): Likewise.
6113 (config-cflags-sse2avx): Likewise.
6114 (have-mfma4): Likewise.
6115 (config-cflags-novzeroupper): Likewise.
6116 * configure: Regenerated.
6117 * sysdeps/i386/configure: Likewise.
6118 * sysdeps/mach/configure: Likewise.
6119 * sysdeps/sparc/configure: Likewise.
6120 * sysdeps/x86_64/configure: Likewise.
6121
912cc4b3
RM
61222013-03-20 Roland McGrath <roland@hack.frob.com>
6123
6124 [BZ #14812]
6125 * locale/programs/localedef.c (options): Put N_ translation marker
6126 on argument names, not just descriptions.
6127
04eed2b0
MS
61282013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6129
6130 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6131
a065ceff
OB
61322013-03-20 Ondřej Bílka <neleai@seznam.cz>
6133
9bb2a810 6134 [BZ #14176]
a065ceff
OB
6135 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6136
a600e5ce
RM
61372013-03-19 Roland McGrath <roland@hack.frob.com>
6138
6139 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6140 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6141 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6142 [!BEFORE_ABORT] (before_abort): New function.
6143 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6144 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6145 (writev_for_fatal): New function.
6146 (WRITEV_FOR_FATAL): New macro; call that.
6147 (backtrace_and_maps): New function.
6148 (BEFORE_ABORT): New macro; call that.
6149 (struct str_list): Type removed.
6150 (__libc_message, __libc_fatal): Functions removed.
6151 Include <sysdeps/posix/libc_fatal.c> instead.
6152
6b18bea6
JM
61532013-03-19 Joseph Myers <joseph@codesourcery.com>
6154
6155 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6156 constants.
6157 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6158 double constants.
6159
aaa8cb4b
AS
61602013-03-19 Andreas Schwab <schwab@suse.de>
6161
44673770
AS
6162 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6163 * sysdeps/gnu/configure: Regenerate.
6164
aaa8cb4b
AS
6165 * configure.in: Substitute libc_cv_rtlddir.
6166 * configure: Regenerate.
6167 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6168 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6169 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6170 * elf/Makefile (install-others, CFLAGS-interp.c)
6171 (ldso_install, common-ldd-rewrite): Likewise.
6172 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6173 $(inst_slibdir)/$(rtld-installed-name).
6174 * scripts/rellns-sh: Add -p option.
6175 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6176 for source.
6177
d3cfc668
SP
61782013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6179
6180 * manual/nptl.texi: Renamed to ...
6181 * manual/threads.texi: ... this.
6182 * manual/Makefile (chapters): Update.
6183
0e2b9cdd
RM
61842013-03-18 Roland McGrath <roland@hack.frob.com>
6185
6186 [BZ #14812]
6187 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6188 on argument names, not just descriptions.
0e2b9cdd
RM
6189 * malloc/memusagestat.c (options): Likewise.
6190 * nss/getent.c (options): Likewise.
63270c24
RM
6191
61922013-03-18 Benno Schulenberg <bensberg@justemail.net>
6193
6194 [BZ #14812]
6195 * iconv/iconv_prog.c (options): Put N_ translation marker
6196 on argument names, not just descriptions.
6197 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6198
b2e1393c
OB
61992013-03-18 Ondrej Bilka <neleai@seznam.cz>
6200
6201 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6202 implementation which is faster on all x86_64 architectures.
6203 Tested on AMD, Intel Nehalem, SNB, IVB.
6204 * sysdeps/x86_64/strnlen.S: Likewise.
6205
6206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6207 Remove all multiarch strlen and strnlen versions.
6208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6209 Remove strlen and strnlen related parts.
6210
6211 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6212 Inline strlen part.
6213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6214
6215 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6216 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6217 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6218 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6219 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6220 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6221
ec4ff04d
CD
62222013-03-17 Carlos O'Donell <carlos@redhat.com>
6223
6224 * manual/memory.texi (Malloc Tunable Parameters):
6225 Sort parameters alphabetically. Add comments for missing entries.
6226
cd18e90a
DM
62272013-03-17 David S. Miller <davem@davemloft.net>
6228
6229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6230
2a185d32
JM
62312013-03-16 Joseph Myers <joseph@codesourcery.com>
6232
d2f9799e
JM
6233 [BZ #15283]
6234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6235 for arguments at most half maximum finite value.
6236 * math/libm-test.inc (j0_test): Add more tests.
6237 (j1_test): Likewise.
6238 (y0_test): Likewise.
6239 (y1_test): Likewise.
6240 * sysdeps/i386/fpu/libm-test-ulps: Update.
6241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6242
2a185d32
JM
6243 [BZ #14155]
6244 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6245 1 / x and functions P and Q for arguments above 0x1p256L.
6246 (__ieee754_y0l): Likewise.
6247 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6248 (__ieee754_y1l): Likewise.
6249 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6250 (j1_test): Likewise.
6251 (y0_test): Likewise.
6252 (y1_test): Likewise.
6253
6cbec759
TS
62542013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6255
6256 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6257 variable.
6258
bc16e260
RM
62592013-03-15 Roland McGrath <roland@hack.frob.com>
6260
aefc9b8c
RM
6261 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6262 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6263 zero since it's initialized to EXEC_PAGESIZE.
6264
bc16e260
RM
6265 * sysdeps/unix/sysv/linux/ldsodefs.h
6266 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6267 * sysdeps/generic/ldsodefs.h: ... here.
6268
a57da955
TS
62692013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6270
af00a34d
TS
6271 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6272
495ded2c
TS
6273 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6274 math/test-snan.c.
6275 * math/test-snan.c: Renamed from
6276 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6277 * math/Makefile (tests): Add test-snan.
6278 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6279 test-powerpc-snan.
6280
777b0332
TS
6281 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6282 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6283 functions.
6284 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6285 __builtin_nan family of functions.
6286 * math/libm-test.inc (initialize): Initialize qnan_value with
6287 __builtin_nan family of functions.
6288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6289 Remove variables.
6290 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6291 Remove functions.
6292 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6293 storage class. Initialize qNaN_var and sNaN_var with
6294 __builtin_nan and __builtin_nans families of functions,
6295 respectively.
6296
64d063b8
TS
6297 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6298 (sqrt_test): Remove duplicate test with qNaN input.
6299 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6300 (round_test, signbit_test, significand_test): Note missing +/-Inf
6301 as well as qNaN tests.
6302
67e971f1
TS
6303 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6304 qNaN_var. Fix a few strings, too.
6305 * math/libm-test.inc (nan_value): Rename to qnan_value.
6306 * math/gen-libm-test.pl (%beautify): Adjust to that.
6307 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6308 * math/test-misc.c (main): Likewise.
6309 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6310 to __qnan_bytes, and __qnan_union, respectively.
6311 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6312 Likewise.
6313 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6314 and lqnanval, respectively.
6315 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6316 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6317 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6318 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6319
64487e12
TS
6320 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6321 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6322 doubles.
6323
e015e27b
TS
6324 * math/test-misc.c (main): Fix copy'n'pastos.
6325 * misc/tst-efgcvt.c (special): Likewise.
6326
a57da955
TS
6327 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6328 Remove declarations.
6329
1e380345
SP
63302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6331
6332 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6333 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6334 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6335 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6336
ef26eece
AZ
63372013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338
6339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6340 macro to return vdso values correctly in IFUNC implementations.
6341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6342 Optimization by using IFUNC.
6343
8cfdb7e0
SP
63442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6345 Richard Henderson <rth@redhat.com>
6346 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6347
6348 * Makefile.in (bench): New target.
6349 * NEWS: Mention the benchmark framework.
6350 * Rules (bench): Likewise.
6351 (binaries-bench): Generate binaries for functions to
6352 benchmark.
6353 * benchtests/Makefile: New makefile for benchmark tests.
6354 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6355 programs.
6356 * benchtests/exp-inputs: New input file for EXP function.
6357 * benchtests/pow-inputs: New input file for POW function.
6358 * scripts/bench.pl: New script to generate source files for
6359 benchmark programs.
6360
bcda9880
SP
63612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6362
d22ca8cd
SP
6363 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6365 computations on mantissa. Use macros for rounding and
6366 division.
6367 (denorm): Likewise.
6368 (__dbl_mp): Likewise.
6369 (add_magnitudes): Likewise.
6370 (sub_magnitudes): Likewise.
6371 (__mul): Likewise.
6372 (__sqr): Likewise.
6373 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6374 powers of two in terms of TWOPOW macro.
6375 (mp_no): Make type of mantissa as MANTISSA_T.
6376 [!RADIXI]: Define RADIXI.
6377 [!TWO52]: Define TWO52.
6378 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6379
bcda9880
SP
6380 * manual/nptl.texi (cindex): Modify threads to pthreads.
6381
06d5adfb
JM
63822013-03-15 Joseph Myers <joseph@codesourcery.com>
6383
6384 * sysdeps/x86_64/preconfigure: Regenerated.
6385
41c7328e
JM
63862013-03-14 Joseph Myers <joseph@codesourcery.com>
6387
6388 [BZ #14155]
6389 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6390 0x1p28 and above.
6391 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6392 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6393 0x1p28 and above.
6394 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6395 * math/libm-test.inc (j0_test): Do not allow one spurious
6396 underflow exception.
6397 (y1_test): Likewise.
6398
e25cfa60
SP
63992013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6400
0409959c
SP
6401 * manual/Makefile (chapters): Add nptl.
6402 * manual/debug.texi (Debugging Support): Add link to Threads
6403 chapter.
6404 * manual/nptl.texi: New file.
6405
e25cfa60
SP
6406 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6407
58a1335e
PB
64082013-03-14 Petr Baudis <pasky@ucw.cz>
6409
6410 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6411 for non-NULL pointer before the memory validity test. Pointed
6412 out by Holger Brunck <holger.brunck@keymile.com>.
6413
9dc7c64f
AS
64142013-03-13 Andreas Schwab <schwab@suse.de>
6415
6416 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6417 instead of .os.
6418
54206aa6
JM
64192013-03-13 Joseph Myers <joseph@codesourcery.com>
6420
6421 * timezone/zic.c: Update from tzcode 2013b.
6422
e98cdb38
CD
64232013-03-12 Carlos O'Donell <carlos@redhat.com>
6424
6425 * manual/install.texi (Configuring and compiling):
6426 Mention i686 and i586.
6427 * INSTALL: Regenerate.
6428
9967e003
RM
64292013-03-12 Roland McGrath <roland@hack.frob.com>
6430
6431 * sysdeps/init_array/elf-init.c: New file.
6432 * csu/elf-init.c
6433 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6434 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6435
6436 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6437 __gmon_start__ as global, but as static with a .preinit_array pointer.
6438 * sysdeps/init_array/gmon-start.c: New file. Use that.
6439 * sysdeps/init_array/crti.S: New file, empty except for comments.
6440 * sysdeps/init_array/crtn.S: Likewise.
6441
e6b5a293 64422013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6443
6444 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6445 definining bcopy.
80f844c9
OB
6446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6447 Remove Prefer_SSE_for_memop.
6448 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6449 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6450 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6452 memset-x86-64.
80f844c9 6453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6454 Remove bzero, memset ifunc support.
80f844c9
OB
6455 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6456 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6459
fb6b0fcb
AS
64602013-03-11 Andreas Schwab <schwab@suse.de>
6461
6462 [BZ #15234]
6463 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6464 by SHLIB_COMPAT.
6465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6466 (GLIBC_2.16): Remove pthread_atfork.
6467
3e6bd4b1
PP
64682013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6469
6470 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6471 (ptestcases.h): Likewise.
6472
222d7f00
RM
64732013-03-08 Roland McGrath <roland@hack.frob.com>
6474
6475 * Makeconfig ($(common-objpfx)config.status): Depend on
6476 sysdeps/*/preconfigure{,.in} too.
6477
1ba4f030
JM
64782013-03-08 Joseph Myers <joseph@codesourcery.com>
6479
a222d91a
JM
6480 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6481 (__free_hook): Use void * instead of __malloc_ptr_t.
6482 (__malloc_hook): Likewise.
6483 (__realloc_hook): Likewise.
6484 (__memalign_hook): Likewise.
6485 (__after_morecore_hook): Likewise.
6486 * malloc/arena.c (save_malloc_hook): Likewise.
6487 (save_free_hook): Likewise.
6488 * malloc/hooks.c (malloc_hook_ini): Likewise.
6489 (realloc_hook_ini): Likewise.
6490 (memalign_hook_ini): Likewise.
6491 * malloc/malloc.c (malloc_hook_ini): Likewise.
6492 (realloc_hook_ini): Likewise.
6493 (memalign_hook_ini): Likewise.
6494 (__free_hook): Likewise.
6495 (__malloc_hook): Likewise.
6496 (__realloc_hook): Likewise.
6497 (__memalign_hook): Likewise.
6498 (__libc_malloc): Likewise.
6499 (__libc_free): Likewise.
6500 (__libc_realloc): Likewise.
6501 (__libc_memalign): Likewise.
6502 (__libc_valloc): Likewise.
6503 (__libc_pvalloc): Likewise.
6504 (__libc_calloc): Likewise.
6505 (__posix_memalign): Likewise.
6506 * malloc/morecore.c (__sbrk): Likewise.
6507 (__default_morecore): Likewise.
6508
5cc45e10
JM
6509 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6510
dd54b864
JM
6511 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6512 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6513 __malloc_ptrdiff_t.
6514
1ba4f030
JM
6515 * malloc/malloc.h (__malloc_size_t): Remove macro.
6516 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6517 __malloc_size_t.
6518 (old_memalign_hook): Likewise.
6519 (old_realloc_hook): Likewise.
6520 (struct hdr): Likewise.
6521 (flood): Likewise.
6522 (mallochook): Likewise.
6523 (memalignhook): Likewise.
6524 (reallochook): Likewise.
6525 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6526 (tr_old_realloc_hook): Likewise.
6527 (tr_old_memalign_hook): Likewise.
6528 (tr_mallochook): Likewise.
6529 (tr_reallochook): Likewise.
6530 (tr_memalignhook): Likewise.
6531
edf66e57
AZ
65322013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533
6534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6535 default_ldbl_pack and using as default implementation.
6536 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6537 implementation.
6538 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6539 redundant definition.
6540 (ldbl_insert_mantissa): Likewise.
6541 (ldbl_canonicalize): Likewise.
6542 (ldbl_nearbyint): Likewise.
6543 (ldbl_pack): Rename to ldbl_pack_ppc.
6544 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6545 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6546 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6547
6d9145d8
SP
65482013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6549
6550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6551 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6553 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6556 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6557 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6558
4dd4e157
AJ
65592013-03-07 Andreas Jaeger <aj@suse.de>
6560
6561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6562 bits/mman-linux.h.
6563
adbb8027
SP
65642013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6565
ce544b5b
SP
6566 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6567 Include mpa.h and declare __MPEXP.
6568 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6570 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6572 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6573 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6575
4cc149fd
SP
6576 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6577 (__slowpow): Use long double EXPL and LOGL functions to
6578 compute POW.
6579 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6580 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6582 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6583 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6585
e6ebd4a7
SP
6586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6587 intermediate variable to calculate exponent.
6588 (__sqr): Likewise.
6589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6590 Likewise.
6591 (__sqr): Likewise.
6592
82a9811d
SP
6593 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6594 [!NO__SQR]: Define __sqr.
6595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6596 and NO__SQR. Remove all code except __mul and __sqr. Include
6597 sysdeps/ieee754/dbl-64/mpa.c.
6598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6599
adbb8027
SP
6600 [BZ #12723]
6601 * posix/Makefile (tests): Add tst-pathconf.
6602 * posix/tst-pathconf.c: New test case.
6603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6604 _PC_PIPE_BUF.
6605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6606
39120df9
PF
66072013-03-06 Patsy Franklin <pfrankli@redhat.com>
6608
6609 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6610
67525cb8
AJ
66112013-03-06 Andreas Jaeger <aj@suse.de>
6612
664a9ce4
AJ
6613 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6614 definition via __MAP_ANONYMOUS.
6615
8e39047d
AJ
6616 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6617 it's not part of Linux headers.
6618
67525cb8
AJ
6619 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6620 (MAP_HUGE_MASK): Define.
6621
6622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6623 Define.
6624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6626 Define.
6627 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6628 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6629 Define.
6630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6632 Define.
6633 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6634
6635 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6636 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6637 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6638 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6639 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6640 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6641
6642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6643 Handle f2fs.
6644
6645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6646 Handle f2fs and efivarfs.
6647
6648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6649 f2fs.
6650
6651 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6652 (EFIVARFS_MAGIC): Add.
6653 (F2FS_LINK_MAX): Add.
6654
e1b42695
PP
66552013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6656
6657 * stdio-common/vfprintf.c: Replace __builtin_expect with
6658 __glibc_unlikely.
6659
2d67d91a
JM
66602013-03-06 Joseph Myers <joseph@codesourcery.com>
6661
6662 [BZ #13550]
6663 * sysdeps/generic/bp-sym.h: Remove file.
6664 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6665 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6666 <bp-sym.h> and <bp-asm.h>.
6667 (__longjmp): Don't use BP_SYM.
6668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6669 and <bp-asm.h>.
6670 (memcpy): Don't use BP_SYM.
6671 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6672 <bp-sym.h> and <bp-asm.h>.
6673 (memcpy): Don't use BP_SYM.
6674 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6675 <bp-asm.h>.
6676 (memcpy): Don't use BP_SYM.
6677 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6678 <bp-asm.h>.
6679 (memset): Don't use BP_SYM.
6680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6682 (__bzero): Don't use BP_SYM.
6683 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6684 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6686 <bp-sym.h> and <bp-asm.h>.
6687 (memcmp): Don't use BP_SYM. Remove comment about bounded
6688 pointers.
6689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6690 <bp-sym.h> and <bp-asm.h>.
6691 (memcpy): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6693 <bp-sym.h> and <bp-asm.h>.
6694 (memset): Don't use BP_SYM.
6695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6697 (__bzero): Don't use BP_SYM.
6698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6700 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6701 <bp-sym.h> and <bp-asm.h>.
6702 (strncmp): Don't use BP_SYM. Remove comment about bounded
6703 pointers.
6704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6705 <bp-sym.h> and <bp-asm.h>.
6706 (memcpy): Don't use BP_SYM.
6707 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6708 <bp-sym.h> and <bp-asm.h>.
6709 (memset): Don't use BP_SYM.
6710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6712 (__bzero): Don't use BP_SYM.
6713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6716 <bp-sym.h> and <bp-asm.h>.
6717 (__memchr): Don't use BP_SYM.
6718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6719 <bp-sym.h> and <bp-asm.h>.
6720 (memcmp): Don't use BP_SYM. Remove comment about bounded
6721 pointers.
6722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6723 <bp-sym.h> and <bp-asm.h>.
6724 (memcpy): Don't use BP_SYM.
6725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6726 <bp-sym.h> and <bp-asm.h>.
6727 (__mempcpy): Don't use BP_SYM.
6728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (__memrchr): Don't use BP_SYM.
6731 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6732 <bp-sym.h> and <bp-asm.h>.
6733 (memset): Don't use BP_SYM.
6734 (__bzero): Likewise.
6735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6736 <bp-sym.h> and <bp-asm.h>.
6737 (__rawmemchr): Don't use BP_SYM.
6738 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6739 <bp-sym.h> and <bp-asm.h>.
6740 (__STRCMP): Don't use BP_SYM.
6741 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6742 <bp-sym.h> and <bp-asm.h>.
6743 (strchr): Don't use BP_SYM.
6744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6745 <bp-sym.h> and <bp-asm.h>.
6746 (__strchrnul): Don't use BP_SYM.
6747 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6748 <bp-sym.h> and <bp-asm.h>.
6749 (strlen): Don't use BP_SYM.
6750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6751 <bp-sym.h> and <bp-asm.h>.
6752 (strncmp): Don't use BP_SYM. Remove comment about bounded
6753 pointers.
6754 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6755 <bp-sym.h> and <bp-asm.h>.
6756 (__strnlen): Don't use BP_SYM.
6757 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6758 <bp-sym.h> and <bp-asm.h>.
6759 (__GI__setjmp): Don't use BP_SYM.
6760 (_setjmp): Likewise.
6761 (__sigsetjmp): Likewise.
6762 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6763 (L(start_addresses)): Don't use BP_SYM.
6764 (_start): Likewise.
6765 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6766 <bp-asm.h>.
6767 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6768 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6769 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6770 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6771 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6772 <bp-asm.h>.
6773 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6774 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6775 about bounded pointers.
6776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6778 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6779 <bp-asm.h>.
6780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6781 about bounded pointers. Remove GKM FIXME comments.
6782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6783 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6784 <bp-asm.h>.
6785 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6786 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6787 Remove GKM FIXME comments.
6788 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6789 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6790 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6791 <bp-asm.h>.
6792 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6793 about bounded pointers. Remove GKM FIXME comment.
6794 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6795 and <bp-asm.h>.
6796 (strncmp): Don't use BP_SYM. Remove comment about bounded
6797 pointers.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6799 <bp-sym.h> and <bp-asm.h>.
6800 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6802 <bp-sym.h> and <bp-asm.h>.
6803 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6804 comment.
6805
cdcf361f
PP
68062013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6807
6808 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6809 call free(NULL).
6810
3c4a2b15
DM
68112013-03-05 David S. Miller <davem@davemloft.net>
6812
6813 * po/es.po: Update from translation team.
6814
cdcf361f 68152013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6816
6817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6818 <bits/mman-linux.h>.
6819 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6820 is fine.
6821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6822 <bits/mman-linux.h> to end of file.
6823 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6824 is fine.
6825 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6826 <bits/mman-linux.h> to end of file.
6827 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6828 is fine.
6829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6830 <bits/mman-linux.h> to end of file.
6831
6832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6833 (MCL_CURRENT, MCL_FUTURE): Define here.
6834
5f67c04f
AK
68352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6836
8a4473cc 6837 [BZ #15232]
5f67c04f
AK
6838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6839 attribute_hidden.
6840 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6841
c3e94a95
AK
68422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6843
6844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6845 fourth parameter needed for rt_sigprocmask syscall.
6846 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6847 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6850 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6851 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6852
cfb6382a
JM
68532013-03-04 Joseph Myers <joseph@codesourcery.com>
6854
6855 [BZ #13550]
6856 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6857 comment about bounded pointers.
6858 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6859 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6860
539d8e01
AJ
68612013-03-04 Andreas Jaeger <aj@suse.de>
6862
6863 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6864 common definitions.
6865
6866 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6867 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6868 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6869 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6872
2e167a70 68732013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6874
6875 [BZ #15055]
6876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6877 __ieee754_sqrl instead of __sqrl.
6878
68508633
JM
68792013-03-01 Joseph Myers <joseph@codesourcery.com>
6880
6881 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6882 * sysdeps/powerpc/fpu_control.h: ... here.
6883 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6884 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6885 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6886 * sysdeps/powerpc/bits/mathinline.h: ... here.
6887
7775448e
RM
68882013-03-01 Roland McGrath <roland@hack.frob.com>
6889
6890 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6891 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6892 to just [NEED_DL_SYSINFO_DSO].
6893 * elf/dl-support.c: Likewise.
6894 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6895 * elf/rtld.c (dl_main): Likewise.
6896 * elf/setup-vdso.h (setup_vdso): Likewise.
6897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6898 * sysdeps/unix/sysv/linux/dl-sysdep.c
6899 (_dl_discover_osversion): Likewise.
6900
4e9b5995
CD
69012013-03-01 Carlos O'Donell <carlos@redhat.com>
6902
6903 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6904 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6905
e23872c8
SP
69062013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6907
e5c74c63
SP
6908 * NEWS: Mention libm performance improvements and non-x86 PI
6909 futex support.
6910
e23872c8
SP
6911 * csu/libc-start.c (__pthread_initialize_minimal): Change
6912 function arguments.
6913 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6914
b5510883
JM
69152013-02-28 Joseph Myers <joseph@codesourcery.com>
6916
6917 [BZ #13550]
6918 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6919 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6920 <bp-sym.h> and <bp-asm.h>.
6921 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6922 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6923 and <bp-asm.h>.
6924 (memcpy): Don't use BP_SYM.
6925 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6926 <bp-asm.h>.
6927 (__mpn_add_n): Don't use BP_SYM.
6928 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6929 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6930 and <bp-asm.h>.
6931 (__mpn_addmul_1): Don't use BP_SYM.
6932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6933 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6934 <bp-sym.h>.
6935 (_setjmp): Don't use BP_SYM.
6936 (__novmx_setjmp): Likewise.
6937 (__GI__setjmp): Likewise.
6938 (__vmx_setjmp): Likewise.
6939 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6940 <bp-sym.h>.
6941 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6942 (__bzero): Don't use BP_SYM.
6943 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6944 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6945 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6946 <bp-sym.h> and <bp-asm.h>.
6947 (memcpy): Don't use BP_SYM.
6948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6949 <bp-sym.h> and <bp-asm.h>.
6950 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6951 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6952 <bp-sym.h> and <bp-asm.h>.
6953 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6954 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6955 <bp-asm.h>.
6956 (__mpn_lshift): Don't use BP_SYM.
6957 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6958 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6959 <bp-asm.h>.
6960 (memset): Don't use BP_SYM.
6961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6963 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6964 <bp-asm.h>.
6965 (__mpn_mul_1): Don't use BP_SYM.
6966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6968 <bp-sym.h> and <bp-asm.h>.
6969 (memcmp): Don't use BP_SYM.
6970 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6971 <bp-sym.h> and <bp-asm.h>.
6972 (memcpy): Don't use BP_SYM.
6973 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6974 <bp-sym.h> and <bp-asm.h>.
6975 (memset): Don't use BP_SYM.
6976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (strncmp): Don't use BP_SYM.
6979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (memcpy): Don't use BP_SYM.
6982 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6983 <bp-sym.h> and <bp-asm.h>.
6984 (memset): Don't use BP_SYM.
6985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6986 <bp-sym.h> and <bp-asm.h>.
6987 (__memchr): Don't use BP_SYM.
6988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (memcmp): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (memcpy): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (__mempcpy): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (__memrchr): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (memset): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (__rawmemchr): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (__STRCMP): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7010 <bp-sym.h> and <bp-asm.h>.
7011 (strchr): Don't use BP_SYM.
7012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (__strchrnul): Don't use BP_SYM.
7015 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7016 <bp-sym.h> and <bp-asm.h>.
7017 (strlen): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7019 <bp-sym.h> and <bp-asm.h>.
7020 (strncmp): Don't use BP_SYM.
7021 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7022 <bp-sym.h> and <bp-asm.h>.
7023 (__strnlen): Don't use BP_SYM.
7024 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7025 <bp-asm.h>.
7026 (__mpn_rshift): Don't use BP_SYM.
7027 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7028 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7029 <bp-sym.h> and <bp-asm.h>.
7030 (__sigsetjmp): Don't use BP_SYM.
7031 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7032 (L(start_addresses)): Don't use BP_SYM.
7033 (_start): Likewise.
7034 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7035 <bp-asm.h>.
7036 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7037 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7038 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7039 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7040 <bp-asm.h>.
7041 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7042 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7043 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7044 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7045 <bp-asm.h>.
7046 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7047 comments.
7048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7049 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7050 <bp-asm.h>.
7051 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7052 FIXME comments.
7053 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7054 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7055 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7056 <bp-asm.h>.
7057 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7058 comment.
7059 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7060 and <bp-asm.h>.
7061 (strncmp): Don't use BP_SYM,
7062 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7063 <bp-asm.h>.
7064 (__mpn_sub_n): Don't use BP_SYM.
7065 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7066 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7067 and <bp-asm.h>.
7068 (__mpn_submul_1): Don't use BP_SYM.
7069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7071 <bp-sym.h> and <bp-asm.h>.
7072 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7074 <bp-sym.h> and <bp-asm.h>.
7075 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7076 comment.
7077
8d19fe64
SP
70782013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7079
7080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7081 Use ZK to minimize writes to Z.
7082 (sub_magnitudes): Simplify code a bit.
7083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7084 Use ZK to minimize writes to Z.
7085 (sub_magnitudes): Simplify code a bit.
7086
85bd816a
RM
70872013-02-27 Roland McGrath <roland@hack.frob.com>
7088
7089 * csu/gmon-start.c: Add special exception to license text.
7090
b5977bf2
RH
70912013-02-27 Richard Henderson <rth@redhat.com>
7092
7093 * scripts/config.guess: Update from config.git.
7094 * scripts/config.sub: Likewise.
7095
11d6e2f2
SP
70962013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7097
09c14ed2
SP
7098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7099
a688864e
SP
7100 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7101
6295157a
SP
7102 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7103
b8de2202
SP
7104 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7105
11d6e2f2
SP
7106 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7107
7e80ddb8
RM
71082013-02-26 Roland McGrath <roland@hack.frob.com>
7109
7110 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7111 [$(build-shared = yes].
7e80ddb8 7112
7da6d9ed
SP
71132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7114
45f05884
SP
7115 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7116 (__mul): Reduce iterations for calculating mantissa.
7117
2236d359
SP
7118 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7119 MPTWO.
7120 (__mpranred): Likewise.
7121
7da6d9ed
SP
7122 [BZ #15160]
7123 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7124 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7125
b7688c42
PE
71262013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7127
7128 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7129 Define __attribute__.
7130
53a5c423
SP
71312013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
7133 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7134 unused.
7135 * posix/regex_internal.h (__attribute): Remove.
7136 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7137 (re_string_context_at): Likewise.
7138 (bitset_not): Use __attribute__ and mark function as possibly
7139 unused.
7140 (bitset_merge): Likewise.
7141 (bitset_mask): Likewise.
7142 (re_string_char_size_at): Likewise.
7143 (re_string_wchar_at): Likewise.
7144 (re_string_elem_size_at): Likewise.
7145
60f5a8b5
SP
71462013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
2a983a2e
SP
7148 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7149 code.
7150 (cc32): Likewise.
7151
e69804d1
SP
7152 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7153 (__acr): Likewise.
7154 (__cpy): Likewise.
7155 (norm): Likewise.
7156 (denorm): Likewise.
7157 (__dbl_mp): Likewise.
7158 (add_magnitudes): Likewise.
7159 (sub_magnitudes): Likewise.
7160 (__mul): Likewise.
7161 (__inv): Likewise.
7162
2f22a1e8
SP
7163 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7164 style.
7165
8930ddc7
SP
7166 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7167 style.
7168
dc60cb11
SP
7169 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7170 code.
7171
60f5a8b5
SP
7172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7173 up changes with default code.
7174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7175 Likewise.
7176
b4d1fd33
AM
71772013-02-24 Allan McRae <allan@archlinux.org>
7178
faf6f8bc
AM
7179 * manual/socket.texi (The Internet Namespace): Order menu items
7180 to match that in the file.
7181
b4d1fd33
AM
7182 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7183 node listing of the info page menu.
7184
2366713d
JM
71852013-02-21 Joseph Myers <joseph@codesourcery.com>
7186
7187 [BZ #13550]
7188 * sysdeps/i386/bp-asm.h: Remove file.
7189 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7190 (PARMS): Do not use macros from bp-asm.h.
7191 (S1): Likewise.
7192 (S2): Likewise.
7193 (SIZE): Likewise.
7194 (__mpn_add_n): Do not use BP_SYM
7195 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7196 "bp-asm.h".
7197 (PARMS): Do not use macros from bp-asm.h.
7198 (S1): Likewise.
7199 (SIZE): Likewise.
7200 (__mpn_addmul_1): Do not use BP_SYM
7201 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7202 "bp-asm.h".
7203 (PARMS): Do not use macros from bp-asm.h.
7204 (SIGMSK): Likewise.
7205 (_setjmp): Likewise. Do not use BP_SYM.
7206 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7207 "bp-asm.h".
7208 (PARMS): Do not use macros from bp-asm.h.
7209 (SIGMSK): Likewise.
7210 (setjmp): Likewise. Do not use BP_SYM.
7211 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7212 "bp-asm.h".
7213 (PARMS): Do not use macros from bp-asm.h.
7214 (__frexp): Do not use BP_SYM.
7215 (frexp): Likewise.
7216 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7217 "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (__frexpf): Do not use BP_SYM.
7220 (frexpf): Likewise.
7221 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7222 "bp-asm.h".
7223 (PARMS): Do not use macros from bp-asm.h.
7224 (__frexpl): Do not use BP_SYM.
7225 (frexpl): Likewise.
7226 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7227 "bp-asm.h".
7228 (PARMS): Do not use macros from bp-asm.h.
7229 (__remquo): Do not use BP_SYM.
7230 (remquo): Likewise.
7231 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7232 "bp-asm.h".
7233 (PARMS): Do not use macros from bp-asm.h.
7234 (__remquof): Do not use BP_SYM.
7235 (remquof): Likewise.
7236 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7237 "bp-asm.h".
7238 (PARMS): Do not use macros from bp-asm.h.
7239 (__remquol): Do not use BP_SYM.
7240 (remquol): Likewise.
7241 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7242 "bp-asm.h".
7243 (PARMS): Do not use macros from bp-asm.h.
7244 (DEST): Likewise.
7245 (SRC): Likewise.
7246 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7247 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7248 "bp-asm.h".
7249 (PARMS): Do not use macros from bp-asm.h.
7250 (strlen): Do not use BP_SYM.
7251 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7252 "bp-asm.h".
7253 (PARMS): Do not use macros from bp-asm.h.
7254 (S1): Likewise.
7255 (S2): Likewise.
7256 (SIZE): Likewise.
7257 (__mpn_add_n): Do not use BP_SYM.
7258 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7259 "bp-asm.h".
7260 (PARMS): Do not use macros from bp-asm.h.
7261 (S1): Likewise.
7262 (SIZE): Likewise.
7263 (__mpn_addmul_1): Do not use BP_SYM.
7264 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7265 weak_alias.
7266 (bzero): Likewise.
7267 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7268 "bp-asm.h".
7269 (PARMS): Do not use macros from bp-asm.h.
7270 (S): Likewise.
7271 (SIZE): Likewise.
7272 (__mpn_lshift): Do not use BP_SYM.
7273 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7274 "bp-asm.h".
7275 (PARMS): Do not use macros from bp-asm.h.
7276 (DEST): Likewise.
7277 (SRC): Likewise.
7278 (LEN): Likewise.
7279 (memcpy): Likewise. Do not use BP_SYM.
7280 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7281 libc_hidden_def and weak_alias.
7282 (mempcpy): Do not use BP_SYM in weak_alias.
7283 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7284 "bp-asm.h".
7285 (PARMS): Do not use macros from bp-asm.h.
7286 (DEST): Likewise.
7287 (LEN): Likewise.
7288 [!BZERO_P] (CHR): Likewise.
7289 (memset): Likewise. Do not use BP_SYM.
7290 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7291 "bp-asm.h".
7292 (PARMS): Do not use macros from bp-asm.h.
7293 (S1): Likewise.
7294 (SIZE): Likewise.
7295 (__mpn_mul_1): Do not use BP_SYM.
7296 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7297 "bp-asm.h".
7298 (PARMS): Do not use macros from bp-asm.h.
7299 (S): Likewise.
7300 (SIZE): Likewise.
7301 (__mpn_rshift): Do not use BP_SYM.
7302 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7303 "bp-asm.h".
7304 (PARMS): Do not use macros from bp-asm.h.
7305 (STR): Likewise.
7306 (CHR): Likewise.
7307 (strchr): Likewise. Do not use BP_SYM.
7308 (index): Do not use BP_SYM in weak_alias.
7309 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7310 "bp-asm.h".
7311 (PARMS): Do not use macros from bp-asm.h.
7312 (DEST): Likewise.
7313 (SRC): Likewise.
7314 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7315 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7316 "bp-asm.h".
7317 (PARMS): Do not use macros from bp-asm.h.
7318 (strlen): Do not use BP_SYM.
7319 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7320 "bp-asm.h".
7321 (PARMS): Do not use macros from bp-asm.h.
7322 (S1): Likewise.
7323 (S2): Likewise.
7324 (SIZE): Likewise.
7325 (__mpn_sub_n): Do not use BP_SYM.
7326 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7327 "bp-asm.h".
7328 (PARMS): Do not use macros from bp-asm.h.
7329 (S1): Likewise.
7330 (SIZE): Likewise.
7331 (__mpn_submul_1): Do not use BP_SYM.
7332 * sysdeps/i386/i686/add_n.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 (S2): Likewise.
7337 (SIZE): Likewise.
7338 (__mpn_add_n): Do not use BP_SYM.
7339 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7340 weak_alias.
7341 (bzero): Likewise.
7342 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7343 "bp-asm.h".
7344 (PARMS): Do not use macros from bp-asm.h.
7345 (BLK2): Likewise.
7346 (LEN): Likewise.
7347 (memcmp): Do not use BP_SYM.
7348 (bcmp): Do not use BP_SYM in weak_alias.
7349 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7350 "bp-asm.h".
7351 (PARMS): Do not use macros from bp-asm.h.
7352 (DEST): Likewise.
7353 (SRC): Likewise.
7354 (LEN): Likewise.
7355 (memcpy): Likewise. Do not use BP_SYM.
7356 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7357 "bp-asm.h".
7358 (PARMS): Do not use macros from bp-asm.h.
7359 (DEST): Likewise.
7360 (SRC): Likewise.
7361 (LEN): Likewise.
7362 (memmove): Likewise. Do not use BP_SYM.
7363 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7364 "bp-asm.h".
7365 (PARMS): Do not use macros from bp-asm.h.
7366 (DEST): Likewise.
7367 (SRC): Likewise.
7368 (LEN): Likewise.
7369 (__mempcpy): Likewise. Do not use BP_SYM.
7370 (mempcpy): Do not use BP_SYM in weak_alias.
7371 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7372 "bp-asm.h".
7373 (PARMS): Do not use macros from bp-asm.h.
7374 (DEST): Likewise.
7375 (LEN): Likewise.
7376 [!BZERO_P] (CHR): Likewise.
7377 (memset): Likewise. Do not use BP_SYM.
7378 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7379 "bp-asm.h".
7380 (PARMS): Do not use macros from bp-asm.h.
7381 (STR2): Likewise.
7382 (strcmp): Do not use BP_SYM.
7383 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7384 "bp-asm.h".
7385 (PARMS): Do not use macros from bp-asm.h.
7386 (STR): Likewise.
7387 (DELIM): Likewise.
7388 [USE_AS_STRTOK_R] (SAVE): Likewise.
7389 (FUNCTION): Likewise. Do not use BP_SYM.
7390 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7391 aliases.
7392 (strtok_r): Likewise.
7393 (__GI___strtok_r): Likewise.
7394 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7395 (PARMS): Do not use macros from bp-asm.h.
7396 (S): Likewise.
7397 (SIZE): Likewise.
7398 (__mpn_lshift): Do not use BP_SYM.
7399 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7400 (PARMS): Do not use macros from bp-asm.h.
7401 (STR): Likewise.
7402 (CHR): Likewise.
7403 (__memchr): Do not use BP_SYM.
7404 (memchr): Do not use BP_SYM in weak_alias.
7405 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (BLK2): Likewise.
7408 (LEN): Likewise.
7409 (memcmp): Do not use BP_SYM.
7410 (bcmp): Do not use BP_SYM in weak_alias.
7411 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7412 (PARMS): Do not use macros from bp-asm.h.
7413 (S1): Likewise.
7414 (SIZE): Likewise.
7415 (__mpn_mul_1): Do not use BP_SYM.
7416 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7417 "bp-asm.h".
7418 (PARMS): Do not use macros from bp-asm.h.
7419 (STR): Likewise.
7420 (CHR): Likewise.
7421 (__rawmemchr): Do not use BP_SYM.
7422 (rawmemchr): Do not use BP_SYM in weak_alias.
7423 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7424 (PARMS): Do not use macros from bp-asm.h.
7425 (S): Likewise.
7426 (SIZE): Likewise.
7427 (__mpn_rshift): Do not use BP_SYM.
7428 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7429 (PARMS): Do not use macros from bp-asm.h.
7430 (SIGMSK): Likewise.
7431 (__sigsetjmp): Likewise. Do not use BP_SYM.
7432 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7433 (_start): Do not use BP_SYM.
7434 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7435 (PARMS): Do not use macros from bp-asm.h.
7436 (DEST): Likewise.
7437 (SRC): Likewise.
7438 (__stpcpy): Likewise. Do not use BP_SYM.
7439 (stpcpy): Do not use BP_SYM in weak_alias.
7440 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7441 "bp-asm.h".
7442 (PARMS): Do not use macros from bp-asm.h.
7443 (DEST): Likewise.
7444 (SRC): Likewise.
7445 (LEN): Likewise.
7446 (__stpncpy): Likewise. Do not use BP_SYM.
7447 (stpncpy): Do not use BP_SYM in weak_alias.
7448 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7449 (PARMS): Do not use macros from bp-asm.h.
7450 (STR): Likewise.
7451 (CHR): Likewise.
7452 (strchr): Likewise. Do not use BP_SYM.
7453 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7454 "bp-asm.h".
7455 (PARMS): Do not use macros from bp-asm.h.
7456 (STR): Likewise.
7457 (CHR): Likewise.
7458 (__strchrnul): Likewise. Do not use BP_SYM.
7459 (strchrnul): Do not use BP_SYM in weak_alias.
7460 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7461 "bp-asm.h".
7462 (PARMS): Do not use macros from bp-asm.h.
7463 (STOP): Likewise.
7464 (strcspn): Do not use BP_SYM.
7465 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7466 "bp-asm.h".
7467 (PARMS): Do not use macros from bp-asm.h.
7468 (STR): Likewise.
7469 (STOP): Likewise.
7470 (strpbrk): Likewise. Do not use BP_SYM.
7471 * sysdeps/i386/strrchr.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 (CHR): Likewise.
7476 (strrchr): Likewise. Do not use BP_SYM.
7477 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7478 (PARMS): Do not use macros from bp-asm.h.
7479 (SKIP): Likewise.
7480 (strspn): Do not use BP_SYM.
7481 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7482 (PARMS): Do not use macros from bp-asm.h.
7483 (STR): Likewise.
7484 (DELIM): Likewise.
7485 (SAVE): Likewise.
7486 (FUNCTION): Likewise. Do not use BP_SYM.
7487 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7488 aliases.
7489 (strtok_r): Likewise.
7490 (__GI___strtok_r): Likewise.
7491 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7492 (PARMS): Do not use macros from bp-asm.h.
7493 (S1): Likewise.
7494 (S2): Likewise.
7495 (SIZE): Likewise.
7496 (__mpn_sub_n): Do not use BP_SYM.
7497 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7498 "bp-asm.h".
7499 (PARMS): Do not use macros from bp-asm.h.
7500 (S1): Likewise.
7501 (SIZE): Likewise.
7502 (__mpn_submul_1): Do not use BP_SYM.
7503 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7504 <bp-sym.h>.
7505 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7506 and <bp-asm.h>.
7507 (PARMS): Do not use macros from bp-asm.h.
7508 (FLAGS): Likewise.
7509 (PTID): Likewise.
7510 (TLS): Likewise.
7511 (CTID): Likewise.
7512 (__clone): Do not use BP_SYM.
7513 (clone): Do not use BP_SYM in weak_alias.
7514 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7515 and <bp-asm.h>.
7516 (PARMS): Do not use macros from bp-asm.h.
7517 (LEN): Likewise.
7518 (__mmap64): Do not use BP_SYM.
7519 (mmap64): Do not use BP_SYM in weak_alias.
7520 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7521 <bp-sym.h> and <bp-asm.h>.
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (__posix_fadvise64_l64): Do not use BP_SYM.
7524 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7525 (PARMS): Do not use macros from bp-asm.h.
7526 (NSOPS): Likewise.
7527 (semtimedop): Do not use BP_SYM.
7528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7529 and <bp-asm.h>.
7530
582a3cff
AM
75312013-02-21 Allan McRae <allan@archlinux.org>
7532
7533 * manual/message.texi (Charset conversion in gettext):
7534 Move @end statement to beginning of line.
7535
bab8a695
SP
75362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7537
80945231
SP
7538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7539 static.
7540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7541 Likewise.
7542
bab8a695
SP
7543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7544 (denorm): Likewise.
7545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7547
e21d7aa7
AK
75482013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7549
7550 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7551 tail-call to the resolved function if pltexit isn't needed.
7552
4c7a4263
SP
75532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
7555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7556 or Y being zero as being unlikely.
7557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7558 Likewise.
7559
41f49342
CD
75602013-02-20 Carlos O'Donell <carlos@redhat.com>
7561
7562 * manual/nss.texi (System Databases and Name Service Switch):
7563 Remove frobnicate @pxref.
7564
50022a93
TS
75652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7566
7567 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7568 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7569
08cbd996
PM
75702013-02-20 Petr Machata <pmachata@redhat.com>
7571
7572 * elf/elf.h (R_ARM_TARGET1): New macro.
7573 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7574 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7575 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7576 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7577 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7578 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7579 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7580 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7581 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7582 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7583 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7584 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7585 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7586 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7587 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7588 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7589 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7590 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7591 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7592 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7593 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7594 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7595 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7596 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7597 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7598 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7599 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7600 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7601 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7602 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7603 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7604 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7605 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7606 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7607 (R_ARM_THM_GOT_BREL12): Likewise.
7608 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7609 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7610 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7611 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7612 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7613 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7614 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7615 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7616 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7617
c7b275d6
TS
76182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7619
7620 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7621 __attribute_used__ to __attribute__ ((unused)).
7622
20cd7fb3
SP
76232013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7624
7625 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7626 powerpc mpa.c.
7627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7628 comment formatting.
7629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7630
92945b52
JM
76312013-02-19 Joseph Myers <joseph@codesourcery.com>
7632
7633 [BZ #13550]
7634 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7635 Remove macro.
7636 (ENTER): Remove both macro definitions.
7637 (LEAVE): Likewise.
7638 (CHECK_BOUNDS_LOW): Likewise.
7639 (CHECK_BOUNDS_HIGH): Likewise.
7640 (CHECK_BOUNDS_BOTH): Likewise.
7641 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7642 (RETURN_BOUNDED_POINTER): Likewise.
7643 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7644 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7645 (POP_ERRNO_LOCATION_RETURN): Likewise.
7646 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7647 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7648 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7649 macros.
7650 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7651 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7652 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7653 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7654 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7655 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7656 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7657 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7658 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7659 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7660 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7661 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7663 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7664 removed macros.
7665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7666 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7667 macros.
7668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7669 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7670 * sysdeps/i386/i586/memset.S (memset): Likewise.
7671 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7672 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7673 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7674 macros.
7675 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7676 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7677 Change uses of L(2) to L(out).
7678 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7679 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7680 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7681 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7682 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7683 removed macros.
7684 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7685 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7686 macros.
7687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7688 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7689 (RETURN): Do not use macro LEAVE.
7690 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7691 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7692 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7693 * sysdeps/i386/i686/memset.S (memset): Likewise.
7694 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7695 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7697 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7698 Likewise.
7699 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7700 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7701 L(1_2) and L(1_3) into L(1).
7702 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7703 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7705 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7706 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7707 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7708 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7709 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7710 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7711 macros.
7712 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7713 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7714 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7715 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7716 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7717 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7718 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7719 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7720 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7721 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7722 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7723 * sysdeps/i386/strspn.S (strspn): Likewise.
7724 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7725 conditional code.
7726 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7727 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7728 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7729 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7730 L(1_3) into L(1_1).
7731 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7732 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7733 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7734 macros.
7735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7736
2389741a
JJ
77372013-02-19 Jakub Jelinek <jakub@redhat.com>
7738
7739 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7740 macro.
7741
2016b3cd
SP
77422013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7743
e4f22324
SP
7744 * math/atest-exp.c (exp_mpn): Remove ROUND.
7745 * math/atest-exp2.c (exp_mpn): Likewise.
7746 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7747
2016b3cd
SP
7748 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7749 * stdlib/tst-tls-atexit-lib.c: Likewise.
7750 * stdlib/tst-tls-atexit.c: Likewise.
7751
4be9b544
MF
77522013-02-18 Mike Frysinger <vapier@gentoo.org>
7753
7754 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7755 and __attribute_alloc_size__.
7756
2f62b9ee
MF
77572013-02-18 Mike Frysinger <vapier@gentoo.org>
7758
7759 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7760 __attribute_alloc_size__.
7761 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7762 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7763
6ff444c4
MF
77642013-02-18 Mike Frysinger <vapier@gentoo.org>
7765
7766 * include/programs/xmalloc.h: New file.
7767 * catgets/gencat.c: Include it.
7768 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7769 * elf/pldd.c: Likewise.
7770 * iconv/iconv_charmap.c: Likewise.
7771 * iconv/iconvconfig.c: Likewise.
7772 * iconv/strtab.c: Likewise.
7773 * locale/programs/locale.c: Likewise.
7774 * locale/programs/localedef.h: Likewise.
7775 * locale/programs/simple-hash.c: Likewise.
7776 * nscd/nscd.h: Likewise.
7777 * nss/makedb.c: Likewise.
7778 * sysdeps/generic/ldconfig.h: Likewise.
7779
be179c8a
SP
77802013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7781
ba384f6e
SP
7782 * Versions.def: Add GLIBC_2.18.
7783 * include/link.h (struct link_map): New member l_tls_dtor_count.
7784 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7785 (__call_tls_dtors): Likewise.
7786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7787 __cxa_thread_atexit_impl.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7789 Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7791 Likewise.
7792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7793 Likewise.
7794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7795 Likewise.
7796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7798 Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7800 Likewise.
7801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7803 Likewise.
7804 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7805 (tests): Add test case tst-tls-atexit.
7806 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7807 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7808 (GLIBC_PRIVATE): Add __call_tls_dtors.
7809 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7810 for libstdc++.
7811 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7812 * stdlib/tst-tls-atexit.c: New test case.
7813 * stdlib/tst-tls-atexit-lib.c: New test case.
7814
ffaa74cf 7815 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7816
be179c8a
SP
7817 * elf/Versions (ld): Add _dl_find_dso_for_object.
7818 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7819 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7820 (dl_open_worker): Use _dl_find_dso_for_object.
7821 * elf/dl-sym.c (do_sym): Likewise.
7822 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7823
f78b5caa
AK
78242013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7825
7826 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7827 Syntactic changes only.
7828 (_dl_runtime_profile): Do a tail-call to the resolved function.
7829
29691210
JM
78302013-02-17 Joseph Myers <joseph@codesourcery.com>
7831
7832 [BZ #13550]
7833 * sysdeps/x86_64/bp-asm.h: Remove file.
7834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7835 <bp-sym.h> and <bp-asm.h>.
7836 (__clone): Do not use BP_SYM.
7837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7838 <bp-sym.h> and <bp-asm.h>.
7839 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7840 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7841 "bp-asm.h".
7842 (_setjmp): Do not use BP_SYM.
7843 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7844 "bp-asm.h".
7845 (setjmp): Do not use BP_SYM.
7846 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7847 libc_hidden_def.
7848 (mempcpy): Do not use BP_SYM in weak_alias.
7849 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7850 "bp-asm.h".
7851 (strchr): Do not use BP_SYM.
7852 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7853 "bp-asm.h".
7854 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7855 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7856 (_start): Do not use BP_SYM.
7857 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7858 "bp-asm.h".
7859 (strcat): Do not use BP_SYM.
7860 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7861 "bp-asm.h".
7862 (STRCMP): Do not use BP_SYM.
7863 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7864 "bp-asm.h".
7865 (STRCPY): Do not use BP_SYM.
7866 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7867 "bp-asm.h".
7868 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7869 "bp-asm.h".
7870 (FUNCTION): Do not use BP_SYM.
7871 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7872 weak_alias.
7873 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7874
f238fd19
AJ
78752013-02-17 Andreas Jaeger <aj@suse.de>
7876
7877 * time/Versions: Sort entries.
7878 * string/Versions: Likewise.
7879 * resolv/Versions: Likewise.
7880 * posix/Versions: Likewise.
7881 * iconv/Versions: Likewise.
7882 * elf/Versions: Likewise.
7883 * wcsmbs/Versions: Likewise.
7884
bd07f23c 78852013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7886
22af19f9
SP
7887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7888 loop termination condition.
7889
4709fe76
SP
7890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7891 variable to calculate EZ.
7892 (__sqr): Likewise.
2d0e0f29
SP
7893
7894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7895 the lower precision input.
7896
daaa7713
JM
78972013-02-15 Joseph Myers <joseph@codesourcery.com>
7898
7899 [BZ #13550]
7900 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7901 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7902 (run-via-rtld-prefix): Do not handle %-bp tests.
7903 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7904 (all-object-suffixes): Remove .ob.
7905 (bppfx): Remove variable.
7906 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7907 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7908 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7909 [$(build-bounded) = yes] (libtype.ob): Likewise.
7910 * Makerules (elide-routines.ob): Remove variable.
7911 (do-tests-clean): Do not handle *-bp.out.
7912 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7913 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7914 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7915 (tests): Do not include $(tests-bp.out).
7916 (xtests): Do not include $(xtests-bp.out).
7917 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7918 [$(build-bounded) = yes] ($(addprefix
7919 $(objpfx),$(binaries-bounded))): Remove rule.
7920 ($(objpfx)%-bp.out): Remove rule.
7921 * config.make.in (build-bounded): Remove variable.
7922 * crypt/Makefile [$(build-bounded) = yes]
7923 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7924 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7925 append to variable.
7926 [$(build-bounded) = yes] (install-lib): Likewise.
7927 [$(build-bounded) = yes] (generated): Likewise.
7928 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7929 Remove rule.
7930 * intl/Makefile [$(build-bounded) = yes]
7931 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7932 * math/Makefile [$(build-bounded) = yes]
7933 ($(tests:%=$(objpfx)%-bp): Likewise.
7934 * misc/Makefile [$(build-bounded) = yes]
7935 ($(objpfx)tst-tsearch-bp): Likewise.
7936 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7937 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7938 Remove dependency.
7939 * string/Makefile (o-objects.ob): Remove variable.
7940 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7941 (CFLAGS-.ob): Remove variable.
7942 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7943 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7944 both definitions of variable.
7945 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7946 (ASFLAGS-.ob): Remove variable.
7947
e97ed6dd
JM
79482013-02-14 Joseph Myers <joseph@codesourcery.com>
7949
2bdd4ca6
JM
7950 [BZ #13550]
7951 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7952 Remove __BOUNDED_POINTERS__ from condition.
7953 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7954 * string/bits/string2.h [!__NO_STRING_INLINES &&
7955 !__BOUNDED_POINTERS__]: Likewise.
7956 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7957 Likewise.
7958 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7959 Remove conditional code.
7960 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7961 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7962 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7963 condition.
7964
e97ed6dd
JM
7965 [BZ #13550]
7966 * csu/libc-start.c: Do not include <bp-sym.h>.
7967 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7968 * elf/dl-open.c: Do not include <bp-sym.h>.
7969 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7970 * math/fegetenv.c: Do not include <bp-sym.h>.
7971 (fegetenv): Do not use BP_SYM in versioned symbols.
7972 * nptl/sysdeps/pthread/bits/libc-lockP.h
7973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7974 <bp-sym.h>.
7975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7976 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7978 (__pthread_mutex_destroy): Likewise.
7979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7980 (__pthread_mutex_lock): Likewise.
7981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7982 (__pthread_mutex_trylock): Likewise.
7983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7984 (__pthread_mutex_unlock): Likewise.
7985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7986 (__pthread_mutexattr_init): Likewise.
7987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7988 (__pthread_mutexattr_destroy): Likewise.
7989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7990 (__pthread_mutexattr_settype): Likewise.
7991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7992 (__pthread_rwlock_init): Likewise.
7993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7994 (__pthread_rwlock_destroy): Likewise.
7995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7996 (__pthread_rwlock_rdlock): Likewise.
7997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7998 (__pthread_rwlock_tryrdlock): Likewise.
7999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8000 (__pthread_rwlock_wrlock): Likewise.
8001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8002 (__pthread_rwlock_trywrlock): Likewise.
8003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8004 (__pthread_rwlock_unlock): Likewise.
8005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8006 (__pthread_key_create): Likewise.
8007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8008 (__pthread_setspecific): Likewise.
8009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8010 (__pthread_getspecific): Likewise.
8011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8012 Likewise.
8013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8014 (_pthread_cleanup_push_defer): Likewise.
8015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8016 (_pthread_cleanup_pop_restore): Likewise.
8017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8018 (pthread_setcancelstate): Likewise.
8019 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8020 <bp-sym.h>.
8021 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8022 (memchr): Do not use BP_SYM in weak_alias.
8023 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8024 (fegetenv): Do not use BP_SYM in versioned symbols.
8025 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8026 (fesetenv): Do not use BP_SYM in versioned symbols.
8027 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8028 (feupdateenv): Do not use BP_SYM in versioned symbols.
8029 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8030 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8031 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8032 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8033 (open64): Do not use BP_SYM in weak_alias.
8034 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8035 (fegetenv): Do not use BP_SYM in versioned symbols.
8036 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8037 (fesetenv): Do not use BP_SYM in versioned symbols.
8038 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8039 (feupdateenv): Do not use BP_SYM in versioned symbols.
8040 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8041 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8042 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8043 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8044 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8047 <bp-sym.h>.
8048 (__libc_start_main): Do not use BP_SYM.
8049
d6752ccd
SP
80502013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8051
cb57ce60
SP
8052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8053 redundant return line.
8054 (norm): Likewise.
8055 (denorm): Likewise.
8056 (dbl_mp): Likewise.
8057 (sub_magnitudes): Likewise.
8058 (__add): Likewise.
8059 (__sub): Likewise.
8060 (__mul): Likewise.
8061 (__inv): Likewise.
8062 (__dvd): Likewise.
8063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8064 (norm): Likewise.
8065 (denorm): Likewise.
8066 (dbl_mp): Likewise.
8067 (sub_magnitudes): Likewise.
8068 (__add): Likewise.
8069 (__sub): Likewise.
8070 (__mul): Likewise.
8071 (__inv): Likewise.
8072 (__dvd): Likewise.
8073
f414520d
SP
8074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8075 instead of __mul.
8076 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8077 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8078 (cc32): Likewise.
8079
d6752ccd
SP
8080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8081 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8083 of __mul for squares.
8084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8085 function
8086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8087 Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8090
70d9946a
JM
80912013-02-13 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #13550]
8094 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8095 code.
8096 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8097 prototype or function definition. Rename ubp_* variables and
8098 parameters. Remove argv definitions conditional on
8099 [__BOUNDED_POINTERS__].
8100 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8101 * elf/dl-runtime.c (_dl_fixup): Likewise.
8102 * include/set-hooks.h (RUN_HOOK): Likewise.
8103 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8104 definition.
8105 * string/strcpy.c (strcpy): Do not use __unbounded.
8106 * sysdeps/generic/frame.h (struct layout): Likewise.
8107 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8108 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8109 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8110 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8111 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8112 (__backtrace): Likewise.
8113 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8114 use __ptrvalue.
8115 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8116 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8117 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8118 Likewise.
8119 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8120 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8122 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8123 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8124 Do not use __unbounded.
8125 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8126 Rename __unboundedrlimits parameter to rlimits in prototype.
8127 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8128 Do not use __unbounded.
8129 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8130 not use __ptrvalue.
8131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8132 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8133 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8134 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8135 __ptrvalue or __unbounded.
8136 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8137 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8138 use __unbounded.
8139 (__new_msgctl): Do not use __ptrvalue.
8140 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8141 __unbounded.
8142 (__libc_msgrcv): Do not use __ptrvalue.
8143 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8144 startup_info): Do not use __unbounded.
8145 (__libc_start_main): Likewise. Rename ubp_* variables and
8146 parameters. Remove argv definitions conditional on
8147 [__BOUNDED_POINTERS__].
8148 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8149 __ptrvalue.
8150 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8151 use __unbounded.
8152 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8153 or __ptrvalue.
8154 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8155 use __unbounded.
8156 (__new_shmctl): Do not use __ptrvalue.
8157 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8158 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8159 Likewise.
8160 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8162 (__libc_sigaction): Likewise.
8163 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8164 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8165 Likewise.
8166 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8167
cc7834d6
OB
81682013-02-13 Ondřej Bílka <neleai@seznam.cz>
8169
ffb1ec7b 8170 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8171
8172 * string/mempcpy.c: Implement by calling memcpy.
8173
bdf02814
SP
81742013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
c2af38aa
SP
8176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8177
4e92d59e
SP
8178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8179 evaluation.
8180
909279a5
SP
8181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8182 values in the mantissa.
8183
bdf02814
SP
8184 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8185 minimize writes to Z.
8186 (sub_magnitudes): Simplify code a bit.
8187
cd525923
RM
81882013-02-12 Roland McGrath <roland@hack.frob.com>
8189
8190 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8191 from the message. The linker prefixes all warnings with that already.
8192
7e2f0d2d
AS
81932013-02-12 Andreas Schwab <schwab@suse.de>
8194
a445af0b
AS
8195 [BZ #15078]
8196 * posix/regexec.c (extend_buffers): Add parameter min_len.
8197 (check_matching): Pass minimum needed length.
8198 (clean_state_log_if_needed): Likewise.
8199 (get_subexp): Likewise.
8200 * posix/Makefile (tests): Add bug-regex34.
8201 (bug-regex34-ENV): Define.
8202 * posix/bug-regex34.c: New file.
8203
7e2f0d2d
AS
8204 [BZ #11561]
8205 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8206 elements compare against the byte sequence of it, not its name.
8207 * posix/Makefile (tests): Add bug-regex35.
8208 (bug-regex35-ENV): Define.
8209 * posix/bug-regex35.c: New file.
8210
a175b684
TV
82112013-02-11 Tom de Vries <tom@codesourcery.com>
8212
8213 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8214 comment.
8215 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8216 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8217 (CHECK_EOL): Add undef.
8218
310998fe 82192013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8220
8221 * bits/stdlib-bsearch.h: New file.
8222 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8223 * stdlib/stdlib.h: Likewise.
41eda41d 8224
8ded91fb
RM
82252013-02-11 Roland McGrath <roland@hack.frob.com>
8226
8227 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8228 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8229 declaration.
8230 * manual/search.texi (Array Search Function): Add missing const in
8231 lfind prototype.
8232 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8233 declaration to use rlim_t.
8234 (Basic Scheduling Functions): Remove erroneous const from
8235 sched_getparam prototype. Remove erroneous * from
8236 sched_get_priority_max and sched_get_priority_min prototypes.
8237 (Resource Usage): Fix summary @comment on vtimes to refer to
8238 sys/vtimes.h rather than vtimes.h.
8239 Add missing *s in vtimes prototype.
8240 (Limits on Resources): Fix ulimit prototype to return long int.
8241 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8242 prototypes to use long int rather than double.
8243 (BSD Random): Fix initstate and setstate to use char *, not void *.
8244 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8245 prototype to make second argument 'struct aiocb64 *const[]'.
8246 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8247 (Status of AIO Operations): Remove erroneous const in aio_return and
8248 aio_return64 prototypes.
8249 (Synchronizing I/O): Fix sync prototype to return void.
8250 * manual/startup.texi (Suboptions): Remove an erroneous const in
8251 getsubopt prototype.
8252 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8253 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8254 use size_t rather than int.
8255 (Scanning All Users): Likewise for getpwent_r.
8256 (Setting Groups): Add missing const to setgroups prototype.
8257 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8258 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8259 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8260 'const void *' rather than 'const char *'.
8261 (Host Address Functions): Likewise for inet_ntop.
8262 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8263 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8264 ssize_t for return value.
8265 (Sending Data): Likewise for send, sendto, sendmsg.
8266 (Socket Option Functions): Add a missing const in setsockopt prototype.
8267 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8268 use wchar_t for the argument.
8269 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8270 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8271 take no arguments.
8272 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8273 double/float/long double for second argument.
8274 Fix return types of significand, significandf, significandl.
8275 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8276 argument in fchmod prototype.
8277 (File Owner): Use uid_t and gid_t in fchown prototype.
8278 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8279 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8280 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8281 use 'const struct dirent **' as argument types to CMP function pointer
8282 argument.
8283 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8284 (File Times): Fix summary magic @comment for struct utimbuf and utime
8285 to refer to utime.h, not time.h.
8286 * manual/string.texi (Argz Functions): Add missing const in
8287 argz_extract and argz_next prototypes.
8288 (Finding Tokens in a String): Likewise for basename.
8289 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8290 (Copying and Concatenation): Fix typo in wmemmove prototype.
8291 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8292 (Signal Stack): Remove erroneous const in sigstack prototype.
8293 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8294 prototype.
8295 (Simple Calendar Time): Likewise for stime.
8296 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8297 prototype.
8298 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8299 say sys/sysctl.h instead.
8300 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8301 and vsyslog prototypes.
8302
fe77fe6d
TV
83032013-02-11 Tom de Vries <tom@codesourcery.com>
8304
8305 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8306 Remove.
8307
3a09b620
RM
83082013-02-11 Roland McGrath <roland@hack.frob.com>
8309
8310 * misc/sys/mman.h: Fix typo in mremap comment.
8311
550a0b89
RM
83122013-02-08 Roland McGrath <roland@hack.frob.com>
8313
8314 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8315 the '\0' terminator.
8316
a2da1673
JM
83172013-02-08 Joseph Myers <joseph@codesourcery.com>
8318
8319 [BZ #13550]
8320 * debug/segfault.c: Don't include <bp-checks.h>.
8321 * sysdeps/generic/bp-checks.h: Remove file.
8322 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8323 (__GETDENTS): Don't use CHECK_N.
8324 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8325 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8326 (__getgroups): Don't use CHECK_N.
8327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8328 (setgroups): Don't use CHECK_N.
8329 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8330 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8331 (__libc_msgrcv): Don't use CHECK_N.
8332 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8333 (__libc_msgsnd): Don't use CHECK_N.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8335 <bp-checks.h>.
8336 (__libc_pread): Don't use CHECK_N.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8338 include <bp-checks.h>.
8339 (__libc_pread64): Don't use CHECK_N.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8341 include <bp-checks.h>.
8342 (__libc_pwrite): Don't use CHECK_N.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8344 include <bp-checks.h>.
8345 (__libc_pwrite64): Don't use CHECK_N.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8347 <bp-checks.h>.
8348 (__libc_pread): Don't use CHECK_N.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8350 include <bp-checks.h>.
8351 (__libc_pread64): Don't use CHECK_N.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8353 include <bp-checks.h>.
8354 (__libc_pwrite): Don't use CHECK_N.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8356 include <bp-checks.h>.
8357 (__libc_pwrite64): Don't use CHECK_N.
8358 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8359 (do_pread): Don't use CHECK_N.
8360 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8361 (do_pread64): Don't use CHECK_N.
8362 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8363 (do_pwrite): Don't use CHECK_N.
8364 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8365 (do_pwrite64): Don't use CHECK_N.
8366 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8367 (__libc_readv): Don't use CHECK_N.
8368 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8369 (semop): Don't use CHECK_N.
8370 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8371 <bp-checks.h>.
8372 (semtimedop): Don't use CHECK_N.
8373 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8374 (__libc_pread): Don't use CHECK_N.
8375 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8376 <bp-checks.h>.
8377 (__libc_pread64): Don't use CHECK_N.
8378 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8379 <bp-checks.h>.
8380 (__libc_pwrite): Don't use CHECK_N.
8381 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8382 <bp-checks.h>.
8383 (__libc_pwrite64): Don't use CHECK_N.
8384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8385 <bp-checks.h>.
8386 (__libc_msgrcv): Don't use CHECK_N.
8387 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8388 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8389 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8390 (__libc_writev): Don't use CHECK_N.
8391
b84660a8
RM
83922013-02-08 Roland McGrath <roland@hack.frob.com>
8393
7f3e75f8
RM
8394 * string/strcpy.c: Removed unused variable.
8395
b84660a8
RM
8396 * Makeconfig (+sysdep-includes): Define with := rather than =.
8397 Use an existing include/ subdir of each sysdeps dir before it.
8398
471514d3
CD
83992013-02-08 Carlos O'Donell <carlos@redhat.com>
8400
8401 * nscd/connection.c (register_traced_file): Comment function.
8402 [HAVE_INOTIFY] (union __inev): Define.
8403 [HAVE_INOTIFY] (inotify_check_files): New function.
8404 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8405 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8406 clear_db_cache.
8407 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8408
b2d3c3be
CD
84092013-02-08 Carlos O'Donell <carlos@redhat.com>
8410
8411 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8412 loaded if not already and that a failure is permanent.
8413
b39949d2
CD
84142013-02-08 Carlos O'Donell <carlos@redhat.com>
8415
ddacd1db 8416 [BZ #15006]
b39949d2
CD
8417 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8418 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8419
b2c9eff4
JM
84202013-02-08 Joseph Myers <joseph@codesourcery.com>
8421
f3aae3f3
JM
8422 [BZ #13550]
8423 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8424 (CHECK_1_NULL_OK): Likewise.
8425 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8426 (__fxstat): Do not use CHECK_1.
8427 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8428 <bp-checks.h>.
8429 (___fxstat64): Do not use CHECK_1.
8430 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8431 <bp-checks.h>.
8432 (__fxstatat): Do not use CHECK_1.
8433 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8434 <bp-checks.h>.
8435 (__fxstatat64): Do not use CHECK_1.
8436 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8437 <bp-checks.h>.
8438 (__fxstat): Do not use CHECK_1.
8439 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8440 <bp-checks.h>.
8441 (__fxstatat): Do not use CHECK_1.
8442 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8443 <bp-checks.h>.
8444 (__getresgid): Do not use CHECK_1.
8445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8446 <bp-checks.h>.
8447 (__getresuid): Do not use CHECK_1.
8448 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8449 <bp-checks.h>.
8450 (__lxstat): Do not use CHECK_1.
8451 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8452 <bp-checks.h>.
8453 (__old_msgctl): Do not use CHECK_1.
8454 (__new_msgctl): Likewise.
8455 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8456 <bp-checks.h>.
8457 (__new_setrlimit): Do not use CHECK_1.
8458 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8459 <bp-checks.h>.
8460 (__old_shmctl): Do not use CHECK_1.
8461 (__new_shmctl): Likewise.
8462 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8463 <bp-checks.h>.
8464 (__xstat): Do not use CHECK_1.
8465 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8466 (__lxstat): Do not use CHECK_1.
8467 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8468 <bp-checks.h>.
8469 (___lxstat64): Do not use CHECK_1.
8470 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8471 (__old_msgctl): Do not use CHECK_1.
8472 (__new_msgctl): Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8474 <bp-checks.h>.
8475 (__gettimeofday): Do not use CHECK_1.
8476 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8477 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8479 <bp-checks.h>.
8480 (__gettimeofday): Do not use CHECK_1.
8481 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8482 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8483 (__new_shmctl): Do not use CHECK_1.
8484 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8485 <bp-checks.h>.
8486 (do_sigtimedwait): Do not use CHECK_1.
8487 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8488 <bp-checks.h>.
8489 (do_sigwaitinfo): Do not use CHECK_1.
8490 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8491 <bp-checks.h>.
8492 (msgctl): Do not use CHECK_1.
8493 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8494 <bp-checks.h>.
8495 (shmctl): Do not use CHECK_1.
8496 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8497 (ustat): Do not use CHECK_1.
8498 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8499 <bp-checks.h>.
8500 (__fxstat): Do not use CHECK_1.
8501 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8502 <bp-checks.h>.
8503 (__fxstatat): Do not use CHECK_1.
8504 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8505 <bp-checks.h>.
8506 (__lxstat): Do not use CHECK_1.
8507 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8508 <bp-checks.h>.
8509 (__xstat): Do not use CHECK_1.
8510 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8511 (__xstat): Do not use CHECK_1.
8512 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8513 (___xstat64): Do not use CHECK_1.
8514
b2c9eff4
JM
8515 [BZ #13550]
8516 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8517 definitions.
8518 (CHECK_BOUNDS_HIGH): Likewise.
8519 * string/strcpy.c: Do not include <bp-checks.h>.
8520 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8521
f1d70dad
RM
85222013-02-07 Roland McGrath <roland@hack.frob.com>
8523
8524 * nscd/nscd-client.h (__nscd_drop_map_ref):
8525 Add __attribute__ ((unused)).
8526 * nis/nss-nisplus.h (niserr2nss): Likewise.
8527
8528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8529 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8530
8531 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8532 Remove inline keyword.
8533 * include/rounding-mode.h (round_away): Likewise.
8534 * libio/wfileops.c (adjust_wide_data): Likewise.
8535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8536 (__m128i_strloadu_tolower): Likewise.
8537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8538 (__m128i_strloadu_tolower): Likewise.
8539 * time/mktime.c (ydhms_diff): Likewise.
8540 * locale/elem-hash.h (elem_hash): Likewise.
8541 * locale/setlocale.c (setdata): Likewise.
8542 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8543 (re_string_wchar_at): Likewise.
8544 (bitset_not, bitset_merge, bitset_mask): Likewise.
8545 [!(__GNUC__ > 3)] (inline): Remove macro.
8546 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8547 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8548 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8549 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8550 * string/memcmp.c (memcmp_bytes): Likewise.
8551 * locale/programs/locarchive.c (compute_hashval): Likewise.
8552 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8553 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8554 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8555 * nss/getent.c (print_rpc, print_protocols): Likewise.
8556 (print_passwd, print_group, print_aliases): Likewise.
8557 * nis/nss-nisplus.h (niserr2nss): Likewise.
8558 * nscd/connections.c (restart_p): Likewise.
8559 Change return type to bool.
8560
eab55bfb
RM
85612013-02-05 Roland McGrath <roland@hack.frob.com>
8562
7bd642f5
RM
8563 * Makeconfig (all-Depend-files): Add existing
8564 $(sorted-subdirs:=/Depend) files.
8565 (all-subdirs): Remove nss.
8566 * sysdeps/unix/inet/Subdirs: Add it here instead.
8567 * hesiod/Depend: New file.
8568
573c29b2
RM
8569 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8570 instead of calling alloca.
8571
b2e25af0
RM
8572 * io/lseek.c (__lseek): Rename to __libc_lseek.
8573 Define __lseek as an alias.
8574
eab55bfb
RM
8575 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8576
9a0d1941
CD
85772013-02-04 Carlos O'Donell <carlos@redhat.com>
8578
8579 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8580 else clause and remove check for non-standard endianness.
8581
b83bbec4
DM
85822013-02-04 David S. Miller <davem@davemloft.net>
8583
8584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8585
6277fdab
JM
85862013-02-04 Joseph Myers <joseph@codesourcery.com>
8587
8588 [BZ #13550]
8589 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8590 (__ubp_memchr): Remove prototype.
8591 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8592 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8593 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8594 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8595 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8596 Remove alias.
8597 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8598 (__ubp_memchr): Likewise.
8599 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8600 (__ubp_memchr): Likewise.
8601 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8602 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8603 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8604 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8605 CHECK_STRING.
8606 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8607 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8608 (__getcwd): Do not use CHECK_STRING.
8609 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8610 <bp-checks.h>.
8611 (__real_chown): Do not use CHECK_STRING.
8612 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8613 <bp-checks.h>.
8614 (fchownat): Do not use CHECK_STRING.
8615 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8616 CHECK_STRING.
8617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8618 <bp-checks.h>.
8619 (__lchown): Do not use CHECK_STRING.
8620 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8621 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8622 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8623 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8625 include <bp-checks.h>.
8626 (truncate64): Do not use CHECK_STRING.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8628 <bp-checks.h>.
8629 (__real_chown): Do not use CHECK_STRING.
8630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8631 <bp-checks.h>.
8632 (__lchown): Do not use CHECK_STRING.
8633 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8634 <bp-checks.h>.
8635 (__chown): Do not use CHECK_STRING.
8636 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8637 <bp-checks.h>.
8638 (truncate64): Do not use CHECK_STRING.
8639 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8640 Likewise.
8641 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8642 (__xmknod): Do not use CHECK_STRING.
8643 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8644 <bp-checks.h>.
8645 (__xmknodat): Do not use CHECK_STRING.
8646 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8647 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8648
903ae060
AS
86492013-02-04 Andreas Schwab <schwab@suse.de>
8650
8651 [BZ #14142]
8652 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8653 * include/netdb.h: Likewise for h_errno.
8654 * elf/tst-stackguard1.c: Include <tls.h>.
8655
542f9466
JK
86562013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8657
8658 * elf/link.h (struct link_map): Extend the l_addr comment.
8659 * include/link.h (struct link_map): Likewise.
8660
e782a927
JM
86612013-02-01 Joseph Myers <joseph@codesourcery.com>
8662
8663 [BZ #13550]
8664 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8665 (BOUNDED_1): Remove macro.
8666 * debug/backtrace.c: Don't include <bp-checks.h>.
8667 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8668 (__backtrace): Likewise.
8669 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8670 <bp-checks.h>.
8671 (__backtrace): Don't use BOUNDED_1.
8672 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8673 <bp-checks.h>.
8674 (__backtrace): Don't use BOUNDED_1.
8675 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8676 (__backtrace): Don't use BOUNDED_1.
8677 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8678 (shmat): Don't use BOUNDED_N.
8679
8cf28c5e
JM
86802013-01-31 Joseph Myers <joseph@codesourcery.com>
8681
3a7ac8a0
JM
8682 [BZ #13550]
8683 * sysdeps/generic/bp-start.h: Remove file.
8684 * csu/libc-start.c: Don't include <bp-start.h>.
8685 (LIBC_START_MAIN): Set up __environ directly instead of using
8686 INIT_ARGV_and_ENVIRON.
8687 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8688 <bp-start.h>.
8689
f3499f95
JM
8690 [BZ #13550]
8691 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8692 definitions.
8693 (CHECK_FCNTL): Likewise.
8694 (CHECK_N_PAGES): Likewise.
8695
32a45bea
JM
8696 [BZ #13550]
8697 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8698 definitions.
8699 (CHECK_SIGSET_NULL_OK): Likewise.
8700 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8701 <bp-checks.h>.
8702 (sigpending): Don't use CHECK_SIGSET.
8703 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8704 <bp-checks.h>.
8705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8706 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8707 <bp-checks.h>.
8708 (do_sigsuspend): Don't use CHECK_SIGSET.
8709 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8710 use CHECK_SIGSET.
8711 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8712 (do_sigwait): Don't use CHECK_SIGSET.
8713 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8714 use CHECK_SIGSET.
8715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8716 include <bp-checks.h>.
8717 (sigpending): Don't use CHECK_SIGSET.
8718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8719 include <bp-checks.h>.
8720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8721 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8722 <bp-checks.h>.
8723 (sigpending): Don't use CHECK_SIGSET.
8724 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8725 <bp-checks.h>.
8726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8727
2e8a5c8c
JM
8728 [BZ #13550]
8729 * sysdeps/generic/bp-semctl.h: Remove file.
8730 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8731 <bp-checks.h> and <bp-semctl.h>.
8732 (__old_semctl): Don't use CHECK_SEMCTL.
8733 (__new_semctl): Likewise.
8734 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8735 and <bp-semctl.h>.
8736 (__old_semctl): Don't use CHECK_SEMCTL.
8737 (__new_semctl): Likewise.
8738 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8739 <bp-checks.h> and <bp-semctl.h>.
8740 (__old_semctl): Don't use CHECK_SEMCTL.
8741 (__new_semctl): Likewise.
8742 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8743 <bp-checks.h> and <bp-semctl.h>.
8744 (semctl): Don't use CHECK_SEMCTL.
8745
c2d54929
JM
8746 [BZ #13550]
8747 * Makerules (elide-bp-thunks): Remove variable.
8748 (elide-routines.oS): Don't use $(elide-bp-thunks).
8749 (elide-routines.os): Likewise.
8750 (elide-routines.o): Likewise.
8751 (elide-routines.op): Likewise.
8752 (elide-routines.og): Likewise.
8753 (objects): Don't use $(bp-thunks).
8754 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8755 include.
8756 (common-generated): Do not add s-proto-bp.d.
8757 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8758 (int): Likewise.
8759 (typ): Likewise.
8760 Do not generate makefile rules for bounded-pointer thunks.
8761 * sysdeps/generic/bp-thunks.h: Remove file.
8762 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8763 * sysdeps/unix/s-proto-bp.S: Likewise.
8764
8cf28c5e
JM
8765 [BZ #15062]
8766 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8767 parts of result separately when argument is not close to line from
8768 -i to i and one part of argument is small.
8769 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8770 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8771 * math/libm-test.inc (cacos_test): Add more tests.
8772 (casin_test): Likewise.
8773 (casinh_test): Likewise.
8774 * sysdeps/i386/fpu/libm-test-ulps: Update.
8775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776
c4e33b8d
DM
87772013-01-31 David S. Miller <davem@davemloft.net>
8778
8779 * po/de.po: Update from translation team.
8780
3b60b421
MK
87812013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8782
8783 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8784
bb931195
TS
87852013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8786
b5a5da23
TS
8787 * configure.in (_AC_PROG_CC_C89): New definition.
8788 * configure: Regenerate.
8789
bb931195
TS
8790 * configure.in (AC_PROG_CPP): New definition.
8791 * configure: Regenerate.
8792
8c53a12c
JM
87932013-01-23 Joseph Myers <joseph@codesourcery.com>
8794
8795 * debug/tst-backtrace.h: New file.
8796 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8797 (ret): Remove variable.
8798 (x): Likewise.
8799 (FAIL): Remove macro.
8800 (NO_INLINE): Likewise.
8801 (fn1): Use match function instead of strstr.
8802 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8803 (ret): Remove variable.
8804 (x): Likewise.
8805 (FAIL): Remove macro.
8806 (NO_INLINE): Likewise.
8807 (fn): Use match function instead of strstr.
8808 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8809 (ret): Remove variable.
8810 (x): Likewise.
8811 (FAIL): Remove macro.
8812 (NO_INLINE): Likewise.
8813 (handle_signal): Use match function instead of strstr.
8814 * debug/tst-backtrace5.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
4858fa2a
RM
88212013-01-23 Roland McGrath <roland@hack.frob.com>
8822
8823 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8824
bae8e7f5
DM
88252013-01-23 David S. Miller <davem@davemloft.net>
8826
8827 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8828 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8829 argument of CAS if possible.
8830 * sysdeps/sparc/sparc64/bits/atomic.h
8831 (__arch_compare_and_exchange_val_32_acq): Likewise.
8832 (__arch_compare_and_exchange_val_64_acq): Likewise.
8833
9cbbc4ae
PT
88342013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8835
8836 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8837 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8838 Include <limits.h>.
67b3f58c 8839 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8840
5655a0b5
AC
88412013-01-23 Adam Conrad <adconrad@0c3.net>
8842
8843 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8844 (LDFLAGS-tst-array5): Likewise.
8845
052aff95
JM
88462013-01-23 Joseph Myers <joseph@codesourcery.com>
8847
8848 [BZ #15036]
8849 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8850 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8851 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8852 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8853
7c1e01aa
DM
88542013-01-21 David S. Miller <davem@davemloft.net>
8855
8856 * sysdeps/sparc/backtrace.c: New file.
8857 * sysdeps/sparc/sparc32/backtrace.h: New file.
8858 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8859 * sysdeps/sparc/sparc64/backtrace.h: New file.
8860 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8861 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8862 -funwind-tables.
8863
ab087e0a
AS
88642013-01-21 Andreas Schwab <schwab@suse.de>
8865
8866 [BZ #15020]
8867 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8868 closed its stdout.
8869
ed689c2f
AS
88702013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8871
8872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8873 "mpa2.h".
8874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8875
31d470ac
JM
88762013-01-18 Joseph Myers <joseph@codesourcery.com>
8877 Mark Mitchell <mark@codesourcery.com>
8878 Tom de Vries <tom@codesourcery.com>
8879 Paul Pluzhnikov <ppluzhnikov@google.com>
8880
8881 * debug/tst-backtrace2.c: New file.
8882 * debug/tst-backtrace3.c: Likewise.
8883 * debug/tst-backtrace4.c: Likewise.
8884 * debug/tst-backtrace5.c: Likewise.
8885 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8886 (CFLAGS-tst-backtrace3.c): Likewise.
8887 (CFLAGS-tst-backtrace4.c): Likewise.
8888 (CFLAGS-tst-backtrace5.c): Likewise.
8889 (LDFLAGS-tst-backtrace2): Likewise.
8890 (LDFLAGS-tst-backtrace3): Likewise.
8891 (LDFLAGS-tst-backtrace4): Likewise.
8892 (LDFLAGS-tst-backtrace5): Likewise.
8893 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8894 tst-backtrace4 and tst-backtrace5.
8895
90567f30 88962013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8897 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8898
8899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8900 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8902 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8904 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8905 "+r" and remove output regs list as redundant. Add explicit inline
8906 asm to specify register of return val to work around compiler codegen
8907 bug. Remove (int) cast on return value. Add return type parameter to
8908 use in macro so that this macro does not truncate return value for
8909 64-bit values.
8910 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8911 pass to INTERNAL_VSYSCALL_NCS.
8912 (INLINE_VSYSCALL): Add 'long int' as return type to
8913 INTERNAL_VSYSCALL_NCS macro invocation.
8914 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8915 INTERNAL_VSYSCALL_NCS macro invocation.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8917
d3b9ea61
SP
89182013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
0b57daeb
SP
8920 [BZ #14496]
8921 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8922 Fix application of SIMD FP exception mask.
8923
caa99d06
SP
8924 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8925 mp_no from a power of two.
8926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8927 __mpexp_twomm1. Use __pow_mp.
8928
d3b9ea61
SP
8929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8930 multiplication.
8931
1dbaee3c
DM
89322013-01-17 David S. Miller <davem@davemloft.net>
8933
8934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8935
728d7b43
JM
89362013-01-17 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #15023]
8939 * include/complex.h: Condition contents on [!_COMPLEX_H].
8940 (__kernel_casinhf): New prototype.
8941 (__kernel_casinh): Likewise.
8942 (__kernel_casinhl): Likewise.
8943 * math/Makefile (libm_calls): Add k_casinh.
8944 * math/k_casinh.c: New file.
8945 * math/k_casinhf.c: Likewise.
8946 * math/k_casinhl.c: Likewise.
8947 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8948 finite nonzero arguments.
8949 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8950 finite nonzero arguments.
8951 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8952 finite nonzero arguments.
8953 * math/s_casinh.c: Do not include <float.h>.
8954 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8955 * math/s_casinhf.c: Do not include <float.h>.
8956 (__casinhf): Move code for finite nonzero arguments to
8957 k_casinhf.c.
8958 * math/s_casinhl.c: Do not include <float.h>.
8959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8960 redefine.
8961 (__casinhl): Move code for finite nonzero arguments to
8962 k_casinhl.c.
8963 * math/libm-test.inc (cacos_test): Add more tests.
8964 * sysdeps/i386/fpu/libm-test-ulps: Update.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966
2a26ef3a
PT
89672013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8968
8969 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8970 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8971 [!HAVE_MREMAP]: Remove [defined linux] case.
8972 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8973
a897655d
SP
89742013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8975
8976 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8977
881ebe89 89782013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8979
8980 * elf/elf.h (R_386_SIZE32): New relocation.
8981 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8982 R_386_SIZE32.
8983 (elf_machine_rela): Likewise.
8984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8985 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8986
59981e9b
JM
89872013-01-17 Joseph Myers <joseph@codesourcery.com>
8988
8989 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8990 (FP_FAST_FMA): Do not define.
8991 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8992 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8993 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8994 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8995 !_SOFT_FLOAT]: Likewise.
8996 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8997 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8998 value.
8999 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9000 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9001 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9002 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9003 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9004 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9005 file.
9006
cfa8054f
AS
90072013-01-16 Andreas Schwab <schwab@suse.de>
9008
9009 [BZ #14327]
9010 * include/stdlib.h (__mktemp): Add declaration.
9011 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9012 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9013
dd930cc5
SP
90142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9015
881ebe89
SP
9016 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9017 definitions.
9018 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9019 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9020 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9021 definitions here.
9022 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9023 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9024 definitions.
9025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9026 and ONE.
9027 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9028 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9029 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9030 definitions.
9031 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9032 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9033 definitions.
9034 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9035
dd930cc5
SP
9036 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9037
c19a9f89
DM
90382013-01-15 David S. Miller <davem@davemloft.net>
9039
1aa61767
DM
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9041 trunc{,f} to libm-sysdep_routes.
9042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9044 file.
9045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9047 file.
9048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9049 file.
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9058
c42d5e98
DM
9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9060 nearbyint{,f} to libm-sysdep_routes.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9063 New file.
9064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9065 file.
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9067 New file.
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9069 file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9073 file.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9076 file.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9079 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9080
c19a9f89
DM
9081 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9082 libc_feholdexcept and libc_fesetenv.
9083
357679d2
MF
90842013-01-15 Mike Frysinger <vapier@gentoo.org>
9085
9086 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9087
65a82e3d
DM
90882013-01-14 David S. Miller <davem@davemloft.net>
9089
8b954ab9
DM
9090 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9091 (SPARC_ASM_VIS2_IFUNC): Likewise.
9092 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9094 use of 'siam' instruction.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9096 Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9098 Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9100 Likewise.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9106 file.
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9108 file.
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9110 file.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9112 file.
9113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9118 new VIS2 routines.
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9122 Likewise.
9123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9128 routines to libm-sysdep_routines.
9129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9130
65a82e3d
DM
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9132 fdim/fdimf to libm-sysdep_routines.
9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9134 file.
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9137 file.
9138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9141 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9142 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9143 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9144 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9145
e34ab705
SP
91462013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9147
2a91b573
SP
9148 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9149 to optimize copies.
9150
1066a534
SP
9151 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9154
e34ab705
SP
9155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9156 local variable MPTWO.
9157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9158 Likewise.
9159
aba5e596
MF
91602013-01-13 Mike Frysinger <vapier@gentoo.org>
9161
9162 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9163 GLOB_NOESCAPE.
9164
e557e9e5
MF
91652013-01-13 Mike Frysinger <vapier@gentoo.org>
9166
9167 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9168
0428cec9
MF
91692013-01-13 Mike Frysinger <vapier@gentoo.org>
9170
9171 * manual/pattern.texi (glob_t): Document gl_flags.
9172 (glob64_t): Likewise.
9173
8794a964
DM
91742013-01-11 David S. Miller <davem@davemloft.net>
9175
66438c3f
RM
9176 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9177 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9178 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9179 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9180 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9181 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9182 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9183 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9185 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9187 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9188 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9189
4ae4244d
DM
9190 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9191 sparc V9 rather than using V8 code.
9192 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9193 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9194
8794a964
DM
9195 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9196 Move to...
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9198 Here.
9199
6270516e
RM
92002013-01-11 Roland McGrath <roland@hack.frob.com>
9201
9202 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9203 not in the main loop.
9204 * configure: Regenerated.
9205
6a57d931
JM
92062013-01-11 Joseph Myers <joseph@codesourcery.com>
9207
9208 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9209 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9210 to just #else.
9211 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9212 [!__GLIBC_HAVE_LONG_LONG] case.
9213 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9214 condition to just #else.
9215 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9216 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9217 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9218 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9219 unconditional.
9220 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9221 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9222 #elif condition to just #else.
9223 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9224 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9225 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9226 #elif condition to just #else.
9227
0e8529e9
SE
92282013-01-11 Steve Ellcey <sellcey@mips.com>
9229
9230 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9231 (EF_MIPS_ARCH_64): Fix value.
9232 (EF_MIPS_ARCH_32R2): New.
9233 (EF_MIPS_ARCH_64R2): New.
9234
740b3dbe
L
92352013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * Makeconfig (+link-pie-before-libc): New.
9238 (+link-pie-after-libc): Likewise.
9239 (+link-pie-tests): Likewise.
9240 (+link-pie): Rewritten.
9241 (link-before-libc): Remove $(config-LDFLAGS).
9242 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9243 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9244 (config-LDFLAGS): Renamed to ...
9245 (rtld-LDFLAGS): This.
9246 (rtld-tests-LDFLAGS): New macro.
9247 (link-libc-rpath-link): Likewise.
9248 (link-libc-tests-rpath-link): Likewise.
9249 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9250 (link-libc): Prepand $(link-libc-rpath-link).
9251 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9252 (test-program-prefix): New macro.
9253 (test-via-rtld-prefix): Likewise.
9254 (test-program-cmd): Likewise.
9255 (host-test-program-cmd): Likewise.
9256 * Makefile ($(common-objpfx)testrun.sh): Replace
9257 $(run-program-prefix) with $(test-program-prefix).
9258 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9259 $(rtld-LDFLAGS).
9260 ($(common-objpfx)shlib.lds): Likewise.
9261 (build-module-helper): Likewise.
9262 ($(common-objpfx)format.lds): Likewise.
9263 * Rules (binaries-pie-tests): New.
9264 (binaries-pie-notests): Likewise.
9265 (binaries-pie): Rewritten.
9266 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9267 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9268 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9269 (make-test-out): Replace $(host-built-program-cmd) with
9270 $(host-test-program-cmd).
9271 * config.make.in (build-hardcoded-path-in-tests): New variable.
9272 * configure.in (--enable-hardcoded-path-in-tests): New configure
9273 option.
9274 (hardcoded_path_in_tests): New AC_SUBST.
9275 * configure: Regenerated.
9276 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9277 $(built-program-cmd) with $(test-program-cmd).
9278 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9279 (test_program_cmd): This.
9280 * elf/Makefile ($(objpfx)order.out): Run test with
9281 $(test-program-prefix).
9282 ($(objpfx)order2.out): Likewise.
9283 ($(objpfx)tst-initorder.out): Likewise.
9284 ($(objpfx)tst-initorder2.out): Likewise.
9285 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9286 $(test-program-cmd).
9287 ($(objpfx)tst-array1-static.out): Likewise.
9288 ($(objpfx)tst-array2.out): Likewise.
9289 ($(objpfx)tst-array3.out): Likewise.
9290 ($(objpfx)tst-array4.out): Likewise.
9291 ($(objpfx)tst-array5.out): Likewise.
9292 ($(objpfx)tst-array5-static.out): Likewise.
9293 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9294 $(test-program-cmd).
9295 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9296 $(run-program-prefix) with $(test-program-prefix).
9297 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9298 (test_program_prefix): This.
9299 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9300 $(run-program-prefix) with $(test-program-prefix).
9301 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9302 (test_program_prefix): This.
9303 * iconvdata/tst-tables.sh: Likewise.
9304 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9305 $(run-program-prefix) with $(test-program-prefix).
9306 ($(objpfx)tst-translit.out): Likewise.
9307 ($(objpfx)tst-gettext2.out): Likewise.
9308 ($(objpfx)tst-gettext4.out): Likewise.
9309 ($(objpfx)tst-gettext6.out): Likewise.
9310 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9311 (test_program_prefix): This.
9312 * intl/tst-gettext2.sh: Likewise.
9313 * intl/tst-gettext4.sh Likewise.
9314 * intl/tst-gettext6.sh: Likewise.
9315 * intl/tst-translit.sh: Likewise.
9316 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9317 with $(test-program-cmd).
9318 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9319 $(run-program-prefix) with $(test-program-prefix).
9320 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9321 (test_program_prefix): This.
9322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9323 $(run-program-prefix) with $(test-program-prefix).
9324 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9325 (test_program_prefix): This.
9326 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9327 * posix/Makefile ($(objpfx)globtest.out): Replace
9328 $(run-via-rtld-prefix) and $(test-wrapper) with
9329 $(test-program-prefix) and $(test-via-rtld-prefix).
9330 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9331 $(test-program-prefix).
9332 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9333 $(host-test-program-cmd).
9334 (tst-spawn-ARGS): Likewise.
9335 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9336 $(test-program-prefix).
9337 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9338 (test_via_rtld_prefix): This.
9339 (test_wrapper): Renamed to ...
9340 (test_program_prefix): This.
9341 (run_program_prefix): Replaced by test_program_prefix.
9342 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9343 (test_program_prefix): This.
9344 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9345 with $(host-test-program-cmd).
9346 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9347 $(run-program-prefix) with $(test-program-prefix).
9348 ($(objpfx)tst-printf.out): Likewise.
9349 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9350 $(test-program-cmd).
9351 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9352 (test_program_prefix): This.
9353 * stdio-common/tst-unbputc.sh: Likewise.
9354 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9355 $(run-program-prefix) with $(test-program-prefix).
9356 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9357 (test_program_prefix): This.
9358 * string/Makefile ($(objpfx)tst-svc.out): Replace
9359 $(built-program-cmd) with $(test-program-cmd).
9360
c6fe55cf
AJ
93612013-01-11 Andreas Jaeger <aj@suse.de>
9362
9363 [BZ #15003]
9364 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9365 value. Sync with Linux 3.7.
9366
9e6919c8
DM
93672013-01-10 David S. Miller <davem@davemloft.net>
9368
9369 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9370 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9371 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9372
1c9f1a02
RM
93732013-01-10 Roland McGrath <roland@hack.frob.com>
9374
9375 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9376 never set.
9377 * configure: Regenerated.
9378
b9de2dde
DM
93792013-01-10 David S. Miller <davem@davemloft.net>
9380
9381 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9382 sparc V9 rather than using V8 code.
9383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9385
e7f68ef4
RM
93862013-01-10 Roland McGrath <roland@hack.frob.com>
9387
9388 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9389 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9390 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9391 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9392 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9393 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9394 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9395 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9396 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9397 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9398 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9399 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9400 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9401 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9402 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9403 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9404 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9405 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9406 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9407 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9408 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9409 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9410 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9411 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9412 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9413 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9414 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9415
5a47cc9c
DM
94162013-01-10 David S. Miller <davem@davemloft.net>
9417
9418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9419
4cf8f209
L
94202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * posix/Makefile (tests-static): New variable.
9423 (tests): Add $(tests-static).
9424 (tst-exec-static-ARGS): New variable.
9425 (tst-spawn-static-ARGS): Likewise.
9426 * posix/tst-exec-static.c: New file.
9427 * posix/tst-spawn-static.c: Likewise.
9428 * posix/tst-exec.c: Support run directly.
9429 * posix/tst-spawn.c: Likewise.
9430
fed0faa1
JM
94312013-01-10 Joseph Myers <joseph@codesourcery.com>
9432
828beb13
JM
9433 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9434 long.
9435 * math/bits/mathcalls.h (llrint): Likewise.
9436 (llround): Likewise.
9437 * stdlib/stdlib.h (struct drand48_data): Likewise.
9438 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9439 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9441 Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9443 Likewise.
9444 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9445 (elf_greg_t): Likewise.
9446 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9447 (__jmp_buf): Likewise.
9448 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9449 definitions.
9450 (llrint): Likewise, for all definitions.
9451 (llrintl): Likewise.
9452
fed0faa1
JM
9453 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9454 Remove [__GNUC__] condition.
9455 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9456 condition to just [__USE_ISOC99].
9457 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9458
1a20cb20
L
94592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 [BZ #14200]
9462 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9463 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9464 defined.
9465 (_POSIX_V6_ILP32_OFF32): Likewise.
9466 (_XBS5_ILP32_OFF32): Likewise.
9467 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9468 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9469
751b85f7
SP
94702013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9471
7490eb81
SP
9472 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9473
751b85f7
SP
9474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9475 doubles __mpexp_twomm1. Adjust usage.
9476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9477 Remove.
9478
988197f0
AS
94792013-01-10 Andreas Schwab <schwab@suse.de>
9480
9481 [BZ #14964]
9482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9483 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9484
e83d7298
DM
94852013-01-09 David S. Miller <davem@davemloft.net>
9486
034ed64b 9487 [BZ #15003]
e83d7298
DM
9488 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9489 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9490 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9491 TCP_FASTOPEN): Define.
9492 (tcp_repair_opt): New structure.
9493 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9494 enum values.
9495 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9496 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9497 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9498 (tcp_cookie_transactions): New structure.
9499
d5e0b9bd
AB
95002013-01-09 Anton Blanchard <anton@samba.org>
9501
9502 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9503 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9506
0c07e3ea
JM
95072013-01-09 Joseph Myers <joseph@codesourcery.com>
9508
9509 * include/features.h (__USE_ANSI): Remove.
9510
232f7002
RM
95112013-01-09 Roland McGrath <roland@hack.frob.com>
9512
ad98e30c
RM
9513 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9514
232f7002
RM
9515 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9516
950c99ca
SP
95172013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9518
b5792741
SP
9519 * sysdeps/s390/fpu/libm-test-ulps: Update.
9520
47cf2278
SP
9521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9522
950c99ca
SP
9523 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9524 (__acr): Likewise.
9525 (__cpy): Likewise.
9526 (norm): Likewise.
9527 (denorm): Likewise.
9528 (__mp_dbl): Likewise.
9529 (__dbl_mp): Likewise.
9530 (add_magnitudes): Likewise.
9531 (sub_magnitudes): Likewise.
9532 (__add): Likewise.
9533 (__sub): Likewise.
9534 (__mul): Likewise.
9535 (__inv): Likewise.
9536 (__dvd): Likewise.
9537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9538 (__acr): Likewise.
9539 (__cpy): Likewise.
9540 (norm): Likewise.
9541 (denorm): Likewise.
9542 (__mp_dbl): Likewise.
9543 (__dbl_mp): Likewise.
9544 (add_magnitudes): Likewise.
9545 (sub_magnitudes): Likewise.
9546 (__add): Likewise.
9547 (__sub): Likewise.
9548 (__mul): Likewise.
9549 (__inv): Likewise.
9550 (__dvd): Likewise.
9551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9552 (__acr): Likewise.
9553 (__cpy): Likewise.
9554 (norm): Likewise.
9555 (denorm): Likewise.
9556 (__mp_dbl): Likewise.
9557 (__dbl_mp): Likewise.
9558 (add_magnitudes): Likewise.
9559 (sub_magnitudes): Likewise.
9560 (__add): Likewise.
9561 (__sub): Likewise.
9562 (__mul): Likewise.
9563 (__inv): Likewise.
9564 (__dvd): Likewise.
9565
eede9df9
JM
95662013-01-08 Joseph Myers <joseph@codesourcery.com>
9567
9568 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9569 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9570 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9571 2 && __USE_EXTERN_INLINES]: Likewise.
9572
c40ea3d9
AJ
95732013-01-08 Andreas Jaeger <aj@suse.de>
9574
9575 [BZ# 14985]
9576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9577 Remove.
9578 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9580
2ccdea26
AB
95812013-01-07 Anton Blanchard <anton@samba.org>
9582
9583 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9584 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9585 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9586 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9589 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9592 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9597 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9601 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9608 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9610 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9613 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9625 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9626
a9708fed
JM
96272013-01-07 Joseph Myers <joseph@codesourcery.com>
9628
375607b9
JM
9629 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9630 (__MALLOC_PMT): Likewise.
9631 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9632 [__GNUC__], only on [_LIBC].
9633 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9634 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9635 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9636 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9637 forward declaration.
9638 (realloc_hook_ini): Likewise.
9639 (memalign_hook_ini): Likewise.
9640 (__libc_memalign): Do not use __MALLOC_PMT in variable
9641 declaration.
9642 (__libc_valloc): Likewise.
9643 (__libc_pvalloc): Likewise.
9644 (__libc_calloc): Likewise.
9645 (__posix_memalign): Likewise.
9646
a9708fed
JM
9647 [BZ #14996]
9648 * math/s_casinh.c: Include <float.h>.
9649 (__casinh): Do not do computation with squaring and square root
9650 for large arguments.
9651 * math/s_casinhf.c: Include <float.h>.
9652 (__casinhf): Do not do computation with squaring and square root
9653 for large arguments.
9654 * math/s_casinhl.c: Include <float.h>.
9655 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9656 (__casinhl): Do not do computation with squaring and square root
9657 for large arguments.
9658 * math/libm-test.inc (casin_test): Add more tests.
9659 (casinh_test): Likewise.
9660 * sysdeps/i386/fpu/libm-test-ulps: Update.
9661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9662
afec409a
L
96632013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9664
9665 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9666 (__x86_64_raw_data_cache_size): Likewise.
9667 (__x86_64_data_cache_size_half): Likewise.
9668 (__x86_64_raw_data_cache_size_half): Likewise.
9669 (__x86_64_shared_cache_size): Likewise.
9670 (__x86_64_raw_shared_cache_size): Likewise.
9671 (__x86_64_shared_cache_size_half): Likewise.
9672 (__x86_64_raw_shared_cache_size_half): Likewise.
9673 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9674 to ...
9675 (__x86_data_cache_size): This.
9676 (__x86_64_raw_data_cache_size): Renamed to ...
9677 (__x86_raw_data_cache_size): This.
9678 (__x86_64_data_cache_size_half): Renamed to ...
9679 (__x86_data_cache_size_half): This.
9680 (__x86_64_raw_data_cache_size_half): Renamed to ...
9681 (__x86_raw_data_cache_size_half): This.
9682 (__x86_64_shared_cache_size): Renamed to ...
9683 (__x86_shared_cache_size): This.
9684 (__x86_64_raw_shared_cache_size): Renamed to ...
9685 (__x86_raw_shared_cache_size): This.
9686 (__x86_64_shared_cache_size_half): Renamed to ...
9687 (__x86_shared_cache_size_half): This.
9688 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9689 (__x86_raw_shared_cache_size_half): This.
9690 * sysdeps/x86_64/memcpy.S: Updated.
9691 * sysdeps/x86_64/memset.S: Likewise.
9692 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9693 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9695
0b3986d0
DM
96962013-01-04 David S. Miller <davem@davemloft.net>
9697
9698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9699
e47686e9
AS
97002013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9701
d643bac1
AS
9702 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9703 1 to avoid redefinition warning.
9704 (__USE_GNU): Don't define.
9705 (init_signaling_nan): Protoize.
9706
e47686e9
AS
9707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9708
b18decba
SP
97092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9710
fffb407f
SP
9711 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9713 (__cpymn): Likewise.
9714 (norm): Remove commented code.
9715 (denorm): Likewise.
9716 (__mp_dbl): Likewise.
9717 (__inv): Likewise.
9718 * sysdeps/powerpc/powerpc64/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
b18decba
SP
9725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9726 mp_no value for 1.0 and 2.0.
9727 (norm): Use RADIXI instead of radixi.d.
9728 (denorm): Likewise.
9729 (__mul): Use 0.0 instead of zero.d.
9730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9731 mp_no value for 1.0 and 2.0.
9732 (norm): Use RADIXI instead of radixi.d.
9733 (denorm): Likewise.
9734 (__mul): Use 0.0 instead of zero.d.
9735
cdc1c96f
JM
97362013-01-04 Joseph Myers <joseph@codesourcery.com>
9737
9738 [BZ #14994]
9739 * math/s_casinh.c (__casinh): Reduce finite argument to first
9740 quadrant then set signs of results at the end.
9741 * math/s_casinhf.c (__casinhf): Likewise.
9742 * math/s_casinhl.c (__casinhl): Likewise.
9743 * math/libm-test.inc (casin_test): Add more tests.
9744 (casinh_test): Likewise.
9745 * sysdeps/i386/fpu/libm-test-ulps: Update.
9746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9747
302913e1
SP
97482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9749
6420d207
SP
9750 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9751
a9e48ab4
SP
9752 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9753
b7837264
SP
9754 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9755 declarations.
9756 (denorm): Likewise.
9757 (__mp_dbl): Likewise.
9758 (__inv): Likewise.
9759
f8af25d2
SP
9760 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9761 and adjust the header comment.
9762
302913e1
SP
9763 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9764 variable name from declaration.
9765
5d7dd1ca
L
97662013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9769 Initialize COMMON_CPUID_INDEX_7 element.
9770 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9771 (CPUID_RTM): Likewise.
9772 (HAS_RTM): Likewise.
9773 (COMMON_CPUID_INDEX_7): New enum.
9774
2f5f40f4
AS
97752013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9776
9777 [BZ #14981]
9778 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9779 size is zero, record memory as freed.
9780
4056f4a0
AJ
97812013-01-03 Andreas Jaeger <aj@suse.de>
9782
9783 * po/ia.po: Add new Interlingua translation.
9784
ab15736f 97852012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9786
9787 * locale/programs/localedef.c: Fix description of '--posix' flag.
9788
568035b7
JM
97892013-01-02 Joseph Myers <joseph@codesourcery.com>
9790
e6898b8d
JM
9791 * NEWS: Update dates in second copyright notice.
9792 * README: Update copyright dates in example.
9793 * manual/libc.texinfo: Update copyright dates.
9794 * scripts/test-installation.pl: Update copyright date in --version
9795 output.
9796
0e2f9562
JM
9797 * hurd/ctty-input.c: Fix copyright notice formatting.
9798 * hurd/ctty-output.c: Likewise.
9799 * hurd/dtable.c: Likewise.
9800 * hurd/hurd-raise.c: Likewise.
9801 * hurd/hurdprio.c: Likewise.
9802 * hurd/msgportdemux.c: Likewise.
9803 * misc/sys/file.h: Likewise.
9804 * misc/sys/ioctl.h: Likewise.
9805 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9806 * sysdeps/mach/hurd/chdir.c: Likewise.
9807 * sysdeps/mach/hurd/fchdir.c: Likewise.
9808 * sysdeps/mach/hurd/rename.c: Likewise.
9809 * sysdeps/mach/hurd/rmdir.c: Likewise.
9810 * sysdeps/mach/hurd/seekdir.c: Likewise.
9811 * sysdeps/mach/hurd/setsid.c: Likewise.
9812 * sysdeps/posix/wait3.c: Likewise.
9813
568035b7
JM
9814 * All files with FSF copyright notices: Update copyright dates
9815 using scripts/update-copyrights.
9816 * intl/plural.c: Regenerated.
9817 * locale/programs/charmap-kw.h: Likewise.
9818 * locale/programs/locfile-kw.h: Likewise.
9819
da08f647
SP
98202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
0f5477af
SP
9822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9823 four values.
9824
44e0d4c2
SP
9825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9826 calculation loop and add branch prediction.
9827
4d55b4e5
SP
9828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9829 check access beyond bounds of m1np.
9830
da08f647
SP
9831 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9832 MPTWO.
9833 (__inv): Remove local variable MPTWO to use the global
9834 constant.
9835 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9837 variable MPTWO.
9838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9839 MP3HALFS static const.
9840
8e051029
DM
98412013-01-01 David S. Miller <davem@davemloft.net>
9842
9843 * po/ca.po: Update from translation team.
9844
f4cf5f2d
JM
98452013-01-01 Joseph Myers <joseph@codesourcery.com>
9846
9847 * scripts/update-copyrights: New file.
9848 * Makeconfig: Reformat copyright notice.
9849 * ctype/ctype.h: Likewise.
9850 * debug/swprintf_chk.c: Likewise.
9851 * elf/dl-cache.c: Likewise.
9852 * elf/dl-debug.c: Likewise.
9853 * elf/dl-object.c: Likewise.
9854 * grp/initgroups.c: Likewise.
9855 * hurd/Makefile: Likewise.
9856 * hurd/hurd/signal.h: Likewise.
9857 * hurd/hurdfault.c: Likewise.
9858 * hurd/hurdioctl.c: Likewise.
9859 * hurd/hurdlookup.c: Likewise.
9860 * hurd/intr-msg.c: Likewise.
9861 * iconv/gconv_open.c: Likewise.
9862 * libio/swprintf.c: Likewise.
9863 * locale/lc-ctype.c: Likewise.
9864 * locale/nl_langinfo.c: Likewise.
9865 * mach/Machrules: Likewise.
9866 * mach/Makefile: Likewise.
9867 * malloc/obstack.h: Likewise.
9868 * manual/Makefile: Likewise.
9869 * manual/tsort.awk: Likewise.
9870 * misc/bits/stab.def: Likewise.
9871 * nis/nis_print_group_entry.c: Likewise.
9872 * nis/nis_table.c: Likewise.
9873 * nis/nss_compat/compat-pwd.c: Likewise.
9874 * nis/nss_compat/compat-spwd.c: Likewise.
9875 * po/Makefile: Likewise.
9876 * posix/fnmatch.c: Likewise.
9877 * posix/regex.h: Likewise.
9878 * resolv/Makefile: Likewise.
9879 * resolv/nss_dns/dns-network.c: Likewise.
9880 * resolv/res_hconf.c: Likewise.
9881 * scripts/gen-sorted.awk: Likewise.
9882 * soft-fp/soft-fp.h: Likewise.
9883 * stdio-common/printf.h: Likewise.
9884 * stdlib/monetary.h: Likewise.
9885 * stdlib/random.c: Likewise.
9886 * stdlib/random_r.c: Likewise.
9887 * sysdeps/generic/Makefile: Likewise.
9888 * sysdeps/gnu/Makefile: Likewise.
9889 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9899 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9917 * sysdeps/mach/hurd/errnos.awk: Likewise.
9918 * sysdeps/mach/hurd/fork.c: Likewise.
9919 * sysdeps/mach/hurd/getcwd.c: Likewise.
9920 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9921 * sysdeps/mach/hurd/mmap.c: Likewise.
9922 * sysdeps/mach/hurd/utimes.c: Likewise.
9923 * sysdeps/mach/hurd/xmknod.c: Likewise.
9924 * sysdeps/posix/profil.c: Likewise.
9925 * sysdeps/posix/readdir_r.c: Likewise.
9926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9927 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9928 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9929 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9931 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9933 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9935 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9937 * sysdeps/pthread/lio_listio.c: Likewise.
9938 * sysdeps/sparc/dl-procinfo.h: Likewise.
9939 * sysdeps/unix/i386/sysdep.S: Likewise.
9940 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9941 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9942 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9943 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9945 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9946 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9947 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9948 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9949 * sysdeps/wordsize-32/divdi3.c: Likewise.
9950 * time/sys/time.h: Likewise.
9951 * wcsmbs/Makefile: Likewise.
9952
0549fbba
DM
99532013-01-01 David S. Miller <davem@davemloft.net>
9954
a141f1a7
DM
9955 * po/fr.po: Update from translation team.
9956
0549fbba
DM
9957 * catgets/gencat.c: Update copyright year.
9958 * csu/version.c: Likewise.
9959 * debug/catchsegv.sh: Likewise.
9960 * debug/pcprofiledump.c: Likewise.
9961 * debug/xtrace.sh: Likewise.
9962 * elf/ldconfig.c: Likewise.
9963 * elf/ldd.bash.in: Likewise.
9964 * elf/pldd.c: Likewise.
9965 * elf/sotruss.ksh: Likewise.
9966 * elf/sprof.c: Likewise.
9967 * iconv/iconv_prog.c: Likewise.
9968 * iconv/iconvconfig.c: Likewise.
9969 * locale/programs/locale.c: Likewise.
9970 * locale/programs/localedef.c: Likewise.
9971 * login/programs/pt_chown.c: Likewise.
9972 * malloc/memusage.sh: Likewise.
9973 * malloc/memusagestat.c: Likewise.
9974 * malloc/mtrace.pl: Likewise.
9975 * nscd/nscd.c: Likewise.
9976 * nss/getent.c: Likewise.
9977 * nss/makedb.c: Likewise.
9978 * posix/getconf.c: Likewise.
9979
18ea052c
SP
99802012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9981
9982 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9983 numbers.
9984
9c89fca6
MF
99852012-12-30 Mike Frysinger <vapier@gentoo.org>
9986
9987 * math/bits/mathcalls.h (modf): Use __nonnull.
9988
085ec079
SP
99892012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9990
9991 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9992 (split): Use macro CN instead of the bare value.
9993 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9994 could be used.
9995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9996 instead of the bare value.
9997 (power1): Likewise.
9998
6d9f97e1
SP
99992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10000
d63f73be
SP
10001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10002 __ATAN_TWOM.
10003 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10004
6d9f97e1
SP
10005 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10006 their values.
10007 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10009 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10010 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10011
4c4febf5
AJ
100122012-12-28 Andreas Jaeger <aj@suse.de>
10013
af5843ef
AJ
10014 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10015 values are from Linux 3.7.
10016
4c4febf5
AJ
10017 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10018 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10019
99136f82
SP
100202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10021
2f216c3c 10022 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10023 TRUE case.
10024
99136f82
SP
10025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10026 (norm): Likewise.
10027 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10028 variables with preprocessor constants.
10029 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10030 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10032
7fffbdff
BH
100332012-12-27 Bruno Haible <bruno@clisp.org>
10034
10035 [BZ #14317]
10036 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10037 only if needed.
10038
b76eb5f0
SP
100392012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10040
31a7fe5c
SP
10041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10042 and use variable directly.
10043 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10044
b76eb5f0
SP
10045 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10046 MPONE.
10047 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10049 variable MPONE.
10050 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10052 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10053 include directive. Remove local variable MPONE.
10054 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10055 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10056 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10057
2c8bfe7d
DM
100582012-12-25 David S. Miller <davem@davemloft.net>
10059
10060 * version.h (RELEASE): Set to "development".
10061 (VERSION): Set to "2.17.90".
10062 * NEWS: Add 2.18 section.
10063
147d03b0
DM
100642012-12-21 David S. Miller <davem@davemloft.net>
10065
10066 * po/hr.po: Update from translation team.
10067
a8ebb2b9
AK
100682012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10069
10070 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10071
95b4f1b6
SE
100722012-12-19 Steve Ellcey <sellcey@mips.com>
10073
b2d94007 10074 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10075
cedb2a90
MS
100762012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10077
10078 * manual/contrib.texi (Contributors): Spelling correction.
10079
bbf527d6
DM
100802012-12-15 David S. Miller <davem@davemloft.net>
10081
10082 * po/ru.po: Update from translation team.
10083
bc38c906
DM
100842012-12-13 David S. Miller <davem@davemloft.net>
10085
85429b1a
DM
10086 * NEWS: Mention IFUNC testsuite enhancements.
10087
d283e353
DM
10088 * po/pl.po: Update from translation team.
10089 * po/bg.po: Likewise.
10090
bc38c906
DM
10091 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10092 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10093
a181b0d7
DM
100942012-12-11 David S. Miller <davem@davemloft.net>
10095
4641d57e
DM
10096 * po/sv.po: Update from translation team.
10097
f7bc6495
DM
10098 * po/vi.po: Update from translation team.
10099
6fc9048f
DM
10100 * po/cs.po: Update from translation team.
10101
a181b0d7
DM
10102 * po/de.po: Update from translation team.
10103 * po/eo.po: Likewise.
10104 * po/nl.po: Likewise.
10105
f70bfe80
SP
101062012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10107
3c8b4190
SP
10108 [BZ #14246]
10109 * manual/argp.texi (Argp Helper Functions): Move node to follow
10110 Argp Parsing State.
10111
f70bfe80
SP
10112 [BZ #14872]
10113 * manual/conf.texi (Limits on File System Capacity): Mention if
10114 terminating null is included in the max size.
10115
188f0adf
AJ
101162012-12-10 Andreas Jaeger <aj@suse.de>
10117
10118 * po/cs.po: Update from translation team.
10119
56e7d3ad
SP
101202012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10121
10122 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10123 void pointer and cast to uintptr_t.
10124 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10125 path.
10126 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10127 * sysdeps/s390/s390-64/memset.S: Likewise.
10128
76f2d2ea 101292012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10130
10131 [BZ #14833]
10132 * menual/message.texi (Message Translation): Fix typos.
10133 (Helper programs for gettext): Likewise.
10134
67cbf9a2
AS
101352012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10136
10137 [BZ #14898]
10138 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10139 Change to -1.
10140
682d0e9a
DM
101412012-12-07 David S. Miller <davem@davemloft.net>
10142
10143 * po/libc.pot: Update.
10144
573cd484
RH
101452012-12-07 Richard Henderson <rth@redhat.com>
10146
7e9da188 10147 [BZ #10114]
573cd484
RH
10148 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10149 normal/normal case to before the switch.
10150 (_FP_DIV): Likewise.
10151
e933a943
MF
101522012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10153 Mike Frysinger <vapier@gentoo.org>
10154
10155 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10156 check for __NR_fadvise64_64.
10157
82123268
CM
101582012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10159
10160 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10161 0, not just to plain "0" as a statement.
10162 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10163 with cw.
10164
d9814526
JM
101652012-12-06 Joseph Myers <joseph@codesourcery.com>
10166
10167 * NEWS: Use sourceware.org in Bugzilla URL.
10168
7728c574
SP
101692012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10170
f16946dd
SP
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10172 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10173
5704bbcb
SP
10174 * stdio-common/tst-put-error.c (do_test): Add newline to the
10175 padded test to ensure flush.
10176
17aa0516
JL
101772012-12-05 Jeff Law <law@redhat.com>
10178
10179 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10180
363313b5
JM
101812012-12-05 Joseph Myers <joseph@codesourcery.com>
10182
effbd42a
JM
10183 * README: Don't refer to ports add-on as distributed separately.
10184 Mention AArch64 in list of systems supported in the ports add-on.
10185
87600365
JM
10186 * LICENSES: Add more non-FSF copyright and license notices.
10187
a0d7066a
JM
10188 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10189 ((unused)).
10190
66ca5a5b
JM
10191 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10192
363313b5
JM
10193 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10194 10000 as width of padded output.
10195
b37984ad
JM
101962012-12-04 Joseph Myers <joseph@codesourcery.com>
10197
9003570a
JM
10198 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10199
b37984ad
JM
10200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10201 variable LX with __attribute__ ((unused)).
10202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10203 Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10207 with __attribute__ ((unused)).
10208
c8df52ec
DM
102092012-12-04 David S. Miller <davem@abraco.davemloft.net>
10210
10211 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10212
b3b099af
JM
102132012-12-04 Joseph Myers <joseph@codesourcery.com>
10214
c33aa6e3
JM
10215 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10216 (CFLAGS-nldbl-acos.c): New variable.
10217 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10218 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10219 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10220 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10221 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10222 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10223 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10224 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10225 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10226 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10227 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10228 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10229 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10230 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10231 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10232 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10233 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10234 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10235 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10236 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10237 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10238 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10309 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10310 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10311 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10312 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10313 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10314
20f0018d
JM
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10316 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10317
b3b099af
JM
10318 [BZ #14914]
10319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10320 whole low double instead of just low 47 bits when splitting values
10321 into two parts.
10322
029264d1
AM
103232012-12-03 Allan McRae <allan@archlinux.org>
10324
10325 * manual/stdio.texi (Predefined Printf Handlers): Remove
10326 @hsep and @vsep usage.
10327
c9d6789e
MF
103282012-12-03 Mike Frysinger <vapier@gentoo.org>
10329
10330 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10331 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10332
4b7634a5
JL
103332012-12-03 Jeff Law <law@redhat.com>
10334
10335 * time/sys/time.h (settimeofday): Do not mark TV argument
10336 as __nonnull.
10337
eb6cbd24
MF
103382012-12-01 Mike Frysinger <vapier@gentoo.org>
10339
10340 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10341 when currently writing and seek to current position when not.
10342 * libio/Makefile (tests): Remove bug-fclose1.
10343 * libio/bug-fclose1.c: Delete.
10344
f638872a
JM
103452012-12-01 Joseph Myers <joseph@codesourcery.com>
10346
10347 * manual/arith.texi (feenableexcept): Fix typo.
10348 (fedisableexcept): Likewise.
10349
48085d14
RM
103502012-11-30 Roland McGrath <roland@hack.frob.com>
10351
10352 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10353 second, differently-typed declaration, rather than a cast.
10354
1a538b9f
SP
103552012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10356
10357 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10358 * include/rpc/svc.h: ... here.
10359
d07f2ff1 103602012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10361
10362 [BZ #13013]
10363 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10364 depending n and resplen2 to catch cases where answer
10365 equals answerp2.
10366
c93ec1f0
CD
103672012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10368
10369 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10370 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10371
37db69de
MF
103722012-11-29 Mike Frysinger <vapier@gentoo.org>
10373
10374 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10375
e10c4e4f
RM
103762012-11-29 Roland McGrath <roland@hack.frob.com>
10377
10378 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10379
2af1b328
JL
103802012-11-28 Jeff Law <law@redhat.com>
10381
10382 [BZ #13761]
10383 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10384 dataset_temporary. Track alloca usage into alloca_used.
10385 If dataset is large allocate and release it via malloc/free.
10386
111db5b1
FW
103872012-06-04 Florian Weimer <fweimer@redhat.com>
10388
f06cc227 10389 [BZ #14197]
111db5b1
FW
10390 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10391
dd694abd
DM
103922012-11-28 David S. Miller <davem@davemloft.net>
10393
10394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10395
9984dd01
JM
103962012-11-28 Joseph Myers <joseph@codesourcery.com>
10397
10398 [BZ #14803]
10399 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10400 of pi/2 rounded to nearest to 64 bits.
10401 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10402 nearest to 64 bits.
10403 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10404 bits.
10405
14bc93a9
JL
104062012-11-28 Jeff Law <law@redhat.com>
10407 Martin Osvald <mosvald@redhat.com>
10408
10409 [BZ #14889]
10410 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10411 * sunrpc/svc.c: Include time.h.
10412 (__svc_accept_failed): New function.
10413 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10414 any reason other than EINTR, call __svc_accept_failed.
10415 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10416 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10417
e3c6aa3a
AS
104182012-11-28 Andreas Schwab <schwab@suse.de>
10419
10420 * scripts/abilist.awk: Also handle indirect functions in .opd
10421 section.
10422
1bead169
JM
104232012-11-28 Joseph Myers <joseph@codesourcery.com>
10424
10425 [BZ #13881]
10426 * sysdeps/x86/fpu/powl_helper.c: New file.
10427 * sysdeps/x86/fpu/Makefile: Likewise.
10428 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10429 (p3): New object.
10430 (__ieee754_powl): Use __powl_helper for finite arguments except
10431 integer exponents below 8.
10432 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10433 (p3): New object.
10434 (__ieee754_powl): Use __powl_helper for finite arguments except
10435 integer exponents below 8.
10436 * math/libm-test.inc (pow_test): Add more tests and enable some
10437 previously disabled tests.
10438 * sysdeps/i386/fpu/libm-test-ulps: Update.
10439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10440
0817d63d
SP
104412012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10442 Carlos O'Donell <carlos_odonell@mentor.com>
10443
10444 * nss/makedb.c (is_prime): Assert that input is odd and greater
10445 than 4. Note that fact in a comment too.
10446 (next_prime): Add 4 to input.
10447
de2fd463
SP
104482012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10449
10450 [BZ #11741]
10451 * libio/Makefile (tests): Add test case tst-fwrite-error.
10452 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10453 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10454 * libio/tst-fwrite-error.c: New test case.
10455
c515fb51
L
104562012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10457
10458 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10459 before casting to void *.
10460 * include/libc-internal.h (__pointer_type): New macro.
10461 (__integer_if_pointer_type_sub): Likewise.
10462 (__integer_if_pointer_type): Likewise.
10463 (cast_to_integer): Likewise.
10464 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10465 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10466 before casting to atomic64_t.
10467 (atomic_exchange_acq): Likewise.
10468 (__arch_exchange_and_add_body): Likewise.
10469 (__arch_add_body): Likewise.
10470 (atomic_add_negative): Likewise.
10471 (atomic_add_zero): Likewise.
10472
4cf77aa9
JM
104732012-11-26 Joseph Myers <joseph@codesourcery.com>
10474
10475 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10476 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10477 (add_fdes): Likewise.
10478 (linear_search_fdes): Likewise.
10479 (binary_search_unencoded_fdes): Likewise.
10480
d260b3b4
AS
104812012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10482
10483 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10484
67060746
AC
104852012-11-24 Adam Conrad <adconrad@0c3.net>
10486
10487 * configure.in: Autodetect C++ header directories.
10488 * configure: Regenerated.
10489
800938a1
MF
104902012-11-23 Mike Frysinger <vapier@gentoo.org>
10491
10492 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10493
4e6e34e6
AS
104942012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10495
10496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10497
7c7feb47
JM
104982012-11-22 Joseph Myers <joseph@codesourcery.com>
10499
7184dcdf
JM
10500 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10501 LDBL_MANT_DIG == 106]: Disable some tests.
10502 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10503 Likewise.
10504 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10505 Likewise.
10506
0a42601f
JM
10507 [BZ #14871]
10508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10509 input for small inputs. Return +/- pi/2 for large inputs.
10510 * math/libm-test.inc (atan_test): Add more tests.
10511
79c9b9fe
JM
10512 * sysdeps/generic/unwind-dw2-fde-glibc.c
10513 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10514 __attribute__ ((unused)).
10515
c60d3bf2
JM
10516 [BZ #14645]
10517 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10518 x * y if x and y are nonzero and z is zero.
10519
ef1e0867
JM
10520 [BZ #14811]
10521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10522 nonzero exponents with absolute value below 0x1p-117 to +/-
10523 0x1p-117.
10524
1468ded3
JM
10525 [BZ #14869]
10526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10527 up arguments below 2**-450, not just those below 2**-500.
10528 * math/libm-test.inc (hypot_test): Add another test.
10529
8e27e3cc
JM
10530 [BZ #14868]
10531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10532 Return a+b for ratio over 2**120, not 2**60.
10533 * math/libm-test.inc (hypot_test): Add another test.
10534
c9c0279b
JM
10535 * math/libm-test.inc (clog_test): Use
10536 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10537 (clog10_test): Likewise.
10538
7c7feb47
JM
10539 [BZ #6778]
10540 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10541
fff1530e
AS
105422012-11-22 Andreas Schwab <schwab@suse.de>
10543
10544 * sysdeps/i386/fpu/libm-test-ulps: Update.
10545
94558d30
PT
105462012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10547
10548 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10549 printf output with newline.
10550
7e1be741
L
105512012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10552
6bfea974
L
10553 [BZ #14865]
10554 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10555 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10556 -z nodlopen, -z initfirst and -z execstack support.
10557 * configure: Regenerated.
10558
7e1be741
L
10559 * elf/elf.h (DF_1_NODIRECT): New macro.
10560 (DF_1_IGNMULDEF): Likewise.
10561 (DF_1_NOKSYMS): Likewise.
10562 (DF_1_NOHDR): Likewise.
10563 (DF_1_EDITED): Likewise.
10564 (DF_1_NORELOC): Likewise.
10565 (DF_1_SYMINTPOSE): Likewise.
10566 (DF_1_GLOBAUDIT): Likewise.
10567 (DF_1_SINGLETON): Likewise.
10568 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10569 DT_1_SUPPORTED_MASK bits.
10570 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10571
105ce2ce
CD
105722012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10573
10574 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10575
123be9de
TS
105762012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10577
d072f3f7
TS
10578 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10579 macro.
10580
123be9de
TS
10581 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10582 (sendmmsg): Move declarations...
10583 * socket/sys/socket.h: ... here.
10584 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10585 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10586 include it from...
10587 * socket/recvmmsg.c: ... this new file.
10588 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10589 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10590 definition of __sendmmsg hidden.
10591 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10592 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10593 Move ENOSYS stub into and include it from...
10594 * socket/sendmmsg.c: ... this new file.
10595 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10596 (sysdep_routines): Move recvmmsg and sendmmsg...
10597 * socket/Makefile (routines): ... here.
10598 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10599 (GLIBC_PRIVATE): Add __sendmmsg.
10600 * include/sys/socket.h (__sendmmsg): Add declarations.
10601 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10602 sendmmsg.
10603
cf9a5d18
JM
106042012-11-20 Joseph Myers <joseph@codesourcery.com>
10605
10606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10607 variable I1 with __attribute__ ((unused)).
10608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10609
ecd4caf9
JM
106102012-11-19 Joseph Myers <joseph@codesourcery.com>
10611
be14d48f
JM
10612 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10613 DUMMY variables with __attribute__ ((unused)).
10614
ecd4caf9
JM
10615 * bits/byteswap.h: Include <bits/types.h>.
10616 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10617
986cab95
PT
106182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10619
10620 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10621 string_t. Do not manually set errno.
10622 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10623 length with __strnlen. Make sure to both set errno and return it on
10624 failure.
10625
6d33cc9d
DM
106262012-11-19 David S. Miller <davem@davemloft.net>
10627
10628 With help from Joseph Myers.
10629 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10630 very large arguments properly.
10631 * math/libm-test.inc (atan_test): New tests.
10632 (atan2_test): New tests.
10633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10635
ee663277
JM
106362012-11-19 Joseph Myers <joseph@codesourcery.com>
10637
877f2d8e
JM
10638 [BZ #14856]
10639 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10640 Define to 3.
10641
116fc08a
JM
10642 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10643 [POSIX] (EADDRNOTAVAIL): Likewise.
10644 [POSIX] (EAFNOSUPPORT): Likewise.
10645 [POSIX] (EALREADY): Likewise.
10646 [POSIX] (ECONNABORTED): Likewise.
10647 [POSIX] (ECONNREFUSED): Likewise.
10648 [POSIX] (ECONNRESET): Likewise.
10649 [POSIX] (EDESTADDRREQ): Likewise.
10650 [POSIX] (EDQUOT): Likewise.
10651 [POSIX] (EHOSTUNREACH): Likewise.
10652 [POSIX] (EIDRM): Likewise.
10653 [POSIX] (EISCONN): Likewise.
10654 [POSIX] (ELOOP): Likewise.
10655 [POSIX] (EMULTIHOP): Likewise.
10656 [POSIX] (ENETDOWN): Likewise.
10657 [POSIX] (ENETUNREACH): Likewise.
10658 [POSIX] (ENOBUFS): Likewise.
10659 [POSIX] (ENODATA): Likewise.
10660 [POSIX] (ENOLINK): Likewise.
10661 [POSIX] (ENOMSG): Likewise.
10662 [POSIX] (ENOPROTOOPT): Likewise.
10663 [POSIX] (ENOSR): Likewise.
10664 [POSIX] (ENOSTR): Likewise.
10665 [POSIX] (ENOTCONN): Likewise.
10666 [POSIX] (ENOTSOCK): Likewise.
10667 [POSIX] (EOPNOTSUPP): Likewise.
10668 [POSIX] (EOVERFLOW): Likewise.
10669 [POSIX] (EPROTO): Likewise.
10670 [POSIX] (EPROTONOSUPPORT): Likewise.
10671 [POSIX] (EPROTOTYPE): Likewise.
10672 [POSIX] (ESTALE): Likewise.
10673 [POSIX] (ETIME): Likewise.
10674 [POSIX] (ETXTBSY): Likewise.
10675 [POSIX] (EWOULDBLOCK): Likewise.
10676 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10677 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10678 [POSIX] (SEEK_CUR): Likewise.
10679 [POSIX] (SEEK_END): Likewise.
10680 [POSIX || UNIX98] (mode_t): Do not require.
10681 [POSIX] (off_t): Likewise.
10682 [POSIX] (pid_t): Likewise.
10683 [POSIX] (sys/stat.h): Do not allow header.
10684 [POSIX] (unistd.h): Likewise.
10685 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10686 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10687 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10688 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10689 require.
10690 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10691 sigevent): Specify elements.
10692 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10693 entry.
10694 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10695 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10696
a483863f
JM
10697 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10698 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10699 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10700 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10701 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10702 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10703 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10704 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10705 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10706 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10707 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10708 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10709 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10710 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10711 Likewise.
10712 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10713 Likewise.
10714 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10715 Likewise.
10716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10717 Likewise.
10718 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10719 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10720 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10723 Specify lower bound on value.
10724 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10730 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10731 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10732 value.
10733 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10734 as optional.
10735 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10739 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10751 entry.
10752 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10753 optional.
10754 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10755 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10756 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10760 Likewise.
10761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10766 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10767 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10768 as optional.
10769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10773 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10774 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10775 specify as optional.
10776 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10779 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10780 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10781 [XPG3] (NL_LANGMAX): Likewise.
10782 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10783 [POSIX || XPG3] (NL_NMAX): Likewise.
10784 [POSIX || XPG3] (NL_SETMAX): Likewise.
10785 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10786 [XPG3] (NZERO): Likewise.
10787 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10788 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10789 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10790 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10791 (REG_ERANGE): Expect.
10792 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10793 optional-constant.
10794 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10795 Use (void) in prototype.
10796 [POSIX] (*_t): Allow.
10797 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10798 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10799 (WRDE_BADVAL): Expect.
10800
5ba924e3
JM
10801 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10802 expect.
10803 [XPG3 || XPG4] (O_RSYNC): Likewise.
10804 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10805 Likewise.
10806 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10807 [XPG3 || XPG4] (sigqueue): Likewise.
10808 [XPG3 || XPG4] (sigtimedwait): Likewise.
10809 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10810 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10811 [XPG3 || XPG4] (vsnprintf): Likewise.
10812 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10813 Likewise.
10814 [XPG3 || XPG4] (blksize_t): Likewise.
10815 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10816 Likewise.
10817 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10818 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10819 [XPG3 || XPG4] (struct itimerspec): Likewise.
10820 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10821 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10822 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10823 [XPG3 || XPG4] (clockid_t): Likewise.
10824 [XPG3 || XPG4] (timer_t): Likewise.
10825 [XPG3 || XPG4] (clock_getres): Likewise.
10826 [XPG3 || XPG4] (clock_gettime): Likewise.
10827 [XPG3 || XPG4] (clock_settime): Likewise.
10828 [XPG3 || XPG4] (nanosleep): Likewise.
10829 [XPG3 || XPG4] (timer_create): Likewise.
10830 [XPG3 || XPG4] (timer_delete): Likewise.
10831 [XPG3 || XPG4] (timer_gettime): Likewise.
10832 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10833 [XPG3 || XPG4] (timer_settime): Likewise.
10834 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10835 [XPG3 || XPG4] (getlogin_r): Likewise.
10836 [XPG3 || XPG4] (pread): Likewise.
10837 [XPG3 || XPG4] (pthread_atfork): Likewise.
10838 [XPG3 || XPG4] (pwrite): Likewise.
10839
ee663277
JM
10840 [BZ #14835]
10841 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10842 <bits/siginfo.h>.
10843
942caa16
PT
108442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10845
e19af380
PT
10846 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10847 finalizing MALLSTREAM.
10848
942caa16
PT
10849 * sysdeps/mach/hurd/syncfs.c: New file.
10850
cfde9b46
SP
108512012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10852
10853 [BZ #14719]
10854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10855 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10856 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10857 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10858 (_nss_dns_gethostbyname4_r): Likewise.
10859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10860 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10861
f6da27e5
PH
108622012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10863
10864 [BZ #13763]
10865 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10866
6665d4a2
SM
108672012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10868
1f51ee92
SM
10869 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10870 * elf/cache.c (print_entry): Print ",AArch64" for
10871 FLAG_AARCH64_LIB64
10872
6665d4a2
SM
10873 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10874 * elf/cache.c (print_entry): Print ",hard-float" for
10875 FLAG_ARM_LIBHF.
10876
05b227bd
DM
108772012-11-18 David S. Miller <davem@davemloft.net>
10878
10879 With help from Joseph Myers.
10880 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10881 cutoff to 2**-13.
10882 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10883 cutoff to 2**-25.
10884 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10885 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10886 small.
10887 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10888 * math/libm-test.inc (y0_test): New tests.
10889 (y1_test): New tests.
10890 * sysdeps/i386/fpu/libm-test-ulps: Update.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10893
786b0b67
AS
108942012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10895
10896 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10897 64-bit targets.
10898 * configure: Regenerated.
10899
8e18b86d
DM
109002012-11-17 David S. Miller <davem@davemloft.net>
10901
10902 [BZ #14811]
10903 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10904 nonzero exponents with absolute value below 0x1p-128 to +/-
10905 0x1p-128.
10906
531f1ae0
JM
109072012-11-17 Joseph Myers <joseph@codesourcery.com>
10908
12df29e2
JM
10909 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10910
150dc1a0
JM
10911 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10912
531f1ae0
JM
10913 * posix/getconf-speclist.c: New file.
10914 * posix/posix-envs.def: Likewise.
10915 * posix/confstr.c (START_ENV_GROUP): New macro.
10916 (END_ENV_GROUP): Likewise.
10917 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10918 (KNOWN_PRESENT_ENV_STRING): Likewise.
10919 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10920 (UNKNOWN_ENVIRONMENT): Likewise.
10921 (confstr): Include posix-envs.def instead of handling
10922 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10923 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10924 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10925 (END_ENV_GROUP): Likewise.
10926 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10927 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10928 (UNKNOWN_ENVIRONMENT): Likewise.
10929 (__sysconf): Include posix-envs.def instead of handling associated
10930 cases directly here.
10931 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10932 preprocessing getconf-speclist.c rather than running getconf or
10933 generating empty file.
10934
a93f9cbc
PT
109352012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10936
10937 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10938
d64d9f87
AL
109392012-11-16 Andrej Lajovic <natrij@gmail.com>
10940
10941 [BZ #14672]
10942 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10943
447885eb
DM
109442012-11-16 David S. Miller <davem@davemloft.net>
10945
10946 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10947 smaller than LDBL_EPSILON/2.0L, just return xm1.
10948
bcbf9830
L
109492012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10950
10951 * elf/tst-array1.c (init): Set constructor priority to 1000.
10952 (fini): Set destructor priority to 1000.
10953 * elf/tst-array2dep.c: Likewise.
10954
2b766585
SP
109552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10956
10957 [BZ #11741]
10958 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10959 (_IO_new_file_xsputn): Also return EOF if none of the input
10960 data was written when overflow failed.
10961 * libio/iopadn.c (_IO_padn): Likewise.
10962 * libio/iowpadn.c (_IO_wpadn): Likewise.
10963 * stdio-common/tst-put-error.c: Add copyright notice.
10964 (do_test): Add case for printing padded string.
10965 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10966 _IO_padn returned error.
10967 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10968 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10969 return EOF.
10970
b1848fde
SP
109712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10972
10973 * libio/libioP.h: Add comment note that the references to C++
10974 bits are now obsolete.
10975
2fd89785
MS
109762012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10977
10978 * math/libm-test.inc (check_complex): Use asprintf.
10979
e3ea5409
JM
109802012-11-14 Joseph Myers <joseph@codesourcery.com>
10981
10982 * debug/pcprofiledump.c (print_version): Update copyright year.
10983 * malloc/memusagestat.c (print_version): Likewise.
10984
2e64d265
L
109852012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10986
10987 [BZ #14831]
10988 * elf/Makefile (tests): Add tst-audit8.
10989 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10990 ($(objpfx)tst-audit8.out): New target.
10991 (tst-audit8-ENV): New variable.
10992 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10993 audit if l_reloc_result is NULL.
10994 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10995 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10996 * elf/tst-audit8.c: New file.
10997
c485e4d2
MS
109982012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10999
11000 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11001 * misc/Makefile (CFLAGS-select.c): Define.
11002 * posix/Makefile (CFLAGS-pause.c): Define.
11003
3a0d900a
DM
110042012-11-13 David S. Miller <davem@davemloft.net>
11005
11006 * crypt/Makefile: Move test targets after toplevel Rules
11007 inclusion. Grab any necessary sysdep routines when linking.
11008 * crypt/md5.c (md5_process_block): Remove define, we will always
11009 name it __md5_process_block.
11010 (md5_finish_ctx): Update md5_process_block call.
11011 (md5_stream): Likewise.
11012 (md5_process_bytes): Likewise.
11013 (md5_process_block): Rename to __md5_process_block and move to ...
11014 * crypt/md5-block.c: ... here.
11015 * crypt/sha256.c (sha256_process_block): Move to ...
11016 * crypt/sha256-block.c: ... here.
11017 * crypt/sha512.c (sha512_process_block): Move to ...
11018 * crypt/sha512-block.c: ... here.
11019 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11020 path.
11021 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11022 * sysdeps/sparc/sparc64/multiarch/Makefile
11023 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11024 crypt subdir.
11025 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11027 multiarch changes.
11028 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11029 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11030 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11031 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11032 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11033 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11034 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11035 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11036 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11037 file.
11038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11039 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11040 file.
11041 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11042
8ca89318
JM
110432012-11-13 Joseph Myers <joseph@codesourcery.com>
11044
e27d476a
JM
11045 * timezone/tzselect.ksh: Update from tzcode git revision
11046 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11047 * timezone/zdump.c: Likewise.
11048 * timezone/zic.c: Likewise.
11049 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11050 in TZVERSION setting, not $(PKGVERSION).
11051 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11052 REPORT_BUGS_TO settings.
11053
8ca89318
JM
11054 [BZ #14838]
11055 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11056 macro.
11057
47594329
MS
110582012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11059
11060 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11061 detection to immediately after _FP_ROUND().
11062 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11063 bits are 0.
11064
640ac3f1
DM
110652012-11-11 David S. Miller <davem@davemloft.net>
11066
11067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11068 inttypes.h
11069 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11070 __close rather than their public counterparts.
11071
3d2577bb
JM
110722012-11-10 Joseph Myers <joseph@codesourcery.com>
11073
11074 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11075 file.
11076 [UNIX98] (sem_timedwait): Do not expect.
11077 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11078 [XPG4 || UNIX98] (sockatmark): Do not expect.
11079 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11080 (clock_getcpuclockid): Do not expect.
11081 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11082 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11083 Do not expect.
11084 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11085 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11086 [UNIX98] (vwscanf): Likewise.
11087 [UNIX98] (vswscanf): Likewise.
11088
fb1ae1ee
JM
110892012-11-09 Joseph Myers <joseph@codesourcery.com>
11090
9ec6f8bd
JM
11091 * timezone/version.h: Remove file.
11092 * timezone/README: Do not refer to version.h.
11093 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11094 $(objpfx)version.h.
11095 ($(objpfx)zdump.o): Likewise.
c3f81911 11096 ($(objpfx)version.h): New target.
9ec6f8bd 11097
0aa8f8a1
JM
11098 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11099 2012i.
11100 * timezone/README: Don't mention modification to tzselect.ksh.
11101 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11102 work on unmodified tzselect.ksh. Substitute version numbers in
11103 tzselect.ksh.
11104
4e87147f
JM
11105 * Makefile (format-me): Remove.
11106 (INSTALL): Adjust indentation. Use commands directly instead of
11107 using $(format-me).
11108
8b748aed
JM
11109 * aclocal.m4 (ACX_PKGVERSION): New macro.
11110 (ACX_BUGURL): Likewise.
11111 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11112 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11113 (REPORT_BUGS_TO): Likewise.
11114 * configure: Regenerated.
11115 * config.h.in (PKGVERSION): New macro.
11116 (REPORT_BUGS_TO): Likewise.
11117 * config.make.in (PKGVERSION): New variable.
11118 (PKGVERSION_TEXI): Likewise.
11119 (REPORT_BUGS_TO): Likewise.
11120 (REPORT_BUGS_TEXI): Likewise.
11121 * Makefile (format-me): Use -I$(common-objpfx)manual.
11122 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11123 ($(common-objpfx)manual/%): New target.
11124 (manual/%): Remove target.
11125 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11126 (print_version): Use PKGVERSION.
11127 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11128 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11129 and REPORT_BUGS_TO.
11130 ($(objpfx)xtrace): Likewise.
11131 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11132 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11133 (print_version): Use PKGVERSION.
11134 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11135 (do_version): Use PKGVERSION.
11136 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11137 REPORT_BUGS_TO.
11138 (common-ldd-rewrite): Likewise.
11139 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11140 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11141 (print_version): Use PKGVERSION.
11142 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11143 * elf/pldd.c (argp_program_bug_address): Remove variable.
11144 (more_help): New function.
11145 (argp): Use more_help.
11146 (print_version): Use PKGVERSION.
11147 * elf/sln.c (main): Use PKGVERSION.
11148 (usage): Use REPORT_BUGS_TO.
11149 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11150 (top level): Use PKGVERSION.
11151 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11152 (print_version): Use PKGVERSION.
11153 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11154 (print_version): Use PKGVERSION.
11155 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11156 (print_version): Use PKGVERSION.
11157 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11158 (print_version): Use PKGVERSION.
11159 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11160 (print_version): Use PKGVERSION.
11161 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11162 (print_version): Use PKGVERSION.
11163 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11164 and BUGURL.
11165 ($(objpfx)memusage): Likewise.
11166 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11167 (do_version): Use PKGVERSION.
11168 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11169 (print_version): Use PKGVERSION.
11170 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11171 ($PKGVERSION): New variable.
11172 ($REPORT_BUGS_TO): Likewise.
11173 (usage): Use $REPORT_BUGS_TO.
11174 (top level): Use $PKGVERSION.
11175 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11176 ($(objpfx)pkgvers.texi): New rule.
11177 ($(objpfx)stamp-pkgvers): Likewise.
11178 * manual/install.texi: Include pkgvers.texi.
11179 (--with-pkgversion): Document new configure option.
11180 (--with-bugurl): Likewise.
11181 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11182 than necessarily for this particular distribution. Use
11183 REPORT_BUGS_TO for where to report bugs.
11184 * INSTALL: Regenerated.
11185 * manual/libc.texinfo: Include pkgvers.texi.
11186 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11187 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11188 (print_version): Use PKGVERSION.
11189 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11190 (print_version): Use PKGVERSION.
11191 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11192 (print_version): Use PKGVERSION.
11193 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11194 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11195 macro.
11196 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11197 (print_version): Use PKGVERSION.
11198 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11199 (print_version): Use PKGVERSION.
11200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11201 and PKGVERSION.
11202
92e4b6a9
JM
11203 * timezone/checktab.awk: Update from tzcode 2012i.
11204 * timezone/ialloc.c: Likewise.
11205 * timezone/private.h: Likewise.
11206 * timezone/scheck.c: Likewise.
11207 * timezone/tzfile.h: Likewise.
11208 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11209 (TZVERSION): Hardcode tzcode version number.
11210 * timezone/zdump.c: Update from tzcode 2012i.
11211 * timezone/zic.c: Likewise.
11212 * timezone/version.h: New file.
11213 * timezone/README: Describe version.h. Update upstream location.
11214
9bde902c
JM
11215 [BZ #14824]
11216 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11217 (mktemp): Enable declaration.
11218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11222 Likewise.
11223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11224 Likewise.
11225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11226 Likewise.
11227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11228 Likewise.
11229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11230 Likewise.
11231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11232 Likewise.
11233
fb1ae1ee
JM
11234 [BZ #14821]
11235 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11236 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11237 for copies of such integer values.
11238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11240
2c1adbcb
AJ
112412012-11-09 Andreas Jaeger <aj@suse.de>
11242
11243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11244 definitions and declarations that are provided by
11245 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11246
d0f8457e
AK
112472012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11248
3a235abb 11249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11250 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11251 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11252 definition.
11253
57241e26
MS
112542012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11255
11256 * elf/elf.h: Update comment before AArch64 relocations.
11257
60e8270d
DM
112582012-11-07 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11262 (__start_context): Declare.
11263 (__makecontext_ret): Delete.
11264 (__makecontext): Hook up __start_context instead of
11265 __makecontext_ret.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11267 (sysdep_routines): Add __start_context when in stdlib.
11268
0fbb0fbc
JM
112692012-11-07 Joseph Myers <joseph@codesourcery.com>
11270
11271 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11272 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11273 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11274 hardcoded "nm".
11275 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11276 (READELF): New variable. Use it instead of hardcoded "readelf".
11277
eb48db7e
L
112782012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11281 * sysdeps/x86/Makefile: Here.
11282 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11283 * sysdeps/x86/tst-xmmymm.sh: This.
11284
05bcf62a
JM
112852012-11-07 Joseph Myers <joseph@codesourcery.com>
11286
c4b6cf53
JM
11287 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11288 expectations.
11289 [UNIX98] (pthread_barrier_t): Do not expect.
11290 [UNIX98] (pthread_barrierattr_t): Likewise.
11291 [UNIX98] (pthread_spinlock_t): Likewise.
11292 [UNIX98] (pthread_barrier_destroy): Likewise.
11293 [UNIX98] (pthread_barrier_init): Likewise.
11294 [UNIX98] (pthread_barrier_wait): Likewise.
11295 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11296 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11297 [UNIX98] (pthread_barrierattr_init): Likewise.
11298 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11299 [UNIX98] (pthread_getcpuclockid): Likewise.
11300 [UNIX98] (pthread_mutex_timedlock): Likewise.
11301 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11302 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11303 [UNIX98] (pthread_sigmask): Likewise.
11304 [UNIX98] (pthread_spin_destroy): Likewise.
11305 [UNIX98] (pthread_spin_init): Likewise.
11306 [UNIX98] (pthread_spin_lock): Likewise.
11307 [UNIX98] (pthread_spin_trylock): Likewise.
11308 [UNIX98] (pthread_spin_unlock): Likewise.
11309 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11310 Do not expect.
11311 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11313 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11314 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11315 [XPG3 || XPG4] (pthread_key_t): Likewise.
11316 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11317 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11318 [XPG3 || XPG4] (pthread_once_t): Likewise.
11319 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11320 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11322 [XPG3 || XPG4] (pthread_t): Likewise.
11323
cbe6e120
JM
11324 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11325 not expect.
11326 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11327
1b126443
JM
11328 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11329 Change function return type to int.
11330
b961a573
JM
11331 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11332 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11333 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11334 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11335 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11336 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11337 [!POSIX] (posix_madvise): Likewise.
11338 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11339 && !UNIX98].
11340 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11341 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11342 (mode_t): Likewise.
11343 (posix_mem_offset): Likewise.
11344 (posix_typed_mem_get_info): Likewise.
11345 (posix_typed_mem_open): Likewise.
11346
9e188909
JM
11347 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11348 Change condition to [XOPEN2K8].
11349
05bcf62a
JM
11350 * conform/conformtest.pl: Preprocess allow-header data with -x c
11351 instead of from stdin.
11352 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11353 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11354 [C99-based standards] (cerfc): Likewise.
11355 [C99-based standards] (cexp2): Likewise.
11356 [C99-based standards] (cexpm1): Likewise.
11357 [C99-based standards] (clog10): Likewise.
11358 [C99-based standards] (clog1p): Likewise.
11359 [C99-based standards] (clog2): Likewise.
11360 [C99-based standards] (clgamma): Likewise.
11361 [C99-based standards] (ctgamma): Likewise.
11362 [C99-based standards] (cerff): Likewise.
11363 [C99-based standards] (cerfcf): Likewise.
11364 [C99-based standards] (cexp2f): Likewise.
11365 [C99-based standards] (cexpm1f): Likewise.
11366 [C99-based standards] (clog10f): Likewise.
11367 [C99-based standards] (clog1pf): Likewise.
11368 [C99-based standards] (clog2f): Likewise.
11369 [C99-based standards] (clgammaf): Likewise.
11370 [C99-based standards] (ctgammaf): Likewise.
11371 [C99-based standards] (cerfl): Likewise.
11372 [C99-based standards] (cerfcl): Likewise.
11373 [C99-based standards] (cexp2l): Likewise.
11374 [C99-based standards] (cexpm1l): Likewise.
11375 [C99-based standards] (clog10l): Likewise.
11376 [C99-based standards] (clog1pl): Likewise.
11377 [C99-based standards] (clog2l): Likewise.
11378 [C99-based standards] (clgammal): Likewise.
11379 [C99-based standards] (ctgammal): Likewise.
11380 * conform/data/inttypes.h-data [C99-based standards]: Include
11381 stdint.h-data. Remove all expectations for stdint.h contents.
11382 [C99-based standards] (PRI*): Do not allow.
11383 [C99-based standards] (SCN*): Likewise.
11384 [C99-based standards] (*_t): Likewise.
11385 [C99-based-standards] (PRId8): Expect macro.
11386 [C99-based-standards] (PRIi8): Likewise.
11387 [C99-based-standards] (PRIo8): Likewise.
11388 [C99-based-standards] (PRIu8): Likewise.
11389 [C99-based-standards] (PRIx8): Likewise.
11390 [C99-based-standards] (PRIX8): Likewise.
11391 [C99-based-standards] (SCNd8): Likewise.
11392 [C99-based-standards] (SCNi8): Likewise.
11393 [C99-based-standards] (SCNo8): Likewise.
11394 [C99-based-standards] (SCNu8): Likewise.
11395 [C99-based-standards] (SCNx8): Likewise.
11396 [C99-based-standards] (PRIdLEAST8): Likewise.
11397 [C99-based-standards] (PRIiLEAST8): Likewise.
11398 [C99-based-standards] (PRIoLEAST8): Likewise.
11399 [C99-based-standards] (PRIuLEAST8): Likewise.
11400 [C99-based-standards] (PRIxLEAST8): Likewise.
11401 [C99-based-standards] (PRIXLEAST8): Likewise.
11402 [C99-based-standards] (SCNdLEAST8): Likewise.
11403 [C99-based-standards] (SCNiLEAST8): Likewise.
11404 [C99-based-standards] (SCNoLEAST8): Likewise.
11405 [C99-based-standards] (SCNuLEAST8): Likewise.
11406 [C99-based-standards] (SCNxLEAST8): Likewise.
11407 [C99-based-standards] (PRIdFAST8): Likewise.
11408 [C99-based-standards] (PRIiFAST8): Likewise.
11409 [C99-based-standards] (PRIoFAST8): Likewise.
11410 [C99-based-standards] (PRIuFAST8): Likewise.
11411 [C99-based-standards] (PRIxFAST8): Likewise.
11412 [C99-based-standards] (PRIXFAST8): Likewise.
11413 [C99-based-standards] (SCNdFAST8): Likewise.
11414 [C99-based-standards] (SCNiFAST8): Likewise.
11415 [C99-based-standards] (SCNoFAST8): Likewise.
11416 [C99-based-standards] (SCNuFAST8): Likewise.
11417 [C99-based-standards] (SCNxFAST8): Likewise.
11418 [C99-based-standards] (PRId16): Likewise.
11419 [C99-based-standards] (PRIi16): Likewise.
11420 [C99-based-standards] (PRIo16): Likewise.
11421 [C99-based-standards] (PRIu16): Likewise.
11422 [C99-based-standards] (PRIx16): Likewise.
11423 [C99-based-standards] (PRIX16): Likewise.
11424 [C99-based-standards] (SCNd16): Likewise.
11425 [C99-based-standards] (SCNi16): Likewise.
11426 [C99-based-standards] (SCNo16): Likewise.
11427 [C99-based-standards] (SCNu16): Likewise.
11428 [C99-based-standards] (SCNx16): Likewise.
11429 [C99-based-standards] (PRIdLEAST16): Likewise.
11430 [C99-based-standards] (PRIiLEAST16): Likewise.
11431 [C99-based-standards] (PRIoLEAST16): Likewise.
11432 [C99-based-standards] (PRIuLEAST16): Likewise.
11433 [C99-based-standards] (PRIxLEAST16): Likewise.
11434 [C99-based-standards] (PRIXLEAST16): Likewise.
11435 [C99-based-standards] (SCNdLEAST16): Likewise.
11436 [C99-based-standards] (SCNiLEAST16): Likewise.
11437 [C99-based-standards] (SCNoLEAST16): Likewise.
11438 [C99-based-standards] (SCNuLEAST16): Likewise.
11439 [C99-based-standards] (SCNxLEAST16): Likewise.
11440 [C99-based-standards] (PRIdFAST16): Likewise.
11441 [C99-based-standards] (PRIiFAST16): Likewise.
11442 [C99-based-standards] (PRIoFAST16): Likewise.
11443 [C99-based-standards] (PRIuFAST16): Likewise.
11444 [C99-based-standards] (PRIxFAST16): Likewise.
11445 [C99-based-standards] (PRIXFAST16): Likewise.
11446 [C99-based-standards] (SCNdFAST16): Likewise.
11447 [C99-based-standards] (SCNiFAST16): Likewise.
11448 [C99-based-standards] (SCNoFAST16): Likewise.
11449 [C99-based-standards] (SCNuFAST16): Likewise.
11450 [C99-based-standards] (SCNxFAST16): Likewise.
11451 [C99-based-standards] (PRId32): Likewise.
11452 [C99-based-standards] (PRIi32): Likewise.
11453 [C99-based-standards] (PRIo32): Likewise.
11454 [C99-based-standards] (PRIu32): Likewise.
11455 [C99-based-standards] (PRIx32): Likewise.
11456 [C99-based-standards] (PRIX32): Likewise.
11457 [C99-based-standards] (SCNd32): Likewise.
11458 [C99-based-standards] (SCNi32): Likewise.
11459 [C99-based-standards] (SCNo32): Likewise.
11460 [C99-based-standards] (SCNu32): Likewise.
11461 [C99-based-standards] (SCNx32): Likewise.
11462 [C99-based-standards] (PRIdLEAST32): Likewise.
11463 [C99-based-standards] (PRIiLEAST32): Likewise.
11464 [C99-based-standards] (PRIoLEAST32): Likewise.
11465 [C99-based-standards] (PRIuLEAST32): Likewise.
11466 [C99-based-standards] (PRIxLEAST32): Likewise.
11467 [C99-based-standards] (PRIXLEAST32): Likewise.
11468 [C99-based-standards] (SCNdLEAST32): Likewise.
11469 [C99-based-standards] (SCNiLEAST32): Likewise.
11470 [C99-based-standards] (SCNoLEAST32): Likewise.
11471 [C99-based-standards] (SCNuLEAST32): Likewise.
11472 [C99-based-standards] (SCNxLEAST32): Likewise.
11473 [C99-based-standards] (PRIdFAST32): Likewise.
11474 [C99-based-standards] (PRIiFAST32): Likewise.
11475 [C99-based-standards] (PRIoFAST32): Likewise.
11476 [C99-based-standards] (PRIuFAST32): Likewise.
11477 [C99-based-standards] (PRIxFAST32): Likewise.
11478 [C99-based-standards] (PRIXFAST32): Likewise.
11479 [C99-based-standards] (SCNdFAST32): Likewise.
11480 [C99-based-standards] (SCNiFAST32): Likewise.
11481 [C99-based-standards] (SCNoFAST32): Likewise.
11482 [C99-based-standards] (SCNuFAST32): Likewise.
11483 [C99-based-standards] (SCNxFAST32): Likewise.
11484 [C99-based-standards] (PRId64): Likewise.
11485 [C99-based-standards] (PRIi64): Likewise.
11486 [C99-based-standards] (PRIo64): Likewise.
11487 [C99-based-standards] (PRIu64): Likewise.
11488 [C99-based-standards] (PRIx64): Likewise.
11489 [C99-based-standards] (PRIX64): Likewise.
11490 [C99-based-standards] (SCNd64): Likewise.
11491 [C99-based-standards] (SCNi64): Likewise.
11492 [C99-based-standards] (SCNo64): Likewise.
11493 [C99-based-standards] (SCNu64): Likewise.
11494 [C99-based-standards] (SCNx64): Likewise.
11495 [C99-based-standards] (PRIdLEAST64): Likewise.
11496 [C99-based-standards] (PRIiLEAST64): Likewise.
11497 [C99-based-standards] (PRIoLEAST64): Likewise.
11498 [C99-based-standards] (PRIuLEAST64): Likewise.
11499 [C99-based-standards] (PRIxLEAST64): Likewise.
11500 [C99-based-standards] (PRIXLEAST64): Likewise.
11501 [C99-based-standards] (SCNdLEAST64): Likewise.
11502 [C99-based-standards] (SCNiLEAST64): Likewise.
11503 [C99-based-standards] (SCNoLEAST64): Likewise.
11504 [C99-based-standards] (SCNuLEAST64): Likewise.
11505 [C99-based-standards] (SCNxLEAST64): Likewise.
11506 [C99-based-standards] (PRIdFAST64): Likewise.
11507 [C99-based-standards] (PRIiFAST64): Likewise.
11508 [C99-based-standards] (PRIoFAST64): Likewise.
11509 [C99-based-standards] (PRIuFAST64): Likewise.
11510 [C99-based-standards] (PRIxFAST64): Likewise.
11511 [C99-based-standards] (PRIXFAST64): Likewise.
11512 [C99-based-standards] (SCNdFAST64): Likewise.
11513 [C99-based-standards] (SCNiFAST64): Likewise.
11514 [C99-based-standards] (SCNoFAST64): Likewise.
11515 [C99-based-standards] (SCNuFAST64): Likewise.
11516 [C99-based-standards] (SCNxFAST64): Likewise.
11517 [C99-based-standards] (PRIdMAX): Likewise.
11518 [C99-based-standards] (PRIiMAX): Likewise.
11519 [C99-based-standards] (PRIoMAX): Likewise.
11520 [C99-based-standards] (PRIuMAX): Likewise.
11521 [C99-based-standards] (PRIxMAX): Likewise.
11522 [C99-based-standards] (PRIXMAX): Likewise.
11523 [C99-based-standards] (SCNdMAX): Likewise.
11524 [C99-based-standards] (SCNiMAX): Likewise.
11525 [C99-based-standards] (SCNoMAX): Likewise.
11526 [C99-based-standards] (SCNuMAX): Likewise.
11527 [C99-based-standards] (SCNxMAX): Likewise.
11528 [C99-based-standards] (PRIdPTR): Likewise.
11529 [C99-based-standards] (PRIiPTR): Likewise.
11530 [C99-based-standards] (PRIoPTR): Likewise.
11531 [C99-based-standards] (PRIuPTR): Likewise.
11532 [C99-based-standards] (PRIxPTR): Likewise.
11533 [C99-based-standards] (PRIXPTR): Likewise.
11534 [C99-based-standards] (SCNdPTR): Likewise.
11535 [C99-based-standards] (SCNiPTR): Likewise.
11536 [C99-based-standards] (SCNoPTR): Likewise.
11537 [C99-based-standards] (SCNuPTR): Likewise.
11538 [C99-based-standards] (SCNxPTR): Likewise.
11539 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11540 allow.
11541 * conform/data/stdint.h-data: Update comments to clarify
11542 requirements.
11543 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11544 type.
11545 [C99-based standards] (INT8_MAX): Likewise.
11546 [C99-based standards] (INT16_MIN): Likewise.
11547 [C99-based standards] (INT16_MAX): Likewise.
11548 [C99-based standards] (INT32_MIN): Likewise.
11549 [C99-based standards] (INT32_MAX): Likewise.
11550 [C99-based standards] (INT64_MIN): Likewise.
11551 [C99-based standards] (INT64_MAX): Likewise.
11552 [C99-based standards] (UINT8_MAX): Likewise.
11553 [C99-based standards] (UINT16_MAX): Likewise.
11554 [C99-based standards] (UINT32_MAX): Likewise.
11555 [C99-based standards] (UINT64_MAX): Likewise.
11556 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11557 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11558 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11559 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11560 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11561 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11562 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11563 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11564 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11565 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11566 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11567 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11568 [C99-based standards] (INT_FAST8_MIN): Likewise.
11569 [C99-based standards] (INT_FAST8_MAX): Likewise.
11570 [C99-based standards] (INT_FAST16_MIN): Likewise.
11571 [C99-based standards] (INT_FAST16_MAX): Likewise.
11572 [C99-based standards] (INT_FAST32_MIN): Likewise.
11573 [C99-based standards] (INT_FAST32_MAX): Likewise.
11574 [C99-based standards] (INT_FAST64_MIN): Likewise.
11575 [C99-based standards] (INT_FAST64_MAX): Likewise.
11576 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11577 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11578 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11579 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11580 [C99-based standards] (INTPTR_MIN): Likewise.
11581 [C99-based standards] (INTPTR_MAX): Likewise.
11582 [C99-based standards] (UINTPTR_MAX): Likewise.
11583 [C99-based standards] (INTMAX_MIN): Likewise.
11584 [C99-based standards] (INTMAX_MAX): Likewise.
11585 [C99-based standards] (UINTMAX_MAX): Likewise.
11586 [C99-based standards] (PTRDIFF_MIN): Likewise.
11587 [C99-based standards] (PTRDIFF_MAX): Likewise.
11588 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11589 [C99-based standards] (SIZE_MAX): Likewise.
11590 [C99-based standards] (WCHAR_MAX): Likewise.
11591 [C99-based standards] (WINT_MAX): Likewise.
11592 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11593 constraint on value.
11594 [C99-based standards] (WCHAR_MIN): Likewise.
11595 [C99-based standards] (WINT_MIN): Likewise.
11596 [C99-based standards] (*_t): Allow.
11597 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11598 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11599 Include math.h-data and complex.h-data. Remove all expectations
11600 of math.h and complex.h contents.
11601 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11602 at end of line.
11603 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11604 (struct tm): Expect tag.
11605 [C99-based-standards] (wcstof): Expect function.
11606 [C99-based-standards] (wcstold): Likewise.
11607 [C99-based-standards] (wcstoll): Likewise.
11608 [C99-based-standards] (wcstoull): Likewise.
11609 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11610 macro-int-constant. Specify type.
11611 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11612 constraint on value.
11613 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11614 Specify type.
11615 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11616 Specify value.
11617 [ISO C standards]: Do not allow headers.
11618 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11619 wcs[abcdefghijklmnopqrstuvwxyz]*.
11620 [ISO C standards] (*_t): Do not allow.
11621 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11622 Expect function.
11623 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11624 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11625 Specify type.
11626 [ISO C standards]: Do not allow headers.
11627 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11628 is[abcdefghijklmnopqrstuvwxyz]*.
11629 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11630 to[abcdefghijklmnopqrstuvwxyz]*.
11631 [ISO C standards] (*_t): Do not allow.
11632 * conform/data/stdalign.h-data: New file.
11633 * conform/data/stdbool.h-data: Likewise.
11634 * conform/data/stdnoreturn.h-data: Likewise.
11635
7514feb8
RM
116362012-11-07 Roland McGrath <roland@hack.frob.com>
11637
11638 [BZ #14815]
11639 * manual/filesys.texi (Directory Entries): Typo fix.
11640 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11641
19b2ecfc
MS
116422012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11643
11644 * elf/elf.h (EM_AARCH64): New macro.
11645 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11646 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11647 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11648 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11649 (R_AARCH64_TLSDESC): Likewise.
11650 (NT_ARM_TLS): Likewise.
11651 (NT_ARM_HW_BREAK): Likewise.
11652 (NT_ARM_HW_WATCH): Likewise.
11653
60e235ee
JM
116542012-11-07 Joseph Myers <joseph@codesourcery.com>
11655
11656 [BZ #14811]
11657 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11658 (__ieee754_powl): Saturate nonzero exponents with absolute value
11659 below 0x1p-79 to +/- 0x1p-79.
11660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11661 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11662 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11663 nonzero exponents with absolute value below 0x1p-32 to +/-
11664 0x1p-32.
11665 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11666 (__ieee754_powl): Saturate nonzero exponents with absolute value
11667 below 0x1p-79 to +/- 0x1p-79.
11668 * math/libm-test.inc (pow_test): Add more tests.
11669
0ab234b7
AK
116702012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11671
11672 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11673 _dl_s390_cap_flags with kernel. Increase string length.
11674 (_dl_s390_platforms): Add z196 and zEC12.
11675
45832f74
JM
116762012-11-07 Joseph Myers <joseph@codesourcery.com>
11677
11678 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11679 Change XOPEN21K to XOPEN2K.
11680
19218757
MK
116812012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11682
11683 * string/memmove.c: Use memcpy when possible.
11684
c5f45721
AJ
116852012-11-06 Andreas Jaeger <aj@suse.de>
11686
11687 * po/eo.po: Update from translation team.
11688
82477c28
JM
116892012-11-06 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #14793]
11692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11693 exponent and small x and y exponents, scale x or y up. Increase
11694 by 2 the exponent used in scaling up.
11695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11697 * math/libm-test.inc (fma_test): Add more tests.
11698 (fma_test_towardzero): Likewise.
11699 (fma_test_downward): Likewise.
11700 (fma_test_upward): Likewise.
11701
99252c8c
JM
117022012-11-05 Joseph Myers <joseph@codesourcery.com>
11703
acfa885f
JM
11704 [BZ #14805]
11705 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11706 fenv_t *.
11707
99252c8c
JM
11708 [BZ #14801]
11709 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11710 namespace for names of struct fields.
11711 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11712 fenv_t fields.
11713 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11714 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11715
d6d98dea
ST
117162012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11717
11718 [BZ #3665]
11719 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11720
e10bb107
TS
117212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11722
11723 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11724 PTR_DEMANGLE.
11725
11726 [BZ #5246]
11727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11728 PTR_DEMANGLE.
11729
a0c2940d
JM
117302012-11-04 Joseph Myers <joseph@codesourcery.com>
11731
11732 [BZ #14797]
11733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11734 definitely overflow as x * y not x * y + z.
11735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11737 * math/libm-test.inc (fma_test): Add more tests.
11738 (fma_test_towardzero): Likewise.
11739 (fma_test_downward): Likewise.
11740 (fma_test_upward): Likewise.
11741
b830319d
TS
117422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11743
11744 [BZ #157]
11745
11746 * include/stub-tag.h: Remove file.
11747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11748 '#include' of it.
11749 * manual/maint.texi (Porting): Don't reference it.
11750 * Makerules ($(objpfx)stubs): Likewise.
11751 * dirent/closedir.c: Don't include <stub-tag.h>.
11752 * dirent/dirfd.c: Likewise.
11753 * dirent/fdopendir.c: Likewise.
11754 * dirent/getdents.c: Likewise.
11755 * dirent/getdents64.c: Likewise.
11756 * dirent/opendir.c: Likewise.
11757 * dirent/readdir.c: Likewise.
11758 * dirent/readdir64.c: Likewise.
11759 * dirent/readdir64_r.c: Likewise.
11760 * dirent/readdir_r.c: Likewise.
11761 * dirent/rewinddir.c: Likewise.
11762 * dirent/seekdir.c: Likewise.
11763 * dirent/telldir.c: Likewise.
11764 * gmon/profil.c: Likewise.
11765 * grp/setgroups.c: Likewise.
11766 * inet/if_index.c: Likewise.
11767 * io/access.c: Likewise.
11768 * io/chdir.c: Likewise.
11769 * io/chmod.c: Likewise.
11770 * io/chown.c: Likewise.
11771 * io/close.c: Likewise.
11772 * io/dup.c: Likewise.
11773 * io/dup2.c: Likewise.
11774 * io/dup3.c: Likewise.
11775 * io/euidaccess.c: Likewise.
11776 * io/faccessat.c: Likewise.
11777 * io/fchdir.c: Likewise.
11778 * io/fchmod.c: Likewise.
11779 * io/fchmodat.c: Likewise.
11780 * io/fchown.c: Likewise.
11781 * io/fchownat.c: Likewise.
11782 * io/fcntl.c: Likewise.
11783 * io/flock.c: Likewise.
11784 * io/fstatfs.c: Likewise.
11785 * io/fstatfs64.c: Likewise.
11786 * io/fstatvfs.c: Likewise.
11787 * io/fstatvfs64.c: Likewise.
11788 * io/futimens.c: Likewise.
11789 * io/fxstat.c: Likewise.
11790 * io/fxstat64.c: Likewise.
11791 * io/fxstatat.c: Likewise.
11792 * io/fxstatat64.c: Likewise.
11793 * io/getcwd.c: Likewise.
11794 * io/isatty.c: Likewise.
11795 * io/lchmod.c: Likewise.
11796 * io/lchown.c: Likewise.
11797 * io/link.c: Likewise.
11798 * io/linkat.c: Likewise.
11799 * io/lseek.c: Likewise.
11800 * io/lseek64.c: Likewise.
11801 * io/lxstat64.c: Likewise.
11802 * io/mkdir.c: Likewise.
11803 * io/mkdirat.c: Likewise.
11804 * io/mkfifo.c: Likewise.
11805 * io/mkfifoat.c: Likewise.
11806 * io/open.c: Likewise.
11807 * io/open64.c: Likewise.
11808 * io/openat.c: Likewise.
11809 * io/openat64.c: Likewise.
11810 * io/pipe.c: Likewise.
11811 * io/pipe2.c: Likewise.
11812 * io/poll.c: Likewise.
11813 * io/posix_fadvise.c: Likewise.
11814 * io/posix_fadvise64.c: Likewise.
11815 * io/posix_fallocate.c: Likewise.
11816 * io/posix_fallocate64.c: Likewise.
11817 * io/read.c: Likewise.
11818 * io/readlink.c: Likewise.
11819 * io/readlinkat.c: Likewise.
11820 * io/rmdir.c: Likewise.
11821 * io/sendfile.c: Likewise.
11822 * io/sendfile64.c: Likewise.
11823 * io/statfs.c: Likewise.
11824 * io/statfs64.c: Likewise.
11825 * io/statvfs.c: Likewise.
11826 * io/statvfs64.c: Likewise.
11827 * io/symlink.c: Likewise.
11828 * io/symlinkat.c: Likewise.
11829 * io/ttyname.c: Likewise.
11830 * io/ttyname_r.c: Likewise.
11831 * io/umask.c: Likewise.
11832 * io/unlink.c: Likewise.
11833 * io/unlinkat.c: Likewise.
11834 * io/utime.c: Likewise.
11835 * io/utimensat.c: Likewise.
11836 * io/write.c: Likewise.
11837 * io/xmknod.c: Likewise.
11838 * io/xmknodat.c: Likewise.
11839 * io/xstat.c: Likewise.
11840 * io/xstat64.c: Likewise.
11841 * login/getpt.c: Likewise.
11842 * login/grantpt.c: Likewise.
11843 * login/unlockpt.c: Likewise.
11844 * math/e_acoshl.c: Likewise.
11845 * math/e_acosl.c: Likewise.
11846 * math/e_asinl.c: Likewise.
11847 * math/e_atan2l.c: Likewise.
11848 * math/e_atanhl.c: Likewise.
11849 * math/e_coshl.c: Likewise.
11850 * math/e_expl.c: Likewise.
11851 * math/e_fmodl.c: Likewise.
11852 * math/e_gammal_r.c: Likewise.
11853 * math/e_hypotl.c: Likewise.
11854 * math/e_j0l.c: Likewise.
11855 * math/e_j1l.c: Likewise.
11856 * math/e_jnl.c: Likewise.
11857 * math/e_lgammal_r.c: Likewise.
11858 * math/e_log10l.c: Likewise.
11859 * math/e_log2l.c: Likewise.
11860 * math/e_logl.c: Likewise.
11861 * math/e_powl.c: Likewise.
11862 * math/e_rem_pio2l.c: Likewise.
11863 * math/e_sinhl.c: Likewise.
11864 * math/e_sqrtl.c: Likewise.
11865 * math/fclrexcpt.c: Likewise.
11866 * math/fedisblxcpt.c: Likewise.
11867 * math/feenablxcpt.c: Likewise.
11868 * math/fegetenv.c: Likewise.
11869 * math/fegetexcept.c: Likewise.
11870 * math/fegetround.c: Likewise.
11871 * math/feholdexcpt.c: Likewise.
11872 * math/fesetenv.c: Likewise.
11873 * math/fesetround.c: Likewise.
11874 * math/feupdateenv.c: Likewise.
11875 * math/fgetexcptflg.c: Likewise.
11876 * math/fraiseexcpt.c: Likewise.
11877 * math/fsetexcptflg.c: Likewise.
11878 * math/ftestexcept.c: Likewise.
11879 * math/k_cosl.c: Likewise.
11880 * math/k_rem_pio2l.c: Likewise.
11881 * math/k_sinl.c: Likewise.
11882 * math/k_tanl.c: Likewise.
11883 * math/s_asinhl.c: Likewise.
11884 * math/s_atanl.c: Likewise.
11885 * math/s_cbrtl.c: Likewise.
11886 * math/s_erfl.c: Likewise.
11887 * math/s_expm1l.c: Likewise.
11888 * math/s_log1pl.c: Likewise.
11889 * math/s_tanhl.c: Likewise.
11890 * misc/acct.c: Likewise.
11891 * misc/brk.c: Likewise.
11892 * misc/chflags.c: Likewise.
11893 * misc/chroot.c: Likewise.
11894 * misc/fchflags.c: Likewise.
11895 * misc/fgetxattr.c: Likewise.
11896 * misc/flistxattr.c: Likewise.
11897 * misc/fremovexattr.c: Likewise.
11898 * misc/fsetxattr.c: Likewise.
11899 * misc/fsync.c: Likewise.
11900 * misc/ftruncate.c: Likewise.
11901 * misc/futimes.c: Likewise.
11902 * misc/futimesat.c: Likewise.
11903 * misc/getdomain.c: Likewise.
11904 * misc/getdtsz.c: Likewise.
11905 * misc/gethostid.c: Likewise.
11906 * misc/gethostname.c: Likewise.
11907 * misc/getloadavg.c: Likewise.
11908 * misc/getpagesize.c: Likewise.
11909 * misc/getsysstats.c: Likewise.
11910 * misc/getxattr.c: Likewise.
11911 * misc/gtty.c: Likewise.
11912 * misc/ioctl.c: Likewise.
11913 * misc/lgetxattr.c: Likewise.
11914 * misc/listxattr.c: Likewise.
11915 * misc/llistxattr.c: Likewise.
11916 * misc/lremovexattr.c: Likewise.
11917 * misc/lsetxattr.c: Likewise.
11918 * misc/lutimes.c: Likewise.
11919 * misc/madvise.c: Likewise.
11920 * misc/mincore.c: Likewise.
11921 * misc/mlock.c: Likewise.
11922 * misc/mlockall.c: Likewise.
11923 * misc/mmap.c: Likewise.
11924 * misc/mprotect.c: Likewise.
11925 * misc/msync.c: Likewise.
11926 * misc/munlock.c: Likewise.
11927 * misc/munlockall.c: Likewise.
11928 * misc/munmap.c: Likewise.
11929 * misc/preadv.c: Likewise.
11930 * misc/preadv64.c: Likewise.
11931 * misc/ptrace.c: Likewise.
11932 * misc/pwritev.c: Likewise.
11933 * misc/pwritev64.c: Likewise.
11934 * misc/readv.c: Likewise.
11935 * misc/reboot.c: Likewise.
11936 * misc/remap_file_pages.c: Likewise.
11937 * misc/removexattr.c: Likewise.
11938 * misc/revoke.c: Likewise.
11939 * misc/select.c: Likewise.
11940 * misc/setdomain.c: Likewise.
11941 * misc/setegid.c: Likewise.
11942 * misc/seteuid.c: Likewise.
11943 * misc/sethostid.c: Likewise.
11944 * misc/sethostname.c: Likewise.
11945 * misc/setregid.c: Likewise.
11946 * misc/setreuid.c: Likewise.
11947 * misc/setxattr.c: Likewise.
11948 * misc/sstk.c: Likewise.
11949 * misc/stty.c: Likewise.
11950 * misc/swapoff.c: Likewise.
11951 * misc/swapon.c: Likewise.
11952 * misc/sync.c: Likewise.
11953 * misc/syncfs.c: Likewise.
11954 * misc/syscall.c: Likewise.
11955 * misc/truncate.c: Likewise.
11956 * misc/ualarm.c: Likewise.
11957 * misc/usleep.c: Likewise.
11958 * misc/ustat.c: Likewise.
11959 * misc/utimes.c: Likewise.
11960 * misc/vhangup.c: Likewise.
11961 * misc/writev.c: Likewise.
11962 * posix/_exit.c: Likewise.
11963 * posix/alarm.c: Likewise.
11964 * posix/execve.c: Likewise.
11965 * posix/fexecve.c: Likewise.
11966 * posix/fork.c: Likewise.
11967 * posix/fpathconf.c: Likewise.
11968 * posix/getaddrinfo.c: Likewise.
11969 * posix/getegid.c: Likewise.
11970 * posix/geteuid.c: Likewise.
11971 * posix/getgid.c: Likewise.
11972 * posix/getgroups.c: Likewise.
11973 * posix/getlogin.c: Likewise.
11974 * posix/getlogin_r.c: Likewise.
11975 * posix/getpgid.c: Likewise.
11976 * posix/getpid.c: Likewise.
11977 * posix/getppid.c: Likewise.
11978 * posix/getresgid.c: Likewise.
11979 * posix/getresuid.c: Likewise.
11980 * posix/getsid.c: Likewise.
11981 * posix/getuid.c: Likewise.
11982 * posix/glob64.c: Likewise.
11983 * posix/nanosleep.c: Likewise.
11984 * posix/pathconf.c: Likewise.
11985 * posix/pause.c: Likewise.
11986 * posix/posix_madvise.c: Likewise.
11987 * posix/pread.c: Likewise.
11988 * posix/pread64.c: Likewise.
11989 * posix/pwrite.c: Likewise.
11990 * posix/pwrite64.c: Likewise.
11991 * posix/sched_getaffinity.c: Likewise.
11992 * posix/sched_getp.c: Likewise.
11993 * posix/sched_gets.c: Likewise.
11994 * posix/sched_primax.c: Likewise.
11995 * posix/sched_primin.c: Likewise.
11996 * posix/sched_rr_gi.c: Likewise.
11997 * posix/sched_setaffinity.c: Likewise.
11998 * posix/sched_setp.c: Likewise.
11999 * posix/sched_sets.c: Likewise.
12000 * posix/sched_yield.c: Likewise.
12001 * posix/setgid.c: Likewise.
12002 * posix/setlogin.c: Likewise.
12003 * posix/setpgid.c: Likewise.
12004 * posix/setresgid.c: Likewise.
12005 * posix/setresuid.c: Likewise.
12006 * posix/setsid.c: Likewise.
12007 * posix/setuid.c: Likewise.
12008 * posix/sleep.c: Likewise.
12009 * posix/spawni.c: Likewise.
12010 * posix/sysconf.c: Likewise.
12011 * posix/times.c: Likewise.
12012 * posix/wait.c: Likewise.
12013 * posix/wait3.c: Likewise.
12014 * posix/wait4.c: Likewise.
12015 * posix/waitpid.c: Likewise.
12016 * resolv/gai_sigqueue.c: Likewise.
12017 * resource/getpriority.c: Likewise.
12018 * resource/getrlimit.c: Likewise.
12019 * resource/getrusage.c: Likewise.
12020 * resource/nice.c: Likewise.
12021 * resource/setpriority.c: Likewise.
12022 * resource/setrlimit.c: Likewise.
12023 * resource/ulimit.c: Likewise.
12024 * rt/aio_cancel.c: Likewise.
12025 * rt/aio_fsync.c: Likewise.
12026 * rt/aio_read.c: Likewise.
12027 * rt/aio_sigqueue.c: Likewise.
12028 * rt/aio_suspend.c: Likewise.
12029 * rt/aio_write.c: Likewise.
12030 * rt/clock_getres.c: Likewise.
12031 * rt/clock_gettime.c: Likewise.
12032 * rt/clock_nanosleep.c: Likewise.
12033 * rt/clock_settime.c: Likewise.
12034 * rt/lio_listio.c: Likewise.
12035 * rt/mq_close.c: Likewise.
12036 * rt/mq_getattr.c: Likewise.
12037 * rt/mq_notify.c: Likewise.
12038 * rt/mq_open.c: Likewise.
12039 * rt/mq_receive.c: Likewise.
12040 * rt/mq_send.c: Likewise.
12041 * rt/mq_setattr.c: Likewise.
12042 * rt/mq_timedreceive.c: Likewise.
12043 * rt/mq_timedsend.c: Likewise.
12044 * rt/mq_unlink.c: Likewise.
12045 * rt/shm_open.c: Likewise.
12046 * rt/shm_unlink.c: Likewise.
12047 * rt/timer_create.c: Likewise.
12048 * rt/timer_delete.c: Likewise.
12049 * rt/timer_getoverr.c: Likewise.
12050 * rt/timer_gettime.c: Likewise.
12051 * rt/timer_settime.c: Likewise.
12052 * setjmp/__longjmp.c: Likewise.
12053 * setjmp/setjmp.c: Likewise.
12054 * signal/kill.c: Likewise.
12055 * signal/killpg.c: Likewise.
12056 * signal/raise.c: Likewise.
12057 * signal/sigaction.c: Likewise.
12058 * signal/sigaltstack.c: Likewise.
12059 * signal/sigblock.c: Likewise.
12060 * signal/sigignore.c: Likewise.
12061 * signal/sigintr.c: Likewise.
12062 * signal/signal.c: Likewise.
12063 * signal/sigpause.c: Likewise.
12064 * signal/sigpending.c: Likewise.
12065 * signal/sigqueue.c: Likewise.
12066 * signal/sigreturn.c: Likewise.
12067 * signal/sigset.c: Likewise.
12068 * signal/sigsetmask.c: Likewise.
12069 * signal/sigstack.c: Likewise.
12070 * signal/sigsuspend.c: Likewise.
12071 * signal/sigtimedwait.c: Likewise.
12072 * signal/sigvec.c: Likewise.
12073 * signal/sigwait.c: Likewise.
12074 * signal/sigwaitinfo.c: Likewise.
12075 * signal/sysv_signal.c: Likewise.
12076 * socket/accept.c: Likewise.
12077 * socket/accept4.c: Likewise.
12078 * socket/bind.c: Likewise.
12079 * socket/connect.c: Likewise.
12080 * socket/getpeername.c: Likewise.
12081 * socket/getsockname.c: Likewise.
12082 * socket/getsockopt.c: Likewise.
12083 * socket/isfdtype.c: Likewise.
12084 * socket/listen.c: Likewise.
12085 * socket/recv.c: Likewise.
12086 * socket/recvfrom.c: Likewise.
12087 * socket/recvmsg.c: Likewise.
12088 * socket/send.c: Likewise.
12089 * socket/sendmsg.c: Likewise.
12090 * socket/sendto.c: Likewise.
12091 * socket/setsockopt.c: Likewise.
12092 * socket/shutdown.c: Likewise.
12093 * socket/sockatmark.c: Likewise.
12094 * socket/socket.c: Likewise.
12095 * socket/socketpair.c: Likewise.
12096 * stdio-common/ctermid.c: Likewise.
12097 * stdio-common/cuserid.c: Likewise.
12098 * stdio-common/remove.c: Likewise.
12099 * stdio-common/rename.c: Likewise.
12100 * stdio-common/renameat.c: Likewise.
12101 * stdio-common/tempname.c: Likewise.
12102 * stdlib/getcontext.c: Likewise.
12103 * stdlib/makecontext.c: Likewise.
12104 * stdlib/setcontext.c: Likewise.
12105 * stdlib/swapcontext.c: Likewise.
12106 * stdlib/system.c: Likewise.
12107 * streams/fattach.c: Likewise.
12108 * streams/fdetach.c: Likewise.
12109 * streams/getmsg.c: Likewise.
12110 * streams/getpmsg.c: Likewise.
12111 * streams/putmsg.c: Likewise.
12112 * streams/putpmsg.c: Likewise.
12113 * sysdeps/unix/bsd/getpt.c: Likewise.
12114 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12115 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12116 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12118 Likewise.
12119 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12120 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12121 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12122 * sysvipc/msgctl.c: Likewise.
12123 * sysvipc/msgget.c: Likewise.
12124 * sysvipc/msgrcv.c: Likewise.
12125 * sysvipc/msgsnd.c: Likewise.
12126 * sysvipc/semctl.c: Likewise.
12127 * sysvipc/semget.c: Likewise.
12128 * sysvipc/semop.c: Likewise.
12129 * sysvipc/semtimedop.c: Likewise.
12130 * sysvipc/shmat.c: Likewise.
12131 * sysvipc/shmctl.c: Likewise.
12132 * sysvipc/shmdt.c: Likewise.
12133 * sysvipc/shmget.c: Likewise.
12134 * termios/tcdrain.c: Likewise.
12135 * termios/tcflow.c: Likewise.
12136 * termios/tcflush.c: Likewise.
12137 * termios/tcgetattr.c: Likewise.
12138 * termios/tcgetpgrp.c: Likewise.
12139 * termios/tcsendbrk.c: Likewise.
12140 * termios/tcsetattr.c: Likewise.
12141 * termios/tcsetpgrp.c: Likewise.
12142 * time/adjtime.c: Likewise.
12143 * time/clock.c: Likewise.
12144 * time/getitimer.c: Likewise.
12145 * time/gettimeofday.c: Likewise.
12146 * time/setitimer.c: Likewise.
12147 * time/settimeofday.c: Likewise.
12148 * time/stime.c: Likewise.
12149 * time/time.c: Likewise.
12150
121512012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12152
a20492cf
PT
12153 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12154 /usr/old/bin.
12155
72e182e3
PT
12156 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12157 instead of spaces.
12158 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12159
fbeafede
JM
121602012-11-03 Joseph Myers <joseph@codesourcery.com>
12161
5b5b04d6
JM
12162 [BZ #14796]
12163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12164 FE_TONEAREST before applying Dekker multiplication and Knuth
12165 addition. Clear inexact exceptions and check for exact zero
12166 results afterwards.
12167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12170 * math/libm-test.inc (fma_test): Add more tests.
12171 (fma_test_towardzero): Likewise.
12172 (fma_test_downward): Likewise.
12173 (fma_test_upward): Likewise.
12174 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12175 function.
12176 (libc_fesetround): New macro.
12177 (libc_fesetroundf): Likewise.
12178 (libc_fesetroundl): Likewise.
12179 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12180 function.
12181 (libc_fesetround_387): Likewise.
12182 (libc_fesetroundf): New macro.
12183 (libc_fesetround): Likewise.
12184 (libc_fesetroundl): Likewise.
12185 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12186 function.
12187 (libc_fesetroundf): New macro.
12188 (libc_fesetround): Likewise.
12189 (libc_fesetroundl): Likewise.
12190 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12191 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12192 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12193 libm_hidden_ver.
12194 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12195 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12196 libm_hidden_def.
12197 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12198 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12199 libm_hidden_ver.
12200 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12201 libm_hidden_def.
12202
fbeafede
JM
12203 [BZ #3439]
12204 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12205 integer constant usable in #if and use that to give value to enum
12206 constant.
12207 (FE_DIVBYZERO): Likewise.
12208 (FE_UNDERFLOW): Likewise.
12209 (FE_OVERFLOW): Likewise.
12210 (FE_INVALID): Likewise.
12211 (FE_INVALID_SNAN): Likewise.
12212 (FE_INVALID_ISI): Likewise.
12213 (FE_INVALID_IDI): Likewise.
12214 (FE_INVALID_ZDZ): Likewise.
12215 (FE_INVALID_IMZ): Likewise.
12216 (FE_INVALID_COMPARE): Likewise.
12217 (FE_INVALID_SOFTWARE): Likewise.
12218 (FE_INVALID_SQRT): Likewise.
12219 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12220 (FE_TONEAREST): Likewise.
12221 (FE_TOWARDZERO): Likewise.
12222 (FE_UPWARD): Likewise.
12223 (FE_DOWNWARD): Likewise.
12224 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12225 (FE_DIVBYZERO): Likewise.
12226 (FE_OVERFLOW): Likewise.
12227 (FE_UNDERFLOW): Likewise.
12228 (FE_INEXACT): Likewise.
12229 (FE_TONEAREST): Likewise.
12230 (FE_DOWNWARD): Likewise.
12231 (FE_UPWARD): Likewise.
12232 (FE_TOWARDZERO): Likewise.
12233 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12234 (FE_UNDERFLOW): Likewise.
12235 (FE_OVERFLOW): Likewise.
12236 (FE_DIVBYZERO): Likewise.
12237 (FE_INVALID): Likewise.
12238 (FE_TONEAREST): Likewise.
12239 (FE_TOWARDZERO): Likewise.
12240 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12241 (FE_OVERFLOW): Likewise.
12242 (FE_UNDERFLOW): Likewise.
12243 (FE_DIVBYZERO): Likewise.
12244 (FE_INEXACT): Likewise.
12245 (FE_TONEAREST): Likewise.
12246 (FE_TOWARDZERO): Likewise.
12247 (FE_UPWARD): Likewise.
12248 (FE_DOWNWARD): Likewise.
12249 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12250 (FE_DIVBYZERO): Likewise.
12251 (FE_OVERFLOW): Likewise.
12252 (FE_UNDERFLOW): Likewise.
12253 (FE_INEXACT): Likewise.
12254 (FE_TONEAREST): Likewise.
12255 (FE_DOWNWARD): Likewise.
12256 (FE_UPWARD): Likewise.
12257 (FE_TOWARDZERO): Likewise.
12258
105ca950
CM
122592012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12260
12261 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12262
a542b389
AS
122632012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12264
12265 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12266 commands. Quote $PWD.
12267 (blacklist_exports): Don't use remove_newlines. Replace "declare
12268 -x" by "export".
12269 (remove_newlines): Remove.
12270
f62c8abc
L
122712012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12272
12273 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12274 * stdlib/stdlib.h (atof): Moved to ...
12275 * include/bits/stdlib-float.h: Here. New file.
12276 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12277 * stdlib/bits/stdlib-float.h: New file.
12278 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12279 -mno-sse -mno-mmx.
12280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12281 <xmmintrin.h>.
12282
0155d5b2
JM
122832012-11-02 Joseph Myers <joseph@codesourcery.com>
12284
a68d0680
JM
12285 * conform/conformtest.pl (@headers): Add fenv.h.
12286 * conform/data/fenv.h-data: New file.
12287 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12288 include of <math/fenv.h>.
12289
caf7f573
JM
12290 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12291 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12292 && !UNIX98]. Enables tests for XOPEN2K8.
12293 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12294 POSIX2008]: Likewise.
12295
6c073ad6
JM
12296 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12297 (struct rusage): Do not expect type or its members.
12298
0155d5b2
JM
12299 [BZ #3439]
12300 * math/math.h (FP_NAN): Define macro to integer constant usable in
12301 #if and use that to give value to enum constant.
12302 (FP_INFINITE): Likewise.
12303 (FP_ZERO): Likewise.
12304 (FP_SUBNORMAL): Likewise.
12305 (FP_NORMAL): Likewise.
12306
b5dcacb4
AS
123072012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12308
12309 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12310 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12311 arguments.
12312
f7934be8
RM
123132012-11-02 Roland McGrath <roland@hack.frob.com>
12314
12315 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12316 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12317 autoconf-time if not.
12318 * configure.in: Remove AC_PREREQ.
12319
d7d08bde
TMQMF
123202012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12321
12322 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12323 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12324 of the internal implementation.
12325
dcdae19a
JM
123262012-11-02 Joseph Myers <joseph@codesourcery.com>
12327
12328 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12329 except include of <misc/sys/syslog.h>.
12330
d6cffd3e
AS
123312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12332
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12334 function returns with a NULL context exit with zero.
12335
b3563932
TMQMF
123362012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12337
12338 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12339
b288a93d
L
123402012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12343 (run_program_cmd): This.
12344 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12345 (tst_langinfo): New variable. Use it.
12346
a2421a68
SAS
123472012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12348
12349 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12350 floating point opcodes.
12351
6f796e1b
TS
123522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12353
7402596b
TS
12354 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12355 variable.
12356
d0d4f868
TS
12357 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12358
6f796e1b
TS
12359 * sysdeps/mach/hurd/powerpc: Remove directory.
12360 * sysdeps/mach/powerpc: Likewise.
12361
4da224a2
AS
123622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * scripts/check-local-headers.sh: Ignore c++ headers.
12365
341dd673
TS
123662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12367
12368 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12369 __libc_cleanup_region_start argument.
12370
473611b2
JM
123712012-11-01 Joseph Myers <joseph@codesourcery.com>
12372
12373 [BZ #14784]
12374 [BZ #14785]
12375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12376 x * y using scaling, not as x * y + z.
12377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12379 * math/libm-test.inc (fma_test): Add more tests.
12380 (fma_test_towardzero): Likewise.
12381 (fma_test_downward): Likewise.
12382 (fma_test_upward): Likewise.
12383
4078da3d
TS
123842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12385
12386 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12387
903252aa
JM
123882012-10-31 Joseph Myers <joseph@codesourcery.com>
12389
12390 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12391 New variable.
12392
cbc818d0
TS
123932012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12394
12395 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12396
5a03cb1e
AS
123972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12398
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12400 Fix sort order.
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12402 Likewise.
12403
90aff2ff
TMQMF
124042012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12405
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12407 Fix the order of the list for glibc 2.17.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12409 Likewise.
12410
1818fcb7
AS
124112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12412
12413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12414
ef82f4da
JM
124152012-10-31 Joseph Myers <joseph@codesourcery.com>
12416
16a0e2ec
JM
12417 [BZ #14610]
12418 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12419 for low part of x being zero before using __atanl (y).
12420 * math/libm-test.inc (atan2_test): Add another test.
12421
0eb69512
JM
12422 * manual/install.texi (Configuring and compiling): Document
12423 general use of test-wrapper and test-wrapper-env.
12424 * INSTALL: Regenerated.
12425
ef82f4da
JM
12426 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12427 (__fma): Do not extract and scale down low bits on after-rounding
12428 systems when result rounded to normal precision would have normal
12429 exponent.
12430 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12431 (__fmal): Do not extract and scale down low bits on after-rounding
12432 systems when result rounded to normal precision would have normal
12433 exponent.
12434 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12435 (__fmal): Do not extract and scale down low bits on after-rounding
12436 systems when result rounded to normal precision would have normal
12437 exponent.
12438 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12439 macro.
12440 (fma_test): Add more tests.
12441 (fma_test_towardzero): Likewise.
12442 (fma_test_downward): Likewise.
12443 (fma_test_upward): Likewise.
12444
954ef0d9
L
124452012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * sysdeps/i386/tininess.h: Renamed to ...
12448 * sysdeps/x86/tininess.h: This.
12449 * sysdeps/x86_64/tininess.h: Removed.
12450
df61ffb2
JM
124512012-10-30 Joseph Myers <joseph@codesourcery.com>
12452
12453 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12454 input. Use $(build-program-cmd).
12455 ($(objpfx)tst-array1-static.out): Likewise.
12456 ($(objpfx)tst-array2.out): Likewise.
12457 ($(objpfx)tst-array3.out): Likewise.
12458 ($(objpfx)tst-array4.out): Likewise.
12459 ($(objpfx)tst-array5.out): Likewise.
12460 ($(objpfx)tst-array5-static.out): Likewise.
12461
01767843
CM
124622012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12463
47cc1490
CM
12464 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12465 if defined.
12466
01767843
CM
12467 * nss/nsswitch.h (nss_interface_function): Provide new
12468 macro for use with NSS functions.
12469 * grp/initgroups.c: Use new macro.
12470 * nss/getXXbyYY.c: Likewise.
12471 * nss/getXXbyYY_r.c: Likewise.
12472 * nss/getXXent.c: Likewise.
12473 * nss/getXXent_r.c: Likewise.
12474 * sysdeps/posix/getaddrinfo.c: Likewise.
12475
8321aa97
AJ
124762012-10-30 Andreas Jaeger <aj@suse.de>
12477
12478 * po/ru.po: Update Russion translation from translation project.
12479
2a27fd6d
JM
124802012-10-30 Joseph Myers <joseph@codesourcery.com>
12481
8627a232
JM
12482 [BZ #14152]
12483 [BZ #14783]
12484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12485 result and shift together with sticky bit instead of replicating
12486 round-to-nearest rounding.
12487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12489 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12490 missing underflow exceptions.
12491 (fma_test_towardzero): Add more tests.
12492 (fma_test_downward): Likewise.
12493 (fma_test_upward): Likewise.
12494
2a27fd6d
JM
12495 [BZ #14047]
12496 * sysdeps/generic/tininess.h: New file.
12497 * sysdeps/i386/tininess.h: Likewise.
12498 * sysdeps/sh/tininess.h: Likewise.
12499 * sysdeps/x86_64/tininess.h: Likewise.
12500 * stdlib/tst-strtod-underflow.c: Likewise.
12501 * stdlib/tst-tininess.c: Likewise.
12502 * stdlib/strtod_l.c: Include <tininess.h>.
12503 (round_and_return): Do not set errno for exact underflow cases.
12504 Force an underflow exception when setting errno for underflow.
12505 Determine underflow based on rounding to normal precision if
12506 TININESS_AFTER_ROUNDING.
12507 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12508 ERANGE for exact underflow cases.
12509 * stdlib/Makefile (tests): Add tst-tininess and
12510 tst-strtod-underflow.
12511 ($(objpfx)tst-tininess): Use $(link-libm).
12512 ($(objpfx)tst-strtod-underflow): Likewise.
12513
e7170363
AJ
125142012-10-30 Andreas Jaeger <aj@suse.de>
12515
e5088dc6
AJ
12516 [BZ#14767]
12517 * elf/Makefile (tests): Remove conditional for have-initfini-array
12518 since this is now always required and the variable does not exist
12519 anymore.
12520 (tests-static): Likewise.
12521 (modules-names): Likewise.
12522
e7170363 12523 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12524
12525 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12526 merged with constructor/destructor.
12527 (init_array): Likewise.
12528 * elf/tst-array2dep.c (fini_array): Likewise.
12529 (init_array): Likewise.
12530
60457d8a
MF
125312012-10-29 Mike Frysinger <vapier@gentoo.org>
12532
12533 * manual/message.texi: Delete @cartouche tags.
12534
8bece752
PT
125352012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12536
94ce799f
PT
12537 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12538 EOPNOTSUPP.
12539 * sysdeps/mach/hurd/fsync.c: Likewise.
12540
8bece752
PT
12541 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12542 [_POSIX_REALTIME_SIGNALS]: Change condition to
12543 [_POSIX_REALTIME_SIGNALS > 0].
12544
86ebe6b1
AJ
125452012-10-27 Andreas Jaeger <aj@suse.de>
12546
12547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12548 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12550 [__WORDSIZE != 64]: Likewise.
12551
54399c08
L
125522012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12553
12554 * iconvdata/tst-table.sh: Remove ${SHELL}.
12555 * iconvdata/tst-tables.sh: Likewise.
12556
e2211bed
DM
125572012-10-25 David S. Miller <davem@davemloft.net>
12558
12559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12560 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12561 of strtoull.
12562
f303f97c
DM
12563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12564 ifunc-impl-list.c
12565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12566 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12567 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12568 file.
12569
1e9d84cd
RM
125702012-10-25 Roland McGrath <roland@hack.frob.com>
12571
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12573 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12574 __getdirentries.
12575
df381762
JM
125762012-10-25 Joseph Myers <joseph@codesourcery.com>
12577 Jim Blandy <jimb@codesourcery.com>
12578
12579 * scripts/cross-test-ssh.sh: New file.
12580 * manual/install.texi (Configuring and compiling): Document use of
12581 cross-test-ssh.sh.
12582 * INSTALL: Regenerated.
12583
bff64913
PT
125842012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12585
12586 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12587 EOPNOTSUPP.
12588
25fe8932
JM
125892012-10-25 Joseph Myers <joseph@codesourcery.com>
12590
12591 * Makeconfig (run-program-prefix): Fix comment.
12592
cc1290d0
JM
125932012-10-24 Joseph Myers <joseph@codesourcery.com>
12594 Jim Blandy <jimb@codesourcery.com>
12595
12596 * Makeconfig (test-wrapper): New variable,
12597 (test-wrapper-env): Likewise.
12598 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12599 (run-built-tests): Define to yes.
12600 (run-program-prefix): Use $(test-wrapper).
12601 (built-program-cmd): Likewise.
12602 * Rules (make-test-out): Use $(test-wrapper-env) and
12603 $(host-built-program-cmd).
12604 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12605 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12606 tst-pathopt.sh.
12607 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12608 $(test-wrapper-env) to tst-rtld-load-self.sh.
12609 ($(objpfx)order2.out): Use $(test-wrapper).
12610 ($(objpfx)tst-initorder.out): Likewise.
12611 ($(objpfx)tst-initorder2.out): Likewise.
12612 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12613 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12614 (test_wrapper_env): New variable. Use it to run ld.so.
12615 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12616 Use it to run ld.so.
12617 (test_wrapper_env): Likewise.
12618 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12619 $(test-wrapper) to run-iconv-test.sh.
12620 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12621 (ICONV): Use $test_wrapper.
12622 * posix/Makefile ($(objpfx)globtest.out): Pass
12623 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12624 globtest.sh, not $(run-program-prefix).
12625 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12626 (test_wrapper): Likewise.
12627 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12628 set together with run_via_rtld_prefix.
12629 (run_program_prefix): Define in terms of test_wrapper and
12630 run_via_rtld_prefix.
12631
6e6249d0
RM
126322012-10-24 Roland McGrath <roland@hack.frob.com>
12633
12634 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12635 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12636 Targets removed.
12637
12638 [BZ #14743]
12639 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12640 Declare __clock_getres, __clock_gettime, __clock_settime,
12641 __clock_nanosleep, and __clock_getcpuclockid.
12642 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12643 Remove librt_hidden_def (clock_gettime).
12644 * sysdeps/unix/clock_gettime.c: Likewise.
12645 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12647 * rt/clock_getres.c: Define __clock_getres as an alias.
12648 * sysdeps/posix/clock_getres.c: Likewise.
12649 * rt/clock_settime.c: Define __clock_settime as an alias.
12650 * sysdeps/unix/clock_settime.c: Likewise.
12651 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12652 * sysdeps/unix/clock_nanosleep.c: Likewise.
12653 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12654 * rt/clock-compat.c: New file.
12655 * rt/Makefile (librt-routines): Add clock-compat and move
12656 $(clock-routines) to ...
12657 (routines): ... here, new variable.
12658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12659 Don't add get_clockfreq here.
12660 * rt/Versions (libc: GLIBC_2.17): New version set.
12661 Add clock_* symbols here.
12662 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12664 (GLIBC_2.17): Add clock_* symbols.
12665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12669 Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12671 Likewise.
12672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12676 * NEWS: Mention the move.
12677
12678 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12679 Use __open, __read, __close rather than their public counterparts.
12680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12681 (__get_clockfreq_via_cpuinfo): Likewise.
12682 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12683 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12684
12685 * config.h.in (HAVE_IFUNC): New #undef.
12686 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12687 was successful.
12688 * configure: Regenerated.
12689
0cae3f4b
MF
126902012-10-24 Mike Frysinger <vapier@gentoo.org>
12691
12692 * configure.in: Move READELF check to start of file.
12693 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12694 libc_cv_asm_gnu_indirect_function in the process.
12695 * configure: Regenerated.
12696
8175a253
MF
126972012-10-24 Mike Frysinger <vapier@gentoo.org>
12698
12699 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12700 send the output to /dev/null.
12701 (libc_cv_cc_with_libunwind): Likewise.
12702 (libc_cv_as_noexecstack): Likewise.
12703 * configure: Regenerate.
12704
0708a7d1
JM
127052012-10-24 Joseph Myers <joseph@codesourcery.com>
12706
10b40d85
JM
12707 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12708
0708a7d1
JM
12709 * posix/globtest.sh (TMPDIR): Do not set.
12710 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12711 (testout): Likewise.
12712
9fddec1a
AJ
127132012-10-24 Andreas Jaeger <aj@suse.de>
12714
3a8db22f
AJ
12715 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12716 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12717 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12718 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12719 posix_fadvise64, posix_fallocate64.
12720
9fddec1a
AJ
12721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12722 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12723 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12724 Likewise.
12725 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12726 Likewise.
12727 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12728
12729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12730 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12731 <bits/fcntl-linux.h>.
12732 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12733
12734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12735 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12736 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12737 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12738 [__WORDSIZE != 64]: Likewise.
12739
ebfd1bbd
JM
127402012-10-23 Joseph Myers <joseph@codesourcery.com>
12741
03ac099f
JM
12742 * Makeconfig (run-built-tests): New variable.
12743 * Rules [$(cross-compiling) = yes]: Change condition to
12744 [$(run-built-tests) = no].
12745 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12746 to [$(run-built-tests) = yes].
12747 * elf/Makefile [$(cross-compiling) = no]: Likewise
12748 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12749 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12750 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12751 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12752 * io/Makefile [$(cross-compiling) = no]: Likewise.
12753 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12754 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12755 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12756 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12757 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12758 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12759 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12760 * string/Makefile [$(cross-compiling) = no]: Likewise.
12761
ebfd1bbd
JM
12762 * posix/Makefile ($(objpfx)globtest.out): Pass
12763 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12764 $(rtld-installed-name).
12765 * posix/globtest.sh (elf_objpfx): Remove variable.
12766 (rtld_installed_name): Likewise.
12767 (library_path): Likewise.
12768 (run_program_prefix): New variable. Use for running globtest
12769 binary.
12770
166bca24
JB
127712012-10-23 Jim Blandy <jimb@codesourcery.com>
12772 Joseph Myers <joseph@codesourcery.com>
12773
12774 * Makeconfig (host-built-program-cmd): New variable.
12775 * elf/Makefile (tst-stackguard1-ARGS): Use
12776 $(host-built-program-cmd).
12777 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12778 (tst-spawn-ARGS): Likewise.
12779 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12780
88866099
JM
127812012-10-23 Joseph Myers <joseph@codesourcery.com>
12782 Jim Blandy <jimb@codesourcery.com>
12783
12784 * Makeconfig (run-via-rtld-prefix): New variable.
12785 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12786 (built-program-cmd): Likewise.
12787
b4b4c296
AJ
127882012-10-22 Andreas Jaeger <aj@suse.de>
12789
12790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12791 __O_RSYNC if it exists, otherwise to O_SYNC.
12792
6fb54a22
JB
127932012-10-22 Jim Blandy <jimb@codesourcery.com>
12794 Joseph Myers <joseph@codesourcery.com>
12795
12796 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12797 /dev/null.
12798 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12799 from /dev/null
12800 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12801 /dev/null.
12802
481b90b9
AJ
128032012-10-22 Andreas Jaeger <aj@suse.de>
12804
2a0e2669
AJ
12805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12806 Define always.
12807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12808
76e38f9a
AJ
12809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12810 bits/fcntl-linux.h.
12811
7cd37b43
AJ
12812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12813 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12814
481b90b9
AJ
12815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12816 to __O_LARGEFILE.
12817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12818 to __O_LARGEFILE.
12819
aba75984
JB
128202012-10-21 Jim Blandy <jimb@codesourcery.com>
12821 Joseph Myers <joseph@codesourcery.com>
12822
12823 * config.make.in (NM): New variable.
12824
88d4247f
AJ
128252012-10-21 Andreas Jaeger <aj@suse.de>
12826
12827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12828 definitions and declarations that are provided by
12829 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12830
f2eed205
L
128312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12832
12833 [BZ #14683]
12834 * elf/Makefile (tests-static): Add tst-leaks1-static.
12835 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12836 ($(objpfx)tst-leaks1-static): New rule.
12837 ($(objpfx)tst-leaks1-static-mem): Likewise.
12838 (tst-leaks1-static-ENV): New macro.
12839 * elf/dl-open.c (dl_open_worker): Check the main application
12840 only if SHARED is defined.
12841 * elf/tst-leaks1-static.c: New file.
12842
335e6931
AJ
128432012-10-20 Andreas Jaeger <aj@suse.de>
12844
12845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12846 generic values for Linux.
12847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12848 and declarations that are provided by <bits/fcntl-linux.h> and
12849 include <bits/fcntl-linux.h>.
12850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12852
ac5c94d3
RM
128532012-10-20 Roland McGrath <roland@hack.frob.com>
12854
12855 * io/fcntl.h: Move include of <bits/types.h> to the top and
12856 include it unconditionally.
12857
de54b33a
L
128582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12859
228cfb01
L
12860 * wcsmbs/Makefile (tests-ifunc): New variable.
12861 (tests): Add $(tests-ifunc).
12862 * wcsmbs/test-wcschr-ifunc.c: New file.
12863 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12864 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12865 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12866 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12867 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12868
69f07e5f
L
12869 * string/Makefile (tests-ifunc): New variable.
12870 (tests): Add $(tests-ifunc).
12871 * string/test-memccpy.c (TEST_NAME): New macro.
12872 * string/test-memchr.c (TEST_NAME): Likewise.
12873 * string/test-memcmp.c (TEST_NAME): Likewise.
12874 * string/test-memcpy.c (TEST_NAME): Likewise.
12875 * string/test-memmem.c (TEST_NAME): Likewise.
12876 * string/test-memmove.c (TEST_NAME): Likewise.
12877 * string/test-memset.c (TEST_NAME): Likewise.
12878 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12879 * string/test-stpcpy.c (TEST_NAME): Likewise.
12880 * string/test-stpncpy.c (TEST_NAME): Likewise.
12881 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12882 * string/test-strcasestr.c (TEST_NAME): Likewise.
12883 * string/test-strcat.c (TEST_NAME): Likewise.
12884 * string/test-strchr.c (TEST_NAME): Likewise.
12885 * string/test-strcmp.c(TEST_NAME): Likewise.
12886 * string/test-strcpy.c (TEST_NAME): Likewise.
12887 * string/test-strcspn.c (TEST_NAME): Likewise.
12888 * string/test-strlen.c (TEST_NAME): Likewise.
12889 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12890 * string/test-strncmp.c (TEST_NAME): Likewise.
12891 * string/test-strncpy.c (TEST_NAME): Likewise.
12892 * string/test-strnlen.c (TEST_NAME): Likewise.
12893 * string/test-strpbrk.c (TEST_NAME): Likewise.
12894 * string/test-strrchr.c (TEST_NAME): Likewise.
12895 * string/test-strspn.c (TEST_NAME): Likewise.
12896 * string/test-strstr.c (TEST_NAME): Likewise.
12897 * string/test-bcopy-ifunc.c: New file.
12898 * string/test-bzero-ifunc.c: Likewise.
12899 * string/test-memccpy-ifunc.c: Likewise.
12900 * string/test-memchr-ifunc.c: Likewise.
12901 * string/test-memcmp-ifunc.c: Likewise.
12902 * string/test-memcpy-ifunc.c: Likewise.
12903 * string/test-memmem-ifunc.c: Likewise.
12904 * string/test-memmove-ifunc.c: Likewise.
12905 * string/test-mempcpy-ifunc.c: Likewise.
12906 * string/test-memset-ifunc.c: Likewise.
12907 * string/test-rawmemchr-ifunc.c: Likewise.
12908 * string/test-stpcpy-ifunc.c: Likewise.
12909 * string/test-stpncpy-ifunc.c: Likewise.
12910 * string/test-strcasecmp-ifunc.c: Likewise.
12911 * string/test-strcasestr-ifunc.c: Likewise.
12912 * string/test-strcat-ifunc.c: Likewise.
12913 * string/test-strchr-ifunc.c: Likewise.
12914 * string/test-strchrnul-ifunc.c: Likewise.
12915 * string/test-strcmp-ifunc.c: Likewise.
12916 * string/test-strcpy-ifunc.c: Likewise.
12917 * string/test-strcspn-ifunc.c: Likewise.
12918 * string/test-strlen-ifunc.c: Likewise.
12919 * string/test-strncasecmp-ifunc.c: Likewise.
12920 * string/test-strncat-ifunc.c: Likewise.
12921 * string/test-strncmp-ifunc.c: Likewise.
12922 * string/test-strncpy-ifunc.c: Likewise.
12923 * string/test-strnlen-ifunc.c: Likewise.
12924 * string/test-strpbrk-ifunc.c: Likewise.
12925 * string/test-strrchr-ifunc.c: Likewise.
12926 * string/test-strspn-ifunc.c: Likewise.
12927 * string/test-strstr-ifunc.c: Likewise.
12928
de54b33a
L
12929 * debug/Makefile (tests-ifunc): New variable.
12930 (tests): Add $(tests-ifunc).
12931 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12932 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12933 * debug/test-stpcpy_chk-ifunc.c: New file.
12934 * debug/test-strcpy_chk-ifunc.c: Likewise.
12935
88481c16
SP
129362012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12937
12938 [BZ #13601]
12939 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12940 header is not read in.
12941
135948bd
JM
129422012-10-19 Joseph Myers <joseph@codesourcery.com>
12943
89f1c388
JM
12944 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12945 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12946 directly. Pass built executable to script as
12947 $(built-program-cmd).
12948 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12949 $testprogram without using LD_LIBRARY_PATH and $ldso.
12950
e40a0d21
JM
12951 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12952 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12953 $(rtld-installed-name).
12954 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12955 (rtld_installed_name): Likewise.
12956 (library_path): Likewise.
12957 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12958 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12959 $(run-program-prefix) to tst-tables.sh.
12960 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12961 it to run tst-table-from and tst-table-to.
12962 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12963 Pass it to tst-table.sh.
12964 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12965 $(run-program-prefix) to tst-gettext.sh.
12966 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12967 tst-translit.sh.
12968 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12969 tst-gettext2.sh.
12970 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12971 to run tst-gettext.
12972 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12973 to run tst-gettext2.
12974 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12975 to run tst-translit.
12976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12977 $(run-program-prefix) to tst-mtrace.sh.
12978 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12979 to run tst-mtrace.
12980 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12981 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12982 $(rtld-installed-name).
12983 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12984 (rtld_installed_name): Likewise.
12985 (run_program_prefix): New variable. Use it to run wordexp-test.
12986
728e272a
JM
12987 * Makeconfig (ARCH): Remove all definitions.
12988 (machine): Likewise.
12989 [ARCH]: Remove conditional code.
12990 [!objdir]: Give error.
12991 [!objdir] (objpfx): Remove.
12992 [!objdir] (common-objpfx): Likewise.
12993 [!objdir] (common-objdir): Likewise.
12994 * configure.in (config_makefile): Remove. Hardcode Makefile in
12995 AC_CONFIG_FILES call.
12996 * configure: Regenerated.
12997
d528cdcf
JM
12998 [BZ #13888]
12999 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13000 or TMPDIR.
13001 (testout): Likewise.
13002
135948bd
JM
13003 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13004 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13005 $(rtld-installed-name).
13006 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13007 (rtld_installed_name): Likwise.
13008 (runit): Remove function.
13009 (run_getconf): New variable, Use it for running getconf binary.
13010
38c78296
L
130112012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 [BZ #14716]
13014 * string/test-memmem.c (check_result): New function.
13015 (do_one_test): Use it.
13016 (check1): New function.
13017 (test_main): Use it.
13018
d077f65f
MT
130192012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13020
13021 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13022
ced52c71
JM
130232012-10-18 Joseph Myers <joseph@codesourcery.com>
13024
13025 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13026 (_G_LSEEK64): Likewise.
13027 (_G_MMAP64): Likewise.
13028 (_G_FSTAT64): Likewise.
13029 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13030 (_G_LSEEK64): Likewise.
13031 (_G_MMAP64): Likewise.
13032 (_G_FSTAT64): Likewise.
13033 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13034 unconditional. Call __mmap64 directly.
13035 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13036 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13037 __lseek64 directly.
13038 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13039 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13040 __mmap64 directly.
13041 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13042 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13043 __lseek64 directly.
13044 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13045 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13046 __lseek64 directly.
13047 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13048 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13049 __lseek64 directly.
13050 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13051 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13052 __fxstat64 directly.
13053 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13054 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13055 unconditional.
13056 (freopen64) [!_G_OPEN64]: Remove conditional code.
13057 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13058 unconditional.
13059 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13060 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13061 unconditional.
13062 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13063 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13064 unconditional.
13065 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13066 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13067 unconditional.
13068 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13069 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13070 unconditional.
13071 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13072 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13073 unconditional.
13074 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13075 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13076 unconditional.
13077 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13078
b741de23
SP
130792012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13080
13081 [BZ #12140]
13082 * manual/memory.texi (Malloc Tunable Parameters): Add note
13083 about free list pointers overwriting some perturb bytes.
13084 Wording suggested by Roland McGrath.
13085
f9b9d9c9
JM
130862012-10-17 Joseph Myers <joseph@codesourcery.com>
13087
13088 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13089 (lgamma_test): Likewise.
13090 (tgamma_test): Likewise.
13091
172a631a
FW
130922012-10-16 Florian Weimer <fweimer@redhat.com>
13093
13094 [BZ #14700]
13095 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13096 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13097
e9f37252
MK
130982012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13099
13100 * NEWS: Mention BZ #14716.
13101 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13102 when removing AVAILABLE1_USES_J macro.
13103
d394eb74
L
131042012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13105
13106 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13107 (__bswap_64): __uint64_t for unsigned 64-bit int.
13108
ca38dc17
AS
131092012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13110
13111 * include/string.h (memmem): Declare libc hidden alias.
13112 * string/memmem.c (memmem): Define libc hidden alias.
13113 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13114 __read, __close instead of open, read, close.
13115
9a387d1f
L
131162012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13117
ac49ecaf
L
13118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13119 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13120 global and hidden.
13121 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13122 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13123 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13124 Likewise.
13125 (__rawmemchr_sse2): Likewise.
13126 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13127 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13128 (__strchr_sse2): Likewise.
13129 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13130 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13131 (__strcasecmp_sse2): Likewise.
13132 (__strncasecmp_sse2): Likewise.
13133 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13134 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13135 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13136 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13137 (__strrchr_sse2): Likewise.
13138 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13139 ifunc-impl-list.c.
13140 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13141 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13142 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13143 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13144 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13145 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13146 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13147 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13148 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13149 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13150 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13151 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13152 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13153 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13154 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13155 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13156 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13157 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13158 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13159 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13160 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13161 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13162 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13163 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13164 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13165 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13166 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13167 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13168 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13169 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13170
b090e8ea
L
13171 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13172 global and hidden.
13173 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13174 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13175 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13176 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13177 Likewise.
13178 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13179 Likewise.
13180 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13181 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13182 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13183 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13184 ifunc-impl-list.c.
13185 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13186 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13188 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13189 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13190 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13191 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13198 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13199 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13200 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13201 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13202 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13204 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13206 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13211 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13212 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13214 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13215 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13216 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13217 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13218 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13219 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13220 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13221 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13222 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13224 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13225 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13226
11dd4af6
L
13227 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13228 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13229 * include/ifunc-impl-list.h: New file.
13230 * misc/ifunc-impl-list.c: Likewise.
13231 * misc/Makefile (routines): Add ifunc-impl-list.
13232 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13233 * string/test-string.h: Include <ifunc-impl-list.h>.
13234 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13235 impl_array): New variables.
13236 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13237 are defined.
13238 (test_init): Call __libc_ifunc_impl_list to initialize
13239 func_list if TEST_IFUNC and TEST_NAME are defined.
13240
9a387d1f
L
13241 * string/Makefile (strop-tests): Add bcopy and bzero.
13242 * string/test-bcopy.c: New file.
13243 * string/test-bzero.c: Likewise.
13244 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13245 defined.
13246 * string/test-memset.c: Support bzero test if TEST_BZERO is
13247 defined.
13248 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13249 __libc_memmove.
13250 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13251 __libc_memset.
13252 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13253 of memset.
13254
472371b9
JM
132552012-10-10 Joseph Myers <joseph@codesourcery.com>
13256
1e4a9536
JM
13257 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13258 * configure: Regenerated.
13259
d173d12e
JM
13260 * Makeconfig (+link-static-before-libc): Don't include
13261 $(link-static-libc).
13262
472371b9
JM
13263 * libio/libio.h (_IO_pos_t): Remove.
13264
89a3ad0b
AO
132652012-10-10 Alexandre Oliva <aoliva@redhat.com>
13266
13267 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13268 McGrath.
13269
e7451425
AO
132702012-10-10 Alexandre Oliva <aoliva@redhat.com>
13271
13272 * crypt/crypt-entry.c: Include fips-private.h.
13273 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13274 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13275 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13276 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13277
4ba74a35
AO
132782012-10-10 Alexandre Oliva <aoliva@redhat.com>
13279
13280 * crypt/crypt-private.h: Include stdbool.h.
13281 (_ufc_setup_salt_r): Return bool.
13282 * crypt/crypt-entry.c: Include errno.h.
13283 (__crypt_r): Return NULL with EINVAL for bad salt.
13284 * crypt/crypt_util.c (bad_for_salt): New.
13285 (_ufc_setup_salt_r): Check that salt is long enough and within
13286 the specified alphabet.
13287 * crypt/badsalttest.c: New file.
13288 * crypt/Makefile (tests): Add it.
13289 ($(objpfx)badsalttest): New.
13290
f96f1242
MK
132912012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13292
13293 * NEWS: Add entry for BZ #14602.
13294
0e8e0c1c
JM
132952012-10-09 Joseph Myers <joseph@codesourcery.com>
13296
13297 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13298 type-generic.
13299 * math/libm-test.inc: Update comment listing what functions and
13300 macros are tested.
13301 (isgreater_test): New function.
13302 (isgreaterequal_test): Likewise.
13303 (isless_test): Likewise.
13304 (islessequal_test): Likewise.
13305 (islessgreater_test): Likewise.
13306 (isunordered_test): Likewise.
13307 (main): Call the new functions.
13308
273edc5e
RM
133092012-10-09 Roland McGrath <roland@hack.frob.com>
13310
b8493de0
RM
13311 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13312 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13313 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13314 * sysdeps/i386/configure: Regenerated.
13315 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13316 * sysdeps/mach/configure: Regenerated.
13317 * sysdeps/mach/hurd/configure: Regenerated.
13318 * sysdeps/powerpc/configure: Regenerated.
13319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13321 * sysdeps/s390/s390-32/configure: Regenerated.
13322 * sysdeps/s390/s390-64/configure: Regenerated.
13323 * sysdeps/sh/configure: Regenerated.
13324 * sysdeps/sparc/configure: Regenerated.
13325 * sysdeps/unix/sysv/linux/configure: Regenerated.
13326 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13327 * sysdeps/x86_64/configure: Regenerated.
13328
273edc5e
RM
13329 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13330 defined. Don't check if MAP is NULL.
13331
c8450f70
JM
133322012-10-09 Joseph Myers <joseph@codesourcery.com>
13333
13334 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13335 (_G_stat64): Likewise.
13336 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13337 (_G_stat64): Likewise.
13338 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13339 instead of struct _G_stat64.
13340 * libio/fileops.c (mmap_remap_check): Likewise.
13341 (decide_maybe_mmap): Likewise.
13342 (_IO_new_file_seekoff): Likewise.
13343 (_IO_file_stat): Likewise.
13344 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13345 _G_off64_t.
13346 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13347 instead of struct _G_stat64.
13348 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13349
57e605ba
MK
133502012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13351
13352 [BZ #14602]
13353 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13354 Replace with ...
13355 (CHECK_EOL): New macro.
13356 (two_way_short_needle): Check beginning of haystack for EOL. Use
13357 CHECK_EOL.
13358 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13359 Replace with CHECK_EOL.
13360 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13361 Replace with CHECK_EOL.
13362
ef1bb361
JM
133632012-10-08 Joseph Myers <joseph@codesourcery.com>
13364
13365 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13366 type-generic.
13367 * math/libm-test.inc: Update comment listing what functions and
13368 macros are tested.
13369 (finite_test): New function.
13370 (isinf_test): Likewise.
13371 (isnan_test): Likewise.
13372 (fpclassify_test): Test subnormal input.
13373 (isfinite_test): Likewise.
13374 (isnormal_test): Likewise.
13375 (main): Call the new functions.
13376
55f11534
JN
133772012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13378
13379 [BZ #14660]
13380 * Makerules (%.dynsym): Force C locale when running
13381 $(OBJDUMP) --dynamic-syms.
13382
1ab29350
AS
133832012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13384
13385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13386 <stdint.h>.
13387
f1ecb7ef
DM
133882012-10-06 David S. Miller <davem@davemloft.net>
13389
13390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13391 upper 32-bits of the length value in %o2 since we use branch-on-register
13392 tests which consider the entire 64-bit register.
13393
5d41d91a
L
133942012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * string/test-strstr.c (check2): Add a test for page boundary.
13397
3baddb72
DM
133982012-10-05 David S. Miller <davem@davemloft.net>
13399
13400 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13402 file.
13403 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13404 sysdep_routines.
13405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13406 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13407 and bzero when HWCAP_SPARC_CRYPTO is present.
13408
9cee5585
L
134092012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13410
d7e0dab9
L
13411 [BZ #14602]
13412 * string/test-strstr.c (check2): New function.
13413 (test_main): Call check2.
13414
03759f47
L
13415 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13416 and bug-strchr1.
13417 * string/bug-strcasestr1.c (do_test): Moved to ...
13418 * string/test-strcasestr.c (check1): Here. New function.
13419 (do_one_test): Break out result checking code into ...
13420 (check_result): This. New function.
13421 (do_one_test): Call check_result.
13422 (test_main): Call check1.
13423 * string/bug-strchr1.c (do_test): Moved to ...
13424 * string/test-strchr.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-strstr1.c (main): Moved to ...
046f153e 13430 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
13436 * string/bug-strchr1.c: Likewise.
13437 * string/bug-strstr1.c: Likewise.
13438
53cea63e
L
13439 * elf/Makefile (dl-routines): Add hwcaps.
13440 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13441 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13442 (_dl_important_hwcaps): Moved to ...
13443 * elf/dl-hwcaps.c: Here. New file.
13444 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13445
9cee5585 13446 [BZ #14557]
bb859b06
L
13447 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13448 if IS_IN_rtld isn't defined.
13449
9cee5585
L
13450 * elf/dl-support.c (_dl_sysinfo_map): New.
13451 Include "get-dynamic-info.h" and "setup-vdso.h".
13452 (_dl_non_dynamic_init): Call setup_vdso.
13453 * elf/dynamic-link.h: Don't include <assert.h>.
13454 (elf_get_dynamic_info): Moved to ...
13455 * elf/get-dynamic-info.h: Here. New file.
13456 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13457 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13458 * elf/setup-vdso.h: Here. New file.
13459 * elf/rtld.c: Include "setup-vdso.h".
13460 (dl_main): Call setup_vdso.
13461
23c31b76
JM
134622012-10-05 Joseph Myers <joseph@codesourcery.com>
13463
28234b07
JM
13464 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13465 creal in comment listing functions tested. List finite, isinf,
13466 isnan, isless, islessequal, isgreater, isgreaterequal,
13467 islessgreater, isunordered, lgamma_r and pow10 as functions and
13468 macros not tested. Mention which functions not tested are aliases
13469 for other functions. Fix typo. Note that signs of NaNs are not
13470 tested.
13471
23c31b76
JM
13472 * scripts/config.guess: Update from config.git.
13473 * scripts/config.sub: Likewise.
13474
9043e228
RM
134752012-10-04 Roland McGrath <roland@hack.frob.com>
13476
13477 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13478 * misc/madvise.c (madvise): Renamed to __madvise.
13479 Make madvise a weak alias.
13480 * include/sys/mman.h: Declare __madvise.
13481 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13482 * sysdeps/unix/syscalls.list
13483 (madvise): Make __madvise the strong name, and madvise a weak alias.
13484 * sysdeps/unix/sysv/linux/syscalls.list
13485 (madvise, mmap): Remove redundant entries.
13486 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13487 * malloc/malloc.c (mtrim): Likewise.
13488 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13489
f57f8055
RM
134902012-10-03 Roland McGrath <roland@hack.frob.com>
13491
13492 * sysdeps/mach/hurd/dl-cache.c: File removed.
13493 * config.h.in (USE_LDCONFIG): New #undef.
13494 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13495 * configure: Regenerated.
13496 * elf/Makefile (dl-routines): Add dl-cache only under
13497 [$(use-ldconfig) = yes].
13498 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13499 cache on [USE_LDCONFIG].
13500 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13501 [USE_LDCONFIG].
13502 * elf/rtld.c (dl_main): Likewise.
13503
5bb0c10a
PT
135042012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13505
13506 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13507 _SC_LEVEL4_CACHE_LINESIZE.
13508
010188c6
RM
135092012-10-03 Roland McGrath <roland@hack.frob.com>
13510
13511 * sysdeps/unix/bsd/confstr.h: File removed.
13512
b6c5ec07
AO
135132012-10-02 Alexandre Oliva <aoliva@redhat.com>
13514
13515 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13516 sys/sdt-config.h.
13517
408223d4
RM
135182012-10-02 Roland McGrath <roland@hack.frob.com>
13519
13520 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13521 Make 'mapoff' field ElfW(Off) rather than off_t.
13522
bb9510dc
DL
135232012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13524
fc997c6e
DL
13525 * nscd/Makefile: Remove nscd-cflags and all its users.
13526 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13527 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13528
bb9510dc
DL
13529 [BZ #10631]
13530 * malloc.c (malloc_printerr): Clarify error message.
13531
05699367
L
135322012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13533
13534 [BZ #14648]
13535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13536 Set bit_FMA_Usable if FMA is supported.
13537 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13538 macro.
13539 (bit_FMA4_Usable): Updated.
13540 (index_FMA_Usable): New macro.
13541 (CPUID_FMA): Likewise
13542 (HAS_FMA): Defined with bit_FMA_Usable.
13543
51367701
RM
135442012-10-01 Roland McGrath <roland@hack.frob.com>
13545
13546 * bits/types.h (__swblk_t): Type removed.
13547 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13548 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13550 (__SWBLK_T_TYPE): Likewise.
13551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13552 (__SWBLK_T_TYPE): Likewise.
13553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13554 (__SWBLK_T_TYPE): Likewise.
13555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13556 (__SWBLK_T_TYPE): Likewise.
13557
4d57bf63 135582012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13559 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13560
13561 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13562 (xdr_mapname): Use YPMAXMAP as maxsize.
13563 (xdr_peername): Use YPMAXPEER as maxsize.
13564 (xdr_keydat): Use YPAXRECORD as maxsize.
13565 (xdr_valdat): Use YPMAXRECORD as maxsize.
13566
93c65d43
RM
135672012-10-01 Roland McGrath <roland@hack.frob.com>
13568
497a03d6
RM
13569 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13570
93c65d43
RM
13571 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13572 * csu/init-first.c: ... here.
13573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13574 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13575 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13576 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13577 * sysdeps/i386/init-first.c: File removed.
13578 * sysdeps/sh/init-first.c: File removed.
13579
bec749fd
JM
135802012-10-01 Joseph Myers <joseph@codesourcery.com>
13581
13582 [BZ #14645]
13583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13584 if x * y might underflow to zero and z is zero.
13585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13587 * math/libm-test.inc (min_subnorm_value): New variable.
13588 (fma_test): Add more tests.
13589 (fma_test_towardzero): Likewise.
13590 (fma_test_downward): Likewise
13591 (fma_test_upward): Likewise.
13592 (initialize): Set min_subnorm_value.
13593
8ec5b013
JM
135942012-09-29 Joseph Myers <joseph@codesourcery.com>
13595
13596 [BZ #14638]
13597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13598 0 + 0.
13599 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13600 mode for addition resulting in exact zero.
13601 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13603 exact 0 + 0.
13604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13606 * math/libm-test.inc (fma_test): Add more tests.
13607 (fma_test_towardzero): New function.
13608 (fma_test_downward): Likewise.
13609 (fma_test_upward): Likewise.
13610 (main): Call the new functions.
13611
b1fa802e
DM
136122012-09-28 David S. Miller <davem@davemloft.net>
13613
13614 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13615
d3b9fd9e
RM
136162012-09-28 Roland McGrath <roland@hack.frob.com>
13617
ea4d37b3
RM
13618 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13619 instead of SIGALRM.
13620
ac51c949
RM
13621 * sysdeps/gnu/_G_config.h: Moved to ...
13622 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13623 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13624 * sysdeps/generic/_G_config.h: ... here.
13625
28c195f7
RM
13626 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13627
848917f9
RM
13628 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13629
6bacf05b
RM
13630 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13631 Conditionalize target on [libnss_test1.so-version].
13632
91363dbb
RM
13633 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13634
cc87f7d8
RM
13635 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13636 (elfobjdir): Move out of conditionals.
13637
b1c608fe
RM
13638 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13639 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13640 (__nss_lookup_function): Conditionalize label remove_from_tree on
13641 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13642
1d9a6d96
DM
136432012-09-28 David S. Miller <davem@davemloft.net>
13644
13645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13647 file.
13648 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13649 sysdep_routines.
13650 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13652 when HWCAP_SPARC_CRYPTO is present.
13653
72581615
PT
136542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13655
13656 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13657
715a900c
JL
136582012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13659
13660 [BZ #6530]
13661 * stdio-common/vfprintf.c (process_string_arg): Revert
13662 2000-07-22 change.
13663
136642011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13665
13666 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13667 for testcase.
13668 * stdio-common/tst-sprintf.c: Include <locale.h>
13669 (main): Test sprintf's handling of incomplete multibyte
13670 characters.
13671
9bac1d86
L
136722012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * elf/dl-runtime.c (VERSYMIDX): Removed.
13675 * elf/dl-version.c (VERSYMIDX): Likewise.
13676 * elf/do-rel.h (VERSYMIDX): Likewise.
13677 (VALIDX): Likewise.
13678 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13679 * elf/rtld.c (VALIDX): Likewise.
13680 (ADDRIDX): Likewise.
9bac1d86
L
13681 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13682 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13683 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13684 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13685 (VALIDX): Likewise.
13686 (ADDRIDX): Likewise.
9bac1d86 13687
b31606c0
PT
136882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13689
13690 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13691
11541177
JL
136922012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13693
13694 [BZ #11438]
13695 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13696 to global scope.
13697 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13698 addresses are in the same scope as 192.0.2/24.
13699 * posix/gai.conf: Document new scope table defaults.
13700
adb26fae
SP
137012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13702
13703 [BZ #5298]
13704 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13705 for ftell. Compute offsets from write pointers instead.
13706 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13707
4573c6b0
SP
137082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13709
13710 [BZ #14543]
13711 * libio/Makefile (tests): New test case tst-fseek.
13712 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13713 combination works in wide mode.
13714 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13715 state when the external buffer state changes.
13716
aa9bbfe6
DM
137172012-09-27 David S. Miller <davem@davemloft.net>
13718
13719 [BZ #14376]
13720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13721 pass reloc->r_addend in as the 'high' argument to
13722 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13723
784421e7
DM
13724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13725
c39bc8b8
PT
137262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13727
13728 * rt/tst-aio2.c: Include <pthread.h>.
13729 * rt/tst-aio3.c: Likewise.
13730
1ccc2399
SE
137312012-09-27 Steve Ellcey <sellcey@mips.com>
13732
13733 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13734
31ed4153
L
137352012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13736
25f5f885
L
13737 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13738 contents on [SHARED].
31ed4153 13739
b7bfe116
MP
137402012-09-26 Marek Polacek <polacek@redhat.com>
13741
13742 [BZ #14530]
13743 [BZ #13741]
13744 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13745 for C++ and GCC <4.3 as well as for non GCC compilers.
13746
43c4edba
MT
137472012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13748
13749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13750
6a1bf82f
RM
137512012-09-25 Roland McGrath <roland@hack.frob.com>
13752
13753 * Makefile.in (all, install): Declare with .PHONY.
13754 Reported by Michael Hope <michael.hope@linaro.org>.
13755
8ad11b9a
TMQMF
137562012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13757
13758 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13759 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13760 system header.
13761 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13762 Likewise.
13763 (sydep_routines): Add the new and the internal functions.
13764 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13765 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13767 (GLIBC_2.17): Add the new function.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13769 (GLIBC_2.17): Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13771 (GLIBC_2.17): Likewise.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13773 (GLIBC_2.17): Likewise.
13774 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13775
7e2fca8d
AM
137762012-09-25 Alan Modra <amodra@gmail.com>
13777
13778 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13779 Add release barrier before setting once_control to say
13780 initialisation is done. Add hints on lwarx. Use macro in
13781 place of isync.
13782 (clear_once_control): Add release barrier.
13783
b87c4b24
JM
137842012-09-25 Joseph Myers <joseph@codesourcery.com>
13785
d032e0d2
JM
13786 [BZ #13629]
13787 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13788 specially.
13789 * math/s_clog10.c (__clog10): Likewise.
13790 * math/s_clog10f.c (__clog10f): Likewise.
13791 * math/s_clog10l.c (__clog10l): Likewise.
13792 * math/s_clogf.c (__clogf): Likewise.
13793 * math/s_clogl.c (__clogl): Likewise.
13794 * math/Makefile (libm-calls): Add x2y2m1.
13795 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13796 (__x2y2m1): Likewise.
13797 (__x2y2m1l): Likewise.
13798 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13799 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13804 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807
b87c4b24
JM
13808 [BZ #14621]
13809 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13810 int as type of variable DEPTH.
13811 (glob): Use size_t instead of int as type of variables NEWCOUNT
13812 and OLD_PATHC.
13813
6d3bf199
LD
138142012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13815
22bf5c17
LD
13816 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13817 Add s_sincosf-sse2.
13818 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13819 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13820 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13821 macros for using routine as __sincosf_ia32.
13822 Use macro for function declaration and weak_alias.
13823 * sysdeps/i386/fpu/libm-test-ulps: Update.
13824
13825 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13827
13828 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13829 subnormal argument.
13830 * math/s_cexpf.c (__cexpf): Likewise.
13831 * math/s_csinf.c (__csinf): Likewise.
13832 * math/s_csinhf.c (__csinhf): Likewise.
13833 * math/s_ctanf.c (__ctanf): Likewise.
13834 * math/s_ctanhf.c (__ctanhf): Likewise.
13835 * math/s_ccosh.c (__ccoshf): Likewise.
13836 * math/s_cexp.c (__cexpl): Likewise.
13837 * math/s_csin.c (__csin): Likewise.
13838 * math/s_csinh.c (__csinh): Likewise.
13839 * math/s_ctan.c (__ctan): Likewise.
13840 * math/s_ctanh.c (ctanh): Likewise.
13841 * math/s_ccoshl.c (__ccoshl): Likewise.
13842 * math/s_cexpl.c (__cexpl): Likewise.
13843 * math/s_csinl.c (__csinl): Likewise.
13844 * math/s_csinhl.c (__csinhl): Likewise.
13845 * math/s_ctanl.c (__ctanl): Likewise.
13846 * math/s_ctanhl.c (__ctanhl): Likewise.
13847
203e5603
JM
138482012-09-25 Joseph Myers <joseph@codesourcery.com>
13849
13850 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13851 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13852 (_IO_off_t): Define to __off_t, not _G_off_t.
13853 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13854 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13855 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13856 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13857 type of __dummy and __dummy2 fields.
13858 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13859 (_G_ssize_t): Likewise.
13860 (_G_off_t): Likewise.
13861 (_G_pid_t): Likewise.
13862 (_G_uid_t): Likewise.
13863 (_G_wchar_t): Likewise.
13864 (_G_wint_t): Likewise.
13865 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13866 (_G_ssize_t): Likewise.
13867 (_G_off_t): Likewise.
13868 (_G_pid_t): Likewise.
13869 (_G_uid_t): Likewise.
13870 (_G_wchar_t): Likewise.
13871 (_G_wint_t): Likewise.
13872 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13873 (_G_ssize_t): Likewise.
13874 (_G_off_t): Likewise.
13875 (_G_pid_t): Likewise.
13876 (_G_uid_t): Likewise.
13877 (_G_wchar_t): Likewise.
13878 (_G_wint_t): Likewise.
13879
9fab36eb
SP
138802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13881
13882 * malloc/arena.c: Include malloc-sysdep.h.
13883 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13884 is sufficient to shrink the heap or an unmap is needed.
13885 * sysdeps/generic/malloc-sysdep.h: New file. Define
13886 new function check_may_shrink_heap.
13887 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13888 new function check_may_shrink_heap.
13889
2b4f00d1
SP
138902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13891
13892 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13893 comments.
13894
9a9028b1
DL
138952012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13896
57c69bef
DL
13897 * catgets/test-gencat.sh: Add "set -e".
13898 * elf/tst-pathopt.sh: Likewise.
13899 * grp/tst_fgetgrent.sh: Likewise.
13900 * iconvdata/run-iconv-test.sh: Likewise.
13901 * intl/tst-gettext.sh: Likewise.
13902 * intl/tst-gettext2.sh: Likewise.
13903 * intl/tst-gettext4.sh: Likewise.
13904 * intl/tst-gettext6.sh: Likewise.
13905 * intl/tst-translit.sh: Likewise.
13906 * io/ftwtest-sh: Likewise.
13907 * libio/test-freopen.sh: Likewise.
13908 * malloc/tst-mtrace.sh: Likewise.
13909 * posix/globtest.sh: Likewise.
13910 * posix/tst-getconf.sh: Likewise.
13911 * posix/wordexp-tst.sh: Likewise.
13912 * stdio-common/tst-printf.sh: Likewise.
13913 * stdio-common/tst-unbputc.sh: Likewise.
13914 * stdlib/tst-fmtmsg.sh: Likewise.
13915 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13916 * catgets/Makefile: Do not specify -e option when running
13917 testsuite shell scripts.
13918 * elf/Makefile: Likewise.
13919 * grp/Makefile: Likewise.
13920 * iconvdata/Makefile: Likewise.
13921 * intl/Makefile: Likewise.
13922 * io/Makefile: Likewise.
13923 * libio/Makefile: Likewise.
13924 * malloc/Makefile: Likewise.
13925 * posix/Makefile: Likewise.
13926 * stdio-common/Makefile: Likewise.
13927 * stdlib/Makefile: Likewise.
13928 * sysdeps/x86_64/Makefile: Likewise.
13929
9a9028b1
DL
13930 * io/ftwtest-sh: Add copyright header.
13931 * posix/globtest.sh: Likewise.
13932 * posix/tst-getconf.sh: Likewise.
13933 * posix/wordexp-tst.sh: Likewise.
13934 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13935
ced6f16e
L
139362012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13937
94b32c39
L
13938 [BZ #13679]
13939 * Makeconfig (+link): Defined as $(+link-static) if
13940 $(build-shared) isn't yes.
13941 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13942 isn't yes.
13943 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13944
189e935b
L
13945 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13946
ced6f16e
L
13947 [BZ #14562]
13948 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13949 new chunk size with MALLOC_ALIGN_MASK.
13950
a9f8e53a
JM
139512012-09-24 Joseph Myers <joseph@codesourcery.com>
13952
13953 [BZ #5044]
13954 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13955 <rounding-mode.h>.
13956 (__printf_fphex): Determine rounding using get_rounding_mode and
13957 round_away.
13958 * stdio-common/tst-printf-round.c (struct hex_test): New
13959 structure.
13960 (hex_tests): New variable.
13961 (test_hex_in_one_mode): New function.
13962 (do_test): Also run tests for hex float output.
13963
43153109
JM
139642012-09-21 Joseph Myers <joseph@codesourcery.com>
13965
13966 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13967 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13968 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13969 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13970 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13971 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13972 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13974
8a26625d
JM
139752012-09-20 Joseph Myers <joseph@codesourcery.com>
13976
13977 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13978 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13979 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13980 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13981
f3fd569c
DL
139822012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13983
13984 [BZ #14579]
13985 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13986 mode only.
13987 * elf/tst-rtld-load-self.sh: New test.
13988 * elf/Makefile: Run it.
13989
63bbedd4
JM
139902012-09-18 Joseph Myers <joseph@codesourcery.com>
13991
13992 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13993 (tst-writev-ENV): Remove.
13994 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13995
626f8b6a
CM
139962012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13997
13998 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13999
b7aaa4d6
JM
140002012-09-17 Joseph Myers <joseph@codesourcery.com>
14001
14002 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14003 unconditional.
14004 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14005 Likewise.
14006 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14007 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14008 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14009 Likewise.
14010
65513990
L
140112012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14012
14013 [BZ #14587]
14014 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14015 * config.make.in (have-cpp-asm-debuginfo): Removed.
14016 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14017 * configure: Regenerated.
14018
784761be
JM
140192012-09-14 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #5044]
14022 * stdio-common/printf_fp.c: Include <stdbool.h> and
14023 <rounding-mode.h>.
14024 (___printf_fp): Determine rounding using get_rounding_mode and
14025 round_away.
14026 * stdio-common/tst-printf-round.c: New file.
14027 * stdio-common/Makefile (tests): Add tst-printf-round.
14028 (link-libm): New variable.
14029 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14030
9503345f
L
140312012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14032
14033 [BZ #14576]
14034 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14035 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14036 Likewise.
14037 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14038 Likewise.
14039
ad35fc00
JM
140402012-09-13 Joseph Myers <joseph@codesourcery.com>
14041
14042 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14043 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14044 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14046
6c9b0f68
JM
140472012-09-12 Joseph Myers <joseph@codesourcery.com>
14048
14049 [BZ #14518]
14050 * include/rounding-mode.h: New file.
14051 * sysdeps/generic/get-rounding-mode.h: Likewise.
14052 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14053 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14054 (MAX_VALUE): New macro.
14055 (MIN_VALUE): Likewise.
14056 (overflow_value): New function.
14057 (underflow_value): Likewise.
14058 (round_and_return): Use overflow_value and underflow_value to
14059 determine return values in overflow and underflow cases. Use
14060 round_away to determine rounding depending on rounding mode.
14061 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14062 determine return values in overflow and underflow cases.
14063 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14064 (struct test_results): New structure.
14065 (struct test): Use struct test_results to store expected results
14066 for all rounding modes.
14067 (TEST): Include expected results for all rounding modes.
14068 (test_in_one_mode): New function.
14069 (do_test): Use test_in_one_mode to compute and check results.
14070 Check results for all rounding modes.
14071 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14072 $(link-libm).
14073
19fcedd5
AM
140742012-12-09 Allan McRae <allan@archlinux.org>
14075
1e9d84cd 14076 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14077
8bbfd2f1
JM
140782012-09-11 Joseph Myers <joseph@codesourcery.com>
14079
14080 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14081 (_G_int32_t): Likewise.
14082 (_G_uint16_t): Likewise.
14083 (_G_uint32_t): Likewise.
14084 (_G_HAVE_BOOL): Likewise.
14085 (_G_HAVE_ATEXIT): Likewise.
14086 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14087 (_G_HAVE_IO_FILE_OPEN): Likewise.
14088 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14089 (_G_int32_t): Likewise.
14090 (_G_uint16_t): Likewise.
14091 (_G_uint32_t): Likewise.
14092 (_G_HAVE_BOOL): Likewise.
14093 (_G_HAVE_ATEXIT): Likewise.
14094 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14095 (_G_HAVE_IO_FILE_OPEN): Likewise.
14096 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14097 (_G_int32_t): Likewise.
14098 (_G_uint16_t): Likewise.
14099 (_G_uint32_t): Likewise.
14100 (_G_HAVE_BOOL): Likewise.
14101 (_G_HAVE_ATEXIT): Likewise.
14102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14103 (_G_HAVE_IO_FILE_OPEN): Likewise.
14104
b1dc5912
L
141052012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14106
14107 * csu/libc-tls.c: Update copyright years.
14108
0e886ef9
JM
141092012-09-10 Joseph Myers <joseph@codesourcery.com>
14110
28361c5e
JM
14111 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14112 [!_G_USING_THUNKS]: Remove conditional code.
14113 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14114 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14115
0e886ef9
JM
14116 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14117 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14118 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14119 (_G_VTABLE_LABEL_PREFIX): Likewise.
14120 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14121 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14122 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14123 (_G_VTABLE_LABEL_PREFIX): Likewise.
14124 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14125 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14126 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14127 (_G_VTABLE_LABEL_PREFIX): Likewise.
14128 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14129
bcba7aa2
L
141302012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14131
14132 * libio/Makefile: Include ../Makeconfig before tests.
14133 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14134 only if $(build-shared) is yes.
14135
06585ee8
L
14136 * iconv/gconv_db.c: Update copyright years.
14137
80ccd52c
LD
141382012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14139
14140 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14141 unwind info if defined PIC. Fix special cases description.
14142 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14143
14144 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14145 DP_HI_MASK entry.
14146 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14147
691bc9c1
L
141482012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14149
3d9b46b3
L
14150 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14151
de2139a9
L
14152 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14153 is NULL.
14154
5ca78dd0
L
14155 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14156 (LDLIBS-tst-chk4): This.
14157 (LDFLAGS-tst-chk5): Renamed to ...
14158 (LDLIBS-tst-chk5): This.
14159 (LDFLAGS-tst-chk6): Renamed to ...
14160 (LDLIBS-tst-chk6): This.
14161 (LDFLAGS-tst-lfschk4): Renamed to ...
14162 (LDLIBS-tst-lfschk4): This.
14163 (LDFLAGS-tst-lfschk5): Renamed to ...
14164 (LDLIBS-tst-lfschk5): This.
14165 (LDFLAGS-tst-lfschk6): Renamed to ...
14166 (LDLIBS-tst-lfschk6): This.
14167
691bc9c1
L
14168 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14169 on $(common-objpfx)soversions.mk.
14170
65cafb1c
JM
141712012-09-07 Joseph Myers <joseph@codesourcery.com>
14172
14173 [BZ #10014]
14174 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14175 example host name.
14176
c78ab094
SP
141772012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14178
14179 * malloc/arena.c (arena_get_retry): New function that gets
14180 another arena for the caller to try its request on.
14181 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14182 current arena cannot fulfill the request.
14183 (__libc_memalign): Likewise.
14184 (__libc_memalign): Likewise.
14185 (__libc_pvalloc): Likewise.
14186 (__libc_calloc): Likewise.
14187
01f49f59
JT
141882012-09-05 John Tobey <john.tobey@gmail.com>
14189
14190 [BZ #13542]
14191 * manual/arith.texi (Operations on Complex): Fix description
14192 of carg branch cut.
14193
4c23fed5
JM
141942012-09-06 Joseph Myers <joseph@codesourcery.com>
14195
1d3c8572
JM
14196 [BZ #10014]
14197 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14198 host name.
14199
4c23fed5
JM
14200 [BZ #10038]
14201 * manual/memory.texi (Memory): Make order of menu items match
14202 order of sections.
14203
04570aaa
L
142042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14205
14206 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14207 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14208 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14209
b80af2f4
L
142102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 * csu/libc-tls.c (static_dtv): Renamed to ...
14213 (_dl_static_dtv): This. Make it global.
14214 (_dl_initial_dtv): Removed.
14215 (__libc_setup_tls): Updated.
14216 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14217 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14218 DL_INITIAL_DTV.
14219
2abe9f15
PM
142202012-09-06 Petr Machata <pmachata@redhat.com>
14221
14222 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14223 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14224 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14225 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14226
0948c3af
L
142272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 [BZ #14545]
14230 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14231 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14232 freeing dtv[-1].
14233
a5055ad1
L
142342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 [BZ #14544]
14237 * Makeconfig (link-static-before-libc): Replace $(+prector)
14238 with $(+prectorT).
14239 (link-static-after-libc): Replace $(+postctor) with
14240 $(+postctorT).
14241 (link-bounded): Replace $(+prector)/$(+postctor) with
14242 $(+prectorT)/$(+postctorT).
14243 (+prectorT): New macro.
14244 (+postctorT): Likewise.
14245
ed8c2ecd
JM
142462012-09-06 Joseph Myers <joseph@codesourcery.com>
14247
14248 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14249 (round_str): Handle values above the maximum for IBM long double
14250 as inexact.
14251 * stdlib/tst-strtod-round.c (tests): Regenerated.
14252
14c996c8
AK
142532012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14254
14255 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14256 assembler flag.
14257 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14258 zarch_nohighgprs around the zarch optimized routines.
14259 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14260 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14262 for zarch.
14263
430d6ce6
DM
142642012-09-05 David S. Miller <davem@davemloft.net>
14265
14266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14267
ff04dda4
DM
14268 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14269 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14270 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14271 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14272 entries.
14273
24d4e01b
AO
142742012-09-05 Alexandre Oliva <aoliva@redhat.com>
14275
14276 * malloc/arena.c: Fold copyright years.
14277 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14278
61d58174
AO
142792012-09-05 Alexandre Oliva <aoliva@redhat.com>
14280
14281 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14282
20196a5e
AO
142832012-09-05 Alexandre Oliva <aoliva@redhat.com>
14284
14285 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14286
5c447383
AO
142872012-09-05 Alexandre Oliva <aoliva@redhat.com>
14288
14289 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14290 change internal state upon failure.
14291
fad64255
AO
142922012-09-05 Alexandre Oliva <aoliva@redhat.com>
14293
14294 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14295 * malloc/memusage.c (mmap): Likewise.
14296 (mmap64, mremap): Likewise. Adjust name in comment.
14297
1ffb8c90
SP
142982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14299
14300 * libio/fileops.c: Fix typos in comments.
14301 * libio/oldfileops.c: Likewise.
14302 * libio/wfileops.c: Likewise.
14303
6ef9cc37
SP
143042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14305
14306 [BZ #1349]
14307 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14308 (tst-malloc-usable-ENV): Set environment for test case.
14309 * malloc/hooks.c (malloc_check_get_size): New function to get
14310 requested size.
14311 * malloc/malloc.c (musable): Use malloc_check_get_size.
14312 * malloc/tst-malloc-usable.c: New test case.
14313
4d038ae3
AS
143142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14315
14316 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14317
c4e85184
AM
143182012-09-05 Allan McRae <allan@archlinux.org>
14319
b9dafc56 14320 [BZ #13966]
c4e85184
AM
14321 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14322 determine header location.
14323 * configure: Regenerated.
14324
e1343020
AS
143252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14326
14327 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14328 float format.
14329 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14330 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14331 format.
e1343020
AS
14332 (test): Regenerate.
14333
0a9f1987
DM
143342012-09-04 David S. Miller <davem@davemloft.net>
14335
14336 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14337 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14338 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14339
29237804
FW
143402012-09-04 Florian Weimer <fweimer@redhat.com>
14341
14342 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14343 failures.
14344
edb3cb88
FW
14345 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14346
60160d83
JM
143472012-09-04 Joseph Myers <joseph@codesourcery.com>
14348
14349 [BZ #9914]
14350 * libio/iogetdelim.c: Include <limits.h>.
14351 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14352 + len + 1 would overflow.
14353
bcd6c8dc
AJ
143542012-09-03 Andreas Jaeger <aj@suse.de>
14355
14356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14357 * sysdeps/i386/fpu/libm-test-ulps: Update.
14358
4ffffbd2
LD
143592012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14360
14361 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14362 Add s_sinf-sse2, s_conf-sse2.
14363
14364 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14365 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14366 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14367 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14368
14369 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14370 for using routine as __sinf_ia32.
14371 Use macro for function declaration and weak_alias.
14372 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14373 for using routine as __cosf_ia32.
14374 Use macro for function declaration and weak_alias.
14375
14376 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14377 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14378
14379 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14380 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14382
14383 * math/libm-test.inc (cos_test): Add more test cases.
14384 (sin_test): Likewise.
14385 (sincos_test): Likewise.
14386
511fa286
AK
143872012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14388
14389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14390 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14391 hidden.
14392 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14393
5f30cfec
L
143942012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14395
14396 [BZ #14538]
14397 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14398 first element of the GOT.
14399 (elf_machine_load_address): Return the difference between
14400 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14401
0786794f
AM
144022012-09-01 Allan McRae <allan@archlinux.org>
14403
5f30cfec
L
14404 [BZ #13412]
14405 * configure.in (AWK): Require gawk version 3.0 or later.
14406 * configure: Regenerated.
0786794f 14407
26889eac
JM
144082012-09-01 Joseph Myers <joseph@codesourcery.com>
14409
14410 * sysdeps/unix/sysv/linux/kernel-features.h
14411 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14413 [__NR_clock_getres]: Make code unconditional.
14414 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14415 (clock_getcpuclockid): Remove code left unreachable by removal of
14416 conditionals.
14417 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14418 code unconditional.
14419 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14420 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14421 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14422 Make code unconditional.
14423 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14424 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14425 * sysdeps/unix/sysv/linux/clock_settime.c
14426 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14427 conditional code.
14428 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14429 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14430
d22e28b0
L
144312012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 [BZ #14476]
14434 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14435 scripts/test-installation.pl.
14436
14437 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14438 and $ld_so_version if it is set.
14439
050af9c4
SP
144402012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14441
14442 [BZ #14516]
14443 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14444 failure if reading from procfs failed.
14445 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14446
ad845c0b
JM
144472012-08-27 Joseph Myers <joseph@codesourcery.com>
14448
14449 * sysdeps/unix/sysv/linux/kernel-features.h
14450 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14451 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14452 Remove conditional code.
14453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14454 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14455 Remove conditional code.
14456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14457 * sysdeps/unix/sysv/linux/i386/fxstat.c
14458 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14460 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14461 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14463 * sysdeps/unix/sysv/linux/i386/lxstat.c
14464 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14467 Remove conditional code.
14468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14470 Remove conditional code.
14471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14473 <kernel-features.h>.
14474 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14475 Remove.
14476 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14477 Remove conditional code.
14478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14479 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14480 Remove conditional.
14481
5dbf56af
MF
144822012-08-27 Mike Frysinger <vapier@gentoo.org>
14483
14484 [BZ #5400]
14485 * NEWS: Add fixed bug number.
14486
d6e70f43
JM
144872012-08-27 Joseph Myers <joseph@codesourcery.com>
14488
7efb4737
JM
14489 [BZ #14519]
14490 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14491 underflowing exponent in case of negative sign.
14492 * stdlib/tst-strtod-round-data: Add more tests.
14493 * stdlib/tst-strtod-round.c (tests): Regenerated.
14494
af92131a
JM
14495 [BZ #3479]
14496 * stdlib/strtod_l.c (NDIG): Remove.
14497 (HEXNDIG): Likewise.
14498 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14499 smallest representable value.
14500 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14501 lie within an exact representation of 1/2 ulp of the result.
14502 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14503 unconditionally.
14504 (TENS_P9_IDX): Define unconditionally.
14505 (TENS_P9_SIZE): Likewise.
14506 (TENS_P10_IDX): Likewise.
14507 (TENS_P10_SIZE): Likewise.
14508 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14509 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14510 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14511 entries for 10^2^13 and 10^2^14.
14512 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14513 (TENS_P13_IDX): Define.
14514 (TENS_P13_SIZE): Likewise.
14515 (TENS_P14_IDX): Likewise.
14516 (TENS_P14_SIZE): Likewise.
14517 (_fpioconst_pow10): Change array size to
14518 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14519 unconditional.
14520 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14521 1024]: Add entries for 10^2^13 and 10^2^14.
14522 [LAST_POW10 > _LAST_POW10]: Remove #error.
14523 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14524 (_fpioconst_pow10): Change array size to
14525 FPIOCONST_POW10_ARRAY_SIZE.
14526 * stdlib/gen-fpioconst.c: New file.
14527 * stdlib/gen-tst-strtod-round.c: Likewise.
14528 * stdlib/tst-strtod-round-data: Likewise.
14529 * stdlib/tst-strtod-round.c: Likewise.
14530 * stdlib/Makefile (tests): Add tst-strtod-round.
14531
d6e70f43
JM
14532 [BZ #14459]
14533 * stdlib/strtod_l.c: Include <stdint.h>.
14534 (NDEBUG): Do not define.
14535 (round_and_return): Change EXPONENT parameter to type intmax_t.
14536 Rearrange calculations to avoid internal overflow possibilities.
14537 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14538 Rearrange calculations to avoid internal overflow possibilities.
14539 Assert that number fits inside MPNSIZE limbs.
14540 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14541 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14542 calculations and add assertions to avoid internal overflow
14543 possibilities. Add casts to avoid signed/unsigned operations.
14544 * stdlib/tst-strtod-overflow.c: New file.
14545 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14546
1f529f7d
MP
145472012-08-25 Marek Polacek <polacek@redhat.com>
14548
14549 * time/time.h: Fix some typos in comments.
14550
59a629f1
RM
145512012-08-23 Roland McGrath <roland@hack.frob.com>
14552
14553 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14554 * posix/tst-rfc3484-2.c: Likewise.
14555 * posix/tst-rfc3484-3.c: Likewise.
14556
d3bafbc9
SM
145572012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14558
14559 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14560 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14561
4efcc022
JM
145622012-08-23 Joseph Myers <joseph@codesourcery.com>
14563
14564 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14565 #include of fxstatat64.c.
14566
3cc3ef96
RM
145672012-08-22 Roland McGrath <roland@hack.frob.com>
14568
f04e2132
RM
14569 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14570 * shadow/getspent_r.c: Likewise.
14571 * shadow/getspnam.c: Likewise.
14572 * shadow/getspnam_r.c: Likewise.
14573 * gshadow/getsgent.c: Likewise.
14574 * gshadow/getsgent_r.c: Likewise.
14575 * gshadow/getsgnam.c: Likewise.
14576 * gshadow/getsgnam_r.c: Likewise.
14577 * inet/getnetbyad.c: Likewise.
14578 * inet/getnetbyad_r.c: Likewise.
14579 * inet/getnetbynm.c: Likewise.
14580 * inet/getnetbynm_r.c: Likewise.
14581 * inet/getnetent.c: Likewise.
14582 * inet/getnetent_r.c: Likewise.
14583 * inet/getproto.c: Likewise.
14584 * inet/getproto_r.c: Likewise.
14585 * inet/getprtent.c: Likewise.
14586 * inet/getprtent_r.c: Likewise.
14587 * inet/getprtname.c: Likewise.
14588 * inet/getprtname_r.c: Likewise.
14589 * inet/getrpcbyname.c: Likewise.
14590 * inet/getrpcbyname_r.c: Likewise.
14591 * inet/getrpcbynumber.c: Likewise.
14592 * inet/getrpcbynumber_r.c: Likewise.
14593 * inet/getrpcent.c: Likewise.
14594 * inet/getrpcent_r.c: Likewise.
14595 * inet/getaliasent.c: Likewise.
14596 * inet/getaliasent_r.c: Likewise.
14597 * inet/getaliasname.c: Likewise.
14598 * inet/getaliasname_r.c: Likewise.
14599 * nscd/getgrgid_r.c: Likewise.
14600 * nscd/getgrnam_r.c: Likewise.
14601 * nscd/gethstbyad_r.c: Likewise.
14602 * nscd/gethstbynm3_r.c: Likewise.
14603 * nscd/getpwnam_r.c: Likewise.
14604 * nscd/getpwuid_r.c: Likewise.
14605 * nscd/getsrvbynm_r.c: Likewise.
14606 * nscd/getsrvbypt_r.c: Likewise.
14607 * nscd/gai.c: Likewise.
14608
c53d909c
RM
14609 * configure.in (build_nscd): New substituted variable, set
14610 by --disable-build-nscd and defaults to $use_nscd.
14611 * configure: Regenerated.
14612 * config.make.in (build-nscd): New substituted variable.
14613 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14614 Change conditional to require [$(build-nscd) = yes] as well.
14615 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14616
3cc3ef96
RM
14617 [BZ# 13696]
14618 * configure.in (use_nscd): New substituted variable, set by
14619 --disable-nscd. If enabled, define USE_NSCD.
14620 * configure: Regenerated.
14621 * config.h.in: Add USE_NSCD.
14622 * config.make.in (use-nscd): New substituted variable.
14623 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14624 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14625 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14626 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14627 (CFLAGS-getgrnam_r.c): Likewise.
14628 (CFLAGS-initgroups.c): Likewise.
14629 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14630 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14631 Variables removed.
14632 * inet/getnetgrent_r.c
14633 (nscd_setnetgrent): New function, broken out of ...
14634 (setnetgrent): ... here. Call it.
14635 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14636 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14637 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14638 * nscd/Makefile (routines, aux): Move definitions after include of
14639 Makeconfig. Conditionalize on [$(use-nscd) != no].
14640 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14641 Conditionalize on [USE_NSCD].
14642 (is_nscd, nscd_init_cb): Likewise.
14643 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14644 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14645 * nss/nss_db/db-init.c: Likewise.
14646 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14647 [USE_NSCD].
14648 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14649 (make_request): Use it.
14650 (cache_valid_p): New function.
14651 (__check_pf): Use it.
14652 * NEWS: Add item for --disable-nscd.
14653
07e51550
DL
146542012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14655
14656 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14657 to support sed >= 4.2.1-20-ga9bf076.
14658 * configure: Regenerated.
14659
35a5b08b
RM
146602012-08-22 Roland McGrath <roland@hack.frob.com>
14661
14662 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14663 Conditionalize whole body on [IREL].
14664
8479f23a
JL
146652012-08-22 Jeff Law <law@redhat.com>
14666
14667 [BZ #14505]
14668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14669 if the family is PF_UNSPEC.
14670
48da0b21
MF
146712012-08-22 Mike Frysinger <vapier@gentoo.org>
14672
14673 * Makerules (lib-version): Rename from V.
14674 (install-lib-nosubdir): Change V to lib-version.
14675
15d0da8c
WS
146762012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14677
14678 [BZ #14252]
14679 * powerpc32/power6/wcschr.c: New file.
14680 * powerpc32/power6/wcscpy.c: New file.
14681 * powerpc32/power6/wcsrchr.c: New file.
14682 * powerpc64/power6/wcschr.c: New file.
14683 * powerpc64/power6/wcscpy.c: New file.
14684 * powerpc64/power6/wcsrchr.c: New file.
14685
bcca0895
MK
146862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14687
14688 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14689 (two_way_short_needle): Use it.
5a4aaa33
RM
14690 * string/strstr.c (AVAILABLE1_USES_J): Define.
14691 * string/strcasestr.c: Likewise.
99677e57
MK
14692
14693 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14694 array references.
14695 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14696
400726de
MK
14697 [BZ #11607]
14698 * NEWS: Add an entry.
14699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14700 define their defaults.
14701 (two_way_short_needle): Detect end-of-string on-the-fly.
14702 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14703 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14704 * string/bug-strcasestr1.c: New test.
14705 * string/Makefile: Run it.
14706
20a71f2c
MK
147072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14708
14709 [BZ #11607]
14710 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14711 the first character.
14712
21ad0558
RM
147132012-08-21 Roland McGrath <roland@hack.frob.com>
14714
14715 * csu/elf-init.c (__libc_csu_irel): Function removed.
14716 * csu/libc-start.c (apply_irel): New function.
14717 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14718
0e1d9911
JM
147192012-08-21 Joseph Myers <joseph@codesourcery.com>
14720
14721 * sysdeps/unix/sysv/linux/kernel-features.h
14722 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14723 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14724 <kernel-features.h>.
14725 [__NR_fadvise64_64]: Make code unconditional.
14726 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14727 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14728 !__NR_fadvise64_64)]: Likewise.
14729 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14730 !__NR_fadvise64_64))]: Likewise.
14731 [__NR_fadvise64]: Make code unconditional.
14732 [!__NR_fadvise64]: Remove conditional code.
14733 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14734 <kernel-features.h>.
14735 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14736 unconditional.
14737 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14738 conditional code.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14740 not include <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/s390/s390-32/posix_fadvise64.c: Do not
14746 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
14a50c9d
WS
147522012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14753
14754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14755 slight instruction rearrangements per scrollpipe analysis.
14756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14757
c0f4faf0
RM
147582012-08-20 Roland McGrath <roland@hack.frob.com>
14759
696da859
RM
14760 * manual/syslog.texi (syslog; vsyslog, closelog):
14761 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14762 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14763
c0f4faf0
RM
14764 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14765 DSOCAPS to match condition on defining it.
14766
348363b2
JM
147672012-08-20 Joseph Myers <joseph@codesourcery.com>
14768
a35cbf28
JM
14769 * sysdeps/unix/sysv/linux/kernel-features.h
14770 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14772 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14773 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14775 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14776 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14778 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14779 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14780
445f7ecd
JM
14781 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14782 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14783
348363b2
JM
14784 * sysdeps/unix/sysv/linux/kernel-features.h
14785 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14786 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14787 unconditional.
14788 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14789 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14790 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14791 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14793 Make code unconditional.
14794 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14795 (__mmap64) [!__NR_mmap2]: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14797 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14798 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14799 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14800 [__NR_mmap2]: Make code unconditional.
14801 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14802 (__mmap64) [!__NR_mmap2]: Likewise.
14803
bc5bc0e5
AK
148042012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14805
14806 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14807
88d506de
AJ
148082012-08-18 Andreas Jaeger <aj@suse.de>
14809
14810 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14811
493387d2
MF
148122012-08-18 Mike Frysinger <vapier@gentoo.org>
14813
14814 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14815 * include/unistd.h (__have_sock_cloexec): Likewise.
14816 (__have_pipe2): Likewise.
14817 (__have_dup3): Likewise.
14818
a277af22
MF
148192012-08-18 Mike Frysinger <vapier@gentoo.org>
14820
14821 [BZ #9685]
14822 * include/unistd.h (__have_pipe2): Change define into an extern int.
14823 (__have_dup3): Likewise.
14824 * socket/have_sock_cloexec.c: Include fcntl.h.
14825 (__have_pipe2): New variable.
14826 (__have_dup3): Likewise.
14827
fdab8fd3
MF
148282012-08-17 Mike Frysinger <vapier@gentoo.org>
14829
14830 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14831
31035e80
MP
148322012-08-17 Marek Polacek <polacek@redhat.com>
14833
14834 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14835 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14836
3bd9e993
RM
148372012-08-17 Roland McGrath <roland@hack.frob.com>
14838
c91c505f
RM
14839 * configure.in: Add AC_SUBST for sysheaders.
14840 * configure: Regenerated.
14841 * config.make.in (sysheaders): New substituted variable.
14842
7c6f9d53
RM
14843 * sysdeps/unix/mkfifo.c: Moved ...
14844 * sysdeps/posix/mkfifo.c: ... here.
14845 * sysdeps/unix/mkfifoat.c: Moved ...
14846 * sysdeps/posix/mkfifoat.c: ... here.
14847
14848 * sysdeps/unix/utime.c: Moved ...
14849 * sysdeps/posix/utime.c: ... here.
14850
14851 * sysdeps/unix/time.c: Moved ...
14852 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14853 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14854 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14855
14856 * sysdeps/unix/nice.c: Moved ...
14857 * sysdeps/posix/nice.c: ... here.
14858
14859 * sysdeps/unix/alarm.c: Moved ...
14860 * sysdeps/posix/alarm.c: ... here.
14861
3bd9e993
RM
14862 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14863
d1f09384
JL
148642012-08-17 Jeff Law <law@redhat.com>
14865
14866 * intl/Makefile (codeset_mo): New variable.
14867 ($(codeset_mo)): New target.
14868 (tst-codeset.out): Depend on that. Remove explicit rule.
14869 (tst-gettext3.out, tst-gettext5.out): Likewise.
14870 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14871 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14872 * intl/tst-codeset.sh: Remove.
14873 * intl/tst-gettext3.sh: Likewise.
14874 * intl/tst-gettext5.sh: Likewise.
14875
2ae1ae5c
RM
148762012-08-17 Roland McGrath <roland@hack.frob.com>
14877
c31fdb83
RM
14878 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14879 * sysdeps/unix/syscalls.list: ... here.
14880
a0844057
RM
14881 * sysdeps/posix/getaddrinfo.c
14882 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14883 (gaiconf_init, gaiconf_reload): Use them.
14884 [!_STATBUF_ST_NSEC]
14885 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14886 Define using time_t rather than struct timespec.
14887
750c1f2a
RM
14888 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14889 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14890 Macros removed.
14891 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14892 [!NO_THREADS].
14893 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14894 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14895 Likewise.
14896
2ae1ae5c
RM
14897 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14898 __libc_cleanup_push argument.
14899
e66a42f5
RM
14900 * bits/param.h: New file.
14901 * misc/sys/param.h: New file.
14902 * include/sys/param.h: New file.
14903 * misc/Makefile (headers): Add bits/param.h.
14904 * sysdeps/generic/sys/param.h: File removed.
14905 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14906 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14907 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14908 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14909
b7c08a66
RM
14910 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14911 last change.
14912
b2e1c562
RM
14913 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14914 [_IO_MTSAFE_IO].
14915 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14916 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14917 New macros.
14918
c75ccd4c
RM
14919 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14920 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14921 rather than -D_IO_MTSAFE_IO conditionally.
14922 * stdio-common/Makefile (CPPFLAGS): Likewise.
14923 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14924 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14925 Use $(libio-mtsafe).
14926 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14927 of -D_IO_MTSAFE_IO.
14928 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14929 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14930 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14931 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14932 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14933 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14934 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14935 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14936 (CFLAGS-fread_u_chk.c): Likewise.
14937 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14938 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14939 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14940 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14941 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14942 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14943 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14944 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14945 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14946
14947 * libio/Makefile: Test [$(libc-reentrant) = yes]
14948 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14949
14950 * Makeconfig
14951 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14952 * sysdeps/pthread/configure: File removed.
14953 * sysdeps/pthread/Makeconfig: New file.
14954 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14955 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14956
d9195db8
GB
149572012-08-16 Gary Benson <gbenson@redhat.com>
14958
14959 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14960 unmapping the first object in a namespace.
14961
86466cd9
RM
149622012-08-16 Roland McGrath <roland@hack.frob.com>
14963
14964 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14965 (__internal_setnetgrent): ... this. Add internal_function to
14966 definition. Add libc_hidden_def.
14967 (setnetgrent): Update caller.
14968 (internal_endnetgrent): Renamed to ...
14969 (__internal_endnetgrent): ... this. Add internal_function to
14970 definition. Add libc_hidden_def.
14971 (endnetgrent): Update caller.
14972 (internal_getnetgrent_r): Renamed to ...
14973 (__internal_getnetgrent_r): ... this. Add internal_function to
14974 definition. Add libc_hidden_def.
14975 (__getnetgrent_r): Update caller.
14976 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14977
c3c8283c
JM
149782012-08-16 Joseph Myers <joseph@codesourcery.com>
14979
14980 * stdlib/longlong.h: Update from GCC.
14981
db1ee0a8
RM
149822012-08-16 Roland McGrath <roland@hack.frob.com>
14983
14984 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14985 on _QL, which is set by umul_ppmm but never used.
14986 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14987 variables, which are set by GMP macros but never used.
14988 * stdio-common/_itowa.c (_itowa): Likewise.
14989 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14990 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14991
30f69637
CD
149922012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14993
14994 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14995 struct La_sh_regs is not constant.
14996 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14997 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14998 and struct La_sparc64_regs are not constant.
14999
93a78ac4
JM
150002012-08-16 Joseph Myers <joseph@codesourcery.com>
15001
15002 * sysdeps/unix/sysv/linux/kernel-features.h
15003 (__ASSUME_POSIX_TIMERS): Remove.
15004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15006 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15007 Make code unconditional.
15008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15009 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15010 Make code unconditional.
15011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15012 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15013 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15015 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15016 Make code unconditional.
15017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15019 (__libc_missing_posix_timers): Remove.
15020
dd924cd7
RM
150212012-08-15 Roland McGrath <roland@hack.frob.com>
15022
4b4f2771
RM
15023 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15024 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15025
601c888b
RM
15026 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15027
176790a7
RM
15028 * elf/dl-sym.c: Include <stdlib.h>.
15029
329bc018
RM
15030 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15031 constants, which avoids warnings in 32-bit builds.
15032
e04e272d
RM
15033 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15034 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15035
952bf94a
RM
15036 * misc/lseek.c: File moved to ...
15037 * io/lseek.c: ... here.
15038
7c99b50a
RM
15039 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15040
dd924cd7
RM
15041 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15042 shifting LEN more than 31 bits at once.
15043
b3f479a8
LD
150442012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15045
15046 [BZ #14195]
8c4ae0d4
RM
15047 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15048 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15049 * string/test-strncasecmp.c (check1): Renamed to...
15050 (bz12205): ...this.
15051 (bz14195): Add new testcase for two empty input strings and N > 0.
15052 (test_main): Call new testcase, adapt for renamed function.
15053
9c55864e
AJ
150542012-08-15 Andreas Jaeger <aj@suse.de>
15055
15056 [BZ #14090]
15057 * crypt/md5test2.c: New test, based on test supplied by Serge
15058 Belyshev <belyshev@depni.sinp.msu.ru>.
15059 * crypt/Makefile (xtests): Add md5test-giant..
15060 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15061
02dcb6c5
PE
150622012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15063
15064 [BZ #14090]
15065 * crypt/md5.c (md5_process_block): Don't assume the buffer
15066 length is less than 2**32.
15067 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15068 length is less than 2**64.
15069
a3f95dcc
RM
150702012-08-15 Roland McGrath <roland@hack.frob.com>
15071
be75d758
RM
15072 * string/str-two-way.h: Include <sys/param.h>.
15073 (MAX): Macro removed.
15074
7312ca90
RM
15075 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15076 Move #define and #undef of memmove to just before and after
15077 including <string.h>.
15078
9a0a5486
RM
15079 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15080 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15081 and after including <string.h>. Move declarations of
15082 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15083 to before #include "string/memmove.c".
15084
67cc348d
RM
15085 * include/dirent.h: Declare __getdirentries.
15086
a3f95dcc
RM
15087 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15088 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15089
ca98e171
MF
150902012-08-14 Mike Frysinger <vapier@gentoo.org>
15091
15092 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15093 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15094 * sysdeps/i386/configure: Regenerated.
15095 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15096 STABS_CURRENT_FILE, and STABS_FUN.
15097 (END): Remove call to STABS_FUN_END.
15098 (STABS_CURRENT_FILE1): Delete.
15099 (STABS_CURRENT_FILE): Likewise.
15100 (STABS_FUN): Likewise.
15101 (STABS_FUN_END): Likewise.
15102 (STABS_FUN2): Likewise.
15103 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15104 * sysdeps/x86_64/configure: Regenerated.
15105
5908bf46
RM
151062012-08-14 Roland McGrath <roland@hack.frob.com>
15107
15108 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15109 * elf/dl-lookup.c: Likewise.
5908bf46 15110
f2c05b9e
JM
151112012-08-14 Joseph Myers <joseph@codesourcery.com>
15112
15113 * sysdeps/unix/sysv/linux/kernel-features.h
15114 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15115 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15116 unconditionally.
15117 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15118 unconditionally.
15119 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15120 condition on __ASSUME_CLONE_THREAD_FLAGS.
15121
e11f5155
AJ
151222012-08-14 Andreas Jaeger <aj@suse.de>
15123
15124 * sysdeps/i386/fpu/libm-test-ulps: Update.
15125
51a9ba86
MK
151262012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15127
2fdd4f78
AJ
15128 * include/atomic.h (atomic_exchange_and_add): Split into ...
15129 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15130 New atomic macros.
51a9ba86 15131
ba6cba9e
MT
151322012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15133
15134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15135
42443a47
JL
151362012-08-13 Jeff Law <law@redhat.com>
15137
15138 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15139 null byte in the output string.
15140
121dce05
JM
151412012-08-10 Joseph Myers <joseph@codesourcery.com>
15142
15143 * sysdeps/unix/sysv/linux/kernel-features.h
15144 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15145 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15146 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15147 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15148 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15149 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15150 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15151
bf51f568
JL
151522012-08-09 Jeff Law <law@redhat.com>
15153
15154 [BZ #13939]
15155 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15156 When avoid_arena is set, don't retry in the that arena. Pick the
15157 next one, whatever it might be.
15158 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15159 (arena_lock): Pass in new parameter to arena_get2.
15160 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15161 arena_get2.
15162 (__libc_malloc): Unify retrying after main arena failure with
15163 __libc_memalign version.
15164 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15165
f85fa270
L
151662012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15167
15168 [BZ #14166]
15169 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15170 to __redirect_strstr.
15171 (__strstr_sse42): Use typeof __redirect_strstr.
15172 (__strstr_ia32): Likewise.
15173 (__libc_strstr): New prototype.
15174 (strstr): Renamed to ...
15175 (__libc_strstr): This.
15176 (strstr): New strong alias of __libc_strstr.
15177 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15178 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15179 __redirect_time.
15180 Include <time.h>.
15181 (__libc_time): New prototype.
15182 (time_ifunc): Replace time with __libc_time.
15183 (time): New strong alias and hidden definition of __libc_time.
15184 (__GI_time): Remove strong alias.
15185 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15186 Include <stddef.h>.
15187 (memmove): Redefined to __redirect_memmove.
15188 (__memmove_sse2): Use typeof __redirect_memmove.
15189 (__memmove_ssse3): Likewise.
15190 (__memmove_ssse3_back): Likewise.
15191 (__libc_memmove): New prototype.
15192 (memmove): Renamed to ...
15193 (__libc_memmove): This.
15194 (memmove): New strong alias of __libc_memmove.
15195
33b4a91e
MS
151962012-08-08 Mark Salter <msalter@redhat.com>
15197
15198 * elf/elf.h
15199 (R_MN10300_TLS_GD): Define.
15200 (R_MN10300_TLS_LD): Likewise.
15201 (R_MN10300_TLS_LDO): Likewise.
15202 (R_MN10300_TLS_GOTIE): Likewise.
15203 (R_MN10300_TLS_IE): Likewise.
15204 (R_MN10300_TLS_LE): Likewise.
15205 (R_MN10300_TLS_DTPMOD): Likewise.
15206 (R_MN10300_TLS_DTPOFF): Likewise.
15207 (R_MN10300_TLS_TPOFF): Likewise.
15208 (R_MN10300_SYM_DIFF): Likewise.
15209 (R_MN10300_ALIGN): Likewise.
15210 (R_MN10300_NUM): Update.
15211
b36137f1
JM
152122012-08-08 Joseph Myers <joseph@codesourcery.com>
15213
15214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15215 Remove.
15216
cdd915fd
RM
152172012-08-08 Roland McGrath <roland@hack.frob.com>
15218
a2433aac
RM
15219 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15220
cdd915fd
RM
15221 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15222 sysdeps/unix -> sysdeps/posix move.
15223 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15224
bf9b740a
AM
152252012-08-07 Allan McRae <allan@archlinux.org>
15226
15227 [BZ #14303]
15228 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15229 (SUNOS_CPP): Likewise.
15230 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15231 not found.
15232 (open_input): Call CPP using execvp.
15233
93df14ee
JM
152342012-08-07 Joseph Myers <joseph@codesourcery.com>
15235
15236 * sysdeps/unix/sysv/linux/kernel-features.h
15237 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15238 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15239 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15240 (__ASSUME_WAITID_SYSCALL): Likewise.
15241 * sysdeps/unix/sysv/linux/dl-execstack.c
15242 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15243 code unconditional.
15244 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15245 conditional code.
15246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15247 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15248 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15249 code.
15250 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15251 unconditional.
15252 [__ASSUME_WAITID_SYSCALL]: Likewise.
15253 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15254
d34689de
RM
152552012-08-07 Roland McGrath <roland@hack.frob.com>
15256
a281decc
RM
15257 * sysdeps/unix/closedir.c: Renamed to ...
15258 * sysdeps/posix/closedir.c: ... here.
15259 * sysdeps/unix/dirfd.c: Renamed to ...
15260 * sysdeps/posix/dirfd.c: ... here.
15261 * sysdeps/unix/dirstream.h: Renamed to ...
15262 * sysdeps/posix/dirstream.h: ... here.
15263 * sysdeps/unix/fdopendir.c: Renamed to ...
15264 * sysdeps/posix/fdopendir.c: ... here.
15265 * sysdeps/unix/opendir.c: Renamed to ...
15266 * sysdeps/posix/opendir.c: ... here.
15267 * sysdeps/unix/readdir.c: Renamed to ...
15268 * sysdeps/posix/readdir.c: ... here.
15269 * sysdeps/unix/readdir_r.c: Renamed to ...
15270 * sysdeps/posix/readdir_r.c: ... here.
15271 * sysdeps/unix/rewinddir.c: Renamed to ...
15272 * sysdeps/posix/rewinddir.c: ... here.
15273 * sysdeps/unix/seekdir.c: Renamed to ...
15274 * sysdeps/posix/seekdir.c: ... here.
15275 * sysdeps/unix/telldir.c: Renamed to ...
15276 * sysdeps/posix/telldir.c: ... here.
15277 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15278 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15279 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15280 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15281
22895b47
RM
15282 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15283 * bits/fcntl.h: ... here.
15284
707a53b6
RM
15285 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15286 not 0.
15287 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15288 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15289 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15290 (struct flock): Move l_start, l_len to the beginning.
15291 Use __pid_t for l_pid.
15292 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15293 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15294 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15295 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15296 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15297 [__USE_LARGEFILE64] (struct flock64): New type.
15298 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15299
f0bd3e25
RM
15300 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15301 * bits/dirent.h: ... here.
15302
d34689de
RM
15303 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15304 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15305
6dad2c06
JM
153062012-08-07 Joseph Myers <joseph@codesourcery.com>
15307
15308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15309 Change from 2.6.0 to 2.6.16.
15310 * sysdeps/unix/sysv/linux/configure: Regenerated.
15311 * sysdeps/unix/sysv/linux/kernel-features.h
15312 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15313 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15314 version.
15315 (__ASSUME_UTIMES): Likewise.
15316 (__ASSUME_CLONE_STOPPED): Remove.
15317 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15318 architectures, not kernel version.
15319 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15320 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15321 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15322 (__ASSUME_WAITID_SYSCALL): Likewise.
15323 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15324 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15325 * README: State 2.6.16 as minimum Linux kernel version. Do not
15326 refer to older versions.
15327
03af9520
RM
153282012-08-06 Roland McGrath <roland@hack.frob.com>
15329
8e49df1d
RM
15330 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15331 Define alphasort64 as an alias.
15332 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15333 Define versionsort64 as an alias.
15334 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15335 Define scandir64 as an alias.
15336 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15337 Define scandirat64 as an alias.
15338 * dirent/alphasort64.c (alphasort64):
15339 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15340 * dirent/versionsort64.c: Likewise.
15341 * dirent/scandir64.c: Likewise.
15342 * dirent/scandirat64.c: Likewise.
15343 * sysdeps/wordsize-64/alphasort.c: File removed.
15344 * sysdeps/wordsize-64/alphasort64.c: File removed.
15345 * sysdeps/wordsize-64/scandir.c: File removed.
15346 * sysdeps/wordsize-64/scandir64.c: File removed.
15347 * sysdeps/wordsize-64/scandirat.c: File removed.
15348 * sysdeps/wordsize-64/scandirat64.c: File removed.
15349 * sysdeps/wordsize-64/versionsort.c: File removed.
15350 * sysdeps/wordsize-64/versionsort64.c: File removed.
15351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15359
15360 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15362 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15364 [defined __arch64__ || defined __sparcv9]
15365 (__INO_T_MATCHES_INO64_T): New macro.
15366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15367 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15368 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15369 * sysdeps/unix/sysv/linux/bits/dirent.h
15370 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15371 (_DIRENT_MATCHES_DIRENT64): New macro.
15372
03af9520
RM
15373 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15374 Define lockf64 as an alias.
15375 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15376 Define fseeko64 as an alias.
15377 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15378 Define ftello64 as an alias.
15379 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15380 Define _IO_fgetpos64 and fgetpos64 as aliases.
15381 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15382 Define _IO_fsetpos64 and fsetpos64 as aliases.
15383 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15384 Conditionalize body on this.
15385 * libio/fseeko64.c: Likewise.
15386 * libio/ftello64.c: Likewise.
15387 * libio/iofgetpos64.c: Likewise.
15388 * libio/iofsetpos64.c: Likewise.
15389 * sysdeps/wordsize-64/lockf.c: File removed.
15390 * sysdeps/wordsize-64/lockf64.c: File removed.
15391 * sysdeps/wordsize-64/fseeko.c: File removed.
15392 * sysdeps/wordsize-64/fseeko64.c: File removed.
15393 * sysdeps/wordsize-64/ftello.c: File removed.
15394 * sysdeps/wordsize-64/ftello64.c: File removed.
15395 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15396 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15397 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15398 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15405 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15407 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15408 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15409
15410 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15412 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15414 [defined __arch64__ || defined __sparcv9]
15415 (__OFF_T_MATCHES_OFF64_T): New macro.
15416 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15417 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15419 (__OFF_T_MATCHES_OFF64_T): New macro.
15420
c5757acd
L
154212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15422
15423 * stdlib/secure-getenv.c (__secure_getenv): Replace
15424 GLIBC_2_16 with GLIBC_2_17.
15425
3a31811e
L
154262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15427
15428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15430
faa2bccb
DM
154312012-08-03 David S. Miller <davem@davemloft.net>
15432
15433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15434
85fe1997
JM
154352012-08-03 Joseph Myers <joseph@codesourcery.com>
15436
15437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15438 Remove.
15439 (__ASSUME_CORRECT_SI_PID): Likewise.
15440 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15441 (__ASSUME_TMPFS_NAME): Likewise.
15442 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15443 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15444 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15445 (HAVE_AUX_SECURE): Make definition unconditional.
15446 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15447 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15448
4f75b7a0
RM
154492012-08-03 Roland McGrath <roland@hack.frob.com>
15450
15451 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15452 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15453 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15454 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15455 __eloop_threshold instead of SYMLOOP_MAX.
15456
15457 * sysdeps/generic/eloop-threshold.h: New file.
15458 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15459 of MAXSYMLINKS.
15460 * elf/chroot_canon.c (chroot_canon): Likewise.
15461
7aab07e4
JM
154622012-08-03 Joseph Myers <joseph@codesourcery.com>
15463
15464 [BZ #13717]
15465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15466 Change to 2.6.0 everywhere.
15467 * sysdeps/unix/sysv/linux/configure: Regenerated.
15468 * sysdeps/unix/sysv/linux/kernel-features.h
15469 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15470 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15471 kernel versions.
15472 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15473 (__ASSUME_FUTEX_REQUEUE): Remove.
15474 (__ASSUME_STATFS64): Define unconditionally.
15475 (__ASSUME_AT_SECURE): Likewise.
15476 (__ASSUME_CORRECT_SI_PID): Likewise.
15477 (__ASSUME_TGKILL): Define without depending on kernel version for
15478 i386.
15479 (__ASSUME_UTIMES): Likewise.
15480 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15481 kernel version.
15482 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15483 (__ASSUME_TMPFS_NAME): Likewise.
15484 * README: Update reference to Linux kernel versions.
15485
b67e9372
MP
154862012-08-02 Marek Polacek <polacek@redhat.com>
15487
1f529f7d 15488 [BZ# 14150]
b67e9372
MP
15489 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15490 libc_cv_asm_type_prefix with %.
15491 * configure: Regenerated.
d2441631
RM
15492 * include/libc-symbols.h: Remove comment about
15493 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15494 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15495 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15496 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15497 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15498 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15499 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15500 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15501 * elf/tst-unique2mod1.c: Likewise.
15502 * elf/tst-unique1mod2.c: Likewise.
15503 * elf/tst-unique1mod1.c: Likewise.
15504 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15505 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15506 Replace ASM_TYPE_DIRECTIVE with .type.
15507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15508 * sysdeps/i386/sysdep.h: Likewise.
15509 * sysdeps/x86_64/sysdep.h: Likewise.
15510 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15512 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15513 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15514 * sysdeps/powerpc/powerpc32/sysdep.h:
15515 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15517 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15518 * sysdeps/i386/fpu/e_powf.S: Likewise.
15519 * sysdeps/i386/fpu/e_expl.S: Likewise.
15520 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15521 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15522 * sysdeps/i386/fpu/e_pow.S: Likewise.
15523 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15525 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15526 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15527 * sysdeps/i386/fpu/e_log2.S: Likewise.
15528 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15530 * sysdeps/i386/fpu/e_powl.S: Likewise.
15531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15532 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15533 * sysdeps/i386/fpu/e_logl.S: Likewise.
15534 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15535 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15536 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15538 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15539 * sysdeps/i386/fpu/e_log.S: Likewise.
15540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15541 * sysdeps/i386/fpu/e_logf.S: Likewise.
15542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15544 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15545 * sysdeps/i386/fpu/e_log10.S: Likewise.
15546 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15547 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15548 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15549 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15550 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15552 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15553 * sysdeps/i386/i686/strtok.S: Likewise.
15554 * sysdeps/i386/i386-mcount.S: Likewise.
15555 * sysdeps/i386/strtok.S: Likewise.
15556 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15561 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15562 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15563 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15565 * sysdeps/x86_64/_mcount.S: Likewise.
15566 * sysdeps/x86_64/strtok.S: Likewise.
15567 * sysdeps/sh/_mcount.S: Likewise.
15568
2747bf9a
RM
155692012-08-01 Roland McGrath <roland@hack.frob.com>
15570
15571 * libio/iofopen.c: Include <fcntl.h>.
15572 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15573 (_IO_fopen64, fopen64): Define as aliases.
15574 * libio/iofopen64.c: Include <fcntl.h>.
15575 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15576 Conditionalize body on this.
15577 * sysdeps/wordsize-64/iofopen.c: File removed.
15578 * sysdeps/wordsize-64/iofopen64.c: File removed.
15579
3fb791b8
MP
155802012-08-01 Marek Polacek <polacek@redhat.com>
15581
15582 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15583 Use dlfcn directly instead of a variable.
15584 (binfmt-subdir): Do not define.
15585 (dlfcn): Likewise.
15586
a9f1039f
JM
155872012-08-01 Joseph Myers <joseph@codesourcery.com>
15588
23bddc06
JM
15589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15590 Remove all definitions.
15591 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15592 <kernel-features.h>.
15593 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15594 (miss_F_GETOWN_EX): Remove all definitions.
15595 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15596 macro definition.
15597 [!__ASSUME_FCNTL64]: Remove conditional code.
15598 [__ASSUME_FCNTL64]: Make code unconditional.
15599 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15600 <kernel-features.h>.
15601 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15602 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15603 (lockf64) [__NR_fcntl64]: Make code unconditional.
15604 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15605
a9f1039f
JM
15606 * sysdeps/unix/sysv/linux/kernel-features.h
15607 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15608 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15609 Make code unconditional.
15610 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15611 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15613 [__NR_vfork]: Make code unconditional.
15614 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15615 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15617 [__NR_vfork]: Make code unconditional.
15618 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15619 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15620
09c0ee5f
RM
156212012-08-01 Roland McGrath <roland@hack.frob.com>
15622
48aec5b9
RM
15623 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15624 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15625
cd97c966
RM
15626 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15627 Define mkstemp64 as an alias.
3f55550c
RM
15628 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15629 Define mkstemps64 as an alias.
cd97c966
RM
15630 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15631 Define mkostemp64 as an alias.
b8625cfc
RM
15632 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15633 Define mkostemps64 as an alias.
cd97c966
RM
15634 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15635 Conditionalize body on this.
15636 * misc/mkostemp64.c: Likewise.
b8625cfc 15637 * misc/mkostemps64.c: Likewise.
3f55550c 15638 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15639 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15640 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15641 * sysdeps/wordsize-64/mkostemp.c: File removed.
15642 * sysdeps/wordsize-64/mkstemp.c: File removed.
15643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15646 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15647
09c0ee5f
RM
15648 [BZ #14138]
15649 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15651 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15652 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15653
15654 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15655 compat_symbol macros from <shlib-compat.h> rather than the underlying
15656 default_symbol_version and symbol_version macros, so that DEFAULT
15657 lines in shlib-versions are respected.
15658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15659
7e66ee51
FW
156602012-08-01 Florian Weimer <fweimer@redhat.com>
15661
15662 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15663 Declare with warn_unused_result.
15664 (setgid, setregid, setegid, setresgid): Likewise.
15665 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15666 Likewise.
15667 * WUR-REPORT: Remove set*id functions.
15668
d2a54255
PT
156692012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15670
15671 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15672
7ecdb005
RM
156732012-07-31 Roland McGrath <roland@hack.frob.com>
15674
b4180a5e 15675 [BZ #10191]
789bd351
RM
15676 * include/sys/socket.h (__libc_accept, __libc_accept4):
15677 Add attribute_hidden.
15678 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15679
40ce302d
RM
15680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15681 use of PTR_MANGLE.
15682 * inet/getnetgrent_r.c (setup): Likewise.
15683
7ecdb005
RM
15684 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15685
e2eabb2c
DM
156862012-07-31 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15689
d0419dbf
JM
156902012-07-31 Joseph Myers <joseph@codesourcery.com>
15691
15692 [BZ #13629]
15693 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15694 value between 1.0 and 2.0 and smaller part has absolute value less
15695 than 1.0.
15696 * math/s_clog10.c (__clog10): Likewise.
15697 * math/s_clog10f.c (__clog10f): Likewise.
15698 * math/s_clog10l.c (__clog10l): Likewise.
15699 * math/s_clogf.c (__clogf): Likewise.
15700 * math/s_clogl.c (__clogl): Likewise.
15701 * math/libm-test.inc (clog_test): Add more tests.
15702 (clog10_test): Likewise.
15703 * sysdeps/i386/fpu/libm-test-ulps: Update.
15704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15705
2bc13872
FW
157062012-07-31 Florian Weimer <fweimer@redhat.com>
15707
15708 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15709 Exit with zero in case no suitable GID is found, and write a
15710 message to standard error.
15711
bea9b193
RM
157122012-07-30 Roland McGrath <roland@hack.frob.com>
15713
15714 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15715 rather than to 1.
15716 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15717 (MAXPATHLEN): Removed.
15718 (NOGROUP, NODEV): New macros.
15719 (setbit, clrbit, isset, isclr): New macros.
15720 (howmany, roundup, powerof2): New macros.
15721 (DEV_BSIZE): New macro.
15722
15723 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15724 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15725
15726 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15727 definition on [!__NO_LONG_DOUBLE_MATH].
15728
15729 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15730 PTR_MANGLE and PTR_DEMANGLE.
15731
15732 * socket/accept4.c (accept4): Rename to __libc_accept4.
15733 Define accept4 as a weak alias.
15734
15735 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15736 on [_DIRENT_HAVE_D_TYPE].
15737 * io/ftw.c (ftw_dir): Likewise.
15738
15739 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15740
15741 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15742
15743 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15744 Use the BSD numbers rather than the arbitrary ones we had.
15745 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15746 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15747 (SIGXCPU, SIGXFSZ): New macros.
15748 (_NSIG): Now 32.
15749
15750 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15751 initializer on [_LIBC_REENTRANT].
15752
15753 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15754 definitions inside [_POSIX_MAPPED_FILES].
15755
15756 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15757
15758 * dirent/opendir.c: Include <fcntl.h>.
15759
15760 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15761 (__libc_getspecific): Likewise.
15762 (__libc_key_create): Likewise.
15763
15764 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15765 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15766 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15767 (tmpfile64): Define as alias.
15768 * sysdeps/wordsize-64/tmpfile.c: File removed.
15769 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15772
15773 * stdio-common/vfscanf.c: Include <stdbool.h>.
15774 * nss/makedb.c: Likewise.
15775 * stdio-common/_i18n_number.h: Likewise.
15776 * argp/argp-help.c: Likewise.
15777 * posix/wordexp.c: Likewise.
15778 * sysdeps/posix/spawni.c: Likewise.
15779 * nss/nss_files/files-initgroups.c: Likewise.
15780 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15781 * nss/nss_files/files-initgroups.c: Likewise.
15782 * nss/nss_db/db-netgrp.c: Likewise.
15783 * nss/nss_db/db-initgroups.c: Likewise.
15784 * io/fchmodat.c: Include <sys/stat.h>.
15785
15786 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15787 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15788
15789 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15790 [HAVE_MMAP].
15791
15792 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15793 Add multiple inclusion protection.
15794
e5abc686
DM
157952012-07-27 David S. Miller <davem@davemloft.net>
15796
15797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15798
815e6fa3
GB
157992012-07-27 Gary Benson <gbenson@redhat.com>
15800
15801 [BZ #14298]
15802 * elf/rtld.c: Include <stap-probe.h>.
15803 (dl_main): Added static probes "init_start" and "init_complete".
15804 * elf/dl-load.c: Include <stap-probe.h>.
15805 (lose): Take new parameter "nsid".
15806 Added static probe "map_failed".
15807 (_dl_map_object_from_fd): Pass namespace id to lose.
15808 Added static probe "map_start".
15809 (open_verify): Pass namespace id to lose.
15810 * elf/dl-open.c: Include <stap-probe.h>.
15811 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15812 and "reloc_complete".
15813 * elf/dl-close.c: Include <stap-probe.h>.
15814 (_dl_close_worker): Added static probes "unmap_start" and
15815 "unmap_complete".
15816 * elf/rtld-debugger-interface.txt: New file documenting the above.
15817
9f98c16c
RM
158182012-07-26 Roland McGrath <roland@hack.frob.com>
15819
15820 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15821 rather than a string variable.
15822 * sunrpc/rpc_main.c (h_output): Likewise.
15823 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15824
f3c22df3
PT
158252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15826
15827 * inet/check_native.c: New file.
15828
3129cfc6
JM
158292012-07-26 Joseph Myers <joseph@codesourcery.com>
15830
da865e95
JM
15831 [BZ #13629]
15832 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15833 if larger part has absolute value 1.0.
15834 * math/s_clog10.c (__clog10): Likewise.
15835 * math/s_clog10f.c (__clog10f): Likewise.
15836 * math/s_clog10l.c (__clog10l): Likewise.
15837 * math/s_clogf.c (__clogf): Likewise.
15838 * math/s_clogl.c (__clogl): Likewise.
15839 * math/libm-test.inc (clog_test): Add more tests.
15840 (clog10_test): Likewise.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15843
3129cfc6
JM
15844 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15845 (pltexit): Likewise.
15846 (La_regs): Likewise.
15847 (La_retval): Likewise.
15848 (int_retval): Likewise.
15849 Update #error for removed macros to refer only to definitions in
15850 tst-audit.h.
15851 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15852 macro.
15853 (pltexit): Likewise.
15854 (La_regs): Likewise.
15855 (La_retval): Likewise.
15856 (int_retval): Likewise.
15857 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
15882 macro.
15883 (pltexit): Likewise.
15884 (La_regs): Likewise.
15885 (La_retval): Likewise.
15886 (int_retval): Likewise.
15887 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15888 macro definitions in tst-audit.h.
15889 * sysdeps/i386/tst-audit.h: New file.
15890 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15891 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15892 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15893 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15894 * sysdeps/sh/tst-audit.h: Likewise.
15895 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15896 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15897 * sysdeps/x86_64/tst-audit.h: Likewise.
15898
bfc07087
AJ
158992012-07-26 Andreas Jaeger <aj@suse.de>
15900
b1b2aaf8
AJ
15901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15902 ptrace.
15903
15904 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15905 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15906 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15907 PTRACE_O_MASK.
15908 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15909 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15910 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15911
bfc07087
AJ
15912 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15913 value.
15914
15915 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15916 _sigsys.
15917 (si_call_addr, si_syscall, si_arch): Define new macro.
15918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15919 _sigsys.
15920 (si_call_addr, si_syscall, si_arch): Define new marcro.
15921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15922 _sigsys.
15923 (si_call_addr, si_syscall, si_arch): Define new macro.
15924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15925 _sigsys.
15926 (si_call_addr, si_syscall, si_arch): Define new macro.
15927
89b4b02f
JM
159282012-07-25 Joseph Myers <joseph@codesourcery.com>
15929
15930 [BZ #13717]
15931 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15932 Change to 2.4.21 where previously 2.4.1.
15933 * sysdeps/unix/sysv/linux/configure: Regenerated.
15934 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15935 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15936 Linux kernel version.
15937 (__ASSUME_STD_AUXV): Remove.
15938 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15939 kernel version.
15940 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15941 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15942 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15943 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15944 (__ASSUME_NETLINK_SUPPORT): Likewise.
15945 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15946 (__no_netlink_support): Remove conditional definition.
15947 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15948 Remove.
15949 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15950 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15951 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15952 (if_nameindex_ioctl): Remove.
15953 (if_nameindex_netlink): Do not handle __no_netlink_support.
15954 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15955 code.
15956 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15957 Remove conditional code.
15958 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15959 code.
15960 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15961 unconditional.
15962 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15963 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15964 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15965 Remove.
15966 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15967 [!__ASSUME_STD_AUXV]: Remove conditional code.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15969 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15970 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15972 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15973 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15974 code.
15975 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15977 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15978 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15979 conditional code.
15980 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15982 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15983 code.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15986 conditional code.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15988 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15989 code unconditional.
15990 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15991 conditional code.
15992 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15993 unconditional.
15994 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15995 conditional code.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15997 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15998 unconditional.
15999 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16000 conditional code.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16002 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16003 code unconditional.
16004 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16005 conditional code.
16006 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16007 unconditional.
16008 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16009 conditional code.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16011 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16012 code unconditional.
16013 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16014 conditional code.
16015 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16016 unconditional.
16017 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16018 conditional code.
16019
842a39cd
AS
160202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16021
16022 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16024 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16025 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16026 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16027 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16028 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16029 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16030 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16031 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16032 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16033 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16034 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16035 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16045
84b3fd84
FW
160462012-07-25 Florian Weimer <fweimer@redhat.com>
16047
16048 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16049 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16050 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16051 Introduce __libc_secure_getenv.
0c7936d5
FW
16052 * stdlib/Versions (2.17): Add secure_getenv
16053 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16054 * stdlib/secure-getenv.c: Rename __secure_getenv to
16055 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16056 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16057 * stdlib/tst-secure-getenv.c: New.
16058 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16059 * manual/startup.texi (Environment Access): Document
16060 secure_getenv.
84b3fd84
FW
16061 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16062 __libc_secure_getenv.
16063 * inet/ruserpass.c (ruserpass): Likewise.
16064 * malloc/mtrace.c (mtrace): Likewise.
16065 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16066 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16067 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16068 * sysdeps/posix/tempname.c: Likewise. Evaluate
16069 HAVE_SECURE_GETENV.
16070 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16071 __secure_getenv to __libc_secure_getenv.
84b3fd84 16072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16074 Likewise.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16076 Likewise.
16077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16084
56e49b71
JM
160852012-07-25 Joseph Myers <joseph@codesourcery.com>
16086
16087 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16088 (struct La_i86_retval): Likewise.
16089 (struct La_x86_64_regs): Likewise.
16090 (struct La_x86_64_retval): Likewise.
16091 (struct La_x32_regs): Likewise.
16092 (struct La_x32_retval): Likewise.
16093 (struct La_ppc32_regs): Likewise.
16094 (struct La_ppc32_retval): Likewise.
16095 (struct La_ppc64_regs): Likewise.
16096 (struct La_ppc64_retval): Likewise.
16097 (struct La_sh_regs): Likewise.
16098 (struct La_sh_retval): Likewise.
16099 (struct La_s390_32_regs): Likewise.
16100 (struct La_s390_32_retval): Likewise.
16101 (struct La_s390_64_regs): Likewise.
16102 (struct La_s390_64_retval): Likewise.
16103 (struct La_sparc32_regs): Likewise.
16104 (struct La_sparc32_retval): Likewise.
16105 (struct La_sparc64_regs): Likewise.
16106 (struct La_sparc64_retval): Likewise.
16107 (struct audit_ifaces): Remove architecture-specific pltenter and
16108 pltexit members.
16109 * sysdeps/i386/ldsodefs.h: New file.
16110 * sysdeps/powerpc/ldsodefs.h: Likewise.
16111 * sysdeps/s390/ldsodefs.h: Likewise.
16112 * sysdeps/sh/ldsodefs.h: Likewise.
16113 * sysdeps/sparc/ldsodefs.h: Likewise.
16114 * sysdeps/x86_64/ldsodefs.h: Likewise.
16115
354691b7
MP
161162012-07-25 Marek Polacek <polacek@redhat.com>
16117
16118 [BZ #6808]
16119 * math/libm-test.inc (yn_test): Add another test.
16120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16121 to ERANGE when the result is +-Inf.
16122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16123 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16124 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16126
bf9e2071
JM
161272012-07-24 Joseph Myers <joseph@codesourcery.com>
16128
16129 * conform/data/time.h-data (NULL): Use macro-constant. Require
16130 equal to 0.
16131 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16132 clock_t.
16133 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16134
57633811
TS
161352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16136
16137 * configure.in <sysdeps resolving>: Correct printing
16138 Implies_before.
16139 * configure: Regenerate.
16140
c23c33b0
TS
161412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16142
16143 * math/w_ilogb.c: Include <limits.h>.
16144 * math/w_ilogbl.c: Likewise.
16145
b5982523
JM
161462012-07-20 Joseph Myers <joseph@codesourcery.com>
16147
16148 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16149 va_copy. Document allowing for unavailable va_copy only as
16150 pre-C99 compatibility.
16151 * manual/string.texi (Copying and Concatenation): Use va_copy
16152 instead of __va_copy in concat example.
16153
ac4ea442
PT
161542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16155
16156 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16157 (__sendto): Use create_address_port. Initialize APORT and deallocate
16158 it if not null.
16159
f98eafbd
PT
16160 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16161 with O_NOLINK passed to __file_name_lookup.
16162
898c7aab
PT
16163 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16164 with O_NOLINK passed to __file_name_lookup.
16165
0ced335a
PT
16166 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16167 negative N or less than NGIDS.
16168
b3404dbd
PT
16169 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16170 type to string_t. Set ERANGE as errno and return it if NAME is not big
16171 enough. Use memcpy instead of strncpy.
16172
0f48659e
JM
161732012-07-20 Joseph Myers <joseph@codesourcery.com>
16174
16175 * elf/Makefile (check-data): Remove.
16176 (localplt.data): New vpath directive.
16177 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16178 instead of $(check-data).
16179 * scripts/data/localplt-generic.data: Move to ...
16180 * sysdeps/generic/localplt.data: ... here.
16181 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16183 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16185 ... here.
16186 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16188 ... here.
16189 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16191 ... here.
16192 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16194 ... here.
16195 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16197 ... here.
16198 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16200 ... here.
16201
d37cbdaa
AZ
162022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203
16204 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16205 PPC32 and PPC64 files.
16206 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16207 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16208
46f85fc2
AK
162092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16210
16211 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16212 __makecontext_ret to ...
16213 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16214 ... here and call exit if uc_link is NULL. New file.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16216 __makecontext_ret.S.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16218 __makecontext_ret to ...
16219 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16220 ... here and call exit if uc_link is NULL. New file.
16221 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16222 __makecontext_ret.S.
16223
08f43f9b
AK
162242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16225
16226 * elf/elf.h (R_390_IRELATIVE): New definition.
16227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16228 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16229 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16231 (elf_machine_lazy_rel): Likewise.
16232 * sysdeps/s390/dl-irel.h: New file.
16233 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16234 * sysdeps/s390/s390-64/memset.S: New asm code.
16235 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16236 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16238 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16239 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16240 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16242 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16243 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16244 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16245 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16246 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16247 * sysdeps/s390/s390-32/memset.S: New asm code.
16248 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16249
3b05db33
MP
162502012-07-17 Marek Polacek <polacek@redhat.com>
16251
16252 [BZ #14349]
16253 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16254 * sysdeps/s390/s390-64/configure.in: Likewise.
16255 * sysdeps/sparc/configure.in: Likewise.
16256 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16257 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16258 * sysdeps/i386/configure.in: Likewise.
16259 * sysdeps/x86_64/configure.in: Likewise.
16260 * sysdeps/sh/configure.in: Likewise.
16261 * sysdeps/s390/s390-32/configure: Regenerated.
16262 * sysdeps/s390/s390-64/configure: Likewise.
16263 * sysdeps/x86_64/configure: Likewise.
16264 * sysdeps/sh/configure: Likewise.
16265 * sysdeps/powerpc/powerpc64/configure: Likewise.
16266 * sysdeps/powerpc/powerpc32/configure: Likewise.
16267 * sysdeps/sparc/configure: Likwise.
16268 * sysdeps/i386/configure: Likewise.
16269
a66877c6
MP
16270 * elf/dl-open.c: Comment fixes.
16271
cfc82fd8
JM
162722012-07-17 Joseph Myers <joseph@codesourcery.com>
16273
bd29910a
JM
16274 * Makefile [CXX] (check-data): Remove.
16275 [CXX] (c++-types.data): New vpath directive.
16276 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16277 vpath. Do not allow for C++ type data being missing.
16278 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16279 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16280 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16281 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16282 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16283 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16284 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16286 ... here.
16287 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16289 ... here.
16290 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16292 ... here.
16293 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16295 ... here.
16296 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16298 ... here.
16299 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16301 ... here.
16302 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16304 ... here.
16305 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16307
cfc82fd8
JM
16308 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16309 definitions to architecture-specific files.
16310 (TLS_IE): Likewise.
16311 (TLS_LD): Likewise.
16312 (TLS_GD): Likewise.
16313 * sysdeps/i386/tls-macros.h: New file.
16314 * sysdeps/powerpc/tls-macros.h: Likewise.
16315 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16316 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16317 * sysdeps/sh/tls-macros.h: Likewise.
16318 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16319 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16320 * sysdeps/x86_64/tls-macros.h: Likewise.
16321
f7db3170
TS
163222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16323
07cbfc23
TS
16324 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16325 zero value for regular exit case.
16326
f7db3170
TS
16327 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16328 (__start_context): Preserve zero value for regular exit case.
16329
dc97c227
TS
163302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16331 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16332
16333 * manual/setjmp.texi (setcontext): Clarify normal process
16334 termination when uc_link is the null pointer.
16335 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16336 exit call.
16337
d0cd7d02
AS
163382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16339
16340 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16341 preprocessor. Test for each exception mask separately.
16342
dd318934
AJ
163432012-07-16 Andreas Jaeger <aj@suse.de>
16344
16345 * po/ru.po: Update from translation team.
16346
8048311a
JM
163472012-07-15 Joseph Myers <joseph@codesourcery.com>
16348
16349 * conform/data/string.h-data (NULL): Use macro-constant. Require
16350 equal to 0.
16351 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16352 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16353 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16354 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16356
b637d46e
AJ
163572012-07-13 Andreas Jaeger <aj@suse.de>
16358
16359 * po/fr.po: Update from translation team.
16360
541428fe
MP
163612012-07-12 Marek Polacek <polacek@redhat.com>
16362
16363 [BZ #14173]
16364 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16366 loop condition.
16367
ec332e94
JM
163682012-07-12 Joseph Myers <joseph@codesourcery.com>
16369
16370 [BZ #13717]
16371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16372 Change to 2.4.1 where previously 2.4.0.
16373 * sysdeps/unix/sysv/linux/configure: Regenerated.
16374 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16375 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16376 version.
16377 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16378 (__ASSUME_AT_CLKTCK): Remove.
16379 (__ASSUME_AT_PAGESIZE): Likewise.
16380 (__ASSUME_AT_XID): Likewise.
16381 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16382 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16383 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16384 unconditionally.
16385 (HAVE_AUX_PAGESIZE): Likewise.
16386 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16387 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16388 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16389
7b6e99be
JB
163902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16391
16392 [BZ #14307]
16393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16394 the temporary buffer used to invoke __gethostbyname2_r,
16395 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16396 host_data / struct gaih_addrtuple.
16397 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16398 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16399 header file nss/nsswitch.h.
16400 * nss/nsswitch.h (global scope): Add definition of implementation
16401 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16402 resolv/nss_dns/dns-host.c).
16403
608404eb
AJ
164042012-07-11 Andreas Jaeger <aj@suse.de>
16405
16406 * po/fr.po: Update from translation team.
16407
71220aca
AJ
16408 * po/sv.po: Update from translation team
16409 * po/fr.po: Another update from translation team.
16410
28cfe843
AZ
164112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16412
16413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16414 for subnormals or multiply small sinh result by itself.
16415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16417
6b90f981
DM
164182012-07-11 David S. Miller <davem@davemloft.net>
16419
16420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16421
c6825772
AS
164222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16423
16424 [BZ #14347]
16425 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16426 (INTERNAL_MARK): Shift it here.
16427
7b8e0d49
MP
164282012-07-10 Marek Polacek <polacek@redhat.com>
16429
16430 [BZ #14151]
16431 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16432 libc_cv_asm_global_directive with .globl.
16433 * configure: Regenerated.
16434 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16435 with .globl.
16436 * sysdeps/i386/configure: Regenerated.
16437 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16438 with .globl.
16439 * sysdeps/x86_64/configure: Regenerated.
16440 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16441 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16442 * elf/tst-unique2mod2.c: Likewise.
16443 * elf/tst-unique2mod1.c: Likewise.
16444 * elf/tst-unique1mod2.c: Likewise.
16445 * elf/tst-unique1mod1.c: Likewise.
16446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16450 * sysdeps/mach/sysdep.h: Likewise.
16451 * sysdeps/i386/sysdep.h: Likewise.
16452 * sysdeps/i386/i386-mcount.S: Likewise.
16453 * sysdeps/x86_64/_mcount.S: Likewise.
16454 * sysdeps/x86_64/sysdep.h: Likewise.
16455 * sysdeps/sh/_mcount.S: Likewise.
16456 * sysdeps/sh/sysdep.h: Likewise.
16457 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16458 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16459 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16461 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16463 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16464 * locale/localeinfo.h: Likewise.
16465 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16466 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16467
6c55cda3
RM
164682012-07-09 Roland McGrath <roland@hack.frob.com>
16469
16470 [BZ #14336]
16471 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16472 system".
16473 * manual/message.texi (The Uniforum approach): Likewise.
16474 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16475 (glibc iconv Implementation): Likewise.
16476
638a572e
JM
164772012-07-09 Joseph Myers <joseph@codesourcery.com>
16478
16479 [BZ #14337]
16480 * math/s_clog.c (__clog): Avoid scaling a value down where that
16481 could result in underflow.
16482 * math/s_clog10.c (__clog10): Likewise.
16483 * math/s_clog10f.c (__clog10f): Likewise.
16484 * math/s_clog10l.c (__clog10l): Likewise.
16485 * math/s_clogf.c (__clogf): Likewise.
16486 * math/s_clogl.c (__clogl): Likewise.
16487 * math/libm-test.inc (clog_test): Add more tests.
16488 (clog10_test): Likewise.
16489 * sysdeps/i386/fpu/libm-test-ulps: Update.
16490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491
261f4859
AS
164922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16493
0abaf3e4
AS
16494 [BZ #14283]
16495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16496 by 7 not 8 to examine high bit of fractional part.
16497
261f4859
AS
16498 [BZ #14042]
16499 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16500 for call to __mcount_internal.
16501 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16502 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16503 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16504
f17ac40d
JM
165052012-07-06 Joseph Myers <joseph@codesourcery.com>
16506
9ad63c23
JM
16507 [BZ #14154]
16508 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16509 approximation for values within 0x1p-13f of an odd multiple of
16510 pi/4.
16511 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16512 exception. Add more tests.
16513 * sysdeps/i386/fpu/libm-test-ulps: Update.
16514
f17ac40d
JM
16515 [BZ #6778]
16516 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16517 inputs and return -1 for them. Do not check for +Inf in case not
16518 reachable for +Inf.
16519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16520 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16522 and return -1 for them. Do not check for +Inf in case not
16523 reachable for +Inf.
16524 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16525 define.
16526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16527 and return -1 for them. Do not check for +Inf in case not
16528 reachable for +Inf.
16529 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16530 spurious underflow.
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16533
fb21f89b
MF
165342012-07-06 Mike Frysinger <vapier@gentoo.org>
16535
16536 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16537
cdfe2c5e
JM
165382012-07-05 Joseph Myers <joseph@codesourcery.com>
16539
16540 [BZ #14157]
16541 [BZ #14331]
16542 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16543 could result in spurious underflow. Scale down values above
16544 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16545 * math/s_csqrtf.c (__csqrtf): Likewise.
16546 * math/s_csqrtl.c (__csqrtl): Likewise.
16547 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16548 spurious underflow.
16549 * sysdeps/i386/fpu/libm-test-ulps: Update.
16550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16551
70d35b67
AS
165522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16553
704bc459
AS
16554 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16555 xopen-msg.sed.
16556 * catgets/xopen-msg.awk: New file.
16557 * catgets/xopen-msg.sed: Removed.
16558
70d35b67
AS
16559 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16560 po2text.sed.
16561 * intl/po2test.awk: New file.
16562 * intl/po2test.sed: Removed.
16563
ca61cf32
JM
165642012-07-04 Joseph Myers <joseph@codesourcery.com>
16565
16566 [BZ #14328]
16567 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16568 or multiply small sinh result by itself.
16569 * math/s_ctanf.c (__ctanf): Likewise.
16570 * math/s_ctanh.c (__ctanh): Likewise.
16571 * math/s_ctanhf.c (__ctanhf): Likewise.
16572 * math/s_ctanhl.c (__ctanhl): Likewise.
16573 * math/s_ctanl.c (__ctanl): Likewise.
16574 * math/libm-test.inc (ctan_test_tonearest): New function.
16575 (ctan_test_towardzero): Likewise.
16576 (ctan_test_downward): Likewise.
16577 (ctan_test_upward): Likewise.
16578 (ctanh_test_tonearest): Likewise.
16579 (ctanh_test_towardzero): Likewise.
16580 (ctanh_test_downward): Likewise.
16581 (ctanh_test_upward): Likewise.
16582 (main): Call these new functions.
16583 * sysdeps/i386/fpu/libm-test-ulps: Update.
16584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585
ca48a46a
MF
165862012-07-03 Mike Frysinger <vapier@gentoo.org>
16587
16588 * .gitignore: Delete /ports entry.
16589
9d63d37d
AJ
165902012-07-03 Andreas Jaeger <aj@suse.de>
16591
16592 * po/bg.po: Update from translation team.
16593 * po/cs.po: Likewise.
16594 * po/de.po: Likewise.
16595 * po/hr.po: Likewise.
16596 * po/nl.pl: Likewise.
16597 * po/pl.po: Likewise.
16598 * po/vi.po: Likewise.
16599
370ca3d2
JM
166002012-07-03 Joseph Myers <joseph@codesourcery.com>
16601
95f5a9a8
JM
16602 * Makeconfig [!+link] (+link-before-libc): New variable.
16603 [!+link] (+link-after-libc): Likewise.
16604 [!+link] (+link-tests): Likewise.
16605 [!+link] (+link): Define in terms of $(+link-before-libc) and
16606 $(+link-after-libc).
16607 [!+link-static] (+link-static-before-libc): New variable.
16608 [!+link-static] (+link-static-after-libc): Likewise.
16609 [!+link-static] (+link-static-tests): Likewise.
16610 [!+link-static] (+link-static): Define in terms of
16611 $(+link-static-before-libc) and $(+link-static-after-libc).
16612 [build-shared] (link-libc-before-gnulib): New variable.
16613 [build-shared] (link-libc-tests): Likewise.
16614 [build-shared] (link-libc): Define in terms of
16615 $(link-libc-before-gnulib).
16616 [!build-shared] (link-libc-tests): New variable.
16617 (link-libc-static-tests): New variable.
16618 [!gnulib] (gnulib-arch): New variable.
16619 [!gnulib] (gnulib-tests): Likewise.
16620 [!gnulib] (static-gnulib-arch): Likewise.
16621 [!gnulib] (static-gnulib-tests): Likewise.
16622 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16623 Define with "=" instead of ":=".
16624 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16625 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16626 * Rules (binaries-all-notests): New variable.
16627 (binaries-all-tests): Likewise.
16628 (binaries-static-notests): Likewise.
16629 (binaries-static-tests): Likewise.
16630 (binaries-all): Define using $(binaries-all-notests) and
16631 $(binaries-all-tests).
16632 (binaries-static): Define using $(binaries-static-notests) and
16633 $(binaries-static-tests).
16634 (binaries-shared-tests): New variable.
16635 (binaries-shared-notests): Likewise.
16636 (binaries-shared): Remove variable.
16637 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16638 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16639 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16640 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16641 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16642 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16643 * elf/Makefile (sln-modules): New variable.
16644 (extra-objs): Add $(sln-modules:=.o).
16645 (ldconfig-modules): Add static-stubs.
16646 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16647 * elf/static-stubs.c: New file.
16648
7a845b2c
JM
16649 [BZ #14283]
16650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16651 by 7 not 8 to examine high bit of fractional part. Use volatile
16652 variables when splitting into final array of floats if
16653 __FLT_EVAL_METHOD__ != 0.
16654 * math/libm-test.inc (cos_test): Add another test.
16655 (sin_test): Likewise.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657
e2283f38
JM
16658 [BZ #14273]
16659 * math/libm-test.inc (cosh_test): Add more tests.
16660
370ca3d2
JM
16661 * version.h (RELEASE): Set to "development".
16662 (VERSION): Set to "2.16.90".
16663
ee9247c3
CD
166642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16665
16666 * NEWS: Update copyright. Remove last-updated date.
16667 Mention math library bug fixes and timezone data changes.
16668 * README: Mention GNU/Hurd, x32, and HPPA support status.
16669
4648c381
TS
166702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16671
16672 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16673
aac78a43
AJ
166742012-06-27 Andreas Jaeger <aj@suse.de>
16675
16676 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16677
ed3dbfad
AJ
166782012-06-25 Andreas Jaeger <aj@suse.de>
16679
16680 * sysdeps/s390/fpu/libm-test-ulps: Update.
16681
4d0ee855
AS
166822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16683 Thomas Schwinge <thomas@codesourcery.com>
16684
16685 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16686 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16688 fanotify_mark.
16689
af1bce34
TS
166902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16691
a9fa33ba
TS
16692 * sysdeps/mach/start.c: Remove file.
16693 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16694 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16695 * sysdeps/sh/init-first.c: Likewise.
16696
58f902b8
TS
16697 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16698 registers for frame unwinding purposes, add CFI directives.
16699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16701 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16702 Likewise.
16703
1518f58b
TS
16704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16705 __fortify_fail returning.
16706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16707
db9b5059
TS
16708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16709 sysdeps/sh/____longjmp_chk.S.
16710 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16711 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16712 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16713 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16714
967705fe
TS
16715 * sysdeps/sh/abort-instr.h: New file.
16716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16717 process in case exit returns.
16718
a9def8c4
TS
16719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16720 initialize the GOT register before use.
16721
2a649725
TS
16722 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16723 calculation of ARGC > 4.
16724
af1bce34
TS
16725 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16726 meaningful names to some local labels.
16727
d230f50a
KK
167282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16729 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16730
16731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16732 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16733 (__arch_compare_and_exchange_val_16_acq): Likewise.
16734 (__arch_compare_and_exchange_val_32_acq): Likewise.
16735 (atomic_exchange_and_add): Fix gUSA sequence.
16736 (atomic_add): Likewise.
16737 (atomic_add_negative): Likewise.
16738 (atomic_add_zero): Likewise.
16739 (atomic_bit_test_set): Likewise.
16740
0479b305
AS
167412012-06-22 Andreas Schwab <schwab@redhat.com>
16742
16743 [BZ #13579]
16744 * include/link.h (struct link_map): Add l_free_initfini.
16745 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16746 l_initfini.
16747 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16748 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16749 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16750 set.
16751
0e3933b9
CD
167522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16753
16754 * configure.in: Use AC_LANG_SOURCE.
16755 * configure: Regenerate.
16756
4248b1b1
RM
167572012-06-22 Roland McGrath <roland@hack.frob.com>
16758
16759 * configure.in (libc_cv_localstatedir): New substituted variable.
16760 * configure: Regenerated.
16761 * config.make.in (localstatedir): New variable, substituted from
16762 libc_cv_localstatedir.
16763 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16764 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16765 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16766 * sysdeps/gnu/configure: Regenerated.
16767
006dd861
JL
167682012-06-21 Jeff Law <law@redhat.com>
16769
16770 [BZ #14277]
16771 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16772 free. Simplify list management for _LIBC case.
16773
79662d42
JM
167742012-06-21 Joseph Myers <joseph@codesourcery.com>
16775
b7abb4bf
JM
16776 [BZ #14273]
16777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16778 Clear sign bit of 64-bit integer value before comparing against
16779 overflow value.
16780
79662d42
JM
16781 * sysdeps/mach/configure: Regenerated.
16782
1f150908
L
167832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16784
16785 [BZ #14278]
16786 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16787
28363bbf
JL
167882012-06-21 Jeff Law <law@redhat.com>
16789
16790 [BZ #13882]
16791 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16792 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16794 * elf/dl-open.c (dl_open_worker): Likewise.
16795
09615db4
CD
167962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16797
16798 * scripts/list-sources.sh: Scan PORTS for translations.
16799 * po/libc.pot: Regenerated.
16800
2174c6dd
AJ
168012012-06-21 Andreas Jaeger <aj@suse.de>
16802
16803 [BZ #12194]
16804 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16805 warning.
16806 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16807 * bits/byteswap-16.h (__bswap_16): Likewise.
16808 * bits/byteswap.h (__bswap_constant_16): Likewise.
16809
3ee947b1
L
168102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16811
16812 [BZ #14117]
a2f34833
L
16813 * sysdeps/i386/fpu_control.h: Removed.
16814 * sysdeps/x86_64/fpu_control.h: Moved to ...
16815 * sysdeps/x86/fpu_control.h: Here.
16816
3ee947b1
L
16817 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16818 (_FPU_SETCW): Likewise.
16819
ed1825f8
L
168202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16821
25f1282a
L
16822 [BZ #14117]
16823 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16824 * sysdeps/x86/fpu/bits/mathinline.h: This.
16825 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16826
ed1825f8
L
16827 [BZ #14050]
16828 [BZ #14117]
16829 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16830 functions if __x86_64__ is defined.
16831
36d54b74
CLT
168322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16833
16834 * string/endian.h: Add !__ASSEMBLER__ condition for including
16835 conversion interfaces.
16836
10285c21
JM
168372012-06-15 Joseph Myers <joseph@codesourcery.com>
16838
16839 [BZ #14241]
16840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16841 of ABS(x) in calculating zero to negative powers other than odd
16842 integers.
16843 * math/libm-test.inc (pow_test): Add more tests.
16844
06c5abbd
AJ
168452012-06-15 Andreas Jaeger <aj@suse.de>
16846
16847 * manual/contrib.texi (Contributors): Update entry of Liubov
16848 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16849 Machado Filho.
16850
a3aeac40
CH
168512012-06-15 Cyril Hrubis <metan@ucw.cz>
16852
16853 * string/string.h: Add __wur to GNU version of strerror_r.
16854
49bdf4c1
L
168552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16856
16857 [BZ #14229]
16858 * string/Makefile (tests): Add tst-strtok_r.
16859 * string/tst-strtok_r.c: New file.
16860 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16861 RAX_LP/RDX_LP on SAVE_PTR.
16862
834f9b8d
RM
168632012-06-14 Roland McGrath <roland@hack.frob.com>
16864
16865 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16866
75fa1921
JM
168672012-06-14 Joseph Myers <joseph@codesourcery.com>
16868
16869 * libm_test.inc (csqrt_test): Allow more spurious underflow
16870 exceptions.
16871 (j0_test): Likewise.
16872 (j1_test): Likewise.
16873 (y0_test): Likewise.
16874 (y1_test): Likewise.
16875
771766df
CD
168762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16877
16878 * po/Makefile (libc.pot): Use UTF-8 charset.
16879
ceb9e56b
PP
168802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16881
16882 [BZ #14210]
16883 Suppress sign-conversion warning from FD_SET.
16884 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16885 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16886 not unsigned long int.
16887 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16888
ddb28975
L
168892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16890
16891 [BZ #14050]
16892 [BZ #14117]
16893 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16894 __extern_always_inline instead of __extern_inline.
16895 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16896 (__signbit): Likewise.
16897 (__signbitl): Support C++ namespace.
16898 (lrintf): New inline function.
16899 (lrint): Likewise.
16900 (llrintf): Likewise.
16901 (llrint): Likewise.
16902 (fmaxf): Likewise.
16903 (fmax): Likewise.
16904 (fminf): Likewise.
16905 (fmin): Likewise.
16906 (rint): Likewise.
16907 (rintf): Likewise.
16908 (ceil): Likewise.
16909 (ceilf): Likewise.
16910 (floor): Likewise.
16911 (floorf): Likewise.
16912 (nearbyint): Likewise.
16913 (nearbyintf): Likewise.
16914
d7b4fb26
TS
169152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16916
16917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16918 non-default versions.
16919
eb55f5c2
RM
169202012-06-11 Roland McGrath <roland@hack.frob.com>
16921
16922 [BZ #14218]
16923 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16924
366af02c
TS
169252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16926
99ff6e5c
TS
16927 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16928 (FE_UPWARD, FE_DOWNWARD): Don't define.
16929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16931
366af02c
TS
16932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16933 reading it.
16934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16936
793ea851
KK
169372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16938
16939 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16943
a728a38f
L
169442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 [BZ #14117]
c08010c7
L
16947 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16948 * sysdeps/i386/fpu/Implies: New file.
16949 * sysdeps/x86_64/fpu/Implies: Likewise.
16950 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16951 * sysdeps/x86/fpu/bits/fenv.h: This.
16952
a728a38f
L
16953 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16954 __SSE_MATH__.
16955
6e230d11
SP
169562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16957
16958 [BZ #14134]
16959 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16960 character 0xffff that matches the last element of the
16961 conversion table.
16962
1b671feb
AZ
169632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16964
16965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16966 fmodl commit.
16967
6043738b
AZ
169682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16969
16970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16971 values higher than 25.6283.
16972
34ae0b32
AZ
169732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16974
16975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16976 subnormal exponent extraction and add some __builtin_expect.
16977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16978 Fix for subnormal mantissa calculation.
16979
1214ec8f
MF
169802012-06-04 Mike Frysinger <vapier@gentoo.org>
16981
16982 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16983 cpu2 is -1 and errno is not ENOSYS.
16984
f3d1f93c
L
169852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 [BZ #14117]
0e4a3cd7
L
16988 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16989 * sysdeps/x86/bits/string.h: This.
16990 * sysdeps/x86_64/bits/string.h: Removed.
16991
6704c645
L
16992 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16993 if not compiling for x86-64, but compiling for >= i486.
16994
48495318
L
16995 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16996 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16997
14adcbfc
L
16998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16999 New macro from Linux kernel 3.4.0.
17000 (FP_XSTATE_MAGIC2): Likewise.
17001 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17002 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17003 (struct _fpx_sw_bytes): New struct.
17004 (struct _xsave_hdr): Likewise.
17005 (struct _ymmh_state): Likewise.
17006 (struct _xstate): Likewise.
17007
68e408ab
L
17008 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17009 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17011 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17013 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17014
f3d1f93c
L
17015 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17017 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17018 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17019 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17020 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17021
d9dc34cd
TMQMF
170222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17023
17024 [BZ #13743]
17025 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17026 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17027 (sysdep_headers): Include sys/platform/ppc.h.
17028 * sysdeps/powerpc/test-gettimebase.c: Test for
17029 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17030 * manual/Makefile (appendices): Include platform.texi.
17031 * manual/contrib.texi (Contributors): Update @node pointers.
17032 * manual/maint.texi (Maintenance): Likewise.
17033 (Platform): New node.
17034 * manual/platform.texi: New file. Document the new features.
17035
4af3879c
SP
170362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17037 Jakub Jelinek <jakub@redhat.com>
17038
17039 [BZ #14188]
17040 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17041 where __builtin_expect is unavailable.
17042
2fd6ff13
DM
170432012-06-03 David S. Miller <davem@davemloft.net>
17044
17045 * stdlib/longlong.h: Updated from GCC.
17046
173f7220
AS
170472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17048
17049 [BZ #14042]
17050 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17051 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17052 __mcount_internal.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17054 (GLIBC_2.16): Likewise.
17055
f34a1c6f
L
170562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17057
17058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17059
88a4576f
JM
170602012-06-01 Joseph Myers <joseph@codesourcery.com>
17061
ea32bcdd
JM
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17063 (default-abi): New variable.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17066 variable.
17067 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17068 Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17070 Likewise.
17071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17072 Likewise.
17073
88a4576f
JM
17074 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17075 definition. Document in comment.
17076
402fe938
DM
170772012-06-01 David S. Miller <davem@davemloft.net>
17078
17079 * stdlib/longlong.h: Updated from GCC.
17080
3553723f
L
170812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 [BZ #14117]
3bd872c4
L
17084 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17085 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17086 sys/debugreg.h sys/io.h here.
17087 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17088 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17089 sys/io.h.
17090 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17091 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17093 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17095 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17096
3553723f
L
17097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17098 Define only if __x86_64__ is defined.
17099
4842e4fe
JM
171002012-06-01 Joseph Myers <joseph@codesourcery.com>
17101
c5bfe3d5
JM
17102 [BZ #14048]
17103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17104 Use int64_t for variable i.
17105 * math/libm-test.inc (fmod_test): Add more tests.
17106
4842e4fe
JM
17107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17108 z computation is not scheduled after fetestexcept.
17109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17110 Use math_force_eval instead of asm to ensure calculation scheduled
17111 before exception test.
17112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17113 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17114
efb73488
AJ
171152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17116
17117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17118 computation is not scheduled after fetestexcept.
17119
29bcce7c
L
171202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 [BZ #14117]
17123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17124 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17125
73a68f94
AZ
171262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17127
17128 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17129 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17130
67b6df78
L
171312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17132
edf2933a 17133 [BZ #14117]
ebc64a18
L
17134 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17135 <bits/wordsize.h>.
17136 (__WCHAR_MIN): Support __WORDSIZE == 64.
17137 (__WCHAR_MAX): Likewise.
17138
edf2933a
L
17139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17141
57c6cf40
L
17142 [BZ #14183]
17143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17144 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17145
67b6df78 17146 [BZ #14117]
8eb6281e
L
17147 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17149
aac639f4
L
17150 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17151 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17152
67b6df78
L
17153 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17154 Defined to 1 if __x86_64__ isn't defined.
17155 (_STAT_VER_LINUX_OLD): New.
17156 (st_atime): Remove duplicate.
17157 (st_mtime): Likewise.
17158 (st_ctime): Likewise.
17159
1c2cfe81
DM
171602012-05-31 David S. Miller <davem@davemloft.net>
17161
17162 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17163 entries.
17164
5be8418c
AS
171652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17166
e7725326
AS
17167 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17168 gen-libm-test.pl.
17169
5be8418c
AS
17170 [BZ #14132]
17171 * elf/dl-reloc.c: Include <_itoa.h>.
17172 (_dl_reloc_bad_type): Remove use of INTUSE.
17173 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17174 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17175 * stdio-common/psiginfo.c (psiginfo): Likewise.
17176 * stdio-common/psignal.c (psignal): Likewise.
17177 * string/strsignal.c (strsignal): Likewise.
17178 * include/signal.h (_sys_siglist): Declare hidden proto.
17179 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17180 INTVARDEF with libc_hidden_data_def.
17181 * stdio-common/itoa-udigits.c: Likewise.
17182 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17183 (_itoa_lower_digits_internal): Remove declaration.
17184 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17185 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17186 (_sys_sigabbrev_internal): Remove aliases.
17187 (_sys_siglist): Define hidden alias.
17188
507352f1
MT
171892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17190
17191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17192 bits/sysctl.h.
17193
42bbb1c3
L
171942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17195
17196 [BZ #14117]
6bd784b6
L
17197 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17198 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17199
8bca20f0
L
17200 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17201 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17202 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17203 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17205 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17206
f9e890a9
L
17207 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17209 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17210
471101a1
L
17211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17212 with __addr.
17213 (insw): Likewise.
17214 (insl): Likewise.
17215 (outsb): Likewise.
17216 (outsw): Likewise.
17217 (outsl): Likewise.
17218
6451c862
L
17219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17221 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17222
a254b8c9
L
17223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17224 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17229
b8dfdd92
L
17230 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17231 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17232
578cd270
L
17233 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17234 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17235
de662f5f
L
17236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17239
25653439
L
17240 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17241 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17242 to ...
17243 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17244
6bad24a0
L
17245 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17247 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17248
42bbb1c3
L
17249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17250 for x86-64.
17251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17252
2d10d547
JM
172532012-05-31 Joseph Myers <joseph@codesourcery.com>
17254
17255 * math/math.h (M_El): Use two more decimal places.
17256 (M_LOG2El): Likewise.
17257 (M_LOG10El): Likewise.
17258 (M_LN2l): Likewise.
17259 (M_LN10l): Likewise.
17260 (M_PIl): Likewise.
17261 (M_PI_2l): Likewise.
17262 (M_PI_4l): Likewise.
17263 (M_1_PIl): Likewise.
17264 (M_2_PIl): Likewise.
17265 (M_2_SQRTPIl): Likewise.
17266 (M_SQRT2l): Likewise.
17267 (M_SQRT1_2l): Likewise.
17268
f230c29b
DM
172692012-05-31 David S. Miller <davem@davemloft.net>
17270
17271 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17272 values between float registers.
17273 * sysdeps/sparc/sparc64/memset.S: Likewise.
17274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17275
fed806c3
MF
172762012-05-31 Mike Frysinger <vapier@gentoo.org>
17277
17278 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17279 -D_FORTIFY_SOURCE=1.
17280 (CPPFLAGS-tst-longjmp_chk.c): Define.
17281 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17282 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17283 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17284 CFLAGS-tst-wchar-h.c.
17285
30917259
MP
172862012-05-31 Marek Polacek <polacek@redhat.com>
17287
17288 [BZ #14132]
17289 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17290 __endmntent_internal): Remove declaration.
17291 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17292 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17293 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17294
1c58d5dc
DM
172952012-05-30 David S. Miller <davem@davemloft.net>
17296
17297 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17298 (___Q_simulate_exceptions): Use real FP ops rather than writing
17299 into the %fsr.
17300 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17301 Likewise.
17302
7dc00e0d
L
173032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 [BZ #14117]
0bd53985
L
17306 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17307 * sysdeps/x86/bits/xtitypes.h: This.
17308
3a257e66
L
17309 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17310 * sysdeps/x86/bits/wordsize.h: This.
17311
62f62904
L
17312 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17313 * sysdeps/x86/bits/huge_vall.h: This.
17314
404fe9d9
L
17315 * sysdeps/i386/bits/select.h: Removed.
17316 * sysdeps/x86_64/bits/select.h: Renamed to ...
17317 * sysdeps/x86/bits/select.h: This.
17318
d48d0446
L
17319 * sysdeps/i386/bits/setjmp.h: Removed.
17320 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17321 * sysdeps/x86/bits/setjmp.h: This.
17322
7dc00e0d
L
17323 * sysdeps/i386/bits/mathdef.h: Removed.
17324 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17325 * sysdeps/x86/bits/mathdef.h: This.
17326
03277f8f
AS
173272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17328
17329 [BZ #14132]
17330 * include/sys/socket.h (__connect_internal)
17331 (__libc_sa_len_internal): Remove declaration.
17332 (__connect, __libc_sa_len): Declare hidden_proto.
17333 (SA_LEN): Remove use of INTUSE.
17334 * socket/connect.c: Add libc_hidden_def.
17335 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17336 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17337 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17338 alias.
17339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17341 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17342 of adding _internal alias.
17343
13764867
L
173442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 [BZ #14117]
6bd97696
L
17347 * sysdeps/i386/bits/link.h: Removed.
17348 * sysdeps/i386/bits/linkmap.h: Likewise.
17349 * sysdeps/x86_64/bits/link.h: Renamed to ...
17350 * sysdeps/x86/bits/link.h: This.
17351 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17352 * sysdeps/x86/bits/linkmap.h: This.
17353
f726f0bb
L
17354 * sysdeps/i386/bits/endian.h: Removed.
17355 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17356 * sysdeps/x86/bits/endian.h: This.
17357
13764867
L
17358 * sysdeps/i386/bits/byteswap.h: Removed.
17359 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17360 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17361 * sysdeps/x86/bits/byteswap.h: This.
17362 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17363 * sysdeps/x86/bits/byteswap-16.h: This.
17364 * sysdeps/i386/Implies: Add x86.
17365 * sysdeps/x86_64/Implies: Likewise.
17366
ae251b0b
DM
173672012-05-30 David S. Miller <davem@davemloft.net>
17368
17369 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17370 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17372 (FP_TRAPPING_EXCEPTIONS): Define.
17373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17374 (FP_TRAPPING_EXCEPTIONS): Define.
17375 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17376 subnormals only when inexact has been signalled or underflow
17377 exceptions are enabled.
17378 (_FP_PACK_CANONICAL): Likewise.
17379
d5c90867
L
173802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17381
17382 [BZ #14183]
17383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17384 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17385
63f1549e
RH
173862012-05-30 Richard Henderson <rth@twiddle.net>
17387
8d8f2279
RH
17388 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17389 with #ifndef NOT_IN_libc.
17390
63f1549e
RH
17391 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17392 marked to avoid plt entry.
17393
0ab0291b
L
173942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17395
17396 [BZ #14112]
17397 * Makeconfig (default-abi): New macro.
17398 (abi-includes): Likewise.
17399 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17400 $(abi-$(default-abi)-lib-soname) for soname if defined.
17401 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17402 abi-variants.
17403 * Makefile (installed-stubs): Likewise.
17404 * include/stubs-biarch.h: Removed.
17405 * scripts/lib-names.awk: Only handle one library at a time.
17406 * scripts/soversions.awk: Remove WORDSIZE support.
17407 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17408 entries.
17409 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17410 Removed.
17411 (syscall-list-default-condition): Likewise.
17412 (syscall-list-default-condition): Likewise.
17413 (syscall-list-includes): Likewise.
17414 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17415 syscall-list-* with abi-*. Handle undefined abi-variants.
17416 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17417 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17418 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17421 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17422 Removed.
17423 (syscall-list-32-options): Likewise.
17424 (syscall-list-32-condition): Likewise.
17425 (syscall-list-64-options): Likewise.
17426 (syscall-list-64-condition): Likewise.
17427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17428 macro.
17429 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17430 Renamed to ...
17431 (abi-*): This.
17432 (abi-64-ld-soname): New macro.
17433 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17434 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17435 Renamed to ...
17436 (abi-*): This.
17437 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17438 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17439
4da0431d
JM
174402012-05-30 Joseph Myers <joseph@codesourcery.com>
17441
3a85279c
JM
17442 * sysdeps/unix/sysv/linux/kernel-features.h
17443 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17444 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17445 include <kernel-features.h>.
17446 [!__NR_ftruncate64]: Remove conditional code.
17447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17448 [__NR_ftruncate64]: Make code unconditional.
17449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17450 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
4da0431d
JM
17469 * configure.in (libc_cv_fpie): Weaken to a compile test using
17470 LIBC_TRY_CC_OPTION.
17471 * configure: Regenerated.
17472
11ef492c
AK
174732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17474
17475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17479 Refreshed.
17480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17486 Refreshed.
17487
d66ef399
DM
174882012-05-27 David S. Miller <davem@davemloft.net>
17489
17490 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17491 (___Q_zero): New.
17492 (__Q_simulate_exceptions): Return void. Change to simulate
17493 exceptions by writing into the %fsr.
17494 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17495 (__Qp_handle_exceptions): Likewise.
17496 (numbers): Delete.
17497 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17498 __Qp_handle_exceptions.
17499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17500 __Qp_handle_exceptions.
17501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17502 as unused and give dummy FP_RND_NEAREST initializer.
17503 (FP_INHIBIT_RESULTS): Define.
17504 (___Q_simulate_exceptions): Update declaration.
17505 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17506 formatting.
17507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17508 as unused and give dummy FP_RND_NEAREST initializer.
17509 (__Qp_handle_exceptions): Update declaration.
17510 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17511 formatting.
17512
04fb54b5
TS
175132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17514
17515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17516 the temporary FPU control word.
17517 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17518 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17519 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17523 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17525 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17526 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17528
3f99608f
KK
175292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17530
17531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17532 fields.
17533
65a4de4e
CLT
175342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17535
17536 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17537 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17540 Likewise.
17541 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17542 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17543 Likewise.
17544
15749d40
UD
175452012-05-27 Ulrich Drepper <drepper@gmail.com>
17546
17547 * po/h.po: Update from translation team.
17548
25dbcb27
AS
175492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17550
3d3f8e55
AS
17551 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17552
25dbcb27
AS
17553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17554 handling of denormals.
17555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17556 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17562 Likewise.
17563
7ad47a80 175642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17565
17566 [BZ #14152]
17567 * math/libm-test.inc (fma_test): Don't always expect underflow
17568 exception.
17569
9c6ea9fa
SP
175702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17571
17572 [BZ #12416]
17573 * elf/tst-execstack.c: Include stackinfo.h.
17574 (do_test): Adjust test case to ensure that pthread_getattr_np
17575 behaviour remains the same after marking stack executable.
17576
a8239222
JM
175772012-05-25 Joseph Myers <joseph@codesourcery.com>
17578
17579 * sysdeps/unix/sysv/linux/kernel-features.h
17580 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17582 kernel-features.h.
17583 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17584 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17585 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17586 kernel-features.h.
17587 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17588 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17589
918b5606
L
175902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 * configure.in: Define the default includes to being none.
17593 * configure: Regenerated.
17594
3a097cc7
RM
175952012-05-25 Roland McGrath <roland@hack.frob.com>
17596
8422c9a5
RM
17597 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17598 * sysdeps/x86_64/setjmp.S: Likewise.
17599 * sysdeps/i386/bsd-setjmp.S: Likewise.
17600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17601 * sysdeps/i386/setjmp.S: Likewise.
17602 * sysdeps/i386/__longjmp.S: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17605
3a097cc7
RM
17606 * include/stap-probe.h: New file.
17607 * configure.in: Handle --enable-systemtap.
17608 * configure: Regenerated.
17609 * config.h.in (USE_STAP_PROBE): New #undef.
17610 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17611 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17612 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17613
21708942
JM
176142012-05-25 Joseph Myers <joseph@codesourcery.com>
17615
17616 [BZ #13717]
17617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17618 to 2.4.0 where earlier.
17619 * sysdeps/unix/sysv/linux/configure: Regenerated.
17620 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17621 <kernel-features.h>.
17622 [__ASSUME_32BITUIDS]: Make code unconditional.
17623 [!__ASSUME_32BITUIDS]: Remove conditional code.
17624 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17625 <kernel-features.h>.
17626 [__ASSUME_32BITUIDS]: Make code unconditional.
17627 [!__ASSUME_32BITUIDS]: Remove conditional code.
17628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17629 [__ASSUME_32BITUIDS]: Make code unconditional.
17630 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17631 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17632 <kernel-features.h>.
17633 [__ASSUME_32BITUIDS]: Make code unconditional.
17634 [!__ASSUME_32BITUIDS]: Remove conditional code.
17635 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17636 <kernel-features.h>.
17637 [__ASSUME_32BITUIDS]: Make code unconditional.
17638 [!__ASSUME_32BITUIDS]: Remove conditional code.
17639 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17640 <kernel-features.h>.
17641 [__ASSUME_32BITUIDS]: Make code unconditional.
17642 [!__ASSUME_32BITUIDS]: Remove conditional code.
17643 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17644 <kernel-features.h>.
17645 [__ASSUME_32BITUIDS]: Make code unconditional.
17646 [!__ASSUME_32BITUIDS]: Remove conditional code.
17647 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17648 <kernel-features.h>.
17649 [__ASSUME_32BITUIDS]: Make code unconditional.
17650 [!__ASSUME_32BITUIDS]: Remove conditional code.
17651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17652 <kernel-features.h>.
17653 [__ASSUME_32BITUIDS]: Make code unconditional.
17654 [!__ASSUME_32BITUIDS]: Remove conditional code.
17655 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17656 <kernel-features.h>.
17657 [__ASSUME_32BITUIDS]: Make code unconditional.
17658 [!__ASSUME_32BITUIDS]: Remove conditional code.
17659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17660 <kernel-features.h>.
17661 [__ASSUME_32BITUIDS]: Make code unconditional.
17662 [!__ASSUME_32BITUIDS]: Remove conditional code.
17663 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17664 <kernel-features.h>.
17665 [__ASSUME_32BITUIDS]: Make code unconditional.
17666 [!__ASSUME_32BITUIDS]: Remove conditional code.
17667 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17668 <kernel-features.h>.
17669 [__ASSUME_32BITUIDS]: Make code unconditional.
17670 [!__ASSUME_32BITUIDS]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17672 <kernel-features.h>.
17673 [__NR_setresgid] (__setresgid): Do not declare.
17674 [__ASSUME_32BITUIDS]: Make code unconditional.
17675 [!__ASSUME_32BITUIDS]: Remove conditional code.
17676 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17677 <kernel-features.h>.
17678 [__NR_setresuid] (__setresuid): Do not declare.
17679 [__ASSUME_32BITUIDS]: Make code unconditional.
17680 [!__ASSUME_32BITUIDS]: Remove conditional code.
17681 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17682 <kernel-features.h>.
17683 [__ASSUME_32BITUIDS]: Make code unconditional.
17684 [!__ASSUME_32BITUIDS]: Remove conditional code.
17685 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17686 <kernel-features.h>.
17687 [__ASSUME_32BITUIDS]: Make code unconditional.
17688 [!__ASSUME_32BITUIDS]: Remove conditional code.
17689 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17690 <kernel-features.h>.
17691 [__ASSUME_32BITUIDS]: Make code unconditional.
17692 [!__ASSUME_32BITUIDS]: Remove conditional code.
17693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17694 <kernel-features.h>.
17695 [__ASSUME_32BITUIDS]: Make code unconditional.
17696 [!__ASSUME_32BITUIDS]: Remove conditional code.
17697 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17698 <kernel-features.h>.
17699 [__ASSUME_32BITUIDS]: Make code unconditional.
17700 [!__ASSUME_32BITUIDS]: Remove conditional code.
17701 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17702 <kernel-features.h>.
17703 [__ASSUME_32BITUIDS]: Make code unconditional.
17704 [!__ASSUME_32BITUIDS]: Remove conditional code.
17705 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17706 <kernel-features.h>.
17707 [__ASSUME_32BITUIDS]: Make code unconditional.
17708 [!__ASSUME_32BITUIDS]: Remove conditional code.
17709 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17710 <kernel-features.h>.
17711 [__ASSUME_32BITUIDS]: Make code unconditional.
17712 [!__ASSUME_32BITUIDS]: Remove conditional code.
17713 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17714 <kernel-features.h>.
17715 [__ASSUME_32BITUIDS]: Make code unconditional.
17716 [!__ASSUME_32BITUIDS]: Remove conditional code.
17717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17718 <kernel-features.h>.
17719 [__ASSUME_32BITUIDS]: Make code unconditional.
17720 [!__ASSUME_32BITUIDS]: Remove conditional code.
17721 * sysdeps/unix/sysv/linux/kernel-features.h
17722 (__ASSUME_SETRESUID_SYSCALL): Remove.
17723 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17724 (__ASSUME_32BITUIDS): Likewise.
17725 (__ASSUME_LDT_WORKS): Likewise.
17726 (__ASSUME_O_DIRECTORY): Likewise.
17727 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17728 architecture but not kernel version.
17729 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17730 (__ASSUME_MMAP2_SYSCALL): Likewise.
17731 (__ASSUME_STAT64_SYSCALL): Likewise.
17732 (__ASSUME_IPC64): Likewise.
17733 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17734 <kernel-features.h>.
17735 [__ASSUME_32BITUIDS]: Make code unconditional.
17736 [!__ASSUME_32BITUIDS]: Remove conditional code.
17737 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17738 <kernel-features.h>.
17739 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17740 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17741 132096]: Remove conditional code.
17742 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17744 <kernel-features.h>.
17745 [__ASSUME_32BITUIDS]: Make code unconditional.
17746 [!__ASSUME_32BITUIDS]: Remove conditional code.
17747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17748 <kernel-features.h>.
17749 [__ASSUME_32BITUIDS]: Make code unconditional.
17750 [!__ASSUME_32BITUIDS]: Remove conditional code.
17751 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17752 <kernel-features.h>.
17753 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17754 unconditional.
17755 (__setresgid): Do not declare.
17756 [__ASSUME_32BITUIDS]: Make code unconditional.
17757 [!__ASSUME_32BITUIDS]: Remove conditional code.
17758 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17759 <kernel-features.h>.
17760 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17761 unconditional.
17762 (__setresuid): Do not declare.
17763 [__ASSUME_32BITUIDS]: Make code unconditional.
17764 [!__ASSUME_32BITUIDS]: Remove conditional code.
17765 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17766 <kernel-features.h>.
17767 [__ASSUME_32BITUIDS]: Make code unconditional.
17768 [!__ASSUME_32BITUIDS]: Remove conditional code.
17769 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17770 <kernel-features.h>.
17771 [__ASSUME_32BITUIDS]: Make code unconditional.
17772 [!__ASSUME_32BITUIDS]: Remove conditional code.
17773
a386f1cc
RH
177742012-05-25 Richard Henderson <rth@twiddle.net>
17775
17776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17777 dl_hwcap to ifunc resolver.
17778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17779 elf_ifunc_invoke.
17780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17781 dl_hwcap to ifunc resolver.
17782 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17783
b6550497
JM
177842012-05-24 Joseph Myers <joseph@codesourcery.com>
17785
17786 [BZ #14153]
17787 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17788 for |x| <= 2**-26, not 2**-57.
17789 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17790 exception.
17791
b0bc23a1
JL
177922012-05-24 Jeff Law <law@redhat.com>
17793
17794 * stdio-common/Makefile (tests): Add bug25.
17795 * stdio-common/bug25.c: New test.
17796
347c92e9
L
177972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 [BZ #13576]
17800 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17801 multiple of MALLOC_ALIGNMENT in size.
17802 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17803
6bcc8b3f
JM
178042012-05-24 Joseph Myers <joseph@codesourcery.com>
17805
17806 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17807 Require >= 256.
17808 (FILENAME_MAX): Use macro-int-constant.
17809 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17810 (_IOFBF): Use macro-int-constant.
17811 (_IOLBF): Likewise.
17812 (_IONBF): Likewise.
17813 (SEEK_CUR): Likewise.
17814 (SEEK_END): Likewise.
17815 (SEEK_SET): Likewise.
17816 (TMP_MAX): Likewise.
17817 (EOF): Use macro-int-constant. Require < 0.
17818 (NULL): Use macro-constant. Require == 0.
17819 (stdin): Require type to be FILE *.
17820 (stdout): Likewise.
17821 (stderr): Likewise.
17822 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17823 macro-int-constant.
17824 (EXIT_SUCCESS): Likewise.
17825 (NULL): Use macro-constant. Require == 0.
17826 (RAND_MAX): Use macro-int-constant.
17827 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17828 [C99-based standards] (strtof): Require function.
17829 [C99-based standards] (strtold): Likewise.
17830 [C99-based standards] (strtoll): Likewise.
17831 [C99-based standards] (strtoull): Likewise.
17832 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17833 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17834 [ISO || ISO99 || ISO11] (math.h): Likewise.
17835 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17836 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17838
d18ea0c5
AS
178392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17840
17841 [BZ #14132]
56d25bb8
AS
17842 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17843 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17844 * intl/dgettext.c (DCGETTEXT): Likewise.
17845 * intl/gettext.c (DCGETTEXT): Likewise.
17846 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17847 * posix/regex_internal.h (gettext): Likewise.
17848 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17849 Remove declaration.
17850 * include/argz.h (__argz_count_internal)
17851 (__argz_stringify_internal): Remove declaration.
17852 (__argz_count, __argz_stringify): Declare hidden proto.
17853 * intl/dcgettext.c: Remove use of INTDEF.
17854 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17855 * string/argz-stringify.c: Likewise.
17856 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17857 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17858 Declare hidden proto.
d18ea0c5
AS
17859 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17860 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17861 Declare hidden proto.
17862 * include/stdio.h (__asprintf_internal): Don't declare.
17863 (__asprintf): Don't define as macro. Declare hidden proto.
17864 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17865 (__fsetlocking): Declare hidden proto.
17866 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17867 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17868 hidden proto.
17869 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17870 (_IO_setlinebuf): Remove use of INTUSE.
17871 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17872 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17873 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17874 Remove declaration.
17875 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17876 (_IO_do_flush): Remove use of INTUSE.
17877 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17878 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17879 (_IO_adjust_column, _IO_least_wmarker)
17880 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17881 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17882 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17883 (_IO_default_doallocate, _IO_wdefault_doallocate)
17884 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17885 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17886 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17887 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17888 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17889 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17890 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17891 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17892 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17893 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17894 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17895 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17896 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17897 proto.
17898 (_IO_flush_all_internal, _IO_adjust_column_internal)
17899 (_IO_default_uflow_internal, _IO_default_finish_internal)
17900 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17901 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17902 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17903 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17904 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17905 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17906 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17907 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17908 (_IO_file_close_internal, _IO_file_close_it_internal)
17909 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17910 (_IO_file_init_internal, _IO_file_attach_internal)
17911 (_IO_file_fopen_internal, _IO_file_read_internal)
17912 (_IO_file_sync_internal, _IO_file_seek_internal)
17913 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17914 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17915 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17916 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17917 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17918 (_IO_list_all_internal, _IO_link_in_internal)
17919 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17920 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17921 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17922 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17923 (_IO_do_write_internal, _IO_padn_internal)
17924 (_IO_getline_info_internal, _IO_getline_internal)
17925 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17926 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17927 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17928 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17929 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17930 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17931 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17932 with libc_hidden_ver, remove use of INTUSE.
17933 * libio/genops.c: Likewise.
17934 * libio/freopen.c: Likewise.
17935 * libio/freopen64.c: Likewise.
17936 * libio/iofclose.c: Likewise.
17937 * libio/iofdopen.c: Likewise.
17938 * libio/iofflush.c: Likewise.
17939 * libio/iofflush_u.c: Likewise.
17940 * libio/iofgets.c: Likewise.
17941 * libio/iofgets_u.c: Likewise.
17942 * libio/iofopen.c: Likewise.
17943 * libio/iofopncook.c: Likewise.
17944 * libio/iofread.c: Likewise.
17945 * libio/iofread_u.c: Likewise.
17946 * libio/ioftell.c: Likewise.
17947 * libio/iofwrite.c: Likewise.
17948 * libio/iogetline.c: Likewise.
17949 * libio/iogets.c: Likewise.
17950 * libio/iogetwline.c: Likewise.
17951 * libio/iopadn.c: Likewise.
17952 * libio/iopopen.c: Likewise.
17953 * libio/ioseekoff.c: Likewise.
17954 * libio/ioseekpos.c: Likewise.
17955 * libio/iosetbuffer.c: Likewise.
17956 * libio/iosetvbuf.c: Likewise.
17957 * libio/ioungetc.c: Likewise.
17958 * libio/ioungetwc.c: Likewise.
17959 * libio/iovdprintf.c: Likewise.
17960 * libio/iovsprintf.c: Likewise.
17961 * libio/iovsscanf.c: Likewise.
17962 * libio/memstream.c: Likewise.
17963 * libio/obprintf.c: Likewise.
17964 * libio/oldfileops.c: Likewise.
17965 * libio/oldiofclose.c: Likewise.
17966 * libio/oldiofdopen.c: Likewise.
17967 * libio/oldiofopen.c: Likewise.
17968 * libio/oldiopopen.c: Likewise.
17969 * libio/oldstdfiles.c: Likewise.
17970 * libio/putc.c: Likewise.
17971 * libio/setbuf.c: Likewise.
17972 * libio/setlinebuf.c: Likewise.
17973 * libio/stdfiles.c: Likewise.
17974 * libio/strops.c: Likewise.
17975 * libio/vasprintf.c: Likewise.
17976 * libio/vscanf.c: Likewise.
17977 * libio/vsnprintf.c: Likewise.
17978 * libio/vswprintf.c: Likewise.
17979 * libio/wfiledoalloc.c: Likewise.
17980 * libio/wfileops.c: Likewise.
17981 * libio/wgenops.c: Likewise.
17982 * libio/wmemstream.c: Likewise.
17983 * libio/wstrops.c: Likewise.
17984 * libio/__fpurge.c: Likewise.
17985 * libio/__fsetlocking.c: Likewise.
17986 * assert/assert.c: Likewise.
17987 * debug/fgets_chk.c: Likewise.
17988 * debug/fgets_u_chk.c: Likewise.
17989 * debug/fread_chk.c: Likewise.
17990 * debug/fread_u_chk.c: Likewise.
17991 * debug/gets_chk.c: Likewise.
17992 * debug/obprintf_chk.c: Likewise.
17993 * debug/vasprintf_chk.c: Likewise.
17994 * debug/vdprintf_chk.c: Likewise.
17995 * debug/vsnprintf_chk.c: Likewise.
17996 * debug/vsprintf_chk.c: Likewise.
17997 * malloc/mtrace.c: Likewise.
17998 * misc/error.c: Likewise.
17999 * misc/syslog.c: Likewise.
18000 * stdio-common/asprintf.c: Likewise.
18001 * stdio-common/fxprintf.c: Likewise.
18002 * stdio-common/getw.c: Likewise.
18003 * stdio-common/isoc99_fscanf.c: Likewise.
18004 * stdio-common/isoc99_scanf.c: Likewise.
18005 * stdio-common/isoc99_vfscanf.c: Likewise.
18006 * stdio-common/isoc99_vscanf.c: Likewise.
18007 * stdio-common/isoc99_vsscanf.c: Likewise.
18008 * stdio-common/printf-prs.c: Likewise.
18009 * stdio-common/printf_fp.c: Likewise.
18010 * stdio-common/printf_fphex.c: Likewise.
18011 * stdio-common/printf_size.c: Likewise.
18012 * stdio-common/putw.c: Likewise.
18013 * stdio-common/scanf.c: Likewise.
18014 * stdio-common/sprintf.c: Likewise.
18015 * stdio-common/tmpfile.c: Likewise.
18016 * stdio-common/vfprintf.c: Likewise.
18017 * stdio-common/vfscanf.c: Likewise.
18018 * stdlib/strfmon_l.c: Likewise.
18019 * sunrpc/openchild.c: Likewise.
18020 * sunrpc/xdr_stdio.c: Likewise.
18021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18022 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18023
d6c33fda
RM
180242012-05-24 Roland McGrath <roland@hack.frob.com>
18025
c1487492
RM
18026 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18027
18028 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18029 in the third column, to generate for the shared library an IFUNC
18030 that uses _dl_vdso_vsym.
18031 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18032 * Makeconfig (object-suffixes-noshared): New variable.
18033
18034 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18035 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18036 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18037 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18038
d6c33fda
RM
18039 [BZ #14132]
18040 * include/sys/time.h (__gettimeofday): Remove macro.
18041 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18042 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18043 Remove INTDEF.
18044 (__gettimeofday): Add libc_hidden_def.
18045 (gettimeofday): Add libc_hidden_weak.
18046 * sysdeps/mach/gettimeofday.c: Likewise.
18047 * sysdeps/posix/gettimeofday.c: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18049 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18051 (__gettimeofday_internal): Remove strong_alias.
18052 (__gettimeofday): Add libc_hidden_def.
18053 (gettimeofday): Add libc_hidden_weak.
18054 * sysdeps/unix/syscalls.list (gettimeofday):
18055 Remove __gettimeofday_internal alias.
18056
b5a2bbe6
L
180572012-05-24 Daniel Jacobowitz <drow@false.org>
18058 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 [BZ #12495]
18061 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18062 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18063 (largebin_index_32_big): New.
18064 (largebin_index): Use it for 16-byte alignment.
18065 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18066 correction with front_misalign.
18067
cfba4fda
L
180682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18069
7f907421
L
18070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18072 Likewise.
18073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18074 Likewise.
18075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18076 Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18078 Likewise.
18079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18082 Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18084 Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18086 Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18088 Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18090 Likewise.
18091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18094 Likewise.
18095
cfba4fda
L
18096 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18097 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18098
80bad0cc
JM
180992012-05-24 Joseph Myers <joseph@codesourcery.com>
18100
7a25eb06
JM
18101 [BZ #10846]
18102 [BZ #14036]
18103 * math/libm-test.inc (exp_test): Add test from bug 14036.
18104 (pow_test): Add test from bug 10846.
18105
795405f9
JM
18106 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18107 and other flags.
18108 (special_function): Do not include flags in test name.
18109 (parse_args): Likewise.
18110 * sysdeps/i386/fpu/libm-test-ulps: Update.
18111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115
80bad0cc
JM
18116 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18117 exceptions.
18118 * math/libm-test.inc ("Philosophy"): Update comment about
18119 exception testing.
18120 (UNDERFLOW_EXCEPTION): New macro.
18121 (UNDERFLOW_EXCEPTION_OK): Likewise.
18122 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18123 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18124 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18125 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18126 (INVALID_EXCEPTION_OK): Update value.
18127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18128 (OVERFLOW_EXCEPTION_OK): Likewise.
18129 (IGNORE_ZERO_INF_SIGN): Likewise.
18130 (test_exceptions): Handle underflow exceptions.
18131 (acos_test): Update for underflow exception expectations.
18132 (cexp_test): Likewise.
18133 (clog_test): Likewise.
18134 (clog10_test): Likewise.
18135 (csqrt_test): Likewise.
18136 (ctan_test): Likewise.
18137 (ctanh_test): Likewise.
18138 (exp_test): Likewise.
18139 (exp10_test): Likewise.
18140 (exp2_test): Likewise.
18141 (expm1_test): Likewise.
18142 (fma_test): Likewise.
18143 (j0_test): Likewise.
18144 (jn_test): Likewise.
18145 (nexttoward_test): Likewise.
18146 (pow_test): Likewise.
18147 (scalbn_test): Likewise.
18148 (scalbln_test): Likewise.
18149 (tan_test): Likewise.
18150 (y1_test): Likewise.
18151 * sysdeps/i386/fpu/libm-test-ulps: Update.
18152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153
9e0e3d0b
DM
181542012-05-23 David S. Miller <davem@davemloft.net>
18155
18156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18157 (__libc_sigaction): Remove unused local variables.
18158
ccd0a08f
L
181592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18162
62bdf9a6
PE
181632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18164
f8591f80
PE
18165 mktime: avoid signed integer overflow
18166 * time/mktime.c (__mktime_internal): Do not mishandle the case
18167 where diff == INT_MIN.
18168
94c7d826
PE
18169 mktime: simplify computation of average
18170 * time/mktime.c (ranged_convert): Use new time_t_avg function
18171 instead of rolling our own (probably-slower) code.
18172
ce73d683
PE
18173 mktime: do not assume signed right shift propagates sign bit
18174 * time/mktime.c (isdst_differ): New static function.
18175 (__mktime_internal): No need to normalize tm_isdst now.
18176 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18177 tm_isdst values.
18178
72a22e59
PE
18179 mktime: merge another wrapv change from gnulib
18180 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18181 from some compilers.
18182
68605433
PE
18183 mktime: remove incorrect attempt at unusual arithmetics
18184 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18185 The code didn't really work on such machines anyway.
18186 (TYPE_MINIMUM): Assume two's complement.
18187 (twos_complement_arithmetic): Verify that long_int and time_t
18188 are two's complement (or unsigned, in the latter case).
18189
03cf7fe3
PE
18190 mktime: check signed shifts on long_int and time_t, too
18191 * time/mktime.c (SHR): Check that shifts work as desired
18192 on the types long_int and time_t too, as SHR is used on
18193 such types.
18194
f04dfbc2
PE
18195 mktime: do not assume 'long' is wide enough
18196 * time/mktime.c (verify): Move decl up.
18197 (long_int): New type.
18198 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18199 to remove assumption in the code that 'long' is wide enough to
18200 store year values. This assumption is not true on x32 and on
18201 some non-glibc platforms.
18202
62bdf9a6
PE
18203 mktime: merge wrapv change from gnulib
18204 * time/mktime.c (WRAPV): New macro.
18205 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18206 (guess_time_tm, __mktime_internal): Do not assume that signed
18207 integer overflow wraps around; modern compilers generate code
18208 where this assumption is no longer valid.
18209
5e292e4f
L
182102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18211
18212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18213 Replace "jmp L(pseudo_end)" with "ret".
18214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18215 Likewise.
18216
8caf8c87
AJ
182172012-05-23 Andreas Jaeger <aj@suse.de>
18218
18219 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18220 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18221
1a09dc56
AJ
182222012-05-23 Andreas Jaeger <aj@suse.de>
18223 Maximilian Attems <max@stro.at>
18224
18225 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18226 New macros.
18227
1c87aba0
L
182282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18229
18230 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18231 code so that pseudo_end is just ret and the stack pointer is
18232 correct also for static library in error case.
18233
40e45bd5
JM
182342012-05-23 Joseph Myers <joseph@codesourcery.com>
18235
c2670533
JM
18236 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18237 move to syscalls.list.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18242
40e45bd5
JM
18243 * manual/install.texi (Running make install): Do not mention Linux
18244 kernel version for which pt_chown is not needed.
18245 (Linux): Do not mention problems with nscd with 2.0 kernels.
18246 * INSTALL: Regenerated.
18247
be08eda5
AJ
182482012-05-23 Andreas Jaeger <aj@suse.de>
18249
18250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18251 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18252 macro.
18253 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18255 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18257 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18263 * sysdeps/unix/sysv/linux/bits/in.h
18264 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18265
a6a056bb
RM
182662012-05-22 Roland McGrath <roland@hack.frob.com>
18267
18268 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18269 (PREPARE_VERSION): Just use assert instead, it will be elided
18270 under [NDEBUG] anyway.
18271
c9009328
L
182722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18273
18274 * sysdeps/unix/sysv/linux/Makefile: Include
18275 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18276 (sysdep_routines): Remove sysctl.
c9009328
L
18277 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18278 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18279 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18280 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18281 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18282
73338355
AJ
182832012-05-22 Andreas Jaeger <aj@suse.de>
18284
18285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18286 that pseudo_end is just ret and the stack pointer is correct also
18287 for static library in error case.
18288
d44638b0
PP
182892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18290
18291 [BZ #14122]
18292 * nss/nsswitch.c (defconfig_entries): New variable.
18293 (__nss_database_lookup): Don't leak defconfig entries.
18294 (nss_parse_service_list): Don't leak on error paths.
18295 (free_database_entries): New function.
18296 (free_defconfig): New function.
18297 (free_mem): Move common code to free_database_entries.
18298
31a39bd8
L
182992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18300
da0331a8
L
18301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18302 Add arch_prctl.
18303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18304
31a39bd8
L
18305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18306 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18308 New macro.
18309 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18310 (INTERNAL_SYSCALL_TYPES): Likewise.
18311 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18312 (LOAD_REGS_TYPES_[1-6]): Likewise.
18313 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18314 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18315
45470df3
AZ
183162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317
18318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18319 copysignl for GLIBC_2_0.
18320 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18321 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18323 logbl for GLIBC_2_0.
18324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18326
98a61bcb
L
183272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18328
a4f6e481
L
18329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18331
f63d5db6
L
18332 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18333 Use "neg %eax".
18334
98a61bcb
L
18335 * time/mktime.c: Update copyright years.
18336
95770f14
PE
183372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18338
6226efbd
PE
18339 mktime: merge comment-quoting-style change from gnulib
18340 * time/mktime.c: Quote 'like this' in comments.
18341 The GNU coding standards suggest that we no longer quote `like this',
18342 as "`" and "'" are typically rendered asymmetrically nowadays.
18343 The typical gnulib style is to quote 'like this' when quoting
18344 code, and "like this" when quoting English.
18345
b99e4f78
PE
18346 * time/mktime.c (compile-command): Add "-I.".
18347
643e01e6
PE
18348 mktime: merge mktime-internal.h change from gnulib
18349 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18350
2554247d
PE
18351 mktime: merge time_r change from gnulib
18352 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18353
826dd0ab
PE
18354 mktime: merge DEBUG change from gnulib
18355 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18356 case system <time.h> has a #define.
18357
bd83aabe
PE
18358 mktime: merge <sys/types.h> change from gnulib
18359 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18360 since <time.t> is now guaranteed to define time_t.
18361
95770f14
PE
18362 mktime: merge HAVE_CONFIG_H change from gnulib
18363 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18364
5e1a27a9
L
183652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18366
0e44a77e
L
18367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18368 Use "neg %eax".
18369
5e1a27a9
L
18370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18371 __rlim_t cast.
18372 (struct rusage): Use anonymous union to pad each field to
18373 __syscall_slong_t.
18374
46259bec
DM
183752012-05-21 David S. Miller <davem@davemloft.net>
18376
18377 * Makefules (o-iterator): Remove .s cases.
18378 (compile-command.s): Delete.
18379 (COMPILE.s): Delete.
18380 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18381
59f0c22e
JM
183822012-05-21 Joseph Myers <joseph@codesourcery.com>
18383
18384 * configure.in (libc_cv_predef_stack_protector): Only consider
18385 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18386 * configure: Regenerated.
18387
20c07380
L
183882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18389
bbb3154b
L
18390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18391 New macro. Use R*LP on int and pointer.
18392 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18393 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18394 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18395 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18396
20c07380
L
18397 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18398 [__WORDSIZE_TIME64_COMPAT32] instead of
18399 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18400 (struct utmp): Likewise.
18401 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18402 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18403 Renamed to ...
18404 (__WORDSIZE_TIME64_COMPAT32): This.
18405 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18406 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18407 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18408 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18410 (__WORDSIZE_TIME64_COMPAT32): New macro.
18411
d8d1017e
AJ
184122012-05-21 Andreas Jaeger <aj@suse.de>
18413
18414 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18415 only if [SHARED]. Add prototype for __wcschr_ia32.
18416
6c7fb145
RM
184172012-05-21 Roland McGrath <roland@hack.frob.com>
18418
18419 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18420 of %rbp unmolested in the jmp_buf while mangling the low bits.
18421 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18422 unmolested high bits of %rbp while demangling the low bits.
18423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18424
66274218
AJ
184252012-05-21 Andreas Jaeger <aj@suse.de>
18426
07c58f8f
AJ
18427 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18428 * sunrpc/svc_simple.c: Use it for registerrpc.
18429 * sunrpc/xcrypt.c: Use it for passwd2des.
18430
66274218
AJ
18431 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18432
61f65140
L
184332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18436 Don't define if [__SYSCALL_WORDSIZE != 32].
18437 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18438 New macro.
18439
5fefb436
AJ
184402012-05-21 Bruno Haible <bruno@clisp.org>
18441 Andreas Jaeger <aj@suse.de>
18442
18443 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18444 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18445 inptr and inend for must_buffer_ch.
18446 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18447 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18448 * stdio-common/Makefile (tests): Remove bug15.
18449 (bug15-ENV): Remove macro.
18450 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18451 anymore.
18452
d8e272ab
AJ
184532012-05-19 Andreas Jaeger <aj@suse.de>
18454 Roland McGrath <roland@hack.frob.com>
18455
18456 * manual/contrib.texi: Completely rewritten. It contains now an
18457 alphabetical list of contributors and their contributions.
18458
4a56a162
RH
184592012-05-21 Richard Henderson <rth@twiddle.net>
18460
18461 * misc/getauxval.c (__getauxval): Use unsigned long int.
18462 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18463 (getauxval): Use unsigned long int.
18464
d024d23c
L
184652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18466
18467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18468
cbc00a03
RM
184692012-05-21 Roland McGrath <roland@hack.frob.com>
18470
18471 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18472 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18473 __alignof__ (long double).
18474
478143fa
AZ
184752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18476
18477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18478
c7683a6d
RH
184792012-05-20 Richard Henderson <rth@twiddle.net>
18480
18481 * misc/getauxval.c: New file.
18482 * misc/sys/auxv.h: New file.
18483 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18484 (routines): Add getauxval.
18485 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18486 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18487 * elf/dl-sysdep.c (_dl_auxv): Remove.
18488 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18489 * elf/dl-support.c (_dl_auxv): New variable.
18490 (_dl_aux_init): Initialize it.
18491 * manual/startup.texi (Auxiliary Vector): New node.
18492 * sysdeps/generic/bits/hwcap.h: New file.
18493 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18494 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18495 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18496 * sysdeps/sparc/sysdep.h: ... here. Include it.
18497 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18500 Update.
c7683a6d
RH
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18509
a6f1845d
AZ
185102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18511
18512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18513
cbcbe830
DM
185142012-05-19 David S. Miller <davem@davemloft.net>
18515
18516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18517
e0b16cc2
JM
185182012-05-19 Joseph Myers <joseph@codesourcery.com>
18519
18520 [BZ #14123]
18521 * math/s_ccosh.c: Include <float.h>
18522 (__ccosh): Avoid internal overflow calculating sinh and cosh
18523 values before multiplying by sin and cos values.
18524 * math/s_ccoshf.c: Likewise.
18525 * math/s_ccoshl.c: Likewise.
18526 * math/s_csin.c: Likewise.
18527 * math/s_csinf.c: Likewise.
18528 * math/s_csinl.c: Likewise.
18529 * math/s_csinh.c: Likewise.
18530 * math/s_csinhf.c: Likewise.
18531 * math/s_csinhl.c: Likewise.
18532 * math/libm-test.inc (ccos_test): Add more tests.
18533 (ccosh_test): Likewise.
18534 (csin_test): Likewise.
18535 (csinh_test): Likewise.
18536 * sysdeps/i386/fpu/libm-test-ulps: Update.
18537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538
6ad13e08
L
185392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18540
f66f0ce8
L
18541 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18542 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18543
6ad13e08
L
18544 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18545
b1d072a7
JM
185462012-05-19 Joseph Myers <joseph@codesourcery.com>
18547
18548 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18549 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18550 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18551 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18552 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18553 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18554 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18555 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18556 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18557 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18558 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18559 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18560 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18561 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18562 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18563 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18564 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18565 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18566 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18567 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18568 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18569 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18570 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18571 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18572 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18573 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18574 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18575 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18576 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18577 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18578 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18579
9eae47cb
AJ
185802012-05-18 Andreas Jaeger <aj@suse.de>
18581
18582 * csu/.gitignore: Delete.
18583
bb07f69f
L
185842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18585
18586 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18587 (timex): Use __syscall_slong_t.
18588
e6bdb741
AJ
185892012-05-18 Andreas Jaeger <aj@suse.de>
18590 Carlos O'Donell <carlos_odonell@mentor.com>
18591
18592 * manual/install.texi (Configuring and compiling): Update
18593 description about files modified in the source directory.
d6c33fda 18594 * INSTALL: Regenerated.
e6bdb741 18595
1b74487e
L
185962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18597
18598 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18599 value. Use "or" to set return value to -1.
18600 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18601 negate return value.
18602
a88b64b9
TMQMF
186032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18604
18605 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18606 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18607 failure if the compiler has Graphite support disabled.
18608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18609 Likewise.
18610 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18611 CFLAGS-memmove.c): Likewise.
18612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18613 Likewise.
18614
3707636e
L
186152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18616
610b8622
L
18617 * sysdeps/x86_64/x32/_itoa.h: New file.
18618
7cd195df
L
18619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18620 getdents system call only if kernel and user dirents have the
18621 same d_ino and d_off.
18622
94b07d20
L
18623 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18624 LLONG_MAX != LONG_MAX.
18625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18626 (_fitoa_word): Likewise.
18627
18298070
L
18628 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18629 years.
18630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18632 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18633
553c7ea4
L
18634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18635 include <bits/wordsize.h>. Check __x86_64__ instead of
18636 __WORDSIZE.
18637 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18638 if __x86_64__ is defined. Use anonymous union on fpstate.
18639
3707636e
L
18640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18641 anonymous union.
18642
b53ef01a
AS
186432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18644
37fb1dc0
AS
18645 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18646 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18648 Refer to _rtld_local_ro instead of _rtld_global_ro.
18649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18650 Likewise.
18651 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18652 Likewise.
18653 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18654 Likewise.
18655 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18656 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18657 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18658
b53ef01a
AS
18659 * sysdeps/powerpc/powerpc32/dl-machine.c
18660 (__elf_machine_runtime_setup) [PROF]: Don't reference
18661 _dl_prof_resolve.
18662
7a185db2
AJ
186632012-05-18 Andreas Jaeger <aj@suse.de>
18664
18665 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18666 function only available for GCCs before 3.4 since GCC 3.4
18667 introduced a builtin.
18668 (lrint): Likewise.
18669 (llrintf): Likewise.
18670 (llrint): Likewise.
18671 (fmaxf): Likewise.
18672 (fmax): Likewise.
18673 (fminf): Likewise.
18674 (fmin): Likewise.
18675 (rint): Likewise.
18676 (rintf): Likewise.
18677 (nearbyint): Likewise.
18678 (nearbyintf): Likewise.
18679 (ceil): Likewise.
18680 (ceilf): Likewise.
18681 (floor): Likewise.
18682 (floorf): Likewise.
18683
3e5aef87
L
186842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18685
428bd707
L
18686 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18687 on both fields and cast pointer to __syscall_ulong_t.
18688
3e5aef87
L
18689 * bits/types.h (__fsword_t): New type.
18690 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18691 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18693 (__FSWORD_T_TYPE): Likewise.
18694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18695 (__FSWORD_T_TYPE): Likewise.
18696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18697 (__FSWORD_T_TYPE): Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18699 (__FSWORD_T_TYPE): Likewise.
18700 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18701 __SWORD_TYPE with __fsword_t.
18702 (statfs64): Likewise.
18703
1ba7c3dc
DM
187042012-05-17 David S. Miller <davem@davemloft.net>
18705
18706 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18707
59910343
AJ
187082012-05-17 Andreas Jaeger <aj@suse.de>
18709
18710 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18711 warning.
18712
2e4c1e9e
L
187132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18714
18715 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18716
de7f5ce7
AJ
187172012-05-17 Andreas Jaeger <aj@suse.de>
18718
18719 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18720 when it is used.
18721
286abc3d
CM
187222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18723
18724 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18725
477cc68e
L
187262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18727
18728 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18729 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18730
1a0994f5
CD
187312012-05-17 Andreas Jaeger <aj@suse.de>
18732 Carlos O'Donell <carlos_odonell@mentor.com>
18733
18734 [BZ #14059]
18735 * sysdeps/x86_64/multiarch/init-arch.h
18736 (bit_YMM_Usable): Rename to...
18737 (bit_AVX_Usable): ... this.
18738 (bit_FMA4_Usable): New macro.
18739 (bit_XMM_state): New macro.
18740 (bit_YMM_state): New macro.
18741 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18742 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18743 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18744 (CPUID_OSXSAVE): New macro.
18745 (CPUID_AVX): New macro.
18746 (CPUID_FMA4): New macro.
18747 (index_YMM_Usable): Rename to...
18748 (index_AVX_Usable): ... this.
18749 (HAS_AVX): Use HAS_ARCH_FEATURE.
18750 (HAS_FMA4): Likewise.
18751 (HAS_YMM_USABLE): Remove.
18752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18753 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18754 are present.
18755 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18756 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18757 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18758 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18759 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18760
0af797de
CM
187612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18762
18763 * math/libm-test.c: Support platforms without multiple rounding modes.
18764 * math/bug-nextafter.c: Support platforms without FP exceptions.
18765 * math/bug-nexttoward.c: Likewise.
18766 * math/test-fenv.c: Likewise.
18767 * math/test-misc.c: Likewise.
18768 * stdlib/bug-getcontext.c: Likewise.
18769
e39745ff
AJ
187702012-05-17 Andreas Jaeger <aj@suse.de>
18771
18772 * manual/examples/search.c (critter_cmp): Change signature to
18773 avoid warnings.
18774 * manual/string.texi (Collation Functions): Likewise.
18775
48970aba
L
187762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 * bits/types.h: Fold copyright years.
18779 * bits/typesizes.h: Likewise.
18780 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18784 * time/time.h: Likewise.
18785
bedee953
PP
187862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18787
18788 [BZ #208]
18789 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18790 in instead of returning them. Return void.
18791 (__libc_mallinfo): Accumulate over all arenas.
18792 (__malloc_stats): Adjust for change in int_mallinfo interface.
18793
61653dfb
RM
187942012-05-16 Roland McGrath <roland@hack.frob.com>
18795
30b99d79
RM
18796 [BZ #10375]
18797 * configure.in (NM): Add AC_CHECK_TOOL for it.
18798 (libc_extra_cflags): New substituted variable.
18799 Check for -fstack-protector being used implicitly.
18800 * configure: Regenerated.
18801 * config.make.in (config-extra-cflags): New variable,
18802 gets @libc_extra_cflags@.
18803 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18804
61653dfb
RM
18805 [BZ #10375]
18806 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18807 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18808 * configure: Regenerated.
18809 * config.make.in (CPPUNDEFS): New substituted variable.
18810 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18811 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18812 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18813
661768bb
L
188142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18815
18816 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18817 (mq_attr): Use __syscall_slong_t.
18818
d4261567
L
188192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18820
18821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18822 Check __x86_64__ instead of __WORDSIZE.
18823 (_STAT_VER_LINUX): Likewise.
18824 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18825 __syscall_ulong_t and __syscall_slong_t.
18826 (stat64): Likewise.
18827
cf3ff365
L
188282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18831
76cf3e4d
L
188322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18835
a637753a
L
188362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18837
18838 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18839 __syscall_ulong_t.
18840
d5e05119
L
18841 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18842 include <bits/wordsize.h>. Check __x86_64__ instead of
18843 __WORDSIZE.
18844 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18845 defined.
18846 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18847
f62ee380
L
18848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18849 include <bits/wordsize.h>. Check __x86_64__ instead of
18850 __WORDSIZE.
18851 (user_regs_struct): Use "__extension__ unsigned long long"
18852 instead of "unsigned long" if __x86_64__ is defined.
18853 (user): Likewise. Pad after pointer field if __ILP32__ is
18854 defined.
18855
4e124ced
JM
188562012-05-16 Joseph Myers <joseph@codesourcery.com>
18857
6a3951a0
JM
18858 * configure.in (makeinfo): Require version 4.5 or later. Allow
18859 versions 5 to 9.
18860 * configure: Regenerated.
18861 * manual/install.texi (texinfo): Increase version requirement to
18862 4.5 or later.
18863 * INSTALL: Regenerated.
18864
4e124ced
JM
18865 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18866
953ca31a
L
188672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18868
18869 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18870
617aca05
L
18871 * sysdeps/x86_64/x32/ffs.c: New file.
18872
5762f7ae
L
18873 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18874 __syscall_ulong_t.
18875 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18876 defined. Use __syscall_ulong_t.
18877 (shminfo): Use __syscall_ulong_t.
18878 (shm_info): Likewise.
18879
a26b6856
L
18880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18881 __syscall_ulong_t.
18882
cb2b9ef7
L
18883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18884 <bits/wordsize.h>.
18885 (msgqnum_t): Use __syscall_ulong_t.
18886 (msglen_t): Likewise.
18887 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18888 __syscall_ulong_t.
18889
34683bb0
L
18890 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18892
84a68786
L
18893 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18894
48baa5f1
L
18895 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18896 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18897
180be88b
L
18898 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18899 __syscall_slong_t.
18900
5e90c8ad
L
18901 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18902 include <bits/wordsize.h>. Check __x86_64__ instead of
18903 __WORDSIZE.
18904
23dfb58b
L
18905 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18906 "unsigned long long int" if __x86_64__ is defined.
18907 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18908
ce5d54b0
L
18909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18911 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18912
13dc9eac
L
18913 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18914 <stdint.h>.
18915 (GET_PC): Cast to uintptr_t first.
18916 (GET_FRAME): Likewise.
18917 (GET_STACK): Likewise.
18918
a7895d15
L
18919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18924 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18926 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18930 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18946 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18948
656416c9
AS
189492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18950
5bd66283
AS
18951 * Makerules (+depfiles): Also collect depfiles from .oS in
18952 $(extra-objs).
18953 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18954 .oS, $(libnldbl-routines)).
18955
656416c9
AS
18956 * Makerules (native-compile-mkdep-flags): Define.
18957 * sunrpc/Makefile (extra-objs): Add $(addprefix
18958 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18959 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18960 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18961 calling $(make-target-directory).
18962
a46f2169
L
189632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18964
18965 * bits/types.h (__snseconds_t): Removed.
18966 * time/time.h (struct timespec): Replace __snseconds_t with
18967 __syscall_slong_t.
18968 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18969 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18970 Likewise.
18971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18972 (__SNSECONDS_T_TYPE): Likewise.
18973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18974 (__SNSECONDS_T_TYPE): Likewise.
18975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18976 (__SNSECONDS_T_TYPE): Likewise.
18977
6af6528b
L
189782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 * sysdeps/mach/hurd/bits/typesizes.h
18981 (__SYSCALL_SLONG_TYPE): New macro.
18982 (__SYSCALL_ULONG_TYPE): Likewise.
18983
de986b56
L
189842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 * bits/types.h (__syscall_slong_t): New type.
18987 (__syscall_ulong_t): Likewise.
18988
18989 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18990 (__SYSCALL_ULONG_TYPE): Likewise.
18991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18992 (__SYSCALL_SLONG_TYPE): Likewise.
18993 (__SYSCALL_ULONG_TYPE): Likewise.
18994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18995 (__SYSCALL_SLONG_TYPE): Likewise.
18996 (__SYSCALL_ULONG_TYPE): Likewise.
18997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18998 (__SYSCALL_SLONG_TYPE): Likewise.
18999 (__SYSCALL_ULONG_TYPE): Likewise.
19000
85736dc7
L
190012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19004 Add sigaltstack-offsets.sym.
19005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19006 <sigaltstack-offsets.h>.
19007 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19008 longjmp_msg pointer.
19009 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19010 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19011 signal stack.
19012 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19013
cc03b296
JM
190142012-05-15 Joseph Myers <joseph@codesourcery.com>
19015
a9538892
JM
19016 * elf/stackguard-macros.h: Remove file.
19017 * sysdeps/generic/stackguard-macros.h: New file.
19018 * sysdeps/i386/stackguard-macros.h: Likewise.
19019 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19020 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19021 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19022 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19023 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19024 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19025 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19026 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19027 <elf/stackguard-macros.h>.
19028
cc03b296
JM
19029 [BZ #14109]
19030 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19031 __aligned__ in attribute.
19032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19033 (gregset_t): Likewise.
19034
93171016
L
190352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19038 * sysdeps/x86_64/64/Implies-after: Here. New file.
19039 * sysdeps/x86_64/x32/Implies-after: New file.
19040
d86813a0
L
190412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19044 and access return value for _dl_profile_fixup. Use R10_LP to
19045 load frame size.
19046
2953ec75
L
190472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19050
3b550e9e
L
190512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19052
19053 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19054 * sysdeps/x86_64/x32/sysdep.h: New file.
19055
eda41706
L
190562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19057
19058 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19059 * sysdeps/x86_64/setjmp.S: Likewise.
19060
9ea01d93
AZ
190612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19062
19063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19065 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19067 remove unused global constant.
19068
02a91938
CM
190692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19070
19071 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19072 include of <not-cancel.h>.
19073
6540185f
RM
190742012-05-15 Roland McGrath <roland@hack.frob.com>
19075
19076 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19077
509072a0
AJ
190782012-05-15 Jeff Law <law@redhat.com>
19079 Andreas Jaeger <aj@suse.de>
19080
19081 [BZ #13594]
19082 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19083 out from...
19084 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19085 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19086 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19087 code changing __hst_map_handle.map.
19088
ba75122d
RM
190892012-05-15 Roland McGrath <roland@hack.frob.com>
19090
19091 * configure.in (sysnames): Look for Implies-before and Implies-after
19092 files.
19093 * configure: Regenerated.
19094
890d8bd8
L
190952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19098 8-byte data alignment with LP_SIZE alignment.
19099
f6ee6623
L
191002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19101
19102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19103 into R10_LP.
19104
ea2626f6
L
191052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19106
19107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19108
085f715e
L
191092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19114 Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19116
be8498fc
L
191172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19118
19119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19120 (stackinfo_sub_sp): Likewise.
19121
70bc83b9
L
191222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19125 RAX_LP.
19126
9bc0b730
L
191272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19128
19129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19130 into R*_LP.
19131
6d2850e7
L
191322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19135 sizes into R*_LP.
19136
3cb84561
L
191372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19138
19139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19140
54e2ed81
L
191412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19144 into R11_LP and load __x86_64_shared_cache_size_half into
19145 R8_LP.
19146
8a17f349
L
191472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19148
19149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19150 R8_LP.
19151
777b1eea
AZ
191522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19153
19154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19155 logb for POWER7.
19156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19157 logbf for POWER7.
19158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19159 logbl for POWER7.
19160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19161 powerpc32/power7/fpu/s_logb.c via #include.
19162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19163 powerpc32/power7/fpu/s_logbf.c via #include.
19164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19165 powerpc32/power7/fpu/s_logbl.c via #include.
19166
d20d4ac2
JM
191672012-05-15 Joseph Myers <joseph@codesourcery.com>
19168
19169 * README.libm: Remove file.
19170
6cdef1ab
L
191712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19174 count for x32. Use R*_LP and omit operand-size suffix.
19175
0b254d8f
L
191762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19177
19178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19180 * sysdeps/x86_64/x32/shlib-versions: New file.
19181
ceb809dc
RM
191822012-05-14 Roland McGrath <roland@hack.frob.com>
19183
19184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19186 Use _dl_fatal_printf instead.
19187
37f1abd4
JM
191882012-05-14 Joseph Myers <joseph@codesourcery.com>
19189
19190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19191 set if not set by the user. Do not allow for being unset.
19192 * sysdeps/unix/sysv/linux/configure: Regenerated.
19193
11de3a33
L
191942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19197 the `q' suffix from lea and replace .quad with ASM_ADDR.
19198
e02f153a
L
191992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19203 instead of $17.
19204 (PTR_DEMANGLE): Likewise.
19205
520ae0fd
L
192062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19207
19208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19209 (LP_OP): Likewise.
19210 (ASM_ADDR): Likewise.
19211 (RAX_LP): Likewise.
19212 (RBP_LP): Likewise.
19213 (RBX_LP): Likewise.
19214 (RCX_LP): Likewise.
19215 (RDI_LP): Likewise.
19216 (RSI_LP): Likewise.
19217 (RSP_LP): Likewise.
19218 (R8_LP): Likewise.
19219 (R9_LP): Likewise.
19220 (R10_LP): Likewise.
19221 (R10_LP): Likewise.
19222 (R11_LP): Likewise.
19223 (R12_LP): Likewise.
19224 (R13_LP): Likewise.
19225 (R14_LP): Likewise.
19226 (R15_LP): Likewise.
19227
b985be81
L
192282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19229
19230 * sysdeps/x86_64/x32/dl-machine.h: New file.
19231
6a4888ff
AJ
192322012-05-14 Andreas Jaeger <aj@suse.de>
19233
19234 * manual/Makefile (subdir): Remove export of subdir.
19235 (all): Remove target.
19236 (.PHONY): Remove all from list.
19237 (mkinstalldirs): Remove.
19238 (.PHONY): Remove installdirs from list.
19239 ($(inst_infodir)/libc.info): Use make-target-directory.
19240 (installdirs): Remove.
19241 (subdir_%): Remove.
19242 (glibc-targets): Remove.
19243 (lib): Remove.
19244 (stubs): Remove.
19245 ($(objpfx)stubs ../po/manual.pot): Remove.
19246 ($(objpfx)stamp%): Remove.
19247 (make-target-directory): Remove.
19248 (subdir_install): Remove.
19249 (routines): Remove.
19250 (aux): Remove.
19251 (sources): Remove.
19252 (objects): Remove.
19253 (headers): Remove.
19254
19255 [BZ #13750]
19256 * manual/.gitignore: Remove, it's not needed anymore.
19257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19258 all files in it.
19259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19260 directory.
19261 (texis): Renamed to $(objpfx)texis.
19262 (texis-path): New, contains path to generated files.
19263 (chapters.%): Use texis-path for complete path, add extra argument
19264 libc-texinfo.sh.
19265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19267 (summary,texi, stamp-summary): Use complete path of
19268 files. Generate files in build dir.
19269 (dir-add.texi): Build in build dir.
19270 (libm-err.texi,stamp-libm-err): Likewise.
19271 (version.texi, stamp-version): Likewise.
19272 (.%c.texi): Likewise.
19273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19274 (mostlyclean): Remove target.
19275 (realclean): Remove target.
19276 (generated): Add new variable with contents from mostlyclean and
19277 realclean, remove entries duplicated in common-mostlyclean, add
19278 stamp-libm-err and stamp-version.
19279 (generated-dirs): Add libc directory.
19280 ($(inst_infodir)/libc.info): Install files from build dir.
19281
19282 * manual/install.texi (Configuring and compiling): Adjust since
19283 the info files are not part of the tar ball anymore.
19284
7ac77294
AJ
192852012-05-14 Andreas Jaeger <aj@suse.de>
19286
19287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19288 variable.
19289
ffb7875d
JM
192902012-05-14 Joseph Myers <joseph@codesourcery.com>
19291
19292 [BZ #13717]
19293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19294 to 2.2.0 where earlier.
19295 * sysdeps/unix/sysv/linux/configure: Regenerated.
19296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19297 Remove conditional code.
19298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19300 Remove conditional code.
19301 [!__NR_lchown]: Likewise.
19302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19303 [__NR_lchown]: Likewise.
19304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19305 comment referencing __ASSUME_LCHOWN_SYSCALL.
19306 * sysdeps/unix/sysv/linux/i386/sigaction.c
19307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19310 Remove conditional code.
19311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19312 (__protocol_available): Remove #if 0 code.
19313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19314 conditional code.
19315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19316 * sysdeps/unix/sysv/linux/kernel-features.h
19317 (__ASSUME_GETCWD_SYSCALL): Don't define.
19318 (__ASSUME_REALTIME_SIGNALS): Likewise.
19319 (__ASSUME_PREAD_SYSCALL): Likewise.
19320 (__ASSUME_PWRITE_SYSCALL): Likewise.
19321 (__ASSUME_POLL_SYSCALL): Likewise.
19322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19324 non-SPARC.
19325 (__ASSUME_SIOCGIFNAME): Don't define.
19326 (__ASSUME_MSG_NOSIGNAL): Likewise.
19327 (__ASSUME_SENDFILE): Define unconditionally.
19328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19330 conditional code.
19331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19363 Remove conditional code.
19364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19366 Remove conditional code.
19367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19371 Remove conditional code.
19372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19374 Remove conditional code.
19375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19377 Remove conditional code.
19378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19380 Remove conditional code.
19381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19383 Remove conditional code.
19384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19388 * sysdeps/unix/sysv/linux/sigaction.c
19389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19391 * sysdeps/unix/sysv/linux/sigpending.c
19392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19394 * sysdeps/unix/sysv/linux/sigprocmask.c
19395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19397 * sysdeps/unix/sysv/linux/sigsuspend.c
19398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19401 (__libc_missing_rt_sigs): Remove.
19402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19405 Remove conditional code.
19406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19408 return 1.
19409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19413
1bfb7291
AJ
194142012-05-14 Andreas Jaeger <aj@suse.de>
19415
caae5a81
AJ
19416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19417 it's not used in glibc.
19418 (__coshm1): Likewise.
19419 (__acosh1p): Likewise.
19420 (__sgn): Likewise.
19421
1bfb7291
AJ
19422 * manual/string.texi (Copying and Concatenation): Add missing
19423 variable in concat example.
19424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19425
c044d724
L
194262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19427
144c5467 19428 [BZ #14103]
c044d724
L
19429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19430 __builtin_clzl with __builtin_clzll.
19431
2523c62b
L
194322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 [BZ #14104]
19435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19436 libc_freeres_ptr.
19437
d7bb4c42
LD
194382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19439
19440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19444
9dc4e1fb
MF
194452012-05-14 Mike Frysinger <vapier@gentoo.org>
19446
19447 * NEWS: Update ia64 info.
19448
c7df0112
AS
194492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19450
19451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19452 used as bcopy.
19453
dc70356c
TS
194542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19455
19456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19457 * sysdeps/unix/syscalls.list (dup3): Likewise.
19458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19460
9fb1a21f
L
194612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19462
19463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19465
4822a2a5
L
194662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19467
19468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19469 thread pointer.
19470 (TLS_IE): Use mov/add instead of movq/addq to load thread
19471 pointer.
19472 (TLS_GD_PREFIX): New.
19473 (TLS_GD): Use it.
19474
842b81d6
DM
194752012-05-11 David S. Miller <davem@davemloft.net>
19476
19477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19479 (_FPU_SETCW): Likewise.
19480
1cf463cd
L
194812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19482
19483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19484 is 32-byte aligned.
19485
60cc4a18
AS
194862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19487
19488 [BZ #11837]
19489 * iconvdata/gb18030.c: Update tables.
19490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19491 characters specially.
19492 (BODY for TO_LOOP): Add encoding of missing ranges.
19493
febb44a4
TS
194942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19495
19496 [BZ #13673]
19497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19498 * sysdeps/mach/hurd/dup3.c: Likewise.
19499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19500 * sysdeps/powerpc/memmove.c:: Likewise.
19501
0a10fb9e
L
195022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19506
df8a552f
L
195072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19508
19509 * elf/elf.h (R_X86_64_RELATIVE64): New.
19510 (R_X86_64_NUM): Updated.
19511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19515 tst-quad1pie tst-quad2pie
19516 (modules-names): Add tst-quadmod1 tst-quadmod2.
19517 ($(objpfx)tst-quad1): New dependency.
19518 ($(objpfx)tst-quad2): Likewise.
19519 ($(objpfx)tst-quad1pie): Likewise.
19520 ($(objpfx)tst-quad2pie): Likewise.
19521 * sysdeps/x86_64/tst-quad1.c: New file.
19522 * sysdeps/x86_64/tst-quad1pie.c: New file.
19523 * sysdeps/x86_64/tst-quad2.c: Likewise.
19524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19529
f34d6f84
ST
195302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19531
f42d41d1
ST
19532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19534 * streams/stropts.h (t_scalar_t): Define type.
19535
3c3571fc
ST
19536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19537 (_PATH_PRESERVE): Set to "/var/lib".
19538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19539
61f06bd3
ST
19540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19541 instead of int.
19542
918d4d71
ST
19543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19544 if __dir_mkfile succeeded.
19545
f34d6f84
ST
19546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19547 checking for _hurd_dtablesize. Unlock it right after having
19548 finished _hurd_dtable allocation.
19549
10589b4a
TS
195502012-05-10 Thomas Schwinge <thomas@schwinge.name>
19551
674cdbc7
TS
19552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19553 * sysdeps/mach/hurd/configure: Regenerated.
19554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19555 special-casing to...
19556 * sysdeps/gnu/configure.in: ... this new file.
19557 * sysdeps/unix/sysv/linux/configure: Regenerated.
19558 * sysdeps/gnu/configure: New generated file.
19559
8e41b99f
TS
19560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19561 for Linux: use nsec instead of usec, as well as:
19562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19563 members of type struct timespec.
19564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19565 New macros.
19566 (struct stat64): Likewise.
19567 (_STATBUF_ST_NSEC): New macro.
19568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19569
10589b4a
TS
19570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19571 __strtoul_internal rather than strtoul.
19572
63643c85
PT
195732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19574
19575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19576 and reject them.
19577
3faebe6a
ST
195782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19579
19580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19581 which preserves existing values.
19582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19583
c6474b07
PT
195842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19585
19586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19587 TIMEOUT values. Return EINVAL for NFDS values either negative or
19588 greater than FD_SETSIZE.
19589
1043890b
ST
195902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19591
19592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19593 allocated, call __vm_protect to finish enabling the existing space, and
19594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19595 allocate the remainder.
19596
37ed8b9b
PT
195972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19598
19599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19601
db653660
ST
196022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19603
37ed8b9b
PT
19604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19605 sysdeps/mach/hurd/readlink.c.
b29d4053 19606
db653660
ST
19607 * posix/tst-sysconf.c (posix_options): Only use
19608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19609 _POSIX_SYNCHRONIZED_IO when they are defined
19610 * sysdeps/mach/hurd/bits/posix_opt.h:
19611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19612 (_XOPEN_REALTIME): Undefine macro.
19613 (_XOPEN_REALTIME_THREADS): Undefine macro.
19614 (_XOPEN_SHM): Undefine macro.
19615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19616 macro to -1.
19617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19618 macro to -1.
19619 (_POSIX_ASYNC_IO): Undefine macro.
19620 (_POSIX_PRIORITIZED_IO): Undefine macro.
19621 (_POSIX_SPIN_LOCKS): Define macro to -1.
19622
ee16e894
ST
19623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19624 SA_NODEFER, SA_RESETHAND.
19625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19627 F_DUPFD_CLOEXEC.
19628
6103ae3b
TS
196292012-05-10 Thomas Schwinge <thomas@schwinge.name>
19630
19631 * elf/Makefile (pldd-modules): Define unconditionally.
19632
80b4e5f3
TS
196332012-05-10 Thomas Schwinge <thomas@schwinge.name>
19634
19635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19636
edadcbd6
ST
196372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19638
19639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19640 Return ENOENT when name is empty.
19641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19642
80694780
TS
196432012-05-10 Thomas Schwinge <thomas@schwinge.name>
19644
1792c087
TS
19645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19646
80694780
TS
19647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19648
6b645f0d
ST
196492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19650
80694780
TS
19651 Fix mlock in all cases except non-readable pages.
19652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19653 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19654
6b645f0d
ST
19655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19656 (__mkdir): When path is `/', just fail with EEXIST.
19657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19658
e468f8a3
TS
196592012-05-10 Thomas Schwinge <thomas@schwinge.name>
19660
19661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19662 <sys/uio.h> (for writev).
19663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19664 and <sys/param.h> (for MIN).
19665
a4186cff
PT
196662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19667
19668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19669 REQUESTED_TIME. Properly set the remaining time and return EINTR
19670 if interrupted.
19671
510bbf14
TS
196722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19673
19674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19675 Depend on against $(link-rpcuserlibs).
19676
5d5722e8
ST
196772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19678
a4186cff
PT
19679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19680 (__libc_stack_end): Do not use attribute_relro.
19681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19683 to libthread-provided value.
a4186cff
PT
19684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19685 attribute_relro.
5d5722e8 19686
37233df9
TS
196872012-05-10 Thomas Schwinge <thomas@schwinge.name>
19688
be971a2b
TS
19689 [BZ #3748]
19690 * bits/libc-lock.h (__libc_once_get): New macro.
19691 * sysdeps/mach/bits/libc-lock.h: Likewise.
19692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19694 instead of using implementation details.
19695
37233df9
TS
19696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19697 * libio/freopen.c: Likewise.
19698 * libio/freopen64.c: Likewise.
19699 * misc/syslog.c: Likewise.
19700 * nscd/connections.c: Likewise.
19701 * nscd/netgroupcache.c: Likewise.
19702 * sysdeps/posix/getcwd.c: Likewise.
19703
38de94a5
RM
197042012-05-10 Roland McGrath <roland@hack.frob.com>
19705
19706 * math/w_ilogbf.c: Add #include <limits.h>.
19707
67530489
ST
197082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19709
a4186cff 19710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19711 path instead of returning without unlocking.
19712
67530489
ST
19713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19714 immediate-write ioctls.
19715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19716
5aa3a74a
TS
197172012-05-10 Thomas Schwinge <thomas@schwinge.name>
19718
18bad2ae
TS
19719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19720 __builtin_frame_address instead of making assumptions about the
19721 location of the return address relative to DATA. Force early load of
19722 the return address.
19723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19724 __builtin_frame_address.
19725
5aa3a74a
TS
19726 dup3 for GNU Hurd.
19727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19729 implement dup3 and do some further code clean-ups.
19730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19732
ecd0de9a
ST
197332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19734
cd9fa985
ST
19735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19736
a4186cff
PT
19737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19742 d->port.lock.
802ca5a5 19743
a4186cff
PT
19744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19746 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19747
bcf55240
TS
197482012-05-10 Thomas Schwinge <thomas@schwinge.name>
19749
6960eb42
TS
19750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19752 definitions.
19753
eb43375f
TS
19754 accept4 for GNU Hurd.
19755 * include/sys/socket.h (__libc_accept4): New prototype.
19756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19757 to implement __libc_accept4.
19758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19759 __libc_accept4.
19760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19761
bcf55240
TS
19762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19765 signal-defines.sym.
19766
6178c55b
ST
197672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19768
a4186cff 19769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19770
6f080c2f
TS
197712012-05-10 Thomas Schwinge <thomas@schwinge.name>
19772
19773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19774 assertion on O_CLOEXEC flag.
19775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19776 * hurd/intern-fd.c: Likewise.
19777 * hurd/port2fd.c: Likewise.
19778
bcfe3a54
ST
197792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19780
19781 [BZ #3906]
19782 * bits/in.h (IPV6_PKTINFO): Define new macro.
19783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19784
89c9aa49
AZ
197852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19786
19787 [BZ #13954]
19788 [BZ #13955]
19789 [BZ #13956]
19790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19796 * math/libm-test.inc (logb_test) : Additional logb tests.
19797
021db4be
AJ
197982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19799 Andreas Jaeger <aj@suse.de>
19800
19801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19802 * configure: Regenerated.
19803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19804 * config.make.in (link-obsolete-rpc): New substituted variable.
19805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19809 so that libc.a contains the symbols.
19810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19812 * sunrpc/auth_none.c: Likewise.
19813 * sunrpc/auth_unix.c: Likewise.
19814 * sunrpc/authdes_prot.c: Likewise.
19815 * sunrpc/authuxprot.c: Likewise.
19816 * sunrpc/clnt_gen.c: Likewise.
19817 * sunrpc/clnt_perr.c: Likewise.
19818 * sunrpc/clnt_raw.c: Likewise.
19819 * sunrpc/clnt_simp.c: Likewise.
19820 * sunrpc/clnt_tcp.c: Likewise.
19821 * sunrpc/clnt_udp.c: Likewise.
19822 * sunrpc/clnt_unix.c: Likewise.
19823 * sunrpc/des_crypt.c: Likewise.
19824 * sunrpc/des_soft.c: Likewise.
19825 * sunrpc/get_myaddr.c: Likewise.
19826 * sunrpc/key_call.c: Likewise.
19827 * sunrpc/key_prot.c: Likewise.
19828 * sunrpc/netname.c: Likewise.
19829 * sunrpc/pm_getmaps.c: Likewise.
19830 * sunrpc/pm_getport.c: Likewise.
19831 * sunrpc/pmap_clnt.c: Likewise.
19832 * sunrpc/pmap_prot.c: Likewise.
19833 * sunrpc/pmap_prot2.c: Likewise.
19834 * sunrpc/pmap_rmt.c: Likewise.
19835 * sunrpc/publickey.c: Likewise.
19836 * sunrpc/rpc_cmsg.c: Likewise.
19837 * sunrpc/rpc_common.c: Likewise.
19838 * sunrpc/rpc_dtable.c: Likewise.
19839 * sunrpc/rpc_prot.c: Likewise.
19840 * sunrpc/rpc_thread.c: Likewise.
19841 * sunrpc/rtime.c: Likewise.
19842 * sunrpc/svc.c: Likewise.
19843 * sunrpc/svc_auth.c: Likewise.
19844 * sunrpc/svc_raw.c: Likewise.
19845 * sunrpc/svc_run.c: Likewise.
19846 * sunrpc/svc_tcp.c: Likewise.
19847 * sunrpc/svc_udp.c: Likewise.
19848 * sunrpc/svc_unix.c: Likewise.
19849 * sunrpc/svcauth_des.c: Likewise.
19850 * sunrpc/xcrypt.c: Likewise.
19851 * sunrpc/xdr.c: Likewise.
19852 * sunrpc/xdr_array.c: Likewise.
19853 * sunrpc/xdr_float.c: Likewise.
19854 * sunrpc/xdr_intXX_t.c: Likewise.
19855 * sunrpc/xdr_mem.c: Likewise.
19856 * sunrpc/xdr_rec.c: Likewise.
19857 * sunrpc/xdr_ref.c: Likewise.
19858 * sunrpc/xdr_sizeof.c: Likewise.
19859 * sunrpc/xdr_stdio.c: Likewise.
19860
b5c086a2
RM
198612012-05-10 Roland McGrath <roland@hack.frob.com>
19862
19863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19864 change. Update copyright years.
19865
6d74dd09
JM
198662012-05-10 Joseph Myers <joseph@codesourcery.com>
19867
19868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19869
28e72501
MK
198702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19871 Joseph Myers <joseph@codesourcery.com>
19872 Paul Pluzhnikov <ppluzhnikov@google.com>
19873
19874 [BZ #14012]
19875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19876 requiring rpcgen.
19877 [cross-compiling] (extra-libs): Likewise.
19878 [cross-compiling] (extra-libs-others): Likewise.
19879 [cross-compiling] (librpcsvc-routines): Likewise.
19880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19881 [cross-compiling] (omit-deps): Likewise.
19882 (sunrpc-CPPFLAGS): New variable.
19883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19885 (cross-rpcgen-objs): New variable.
19886 (extra-objs): Append $(cross-rpcgen-objs).
19887 ($(cross-rpcgen-objs)): New rule.
19888 ($(objpfx)cross-rpcgen): Likewise.
19889 (rpcgen-cmd): Define to use $(built-program-file). Expand
19890 comment.
19891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19892 ($(objpfx)x%.stmp): Likewise.
19893 * sunrpc/proto.h [IS_IN_build] (_): Define.
19894 [IS_IN_build] (_libc_intl_domainname): Likewise.
19895
c8c59454
L
198962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19897
19898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19900 and R_X86_64_TPOFF64.
19901
6f27cd16
JM
199022012-05-10 Joseph Myers <joseph@codesourcery.com>
19903
19904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19905 sysdeps/unix/sysv/syscalls.list.
19906 (stime): Likewise.
19907 (utime): Likewise.
19908 * sysdeps/unix/sysv/syscalls.list: Remove file.
19909
02467e1c
PE
199102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19911
19912 [BZ #3440]
19913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19916 (__LC_IDENTIFICATION): Make these macros useful in #if
19917 expressions, as required by C99.
19918
da392631
AS
199192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19920
19921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19923 after this.
19924
8115f29b
L
199252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 * stdlib/longlong.h: Updated from GCC.
19928
bdd74070
AJ
199292012-05-09 Andreas Jaeger <aj@suse.de>
19930
edfe0dbe
AJ
19931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19932 default is first entry.
19933 (run_mode): Set type.
19934 (main): Remove informal message about syslog.
19935 (options): Fix typo.
19936
bcfe3a54
ST
19937 [BZ #14053]
19938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19939 to asm.
bcfe3a54
ST
19940 (lrint): Likewise.
19941 (llrintf): Likewise.
19942 (llrint): Likewise.
19943 (rint): Likewise.
19944 (rintf): Likewise.
19945 (nearbyint): Likewise.
19946 (nearbyintf): Likewise.
bdd74070 19947
91d8d69e
AJ
199482012-05-09 Andreas Jaeger <aj@suse.de>
19949 Pedro Alves <palves@redhat.com>
19950
19951 * nscd/nscd.c (run_mode): Use enum.
19952 (main): Cleanup coding style issue.
19953
bb90b80b
AJ
199542012-05-09 Alexandre Oliva <aoliva@redhat.com>
19955 Andreas Jaeger <aj@suse.de>
19956
bcfe3a54
ST
19957 * nscd/nscd.c (go_background): Replaced with...
19958 (run_mode): ... this.
bb90b80b 19959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19960 (options): Add -F --foreground.
19961 (main): Implement it.
19962 (parse_opt): Parse it.
bb90b80b 19963
1a4b75a1
AJ
199642012-05-09 Andreas Jaeger <aj@suse.de>
19965
19966 [BZ #14083]
19967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19969 -Wconversion warning.
19970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19971 Likewise.
19972
b1cc2472
JM
199732012-05-09 Joseph Myers <joseph@codesourcery.com>
19974
19975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19976 == 0.
19977 (LC_ALL): Use macro-int-constant.
19978 (LC_COLLATE): Likewise.
19979 (LC_CTYPE): Likewise.
19980 (LC_MESSAGES): Likewise.
19981 (LC_MONETARY): Likewise.
19982 (LC_NUMERIC): Likewise.
19983 (LC_TIME): Likewise.
19984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19988 Specify type.
19989 [C99-based standards] (float_t): Expect type.
19990 [C99-based standards] (double_t): Expect type.
19991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19992 type.
19993 [C99-based standards] (HUGE_VALL): Likewise.
19994 [C99-based standards] (INFINITY): Likewise.
19995 [C99-based standards] (NAN): Likewise.
19996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19997 [C99-based standards] (FP_NAN): Likewise.
19998 [C99-based standards] (FP_NORMAL): Likewise.
19999 [C99-based standards] (FP_SUBNORMAL): Likewise.
20000 [C99-based standards] (FP_ZERO): Likewise.
20001 [C99-based standards] (FP_FAST_FMA): Use
20002 optional-macro-int-constant. Specify type. Require == 1.
20003 [C99-based standards] (FP_FAST_FMAF): Likewise.
20004 [C99-based standards] (FP_FAST_FMAL): Likewise.
20005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20006 [C99-based standards] (FP_ILOGBNAN): Likewise.
20007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20008 Specify type.
20009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20010 [C99-based standards] (math_errhandling): Specify type.
20011 [ISO99 || ISO11] (signgam): Do not allow.
20012 [non-C99-based standards] (copysignf): Do not allow.
20013 [non-C99-based standards] (exp2f): Likewise.
20014 [non-C99-based standards] (log2f): Likewise.
20015 [non-C99-based standards] (modff): Allow.
20016 [non-C99-based standards] (erff): Do not allow.
20017 [non-C99-based standards] (erfcf): Likewise.
20018 [non-C99-based standards] (gammaf): Likewise.
20019 [non-C99-based standards] (hypotf): Likewise.
20020 [non-C99-based standards] (j0f): Likewise.
20021 [non-C99-based standards] (j1f): Likewise.
20022 [non-C99-based standards] (jnf): Likewise.
20023 [non-C99-based standards] (lgammaf): Likewise.
20024 [non-C99-based standards] (tgammaf): Likewise.
20025 [non-C99-based standards] (y0f): Likewise.
20026 [non-C99-based standards] (y1f): Likewise.
20027 [non-C99-based standards] (ynf): Likewise.
20028 [non-C99-based standards] (isnanf): Likewise.
20029 [non-C99-based standards] (acoshf): Likewise.
20030 [non-C99-based standards] (asinhf): Likewise.
20031 [non-C99-based standards] (atanhf): Likewise.
20032 [non-C99-based standards] (cbrtf): Likewise.
20033 [non-C99-based standards] (expm1f): Likewise.
20034 [non-C99-based standards] (ilogbf): Likewise.
20035 [non-C99-based standards] (log1pf): Likewise.
20036 [non-C99-based standards] (logbf): Likewise.
20037 [non-C99-based standards] (nextafterf): Likewise.
20038 [non-C99-based standards] (remainderf): Likewise.
20039 [non-C99-based standards] (rintf): Likewise.
20040 [non-C99-based standards] (scalbf): Likewise.
20041 [non-C99-based standards] (copysignl): Likewise.
20042 [non-C99-based standards] (exp2l): Likewise.
20043 [non-C99-based standards] (log2l): Likewise.
20044 [non-C99-based standards] (modfl): Allow.
20045 [non-C99-based standards] (erfl): Do not allow.
20046 [non-C99-based standards] (erfcl): Likewise.
20047 [non-C99-based standards] (gammal): Likewise.
20048 [non-C99-based standards] (hypotl): Likewise.
20049 [non-C99-based standards] (j0l): Likewise.
20050 [non-C99-based standards] (j1l): Likewise.
20051 [non-C99-based standards] (jnl): Likewise.
20052 [non-C99-based standards] (lgammal): Likewise.
20053 [non-C99-based standards] (tgammal): Likewise.
20054 [non-C99-based standards] (y0l): Likewise.
20055 [non-C99-based standards] (y1l): Likewise.
20056 [non-C99-based standards] (ynl): Likewise.
20057 [non-C99-based standards] (isnanl): Likewise.
20058 [non-C99-based standards] (acoshl): Likewise.
20059 [non-C99-based standards] (asinhl): Likewise.
20060 [non-C99-based standards] (atanhl): Likewise.
20061 [non-C99-based standards] (cbrtl): Likewise.
20062 [non-C99-based standards] (expm1l): Likewise.
20063 [non-C99-based standards] (ilogbl): Likewise.
20064 [non-C99-based standards] (log1pl): Likewise.
20065 [non-C99-based standards] (logbl): Likewise.
20066 [non-C99-based standards] (nextafterl): Likewise.
20067 [non-C99-based standards] (remainderl): Likewise.
20068 [non-C99-based standards] (rintl): Likewise.
20069 [non-C99-based standards] (scalbl): Likewise.
20070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20071 [non-C99-based standards] (FP_*): Do not allow.
20072 [C99-based standards] (FP_*): Change to
20073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20075 allow.
20076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20077 (SIG_ERR): Likewise.
20078 [X/Open-based standards] (SIG_HOLD): Likewise.
20079 (SIG_IGN): Likewise.
20080 (SIGABRT): Use macro-int-constant. Specify type. Require
20081 positive value.
20082 (SIGFPE): Likewise.
20083 (SIGILL): Likewise.
20084 (SIGINT): Likewise.
20085 (SIGSEGV): Likewise.
20086 (SIGTER): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20105 [X/Open-based standards] (SIGTRAP): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20111 allow.
20112
b9f1922d
IW
201132012-05-08 Ian Wienand <ianw@vmware.com>
20114
20115 [BZ #14080]
20116 * time/tzset.c (__tzset_parse_tz): Update default rules for
20117 daylight time changes in the Energy Policy Act of 2005.
20118
1db86e88
AJ
201192012-05-09 Andreas Jaeger <aj@suse.de>
20120
20121 [BZ #13983]
20122 * elf/ldconfig.c (parse_conf): Change string to make clear that
20123 ldconfig only issued a warning if ld.so.conf does not exist.
20124
dee4a4e3
DM
201252012-05-08 David S. Miller <davem@davemloft.net>
20126
ee0db190
DM
20127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20128 movxtod instead of popping the value on the stack.
20129
dee4a4e3
DM
20130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20131
6a43ec98
CD
201322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20133
20134 * config.h.in: Add HAVE_ARM_PCS_VFP.
20135
05c2c961
RMG
201362012-05-08 Roland Mc Grath <roland@hack.frob.com>
20137
bcfe3a54
ST
20138 [BZ #13979]
20139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20140 checking but the checks are disabled for any reason.
05c2c961 20141
4b30f61a
L
201422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20143
20144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20145 and ELF64_R_TYPE with ELFW(R_TYPE).
20146
eee2bc67
JM
201472012-05-08 Joseph Myers <joseph@codesourcery.com>
20148
7ea5391a
JM
20149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20150 (ulimit): Likewise.
20151
eee2bc67
JM
20152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20153 (settimeofday): Likewise.
20154
abb66a67
MF
201552012-05-08 Mike Frysinger <vapier@gentoo.org>
20156
20157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20158 a struct th_u2 inside the union, and move tu_block/tu_code into
20159 a new th_u3 union of tu_block/tu_code inside of that. Move
20160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20164 (th_stuff): Change to th_u1.tu_stuff.
20165 (th_data): Define.
20166 (th_msg): Change to th_u1.th_u2.tu_data.
20167
7f18b530
DM
201682012-05-07 David S. Miller <davem@davemloft.net>
20169
05760585
DM
20170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20171
7f18b530
DM
20172 [BZ #14074]
20173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20174 (SETUP_PIC_REG): Use it.
20175 (SETUP_PIC_REG_LEAF): Use it.
20176
495fd99f
JM
201772012-05-07 Joseph Myers <joseph@codesourcery.com>
20178
20179 [BZ #13885]
20180 [BZ #13923]
20181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20182 USE_AS_EXPM1L.
20183 (EXPL_FINITE): Likewise.
20184 (FLDLOG): Likewise.
20185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20187 e_expl.S.
20188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20189 USE_AS_EXPM1L.
20190 (EXPL_FINITE): Likewise.
20191 (FLDLOG): Likewise.
20192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20194 e_expl.S.
20195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20196 test of -max_value argument for long double.
20197 * sysdeps/i386/fpu/libm-test-ulps: Update.
20198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20199
6693d694
DM
202002012-05-06 David S. Miller <davem@davemloft.net>
20201
20202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20203 quad soft-float symbols whose references which are compiler
20204 generated.
20205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20206
6c23e11c
JM
202072012-05-06 Joseph Myers <joseph@codesourcery.com>
20208
d8b82cad
JM
20209 [BZ #13884]
20210 [BZ #13914]
20211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20212 USE_AS_EXP10L.
20213 (EXPL_FINITE): Likewise.
20214 (FLDLOG): Likewise.
20215 (c0): Likewise.
20216 (c1): Likewise.
20217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20218 Adjust comments for base varying.
20219 (__expl_finite): Change alias to EXPL_FINITE.
20220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20221 e_expl.S.
20222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20227 USE_AS_EXP10L.
20228 (EXPL_FINITE): Likewise.
20229 (FLDLOG): Likewise.
20230 (c0): Likewise.
20231 (c1): Likewise.
20232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20233 Adjust comments for base varying.
20234 (__expl_finite): Change alias to EXPL_FINITE.
20235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20236 tests for bugs.
20237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20238
6c23e11c
JM
20239 [BZ #14064]
20240 * math/libm-test.inc (check_float_internal): Correct ulp
20241 calculation for subnormal expected results.
20242
29ba805c
AJ
202432012-05-06 Andreas Jaeger <aj@suse.de>
20244
20245 * Makeconfig (+math-flags): New, set to -frounding-math.
20246 (+cflags): Add +math-flags so that all of glibc gets compiled with
20247 it.
20248
20249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20250
7b17aeda
JM
202512012-05-05 Joseph Myers <joseph@codesourcery.com>
20252
5779f134
JM
20253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20254 Disable one test.
20255
41498f4d
JM
20256 [BZ #13787]
20257 [BZ #13922]
20258 [BZ #14036]
20259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20260 (__ieee754_expl): Allow for and saturate large arguments.
20261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20262 (u_threshold): Likewise.
20263 (__exp): Call __ieee754_exp before checking for overflow and
20264 underflow.
20265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20266 (u_threshold): Likewise.
20267 (__expf): Call __ieee754_expf before checking for overflow and
20268 underflow.
20269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20270 (u_threshold): Likewise.
20271 (__expl): Call __ieee754_expl before checking for overflow and
20272 underflow.
20273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20274 (__ieee754_expl): Allow for and saturate large arguments.
20275 * math/libm-test.inc (exp_test): Add another test. Do not allow
20276 missing overflow exception on overflow.
20277 (expm1_test): Do not allow missing overflow exception on overflow.
20278
6698b8bf
JM
20279 * sysdeps/i386/fpu/e_expl.c: Move to ...
20280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20281 rather than using inline asm.
20282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20285
7b17aeda
JM
20286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20287 (nice): Likewise.
20288 (poll): Likewise.
20289 (signal): Likewise.
20290 (time): Likewise.
20291 (times): Likewise.
20292
f7c85819
JM
202932012-05-04 Joseph Myers <joseph@codesourcery.com>
20294
20295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20296 sysdeps/unix/common/syscalls.list.
20297 (fchmod): Likewise.
20298 (fchown): Likewise.
20299 (ftruncate): Likewise.
20300 (getrusage): Likewise.
20301 (gettimeofday): Likewise.
20302 (setpgid): Likewise.
20303 (setregid): Likewise.
20304 (setreuid): Likewise.
20305 (sigaction): Likewise.
20306 (truncate): Likewise.
20307 (vhangup): Likewise.
20308 * sysdeps/unix/common/syscalls.list: Remove file.
20309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20310 * sysdeps/unix/sysv/linux/Implies: Likewise.
20311
336270d0
L
203122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20313
20314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20317 Moved to ...
20318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20319 Here.
20320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20321 to ...
20322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20324 to ...
20325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20327 to ...
20328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20330 to ...
20331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20333 to ...
20334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20336 to ...
20337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20339 to ...
20340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20341 Here.
20342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20343 to ...
20344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20345 Here.
20346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20347 to ...
20348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20350 Moved to ...
20351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20352 Here.
20353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20354 to ...
20355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20356
d128e450
JM
203572012-05-04 Joseph Myers <joseph@codesourcery.com>
20358
fa8ee516
JM
20359 * sysdeps/unix/common/bits/dirent.h: Remove file.
20360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20361
d128e450
JM
20362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20365 * sysdeps/unix/bsd/isatty.c: Likewise.
20366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20369
ff8faaf0 203702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20371
62881be4 20372 [BZ #13563]
31dc8730
AZ
20373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20374 long double comparison inaccuracies.
20375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20377
6fef930c
AS
203782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20379
20380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20382
8f203e6c
JM
203832012-05-04 Joseph Myers <joseph@codesourcery.com>
20384
20385 [BZ #14049]
20386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20387 nonzero digits before rounding a hex value.
20388 * stdlib/tst-strtod.c (tests): Add another test.
20389
5197d9c2
AK
203902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20391
20392 * sysdeps/s390/fpu/libm-test-ulps: Update.
20393
f0c1dedf
AJ
203942012-05-03 Andreas Jaeger <aj@suse.de>
20395
20396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20397 does not get optimized out.
20398 (malloc_opt_barrier): New.
20399
a65ef2ae 204002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20401 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20402
2b942cb7 20403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20404 intermediate file deletion.
2b942cb7 20405 (generated): Add .symlist files.
a65ef2ae 20406
54b71e02
JM
204072012-05-03 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #13775]
20410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20411 Redirect under this condition.
20412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20413 [__USE_GNU] (__dprintf_chk): Not under this condition.
20414 [__USE_GNU] (__vdprintf_chk): Likewise.
20415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20416 under this condition.
20417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20419 [__USE_XOPEN2K8] (vdprintf): Likewise.
20420 [__USE_GNU] (__dprintf_chk): Not under this condition.
20421 [__USE_GNU] (__vdprintf_chk): Likewise.
20422 [__USE_GNU] (dprintf): Likewise.
20423 [__USE_GNU] (vdprintf): Likewise.
20424
d3dfcc41
RM
204252012-05-03 Roland McGrath <roland@hack.frob.com>
20426
20427 * elf/Makefile (common-generated): Set this instead of generated for
20428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20429 $(all-built-dso)-derived lists.
20430
7ac30cc5
AJ
204312012-05-03 Andreas Jaeger <aj@suse.de>
20432
0c51e550
AJ
20433 * sysdeps/i386/fpu/libm-test-ulps: Update.
20434
7ac30cc5
AJ
20435 * FAQ: Removed.
20436 * FAQ.in: Likewise.
20437 * scripts/gen-FAQ.pl: Likewise.
20438 * manual/install.texi (Installation): Point to online location of
20439 FAQ.
20440 * Makefile (files-for-dist): Remove FAQ.
20441 (FAQ): Remove.
20442
d4c2917f
AM
204432012-05-02 Allan McRae <allan@archlinux.org>
20444
20445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20446 (LDFLAGS-reldepmod5.so): Likewise.
20447 (LDFLAGS-reldep6mod1.so): Likewise.
20448 (LDFLAGS-reldep6mod4.so): Likewise.
20449 (LDFLAGS-reldep8mod3.so): Likewise.
20450 (LDFLAGS-unload4mod1.so): Likewise.
20451 (LDFLAGS-unload4mod2.so): Likewise.
20452 (LDFLAGS-tst-initorder): Likewise.
20453 (LDFLAGS-tst-initordera2.so): Likewise.
20454 (LDFLAGS-tst-initordera3.so): Likewise.
20455 (LDFLAGS-tst-initordera4.so): Likewise.
20456 (LDFLAGS-tst-initorderb2.so): Likewise.
20457 (LDFLAGS-noload): Likewise.
20458 (LDFLAGS-next): Likewise.
20459 (LDFLAGS-order2mod1.so): Likewise.
20460 (LDFLAGS-order2mod2.so): Likewise.
20461 (LDFLAGS-tst-initorder2): Likewise.
20462 (LDFLAGS-tst-initorder2a.so): Likewise.
20463 (LDFLAGS-tst-initorder2b.so): Likewise.
20464 (LDFLAGS-tst-initorder2c.so): Likewise.
20465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20466
d77f993f
DM
204672012-05-02 David S. Miller <davem@davemloft.net>
20468
20469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20470
171a70b4
PP
204712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20472
20473 [BZ #14055]
20474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20475
0be196ad
AJ
204762012-05-02 Andreas Jaeger <aj@suse.de>
20477
20478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20479 since we manipulate rounding mode.
20480 (CPPFLAGS-test-idouble.c): Likewise.
20481 (CPPFLAGS-test-ifloat.c): Likewise.
20482 (CFLAGS-test-ldouble.c): Likewise.
20483 (CFLAGS-test-double.c): Likewise.
20484 (CFLAGS-test-float.c): Likewise.
20485 (CFLAGS-test-misc.c): Likewise.
20486 (CFLAGS-test-test-fenv.c): Likewise.
20487
4f9d04aa
AZ
204882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20489
2b942cb7
RM
20490 [BZ #2550]
20491 [BZ #2570]
20492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20493 comparisons to determine direction to adjust input.
4f9d04aa 20494
82a79e7d
RM
204952012-05-01 Roland McGrath <roland@hack.frob.com>
20496
f5a01ca9
RM
20497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20498 output to the target.
20499
90fe4186
RM
20500 * scripts/localplt.awk: New file.
20501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20502 (check-localplt-CFLAGS): Variable removed.
20503 ($(all-built-dso:=.jmprel)): New static pattern rule.
20504 (generated): Add those targets.
20505 (localplt-built-dso): New variable.
20506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20507
20508 * elf/check-localplt.c: File removed.
20509
82397ed6
RM
20510 * scripts/check-execstack.awk: New file.
20511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20512 (check-execstack-CFLAGS): Variable removed.
20513 ($(objpfx)check-execstack.h): Target removed.
20514 ($(objpfx)execstack-default): New target.
20515 (generated): Add that instead of check-execstack.h.
20516 ($(all-built-dso:=.phdr)): New static pattern rule.
20517 (generated): Add those targets.
20518 * elf/check-execstack.c: File removed.
20519
82a79e7d
RM
20520 * scripts/check-textrel.awk: New file.
20521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20522 (check-textrel-CFLAGS): Variable removed.
20523 (all-built-dso): Use := to define.o
20524 ($(all-built-dso:=.dyn)): New static pattern rule.
20525 (generated): Add those targets.
20526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20527 * config.make.in (READELF): New substituted variable.
20528 * elf/check-textrel.c: File removed.
20529
62fde54f 205302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20531
615605c9
JM
20532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20533 allow.
20534 * conform/data/ctype.h-data [C99-based standards] (isblank):
20535 Expect function.
20536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20540 Specify type. Require positive value.
20541 (EILSEQ): Likewise.
20542 (ERANGE): Likewise.
20543 [ISO || POSIX] (EILSEQ): Do not expect.
20544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20545 Specify type. Require positive value.
20546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20623 Require >= 2.
20624 (FLT_ROUNDS): Expect as macro, not constant.
20625 (FLT_MANT_DIG): Use macro-int-constant.
20626 (DBL_MANT_DIG): Likewise.
20627 (LDBL_MANT_DIG): Likewise.
20628 (FLT_DIG): Likewise.
20629 (DBL_DIG): Likewise.
20630 (LDBL_DIG): Likewise.
20631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20632 (DBL_MIN_EXP): Likewise.
20633 (LDBL_MIN_EXP): Likewise.
20634 (FLT_MAX_EXP): Use macro-int-constant.
20635 (DBL_MAX_EXP): Likewise.
20636 (LDBL_MAX_EXP): Likewise.
20637 (FLT_MAX_10_EXP): Likewise.
20638 (DBL_MAX_10_EXP): Likewise.
20639 (LDBL_MAX_10_EXP): Likewise.
20640 (FLT_MAX): Use macro-constant.
20641 (DBL_MAX): Likewise.
20642 (LDBL_MAX): Likewise.
20643 (FLT_EPSILON): Use macro-constant. Give upper bound.
20644 (DBL_EPSILON): Likewise.
20645 (LDBL_EPSILON): Likewise.
20646 (FLT_MIN): Likewise.
20647 (DBL_MIN): Likewise.
20648 (LDBL_MIN): Likewise.
20649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20658 [ISO11] (FLT_TRUE_MIN): Likewise.
20659 [ISO11] (LDBL_TRUE_MIN): Likewise.
20660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20662 (SCHAR_MIN): Use macro-int-constant. Specify type.
20663 (SCHAR_MAX): Likewise.
20664 (UCHAR_MAX): Likewise.
20665 (CHAR_MIN): Likewise.
20666 (CHAR_MAX): Likewise.
20667 (MB_LEN_MAX): Use macro-int-constant.
20668 (SHRT_MIN): Use macro-int-constant. Specify type.
20669 (SHRT_MAX): Likewise.
20670 (USHRT_MAX): Likewise.
20671 (INT_MAX): Likewise.
20672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20673 bound negative.
20674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20675 bound with "U".
20676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20677 bound with "L".
20678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20679 bound negative. Suffix upper bound with "L".
20680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20681 bound with "UL".
20682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20683 Specify type.
20684 [C99-based standards] (LLONG_MAX): Likewise.
20685 [C99-based standards] (ULLONG_MAX): Likewise.
20686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20687 == 0.
20688 [ISO11] (max_align_t): Require type.
20689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20690
c9140a62
JM
20691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20692 from $CFLAGS, without defining away __attribute__ calls.
20693 (checknamespace): Use $CFLAGS_namespace.
20694
9af0bf29
JM
20695 * conform/conformtest.pl (@keywords): Only include C99 keywords
20696 for standards based on C99 or C11.
20697
343222a2
JM
20698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20699 Disable tests.
20700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20701 UNIX98]: Likewise.
20702
661f8cf0
JM
20703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20704 usability of symbols in #if.
20705
ee74b9cb
JM
20706 * conform/conformtest.pl: If macro or constant types start
20707 "promoted:", expect the symbol to be of the following type
20708 promoted by the integer promotions.
62fde54f 20709
aafc49b3
JM
20710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20711 in one place. Also handle "macro-constant".
20712
fefdf574
JM
20713 * conform/conformtest.pl: Only accept expected macro values with
20714 "==". Parse all "macro" lines in one place.
20715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20716
f2d922fe
JM
20717 * conform/conformtest.pl: Handle braced types on "constant" lines
20718 instead of handling "typed-constant".
20719 * conform/data/signal.h-data: Use "constant" instead of
20720 "typed-constant".
20721
d22956c9
JM
20722 * conform/conformtest.pl: Handle "optional-" at start of lines in
20723 one place rather than duplicating several cases. Handle each
20724 format of "macro" line with initial "optional-".
20725
028e2e38
JM
20726 * conform/conformtest.pl: Only accept expected constant or
20727 optional-constant values with "==". Parse all "constant" lines in
20728 one place. Parse all "optional-constant" lines in one place.
20729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20730 * conform/data/fmtmsg.h-data: Likewise.
20731 * conform/data/netinet/in.h-data: Likewise.
20732 * conform/data/tar.h-data: Likewise.
20733 * conform/data/limits.h-data: Use "==" form on "constant" and
20734 "optional-constant" lines.
20735
1b8f2850
JM
20736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20737 Use -std=c99 for XOPEN2K.
20738 (@knownproblems): Remove.
20739 (newtoken): Don't check %isknown.
20740
a05a144b
JM
20741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20742 Do not expect macro.
20743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20773 [XPG3] (acosh): Likewise.
20774 [XPG3] (asinh): Likewise.
20775 [XPG3] (atanh): Likewise.
20776 [XPG3] (cbrt): Likewise.
20777 [XPG3] (expm1): Likewise.
20778 [XPG3] (ilogb): Likewise.
20779 [XPG3] (log1p): Likewise.
20780 [XPG3] (logb): Likewise.
20781 [XPG3] (nextafter): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20784 [XPG3] (remainder): Likewise.
20785 [XPG3] (rint): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20793 [UNIX98 || XOPEN2K] (scalb): Expect.
20794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20931
73c5ebe3
JM
20932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20933 _XOPEN_SOURCE_EXTENDED for XPG4.
20934
39c33b6c
JM
20935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20936
62fde54f
JM
20937 * Makeconfig (localtime): Remove variable.
20938 (inst_localtime-file): Likewise.
20939
0741d64c
AS
209402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20941
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20943 Update.
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20945 Update.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20947 Update.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20949 Update.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20951 Update.
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20953 Update.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20955 Update.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20957 Update.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20959 Update.
20960
7cb029ee
JM
209612012-05-01 Joseph Myers <joseph@codesourcery.com>
20962
20963 [BZ #2550]
20964 [BZ #2570]
20965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20966 comparisons to determine direction to adjust input.
20967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20970 Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20972 Likewise.
20973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20974 Likewise.
20975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20977 Likewise.
20978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20979 Likewise.
20980 * math/libm-test.inc (nexttoward_test): Add more tests.
20981
412bd966
AS
209822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20983
20984 [BZ #14040]
20985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20986 in version GLIBC_2.1, not GLIBC_2.0.
20987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20988 Likewise.
20989
9568c0c2
JM
209902012-04-30 Joseph Myers <joseph@codesourcery.com>
20991
adfbc8ac
JM
20992 [BZ #13942]
20993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20994 (1 - x) * (1 + x).
20995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20997 * math/libm-test.inc (acos_test): Add more tests.
20998 (asin_test): Likewise.
20999 * sysdeps/i386/fpu/libm-test-ulps: Update.
21000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21001
5ba3cc69
JM
21002 [BZ #14034]
21003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21004 of square root.
21005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21007 * math/libm-test.inc (acos_test_tonearest): New function.
21008 (acos_test_towardzero): Likewise.
21009 (acos_test_downward): Likewise.
21010 (acos_test_upward): Likewise.
21011 (asin_test_tonearest): Likewise.
21012 (asin_test_towardzero): Likewise.
21013 (asin_test_downward): Likewise.
21014 (asin_test_upward): Likewise.
21015 (main): Call the new functions.
21016 * sysdeps/i386/fpu/libm-test-ulps: Update.
21017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21018
9568c0c2
JM
21019 [BZ #13884]
21020 [BZ #13924]
21021 * math/e_exp10.c: Include <float.h>.
21022 (__ieee754_exp10): Handle underflow here rather than multiplying
21023 large negative argument by M_LN10.
21024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21025 of __ieee754_expf.
21026 * math/e_exp10l.c: Include <float.h>.
21027 (__ieee754_exp10l): Handle underflow here rather than multiplying
21028 large negative argument by M_LN10l.
21029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21030 spurious overflow exception on underflow.
21031
5ac3ea17
MP
210322012-04-29 Marek Polacek <polacek@redhat.com>
21033
21034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21035 (__fortify_function): New macro.
21036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21038 __extern_always_inline.
21039 * libio/bits/stdio2.h: Likewise.
21040 * libio/bits/stdio.h: Likewise.
21041 * string/string.h: Likewise.
21042 * string/bits/string3.h: Likewise.
21043 * include/stdio.h: Likewise.
21044 * stdlib/bits/stdlib.h: Likewise.
21045 * stdlib/stdlib.h: Likewise.
21046 * rt/bits/mqueue2.h: Likewise.
21047 * rt/mqueue.h: Likewise.
21048 * posix/bits/unistd.h: Likewise.
21049 * posix/unistd.h: Likewise.
21050 * io/bits/poll2.h: Likewise.
21051 * io/bits/fcntl2.h: Likewise.
21052 * io/fcntl.h: Likewise.
21053 * io/sys/poll.h: Likewise.
21054 * misc/bits/syslog.h: Likewise.
21055 * misc/bits/syslog-ldbl.h: Likewise.
21056 * misc/sys/syslog.h: Likewise.
21057 * socket/bits/socket2.h: Likewise.
21058 * socket/sys/socket.h: Likewise.
21059 * debug/tst-chk1.c: Likewise.
21060 * wcsmbs/bits/wchar2.h: Likewise.
21061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21062 * wcsmbs/wchar.h: Likewise.
21063
ecf0ebfb
AJ
210642012-04-29 Andreas Jaeger <aj@suse.de>
21065
21066 * Makerules (tests): Remove enable-check-abi protection.
21067 (check-abi-warn): Remove.
21068 (check-abi-%): Remove check-abi-warn usage.
21069
21070 * configure.in: Remove check-abi configure option.
21071 * configure: Regenerated.
21072 * config.make.in (enable-check-abi): Remove.
21073
6d5c57fa
AS
210742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21075
24c5d07e 21076 [BZ #14033]
ded5180a
AS
21077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21078 double functions to double *_finite functions.
21079
7e0d315d
AS
21080 [BZ #13941]
21081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21083 LDBL_MIN_EXP.
21084 * stdio-common/Makefile (tests): Add tst-sprintf3.
21085 * stdio-common/tst-sprintf3.c: New file.
21086
6d5c57fa
AS
21087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21089
0749ff8b
JM
210902012-04-28 Joseph Myers <joseph@codesourcery.com>
21091
21092 * conform/conformtest.pl: Remove duplicate typed-constant
21093 handling.
21094
8dbd5d7b
DM
210952012-04-28 David S. Miller <davem@davemloft.net>
21096
21097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21098 (check-abi-%): Remove AWK script prerequisite and explicit
21099 abilist directory.
21100 (check-abi): Rewrite to just diff the symlist with the abilist.
21101 (config-tls, config-abi-config): Delete, no longer used.
21102 (update-abi-%): Remove AWK script and explicit abilist directory.
21103 (update-abi): Rewrite to simply compare and conditionally copy the
21104 symlist and the sysdep abilist file. Remove update-abi-config
21105 checks.
21106 * abilist/ld.abilist: Remove.
21107 * abilist/libBrokenLocale.abilist: Remove.
21108 * abilist/libanl.abilist: Remove.
21109 * abilist/libcrypt.abilist: Remove.
21110 * abilist/libdl.abilist: Remove.
21111 * abilist/librt.abilist: Remove.
21112 * abilist/libthread_db.abilist: Remove.
21113 * abilist/libutil.abilist: Remove.
21114 * scripts/extract-abilist.awk: Remove.
21115 * scripts/merge-abilist.awk: Remove.
21116 * sysdeps/generic/libcidn.abilist: New file.
21117 * sysdeps/generic/libnss_compat.abilist: New file.
21118 * sysdeps/generic/libnss_db.abilist: New file.
21119 * sysdeps/generic/libnss_dns.abilist: New file.
21120 * sysdeps/generic/libnss_files.abilist: New file.
21121 * sysdeps/generic/libnss_hesiod.abilist: New file.
21122 * sysdeps/generic/libnss_nis.abilist: New file.
21123 * sysdeps/generic/libnss_nisplus.abilist: New file.
21124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21127 file.
21128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21137 file.
21138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21142 file.
21143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21149 file.
21150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21153 file.
21154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21156 New file.
21157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21158 New file.
21159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21160 New file.
21161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21162 New file.
21163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21164 New file.
21165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21166 New file.
21167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21168 New file.
21169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21170 New file.
21171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21172 New file.
21173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21174 New file.
21175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21176 New file.
21177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21178 New file.
21179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21180 New file.
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21182 file.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21184 New file.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21186 New file.
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21188 file.
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21190 New file.
21191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21192 New file.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21194 file.
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21196 New file.
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21198 New file.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21200 New file.
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21202 New file.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21204 New file.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21206 New file.
21207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21209 file.
21210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21211 New file.
21212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21213 file.
21214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21215 file.
21216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21217 file.
21218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21219 file.
21220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21221 file.
21222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21223 New file.
21224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21225 file.
21226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21227 file.
21228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21229 New file.
21230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21231 file.
21232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21234 file.
21235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21236 New file.
21237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21238 file.
21239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21240 file.
21241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21242 file.
21243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21244 file.
21245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21246 file.
21247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21248 New file.
21249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21250 file.
21251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21252 file.
21253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21254 New file.
21255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21256 file.
21257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21260 file.
21261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21273 file.
21274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21275 New file.
21276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21277 file.
21278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21279 file.
21280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21281 file.
21282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21283 file.
21284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21285 file.
21286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21287 New file.
21288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21289 New file.
21290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21291 file.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21293 New file.
21294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21295 file.
21296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21298 file.
21299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21300 New file.
21301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21302 file.
21303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21304 file.
21305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21306 file.
21307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21308 file.
21309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21310 file.
21311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21312 New file.
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21314 New file.
21315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21316 file.
21317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21318 New file.
21319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21320 file.
21321
41d73a1b
JM
213222012-04-28 Joseph Myers <joseph@codesourcery.com>
21323
21324 * conform/conformtest.pl: Fix typo in handling typed-constant from
21325 allow-header.
21326
28aeeda4
JM
213272012-04-27 Joseph Myers <joseph@codesourcery.com>
21328
adae8f5e
JM
21329 * README: Cut down references to pre-2.6 Linux kernels and
21330 Linuxthreads. Update lists of configurations in libc and ports
21331 and sort alphabetically. Say "or newer" with Linux kernel version
21332 requirements.
21333
28aeeda4
JM
21334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21335
a462cb63
RA
213362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21337
21338 [BZ #887]
21339 * math/libm-test.inc (logb_test_downward): New test to expose
21340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21341 rounding mode.
21342
6ad3493e
JM
213432012-04-27 Joseph Myers <joseph@codesourcery.com>
21344
21345 [BZ #14027]
21346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21347 to be done.
21348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21350
2ce4f015
JM
213512012-04-26 Joseph Myers <joseph@codesourcery.com>
21352
5aeb141a
JM
21353 * sysdeps/unix/i386/brk.S: Remove file.
21354 * sysdeps/unix/i386/dl-brk.S: Likewise.
21355 * sysdeps/unix/i386/pipe.S: Likewise.
21356 * sysdeps/unix/i386/sigreturn.S: Likewise.
21357 * sysdeps/unix/i386/syscall.S: Likewise.
21358 * sysdeps/unix/i386/vfork.S: Likewise.
21359 * sysdeps/unix/i386/wait.S: Likewise.
21360
7143acae
JM
21361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21363
2ce4f015
JM
21364 * configure.in (arm*-none*): Do not allow without
21365 --enable-hacker-mode.
21366 (netbsd*): Remove case setting base_os.
21367 (386bsd*): Likewise.
21368 (freebsd*): Likewise.
21369 (bsdi*): Likewise.
21370 (osf*): Likewise.
21371 (sunos*): Likewise.
21372 (ultrix*): Likewise.
21373 (newsos*): Likewise.
21374 (dynix*): Likewise.
21375 (*bsd*): Likewise.
21376 (sysv*): Likewise.
21377 (isc*): Likewise.
21378 (esix*): Likewise.
21379 (sco*): Likewise.
21380 (minix*): Likewise.
21381 (irix4*): Likewise.
21382 (irix6*): Likewise.
21383 (solaris[2-9]*): Likewise.
21384 (none): Likewise.
21385 * configure: Regenerated.
21386
0ac229c8
AZ
213872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21388
21389 [BZ #11521]
21390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21391 overflow or cancellation in calculating denominator.
21392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21394 down expression to avoid unexpected rounding in newer GCCs.
21395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21396
33f244f4
DM
213972012-04-26 David S. Miller <davem@davemloft.net>
21398
21399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21400 long-double compat symbols.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21414
cfa1f3e8
DM
214152012-04-25 David S. Miller <davem@davemloft.net>
21416
21417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21418 HWCAP_* values only after the memory barriers have been defined.
21419 (atomic_full_barrier): Define.
21420 (atomic_read_barrier): Define.
21421 (atomic_write_barrier): Define.
21422
6e236b92
SP
214232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21424
21425 * shlib-versions: Add libgcc_s version information.
21426 * sysdeps/generic/libgcc_s.h: Remove.
21427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21428 libgcc_s.h.
21429 * sysdeps/gnu/unwind-resume.c: Likewise.
21430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21431
aab39a09
DM
214322012-04-25 David S. Miller <davem@davemloft.net>
21433
21434 * sysdeps/unix/sparc/brk.S: Delete.
21435 * sysdeps/unix/sparc/dl-brk.S: Delete.
21436 * sysdeps/unix/sparc/pipe.S: Delete.
21437 * sysdeps/unix/sparc/sysdep.S: Delete.
21438 * sysdeps/unix/sparc/sysdep.h: Delete.
21439 * sysdeps/unix/sparc/vfork.S: Delete.
21440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21441 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21443 ret_ERRVAL, r0, r1, MOVE): Define.
21444 (JUMPTARGET): Remove.
21445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21446 sysdeps/unix/sparc/sysdep.h
21447 (ENTRY, END): Remove.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21449
a3cc4f48
JM
214502012-04-25 Joseph Myers <joseph@codesourcery.com>
21451
2ed8cda2
JM
21452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21454 -DIS_IN_build.
21455
35d76d59
JM
21456 * timezone/README: Update upstream location and email address for
21457 tzcode and tzdata.
21458 * timezone/zdump.c: Update from tzcode 2012b.
21459 * timezone/zic.c: Likewise.
21460
a3cc4f48
JM
21461 * configure.in (libc_cv_as_needed): Remove test.
21462 * configure: Regenerated.
21463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21464 conditional definition.
21465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21467 * config.make.in (have-as-needed): Remove variable.
21468
ceab42c3
SP
214692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21470 Paul Pluzhnikov <ppluzhnikov@google.com>
21471
21472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21473 strings correctly.
21474
3ce2865f
CLT
214752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21476
21477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21479 * sysdeps/sh/strlen.S: Likewise.
21480
f37e0d68
JM
214812012-04-24 Joseph Myers <joseph@codesourcery.com>
21482
ae186e9a
JM
21483 * sysdeps/unix/fork.S: Remove file.
21484 * sysdeps/unix/i386/fork.S: Likewise.
21485 * sysdeps/unix/sparc/fork.S: Likewise.
21486
b96914af
JM
21487 * sysdeps/unix/system.c: Remove file.
21488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21489
f37e0d68
JM
21490 * sysdeps/unix/getegid.S: Remove file.
21491 * sysdeps/unix/geteuid.S: Likewise.
21492
87ef29ca
RM
214932012-04-24 Roland McGrath <roland@hack.frob.com>
21494
83bcd236
RM
21495 * scripts/check-localplt.awk: New file.
21496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21497 of diff.
21498 * scripts/data/localplt-generic.data: Add a comment.
21499
87ef29ca
RM
21500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21501 NODE when __dir_mkfile failed.
21502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21503 Reported by Ludovic Courtès <ludo@gnu.org>.
21504
e5a6e567
AJ
215052012-04-24 Andreas Jaeger <aj@suse.de>
21506
21507 * Makerules (common-clean): Also remove gen-as-const-headers
21508 files.
21509
c1820385
JM
215102012-04-24 Joseph Myers <joseph@codesourcery.com>
21511
21512 * Makerules (native-compile): Do not change working directory for
21513 build. Use $(OUTPUT_OPTION) in command.
21514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21515
94e02fc4
AZ
215162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21517
21518 [BZ #13886]
21519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21521 * math/libm-test.inc (floor_test): Add more tests.
21522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21523
3a533ca3
JM
215242012-04-24 Joseph Myers <joseph@codesourcery.com>
21525
940ab4b3
JM
21526 * sysdeps/unix/getdents.c: Remove file.
21527 * sysdeps/unix/sysv/getdents.c: Likewise.
21528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21529
90e037bd
JM
21530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21531 sysdeps/unix/mman/syscalls.list.
21532 (mmap): Likewise.
21533 (mprotect): Likewise.
21534 (msync): Likewise.
21535 (munmap): Likewise.
21536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21537 * sysdeps/unix/mman/syscalls.list: Remove.
21538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21539
3a533ca3
JM
21540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21542 * configure: Regenerated.
21543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21544 $(libgcc_s_suffix).
21545 * config.make.in (libgcc_s_suffix): Remove variable.
21546
1ad743de
JM
215472012-04-23 Joseph Myers <joseph@codesourcery.com>
21548
4ad451e2
JM
21549 * sysdeps/unix/sysv/gethostname.c: Move to ...
21550 * sysdeps/posix/gethostname.c: ... here.
21551
5e37ce39
JM
21552 * sysdeps/unix/execve.S: Remove file.
21553
1ad743de
JM
21554 * sysdeps/unix/_exit.S: Remove file.
21555
4e681b5b
AJ
215562012-04-23 Andreas Jaeger <aj@suse.de>
21557
21558 [BZ #13739]
21559 * manual/Makefile: Remove make dist support, there's no
21560 need for a stand-alone documentation tar ball.
21561 (TEXI2DVI): Define always, it's not in Makeconfig.
21562 (dist): Removed.
21563 (tar-it): Removed.
21564 (edition): Removed.
21565 (glibc-doc-$(edition).tar): Removed
21566 (%.Z): Removed.
21567 (%.gz): Removed.
21568 (%.uu): Removed.
21569 (ETAGS): Remove, it's in Makeconfig.
21570 (move-if-change): Remove, it's in Makeconfig.
21571
38686a03 215722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21573
21574 [BZ #13970]
21575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21578 (strtod_l, strtof_l, strtold_l): Remove __wur.
21579 It is not necessarily an error to ignore strtol's return value.
21580 One can reliably look at the stored endptr to decide whether
21581 the number had valid syntax.
21582
7c0616fa
AJ
215832012-04-21 Andreas Jaeger <aj@suse.de>
21584
803cb6b7 21585 [BZ #13739]
7c0616fa
AJ
21586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21587
b0fe253f
JM
215882012-04-21 Joseph Myers <joseph@codesourcery.com>
21589
21590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21591 * sysdeps/unix/sysv/Versions: Remove file.
21592
8280f22d
MT
215932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21594
21595 [BZ #13927]
21596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21597
75ce411f 215982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21599
21600 [BZ #7064]
21601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21602 version from __vm86.
21603
097d59fa
JM
216042012-04-20 Joseph Myers <joseph@codesourcery.com>
21605
a90f3bcb
JM
21606 * sysdeps/unix/common/lxstat.c: Remove file.
21607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21608
edc7ea78
JM
21609 * sysdeps/unix/sysv/Makefile: Remove file.
21610
cb78c221
JM
21611 * sysdeps/unix/sysv/direct.h: Remove file.
21612
efa6a45f
JM
21613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21620
9c9f2d0c
JM
21621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21622
4541c83b
JM
21623 * sysdeps/unix/xmknod.c: Remove file.
21624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21625
f5d153a0
JM
21626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21627
aa746595
JM
21628 * sysdeps/unix/sysv/i386/time.S: Remove file.
21629
cce5905e
JM
21630 * sysdeps/unix/fxstat.c: Remove file.
21631 * sysdeps/unix/xstat.c: Likewise.
21632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21633
37fa3841
JM
21634 * sysdeps/unix/sysv/sigaction.c: Remove file.
21635
ff1962a3
JM
21636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21637 (sysdep_headers): Remove variable.
21638 [termio.h not in sysdep_headers] (generated): Likewise.
21639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21642 * sysdeps/unix/sysv/tcflow.c: Likewise.
21643 * sysdeps/unix/sysv/tcflush.c: Likewise.
21644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21649
e7740d31
JM
21650 * sysdeps/unix/siglist.c: Remove file.
21651
ee06f18b
JM
21652 * sysdeps/unix/getppid.S: Remove file.
21653
097d59fa
JM
21654 * sysdeps/unix/mkdir.c: Remove file.
21655 * sysdeps/unix/rmdir.c: Likewise.
21656
ff3d51ec
AS
216572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21658
21659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21660 ERR_MAX value.
21661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21662 errlist-compat value.
21663
50f81fd7
DM
216642012-04-18 David S. Miller <davem@davemloft.net>
21665
21666 * sysdeps/generic/memcopy.h (reg_char): Delete.
21667 * debug/strcat_chk.c: Use char, not reg_char.
21668 * debug/strcpy_chk.c: Likewise.
21669 * debug/strncat_chk.c: Likewise.
21670 * debug/strncpy_chk.c: Likewise.
21671 * string/memchr.c: Likewise.
21672 * string/memrchr.c: Likewise.
21673 * string/rawmemchr.c: Likewise.
21674 * string/strcat.c: Likewise.
21675 * string/strchr.c: Likewise.
21676 * string/strchrnul.c: Likewise.
21677 * string/strcmp.c: Likewise.
21678 * string/strcpy.c: Likewise.
21679 * string/strncat.c: Likewise.
21680 * string/strncmp.c: Likewise.
21681 * string/strncpy.c: Likewise.
21682
8ff41c46
WS
216832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21684
21685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21686 __builtin_memcopy is called when src and dest ranges are known to not
21687 overlap.
21688
6b652f46
WS
216892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21690
21691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21693 fwd_align_merge macro call.
21694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21695 bwd_align_merge macro call.
21696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21697
b282631e
WS
216982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21699
21700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21701 bwd_align_merge macros.
21702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21705
95aa737c
DM
217062012-04-18 David S. Miller <davem@davemloft.net>
21707
21708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21709
7a99a614
AJ
217102012-04-18 Andreas Jaeger <aj@suse.de>
21711
21712 [BZ# 6794]
21713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21716
21717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21720
21721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21723 Adjust for changed ldbl-128 files.
21724
21725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21728
e5270c23
DM
217292012-04-17 David S. Miller <davem@davemloft.net>
21730
21731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21732
fb5e92c9
AS
217332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21734
21735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21741
76da7265
AZ
217422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21743
21744 [BZ #6794]
21745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21746 * math/libm-test.inc: Add ilogb errno and exception tests.
21747 * math/w_ilogb.c: New file: ilogb wrapper.
21748 * math/w_ilogbf.c: New file: ilogbf wrapper.
21749 * math/w_ilogbl.c: New file: ilogbl wrapper.
21750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21753 exception being thrown with 0.0 as argument.
21754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21756 exception being thrown with 0.0 as argument.
21757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21759 exception being thrown with 0.0 as argument.
21760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21762 exception being thrown with 0.0 as argument.
21763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21772
0396e69d
PB
217732012-04-17 Petr Baudis <pasky@ucw.cz>
21774
21775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21776 with altivec.
21777
750b5926
MP
217782012-04-16 Marek Polacek <polacek@redhat.com>
21779
21780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21781
751728a1
MP
217822012-04-16 Marek Polacek <polacek@redhat.com>
21783
21784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21785 operands of fdivp instruction.
21786
34a27407
L
217872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21788
21789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21790 * elf/tst-auditmod3b.c: Likewise.
21791 * elf/tst-auditmod4b.c: Likewise.
21792 * elf/tst-auditmod5b.c: Likewise.
21793 * elf/tst-auditmod6b.c: Likewise.
21794 * elf/tst-auditmod6c.c: Likewise.
21795 * elf/tst-auditmod7b.c: Likewise.
21796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21797 * sysdeps/x86_64/preconfigure.in: Likewise.
21798 * sysdeps/x86_64/preconfigure: Regenerated.
21799
7e73e17d
L
218002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21801
21802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21803 __ILP32__.
21804
c7a6ab72
AB
218052012-04-13 Antoine Balestrat <merkil33@gmail.com>
21806
21807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21809
a9e8e0e0
CL
218102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21811
21812 [BZ #13973]
21813 * locale/iso-639.def: Fix gl language name. Spotted by
21814 Yaron Shahrabani.
21815
ec98af7d
RM
218162012-04-12 Roland McGrath <roland@hack.frob.com>
21817
21818 [BZ #2074]
21819 * libio/libio.h (__io_write_fn): Update comment.
21820
247c3ede
PB
218212012-04-12 Petr Baudis <pasky@ucw.cz>
21822
21823 [BZ #2074]
21824 * stdio.texi (Hook Functions): The user provided writer function
21825 is not allowed to return -1.
21826
55939d6d
DM
218272012-04-11 David S. Miller <davem@davemloft.net>
21828
21829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21830
90020f5a
MF
218312012-04-11 Mike Frysinger <vapier@gentoo.org>
21832
21833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21834 Add a leading slash to rtkaio.
21835
288f9098
JM
218362012-04-11 Jim Meyering <meyering@redhat.com>
21837
90020f5a
MF
21838 [BZ #11959]
21839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21840 It is not necessarily an error to ignore fwrite's return
21841 value. One can reliably use ferror to test for errors after
21842 the fact.
288f9098 21843
4be2b570
L
218442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21845
21846 * bits/types.h (__snseconds_t): New type.
21847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21848
21849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21851 (__SNSECONDS_T_TYPE): Likewise.
21852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21853 (__SNSECONDS_T_TYPE): Likewise.
21854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21855 (__SNSECONDS_T_TYPE): Likewise.
21856
288f9098 218572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21858
21859 [BZ #2636]
21860 * manual/time.texi (Processor Time): Return type of times is
21861 elapsed real time since an arbitrary point in the past.
21862 (CPU Time): Move CLK_TCK from here...
21863 (Processor Time): ...to here. Correct description.
21864 * manual/conf.texi (Constants for Sysconf): Correct description of
21865 _SC_CLK_TCK.
21866
d7dd4413
DM
218672012-04-10 David S. Miller <davem@davemloft.net>
21868
21869 [BZ #13967]
21870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21871 where the is a gap between DT_REL(A) and DT_JMPREL.
21872
b46068fc
L
218732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21878
73d65cc3
SP
218792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21880
21881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21883 (dl_main): Handle --inhibit-cache.
21884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21885 _dl_inhibit_cache.
21886 * elf/dl-load.c (_dl_map_object): Use it.
21887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21888
bcc8d661
JM
218892012-04-09 Joseph Myers <joseph@codesourcery.com>
21890
8f9a2fae
JM
21891 [BZ #13872]
21892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21893 (__ieee754_powl): Saturate large exponents rather than testing for
21894 overflow of y*log2(x).
21895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21897 exceptions.
21898
bcc8d661
JM
21899 [BZ #11521]
21900 * math/s_ctan.c: Include <float.h>.
21901 (__ctan): Avoid internal overflow or cancellation in calculating
21902 denominator.
21903 * math/s_ctanf.c: Likewise.
21904 * math/s_ctanl.c: Likewise.
21905 * math/s_ctanh.c: Likewise.
21906 * math/s_ctanhf.c: Likewise.
21907 * math/s_ctanhl.c: Likewise.
21908 * math/libm-test.inc (ctan_test): Add more tests.
21909 (ctanh_test): Likewise.
21910 * sysdeps/i386/fpu/libm-test-ulps: Update.
21911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21912
823fbbb4
AJ
219132012-04-09 Andreas Jaeger <aj@suse.de>
21914
03879793
AJ
21915 [BZ #6894]
21916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21917 is an optional BSD extension.
21918
823fbbb4
AJ
21919 [BZ #10254]
21920 * manual/stdio.texi (Opening Streams): Document additional fopen
21921 parameters.
21922
8de131cb
RM
219232012-04-09 Roland McGrath <roland@hack.frob.com>
21924
21925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21926 %eax without telling the compiler.
21927
c0ed9d7d
CD
219282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21929
21930 [BZ # 13963]
21931 * manual/install.texi: Use sourceware.org.
21932
c483f6b4
JM
219332012-04-09 Joseph Myers <joseph@codesourcery.com>
21934
d7dd9453
JM
21935 [BZ #13873]
21936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21937 (__ieee754_pow): Generate overflow and underflow using huge*huge
21938 and tiny*tiny rather than just returning constant infinity or zero
21939 for large exponents.
21940 * math/libm-test.inc (pow_test): Require overflow exceptions for
21941 applicable cases of large exponents.
21942
c483f6b4
JM
21943 [BZ #706]
21944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21945 (__ieee754_pow): Use iterative multiplication algorithm only for
21946 integer exponents with absolute value below 1024. Check for odd
21947 integer exponents when using algorithm for real exponents.
21948 * math/libm-test.inc (pow_test): Add more tests.
21949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21950
d2de7579
JM
219512012-04-08 Joseph Myers <joseph@codesourcery.com>
21952
21953 [BZ #13705]
21954 * math/libm-test.inc (exp_test): Do not allow overflow exception
21955 on underflow test.
21956
f77f1232
AJ
219572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21958
21959 [BZ #13705]
21960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21961 instead of __kernel_standard_f.
21962
3884932b
MF
219632012-04-08 Mike Frysinger <vapier@gentoo.org>
21964
21965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21966 * sysdeps/x86_64/memset_chk.S: Likewise.
21967
54472e9c
AJ
219682012-04-08 Andreas Jaeger <aj@suse.de>
21969
6ab0fbfc
AJ
21970 [BZ #10153]
21971 * manual/startup.texi (Environment Access): Describe return value
21972 for putenv and setenv.
21973
61efba8c
AJ
21974 [BZ #6895]
21975 * manual/filesys.texi (Directory Entries): Add description for
21976 DT_LNK.
21977
95c3f29a
AJ
21978 [BZ #6890]
21979 * manual/filesys.texi (Directory Entries): Clarify that it's file
21980 system not operating system in the description of DT_UNKNOWN.
21981
54472e9c
AJ
21982 [BZ #6578]
21983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21984
624254b1
SC
219852012-04-08 Stephen Compall <s11@member.fsf.org>
21986
21987 [BZ #6649]
21988 * manual/llio.texi (Opening and Closing Files): Add cross
21989 reference to explain mode argument.
21990
1e4920e0
MF
219912012-04-07 Mike Frysinger <vapier@gentoo.org>
21992
21993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21994 * sysdeps/x86_64/memset_chk.S: Likewise.
21995
5ed848f3
DM
219962012-04-07 David S. Miller <davem@davemloft.net>
21997
21998 * elf/elf.h (R_SPARC_WDISP10): Define.
21999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22000 R_SPARC_SIZE32.
22001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22002 R_SPARC_SIZE64 and R_SPARC_H34.
22003
96154cd8
CD
220042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22005
22006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22007 conditions and remove no longer applicable assertion.
22008
9904dc47
L
220092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22010
22011 * bits/byteswap.h: Include <features.h>.
22012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22014
f8887d0a
L
220152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22016
22017 * bits/byteswap.h (__bswap_16): Removed.
22018 Include <bits/byteswap-16.h> to get __bswap_16.
22019 * sysdeps/i386/bits/byteswap.h: Likewise.
22020 * sysdeps/s390/bits/byteswap.h: Likewise.
22021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22022 * bits/byteswap-16.h: New file.
22023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22026 * string/Makefile (headers): Add bits/byteswap-16.h.
22027
62470f60
PP
220282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22029
22030 [BZ #13895]
22031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22032 extra indirection.
22033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22034 * nss/tst-nss-static.c: New.
22035
4dad7bab
RM
220362012-04-06 Robert Millan <rmh@gnu.org>
22037
22038 [BZ #6486]
22039 * manual/llio.texi (File Position Primitive): lseek
22040 refers to WHENCE when it really means OFFSET.
22041
e9142a17
AJ
220422012-04-06 Andreas Jaeger <aj@suse.de>
22043
2c040eff
AJ
22044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22045 strncmp declarations.
22046
e9142a17
AJ
22047 * abilist/libc.abilist: Add __poll and __ppoll.
22048
ff9f1c5f
DM
220492012-04-05 David S. Miller <davem@davemloft.net>
22050
dcd2ae90
DM
22051 * scripts/check-local-headers.sh: Accept a host triplet in the
22052 path matched by the exclude regexp.
22053
993eb054
DM
22054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22055 definition.
22056 * sysdeps/powerpc/powerpc32/dl-machine.h
22057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22058 * sysdeps/s390/s390-32/dl-machine.h
22059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22060 * sysdeps/sparc/sparc32/dl-machine.h
22061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22062 * sysdeps/sparc/sparc64/dl-machine.h
22063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22064
ff9f1c5f
DM
22065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22066 lazy binding.
48e2e132 22067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22068 undefined symbol errors.
22069
48e2e132 22070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22071 DT_NEEDED entries.
22072
e80d6f94
MM
220732012-04-05 Michael Matz <matz@suse.de>
22074
22075 [BZ #13592]
22076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22077
349fa79f
AJ
220782012-04-05 Andreas Jaeger <aj@suse.de>
22079
22080 [BZ #13908]
22081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22082 comment.
22083
f402708f
KK
220842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22085
22086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22087 which ROUND is no valid rounding mode.
22088
2ecccfc9
KK
220892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22090
22091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22092 read again.
22093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22094
8a53f50f
KK
220952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22096
22097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22098 an exception using FPU order intentionally.
22099
221002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22101
22102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22106
d653abb7
SJ
221072012-04-05 Simon Josefsson <simon@josefsson.org>
22108
22109 [BZ #12340]
22110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22111 EINVAL when BUFLEN is too smal.
22112
c3b1bf7d
TS
221132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22114
22115 [BZ #13553]
22116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22118
b1aa60f3
AJ
221192012-04-03 Andreas Jaeger <aj@suse.de>
22120
c3b1bf7d 22121 [BZ #13938]
67f60a26
AJ
22122 * manual/setjmp.texi (System V contexts): Fix sentence.
22123
b1aa60f3
AJ
22124 [BZ #13926]
22125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22126 New macro for this case.
22127 [!__GNUC__] (__bswap_64): New inline function for this case.
22128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22129 * bits/byteswap.h: Likewise.
22130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22131 ull, guard with __GLIBC_HAVE_LONG_LONG.
22132
22133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22134 __GLIBC_HAVE_LONG_LONG.
22135
22136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22138
39c59c35
TMQMF
221392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22140
22141 [BZ #13691]
22142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22143 inptr and inend, rather than using last_ch.
22144
135ffda8
DM
221452012-04-02 David S. Miller <davem@davemloft.net>
22146
22147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22148 * stdio-common/printf-parse.h (read_int): Change return type to
22149 'int', return -1 on INT_MAX overflow.
22150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22152 overflows INT_MAX. Check for overflow of in-format-string precision
22153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22154 SIZE_MAX not INT_MAX for integer overflow test.
22155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22156 skip the construct in the format string but do not record anything.
22157 * stdio-common/bug22.c: Adjust to test both width/prevision
22158 INT_MAX overflow as well as total length INT_MAX overflow. Check
22159 explicitly for proper errno values.
22160
228c019e
TS
221612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22162
302cadd3
TS
22163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22164 CHAR_MAX.
22165 * string/test-strcmp.c [! WIDE]: Likewise.
22166 * time/tst-mktime2.c: Likewise for INT_MAX.
22167 * string/test-string.h: #include <sys/param.h> for MIN.
22168
228c019e
TS
22169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22170 * sysdeps/i386/init-first.c (init): Likewise.
22171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22173 * sysdeps/sh/init-first.c (init): Likewise.
22174
cfa633f5
UD
221752012-04-01 Ulrich Drepper <drepper@gmail.com>
22176
22177 * po/ru.po: Update from translation team.
d1635ef8 22178 * po/vi.po: Likewise.
cfa633f5 22179
6cd0a5ea
SP
221802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22181
22182 * resolv/nss_dns/dns-host.c: Merge copyright years.
22183
4b43400f
LD
221842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22185
22186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22187 Optimize memcpy with prefetch if
22188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22189 src, dst pointers have unequal 16 byte alignments.
22190
48c41d04
SP
221912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22192
22193 [BZ #13928]
22194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22195 from a CNAME entry and return the minimum ttl for the query.
22196 (gaih_getanswer_slice): Likewise.
22197
b8dc394d
JL
221982012-03-30 Jeff Law <law@redhat.com>
22199
22200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22201 due to long keys.
22202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22204
2f5a5ed0
JL
22205 * resolv/nss_dns/dns-host.c: Update copyright year.
22206
1d39e359
UD
222072012-03-30 Ulrich Drepper <drepper@gmail.com>
22208
c030f70c 22209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22210 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22211
1d39e359
UD
22212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22213 comments for sendmmsg.
22214
222152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22216
22217 [BZ #13691]
22218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22219 with only 1 character between 0x0041 and 0x01b0.
22220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22221 * wcsmbs/tst-mbsnrtowcs.c: New file.
22222
20fde227
DM
222232012-03-29 David S. Miller <davem@davemloft.net>
22224
22225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22226 small copies by hand.
22227
984a4237
JL
222282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22229
22230 [BZ #13761]
22231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22232 _nss_compat_initgroups_dyn): Fall back to malloc/free
22233 for large group memberships.
22234
18c9d62b
DM
222352012-03-28 David S. Miller <davem@davemloft.net>
22236
88d85d4f
DM
22237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22238 that branches into memcpy.
22239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22244 bits.
22245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22246 implementation too.
22247 * sysdeps/sparc/mempcpy.S: New file.
22248
e5aa83e1
DM
22249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22250 the IFUNC routine in the libc case.
22251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22252
88570753
DM
22253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22261
249d7567
DM
22262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22263 loop to 256 bytes instead of 64 bytes and fix test signedness.
22264
18c9d62b
DM
22265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22266 * sysdeps/sparc/sparc32/Makefile: rather than here...
22267 * sysdeps/sparc/sparc64/Makefile: and here.
22268
05f3d1f6
UD
222692012-03-28 Ulrich Drepper <drepper@gmail.com>
22270
22271 * malloc/mallocbug.c: Avoid warnings about unused variables.
22272
86ae07a8
JL
222732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22274
22275 [BZ #13760]
22276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22277 in the right place. Discard and retry query if response is
22278 larger than input buffer size.
22279
41bf21a1
JM
222802012-03-28 Joseph Myers <joseph@codesourcery.com>
22281
d6270972
JM
22282 [BZ #369]
22283 [BZ #2678]
22284 [BZ #3866]
22285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22286 x for large integer exponent.
22287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22289 sign of result as needed afterwards.
22290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22292 result for underflowing pow the same as for overflow.
22293 (__kernel_standard_l): Handle powl overflow and underflow here
22294 rather than calling __kernel_standard.
22295 * math/libm-test.inc (pow_test): Add more tests.
22296
414fca03 22297 [BZ #3868]
41bf21a1
JM
22298 [BZ #13879]
22299 [BZ #13910]
22300 [BZ #13911]
22301 [BZ #13912]
22302 [BZ #13913]
22303 [BZ #13915]
22304 [BZ #13916]
22305 [BZ #13917]
22306 [BZ #13918]
22307 [BZ #13919]
22308 [BZ #13920]
22309 [BZ #13921]
22310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22312 (__kernel_standard_l): New function.
22313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22314 __kernel_standard.
22315 * math/w_acosl.c (__acosl): Likewise.
22316 * math/w_asinl.c (__asinl): Likewise.
22317 * math/w_atan2l.c (__atan2l): Likewise.
22318 * math/w_atanhl.c (__atanhl): Likewise.
22319 * math/w_coshl.c (__coshl): Likewise.
22320 * math/w_exp10l.c (__exp10l): Likewise.
22321 * math/w_exp2l.c (__exp2l): Likewise.
22322 * math/w_fmodl.c (__fmodl): Likewise.
22323 * math/w_hypotl.c (__hypotl): Likewise.
22324 * math/w_j0l.c (__j0l, __y0l): Likewise.
22325 * math/w_j1l.c (__j1l, __y1l): Likewise.
22326 * math/w_jnl.c (__jnl, __ynl): Likewise.
22327 * math/w_lgammal.c (__lgammal): Likewise.
22328 * math/w_log10l.c (__log10l): Likewise.
22329 * math/w_log2l.c (__log2l): Likewise.
22330 * math/w_logl.c (__logl): Likewise.
22331 * math/w_powl.c (__powl): Likewise.
22332 * math/w_remainderl.c (__remainderl): Likewise.
22333 * math/w_scalbl.c (sysv_scalbl): Likewise.
22334 * math/w_sinhl.c (__sinhl): Likewise.
22335 * math/w_sqrtl.c (__sqrtl): Likewise.
22336 * math/w_tgammal.c (__tgammal): Likewise.
22337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22339 * math/libm-test.inc (acos_test): Add more tests.
22340 (acosh_test): Likewise.
22341 (asin_test): Likewise.
22342 (atanh_test): Likewise.
22343 (exp_test): Likewise.
22344 (exp10_test): Likewise.
22345 (exp2_test): Likewise.
22346 (expm1_test): Likewise.
22347 (lgamma_test): Likewise.
22348 (log_test): Likewise.
22349 (log10_test): Likewise.
22350 (log1p_test): Likewise.
22351 (log2_test): Likewise.
22352 (pow_test): Do not allow some spurious overflow exceptions.
22353 (sqrt_test): Add more tests.
22354 (tgamma_test): Likewise.
22355 (y0_test): Likewise.
22356 (y1_test): Likewise.
22357 (yn_test): Likewise.
22358
dd62fda6
AB
223592012-03-27 Anton Blanchard <anton@samba.org>
22360
22361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22362 MAP_HUGETLB.
22363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22366
1e3cdfda
AJ
223672012-03-27 David S. Miller <davem@davemloft.net>
22368
b855ab85
DM
22369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22370
1e3cdfda
AJ
22371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22372 have-as-vis3 check.
22373
223742012-03-27 Andreas Jaeger <aj@suse.de>
22375
22376 * sysdeps/x86_64/elf/configure.in: Moved to ...
22377 * sysdeps/x86_64/configure.in: ... here.
22378 * sysdeps/x86_64/elf/start.S: Moved to ...
22379 * sysdeps/x86_64/start.S: ... here.
22380 * sysdeps/x86_64/elf/configure: Delete.
22381
22382 * sysdeps/x86_64/configure.in: Merge contents from
22383 sysdeps/i386/configure.in (without i686 check).
22384
22385 * sysdeps/i386/elf/Versions: Merge into ...
22386 * sysdeps/i386/Versions: ... this.
22387 * sysdeps/i386/elf/Versions: Delete file.
22388 * sysdeps/i386/elf/start.S: Moved to ...
22389 * sysdeps/i386/start.S: ...here.
22390 * sysdeps/i386/elf/configure.in: Merge into...
22391 * sysdeps/i386/configure.in: ...here.
22392 * sysdeps/i386/elf/configure.in: Delete file.
22393 * sysdeps/i386/elf/configure: Delete file.
22394
22395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22396 * debug/backtracesyms.c: ... here.
22397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22398 * debug/backtracesymsfd.c: ... here.
22399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22400 * sysdeps/generic/ifunc-sel.h: ... here.
22401
22402 * sysdeps/unix/i386/start.c: Delete file.
22403 * sysdeps/unix/sparc/start.c: Delete file.
22404 * sysdeps/unix/start.c: Delete file.
22405
22406 * sysdeps/sh/elf/configure.in: Moved to ...
22407 * sysdeps/sh/configure.in: ... here.
22408 * sysdeps/sh/elf/start.S: Moved to ...
22409 * sysdeps/sh/start.S: ... here.
22410 * sysdeps/sh/elf/configure: Delete file.
22411
22412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22417 * sysdeps/powerpc/powerpc64/start.S: here.
22418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22423
22424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22427 * sysdeps/powerpc/powerpc32/start.S: ... here.
22428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22431
22432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22433 * sysdeps/powerpc/ifunc-sel.h: ... here.
22434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22436
22437 * sysdeps/sparc/elf/configure.in: Moved to ...
22438 * sysdeps/sparc/configure.in: ... here.
22439 * sysdeps/sparc/elf/configure: Delete file.
22440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22441 * sysdeps/sparc/sparc32/start.S: ... here.
22442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22443 * sysdeps/sparc/sparc64/start.S: ... here.
22444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22445 * sysdeps/sparc/sparc32/Makefile: ... this.
22446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22447 * sysdeps/sparc/sparc64/Makefile: ... this.
22448
22449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22454 * sysdeps/s390/s390-32/setjmp.S: ... here.
22455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22456 * sysdeps/s390/s390-32/configure.in: ... here.
22457 * sysdeps/s390/s390-32/elf/configure: Delete file.
22458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22459 * sysdeps/s390/s390-32/start.S: ... here.
22460
22461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22466 * sysdeps/s390/s390-64/setjmp.S: ... here.
22467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22468 * sysdeps/s390/s390-64/configure.in: ... here
22469 * sysdeps/s390/s390-64/elf/configure: Delete file.
22470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22471 * sysdeps/s390/s390-64/start.S: ... here.
22472 * sysdeps/s390/s390-64/elf/configure: Delete.
22473
22474 * configure.in: Remove support for elf directories in sysdeps.
22475
22476 * configure: Regenerated.
22477 * sysdeps/i386/configure: Regenerated.
22478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22480 * sysdeps/s390/s390-32/configure: Regenerated.
22481 * sysdeps/s390/s390-64/configure: Regenerated.
22482 * sysdeps/sh/configure: Regenerated.
22483 * sysdeps/sparc/configure: Regenerated.
22484 * sysdeps/x86_64/configure: Regenerated.
22485
a3f61311
AS
224862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22487
c876e002
AS
22488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22489
a3f61311
AS
22490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22491 denormal result into account.
22492
ac4c54f0
RM
224932012-03-25 Roland McGrath <roland@hack.frob.com>
22494
22495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22496 Reported by Allan McRae <allan@archlinux.org>.
22497
6a9b9c02
JL
224982012-03-23 Jeff Law <law@redhat.com>
22499
22500 * nss/getnssent.c (__nss_getent): Fix typo.
22501
4c42a0c1
DM
225022012-03-23 David S. Miller <davem@davemloft.net>
22503
22504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22505
1532c7ac
L
225062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22509 to pad to uint64_t for each field.
22510 (dl_tls_index): Replace unsigned long with uint64_t.
22511
3ff42526
PP
225122012-03-23 Daniel Jacobowitz <dmj@google.com>
22513 Paul Pluzhnikov <ppluzhnikov@google.com>
22514
22515 [BZ #6528]
22516 * grp/Makefile (otherlibs): Don't set it.
22517 * inet/Makefile (otherlibs): Likewise.
22518 * login/Makefile (otherlibs): Likewise.
22519 * nscd/Makefile (otherlibs): Likewise.
22520 * posix/Makefile (otherlibs): Likewise.
22521 * pwd/Makefile (otherlibs): Likewise.
22522 * rt/Makefile (otherlibs): Likewise.
22523 * sunrpc/Makefile (otherlibs): Likewise.
22524 * nss/Makefile (otherlibs): Likewise.
22525 Add libnss_files to routines and static-only-routines.
22526 ($(objpfx)getent): Remove rule.
22527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22528 static-only-routines.
22529
7c69cd14
JM
225302012-03-22 Joseph Myers <joseph@codesourcery.com>
22531
22532 [BZ #13892]
22533 * math/s_cexp.c: Include <float.h>.
22534 (__cexp): Handle exp result overflowing not necessarily
22535 overflowing both real and imaginary parts of result.
22536 * math/s_cexpf.c: Likewise.
22537 * math/s_cexpl.c: Likewise.
22538 * math/libm-test.inc (cexp_test): Add more tests.
22539 * sysdeps/i386/fpu/libm-test-ulps: Update.
22540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22541
81b035fe
L
225422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 * include/link.h (ELFW): New macro.
22545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22547
1da7940c
L
225482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22551 with uint64_t.
22552
b749dbb9
L
225532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22554
22555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22556 declaration.
22557 (struct La_x32_retval): Likewise.
22558
2ff87f3f
L
225592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * sysdeps/x86_64/preconfigure.in: New file.
22562 * sysdeps/x86_64/preconfigure: New generated file.
22563
c0df8e69
JM
225642012-03-22 Joseph Myers <joseph@codesourcery.com>
22565
48e44791
JM
22566 [BZ #13824]
22567 * math/e_exp2l.c: Include <float.h>.
22568 (__ieee754_exp2l): Handle overflow and underflow cases
22569 separately. Only pass fractional part of argument to
22570 __ieee754_expl.
22571 * math/libm-test.inc (exp2_test): Add more tests.
22572
c0df8e69
JM
22573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22574 negating x to take absolute value.
22575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22576 Likewise.
22577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22579 Likewise.
22580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22581 computing low part if x was negated.
22582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22583
c8e43ba7
L
225842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22585
22586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22587 la_x32_gnu_pltexit.
22588 (pltexit): Cast int_retval to ptrdiff_t.
22589 * elf/tst-auditmod3b.c: Likewise.
22590 * elf/tst-auditmod4b.c: Likewise.
22591 * elf/tst-auditmod5b.c: Likewise.
22592 * elf/tst-auditmod6b.c: Likewise.
22593 * elf/tst-auditmod6c.c: Likewise.
22594 * elf/tst-auditmod7b.c: Likewise.
22595
22596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22597 and x32_gnu_pltexit.
22598
22599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22600 __ELF_NATIVE_CLASS.
22601 (La_x32_regs): New macro.
22602 (La_x32_retval): Likewise.
22603 (la_x32_gnu_pltenter): New function prototype.
22604 (la_x32_gnu_pltexit): Likewise.
22605
7998fa78
AS
226062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22607
dcb33988
AS
22608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22609 exponent.
22610
233fc563
AS
22611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22612
7998fa78
AS
22613 * configure.in (libc_cv_cc_nofma): Check for option to disable
22614 generation of FMA instructions.
22615 * configure: Regenerate.
22616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22617 * sysdeps/ieee754/dbl-64/Makefile: New file.
22618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22619 Remove brandred-fma4.
22620 (CFLAGS-brandred-fma4.c): Remove.
22621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22623 define.
22624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22625 define.
22626
8e95c99a
L
226272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22628
22629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22630 LLONG_MAX != LONG_MAX.
22631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22632 (_fitoa_word): Likewise.
22633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22634 LLONG_MAX != LONG_MAX.
22635 * stdio-common/_itowa.h: Include <_itoa.h>.
22636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22639 only if not defined.
22640 (_ITOA_WORD_TYPE): Likewise.
22641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22643
6f4db457
DM
226442012-03-21 David S. Miller <davem@davemloft.net>
22645
22646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22647
7785fe5a
L
226482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22649
22650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22651 of x86_64 when setting libc_cv_slibdir, libdir and
22652 libc_cv_localedir.
22653 * sysdeps/unix/sysv/linux/configure: Regenerated.
22654
4535cd55
JM
226552012-03-21 Joseph Myers <joseph@codesourcery.com>
22656
22657 * manual/lang.texi (Old Varargs): Remove section.
22658 (How Variadic): Update menu.
22659 (va_start): Do not mention varargs.h.
22660
17228132
TS
226612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22662 Joseph Myers <joseph@codesourcery.com>
22663
22664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22665 link test.
22666 * configure: Regenerated.
22667
8149f976
TS
226682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22669
05f3d1f6
UD
22670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22672 conformtest.pl
8149f976 22673
1a4ac776
JM
226742012-03-21 Joseph Myers <joseph@codesourcery.com>
22675
be22ce65
JM
22676 * NOTES: Remove.
22677 * Makefile (files-for-dist): Remove NOTES.
22678 (NOTES): Remove rule.
22679 * README: Don't refer to NOTES.
22680 * manual/creature.texi: Don't include macros.texi.
22681 * manual/intro.texi (creature.texi): Remove comment referring to
22682 NOTES.
22683
40b601fb
JM
22684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22686 * configure: Regenerated.
22687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22688 LIBC_TRY_CC_OPTION.
22689 (libc_cv_as_i686): Likewise.
22690 (libc_cv_cc_avx): Likewise.
22691 (libc_cv_cc_sse2avx): Likewise.
22692 (libc_cv_cc_fma4): Likewise.
22693 (libc_cv_cc_novzeroupper): Likewise.
22694 * sysdeps/i386/configure: Regenerated.
22695
1a4ac776
JM
22696 [BZ #13883]
22697 * sysdeps/i386/fpu/s_cexp.S: Remove.
22698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22700 * math/libm-test.inc (cexp_test): Add more tests.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22703
a458e7fe
AM
227042012-03-21 Allan McRae <allan@archlinux.org>
22705
22706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22707
0cb7efc5
JM
227082012-03-21 Joseph Myers <joseph@codesourcery.com>
22709
22710 [BZ #13871]
22711 * math/w_exp2.c: Do not include <float.h>.
22712 (o_threshold, u_threshold): Remove.
22713 (__exp2): Calculate result before checking finiteness and calling
22714 __kernel_standard.
22715 * math/w_exp2f.c: Likewise.
22716 * math/w_exp2l.c: Likewise.
22717 * math/libm-test.inc (exp2_test): Require overflow exception for
22718 1e6 input.
2460d3aa
JM
22719
22720 [BZ #3866]
22721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22722 range of signed 64-bit integers before using fistpll. Remove
22723 checks for whether integers fit in mantissa bits.
22724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22725 the range of signed 32-bit integers before using fistpl. Remove
22726 checks for whether integers fit in mantissa bits.
22727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22728 (__ieee754_powl): Test for y outside the range of signed 64-bit
22729 integers before using fistpll. Reduce 64-bit values to 63-bit
22730 ones as needed.
22731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22732 divide-by-zero is raised for zero to large negative powers.
22733 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
22738
eb96ffb0
L
227392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22740
22741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22742 <stdio-common/_itoa.h>.
22743 * debug/segfault.c: Likewise.
22744 * elf/dl-cache.c: Likewise.
22745 * elf/dl-minimal.c: Likewise.
22746 * elf/dl-misc.c: Likewise.
22747 * elf/dl-sysdep.c: Likewise.
22748 * elf/dl-version.c: Likewise.
22749 * elf/rtld.c: Likewise.
22750 * hurd/hurdsock.c: Likewise.
22751 * hurd/lookup-retry.c: Likewise.
22752 * malloc/malloc.c: Likewise.
22753 * malloc/mtrace.c: Likewise.
22754 * nscd/nscd_getgr_r.c: Likewise.
22755 * nscd/nscd_getpw_r.c: Likewise.
22756 * nscd/nscd_getserv_r.c: Likewise.
22757 * posix/getopt_init.c: Likewise.
22758 * posix/wordexp.c: Likewise.
22759 * stdio-common/_itoa.c: Likewise.
22760 * stdio-common/printf_fphex.c: Likewise.
22761 * stdio-common/vfprintf.c: Likewise.
22762 * string/_strerror.c: Likewise.
22763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22764 * sysdeps/i386/i686/hp-timing.h: Likewise.
22765 * sysdeps/mach/_strerror.c: Likewise.
22766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22767 * sysdeps/mach/hurd/sethostid.c: Likewise.
22768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22769 * sysdeps/mach/xpg-strerror.c: Likewise.
22770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22791
22792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22793
22794 * stdio-common/_itoa.h: Moved to ...
22795 * sysdeps/generic/_itoa.h: Here.
22796
22797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22798
22799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22800 instead of "_itoa.h" and "_itowa.h".
22801 * stdio-common/vfprintf.: Likewise.
22802
d1af992d
L
228032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22804
22805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22806 <bits/wordsize.h>.
22807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22808 (__signbit): Likwise.
22809 (llrintf): Likwise.
22810 (llrint): Likwise.
22811
114883e0
L
228122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22813
22814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22815 __WORDSIZE != 64.
22816
c135cc1b
JM
228172012-03-20 Joseph Myers <joseph@codesourcery.com>
22818
22819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22820 OVERFLOW_EXCEPTION_OK.
22821 * math/libm-test.inc ("Philosophy"): Update comment about
22822 exception testing.
22823 (OVERFLOW_EXCEPTION): Define.
22824 (OVERFLOW_EXCEPTION_OK): Likewise.
22825 (INVALID_EXCEPTION_OK): Renumber.
22826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22827 (IGNORE_ZERO_INF_SIGN): Likewise.
22828 (test_exceptions): Handle FE_OVERFLOW.
22829 (exp10_test): Expect overflow exceptions.
22830 (exp2_test): Likewise.
22831 (expm1_test): Likewise.
22832 (nextafter_test): Likewise.
22833 (pow_test): Likewise.
22834 (scalbn_test): Likewise.
22835 (scalbln_test): Likewise.
22836
95443d88
L
228372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22838
22839 * sysdeps/x86_64/bits/atomic.h
22840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22841 64bit integer.
22842 (atomic_exchange_acq): Likewise.
22843 (__arch_exchange_and_add_body): Likewise.
22844 (__arch_add_body): Likewise.
22845 (atomic_add_negative): Likewise.
22846 (atomic_add_zero): Likewise.
22847
490df6c4
L
228482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22849
c2722551 22850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22852
5e52b189
L
228532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22856 Check __x86_64__ instead of __WORDSIZE.
22857
a9879d4c
L
228582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22859
22860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22861
5df98260
DM
228622012-03-19 David S. Miller <davem@davemloft.net>
22863
e1497744
DM
22864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22865
5df98260
DM
22866 * sysdeps/sparc/fpu/fenv_private.h: New file.
22867 * sysdeps/sparc/fpu/math_private.h: Use it.
22868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22869 Remove.
22870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22871 (libc_feholdexcept_setroundl): Remove.
22872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22873 Remove.
22874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22876
b4c35121
L
228772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22880 int64_t instead of long int.
22881 (INSERT_WORDS64): Likwise.
22882
56965fd7
L
228832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22886 _Unwind_GetCFA return to _Unwind_Ptr first.
22887
83d1aec8
JM
228882012-03-19 Joseph Myers <joseph@codesourcery.com>
22889
1897ad44
JM
22890 [BZ #13629]
22891 * math/s_clog.c: Include <float.h>.
22892 (__clog): Scale large or subnormal inputs.
22893 * math/s_clogf.c: Likewise.
22894 * math/s_clogl.c: Likewise.
22895 * math/s_clog10.c: Include <float.h>.
22896 (M_LOG10_2): Define.
22897 (__clog10): Scale large or subnormal inputs.
22898 * math/s_clog10f.c: Likewise.
22899 * math/s_clog10l.c: Likewise.
22900 * math/libm-test.inc (clog_test): Add more tests.
22901 (clog10_test): Likewise.
22902 * sysdeps/i386/fpu/libm-test-ulps: Update.
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904
7726d6a9
JM
22905 [BZ #11451]
22906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22907 x and y.
22908 * math/libm-test.inc (atan2_test): Add another test.
22909
83d1aec8
JM
22910 * Makerules (common-objdir-compile): Remove.
22911 * sysdeps/unix/Makefile (config-generated): Do not add
22912 $(unix-generated) to variable.
22913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22915 Remove rule.
22916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22917 Likewise.
22918 [generic bits/local_lim.h] (before-compile): Do not append to
22919 variable.
22920 [generic bits/local_lim.h] (common-generated): Likewise.
22921 [generic sys/param.h] (before-compile): Do not append to variable.
22922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22926 include.
22927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22929 [generic sys/param.h] ($(addprefix
22930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22931 [generic sys/param.h] (common-generated): Do not append to
22932 variable.
22933 [generic sys/param.h] (sysdep_headers): Likewise.
22934 [generic bits/errno.h] (before-compile): Do not append to
22935 variable.
22936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22937 rule.
22938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22941 [generic bits/errno.h] (common-generated): Do not append to
22942 variable.
22943 [generic bits/ioctls.h] (before-compile): Do not append to
22944 variable.
22945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22946 rule.
22947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22950 rule.
22951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22954 [generic bits/ioctls.h] (common-generated): Do not append to
22955 variable.
22956 [generic sys/syscall.h] (syscall.h): Remove variable.
22957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22958 rule.
22959 [generic sys/syscall.h] (before-compile): Do not append to
22960 variable.
22961 [generic sys/syscall.h] (common-generated): Likewise.
22962 * sysdeps/unix/errnos-tmpl.c: Remove file.
22963 * sysdeps/unix/errnos.awk: Likewise.
22964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22965 * sysdeps/unix/ioctls.awk: Likewise.
22966 * sysdeps/unix/mk-local_lim.c: Likewise.
22967 * sysdeps/unix/snarf-ioctls: Likewise.
22968
4851a949
RH
229692012-03-19 Richard Henderson <rth@twiddle.net>
22970
bd37f2ee
RH
22971 * sysdeps/i386/fpu/fenv_private.h: New file.
22972 * sysdeps/i386/fpu/math_private.h: Use it.
22973 (math_opt_barrier, math_force_eval): Remove.
22974 (libc_feholdexcept_setround_53bit): Remove.
22975 (libc_feupdateenv_53bit): Remove.
22976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22977 (math_opt_barrier, math_force_eval): Remove.
22978 (libc_feholdexcept): Remove.
22979 (libc_feholdexcept_setround): Remove.
22980 (libc_fetestexcept, libc_fesetenv): Remove.
22981 (libc_feupdateenv_test): Remove.
22982 (libc_feupdateenv, libc_feholdsetround): Remove.
22983 (libc_feresetround): Remove.
22984
d0adc922
RH
22985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22987
0fe0f1f8
RH
22988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22990 (libc_feupdateenv_testl): New.
22991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22992 (libc_feupdateenv_testf): New.
22993 (libc_feupdateenv): Use libc_feupdateenv_test.
22994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22996
eb92c487
RH
22997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23000 (libc_feresetround_noex): New.
23001 (libc_feresetround_noexf): New.
23002 (libc_feresetround_noexl): New.
23003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23007 SET_RESTORE_ROUND.
23008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23010 (__cos): Likewise.
23011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23013 SET_RESTORE_ROUND_NOEX.
23014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23015 SET_RESTORE_ROUND_NOEXF.
23016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23018 (libc_feholdsetroundf): New.
23019 (libc_feresetround, libc_feresetroundf): New.
23020
7d2e8012
RH
23021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23024
b4dabbb4
RH
23025 * sysdeps/generic/math_private.h: Include <fenv.h>.
23026 (default_libc_feholdexcept): New.
23027 (default_libc_feholdexcept_setround): New.
23028 (default_libc_fesetenv, default_libc_feupdateenv): New.
23029 (libc_feholdexcept): Only define if undefined.
23030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23032 (libc_feholdexcept_setroundl): Likewise.
23033 (libc_feholdexcept_setround_53bit): Likewise.
23034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23037 (libc_feupdateenv_53bit): Likewise.
23038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23039 (libc_feholdexcept): Convert from macro to inline function.
23040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23041 (libc_fesetenv, libc_feupdateenv): Likewise.
23042
4851a949
RH
23043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23044 not previously defined.
23045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23049 * sysdeps/ieee754/flt-32/math_private.h: New file.
23050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23051 math_private.h below SET_FLOAT_WORD.
23052 (__isnan, __isinf_ns, __finite): Remove.
23053 (__isnanf, __isinf_nsf, __finitef): Remove.
23054
e79d442e
AS
230552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23056
23057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23058
90b80344
DM
230592012-03-17 David S. Miller <davem@davemloft.net>
23060
23061 [BZ #6471]
23062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23063 for 2.16.
23064
edc21804
DM
230652012-03-16 David S. Miller <davem@davemloft.net>
23066
77e927af
DM
23067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23068 warnings.
23069
374976dd
DM
23070 [BZ #6471]
23071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23072 properly.
23073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23075 sysdep_routines when subdir is sysvipc.
23076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23077 __getshmlba helper.
23078
edc21804
DM
23079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23080
473c3ef3
L
230812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23084 [__LP64__].
23085
eb0f39b6
L
230862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23087
23088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23090 (__lround): Renamed to ...
23091 (__llround): This. Replace long int with long long int.
23092 Define lround functions as aliases of llround functions.
23093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23094
6b6cd74b
L
230952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23096
23097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23099 adresses to uintptr_t. Replace "long int" and "unsigned long
23100 int" with "greg_t" on va_arg.
23101
f1a77b01
L
231022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23106
23107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23108 Move e_machine check before EI_CLASS check. Handle x32
23109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23111 SKIP_EM_IA_64 and include
23112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23113
23114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23116 (add_system_dir): New macro.
23117
23118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23120
11b90b9f
JM
231212012-03-16 Joseph Myers <joseph@codesourcery.com>
23122
c36e1d23
JM
23123 [BZ #2551]
23124 [BZ #2552]
23125 [BZ #2553]
23126 [BZ #2554]
23127 [BZ #2562]
23128 [BZ #2563]
23129 [BZ #2565]
23130 [BZ #2566]
23131 [BZ #2576]
23132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23133 (y0): Likewise.
23134 * math/w_j0f.c (j0f): Likewise.
23135 (y0f): Likewise.
23136 * math/w_j0l.c (__j0l): Likewise.
23137 (__y0l): Likewise.
23138 * math/w_j1.c (j1): Likewise.
23139 (y1): Likewise.
23140 * math/w_j1f.c (j1f): Likewise.
23141 (y1f): Likewise.
23142 * math/w_j1l.c (__j1l): Likewise.
23143 (__y1l): Likewise.
23144 * math/w_jn.c (jn): Likewise.
23145 (yn): Likewise.
23146 * math/w_jnf.c (jnf): Likewise.
23147 (ynf): Likewise.
23148 * math/w_jnl.c (__jnl): Likewise.
23149 (__ynl): Likewise.
23150 * math/libm-test.inc (j0_test): Add more tests.
23151 (j1_test): Likewise.
23152 (jn_test): Likewise. Add trailing semicolon to existing test.
23153 (y0_test): Likewise.
23154 (y1_test): Likewise.
23155 * sysdeps/i386/fpu/libm-test-ulps: Update.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23157
11b90b9f
JM
23158 [BZ #13851]
23159 [BZ #13854]
23160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23164 (__tanl): Set errno for infinite argument.
23165 * sysdeps/i386/fpu/mptan.c: Remove.
23166 * sysdeps/i386/fpu/s_tan.S: Likewise.
23167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23170 * math/libm-test.inc (tan_test): Add more tests and enable more
23171 tests for double and long double.
23172 * sysdeps/i386/fpu/libm-test-ulps: Update.
23173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23174
6a1bd2a1
JK
231752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23176
23177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23179
10a803e0
RM
231802012-03-16 Roland McGrath <roland@hack.frob.com>
23181
23182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23183 * configure.in: Use it for both main tree and add-ons.
23184 * configure: Regenerated.
23185
f196c7f7
L
231862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23187
23188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23189
8848d99d
JM
231902012-03-16 Joseph Myers <joseph@codesourcery.com>
23191
96cbe7f4
JM
23192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23193 in comment.
23194
8848d99d
JM
23195 [BZ #13851]
23196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23201 infinite argument.
23202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23204 != 0 for prec == 2.
23205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23216 * math/libm-test.inc (cos_test): Add more tests and enable more
23217 tests for long double.
23218 (sin_test): Likewise.
23219 (sincos_test): Likewise.
23220 * sysdeps/i386/fpu/libm-test-ulps: Update.
23221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23222
dd7f4703
DM
232232012-03-16 David S. Miller <davem@davemloft.net>
23224
23225 * sysdeps/sparc/fpu/math_private.h: New file.
23226
006f1daa
DM
232272012-03-15 David S. Miller <davem@davemloft.net>
23228
c0c83bc8
DM
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23230 file.
e6a62e18 23231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23233 file.
e6a62e18
DM
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23240 sysdep routines.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23242
88cb87d9
DM
23243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23245
006f1daa 23246 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23248 sparc-ifunc.h
006f1daa 23249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23251 Likewise.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23253 Likewise.
006f1daa
DM
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23258 Likewise.
006f1daa
DM
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23264 Likewise.
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23266 Likewise.
006f1daa
DM
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23291
11e0098e
AS
232922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23293
23294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23295 scaling.
23296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23297
e85b09d0
AJ
232982012-03-15 Andreas Jaeger <aj@suse.de>
23299
23300 [BZ #13852]
23301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23302 ieee754/flt-32 implementation for sin, cos and sincos.
23303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23308 ieee754/flt-32 implementation for tan.
23309
23310 * math/libm-test.inc (cos_test): Enable some large input tests for
23311 float as well
23312 (sin_test): Likewise.
23313 (sincos_test): Likewise.
23314 (tan_test): Add tests for large input.
23315
23316 * sysdeps/i386/fpu/libm-test-ulps: Update.
23317
81c64153
AJ
233182012-03-15 Andreas Jaeger <aj@suse.de>
23319
23320 [BZ #13658]
23321 * math/libm-test.inc (cos_test): Add more test cases.
23322 (sin_test): Likewise.
23323 (sincos_test): Likewise.
23324
7bbfa5c6
AJ
233252012-03-15 Andreas Jaeger <aj@suse.de>
23326
23327 [BZ #13837]
23328 * math/libm-test.inc (cos_test): Add a test case for large input
23329 value.
23330 (sin_test): Likewise.
23331 (sincos_test): Likewise.
23332
233332012-03-15 Andreas Jaeger <aj@suse.de>,
23334 Joseph Myers <joseph@codesourcery.com>
23335
23336 [BZ #13658]
0671f479 23337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23339 * sysdeps/i386/fpu/branred.c: Likewise.
23340 * sysdeps/i386/fpu/dosincos.c: Likewise.
23341 * sysdeps/i386/fpu/mpa.c: Likewise.
23342 * sysdeps/i386/fpu/s_cos.S: Likewise.
23343 * sysdeps/i386/fpu/s_sin.S: Likewise.
23344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23345 * sysdeps/i386/fpu/sincos32.c: Likewise.
23346
23347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23348 Define.
23349 (libc_feupdateenv_53bit): Define.
23350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23351 Define.
23352 (libc_feupdateenv_53bit): Define.
23353
23354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23355 53 bit (without extend i386 double precision).
23356
23357 * math/libm-test.inc (sincos_test): Add tests for large input.
23358 (sin): Likewise.
23359 (cos): Likewise.
23360
23361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23362
9cad04ea
AS
233632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23364
23365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23366
f7062b9a
DM
233672012-03-15 David S. Miller <davem@davemloft.net>
23368
23369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23385 file.
f7062b9a 23386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23388 file.
f7062b9a 23389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23391 file.
f7062b9a 23392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23394 file.
f7062b9a
DM
23395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23397 fmin/fmax sysdep routines.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23399
7bd951ff
DM
234002012-03-14 David S. Miller <davem@davemloft.net>
23401
559398ab
DM
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23431 routines.
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23433 file.
559398ab 23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23436 file.
559398ab 23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23439 file.
559398ab 23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23442 file.
559398ab 23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23445 file.
559398ab 23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23448 file.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23450 file.
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23452 file.
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23454 file.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23456 New file.
23457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23458 file.
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23460 file.
559398ab 23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23463 file.
559398ab 23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23466 file.
559398ab 23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23469 file.
559398ab 23470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23472 VIS3 routines.
559398ab
DM
23473
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23475 New file.
23476
5a1c1e32
DM
23477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23478
eae47a36
DM
23479 * sysdeps/sparc/configure.in: New file.
23480 * sysdeps/sparc/configure: Generate.
23481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23482 * configure: Regenerate.
23483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23484 * config.make.in (have-as-vis3): New.
23485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23486 available use -Av9d instead of -Av9a.
23487 * sysdeps/sparc/sparc64/Makefile: Likewise.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23490 New file.
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23492 file.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23494 New file.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23496 file.
eae47a36
DM
23497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23502
c0c83bc8
DM
23503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23504 fzeros/fnegs to load 0x80000000 into a float register instead of
23505 using the stack.
7bd951ff
DM
23506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23507
bd951ccb
JM
235082012-03-14 Joseph Myers <joseph@codesourcery.com>
23509
23510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23511 bits/syscall.h.
23512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23514 ($(inst_includedir)/bits/syscall.h): Remove rule.
23515 ($(objpfx)bits/syscall.d): Include instead of
23516 $(objpfx)syscall-list.d.
23517 (generated): Change syscall-list.h and syscall-list.d to
23518 bits/syscall.h and bits/syscall.d.
23519
bb4e6db2
RM
235202012-03-14 Roland McGrath <roland@hack.frob.com>
23521
23522 [BZ #13846]
23523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23524
aa4a2ae1
JM
235252012-03-14 Joseph Myers <joseph@codesourcery.com>
23526
e456826d
JM
23527 [BZ #13841]
23528 * math/s_csqrt.c: Include <float.h>.
23529 (__csqrt): Scale large or subnormal inputs.
23530 * math/s_csqrtf.c: Likewise.
23531 * math/s_csqrtl.c: Likewise.
23532 * math/libm-test.inc (csqrt_test): Add more tests.
23533 * sysdeps/i386/fpu/libm-test-ulps: Update.
23534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23535
aa4a2ae1
JM
23536 [BZ #13840]
23537 * math/libm-test.inc (hypot_test): Add more tests.
23538
7c10fd35
DM
235392012-03-13 David S. Miller <davem@davemloft.net>
23540
23541 [BZ #13840]
23542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23543 double-precision for the calculation instead of scaling.
23544
f453b98b
JM
235452012-03-13 Joseph Myers <joseph@codesourcery.com>
23546
23547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23548 manipulate bits before adding and subtracting TWO52[sx].
23549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23551 Likewise.
23552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23553
09a3453f
DM
235542012-03-13 David S. Miller <davem@davemloft.net>
23555
8e59da90
DM
23556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23559 rtld-global-offsets.h
23560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23561
2a8ab7f2
DM
23562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23563 large parameters.
23564
10f62770
DM
23565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23566
5f0bdb18
DM
23567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23568 'err' in the ifdef scope in which it is actually used.
23569
09a3453f
DM
23570 * nss/nss_db/db-init.c: Include string.h
23571
b4b2eb5e
DM
235722012-03-12 David S. Miller <davem@davemloft.net>
23573
98bb2f1c
DM
23574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23575 masking out of the most significant byte of random value used.
23576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23577 Fix coding style in previous change.
23578
b4b2eb5e
DM
23579 * sysdeps/unix/sysv/linux/kernel-features.h
23580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23582 expression.
23583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23584 later.
23585
6e226b09
DM
235862012-03-11 David S. Miller <davem@davemloft.net>
23587
a1bcbd40
DM
23588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23591 for 'resultvar' otherwise things get truncated on 64-bit.
23592
cb9d6174
DM
23593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23594 Fix masking out of the most significant byte of random value used.
23595
6e226b09
DM
23596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23597
058c132d
AS
235982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23599
23600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23601
2d2cd515
DM
236022012-03-09 David S. Miller <davem@davemloft.net>
23603
23604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23605 variables with appropriate CPP guards.
23606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23607 frame pointer, not the stack pointer. Correct layout comments. Fix test
23608 on resulting framesize and the management of the outregs buffer for pltexit.
23609 Preserve floating point return values across _dl_call_pltexit call.
23610 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23611 framesize and the management of the outregs buffer for pltexit.
23612 Preserve floating point return values across _dl_call_pltexit
23613 call.
23614 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23615 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23616 (print_exit): Fix format string for return register value.
23617
9a07f9d0
JM
236182012-03-10 Joseph Myers <joseph@codesourcery.com>
23619
23620 * sunrpc/Makefile (others): Add rpcgen.
23621 ($(objpfx)rpcgen): Remove special build rule and dependency on
23622 libc.
23623 * sunrpc/rpcgen.c: New file.
23624
547b5e30
PE
236252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23626
c524201a
PE
23627 [BZ #13673]
23628 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23629 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23630 * sysdeps/i386/crti.S: Likewise.
23631 * sysdeps/i386/crtn.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23634 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23636 * sysdeps/sh/crti.S: Likewise.
23637 * sysdeps/sh/crtn.S: Likewise.
23638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23639
7b6235f2
PE
23640 [BZ #13673]
23641 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23642 with URL.
23643 * locale/programs/locfile-kw.gperf: Likewise.
23644 * locale/programs/charmap-kw.h: Regenerated.
23645 * locale/programs/locfile-kw.h: Likewise.
23646
547b5e30
PE
23647 [BZ #13673]
23648 * intl/plural.y: Replace FSF snail mail address with URL.
23649 * intl/plural.c: Regenerated.
23650
5f0a5dae
RH
236512012-03-09 Richard Henderson <rth@twiddle.net>
23652
23653 * include/math_private.h: Remove file.
23654 * math/math_private.h: Move file ...
23655 * sysdeps/generic/math_private.h: ... here.
23656
b8c03620
RH
23657 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23658 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23659 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23660
4e234f5d 23661 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23662 and <math_private.h>.
23663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23668 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23751 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23754 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23757 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23758 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23760 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23763 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23764 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23765 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23766 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23768 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23769 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23770 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23771 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23773 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23779 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23786 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23794 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23797 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23801 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23805 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23806 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23807 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23812 * sysdeps/ieee754/k_standard.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23973 * sysdeps/ieee754/s_lib_version.c: Likewise.
23974 * sysdeps/ieee754/s_matherr.c: Likewise.
23975 * sysdeps/ieee754/s_signgam.c: Likewise.
23976 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23978 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23979 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23981 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23982 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23983 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23984 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23987 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23990 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23991 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23992 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23997
1991fa03
JM
239982012-03-09 Joseph Myers <joseph@codesourcery.com>
23999
24000 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24001 * sunrpc/rpc_main.c: Likewise.
24002 * sunrpc/rpc_svcout.c: Likewise.
24003
60d6f5a6
DM
240042012-03-09 David S. Miller <davem@davemloft.net>
24005
24006 * include/math_private.h: New file.
24007
4962050e
JM
240082012-03-09 Joseph Myers <joseph@codesourcery.com>
24009
02a6f887
JM
24010 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24011 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24012 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24013 from <bits/socket_type.h>.
24014 (enum __socket_type): Don't define here.
24015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24017 bits/socket_type.h.
24018
c6e013c1
JM
24019 [BZ #13566]
24020 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24021 checking __USE_GNU.
24022
4962050e
JM
24023 * Makerules ($(inst_includedir)/%.h): New rule.
24024 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24025 (install-others): Remove variable setting.
24026 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24027
38842f45
RH
240282012-03-08 Richard Henderson <rth@twiddle.net>
24029
67bb6da6
RH
24030 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24031 from macro to inline function; merge with the
24032 !__LIBC_INTERNAL_MATH_INLINES version.
24033 (__ieee754_sqrtf): Likewise.
24034
15194b4b
RH
24035 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24036 to inline function.
24037 (__rintf, __floor, __floorf): Likewise.
24038
64e21ede
RH
24039 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24040 macro to inline function.
24041 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24042
38842f45
RH
24043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24044 not <math/math_private.h>.
24045
c64bf5fe
DM
240462012-03-08 David S. Miller <davem@davemloft.net>
24047
24048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24049 copyright year.
24050 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24051
82d86f28
TS
240522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24053
24054 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24055 normalization.
24056 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24057 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24058
aea5d727
UD
240592012-03-08 Ulrich Drepper <drepper@gmail.com>
24060
24061 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24062 be defined individually, they must be defined as a block. Define
24063 S for printing a string instead of hidint the different by using a
24064 macro for adding the 'l'.
24065 * stdio-common/tst-fphex-wide.c: Adjust.
24066
70bca0a3
MP
240672012-03-07 Marek Polacek <polacek@redhat.com>
24068
24069 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24070
65b81130
MP
240712012-03-08 Marek Polacek <polacek@redhat.com>
24072
24073 [BZ #13806]
24074 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24075 * stdio-common/tst-fphex.c: Define a few macros to make the
24076 test reusable. Use them.
24077 * stdio-common/tst-fphex-wide.c: New file.
24078
07037eeb
JM
240792012-03-08 Joseph Myers <joseph@codesourcery.com>
24080
a7a93d50
JM
24081 [BZ #6911]
24082 * manual/macros.texi (gnusystems): New macro.
24083 (nongnusystems): Likewise.
24084 (gnulinuxhurdsystems): Likewise.
24085 (gnuhurdsystems): Likewise..
24086 (gnulinuxsystems): Likewise.
24087 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24088 variants of the GNU system, not "GNU system".
24089 * manual/conf.texi: Likewise.
24090 * manual/errno.texi: Likewise. Update example of errno macro
24091 expansion.
24092 * manual/filesys.texi: Likewise.
24093 (getumask): Document as specific to GNU/Hurd.
24094 * manual/install.texi: Likewise. Reword some references to
24095 GNU/Linux.
24096 * manual/intro.texi: Likewise.
24097 * manual/io.texi: Likewise.
24098 (File Name Portability): Detail which constraints are inapplicable
24099 to all GNU systems and which are only inapplicable to GNU/Hurd.
24100 * manual/job.texi: Likewise.
24101 * manual/llio.texi: Likewise.
24102 (O_NOCTTY): Document as present on GNU/Linux.
24103 * manual/maint.texi: Likewise.
24104 * manual/memory.texi: Likewise.
24105 * manual/pattern.texi: Likewise.
24106 * manual/pipe.texi: Likewise.
24107 * manual/process.texi: Likewise.
24108 * manual/resource.texi: Likewise.
24109 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24110 child on GNU/Hurd.
24111 * manual/setjmp.texi: Likewise.
24112 * manual/signal.texi: Likewise.
24113 * manual/startup.texi: Likewise.
24114 * manual/stdio.texi: Likewise.
24115 * manual/terminal.texi: Likewise.
24116 (ONLCR): Document as POSIX.
24117 (OXTABS): Document availability on GNU/Linux as XTABS.
24118 (ONOEOT): Document availability separately from other bits.
24119 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24120 * manual/time.texi: Likewise.
24121 * manual/users.texi: Likewise.
24122 * INSTALL: Regenerated.
24123 * sysdeps/gnu/errlist.c: Regenerated.
24124
07037eeb
JM
24125 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24126 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24127 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24128 puts.
24129 * configure: Regenerated.
24130
d1d3431a
JM
241312012-03-07 Joseph Myers <joseph@codesourcery.com>
24132
af6a1e37
JM
24133 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24134 default includes instead of AC_HEADER_CHECK.
24135 * sysdeps/i386/configure: Regenerated.
24136
d1d3431a
JM
24137 [BZ #10716]
24138 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24139 * math/s_cacoshf.c (__cacoshf): Likewise.
24140 * math/s_cacoshl.c (__cacoshl): Likewise.
24141 * math/s_casinh.c (__casinh): Set signs of result from argument.
24142 * math/s_casinhf.c (__casinhf): Likewise.
24143 * math/s_casinhl.c (__casinhl): Likewise.
24144 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24145 (casinh_test): Add more tests.
24146 * sysdeps/i386/fpu/libm-test-ulps: Update.
24147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24148
482ff4da
UD
241492012-03-07 Ulrich Drepper <drepper@gmail.com>
24150
872fda05
UD
24151 * po/zh_TW.po: Update from translation team.
24152
a4300c7a
UD
24153 * login/Makefile (distribute): Remove variable.
24154 * catgets/Makefile: Likewise.
24155 * mach/Makefile: Likewise.
24156 * malloc/Makefile: Likewise.
24157 * misc/Makefile: Likewise.
24158 * iconv/Makefile: Likewise.
24159 * nscd/Makefile: Likewise.
24160 * hurd/Makefile: Likewise.
24161 * manual/Makefile: Likewise.
24162 * locale/Makefile: Likewise.
24163 * intl/Makefile: Likewise.
24164 * conform/Makefile: Likewise.
24165 * nss/Makefile: Likewise.
24166 * time/Makefile: Likewise.
24167 * soft-fp/Makefile: Likewise.
24168 * dirent/Makefile: Likewise.
24169 * gmon/Makefile: Likewise.
24170 * po/Makefile: Likewise.
24171 * rt/Makefile: Likewise.
24172 * socket/Makefile: Likewise.
24173 * math/Makefile: Likewise.
24174 * signal/Makefile: Likewise.
24175 * debug/Makefile: Likewise.
24176 * elf/Makefile: Likewise.
24177 * timezone/Makefile: Likewise.
24178 * stdlib/Makefile: Likewise.
24179 * iconvdata/Makefile: Likewise.
24180 * sunrpc/Makefile: Likewise.
24181 * io/Makefile: Likewise.
24182 * argp/Makefile: Likewise.
24183 * inet/Makefile: Likewise.
24184 * hesiod/Makefile: Likewise.
24185 * grp/Makefile: Likewise.
24186 * csu/Makefile: Likewise.
24187 * wctype/Makefile: Likewise.
24188 * crypt/Makefile: Likewise.
24189 * libio/Makefile: Likewise.
24190 * string/Makefile: Likewise.
24191 * nis/Makefile: Likewise.
24192 * resolv/Makefile: Likewise.
24193 * stdio-common/Makefile: Likewise.
24194 * wcsmbs/Makefile: Likewise.
24195 * dlfcn/Makefile: Likewise.
24196 * posix/Makefile: Likewise.
24197
3b7c4e74 24198 [BZ #6959]
482ff4da
UD
24199 * timezone/Makefile: Don't install timezone files, just the programs
24200 and scripts.
24201
f72ed77d
UD
242022012-03-06 Ulrich Drepper <drepper@gmail.com>
24203
a000466f
UD
24204 * nss/databases.def: Add missing gshadow entry.
24205
f72ed77d
UD
24206 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24207
a53b7a4e
MP
242082012-03-06 Marek Polacek <polacek@redhat.com>
24209
24210 [BZ #13726]
24211 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24212 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24213 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24214 * stdio-common/tst-long-dbl-fphex.c: New file.
24215
e9258400
DM
242162012-03-06 David S. Miller <davem@davemloft.net>
24217
24218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24219 (set_obp_int): New function.
24220 (get_obp_int): New function.
24221 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24223 Avoid unused variable warnings on 'val' and use builtin_expect.
24224 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24225 __builtin_expect.
e9258400
DM
24226 (INLINE_CLONE_SYSCALL): Likewise.
24227
3bd2c723
DM
242282012-03-05 David S. Miller <davem@davemloft.net>
24229
24230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24231
bbb78d03
AS
242322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24233
884c5db4
AS
24234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24235
bbb78d03
AS
24236 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24237 only for |x| >= 40.
24238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24239
1c9f702a 242402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24241
24242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24243 Replace gettimeofday with __vdso_gettimeofday.
24244
7be16f82
RM
24245 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24246 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24247 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24248
24249 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24250 time with __vdso_time.
24251
ed58a00f
JM
242522012-03-05 Joseph Myers <joseph@codesourcery.com>
24253
24254 * manual/lang.texi (size_t): Note types to which size_t may be
24255 equivalent with the GNU C Library, but do not describe when
24256 differences between them are significant.
24257
30ee4ced
AJ
242582012-03-05 Andreas Jaeger <aj@suse.de>
24259
24260 * sysdeps/i386/fpu/libm-test-ulps: Update.
24261
b7cd39e8
JM
242622012-03-05 Joseph Myers <joseph@codesourcery.com>
24263
24264 [BZ #3976]
24265 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24266 (__ieee754_pow): Save and restore rounding mode and use
24267 round-to-nearest for main computations.
24268 * math/libm-test.inc (pow_test_tonearest): New function.
24269 (pow_test_towardzero): Likewise.
24270 (pow_test_downward): Likewise.
24271 (pow_test_upward): Likewise.
24272 (main): Call the new functions.
24273 * sysdeps/i386/fpu/libm-test-ulps: Update.
24274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24275
24276 [BZ #3976]
24277 * math/libm-test.inc (cosh_test_tonearest): New function.
24278 (cosh_test_towardzero): Likewise.
24279 (cosh_test_downward): Likewise.
24280 (cosh_test_upward): Likewise.
24281 (sinh_test_tonearest): Likewise.
24282 (sinh_test_towardzero): Likewise.
24283 (sinh_test_downward): Likewise.
24284 (sinh_test_upward): Likewise.
24285 (main): Call the new functions.
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24288
6c6a98c9
TV
242892012-03-05 Tom de Vries <tom@codesourcery.com>
24290
24291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24292 default stack guard is set in last bytes.
24293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24294
21bb2d2e 242952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24296
21bb2d2e 24297 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24298
21bb2d2e
AJ
24299 [BZ #13656]
24300 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24301 possibly allocate from heap instead of stack.
24302 * stdio-common/bug-vfprintf-nargs.c: New file.
24303 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24304
c6922934
AS
243052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24306
24307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24308
bc957d53
MP
243092012-03-03 Marek Polacek <polacek@redhat.com>
24310
24311 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24312 * math/math_private.h: Likewise.
24313 * stdlib/tst-strtod.c: Likewise.
24314 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24315 * sysdeps/x86_64/bits/atomic.h: Likewise.
24316
6358490d
DM
243172012-03-02 David S. Miller <davem@davemloft.net>
24318
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24323 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24324 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24325 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24326 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24327
01ae168d
RM
243282012-03-02 Roland McGrath <roland@hack.frob.com>
24329
d9a17c07
RM
24330 [BZ #13792]
24331 * manual/examples/README: New file, says the example source files
24332 can be used under GPL>=2.
24333 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24334 line containing just "*/".
24335 * manual/examples/add.c: Add copyright header (GPL>=2).
24336 * manual/examples/argp-ex1.c: Likewise.
24337 * manual/examples/argp-ex2.c: Likewise.
24338 * manual/examples/argp-ex3.c: Likewise.
24339 * manual/examples/argp-ex4.c: Likewise.
24340 * manual/examples/atexit.c: Likewise.
24341 * manual/examples/db.c: Likewise.
24342 * manual/examples/dir.c: Likewise.
24343 * manual/examples/dir2.c: Likewise.
24344 * manual/examples/execinfo.c: Likewise.
24345 * manual/examples/filecli.c: Likewise.
24346 * manual/examples/filesrv.c: Likewise.
24347 * manual/examples/fmtmsgexpl.c: Likewise.
24348 * manual/examples/genpass.c: Likewise.
24349 * manual/examples/inetcli.c: Likewise.
24350 * manual/examples/inetsrv.c: Likewise.
24351 * manual/examples/isockad.c: Likewise.
24352 * manual/examples/longopt.c: Likewise.
24353 * manual/examples/memopen.c: Likewise.
24354 * manual/examples/memstrm.c: Likewise.
24355 * manual/examples/mkfsock.c: Likewise.
24356 * manual/examples/mkisock.c: Likewise.
24357 * manual/examples/mygetpass.c: Likewise.
24358 * manual/examples/pipe.c: Likewise.
24359 * manual/examples/popen.c: Likewise.
24360 * manual/examples/rprintf.c: Likewise.
24361 * manual/examples/search.c: Likewise.
24362 * manual/examples/select.c: Likewise.
24363 * manual/examples/setjmp.c: Likewise.
24364 * manual/examples/sigh1.c: Likewise.
24365 * manual/examples/sigusr.c: Likewise.
24366 * manual/examples/stpcpy.c: Likewise.
24367 * manual/examples/strdupa.c: Likewise.
24368 * manual/examples/strftim.c: Likewise.
24369 * manual/examples/strncat.c: Likewise.
24370 * manual/examples/subopt.c: Likewise.
24371 * manual/examples/swapcontext.c: Likewise.
24372 * manual/examples/termios.c: Likewise.
24373 * manual/examples/testopt.c: Likewise.
24374 * manual/examples/testpass.c: Likewise.
24375 * manual/examples/timeval_subtract.c: Likewise.
24376
01ae168d
RM
24377 [BZ #13792]
24378 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24379 function to ...
24380 * manual/timeval_subtract.c.texi: ... here, new file.
24381
49efa33d
DM
243822012-03-02 David S. Miller <davem@davemloft.net>
24383
24384 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24385
28afd92d
JM
243862012-03-02 Joseph Myers <joseph@codesourcery.com>
24387
804360ed
JM
24388 [BZ #3976]
24389 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24390 (__sin): Save and restore rounding mode and use round-to-nearest
24391 for all computations.
24392 (__cos): Save and restore rounding mode and use round-to-nearest
24393 for all computations.
24394 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24395 <fenv.h>.
24396 (tan): Save and restore rounding mode and use round-to-nearest for
24397 all computations.
24398 * math/libm-test.inc (cos_test_tonearest): New function.
24399 (cos_test_towardzero): Likewise.
24400 (cos_test_downward): Likewise.
24401 (cos_test_upward): Likewise.
24402 (sin_test_tonearest): Likewise.
24403 (sin_test_towardzero): Likewise.
24404 (sin_test_downward): Likewise.
24405 (sin_test_upward): Likewise.
24406 (tan_test_tonearest): Likewise.
24407 (tan_test_towardzero): Likewise.
24408 (tan_test_downward): Likewise.
24409 (tan_test_upward): Likewise.
24410 (main): Call the new functions.
24411 * sysdeps/i386/fpu/libm-test-ulps: Update.
24412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413
a6d06d7b
JM
24414 [BZ #10135]
24415 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24416 small n, then large n, before computing and testing k+n.
24417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24419 Likewise.
24420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24421 Likewise.
24422 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24423 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24430 * math/libm-test.inc (scalbn_test): Add more tests.
24431 (scalbln_test): Likewise.
24432
07e12bb3
JM
24433 * manual/filesys.texi (mode_t): Describe constraints on size and
24434 signedness, not exact equivalence to a particular type.
24435 (ino_t): Likewise.
24436 (ino64_t): Likewise.
24437 (dev_t): Likewise.
24438 (nlink_t): Likewise.
24439 (blkcnt_t): Likewise.
24440 (blkcnt64_t): Likewise.
24441 * manual/llio.texi (off_t): Likewise.
24442
28afd92d
JM
24443 [BZ #3976]
24444 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24445 (__ieee754_exp): Save and restore rounding mode and use
24446 round-to-nearest for all computations.
24447 * math/libm-test.inc (exp_test_tonearest): New function.
24448 (exp_test_towardzero): Likewise.
24449 (exp_test_downward): Likewise.
24450 (exp_test_upward): Likewise.
24451 (main): Call the new functions.
24452 * sysdeps/i386/fpu/libm-test-ulps: Update.
24453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24454
b1eeb65d
CD
244552012-03-01 Chris Demetriou <cgd@google.com>
24456
24457 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24458 have predictable order.
24459
53362a4b
DM
244602012-03-01 David S. Miller <davem@davemloft.net>
24461
3c969083
DM
24462 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24463
759707de
DM
24464 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24465 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24466 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24467 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24468
dfdb8ff2
DM
24469 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24470 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24471 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24473 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24474 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24475 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24476 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24477 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24478
ead89f96
DM
24479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24480
7f66bd07
DM
24481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24482 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24484
53362a4b
DM
24485 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24487 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24488 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24489 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24493 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24494 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24495 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24501 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24502 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24503 * sysdeps/sparc/elf/configure: Regenerated.
24504
7b1902cb
JM
245052012-03-01 Joseph Myers <joseph@codesourcery.com>
24506
bec039bc
JM
24507 * configure.in (AS, LD): Require binutils 2.20 or later.
24508 * configure: Regenerated.
24509 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24510 as required minimum version.
24511 * INSTALL: Regenerated.
24512
7b1902cb
JM
24513 [BZ #2541]
24514 [BZ #4108]
24515 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24516 before squaring exponent.
24517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24518 bottom long double and 27 bits of top long double before squaring
24519 exponent.
24520 * math/libm-test.inc (erfc_test): Add more tests.
24521 * sysdeps/i386/fpu/libm-test-ulps: Update.
24522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24524
f775c276
KT
245252012-03-01 Kai Tietz <ktietz@redhat.com>
24526
24527 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24528 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24529 containing bit-fields.
24530 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24531 * soft-fp/single.h (_FP_UNION_S): Likewise.
24532 * soft-fp/double.h (_FP_UNION_D): Likewise.
24533
5b8a4d4a
JM
245342012-02-29 Joseph Myers <joseph@codesourcery.com>
24535
0bab47b6
JM
24536 [BZ #13786]
24537 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24538 not include ../strcmp.S.
24539 [USE_AS_STRNCASECMP_L]: Likewise.
24540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24541 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24542 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24543 (__strncasecmp_l_ia32): Define as alias to
24544 __strncasecmp_l_nonascii.
24545
0fcad3e2
JM
24546 [BZ #5794]
24547 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24548 * sysdeps/i386/fpu/libm-test-ulps: Update.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24550
5b8a4d4a
JM
24551 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24553
8fdceb2e
JL
245542012-02-29 Jeff Law <law@redhat.com>
24555
24556 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24557 out of bounds read.
24558
1f393a11
MP
245592012-02-29 Marek Polacek <polacek@redhat.com>
24560
24561 [BZ #13706]
24562 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24563 * elf/Makefile: Add rules to run tst-unused-dep.out.
24564
8847f037
DM
245652012-02-28 David S. Miller <davem@davemloft.net>
24566
24567 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24568 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24571 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24572 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24573
169d7f11
JM
245742012-02-29 Joseph Myers <joseph@codesourcery.com>
24575
24576 * math/libm-test.inc (llround_test): Move one test from
24577 lround_test. Use TEST_f_L in moved test.
24578 (lround_test): Move misplaced test to llround_test. Add testcase
24579 from bug 2561.
24580
39adf059
UD
245812012-02-28 Ulrich Drepper <drepper@gmail.com>
24582
24583 * sysdeps/x86_64/fpu/e_expf.S: New file.
24584 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24585
71b5d1c5
SB
245862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24587
24588 [BZ #13637]
24589 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24590 of remain_len that may cause incomplete multi-byte character and
24591 false match.
24592 * posix/bug-regex33.c: New file.
24593 * posix/Makefile (tests): Add bug-regex33.
24594
1f77f049
JM
245952012-02-28 Joseph Myers <joseph@codesourcery.com>
24596
24597 * manual/macros.texi: New file.
24598 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24599 * manual/libc.texinfo: Include macros.texi.
24600 * manual/creatute.texi: Likewise.
24601 * manual/install.texi: Likewise.
24602 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24603 @glibcadj{} in references to the GNU C Library.
24604 * manual/charset.texi: Likewise.
24605 * manual/conf.texi: Likewise.
24606 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24607 when not using those macros.
24608 * manual/creature.texi: Likewise.
24609 * manual/crypt.texi: Likewise.
24610 * manual/errno.texi: Likewise.
24611 * manual/filesys.texi: Likewise.
24612 * manual/header.texi: Likewise.
24613 * manual/install.texi: Likewise.
24614 * manual/intro.texi: Likewise.
24615 * manual/io.texi: Likewise.
24616 * manual/job.texi: Likewise.
24617 * manual/lang.texi: Likewise.
24618 * manual/libc.texiinfo: Likewise.
24619 * manual/llio.texi: Likewise.
24620 * manual/locale.texi: Likewise.
24621 * manual/maint.texi: Likewise.
24622 * manual/math.texi: Likewise.
24623 * manual/memory.texi: Likewise.
24624 * manual/message.texi: Likewise.
24625 * manual/nss.texi: Likewise.
24626 * manual/pattern.texi: Likewise.
24627 * manual/process.texi: Likewise.
24628 * manual/resource.texi: Likewise.
24629 * manual/search.texi: Likewise.
24630 * manual/setjmp.texi: Likewise.
24631 * manual/signal.texi: Likewise.
24632 * manual/socket.texi: Likewise.
24633 * manual/startup.texi: Likewise.
24634 * manual/stdio.texi: Likewise.
24635 * manual/string.texi: Likewise.
24636 * manual/sysinfo.texi: Likewise.
24637 * manual/syslog.texi: Likewise.
24638 * manual/terminal.texi: Likewise.
24639 * manual/time.texi: Likewise.
24640 * manual/users.texi: Likewise.
24641 * INSTALL: Regenerated.
24642 * NOTES: Regenerated.
d40c5d54 24643 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24644
450bf206
AS
246452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24646
24647 * include/dirent.h: Include <dirstream.h> before
24648 <dirent/dirent.h>.
24649
741a235b
DM
246502012-02-28 David S. Miller <davem@davemloft.net>
24651
24652 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24653 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24654 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24655 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24656
d6b5aa58
DM
246572012-02-27 David S. Miller <davem@davemloft.net>
24658
1aff59a3
DM
24659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24661 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24662 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24663
d6b5aa58
DM
24664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24665 frame pointer instead of stack pointer relative arg slot.
24666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24669
433f48bf
CD
246702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24671
24672 [BZ #3992]
24673 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24674
d674b76d
DM
246752012-02-27 David S. Miller <davem@davemloft.net>
24676
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24683 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24685
0e7727f7
JM
246862012-02-27 Joseph Myers <joseph@codesourcery.com>
24687
24688 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24689 later. Allow versions 5-9.
43be4ca2 24690 * configure: Regenerated.
0e7727f7
JM
24691 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24692 required minimum version and 4.6 as recommended version. Do not
24693 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24694 * INSTALL: Regenerated.
0e7727f7 24695
a78bc654
DM
246962012-02-27 David S. Miller <davem@davemloft.net>
24697
428d5830
DM
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24706
a78bc654
DM
24707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24708 manipulate bits before adding and subtracting TWO112[sx].
24709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24710
4579f81c
RM
247112012-02-27 Roland McGrath <roland@hack.frob.com>
24712
36c8acb4
RM
24713 [BZ #13775]
24714 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24715 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24716 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24717 being in POSIX, because they are in 1003.1-2008.
24718
84ad622b
RM
24719 * rt/tst-aio.c: Include <fcntl.h>.
24720 * rt/tst-aio7.c: Likewise.
24721 * rt/tst-aio64.c: Likewise.
24722
4579f81c
RM
24723 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24724
abd923db
JM
247252012-02-27 Joseph Myers <joseph@codesourcery.com>
24726
24727 * manual/install.texi (--with-headers): Describe headers as
24728 interface headers, not private headers.
24729 (Specific advice for GNU/Linux systems): Describe use of headers
24730 from "make headers_install", not private headers from older
24731 kernels.
43be4ca2 24732 * INSTALL: Regenerated.
abd923db
JM
24733 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24734 Change to 2.6.19.
24735 * sysdeps/unix/sysv/linux/configure: Regenerated.
24736
6664049b
JM
24737 * manual/llio.texi (fclean): Remove documentation.
24738
bb8b6697
JM
24739 * manual/Makefile (libc-texi-generated): New variable. Include
24740 version.texi.
24741 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24742 $(libc-texi-generated), not duplicated list of files.
24743 (version.texi, stamp-version): New rules.
24744 (realclean): Remove $(libc-texi-generated), not individual files
24745 from that list. Do not remove dir-add.texinfo.
24746 * manual/libc.texinfo: Comment out uses of edition numbers and
24747 references to printed manual. Remove last-updated dates.
24748 (EDITION): Comment out.
24749 (ISBN): Likewise.
24750 (VERSION, UPDATED): Remove.
24751 (version.texi): Include.
24752
12e5c3b9
AS
247532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24754
24755 * sysdeps/posix/spawni.c: Include <signal.h>.
24756 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24757 * sysdeps/pthread/aio_fsync.c: Likewise.
24758
4efeffc1 247592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24760
ba63ba08
UD
24761 * conform/Makefile (tests): Run only when not cross-compiling and
24762 when fast-check is not defined.
24763
d94a4670
UD
24764 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24765 * conform/data/limits.h-data: Fixes for POSIX2008.
24766 * conform/run-conformtest.sh: Run all tests.
24767 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24768 headers.
24769 * include/bits/dlfcn.h: Likewise.
24770 * include/langinfo.h: Likewise.
24771 * include/monetary.h: Likewise.
24772 * include/sys/poll.h: Likewise.
24773
24774 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24775 for __USE_GNU.
24776 * posix/spawn.h: Define __need_sigset_t.
24777 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24778 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24779 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24780 to get sigevent_t only.
24781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24782 only for __USE_GNU.
24783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24784 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24785 process_vm_writev only for __USE_GNU.
24786 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24787
24788 * conform/Makefile: For now ignore errors from run-conformtest.
24789 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24790 POSIX to avoid namespace pollution. Don't prepend headers.
24791 * conform/data/aio.h-data: Fixes for POSIX testing.
24792 * conform/data/fcntl.h-data: Likewise.
24793 * conform/data/glob.h-data: Likewise.
24794 * conform/data/grp.h-data: Likewise.
24795 * conform/data/pthread.h-data: Likewise.
24796 * conform/data/pwd.h-data: Likewise.
24797 * conform/data/signal.h-data: Likewise.
24798 * conform/data/spawn.h-data: Likewise.
24799 * conform/data/stdio.h-data: Likewise.
24800 * conform/data/stdlib.h-data: Likewise.
24801 * conform/data/stropts.h-data: Likewise.
24802 * conform/data/sys/mman.h-data: Likewise.
24803 * conform/data/sys/stat.h-data: Likewise.
24804 * conform/data/sys/types.h-data: Likewise.
24805 * conform/data/sys/wait.h-data: Likewise.
24806 * conform/data/time.h-data: Likewise.
24807 * conform/data/unistd.h-data: Likewise.
24808 * conform/data/utime.h-data: Likewise.
24809
24810 * io/sys/stat.h: fchmod was always in POSIX.
24811 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24812 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24813 * rt/aio.h: Define __need_timespec before including <time.h>.
24814 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24815 struct. Add forward declaration of pthread_attr_t and use it in
24816 sigevent.
24817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24819 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24820 always remove CLK_TCK definition.
24821
c20105c3
AS
248222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24823
24824 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24825
7a270350
UD
248262012-02-25 Ulrich Drepper <drepper@gmail.com>
24827
31341567
UD
24828 * conform/run-conformtest.sh: New file.
24829 * conform/Makefile: Run run-conformtest for tests.
24830 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24831 support.
24832
24833 * conform/data/uchar.h-data: New file.
24834 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24835 * conform/data/arpa/inet.h-data: Likewise.
24836 * conform/data/assert.h-data: Likewise.
24837 * conform/data/complex.h-data: Likewise.
24838 * conform/data/cpio.h-data: Likewise.
24839 * conform/data/ctype.h-data: Likewise.
24840 * conform/data/dirent.h-data: Likewise.
24841 * conform/data/dlfcn.h-data: Likewise.
24842 * conform/data/errno.h-data: Likewise.
24843 * conform/data/fcntl.h-data: Likewise.
24844 * conform/data/float.h-data: Likewise.
24845 * conform/data/fmtmsg.h-data: Likewise.
24846 * conform/data/fnmatch.h-data: Likewise.
24847 * conform/data/ftw.h-data: Likewise.
24848 * conform/data/glob.h-data: Likewise.
24849 * conform/data/grp.h-data: Likewise.
24850 * conform/data/iconv.h-data: Likewise.
24851 * conform/data/inttypes.h-data: Likewise.
24852 * conform/data/langinfo.h-data: Likewise.
24853 * conform/data/libgen.h-data: Likewise.
24854 * conform/data/limits.h-data: Likewise.
24855 * conform/data/locale.h-data: Likewise.
24856 * conform/data/math.h-data: Likewise.
24857 * conform/data/monetary.h-data: Likewise.
24858 * conform/data/mqueue.h-data: Likewise.
24859 * conform/data/ndbm.h-data: Likewise.
24860 * conform/data/net/if.h-data: Likewise.
24861 * conform/data/netdb.h-data: Likewise.
24862 * conform/data/netinet/in.h-data: Likewise.
24863 * conform/data/nl_types.h-data: Likewise.
24864 * conform/data/poll.h-data: Likewise.
24865 * conform/data/pthread.h-data: Likewise.
24866 * conform/data/pwd.h-data: Likewise.
24867 * conform/data/regex.h-data: Likewise.
24868 * conform/data/sched.h-data: Likewise.
24869 * conform/data/search.h-data: Likewise.
24870 * conform/data/semaphore.h-data: Likewise.
24871 * conform/data/setjmp.h-data: Likewise.
24872 * conform/data/signal.h-data: Likewise.
24873 * conform/data/spawn.h-data: Likewise.
24874 * conform/data/stdarg.h-data: Likewise.
24875 * conform/data/stdio.h-data: Likewise.
24876 * conform/data/stdlib.h-data: Likewise.
24877 * conform/data/string.h-data: Likewise.
24878 * conform/data/strings.h-data: Likewise.
24879 * conform/data/stropts.h-data: Likewise.
24880 * conform/data/sys/ipc.h-data: Likewise.
24881 * conform/data/sys/mman.h-data: Likewise.
24882 * conform/data/sys/msg.h-data: Likewise.
24883 * conform/data/sys/resource.h-data: Likewise.
24884 * conform/data/sys/select.h-data: Likewise.
24885 * conform/data/sys/sem.h-data: Likewise.
24886 * conform/data/sys/shm.h-data: Likewise.
24887 * conform/data/sys/socket.h-data: Likewise.
24888 * conform/data/sys/stat.h-data: Likewise.
24889 * conform/data/sys/statvfs.h-data: Likewise.
24890 * conform/data/sys/time.h-data: Likewise.
24891 * conform/data/sys/timeb.h-data: Likewise.
24892 * conform/data/sys/times.h-data: Likewise.
24893 * conform/data/sys/types.h-data: Likewise.
24894 * conform/data/sys/uio.h-data: Likewise.
24895 * conform/data/sys/un.h-data: Likewise.
24896 * conform/data/sys/utsname.h-data: Likewise.
24897 * conform/data/sys/wait.h-data: Likewise.
24898 * conform/data/syslog.h-data: Likewise.
24899 * conform/data/tar.h-data: Likewise.
24900 * conform/data/termios.h-data: Likewise.
24901 * conform/data/utime.h-data: Likewise.
24902 * conform/data/utmpx.h-data: Likewise.
24903 * conform/data/varargs.h-data: Likewise.
24904 * conform/data/wchar.h-data: Likewise.
24905 * conform/data/wctype.h-data: Likewise.
24906 * conform/data/wordexp.h-data: Likewise.
24907
24908 * include/stropts.h: New file.
24909 * include/uchar.h: New file.
24910 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24911 * include/assert.h: Likewise.
24912 * include/ctype.h: Likewise.
24913 * include/dirent.h: Likewise.
24914 * include/dlfcn.h: Likewise.
24915 * include/fcntl.h: Likewise.
24916 * include/fnmatch.h: Likewise.
24917 * include/glob.h: Likewise.
24918 * include/grp.h: Likewise.
24919 * include/libio.h: Likewise.
24920 * include/locale.h: Likewise.
24921 * include/math.h: Likewise.
24922 * include/net/if.h: Likewise.
24923 * include/netdb.h: Likewise.
24924 * include/netinet/in.h: Likewise.
24925 * include/pthread.h: Likewise.
24926 * include/pwd.h: Likewise.
24927 * include/regex.h: Likewise.
24928 * include/sched.h: Likewise.
24929 * include/search.h: Likewise.
24930 * include/setjmp.h: Likewise.
24931 * include/signal.h: Likewise.
24932 * include/stdio.h: Likewise.
24933 * include/stdlib.h: Likewise.
24934 * include/string.h: Likewise.
24935 * include/sys/cdefs.h: Likewise.
24936 * include/sys/mman.h: Likewise.
24937 * include/sys/msg.h: Likewise.
24938 * include/sys/resource.h: Likewise.
24939 * include/sys/select.h: Likewise.
24940 * include/sys/socket.h: Likewise.
24941 * include/sys/stat.h: Likewise.
24942 * include/sys/statvfs.h: Likewise.
24943 * include/sys/time.h: Likewise.
24944 * include/sys/times.h: Likewise.
24945 * include/sys/uio.h: Likewise.
24946 * include/sys/utsname.h: Likewise.
24947 * include/sys/wait.h: Likewise.
24948 * include/termios.h: Likewise.
24949 * include/time.h: Likewise.
24950 * include/ulimit.h: Likewise.
24951 * include/unistd.h: Likewise.
24952 * include/utime.h: Likewise.
24953 * include/wchar.h: Likewise.
24954 * include/wctype.h: Likewise.
24955 * include/wordexp.h: Likewise.
24956
24957 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24958
7a270350
UD
24959 * time/time.h: TIME_UTC must be a macro.
24960 Make timespec_get available for ISO C11 only as well.
24961
7724defc
UD
249622012-02-24 Ulrich Drepper <drepper@gmail.com>
24963
24964 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24965 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24966
6b1d1d46
JM
249672012-02-24 Joseph Myers <joseph@codesourcery.com>
24968
24969 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24970
0f8bbd69
JM
249712012-02-24 Joseph Myers <joseph@codesourcery.com>
24972
24973 * manual/texinfo.tex: Update to version 2012-01-19.16.
24974
66ab80bc
JM
249752012-02-24 Joseph Myers <joseph@codesourcery.com>
24976
24977 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24978
74981cc5
RM
249792012-02-24 Roland McGrath <roland@hack.frob.com>
24980
ee968201
RM
24981 [BZ #13738]
24982 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24983 * manual/fdl-1.3.texi: New file.
24984 * manual/fdl-1.1.texi: File removed.
24985
74981cc5
RM
24986 [BZ #13738]
24987 * manual/libc.texinfo (FDL_VERSION): New @set.
24988 Use it for mention of FDL in cover text.
24989 (Documentation License): Use it in @include file name.
24990
7bb764bc
JM
249912012-02-22 Joseph Myers <joseph@codesourcery.com>
24992 Roland McGrath <roland@hack.frob.com>
24993
24994 [BZ #5461]
24995 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24996 not LONG_LONG_MAX and LONG_LONG_MIN.
24997 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24998 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24999 name.
25000 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25001
6cbeae47
JM
250022012-02-22 Joseph Myers <joseph@codesourcery.com>
25003
25004 [BZ #2547]
25005 [BZ #11365]
25006 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25007 manipulate bits before adding and subtracting TWO23[sx].
25008 * math/libm-test.inc (nearbyint_test): Add more tests.
25009
fe45ce09
JM
250102012-02-22 Joseph Myers <joseph@codesourcery.com>
25011
25012 [BZ #2548]
25013 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25014 bits before adding and subtracting TWO23[sx].
25015 * math/libm-test.inc (rint_test): Add more tests.
25016 (rint_test_tonearest): Likewise.
25017 (rint_test_towardzero): Likewise.
25018 (rint_test_downward): Likewise.
25019 (rint_test_upward: Likewise.
25020
ff3b3d82
JM
250212012-02-22 Joseph Myers <joseph@codesourcery.com>
25022
25023 [BZ #10110]
25024 * include/stdc-predef.h: New file. Extracted from features.h.
25025 * include/features.h: Include stdc-predef.h.
25026 * Makefile (headers): Add stdc-predef.h.
25027 * CONFORMANCE (Compiler limitations): Update.
25028
ef0aab35
JM
250292012-02-22 Joseph Myers <joseph@codesourcery.com>
25030
25031 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25032
58639409
DM
250332012-02-21 David S. Miller <davem@davemloft.net>
25034
25035 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25037
c0e70b25
DM
250382012-02-20 David S. Miller <davem@davemloft.net>
25039
25040 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25041 using a normal save/restore sequence, rather than allocating a
25042 dummy stack frame just to store a frame pointer and restore.
25043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25044
fb06851d
JM
250452012-02-21 Joseph Myers <joseph@codesourcery.com>
25046
25047 * manual/install.texi: Fix stray word in line-wrapped comment.
25048
7a8b71c3
DM
250492012-02-20 David S. Miller <davem@davemloft.net>
25050
d510c123
DM
25051 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25052 both binutils and gcc support GOTDATA.
25053
0722d7c2
DM
25054 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25055 "rd %pc" in the PIC register setup sequences.
25056
3d2b3019
DM
25057 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25058 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25059 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25060 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25066 (SYSCALL_ERROR_HANDLER): Likewise.
25067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25070 (SYSCALL_ERROR_HANDLER): Likewise.
25071
c80098a9
DM
25072 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25073 (HAVE_GCC_GOTDATA): New.
25074 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25075 relocation support in both binutils and gcc.
25076 * sysdeps/sparc/elf/configure: Regenerate.
25077
3a2545a0
DM
25078 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25079 * sysdeps/sparc/sparc32/elf/configure: Delete.
25080 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25081 * sysdeps/sparc/sparc64/elf/configure: Delete.
25082 * sysdeps/sparc/elf/configure.in: New file.
25083 * sysdeps/sparc/elf/configure: Generate.
25084
7a8b71c3
DM
25085 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25086 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25088 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25089 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25090
f1e86fca
JM
250912012-02-21 Joseph Myers <joseph@codesourcery.com>
25092
25093 * manual/install.texi: Do not mention specific glibc version
25094 numbers.
25095 * manual/libc.texinfo (VERSION, UPDATED): Update.
25096 (@copying): Use @copyright{} and range of years.
25097
0e7dfaef
JM
250982012-02-21 Joseph Myers <joseph@codesourcery.com>
25099
25100 [BZ #13695]
25101 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25102 [crti.S not in sysdirs] (generated): Do not append.
25103 [crti.S not in sysdirs] (omit-deps): Likewise.
25104 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25105 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25106 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25107 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25108 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25109 Likewise.
25110 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25111 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25112 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25113 * csu/defs.awk: Remove file.
25114 * sysdeps/generic/initfini.c: Likewise.
25115 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25116 variable.
25117 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25118 Likewise.
25119
599af3ca
JM
251202012-02-20 Joseph Myers <joseph@codesourcery.com>
25121
25122 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25123 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25124 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25127 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25128 <bits/epoll.h>.
25129 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25130 (__EPOLL_PACKED): Define to empty if not defined by
25131 <bits/epoll.h>.
25132 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25134 bits/epoll.h.
25135
0e499750
JM
251362012-02-20 Joseph Myers <joseph@codesourcery.com>
25137
25138 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25139 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25140 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25141 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25142 <bits/timerfd.h>.
25143 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25145 bits/timerfd.h.
25146
5ad91f6e
JM
251472012-02-20 Joseph Myers <joseph@codesourcery.com>
25148
25149 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25150 in C locale.
25151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25155
06b99b02
AJ
251562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25157
25158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25160
7638c0fd
AS
251612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25162
25163 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25164 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25165 defined.
25166 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25167 Likewise.
25168 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25169 entry for 2.16.
25170
92221550
AJ
251712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25172
25173 * math/w_acos.c: Use non-signaling floating-point comparisons.
25174 * math/w_acosf.c: Likewise.
25175 * math/w_acosh.c: Likewise.
25176 * math/w_acoshf.c: Likewise.
25177 * math/w_acoshl.c: Likewise.
25178 * math/w_acosl.c: Likewise.
25179 * math/w_asin.c: Likewise.
25180 * math/w_asinf.c: Likewise.
25181 * math/w_asinl.c: Likewise.
25182 * math/w_atanh.c: Likewise.
25183 * math/w_atanhf.c: Likewise.
25184 * math/w_atanhl.c: Likewise.
25185 * math/w_exp2.c: Likewise.
25186 * math/w_exp2f.c: Likewise.
25187 * math/w_exp2l.c: Likewise.
25188 * math/w_j0.c: Likewise.
25189 * math/w_j0f.c: Likewise.
25190 * math/w_j0l.c: Likewise.
25191 * math/w_j1.c: Likewise.
25192 * math/w_j1f.c: Likewise.
25193 * math/w_j1l.c: Likewise.
25194 * math/w_jn.c: Likewise.
25195 * math/w_jnf.c: Likewise.
25196 * math/w_log.c: Likewise.
25197 * math/w_log10.c: Likewise.
25198 * math/w_log10f.c: Likewise.
25199 * math/w_log10l.c: Likewise.
25200 * math/w_log2.c: Likewise.
25201 * math/w_log2f.c: Likewise.
25202 * math/w_log2l.c: Likewise.
25203 * math/w_logf.c: Likewise.
25204 * math/w_logl.c: Likewise.
25205 * math/w_sqrt.c: Likewise.
25206 * math/w_sqrtf.c: Likewise.
25207 * math/w_sqrtl.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25213
ebaf36eb
JM
252142012-02-19 Joseph Myers <joseph@codesourcery.com>
25215
25216 [BZ #9739]
25217 * manual/string.texi (strnlen): Use correct parameter name in
25218 equivalent expression.
25219
71c254a6
JM
252202012-02-19 Joseph Myers <joseph@codesourcery.com>
25221
25222 [BZ #11174]
25223 * manual/users.texi (seteuid): Consistently use neweuid for
25224 argument name.
25225
16d2c631
JM
252262012-02-19 Joseph Myers <joseph@codesourcery.com>
25227
25228 [BZ #13704]
25229 * manual/nss.texi (Services in the NSS configuration): Correct
25230 list of services in example configuration file.
25231
cd837b09
NB
252322012-02-19 Nick Bowler <nbowler@draconx.ca>
25233
25234 [BZ #11322]
25235 * manual/arith.texi: Remove statements about negative zero
25236 behaving identically to zero.
25237
02c4bbad
JM
252382012-02-18 Joseph Myers <joseph@codesourcery.com>
25239
25240 [BZ #5993]
25241 * manual/install.texi: Do not document upgrading from libc5.
25242
366842e7
JM
252432012-02-18 Joseph Myers <joseph@codesourcery.com>
25244
25245 [BZ #4596]
25246 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25247
dd54084d
DM
252482012-02-18 David S. Miller <davem@davemloft.net>
25249
25250 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25251 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25252 %o7 across the call.
25253 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25254 instead.
25255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25256 SETUP_PIC_REG_LEAF.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25258 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25259 * sysdeps/sparc/crtn.S: Likewise.
25260
2bcc53a3
UD
252612012-02-17 Ulrich Drepper <drepper@gmail.com>
25262
25263 * aout/Makefile: Remove.
25264
09c093b5
RK
252652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25266
25267 [BZ #13058]
25268 * manual/examples/argp-ex1.c (main): Format definition in GNU
25269 style.
25270 * manual/examples/argp-ex2.c (main): Likewise.
25271 * manual/examples/argp-ex3.c (main): Likewise.
25272 * manual/examples/argp-ex4.c (main): Likewise.
25273 * manual/examples/longopt.c (main): Use new-style prototype
25274 definition.
25275 * manual/examples/strncat.c (main): Specify return type and use
25276 (void) for arguments.
25277 * manual/examples/subopt.c (main): Use char **argv argument.
25278
2ee633a2
JM
252792012-02-17 Joseph Myers <joseph@codesourcery.com>
25280
25281 [BZ #5077]
25282 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25283 rounding modes.
25284
0520adde
FB
252852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25286
25287 [BZ #6907]
25288 * manual/string.texi (strchr): Change when strchrnul is
25289 recommended.
25290
3f4081cd
DGM
252912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25292
25293 [BZ #174]
25294 * manual/locale.texi (setlocale): Document LOCPATH.
25295
d1b10e78
JM
252962012-02-17 Joseph Myers <joseph@codesourcery.com>
25297
25298 [BZ #10210]
25299 * manual/process.texi (execle): Move @dots{} before last argument.
25300
79c6869c
PB
253012012-02-17 Paul Bolle <pebolle@tiscali.nl>
25302
25303 [BZ #12047]
25304 * manual/charset.texi (Generic Charset Conversion): Fix typo
25305 (LC_TYPE -> LC_CTYPE).
25306
cc6e48bc
NB
253072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25308
25309 [BZ #5805]
25310 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25311 (scalbnf): Likewise.
25312 (scalbnl): Likewise.
25313 (scalbln): Likewise.
25314 (scalblnf): Likewise.
25315 (scalblnl): Likewise.
25316 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25317 (vwarnx): Likewise.
25318 (verr): Likewise.
25319 (verrx): Likewise.
25320 * manual/filesys.texi (telldir): Use braces around return type.
25321 * manual/llio.texi (mmap): Add space after comma.
25322 (mmap64): Likewise.
25323 * manual/math.texi (jn): Use @var{} on parameter names.
25324 (jnf): Likewise.
25325 (jnl): Likewise.
25326 (yn): Likewise.
25327 (ynf): Likewise.
25328 (ynl): Likewise.
25329 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25330 line.
25331 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25332 "...".
25333 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25334 (sched_get_priority_max): Likewise.
25335 * manual/signal.texi (sigvec): Add space after comma.
25336 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25337 names.
25338 (if_indextoname): Likewise.
25339 (if_freenameindex): Likewise.
25340 (sendto): Use ',' instead of '.' in prototype.
25341 * manual/startup.texi (syscall): Use @dots{} instead of literal
25342 "...".
25343 * manual/stdio.texi (__fpending): Separate initial words of
25344 paragraph from @deftypefun line.
25345 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25346 "...".
25347 (vsyslog): Use @var{} on parameter names.
25348 * manual/terminal.texi (stty): Use @var{} on parameter names.
25349 * manual/users.texi (getutmp): Use @var{} on parameter names.
25350 (getutmpx): Likewise.
25351
5b23062f
JM
253522012-02-17 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #6884]
25355 * manual/stdio.texi (fopen): Fix typos in description of
25356 ",ccs=STRING".
25357
8dee4833
AJ
253582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25359
25360 [BZ #4026]
25361 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25362 get clock_id definition.
25363
9078ce93
TS
253642012-02-17 Thomas Schwinge <thomas@schwinge.name>
25365
25366 [BZ #4822]
25367 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25368 (madvise): Cast every argument to void on its own.
25369
3835c55f
JM
253702012-02-17 Joseph Myers <joseph@codesourcery.com>
25371
25372 [BZ #9902]
25373 * manual/startup.texi (Exit Status): Fix typo.
25374
35c47e37
JM
253752012-02-17 Joseph Myers <joseph@codesourcery.com>
25376
25377 [BZ #10140]
25378 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25379 * manual/examples/argp-ex2.c: Likewise.
25380 * manual/examples/argp-ex3.c: Likewise.
25381
e3b69ca7
RH
253822012-02-16 Richard Henderson <rth@redhat.com>
25383
25384 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25385 * sysdeps/s390/s390-32/initfini.c: Remove.
25386 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25387 * sysdeps/s390/s390-64/initfini.c: Remove.
25388
df83af67
KK
253892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25390
25391 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25392 compiler output for sysdeps/generic/initfini.c.
25393 * sysdeps/sh/elf/initfini.c: Remove file.
25394
f63f3380
DM
253952012-02-16 David S. Miller <davem@davemloft.net>
25396
fb59b3a4
DM
25397 [BZ #11494]
25398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25399
f63f3380
DM
25400 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25401 * sysdeps/sparc/crti.S: New file.
25402 * sysdeps/sparc/crtn.S: New file.
25403 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25404 * sysdeps/sparc/sparc64/Makefile: Likewise.
25405
df6a4a4a
MF
254062012-02-15 Mike Frysinger <vapier@gentoo.org>
25407
6dd8f3dc 25408 [BZ #3335]
df6a4a4a
MF
25409 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25410
1cac7236
RM
254112012-02-15 Roland McGrath <roland@hack.frob.com>
25412
d2c736f8
RM
25413 [BZ #4822]
25414 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25415
1cac7236
RM
25416 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25417 (write, read, close): Likewise.
25418 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25419
8e475601
JM
254202012-02-15 Joseph Myers <joseph@codesourcery.com>
25421
25422 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25423 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25424 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25425 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25426 <bits/signalfd.h>.
25427 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25429 bits/signalfd.h.
25430
ed656b40
MP
254312012-02-14 Marek Polacek <polacek@redhat.com>
25432
25433 * sysdeps/x86_64/crti.S: New file.
25434 * sysdeps/x86_64/crtn.S: New file.
25435 * sysdeps/x86_64/elf/initfini.c: Remove file.
25436
2a979d3a
JM
254372012-02-13 Joseph Myers <joseph@codesourcery.com>
25438
25439 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25440 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25441 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25442 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25443 <bits/inotify.h>.
25444 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25446 bits/inotify.h.
25447
2a418ac3
JM
254482012-02-13 Joseph Myers <joseph@codesourcery.com>
25449
25450 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25451 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25452 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25453 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25454 <bits/eventfd.h>.
25455 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25457 bits/eventfd.h.
25458
fb779be7
TS
254592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25460
e19e83c5
RM
25461 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25462 __feraiseexcept instead of feraiseexcept.
7c35ffed 25463
fb779be7
TS
25464 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25465 nanosleep invocations.
25466 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25467 strings, and add error checking for a nanosleep invocations.
25468
59ba27a6
PE
254692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25470
25471 Replace FSF snail mail address with URLs, as per GNU coding standards.
25472 Most of the snail mail addresses were wrong anyway, and omitting
25473 them makes the source code easier to maintain. Almost all of the
25474 changes are to license notices and to locale LC_IDENTIFICATION
25475 addresses, except for this one:
25476 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25477 not its snail mail address.
25478
57b957eb
RH
254792012-02-09 Richard Henderson <rth@twiddle.net>
25480
af850b1c
RH
25481 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25482 of kernel-features.h.
25483
57b957eb
RH
25484 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25485
6b73181a
MP
254862012-02-08 Marek Polacek <polacek@redhat.com>
25487
25488 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25489 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25490 * sysdeps/gnu/_G_config.h: Likewise.
25491 * sysdeps/generic/_G_config.h: Likewise.
25492
26ecc33a
AS
254932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25494
6c6dbc63
AS
25495 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25496 tests.
25497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498
e216c012
AS
25499 * sysdeps/powerpc/powerpc32/crti.S: New file.
25500 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25501 * sysdeps/powerpc/powerpc64/crti.S: New file.
25502 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25503
26ecc33a
AS
25504 * Makeconfig (have-initfini): Don't set.
25505 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25506 * configure.in (nopic_initfini): Don't substitute.
25507 * config.h.in (HAVE_INITFINI): Don't #undef.
25508 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25509 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25510
3add8e13
JM
255112012-02-08 Joseph Myers <joseph@codesourcery.com>
25512
25513 Support crti.S and crtn.S provided directly by architectures.
25514 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25515 [crti.S in sysdirs] (omit-deps): Likewise.
25516 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25517 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25518 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25519 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25520 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25521 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25522 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25523 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25524 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25525 compiler output for sysdeps/generic/initfini.c.
25526 * sysdeps/i386/elf/Makefile: Remove file.
25527 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25528
a22f12b4
MP
255292012-02-07 Marek Polacek <polacek@redhat.com>
25530
25531 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25532 * sysdeps/gnu/_G_config.h: Likewise.
25533 * sysdeps/mach/hurd/_G_config.h: Likewise.
25534
148cf100
MP
255352012-02-07 Marek Polacek <polacek@redhat.com>
25536
25537 * math/Makefile (tests): Add tst-CMPLX2.
25538 * math/tst-CMPLX2.c: New file.
25539
cfdc0dd7
AS
255402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25541
84ba42c4
AS
25542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25543
cfdc0dd7
AS
25544 * math/libm-test.inc (jn_test): Add missing L suffix.
25545
622c86f4
MP
255462012-02-06 Marek Polacek <polacek@redhat.com>
25547
25548 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25549 * sysdeps/i386/fpu/e_powf.S: Likewise.
25550 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25551 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25553 * sysdeps/i386/fpu/e_pow.S: Likewise.
25554 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25556 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25557 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25558 * sysdeps/i386/fpu/e_log2.S: Likewise.
25559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25561 * sysdeps/i386/fpu/e_powl.S: Likewise.
25562 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25564 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25565 * sysdeps/i386/fpu/e_logl.S: Likewise.
25566 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25567 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25568 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25569 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25571 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25572 * sysdeps/i386/fpu/e_log.S: Likewise.
25573 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25575 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25576 * sysdeps/i386/fpu/e_logf.S: Likewise.
25577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25579 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25582 * sysdeps/i386/fpu/e_log10.S: Likewise.
25583 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25585 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25586 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25589 * sysdeps/i386/asm-syntax.h: Likewise.
25590 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25592 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25593 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25594 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25596 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25597 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25599 * sysdeps/powerpc/sysdep.h: Likewise.
25600 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25602
d4a54ac6
JM
256032012-02-06 Joseph Myers <joseph@codesourcery.com>
25604
25605 [BZ #411]
25606 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25607
314054ea
JM
256082012-02-06 Joseph Myers <joseph@codesourcery.com>
25609
25610 * sysdeps/i386/sysdep.h: Include <features.h>.
25611 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25612 version.
25613
d8e0ca50
JM
256142012-02-05 Joseph Myers <joseph@codesourcery.com>
25615
25616 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25617 Define.
25618 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25619 LOAD_PIC_REG_STR.
25620
b1da7dd9
JM
256212012-02-03 Joseph Myers <joseph@codesourcery.com>
25622
25623 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25624 (SETUP_PIC_REG): Use GET_PC_THUNK.
25625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25626 macro.
25627
9a1d9254
JM
256282012-02-03 Joseph Myers <joseph@codesourcery.com>
25629
25630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25631 for non-PIC compilation.
25632 (SETUP_PIC_REG): Add .p2align directive.
25633 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25634 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25648 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25674
65dc3b75
JM
256752012-02-03 Joseph Myers <joseph@codesourcery.com>
25676
25677 * math/tst-CMPLX.c: Include <stdio.h>.
25678
d55bf177
JM
256792012-01-31 Joseph Myers <joseph@codesourcery.com>
25680
25681 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25682 float.
25683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25684 * sysdeps/sparc/bits/mathdef.h: Likewise.
25685
69db4f8f
MP
256862012-01-31 Marek Polacek <polacek@redhat.com>
25687
25688 * libio/libio.h: Don't define _PARAMS.
25689 * locale/programs/config.h: Don't define PARAMS.
25690 * stdlib/strtol_l.c: Likewise.
25691 (__strtol_l): Remove PARAMS from the prototype.
25692
41b81892
UD
256932012-01-31 Ulrich Drepper <drepper@gmail.com>
25694
3b49edc0
UD
25695 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25696 names. Just use the correct names. Remove unnecessary wrapper
25697 functions.
25698 * malloc/arena.c: Likewise.
25699 * malloc/hooks.c: Likewise.
25700
41b81892
UD
25701 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25702 ARENA_TEST says not to. Simplify test for creation of a new arena.
25703 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25704
27a25b6e
UD
257052012-01-30 Ulrich Drepper <drepper@gmail.com>
25706
25707 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25708 into tail calls.
25709 (update_get_addr): New function.
25710 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25711 GET_ADDR_MODULE parameter.
25712
c8a89e7d
JM
257132012-01-30 Joseph Myers <joseph@codesourcery.com>
25714
25715 * crypt/cert.c: Remove __STDC__ conditionals.
25716 * crypt/crypt-entry.c: Likewise.
25717 * crypt/crypt_util.c: Likewise.
25718 * libio/filedoalloc.c: Likewise.
25719 * libio/fileops.c: Likewise.
25720 * libio/genops.c: Likewise.
25721 * libio/iofclose.c: Likewise.
25722 * libio/iofdopen.c: Likewise.
25723 * libio/iofopen.c: Likewise.
25724 * libio/iofopen64.c: Likewise.
25725 * libio/iogetdelim.c: Likewise.
25726 * libio/iopopen.c: Likewise.
25727 * libio/obprintf.c: Likewise.
25728 * libio/oldfileops.c: Likewise.
25729 * libio/oldiofclose.c: Likewise.
25730 * libio/oldiofdopen.c: Likewise.
25731 * libio/oldiofopen.c: Likewise.
25732 * libio/oldiopopen.c: Likewise.
25733 * libio/wfiledoalloc.c: Likewise.
25734 * libio/wgenops.c: Likewise.
25735 * locale/programs/xmalloc.c: Likewise.
25736 * misc/syslog.c: Likewise.
25737 * stdio-common/xbug.c: Likewise.
25738 * string/memchr.c: Likewise.
25739 * string/memcmp.c: Likewise.
25740 * string/memrchr.c: Likewise.
25741 * string/rawmemchr.c: Likewise.
25742 * sysdeps/posix/getcwd.c: Likewise.
25743 * time/strftime_l.c: Likewise.
25744
3b100462
JM
257452012-01-30 Joseph Myers <joseph@codesourcery.com>
25746
25747 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25748 * config.make.in (config-cflags-sse2avx): Define.
25749 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25750 Fix typo.
25751
607998af
CM
257522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25753
25754 * scripts/config.guess: Update from upstream config git repository.
25755 * scripts/config.sub: Likewise.
25756
3601428f
CM
257572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25758
3ac8b282
CM
25759 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25760 (EM_NUM): Update.
25761 (R_TILEPRO_*, R_TILEGX_*): New macros.
25762
e034841e
CM
25763 * scripts/firstversions.awk: Fix bug in version range handling.
25764
540d7568
CM
25765 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25766
3601428f
CM
25767 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25768
463de862
CM
25769 * include/sys/epoll.h: New file.
25770 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25771 libc_hidden_def.
25772
73139a76
UD
257732012-01-28 Ulrich Drepper <drepper@gmail.com>
25774
96bc5b45
UD
25775 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25776 Avoid unnecessary __WORDSIZE == 64 test.
25777 (fmaxf): Use VEX format if possible.
25778 (fmax): Likewise.
25779 (fminf): Likewise.
25780 (fmin): Likewise.
25781
56f6f6a2
UD
25782 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25783 * math/math_private.h: Remove libc_fegetround* and
25784 libc_fesetround*.
25785 * sysdeps/i386/configure.in: Check for -msse2avx.
25786 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25787 also if SSE2AVX is defined.
25788 Remove libc_fegetround* and libc_fesetround*.
25789 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25790 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25792 of HAS_YMM_USABLE.
25793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25798
73139a76
UD
25799 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25800
d73f93a4
AZ
258012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25802
25803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25804 size is not set.
25805 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25806
6ee65ed6
UD
258072012-01-27 Ulrich Drepper <drepper@gmail.com>
25808
25809 [BZ #13618]
25810 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25811 relocation.
25812 * Makeconfig (libm): Define.
25813 * elf/Makefile: Add rules to build and run tst-relsort1.
25814 * elf/tst-relsort1.c: New file.
25815 * elf/tst-relsort1mod1.c: New file.
25816 * elf/tst-relsort1mod2.c: New file.
25817
8db21882
JM
258182012-01-27 Joseph Myers <joseph@codesourcery.com>
25819
25820 * math/s_ldexp.c: Remove __STDC__ conditionals.
25821 * math/s_ldexpf.c: Likewise.
25822 * math/s_ldexpl.c: Likewise.
25823 * math/s_nextafter.c: Likewise.
25824 * math/s_nexttowardf.c: Likewise.
25825 * math/s_significand.c: Likewise.
25826 * math/s_significandf.c: Likewise.
25827 * math/s_significandl.c: Likewise.
25828 * math/w_jnl.c: Likewise.
25829 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25830 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25831 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25832 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25833 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25848 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25849 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25855 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25857 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25859 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25860 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25869 * sysdeps/ieee754/k_standard.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25936 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25949 * sysdeps/ieee754/s_matherr.c: Likewise.
25950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25954
965a54a4
JM
259552012-01-26 Joseph Myers <joseph@codesourcery.com>
25956
25957 * crypt/md5.h: Remove __STDC__ conditionals.
25958 * libio/libioP.h: Likewise.
25959 * locale/programs/config.h: Likewise.
25960 * sysdeps/generic/sysdep.h: Likewise.
25961 * sysdeps/i386/asm-syntax.h: Likewise.
25962 * sysdeps/s390/asm-syntax.h: Likewise.
25963 * sysdeps/unix/sysdep.h: Likewise.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25966
7071ad79
JM
259672012-01-26 Joseph Myers <joseph@codesourcery.com>
25968
25969 * libio/libio.h: Remove __STDC__ conditionals.
25970 * malloc/obstack.h: Likewise.
25971 * math/complex.h: Likewise.
25972 * math/math.h: Likewise.
25973 * sysdeps/generic/_G_config.h: Likewise.
25974 * sysdeps/gnu/_G_config.h: Likewise.
25975 * sysdeps/mach/hurd/_G_config.h: Likewise.
25976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25978 * sysdeps/sparc/bits/mathdef.h: Likewise.
25979
afc5ed09
UD
259802012-01-26 Ulrich Drepper <drepper@gmail.com>
25981
25982 [BZ #13583]
25983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25984 Clean up HAS_* macros.
afc5ed09 25985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25986 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25987 possible.
25988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25989 HAS_AVX.
25990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25995
bdb6de1d
JM
259962012-01-25 Joseph Myers <joseph@codesourcery.com>
25997
25998 * elf/tst-unique3.cc (gets): Remove declaration.
25999 * elf/tst-unique3lib.cc (gets): Likewise.
26000 * elf/tst-unique3lib2.cc (gets): Likewise.
26001 * elf/tst-unique4.cc (gets): Likewise.
26002
b15549e6
UD
260032012-01-24 Ulrich Drepper <drepper@gmail.com>
26004
26005 * include/stdio.h: Add C++ protection. Add gets declarations and
26006 definitions.
26007 * debug/tst-chk1.c: Don't declare gets here.
26008 * stdio-common/tst-gets.c: Likewise.
26009
a037381f
JM
260102012-01-24 Joseph Myers <joseph@codesourcery.com>
26011
26012 * posix/glob: Remove directory.
26013
f1d4aa75
JM
260142012-01-24 Joseph Myers <joseph@codesourcery.com>
26015
26016 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26017
81c0c964
PT
260182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26019
26020 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26021 of the non-standard EPFNOSUPPORT.
26022
0ea698ae
ST
260232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26024
26025 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26026 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26027 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26028
d220b117
UD
260292012-01-21 Ulrich Drepper <drepper@gmail.com>
26030
26031 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26032
3e1aa84e
UD
260332012-01-20 Ulrich Drepper <drepper@gmail.com>
26034
26035 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26036 transient errors.
26037 * nscd/grpcache.c (cache_addgr): Likewise.
26038 * nscd/hstcache.c (cache_addhst): Likewise.
26039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26040 * nscd/pwdcache.c (cache_addpw): Likewise.
26041 * nscd/servicescache.c (cache_addserv): Likewise.
26042
400aa020
UD
260432012-01-16 Ulrich Drepper <drepper@gmail.com>
26044
d77e7869
UD
26045 * malloc/malloc.c: Various cleanups.
26046 * malloc/hooks.c: Likewise.
26047
400aa020
UD
26048 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26049 * stdlib/bug-fmtmsg1.c: New file.
26050
26051 * stdlib/fmtmsg.c (init): Add missing unlock.
26052 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26053
e0a309cf
MP
260542012-01-12 Marek Polacek <polacek@redhat.com>
26055
26056 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26057 and _GNU_SOURCE.
26058
929d11c7
WS
260592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26060
26061 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26063 macro to ensure uniqueness of label name.
26064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26066
41d0e869
UD
260672012-01-11 Ulrich Drepper <drepper@gmail.com>
26068
0cc5ed3b
UD
26069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26070
41d0e869
UD
26071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26075
a47a831a
UD
260762012-01-10 Ulrich Drepper <drepper@gmail.com>
26077
daa891c0
UD
26078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26079
26080 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26081 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26083
e58ef0f2
UD
26084 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26085
a47a831a 26086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26087 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26090
26091 * math/bits/math-finite.h: Add ldexp support.
26092
a0bfc9c7
MP
260932012-01-10 Marek Polacek <polacek@redhat.com>
26094
26095 * locale/programs/localedef.h (show_archive_content): Add noreturn
26096 attribute.
26097
d6e97a1d
UD
260982012-01-09 Ulrich Drepper <drepper@gmail.com>
26099
26100 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26101
d5835c26
UD
261022012-01-08 Ulrich Drepper <drepper@gmail.com>
26103
e5f484c6
UD
26104 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26105
d5835c26
UD
26106 * io/Makefile (headers): Add bits/poll2.h.
26107
d1f741e9
WS
261082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26109
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26111 typo #include statement.
26112
ec09c1c4
UD
261132012-01-08 Ulrich Drepper <drepper@gmail.com>
26114
26115 * include/sys/cdefs.h: Define __attribute_alloc_size.
26116 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26117 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26118 * elf/pldd.c: Likewise.
26119 * iconv/iconv_charmap.c: Likewise.
26120 * iconv/iconvconfig.c: Likewise.
26121 * iconv/strtab.c: Likewise.
26122 * locale/programs/locale.c: Likewise.
26123 * locale/programs/localedef.h: Likewise.
26124 * locale/programs/simple-hash.c: Likewise.
26125 * nscd/nscd.h: Likewise.
26126 * nss/makedb.c: Likewise.
26127 * sysdeps/generic/ldconfig.h: Likewise.
26128 * locale/programs/localedef.c: Remove xmalloc prototype.
26129 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26130
20b38e03
PP
261312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26132
26133 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26134 appropriate.
26135
a0da5fe1
UD
261362012-01-08 Ulrich Drepper <drepper@gmail.com>
26137
1d5a644a 26138 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26139 * math/tst-CMPLX.c: New file.
1d5a644a 26140
8784a6db
UD
26141 * math/complex.h (CMPLXL): Fix typo.
26142
d9a216c0
UD
26143 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26144 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26145 GLIBC_2.16.
26146 * debug/tst-chk1.c: Add poll and ppoll tests.
26147 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26148 * include/sys/poll.h: Add hidden proto for ppoll.
26149 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26150 * sysdeps/mach/hurd/ppoll.c: Likewise.
26151 * io/ppoll.c: Likewise.
26152 * debug/poll_chk.c: New file.
26153 * debug/ppoll_chk.c: New file.
26154 * include/bits/poll2.h: New file.
26155 * io/bits/poll2.h: New file.
26156
ac097f5c
UD
26157 [BZ #1350]
26158 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26159
2119dcfa
UD
26160 * configure.in: static is always set to yes. Remove.
26161 * config.make.in: Don't set build-static.
26162 * Makeconfig: Remove use of build-static.
26163 * dlfcn/Makefile: Likewise.
26164 * elf/Makefile: Likewise.
26165 * math/Makefile: Likewise.
26166 * misc/Makefile: Likewise.
26167 * nptl/Makefile: Likewise.
26168 * sysdeps/mach/hurd/Makefile: Likewise.
26169
121766a9
UD
26170 * configure.in: PWD_P is not used anymore.
26171 * config.make.in: Remove PWD_P entry.
26172
51a1d39c 26173 * configure.in: Remove last remnants of RANLIB.
8720d066 26174 No need to check for signed size_t anymore.
215f4bdc
UD
26175 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26176 and IA-64.
3857022a 26177 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26178 * aclocal.m4: Likewise.
26179
d3ed7225
UD
26180 * wcsmbs/mbrtoc16.c: Implement using towc function.
26181 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26182 * wcsmbs/wcsmbsload.c: Likewise.
26183 * iconv/gconv_simple.c: Likewise.
26184 * iconv/gconv_int.h: Likewise.
26185 * iconv/gconv_builtin.h: Likewise.
26186 * iconv/iconv_prog.c: Remove CHAR16 handling.
26187
26188 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26189
26190 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26191
a0da5fe1
UD
26192 * configure.in: Remove --with-elf and --enable-bounded options.
26193 Dont set base_machine for ia64. More non-ELF conditions removed.
26194 Remove testing and setting of leading underscore information.
26195 * config.make.in (build-bounded): Set to no.
26196 * config.h.in: Remove NO_UNDERSCORES entry.
26197 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26198 them.
26199 * csu/start.c: Remove !NO_UNDERSCORE code.
26200 * locale/localeinfo.h: Likewise.
26201 * sysdeps/generic/machine-gmon.h: Likewise.
26202 * sysdeps/generic/sysdep.h: Likewise.
26203 * sysdeps/i386/sysdep.h: Likewise.
26204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26205 * sysdeps/mach/sysdep.h: Likewise.
26206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26208 * sysdeps/sh/sysdep.h: Likewise.
26209 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26210 * sysdeps/unix/i386/sysdep.S: Likewise.
26211 * sysdeps/unix/sparc/start.c: Likewise.
26212 * sysdeps/unix/sparc/sysdep.S: Likewise.
26213 * sysdeps/unix/sparc/sysdep.h: Likewise.
26214 * sysdeps/unix/start.c: Likewise.
26215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26216 * sysdeps/x86_64/sysdep.h: Likewise.
26217
df78418a
UD
262182012-01-07 Ulrich Drepper <drepper@gmail.com>
26219
a784e502
UD
26220 [BZ #13553]
26221 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26222 for non-gcc.
26223 * argp/argp-fmtstream.h: Use const instead __const.
26224 * argp/argp.h: Likewise.
26225 * assert/assert.h: Likewise.
26226 * bits/fenv.h: Likewise.
26227 * bits/sched.h: Likewise.
26228 * bits/sigset.h: Likewise.
26229 * bits/sigthread.h: Likewise.
26230 * catgets/nl_types.h: Likewise.
26231 * conform/data/pthread.h-data: Likewise.
26232 * crypt/crypt-private.h: Likewise.
26233 * crypt/crypt.h: Likewise.
26234 * crypt/crypt_util.c: Likewise.
26235 * ctype/ctype.h: Likewise.
26236 * debug/execinfo.h: Likewise.
26237 * debug/mbsnrtowcs_chk.c: Likewise.
26238 * debug/mbsrtowcs_chk.c: Likewise.
26239 * debug/wcsnrtombs_chk.c: Likewise.
26240 * debug/wcsrtombs_chk.c: Likewise.
26241 * debug/wcstombs_chk.c: Likewise.
26242 * dirent/dirent.h: Likewise.
26243 * dlfcn/dlfcn.h: Likewise.
26244 * elf/neededtest4.c: Likewise.
26245 * grp/grp.h: Likewise.
26246 * gshadow/gshadow.h: Likewise.
26247 * iconv/gconv.h: Likewise.
26248 * iconv/gconv_int.h: Likewise.
26249 * iconv/gconv_simple.c: Likewise.
26250 * iconv/iconv.h: Likewise.
26251 * iconv/loop.c: Likewise.
26252 * iconv/skeleton.c: Likewise.
26253 * include/aio.h: Likewise.
26254 * include/aliases.h: Likewise.
26255 * include/argz.h: Likewise.
26256 * include/arpa/inet.h: Likewise.
26257 * include/assert.h: Likewise.
26258 * include/dirent.h: Likewise.
26259 * include/dlfcn.h: Likewise.
26260 * include/execinfo.h: Likewise.
26261 * include/fcntl.h: Likewise.
26262 * include/fenv.h: Likewise.
26263 * include/glob.h: Likewise.
26264 * include/grp.h: Likewise.
26265 * include/libintl.h: Likewise.
26266 * include/mntent.h: Likewise.
26267 * include/netdb.h: Likewise.
26268 * include/pwd.h: Likewise.
26269 * include/rpc/netdb.h: Likewise.
26270 * include/sched.h: Likewise.
26271 * include/search.h: Likewise.
26272 * include/shadow.h: Likewise.
26273 * include/signal.h: Likewise.
26274 * include/stdio.h: Likewise.
26275 * include/stdlib.h: Likewise.
26276 * include/string.h: Likewise.
26277 * include/sys/socket.h: Likewise.
26278 * include/sys/stat.h: Likewise.
26279 * include/sys/statfs.h: Likewise.
26280 * include/sys/statvfs.h: Likewise.
26281 * include/sys/syslog.h: Likewise.
26282 * include/sys/time.h: Likewise.
26283 * include/sys/uio.h: Likewise.
26284 * include/time.h: Likewise.
26285 * include/unistd.h: Likewise.
26286 * include/utmp.h: Likewise.
26287 * include/wchar.h: Likewise.
26288 * include/wctype.h: Likewise.
26289 * inet/aliases.h: Likewise.
26290 * inet/arpa/inet.h: Likewise.
26291 * inet/netinet/ether.h: Likewise.
26292 * inet/netinet/in.h: Likewise.
26293 * intl/libintl.h: Likewise.
26294 * io/bits/fcntl2.h: Likewise.
26295 * io/fcntl.h: Likewise.
26296 * io/ftw.h: Likewise.
26297 * io/sys/poll.h: Likewise.
26298 * io/sys/stat.h: Likewise.
26299 * io/sys/statfs.h: Likewise.
26300 * io/sys/statvfs.h: Likewise.
26301 * io/utime.h: Likewise.
26302 * libio/bits/stdio.h: Likewise.
26303 * libio/bits/stdio2.h: Likewise.
26304 * libio/libio.h: Likewise.
26305 * libio/libioP.h: Likewise.
26306 * libio/stdio.h: Likewise.
26307 * locale/lc-ctype.c: Likewise.
26308 * locale/locale.h: Likewise.
26309 * login/utmp.h: Likewise.
26310 * malloc/arena.c: Likewise.
26311 * malloc/malloc.c: Likewise.
26312 * malloc/malloc.h: Likewise.
26313 * malloc/mcheck.c: Likewise.
26314 * malloc/mtrace.c: Likewise.
26315 * math/bits/mathcalls.h: Likewise.
26316 * math/fenv.h: Likewise.
26317 * math/math_private.h: Likewise.
26318 * misc/bits/error.h: Likewise.
26319 * misc/bits/syslog.h: Likewise.
26320 * misc/err.h: Likewise.
26321 * misc/error.h: Likewise.
26322 * misc/fstab.h: Likewise.
26323 * misc/mntent.h: Likewise.
26324 * misc/regexp.h: Likewise.
26325 * misc/search.h: Likewise.
26326 * misc/sgtty.h: Likewise.
26327 * misc/sys/mman.h: Likewise.
26328 * misc/sys/syslog.h: Likewise.
26329 * misc/sys/uio.h: Likewise.
26330 * misc/sys/xattr.h: Likewise.
26331 * misc/ttyent.h: Likewise.
26332 * nis/rpcsvc/ypclnt.h: Likewise.
26333 * nss/nss.h: Likewise.
26334 * posix/bits/unistd.h: Likewise.
26335 * posix/fnmatch.h: Likewise.
26336 * posix/glob.h: Likewise.
26337 * posix/sched.h: Likewise.
26338 * posix/spawn.h: Likewise.
26339 * posix/sys/wait.h: Likewise.
26340 * posix/unistd.h: Likewise.
26341 * posix/wordexp.h: Likewise.
26342 * pwd/pwd.h: Likewise.
26343 * resolv/netdb.h: Likewise.
26344 * resource/sys/resource.h: Likewise.
26345 * rt/aio.h: Likewise.
26346 * rt/bits/mqueue2.h: Likewise.
26347 * rt/mqueue.h: Likewise.
26348 * shadow/shadow.h: Likewise.
26349 * signal/signal.h: Likewise.
26350 * socket/send.c: Likewise.
26351 * socket/sendto.c: Likewise.
26352 * socket/sys/socket.h: Likewise.
26353 * stdio-common/printf.h: Likewise.
26354 * stdlib/bits/stdlib.h: Likewise.
26355 * stdlib/fmtmsg.h: Likewise.
26356 * stdlib/monetary.h: Likewise.
26357 * stdlib/stdlib.h: Likewise.
26358 * stdlib/ucontext.h: Likewise.
26359 * streams/stropts.h: Likewise.
26360 * string/argz.h: Likewise.
26361 * string/bits/string2.h: Likewise.
26362 * string/string.h: Likewise.
26363 * string/strings.h: Likewise.
26364 * sunrpc/rpc/auth.h: Likewise.
26365 * sunrpc/rpc/auth_des.h: Likewise.
26366 * sunrpc/rpc/clnt.h: Likewise.
26367 * sunrpc/rpc/netdb.h: Likewise.
26368 * sunrpc/rpc/pmap_clnt.h: Likewise.
26369 * sunrpc/rpc/xdr.h: Likewise.
26370 * sysdeps/generic/inttypes.h: Likewise.
26371 * sysdeps/generic/net/if.h: Likewise.
26372 * sysdeps/generic/sys/swap.h: Likewise.
26373 * sysdeps/gnu/net/if.h: Likewise.
26374 * sysdeps/gnu/utmpx.h: Likewise.
26375 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26376 * sysdeps/i386/i486/bits/string.h: Likewise.
26377 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26378 * sysdeps/s390/bits/string.h: Likewise.
26379 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26380 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26381 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26382 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26383 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26384 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26385 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26387 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26388 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26389 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26390 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26391 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26393 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26394 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26395 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26401 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26402 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26403 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26404 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26405 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26407 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26409 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26410 * sysvipc/sys/ipc.h: Likewise.
26411 * sysvipc/sys/msg.h: Likewise.
26412 * sysvipc/sys/sem.h: Likewise.
26413 * sysvipc/sys/shm.h: Likewise.
26414 * termios/termios.h: Likewise.
26415 * time/sys/time.h: Likewise.
26416 * time/time.h: Likewise.
26417 * wcsmbs/bits/wchar2.h: Likewise.
26418 * wcsmbs/uchar.h: Likewise.
26419 * wcsmbs/wchar.h: Likewise.
26420 * wctype/wctype.h: Likewise.
26421
0269750c
UD
26422 [BZ #13551]
26423 * Makeconfig: Remove all but ELF support including AIX support.
26424 * Makerules: Likewise.
26425 * config.h.in: Likewise.
26426 * config.make.in: Likewise.
26427 * configure: Likewise.
26428 * configure.in: Likewise.
26429 * csu/Makefile: Likewise.
26430 * csu/version.c: Likewise.
26431 * debug/Makefile: Likewise.
26432 * dlfcn/Makefile: Likewise.
26433 * elf/Makefile: Likewise.
26434 * extra-lib.mk: Likewise.
26435 * iconv/Makefile: Likewise.
26436 * include/libc-symbols.h: Likewise.
26437 * include/shlib-compat.h: Likewise.
26438 * resolv/Makefile: Likewise.
26439 * resolv/res_libc.c: Likewise.
26440 * rt/Makefile: Likewise.
26441 * sysdeps/i386/asm-syntax.h: Likewise.
26442 * sysdeps/i386/sysdep.h: Likewise.
26443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26444 * sysdeps/mach/sysdep.h: Likewise.
26445 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26446 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26447 * sysdeps/s390/asm-syntax.h: Likewise.
26448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26450 * sysdeps/sh/sysdep.h: Likewise.
26451 * sysdeps/unix/sparc/sysdep.h: Likewise.
26452 * sysdeps/wordsize-32/divdi3.c: Likewise.
26453 * sysdeps/x86_64/sysdep.h: Likewise.
26454
00bbd29b
UD
26455 * argp/Versions: Remove _argp_unlock_xxx.
26456
26457 [BZ #13559]
26458 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26459 * abilist/libBrokenLocale.abilist: Likewise.
26460 * abilist/libanl.abilist: Likewise.
26461 * abilist/libc.abilist: Likewise.
26462 * abilist/libcrypt.abilist: Likewise.
26463 * abilist/libdl.abilist: Likewise.
26464 * abilist/libm.abilist: Likewise.
26465 * abilist/libnsl.abilist: Likewise.
26466 * abilist/libpthread.abilist: Likewise.
26467 * abilist/libresolv.abilist: Likewise.
26468 * abilist/librt.abilist: Likewise.
26469 * abilist/libthread_db.abilist: Likewise.
26470 * abilist/libutil.abilist: Likewise.
26471 * abilist/libnss_db.abilist: New file.
26472
26473 * scripts/abilist.awk: Add support for indirect functions.
26474
a2693a0e
UD
26475 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26476
3f05895f
UD
26477 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26478
ecb6fb48
UD
26479 * shlib-versions: Remove entries for ports architectures.
26480
664f8cb9
UD
26481 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26482 files in ports.
26483 * elf/stackguard-macros.h: Remove support for IA-64.
26484 * elf/tst-auditmod1.c: Likewise.
26485 * sysdeps/generic/ldsodefs.h: Likewise.
26486
7ae81d88
UD
26487 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26488 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26489 configure files.
26490
bdeba135
UD
26491 [BZ #13552]
26492 * configure.in: Remove --enable-omitfp support.
26493 * FAQ.in: Adjust.
26494 * config.make.in: Likewise.
26495 * Makeconfig: Likewise.
26496 * manual/install.texi: Likewise.
26497
d75a0a62
UD
26498 In case anyone cares, the IA-64 architecture could move to ports.
26499 * sysdeps/ia64/*: Removed.
26500 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26501 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26502
dcc9756b
UD
26503 [BZ #13555]
26504 * configure.in: Remove entries for unsupported architectures.
26505
d3761ebc 26506 [BZ #13533]
9954432e
UD
26507 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26508 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26509 routines.
26510 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26511 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26512 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26513 fall back to using wcrtomb.
26514 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26515 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26516 renaming.
26517 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26518 * wcsmbs/tst-c16c32-1.c: New file.
26519
26520 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26521 local variable.
26522
c3a87236
UD
26523 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26524
28926a1b
UD
26525 * elf/tst-unique3.cc: Add explicit declaration of gets.
26526 * elf/tst-unique3lib.cc: Likewise.
26527 * elf/tst-unique3lib2.cc: Likewise.
26528 * elf/tst-unique4.cc: Likewise.
26529
df78418a
UD
26530 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26531
8ecd6b2a
JM
265322012-01-06 Joseph Myers <joseph@codesourcery.com>
26533
26534 [BZ #13566]
26535 * assert/assert.h (static_assert): Don't define for C++.
26536 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26537 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26538
9f115170
UD
265392012-01-03 Ulrich Drepper <drepper@gmail.com>
26540
5e0d0300
UD
26541 * iconv/loop.c (single loop): Fix assertion in storing of
26542 remaining bytes.
26543
9f115170
UD
26544 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26545
81fb02b0
UD
265462012-01-01 Ulrich Drepper <drepper@gmail.com>
26547
26548 * posix/getconf.c: Update copyright year.
26549 * nss/getent.c: Likewise.
a316c1f6 26550 * nss/makedb.c: Likewise.
81fb02b0
UD
26551 * iconv/iconvconfig.c: Likewise.
26552 * iconv/iconv_prog.c: Likewise.
26553 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26554 * elf/pldd.c: Likewise.
26555 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26556 * catgets/gencat.c: Likewise.
26557 * csu/version.c: Likewise.
26558 * elf/ldd.bash.in: Likewise.
26559 * elf/sprof.c (print_version): Likewise.
26560 * locale/programs/locale.c: Likewise.
26561 * locale/programs/localedef.c: Likewise.
a316c1f6 26562 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26563 * nscd/nscd.c (print_version): Likewise.
26564 * debug/xtrace.sh: Likewise.
26565 * malloc/memusage.sh: Likewise.
26566 * malloc/mtrace.pl: Likewise.
26567 * debug/catchsegv.sh: Likewise.
26568
2ba92745
JJ
265692011-12-30 Jakub Jelinek <jakub@redhat.com>
26570
26571 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26572 pure attribute.
26573
dadebdae
UD
265742011-12-24 Ulrich Drepper <drepper@gmail.com>
26575
d3761ebc 26576 [BZ #13533]
db6af3eb
UD
26577 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26578 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26579 transformations.
26580 * iconv/gconv_int.h: Likewise.
26581 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26582 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26583 from libc for GLIBC_2.16.
26584 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26585 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26586 * wcsmbs/uchar.h: Really define mbstate_t.
26587 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26588 * wcsmbs/c16rtomb.c: New file.
26589 * wcsmbs/mbrtoc16.c: New file.
26590 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26591 for C/POSIX locale.
26592 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26593 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26594
dadebdae
UD
26595 * wcsmbs/wchar.h: Add missing __restrict.
26596
67371b56
UD
265972011-12-23 Ulrich Drepper <drepper@gmail.com>
26598
74033a25
UD
26599 [BZ #13532]
26600 * time/Makefile (routines): Add timespec_get.
26601 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26602 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26603 timespec for ISO C11.
26604 * time/timespec_get.c: New file.
26605 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26606 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26607
380d7e87
UD
26608 [BZ #13531]
26609 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26610 * stdlib/stdlib.h: Declare aligned_alloc.
26611 * Versions.def: Add GLIBC_2.16 for libc.
26612 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26613
4e9e7a35
UD
26614 [BZ 13527]
26615 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26616 ISO C11.
26617
380d7e87 26618 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26619 code.
26620
03a71829
UD
26621 [BZ #13528]
26622 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26623
839e283e
UD
26624 [BZ #13529]
26625 * assert/assert.h (static_assert): Define.
26626
ce5294e2 26627 * version.h: Update for 2.16 development version.
90fa7312 26628
8d44e150 26629 [BZ #13526]
d7809905
UD
26630 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26631 _ISOC11_SOURCE.
26632
c0da14cd
UD
26633 * version.h (RELEASE): Bump for 2.15 release.
26634 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26635
530a3249
MP
26636 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26637 Patch by Marek Polacek <mpolacek@redhat.com>.
26638
67371b56
UD
26639 * bits/byteswap.h: Protect long long constants with __extension__.
26640 * sysdeps/i386/bits/byteswap.h: Likewise.
26641 * sysdeps/ia64/bits/byteswap.h: Likewise.
26642 * sysdeps/s390/bits/byteswap.h: Likewise.
26643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26644
15db4de1
LD
266452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26646
26647 [BZ #13540]
bbe315ea
LD
26648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26649 destination buffer.
15db4de1
LD
26650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26651
2b2596b1
MP
266522011-12-23 Marek Polacek <polacek@redhat.com>
26653
26654 * elf/dl-addr.c (determine_info): Add inline keyword.
26655 * elf/tst-auditmod4b.c (check_avx): Likewise.
26656 * elf/tst-auditmod6b.c (check_avx): Likewise.
26657 * elf/tst-auditmod6c.c (check_avx): Likewise.
26658 * elf/tst-auditmod7b.c (check_avx): Likewise.
26659
70c6c246
UD
266602011-12-23 Ulrich Drepper <drepper@gmail.com>
26661
26662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26663 !__SSE_MATH__.
26664
c044cf14
LD
266652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26666
15db4de1 26667 [BZ #13540]
c044cf14
LD
26668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26669 processing for last bytes.
26670
6b13d9d9
BH
266712011-08-06 Bruno Haible <bruno@clisp.org>
26672
d455f537
BH
26673 [BZ #13061]
26674 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26675 U+0385, not to U+1FEE.
26676
6b13d9d9
BH
26677 [BZ #13062]
26678 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26679 entry for U+00A5 U+0301.
26680
db910efd
UD
266812011-12-22 Ulrich Drepper <drepper@gmail.com>
26682
27deeafc
UD
26683 [BZ #13166]
26684 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26685 buffer for the output is too small.
26686
aed9d171
UD
26687 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26688 optimization.
26689
db910efd
UD
26690 [BZ #13185]
26691 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26692 SSE flags if possible.
26693
2bd779ae
LD
266942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26695
e7f9dac3 26696 [BZ #13540]
2bd779ae
LD
26697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26698 processing for last bytes.
26699
154bfc16
JM
267002011-12-22 Joseph Myers <joseph@codesourcery.com>
26701
26702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26703 (syscall-list-default-options, syscall-list-default-condition)
26704 (syscall-list-includes): Define.
26705 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26706 list of ABIs and options and #if conditions for each ABI. Do not
26707 handle common syscalls between ABIs specially.
26708 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26709 Remove.
26710 (syscall-list-variants, syscall-list-32bit-options)
26711 (syscall-list-32bit-condition, syscall-list-64bit-options)
26712 (syscall-list-64bit-condition): Define.
26713 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26714 (syscall-list-variants, syscall-list-32bit-options)
26715 (syscall-list-32bit-condition, syscall-list-64bit-options)
26716 (syscall-list-64bit-condition): Define.
26717 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26718 Remove.
26719 (syscall-list-variants, syscall-list-32bit-options)
26720 (syscall-list-32bit-condition, syscall-list-64bit-options)
26721 (syscall-list-64bit-condition): Define.
26722 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26723 Remove.
26724 (syscall-list-variants, syscall-list-32bit-options)
26725 (syscall-list-32bit-condition, syscall-list-64bit-options)
26726 (syscall-list-64bit-condition): Define.
26727
21eaf3a5
UD
267282011-12-22 Ulrich Drepper <drepper@gmail.com>
26729
16c6f992
UD
26730 * locale/iso-639.def: Add brx entry.
26731
41043168
UD
26732 [BZ #13328]
26733 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26734 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26735
21eaf3a5
UD
26736 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26737 __feraiseexcept_renamed.
26738
e3a851a2
UD
267392011-12-21 Ulrich Drepper <drepper@gmail.com>
26740
4920765e
UD
26741 [BZ #13538]
26742 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26743 EPOLLET with unsigned values.
26744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26746
e3a851a2
UD
26747 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26748 to large cancellation.
26749 * math/s_cacoshf.c: Likewise.
26750 * math/s_cacoshl.c: Likewise.
26751
b27e24b8
RK
267522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26753
26754 [BZ #13305]
aebefeee 26755 [BZ #12786]
b27e24b8
RK
26756 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26757 * math/s_cacoshf.c: Likewise.
26758 * math/s_cacoshl.c: Likewise.
26759
ee190f67
UD
267602011-12-21 Ulrich Drepper <drepper@gmail.com>
26761
26762 [BZ #13439]
26763 * iconv/gconv.h: Define __GCONV_SWAP.
26764 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26765 * iconvdata/utf-16.c: Likewise.
26766 * iconvdata/utf-32.c: Likewise.
26767
707f25df
AS
267682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26769
26770 [BZ #13524]
26771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26772 numerator after shifting it by one limb.
26773
d2daaa1e
RÁE
267742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26775
26776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26777 under [__USE_EXTERN_INLINES].
26778
a4647e72
UD
267792011-12-17 Ulrich Drepper <drepper@gmail.com>
26780
26781 [BZ #13446]
26782 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26783
f0b264f1
AZ
267842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26785
26786 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26787 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26788 optimized code.
26789 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26791 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26792 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26793 for strncasecmp/strncasecmp_l compilation.
26794 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26795 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26796
8ef4f244
MP
267972011-12-08 Marek Polacek <mpolacek@redhat.com>
26798
26799 [BZ #13484]
26800 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26801 of __asm__.
26802
97ac2654
UD
268032011-12-17 Ulrich Drepper <drepper@gmail.com>
26804
26805 [BZ #13506]
26806 * time/tzfile.c (__tzfile_read): Check values from file header.
26807
91d2a845
WS
268082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26809
26810 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26811 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26812 * powerpc/powerpc32/dl-start.S: Likewise.
26813 * powerpc/powerpc32/elf/start.S: Likewise.
26814 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26815 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26816 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26817 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26818 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26819 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26820 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26821 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26822 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26823 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26824 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26825 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26826 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26827 * powerpc/powerpc32/memset.S: Likewise.
26828 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26829 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26830 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26831 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26832 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26833 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26834 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26835 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26836 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26837 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26841
a1267ba1
AZ
268422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26843
26844 * math/libm-test.inc: Added more nearbyint tests.
26845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26849
ad8ac1bd
RL
268502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26851
26852 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26853 FD_CLOEXEC.
26854
1d3e4b61
UD
268552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26856
26857 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26858 Add wcscpy-ssse3 wcscpy-c.
26859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26860 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26861 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26862 * sysdeps/x86_64/wcschr.S: New file.
26863 * sysdeps/x86_64/wcsrchr.S: New file.
26864 * string/test-strcmp.c: Remove checking of wcscmp function for
26865 wrong alignments.
26866 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26867 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26868 wcsrchr-sse2 wcsrchr-c.
26869 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26870 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26871 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26872 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26873 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26874 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26875 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26876 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26878 * wcsmbc/wcschr.c (WCSCHR): New macro.
26879
5b330a2d
UD
268802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26881
26882 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26883 * wcsmbs/test-wcsrchr.c: New file.
26884 * string/test-strrchr.c: Add wcsrchr support.
26885 (WIDE): New macro.
26886 * wcsmbs/test-wcscpy.c: New file.
26887 * string/test-strcpy.c: Add wcscpy support.
26888 (WIDE): New macro.
26428b7c 26889
f039c043
UD
268902011-12-10 Ulrich Drepper <drepper@gmail.com>
26891
26892 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26893 the inner loop.
26894
850fb039
AS
268952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26896
26897 [BZ #13472]
26898 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26899
4efbd5cb
UD
269002011-12-04 Ulrich Drepper <drepper@gmail.com>
26901
52ff5dd0 26902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26903 Minor optimizations.
52ff5dd0 26904
4efbd5cb
UD
26905 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26906 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26907 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26908
8a426e12
UD
269092011-12-03 Ulrich Drepper <drepper@gmail.com>
26910
aff2453d
UD
26911 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26912 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26913 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26914 for gcc to avoid warnings.
26915 * inet/Makefile (tests): Add tst-checks.
26916 * inet/tst-checks.c: New file.
26917
26918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26919 warning.
26920
26921 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26922 __wmemcmp_sse2.
26923
26924 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26925 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26926
8a426e12
UD
26927 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26928
9bea3473
UD
269292011-12-02 Ulrich Drepper <drepper@gmail.com>
26930
3a965496
UD
26931 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26932 problem.
26933
9bea3473
UD
26934 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26935
f101631b
UD
269362011-11-29 Joseph Myers <joseph@codesourcery.com>
26937
26938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26939 conditional on GCC version.
26940 (__arch_compare_and_exchange_val_8_acq)
26941 (__arch_compare_and_exchange_val_16_acq)
26942 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26943 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26944 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26945
a98275aa
UD
269462011-12-02 Joseph Myers <joseph@codesourcery.com>
26947
26948 * sysdeps/sh/backtrace.c: New file.
26949
d4cc29a2
AS
269502011-12-02 Andreas Schwab <schwab@redhat.com>
26951
26952 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26953 parenthesis.
26954
6257af2d
AS
269552011-12-01 Andreas Schwab <schwab@redhat.com>
26956
26957 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26958 falling back to utime.
26959
b5f44c1a
AS
269602011-11-30 Andreas Schwab <schwab@redhat.com>
26961
26962 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26963 expectations for float.
26964
f3a6cc0a
AS
269652011-11-29 Andreas Schwab <schwab@redhat.com>
26966
26967 * locale/weight.h (findidx): Add parameter len.
26968 * locale/weightwc.h (findidx): Likewise.
26969 * posix/fnmatch_loop.c (FCT): Adjust caller.
26970 * posix/regcomp.c (build_equiv_class): Likewise.
26971 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26972 * posix/regexec.c (check_node_accept_bytes): Likewise.
26973 * string/strcoll_l.c (STRCOLL): Likewise.
26974 * string/strxfrm_l.c (STRXFRM): Likewise.
26975
9d65ea3a
UD
269762011-11-17 Ulrich Drepper <drepper@gmail.com>
26977
26978 * Makefile.in: Remove CVSOPT handling.
26979 * configure.in: Remove use of AC_REVISION.
26980 * iconvdata/Makefile (distribute): No need to filter out CVS.
26981 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26982 handling.
26983
5583a086
AS
269842011-11-16 Andreas Schwab <schwab@redhat.com>
26985
26986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26987 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26988 [USE_AS_STRNCASECMP_L]: Likewise.
26989 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26990 NO_TLS_DIRECT_SEG_REFS.
26991 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26992 Fix argument offsets for non-PIC.
26993 [USE_AS_STRNCASECMP_L]: Likewise.
26994 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26995 NO_TLS_DIRECT_SEG_REFS.
26996
d62a8200
UD
269972011-11-15 Ulrich Drepper <drepper@gmail.com>
26998
9d65ea3a 26999 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27000 O_CLOEXEC.
27001 * locale/loadlocale.c (_nl_load_locale): Likewise.
27002
09f93bd3
AS
270032011-11-15 Andreas Schwab <schwab@redhat.com>
27004
446514f9
AS
27005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27006 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27008 (SYSCALL_GETTIME): Set errno on error.
27009
09f93bd3
AS
27010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27011 count references to noai6ai_cached.
27012
312be3f9
UD
270132011-11-15 Ulrich Drepper <drepper@gmail.com>
27014
27015 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27016
27017 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27018 FD_CLOEXEC for /proc/self/maps.
27019
27020 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27021 FD_CLOEXEC for /proc/meminfo.
27022
27023 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27024 gai.conf.
27025
27026 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27027 FD_CLOEXEC for given file.
27028
27029 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27030
27031 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27032 FD_CLOEXEC for /etc/hosts.
27033 (_gethtent): Likewise.
27034
27035 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27036
27037 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27038 cancellation and set FD_CLOEXEC for /etc/netgroup.
27039
27040 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27041 reading /etc/publickey.
27042
27043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27044 allow cancellation when reading /etc/group.
27045
27046 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27047 cancellation.
27048 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27049
27050 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27051 when using data file.
27052
27053 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27054
27055 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27056 (write_nis_obj): Use "c" and "e" in fopen.
27057
27058 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27059
27060 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27061
27062 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27063
27064 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27065
27066 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27067 locale.alias.
27068
27069 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27070
27071 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27072
27073 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27074
27075 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27076 file parsing and set FD_CLOEXEC.
27077
82af0fa8
UD
270782011-11-14 Ulrich Drepper <drepper@gmail.com>
27079
27080 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27081
a5fb313c
AS
270822011-11-14 Andreas Schwab <schwab@redhat.com>
27083
27084 * malloc/arena.c (arena_get2): Don't call reused_arena when
27085 _int_new_arena failed.
27086
6abf3465
UD
270872011-11-14 Ulrich Drepper <drepper@gmail.com>
27088
27089 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27090 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27095 to compile strcasecmp and strncasecmp.
27096 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27097 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27098
27099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27100
76e3966e
UD
271012011-11-13 Ulrich Drepper <drepper@gmail.com>
27102
27103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27104 locale-defines.sym to gen-as-const-headers.
27105 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27106 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27108 to compile strcasecmp and strncasecmp.
27109 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27110 strcasecmp_l and strncasecmp_l.
27111 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27112 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27113 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27115 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27117 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27118 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27119 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27120 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27121 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27122
ab26144e
UD
271232011-11-12 Ulrich Drepper <drepper@gmail.com>
27124
7edb22ef
UD
27125 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27126 result of SYSDEP_GETTIME_CPU to retval.
27127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27128 parameter list to macro. Remove trailing semicolon. Adjust users.
27129
9694fc44
UD
27130 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27131 variable.
27132
8ad89ef8
UD
27133 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27134 mantissa words.
27135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27136
0c822ef9
UD
27137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27138 from unused variable.
27139
874e0564
UD
27140 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27141 DWARF definitions.
27142 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27143 for assembling.
27144
3a2edc79
UD
27145 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27146 over namespaces.
27147
f3c2577f
UD
27148 * sunrpc/rpc_prot.c (rejected): Fix case value.
27149
294ce126
UD
27150 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27151 unsigned long long int to avoid warnings in shift.
27152
5e2b63c6
UD
27153 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27154 of use of trans.
27155 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27156 variable tmp.
27157
e7f4b08e
UD
27158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27159 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27161
ab26144e
UD
27162 * nis/nis_table.c (nis_list): Use variable of correct type for
27163 result of __follow_path call.
27164
8a6d5255
AZ
271652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27166
27167 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27168 of math functions ceil, trunc, floor, round, and sqrt, when
27169 avaliable on the platform.
27170 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27171 name clash.
27172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27175
aaddc98c
MP
271762011-10-30 Marek Polacek <mpolacek@redhat.com>
27177
27178 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27180
95b7042b
RM
271812011-11-11 Roland McGrath <roland@hack.frob.com>
27182
27183 * include/unistd.h: Fix __readlink return type.
27184 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27185
57769839
UD
271862011-11-11 Ulrich Drepper <drepper@gmail.com>
27187
27188 * stdlib/ucontext.h: Undo last change for makecontext.
27189
edc5984d
AS
271902011-11-11 Andreas Schwab <schwab@redhat.com>
27191
98591e58
AS
27192 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27193
edc5984d
AS
27194 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27195 * setjmp/setjmp.h: Mark functions as non-leaf.
27196 * setjmp/bits/setjmp2.h: Likewise.
27197 * stdlib/ucontext.h: Likewise.
27198
77cdc054
AS
271992011-11-10 Andreas Schwab <schwab@redhat.com>
27200
27201 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27202 (reused_arena): Don't check arena limit.
27203 (arena_get2): Atomically check arena limit.
27204
fe72eebd
UD
272052011-11-08 Ulrich Drepper <drepper@gmail.com>
27206
5f078c32
UD
27207 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27208 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27209
fe72eebd
UD
27210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27211 instructions.
27212
ae1bc2fa
AS
272132011-11-07 Andreas Schwab <schwab@redhat.com>
27214
7583a88d
AS
27215 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27216 handler when locking.
27217
ae1bc2fa
AS
27218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27219 Fix size of allocated buffer.
27220
10fb0bfa
AS
272212011-11-04 Andreas Schwab <schwab@redhat.com>
27222
998832a4
AS
27223 [BZ #10103]
27224 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27225 declarations for long double functions.
27226 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27227
10fb0bfa
AS
27228 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27229
3d7ba52b
AS
272302011-11-03 Andreas Schwab <schwab@redhat.com>
27231
a9ae54a1
AS
27232 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27233 installed.
27234
3d7ba52b
AS
27235 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27236 is disabled.
27237
bc8db248
ST
272382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27239
27240 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27241
45b96dd6
AS
272422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27243
647776f6
AS
27244 * include/alloca.h (stackinfo_alloca_round): Define.
27245 (extend_alloca): Use it.
27246 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27247 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27248 here.
27249
d91a8b93
AS
27250 * scripts/check-local-headers.sh: Ignore libaudit.h.
27251
45b96dd6
AS
27252 * nscd/Makefile (extra-objs): Make recursively expanded.
27253
432d41ce
UD
272542011-11-01 Ulrich Drepper <drepper@gmail.com>
27255
34372fc6
UD
27256 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27258
fadb59f8
UD
27259 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27260 * posix/tst-rfc3484-2.c: Likewise.
27261 * posix/tst-rfc3484-3.c: Likewise.
27262
78239589
UD
27263 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27264 process_vm_writev.
27265 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27266 process_vm_writev.
27267 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27268 process_vm_writev from libc using GLIBC_2.15 version.
27269
432d41ce
UD
27270 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27271
02f9c6cf
PP
272722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27273
27274 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27275 stack usage.
27276
3a2c0242
UD
272772011-10-31 Ulrich Drepper <drepper@gmail.com>
27278
f4ec4833
UD
27279 [BZ #13367]
27280 * nss/getent.c (initgroups_keys): Show error message in case no group
27281 names are given.
27282
3a2c0242
UD
27283 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27284 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27285 __bump_nl_timestamp.
27286 * nscd/connections (nscd_init): When host database is served open
27287 netlink socket and request notification about configuration changes.
27288 (main_loop_poll): Track netlink file descriptor and bump timestamp
27289 in case data becomes available.
27290 (main_loop_epoll): Likewise.
27291 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27292 (database_pers_head): Add extra_data fileds.
27293 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27295 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27296 Adjust caller.
27297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27298 in6ai data, call __free_in6ai.
27299 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27300 Add -DHAVE_NETLINK.
27301 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27302 interface information. Reuse previous data if netlink timestamp
27303 is not changed.
27304 (__bump_nl_timestamp): New function.
27305 (__free_in6ai): New function.
27306
636064eb
UD
273072011-10-30 Ulrich Drepper <drepper@gmail.com>
27308
27309 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27310 close_not_cancel_no_status here.
27311 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27312
9beb2334
UD
273132011-10-29 Ulrich Drepper <drepper@gmail.com>
27314
6ef76f3b
UD
27315 [BZ #13276]
27316 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27317 return value.
27318
0ffc4f3e 27319 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27320 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27321 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27322
cb95113e
UD
273232011-07-03 Andreas Jaeger <aj@suse.de>
27324
27325 [BZ #10709]
27326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27327 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27328 * math/libm-test.inc (sin_test): Add test case.
27329
a1b560ff
UD
273302011-10-29 Ulrich Drepper <drepper@gmail.com>
27331
c9aaface
UD
27332 [BZ #13337]
27333 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27334 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27335
d272e7f1
UD
27336 * elf/chroot_canon.c (chroot_canon): Cleanups.
27337
1bc33071
UD
27338 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27339
1760874d
TJ
27340 [BZ #13335]
27341 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27342 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27343
51d91b18
UD
27344 * string/test-strchr.c: Make usable for strchrnul testing.
27345 * string/test-strchrnul.c: New file.
27346 * string/Makefile (strop-tests): Add strchrnul.
27347
a1b560ff 27348 * po/it.po: Update from translation team.
b611fb81 27349 * po/es.po: Likewise.
a1b560ff 27350
a5b81e1f
UD
273512011-10-28 Ulrich Drepper <drepper@gmail.com>
27352
fd52bc6d
UD
27353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27354 the three constants needed as parameters. Drop the others.
27355 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27356 __m128i_strloadu_tolower.
52e4b9eb
UD
27357 Create and initialize variable zero and use it in all the places
27358 where _mm_setzero_si128 was used.
fd52bc6d 27359
a5b81e1f
UD
27360 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27361 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27362 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27364 anymore.
27365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27368 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27369 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27370 __mpranred, __mptan.
27371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27375 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27376 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27378 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27379 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27380
b4343346
AS
273812011-10-28 Andreas Schwab <schwab@redhat.com>
27382
0c92d8a8
AS
27383 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27384 redefine if SHARED.
27385 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27386
b4343346
AS
27387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27388 wide char related routines to wcsmbs subdir.
27389
3871f58f
AS
273902011-10-27 Andreas Schwab <schwab@redhat.com>
27391
27392 [BZ #13344]
27393 * misc/sys/cdefs.h (__THROWNL): Define.
27394 * posix/unistd.h: Use __THREADNL instead of __THREAD
27395 for memory synchronization functions.
27396
94d44d9f
RM
273972011-10-26 Roland McGrath <roland@hack.frob.com>
27398
21b64b15 27399 [BZ #13349]
94d44d9f
RM
27400 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27401 doesn't exist.
27402 * manual/stdio.texi (Obstack Streams): Node removed.
27403
f6ce9294
AS
274042011-10-26 Andreas Schwab <schwab@redhat.com>
27405
80479147
AS
27406 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27409
f6ce9294
AS
27410 * math/math_private.h (math_force_eval): Allow non-addressable
27411 arguments.
27412 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27413
618280a1
UD
274142011-10-25 Ulrich Drepper <drepper@gmail.com>
27415
e0016b11
UD
27416 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27417 file is not needed.
27418
27419 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27426 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27427 Add AVX variants.
27428 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27430 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27432 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27434 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27438 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27442 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27443 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27444 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27445 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27446 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27447
27448 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27449 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27450
618280a1
UD
27451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27452 place. Use VEX encoding when compiling for AVX.
27453
37822576
AS
274542011-10-25 Andreas Schwab <schwab@redhat.com>
27455
1f1e1947
AS
27456 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27457 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27458
37822576
AS
27459 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27460
31ea014d
UD
274612011-10-25 Ulrich Drepper <drepper@gmail.com>
27462
d7826aa1 27463 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27464 useless if() expression.
d7826aa1
UD
27465 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27466 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27477 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27484
31ea014d
UD
27485 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27486
16437fec
AS
274872011-10-25 Andreas Schwab <schwab@redhat.com>
27488
27489 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27490 condition.
27491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27492
31d3cc00
UD
274932011-10-25 Ulrich Drepper <drepper@gmail.com>
27494
27495 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27496 .text section. Avoid duplicate constants.
27497 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27506 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27509 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27510 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27511 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27514 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27515 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27528 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27530 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27531 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27532 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27533 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27535 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27536 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27542
58985aa9
UD
275432011-10-24 Ulrich Drepper <drepper@gmail.com>
27544
202c9deb
UD
27545 * sysdeps/x86_64/dla.h: Move to ...
27546 * sysdeps/x86_64/fpu/dla.h: ...here.
27547 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27548 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27549
af968f62
UD
27550 * config.make.in: Add have-mfma4 entry.
27551 * configure.in: Substitute libc_cv_cc_fma4.
27552 * math/Makefile (dbl-only-routines): Add sincostab.
27553 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27554 Use __sincostab not sincos.
27555 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27556 name is a macro.
27557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27561 using __copysign.
27562 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27563 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27564 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27565 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27566 and __inv.
27567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27568 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27569 __copysign.
27570 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27571 define aliases when function name is a macro.
27572 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27573 sysdeps/ieee754/dbl-64/sincos.tbl.
27574 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27575 fma4-enabled routines.
27576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27577 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27579 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27586 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27587 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27606
58985aa9
UD
27607 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27608 rename.
27609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27617
a201fbcf
AS
276182011-10-24 Andreas Schwab <schwab@redhat.com>
27619
27620 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27621
fc2ee42a
LD
276222011-10-23 Ulrich Drepper <drepper@gmail.com>
27623
bb3129bd
UD
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27625
0275fff8
UD
27626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27627 prediction.
27628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27629
2fa2ae85
UD
27630 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27631 Remove unused variable magic_bits.
27632 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27633
fc2ee42a
LD
27634 * string/strnlen.c: Define and use STRNLEN macro.
27635 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27636 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27638 * wcsmbs/wcslen.c: Define and use WCSLEN.
27639 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27640 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27641 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27642 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27643 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27644 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27646
ce7dd29f
LD
276472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27648
27649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27650 strnlen-sse2-no-bsf.
27651 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27654 Add strnlen support.
27655 (USE_AS_STRNLEN): New macro.
27656 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27658 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27659 * sysdeps/x86_64/wcslen.S: New file.
27660
979c70a3
MZ
276612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27662
27663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27664 XMM-moves are used for copying on small sizes.
27665
2d09f82f
LD
276662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27667
27668 * wcsmbs/Makefile (strop-tests): Add wcschr.
27669 * wcsmbs/test-wcschr.c: New file.
27670 * string/test-strchr.c: Update.
27671 Add wcschr support.
27672 (WIDE): New macro.
27673
619fccca
LD
276742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27675
2d09f82f 27676 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27677 * wcsmbs/test-wcslen.c: New file.
27678 * string/test-strlen.c: Update.
27679 Add wcslen support.
27680 (WIDE): New macro.
27681
09f699ea
UD
276822011-10-23 Ulrich Drepper <drepper@gmail.com>
27683
27684 * po/it.po: Update from translation team.
27685
95584d3b
LD
276862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27687
27688 * sysdeps/x86_64/wcscmp.S: Update.
27689 Fix wrong comparison semantics.
27690 wcscmp shall use signed comparison not unsigned.
27691 Don't use substraction to avoid overflow bug.
27692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27693 * wcsmbc/wcscmp.c: Likewise.
27694 * string/test-strcmp.c: Likewise.
27695 Add new tests to check cases with negative values.
27696
c8b3296b
UD
276972011-10-23 Ulrich Drepper <drepper@gmail.com>
27698
27699 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27700 * sysdeps/x86_64/dla.h: ...here. New file.
27701 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27710
246ad57a
AS
277112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27712
27713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27714 __ynl_finite aliases.
27715
a1a87169
UD
277162011-10-22 Ulrich Drepper <drepper@gmail.com>
27717
0d355eb7
UD
27718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27719
a1a87169
UD
27720 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27721 define DLA_FMA.
27722 [DLA_FMA] (EMULV): Use DLA_FMA.
27723 [DLA_FMA] (MUL12): Use EMULV.
27724 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27725 that are not needed.
27726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27733
ee2aafe0
AS
277342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27735
27736 * math/s_nan.c: Undef __nan.
27737 * math/s_nanf.c: Undef __nanf.
27738 * math/s_nanl.c: Undef __nanl.
27739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27740 "math_private.h".
27741
bc62c2fb
UD
277422011-10-22 Ulrich Drepper <drepper@gmail.com>
27743
77425c63
UD
27744 * math/s_catan.c: Add branch predictions.
27745 * math/s_catanf.c: Likewise.
27746 * math/s_catanh.c: Likewise.
27747 * math/s_catanhf.c: Likewise.
27748 * math/s_catanhl.c: Likewise.
27749 * math/s_catanl.c: Likewise.
27750 * math/s_cexp.c: Likewise.
27751 * math/s_cexpf.c: Likewise.
27752 * math/s_cexpl.c: Likewise.
27753 * math/s_clog.c: Likewise.
27754 * math/s_clog10.c: Likewise.
27755 * math/s_clog10f.c: Likewise.
27756 * math/s_clog10l.c: Likewise.
27757 * math/s_clogf.c: Likewise.
27758 * math/s_clogl.c: Likewise.
27759 * math/s_csqrt.c: Likewise.
27760 * math/s_csqrtf.c: Likewise.
27761 * math/s_csqrtl.c: Likewise.
27762 * math/s_ctanf.c: Likewise.
27763 * math/s_ctanh.c: Likewise.
27764 * math/s_ctanhf.c: Likewise.
27765 * math/s_ctanhl.c: Likewise.
27766 * math/s_ctanl.c: Likewise.
27767
bc62c2fb
UD
27768 * math/math_private.h: Define __nan, __nanf, __nanl.
27769 * math/s_cacosh.c: Include <math_private.h>.
27770 * math/s_cacoshl.c: Likewise.
27771 * math/s_casinh.c: Likewise.
27772 * math/s_casinhf.c: Likewise.
27773 * math/s_casinhl.c: Likewise.
27774 * math/s_ccos.c: Rely entire on ccosh.
27775 * math/s_ccosf.c: Rely entire on ccoshf.
27776 * math/s_ccosl.c: Rely entirely on ccoshl.
27777 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27778 Remove tests for FE_INVALID.
27779 * math/s_ccoshf.c: Likewise.
27780 * math/s_ccoshl.c: Likewise.
27781 * math/s_csin.c: Likewise.
27782 * math/s_csinf.c: Likewise.
27783 * math/s_csinh.c Likewise.
27784 * math/s_csinhf.c: Likewise.
27785 * math/s_csinhl.c: Likewise.
27786 * math/s_csinl.c: Likewise.
27787 * math/s_ctan.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27789 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27791
8ec250a4
UD
277922011-10-21 Ulrich Drepper <drepper@gmail.com>
27793
c196fed8
UD
27794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27795 compilation problems.
27796
8ec250a4
UD
27797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27798 __builtin_expect.
27799
8d4f46c6
UD
278002011-10-20 Ulrich Drepper <drepper@gmail.com>
27801
ed72b654
UD
27802 * sysdeps/i386/configure.in: Test for -mfma4 option.
27803 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27804 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27805 COMMON_CPUID_INDEX_80000001.
27806 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27807 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27808 use it if FMA3 is not supported.
27809 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27810
8d4f46c6
UD
27811 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27813
d45c60c2
AS
278142011-10-20 Andreas Schwab <schwab@redhat.com>
27815
27816 [BZ #12892]
27817 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27818 it would create a cycle with a link time dependency.
27819
d9a4d2ab
UD
278202011-10-19 Ulrich Drepper <drepper@gmail.com>
27821
855d1560
UD
27822 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27823 instruction.
27824 * string/Makefile (strop-tests): Add rawmemchr.
27825 * string/test-rawmemchr.c: New file.
27826
d9a4d2ab
UD
27827 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27829 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27830 when compiling str{,n}casecmp and when AVX is available. Hook up
27831 new optimized code in initializers.
27832
8f3b1ffe
AS
278332011-10-19 Andreas Schwab <schwab@redhat.com>
27834
27835 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27836 __feraiseexcept instead of feraiseexcept.
27837
d38f1dba
UD
278382011-10-18 Ulrich Drepper <drepper@gmail.com>
27839
d9a8d0ab
UD
27840 * math/math_private.h: Define defaults for libc_fetestexcept and
27841 libc_feupdateenv.
27842 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27844 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27845 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27847 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27848 libc_fetestexcept and libc_feupdateenv.
27849
4855e3dd
UD
27850 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27851 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27852 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27853 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27854 libc_feholdexcept_setround.
27855
581d30e3
UD
27856 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27857 Add s_nearbyint-c and s_nearbyintf-c.
27858 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27859 nearbyintf inlines.
27860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27864
d38f1dba
UD
27865 * math/math_private.h: Define defaults for libc_fegetround,
27866 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27867 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27868 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27870 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27871 standard functions.
27872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27873 Remove comments and hacks for old compiler versions.
27874 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27875 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27876 libc_feholdexceptl.
27877
caa6c9d8
AS
278782011-10-18 Andreas Schwab <schwab@redhat.com>
27879
27880 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27881 (__feraiseexcept_renamed): Add __NTH.
27882 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27883 namespace violations.
27884
97c066e6
UD
278852011-10-17 Ulrich Drepper <drepper@gmail.com>
27886
99ce7b04
UD
27887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27888
1004d182
UD
27889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27890
228a984d
UD
27891 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27892 recently added interfaces.
27893 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27894
c8553a6a
UD
27895 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27896 about macro parameter expansion.
27897
ed22dcf6
UD
27898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27899 __NO_MATH_INLINES is defined. Cleanups.
27900
27901 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27902 and __floorf is target has SSE4.1.
27903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27904 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27907
b171c137
UD
27908 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27909 name.
27910 (floorf): Likewise.
27911
97c066e6
UD
27912 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27913
629f62ef
AS
279142011-10-17 Andreas Schwab <schwab@redhat.com>
27915
49a43d80
AS
27916 * misc/sys/cdefs.h: Fix last change.
27917
629f62ef
AS
27918 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27919 database lookup.
27920
e453f6cd
UD
279212011-10-16 Ulrich Drepper <drepper@gmail.com>
27922
aa78043a
UD
27923 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27924
ad0f5cad
UD
27925 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27931 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27932 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27934 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27935 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27937 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27940 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27942 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27944 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27946 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27947
27948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27949 ceil, ceilf, floor, floorf.
27950
27951 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27952 Perform IRELATIVE relocations last.
27953
e453f6cd
UD
27954 * elf/do-rel.h: Add another parameter nrelative, replacing the
27955 local variable with the same name. Change name of the function
27956 to end in Rel or Rela (uppercase).
27957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27958 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27959 elf_dynamic_do_##reloc function.
27960
fd5bdc09
UD
279612011-10-15 Ulrich Drepper <drepper@gmail.com>
27962
79b195b5
UD
27963 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27964 is sufficient, at least on modern CPUs.
27965
d4a28569
UD
27966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27967
b61099b5
UD
27968 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27970
bcf01e6d
UD
27971 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27972 __expl_finite.
27973 * math/bits/math-finite.h: Add entries for exp.
27974 * math/e_expl.c: Add __*_finite alias.
27975 * sysdeps/i386/fpu/e_exp.S: Likewise.
27976 * sysdeps/i386/fpu/e_expf.S: Likewise.
27977 * sysdeps/i386/fpu/e_expl.c: Likewise.
27978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27979 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27983 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27984 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27985
ba1a0d59
UD
27986 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27987 is sufficient, at least on modern CPUs.
27988
fd5bdc09
UD
27989 * ctype/ctype-info.c (__ctype_init): Define.
27990 * include/ctype.h (__ctype_init): Declare.
27991 (__ctype_b_loc): The variable is always initialized.
27992 (__ctype_toupper_loc): Likewise.
27993 (__ctype_tolower_loc): Likewise.
27994 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27995 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27996
7872cfb0
AS
279972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27998
b468825a
AS
27999 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28000
7872cfb0
AS
28001 * configure.in: Also look in $cxxmachine/include for C++ system
28002 headers.
28003
be13f7bf
LD
280042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28005
28006 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28007 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28008 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28009 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28011 (USE_AS_WMEMCMP): New macro.
28012 Fixing indents.
28013 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28014 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28015 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28016 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28018 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28019 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28020 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28021 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28022 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28024 (USE_AS_WMEMCMP): New macro.
28025 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28026 * sysdeps/string/test-memcmp.c: Update.
28027 Fix simple_wmemcmp.
28028 Add new tests.
28029 * wcsmbs/wmemcmp.c: Update.
28030 (WMEMCMP): New macro.
28031 Fix overflow bug.
28032
556a2007
AJ
280332011-10-12 Andreas Jaeger <aj@suse.de>
28034
28035 [BZ #13268]
28036 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28037
538faaa7
UD
280382011-10-15 Ulrich Drepper <drepper@gmail.com>
28039
ab6737ff
UD
28040 * libio/iofwide.c (do_length): Avoid warning.
28041
538faaa7
UD
28042 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28043
396a21b1
UD
280442011-10-14 Ulrich Drepper <drepper@gmail.com>
28045
cdf2901f
UD
28046 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28047
38ad40ce
UD
28048 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28049 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28050 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28051 * sysdeps/i386/i686/fpu/e_log.S: New file.
28052 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28053 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28054
396a21b1
UD
28055 * ctype/ctype.h: Add support for inlined isXXX functions when
28056 compiling C++ code.
28057
6b1f68c9
AS
280582011-10-14 Andreas Schwab <schwab@redhat.com>
28059
349290c0
AS
28060 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28061
6b1f68c9
AS
28062 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28063
f2282d42
RM
280642011-10-13 Roland McGrath <roland@hack.frob.com>
28065
28066 [BZ #13291]
28067 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28068
5298ffa8
AS
280692011-10-13 Andreas Schwab <schwab@redhat.com>
28070
714fad23
AS
28071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28072 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28073 feraiseexcept.
28074
81dcc7fb
AS
28075 * sysdeps/x86_64/memrchr.S: Check for zero size.
28076
5298ffa8
AS
28077 * string/stratcliff.c: Add memrchr tests.
28078
951fbcec
LD
280792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28080
28081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28082 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28083 rawmemchr-sse2 rawmemchr-sse2-bsf.
28084 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28085 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28086 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28087 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28088 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28089 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28090 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28091 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28092 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28093 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28094 * string/memrchr.c (MEMRCHR): New macro.
28095
0ac5ae23
UD
280962011-10-12 Ulrich Drepper <drepper@gmail.com>
28097
28098 Add integration with gcc's -ffinite-math-only and optimize wrapper
28099 functions in libm.
28100 * Versions.def: Define GLIBC_2.15 version for libm.
28101 * math/Makefile (headers): Add bits/math-finite.h.
28102 * math/bits/math-finite.h: New file.
28103 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28104 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28105 * math/e_acoshl.c: Add __*_finite alias.
28106 * math/e_acosl.c: Likewise.
28107 * math/e_asinl.c: Likewise.
28108 * math/e_atan2l.c: Likewise.
28109 * math/e_atanhl.c: Likewise.
28110 * math/e_coshl.c: Likewise.
28111 * math/e_exp10.c: Likewise.
28112 * math/e_exp10f.c: Likewise.
28113 * math/e_exp10l.c: Likewise.
28114 * math/e_exp2l.c: Likewise.
28115 * math/e_fmodl.c: Likewise.
28116 * math/e_gammal_r.c: Likewise.
28117 * math/e_hypotl.c: Likewise.
28118 * math/e_j0l.c: Likewise.
28119 * math/e_j1l.c: Likewise.
28120 * math/e_jnl.c: Likewise.
28121 * math/e_lgammal_r.c: Likewise.
28122 * math/e_log10l.c: Likewise.
28123 * math/e_log2l.c: Likewise.
28124 * math/e_logl.c: Likewise.
28125 * math/e_powl.c: Likewise.
28126 * math/e_sinhl.c: Likewise.
28127 * math/e_sqrtl.c: Likewise.
28128 * math/e_scalb.c: Completely rewritten and optimized.
28129 * math/e_scalbf.c: Likewise.
28130 * math/e_scalbl.c: Likewise.
28131 * math/w_acos.c: Likewise.
28132 * math/w_acosf.c: Likewise.
28133 * math/w_acosl.c: Likewise.
28134 * math/w_acosh.c: Likewise.
28135 * math/w_acoshf.c: Likewise.
28136 * math/w_acoshl.c: Likewise.
28137 * math/w_asin.c: Likewise.
28138 * math/w_asinf.c: Likewise.
28139 * math/w_asinl.c: Likewise.
28140 * math/w_atan2.c: Likewise.
28141 * math/w_atan2f.c: Likewise.
28142 * math/w_atan2l.c: Likewise.
28143 * math/w_atanh.c: Likewise.
28144 * math/w_atanhf.c: Likewise.
28145 * math/w_atanhl.c: Likewise.
28146 * math/w_exp10.c: Likewise.
28147 * math/w_exp10f.c: Likewise.
28148 * math/w_exp10l.c: Likewise.
28149 * math/w_fmod.c: Likewise.
28150 * math/w_fmodf.c: Likewise.
28151 * math/w_fmodl.c: Likewise.
28152 * math/w_j0.c: Likewise.
28153 * math/w_j0f.c: Likewise.
28154 * math/w_j0l.c: Likewise.
28155 * math/w_j1.c: Likewise.
28156 * math/w_j1f.c: Likewise.
28157 * math/w_j1l.c: Likewise.
28158 * math/w_jn.c: Likewise.
28159 * math/w_jnf.c: Likewise.
28160 * math/w_log.c: Likewise.
28161 * math/w_logf.c: Likewise.
28162 * math/w_logl.c: Likewise.
28163 * math/w_log10.c: Likewise.
28164 * math/w_log10f.c: Likewise.
28165 * math/w_log10l.c: Likewise.
28166 * math/w_log2.c: Likewise.
28167 * math/w_log2f.c: Likewise.
28168 * math/w_log2l.c: Likewise.
28169 * math/w_pow.c: Likewise.
28170 * math/w_powf.c: Likewise.
28171 * math/w_powl.c: Likewise.
28172 * math/w_remainder.c: Likewise.
28173 * math/w_remainderf.c: Likewise.
28174 * math/w_remainderl.c: Likewise.
28175 * math/w_scalb.c: Likewise.
28176 * math/w_scalbf.c: Likewise.
28177 * math/w_scalbl.c: Likewise.
28178 * math/w_sqrt.c: Likewise.
28179 * math/w_sqrtf.c: Likewise.
28180 * math/w_sqrtl.c: Likewise.
28181 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28182 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28183 used.
28184 * math/math_private.h: Declare __kernel_standard_f.
28185 * math/w_cosh.c: Remove cruft and optimize a bit.
28186 * math/w_coshf.c: Likewise.
28187 * math/w_coshl.c: Likewise.
28188 * math/w_exp2.c: Likewise.
28189 * math/w_exp2f.c: Likewise.
28190 * math/w_exp2l.c: Likewise.
28191 * math/w_hypot.c: Likewise.
28192 * math/w_hypotf.c: Likewise.
28193 * math/w_hypotl.c: Likewise.
28194 * math/w_lgamma.c: Likewise.
28195 * math/w_lgamma_r.c: Likewise.
28196 * math/w_lgammaf.c: Likewise.
28197 * math/w_lgammaf_r.c: Likewise.
28198 * math/w_lgammal.c: Likewise.
28199 * math/w_lgammal_r.c: Likewise.
28200 * math/w_sinh.c: Likewise.
28201 * math/w_sinhf.c: Likewise.
28202 * math/w_sinhl.c: Likewise.
28203 * math/w_tgamma.c: Likewise.
28204 * math/w_tgammaf.c: Likewise.
28205 * math/w_tgammal.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28208 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28209 Minor optimizations. Pretty printing. Remove cruft.
28210 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28214 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28215 * sysdeps/i386/fpu/e_asin.S: Likewise.
28216 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28217 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28218 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28219 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28221 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28223 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28224 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28225 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28226 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28227 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28228 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28229 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28230 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28231 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28232 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28233 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28234 * sysdeps/i386/fpu/e_log.S: Likewise.
28235 * sysdeps/i386/fpu/e_log10.S: Likewise.
28236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28238 * sysdeps/i386/fpu/e_log2.S: Likewise.
28239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28240 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28241 * sysdeps/i386/fpu/e_logf.S: Likewise.
28242 * sysdeps/i386/fpu/e_logl.S: Likewise.
28243 * sysdeps/i386/fpu/e_pow.S: Likewise.
28244 * sysdeps/i386/fpu/e_powf.S: Likewise.
28245 * sysdeps/i386/fpu/e_powl.S: Likewise.
28246 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28247 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28248 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28250 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28252 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28253 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28254 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28280 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28284 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28285 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28286 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28287 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28289 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28290 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28291 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28292 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28296 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28350 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28351 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28352 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28353 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28354 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28355 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28356 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28357 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28358 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28363 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28365 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28366 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28367 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28368 (__isnanf): Likewise.
28369 (__isinf_ns): Likewise.
28370 (__isinf_nsf): Likewise.
28371 (__finite): Likewise.
28372 (__finitef): Likewise.
28373 (__ieee754_sqrt): Define as macro.
28374 (__ieee754_sqrtf): Define as macro.
28375 (__ieee754_sqrtl): Define as macro.
28376 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28377 inlined copy.
28378 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28379 __FINITE_MATH_ONLY__ consistent.
28380 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28381
12cc2fcd
AS
283822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28383
a843a204
AS
28384 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28385 of rawmemchr.
28386
12cc2fcd
AS
28387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28388
c853acd5
UD
283892011-10-09 Ulrich Drepper <drepper@gmail.com>
28390
28391 * po/ja.po: Update from translation team.
28392
c658d255
RM
283932011-10-08 Roland McGrath <roland@hack.frob.com>
28394
110946e4
RM
28395 * locale/programs/locarchive.c (prepare_address_space): New function.
28396 (create_archive, enlarge_archive, open_archive): Use it.
28397
50604220
RM
28398 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28399 inside [SHARED], where it is used.
28400
c658d255
RM
28401 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28402
28403 * nss/getent.c (netgroup_keys): Remove unused variable.
28404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28405
6a621eb7
UD
284062011-10-08 Ulrich Drepper <drepper@gmail.com>
28407
7edb55ce
UD
28408 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28412 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28413 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28414 * math/Makefile (libm-calls): Add s_isinf_ns.
28415 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28416 * math/multc3.c: Likewise.
28417 * math/s_casin.c: Likewise.
28418 * math/s_casinf.c: Likewise.
28419 * math/s_casinl.c: Likewise.
28420 * math/s_ccos.c: Likewise.
28421 * math/s_ccosf.c: Likewise.
28422 * math/s_ccosl.c: Likewise.
28423 * math/s_ctan.c: Likewise.
28424 * math/s_ctanf.c: Likewise.
28425 * math/s_ctanh.c: Likewise.
28426 * math/s_ctanhf.c: Likewise.
28427 * math/s_ctanhl.c: Likewise.
28428 * math/s_ctanl.c: Likewise.
28429 * math/w_fmod.c: Likewise.
28430 * math/w_fmodf.c: Likewise.
28431 * math/w_fmodl.c: Likewise.
28432 * math/w_remainder.c: Likewise.
28433 * math/w_remainderf.c: Likewise.
28434 * math/w_remainderl.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28436 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28439 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28440 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28441 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28442 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28443
187da0ae
UD
28444 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28445 of the number.
28446 * stdio-common/printf_fphex.c: Likewise.
28447 * stdio-common/printf_size.c: Likewise.
28448
9277c064
UD
28449 * math/e_exp10.c: Include math_private.h using <...> not "...".
28450 * math/e_exp10f.c: Likewise.
28451 * math/e_exp10l.c: Likewise.
28452 * math/e_exp2l.c: Likewise.
28453 * math/e_j0l.c: Likewise.
28454 * math/e_j1l.c: Likewise.
28455 * math/e_jnl.c: Likewise.
28456 * math/e_lgammal_r.c: Likewise.
28457 * math/e_rem_pio2l.c: Likewise.
28458 * math/e_scalb.c: Likewise.
28459 * math/e_scalbf.c: Likewise.
28460 * math/e_scalbl.c: Likewise.
28461 * math/k_cosl.c: Likewise.
28462 * math/k_sinl.c: Likewise.
28463 * math/k_tanl.c: Likewise.
28464 * math/s_cacoshf.c: Likewise.
28465 * math/s_catan.c: Likewise.
28466 * math/s_catanf.c: Likewise.
28467 * math/s_catanh.c: Likewise.
28468 * math/s_catanhf.c: Likewise.
28469 * math/s_catanhl.c: Likewise.
28470 * math/s_catanl.c: Likewise.
28471 * math/s_ccosh.c: Likewise.
28472 * math/s_ccoshf.c: Likewise.
28473 * math/s_ccoshl.c: Likewise.
28474 * math/s_cexp.c: Likewise.
28475 * math/s_cexpf.c: Likewise.
28476 * math/s_cexpl.c: Likewise.
28477 * math/s_clog.c: Likewise.
28478 * math/s_clog10.c: Likewise.
28479 * math/s_clog10f.c: Likewise.
28480 * math/s_clog10l.c: Likewise.
28481 * math/s_clogf.c: Likewise.
28482 * math/s_clogl.c: Likewise.
28483 * math/s_csin.c: Likewise.
28484 * math/s_csinf.c: Likewise.
28485 * math/s_csinh.c: Likewise.
28486 * math/s_csinhf.c: Likewise.
28487 * math/s_csinhl.c: Likewise.
28488 * math/s_csinl.c: Likewise.
28489 * math/s_csqrt.c: Likewise.
28490 * math/s_csqrtf.c: Likewise.
28491 * math/s_csqrtl.c: Likewise.
28492 * math/s_ctan.c: Likewise.
28493 * math/s_ctanf.c: Likewise.
28494 * math/s_ctanh.c: Likewise.
28495 * math/s_ctanhf.c: Likewise.
28496 * math/s_ctanhl.c: Likewise.
28497 * math/s_ctanl.c: Likewise.
28498 * math/s_ldexp.c: Likewise.
28499 * math/s_ldexpf.c: Likewise.
28500 * math/s_ldexpl.c: Likewise.
28501 * math/s_significand.c: Likewise.
28502 * math/s_significandf.c: Likewise.
28503 * math/s_significandl.c: Likewise.
28504 * math/w_acos.c: Likewise.
28505 * math/w_acosf.c: Likewise.
28506 * math/w_acosh.c: Likewise.
28507 * math/w_acoshf.c: Likewise.
28508 * math/w_acoshl.c: Likewise.
28509 * math/w_acosl.c: Likewise.
28510 * math/w_asin.c: Likewise.
28511 * math/w_asinf.c: Likewise.
28512 * math/w_asinl.c: Likewise.
28513 * math/w_atan2.c: Likewise.
28514 * math/w_atan2f.c: Likewise.
28515 * math/w_atan2l.c: Likewise.
28516 * math/w_atanh.c: Likewise.
28517 * math/w_atanhf.c: Likewise.
28518 * math/w_atanhl.c: Likewise.
28519 * math/w_cosh.c: Likewise.
28520 * math/w_coshf.c: Likewise.
28521 * math/w_coshl.c: Likewise.
28522 * math/w_dremf.c: Likewise.
28523 * math/w_exp10.c: Likewise.
28524 * math/w_exp10f.c: Likewise.
28525 * math/w_exp10l.c: Likewise.
28526 * math/w_exp2.c: Likewise.
28527 * math/w_exp2f.c: Likewise.
28528 * math/w_fmod.c: Likewise.
28529 * math/w_fmodf.c: Likewise.
28530 * math/w_fmodl.c: Likewise.
28531 * math/w_hypot.c: Likewise.
28532 * math/w_hypotf.c: Likewise.
28533 * math/w_hypotl.c: Likewise.
28534 * math/w_j0.c: Likewise.
28535 * math/w_j0f.c: Likewise.
28536 * math/w_j0l.c: Likewise.
28537 * math/w_j1.c: Likewise.
28538 * math/w_j1f.c: Likewise.
28539 * math/w_j1l.c: Likewise.
28540 * math/w_jn.c: Likewise.
28541 * math/w_jnf.c: Likewise.
28542 * math/w_jnl.c: Likewise.
28543 * math/w_lgamma.c: Likewise.
28544 * math/w_lgamma_r.c: Likewise.
28545 * math/w_lgammaf.c: Likewise.
28546 * math/w_lgammaf_r.c: Likewise.
28547 * math/w_lgammal.c: Likewise.
28548 * math/w_lgammal_r.c: Likewise.
28549 * math/w_log.c: Likewise.
28550 * math/w_log10.c: Likewise.
28551 * math/w_log10f.c: Likewise.
28552 * math/w_log10l.c: Likewise.
28553 * math/w_log2.c: Likewise.
28554 * math/w_log2f.c: Likewise.
28555 * math/w_log2l.c: Likewise.
28556 * math/w_logf.c: Likewise.
28557 * math/w_logl.c: Likewise.
28558 * math/w_pow.c: Likewise.
28559 * math/w_powf.c: Likewise.
28560 * math/w_powl.c: Likewise.
28561 * math/w_remainder.c: Likewise.
28562 * math/w_remainderf.c: Likewise.
28563 * math/w_remainderl.c: Likewise.
28564 * math/w_scalb.c: Likewise.
28565 * math/w_scalbf.c: Likewise.
28566 * math/w_scalbl.c: Likewise.
28567 * math/w_sinh.c: Likewise.
28568 * math/w_sinhf.c: Likewise.
28569 * math/w_sinhl.c: Likewise.
28570 * math/w_sqrt.c: Likewise.
28571 * math/w_sqrtf.c: Likewise.
28572 * math/w_sqrtl.c: Likewise.
28573 * math/w_tgamma.c: Likewise.
28574 * math/w_tgammaf.c: Likewise.
28575 * math/w_tgammal.c: Likewise.
28576
6a621eb7
UD
28577 * po/ja.po: Update from translation team.
28578
bf582445
AJ
285792011-09-29 Andreas Jaeger <aj@suse.de>
28580
f9efbf3a
AJ
28581 [BZ #13179]
28582 * sunrpc/netname.c (netname2host): Fix logic.
28583
bf582445
AJ
28584 [BZ #6779]
28585 [BZ #6783]
28586 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28587 correctly.
28588 * math/w_remainder.c (__remainder): Likewise.
28589 * math/w_remainderf.c (__remainderf): Likewise.
28590 * math/libm-test.inc (remainder_test): Add test cases.
28591
48693bea
AK
285922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28593
28594 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28595 sdiv_qrnnd.
28596
42622229
LD
285972011-10-07 Ulrich Drepper <drepper@gmail.com>
28598
28599 * string/test-memcmp.c: Avoid unncessary #defines.
28600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28601
093ecf92
LD
286022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28603
28604 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28605 Use new sse2 version for core i3 - i7 as it's faster
28606 than sse42 version.
28607 (bit_Prefer_PMINUB_for_stringop): New.
28608 * sysdeps/x86_64/rawmemchr.S: Update.
28609 Replace with faster SSE2 version.
28610 * sysdeps/x86_64/memrchr.S: New file.
28611 * sysdeps/x86_64/memchr.S: Update.
28612 Replace with faster SSE2 version.
28613
fde56e5c
MP
286142011-09-12 Marek Polacek <mpolacek@redhat.com>
28615
28616 * elf/dl-load.c (lose): Add cast to avoid warning.
28617
21fd49a9
UD
286182011-10-07 Ulrich Drepper <drepper@gmail.com>
28619
5a06e643
UD
28620 * po/ca.po: Update from translation team.
28621
684ae515
UD
28622 * inet/getnetgrent_r.c: Hook up nscd.
28623 * nscd/Makefile (routines): Add nscd_netgroup.
28624 (nscd-modules): Add netgroupcache.
28625 (CFLAGS-netgroupcache.c): Define.
28626 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28627 (cache_search): Add const to second parameter.
28628 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28629 INNETGR.
28630 (dbs): Add netgrdb entry.
28631 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28632 (verify_persistent_db): Handle netgrdb.
28633 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28634 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28635 GETFDNETGR.
28636 (netgroup_response_header): Define.
28637 (innetgroup_response_header): Define.
28638 (datahead): Add netgroup_response_header and innetgroup_response_header
28639 elements.
28640 * nscd/nscd.conf: Add entries for netgroup cache.
28641 * nscd/nscd.h (dbtype): Add netgrdb.
28642 (_PATH_NSCD_NETGROUP_DB): Define.
28643 (netgroup_iov_disabled): Declare.
28644 (xmalloc, xcalloc, xrealloc): Move declarations here.
28645 (cache_search): Adjust prototype.
28646 Add netgroup-related prototypes.
28647 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28648 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28649 (__nscd_innetgr): Declare.
28650 * nscd/selinux.c (perms): Use access_vector_t as element type and
28651 add netgroup-related initializers.
28652 * nscd/netgroupcache.c: New file.
28653 * nscd/nscd_netgroup.c: New file.
28654 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28655 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28656 For four parameters use innetgr.
28657 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28658 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28659 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28660 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28661
21fd49a9
UD
28662 * nscd/connections.c (register_traced_file): Don't register file
28663 for disabled databases.
28664
054c0457
UD
286652011-10-06 Ulrich Drepper <drepper@gmail.com>
28666
32b63198
UD
28667 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28668
054c0457
UD
28669 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28670 from tree and freeing node.
28671
64031225
JO
286722011-09-25 Jiri Olsa <jolsa@redhat.com>
28673
28674 * nss/nsswitch.c (__nss_database_lookup): Handle
28675 nss_parse_service_list out of memory case.
28676
0490345c
JO
286772011-09-15 Jiri Olsa <jolsa@redhat.com>
28678
28679 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28680 out of memory case.
28681
3a62d00d
AS
286822011-10-04 Andreas Schwab <schwab@redhat.com>
28683
28684 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28685 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28686 pass it down.
28687 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28688 elf_machine_rela, elf_machine_lazy_rel.
28689 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28690 (ELF_DYNAMIC_DO_REL): Likewise.
28691 (ELF_DYNAMIC_DO_RELA): Likewise.
28692 (ELF_DYNAMIC_RELOCATE): Likewise.
28693 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28694 to ELF_DYNAMIC_DO_REL.
28695 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28696 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28697 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28698 elf_machine_rela.
28699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28700 skip_ifunc, don't call ifunc function if non-zero.
28701 (elf_machine_rela): Likewise.
28702 (elf_machine_lazy_rel): Likewise.
28703 (elf_machine_lazy_rela): Likewise.
28704 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28705 (elf_machine_lazy_rel): Likewise.
28706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28707 Likewise.
28708 (elf_machine_lazy_rel): Likewise.
28709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28710 Likewise.
28711 (elf_machine_lazy_rel): Likewise.
28712 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28713 (elf_machine_lazy_rel): Likewise.
28714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28715 (elf_machine_lazy_rel): Likewise.
28716 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28717 (elf_machine_lazy_rel): Likewise.
28718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28719 (elf_machine_lazy_rel): Likewise.
28720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28721 (elf_machine_lazy_rel): Likewise.
28722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28723 (elf_machine_lazy_rel): Likewise.
28724
68577918
UD
287252011-09-28 Ulrich Drepper <drepper@gmail.com>
28726
28727 * nss/nss_files/files-init.c (_nss_files_init): Use static
28728 initialization for all the *_traced_file variables.
28729
68822d74
AS
287302011-09-28 Andreas Schwab <schwab@redhat.com>
28731
28732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28733
2056100b
RM
287342011-09-27 Roland McGrath <roland@hack.frob.com>
28735
28736 [BZ #13226]
28737 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28738
32c76b63
AS
287392011-09-27 Andreas Schwab <schwab@redhat.com>
28740
28741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28742 Reread the line before reparsing it.
28743
bf972c9d
AS
287442011-09-26 Andreas Schwab <schwab@redhat.com>
28745
28746 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28747
e057a1b5
JM
287482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28749 Maxim Kuvyrkov <maxim@codesourcery.com>
28750 Joseph Myers <joseph@codesourcery.com>
28751
28752 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28753 if needed for __stack_chk_guard.
28754
bc7e1c36
RM
287552011-09-19 Roland McGrath <roland@hack.frob.com>
28756
ecb1482f
RM
28757 * sysdeps/posix/spawni.c (script_execute): Always define it.
28758 It will be optimized away if unused.
28759 (maybe_script_execute): New function.
28760 (__spawni): Call it.
28761
bc7e1c36
RM
28762 * Makerules: Don't include tls.make.
28763 (config-tls): Always set to thread.
28764 * tls.make.c: File removed.
28765
1c3b002b
MF
287662011-09-19 Mike Frysinger <vapier@gentoo.org>
28767
28768 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28769 * config.make.in (CPPFLAGS-config): New substituted variable.
28770
2840865d
UD
287712011-09-15 Ulrich Drepper <drepper@gmail.com>
28772
88738eb6
UD
28773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28774
cbf645a6 28775 [BZ #13192]
2840865d
UD
28776 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28777 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28778
b402e91a
RM
287792011-09-15 Roland McGrath <roland@hack.frob.com>
28780
28781 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28782 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28784 (CALL_FAIL): Likewise.
28785 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28786 (CALL_FAIL): Macro removed.
28787 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28788
4c1a1f71
UD
287892011-09-15 Ulrich Drepper <drepper@gmail.com>
28790
28791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28792 for __FINITE_MATH_ONLY__ == 1.
28793
edc121be
AS
287942011-09-15 Andreas Schwab <schwab@redhat.com>
28795
28796 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28797 __ieee754_sqrt instead of sqrt.
28798 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28799 __ieee754_sqrtf instead of sqrtf.
28800 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28801 __floorf instead of floorf.
28802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28803 __floorf, __truncf instead of floorf, truncf.
28804
cd205654
UD
288052011-09-14 Ulrich Drepper <drepper@gmail.com>
28806
ee4d0315
UD
28807 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28808
cd205654
UD
28809 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28810 __extern_always_inline.
28811 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28812 32-bit.
28813
48b67d71
AS
288142011-09-14 Andreas Schwab <schwab@redhat.com>
28815
28816 * elf/rtld.c (dl_main): Also relocate in dependency order when
28817 doing symbol dependency testing.
28818
1ae12c75
AS
288192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28820
28821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28822 Always define `refsym'.
28823
995a80df
AS
288242011-09-13 Andreas Schwab <schwab@redhat.com>
28825
e529793b
AS
28826 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28827 (__FD_ELT): Renamed from __FDELT.
28828 * misc/bits/select2.h (__FD_ELT): Likewise.
28829 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28830 __FD_MASK instead of __FDELT, __FDMASK.
28831 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28832 Likewise.
28833 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28834 Likewise.
28835
52d4fef8
AS
28836 * elf/Makefile (gen-ldd): Fix pattern.
28837
995a80df
AS
28838 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28839 (init_tls): Likewise.
28840
8682f8b0
UD
288412011-09-12 Ulrich Drepper <drepper@gmail.com>
28842
28843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28844
de82006d
AS
288452011-09-12 Andreas Schwab <schwab@redhat.com>
28846
a7c8e6a1
AS
28847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28848 `struct cmsghdr *' instead of `void *'.
28849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28850 Likewise.
28851
0f31fe77
AS
288522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28853
28854 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28855 if non-absolute.
28856 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28857 ldd_rewrite_script.
0f31fe77 28858
32b4c839
UD
288592011-09-11 Ulrich Drepper <drepper@gmail.com>
28860
83cd1420
UD
28861 * configure.in: Remove --with-tls option.
28862 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28863 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28864 out in case it is missing.
28865 * sysdeps/ia64/elf/configure.in: Likewise.
28866 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28867 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28868 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28869 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28870 * sysdeps/sh/elf/configure.in: Likewise.
28871 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28872 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28873 * sysdeps/x86_64/elf/configure.in: Likewise.
28874 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28875 * sysdeps/mach/hurd/tls.h: Likewise.
28876
633f745d
UD
28877 [BZ #13067]
28878 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28879
f318beb8
UD
28880 [BZ #13090]
28881 * configure.in: Fix use of AC_INIT.
28882
32b4c839
UD
28883 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28884
3ce1f295
UD
288852011-09-10 Ulrich Drepper <drepper@gmail.com>
28886
bb016596
UD
28887 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28888 __set_errno.
8e58439c
UD
28889 * malloc/hooks.c: Likewise.
28890
aebae053 28891 [BZ #11929]
02d46fc4
UD
28892 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28893 variables statically.
28894 (narenas): Initialize.
28895 (list_lock): Initialize.
bb016596
UD
28896 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28897 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28898 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28899 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28900 Add initializers to main_arena and mp_.
28901 (malloc_state): Remove pagesize member. Change all users to use
28902 GLRO(dl_pagesize).
28903
28904 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28905 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28906 is always initialized.
28907
22a89187
UD
28908 * malloc/malloc.c: Removed unused configurations and dead code.
28909 * malloc/arena.c: Likewise.
28910 * malloc/hooks.c: Likewise.
02d46fc4 28911 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28912
d063d164
UD
28913 * include/tls.h: Removed. USE___THREAD must always be defined.
28914 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28915 * elf/dl-libc.c: Likewise.
28916 * elf/dl-tsd.c: Likewise.
28917 * include/errno.h: Likewise.
28918 * include/netdb.h: Likewise.
28919 * include/resolv.h: Likewise.
28920 * inet/herrno-loc.c: Likewise.
28921 * inet/herrno.c: Likewise.
28922 * malloc/arena.c: Likewise.
28923 * malloc/hooks.c: Likewise.
28924 * malloc/malloc.c: Likewise.
28925 * resolv/res-state.c: Likewise.
28926 * resolv/res_libc.c: Likewise.
28927 * sysdeps/i386/dl-machine.h: Likewise.
28928 * sysdeps/ia64/dl-machine.h: Likewise.
28929 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28931 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28933 * sysdeps/sh/dl-machine.h: Likewise.
28934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28936 * sysdeps/unix/i386/sysdep.S: Likewise.
28937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28938 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28943 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28948 * sysdeps/x86_64/dl-machine.h: Likewise.
28949 * tls.make.c: Likewise.
28950
3ce1f295
UD
28951 * configure.in: Remove --with-__thread option. Make tests for
28952 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28953 tls_model attribute fail if no support is available. Remove
28954 USE_IN_LIBIO.
28955 * Makeconfig: Adjust for dropped configure option. All features are
28956 now mandatory.
28957 * Makerules: Likewise.
28958 * Versions.def: Likewise.
28959 * argp/argp-fmtstream.c: Likewise.
28960 * argp/argp-fmtstream.h: Likewise.
28961 * argp/argp-help.c: Likewise.
28962 * assert/assert.c: Likewise.
28963 * config.h.in: Likewise.
28964 * config.make.in: Likewise.
28965 * configure: Likewise.
28966 * configure.in: Likewise.
28967 * csu/Versions: Likewise.
28968 * csu/init.c: Likewise.
28969 * elf/tst-audit2.c: Likewise.
28970 * elf/tst-tls10.c: Likewise.
28971 * elf/tst-tls10.h: Likewise.
28972 * elf/tst-tls11.c: Likewise.
28973 * elf/tst-tls12.c: Likewise.
28974 * elf/tst-tls14.c: Likewise.
28975 * elf/tst-tlsmod11.c: Likewise.
28976 * elf/tst-tlsmod12.c: Likewise.
28977 * elf/tst-tlsmod13.c: Likewise.
28978 * elf/tst-tlsmod13a.c: Likewise.
28979 * elf/tst-tlsmod14a.c: Likewise.
28980 * elf/tst-tlsmod15b.c: Likewise.
28981 * elf/tst-tlsmod16a.c: Likewise.
28982 * elf/tst-tlsmod16b.c: Likewise.
28983 * elf/tst-tlsmod7.c: Likewise.
28984 * elf/tst-tlsmod8.c: Likewise.
28985 * elf/tst-tlsmod9.c: Likewise.
28986 * gmon/gmon.c: Likewise.
28987 * grp/fgetgrent_r.c: Likewise.
28988 * grp/putgrent.c: Likewise.
28989 * hurd/fopenport.c: Likewise.
28990 * include/libc-symbols.h: Likewise.
28991 * include/tls.h: Likewise.
28992 * intl/gettextP.h: Likewise.
28993 * intl/loadinfo.h: Likewise.
28994 * locale/global-locale.c: Likewise.
28995 * locale/localeinfo.h: Likewise.
28996 * mach/devstream.c: Likewise.
28997 * malloc/arena.c: Likewise.
28998 * malloc/set-freeres.c: Likewise.
28999 * misc/err.c: Likewise.
29000 * misc/getttyent.c: Likewise.
29001 * misc/mntent_r.c: Likewise.
29002 * posix/getopt.c: Likewise.
29003 * posix/wordexp.c: Likewise.
29004 * pwd/fgetpwent_r.c: Likewise.
29005 * resolv/Versions: Likewise.
29006 * resolv/res_hconf.c: Likewise.
29007 * shadow/fgetspent_r.c: Likewise.
29008 * shadow/putspent.c: Likewise.
29009 * stdio-common/printf_fphex.c: Likewise.
29010 * stdio-common/tmpfile.c: Likewise.
29011 * stdlib/abort.c: Likewise.
29012 * stdlib/fmtmsg.c: Likewise.
29013 * sunrpc/auth_unix.c: Likewise.
29014 * sunrpc/clnt_perr.c: Likewise.
29015 * sunrpc/clnt_tcp.c: Likewise.
29016 * sunrpc/clnt_udp.c: Likewise.
29017 * sunrpc/clnt_unix.c: Likewise.
29018 * sunrpc/openchild.c: Likewise.
29019 * sunrpc/svc_simple.c: Likewise.
29020 * sunrpc/svc_tcp.c: Likewise.
29021 * sunrpc/svc_udp.c: Likewise.
29022 * sunrpc/svc_unix.c: Likewise.
29023 * sunrpc/xdr.c: Likewise.
29024 * sunrpc/xdr_array.c: Likewise.
29025 * sunrpc/xdr_rec.c: Likewise.
29026 * sunrpc/xdr_ref.c: Likewise.
29027 * sunrpc/xdr_stdio.c: Likewise.
29028
1248c1c4
PB
290292011-09-09 Ulrich Drepper <drepper@gmail.com>
29030
29031 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29032
290332011-07-03 Andreas Jaeger <aj@suse.de>
29034
29035 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29036 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29037 regenerate with gen-libm-tests.pl.
29038
290392010-05-12 Petr Baudis <pasky@suse.cz>
29040
29041 [BZ #11589]
29042 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29043 around j0() zero points by switching to j1().
29044 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29048
f22e1074
UD
290492011-09-09 Ulrich Drepper <drepper@gmail.com>
29050
f19009c1
UD
29051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29052 instead of 0.
29053 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29054 instead of 0.
f19009c1
UD
29055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29056 Patch in part by Pavel Roskin <proski@gnu.org>.
29057
3f8cc204
UD
29058 [BZ #13138]
29059 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29060 realloc.
29061 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29062 Free memory block if necessary.
29063
f22e1074
UD
29064 [BZ #12847]
29065 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29066 be NULL. Don't lock in this case.
29067
0a2349f9
RM
290682011-09-09 Roland McGrath <roland@hack.frob.com>
29069
29070 * elf/elf.h (ELFOSABI_GNU): New macro.
29071 (ELFOSABI_LINUX): Define to that.
29072
f3cdd467
DZ
290732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29074
29075 * string/strncat.c (strncat): Undef the symbol in case it has been
29076 defined in bits/string.h.
29077
74718d13
UD
290782011-09-09 Ulrich Drepper <drepper@gmail.com>
29079
633e9e0f
UD
29080 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29081
0a2349f9 29082 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29083 link map.
29084
f9924780
AJ
290852011-08-17 Andreas Jaeger <aj@suse.de>
29086
29087 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29088
7f5517aa
PP
290892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29090 Ian Lance Taylor <iant@google.com>
29091
29092 * math/libm-test.inc (lround_test): New testcase.
29093 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29094
762011fe
UD
290952011-09-08 Ulrich Drepper <drepper@gmail.com>
29096
92963737
UD
29097 * Makefile: Remove support for automatic cvs check-ins.
29098 * Makerules: Likewise.
29099 * config.make.in: Likewise.
29100 * configure.in: Likewise.
29101 * intl/Makefile: Likewise.
29102 * locale/Makefile: Likewise.
29103 * po/Makefile: Likewise.
29104 * posix/Makefile: Likewise.
29105 * sysdeps/gnu/Makefile: Likewise.
29106 * sysdeps/mach/hurd/Makefile: Likewise.
29107 * sysdeps/sparc/sparc32/Makefile: Likewise.
29108
b0727fd8
JS
29109 [BZ #13118]
29110 * posix/Makefile (bug-regex32-ENV): Define.
29111 Patch by John Stanley <jpsinthemix@verizon.net>.
29112
a0f33f99
UD
29113 * misc/Makefile (headers): Add bits/select2.h.
29114 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29115 * misc/bits/select2.h: New file.
29116 * include/bits/select2.h: New file.
29117 * debug/Makefile (routines): Add fdelt_chk.
29118 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29119 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29120 FD_ISSET.
29121 * debug/fdelt_chk.c: New file.
29122
762011fe
UD
29123 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29124 * wcsmbs/test-wmemcmp.c: Likewise.
29125 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29126 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29127
291282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29129
29130 * string/Makefile (strop-tests): Add memcmp.
29131 * string/test-wmemcmp.c: New file.
29132 * string/test-memcmp.c: Add wmemcmp support.
29133
7f513ec8
RM
291342011-09-08 Roland McGrath <roland@hack.frob.com>
29135
0442afb4
RM
29136 [BZ #13153]
29137 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29138 2011-07-19 change.
29139
7f513ec8
RM
29140 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29141 garbage value in a __mach_port_mod_refs call in the cases of the
29142 task-self and thread-self ports.
29143
a12b2239
ST
291442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29145
29146 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29147
610f9ab4
AS
291482011-09-08 Andreas Schwab <schwab@redhat.com>
29149
7f513ec8 29150 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29151
48882a1a
LD
291522011-09-07 Ulrich Drepper <drepper@gmail.com>
29153
b49865be
UD
29154 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29155
fdc86bc9
UD
29156 * elf/dl-libc.c (dlerror_run): Pass back error code from
29157 dl_catch_error.
29158
c966526a
UD
29159 [BZ #13123]
29160 * elf/dl-load.c (lose): Free l_origin if it is valid.
29161
48882a1a
LD
29162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29163 names.
29164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29166 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29168 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29169 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29170
77a2a8b4
AZ
291712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29172
29173 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29174 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29177 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29178 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29179 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29180 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29181 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29182 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29183
24f579d8
AM
291842011-08-15 Alan Modra <amodra@gmail.com>
29185
29186 [BZ #13092]
29187 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29188 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29189 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29190 ppc_mcount to static-only-routines.
29191 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29192 __mcount_internal.
29193 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29194 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29195
3d4837df
UD
291962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29197
29198 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29199 for finite and infinity parameters.
29200
22700377
WS
292012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29202
29203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29204 and add nop instructions for throughput optimization.
29205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29206
5025581e
WS
292072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29208
29209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29210 aligned copy for power7 with vector-scalar instructions.
29211 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29212
08a300c9
L
292132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29214
29215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29216 AVX check.
29217
59178ef9
AS
292182011-09-07 Andreas Schwab <schwab@redhat.com>
29219
29220 [BZ #13144]
29221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29222 last change.
29223
e38ba7ab
UD
292242011-09-07 Ulrich Drepper <drepper@gmail.com>
29225
29226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29227 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29228 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29229 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29230 clock_gettime.
29231
d53a73ac
UD
292322011-09-06 Ulrich Drepper <drepper@gmail.com>
29233
fc8bffcc
UD
29234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29235 Forgot to demangle the pointer.
29236
ceaa0c5d
UD
29237 * sysdeps/i386/sysdep.h: Define atom_text_section.
29238 * sysdeps/x86_64/sysdep.h: Likewise.
29239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29240 section with atom_text_section.
29241 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29246
a77d3c17
UD
29247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29249 already be defined. Change to take two parameters and don't assign
29250 result to variable. Adjust all users.
29251 Define INTERNAL_GETTIME if not already defined.
29252 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29253 call.
29254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29255 HAVE_CLOCK_GETTIME_VSYSCALL.
29256 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29257
d53a73ac
UD
29258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29259 gettimeofday vsyscall, just use time.
29260
a8f84144
AS
292612011-09-06 Andreas Schwab <schwab@redhat.com>
29262
29263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29264 <errno.h>.
29265
ef606249
UD
292662011-09-06 Ulrich Drepper <drepper@gmail.com>
29267
29268 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29269 syscall on x86-64.
29270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29271 syscall.
29272 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29274 syscall if possible.
29275
6585cb60
UD
292762011-09-05 Ulrich Drepper <drepper@gmail.com>
29277
29278 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29279 e_ident. Don't pass to find_mapsXX.
29280 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29281
a5f524e4
LD
292822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29283
29284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29285 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29286 * sysdeps/x86_64/multiarch/strchr.S: Update.
29287 Check bit_slow_BSF bit.
29288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29289 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29291
554881ef
UD
292922011-09-05 Ulrich Drepper <drepper@gmail.com>
29293
d96de963
UD
29294 [BZ #13134]
29295 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29296 before glibc 2.15.
29297 (tryshell): Define.
29298 (__spawni): Change last parameter to be flag. Test
29299 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29300 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29301 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29302 * posix/spawni.c: Likewise.
29303 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29304 * posix/spawnp.c: Likewise. Change normal version to use
29305 SPAWN_XFLAGS_USE_PATH.
29306 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29307 SPAWN_XFLAGS_TRY_SHELL.
29308
d48e5868
UD
29309 [BZ #13150]
29310 * posix/glob.h: Remove gcc 1.x support.
29311
554881ef
UD
29312 [BZ #13068]
29313 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29314
693fb948
LD
293152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29316
29317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29318 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29319 strrchr-sse2-bsf
29320 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29321 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29325 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29326
1b48c537
UD
293272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29328
49d42c37
UD
29329 * sysdeps/x86_64/wcscmp.S: New file.
29330
1b48c537
UD
29331 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29332 wcscmp-c wcscmp-sse2
29333 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29334 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29335 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29336 * wcsmbs/wcscmp.c: Allow renaming.
29337
15c95c5d
DM
293382011-09-05 David S. Miller <davem@davemloft.net>
29339
29340 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29341 stack slot, rather than the struct return pointer slot.
29342 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29343 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29345 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29346
2f0ad8f3
UD
293472011-09-05 Ulrich Drepper <drepper@gmail.com>
29348
d88ae418
UD
29349 * po/ja.po: Update from translation team.
29350
2f0ad8f3
UD
29351 [BZ #13144]
29352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29353 kernel in 64-bit binaries.
29354
5f4318d1
DM
293552011-09-01 David S. Miller <davem@davemloft.net>
29356
29357 * elf/elf.h (HWCAP_SPARC_*): Move to..
29358 * sysdeps/sparc/sysdep.h: this new file and add new values.
29359 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29360 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29361 _DL_HWCAP_COUNT to 24.
29362 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29363 entries.
29364 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29365 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29366 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29368 instead of magic constants.
29369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29370
3ba57516
DM
293712011-08-31 David S. Miller <davem@davemloft.net>
29372
29373 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29375 Reimplement to do errno handling inline.
29376 (SYSCALL_ERROR_HANDLER): New macro.
29377 (__SYSCALL_STRING): Do not do errno handling in asm.
29378 (__CLONE_SYSCALL_STRING): Delete.
29379 (__INTERNAL_SYSCALL_STRING): Delete.
29380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29381 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29382 (PSEUDO): Reimplement to do errno handling inline.
29383 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29384 (SYSCALL_ERROR_HANDLER): New macro.
29385 (__SYSCALL_STRING): Do not do errno handling in asm.
29386 (__CLONE_SYSCALL_STRING): Delete.
29387 (__INTERNAL_SYSCALL_STRING): Delete.
29388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29389 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29390 i386.
29391 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29392 (inline_syscall*): Add 'err' argument.
29393 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29394 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29395 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29396 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29397
29398 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29400
2bc17433
AS
294012011-08-30 Andreas Schwab <schwab@redhat.com>
29402
29403 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29404
fbeb5f4d
JO
294052011-08-29 Jiri Olsa <jolsa@redhat.com>
29406
29407 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29408 directive.
29409
ad69cc26
DM
294102011-08-24 David S. Miller <davem@davemloft.net>
29411
29412 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29413
39dd69df
AS
294142011-08-24 Andreas Schwab <schwab@redhat.com>
29415
29416 * elf/Makefile: Add rules to build and run unload8 test.
29417 * elf/unload8.c: New file.
29418 * elf/unload8mod1.c: New file.
29419 * elf/unload8mod1x.c: New file.
29420 * elf/unload8mod2.c: New file.
29421 * elf/unload8mod3.c: New file.
29422
29423 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29424 it wasn't used.
29425
2c0b250a
DM
294262011-08-23 David S. Miller <davem@davemloft.net>
29427
29428 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29429 subtract stack bias.
29430 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29431 %sp not %fp in calculations.
29432 (_JMPBUF_UNWINDS_ADJ): Likewise.
29433
22044b48
DM
29434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29435 (aio_suspend): Call it to force an exception region around the
29436 AIO_MISC_WAIT() invocation.
29437
2cae4995
AS
294382011-08-23 Andreas Schwab <schwab@redhat.com>
29439
29440 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29441 backslash.
29442
873a772e
AJ
294432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29444
29445 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29446 protection macro.
29447 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29448 and <dl-machine.h>.
29449 (Elf64_FuncDesc): Remove.
29450
25ad0df1
DM
294512011-08-22 David S. Miller <davem@davemloft.net>
29452
29453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29454 sigaltstack check, add missing cfi directives.
29455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29456 missing cfi directives, and sigaltstack handling.
29457
e888bcbe
AS
294582011-08-16 Andreas Schwab <schwab@redhat.com>
29459
29460 [BZ #11724]
29461 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29462 object is seen twice.
29463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29464
29465 * elf/Makefile (distribute): Add tst-initorder2.c.
29466 (tests): Add tst-initorder2.
29467 (modules-names): Add tst-initorder2a tst-initorder2b
29468 tst-initorder2c tst-initorder2d. Add rules to build them.
29469 ($(objpfx)tst-initorder2.out): New rule.
29470 * elf/tst-initorder2.c: New file.
29471 * elf/tst-initorder2.exp: New file.
29472
87162f46
AS
294732011-08-22 Andreas Schwab <schwab@redhat.com>
29474
70538b7f
AS
29475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29476
f55ffe58
AS
29477 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29478 dependencies back to end of function.
29479
87162f46
AS
29480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29481 $(elfobjdir)/ld.so.
29482
91b392a4
UD
294832011-08-21 Ulrich Drepper <drepper@gmail.com>
29484
29485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29486 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29488 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29489 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29490 of __vdso_gettimeofday.
29491 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29492 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29493 attribute_hidden.
29494 (_libc_vdso_platform_setup): Remove initialization of
29495 __vdso_gettimeofday and __vdso_time.
29496
5c43483f
UD
294972011-08-20 Ulrich Drepper <drepper@gmail.com>
29498
775a77e7
UD
29499 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29500 and fgetc_unlocked.
29501 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29502 getc_unlocked.
89f447ed 29503
49c74ba9
UD
29504 * elf/dl-open.c (add_to_global): Report additions to the global scope
29505 for LD_DEBUG=scopes.
29506 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29507 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29508
5c43483f
UD
29509 [BZ #13114]
29510 * stdio-common/Makefile (tests): Add bug24.
29511 * stdio-common/bug24.c: New file.
29512
a101b025
AJ
295132011-08-19 Andreas Jaeger <aj@suse.de>
29514
29515 [BZ #13114]
29516 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29517 non-existant file when using close-on-exec mode.
29518
c88f1766
UD
295192011-08-20 Ulrich Drepper <drepper@gmail.com>
29520
0276a718
UD
29521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29522 the very first instruction.
29523
c88f1766
UD
29524 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29525 the CFI state in the end.
29526 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29527 inclusion of dl-trampoline.h.
29528 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29529
51ccffa0
AS
295302011-08-19 Andreas Schwab <schwab@redhat.com>
29531
94d7165f
AS
29532 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29533 expectations for long double.
29534
51ccffa0
AS
29535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29536 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29537
fd708658 295382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29539
29540 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29541 artificual limit depends upon the system page size.
29542
44f0a71e
UD
295432011-08-17 Ulrich Drepper <drepper@gmail.com>
29544
29545 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29546 * resolv/Makefile: Define CFLAGS-libresolv.
29547
8de79a24
AS
295482011-08-17 Andreas Schwab <schwab@redhat.com>
29549
29550 * nss/makedb.c (compute_tables): Make variables used in nested
29551 function static.
29552
27724598
UD
295532011-08-17 Ulrich Drepper <drepper@gmail.com>
29554
c5305d88
UD
29555 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29556 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29557 if buffer was too small.
29558
27724598
UD
29559 * elf/pldd.c (main): Attach to all threads in the process.
29560 Rewrite /proc handling to use *at functions.
29561
076fe015
UD
295622011-08-16 Ulrich Drepper <drepper@gmail.com>
29563
174baab3
UD
29564 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29565 specifies first scope to show.
29566 (dl_open_worker): Update callers. Move printing scope of new
29567 object to before the relocation.
44f0a71e 29568 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29569 * sysdeps/generic/ldsodefs.h: Update declaration.
29570
076fe015
UD
29571 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29572 string for the scope number.
29573
a60df2c3
UD
295742011-08-14 Ulrich Drepper <drepper@gmail.com>
29575
29576 * nscd/servicescache.c (cache_addserv): Make sure written is always
29577 initialized.
29578
5e4287d1
RM
295792011-08-14 Roland McGrath <roland@hack.frob.com>
29580
85ae0589
RM
29581 * sysdeps/i386/i486/bits/atomic.h
29582 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29583 statement expression, so as to suppress "set but not used" warning.
29584 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29585
69f63097
RM
29586 * string/strncat.c (STRNCAT): Use prototype definition.
29587
675456ef
RM
29588 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29589 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29590 -Iprograms here.
29591 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29592 (localedef-modules): Add localedef.
29593 (locale-modules): Add locale.
29594
5e4287d1
RM
29595 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29596 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29597 to avoid a warning.
29598
9c96ff23
DM
295992011-08-14 David S. Miller <davem@davemloft.net>
29600
29601 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29602 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29603
f9ddf089
UD
296042011-08-13 Ulrich Drepper <drepper@gmail.com>
29605
44f0a71e 29606 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29607 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29608 * elf/rtld.c (dl_main): Set l_name of vDSO.
29609 Call _dl_show_scope when DL_DEBUG_SCOPES.
29610 (process_dl_debug): Recognize scopes flag and also set it for all.
29611 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29612 Declare _dl_show_scope.
29613
1dc27704
UD
29614 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29615 (do_dlopen): Pass caller_dlopen to dl_open.
29616 (__libc_dlopen_mode): Initialize caller_dlopen.
29617
f9ddf089
UD
29618 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29619 of libc. Make tolower call locale-independent. Optimize a bit by
29620 using isdigit instead of isalnum.
29621 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29622
9ac533d3
UD
296232011-08-12 Ulrich Drepper <drepper@gmail.com>
29624
29625 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29626 was a dependency or dynamically loaded.
29627
89edf2e9
UD
296282011-08-11 Ulrich Drepper <drepper@gmail.com>
29629
8e999d29
UD
29630 * intl/l10nflist.c: Allow architecture-specific pop function.
29631 * sysdeps/x86_64/l10nflist.c: New file.
29632
89edf2e9
UD
29633 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29634 classification.
29635
14d96785
AS
296362011-08-10 Andreas Schwab <schwab@redhat.com>
29637
29638 * include/dirent.h: Add libc_hidden_proto for scandirat and
29639 scandirat64. Don't declare __scandirat64.
29640 * dirent/scandirat.c: Add libc_hidden_def.
29641 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29642 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29643
6761ac04
DM
296442011-08-10 David S. Miller <davem@davemloft.net>
29645
29646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29647 enum.
29648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29651
c55fbd1e
UD
296522011-08-09 Ulrich Drepper <drepper@gmail.com>
29653
29654 * Versions.def [libc]: Add GLIBC_2.15.
29655 * dirent/Makefile (routines): Add scandirat and scandirat64.
29656 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29657 GLIBC_2.15.
29658 * dirent/dirent.h: Declare scandirat and scandirat64.
29659 * dirent/scandirat.c: New file.
29660 * dirent/scandirat64.c: New file.
29661 * sysdeps/wordsize-64/scandirat.c: New file.
29662 * sysdeps/wordsize-64/scandirat64.c: New file.
29663 * dirent/opendir.c: Define opendirat.
29664 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29665 using scandirat.
29666 * dirent/scandir64.c: Adjust for scandir.c change.
29667 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29668 __scandirat64, and __scandir_cancel_handler.
29669 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29670 additional parameter and use openat instead of open (outside of ld.so).
29671 Add new __opendir as wrapper around __opendirat.
29672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29673 here without requiring old scandirat implementation.
29674
879165f2
UD
296752011-08-08 Ulrich Drepper <drepper@gmail.com>
29676
29677 * dirent/scandir.c (cancel_handler): Renamed to
29678 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29679 defined. Adjust users.
29680 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29682
cb7e923b
UD
296832011-08-04 Ulrich Drepper <drepper@gmail.com>
29684
16292edd
UD
29685 * string/test-string.h (IMPL): Use __STRING to expand name and then
29686 stringify it.
29687
cb7e923b
UD
29688 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29689 of cleanups.
29690
cff82933
LD
296912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29692
29693 * string/Makefile: Update.
29694 (strop-tests): Append strncat.
29695 * string/test-wcscmp.c: New file.
29696 New comprehensive test for wcscmp.
29697 * string/test-strcmp.c: Update.
29698 (WIDE): New define.
29699
9be9bfcc
AS
297002011-07-22 Andreas Schwab <schwab@redhat.com>
29701
29702 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29703 line.
29704
2e96f1c7
AS
297052011-07-26 Andreas Schwab <schwab@redhat.com>
29706
29707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29708 encoding to ACE if AI_IDN.
29709
85188888
JJ
297102011-08-01 Jakub Jelinek <jakub@redhat.com>
29711
29712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29713 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29714
5fa16e9b
LD
297152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29716
29717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29718 Fix overflow bug in strncat.
29719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29720
29721 * string/test-strncat.c: Update.
29722 Add new tests for checking overflow bugs.
29723
297242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29725
29726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29727 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29728 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29729 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29730 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29731 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29732 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29733 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29734 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29735
29736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29737 (USE_AS_STRCAT): Define.
29738 Add strcat and strncat support.
29739 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29740
8c1a459f
AS
297412011-07-25 Andreas Schwab <schwab@redhat.com>
29742
29743 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29744 __n bigger than INT_MAX+1.
29745 (__strncmp_g): Likewise.
29746
bba33c28
UD
297472011-07-23 Ulrich Drepper <drepper@gmail.com>
29748
798be72d
UD
29749 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29750 * libio/stido.h: Likewise.
29751
8accd4dc
UD
29752 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29753 (AF_NFC): Define.
29754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29755 (AF_NFC): Define.
29756
cbff0d96
UD
29757 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29762
9191c04a
UD
29763 [BZ #13021]
29764 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29765 installed.
29766
bba33c28
UD
29767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29768 typo.
29769 (_dl_x86_64_save_sse): Likewise.
29770
90f139dd
UD
297712011-07-22 Ulrich Drepper <drepper@gmail.com>
29772
1aae088a
UD
29773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29774 OSXSAVE.
29775 (_dl_x86_64_save_sse): Likewise.
29776
8e2045f5
UD
29777 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29778
90f139dd
UD
29779 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29780
1d002f25
AS
297812011-07-21 Andreas Schwab <schwab@redhat.com>
29782
29783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29784 change.
29785 (_dl_x86_64_save_sse): Use correct AVX check.
29786
21137f89
UD
297872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29788
29789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29790 bug in strncpy/strncat.
29791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29792
a65c0b7a
UD
297932011-07-21 Ulrich Drepper <drepper@gmail.com>
29794
29795 * string/tester.c (test_strcat): Add tests for different alignments
29796 of source and destination.
29797 (test_strncat): Likewise.
29798
6986b98a
UD
297992011-07-20 Ulrich Drepper <drepper@gmail.com>
29800
90bb2039
UD
29801 [BZ #12852]
29802 * posix/glob.c (glob): Check passed in values before using them in
29803 expressions to avoid some overflows.
29804 (glob_in_dir): Likewise.
29805
5644ef54
UD
29806 [BZ #13007]
29807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29808 check for AVX enablement so that we don't crash with old kernels and
29809 new hardware.
29810 * elf/tst-audit4.c: Add same checks here.
29811 * elf/tst-audit6.c: Likewise.
29812
29813 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29814
bfc9dc9b
AS
298152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29816
29817 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29818
702e64bb
UD
298192011-07-20 Ulrich Drepper <drepper@gmail.com>
29820
29821 * po/cs.po: Update from translation team.
29822 * po/bg.po: Likewise.
29823
295e904f
MP
298242011-07-12 Marek Polacek <mpolacek@redhat.com>
29825
29826 * misc/sys/cdefs.h: Add support for const attribute.
29827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29828 to gnu_dev_{major,minor,makedev} functions.
29829
3ff94596
MP
298302011-07-20 Marek Polacek <mpolacek@redhat.com>
29831
29832 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29833
28b59fca
AS
298342011-07-20 Andreas Schwab <schwab@redhat.com>
29835
29836 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29837 strlen results.
29838
19df733e
AK
298392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29840
29841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29842 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29843 register in order to avoid conflicts with the soft frame pointer
29844 being held in r11 when necessary.
29845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29846 (INTERNAL_VSYSCALL_NCS): Likewise.
29847
c8835729
MP
298482011-07-14 Marek Polacek <mpolacek@redhat.com>
29849
29850 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29851 * elf/dl-fini.c (_dl_fini): Adjust caller.
29852 * elf/dl-close.c (_dl_close_worker): Likewise.
29853 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29854
b902330c
MP
298552011-07-15 Marek Polacek <mpolacek@redhat.com>
29856
8991e135
MP
29857 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29858 "aux_cache->nlibs < 0".
29859
b902330c
MP
29860 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29861 in the reload-count case.
29862
99710781
LD
298632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29864
29865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29866 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29867 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29868 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29869 * sysdeps/x86_64/multiarch/strcat.S: New file.
29870 * sysdeps/x86_64/multiarch/strncat.S: New file.
29871 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29873 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29874 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29876 (USE_AS_STRCAT): Define.
29877 Add strcat and strncat support.
29878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29879 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29880 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29881 * string/strncat.c: Update.
29882 (USE_AS_STRNCAT): Define.
29883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29884 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29885 and i7.
29886 * sysdeps/x86_64/multiarch/init-arch.h
29887 (bit_Prefer_PMINUB_for_stringop): New.
29888 (index_Prefer_PMINUB_for_stringop): Likewise.
29889 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29890 bit_Prefer_PMINUB_for_stringop.
29891
7dc6bd90
UD
298922011-07-19 Ulrich Drepper <drepper@gmail.com>
29893
29894 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29895 buffer64.
29896 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29897 of casting of buffer.
29898 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29899 buffer32 and buffer64.
29900 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29901 writes instead of casting of buffer.
29902 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29903 buffer32.
29904 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29905 casting of buffer.
29906
e0e72284
AS
299072011-07-19 Andreas Schwab <schwab@redhat.com>
29908
29909 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29910
feb1eb0b
UD
299112011-07-19 Ulrich Drepper <drepper@gmail.com>
29912
29913 * nscd/nscd.c (termination_handler): Don't do anything for a database
29914 if it has not yet been initialized.
29915
298711ff
UD
299162011-07-18 Ulrich Drepper <drepper@gmail.com>
29917
29918 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29919
299202011-07-15 Marek Polacek <mpolacek@redhat.com>
29921
29922 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29923
f9d68389
UD
299242011-07-18 Ulrich Drepper <drepper@gmail.com>
29925
29926 * po/nl.po: Update from translation team.
29927 * po/sv.po: Likewise.
29928
db290cf5
RM
299292011-07-16 Roland McGrath <roland@hack.frob.com>
29930
29931 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29932 now disallowed by GCC.
5c550700 29933
fd5e21c7
RM
29934 * configure.in (use-default-link): Default to yes if a test -shared
29935 link meets our qualifications.
29936 * configure: Regenerated.
29937
5c550700
RM
29938 * config.make.in (output-format): New variable.
29939 * configure.in: Check for ld --print-output-format support.
29940 * configure: Regenerated.
29941 * Makerules ($(common-objpfx)format.lds)
29942 [$(output-format) != unknown]: Just use $(output-format),
29943 instead of the linker-script munging.
29944
9fa2c032
RM
299452011-07-14 Roland McGrath <roland@hack.frob.com>
29946
a6928d51
RM
29947 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29948 of $(common-objpfx)shlib.lds.
29949 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29950
661607b3
RM
29951 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29952 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29953
9fa2c032
RM
29954 * configure.in (-z relro check): Adjust test code to add a large
29955 writable data section after it.
29956 * configure: Regenerated.
29957
defe9061
RM
299582011-07-11 Roland McGrath <roland@hack.frob.com>
29959
29960 * configure.in (-z relro check): Fix test code to make the variable
29961 truly const.
29962 * configure: Regenerated.
29963
319b9ad4
UD
299642011-07-11 Ulrich Drepper <drepper@gmail.com>
29965
29966 * nscd/nscd.h (struct traced_file): Define.
29967 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29968 elements. Add traced_files.
29969 (inotify_fd): Declare.
29970 (register_traced_file): Declare.
29971 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29972 (inotify_fd): Export.
29973 (resolv_conf_descr): Remove.
29974 (nscd_init): Move inotify descriptor creation to main.
29975 Don't register files for notification here.
29976 (register_traced_file): New function.
29977 (invalidate_cache): Don't use reset_res to determine whether to call
29978 res_init, go through the list of registered files.
29979 (main_loop_poll): The inotify descriptors are now stored in the
29980 structures for the traced files.
29981 (main_loop_epoll): Likewise
29982 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29983 to __nss_disable_nscd.
29984 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29985 for a database anymore. Check the records for all the registered
29986 files instead.
29987 * nss/Makefile (libnss_files-routines): Add files-init.
29988 (libnss_db-routines): Add db-init.
29989 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29990 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29991 * nss/nss_db/db-init.c: New file.
29992 * nss/nss_files/files-init.c: New file.
29993 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29994 __nss_lookup_function.
29995 (__nss_lookup_function): Call nss_load_library.
29996 (nss_load_all_libraries): New function.
29997 (__nss_disable_nscd): Take parameter with callback function for files
29998 to register. Set is_nscd. Load all the DSOs for the NSS modules
29999 used for the cached services.
30000 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30002 options for features to all the files in nscd.
30003
30004 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30005
23bee3e8
RM
300062011-07-10 Roland McGrath <roland@hack.frob.com>
30007
30008 * csu/elf-init.c (__libc_csu_init): Comment typo.
30009
46a5b7f0
UD
300102011-07-09 Ulrich Drepper <drepper@gmail.com>
30011
30012 * po/pl.po: Update from translation team.
30013 * po/ja.po: Likewise.
30014 * po/ru.po: Likewise.
30015 * po/ko.po: Likewise.
30016 * po/fr.po: Likewise.
30017
d30cf5bb
RM
300182011-07-09 Roland McGrath <roland@hack.frob.com>
30019
113ddea4
RM
30020 * configure.in (.ctors/.dtors header and trailer check):
30021 Use an empirical test on a built program.
30022 * configure: Regenerated.
30023
574920b4
RM
30024 * configure.in (-z relro check): Use an empirical test on a built DSO.
30025 Detect, but do not require, on ia64.
30026 * configure: Regenerated.
30027
d30cf5bb
RM
30028 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30029 Update tests that use readelf to use $READELF instead.
30030 * configure: Regenerated.
30031
8538fdb3
UD
300322011-07-08 Ulrich Drepper <drepper@gmail.com>
30033
30034 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30035 if the result is not used.
30036
04d08991
AJ
300372011-07-05 Andreas Jaeger <aj@suse.de>
30038
30039 [BZ#9696]
30040 * stdlib/tst-strtod.c: Add testcase.
30041
de283087
AD
300422011-07-07 Ulrich Drepper <drepper@gmail.com>
30043
4e5f31c8 30044 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30045 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30046 The latter has a higher limit. Take additional parameter to pass to
30047 the new function.
30048 (__pathconf): Pass file to __statfs_link_max.
30049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30050 __statfs_link_max.
30051 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30052 __statfs_link_max.
30053
de283087
AD
30054 [BZ #12868]
30055 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30057 Handle Lustre.
30058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30059 (__statfs_filesize_max): Likewise.
30060 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30061
c75fa153
AJ
300622011-07-05 Andreas Jaeger <aj@suse.de>
30063
30064 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30065
1a544854
UD
300662011-07-06 Marek Polacek <mpolacek@redhat.com>
30067
30068 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30069 `status' variable.
30070 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30071 Likewise.
30072
6f0eec67
UD
300732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30074
30075 * Makefile (strop-tests): Add strncat.
30076 * string/test-strncat.c: New file.
30077
aae30307
UD
300782011-06-30 Marek Polacek <mpolacek@redhat.com>
30079
30080 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30081
c0cfb5eb
UD
300822011-06-21 Andreas Jaeger <aj@suse.de>
30083
30084 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30085 Copy rule from iconvdata/Makefile.
30086
01636b21
UD
300872011-07-06 Ulrich Drepper <drepper@gmail.com>
30088
30089 [BZ #12922]
30090 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30091 but no long options are defined, just return 'W'.
30092
9895c8bc
UD
300932011-06-22 Marek Polacek <mpolacek@redhat.com>
30094
30095 [BZ #9696]
30096 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30097
5d4cf042
UD
300982011-07-06 Ulrich Drepper <drepper@gmail.com>
30099
30100 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30101 netgroups to read.
960e5535 30102 (innetgr): Likewise.
5d4cf042 30103
751eb97e
RM
301042011-07-05 Roland McGrath <roland@hack.frob.com>
30105
30106 * config.make.in (install_root): Default to $(DESTDIR).
30107
f15f1e45
UD
301082011-07-05 Ulrich Drepper <drepper@gmail.com>
30109
30110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30111
4e34ac6a
RM
301122011-07-02 Roland McGrath <roland@hack.frob.com>
30113
5e9b6af4
RM
30114 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30115
84f9ea0f
RM
30116 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30117 containing directory rather than embedding absolute directory names.
30118
ea5ee9f7
RM
30119 * scripts/check-local-headers.sh: Rewritten using awk.
30120 Match by word, not by line. Print error messages for matches.
30121 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30122
1b74661a
RM
30123 * Makerules [shlib-lds-flags empty]:
30124 ($(common-objpfx)libc_pic.opts): New target.
30125 ($(common-objpfx)libc_pic.os.clean): New target.
30126 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30127
30128 * config.make.in (OBJCOPY): New variable.
30129 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30130 * configure: Regenerated.
30131
f781ef40
RM
30132 * config.make.in (use-default-link): New variable.
30133 * configure.in (use_default_link): Grok --with-default-link to set it.
30134 * configure: Regenerated.
30135 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30136 (shlib-lds, shlib-lds-flags): Define to empty.
30137
2d4fa81e
RM
30138 * Makerules (shlib-lds): New variable.
30139 (shlib-lds-flags): New variable.
30140 (build-shlib, build-moduile, build-module-asneeded): Use it.
30141 ($(common-objpfx)libc.so): Use $(shlib-lds).
30142 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30143 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30144
31fffa6b
RM
30145 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30146 DT_FLAGS/DT_FLAGS_1 with zero flags.
30147
4e34ac6a
RM
30148 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30149 linker script munging.
30150
fcfc776b
UD
301512011-07-02 Ulrich Drepper <drepper@gmail.com>
30152
30153 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30154 as 128-bit value.
30155 * crypt/sha512.c (sha512_process_block): Perform total addition using
30156 128-bit if possible.
30157 (__sha512_finish_ctx): Likewise.
30158 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30159 as 64-bit value.
30160 * crypt/sha256.c (SWAP64): Define.
30161 (sha256_process_block): Perform total addition using 64-bit if
30162 possible.
30163 (__sha256_finish_ctx): Likewise.
30164
99231d9a
UD
301652011-07-01 Ulrich Drepper <drepper@gmail.com>
30166
30167 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30169 * nscd/hstcache.c (cache_addhst): Likewise.
30170 * nscd/grpcache.c (cache_addgr): Likewise.
30171 * nscd/aicache.c (addhstaiX): Likewise
30172 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30173
445b4a53
TK
301742011-07-01 Thorsten Kukuk <kukuk@suse.de>
30175
30176 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30178 * nscd/hstcache.c (cache_addhst): Likewise.
30179 * nscd/grpcache.c (cache_addgr): Likewise.
30180 * nscd/aicache.c (addhstaiX): Likewise
30181
6d4d8e8e
AS
301822011-07-01 Andreas Schwab <schwab@redhat.com>
30183
30184 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30185 domain only when needed.
30186
89f654c5
AS
301872011-06-30 Andreas Schwab <schwab@redhat.com>
30188
30189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30190 is always restored.
30191
cf3b23ff
UD
301922011-06-29 Ulrich Drepper <drepper@gmail.com>
30193
30194 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30195 are re-adding the entry.
30196 * nscd/servicescache.c (cache_addserv): Likewise.
30197
751626f9
AJ
301982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30199
30200 * sysdeps/generic/dl-irel.h: fix protection against multiple
30201 inclusions.
30202 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30203
9113ea1f
UD
302042011-06-28 Ulrich Drepper <drepper@gmail.com>
30205
5c0b8d90
UD
30206 [BZ #12935]
30207 * malloc/memusage.sh: Fix quoting in message.
30208 * debug/xtrace.sh: Likewise.
30209
9113ea1f
UD
30210 * configure.in: Remove support for --experimental-malloc option, make
30211 it the default.
30212 * config.make.in: Likewise.
30213 * malloc/Makefile: Likewise.
30214
a4172181
AS
302152011-06-27 Andreas Schwab <schwab@redhat.com>
30216
30217 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30218 two-byte characters.
30219
78a7eee7
RM
302202011-06-27 Roland McGrath <roland@hack.frob.com>
30221
62bede13
RM
30222 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30223 AC_CACHE_CHECK invocation.
30224 * configure: Regenerated.
30225
78a7eee7
RM
30226 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30227
5ce33a62
UD
302282011-06-27 Ulrich Drepper <drepper@gmail.com>
30229
034807a9
UD
30230 [BZ #12350]
30231 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30232 bit from old_res_options.
30233
4902da17
UD
30234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30235
5ce33a62
UD
30236 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30237 value type for setfct.
30238
c2344f56
L
302392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30242 __gettimeofday instead of gettimeofday.
30243
68468076
UD
302442011-06-26 Ulrich Drepper <drepper@gmail.com>
30245
30246 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30247
acb0d739
L
302482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30249
30250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30251
30252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30253 info.
30254
8912479f
L
302552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30256
30257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30258 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30259 strcpy-sse2-unaligned strncpy-sse2-unaligned
30260 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30261 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30262 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30263 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30264 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30267 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30268 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30269 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30270 (STRCPY): Support SSE2 and SSSE3 versions.
30271
d5495a11
UD
302722011-06-24 Ulrich Drepper <drepper@gmail.com>
30273
30274 [BZ #12874]
30275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30276 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30277 kernels which artificially limit size of requests.
30278
0b1cbaae
L
302792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30282 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30283 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30284 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30285 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30286 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30287 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30288 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30291 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30292 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30293 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30294 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30295 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30297 Enable unaligned load optimization for Intel Core i3, i5 and i7
30298 processors.
30299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30300 Define.
30301 (index_Fast_Unaligned_Load): Define.
30302 (HAS_FAST_UNALIGNED_LOAD): Define.
30303
07f494a0
MP
303042011-06-23 Marek Polacek <mpolacek@redhat.com>
30305
30306 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30307
fa3fc0fe
UD
303082011-06-22 Ulrich Drepper <drepper@gmail.com>
30309
30310 [BZ #12907]
30311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30312 until it is clear that the information is realy needed.
30313 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30314
e12df166
AS
303152011-06-22 Andreas Schwab <schwab@redhat.com>
30316
30317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30318
852eb34d
UD
303192011-06-22 Ulrich Drepper <drepper@gmail.com>
30320
84e2a551
UD
30321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30322 /sys/devices/system/cpu/online if it is usable.
30323
852eb34d
UD
30324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30325 reading the information from the /proc filesystem to once a second.
30326
6e502e19
UD
303272011-06-21 Andreas Jaeger <aj@suse.de>
30328
30329 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30330 NULL after inclusion of kernel headers.
30331
75d39ff2
UD
303322011-06-21 Ulrich Drepper <drepper@gmail.com>
30333
51f9aa6a
UD
30334 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30335 calls to internal_setent.
30336
c0244a9d
UD
30337 [BZ #12885]
30338 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30339 addresses using gethostbyname4_r ignore IPv4 addresses.
30340
c5e3c2ae
UD
30341 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30342 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30343
75d39ff2
UD
30344 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30345
42675c6f
DM
303462011-06-20 David S. Miller <davem@davemloft.net>
30347
30348 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30349 inclusions.
30350 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30351
30352 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30353 (elf_irel): Use it.
30354 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30355 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30356 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30357 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30358 * sysdeps/x86_64/dl-irel.h: Likewise.
30359
30360 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30361 * elf/dl-sym.c: Likewise.
30362
57912a71
UD
303632011-06-15 Ulrich Drepper <drepper@gmail.com>
30364
30365 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30366 need to dereference resplen2.
30367
ee22793d
AS
303682011-06-14 Andreas Schwab <schwab@redhat.com>
30369
30370 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30371
a9e836b0
UD
303722011-06-15 Ulrich Drepper <drepper@gmail.com>
30373
77fb9117
UD
30374 * Makeconfig: Define vardbdir and inst_vardbdir.
30375 * nss/Makefile: Add rules to install db-Makefile.
30376
40c1b22c
UD
30377 * nss/nss_db/db-XXX.c: Cleanup.
30378
9f2da732
UD
30379 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30380 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30381 GLIBC_PRIVATE.
30382 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30383 * nss/makedb.c: Implement -g option to specify that value strings
30384 are generated and should not be added to table iterated over for
30385 get*ent calls.
30386 * nss/nss_db/db-initgroups.c: New file.
30387
82e9a1f7
UD
30388 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30389 interface.
30390
c41af17e
UD
30391 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30392 (internal_getgrouplist): Adjust to name change.
30393 Update use_initgroups_entry if this is not the first call.
30394 * nss/databases.def: Add initgroups entry.
30395
a9e836b0
UD
30396 * nss/makedb.c (compute_tables): Check result of multiple hash table
30397 sizes to minimize maximum chain length.
30398
2666d441
UD
303992011-06-14 Ulrich Drepper <drepper@gmail.com>
30400
30401 * Versions.def: Add entry for libnss_db.
30402 * shlib-versions: Likewise.
30403 * nss/Makefile: Add rules to build libnss_db.
30404 * nss/Versions: Add libnss_db information. Organize libnss_files
30405 entries better.
30406 * nss/db-Makefile: Add gshadow support. Change rules for the new
30407 makedb progra. Some minor improvements to generate smaller files.
30408 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30409 here from...
30410 * nss/makedb.c: ...here.
30411 Improve database format to be smaller and require less memory at
30412 runtime.
30413 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30414 db anymore.
30415 * nss/nss_db/db-netgrp.c: Likewise.
30416 * nss/nss_db/db-open.c: Likewise.
30417 * nss/nss_files/flies-XXX.x: Adjust comments.
30418 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30419 * nss/nss_files/files-grp.c: Likewise.
30420 * nss/nss_files/files-hosts.c: Likewise.
30421 * nss/nss_files/files-network.c: Likewise.
30422 * nss/nss_files/files-proto.c: Likewise.
30423 * nss/nss_files/files-pwd.c: Likewise.
30424 * nss/nss_files/files-rpc.c: Likewise.
30425 * nss/nss_files/files-service.c: Likewise.
30426 * nss/nss_files/files-sgrp.c: Likewise.
30427 * nss/nss_files/files-spwd.c: Likewise.
30428 * nss/nss_db/db-alias.c: Removed.
30429 * nss/nss_db/dummy-db.h: Removed.
30430
9ee76b5a
UD
304312011-06-02 Ulrich Drepper <drepper@gmail.com>
30432
30433 * nss/makedb.c: Rewritten to not use database library.
30434 * nss/Makefile: Update to build new makedb program.
30435
c71ca1f8
AJ
304362011-06-14 Andreas Jaeger <aj@suse.de>
30437
30438 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30439 memset declaration.
30440
3154bfb8
UD
304412011-06-10 Andreas Schwab <schwab@redhat.com>
30442
30443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30444 tmpbuf.
30445
b350afab
RM
304462011-06-10 Roland McGrath <roland@hack.frob.com>
30447
decd4e50
RM
30448 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30449 * elf/Makefile ($(objpfx)ld.so): Likewise.
30450
5615eaf2
RM
30451 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30452 Don't list ld.so twice in dependencies.
30453
30454 * posix/bug-regex31.c: Include <stdlib.h>.
30455
30456 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30457
30458 * nis/nss_compat/compat-spwd.c
30459 (getspent_next_nss_netgr): Remove unused variable.
30460 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30461
30462 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30463 nonmembers" output to use the right array.
30464
30465 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30466
30467 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30468
30469 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30470 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30471 * catgets/gencat.c (read_input_file): Likewise.
30472 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30473
30474 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30475 variable definition inside #if's controlling its use.
30476
30477 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30478
30479 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30480
30481 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30482
30483 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30484 unreachable code.
30485
30486 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30487
b68e08db
RM
30488 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30489 * configure: Regenerated.
30490
b350afab
RM
30491 * Makerules: Revert last change.
30492 * elf/Makefile: Likewise.
30493
28368601
RM
304942011-06-09 Roland McGrath <roland@hack.frob.com>
30495
30496 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30497 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30498 (reloc-link): Likewise.
30499
11988f8f
UD
305002011-06-09 Ulrich Drepper <drepper@gmail.com>
30501
30502 * elf/Makefile: Add rules to build pldd.
30503 * elf/pldd.c: New file.
30504 * elf/pldd-xx.c: New file.
30505
e80fab37
UD
305062011-06-07 Ulrich Drepper <drepper@gmail.com>
30507
30508 * version.h: Update for 2.15 development version.
30509
9b849836
DM
305102011-06-07 David S. Miller <davem@davemloft.net>
30511
30512 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30513 ifuncs.
30514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30515 elf_machine_lazy_rel): Likewise.
30516 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30518 elf_machine_lazy_rel): Likewise.
30519 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30520 dl_hwcap via passed in argument.
30521 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30522 Likewise.
30523
5a31b283
AK
305242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30525
30526 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30527
069e52f8
RM
305282011-06-06 Roland McGrath <roland@hack.frob.com>
30529
30530 [BZ #12849]
30531 * manual/fdl-1.1.texi: New file, verbatim from:
30532 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30533 * manual/lgpl-2.1.texi: New file, verbatim from:
30534 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30535 * manual/Makefile (licenses): New variable, list those new file names.
30536 (texis): Use it.
30537 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30538
30539 * manual/fdl.texi: File removed.
30540 * manual/lesser.texi: File removed.
30541 * manual/libc.texinfo (Copying, Documentation License):
30542 Use new @include file names, put @appendix directive before @include.
30543
f16846a5
JJ
305442011-06-04 Jakub Jelinek <jakub@redhat.com>
30545
30546 [BZ #12841]
30547 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30548 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30549 (mq_open): Add __NTH.
30550
3d29045b
L
305512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30552
30553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30554 Assume Intel Core i3/i5/i7 processor if AVX is available.
30555
8c297311
UD
305562011-05-31 Ulrich Drepper <drepper@gmail.com>
30557
30558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30559 typo.
30560
c8fc0c91
UD
305612011-05-31 Andreas Schwab <schwab@redhat.com>
30562
30563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30564 memory. Use alloca_account. Fix memory leak when retrying.
30565
5b27a807
UD
305662011-05-31 Ulrich Drepper <drepper@gmail.com>
30567
356f8bc6
UD
30568 * version.h (RELEASE): Bump for 2.14 release.
30569 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30570
5b27a807
UD
30571 * config.make.in (RANLIB): Remove entry.
30572
01f16ab0
UD
305732011-05-30 Ulrich Drepper <drepper@gmail.com>
30574
41fce8bd
UD
30575 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30576 (libc.pot): Work around missing support for .ksh extension in xgettext.
30577
4769ae77
UD
30578 [BZ #12684]
30579 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30580 if both request failed.
30581 (send_dg): In case of server errors clear resplen or *resplen2.
30582
6b1e7d19
UD
30583 [BZ #12454]
30584 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30585 when there are multiple maps.
30586 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30587 (_dl_fini): Remove test here.
30588
01f16ab0
UD
30589 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30590
b1ebd700
UD
305912011-05-29 Ulrich Drepper <drepper@gmail.com>
30592
7ae22829
UD
30593 [BZ #12350]
30594 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30595 bit from old_res_options.
30596 (gaih_inet): Likewise.
30597
553149f6 30598 [BZ #11099]
18a84741 30599 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30600 as signed.
30601
652ffab1
UD
30602 * resolv/res_init.c (res_setoptions): Make the code more compact.
30603
16985fd0
UD
30604 [BZ #11558]
30605 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30606 set RES_USEVC.
30607
0464f746
UD
30608 [BZ #11634]
30609 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30610
7d17596c
UD
30611 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30612
cf6bbbd7
UD
30613 [BZ #11781]
30614 * malloc/malloc.h: Declare malloc hook variables as volatile.
30615
13f1ab36
UD
30616 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30617 in last patch.
30618
b1ebd700
UD
30619 [BZ #11799]
30620 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30621 raise in the comment.
80e2212d
UD
30622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30624 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30625
ce67228d
UD
306262011-05-28 Ulrich Drepper <drepper@gmail.com>
30627
8887a920
UD
30628 [BZ #12811]
30629 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30630 grow the buffers more if it already has to be sufficient.
30631 (build_wcs_upper_buffer): Likewise.
30632 * posix/regexec.c (check_matching): Likewise.
30633 (clean_state_log_if_needed): Likewise.
30634 (extend_buffers): Don't enlarge buffers beyond size of the input
30635 buffer.
30636 Patches mostly by Emil Wojak <emil@wojak.eu>.
30637 * posix/bug-regex32.c: New file.
30638 * posix/Makefile (tests): Add bug-regex32.
30639
4f031072
UD
30640 * locale/findlocale.c (_nl_find_locale): Return right away if
30641 _nl_explode_name failed.
30642 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30643
d0478f0c
UD
30644 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30645
de81b246
UD
30646 * debug/xtrace.sh: Unify messages.
30647 * malloc/memusage.sh: Likewise.
30648
c738465a
UD
30649 [BZ #12813]
30650 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30651 time symbol from vDSO. Substitute with vsyscall if not available.
30652 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30653 __vdso_time.
30654
f1f929d7
UD
30655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30656 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30658 Add sendmmsg and internal_sendmmsg.
30659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30662
ce67228d
UD
30663 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30664 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30666
e57420c6
UD
306672011-05-27 Ulrich Drepper <drepper@gmail.com>
30668
a8509ca5
UD
30669 [BZ #12813]
30670 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30671 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30672 available.
30673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30674 __vdso_getcpu.
30675
e57420c6
UD
30676 [BZ #12814]
30677 * iconvdata/Makefile (tests): Add bug-iconv9.
30678 * iconvdata/bug-iconv9.c: New file.
30679
4d07db15
AS
306802011-05-27 Andreas Schwab <schwab@redhat.com>
30681
30682 [BZ #12814]
30683 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30684
ea486f69
JJ
306852011-05-25 Jakub Jelinek <jakub@redhat.com>
30686
30687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30688 (struct user_regs_struct): Change intcs field back to cs.
30689
6f038433
UD
306902011-05-25 Ulrich Drepper <drepper@gmail.com>
30691
30692 * po/ja.po: Update from translation team.
30693
67f86a25
UD
306942011-05-23 Ulrich Drepper <drepper@gmail.com>
30695
30696 [BZ #12795]
30697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30698 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30699
def7fbd6
AS
307002011-05-20 Andreas Schwab <schwab@redhat.com>
30701
30702 * stdlib/longlong.h: Update from GCC.
30703
f50ef8f1
AS
307042011-05-23 Andreas Schwab <schwab@redhat.com>
30705
30706 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30707 parameter name.
30708 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30709 Add parameter name.
30710 (__sysconf): Pass it down.
30711
de7ce8f1
UD
307122011-05-22 Ulrich Drepper <drepper@gmail.com>
30713
f2962a71
UD
30714 [BZ #12671]
30715 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30716 some situations.
30717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30718 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30719 add in in __libc_use_alloca calls. Adjust callers.
30720 (glob): Use malloc in some situations.
30721
de7ce8f1
UD
30722 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30723 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30724 pltexit.
30725
aec84f53
UD
307262011-05-21 Ulrich Drepper <drepper@gmail.com>
30727
05bb4a68
UD
30728 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30729 and CLOCK_BOOTTIME_ALARM.
30730
7ea72f99
UD
30731 [BZ #12782]
30732 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30733 is returned.
30734
7e4afad5
UD
30735 * string/_strerror.c (__strerror_r): Print negative errors as signed
30736 numbers.
30737
8e211fec
UD
30738 [BZ #12777]
30739 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30740 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30741 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30742
f7d82dc9
UD
30743 * configure.in: Fix typo in redirection and correct removal of test
30744 files in two cases.
30745
cc9e536d
UD
30746 [BZ #12788]
30747 * locale/setlocale.c (new_composite_name): Fix test to check for
30748 identical name of all categories.
30749
aec84f53
UD
30750 [BZ #12792]
30751 * libio/filedoalloc.c (local_isatty): New function.
30752 (_IO_file_doallocate): Use local_isatty.
30753 * stdio-common/perror.c (perror): In case a new stream is used
30754 forward the stream error.
30755 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30756 error flag.
30757
78e64fdc
RT
307582011-05-20 Ulrich Drepper <drepper@gmail.com>
30759
34a9094f
UD
30760 [BZ #11869]
30761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30762 alloca.
30763 * include/alloca.h (extend_alloca_account): Define.
30764
78e64fdc
RT
30765 [BZ #11857]
30766 * posix/regex.h: Fix comments with documentation of user-accessible
30767 fields after compilation and describe correct free'ing of pattern
30768 after re_compile_pattern.
30769 Patch by Reuben Thomas <rrt@sc3d.org>.
30770
457bddfc
RA
307712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30772
30773 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30774 and -mno-altivec to prevent the compiler from using Altivec and/or
30775 VSX instructions when the corresponding registers are not available.
30776
a4527b51
AS
307772011-05-19 Andreas Schwab <schwab@redhat.com>
30778
30779 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30780
ed690b2f
UD
307812011-05-19 Ulrich Drepper <drepper@gmail.com>
30782
30783 * libio/freopen.c (freopen): Use __dup2, not dup2.
30784 * libio/freopen64.c (freopen64): Likewise.
30785
8db73634
L
307862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30787
30788 [BZ #12775]
30789 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30790 * math/Makefile (tests): Add test-powl.
30791 (CFLAGS-test-powl.c): Define.
30792 * math/test-powl.c: New file.
30793
0a197a9d
L
307942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30795
30796 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30797
ee30c380
UD
307982011-05-17 Ulrich Drepper <drepper@gmail.com>
30799
30800 [BZ #11837]
30801 * iconvdata/gb18030.c: Update to GB18020-2005.
30802
6ce75379
UD
308032011-05-16 Ulrich Drepper <drepper@gmail.com>
30804
a4b89fd8
AR
30805 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30806 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30807 Patch by Aharon Robbins <arnold@skeeve.com>.
30808
ea389b12
UD
30809 [BZ #11892]
30810 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30811 on the stack.
30812
68a3f91f
UD
30813 [BZ #11895]
30814 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30815 through underflows.
30816
15cc7dd1
UD
30817 [BZ #12766]
30818 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30819 point to strings before performing equality test for error_one_per_line
30820 mode.
30821
f3799213
UD
30822 [BZ #11697]
30823 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30824
d79a9c94
UD
30825 [BZ #11820]
30826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30827 (struct user_fpregs_struct): Avoid __uint*_t types.
30828
56e5eb46
UD
30829 [BZ #6420]
30830 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30831 symbol info. Use it instead of calling _dl_addr locally.
30832 (lock_and_info): New function.
30833 (tr_freehook): Call lock_and_info and pass symbol info as additional
30834 parameter to tr_where.
30835 (tr_mallochook): Likewise.
30836 (tr_reallochook): Likewise.
30837 (tr_memalignhook): Likewise.
30838
6ce75379
UD
30839 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30840 used and couldn't be at all thread-safe.
30841
f8a3b5bf
UD
308422011-05-15 Ulrich Drepper <drepper@gmail.com>
30843
94b7cc37
UD
30844 * libio/freopen.c (freopen): Don't close old file descriptor
30845 before the new one is opened. Instead dup the new file descriptor
30846 to the old one after the new stream is created.
30847 * libio/freopen64.c (freopen64): Likewise.
30848 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30849 * libio/fileops.c (_IO_new_file_close_it): Handle new
30850 _IO_FLAGS2_NOCLOSE flag.
30851 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30852 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30853 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30854 _IO_FLAGS2_NOCLOSE flag.
30855 * include/unistd.h: Add hidden_proto for dup3.
30856 Define __have_dup3.
30857 * io/dup3.c: Define hidden symbol.
30858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30859
bd25564e
UD
30860 [BZ #7101]
30861 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30862 when an incomplete long option is used.
30863 * posix/tst-getopt_long1.c: New file.
30864 * posix/Makefile (tests): Add tst-getopt_long1.
30865
c84cfef4
UD
30866 [BZ #10138]
30867 * scripts/config.guess: Update from autoconf-2.68.
30868 * scripts/config.sub: Likewise.
30869
3b85df27
UD
30870 [BZ #10157]
30871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30872 tests into ...
30873 (has_cpuclock): ...this. New function.
30874 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30875 macro here based on has_cpuclock code.
30876
15a856b1
UD
30877 [BZ #10149]
30878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30879 First byte (not low byte) is now always NUL.
30880 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30881
05f399e6
UD
30882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30883 Use non-cancelable interfaces.
30884
10a52685 30885 [BZ #9809]
94ecc67d
UD
30886 * locale/iso-639.def: Add entry for Sorani.
30887
f8a3b5bf
UD
30888 [BZ #11901]
30889 * include/stdlib.h: Move include protection to the right place.
30890 Define abort_msg_s. Declare __abort_msg with it.
30891 * stdlib/abort.c (__abort_msg): Adjust type.
30892 * assert/assert.c (__assert_fail_base): New function. Majority
30893 of code from __assert_fail. Allocate memory for __abort_msg with
30894 mmap.
30895 (__assert_fail): Now call __assert_fail_base.
30896 * assert/assert-perr.c: Remove bulk of implementation. Use
30897 __assert_fail_base.
30898 * include/assert.hL Declare __assert_fail_base.
30899 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30900 mmap.
30901 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30902
1af4e298
UD
309032011-05-14 Ulrich Drepper <drepper@gmail.com>
30904
f8a3b5bf 30905 [BZ #11952]
d26dfc60
MG
30906 [BZ #12453]
30907 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30908 until all modules are registered in the DTV.
30909 * elf/Makefile: Add rules to build and run tst-tls19.
30910 * elf/tst-tls19.c: New file.
30911 * elf/tst-tls19mod1.c: New file.
30912 * elf/tst-tls19mod2.c: New file.
30913 * elf/tst-tls19mod3.c: New file.
30914 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30915
2fc54d6f
UD
30916 [BZ #12083]
30917 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30918 correctly.
30919
98d76b46
UD
30920 [BZ #12601]
30921 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30922 two-byte sequence errors.
30923 * iconvdata/Makefile (tests): Add bug-iconv8.
30924 * iconvdata/bug-iconv8.c: New file.
30925
da3c19ef
UD
30926 [BZ #12626]
30927 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30928 buf2 definition.
30929
ca408c15
UD
30930 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30931
d6f67f7d
UD
30932 [BZ #12432]
30933 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30934 (dummy_getcfa): New function.
30935 (init): Get _Unwind_GetCFA address, use dummy if not found.
30936 (backtrace_helper): In recursion check, also check whether CFA changes.
30937 (__backtrace): Completely initialize arg.
30938
1af4e298 30939 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30940 storing incomplete byte sequence in state object. Avoid testing for
30941 guaranteed too small input if we know there is enough data available.
1af4e298 30942
da62f81b
AS
309432011-05-11 Andreas Schwab <schwab@redhat.com>
30944
30945 * Makeconfig (+link-pie): Indent.
30946 * Rules (binaries-pie): Define if $(have-fpie) and
30947 $(build-shared).
30948 (binaries-shared): Also filter out $(binaries-pie).
30949 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30950 * nscd/Makefile (others-pie): Add nscd.
30951 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30952 ($(objpfx)nscd): Remove command override.
30953 * login/Makefile (others-pie): Add pt_chown.
30954 ($(objpfx)pt_chown): Remove command override.
30955 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30956 remove command overrides.
30957
fcabc0f8
UD
309582011-05-13 Ulrich Drepper <drepper@gmail.com>
30959
20030ae6
UD
30960 * libio/tst_putwc.c: Fix error messages.
30961
fcabc0f8
UD
30962 [BZ #12724]
30963 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30964 currently writing and seek to current position when not.
30965 * libio/Makefile (tests): Add bug-fclose1.
30966 * libio/bug-fclose1.c: New file.
30967
320a5dc0
PB
309682011-05-12 Ulrich Drepper <drepper@gmail.com>
30969
30970 [BZ #12511]
30971 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30972 don't set DF_1_NODELETE here.
30973 (do_lookup_x): When entering new entry test for copy relocation
30974 and if necessary set DF_1_NODELETE flag.
30975 * elf/tst-unique4.cc: New file.
30976 * elf/tst-unique4.h: New file.
30977 * elf/tst-unique4lib.cc: New file.
30978 * elf/Makefile: Add rules to build and run tst-unique4.
30979 Patch by Piotr Bury <pbury@goahead.com>.
30980
22836f52
UD
309812011-05-11 Ulrich Drepper <drepper@gmail.com>
30982
f574184a
UD
30983 [BZ #12052]
30984 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30985
e1fb097f
UD
30986 [BZ #12625]
30987 * misc/mntent_r.c (addmntent): Flush the stream after the output
30988
22836f52
UD
30989 [BZ #12393]
30990 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30991 (is_trusted_path_normalize): Skip initial colon. Append slash
30992 to empty buffer. Duplicate is_trusted_path code but allow
30993 constructed patch to be prefix.
30994 (is_dst): Allow $ORIGIN followed by /.
30995 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30996 Correct testing of result of is_trusted_path_normalize
30997 (decompose_rpath): Fix warning.
30998
7b3b0b2a
UD
309992011-05-10 Ulrich Drepper <drepper@gmail.com>
31000
31001 [BZ #11257]
31002 * grp/initgroups.c (internal_getgrouplist): When we found the service
31003 list through the initgroups entry in nsswitch.conf do not always
31004 continue on a successful lookup. Don't always use the
eac80ce2 31005 __nss_group_database value if it is set.
7b3b0b2a
UD
31006 * nss/nsswitch.conf (initgroups): Change action for successful db
31007 lookup to continue for compatibility.
31008
2a81eaa5
UD
310092011-05-09 Ulrich Drepper <drepper@gmail.com>
31010
be97a69e
UD
31011 [BZ #11532]
31012 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31013 and CP774 modules.
31014 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31015 and CP774 modules.
31016 * iconvdata/tst-tables.sh: Likewise.
31017 * iconvdata/cp770.c: New file.
31018 * iconvdata/cp771.c: New file.
31019 * iconvdata/cp772.c: New file.
31020 * iconvdata/cp773.c: New file.
31021 * iconvdata/cp774.c: New file.
31022 * iconvdata/testdata/CP770: New file.
31023 * iconvdata/testdata/CP770..UTF8: New file.
31024 * iconvdata/testdata/CP771: New file.
31025 * iconvdata/testdata/CP771..UTF8: New file.
31026 * iconvdata/testdata/CP772: New file.
31027 * iconvdata/testdata/CP772..UTF8: New file.
31028 * iconvdata/testdata/CP773: New file.
31029 * iconvdata/testdata/CP773..UTF8: New file.
31030 * iconvdata/testdata/CP774: New file.
31031 * iconvdata/testdata/CP774..UTF8: New file.
31032
31033 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31034 END CHARMAP line.
31035 * iconvdata/gen-8bit-gap.sh: Likewise.
31036 * iconvdata/gen-8bit.sh: Likewise.
31037
c1e9e399
UD
31038 * locale/iso-639.def: Add ary entry.
31039
24c55fb3 31040 [BZ #11258]
96b4b1b0
UD
31041 * locale/C-translit.h.in: Add U20A1 transliteration.
31042
bdc2f971
KB
31043 [BZ #12178]
31044 * locale/iso-639.def: Add wae entry.
31045 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31046
2952b117
UD
31047 [BZ #12545]
31048 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31049 for n.
31050
2a81eaa5
UD
31051 [BZ #12711]
31052 * locale/C-translit.h.in: Add entry for U20B9.
31053 Patch by pravin.d.s@gmail.com.
31054
28377d1b
UD
310552011-05-08 Ulrich Drepper <drepper@gmail.com>
31056
7fb90fb8
UD
31057 [BZ #12713]
31058 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31059 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31060 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31061 in rtld. Use *stat64.
7fb90fb8 31062 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31063 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31064 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31065 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31066 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31067 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31068 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31069 __fstatat64 macros.
7fb90fb8
UD
31070 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31071 * dirent/rewinddir.c: Add libc_hidden_def.
31072 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31073 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31074
28377d1b
UD
31075 * include/dirent.h (__alloc_dir): Add flags parameter.
31076 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31077 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31078 __alloc_dir.
31079 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31080 from fdopendir if O_CLOEXEC is already set.
31081
66bdbaa4
AM
310822011-03-15 Alan Modra <amodra@gmail.com>
31083
31084 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31085 l_tls_firstbyte_offset non-zero. Save padding offset in
31086 l_tls_firstbyte_offset for later use.
31087 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31088 freeing static tls block.
31089
95721191
JN
310902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31091
31092 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31093 where #ifdef was intended. The intent is to prevent ARG_MAX from
31094 being defined by the kernel headers.
31095
f87dfb1f
UD
310962011-05-07 Ulrich Drepper <drepper@gmail.com>
31097
31098 [BZ #12734]
31099 * resolv/resolv.h: Define RES_NOTLDQUERY.
31100 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31101 no-tld-query and set RES_NOTLDQUERY.
31102 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31103 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31104 modern BIND to search name as TLD unless forbidden.
31105
47c3cd7a
UD
311062011-05-07 Petr Baudis <pasky@suse.cz>
31107 Ulrich Drepper <drepper@gmail.com>
31108
31109 [BZ #12393]
31110 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31111 (is_trusted_path): ...to here.
c1e9ea35 31112 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31113 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31114 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31115
8a35c912
PP
311162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31117
31118 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31119 __BEGIN/__END_DECLS.
31120
acd41f47
UD
311212011-05-06 Ulrich Drepper <drepper@gmail.com>
31122
31123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31124 NSS_STATUS_NOTFOUND if no record was found.
31125
597df647
AS
311262011-05-05 Andreas Schwab <schwab@redhat.com>
31127
31128 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31129 (headers-not-in-tirpc): Remove rpc/netdb.h
31130 * resolv/netdb.h: Revert last change.
31131
b9af1301
PP
311322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31133
31134 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31135 circular dependency between libgcc.a and libc.a.
31136
4e34d5f5
AS
311372011-05-05 Andreas Schwab <schwab@redhat.com>
31138
31139 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31140 * nis/Makefile: Don't install rpcsvc/*.
31141 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31142 instead of <rpc/types.h>.
31143 (MAXHOSTNAMELEN): Define.
31144
00ee369c
AS
311452011-05-03 Andreas Schwab <schwab@redhat.com>
31146
31147 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31148
0b592a30
MB
311492011-04-28 Maciej Babinski <mbabinski@google.com>
31150
31151 [BZ #12714]
31152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31153 gethostbyname4_r when IPv6 results are possible.
31154
6e04cbbe
UD
311552011-05-02 Ulrich Drepper <drepper@gmail.com>
31156
31157 [BZ #12723]
31158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31159 _PC_PIPE_BUF handling.
31160
e4ecafe0
BH
311612011-04-30 Bruno Haible <bruno@clisp.org>
31162
31163 [BZ #12717]
31164 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31165 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31166 to 'int'.
31167 * inet/getnameinfo.c (getnameinfo): Likewise.
31168
125ee683
UD
311692011-04-29 Ulrich Drepper <drepper@gmail.com>
31170
31171 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31172 to groups setting in database lookup.
31173 * nss/nsswitch.conf: Add initgroups entry.
31174
b722481a
EB
311752011-04-22 Ulrich Drepper <drepper@gmail.com>
31176
31177 [BZ #12685]
31178 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31179 mode string.
31180 Patch by Eric Blake <eblake@redhat.com>.
31181
4df46dbd
L
311822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31183
31184 * sunrpc/Makefile (need-export-routines): Add svc_run.
31185 (routines): Remove svc_run.
31186 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31187 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31188 * sunrpc/svc_run.c (svc_run): Likewise.
31189 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31190
e84142d2
UD
311912011-04-21 Ulrich Drepper <drepper@gmail.com>
31192
31193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31194 problem in reallocation in last patch.
31195
877175d8
UD
311962011-04-20 Ulrich Drepper <drepper@gmail.com>
31197
31198 * sunrpc/Makefile: Move inclusion of Rules.
31199
ab8eed78
UD
312002011-04-19 Ulrich Drepper <drepper@gmail.com>
31201
31202 * nss/nss_files/files-initgroups.c: New file.
31203 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31204 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31205 _nss_files_initgroups_dyn.
31206
e3d8f584
RS
312072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31208
31209 * elf/elf.h (R_ARM_IRELATIVE): Define.
31210
af190f45
UD
312112011-04-19 Ulrich Drepper <drepper@gmail.com>
31212
31213 * po/ru.po: Update from translation team.
31214
53cf59ef
UD
312152011-04-17 Ulrich Drepper <drepper@gmail.com>
31216
31217 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31218 dependencies.
31219
4c559bcd
MF
312202011-02-06 Mike Frysinger <vapier@gentoo.org>
31221
31222 [BZ #12653]
31223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31224 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31228
4420675c
AS
312292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31230
31231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31232 differing bytes.
31233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31236
75ea32ab
UD
312372011-04-17 Ulrich Drepper <drepper@gmail.com>
31238
31239 [BZ #12420]
31240 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31241 storing it.
31242 * stdlib/bug-getcontext.c: New file.
31243 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31244
27390476
AK
312452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31246
31247 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31248 instructions into .machine "z9-109".
31249 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31250 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31251
10442705
AK
312522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31253
31254 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31255 between environment variables and auxiliary vector.
31256
7b57bfe5
UD
312572011-04-16 Ulrich Drepper <drepper@gmail.com>
31258
31259 * Makefile: Add rules to build linkobj/libc.so.
31260 * include/libc-symbols.h: Define libc_hidden_nolink.
31261 * include/rpc/auth.h: Mark functions which are to be hidden.
31262 * include/rpc/auth_des.h: Likewise.
31263 * include/rpc/auth_unix.h: Likewise.
31264 * include/rpc/clnt.h: Likewise.
31265 * include/rpc/des_crypt.h: Likewise.
31266 * include/rpc/key_prot.h: Likewise.
31267 * include/rpc/pmap_clnt.h: Likewise.
31268 * include/rpc/pmap_prot.h: Likewise.
31269 * include/rpc/pmap_rmt.h: Likewise.
31270 * include/rpc/rpc_msg.h: Likewise.
31271 * include/rpc/svc.h: Likewise.
31272 * include/rpc/svc_auth.h: Likewise.
31273 * include/rpc/xdr.h: Likewise.
31274 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31275 * nss/Makefile: Likewise.
31276 * sunrpc/Makefile: Don't install headers. Build library with normal
31277 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31278 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31279 for the compat linking library. Remove use of INTDEF/INTUSE.
31280 * sunrpc/auth_none.c: Likewise.
31281 * sunrpc/auth_unix.c: Likewise.
31282 * sunrpc/authdes_prot.c: Likewise.
31283 * sunrpc/authuxprot.c: Likewise.
31284 * sunrpc/clnt_gen.c: Likewise.
31285 * sunrpc/clnt_perr.c: Likewise.
31286 * sunrpc/clnt_raw.c: Likewise.
31287 * sunrpc/clnt_simp.c: Likewise.
31288 * sunrpc/clnt_tcp.c: Likewise.
31289 * sunrpc/clnt_udp.c: Likewise.
31290 * sunrpc/clnt_unix.c: Likewise.
31291 * sunrpc/des_crypt.c: Likewise.
31292 * sunrpc/des_soft.c: Likewise.
31293 * sunrpc/get_myaddr.c: Likewise.
31294 * sunrpc/key_call.c: Likewise.
31295 * sunrpc/key_prot.c: Likewise.
31296 * sunrpc/netname.c: Likewise.
31297 * sunrpc/pm_getmaps.c: Likewise.
31298 * sunrpc/pm_getport.c: Likewise.
31299 * sunrpc/pmap_clnt.c: Likewise.
31300 * sunrpc/pmap_prot.c: Likewise.
31301 * sunrpc/pmap_prot2.c: Likewise.
31302 * sunrpc/pmap_rmt.c: Likewise.
31303 * sunrpc/publickey.c: Likewise.
31304 * sunrpc/rpc_cmsg.c: Likewise.
31305 * sunrpc/rpc_common.c: Likewise.
31306 * sunrpc/rpc_dtable.c: Likewise.
31307 * sunrpc/rpc_prot.c: Likewise.
31308 * sunrpc/rpc_thread.c: Likewise.
31309 * sunrpc/rtime.c: Likewise.
31310 * sunrpc/svc.c: Likewise.
31311 * sunrpc/svc_auth.c: Likewise.
31312 * sunrpc/svc_authux.c: Likewise.
31313 * sunrpc/svc_raw.c: Likewise.
31314 * sunrpc/svc_run.c: Likewise.
31315 * sunrpc/svc_simple.c: Likewise.
31316 * sunrpc/svc_tcp.c: Likewise.
31317 * sunrpc/svc_udp.c: Likewise.
31318 * sunrpc/svc_unix.c: Likewise.
31319 * sunrpc/svcauth_des.c: Likewise.
31320 * sunrpc/xcrypt.c: Likewise.
31321 * sunrpc/xdr.c: Likewise.
31322 * sunrpc/xdr_array.c: Likewise.
31323 * sunrpc/xdr_float.c: Likewise.
31324 * sunrpc/xdr_intXX_t.c: Likewise.
31325 * sunrpc/xdr_mem.c: Likewise.
31326 * sunrpc/xdr_rec.c: Likewise.
31327 * sunrpc/xdr_ref.c: Likewise.
31328 * sunrpc/xdr_sizeof.c: Likewise.
31329 * sunrpc/xdr_stdio.c: Likewise.
31330
e6c61494
UD
313312011-04-10 Ulrich Drepper <drepper@gmail.com>
31332
31333 [BZ #12650]
31334 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31335 * sysdeps/ia64/dl-tls.h: Likewise.
31336 * sysdeps/powerpc/dl-tls.h: Likewise.
31337 * sysdeps/s390/dl-tls.h: Likewise.
31338 * sysdeps/sh/dl-tls.h: Likewise.
31339 * sysdeps/sparc/dl-tls.h: Likewise.
31340 * sysdeps/x86_64/dl-tls.h: Likewise.
31341 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31342
34fe483e
AS
313432011-03-14 Andreas Schwab <schwab@redhat.com>
31344
31345 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31346 rpath element also skip the following colon.
31347 (expand_dynamic_string_token): Add is_path parameter and pass
31348 down to DL_DST_REQUIRED and _dl_dst_substitute.
31349 (decompose_rpath): Call expand_dynamic_string_token with
31350 non-zero is_path. Ignore empty rpaths.
31351 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31352 with zero is_path.
31353
f12a32e6
AS
313542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31355
31356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31357 Make cancelable.
31358
38a7d692
UD
313592011-04-09 Ulrich Drepper <drepper@gmail.com>
31360
31361 [BZ #12655]
31362 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31363 Patch by Filipe David Manana <fdmanana@apache.org>.
31364
e451d22b
AS
313652011-04-07 Andreas Schwab <schwab@redhat.com>
31366
31367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31368 Maintain aligned stack.
31369 (CHECK_RSP): Remove unused macro.
31370
dedc7c7b
UD
313712011-04-03 Ulrich Drepper <drepper@gmail.com>
31372
31373 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31375
94521213
UD
313762011-04-02 Ulrich Drepper <drepper@gmail.com>
31377
31378 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31379
8cb700c0 31380 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31381
0354e355
L
313822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31383
31384 [BZ #12518]
31385 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31386 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31387 * sysdeps/x86_64/memmove.c: New file.
31388 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31389 (memcpy): Renamed to ...
31390 (__new_memcpy): This.
31391 (memcpy): Provide GLIBC_2_14 memcpy.
31392 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31393 (memcpy): Provide GLIBC_2_2_5 memcpy.
31394
8593482f
UD
313952011-04-01 Ulrich Drepper <drepper@gmail.com>
31396
31397 [BZ #12631]
31398 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31399
81a5726b
AS
314002011-03-30 Andreas Schwab <schwab@redhat.com>
31401
31402 * misc/syncfs.c: New file.
31403 * misc/Makefile (routines): Add syncfs.
31404 * posix/unistd.h: Declare syncfs.
31405 * sysdeps/unix/syscalls.list: Add syncfs.
31406
00e5419f
AS
314072011-04-01 Andreas Schwab <schwab@redhat.com>
31408
31409 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31410 open_by_handle_at.
31411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31416 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31418
748876bf
UD
314192011-04-01 Ulrich Drepper <drepper@gmail.com>
31420
658e451d
UD
31421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31428
748876bf
UD
31429 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31430 sync_file_range.c with -fexceptions.
31431 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31432 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31433 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31434 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31435 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31436 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31438 sync_file_range as cancellation point
31439 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31440 now a wrapper around __call_sync_file_range with cancellation handling.
31441 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31443 function name to __call_sync_file_range.
31444 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31445 Add call_sync_file_range.
748876bf 31446
6e63d5e1
AS
314472011-04-01 Andreas Schwab <schwab@redhat.com>
31448
31449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31450 bits/timex.h.
6e63d5e1 31451
46998f74
UD
314522011-04-01 Ulrich Drepper <drepper@gmail.com>
31453
4c1423ed
UD
31454 * iconv/iconv.h: Fix typo in comment.
31455 * io/fcntl.h: Likewise.
31456 * libio/stdio.h: Likewise.
31457 * posix/spawn.h: Likewise.
31458 * posix/unistd.h: Likewise.
31459 * stdlib/stdlib.h: Likewise.
31460 * time/time.h: Likewise.
31461 * wcsmbs/wchar.h: Likewise.
31462
158648c0
UD
31463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31464 open_by_handle): Add.
31465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31466 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31467 Augment a few comments.
31468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31473 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31474 open_by_handle.
31475
46998f74
UD
31476 * io/fcntl.h (AT_EMPTY_PATH): Define.
31477
83fe108b
UD
314782011-03-30 Ulrich Drepper <drepper@gmail.com>
31479
31480 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31481 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31482 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31483 to...
31484 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31485 * Versions.def: Add GLIBC_2.14.
31486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31487 Export.
83fe108b 31488
bb242059
UD
314892011-03-22 Ulrich Drepper <drepper@gmail.com>
31490
31491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31492 round counter.
31493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31494
c97a1282
L
314952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31496
31497 [BZ #12597]
31498 * string/test-strncmp.c (do_page_test): New function.
31499 (check2): Likewise.
31500 (test_main): Call check2.
31501 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31502
2a115601
UD
315032011-03-20 Ulrich Drepper <drepper@gmail.com>
31504
31505 [BZ #12587]
31506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31507 Handle cache information in CPU leaf 4.
31508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31509
8126d904
UD
315102011-03-18 Ulrich Drepper <drepper@gmail.com>
31511
042c49c6 31512 [BZ #12583]
8126d904
UD
31513 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31514 character representation.
31515 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31516
ccfe366e
RA
315172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31518
31519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31520 END(__isnan) to END(__isnanf) to match function entry point/label
31521 EALIGN(__isnanf,...).
31522
c6e13027
JJ
315232011-03-10 Jakub Jelinek <jakub@redhat.com>
31524
31525 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31526
33f85a3f
UD
315272011-03-10 Ulrich Drepper <drepper@gmail.com>
31528
028478fa
UD
31529 [BZ #12510]
31530 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31531 copy from the symbol referenced in the relocation to initialize the
31532 used variable.
31533 Patch by Piotr Bury <pbury@goahead.com>.
31534 * elf/Makefile: Add rules to build and tst-unique3.
31535 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31536 * elf/tst-unique3.cc: New file.
31537 * elf/tst-unique3.h: New file.
31538 * elf/tst-unique3lib.cc: New file.
31539 * elf/tst-unique3lib2.cc: New file.
31540
33f85a3f
UD
31541 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31542
03592fc7
MF
315432011-03-10 Mike Frysinger <vapier@gentoo.org>
31544
31545 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31546 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31547 to _start.
03592fc7 31548
6a5ee102
UD
315492011-03-06 Ulrich Drepper <drepper@gmail.com>
31550
31551 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31552 to-be-loaded object along a path to loader is ld.so.
31553
7e4ba49c
HJ
315542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31555 Ulrich Drepper <drepper@gmail.com>
31556
31557 * sysdeps/x86_64/memset.S: After aligning destination, code
31558 branches to different locations depending on the value of
31559 misalignment, when multiarch is enabled. Fix this.
31560
315612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31562
31563 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31564 Set _x86_64_preferred_memory_instruction for AMD processsors.
31565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31566 Set bit_Prefer_SSE_for_memop for AMD processors.
31567
13a804de
UD
315682011-03-04 Ulrich Drepper <drepper@gmail.com>
31569
31570 * libio/fmemopen.c (fmemopen): Optimize a bit.
31571
9d25c392
AS
315722011-03-03 Andreas Schwab <schwab@redhat.com>
31573
31574 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31575
a5543c6a
RM
315762011-03-03 Roland McGrath <roland@redhat.com>
31577
31578 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31579
012d35f7
DM
315802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31581
7e4ba49c 31582 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31583 __bzero_ultra1 instead of __memset_ultra1.
31584
4bff6e01
AS
315852011-02-23 Andreas Schwab <schwab@redhat.com>
31586 Ulrich Drepper <drepper@gmail.com>
31587
31588 [BZ #12509]
31589 * include/link.h (struct link_map): Add l_orig_initfini.
31590 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31591 returning unsuccessfully.
31592 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31593 close of a file loaded at startup, restore the original l_initfini
31594 list.
31595 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31596 list, store the pointer.
31597 * elf/Makefile ($(objpfx)noload-mem): New rule.
31598 (noload-ENV): Define.
31599 (tests): Add $(objpfx)noload-mem.
31600 * elf/noload.c: Include <memcheck.h>.
31601 (main): Call mtrace. Close all opened handles.
31602
f2092faf
AS
316032011-02-17 Andreas Schwab <schwab@redhat.com>
31604
31605 [BZ #12454]
31606 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31607 dependencies are missing.
31608
6c8a2e88
ST
316092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31610
f2092faf 31611 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31612 Hurd needs munmap.
31613 * sysdeps/mach/hurd/ifreq.h: New file.
31614
84a42118
PB
316152011-01-27 Petr Baudis <pasky@suse.cz>
31616 Ulrich Drepper <drepper@gmail.com>
31617
071f805e 31618 [BZ 12445]#
84a42118
PB
31619 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31620 to extend_alloca().
31621 * stdio-common/bug23.c: New file.
31622 * stdio-common/Makefile (tests): Add bug23.
31623
e23fe25b
AS
316242010-09-28 Andreas Schwab <schwab@redhat.com>
31625 Ulrich Drepper <drepper@gmail.com>
31626
31627 [BZ #12489]
31628 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31629 before performing relro protection. At old place add assertion
31630 to make sure nothing changed.
31631
d3f02e10
NS
316322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31633 Glauber de Oliveira Costa <glommer@gmail.com>
31634
31635 * elf/elf.h: Add new ARM TLS relocs.
31636
d55fd7a5
RA
316372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31638
31639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31640 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31641 cast from r3.
31642 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31643 'tests' variable.
31644 * sysdeps/wordsize-64/tst-writev.c: New file.
31645
2206397e
RA
316462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31647
31648 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31649 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31650 insns in _dl_start to prevent a TOC reference before relocs are
31651 resolved.
31652
e9433893
UD
316532011-02-15 Ulrich Drepper <drepper@gmail.com>
31654
31655 [BZ #12469]
31656 * Makeconfig: Remove RANLIB definition.
31657 * Makerules: Don't use RANLIB.
31658 * aclocal.m4: Remove ranlib test.
31659 * configure.in: No need to check for ranlib.
31660 * elf/rtld-Rules: Don't use RANLIB.
31661
f75286c6
ST
316622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31663
8e31c82d
ST
31664 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31665 protection macro.
31666 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31667 inclusion protection macro.
31668
f75286c6
ST
31669 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31670 SIGRTMIN and SIGRTMAX and print information in that case only when
31671 SIGRTMIN is defined.
31672
c1d0e639
JJ
316732011-02-11 Jakub Jelinek <jakub@redhat.com>
31674
31675 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31676 arginfo fn returning -1.
31677
31678 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31679 and thousands string is zero terminated.
31680
edf9294e
AS
316812011-02-03 Andreas Schwab <schwab@redhat.com>
31682
31683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31684 sysdeps/unix/sysv/linux/bits/socket.h.
31685
2b7e92df
ST
316862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31687
edf9294e
AS
31688 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31689 (__CPU_COUNT): Remove old macros.
31690 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31691 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31692 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31693 (__sched_cpualloc, __sched_cpufree): Add declarations.
31694
a4c7ea7b
UD
316952011-02-05 Ulrich Drepper <drepper@gmail.com>
31696
31697 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31698 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31699 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31700 (readdhstai): Return value of addhstaiX call.
31701 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31702 (addgrbyX): Return value returned by cache_addgr.
31703 (readdgrbyname): Return value returned by addgrbyX.
31704 (readdgrbygid): Likewise.
31705 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31706 (addpwbyX): Return value returned by cache_addpw.
31707 (readdpwbyname): Return value returned by addhstbyX.
31708 (readdpwbyuid): Likewise.
31709 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31710 (addservbyX): Return value returned by cache_addserv.
31711 (readdservbyname): Return value returned by addservbyX:
31712 (readdservbyport): Likewise.
31713 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31714 (addhstbyX): Return value returned by cache_addhst.
31715 (readdhstbyname): Return value returned by addhstbyX.
31716 (readdhstbyaddr): Likewise.
31717 (readdhstbynamev6): Likewise.
31718 (readdhstbyaddrv6): Likewise.
31719 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31720 (readdinitgroups): Return value returned by addinitgroupsX.
31721 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31722 (prune_cache): Keep track of timeout value of re-added entries.
31723 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31724 * nscd/nscd.h: Adjust prototypes of readd* functions.
31725
a0bf67cc
RM
317262011-02-04 Roland McGrath <roland@redhat.com>
31727
31728 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31729 (nis_stats): Likewise.
31730 * nis/nis_modify.c (nis_modify): Likewise.
31731 * nis/nis_remove.c (nis_remove): Likewise.
31732 * nis/nis_add.c (nis_add): Likewise.
31733
31734 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31735
31736 * posix/fnmatch_loop.c: Add some consts.
31737
31738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31739
435b95eb
L
317402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 [BZ #12460]
31743 * config.make.in (config-cflags-novzeroupper): Define.
31744 * configure.in: Substitute libc_cv_cc_novzeroupper.
31745 * elf/Makefile (AVX-CFLAGS): Define.
31746 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31747 (CFLAGS-tst-auditmod4a.c): Likewise.
31748 (CFLAGS-tst-auditmod4b.c): Likewise.
31749 (CFLAGS-tst-auditmod6b.c): Likewise.
31750 (CFLAGS-tst-auditmod6c.c): Likewise.
31751 (CFLAGS-tst-auditmod7b.c): Likewise.
31752 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31753
8517b15e
UD
317542011-02-02 Ulrich Drepper <drepper@gmail.com>
31755
31756 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31757 function to the callback.
31758 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31759
10a656fe
AS
317602011-02-02 Andreas Schwab <schwab@redhat.com>
31761
31762 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31763 of errno.
31764
968dad0a
UD
317652011-01-19 Ulrich Drepper <drepper@gmail.com>
31766
9f94d2ea 31767 [BZ #11724]
968dad0a
UD
31768 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31769 of constructors.
31770 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31771 of destructors.
31772 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31773
31774 [BZ #11724]
31775 * elf/Makefile: Add rules to build and run new test.
31776 * elf/tst-initorder.c: New file.
31777 * elf/tst-initorder.exp: New file.
31778 * elf/tst-initordera1.c: New file.
31779 * elf/tst-initordera2.c: New file.
31780 * elf/tst-initordera3.c: New file.
31781 * elf/tst-initordera4.c: New file.
31782 * elf/tst-initorderb1.c: New file.
31783 * elf/tst-initorderb2.c: New file.
31784 * elf/tst-order-a1.c: New file.
31785 * elf/tst-order-a2.c: New file.
31786 * elf/tst-order-a3.c: New file.
31787 * elf/tst-order-a4.c: New file.
31788 * elf/tst-order-b1.c: New file.
31789 * elf/tst-order-b2.c: New file.
31790 * elf/tst-order-main.c: New file.
31791 New test case by George Gensure <werkt0@gmail.com>.
31792
86e92359
UD
317932010-10-01 Andreas Schwab <schwab@redhat.com>
31794
31795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31796 decoding ACE if AI_CANONIDN.
31797
5d5732b0
UD
317982011-01-18 Ulrich Drepper <drepper@gmail.com>
31799
31800 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31801
a77e8cbc
UD
318022011-01-17 Ulrich Drepper <drepper@gmail.com>
31803
6392473f
UD
31804 * version.h (RELEASE): Bump for 2.13 release.
31805 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31806
620a0529
UD
31807 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31808
18ba70a5
UD
31809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31810 MADV_NOHUGEPAGE.
32465c3e
UD
31811 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31817
c0dafcf1
UD
31818 * posix/getconf.c: Update copyright year.
31819 * catgets/gencat.c: Likewise.
31820 * csu/version.c: Likewise.
31821 * debug/catchsegv.sh: Likewise.
31822 * debug/xtrace.sh: Likewise.
31823 * elf/ldconfig.c: Likewise.
31824 * elf/ldd.bash.in: Likewise.
31825 * elf/sprof.c (print_version): Likewise.
31826 * iconv/iconv_prog.c: Likewise.
31827 * iconv/iconvconfig.c: Likewise.
31828 * locale/programs/locale.c: Likewise.
31829 * locale/programs/localedef.c: Likewise.
31830 * malloc/memusage.sh: Likewise.
31831 * malloc/mtrace.pl: Likewise.
31832 * nscd/nscd.c (print_version): Likewise.
31833 * nss/getent.c: Likewise.
31834
a77e8cbc
UD
31835 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31836 PF_CAIF, and PF_ALG.
31837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31838
77e8bddf
AS
318392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31840
1f20b93a
AS
31841 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31842 (modules-names): Use them.
31843 (ifunc-test-modules, ifunc-pie-tests): Define.
31844 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31845 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31846 (test-extras): Likewise.
31847 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31848 $(compile-command.c).
31849 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31850 (all-built-dso): Define.
31851 (check-textrel.out, check-execstack.out): Depend on it.
31852
77e8bddf
AS
31853 * configure.in: Don't override --enable-multi-arch.
31854
bc425b33
UD
318552011-01-15 Ulrich Drepper <drepper@gmail.com>
31856
31857 [BZ #6812]
31858 * nscd/hstcache.c (tryagain): Define.
31859 (cache_addhst): Return tryagain not notfound for temporary errors.
31860 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31861 failed.
31862
794c3ad3
UD
318632011-01-14 Ulrich Drepper <drepper@gmail.com>
31864
70181fdd
UD
31865 [BZ #10563]
31866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31867 to make the syscall.
31868 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31869
794c3ad3
UD
31870 [BZ #12378]
31871 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31872 and fall back to matching as normal character if the string ends before
31873 the matching ']' is found. This is what POSIX requires.
31874 * posix/testfnm.c: Adjust test result.
31875 * posix/globtest.sh: Adjust test result. Add new test.
31876 * posix/tst-fnmatch.input: Likewise.
31877 * posix/tst-fnmatch2.c: Add new test.
31878
68dc9497
AS
318792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31880
31881 * elf/Makefile (check-execstack): Revert last change. Depend on
31882 check-execstack.h.
31883 (check-execstack.h): New target.
31884 (generated): Add check-execstack.h.
31885 * elf/check-execstack.c: Include "check-execstack.h".
31886 (main): Revert last change.
31887 (handle_file): Return zero if GNU_STACK is absent and
31888 DEFAULT_STACK_PERMS doesn't include PF_X.
31889
451f001b
UD
318902011-01-13 Ulrich Drepper <drepper@gmail.com>
31891
cfa28e56
UD
31892 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31893 in child fails because the descriptor is already closed.
8cf8ce17
UD
31894 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31895 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31897
1086d70d
UD
31898 [BZ #12397]
31899 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31900 syscall.
31901
451f001b
UD
31902 [BZ #10484]
31903 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31904 temporary buffer used to handle multi lookups locally.
a85b5cb4 31905 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31906
08769175
UD
319072011-01-12 Ulrich Drepper <drepper@gmail.com>
31908
31909 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31910 loader is ld.so.
31911
5e49c52e
UD
319122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31913
31914 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31915 alignment for SSE2.
31916
60522a5f
UD
319172011-01-12 Ulrich Drepper <drepper@gmail.com>
31918
31919 [BZ #12394]
31920 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31921 characters. When rounding increased number of integer digits recompute
31922 number of groups.
31923 * stdio-common/tst-grouping.c: New file.
31924 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31925
f257bbd7
UD
319262011-01-09 Ulrich Drepper <drepper@gmail.com>
31927
31928 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31929 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31930
31931 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31932 void.
31933 * bits/select.h: Likewise.
31934
fa9c15cb
UD
319352011-01-08 Ulrich Drepper <drepper@gmail.com>
31936
31937 * po/ja.po: Update from translation team.
31938
16c2895f
DM
319392011-01-04 David S. Miller <davem@sunset.davemloft.net>
31940
31941 [BZ #11155]
31942 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31943 implementation just like for lxstat, fxstatat, et al.
31944
2543fef2
JM
319452010-12-27 Jim Meyering <meyering@redhat.com>
31946
31947 [BZ #12348]
31948 * posix/regexec.c (build_trtable): Return failure indication upon
31949 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31950
98727dbe
UD
319512010-12-25 Ulrich Drepper <drepper@gmail.com>
31952
5bd6dc5c
UD
31953 [BZ #12201]
31954 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31955 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31956 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31958
97983464
UD
31959 [BZ #12207]
31960 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31961
98727dbe
UD
31962 [BZ #12204]
31963 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31964 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31965
4a531bb0
L
319662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31969 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31970 script has SORT_BY_INIT_PRIORITY.
31971 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31972 NO_CTORS_DTORS_SECTIONS is defined.
31973 * elf/soinit.c: Likewise.
31974 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31975 NO_CTORS_DTORS_SECTIONS is defined.
31976 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31977 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31978 * sysdeps/sh/init-first.c: Likewise.
31979 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31980
07eb4b71
UD
319812010-12-24 Ulrich Drepper <drepper@gmail.com>
31982
31983 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31984 always use the slow path.
31985
30950a5f
RA
319862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31987
31988 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31989 similar rule which adds the sysdep directories to the header search in
31990 order to pick up the correct platform stackinfo.h.
31991 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31992 perform test if it is, otherwise return successfully without testing.
31993 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31994 DEFAULT_STACK_PERMS define in stackinfo.h.
31995 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31996 defined in stackinfo.h.
31997 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31998 DEFAULT_STACK_PERMS defined in stackinfo.h.
31999 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32000 * sysdeps/ia64/stackinfo.h: Likewise.
32001 * sysdeps/s390/stackinfo.h: Likewise.
32002 * sysdeps/sh/stackinfo.h: Likewise.
32003 * sysdeps/sparc/stackinfo.h: Likewise.
32004 * sysdeps/x86_64/stackinfo.h: Likewise.
32005 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32006 PF_X for powerpc64. Retain PF_X for powerpc32.
32007
db753e2c
UD
320082010-12-19 Ulrich Drepper <drepper@gmail.com>
32009
14b697f7
UD
32010 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32011 accurately.
db753e2c
UD
32012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32013 GETDENTS_64BIT_ALIGNED.
32014
28300719
UD
320152010-12-14 Ulrich Drepper <dreper@gmail.com>
32016
14b697f7 32017 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32018
4f197237
AS
320192010-12-10 Andreas Schwab <schwab@redhat.com>
32020
dbb0472f
AS
32021 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32022 _GNU_SOURCE.
32023
4f197237
AS
32024 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32025 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32026 Remove __restrict.
32027 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32028 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32029
fb88ac72
UD
320302010-12-09 Ulrich Drepper <drepper@gmail.com>
32031
32032 [BZ #11655]
32033 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32034 are initialized.
32035
42acbb92
JJ
320362010-12-09 Jakub Jelinek <jakub@redhat.com>
32037
32038 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32039
c038d98d
UD
320402010-12-03 Ulrich Drepper <drepper@gmail.com>
32041
32042 * po/it.po: Update from translation team.
32043
3a4a2499
L
320442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32047 unused codes.
32048
1e24cf6e
UD
320492010-11-30 Ulrich Drepper <drepper@gmail.com>
32050
32051 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32052
a7690819
AS
320532010-11-24 Andreas Schwab <schwab@redhat.com>
32054
32055 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32056 specially.
32057 (gaih_getanswer_slice): Likewise.
32058
3bf8d1b1
JJ
320592010-10-20 Jakub Jelinek <jakub@redhat.com>
32060
32061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32062
6db52fbb
PB
320632010-05-31 Petr Baudis <pasky@suse.cz>
32064
32065 [BZ #11149]
32066 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32067 silently even in the chroot mode.
32068
eaca7569
UD
320692010-11-22 Ulrich Drepper <drepper@gmail.com>
32070
32071 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32072 last patch a bit. Pretty printing
32073
3056dcdb
UD
320742010-05-31 Petr Baudis <pasky@suse.cz>
32075
32076 [BZ #10085]
32077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32078 initialization of skip_initgroups_dyn.
32079
cf7c9078
UD
320802010-11-19 Ulrich Drepper <drepper@gmail.com>
32081
32082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32084
a1fb5e3e
UD
320852010-11-16 Ulrich Drepper <drepper@gmail.com>
32086
32087 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32088
3540d66b
AS
320892010-11-11 Andreas Schwab <schwab@redhat.com>
32090
32091 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32092 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32093 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32094 ($(objpfx)tst-fnmatch-mem): New rule.
32095 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32096 * posix/tst-fnmatch.c (main): Call mtrace.
32097
13b69574
L
320982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32099
32100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32101 Support Intel processor model 6 and model 0x2c.
32102
da93d214
LM
321032010-11-10 Luis Machado <luisgpm@br.ibm.com>
32104
32105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32106 signed comparison.
32107
8ca52c6e
L
321082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32109
32110 [BZ #12205]
32111 * string/test-strncasecmp.c (check_result): New function.
32112 (do_one_test): Use it.
32113 (check1): New function.
32114 (test_main): Use it.
32115 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32116 Support strcasecmp and strncasecmp.
32117
69da074d
UD
321182010-11-08 Ulrich Drepper <drepper@gmail.com>
32119
32120 [BZ #12194]
32121 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32123
ff02d528
L
321242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32125
32126 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32127 IFUNC support.
32128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32129 memset-x86-64.
32130 * sysdeps/x86_64/multiarch/bzero.S: New file.
32131 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32132 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32133 * sysdeps/x86_64/multiarch/memset.S: New file.
32134 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32136 Set bit_Prefer_SSE_for_memop for Intel processors.
32137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32138 Define.
32139 (index_Prefer_SSE_for_memop): Define.
32140 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32141
344d0b54
LM
321422010-11-04 Luis Machado <luisgpm@br.ibm.com>
32143
32144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32145 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32146
c0dde15b
UD
321472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 [BZ #12191]
32150 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32151 (__x86_64_raw_data_cache_size_half): Likewise.
32152 (__x86_64_raw_shared_cache_size): Likewise.
32153 (__x86_64_raw_shared_cache_size_half): Likewise.
32154
32155 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32156 (__x86_64_raw_data_cache_size_half): Likewise.
32157 (__x86_64_raw_shared_cache_size): Likewise.
32158 (__x86_64_raw_shared_cache_size_half): Likewise.
32159 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32160 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32161 and __x86_64_raw_shared_cache_size_half. Round
32162 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32163 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32164 to multiple of 256 bytes.
32165
0e516e0e
MS
321662010-11-03 Ulrich Drepper <drepper@gmail.com>
32167
32168 [BZ #12167]
32169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32170 of inacessible symlinks. Verify result of symlink before returning it.
32171 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32172 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32173
0e012e87
ER
321742010-10-28 Erich Ritz <erichritz@gmail.com>
32175
32176 * math/math.h (isinf): Fix typo in comment.
32177
de0ff7bc
UD
321782010-11-01 Ulrich Drepper <drepper@gmail.com>
32179
32180 * po/da.po: Update from translation team.
32181
fa41c84d
UD
321822010-10-26 Ulrich Drepper <drepper@gmail.com>
32183
32184 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32185 is added to the list.
32186
f0967738
AK
321872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32188 Ulrich Drepper <drepper@gmail.com>
32189
32190 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32191 the global list here. Move code to...
32192 (_dl_add_to_namespace_list): ...here. New function.
32193 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32194 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32195 * elf/dl-load.c (lose): Don't remove the element from the list.
32196 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32197 (_dl_map_object): Likewise.
32198
321992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32200
32201 [BZ #12159]
32202 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32203 into all bytes of SSE register.
32204 Patch by Richard Li <richardpku@gmail.com>.
32205
f0967738 322062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32207
32208 [BZ #12140]
32209 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32210 perturbing.
32211
d0b9e94f
MB
322122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32213
32214 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32215 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32219 submachine.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32221
8e9f92e9
AS
322222010-10-22 Andreas Schwab <schwab@redhat.com>
32223
32224 * include/dlfcn.h (__RTLD_SECURE): Define.
32225 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32226 mode & __RTLD_SECURE instead.
32227 (open_path): Rename preloaded parameter to secure.
32228 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32229 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32230 * elf/dl-deps.c (openaux): Likewise.
32231 * elf/rtld.c (struct map_args): Remove is_preloaded.
32232 (map_doit): Don't use it.
32233 (dl_main): Likewise.
32234 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32235 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32236
bc96fbda
AS
322372010-09-09 Andreas Schwab <schwab@redhat.com>
32238
32239 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32240 (sysd-rules-targets): Remove duplicates.
32241 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32242 rtld-%.$o dependency.
32243
22cd1c9b
AS
322442010-10-18 Andreas Schwab <schwab@redhat.com>
32245
32246 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32247 _dl_map_object do it.
32248
18edac48
UD
322492010-10-19 Ulrich Drepper <drepper@gmail.com>
32250
32251 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32252 fast fma builtins, define the macros in the C99 standard.
32253 (FP_FAST_FMAF): Likewise.
32254 (FP_FAST_FMAL): Likewise.
32255 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32256
32257 * bits/mathdef.h: Update copyright year.
32258 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32259
d2050124
MM
322602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32261
32262 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32263 builtins, define the macros in the C99 standard.
32264 (FP_FAST_FMAF): Likewise.
32265 (FP_FAST_FMAL): Likewise.
32266 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32267 multiply/add.
32268 (FP_FAST_FMAF): Likewise.
32269
475facd1
JJ
322702010-10-15 Jakub Jelinek <jakub@redhat.com>
32271
32272 [BZ #3268]
32273 * math/libm-test.inc (fma_test): Some new testcases.
32274 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32276 y and infinite z. Do multiplication by C already in long double.
32277 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32279 y and infinite z. Do bitwise or of inexact bit into u.d.
32280 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32281 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32282 * sysdeps/i386/fpu/s_fma.S: Removed.
32283 * sysdeps/i386/fpu/s_fmal.S: Removed.
32284
7c08a05c
JJ
322852010-10-16 Jakub Jelinek <jakub@redhat.com>
32286
32287 [BZ #3268]
32288 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32290 computation is not scheduled after fetestexcept. Fix value
32291 of minimum denormal long double.
32292
f3f7372d
JJ
322932010-10-14 Jakub Jelinek <jakub@redhat.com>
32294
32295 [BZ #3268]
32296 * math/libm-test.inc (fma_test): Add some more tests.
32297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32298 correctly.
32299
14d43591
AS
323002010-10-15 Andreas Schwab <schwab@redhat.com>
32301
32302 * scripts/data/localplt-s390-linux-gnu.data: New file.
32303 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32304
5e908464
JJ
323052010-10-13 Jakub Jelinek <jakub@redhat.com>
32306
32307 [BZ #3268]
32308 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32309 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32310 instead of dbl-64.
32311 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32312 inlines.
32313 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32315 if one of x and y is very large and the other is subnormal.
32316 * sysdeps/s390/fpu/s_fmaf.c: New file.
32317 * sysdeps/s390/fpu/s_fma.c: New file.
32318 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32319 * sysdeps/powerpc/fpu/s_fma.S: New file.
32320 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32321 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32322 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32323
323242010-10-12 Jakub Jelinek <jakub@redhat.com>
32325
32326 [BZ #3268]
32327 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32328 fma tests.
32329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32330 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32331 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32332 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32333 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32334 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32335 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32336
b833d51f
UD
323372010-10-12 Ulrich Drepper <drepper@redhat.com>
32338
32339 [BZ #12078]
32340 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32341 * posix/bug-regex31.input: Add test case.
32342
1751705d
UD
323432010-10-11 Ulrich Drepper <drepper@gmail.com>
32344
e9b9cbf5
UD
32345 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32346 * posix/bug-regex31.input: New file.
32347
32348 [BZ #12078]
32349 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32350 (parse_sub_exp): Fix last change, use postorder.
32351
ef06edbe
UD
32352 * posix/bug-regex31.c: New file.
32353 * posix/Makefile: Add rules to build and run bug-regex31.
32354
a129c80d
UD
32355 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32356
32357 [BZ #12078]
32358 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32359
b76b818e
UD
32360 [BZ #12108]
32361 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32362 to have entries in sys_siglist.
32363
1751705d
UD
32364 [BZ #12093]
32365 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32366 be NULL.
32367
9ff8d36f
JJ
323682010-10-07 Jakub Jelinek <jakub@redhat.com>
32369
32370 [BZ #3268]
32371 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32372 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32373 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32374 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32375 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32376 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32377 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32378 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32379 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32380 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32381 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32382 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32383 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32384 * math/ftestexcept.c (fetestexcept): Likewise.
32385 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32386 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32387 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32388 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32389 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32390 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32391 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32392
af325969
UD
323932010-10-11 Ulrich Drepper <drepper@gmail.com>
32394
c579b202 32395 [BZ #12107]
af325969
UD
32396 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32397 newline.
32398
67a67b95
UD
323992010-10-06 Ulrich Drepper <drepper@gmail.com>
32400
32401 * string/bug-strstr1.c: New file.
32402 * string/Makefile: Add rules to build and run bug-strstr1.
32403
5fb308bc
EB
324042010-10-05 Eric Blake <eblake@redhat.com>
32405
32406 [BZ #12092]
32407 * string/str-two-way.h (two_way_long_needle): Always clear memory
32408 when skipping input due to the shift table.
32409
45db99c7
UD
324102010-10-03 Ulrich Drepper <drepper@gmail.com>
32411
3b111893
UD
32412 [BZ #12005]
32413 * malloc/mcheck.c: Handle large requests.
32414
45db99c7
UD
32415 [BZ #12077]
32416 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32417 for strncmp and strncasecmp.
32418 * string/stratcliff.c: Add tests for strcmp and strncmp.
32419 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32420
cf7a1eb8
NI
324212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32422
32423 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32424 __set_fpscr.
32425
6484ba5e
AJ
324262010-09-30 Andreas Jaeger <aj@suse.de>
32427
32428 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32429 (CGROUP_SUPER_MAGIC): Define.
32430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32431 Handle btrfs and cgroup file systems.
32432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32433 Likewise.
32434
91c42559
LM
324352010-09-27 Luis Machado <luisgpm@br.ibm.com>
32436
32437 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32438 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32439
87a97932
AK
324402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32441
32442 [BZ #12067]
32443 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32444 trying to locate the ELF header.
32445
c21cc9bc
AS
324462010-09-27 Andreas Schwab <schwab@redhat.com>
32447
32448 [BZ #11611]
32449 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32450 Mask out sign-bit copies when constructing f_fsid.
32451
315970f6
PB
324522010-09-24 Petr Baudis <pasky@suse.cz>
32453
32454 * debug/stack_chk_fail_local.c: Add missing licence exception.
32455 * debug/warning-nop.c: Likewise.
32456
1ac7a2c7
JM
324572010-09-15 Joseph Myers <joseph@codesourcery.com>
32458
32459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32460 implementing getdents64 using getdents syscall, set d_type if
32461 __ASSUME_GETDENTS32_D_TYPE.
32462
56801c50
AS
324632010-09-16 Andreas Schwab <schwab@redhat.com>
32464
32465 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32466 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32467
dda51327
UD
324682010-09-21 Ulrich Drepper <drepper@redhat.com>
32469
32470 [BZ #12037]
32471 * posix/unistd.h: Undo change of feature selection for ftruncate from
32472 2010-01-11.
32473
8ffcee4a
UD
324742010-09-20 Ulrich Drepper <drepper@redhat.com>
32475
a545ecd9 32476 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32477 detection.
32478
e24f0a8b
AS
324792010-09-20 Andreas Schwab <schwab@redhat.com>
32480
32481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32482 fanotify_mark.
32483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32484
7291c56f
AS
324852010-09-14 Andreas Schwab <schwab@redhat.com>
32486
32487 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32488 variables after CHECK_SP call.
32489 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32490
bc5fb037
AS
324912010-09-13 Andreas Schwab <schwab@redhat.com>
32492 Ulrich Drepper <drepper@redhat.com>
32493
32494 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32495 re-relocationg ld.so.
32496 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32497 _dl_init_paths call.
32498 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32499 here anymore.
32500
e66e7419
UD
325012010-09-14 Ulrich Drepper <drepper@redhat.com>
32502
32503 * resolv/res_init.c (__res_vinit): Count the default server we added.
32504
c044aa75
CLT
325052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32506 Ulrich Drepper <drepper@redhat.com>
32507
32508 [BZ #11968]
32509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32510 (____longjmp_chk): Use %ebx for saving value across system call.
32511 Add unwind info.
32512
32cf4069
AS
325132010-09-06 Andreas Schwab <schwab@redhat.com>
32514
32515 * manual/Makefile: Don't mix pattern rules with normal rules.
32516
817328ee
AS
325172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32518
32519 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32520 operation.
32521 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32522 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32523 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32524 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32526 Likewise.
32527
29fddf61
UD
325282010-09-04 Ulrich Drepper <drepper@redhat.com>
32529
32530 [BZ #11979]
32531 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32532 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32533
0959ffc9
UD
325342010-09-02 Ulrich Drepper <drepper@redhat.com>
32535
32536 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32537 * sysdeps/x86_64/addmul_1.S: Likewise.
32538 * sysdeps/x86_64/lshift.S: Likewise.
32539 * sysdeps/x86_64/mul_1.S: Likewise.
32540 * sysdeps/x86_64/rshift.S: Likewise.
32541 * sysdeps/x86_64/sub_n.S: Likewise.
32542 * sysdeps/x86_64/submul_1.S: Likewise.
32543
ece29840
ST
325442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32545
0959ffc9
UD
32546 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32547 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32548 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32549 * bits/sched.h [__need_schedparam]
ece29840 32550 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32551 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32552 (__defined_schedparam): Define to 1.
ece29840
ST
32553 (__sched_param): New structure, identical to sched_param.
32554 (__need_schedparam): Undefine.
32555
e53a31fe
MF
325562010-08-31 Mike Frysinger <vapier@gentoo.org>
32557
fdc0c10d
MF
32558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32559 (epoll_create1): Declare.
32560
e53a31fe
MF
32561 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32562
a726d796
AS
325632010-08-31 Andreas Schwab <schwab@redhat.com>
32564
32565 [BZ #7066]
32566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32567 shifting retval into place.
32568
2f3e3dc7
UD
325692010-09-01 Ulrich Drepper <drepper@redhat.com>
32570
f2933da9
UD
32571 * nis/rpcsvc/nis.h: Update copyright notice.
32572 * nis/rpcsvc/nis.x: Likewise.
32573 * nis/rpcsvc/nis_callback.h: Likewise.
32574 * nis/rpcsvc/nis_callback.x: Likewise.
32575 * nis/rpcsvc/nis_object.x: Likewise.
32576 * nis/rpcsvc/nis_tags.h: Likewise.
32577 * nis/rpcsvc/yp.h: Likewise.
32578 * nis/rpcsvc/yp.x: Likewise.
32579 * nis/rpcsvc/ypupd.h: Likewise.
32580 * nis/yp_xdr.c: Likewise.
32581 * nis/ypupdate_xdr.c: Likewise.
32582
2f3e3dc7
UD
32583 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32584 mainly the body of pmap_getport. Add parameters to specify timeouts.
32585 (pmap_getport): Use __libc_rpc_getport.
32586 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32587 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32588 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32589
f3dcc2f9
AS
325902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32591
32592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32593 fanotify_mark.
32594
6d34eb5b
RM
325952010-08-27 Roland McGrath <roland@redhat.com>
32596
32597 * sysdeps/i386/i686/multiarch/Makefile
32598 (CFLAGS-varshift.c): New variable.
32599
9ea3de11
UD
326002010-08-27 Ulrich Drepper <drepper@redhat.com>
32601
c96d23fc
UD
32602 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32603 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32604
9ea3de11
UD
32605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32606
32607 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32608
623aac7f
L
326092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 * sysdeps/x86_64/strlen.S: Unroll the loop.
32612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32613 strlen-sse2 strlen-sse2-bsf.
32614 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32615 __strlen_no_bsf if bit_Slow_BSF is set.
32616 (__strlen_sse42): Removed.
32617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32618 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32619
8b2b7715
RM
326202010-08-25 Roland McGrath <roland@redhat.com>
32621
32622 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32623 * sysdeps/x86_64/multiarch/varshift.c: New file.
32624 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32625 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32626 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32627 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32628
e73015f2
L
326292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32632 strlen-sse2 strlen-sse2-bsf.
32633 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32634 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32635 (__strlen_sse2): Removed.
32636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32639 bit_Slow_BSF for Atom.
32640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32641 (index_Slow_BSF): Define.
32642 (HAS_SLOW_BSF): Define.
32643
df24a73e
UD
326442010-08-25 Ulrich Drepper <drepper@redhat.com>
32645
32646 [BZ #10851]
32647 * resolv/res_init.c (__res_vinit): When no server address at all
32648 is given default to loopback.
32649
f2ac4868
RM
326502010-08-24 Roland McGrath <roland@redhat.com>
32651
09055553
RM
32652 * configure.in: Remove config-name.h generation.
32653 * configure: Regenerated.
32654 * config-name.in: File removed.
32655 * scripts/config-uname.sh: New file.
32656 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32657 ($(objdir)config-name.h): New target.
32658
f2ac4868
RM
32659 * sunrpc/rpc_parse.h: Avoid nested comment.
32660
73f27d5e
RH
326612010-08-24 Richard Henderson <rth@redhat.com>
32662 Ulrich Drepper <drepper@redhat.com>
32663 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32667 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32668 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32669 _mm_alignr_epi8 with _mm_loadu_si128.
32670 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32671 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32672 (__m128i_shift_right): Removed.
32673 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32674 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32675 * sysdeps/x86_64/multiarch/varshift.h: New file.
32676 * sysdeps/x86_64/multiarch/varshift.S: New file.
32677
84b9230c
MF
326782010-08-21 Mike Frysinger <vapier@gentoo.org>
32679
32680 * configure.in: Move assembler checks to before sysdep dir checking.
32681
9bbd0ddc
PB
326822010-08-20 Petr Baudis <pasky@suse.cz>
32683
32684 * LICENSES: Sync the sunrpc license.
32685
9da4bb31
UD
326862010-08-19 Ulrich Drepper <drepper@redhat.com>
32687
a7ab6ec8
UD
32688 * sunrpc/auth_des.c: Update copyright notice once again.
32689 * sunrpc/auth_none.c: Likewise.
32690 * sunrpc/auth_unix.c: Likewise.
32691 * sunrpc/authdes_prot.c: Likewise.
32692 * sunrpc/authuxprot.c: Likewise.
32693 * sunrpc/bindrsvprt.c: Likewise.
32694 * sunrpc/clnt_gen.c: Likewise.
32695 * sunrpc/clnt_perr.c: Likewise.
32696 * sunrpc/clnt_raw.c: Likewise.
32697 * sunrpc/clnt_simp.c: Likewise.
32698 * sunrpc/clnt_tcp.c: Likewise.
32699 * sunrpc/clnt_udp.c: Likewise.
32700 * sunrpc/clnt_unix.c: Likewise.
32701 * sunrpc/des_crypt.c: Likewise.
32702 * sunrpc/des_soft.c: Likewise.
32703 * sunrpc/get_myaddr.c: Likewise.
32704 * sunrpc/getrpcport.c: Likewise.
32705 * sunrpc/key_call.c: Likewise.
32706 * sunrpc/key_prot.c: Likewise.
32707 * sunrpc/openchild.c: Likewise.
32708 * sunrpc/pm_getmaps.c: Likewise.
32709 * sunrpc/pm_getport.c: Likewise.
32710 * sunrpc/pmap_clnt.c: Likewise.
32711 * sunrpc/pmap_prot.c: Likewise.
32712 * sunrpc/pmap_prot2.c: Likewise.
32713 * sunrpc/pmap_rmt.c: Likewise.
32714 * sunrpc/rpc/auth.h: Likewise.
32715 * sunrpc/rpc/auth_unix.h: Likewise.
32716 * sunrpc/rpc/clnt.h: Likewise.
32717 * sunrpc/rpc/des_crypt.h: Likewise.
32718 * sunrpc/rpc/key_prot.h: Likewise.
32719 * sunrpc/rpc/netdb.h: Likewise.
32720 * sunrpc/rpc/pmap_clnt.h: Likewise.
32721 * sunrpc/rpc/pmap_prot.h: Likewise.
32722 * sunrpc/rpc/pmap_rmt.h: Likewise.
32723 * sunrpc/rpc/rpc.h: Likewise.
32724 * sunrpc/rpc/rpc_des.h: Likewise.
32725 * sunrpc/rpc/rpc_msg.h: Likewise.
32726 * sunrpc/rpc/svc.h: Likewise.
32727 * sunrpc/rpc/svc_auth.h: Likewise.
32728 * sunrpc/rpc/types.h: Likewise.
32729 * sunrpc/rpc/xdr.h: Likewise.
32730 * sunrpc/rpc_clntout.c: Likewise.
32731 * sunrpc/rpc_cmsg.c: Likewise.
32732 * sunrpc/rpc_common.c: Likewise.
32733 * sunrpc/rpc_cout.c: Likewise.
32734 * sunrpc/rpc_dtable.c: Likewise.
32735 * sunrpc/rpc_hout.c: Likewise.
32736 * sunrpc/rpc_main.c: Likewise.
32737 * sunrpc/rpc_parse.c: Likewise.
32738 * sunrpc/rpc_parse.h: Likewise.
32739 * sunrpc/rpc_prot.c: Likewise.
32740 * sunrpc/rpc_sample.c: Likewise.
32741 * sunrpc/rpc_scan.c: Likewise.
32742 * sunrpc/rpc_scan.h: Likewise.
32743 * sunrpc/rpc_svcout.c: Likewise.
32744 * sunrpc/rpc_tblout.c: Likewise.
32745 * sunrpc/rpc_util.c: Likewise.
32746 * sunrpc/rpc_util.h: Likewise.
32747 * sunrpc/rpcinfo.c: Likewise.
32748 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32749 * sunrpc/rpcsvc/key_prot.x: Likewise.
32750 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32751 * sunrpc/rpcsvc/mount.x: Likewise.
32752 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32753 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32754 * sunrpc/rpcsvc/rex.x: Likewise.
32755 * sunrpc/rpcsvc/rstat.x: Likewise.
32756 * sunrpc/rpcsvc/rusers.x: Likewise.
32757 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32758 * sunrpc/rpcsvc/spray.x: Likewise.
32759 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32760 * sunrpc/rtime.c: Likewise.
32761 * sunrpc/svc.c: Likewise.
32762 * sunrpc/svc_auth.c: Likewise.
32763 * sunrpc/svc_authux.c: Likewise.
32764 * sunrpc/svc_raw.c: Likewise.
32765 * sunrpc/svc_run.c: Likewise.
32766 * sunrpc/svc_simple.c: Likewise.
32767 * sunrpc/svc_tcp.c: Likewise.
32768 * sunrpc/svc_udp.c: Likewise.
32769 * sunrpc/svc_unix.c: Likewise.
32770 * sunrpc/svcauth_des.c: Likewise.
32771 * sunrpc/xcrypt.c: Likewise.
32772 * sunrpc/xdr.c: Likewise.
32773 * sunrpc/xdr_array.c: Likewise.
32774 * sunrpc/xdr_float.c: Likewise.
32775 * sunrpc/xdr_mem.c: Likewise.
32776 * sunrpc/xdr_rec.c: Likewise.
32777 * sunrpc/xdr_ref.c: Likewise.
32778 * sunrpc/xdr_sizeof.c: Likewise.
32779 * sunrpc/xdr_stdio.c: Likewise.
32780
9da4bb31
UD
32781 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32782 handling.
32783
bdaa77bc
AS
327842010-08-19 Andreas Schwab <schwab@redhat.com>
32785
32786 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32787
fe2f79db
LM
327882010-08-19 Luis Machado <luisgpm@br.ibm.com>
32789
32790 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32793 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32795 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32796 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32797 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32799 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32800 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32801 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32802 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32803 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32804
b9b42ee0
AB
328052010-07-26 Anton Blanchard <anton@samba.org>
32806
32807 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32808 * malloc/arena.c (heap_trim): Likewise.
32809
1c06ba31
UD
328102010-08-16 Ulrich Drepper <drepper@redhat.com>
32811
32812 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32813 here. Not...
32814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32815 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32816
f8392f40
L
328172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32818
32819 * sysdeps/i386/elf/Makefile: New file.
32820
3162f12e
AS
328212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32822
32823 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32824 from fanotify_init.
32825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32827
28c90b2c
UD
328282010-08-15 Ulrich Drepper <drepper@redhat.com>
32829
32830 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32831 of strncasecmp_l.
1feccb6c 32832 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32833
ca6bb004
UD
328342010-08-14 Ulrich Drepper <drepper@redhat.com>
32835
e9f82e0d
UD
32836 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32837 strncase_l-nonascii.
32838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32839 Add strncase_l-ssse3.
32840 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32841 * sysdeps/x86_64/strcmp.S: Likewise.
32842 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32843 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32844 * sysdeps/x86_64/strncase.S: New file.
32845 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32846 * sysdeps/x86_64/strncase_l.S: New file.
32847 * string/Makefile (strop-tests): Add strncasecmp.
32848 * string/test-strncasecmp.c: New file.
32849
32850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32851 warning.
32852
ca6bb004
UD
32853 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32855
052fa7b3
AS
328562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32857
32858 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32859
962dba78
UD
328602010-08-12 Ulrich Drepper <drepper@redhat.com>
32861
32862 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32865
bebff237
AM
328662010-05-01 Alan Modra <amodra@gmail.com>
32867
32868 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32869 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32870 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32871 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32872 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32873 tidying. Don't tail-call __sigjmp_save for static lib.
32874 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32875 save location.
32876 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32877 (CALL_MCOUNT): Add eh info, and nop after bl.
32878 (TAIL_CALL_SYSCALL_ERROR): New macro.
32879 (PSEUDO_RET): Use it.
32880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32881 Correct save location of integer regs and cr.
32882 (_dl_profile_resolve): Correct cr save location. Delete nops
32883 after bl when SHARED. Reduce cfi size a little by better
32884 placement of cfi directives.
32885 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32886 make a stack frame. Instead use parm save area as a temp.
32887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32888 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32890 Don't make a stack frame for parent, use parm save area.
32891 Increase child stack frame to 112 bytes. Don't save unused reg,
32892 and adjust reg usage. Set up cfi on error recovery and
32893 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32895 (__makecontext): Add dummy nop after jump to exit.
32896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32897 Use correct parm save area and cr save, reduce stack frame.
32898 Correct cfi for possible PSEUDO_RET frame setup.
32899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32900 Branch to local label emitted by PSEUDO_RET rather than
32901 __syscall_error.
32902
02637374
AS
329032010-08-12 Andreas Schwab <schwab@redhat.com>
32904
32905 [BZ #11904]
32906 * locale/programs/locale.c (print_assignment): New function.
32907 (show_locale_vars): Use it.
32908
c3e2f19b
UD
329092010-08-11 Ulrich Drepper <drepper@redhat.com>
32910
3cdaa6ad
UD
32911 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32912 field.
32913 (struct statfs64): Likewise.
32914 (_STATFS_F_FLAGS): Define.
32915 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32916 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32917 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32918 (ST_VALID): Define locally.
32919 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32920 __statvfs_getflags, use the provided value.
32921 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32922 __ASSUME_STATFS_F_FLAGS.
32923
754f7da3
UD
32924 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32925
10b3bedc
UD
32926 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32927 Add sys/fanotify.h.
32928 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32929 fanotify_mask for GLIBC_2.13.
32930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32931 fanotify_init and fanotify_mark.
32932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32933 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32934
c08fb0d7
UD
32935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32936 Add prlimit.
32937 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32938 prlimit64 for GLIBC_2.13.
32939 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32940 prlimit64.
32941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32942 syscall.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32948 add prlimit alias.
32949 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32950
15bac72b
UD
32951 [BZ #11903]
32952 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32953 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32954
c3e2f19b
UD
32955 * nss/Makefile: Add rules to build and run tst-nss-test1.
32956 * shlib-versions: Add entry for libnss_test1.
32957 * nss/nss_test1.c: New file.
32958 * nss/tst-nss-test1.c: New file.
32959
32960 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32961 (__nss_configure_lookup): Set appropriate entry in
32962 __nss_configure_lookup to true.
32963 * nss/nsswitch.h: Define enum with indeces of databases in
32964 databases and __nss_database_custom arrays. Declare
32965 __nss_database_custom.
32966 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32967 to avoid using nscd when custom rules are installed.
32968 * nss/getXXbyYY_r.c: Likewise.
32969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32970
32971 * nss/nss_files/files-parse.c: Whitespace fixes.
32972
f15ce4d8
UD
329732010-08-09 Ulrich Drepper <drepper@redhat.com>
32974
32975 [BZ #11883]
32976 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32977 * posix/fnmatch_loop.c: Likewise.
32978
d22e4cc9
AK
329792010-07-17 Andi Kleen <ak@linux.intel.com>
32980
32981 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32982 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32983 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32984 * Versions.def [GLIBC_2.13]: Add.
32985
805bc17d
UD
329862010-08-06 Ulrich Drepper <drepper@redhat.com>
32987
32988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32989 Also fail if tpwd after pwuid call is NULL.
32990
5a42321d
ST
329912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32992
32993 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32994 when converting to ms.
32995
fd3ebeda
ST
329962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32997
32998 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32999 EOPNOTSUPP errors with ENOTTY.
33000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33001 EOPNOTSUPP errors with ENOTTY.
33002
73507d3a
UD
330032010-07-31 Ulrich Drepper <drepper@redhat.com>
33004
33005 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33006 Add strcasecmp_l-ssse3.
33007 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33008 strcasecmp.
33009 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33010 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33012
fe36dd02
UD
330132010-07-30 Ulrich Drepper <drepper@redhat.com>
33014
66f6765a
UD
33015 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33016
42e08a54
UD
33017 * string/Makefile (strop-tests): Add strcasecmp.
33018 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33019 strcasecmp_l-nonascii.
33020 (gen-as-const-headers): Add locale-defines.sym.
33021 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33022 * sysdeps/x86_64/strcasecmp.S: New file.
33023 * sysdeps/x86_64/strcasecmp_l.S: New file.
33024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33025 * sysdeps/x86_64/locale-defines.sym: New file.
33026 * string/test-strcasecmp.c: New file.
33027
fe36dd02
UD
33028 * string/test-strcasestr.c: Test both ends of the range of characters.
33029 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33030
48cbc0d6
RM
330312010-07-29 Roland McGrath <roland@redhat.com>
33032
76e6d6bc 33033 [BZ #11856]
48cbc0d6
RM
33034 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33035
880113d9
UD
330362010-07-27 Ulrich Drepper <drepper@redhat.com>
33037
33038 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33039 for ld.so.
33040
deb9cabb
AS
330412010-07-27 Andreas Schwab <schwab@redhat.com>
33042
33043 * manual/memory.texi (Malloc Tunable Parameters): Document
33044 M_PERTURB.
33045
1c7570ff
RM
330462010-07-26 Roland McGrath <roland@redhat.com>
33047
33048 [BZ #11840]
33049 * configure.in (-fgnu89-inline check): Set and substitute
33050 gnu89_inline, not libc_cv_gnu89_inline.
33051 * configure: Regenerated.
33052 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33053
24fb0f88
UD
330542010-07-26 Ulrich Drepper <drepper@redhat.com>
33055
33056 * string/test-strnlen.c: New file.
33057 * string/Makefile (strop-tests): Add strnlen.
33058 * string/tester.c (test_strnlen): Add a few more test cases.
33059 * string/tst-strlen.c: Better error reporting.
33060
33061 * sysdeps/x86_64/strnlen.S: New file.
33062
8e96b93a
UD
330632010-07-24 Ulrich Drepper <drepper@redhat.com>
33064
33065 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33066 lower-latency instructions.
33067
dbc676d4
UD
330682010-07-23 Ulrich Drepper <drepper@redhat.com>
33069
33070 * string/test-strcasestr.c: New file.
33071 * string/test-strstr.c: New file.
33072 * string/Makefile (strop-tests): Add strstr and strcasestr.
33073 * string/str-two-way.h: Don't undefine MAX.
33074 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33075
f6a31e0e
AS
330762010-07-21 Andreas Schwab <schwab@redhat.com>
33077
33078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33079 strcasestr-nonascii.
33080 (CFLAGS-strcasestr-nonascii.c): Define.
33081 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33083 Remove unused attribute.
33084
5dbc3b6c
RM
330852010-07-20 Roland McGrath <roland@redhat.com>
33086
33087 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33088 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33089 ld.so.cache was broken. With it, there is no way to disable dsocaps
33090 like LD_HWCAP_MASK can disable hwcaps.
33091
23d101d8
EPM
330922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33093
33094 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33095
cc9f2e47
UD
330962010-07-16 Ulrich Drepper <drepper@redhat.com>
33097
33098 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33099 call in strcasestr.
33100 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33101 __strcasestr_sse42_nonascii.
33102 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33103 strcasestr-nonascii.c.
33104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33105
77c1b069
LM
331062010-06-15 Luis Machado <luisgpm@br.ibm.com>
33107
33108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33112
440566c3
UD
331132010-07-09 Ulrich Drepper <drepper@redhat.com>
33114
33115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33116 fcntl.
33117
5be9d05d
AS
331182010-07-06 Andreas Schwab <schwab@redhat.com>
33119
c30b7ee2 33120 [BZ #11577]
5be9d05d
AS
33121 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33122 dl_signal_cerror.
33123
8a492a67
UD
331242010-07-06 Ulrich Drepper <drepper@redhat.com>
33125
33126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33127 _PC_PIPE_BUF using F_GETPIPE_SZ.
33128
713df3d5
RM
331292010-07-05 Roland McGrath <roland@redhat.com>
33130
33131 * manual/arith.texi (Rounding Functions): Fix rint description
33132 implicit in round description.
33133
702e8f14
UD
331342010-07-02 Ulrich Drepper <drepper@redhat.com>
33135
33136 * elf/Makefile: Fix linking for a few tests to make recent linker
33137 happy.
33138
52ed8be9
AS
331392010-06-30 Andreas Schwab <schwab@redhat.com>
33140
33141 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33142 $(common-objpfx)libc_nonshared.a.
33143
f47c9a11
LM
331442010-06-21 Luis Machado <luisgpm@br.ibm.com>
33145
33146 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33147 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33148 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33149 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33150 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33152 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33153 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33168 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33169 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33170 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33171 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33172 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33173 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33174 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33175 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33176 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33177 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33178 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33179 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33194
6fb8cbcb
L
331952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33196
33197 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33198 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33199 * string/memmove.c (memmove): Renamed to ...
33200 (MEMMOVE): ...this. Default to memmove.
33201 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33202 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33203 (END_CHK): Define.
33204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33205 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33206 mempcpy-ssse3-back memmove-ssse3-back.
33207 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33210 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33211 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33212 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33213 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33214 * sysdeps/x86_64/multiarch/memmove.c: New file.
33215 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33216 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33217 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33218 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33221 Define.
33222 (index_Fast_Copy_Backward): Define.
33223 (HAS_ARCH_FEATURE): Define.
33224 (HAS_FAST_REP_STRING): Define.
33225 (HAS_FAST_COPY_BACKWARD): Define.
33226
4e733bac 332272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33228
33229 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33230 Restore proper fallback handling.
33231
63c4ed22
UD
332322010-06-19 Ulrich Drepper <drepper@redhat.com>
33233
ac2b484c
UD
33234 [BZ #11701]
33235 * posix/group_member.c (__group_member): Correct checking loop.
33236
63c4ed22
UD
33237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33238 OOM in getpwuid_r correctly. Return error number when the caller
33239 should return, otherwise -1.
33240 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33241 call returning > 0 value.
33242 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33243
765ade4b
AS
332442010-06-07 Andreas Schwab <schwab@redhat.com>
33245
33246 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33247 libc_nonshared.a from targets in modules-names.
33248
80da2e09
KS
332492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33250
33251 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33252 requires it.
33253
158db122
LM
332542010-06-10 Luis Machado <luisgpm@br.ibm.com>
33255
33256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33260
caa78cf8
AS
332612010-06-02 Andreas Schwab <schwab@redhat.com>
33262
33263 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33264
b2ef2c01
UD
332652010-06-14 Ulrich Drepper <drepper@redhat.com>
33266
33267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33268 and F_GETPIPE_SZ.
33269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33274 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33275
fbd643b6
RM
332762010-06-14 Roland McGrath <roland@redhat.com>
33277
33278 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33279
f32f2869
JJ
332802010-06-07 Jakub Jelinek <jakub@redhat.com>
33281
33282 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33283 __REDIRECT followed by __THROW.
33284 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33285 * posix/getopt.h (getopt): Likewise.
33286
2a50c078
EPM
332872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33288
33289 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33290 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33291 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33292 in AT_FLAGS.
33293 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33294 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33295
eb5ad2eb
LM
332962010-05-28 Luis Machado <luisgpm@br.ibm.com>
33297
33298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33299
3c88fe1e
L
333002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33301
33302 [BZ #11640]
33303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33304 Properly check family and model.
33305
d2f73151
TY
333062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33307
33308 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33309
ebd2e13d
LM
333102010-05-24 Luis Machado <luisgpm@br.ibm.com>
33311
33312 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33313
b32b8b45
UD
333142010-05-21 Ulrich Drepper <drepper@redhat.com>
33315
33316 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33317 symbol reference.
33318
9acbe24d
AS
333192010-05-19 Andreas Schwab <schwab@redhat.com>
33320
33321 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33322 symbol reference.
33323
f0ccf6ea
AS
333242010-05-21 Andreas Schwab <schwab@redhat.com>
33325
3d04ff3a
AS
33326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33327 and internal_recvmmsg.
33328 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33329 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33330 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33331 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33332
f0ccf6ea
AS
33333 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33334 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33335 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33336
5b08ac57
AS
333372010-05-20 Andreas Schwab <schwab@redhat.com>
33338
33339 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33340
4828935d
LM
333412010-05-17 Luis Machado <luisgpm@br.ibm.com>
33342
33343 POWER7 optimizations.
33344 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33345 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33346
373d545e
UD
333472010-05-19 Ulrich Drepper <drepper@redhat.com>
33348
33349 * version.h: Update for 2.13 development version.
33350
21a2b1ae
AS
333512010-05-12 Andrew Stubbs <ams@codesourcery.com>
33352
33353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33354 exceptions. Return 0.
33355
3f7dcb2b
RM
333562010-05-07 Roland McGrath <roland@redhat.com>
33357
33358 * elf/ldconfig.c (main): Add a const.
33359
5f24d53a 333602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33361
a160f8d8
UD
33362 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33363 (args_options): Add no-idn option.
33364 (ahosts_keys_int): Add idn_flags to ai_flags.
33365 (parse_option): Handle 'i' option to clear idn_flags.
33366
5f24d53a
UD
33367 * malloc/malloc.c (_int_free): Possible race in the most recently
33368 added check. Only act on the data if no current modification
33369 happened.
265bb1ce
UD
33370
33371See ChangeLog.17 for earlier changes.